File "slides.min.js"
Full path: /var/www/vhosts/msproyectoscloud.cl/siadrecursos.msproyectoscloud.cl/RECURSOS/recursos.siadspsminsal.cl/Politicas_gestion/M3/html5/lib/scripts/slides.min.js
File size: 1.08 MiB (1130304 bytes)
MIME-type: text/plain
Charset: utf-8
/*! ds-bootstrap - v1.0.0.30234 - 2023-04-7 8:37pm UTC
* Copyright (c) 2023 ; Not Licensed */!function(){var e={4691:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{AccessibleScrollBar:function(){var e=!DS.detection.env.isPerpetual,n=[].concat(r(e?["high-contrast-scroll"]:[]),["accessible-text-scrollbar","scrollarea-scrollbar"],r(this.props.hScroll?["horizontal-scroll"]:[]),r(this.state.highlight?["highlight-scrollbar"]:[]),r(this.state.isHidden?["hidden"]:[])),i=["scrollarea-btn"].concat(r(e?[]:["micro-scrollbar-btn"]));return t.createElement("div",{ref:"scrollBar",className:n.join(" "),style:this.getScrollBarStyle()},t.createElement("div",{ref:"scrollBtn",className:i.join(" "),style:this.getScrollBtnStyle(),onMouseDown:this.onScrollBtnDown,onTouchStart:this.onScrollBtnDown}))}}}.call(t,n,t,e))||(e.exports=i)},4653:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{AccessibleText:function(){var e=this,i=n(7435),o=n(7523).renderSemanticText,s=this.props.model.height(),a=this.props.model.width(),l=this.props.winScale,c=this.props.model.wordwrap()?"normal":"nowrap",u=DS.detection.env.isPerpetual?8:16/l,h="horizontal"===this.props.model.vartext().direction,d=this.state.scrollbarShowing,p=d||"top"===this.props.model.valign()?"flex-start":"center"===this.props.model.valign()?"center":"flex-end",f={height:h?s:a,width:h?a:s,pointerEvents:this.props.unclickable?"none":null},g=this.state.linkStyles,m={underline:"text-decoration: underline !important;",none:"text-decoration: none !important;"},v=function(e){return"background-color: ".concat(e.highlight," !important; color: ").concat(e.textColor," !important; ").concat((t=e.decoration,m[t]||""));var t};return t.createElement("div",{xmlns:"http://www.w3.org/1999/xhtml",className:"textlib",style:f},t.createElement("div",{className:"textlib-inner align-flex-start",style:this.getInnerProps()},t.createElement("div",{ref:"textLibContentWrap",className:["textlib-content-wrap"].concat(r(this.state.isScrolling?["is-scrollable"]:[])).join(" "),"data-accepts":"events",style:{height:"100%",overflow:"auto",pointerEvents:this.props.unclickable||!d?"none":"all",display:"flex",justifyContent:p,flexDirection:"column",whiteSpace:c,flexGrow:1,width:d?"calc(100% - ".concat(u,"px)"):"100%",flexShrink:0}},g.length>0&&t.createElement("style",{type:"text/css"},g.map((function(t){return".".concat(t.id," :hover { ").concat(v(t.hoverState)," }\n .").concat(t.id," :active { ").concat(v(t.activeState)," }\n ").concat(e.linkIsVisited(t.id)?function(e){return".".concat(e.id," { ").concat(v(e.visitedState)," }")}(t):"")})).join(" ")),o(this.state.textConfig,this)),t.createElement(i,{ref:"scrollBar",refName:"textLibContentWrap",winScale:l,parent:this})))}}}.call(t,n,t,e))||(e.exports=i)},1670:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ButtonSlideObject:function(){var e=n(6894),i=this.getPath("props.model.data.textdata.vectortext.pr")||{};return t.createElement("button",{type:"button","data-accepts":"events",className:this.getClassNames(),tabIndex:"-1",style:{padding:0}},t.createElement("svg",{className:"slide-object-button-text",style:{transform:"scale(".concat(this.props.winScale,")"),transformOrigin:"top left"}},t.createElement(e,{ref:"vectortext",commandsetId:i.i,pathLib:i.l})))}}}.call(t,n,t,e))||(e.exports=i)},7099:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{Captions:function(){var e=n(5470),i=DS,r=i.utils.pxify,o=i.detection.theme.isClassic,s=this.state.winScale,a=o?s:1,l={fontFamily:this.state.font,fontSize:[this.props.fontscale,"%"].join(""),marginBottom:o?r(10*a):0},c={marginBottom:r(10*a),padding:r(10*a),borderRadius:r(4*a)};return e.safari&&e.mac&&(l.transform="translate3d(-50%, 0, 0)"),t.createElement("div",{className:"caption"+(this.props.hasbb?" with-bb":""),style:l},this.state.showCaptions&&this.state.captions.length>0&&this.state.captions.map(function(e,n){return t.createElement("div",{key:n},t.createElement("p",{style:c,dangerouslySetInnerHTML:{__html:this.toHtml(e)}}))}.bind(this)))}}}.call(t,n,t,e))||(e.exports=i)},7958:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{Container:function(){return t.createElement("div",{className:"ds-container "+this.props.className},this.props.children)}}}.call(t,n,t,e))||(e.exports=i)},1737:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{DragdropSlideObject:function(){var e=n(6894),i=n(2977),r=n(6559),o=DS.svgUtils,s=this.getPath("props.model.style"),a=this.props.winScale,l=this.getPath("props.model.height"),c=this.getPath("props.model.width"),u=this.getPath("props.model.kind"),h="dragitem"===u,d="wordbank"===s,p="droparea"===u&&d,f=this.state.useAccText,g=this.state.hovered&&!this.state.dropped&&("droparea"!==u||p),m=_.find(this.getPath("props.model.colors"),{name:"hover"}),v=null!=m?m:_.find(this.props.colors,{name:"hover"}),y=(null!=v?this.props.model.id:"dragdrop")+"-hover-gradient",S=o.buildUrl(g&&!p?y:"dragdrop-gradient"),b=g?"slide-object-dragitem-hover":"",w=this.state.collision&&"droparea"===u,x=p&&this.state.hoverStroke&&null!=v,C=this.props.notchWidth,E=this.props.notchHeight,P=C+1,T=E+1,D=[["M "+P,0].join(","),["L"+c,0].join(","),["L"+c,l].join(","),["L"+P,l].join(","),["L"+P,l-T].join(","),["L 1",l-T].join(","),["L 1",T].join(","),["L"+P,T].join(","),"Z"].join(" "),A=["M 0,0",["L"+c,0].join(","),["L"+c,E].join(","),["L"+(c-C),E].join(","),["L"+(c-C),l-E].join(","),["L"+c,l-E].join(","),["L"+c,l].join(","),["L 0",l].join(","),"Z"].join(" "),I={visibility:this.state.backgroundVisible?"visible":"hidden",strokeWidth:this.state.reviewStroke&&2,stroke:this.state.reviewStroke?this.state.reviewStroke:x?["url(#",y,")"].join(""):""},k={fill:this.state.isDropChild?this.state.reviewStroke:"black",stroke:this.state.isDropChild?"white":this.state.reviewStroke,strokeWidth:1.5};return t.createElement("div",null,t.createElement("svg",{width:c*a,height:l*a,viewBox:[0,0,c,l].join(" "),"data-xmlns-xlink":"http://www.w3.org/1999/xlink",className:["slide-object-dragdrop","slide-object-dragdrop-"+s,"draggable",b].join(" ").trim(),onMouseEnter:this.didMouseOver,onMouseLeave:this.didMouseOut,onTouchStart:this.didMouseOver,onTouchEnd:this.didMouseOut},(g&&null!=v||x)&&t.createElement("defs",null,t.createElement(i,{fill:v.fill,patternFillId:y})),d?t.createElement("rect",{width:c-1,height:l-1,rx:this.state.wordbankRadius,ry:this.state.wordbankRadius,fill:S,className:"slide-object-dragdrop-shape",filter:!this.state.reviewStroke&&"url(#dragdrop-inner-stroke)",style:I,transform:"translate(0.5, 0.5)"}):t.createElement("path",{d:h?D:A,className:"slide-object-dragdrop-shape",fill:S,style:w?{strokeWidth:3}:{},filter:!w&&"url(#dragdrop-inner-stroke)",strokeDasharray:h&&!this.state.dropped?"1,1":"",transform:"translate(0.5, 0.5)"}),this.state.hoverStroke&&null==v&&t.createElement("rect",{width:c-1,height:l-1,rx:this.state.wordbankRadius,ry:this.state.wordbankRadius,fill:"none",stroke:"#bafbfb",transform:"translate(2,1.5) scale(0.995, 0.92)"}),t.createElement("g",{transform:o.transformTranslate(this.props.model.xOff||0,this.props.model.yOff||0)},!f&&null!=this.state.textCommandsetId&&t.createElement(e,{ref:"vtext",pathLib:this.state.textPathLibId,commandsetId:this.state.textCommandsetId})),!DS.flagManager.updatedThemeColorsEnabled&&"matching"===s&&this.state.reviewDot&&t.createElement("g",{className:"dragdrop-review-dot",transform:"translate(8,8)"},t.createElement("circle",{cx:"0",cy:"0",r:"8",className:"dragdrop-review-dot-"+this.state.reviewDot}),t.createElement("circle",{cx:"0",cy:"0",r:"7",className:"dragdrop-review-dot-"+this.state.reviewDot}),t.createElement("text",{textAnchor:"middle",y:"4"},t.createElement("tspan",null,this.getPath("props.model.reviewdata")))),DS.flagManager.updatedThemeColorsEnabled&&"matching"===s&&this.state.reviewStroke&&t.createElement("g",{transform:"translate(8,8)"},t.createElement("circle",{cx:"0",cy:"0",r:"8",style:k}),t.createElement("text",{textAnchor:"middle",y:"4.5",fill:"white"},t.createElement("tspan",null,this.getPath("props.model.reviewdata"))))),f&&t.createElement("div",{style:{position:"absolute",left:0,top:0},className:b,onMouseEnter:this.didMouseOver,onMouseLeave:this.didMouseOut,onTouchStart:this.didMouseOver,onTouchEnd:this.didMouseOut},t.createElement(r,{ref:"acctext",model:this.getAccTextModel(),winScale:a,originX:this.originX,originY:this.originY})))}}}.call(t,n,t,e))||(e.exports=i)},2267:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{DropListItem:function(){var e=n(6894),i=n(6559),r=n(2977),o=DS,s=o.svgUtils.buildUrl,a=o.utils,l=a.getPath,c=a.pxify,u=this.state,h=u.hovered,d=u.useAccText,p=this.props,f=p.width,g=p.height,m=p.yOff,v=p.altText,y=p.hoverColor,S=p.modelId,b=p.winScale,w=p.pr,x=p.textdata,C=l(y,"fill"),E="".concat(S,"-fill"),P=s(E),T=null!=y&&h,D={position:"absolute",left:0,top:c(m*b),pointerEvents:"none"};return t.createElement("div",{style:{width:c(f*b),height:c(g*b)}},t.createElement("svg",{className:"eventable",viewBox:[0,0,f,g].join(" "),width:f*b,height:g*b,"data-xmlns-xlink":"http://www.w3.org/1999/xlink",style:{position:"absolute",left:0,top:c(m*b)}},t.createElement("g",{className:"drop-list-item",role:"option","aria-label":v,onMouseOver:this.didMouseOver,onMouseOut:this.didMouseOut,onMouseUp:this.onClick,onTouchStart:this.onTouchStart,onTouchEnd:_.flow(this.onClick,this.didMouseOut),onTouchMove:this.onTouchMove},T&&t.createElement("defs",null,t.createElement(r,{fill:C,patternFillId:E})),t.createElement("rect",{width:f,height:g,className:this.fillColorClass(),style:T?{fill:P}:null}))),!d&&t.createElement("svg",{viewBox:[0,0,f,g].join(" "),width:f*b,height:g*b,"data-xmlns-xlink":"http://www.w3.org/1999/xlink",style:D},t.createElement(e,{ref:"vectortext",commandsetId:w.i,pathLib:w.l,textdata:x})),d&&t.createElement("div",{style:D},t.createElement(i,{ref:"acctext",model:this.getAccTextModel(),winScale:b,originX:10,originY:2,unclickable:"true"})))}}}.call(t,n,t,e))||(e.exports=i)},3470:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{DropListParentable:function(){var e=this,i=n(6894),o=n(3645),s=n(621),a=n(6559),l=DS,c=l._,u=l.svgUtils,h=l.utils,d=h.pxify,p=h.hexify,f=l.detection.os.isIOS,g=this.state.winScale,m=this.state.reviewWidth||this.getPath("props.model.width"),v=this.getPath("props.model.height"),y=this.getPath("props.model.colors"),S=this.state.pr,b=m-25+1,w=c.find(y,{name:"button_hover"}),x=this.state.hovered?null!=w?p(c.first(w.fill.colors).rgb):"#d5ffff":"white",C="#cecece",E=this.getItemHeight(),P=this.getListHeight(),T=f?"none":"block",D={"aria-hidden":"true",onFocus:this.onFocus};return t.createElement("div",r({className:"drop-list",tabIndex:"-1"},D),t.createElement("div",{className:"drop-list-drop-down",ref:"dropdown",style:{width:m*g,height:d((v+P)*g),borderColor:C,display:this.state.display,borderRadius:16*g}},t.createElement("div",{className:["drop-list-drop-down-inner",this.state.dropDownScrollable].join(" "),ref:"dropdownInner",style:{display:T,width:d(m*g),height:this.state.scrollBarHeight-v*g,position:"absolute",top:d(v*g),left:0}},this.itemslist.map((function(n,i){var r=e.props.model.itemsIdx[n.itemdata];return t.createElement(o,{ref:"item"+r,order:i,key:n.textdata.uniqueId,idx:r,width:m,height:E,winScale:g,hoverColor:c.find(y,{name:"item_hover"}),modelId:e.props.model.id,yOff:E*i,pr:n.textdata.vectortext.pr,textdata:n.textdata,selected:e.focusItem,altText:n.textdata.altText})}))),this.state.dropDownScrollable&&t.createElement(s,{ref:"scrollBar",offY:v,offX:-4,width:m,height:this.state.scrollBarHeight/g-v,parent:this,closedHeight:v,refName:"dropdownInner",initSelf:!0,winScale:g})),t.createElement("div",{className:"drop-list-top-container"},t.createElement("svg",{width:m*g,height:v*g,viewBox:[0,0,m,v].join(" "),"data-xmlns-xlink":"http://www.w3.org/1999/xlink",style:{zIndex:100,overflow:"hidden"},focusable:"false"},t.createElement("g",{className:"drop-list-top eventable",onMouseDown:this.onShowList,onMouseOver:this.didMouseOver,onMouseOut:this.didMouseOut,onTouchStart:this.onTouchStart,onTouchEnd:this.onTouchEnd},t.createElement("rect",{width:m-1,height:v-1,rx:8,ry:8,stroke:C,fill:"white"}),t.createElement("path",{d:u.rightRoundedRectPath(b,1,22,v-3,8),fill:"url(#drop-list-gradient)",stroke:x}),t.createElement("path",{d:["M",m-25,0,"v",v-1].join(" "),stroke:"#cecece"}),t.createElement("g",{transform:u.transformTranslate(b+5.5,9)},t.createElement("path",{d:["M",0,0,"L",10,0,5,5,0,0].join(" "),fill:"#494949",stroke:"rgba(255, 255, 255, 0.8)"})))),t.createElement("div",{style:{position:"absolute",top:0,left:0,zIndex:100,overflow:this.state.ReviewMode&&!this.state.useAccText?"hidden":"visible",pointerEvents:"none"}},!this.state.useAccText&&t.createElement("svg",{width:(m-25-5)*g,height:v*g,viewBox:[0,0,m-25,v].join(" "),"data-xmlns-xlink":"http://www.w3.org/1999/xlink",focusable:"false"},t.createElement(i,{ref:"vectortext",commandsetId:S.i,pathLib:S.l})),this.state.useAccText&&t.createElement(a,{ref:"acctext",model:this.getAccTextModel(),textdata:this.state.textdata,winScale:g,originX:10,originY:2,unclickable:"true"}))))}}}.call(t,n,t,e))||(e.exports=i)},4586:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{DropListSlideObject:function(){return t.createElement("div",null)}}}.call(t,n,t,e))||(e.exports=i)},3874:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ExpandingLabelSlideObject:function(){var e,i=n(2977),r=n(5648),o=this.shouldShowContent(),s=this.props.winScale;return t.createElement("div",{className:"expanding-label-container",style:{width:this.props.playerProps.width,height:this.props.playerProps.height}},t.createElement("svg",{className:["expanding-label-path",o?"content-shown":""].join(" "),viewBox:[0,0,this.labelSize.width,this.labelSize.height].join(" "),focusable:"false",style:{left:this.labelTranslate.offX*s,top:this.labelTranslate.offY*s,width:this.labelSize.width*s,height:this.labelSize.height*s}},this.props.model.background()&&t.createElement("defs",null,t.createElement(i,{patternFillId:this.patternFillId(),layerModel:this.props.model,isInnard:!0})),t.createElement("g",{transform:["translate(",this.labelTranslate.x,", ",this.labelTranslate.y,")"].join("")},t.createElement("path",{d:this.state.labelPath,stroke:this.props.model.get("borderColor")?this.props.model.get("borderColor"):"none",fill:this.props.model.get("background")?["url(#",this.patternFillId(),")"].join(""):"white"}))),t.createElement("div",{className:"expanding-label",style:{width:this.props.playerProps.width*s}},t.createElement("div",{className:"expanding-label-content",style:this.getContentStyles()},this.svg(),t.createElement("div",{ref:"contents",className:o?"shown":"hidden"},this.props.model.objects().map(function(n,i){var o=this;return e={ref:"obj"+i,key:n.cid,model:n,playerProps:this.props.playerProps,parent:this,winScale:this.props.winScale,checkElso:this.props.checkElso,slideVisible:this.props.slideVisible,onElsoAction:this.props.onElsoAction,addAccEl:function(e){o.props.addAccEl(e,{elsoId:o.props.model.absoluteId})}},n.isKind("scrollarea")&&(e.topOffset=6),t.createElement(r,e)}.bind(this))))))}}}.call(t,n,t,e))||(e.exports=i)},2269:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{GroupingSlideObject:function(){var e=n(5648),i={parent:this,onScrollFocus:this.props.onScrollFocus,onBeforeScrollFocus:this.props.onBeforeScrollFocus,tabIndexDisabled:this.props.tabIndexDisabled,slideVisible:this.props.slideVisible,slideFrame:this.props.slideFrame,winScale:this.props.winScale,checkElso:this.props.checkElso,onElsoAction:this.props.onElsoAction,addAccEl:this.props.addAccEl};return t.createElement("div",{className:"group"},this.props.model.objects().map(function(n,o){return t.createElement(e,r({ref:"obj"+o,key:n.cid,model:n},i))}.bind(this)))}}}.call(t,n,t,e))||(e.exports=i)},255:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}void 0===(i=function(e){var t=n(3305);return{ImageSlideObject:function(){var e,i,r=n(2658),s=DS.svgUtils,a=DS.utils,l=this.props.winScale,c=o({transformOrigin:"top left"},this.cssTransform,s.transformScale(l)),u={width:this.props.playerProps.width*l,height:this.props.playerProps.height*l},h={left:this.props.model.get("btnxpos")*l,top:this.props.model.get("btnypos")*l},d=this.props.model.getCurrentStateData(),p=r.getAssetUrl(d.imagedata.assetId);return null!=d.html5data?(e=d.html5data.xPos,i=d.html5data.yPos,c.width=d.html5data.width,c.height=d.html5data.height):(e=this.props.model.get("xOffset"),i=this.props.model.get("yOffset")),h[this.cssTransform]=["translate(-50%, -50%)",s.transformTranslate(a.pxify(-e*l),a.pxify(-i*l)),s.transformRotate(-this.props.playerProps.Rotation+"deg")].join(" "),t.createElement("div",{className:"image-container slideobject-maskable","data-accepts":"events",style:{transform:s.transformTranslate(a.pxify(e*l),a.pxify(i*l))}},this.props.model.isZoomable()?t.createElement("div",null,t.createElement("img",{src:p,onClick:this.onClick,style:c}),t.createElement("div",{ref:"zoom",className:"zoom eventable",style:u,onClick:this.onClick},t.createElement("img",{className:"zoom-image",style:h,src:this.props.model.get("zoomiconurl")}))):t.createElement("img",{src:p,style:c}))}}}.call(t,n,t,e))||(e.exports=i)},5550:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{LinearBackgroundGradient:function(){return t.createElement("linearGradient",{id:this.props.patternFillId,gradientTransform:["rotate(",this.fill().rotation," 0.5 0.5)"].join("")},this.fill().colors.map(function(e,n){return t.createElement("stop",r({key:n,offset:this.stopPct(e)+"%"},this.stopProps(e)))}.bind(this)))}}}.call(t,n,t,e))||(e.exports=i)},5545:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{MessageWindow:function(){var e=n(4116),i=DS.detection,r=DS.utils;return t.createElement("span",null,t.createElement("div",{className:["message-window ",this.windowType(),"cs-window"].join(" "),"data-window-id":this.props.model.id},t.createElement("h3",{className:"message-window-heading message-window-header",style:{fontSize:"".concat(this.state.scale,"em")}},r.stripTags(this.getPath("state.currentSlide.title")||""),t.createElement("hr",{className:"cs-diva",role:"presentation"}),t.createElement("hr",{className:"cs-divb",role:"presentation"})),t.createElement(e,{ref:"slideContainer",shouldScale:this.isScaleable,windowType:this.windowType,currentSlide:this.state.currentSlide,isMessageWindow:!0,getWinScale:this.props.getWinScale,windowId:"MessageWnd"}),i.deviceView.isClassicMobile&&t.createElement("div",{className:"message-window-mobile-text"},this.state.mobileText)))}}}.call(t,n,t,e))||(e.exports=i)},5467:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{MessageWindowUnified:function(){var e=n(4116),i=DS.utils,r=this.getPath("props.model.width"),o=.8*r,s=(o-r)/2;return t.createElement("span",null,t.createElement("div",{className:["message-window ",this.windowType()].join(" "),style:{width:o,height:this.getPath("props.model.height")},"data-window-id":this.props.model.id},t.createElement("header",{className:"message-window-header"},t.createElement("h1",{className:"message-window-heading",dangerouslySetInnerHTML:{__html:this.getPath("state.currentSlide.title")||""}}),t.createElement("hr",{className:"cs-diva"}),t.createElement("hr",{className:"cs-divb"})),t.createElement("div",{className:"message-slide-container-wrapper",style:{position:"absolute",left:i.pxify(s)}},t.createElement(e,{ref:"slideContainer",shouldScale:this.isScaleable,windowType:this.windowType,currentSlide:this.state.currentSlide,isMessageWindow:!0,getWinScale:this.props.getWinScale,windowId:"MessageWnd"})),t.createElement("div",{className:"message-window-text-wrapper"},t.createElement("div",{className:"message-window-text"},this.state.messageWindowText))))}}}.call(t,n,t,e))||(e.exports=i)},7800:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{MobileStartOverlay:function(){var e=this,n=DS.stringTabler,i=(DS.vendorOverrides.feDropShadow,DS),r=i.focusManager,o=i.detection,s=o.theme,a=s.isClassic,l=s.isUnified,c=o.env.is360;i.flagManager;return t.createElement("div",{className:"mobile-start-overlay "+(this.state.visible?"shown":"hidden"),role:"dialog","aria-modal":"true","aria-labelledby":"mobile-start-title"},t.createElement("div",{className:"mobile-load-title-overlay",style:{opacity:0}},t.createElement("div",{className:"mobile-load-title",id:"mobile-start-title"},this.state.titleText)),a&&t.createElement("button",{id:"mobile-start-button",role:"button","aria-label":n.getString("mobile_start"),onMouseDown:this.previewMouseEvent(this.onStart),onFocus:function(t){return e.onFocus("playIcon")},onBlur:function(e){return r.takeFocusOff()},tabIndex:"0"},t.createElement("svg",{ref:"playIcon",viewBox:"-10 -10 80 80",tabIndex:"-1",focusable:"false"},c&&t.createElement("circle",{fill:"white",cx:"32",cy:"22",r:"11"}),t.createElement("path",{transform:"scale(0.5) translate(30, 15) ",d:"M30,0C13.431,0,0,13.431,0,30s13.431,30,30,30s30-13.431,30-30S46.569,0,30,0z M22,43V17l20,13L22,43z"}))),l&&!this.state.isResumePrompt&&this.state.thumbnailEnabled&&this.state.thumbnailUrl&&t.createElement("div",{className:"mobile-start-overlay-thumbnail"},t.createElement("img",{src:this.state.thumbnailUrl})),l&&!this.state.isResumePrompt&&t.createElement("button",{id:"mobile-start-button",role:"button","aria-label":n.getString("mobile_start"),onFocus:function(t){return e.onFocus("playIcon")},onBlur:function(e){return r.takeFocusOff()},onClick:this.onStart,tabIndex:"0"},t.createElement("svg",{className:"play-icon",ref:"playIcon",focusable:"false",viewBox:"0 0 125 125",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("circle",{opacity:"0.8",cx:"62.5",cy:"62.5",r:"61.5",fill:"black",stroke:"white",strokeWidth:"2"}),t.createElement("path",{d:"M51.8745 83.6249C52.6245 83.9999 53.3745 84.1249 54.1245 84.1249C54.9995 84.1249 55.9995 83.8749 56.7495 83.2499L81.9995 65.9999C83.2495 65.1249 83.9995 63.6249 83.9995 62.1249C83.9995 60.6249 83.2495 59.1249 81.8745 58.2499L56.6245 41.4999C55.1245 40.4999 53.3745 40.4999 51.7495 41.2499C50.2495 42.1249 49.2495 43.6249 49.2495 45.3749V79.3749C49.3745 81.2499 50.2495 82.8749 51.8745 83.6249Z",fill:"white"}))),l&&this.state.isResumePrompt&&t.createElement("div",null,t.createElement("div",{className:"mobile-start-resume-text"},t.createElement("button",{ref:"resume",onClick:this.onStart,"aria-label":this.state.resumeText,onFocus:function(t){return e.onFocus("resume")},onBlur:function(e){return r.takeFocusOff()},tabIndex:"0",style:{fontSize:"".concat(100*this.state.fontScale,"%"),borderRadius:"".concat(30*this.state.fontScale,"px")}},this.state.resumeText)),t.createElement("button",{className:"restart",ref:"restart","aria-label":this.state.restartText,onFocus:function(t){return e.onFocus("restart")},onBlur:function(e){return r.takeFocusOff()},onClick:this.onReset,tabIndex:"0"},t.createElement("svg",{className:"cs-icon",preserveAspectRatio:"none",x:"0px",y:"0px",width:"13px",height:"15.75px",focusable:"false",tabIndex:"-1"},t.createElement("path",{fill:"#FFFFFF",transform:"scale(".concat(this.state.fontScale,", ").concat(this.state.fontScale,") translate(0, ").concat(-7*(this.state.fontScale-1),")"),stroke:"none",d:" M 10.95 8.75 Q 11 9 11 9.25 10.95 11.15 9.7 12.4 8.4 13.7 6.5 13.75 4.6 13.7 3.3 12.4 2.05 11.15 2 9.25 2.05 7.3 3.3 6.05 4.398828125 4.998828125 6 4.75 L 6 6.9 Q 6.05 7.75 6.85 7.35 L 11.35 4.3 Q 11.7 4.05 11.7 3.75 11.7 3.45 11.35 3.2 L 6.85 0.15 Q 6.05 -0.3 6 0.6 L 6 2.75 Q 3.4517578125 3.001171875 1.8 4.75 0.05 6.6 0 9.25 0.05 12 1.9 13.85 3.75 15.65 6.5 15.75 9.25 15.65 11.1 13.85 12.95 12 13 9.25 13 9 13 8.75 L 10.95 8.75 Z"})),t.createElement("div",{className:"restart-text",style:{color:"white",display:"inline-block",paddingLeft:"1em",transform:"translateY(-3px)",fontSize:"".concat(13*this.state.fontScale,"px")}},this.state.restartText))),l&&!this.state.thumbnailEnabled&&t.createElement("div",{className:"mobile-start-course-title"},t.createElement("h1",{style:{fontSize:"".concat(20.28*this.state.fontScale,"px")},dangerouslySetInnerHTML:{__html:this.state.titleText}})))}}}.call(t,n,t,e))||(e.exports=i)},9486:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ObjectSlideBackground:function(){return t.createElement("pattern",{patternUnits:"userSpaceOnUse",height:this.getSlideHeight(),width:this.getSlideWidth(),id:this.props.id,patternTransform:[this.props.patternTransform," translate(",this.getX(),", ",this.getY(),") rotate(",this.getRot(),", ",this.getXRot(),", ",this.getYRot(),")"].join("")},t.createElement("use",{xlinkHref:"#slide-bg-"+this.getSlideId()}))}}}.call(t,n,t,e))||(e.exports=i)},1149:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{PlaceHolderSlideObject:function(){return t.createElement("div",{className:"placeholder-object",style:{width:this.props.model.width,height:this.props.model.height}},this.props.model.kind())}}}.call(t,n,t,e))||(e.exports=i)},8836:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{PresentationOverlay:function(){return t.createElement("div",{className:["overlay",this.displayClass(),this.props.className||""].join(" "),onClick:this.props.onClick||null,onTouchStart:this.props.onClick||null})}}}.call(t,n,t,e))||(e.exports=i)},7185:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{RichVariableText:function(){var e=n(2637),i=DS._,o=DS.svgUtils,s=DS.vendorOverrides,a=(DS.flagManager,this.state.textLines),l=!1,c=s.getDxAdjustment||i.constant(0),u=function(e){return i.assign(e,{direction:"ltr"})};return t.createElement("g",r({},this.getInnerProps(),{className:"eventable",onMouseDown:this.onMouseDown,onClick:this.onClick,onMouseOver:this.onMouseOver,onMouseOut:this.onMouseOut}),a.map(function(n,a){var h=this,d=n.x,p=n.y,f=u(n.domStyle),g=n.runs,m=n.isRtl,v=n.isBiDi,y=n.backgrounds,S=n.linkBackgrounds,b=n.underlines,w=n.strikethroughs,x=n.lineXOff,C=n.lineWidth,E=c(n);return t.createElement("g",{key:a},new e(y).map((function(e,n){var o=e.x1,s=e.x2||C,a=i.omit(e,["x1","x2"]);return t.createElement("rect",r({className:"text-background",key:["bg",n].join(""),x:o+x,width:s-o},a))})).toArray(),new e(S).filter((function(e){return null!=e.linkId&&h.shouldShowLinkHighlight(e.linkId)})).map((function(e,n){var o=e.x1,s=e.x2||C,a=h.getLinkStateHighlightColor(e.linkId),l=i.extend(i.omit(e,["x1","x2","linkId"]),{fill:a});return t.createElement("rect",r({className:"text-background",key:["linkbg",n].join(""),x:o+x,width:s-o},l))})).toArray(),t.createElement("text",{x:d-E,y:p,style:f},new e(g).filter((function(e){return e.spans.some((function(e){return e.content.length>0}))})).map(function(n,a){var c=n.spans,h=u(n.domStyle),d=n.isRtl;return t.createElement("tspan",{key:a,className:"text-run",style:h},new e(c).filter((function(e){return e.content.length>0})).map(function(e,n){this.saveInitialLinkColors(e);var a=e.content,u=e.dx,h=e.xs,f=e.widths,g=e.hasShadow,y=this.getTSpanStyle(e),S=e.y,b=e.linkId,w=-i.get(c,[n-1,"y"],p)+S,C=i.findLastIndex(u,(function(e){return 0!==e}))+1,E={dx:u.slice(0,C).join(" "),dy:w,style:y,className:null==b?"text-segment":"text-segment link"},P=a.join("");if(g&&s.tspanFilters&&(E.style.filter=o.buildUrl(this.shadowFilterId),l=!0),m||v){var T,D={direction:d?"rtl":"ltr"},A=i.reduce(u,(function(e,t,n){return(null==T||0!==t&&T.chars.length>0)&&(null!=T&&T.chars.length&&T.chars.push(""),T={chars:[],x:h[n]+(d?f[n]:0),width:0},e.push(T)),T.chars.push(a[n]),T.width+=f[n],e}),[]);P=A.map((function(e,n){return t.createElement("tspan",{key:n,className:"rtl-pos-span",style:D,y:p,x:e.x+x+(d?-1:1)*e.width/2,"data-linkid":b},e.chars.join(""))})),delete E.dx,delete E.dy}return t.createElement("tspan",r({key:n},E,{"data-linkid":b}),P)}.bind(this)).toArray())}.bind(this)).toArray()),new e(b).concat(w).map(function(e,n){var o=e.x1,s=e.x2||C,a=e.y,l=this.getLinkStateUnderlineColor(e.linkId,e.linkRef,e.hiddenLinkUnderline)||e.stroke,c=i.omit(e,["x1","x2","y","stroke"]);return t.createElement("line",r({key:["dec",n].join(""),x1:o+x,x2:s+x,y1:a,y2:a,stroke:l},c))}.bind(this)).toArray())}.bind(this)),l&&t.createElement("defs",null,t.createElement("filter",{id:this.shadowFilterId,x:"0%",y:"0%",width:"113%",height:"113%"},t.createElement("feFlood",{floodColor:"#969696"}),t.createElement("feComposite",{in2:"SourceAlpha",operator:"in"}),t.createElement("feGaussianBlur",{stdDeviation:"1"}),t.createElement("feOffset",{dx:"1.5",dy:"1.5"}),t.createElement("feMerge",null,t.createElement("feMergeNode",null),t.createElement("feMergeNode",{in:"SourceGraphic"})))))}}}.call(t,n,t,e))||(e.exports=i)},8477:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{ScrollAreaSlideObject:function(){var e=n(5648),i=n(4148),o=n(621),s=DS.detection,a=this.props.topOffset||0,l=this.props.winScale,c=this.width(),u=this.height(),h={parent:this,onScrollFocus:this.childScrollFocus,onBeforeScrollFocus:this.beforeChildScrollFocus,slideVisible:this.props.slideVisible,slideFrame:this.props.slideFrame,winScale:l,checkElso:this.props.checkElso,onElsoAction:this.props.onElsoAction,addAccEl:this.props.addAccEl,tabIndexDisabled:this.props.tabIndexDisabled};return t.createElement("div",{className:"scrollarea",style:{width:(c-(s.deviceView.isMobile?10:0))*l,height:u*l,top:"".concat(a*l,"px")}},this.hasVectorBackground()&&t.createElement("div",{className:"scrollarea-background"+(this.state.tabFocused?"focused":"")},t.createElement(i,{ref:"bg",model:this.props.model,playerProps:this.props.playerProps,winScale:l,className:"scrollarea-background-svg",isInnard:!0})),this.hasImageBackground()&&t.createElement("div",{className:"scrollarea-background"},t.createElement("img",{ref:"bg",src:this.getImageBgUrl(),style:this.getImageBgStyle()})),t.createElement("div",{className:"scrollarea-area "+(this.state.shouldNotScroll?"prevent-scroll":"is-scrollable"),"data-accepts":"events",ref:"scrollArea",style:{width:c*l,height:(u-a)*l}},t.createElement("div",{ref:"contentArea",style:{height:this.state.contentHeight*l,width:c*l,position:"absolute"}},this.props.model.objects().map(function(n,i){return t.createElement(e,r({ref:"obj"+i,key:n.cid,model:n},h))}.bind(this)))),!this.state.shouldNotScroll&&!s.browser.isIE&&t.createElement(o,{ref:"scrollBar",width:c,height:u-a,winScale:l,offY:a,parent:this}))}}}.call(t,n,t,e))||(e.exports=i)},9965:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{ScrollBar:function(){var e=!DS.detection.env.isPerpetual,n=this.props,i=n.winScale,o=n.offY,s=n.offX,a=n.width,l=n.height,c={},u={},h={},d={},p=["scrollarea-scrollbar"].concat(r(e?["high-contrast-scroll"]:[]));return e||(c={top:(o||0)*i,left:((s||0)+a)*i-10,height:l*i},u={width:"".concat(10*i,"px"),left:"".concat(20*i,"px"),borderRadius:"".concat(5*i,"px")},h={width:"".concat(10*i,"px"),borderRadius:"".concat(5*i,"px")},d={width:"".concat(8*i,"px"),left:"".concat(21*i,"px"),borderRadius:"".concat(5*i,"px")}),t.createElement("div",{className:p.join(" "),ref:"scrollBar",style:c,onMouseDown:this.onAutoScroll,onTouchStart:this.onAutoScroll},t.createElement("div",{ref:"before",className:"scrollarea-scrollbar-before",style:u}),t.createElement("div",{ref:"scrollBtn",className:"scrollarea-btn",onMouseDown:this.onScrollBtnDown,onTouchStart:this.onScrollBtnDown,style:h}),t.createElement("div",{ref:"after",className:"scrollarea-btn-after",style:d}))}}}.call(t,n,t,e))||(e.exports=i)},7921:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}void 0===(i=function(e){var t=n(3305);return{SequenceCtrlDrop:function(){var e,n=this.props.winScale,i=this.props.numWidth*n,r=16*n/2,s=this.props.height*n,a=this.props.width*n,l=5*n,c=i/2+(s-i)/2;return t.createElement("div",{className:"sequence-ctrl-drop",style:{top:this.props.yOff*n,width:a+i,height:s}},!DS.flagManager.updatedThemeColorsEnabled&&t.createElement("div",{className:"sequence-ctrl-num",style:{width:i,height:s,lineHeight:s+"px",color:this.state.reviewColor,fontSize:"".concat(16*this.props.winScale,"px")}},this.state.reviewIdx+1+"."),DS.flagManager.updatedThemeColorsEnabled&&t.createElement("div",{className:"sequence-ctrl-num",style:{width:i,height:s,fontSize:"".concat(14*n,"px")}},t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg"},t.createElement("g",{transform:"translate(".concat(i/2,", ").concat(c,")")},t.createElement("circle",{cx:"0",cy:"0",r:i/2-2,style:{fill:this.state.reviewColor,stroke:"white",strokeWidth:2*n}}),t.createElement("text",{textAnchor:"middle",x:n/2,y:l,fill:"white"},t.createElement("tspan",null,this.state.reviewIdx+1+"."))))),t.createElement("div",{className:"sequence-ctrl-hit",style:{width:a,height:s}}),t.createElement("div",{className:"sequence-ctrl-bar sequence-ctrl-bar-top",style:{width:this.props.width,transform:"scale(".concat(n,", ").concat(n,")"),transformOrigin:"top left",left:i,top:-r,display:this.state.topBar?"block":"none"}}),t.createElement("div",{className:"sequence-ctrl-bar sequence-ctrl-bar-bottom",style:(e={top:s,width:this.props.width,transform:"scale(".concat(n,", ").concat(n,")"),transformOrigin:"top left",left:i},o(e,"top",s+r),o(e,"display",this.state.bottomBar?"block":"none"),e)}))}}}.call(t,n,t,e))||(e.exports=i)},7996:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{SequenceCtrlSlideObject:function(){var e=n(5886),i=n(258),r=n(621),o=DS.detection,s=this.props.winScale,a=this.getPath("props.model.width"),l=this.getPath("props.model.height"),c=8*s,u={height:l*s,marginLeft:4*s,overflow:"hidden"},h=(a+4)*s,d=(6+_.sum(this.state.itemslist,(function(e){return e.textdata.height+16})))*s,p=0,f=11,g=this.props.model.get("colors");return t.createElement("div",{className:"sequence-ctrl",style:_.extend({width:h},u)},t.createElement("div",{className:"sequence-ctrl-scroll-area is-scrollable",ref:"scrollArea",style:_.extend({width:h-c},u)},t.createElement("div",{className:"sequence-ctrl-scroll-area-contents"},this.state.itemslist.map(function(n,i){var r=n.textdata.height;return f=(p=f)+r+16,t.createElement(e,{ref:"item"+i,parent:this,slideOwner:this.props.model.getSlide(),key:n.textdata.uniqueId,idx:i,width:n.textdata.width,height:n.textdata.height,numWidth:this.numWidth,yOff:p,winScale:s,pr:n.textdata.vectortext.pr})}.bind(this)),this.state.itemslist.map(function(e,n){var r=this,o=(e.textdata.height,{style:"wordbank",width:a-(this.numWidth+18+c+4),height:e.textdata.height,kind:"dragitem",xOff:e.textdata.xPos,yOff:e.textdata.yPos,itemdata:e.itemdata,idx:n,data:{textdata:e.textdata},parentModel:this.props.model,setTransformDirty:function(){return r.transformDirty=!0}});return t.createElement("div",{className:"sequence-ctrl-drag-container",key:n,ref:"sequenceItemContainer"+n,style:{position:"absolute"}},t.createElement(i,{ref:"sequenceItem"+n,key:e.textdata.uniqueId,idx:n,parent:this,colors:g,winScale:s,model:o}))}.bind(this)),t.createElement("div",{style:{width:1,height:1,top:d,position:"absolute",visibility:"hidden"}}))),this.state.shouldScroll&&!o.browser.isIE&&t.createElement(r,{ref:"scrollBar",width:a-4-c,height:l,offY:0,winScale:s,parent:this,initSelf:!0}))}}}.call(t,n,t,e))||(e.exports=i)},1342:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{Slide:function(){var e,i=n(4771),r=n(3805),o=n(3997),s=n(92),a=DS.detection,l=this.props.winScale,c=this.props.model,u=this.props.model.get("width"),h=this.props.model.get("height"),d=this.getPath("props.model.background.type"),p=["slide",["cs-",this.props.model.id.replace(/_/g,"-")].join("")].join(" "),f={zIndex:this.state.transitionDepth,width:u*l,height:h*l},g=this.props.slideFrame;return null!=g&&(e=g.props.model,f.top=Math.max(0,(e.get("height")-c.get("height"))/2)*l,f.left=Math.max(0,(e.get("width")-c.get("width"))/2)*l),t.createElement("div",{className:p,role:"presentation","data-rollout-highest-node":"true",style:f,onMouseDownCapture:this.onStoreMouseLoc,onTouchStartCapture:this.onStoreTouchLoc,onContextMenu:this.onCtxMenu},!!d&&"vector"===d&&t.createElement(o,{ref:"bg",model:this.props.model,winScale:l}),!!d&&"vector"!==d&&t.createElement(r,{ref:"bg",layerModel:this.props.model,winScale:l}),t.createElement("div",{className:"zoom-bg-container"}),this.props.slideContainer.props.currentSlide===this.props.model&&t.createElement(s,{ref:"accShadowDom",winScale:l,width:this.props.model.get("width"),height:this.props.model.get("height")}),t.createElement("div",{className:"acc-blocker","aria-hidden":"true",onClick:function(){}}),this.getPath("props.model.slideLayers").map(function(e,n){return t.createElement(i,{ref:"layer"+n,key:e.cid,model:e,slideFrame:this.props.slideFrame,winScale:l,width:u,height:h,addAccEl:this.addAccEl,retainShadowFocus:this.retainShadowFocus,getCurrentShadowFocus:this.getCurrentShadowFocus})}.bind(this)),t.createElement("div",{ref:"contentArea",className:["slide-top-container",!this.props.slideFrame&&"slide-top-container-main"].join(" ")}),!a.deviceView.isMobile&&t.createElement("div",{className:"slide-text-fix"}))}}}.call(t,n,t,e))||(e.exports=i)},2350:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{SlideBackground:function(){var e=n(2977),i=this.props,r=i.winScale,o=i.layerModel,s=o.get("width"),a=o.get("height");return t.createElement("svg",{width:s*r,height:a*r,viewBox:[0,0,s,a].join(" "),focusable:"false"},t.createElement("defs",null,"fill"===this.props.layerModel.background().type?t.createElement(e,{patternFillId:this.patternFillId(),layerModel:this.props.layerModel}):t.createElement("pattern",{id:this.patternFillId(),width:s,height:a,patternUnits:"userSpaceOnUse"},t.createElement("image",{width:s,height:a,xlinkHref:this.props.layerModel.backgroundImageUrl()}))),t.createElement("rect",{id:"slide-bg-"+this.props.layerModel.get("id"),width:s,height:a,fill:["url(#",this.patternFillId(),")"].join("")}))}}}.call(t,n,t,e))||(e.exports=i)},9542:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{SlideContainer:function(){var e=n(4641),i=DS.svgUtils,r=DS.utils,o=DS.detection,s={overflow:this.state.overflowHide&&!o.deviceView.isUnifiedMobile?"hidden":"visible"},a=Object.assign({},this.state.loadContainerStyleAttr),l=null!=this.props.getWinScale?this.props.getWinScale():1,c=this.state.xOff||0,u=this.state.yOff||0;return this.state.scale&&(l=this.state.scale),s[this.cssTransform]=i.transformTranslate(r.pxify(Math.round(c)),r.pxify(Math.round(u))),null!=this.state.origin&&(s[this.cssTransformOrigin]=this.state.origin),this.props.currentSlide&&(s.width=this.props.currentSlide.get("width")*l,s.height=this.props.currentSlide.get("height")*l,a.width=s.width),t.createElement("div",{style:s,className:"slide-container"},this.state.slides.map(function(n){return t.createElement("div",{key:n.absoluteId,className:"slide-transition-container",style:{width:"".concat(n.get("width")*l,"px"),height:"".concat(n.get("height")*l,"px"),overflow:"hidden"}},t.createElement(e,{ref:n.absoluteId,model:n,isMessageWindow:this.props.isMessageWindow,transitionComplete:this.transitionComplete,killSlide:this.killSlide.bind(this,n),slideContainer:this,windowId:this.props.windowId,winScale:l}))}.bind(this)),o.deviceView.isMobile&&t.createElement("div",{className:"swipe-transition-container"}),!o.deviceView.isClassicDesktop&&this.props.currentSlide&&!this.props.isMessageWindow&&!this.firstLoad&&t.createElement("div",{className:"load-container",style:a},t.createElement("div",{className:"slide-loader"},t.createElement("div",{className:"mobile-loader-dot dot1"}),t.createElement("div",{className:"mobile-loader-dot dot2"}),t.createElement("div",{className:"mobile-loader-dot dot3"}))))}}}.call(t,n,t,e))||(e.exports=i)},6234:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{SlideControlButton:function(){var e=DS._,n=["btn","cs-button","inflexible",this.disabled()?"cs-disabled":"","slide-control-button-"+this.props.kind,"slide-lockable"],i=e.omit(this.props,["kind","onButtonDown","slide","windowId"]);return this.visible()||n.push("hidden"),this.state.focused&&n.push("focused"),t.createElement("button",r({ref:"btn",className:n.join(" "),"aria-disabled":this.disabled(),tabIndex:"-1"},i,this.getButtonEvents()),this.props.children)}}}.call(t,n,t,e))||(e.exports=i)},7166:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{SlideFrameSlideObject:function(){var e=n(4641),i=n(4148),r=DS._;return t.createElement("div",{className:"slideframe",style:{width:this.props.playerProps.width,height:this.props.playerProps.height}},this.hasVectorBackground()&&t.createElement(i,{ref:"bg",model:this.props.model,playerProps:this.props.playerProps}),this.hasImageBackground()&&t.createElement("img",{ref:"bg",src:this.getImageBgUrl(),style:this.getImageBgStyle()}),this.state.slideModel&&t.createElement(e,{model:this.state.slideModel,slideFrame:this,transitionComplete:r.noop,onSlideStarted:this.onSlideStarted}))}}}.call(t,n,t,e))||(e.exports=i)},8414:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{SlideLayer:function(){var e=n(5648),i=n(4172),r=n(3805),o=this.state.renderChildren||this.isVisible(),s=this.props.winScale,a=this.props.model.objects();return t.createElement("div",{ref:"contentArea",className:["slide-layer",this.props.model.isBaseLayer()?"base-layer":"",this.displayClass()].join(" "),style:{pointerEvents:this.props.model.isPenetrable()?"none":"auto",zIndex:this.state.depth,width:this.props.width*s,height:this.props.height*s}},o&&this.props.model.get("modal")&&t.createElement("div",{className:"layer-modal-bg"}),o&&a.map(function(n,i){return t.createElement(e,{ref:"obj"+i,key:n.cid,model:n,winScale:s,tabIndexDisabled:this.state.tabIndexDisabled,slideVisible:"shown"===this.displayClass(),addAccEl:this.props.addAccEl,slideFrame:this.props.slideFrame})}.bind(this)),o&&this.props.model.hasBackground()&&t.createElement(r,{ref:"bg",layerModel:this.props.model,winScale:this.props.winScale}),this.state.audio&&t.createElement("div",{ref:"allAudio",className:"hidden"},this.props.model.audiolib().map(function(e,n){return t.createElement(i,{ref:"audio"+n,key:n,model:e,slideVisible:"shown"===this.displayClass(),objectVisible:!0,timeline:this.props.model.timeline()})}.bind(this))))}}}.call(t,n,t,e))||(e.exports=i)},6548:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{SlideObject:function(){var e=this.getStyles(),n=this.props,i=n.winScale,o=n.model,s=["slide-object","slide-object-"+o.kind(),this.displayClass(),this.cursorClass(),this.state.tabFocused?"focused":"",o.isToolTip()?"tooltip":"",o.isDraggable()?"draggable":"",o.isRotatable()?"rotatable":"",o.getTweenableClass(),o.getIsSlideableParent&&o.getIsSlideableParent()?"slideable-parent":""].join(" "),a=this.props.model.isEventable&&["onrelease","onpress","onkeypress"].some((function(e){return o.hasEvent(e)}))?this.onMouseUp:null,l={tabIndex:"-1","aria-hidden":!o.isWebObject()&&!this.state.fullScreen,onMouseUp:a};return t.createElement("div",r({className:s,style:e,"data-model-id":o.id,"data-acc-text":this.getAccessibleText()},l),function(){var e=o.get("markerType");if(null!=e){var n="swirl"===e?{left:-3*i,top:14*i,width:17*i,height:17*i,borderBottomLeftRadius:34*i}:{transform:"translate(-".concat(5*i,"px, -").concat(5*i,"px) scale(").concat(i,")"),transformOrigin:"0 0"};return t.createElement("div",{ref:"markerAnimation",className:"marker-animation marker-animation-".concat(e),style:n})}}(),o.isHotSpotMarker()&&t.createElement("div",{style:{transform:"scale(".concat(i,", ").concat(i,")")}},t.createElement("div",{className:"hotspot-marker"},t.createElement("span",null))),t.createElement(this.slideObjectInnard,this.getInnardConfigs()))}}}.call(t,n,t,e))||(e.exports=i)},2851:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{SlideWindow:function(){var e=n(4116),i=n(8172),r=this.getBackground();return t.createElement("div",{id:"slide-window"},t.createElement("div",{className:"slide-window-slide-container cs-slide-container"},null!=r&&t.createElement(i,{bg:r}),t.createElement(e,{ref:"slideContainer",currentSlide:this.state.currentSlide,windowId:this.props.id,lightboxed:this.props.lightboxed,hasControls:this.props.hasControls,getWinScale:this.props.getWinScale,onPinchZoom:this.props.onPinchZoom||function(){},getPinchZoomBounds:this.props.getPinchZoomBounds||function(){}})))}}}.call(t,n,t,e))||(e.exports=i)},2724:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{StateGroupSlideObject:function(){var e=n(5648),i={winScale:this.props.winScale,onScrollFocus:this.props.onScrollFocus,checkElso:this.checkElso,onElsoAction:this.onElsoAction,slideVisible:this.props.slideVisible,playerProps:this.props.playerProps,parent:this,slideFrame:this.props.slideFrame,tabIndexDisabled:this.props.tabIndexDisabled,addAccEl:this.props.addAccEl};return t.createElement("div",{className:"group "+(this.props.model.prop("OnStage")?"":"hidden")},this.props.model.objects().map(function(n,o){return t.createElement(e,r({ref:"obj"+o,key:o,model:n},i))}.bind(this)),t.createElement("div",{className:"state-group-top-level"}))}}}.call(t,n,t,e))||(e.exports=i)},598:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{SvgImageSlideObject:function(){var e=n(2658),i=this.props.model.getCurrentStateData(),r=i.imagedata,o=r.width,s=r.height,a=e.getAsset(i.imagedata.assetId),l=this.props.winScale;return t.createElement("svg",{className:"svgImage",preserveAspectRatio:"none","data-accepts":"events",width:o*l,height:s*l,viewBox:"0 0 ".concat(a.width()," ").concat(a.height())},t.createElement("use",{href:"#".concat(a.get("dataId")),"data-pointer-events":"true"}))}}}.call(t,n,t,e))||(e.exports=i)},2314:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{TextInputSlideObject:function(){var e=n(4148),i=(DS.utils,this.props.winScale),o=this.getPath("props.model.maxchars"),s=this.getInputStyle(),a={width:this.getPath("props.model.width")*i,height:this.getPath("props.model.height")*i},l={role:"presentation","aria-hidden":"true",readOnly:"true",tabIndex:"-1"};return this.hasVectorBackground()||this.hasImageBackground()||(a.border="1px solid rgb(160,160,160)",a.backgroundColor="#fff"),t.createElement("div",{className:this.state.placeholderClass},this.hasVectorBackground()&&t.createElement(e,{ref:"bg",model:this.props.model,winScale:i,playerProps:this.props.playerProps,isInnard:!0}),this.hasImageBackground()&&t.createElement("img",{ref:"bg",src:this.getImageBgUrl(),style:this.getImageBgStyle()}),this.isTextArea()?t.createElement("div",{style:a},t.createElement("textarea",r({ref:"input"},l,{onFocus:this.onInputFocus,style:s,maxLength:o>0?o:"","data-accepts":"events",disabled:!this.getPath("props.playerProps.Enabled"),placeholder:this.getPath("props.model.placeholder"),value:this.state.inputValue,onChange:this.onInputChange,onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,onTouchStart:this.onTouchStart}))):t.createElement("input",r({ref:"input"},l,{onFocus:this.onInputFocus,type:"text",style:_.extend({},a,s),maxLength:o>0?o:"","data-accepts":"events",disabled:!this.getPath("props.playerProps.Enabled"),value:this.state.inputValue,placeholder:this.getPath("props.model.placeholder"),onChange:this.onInputChange,onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,onTouchStart:this.onTouchStart})))}}}.call(t,n,t,e))||(e.exports=i)},6422:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ThreeSixtyImageSlideObject:function(){n(3118);var e={position:"absolute",left:0,top:0,width:Math.ceil(this.props.model.width()*this.props.winScale),height:Math.ceil(this.props.model.height()*this.props.winScale)};return t.createElement("div",{className:"three-sixty-image",style:e},t.createElement("div",{className:"three-gl",ref:"glEl",style:e}),t.createElement("div",{className:"three-css",ref:"cssEl",style:e}),t.createElement("div",{className:"three-overlays",ref:"overlaysEl",style:e},t.createElement("svg",{className:"three-overlay-svg",ref:"overlaySvgEl",style:e,width:e.width,height:e.height}),t.createElement("div",{className:"three-misc-overlays",ref:"miscOverlaysEl",style:e})))}}}.call(t,n,t,e))||(e.exports=i)},1958:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{VariableText:function(){var e={height:this.props.model.height(),width:this.props.model.width()};return t.createElement("div",{xmlns:"http://www.w3.org/1999/xhtml",className:"textlib"+(this.state.isVisible?"":" invisible")+(this.props.hasShadow?" object-text-shadow":""),style:e},t.createElement("div",{className:"textlib-inner "+this.state.valignClass,onClick:this.possibleHit,style:this.getInnerProps()},t.createElement("div",{ref:"textLibContentWrap",className:"textlib-content-wrap",dangerouslySetInnerHTML:{__html:this.state.embeddedTemplate}})))}}}.call(t,n,t,e))||(e.exports=i)},222:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{VectorSlideBackground:function(){var e=n(9036);return t.createElement(e,{vectorData:this.props.model.background().vectorData,model:this.props.model,playerProps:this.props.playerProps,winScale:this.props.winScale})}}}.call(t,n,t,e))||(e.exports=i)},8330:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{VectorText:function(){var e=n(6894),i=n(6272),r=DS._;return t.createElement("g",{className:"vector-text-item"},t.createElement("g",{transform:this.getTransform()},this.props.hasShadow&&t.createElement(e,{ref:"itemShadow",isShadow:!0,pathLib:this.state.curPathLib,commandsetId:this.state.curCommandsetId}),t.createElement(e,{ref:"item",pathLib:this.state.curPathLib,commandsetId:this.state.curCommandsetId})),this.props.textLibItem.linkdata().map(function(e,n){return t.createElement(i,{key:"hitArea"+n,ref:"hitItem"+n,color:r.get(e.get("fill"),"colors[0]"),hotAreas:e.get("hotareas"),linkId:e.get("id"),link:e,renderLinkCallback:this.renderLinkCallback,onOverCallback:this.onOverCallback,onOutCallback:this.onOutCallback,onClickCallback:this.onClickCallback})}.bind(this)))}}}.call(t,n,t,e))||(e.exports=i)},5417:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{VectorTextHitArea:function(){var e=DS.utils,n=function(e){return"hotarea_"+e};return t.createElement("g",null,this.props.hotAreas.map(function(i,r){return t.createElement("g",{ref:n(r),key:n(r)},t.createElement("rect",{className:"link-hit-area","data-hotarea":n(r),x:i.xPos,y:i.yPos,width:i.width,height:i.height,onMouseOver:this.renderAs,onMouseOut:this.renderAs,onMouseDown:this.renderAs,onMouseUp:this.renderAs,onClick:this.onClickCallback,onTouchEnd:this.onClickCallback}),t.createElement("rect",{className:"link-highlight-area","data-linkarea":n(r),x:i.xPos,y:i.yPos,width:i.width,height:i.height,fill:null==this.props.color?"none":e.hexify(this.props.color.rgb),style:{opacity:0},"data-link-id":this.props.linkId}))}.bind(this)))}}}.call(t,n,t,e))||(e.exports=i)},4881:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{VideoControls:function(){var e=n(6806),i=DS,r=i.detection,o=i.utils,s=this.props.isPlaying?"pauseLegacy":"playLegacy",a=this.props.winScale,l=1/a,c=o.decToPct(l,!0),u=r.theme.isClassic&&r.deviceView.isDesktop,h={transform:"scale(".concat(a,")"),transformOrigin:"top left",fontSize:u?"".concat(1/a,"em"):null,width:c,maxWidth:c},d={};return r.env.videoControlsFont&&(d.fontFamily=r.env.videoControlsFont),t.createElement("div",{className:"video-controls inflexible",style:h},t.createElement("div",{className:"video-controls-play-pause inflexible",ref:"playPause",onClick:!r.device.isMobile&&this.props.toggleVideoControls,onTouchStart:r.device.isMobile&&this.props.toggleVideoControls},t.createElement("button",{ariaHidden:"true",tabIndex:"-1"},t.createElement(e,{key:s,type:s}))),t.createElement("div",{className:"progress-bar",ref:"progressBar"},t.createElement("div",{className:"progress-bar-inner",ref:"progressBarInner"},t.createElement("div",{className:"progress-bar-seek"},t.createElement("div",{className:"progress-bar-fill",style:{width:this.props.currentTime/this.props.duration*100+"%"}}))),t.createElement("div",{className:"progress-bar-elapsed-time",style:d},t.createElement("span",null,this.currentTimeFormatted()),t.createElement("span",{className:"progress-bar-total-duration"}," / ",this.durationFormatted()))))}}}.call(t,n,t,e))||(e.exports=i)},7055:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{VideoPlayer:function(){var e=DS.utils,n=(DS.automation,this.state.hasEverPlayed),i=this.props.posterFrameUrl,r=this.props.playerProps.width*this.props.winScale,o=this.props.playerProps.height*this.props.winScale,s={height:e.pxify(o),width:e.pxify(r)},a=!DS.detection.theme.isClassic&&!DS.detection.env.isPerpetual;return t.createElement("div",{className:"video-player-limited-container",style:s,"data-accepts":"events"},t.createElement("div",{ref:"container",className:a?"modern-video":null}),!n&&null!=i&&t.createElement("img",{className:"video-player-poster",width:r,height:o,src:i,alt:""}))}}}.call(t,n,t,e))||(e.exports=i)},6208:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{VideoSlideObject:function(){var e=n(4928),i=n(780),r=n(7837),o=n(6086),s=this.isHlsVideo(),a=this.props.winScale,l=this.isValidVideo(),c=this.state.posterImage||this.posterFrameUrl(),u=l&&this.props.model.get("showcontrols"),h=u&&!DS.detection.theme.isClassic&&!DS.detection.env.isPerpetual,d=["video-slide-object"];return this.state.fullScreen&&d.push("full-screen-mode"),this.state.isPlaying||d.push("paused"),s&&DS.detection.env.isFileProtocol&&(l=!1,u=!1,h=!1),t.createElement("div",{className:d.join(" ")},l&&t.createElement(i,{currentVolume:this.state.currentVolume,duration:this.state.duration,isPlaying:this.state.isPlaying,isTimelineControlled:this.state.isTimelineControlled,onDurationChange:this.durationLoaded,onLoadedData:this.loadedData,onPlaybackEnded:this.playbackEnded,onTimeUpdate:this.playing,onVideoPaused:this.videoPaused,playerProps:this.props.playerProps,slideVisible:this.props.slideVisible,objectVisible:this.isVisible(),slideObjectModel:this.props.model,assetId:this.getAssetId(),winScale:a,posterFrameUrl:c,ref:"videoPlayer",timeline:this.layerTimeline,src:this.getVideoUrl(),pausedByPlayButton:this.pausedByPlayButton,pause:this.pauseVideo}),u&&!h&&t.createElement(e,{ref:"controls",winScale:a,currentTime:this.state.currentTime,duration:this.state.duration,isPlaying:this.state.isPlaying,toggleVideoControls:this.toggleVideoControls,slideObjectView:this.props.parent,controlSeek:this.controlSeek}),h&&t.createElement(r,{ref:"controls",width:this.props.model.width()*a,currentTime:this.state.currentTime,duration:this.state.duration,isPlaying:this.state.isPlaying,controlConfig:this.getEnabledControls(),colors:this.getControlColors(),videoInterface:this.videoInterface,slideObjectView:this.props.parent,model:this.props.model,fullScreen:this.state.fullScreen}),h&&this.state.fullScreen&&t.createElement("div",{className:"focus-container"}),h&&this.state.fullScreen&&t.createElement("div",{className:"caption-container-host"}),!l&&!s&&t.createElement("div",{className:"placeholder-object",style:{width:this.props.model.width()*a,height:this.props.model.height()*a}},"swf"),!l&&s&&t.createElement(o,{ref:"localWarning",model:this.props.model,width:this.props.model.width()*a,height:this.props.model.height()*a}))}}}.call(t,n,t,e))||(e.exports=i)},5530:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{VolumeControls:function(){n(6806);var e=DS.vendorOverrides.crispScale;return t.createElement("div",{className:"controls-group control-bar inflexible"},t.createElement("div",{ref:"btn",className:"btn cs-button volume "+(!this.state.isOpen&&this.state.tabFocused?"focused":""),onClick:this.onClick},t.createElement("button",{className:"btn-unstyled text-align-middle",style:e()},t.createElement("span",{className:"accessibility"},this.state.i18nvolume)),t.createElement("div",{className:["btn cs-volume cs-button slider-bar",this.state.isOpen?"":"hidden",this.state.isOpen&&this.state.tabFocused?"focused":""].join(" "),style:e(),id:"control-volume-slider"},t.createElement("input",{ref:"volumeRange",className:"cs-volume",type:"range",min:"0",max:"1.0",value:this.state.volumeStrength,onChange:this.onInputChange,step:"0.1","aria-orientation":"vertical"}))))}}}.call(t,n,t,e))||(e.exports=i)},5153:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{WebObjectSlideObject:function(){var e=this.props.playerProps,n=e.width,i=e.height,r=this.props.winScale,o=this.shouldScale();return t.createElement("div",{className:"webobject is-scrollable",style:{width:n*(o?1:r),height:i*(o?1:r),transformOrigin:o?"0 0":void 0,transform:o?"scale(".concat(r,")"):void 0,background:"transparent"}},!this.state.isError&&t.createElement("iframe",{ref:"iframe",src:this.state.url,allowFullScreen:!0,className:[this.showThumb()?"hidden":"shown",this.checkIsEngage()?"webobject-engage":""].join(" "),onLoad:this.onIframeLoad,tabIndex:"0","aria-hidden":"false"}),this.showThumb()&&t.createElement("img",{onClick:this.showContent,onTouchStart:this.showContent,style:{width:n*(o?1:r),height:i*(o?1:r),transformOrigin:o?"0 0":void 0,transform:o?"scale(".concat(r,")"):void 0},className:"thumbnail",tabIndex:"0","aria-hidden":"false",src:this.imageUrl}))}}}.call(t,n,t,e))||(e.exports=i)},8764:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ZoomImage:function(){return t.createElement("div",{className:"zoom-image "+this.displayClass()},t.createElement("img",{ref:"img",src:this.props.imageUrl,style:{width:this.props.width,height:this.props.height}}))}}}.call(t,n,t,e))||(e.exports=i)},4021:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccButton:function(){var e=n(7523).renderSemanticText,i=this.state.altTextOverridesText||!this.hasVarText();return t.createElement("button",r({className:"acc-shadow-el acc-button"},this.getBaseAccAttribs(),{style:this.getBaseAccStyle(),type:"button",onClick:this.onClick,"aria-label":i?this.state.label:null}),i?this.state.label:e(this.parseText().children,this))}}}.call(t,n,t,e))||(e.exports=i)},7875:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccCheckbox:function(){var e=n(7523).renderSemanticText,i=this.getBaseAccStyle(),o=null,s=this.state.label,a=this.id+"_label";return this.hasVarText()&&(o=Object.assign({display:"none"},this.getLabelStyle()),s=this.state.altTextOverridesText?this.state.label:e(this.parseText().children,this)),t.createElement("div",{className:"acc-shadow-el",style:i},t.createElement("input",r({className:"acc-shadow-el acc-checkbox",style:_.pick(i,["width","height"]),"aria-labelledby":a,ref:"input"},this.getBaseAccAttribs(),{type:"checkbox",onClick:this.onClick,checked:this.state.checked})),t.createElement("label",{style:o,id:a},s))}}}.call(t,n,t,e))||(e.exports=i)},6568:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{AccDialog:function(){var e=this;return t.createElement("div",{id:this.id(),className:"acc-shadow-el",role:"dialog","aria-modal":"true","aria-hidden":!this.state.isVisible||null,"aria-labelledby":this.labeledBy(),"aria-describedby":this.describedBy(),tabIndex:"-1"},!!this.props.dialog.children.length&&this.props.dialog.children.sort((function(e,t){return e.prop("tabIndex")-t.prop("tabIndex")})).map((function(n,i){var r=e.props.childMap[e.props.shadowDom.getAccType(n)];if(null!=r)return t.createElement(r,{ref:"acc-obj-".concat(n.accIdx),key:n.accKey,idx:i,slideObject:n,relatedObject:n.relatedObject,shadowDom:e.props.shadowDom,winScale:e.props.winScale})})))}}}.call(t,n,t,e))||(e.exports=i)},3449:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccDropList:function(){var e=this,i=n(7523).renderSemanticText,o=DS,s=o.utils.getPath,a=o.detection.os.isIOS,l=this.props.slideObject.id,c="acc-".concat(l,"-choices"),u=this.state,h=u.expanded,d=u.selectedData,p=(u.label,this.objView.refs.innard.getSelectedTextData()),f=function(e){return!e.altTextOverridesText&&null!=s(e,"vartext.blocks")};return t.createElement("div",{className:"acc-shadow-el"},!a&&t.createElement("button",r({className:"acc-shadow-el acc-droplist"},this.getBaseAccAttribs(),{style:this.getBaseAccStyle(),ref:"input",role:"combobox","aria-autocomplete":"list","aria-owns":c,onClick:this.onClickInput,"aria-expanded":h,"aria-controls":h?c:null,"aria-activedescendant":h&&-1!==d?"acc-".concat(l,"-").concat(d):null}),f(p)?i(this.parseText(p).children,this):p.altText),!a&&t.createElement("ul",{className:"acc-shadow-el acc-droplist",id:c,tabIndex:"-1",role:"listbox",style:Object.assign(this.getBaseAccStyle(),{visibility:h?"visible":"hidden"})},this.getChoices().map((function(n,r){var o=n.value,s=n.textdata;return t.createElement("li",{onClick:e.onClickOption,key:r,"data-index":r,role:"option",id:"acc-".concat(l,"-").concat(o),"aria-selected":o===d||null},f(s)?i(e.parseText(s).children,e):s.altText)}))),a&&t.createElement("select",r({className:"acc-shadow-el acc-droplist",size:"1",ref:"input"},this.getBaseAccAttribs(),{style:this.getBaseAccStyle(),onChange:this.onChangeMobile}),t.createElement("option",null,"-- Select --"),this.getChoices().map((function(e,n){var i=e.value,r=e.textdata;return t.createElement("option",{key:n,value:"acc-".concat(l,"-").concat(i),"aria-selected":i===d||null},r.altText)}))))}}}.call(t,n,t,e))||(e.exports=i)},7379:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccElso:function(){var e=this,i=(DS.detection.deviceView.isMobile,this.getBaseAccAttribs()),o=n(7523).renderSemanticText,s=this.state.altTextOverridesText||!this.hasVarText();return t.createElement("div",r({className:"acc-shadow-el acc-elso"},Object.assign(i,{"aria-hidden":i["aria-hidden"]||!this.state.expanded||null}),{style:this.getBaseAccStyle(),onClick:this.onClick}),function(){if(e.state.label)return t.createElement("div",null,s?t.createElement("p",null,e.state.label):o(e.parseText().children,e))}())}}}.call(t,n,t,e))||(e.exports=i)},8624:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccImage:function(){DS.detection.deviceView.isMobile;var e=this.hasZoom()||this.hasRelease();return t.createElement("div",null,e&&t.createElement("button",r({className:"acc-shadow-el acc-image",ref:"focusTarget",role:"img","aria-label":this.state.label,onClick:this.onClick},Object.assign(this.getBaseAccAttribs(),{tabIndex:this.getTabIndex()}),{style:this.getBaseAccStyle()})),!e&&t.createElement("img",r({className:"acc-shadow-el acc-image",ref:"focusTarget","aria-label":this.state.label},Object.assign(this.getBaseAccAttribs(),{tabIndex:this.getTabIndex()}),{style:this.getBaseAccStyle()})))}}}.call(t,n,t,e))||(e.exports=i)},5853:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccMarker:function(){DS.detection.deviceView.isMobile;return t.createElement("button",r({className:"acc-shadow-el acc-button"},Object.assign(this.getBaseAccAttribs(),{ariaControls:"acc-".concat(this.props.relatedObject.id)}),{style:this.getBaseAccStyle(),"aria-label":this.state.label,"aria-expanded":this.state.expanded,type:"button",onClick:this.onClick}))}}}.call(t,n,t,e))||(e.exports=i)},4207:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{AccModernVideo:function(){var e=this,i=n(4646),o=n(1348),s=DS,a=s.utils.pxify,l=s.detection.deviceView.isPhone,c=this.props.slideObject,u=c.id,h=this.state.tabbable,d=c.isEventable&&["onrelease","onpress"].some((function(e){return c.hasEvent(e)})),p=function(e){var t=r(e,4),n=t[0],i=t[1],o=t[2],s=t[3];return{left:a(n),top:a(i),width:a(o-n),height:a(s-i)}};return t.createElement("div",{className:"acc-shadow-el",style:this.getBaseAccStyle(),id:"acc-".concat(u),tabIndex:"-1",onFocus:this.onShadowFocus,onBlur:this.onShadowBlur,"data-represents":this.objModel.absoluteId,role:"group","aria-label":this.state.label,"aria-hidden":!h||null},d&&t.createElement("button",{ref:"videoButton",className:"acc-shadow-el acc-button",style:_.assign(this.getBaseAccStyle(),{left:0,top:0}),id:"acc-".concat(u,"-button"),tabIndex:"0",type:"button",onClick:this.onButtonClicked,"aria-labelledby":"acc-".concat(u)}),function(){if(null==e.state.seekRect)return null;var n=e.state,i=n.seekRect,r=n.duration,o=n.elapsed,s=Math.round(o/r*100);return t.createElement("input",{className:"acc-shadow-el acc-slider",tabIndex:"0",id:"acc-".concat(u,"-seekbar"),ref:"seek",type:"range",step:"1",min:"0",max:Math.ceil(r),"aria-valuetext":"".concat(s,"%"),style:p(i)})}(),function(){if(null==e.state.playPauseRect)return null;var n=e.state,i=n.playPauseRect,r=n.playPauseLabel;return t.createElement("button",{className:"acc-shadow-el acc-button",tabIndex:"0",id:"acc-".concat(u,"-playpause"),ref:"playPause",type:"button",onClick:isMobile?e.onPlayPauseClicked:null,onTouchEnd:isMobile?e.onPlayPauseClicked:null,"aria-label":r,style:p(i)})}(),function(){if(null==e.state.muteRect)return null;var n=e.state,i=n.muteRect,r=n.muteLabel,o=n.volumeStrength;return t.createElement("button",{className:"acc-shadow-el acc-button",tabIndex:"0",id:"acc-".concat(u,"-mute"),ref:"mute",type:"button",onClick:isMobile?e.onMuteClicked:null,onTouchEnd:isMobile?e.onMuteClicked:null,"aria-pressed":0===o,"aria-label":r,"data-volume-related":"true",style:p(i)})}(),function(){if(null==e.state.volumeRect)return null;var n=e.state,i=n.volumeRect,r=n.volumeLabel,o=n.volumeStrength;return t.createElement("input",{className:"acc-shadow-el acc-slider",tabIndex:"0",id:"acc-".concat(u,"-volume"),ref:"volumeSlider",type:"range",min:"0",max:"10",value:10*o,step:"1","aria-label":r,onChange:e.onVolumeChange,"aria-orientation":"vertical",style:p(i)})}(),function(){if(null==e.state.captionsRect)return null;var n=e.state,i=n.captionsRect,r=n.captionsLabel,o=n.captionsEnabled;return t.createElement("button",{className:"acc-shadow-el acc-button",tabIndex:"0",id:"acc-".concat(u,"-captions"),ref:"captions",type:"button",onClick:isMobile?e.onCaptionsClicked:null,onTouchEnd:isMobile?e.onCaptionsClicked:null,"aria-pressed":o,"aria-label":r,style:p(i)})}(),function(){if(null==e.state.transcriptRect)return null;var n=e.state,i=n.transcriptRect,r=n.transcriptLabel,o=n.transcriptOpen;return t.createElement("button",{className:"acc-shadow-el acc-button",tabIndex:"0",id:"acc-".concat(u,"-transcript"),ref:"transcript",type:"button",onClick:isMobile?e.onTranscriptClicked:null,onTouchEnd:isMobile?e.onTranscriptClicked:null,"aria-pressed":o,"aria-label":r,style:p(i)})}(),null==e.state.transcriptRect||l?null:t.createElement(o,{ref:"transcriptWindow",controlView:e.state.transcriptWindow}),function(){if(null==e.state.playbackSpeedRect)return null;var n=e.state,r=n.playbackSpeedControl,o=n.playbackSpeedRect;return t.createElement(i,{controlId:u,ref:"playbackSpeed",controlView:r,rect:o})}(),function(){if(null==e.state.pipRect)return null;var n=e.state,i=n.pipRect,r=n.pipLabel;return t.createElement("button",{className:"acc-shadow-el acc-button",tabIndex:"0",id:"acc-".concat(u,"-pip"),ref:"pip",type:"button",onClick:isMobile?e.onPipClicked:null,onTouchEnd:isMobile?e.onPipClicked:null,"aria-label":r,"aria-pressed":e.state.isPipMode,style:p(i)})}(),function(){if(null==e.state.fullscreenRect)return null;var n=e.state,i=n.fullscreenRect,r=n.fullscreenLabel;return t.createElement("button",{className:"acc-shadow-el acc-button",tabIndex:"0",id:"acc-".concat(u,"-fullscreen"),ref:"fullScreen",type:"button",onClick:isMobile?e.onFullscreenClicked:null,onTouchEnd:isMobile?e.onFullscreenClicked:null,"aria-label":r,"aria-pressed":"false",style:p(i)})}(),function(){if(null==e.state.settingsRect)return null;var n=e.state,i=n.settingsRect,r=n.settingsLabel;return t.createElement("button",{className:"acc-shadow-el acc-button",tabIndex:"0",id:"acc-".concat(u,"-settings"),ref:"settings",type:"button",onClick:isMobile?e.onSettingsClicked:null,onTouchEnd:isMobile?e.onSettingsClicked:null,"aria-label":r,style:p(i)})}(),function(){if(null==e.state.titleRect)return null;var n=e.state,i=n.titleRect,r=n.titleLabel;return t.createElement("h2",{className:"acc-shadow-el acc-text",tabIndex:"-1",style:p(i)},r)}(),function(){if(null==e.state.republishRect)return null;var n=e.state,i=n.republishRect,r=n.republishLabel;return t.createElement("p",{className:"acc-shadow-el acc-text",tabIndex:"-1",style:p(i)},r)}(),function(){if(null==e.state.learnMoreRect)return null;var n=e.state,i=n.learnMoreRect,r=n.learnMoreLabel;return t.createElement("button",{className:"acc-shadow-el acc-text",tabIndex:"0",style:p(i),onClick:isMobile?e.onLearnMoreClicked:null,onTouchEnd:isMobile?e.onLearnMoreClicked:null,"aria-label":r,role:"link"})}())}}}.call(t,n,t,e))||(e.exports=i)},8996:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccRadio:function(){var e=n(7523).renderSemanticText,i=this.getBaseAccStyle(),o=null,s=this.state.label,a=this.id+"_label";return this.hasVarText()&&(o=Object.assign({display:"none"},this.getLabelStyle()),s=this.state.altTextOverridesText?this.state.label:e(this.parseText().children,this)),t.createElement("div",{className:"acc-shadow-el",style:i},t.createElement("input",r({className:"acc-shadow-el acc-radio",style:_.pick(i,["width","height"]),"aria-labelledby":a,ref:"input"},this.getBaseAccAttribs(),{type:"radio",name:this.objModel.get("radioGroup"),onClick:this.onClick,checked:this.state.checked})),t.createElement("label",{style:o,id:a},s))}}}.call(t,n,t,e))||(e.exports=i)},7403:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{AccRadioGroup:function(){var e=this,i=n(5056);return t.createElement("form",null,this.props.slideObject.radios.sort((function(e,t){return e.prop("tabIndex")-t.prop("tabIndex")})).map((function(n,r){return t.createElement(i,{ref:"radio-".concat(r),key:n.accKey,idx:r,slideObject:n,shadowDom:e.props.shadowDom})})))}}}.call(t,n,t,e))||(e.exports=i)},4477:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccScrollarea:function(){var e=Object.assign({display:this.state.canScroll?"block":"none"},this.getBaseAccStyle());return t.createElement("div",r({className:"acc-shadow-el accessible-scrollbar"},this.getBaseAccAttribs(),{style:e,role:"slider",onKeyDown:this.onKeyDown,"aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":this.getScrollPercentage(),"aria-controls":"scroll-".concat(this.objModel.id),"aria-label":this.getAriaLabel()}))}}}.call(t,n,t,e))||(e.exports=i)},4283:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{AccSection:function(){var e=this,i=n(7754),r=n(2064),o=n(7370),s=n(3629),a=n(3238),l=n(5098),c=n(1939),u=n(588),h=n(7056),d=n(5670),p=n(7572),f=n(9721),g=n(4867),m={droplist:o,text:a,slider:u,dial:u,button:i,checkbox:r,textinput:l,video:h,modernvideo:d,radiogroup:c,image:s,marker:p,expandinglabel:f,section:g,scrollarea:n(6379)};return t.createElement("section",{"aria-label":this.props.slideObject.elso.relatedObject.currView.getAccessibleText(),"aria-hidden":!this.state.expanded||null},this.props.slideObject.slideObjects.sort((function(e,t){return e.prop("tabIndex")-t.prop("tabIndex")})).map((function(n,i){var r=m[e.props.shadowDom.getAccType(n)];if(null!=r)return t.createElement(r,{ref:"acc-obj-".concat(i),key:n.accKey,idx:i,slideObject:n,relatedObject:n.relatedObject,shadowDom:e.props.shadowDom,winScale:e.props.winScale})})))}}}.call(t,n,t,e))||(e.exports=i)},5157:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{AccShadowDom:function(){var e=this,i=n(7754),r=n(2064),o=n(7370),s=n(3629),a=n(3238),l=n(5098),c=n(1939),u=n(588),h=n(7056),d=n(5670),p=n(7572),f=n(9721),g=n(4867),m=n(6379),v=n(9697),y=n(101),S=this.props,b=S.width,w=S.height,x=S.winScale,C={droplist:o,text:a,slider:u,dial:u,button:i,checkbox:r,textinput:l,video:h,modernvideo:d,radiogroup:c,image:s,marker:p,expandinglabel:f,section:g,scrollarea:m,threesixtyimage:v,dialog:y};return t.createElement("div",{className:"acc-shadow-dom",onScroll:this.onScroll,style:{width:b,height:w,transform:"scale(".concat(x,")"),transformOrigin:"0 0"}},!!this.state.children.length&&this.state.children.sort((function(e,t){return e.prop("tabIndex")-t.prop("tabIndex")})).map((function(n,i){var r=C[e.getAccType(n)];if(null!=r)return"dialog"===n.kind?t.createElement(y,{ref:"acc-obj-".concat(n.accIdx),key:n.accKey,idx:i,dialog:n,shadowDom:e,childMap:C,winScale:e.props.winScale}):t.createElement(r,{ref:"acc-obj-".concat(n.accIdx),key:n.accKey,idx:i,slideObject:n,relatedObject:n.relatedObject,shadowDom:e,winScale:e.props.winScale})})))}}}.call(t,n,t,e))||(e.exports=i)},9058:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccSlider:function(){return t.createElement("input",r({className:"acc-shadow-el acc-slider"},this.getBaseAccAttribs(),{style:this.getBaseAccStyle(),"aria-label":this.state.label,type:"range",min:this.state.min,max:this.state.max,step:this.state.step,defaultValue:this.state.currValue,onInput:this.onChange}))}}}.call(t,n,t,e))||(e.exports=i)},612:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccText:function(){var e,i,o=this,s=n(7523).renderSemanticText,a=this.hasVarText(),l=this.state.altTextOverridesText;return t.createElement("div",null,!a&&t.createElement("p",r({ref:"focusTarget",className:"acc-shadow-el acc-text"},this.getBaseAccAttribs()),this.state.label),a&&t.createElement("div",r({ref:"focusTarget",className:"acc-shadow-el acc-text"},this.getBaseAccAttribs(),{style:Object.assign(this.getBaseAccStyle(),{display:"flex"})}),t.createElement("div",{style:this.getInnerProps()},l?(e=o.state.label,null!=(i=o.getDefaultLink())?t.createElement("a",{href:"#",onClick:function(){return o.onLinkClicked(i.get("id"))}},e):e):s(this.parseText().children,this)),t.createElement("div",r({ref:"scrollbar"},this.getScrollbarAttribs(),{style:this.getScrollbarStyle()}))))}}}.call(t,n,t,e))||(e.exports=i)},1703:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccTextInput:function(){var e=this,n=Object.assign(this.getBaseAccStyle(),this.getInputStyle()),i=this.getMaxChars(),o=function(){if(e.state.altTextOverridesText)return e.state.label};return t.createElement("div",{"data-model-id":this.objModel.id},this.isTextArea()?t.createElement("textarea",r({className:"acc-shadow-el acc-textinput"},this.getBaseAccAttribs(),{style:n,ref:"input","aria-label":o(),onChange:this.onInputChange,onKeyUp:this.onKeyUp,onScroll:this.onScroll,onMouseDown:this.onBeginTextSelect,onMouseUp:this.onTextMouseUp,onDoubleClick:this.onDoubleClick,type:"text",placeholder:this.state.placeholder,value:this.state.inputValue,spellCheck:this.state.spellcheck,maxLength:i>0?i:""})):t.createElement("input",r({className:"acc-shadow-el acc-textinput"},this.getBaseAccAttribs(),{style:n,ref:"input","aria-label":o(),onChange:this.onInputChange,onKeyUp:this.onKeyUp,onScroll:this.onScroll,onMouseDown:this.onBeginTextSelect,onMouseUp:this.onTextMouseUp,onDoubleClick:this.onDoubleClick,type:"text",placeholder:this.state.placeholder,value:this.state.inputValue,spellCheck:this.state.spellcheck,maxLength:i>0?i:""})))}}}.call(t,n,t,e))||(e.exports=i)},3389:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccThreeSixtyImage:function(){var e=DS,n=e.stringTabler,i=e.detection,o=this.objModel.data().threesixtyimagedata.navigation.type,s=n.getString("three_image_interaction_".concat(o))||"",a="".concat(this.getLabel()," : ").concat(n.getString("three_image_interaction")),l=this.getBaseAccStyle();return t.createElement("div",r({className:"acc-shadow-el acc-three-sixty-image"},this.getBaseAccAttribs(),{style:{left:l.left,top:l.top,width:this.objModel.width(),height:this.objModel.height(),visibility:"visible",zIndex:0},role:"application","aria-label":a}),t.createElement("div",{className:"acc-shadow-el acc-three-sixty-image-status",ref:"status","aria-live":"polite","aria-atomic":"true"}),i.os.isIOS&&t.createElement("button",{className:"acc-shadow-el",style:{display:"block",width:"100%",height:"30%",position:"absolute"},tabIndex:"0",onClick:this.onMobileClick},"".concat(n.getString("three_image_interaction")," ").concat(s)),t.createElement("div",{className:"acc-three-sixty-image-content",ref:"accChildren",dangerouslySetInnerHTML:{__html:this.state.innerHtml}}))}}}.call(t,n,t,e))||(e.exports=i)},2942:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{AccVideo:function(){var e=this,n=DS,i=n.detection.deviceView.isMobile,o=n.utils.pxify,s=this.props.slideObject,a=s.id,l=this.state.tabbable;return t.createElement("div",{className:"acc-shadow-el",style:this.getBaseAccStyle(),id:"acc-".concat(a),tabIndex:"-1",onFocus:this.onShadowFocus,onBlur:this.onShadowBlur,"data-represents":this.objModel.absoluteId,role:"group","aria-label":this.state.label,"aria-hidden":!l||null},s.isEventable&&["onrelease","onpress"].some((function(e){return s.hasEvent(e)}))?t.createElement("button",{className:"acc-shadow-el acc-button",style:_.assign(e.getBaseAccStyle(),{left:0,top:0}),id:"acc-".concat(a,"-button"),tabIndex:"0",type:"button",onClick:e.onButtonClick,"aria-labelledby":"acc-".concat(a),"aria-hidden":!l||null}):null,function(){if(!s.get("showcontrols"))return null;var n=r(e.state.playRect,4),c=n[0],u=n[1],h=n[2],d=n[3];return t.createElement("button",{className:"acc-shadow-el acc-button",tabIndex:"0",id:"acc-".concat(a,"-play"),ref:"playPause",type:"button",onClick:i?null:e.onPlayPauseClick,onTouchEnd:i?e.onPlayPauseClick:null,"aria-label":e.state.playLabel,"aria-hidden":!l||null,style:{left:o(c),top:o(u),width:o(h-c),height:o(d-u),display:"block"}})}(),function(){if(!s.get("showcontrols"))return null;var n=r(e.state.seekRect,4),i=n[0],c=n[1],u=n[2],h=n[3];return t.createElement("input",{className:"acc-shadow-el acc-slider",tabIndex:"0",id:"acc-".concat(a,"-seekbar"),ref:"progressBar",type:"range",min:"0",max:e.state.duration,value:e.state.elapsed,step:"1",onInput:e.onSeekbarChange,"aria-hidden":!l||null,style:{left:o(i),top:o(c),width:o(u-i),height:o(h-c),display:"block",padding:0}})}())}}}.call(t,n,t,e))||(e.exports=i)},1842:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccVideoButtonMenuPopup:function(){var e=this,i=n(9243).buildStyleFromRect,o=this.state,s=o.buttonRect,a=o.buttonLabel,l=o.isOpen,c=o.menuLabel,u=o.options,h="acc-speedcontrol-menu-".concat(this.props.controlId),d={},p=this.getSelectedItemIndex();return l||(d["aria-hidden"]=!0,d.style={display:"none"}),t.createElement("div",{className:"acc-button-menu",style:i(this.props.rect)},t.createElement("button",{ref:"button",className:"acc-shadow-el acc-button",style:i(s),onClick:this.onButtonClicked,"aria-haspopup":"true","aria-controls":h},a),t.createElement("div",r({ref:"menu"},d),t.createElement("ul",{className:"acc-shadow-el acc-menu-list",id:h,role:"menu","aria-label":c},u.map((function(n,r){return t.createElement("li",{key:r,tabIndex:"-1"},t.createElement("button",{ref:"option-".concat(r),className:"acc-shadow-el acc-button","data-top-level":!0,tabIndex:r===e.state.currentIndex&&e.state.isOpen?0:-1,onClick:function(){return e.handleOptionSelected(n.value)},style:i(n.rect),role:"menuitemcheckbox","aria-checked":p===r},n.label))})))))}}}.call(t,n,t,e))||(e.exports=i)},654:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{AccListbox:function(){var e=this,i=(DS.utils.pxify,n(9243).buildStyleFromRect);return t.createElement("div",null,t.createElement("ul",{className:"acc-shadow-el acc-listbox",style:i(this.state.rect),ref:"listbox",tabIndex:"0",role:"listbox","aria-label":this.state.label,"aria-activedescendant":this.getOptionRef(this.state.focusedIndex),"data-top-level":!0},(this.state.options||[]).map((function(n,r){return t.createElement("li",{className:"acc-shadow-el",key:r,id:e.getOptionRef(r),ref:e.getOptionRef(r),role:"option",style:i(n.rect),"aria-selected":n.selected||null,"data-top-level":!0},t.createElement("div",null,n.time," : ",n.label))}))))}}}.call(t,n,t,e))||(e.exports=i)},9496:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{AccSelectControl:function(){var e=this,i=this.state,r=i.options,o=void 0===r?[]:r,s=i.open,a=i.selectedIndex,l=n(9243).buildStyleFromRect,c=(o[a]||{}).label,u=function(t){return"option-".concat(t,"-").concat(e.id)};return t.createElement("div",{className:"acc-shadow-el",style:l(this.state.rect)},t.createElement("button",{ref:"button",className:"acc-shadow-el","aria-controls":this.selectId,"aria-expanded":s,"aria-activedescendant":s?u(a):null,"aria-haspopup":"listbox",role:"combobox",tabIndex:"0","aria-labelledby":this.props.labelId,style:l(this.state.inputRect),"data-top-level":!0,onClick:this.handleClicked},c),t.createElement("div",{ref:"menu",role:"listbox",id:this.selectId,tabIndex:"-1",style:{visibility:s?"visible":"hidden"}},o.map((function(n,i){return t.createElement("button",{id:u(i),tabIndex:"-1",ref:e.getOptionRef(i),key:i,className:"acc-shadow-el",style:l(n.rect),role:"option","aria-selected":!!n.selected||null,"data-top-level":!0},n.label)}))))}}}.call(t,n,t,e))||(e.exports=i)},9138:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{AccTranscriptPanel:function(){var e=n(8315),i=n(812),r=n(9243).buildStyleFromRect;return t.createElement("div",{style:r(this.state.rect),className:"acc-shadow-el acc-transcript-panel"},this.state.showTrackSelect?t.createElement("label",{className:"acc-shadow-el",style:r(this.state.labelRect),id:this.labelId},this.state.labelText):null,this.state.showTrackSelect?t.createElement(e,{ref:"trackSelect",panelId:this.panelId,labelId:this.labelId,controlView:this.props.controlView.getSelectView()}):null,t.createElement(i,{ref:"transcriptList",panelId:this.panelId,controlView:this.props.controlView.getListView()}))}}}.call(t,n,t,e))||(e.exports=i)},7983:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{AccUtilityWindow:function(){var e=this,i=n(4258),r=n(9243).buildStyleFromRect,o={transcript:i}[this.props.controlView.getPanelType()],s=this.viewProps,a=s.windowId,l=s.titleLabel,c=s.resizeLabel,u=s.moveLabel,h=s.closeLabel,d=s.kebabMenuLabel,p=this.state,f=p.windowRect,g=p.titleRect,m=p.resizeRect,v=p.moveRect,y=p.kebabRect,S=p.closeRect,b=p.isOpen,w=p.kebabOptions,x=void 0===w?[]:w,C="acc-title-".concat(a);return t.createElement("div",{className:"acc-shadow-el acc-utility-window",style:Object.assign(r(f),{display:b?"block":"none"})},t.createElement("h2",{id:C,className:"acc-shadow-el acc-text",ref:"title",style:r(g),"data-top-level":!0},l),t.createElement(o,{controlView:this.props.controlView.getPanelView(),windowId:a}),t.createElement("button",{role:"application","aria-roledescription":"button","aria-pressed":"false",className:"acc-shadow-el acc-button",tabIndex:"0",ref:"move",type:"button",onClick:this.onMoveClicked,onBlur:this.stopKeyListening,"aria-label":u,style:r(v),"data-top-level":!0}),t.createElement("button",{role:"application","aria-roledescription":"button","aria-pressed":"false",className:"acc-shadow-el acc-button",tabIndex:"0",ref:"resize",type:"button",onClick:this.onResizeClicked,onBlur:this.stopKeyListening,"aria-label":c,style:r(m),"data-top-level":!0}),t.createElement("button",{className:"acc-shadow-el acc-button",tabIndex:"0",ref:"kebabButton",type:"button",onClick:this.onKebabClicked,onBlur:this.onKebabBlur,"aria-label":d,"aria-expanded":!!this.state.kebabOpen,style:r(y),"data-top-level":!0,"data-kebab-part":"true"}),t.createElement("div",null,x.map((function(n,i){var o=n.id,s=n.checked,a=n.label,l=n.rect;return t.createElement("button",{key:i,className:"acc-shadow-el",role:"checkbox","aria-checked":s,tabIndex:"0",style:Object.assign(r(l),{display:e.state.kebabOpen?"block":"none",pointerEvents:"all"}),onClick:function(){return e.handleOptionClicked(o,!s)},onBlur:e.onKebabBlur,"data-top-level":!0,"data-kebab-part":"true"},a)}))),t.createElement("button",{className:"acc-shadow-el acc-button",tabIndex:"0",ref:"close",type:"button",onClick:this.onCloseClicked,"aria-label":h,style:r(S),"data-top-level":!0}))}}}.call(t,n,t,e))||(e.exports=i)},5422:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{PauseLegacyIcon:function(){var e=['<use xlink:href="#icon-pause" class="cs-icon-shadow" transform="translate(0, 1)" />','<g id="icon-pause">','<rect x="0" width="4" height="14"/>','<rect x="8" width="4" height="14"/>',"</g>"].join("");return t.createElement("svg",{className:"cs-icon pause-icon",width:"12",height:"14",viewBox:"0 0 12 14",key:e,dangerouslySetInnerHTML:{__html:e}})}}}.call(t,n,t,e))||(e.exports=i)},5876:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{PlayLegacyIcon:function(){var e='<use xlink:href="#icon-vid-play" class="cs-icon-shadow" transform="translate(0, 1)" /><path id="icon-vid-play" d="M1.3,0.1l8.3,5.2c0.5,0.3,0.5,1,0,1.3l-8.3,5.2c-0.5,0.3-1.3,0-1.3-0.7L0,0.8C0,0.3,0.7-0.2,1.3,0.1z"/>';return t.createElement("svg",{className:"cs-icon play-icon",width:"11",height:"14",viewBox:"0 0 11 14",key:e,dangerouslySetInnerHTML:{__html:e}})}}}.call(t,n,t,e))||(e.exports=i)},2919:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}function o(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{ButtonPopupMenu:function(){var e=this,i=n(6806),s=DS.detection.device.isMobile,a=this.props.colors,l=a.accentColor,c=a.panelBg,u=a.panelBorder,h=a.panelText,d=this.props,p=d.position,f=d.parentWidth,g=d.isFullScreen,m=Math.min(Math.max(f-p,30),140),v=["button-menu"].concat(o(this.props.classNames));this.state.panelOpen&&v.push("open");var y=this.getMenuId(),S=this.getMenuLabel(),b=this.getOptions(),w=g?{tabIndex:0,onFocus:this.handleFullScreenFocus,onBlur:this.handleFullScreenBlur,"aria-haspopup":!0,"aria-controls":y}:{tabIndex:-1,"aria-hidden":!0};return t.createElement("div",{className:v.join(" "),style:JSON.parse(this.props.styleJson),onMouseUp:!s&&this.onMouseUp,onTouchEnd:s&&this.onMouseUp},t.createElement("button",r({ref:"button"},w,{onClick:!s&&this.toggleOpen,onTouchEnd:s&&this.toggleOpen}),t.createElement(i,{type:this.getIconType()})),t.createElement("div",{ref:"popup",className:"button-menu-popup"},t.createElement("div",{className:"arrow-border",style:{background:u}}),t.createElement("div",{className:"content",style:{borderColor:u,background:c,left:"".concat(m,"px")}},t.createElement("div",{className:"title",style:{color:h}},S),t.createElement("ul",{"aria-hidden":!g||null,"aria-label":this.getMenuLabel(),role:"menu",id:y},b.map((function(n,r){var o=n.label,a=n.value;return t.createElement("li",{key:r,tabIndex:"-1"},t.createElement("button",{ref:"option".concat(r),className:"menu-choice ".concat(a===e.state.currentChoice?"selected":""),onClick:!s&&function(t){return e.onItemClicked(t,a)},onTouchEnd:s&&function(t){return e.onItemClicked(t,a)},onFocus:g?e.handleFullScreenItemFocus:null,onBlur:g?e.handleFullScreenItemBlur:null,tabIndex:g&&r===e.state.currentIndex?0:-1,role:"menuitemcheckbox","aria-checked":a===e.state.currentChoice,"aria-label":o},t.createElement("div",{className:"selected-icon",style:{fill:l}},t.createElement(i,{type:"modernMenuCheck"})),t.createElement("div",{className:"label",style:{color:h}},o)))})))),t.createElement("div",{className:"arrow-background",style:{background:c}})))}}}.call(t,n,t,e))||(e.exports=i)},8663:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{LocalHlsWarning:function(){var e=n(6806),i=this.props,o=i.width,s=i.height,a=Math.min(o/620,s/275,1),l=a<.4;return l&&(a=Math.min(o/192,s/125,1)),t.createElement("div",{className:"local-hls-msg",style:{width:"".concat(this.props.width,"px"),height:"".concat(this.props.height,"px")}},t.createElement("div",{className:["local-hls-content"].concat(r(l?["small-content"]:[])).join(" "),style:{transform:"scale(".concat(100*a,"%) translate(-50%, -50%)")}},t.createElement(e,{type:"localHLSVideo",scale:l?.5:1}),t.createElement("h2",{ref:"title"},this.getTitleText()),!l&&t.createElement("p",{ref:"republish"},this.getRepublishText()),t.createElement("a",{ref:"learnMoreLink",tabIndex:"-1",href:"https://ipc.articulate.com/slw/360/en/streamingvideolocalplayback",className:"learn-more"},t.createElement("span",{ref:"learnMore",className:"learn-more-link"},t.createElement(e,{type:"learnMore",scale:l?.5:1}),t.createElement("span",null,this.getLearnMoreText())))))}}}.call(t,n,t,e))||(e.exports=i)},4636:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{MobileVideoSettings:function(){var e=DS.stringTabler,n=this.props.colors,i=n.backgroundColor,r=n.iconColor,o=n.selectBg,s={backgroundColor:i,color:r},a={fill:r},l={borderColor:n.selectBorder,backgroundColor:o,color:r},c=e.getString("modern_video_settings_close"),u=e.getString("modern_video_playback_settings"),h=e.getString("modern_video_captions_label"),d=e.getString("video_transcript_mobile_label"),p=e.getString("modern_video_captions_on"),f=e.getString("modern_video_captions_off"),g=e.getString("modern_video_playback_speed_title"),m=e.getString("modern_video_normal_speed"),v=[],y=(this.props.videoInterface.getTranscriptData()||{transcripts:[]}).transcripts;return y.length>=2?(v.push({value:-1,label:f}),y.forEach((function(e,t){v.push({value:t,label:e.name})}))):v.push.apply(v,[{value:-1,label:f},{value:0,label:p}]),t.createElement("div",{"aria-live":"off",className:"mobile-video-settings",role:"dialog","aria-labelledby":"video-settings-title",style:s},t.createElement("h2",{id:"video-settings-title"},u),this.props.showCaptions&&t.createElement("div",{className:"mobile-video-option"},t.createElement("label",null,h,t.createElement("br",null),t.createElement("select",{ref:"captions",className:"settings-captions",style:l,value:this.state.captionsEnabled?"on":"off",onChange:this.handleCaptionsChange},t.createElement("option",{value:"on"},p),t.createElement("option",{value:"off"},f)))),this.props.showTranscript&&t.createElement("div",{className:"mobile-video-option"},t.createElement("label",null,d,t.createElement("br",null),t.createElement("select",{ref:"transcript",className:"settings-transcript",style:l,value:this.state.transcriptTrack,onChange:this.handleTranscriptChange},v.map((function(e,n){return t.createElement("option",{key:n,value:e.value},e.label)}))))),this.props.showPlaybackSpeed&&t.createElement("div",{className:"mobile-video-option"},t.createElement("label",null,g,t.createElement("br",null),t.createElement("select",{ref:"playbackSpeed",className:"settings-playback-speed",style:l,value:this.state.playbackSpeed,onChange:this.handleSpeedChange},t.createElement("option",{value:"2"},"2"),t.createElement("option",{value:"1.75"},"1.75"),t.createElement("option",{value:"1.5"},"1.5"),t.createElement("option",{value:"1.25"},"1.25"),t.createElement("option",{value:"1"},m),t.createElement("option",{value:"0.75"},"0.75"),t.createElement("option",{value:"0.5"},"0.5"),t.createElement("option",{value:"0.25"},"0.25")))),t.createElement("button",{"aria-label":c,className:"close-button",style:a,onClick:this.handleClose,tabIndex:"0"},t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",stroke:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M15.5,1.5 L14.5,0.6 L8,7 L1.5,0.6 L0.5,1.5 L7,8 L0.5,14.5 L1.5,15.4 L8,9 L14.5,15.4 L15.5,14.5 L9,8 L15.5,1.5 Z"}))))}}}.call(t,n,t,e))||(e.exports=i)},5894:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{ModernVideoControls:function(){var e=this,i=n(5231),o=n(1112),s=n(2812),a=n(7842),l=n(4716),c=n(7877),u=n(6806),h=DS,d=h.detection,p=d.env.videoControlsFont,f=d.device.isMobile,g=d.deviceView.isPhone,m=h.stringTabler,v=h.utils,y=_.isEmpty(p)?{}:{fontFamilty:p},S=this.props.colors,b=S.backgroundColor,w=S.accentColor,x=S.iconColor,C=!0,E="",P=0,T=function(){var t=v.formatSecondsAsTime(e.props.currentTime||0),n=v.formatSecondsAsTime(e.props.duration||0),i=c.getMainWindowEl(),r=document.createElement("div");r.style.visibility="hidden",r.style.position="absolute",i.appendChild(r),r.innerText=n;var o=r.getBoundingClientRect().width;r.innerText="".concat(n," / ").concat(n);var s=r.getBoundingClientRect().width;return i.removeChild(r),{shortTime:t,fullTime:"".concat(t," / ").concat(n),shortWidth:o,fullWidth:s}}(),D=function(){var t=0,n=0;_.forEach(e.props.controlConfig,(function(e,i){e&&"elapsedTime"!==i&&"seek"!==i&&(t++,n+=28)}));var i=e.props.width-n-10;e.props.controlConfig.elapsedTime&&(i>=T.fullWidth?(t++,i-=T.fullWidth,E=T.fullTime):i>=T.shortWidth?(t++,i-=T.shortWidth,E=T.shortTime):C=!1);var r=Math.min(i/t,20),o=5+r/2,s=o,a={};return["playPause","elapsedTime"].forEach((function(t){e.props.controlConfig[t]&&(a[t]={left:"".concat(o,"px")},o+=28+r)})),["settings","fullScreen","pip","playbackSpeed","transcript","captions","volume"].forEach((function(t){e.props.controlConfig[t]&&("playbackSpeed"===t&&(P=e.props.width-s),a[t]={right:"".concat(s,"px")},s+=28+r)})),a}(),A=this.props.fullScreen,I=A?{tabIndex:0,onFocus:this.handleFullScreenFocus,onBlur:this.handleFullScreenBlur}:{tabIndex:-1,"aria-hidden":!0};return t.createElement("div",{onMouseUp:!f&&this.onMouseUp,onTouchEnd:f&&this.onMouseUp,className:"modern-video-controls"},t.createElement("div",{className:"video-animation-container ".concat(this.state.controlsHidden?"controls-hidden":"")},t.createElement("div",{className:"control-background",style:{background:b}}),t.createElement(i,{ref:"seek",videoInterface:this.props.videoInterface,isPlaying:this.props.isPlaying,colors:this.props.colors,elapsedTime:this.props.currentTime,totalTime:this.props.duration,loadedTime:this.props.loadedTime,isFullScreen:A,showVideoControls:this.showControls}),t.createElement("div",{className:"video-controlbar ".concat(_.reduce(e.props.controlConfig,(function(e,t,n){return t&&("elapsedTime"!==n||C)&&e.push("".concat(_.kebabCase(n),"-enabled")),e}),[]).join(" ")),style:{fill:x,stroke:x,color:x}},t.createElement("button",r({ref:"playPause",style:D.playPause,className:"modern-video-control video-play-pause",onClick:(!f||A)&&this.togglePlayback,onTouchEnd:f&&this.togglePlayback},I,{"aria-label":this.getPlayPauseLabel()}),t.createElement(u,{type:"modernPause",classNames:["video-pause-icon"]}),t.createElement(u,{type:"modernPlay",classNames:["video-play-icon"]})),t.createElement("div",{style:Object.assign(D.elapsedTime,y),className:"modern-video-control video-elapsed-time","aria-hidden":"true",ref:"elapsedTime"},E),t.createElement(a,{ref:"volume",className:"modern-video-control",styleJson:JSON.stringify(D.volume||{}),colors:this.props.colors,isFullScreen:A,showVideoControls:this.showControls,sliderLabel:this.labels.volume,buttonLabel:this.labels.mute}),t.createElement("button",r({ref:"captions",style:D.captions,className:"modern-video-control video-captions ".concat(this.state.captionsEnabled?"enabled":""),onClick:(!f||A)&&this.toggleCaptions,onTouchEnd:f&&this.toggleCaptions},I,{"aria-label":this.labels.captions,"aria-pressed":this.state.captionsEnabled}),t.createElement(u,{type:"modernCaptions"}),t.createElement("div",{className:"captions-underline",style:{background:w}})),DS.flagManager.videoTranscripts&&!g&&t.createElement("button",r({ref:"transcript",style:D.transcript,className:"modern-video-control video-transcript ".concat(this.state.transcriptOpened?"enabled":""),onClick:(!f||A)&&this.toggleTranscript,onTouchEnd:f&&this.toggleTranscript},I,{"aria-label":this.labels.transcript,"aria-pressed":this.state.transcriptOpened}),t.createElement(u,{type:"modernTranscript"}),t.createElement("div",{className:"transcript-underline",style:{background:w}})),DS.flagManager.videoTranscripts&&t.createElement(l,{ref:"transcriptWindowController",id:this.transcriptWindowId,isFullScreen:A,title:m.getString("video_transcript_title"),panelType:"transcript",videoInterface:this.props.videoInterface,dockLocations:this.dockLocations,model:this.props.model}),t.createElement(o,{ref:"playbackSpeed",menuConfig:s,styleJson:JSON.stringify(D.playbackSpeed||{}),classNames:["modern-video-control","video-playback-speed"],colors:this.props.colors,parentWidth:this.props.width,position:P,videoInterface:this.props.videoInterface,model:this.props.model,isFullScreen:A,showVideoControls:this.showControls}),t.createElement("button",r({ref:"pip",style:D.pip,className:"modern-video-control video-pip ".concat(this.state.isPipMode?"pip-mode":""),onClick:!f&&this.togglePip,onTouchEnd:f&&this.togglePip},I,{"aria-label":this.labels.pip,"aria-pressed":this.state.isPipMode}),t.createElement(u,{type:"modernEnterPip",classNames:["enter-pip-icon"]}),t.createElement(u,{type:"modernExitPip",classNames:["exit-pip-icon"]})),t.createElement("button",r({ref:"fullScreen",style:D.fullScreen,className:"modern-video-control video-full-screen",onClick:(!f||A)&&this.toggleFullScreen,onTouchEnd:f&&this.toggleFullScreen},I,{"aria-label":this.labels.fullscreen,"aria-pressed":"true"}),t.createElement(u,{type:"modernEnterFullScreen",classNames:["enter-fullscreen-icon"]}),t.createElement(u,{type:"modernExitFullScreen",classNames:["exit-fullscreen-icon"]})),t.createElement("button",r({ref:"settings",style:D.settings,className:"modern-video-control video-settings",onClick:(!f||A)&&this.openSettings,onTouchEnd:f&&this.openSettings},I,{"aria-label":this.labels.settings}),t.createElement(u,{type:"modernSettings"})))))}}}.call(t,n,t,e))||(e.exports=i)},2994:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{PopupMenu:function(){var e=this,i=n(6806),r=DS.detection.device.isMobile,o=this.props.colors,s=o.accentColor,a=o.panelBg,l=o.panelBorder,c=o.panelText,u=this.props,h=u.position,d=u.parentWidth,p=Math.min(Math.max(d-h,30),140),f=[];this.state.panelOpen&&f.push("open");var g=this.props.getMenuId(),m=this.props.getMenuLabel(),v=this.props.getOptions();return t.createElement("div",{className:f.join(" ")},t.createElement("div",{ref:"popup",className:"button-menu-popup"},t.createElement("div",{className:"arrow-border",style:{background:l}}),t.createElement("div",{className:"content",style:{borderColor:l,background:a,left:"".concat(p,"px")}},t.createElement("div",{className:"title",style:{color:c}},m),t.createElement("ul",{"aria-hidden":"true","aria-label":m,role:"menu",id:g},v.map((function(n,o){var a=n.label,l=n.value;return t.createElement("li",{key:o,tabIndex:"-1"},t.createElement("button",{ref:"option".concat(o),className:"menu-choice ".concat(l===e.state.currentChoice?"selected":""),onClick:!r&&function(t){e.props.onItemClicked(t,l)},onTouchEnd:r&&function(t){e.props.onItemClicked(t,l)},tabIndex:"-1",role:"menuitemcheckbox","aria-checked":l===e.state.currentChoice,"aria-label":a,"data-top-level":!0},t.createElement("div",{className:"selected-icon",style:{fill:s}},t.createElement(i,{type:"modernMenuCheck"})),t.createElement("div",{className:"label",style:{color:c}},a)))})))),t.createElement("div",{className:"arrow-background",style:{background:a}})))}}}.call(t,n,t,e))||(e.exports=i)},5121:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{SeekbarControl:function(){var e=this.props.colors,n=e.accentColor,i=e.volumeThumb,o=e.seekBgColor,s=e.panelBg,a=e.panelBorder,l=(e.panelText,e.iconColor),c=DS,u=c.detection,h=c.utils,d={background:n},p={background:i},f=this.props,g=f.isFullScreen,m=f.elapsedTime,v=f.totalTime,y=Math.round(m/v*100),S=[].concat(r(this.state.hovering?["hovering"]:[]),r(this.state.dragging?["dragging"]:[])),b=h.formatSecondsAsTime(this.state.hoverTime||0);return t.createElement("div",{className:"video-seekbar draggable ".concat(S.join(" ")),style:{background:o},onMouseDown:!u.device.isMobile&&this.onSeekStart,onTouchStart:u.device.isMobile&&this.onSeekStart,onMouseOver:this.onMouseOver,onMouseLeave:this.onMouseOut,role:"slider",tabIndex:g?0:-1,"aria-hidden":!g||null,"aria-valuetext":"".concat(y,"%"),onFocus:this.handleFullScreenFocus,onBlur:this.handleFullScreenBlur},t.createElement("div",{className:"video-seekbar-hitarea"}),t.createElement("div",{className:"video-seekbar-popup",ref:"popup"},t.createElement("div",{className:"arrow-border",style:{background:a}}),t.createElement("div",{className:"content",style:{borderColor:a,background:s,color:l}},t.createElement("span",{className:"seek-time-code"},b)),t.createElement("div",{className:"arrow-background",style:{background:s}})),t.createElement("div",{className:"video-seekbar-elapsed",ref:"elapsedBar",style:d}),t.createElement("div",{className:"video-seekbar-seek-position",ref:"seekPreview"}),t.createElement("div",{className:"video-seekbar-seek-thumb",ref:"seekThumb",style:p}))}}}.call(t,n,t,e))||(e.exports=i)},4864:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{VolumeControl:function(){var e=n(6806),i=this.props.colors,o=i.accentColor,s=i.panelBg,a=i.panelBorder,l=i.volumeThumb,c=i.iconColor,u=this.state.volume,h={background:c},d={background:o,height:"".concat(100*u,"%")},p={background:l,top:"".concat(100*(1-u),"%")},f=this.props.isFullScreen,g=f?{tabIndex:0,onFocus:this.handleFullScreenSliderFocus,onBlur:this.handleFullScreenSliderBlur}:{tabIndex:-1,"aria-hidden":!0},m=f?{tabIndex:0,onFocus:this.handleFullScreenFocus,onBlur:this.handleFullScreenBlur}:{tabIndex:-1,"aria-hidden":!0},v=["video-volume",this.props.className];return this.state.sliderOpen&&v.push("open"),t.createElement("div",{className:v.join(" "),style:JSON.parse(this.props.styleJson),onMouseLeave:this.onMouseOut},t.createElement("button",r({ref:"mute",onClick:this.toggleMute,onMouseOver:this.onMouseOver,"data-volume-related":"true"},m,{"aria-label":this.props.buttonLabel,"aria-pressed":0===u}),t.createElement(e,{type:"modernVolume",volume:u})),t.createElement("div",{className:"video-volume-slider",style:{fill:s,stroke:a}},t.createElement("svg",{version:"1.1",width:"46px",height:"108px",viewBox:"0 0 46 108"},t.createElement("defs",null,t.createElement("path",{id:"video-volume-path",d:"M11,8 L35,8 C36,8 38,9 38,11 L38,84 C38,85 37,86 37,86 L25,98 C23,100 22,100 20,98 L8,86 C8,86 8,85 8,84 L8,11 C8,9 9,8 11,8 Z"}),t.createElement("filter",{id:"video-volume-filter",x:"-41.7%",y:"-13.4%",width:"183.3%",height:"125.5%",filterUnits:"objectBoundingBox"},t.createElement("feMorphology",{radius:"0.5",operator:"dilate",in:"SourceAlpha",result:"vol-bg-a"}),t.createElement("feGaussianBlur",{stdDeviation:"4",in:"vol-bg-a",result:"vol-bg-b"}),t.createElement("feComposite",{in:"vol-bg-b",in2:"SourceAlpha",operator:"out",result:"vol-bg-c"}),t.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.35 0",type:"matrix",in:"vol-bg-c"}))),t.createElement("g",null,t.createElement("use",{stroke:"none",filter:"url(#video-volume-filter)",href:"#video-volume-path"}),t.createElement("use",{strokeWidth:"1",href:"#video-volume-path"}))),t.createElement("div",r({ref:"volumeSlider",className:"video-volume-track-container","data-volume-related":"true",role:"slider","aria-label":this.props.sliderLabel,"aria-valuetext":10*u,"aria-orientation":"vertical"},g),t.createElement("div",{className:"video-volume-hitarea",onMouseDown:this.onDragStart}),t.createElement("div",{className:"video-volume-track",ref:"track",style:h}),t.createElement("div",{className:"video-volume-progress",ref:"progress",style:d}),t.createElement("div",{className:"video-volume-dot",ref:"thumb",style:p}))))}}}.call(t,n,t,e))||(e.exports=i)},5556:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{LearnMoreIcon:function(){var e=this.props.scale,n=void 0===e?1:e;return t.createElement("svg",{width:20*n,height:20*n,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("rect",{stroke:"none",x:"9",y:"5",width:"2",height:"2"}),t.createElement("mask",{id:"path-2-inside-1_955_382"},t.createElement("path",{stroke:"none",d:"M8 8H9H11V9V14H12V15H11H9H8V14H9V9H8V8Z"})),t.createElement("path",{stroke:"none",d:"M8 8H9H11V9V14H12V15H11H9H8V14H9V9H8V8Z"}),t.createElement("path",{stroke:"none",d:"M8 8V7H7V8H8ZM11 8H12V7H11V8ZM11 14H10V15H11V14ZM12 14H13V13H12V14ZM12 15V16H13V15H12ZM8 15H7V16H8V15ZM8 14V13H7V14H8ZM9 14V15H10V14H9ZM9 9H10V8H9V9ZM8 9H7V10H8V9ZM9 7H8V9H9V7ZM9 9H11V7H9V9ZM10 8V9H12V8H10ZM10 9V14H12V9H10ZM12 13H11V15H12V13ZM13 15V14H11V15H13ZM11 16H12V14H11V16ZM11 14H9V16H11V14ZM8 16H9V14H8V16ZM7 14V15H9V14H7ZM9 13H8V15H9V13ZM10 14V9H8V14H10ZM8 10H9V8H8V10ZM7 8V9H9V8H7Z",mask:"url(#path-2-inside-1_955_382)"}),t.createElement("circle",{fill:"none",cx:"10",cy:"10",r:"9",strokeWidth:"2"}))}}}.call(t,n,t,e))||(e.exports=i)},6115:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{LocalHLSVideoIcon:function(){return t.createElement("svg",{width:73*this.props.scale,height:51*this.props.scale,viewBox:"0 0 73 51",stroke:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M72.1,2.5 C71.6,1.7,70.8,1,70,0.6 C69.1,0.2,68.2,0,67.2,0 H61.1 H6 C3.9,0,2.1,0.7,0.9,2.5 H0.9 C0.6,3.2,0.2,4,0,4.7 V46.3 C0.2,47.1,0.6,47.8,0.9,48.5 C1.4,49.3,2.1,50,3,50.4 C3.8,50.8,4.8,51,5.7,51 H6.5 H67 C69.1,51,70.9,50.3,72.1,48.5 C72.4,47.8,72.8,47,73,46.3 V4.7 C72.8,3.9,72.5,3.2,72.1,2.5 L72.1,2.5 Z M33,3.9 H40.6 C40.7,4,40.9,4.1,41,4.2 V9.1 H32.5 V6.9 V4.4 C32.5,4.3,32.5,4.2,32.6,4.1 C32.7,4,32.8,3.9,33,3.9 V3.9 Z M12.2,47.1 C12,47.1,11.8,47.2,11.7,47.2 H4.4 C3.9,47.2,3.7,47.1,3.7,46.6 V42 H12.2 L12.2,47.1 Z M12.5,8.7 H12.5 C12.5,8.9,12.3,9.1,12.1,9.2 H4.3 H4.3 C4.2,9.1,4.1,9.1,4,9.1 V4.3 C4.1,4.1,4.2,4,4.4,4 H12.1 C12.2,3.9,12.3,4,12.4,4.1 C12.5,4.2,12.5,4.3,12.5,4.4 C12.5,5.8,12.5,7.3,12.5,8.7 L12.5,8.7 Z M26.5,47.1 C26.3,47.1,26.1,47.2,26,47.2 H18.6 H18.6 C18.5,47.2,18.3,47.2,18.1,47 C18,46.9,18,46.7,18,46.6 V42 L26.5,42 V47.1 L26.5,47.1 Z M26.8,8.6 C26.8,8.8,26.8,8.9,26.7,9 C26.5,9.2,26.4,9.2,26.2,9.2 H18.7 C18.5,9.1,18.3,9,18.2,8.8 V4 C18.5,4,18.7,4,18.8,4 H26.1 V4 C26.3,3.9,26.5,4,26.6,4.1 C26.8,4.2,26.8,4.4,26.8,4.6 C26.8,5.9,26.8,7.3,26.8,8.6 L26.8,8.6 Z M40.7,47.1 C40.5,47.1,40.3,47.2,40.2,47.2 H32.9 C32.4,47.2,32.2,47.1,32.3,46.6 V42.5 C32.3,42.3,32.3,42.2,32.3,42 L40.7,42 L40.7,47.1 Z M41.6,27.4 L33.2,32.6 C31.5,33.7,30.1,32.9,30.1,30.9 V20.1 C30.1,18.1,31.5,17.4,33.2,18.4 L41.6,23.6 C43.3,24.6,43.3,26.4,41.6,27.4 Z M55,46.8 C54.9,47,54.8,47.1,54.6,47.1 H46.9 C46.7,47.1,46.6,47,46.5,46.8 V42 H55 C55,43.7,55,45.3,55,46.8 H55 Z M55.3,8.7 C55.3,8.9,55.3,9.2,54.9,9.2 H46.8 V4 H50.7 H54.8 H54.8 C54.9,3.9,55.1,4,55.2,4.1 C55.3,4.2,55.3,4.3,55.3,4.5 C55.3,5.8,55.3,7.2,55.3,8.7 L55.3,8.7 Z M69.2,47.1 H60.8 V42 H69.2 V47.1 Z M69.5,8.7 C69.5,9,69.5,9.2,69.1,9.2 H61.3 H61.3 C61.2,9.2,61.1,9.1,61,9.1 V4 H61.6 H68.9 C69.1,3.9,69.3,4,69.4,4.1 C69.6,4.2,69.6,4.4,69.5,4.6 C69.5,6,69.5,7.3,69.5,8.7 L69.5,8.7 Z"}))}}}.call(t,n,t,e))||(e.exports=i)},8266:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernCaptionsIcon:function(){return t.createElement("svg",{width:"18",height:"15",viewBox:"0 0 18 15",focusable:"false",transform:"translate(0, 1)"},t.createElement("path",{d:"M15.2 0.4C15.6 0.4 15.9 0.6 16.2 0.8C16.4 1.1 16.6 1.4 16.6 1.8V10.6C16.6 10.9 16.4 11.3 16.2 11.5C15.9 11.7 15.6 11.9 15.2 11.9H10.2L8.6 13.4L7.1 11.9H2.1C1.7 11.9 1.4 11.7 1.1 11.5C0.9 11.3 0.7 10.9 0.7 10.6V1.8C0.7 1.4 0.9 1.1 1.1 0.8C1.4 0.6 1.7 0.4 2.1 0.4H15.2Z",strokeWidth:"0.8",fill:"none"}),t.createElement("path",{d:"M8.0 4.4C7.9 4.5 7.9 4.5 7.8 4.6C7.8 4.6 7.7 4.6 7.7 4.6C7.6 4.6 7.5 4.6 7.4 4.6C7.4 4.5 7.3 4.5 7.2 4.4C7.1 4.3 7.0 4.3 6.8 4.3C6.7 4.2 6.5 4.2 6.3 4.2C6.1 4.2 5.9 4.2 5.7 4.3C5.5 4.4 5.3 4.5 5.2 4.7C5.1 4.9 5.0 5.1 4.9 5.3C4.9 5.6 4.8 5.8 4.8 6.2C4.8 6.5 4.9 6.8 4.9 7.0C5.0 7.3 5.1 7.5 5.2 7.6C5.4 7.8 5.5 7.9 5.7 8.0C5.9 8.1 6.1 8.1 6.3 8.1C6.5 8.1 6.7 8.1 6.9 8.1C7.0 8.0 7.1 7.9 7.2 7.9C7.3 7.8 7.4 7.7 7.5 7.7C7.5 7.6 7.6 7.6 7.7 7.6C7.8 7.6 7.9 7.7 8.0 7.7L8.4 8.3C8.2 8.5 8.1 8.6 7.9 8.7C7.7 8.9 7.5 9.0 7.3 9.0C7.1 9.1 6.9 9.2 6.7 9.2C6.5 9.2 6.3 9.2 6.0 9.2C5.7 9.2 5.3 9.2 5.0 9.0C4.7 8.9 4.4 8.7 4.2 8.4C3.9 8.2 3.7 7.8 3.6 7.5C3.4 7.1 3.4 6.6 3.4 6.2C3.4 5.7 3.4 5.3 3.6 4.9C3.7 4.6 3.9 4.2 4.1 4.0C4.4 3.7 4.7 3.5 5.0 3.3C5.4 3.2 5.8 3.1 6.3 3.1C6.7 3.1 7.1 3.2 7.4 3.3C7.8 3.4 8.1 3.7 8.3 3.9L8.0 4.4Z",stroke:"none"}),t.createElement("path",{d:"M13.5 4.4C13.4 4.5 13.4 4.5 13.4 4.6C13.3 4.6 13.3 4.6 13.2 4.6C13.1 4.6 13.0 4.6 13.0 4.6C12.9 4.5 12.8 4.5 12.7 4.4C12.6 4.3 12.5 4.3 12.4 4.3C12.2 4.2 12.1 4.2 11.9 4.2C11.6 4.2 11.4 4.2 11.2 4.3C11.0 4.4 10.9 4.5 10.7 4.7C10.6 4.9 10.5 5.1 10.5 5.3C10.4 5.6 10.4 5.8 10.4 6.2C10.4 6.5 10.4 6.8 10.5 7.0C10.5 7.3 10.6 7.5 10.8 7.6C10.9 7.8 11.0 7.9 11.2 8.0C11.4 8.1 11.6 8.1 11.8 8.1C12.1 8.1 12.3 8.1 12.4 8.1C12.5 8.0 12.7 7.9 12.8 7.9C12.9 7.8 12.9 7.7 13.0 7.7C13.1 7.6 13.2 7.6 13.3 7.6C13.4 7.6 13.5 7.7 13.5 7.7L13.9 8.3C13.8 8.5 13.6 8.6 13.4 8.7C13.2 8.9 13.0 9.0 12.8 9.0C12.6 9.1 12.4 9.2 12.2 9.2C12.0 9.2 11.8 9.2 11.6 9.2C11.2 9.2 10.9 9.2 10.5 9.0C10.2 8.9 9.9 8.7 9.7 8.4C9.4 8.2 9.3 7.8 9.1 7.5C9.0 7.1 8.9 6.6 8.9 6.2C8.9 5.7 9.0 5.3 9.1 4.9C9.2 4.6 9.4 4.2 9.6 4.0C9.9 3.7 10.2 3.5 10.6 3.3C10.9 3.2 11.3 3.1 11.8 3.1C12.2 3.1 12.6 3.2 13.0 3.3C13.3 3.4 13.6 3.7 13.9 3.9L13.5 4.4Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},7038:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernEnterFullScreenIcon:function(){return t.createElement("svg",{className:this.props.classNames.join(" "),width:"14",height:"14",viewBox:"0 0 14 14",focusable:"false"},t.createElement("path",{d:"M1.99055 2.3H5.1V0.4H0.1V5.2H1.9L1.9 2.3Z",stroke:"none"}),t.createElement("path",{d:"M5.1 11.8H1.9V8.9H0.1V13.6H5.1L5.1 11.8Z",stroke:"none"}),t.createElement("path",{d:"M11.5 11.8H8.4V13.6H13.3V8.9H11.5L11.5 11.8Z",stroke:"none"}),t.createElement("path",{d:"M8.4 2.3H11.5V5.2H13.3V0.4H8.4L8.4 2.3Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},4728:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernEnterPipIcon:function(){return t.createElement("svg",{className:this.props.classNames.join(" "),width:"18",height:"15",viewBox:"0 0 18 15",focusable:"false"},t.createElement("path",{d:"M14.4,6.4 L8,6.4 L8,11.2 L14.4,11.2 L14.4,6.4 L14.4,6.4 Z M17.6,12.8 L17.6,1.6 C17.6,0.7,16.9,0,16,0 L1.6,0 C0.7,0,0,0.7,0,1.6 L0,12.8 C0,13.7,0.7,14.4,1.6,14.4 L16,14.4 C16.9,14.4,17.6,13.7,17.6,12.8 L17.6,12.8 Z M16,12.8 L1.6,12.8 L1.6,1.6 L16,1.6 L16,12.8 L16,12.8 Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},1409:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernExitFullScreenIcon:function(){return t.createElement("svg",{className:this.props.classNames.join(" "),width:"15",height:"14",viewBox:"0 0 15 14",focusable:"false"},t.createElement("path",{d:"M4.2 4.1H0.1V6.0H6.2V0H4.2V4.1Z",stroke:"none"}),t.createElement("path",{d:"M0.1 9.8H4.2V13.9H6.2V7.9H0.1V9.8Z",stroke:"none"}),t.createElement("path",{d:"M10.0 9.8H14.1V7.9H8.1V13.9H10.0V9.8Z",stroke:"none"}),t.createElement("path",{d:"M8.1 0V6.0H14.1V4.1H10.0V0H8.1Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},1487:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernExitPipIcon:function(){return t.createElement("svg",{className:this.props.classNames.join(" "),width:"18",height:"15",viewBox:"0 0 18 15",focusable:"false"},t.createElement("path",{d:"M14.4,3.4 L3,3.4 L3,11.2 L14.4,11.2 L14.4,6.4 L14.4,6.4 Z ",stroke:"none"}),t.createElement("path",{d:"M17.6,12.8 L17.6,1.6 C17.6,0.7,16.9,0,16,0 L1.6,0 C0.7,0,0,0.7,0,1.6 L0,12.8 C0,13.7,0.7,14.4,1.6,14.4 L16,14.4 C16.9,14.4,17.6,13.7,17.6,12.8 L17.6,12.8 Z M16,12.8 L1.6,12.8 L1.6,1.6 L16,1.6 L16,12.8 L16,12.8 Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},5423:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernMenuCheckIcon:function(){return t.createElement("svg",{width:"12",height:"9",viewBox:"0 0 12 9"},t.createElement("path",{d:"M10 0.3 L11.5 1.7 L4.3 8.9 L0 4.7 L1.4 3.2 L4.3 6.1 L10 0.3 Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},1453:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernPauseIcon:function(){return t.createElement("svg",{className:this.props.classNames.join(" "),width:"9",height:"14",viewBox:"0 0 9 14",focusable:"false"},t.createElement("rect",{x:"0",width:"3",height:"14",stroke:"none"}),t.createElement("rect",{x:"6",width:"3",height:"14",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},183:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernPlayIcon:function(){return t.createElement("svg",{className:this.props.classNames.join(" "),width:"14",height:"16",viewBox:"0 0 14 16",focusable:"false"},t.createElement("path",{d:"M1.4 15.4C0.8 15.8 0 15.3 0 14.5L0 1.4C0 0.6 0.8 0.1 1.4 0.5L12.9 7.1C13.5 7.5 13.5 8.4 12.9 8.8L8.0 11.6L1.4 15.4Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},6619:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernSettingsIcon:function(){return t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",focusable:"false"},t.createElement("path",{d:"M14,3.2 L14.9,4.7 C15.3,5.5,15.1,6.4,14.4,6.8 L13.7,7.4 C13.7,7.6,13.7,7.7,13.7,7.9 C13.7,8.1,13.7,8.3,13.7,8.5 L14.4,9 C15.1,9.5,15.3,10.4,14.9,11.1 L14,12.7 C13.6,13.4,12.7,13.7,11.9,13.3 L11.1,13 C10.8,13.2,10.5,13.4,10.1,13.5 L10,14.4 C9.9,15.3,9.2,15.9,8.4,15.9 H6.6 C5.8,15.9,5.1,15.3,5.1,14.4 L5,13.5 C4.6,13.4,4.3,13.2,4,13 L3.1,13.3 C2.4,13.7,1.5,13.4,1.1,12.7 L0.2,11.1 C-0.2,10.4,0,9.5,0.7,9 L1.4,8.5 C1.4,8.3,1.4,8.1,1.4,7.9 C1.4,7.7,1.4,7.6,1.4,7.4 L0.7,6.8 C0,6.4,-0.2,5.5,0.2,4.7 L1.1,3.2 C1.5,2.5,2.4,2.2,3.1,2.5 L4,2.9 C4.3,2.7,4.6,2.5,5,2.3 L5.1,1.4 C5.1,0.6,5.8,0,6.6,0 H8.4 C9.2,0,9.9,0.6,10,1.4 L10.1,2.3 C10.5,2.5,10.8,2.7,11.1,2.9 L11.9,2.5 C12.7,2.2,13.6,2.5,14,3.2 Z M7.5,11.5 C9.4,11.5,11,9.9,11,8 C11,6.1,9.4,4.5,7.5,4.5 C5.6,4.5,4,6.1,4,8 C4,9.9,5.6,11.5,7.5,11.5 Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},6874:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernSpeedIcon:function(){return t.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",focusable:"false"},t.createElement("path",{d:"M5.9 4.0L10.4 7.4L5.9 10.8V4.0ZM1.5 8.2H0.0C0.1 9.6 0.6 10.9 1.5 12.0L2.6 11.0C2.0 10.1 1.6 9.2 1.5 8.2H1.5ZM15 7.4H14.9C14.9 5.6 14.3 3.8 13.0 2.4C11.8 1.0 10.0 0.1 8.2 0.0V1.5C10.1 1.7 11.8 2.9 12.8 4.7C13.7 6.4 13.7 8.5 12.8 10.2C11.8 12.0 10.1 13.1 8.2 13.4V14.9C10.0 14.7 11.8 13.8 13.0 12.5C14.3 11.1 14.9 9.3 14.9 7.4L15 7.4ZM3.6 12.1L2.5 13.1C3.7 14.1 5.1 14.8 6.7 14.9V13.4V13.4C5.5 13.3 4.5 12.8 3.6 12.1V12.1ZM2.6 3.9L1.5 2.8C0.6 3.9 0.1 5.3 0 6.7H1.5H1.5C1.6 5.7 2.0 4.7 2.6 3.9H2.6ZM6.7 1.5V0.0C5.1 0.1 3.7 0.7 2.5 1.7L3.6 2.8C4.5 2.1 5.5 1.6 6.7 1.5V1.5Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},674:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernTranscriptIcon:function(){return t.createElement("svg",{width:"16",height:"15",viewBox:"0 0 16 15",focusable:"false"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14,7.5 C14,11,11.2,13.9,7.6,13.9 C4.1,13.9,1.2,11,1.2,7.5 C1.2,4,4.1,1.1,7.6,1.1 C11.2,1.1,14,4,14,7.5 Z M15.1,7.5 C15.1,11.6,11.8,15,7.6,15 C3.5,15,0.1,11.6,0.1,7.5 C0.1,3.4,3.5,0,7.6,0 C11.8,0,15.1,3.4,15.1,7.5 Z M4,4.3 C4,4,4.3,3.7,4.6,3.7 H10.6 C11,3.7,11.2,4,11.2,4.3 C11.2,4.6,11,4.9,10.6,4.9 H4.6 C4.3,4.9,4,4.6,4,4.3 Z M4,6.5 C4,6.2,4.3,5.9,4.6,5.9 H7.6 C8,5.9,8.2,6.2,8.2,6.5 C8.2,6.8,8,7.1,7.6,7.1 H4.6 C4.3,7.1,4,6.8,4,6.5 Z M4.6,8.2 C4.3,8.2,4,8.5,4,8.8 C4,9.1,4.3,9.4,4.6,9.4 H10.6 C11,9.4,11.2,9.1,11.2,8.8 C11.2,8.5,11,8.2,10.6,8.2 H4.6 Z M4,11 C4,10.7,4.3,10.4,4.6,10.4 H9.6 C10,10.4,10.2,10.7,10.2,11 C10.2,11.3,10,11.6,9.6,11.6 H4.6 C4.3,11.6,4,11.3,4,11 Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},4528:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernVolumeIcon:function(){var e=this.props.volume,n=void 0===e?1:e,i=Math.min(1,n/.5),r=Math.min(1,Math.max(0,n/.5-.5));return t.createElement("svg",{width:"17",height:"13",viewBox:"0 0 17 13",focusable:"false"},t.createElement("rect",{x:"0.7",y:"4.0",width:"2.6",height:"5.2",stroke:"none"}),t.createElement("path",{d:"M4.2 4.0L8.6 0.4V12.8L4.2 9.2V4.0Z",stroke:"none"}),t.createElement("mask",{id:"mask0_180_1082",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"9",y:"0",width:"8",height:"13"},t.createElement("rect",{x:"10",y:"0.4",width:"7.0",height:"12.3",fill:"white"})),t.createElement("g",{mask:"url(#mask0_180_1082)"},t.createElement("circle",{cx:"8.6",cy:"6.6",r:"5.7",strokeWidth:"1",fill:"none",opacity:r}),t.createElement("circle",{cx:"8.6",cy:"6.6",r:"3.0",strokeWidth:"1",fill:"none",opacity:i})))}}}.call(t,n,t,e))||(e.exports=i)},7352:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{KebabMenu:function(){var e=this,i=n(6806),o=["kebab-popup"],s=this.props.isFullScreen,a=s||DS.detection.deviceView.isPhone?{tabIndex:0,onFocus:this.handleFullScreenFocus,onBlur:this.handleFullScreenBlur}:{tabIndex:-1,"aria-hidden":!0};return this.state.open&&o.push("open"),t.createElement("div",{className:"kebab-menu"},t.createElement("button",r({ref:"kebabButton",className:"title-button kebab-button",onClick:this.handleKebabClicked},a,{"aria-label":DS.stringTabler.getString("acc_window_options"),"aria-expanded":this.state.open}),t.createElement(i,{type:"verticalEllipse"})),t.createElement("div",{className:o.join(" ")},t.createElement("div",{className:"kebab-arrow-border"}),t.createElement("div",{className:"content"},this.props.options.map((function(n){var o=n.id,l=n.value,c=n.label,u=["checkbox"];l&&u.push("checked");var h=Object.assign(a,s?{role:"checkbox","aria-checked":l,"aria-label":c}:{});return t.createElement("button",r({key:o,ref:e.getOptionRef(o),className:u.join(" "),onClick:function(){return e.handleOptionClicked(o,l)}},h),t.createElement("div",{className:"icon-wrap"},t.createElement(i,{type:"checked",classNames:["checked-icon"]}),t.createElement(i,{type:"unchecked",classNames:["unchecked-icon"]})),t.createElement("div",{className:"checkbox-label"},c))}))),t.createElement("div",{className:"kebab-arrow-background"})))}}}.call(t,n,t,e))||(e.exports=i)},596:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}function o(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{SelectControl:function(){var e=this,i=n(6806),s=this.props.isFullScreen?{role:"combobox","aria-labelledby":this.props.selectLabelId,onFocus:this.handleFullScreenFocus,onBlur:this.handleFullScreenBlur}:{};return t.createElement("div",{className:"select-control"},t.createElement("button",r({ref:"input",className:["select-button"].concat(o(this.state.open?["open"]:[])).join(" "),onClick:this.handleClicked},s),t.createElement("span",{className:"selected-text",ref:"selectedValue"},this.getSelectedText()),t.createElement("div",{className:"down-arrow"})),t.createElement("div",{className:["select-droplist"].concat(o(this.state.open?["open"]:[])).join(" ")},this.props.options.map((function(n,r){var s=e.state.selectedIndex===r;return t.createElement("div",{key:r,ref:e.getRefName(r),role:"option",className:["select-option"].concat(o(s?["selected"]:[])).join(" "),onClick:function(t){return e.handleOptionClicked(t,r)},"data-index":r},t.createElement("div",{className:"selected-icon"},t.createElement(i,{type:"modernMenuCheck"})),t.createElement("div",{className:"label"},n.display))}))))}}}.call(t,n,t,e))||(e.exports=i)},7767:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{TranscriptList:function(){var e=this,n=this.props,i=n.transcript,o=(i=void 0===i?{}:i).cues,s=void 0===o?[]:o,a=n.isFullScreen,l=DS,c=l.stringTabler,u=l.detection.deviceView.isPhone,h=-1===this.state.focusedIndex?null:this.state.focusedIndex;return t.createElement("div",{className:"transcript-list",onClick:this.handleListClicked},t.createElement("div",{className:"content",ref:"content"},t.createElement("ul",{ref:"listbox",tabIndex:a||u?0:-1,role:"listbox","aria-label":c.getString("acc_video_transcript_list"),"aria-activedescendant":this.formatItemRef(h)},s.map((function(n,i){var r=e.state.selectedIndex===i;return t.createElement("li",{key:i,id:e.formatItemRef(i),ref:e.formatItemRef(i),className:r?"selected":null,role:"option","aria-selected":r,"data-index":i},t.createElement("div",{className:"time-code"},e.formatTime(n.start)),t.createElement("div",{className:"cue-text"},n.text))})))),t.createElement("div",{className:["scrollbar"].concat(r(this.state.scrollable?["scrollable"]:[])).join(" "),ref:"scrollbar"},t.createElement("div",{className:"scroll-thumb",ref:"scrollThumb"})))}}}.call(t,n,t,e))||(e.exports=i)},2768:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{TranscriptPanel:function(){var e=n(4889),i=n(6545),r=DS.detection.deviceView.isPhone,o="panel-".concat(this.props.id),s="select-".concat(o),a=!r&&this.state.trackOptions.length>1;return t.createElement("div",{className:"transcript-panel ".concat(a?"":"single-track")},a?t.createElement("label",{id:s},t.createElement("span",{ref:"label"},this.selectLabel),t.createElement(e,{ref:"trackSelect",options:this.state.trackOptions,changeCallback:this.handleTrackChanged,toPanelCoords:this.toPanelCoords,isFullScreen:this.props.isFullScreen,labelId:s})):null,t.createElement(i,{ref:"transcriptList",toPanelCoords:this.toPanelCoords,transcript:this.state.transcript,autoScroll:this.state.autoScroll,videoInterface:this.props.videoInterface,isVisible:this.props.isVisible,options:this.props.options,isFullScreen:this.props.isFullScreen}))}}}.call(t,n,t,e))||(e.exports=i)},6546:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}function o(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{UtilityWindow:function(){var e=DS.detection,i=e.deviceView.isPhone,s=e.orientation,a=n(6806),l=n(872),c=i&&s.isPortrait,u=this.getPanelClass(),h=this.state.isFullScreen,d="".concat(this.props.id,"-title"),p=h||i?{tabIndex:0,onFocus:this.handleFullScreenFocus,onBlur:this.handleFullScreenBlur}:{tabIndex:-1,"aria-hidden":!0},f=["utility-window"].concat(o(this.state.isOpen?["open"]:[]),o(this.state.moving?["moving"]:[]),o(h?["fullscreen"]:[]),o(this.state.keyFocusActive?["keyfocus"]:[])).join(" ");return t.createElement("div",{className:f,style:this.getDockedPosition(),onMouseUp:this.onMouseUp},t.createElement("div",{className:"titlebar"},c?t.createElement("div",{className:"utility-window-thumb"}):null,t.createElement("div",{className:"move-handle",ref:"moveHandle"}),t.createElement("h2",{id:d,ref:"title",className:"title"},this.props.title)),t.createElement("div",{className:"panel-container"},t.createElement(u,r({ref:"panelView"},this.props,{isVisible:this.state.isOpen,options:this.state.kebabOptions,optionCallback:this.optionUpdated,toWindowCoords:this.toWindowCoords,isFullScreen:h}))),!i&&t.createElement("div",{className:"bottom-controls"},t.createElement("button",r({ref:"move",role:"application",className:["utility-move"].concat(o(this.state.keyMoving?["active"]:[])).join(" "),onClick:this.handleMoveButton},p,{"aria-label":DS.stringTabler.getString("acc_window_move")}),t.createElement(a,{type:"move"})),t.createElement("button",r({ref:"resize",role:"application",className:["utility-resize"].concat(o(this.state.keyResizing?["active"]:[])).join(" "),onClick:this.handleResizeButton},p,{"aria-label":DS.stringTabler.getString("acc_window_resize")}),t.createElement(a,{type:"resize"}))),t.createElement("div",{className:"title-buttons"},t.createElement(l,{ref:"kebabMenu",options:this.state.kebabOptions,optionCallback:this.optionUpdated,toWindowCoords:this.toWindowCoords,isFullScreen:h}),t.createElement("button",r({ref:"close",className:"title-button utility-close",onClick:this.handleCloseClicked},p,{"aria-label":DS.stringTabler.getString("acc_window_close")}),t.createElement(a,{type:"close"}))),!i&&t.createElement("div",{className:"resize-handles"},t.createElement("div",{className:"handle resize-tl",ref:"topLeftSizer","data-resize-pos":"topleft"}),t.createElement("div",{className:"handle resize-t",ref:"topSizer","data-resize-pos":"top"}),t.createElement("div",{className:"handle resize-tr",ref:"topRightSizer","data-resize-pos":"topright"}),t.createElement("div",{className:"handle resize-r",ref:"rightSizer","data-resize-pos":"right"}),t.createElement("div",{className:"handle resize-l",ref:"leftSizer","data-resize-pos":"left"}),t.createElement("div",{className:"handle resize-bl",ref:"bottomLeftSizer","data-resize-pos":"bottomleft"}),t.createElement("div",{className:"handle resize-b",ref:"bottomSizer","data-resize-pos":"bottom"}),t.createElement("div",{className:"handle resize-br",ref:"bottomRightSizer","data-resize-pos":"bottomright"})))}}}.call(t,n,t,e))||(e.exports=i)},4486:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{UtilityWindowController:function(){return t.createElement("div",{className:"utility-window-control"})}}}.call(t,n,t,e))||(e.exports=i)},4201:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{CheckedIcon:function(){return t.createElement("svg",{className:this.props.classNames.join(" "),width:"14",height:"14",viewBox:"0 0 14 14"},t.createElement("mask",{id:"check-mask"},t.createElement("rect",{y:"0",width:"14",height:"14",rx:"3",fill:"white",stroke:"none"}),t.createElement("path",{d:"M10.8,3 L12,4.4 L5.7,11 L2,7.1 L3.2,5.8 L5.7,8.4 L10.8,3 Z",fill:"black",stroke:"none"})),t.createElement("rect",{y:"0",width:"14",height:"14",rx:"3",stroke:"none",mask:"url(#check-mask)"}))}}}.call(t,n,t,e))||(e.exports=i)},2421:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{CloseIcon:function(){return t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",focusable:"false"},t.createElement("path",{d:"M15.5,1.5 L14.5,0.6 L8,7 L1.5,0.6 L0.5,1.5 L7,8 L0.5,14.5 L1.5,15.4 L8,9 L14.5,15.4 L15.5,14.5 L9,8 L15.5,1.5 Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},9574:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{MoveIcon:function(){return t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",focusable:"false"},t.createElement("path",{d:"M10.7,7 V4.9 V1.4 V0.7 C10.7,0.3,10.4,0,10,0 C9.6,0,9.3,0.3,9.3,0.7 V2.8 V6.2 V7 C9.3,7.4,9.6,7.7,10,7.7 C10.4,7.7,10.7,7.4,10.7,7 Z",stroke:"none"}),t.createElement("path",{d:"M10.7,19.3 V17.2 V13.8 V13 C10.7,12.6,10.4,12.3,10,12.3 C9.6,12.4,9.3,12.6,9.3,13 V15.1 V18.6 V19.3 C9.3,19.7,9.6,20,10,20 C10.4,20,10.7,19.7,10.7,19.3 Z",stroke:"none"}),t.createElement("path",{d:"M7,9.3 H4.9 H1.4 H0.7 C0.3,9.3,0,9.6,0,10 C0,10.4,0.3,10.7,0.7,10.7 H2.8 H6.2 H7 C7.4,10.7,7.7,10.4,7.7,10 C7.7,9.6,7.4,9.3,7,9.3 Z",stroke:"none"}),t.createElement("path",{d:"M19.3,9.3 H17.2 H13.8 H13 C12.6,9.3,12.3,9.6,12.3,10 C12.4,10.4,12.6,10.7,13,10.7 H15.1 H18.6 H19.3 C19.7,10.7,20,10.4,20,10 C20,9.6,19.7,9.3,19.3,9.3 Z",stroke:"none"}),t.createElement("path",{d:"M7.7,3.9 C8,3.6,8.3,3.3,8.6,3 C9.1,2.5,9.6,2,10.1,1.5 C10.2,1.3,10.3,1.2,10.5,1.1 H9.5 C9.9,1.4,10.2,1.7,10.5,2.1 C11,2.6,11.5,3.1,12,3.6 C12.1,3.7,12.2,3.8,12.3,3.9 C12.6,4.1,13,4.2,13.2,3.9 C13.5,3.6,13.5,3.2,13.2,3 C12.9,2.7,12.6,2.4,12.3,2 C11.8,1.5,11.3,1,10.8,0.5 C10.7,0.4,10.6,0.3,10.5,0.2 C10.2,-0.1,9.8,-0.1,9.5,0.2 C9.2,0.5,8.9,0.8,8.6,1.1 C8.1,1.6,7.6,2.1,7.1,2.6 C7,2.8,6.9,2.9,6.8,3 C6.5,3.2,6.5,3.7,6.8,3.9 C7,4.1,7.4,4.2,7.7,3.9 Z",stroke:"none"}),t.createElement("path",{d:"M6.8,17 C7.1,17.3,7.4,17.7,7.7,18 C8.2,18.5,8.7,19,9.2,19.5 C9.3,19.6,9.4,19.7,9.5,19.8 C9.8,20.1,10.2,20.1,10.5,19.8 C10.8,19.5,11.1,19.2,11.4,18.9 C11.9,18.4,12.4,17.9,12.9,17.4 C13,17.3,13.1,17.1,13.2,17 C13.5,16.8,13.5,16.3,13.2,16.1 C13,15.9,12.6,15.8,12.3,16.1 C12,16.4,11.7,16.7,11.4,17 C10.9,17.5,10.4,18,9.9,18.5 C9.8,18.7,9.7,18.8,9.5,18.9 H10.5 C10.1,18.6,9.8,18.3,9.5,17.9 C9,17.4,8.5,16.9,8,16.4 C7.9,16.3,7.8,16.2,7.7,16.1 C7.4,15.9,7,15.8,6.8,16.1 C6.5,16.4,6.5,16.8,6.8,17 Z",stroke:"none"}),t.createElement("path",{d:"M3.9,12.3 L1.1,9.5 V10.5 C1.4,10.1,1.7,9.8,2.1,9.5 C2.6,9,3.1,8.5,3.6,8 C3.7,7.9,3.8,7.8,3.9,7.7 C4.1,7.4,4.2,7,3.9,6.8 C3.6,6.5,3.2,6.5,3,6.8 C2.7,7.1,2.4,7.4,2,7.7 C1.5,8.2,1,8.7,0.5,9.2 C0.4,9.3,0.3,9.4,0.2,9.5 C-0.1,9.8,-0.1,10.2,0.2,10.5 C0.5,10.8,0.8,11.1,1.1,11.4 C1.6,11.9,2.1,12.4,2.6,12.9 C2.8,13,2.9,13.1,3,13.3 C3.2,13.5,3.7,13.5,3.9,13.3 C4.1,13,4.2,12.6,3.9,12.3 L3.9,12.3 Z",stroke:"none"}),t.createElement("path",{d:"M17,13.3 C17.3,12.9,17.6,12.6,18,12.3 C18.5,11.8,19,11.3,19.5,10.8 C19.6,10.7,19.7,10.6,19.8,10.5 C20.1,10.2,20.1,9.8,19.8,9.5 C19.5,9.2,19.2,8.9,18.9,8.6 C18.4,8.1,17.9,7.6,17.4,7.1 C17.3,7,17.1,6.9,17,6.8 C16.8,6.5,16.3,6.5,16.1,6.8 C15.9,7,15.8,7.4,16.1,7.7 C16.4,8,16.7,8.3,17,8.6 C17.5,9.1,18,9.6,18.5,10.1 C18.7,10.2,18.8,10.3,18.9,10.5 V9.5 C18.6,9.9,18.3,10.2,17.9,10.5 C17.4,11,16.9,11.5,16.4,12 C16.3,12.1,16.2,12.2,16.1,12.3 C15.9,12.6,15.8,13,16.1,13.3 C16.4,13.5,16.8,13.5,17,13.3 Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},7229:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ResizeIcon:function(){return t.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",focusable:"false"},t.createElement("path",{d:"M0.5,0 H17.5 C17.6,0,17.8,0.1,17.9,0.1 C17.9,0.2,18,0.4,18,0.5 V17.5 C18,17.6,17.9,17.8,17.9,17.9 C17.8,17.9,17.6,18,17.5,18 H0.5 C0.4,18,0.2,17.9,0.1,17.9 C0.1,17.8,0,17.6,0,17.5 V0.5 C0,0.2,0.2,0,0.5,0 Z M1,17 H17 V1 H1 V17 Z M14,10.5 V13.5 C14,13.6,13.9,13.8,13.9,13.9 C13.8,13.9,13.6,14,13.5,14 H10.5 C10.2,14,10,13.8,10,13.5 C10,13.2,10.2,13,10.5,13 H12.3 L5,5.7 V7.5 C5,7.8,4.8,8,4.5,8 C4.2,8,4,7.8,4,7.5 V4.5 C4,4.4,4.1,4.2,4.1,4.1 C4.2,4.1,4.4,4,4.5,4 H7.5 C7.8,4,8,4.2,8,4.5 C8,4.8,7.8,5,7.5,5 H5.7 L13,12.3 V10.5 C13,10.2,13.2,10,13.5,10 C13.8,10,14,10.2,14,10.5 Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},6451:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{UncheckedIcon:function(){return t.createElement("svg",{className:this.props.classNames.join(" "),width:"14",height:"14",viewBox:"0 0 14 14"},t.createElement("rect",{x:"0.5",y:"0.5",width:"13",height:"13",rx:"2.5",fill:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},9197:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{VerticalEllipseIcon:function(){return t.createElement("svg",{width:"4",height:"13",viewBox:"0 0 4 13",focusable:"false"},t.createElement("circle",{cx:"2",cy:"1.5",r:"1.5",stroke:"none"}),t.createElement("circle",{cx:"2",cy:"6.5",r:"1.5",stroke:"none"}),t.createElement("circle",{cx:"2",cy:"11.5",r:"1.5",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},1034:function(e,t,n){var i;i=function(e){"use strict";var t=DS.Backbone,n=DS._,i=DS.BaseModel,r=DS.subscribable,o=DS.resolveable,s=DS.ancestral,a=DS.shortEventable,l=DS.mixer,c=t.Collection.extend({mixins:[r,o,s,a],model:i,isCollection:!0,constructor:function(e,i){var r=this.initialize;this.initialize=n.noop,t.Collection.apply(this,arguments),this.createParentReference(i),l.initMixinsOf(this),this.initialize=r,this.initialize.apply(this,arguments),l.postInitMixinsOf(this)}});return c}.call(t,n,t,e),void 0===i||(e.exports=i)},5393:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(2296);return t.extend({model:i})}.call(t,n,t,e))||(e.exports=i)},4115:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(7170),r=DS._;return t.extend({model:i,hasType:function(e){return this.some((function(t){return t.type()===e}))},getVideoCount:function(){return r.countBy(this.models,(function(e){return e.type()})).video||0},getAudioCount:function(){return r.countBy(this.models,(function(e){return e.type()})).audio||0}})}.call(t,n,t,e))||(e.exports=i)},4664:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(2388),r=(DS._,DS.Chunk);return t.extend({model:i,getResumeData:function(e){return this.invoke("getResumeData",e).map(r.create).join("")},setResumeData:function(e,t){var n=new r({fullString:e});this.forEach((function(e){e.setResumeData(n.encodedString(),t),n=n.reChunk()}))},resetBeforeView:function(){this.invoke("resetBeforeView")}})}.call(t,n,t,e))||(e.exports=i)},7258:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(3936),r=n(1034),o=DS._,s=DS.events,a=DS.resolver,l=DS.utils,c=DS.vow.Deferred().resolve().promise(),u=o.memoize((function(e){return a.resolvePath(l.prefixWithPlayer(e),null,{optional:!0})}));return r.extend({model:i,subscriptions:(t={},t[s.slide.STARTED]="onSlideStarted",t),initialize:function(){this.onTimelinePlayingDelegate=this.onTimelinePlaying.bind(this),this.onTimelinePausedDelegate=this.onTimelinePaused.bind(this),this.onTimelineSeekStartDelegate=this.onTimelineSeekStart.bind(this),this.onTimelineSeekEndDelegate=this.onTimelineSeekEnd.bind(this)},findPlaylist:function(e){return this.find((function(t){return t.get("slideids").indexOf(e)>=0}))},load:function(e){var t=this.findPlaylist(e);return null==t||t.isPlaying()?(null!=this.timeline&&(this.timeline.off(s.timeline.PLAYING,this.onTimelinePlayingDelegate),this.timeline.off(s.timeline.PAUSED,this.onTimelinePausedDelegate),this.timeline.off(s.timeline.SEEK_START,this.onTimelineSeekStartDelegate),this.timeline.off(s.timeline.SEEK_END,this.onTimelineSeekEndDelegate),this.timeline=null),c):t.load()},onSlideStarted:function(e){var t=this.currentlyPlaying,n=this.findPlaylist(e);t!==n&&(null!=t&&t.stop(),null!=n&&n.play()),null!=n&&(this.timeline=u(e).getBaseLayer().timeline(),this.timeline.on(s.timeline.PLAYING,this.onTimelinePlayingDelegate),this.timeline.on(s.timeline.PAUSED,this.onTimelinePausedDelegate),this.timeline.on(s.timeline.SEEK_START,this.onTimelineSeekStartDelegate),this.timeline.on(s.timeline.SEEK_END,this.onTimelineSeekEndDelegate)),this.currentlyPlaying=n},onTimelinePlaying:function(){this.seeking||this.currentlyPlaying.resume()},onTimelinePaused:function(){this.seeking||this.currentlyPlaying.pause()},onTimelineSeekStart:function(){this.seeking=!0},onTimelineSeekEnd:function(){this.seeking=!1}})}.call(t,n,t,e))||(e.exports=i)},9360:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(5363);return t.extend({model:i,getNonMessageScenes:function(){return this.reject((function(e){return e.isMessageScene()}))}})}.call(t,n,t,e))||(e.exports=i)},6392:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}void 0===(i=function(e){"use strict";var t,i,r=n(1034),s=DS._,a=DS.events,l=DS.pubSub,c=DS.constants,u=n(6414);return r.extend({subscriptions:o({},a.quiz.INTERACTION_ANSWERED,"onQuizInteractionAnswered"),model:u,getStatus:function(){if(null!=t)return t;var e=s.first(this.filter((function(e){return e.isCourseComplete()})));return null!=e?e.getStatus():c.statuses.INCOMPLETE},guessCurrentScoring:function(){return s.find(this.models,(function(e){return!(t=e).isView()&&!t.isAction()&&t.quiz.attempted()&&(e.quiz===i||s.some(e.quiz.quizzes,(function(e){return e===i})));var t}))},manuallySetActionStatus:function(e){var n=s.find(this.models,(function(e){return e.isType("action")}));null!=n&&(t=n.get(e?"passStatus":"failStatus"),n.prop("Status",t),l.trigger(a.course.MANUALLY_COMPLETED,e,n))},incrementViewed:function(e){this.filter((function(e){return e.isView()})).forEach((function(t){return t.incrementViewed(e)}))},onQuizInteractionAnswered:function(e){i=e},hasQuiz:function(e){return s.some(this.models,(function(t){return t.quiz&&s.some(t.quiz.quizzes,{id:e.id})}))}})}.call(t,n,t,e))||(e.exports=i)},1806:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(4992);return t.extend({model:i})}.call(t,n,t,e))||(e.exports=i)},8510:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(1034),r=n(4893),o=DS,s=o._,a=o.detection,l=o.events,c=o.pubSub,u=o.Chunk,h=function(e){return!e.isBaseLayer()&&!e.isShowable},d=function(e){return e.timeline().progress()>=1},p=i.extend({model:r,shortEvents:{self:(t={},t[l.layer.HIDDEN]="onLayerHidden",t[l.layer.HIDE_OTHER_LAYERS]="onHideOtherLayers",t[l.layer.ACTIVATED]="onLayerActivated",t)},initialize:function(){this.activeLayers=[]},getBaseLayer:function(){return this.findWhere({isBaseLayer:!0})},getNonBaseLayers:function(){return this.without(this.getBaseLayer())},onHideOtherLayers:function(e){var t=s.indexOf(this.activeLayers,e);return-1===t&&(t=this.activeLayers.length),s.invokeMap(s.take(this.activeLayers,t),"hide"),this},pauseBaseLayer:function(e){return this.getBaseLayer().pauseTimelineFromLayer(e),this},pauseAll:function(e){this.invoke("pauseTimeline",e),this.invoke("cancelTransition")},playBaseLayer:function(e){return this.getBaseLayer().resumeTimelineFromLayer(e),this},getSlide:function(){return this.getClosestAncestorWithAssoc(p)},hideAllHideableLayers:function(){s.invokeMap(this.filter(h),"hide")},onTimelineComplete:function(){this.activeLayers.slice().concat([this.getBaseLayer()]).every(d)&&this.trigger(l.slide.ALL_TIMELINES_COMPLETE)},onLayerActivated:function(e){var t=this.getTopMostLayer(),n=t===e;t&&"dialog"===t.get("presentAs")&&c.trigger(l.layer.DIALOG_HIDDEN),this.setPrevLayers(this.activeLayers.slice()),n||null==t||t.setAsTopMostLayer(!1),e.pauseParent()&&!s(this.activeLayers).includes(e)&&this.pauseBaseLayer(e),this.bringToFront(e),e.setAsTopMostLayer(!0),"dialog"===e.get("presentAs")&&c.trigger(l.layer.DIALOG_SHOWN,e)},getTopMostLayer:function(){return s(this.activeLayers).last()},onLayerHidden:function(e){var t=this.getTopMostLayer(),n=e===t;this.setPrevLayers(this.activeLayers.slice()),s(this.activeLayers).includes(e)&&(n&&(e.setAsTopMostLayer(!1),"dialog"===e.get("presentAs")&&c.trigger(l.layer.DIALOG_HIDDEN)),this.removeLayerFromActive(e),t=this.getTopMostLayer(),n&&(null!=t&&t.setAsTopMostLayer(!0),window.requestAnimationFrame((function(){null!=e.lastModalFocus&&e.lastModalFocus.accShadowView.takeFocus()}))),this.getSlide().currentTimeline()===e.timeline()&&this.trigger(l.timeline.CHANGED,this.getBaseLayer().timeline()),e.pauseParent()&&this.playBaseLayer(e))},bringToFront:function(e){return this.activeLayers=s(this.activeLayers).without(e).push(e).value(),this.remapLayerDepths(),this},removeLayerFromActive:function(e){return this.activeLayers=s.without(this.activeLayers,e),this.remapLayerDepths(),this},tabIndexModalCalc:function(e){this.hasModalLayerAbove(e)?e.trigger("adjustTabIndexForModal",{disable:!0}):e.trigger("adjustTabIndexForModal",{disable:!1})},remapLayerDepths:function(){var e=this,t=this.getBaseLayer(),n=t.depthOffset;this.activeLayers.forEach((function(t,i){t.depth(i+1),t.startDepth=n,n+=t.depthOffset,e.tabIndexModalCalc(t)})),this.tabIndexModalCalc(t),c.trigger(l.layer.STACKING_CHANGED)},resetActiveLayers:function(){return s.forEach(this.activeLayers,(function(e){e.isOpen=!1})),this.activeLayers=[],this},restoreActiveLayers:function(e){for(var t=new u({fullString:e});t.encodedString().length>0;)this.at(t.getUnsignedValue()+1).show().setAsShowable(),t=t.reChunk();this.getBaseLayer().shouldPlayOnCloseLayer=!0},getActiveLayersResumeData:function(){return this.activeLayers.reduce((function(e,t){return e+u.create(u.toSignedString64(t.index()-1))}),"")},setPrevLayers:function(e){a.device.isMobile&&(this.prevLayers=e)},hasModalLayerAbove:function(e){var t=s.findLastIndex(this.activeLayers,(function(e){return!!e.modal()}));return t>s.findIndex(this.activeLayers,e)},hasLayerAbove:function(e){return e.isBaseLayer()&&this.activeLayers.length>0||s.findIndex(this.activeLayers,e)<this.activeLayers.length-1},killEverything:function(){this.activeLayers=[],this.stopListening(),this.invoke("killEverything"),this.reset([],{silent:!0})}});return p}.call(t,n,t,e))||(e.exports=i)},8975:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(5552),r=n(3484),o=n(2503),s=n(6340),a=n(6427),l=n(2641),c=n(4469),u=n(2801),h=n(4273),d=n(9687),p=n(8293),f=n(1382),g=n(4514),m=DS._,v=DS.utils,y=function(e){return e.abilities.groupObjects},S={objgroup:r,stategroup:o,shufflegroup:s,textinput:a,scrollarea:l,expandinglabel:c,droplist:u,droparea:h,dragitem:d,sequencectrl:p,slideframe:f,threesixtyimage:g},b=t.extend({model:function(e,t){var n=S[e.kind]||i;return v.buildDataStructure(n,t,e)},findNestedObject:function(e){var t;return m.find(this.filter(y),(function(n){return!!(t=n.objects().get(e))})),t}});return[r,s,o,l,c].forEach((function(e){e.addAssociation("objects",b)})),b}.call(t,n,t,e))||(e.exports=i)},2604:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(6704);return t.extend({model:i})}.call(t,n,t,e))||(e.exports=i)},704:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(7692);return t.extend({model:i})}.call(t,n,t,e))||(e.exports=i)},4761:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(8702);return t.extend({model:i})}.call(t,n,t,e))||(e.exports=i)},2392:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(4481);DS._;return t.extend({model:i,getAttrConfig:function(e){return 0===this.length?null:this.at(0).getAttrConfig(e)}})}.call(t,n,t,e))||(e.exports=i)},3495:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(8259);return t.extend({model:i,buildTweens:function(){return this.invoke("build")}})}.call(t,n,t,e))||(e.exports=i)},7895:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(1034),r=n(2304),o=n(6974),s=DS._,a=DS.Chunk,l=DS.events;return i.extend({model:r,subscriptions:(t={},t[l.player.RESET]="resetValues",t),initialize:function(){this.getResumeDataOrReturn=s.partial(o.meetConditionOrReturn,this,this.shouldGetResumeData)},addVariable:function(e,t){return this.push(s.extend({},{resume:!0},e),{parent:t})},resetValues:function(){this.invoke("resetValue")},shouldGetResumeData:function(){return this.filter(o.isResumable).some((function(e){return!e.hasInitValue()}))},getResumeData:function(){this.booleans=[];var e=this.filter(o.isResumable).reduce(this.encodeVariable.bind(this),"");return a.create(this.encodeBooleans())+e},encodeVariable:function(e,t){return t.isBoolean()?this.booleans.push(t.value()):e+=t.getEncodedValue(),e},encodeBooleans:function(e){for(var t,n,i="";this.booleans.length;)t=1,n=this.booleans.splice(0,6).reduce((function(e,n){return e+=n*t,t*=2,e}),0),i+=a.toUnsignedString64(n);return i},setResumeData:function(e){var t="";if(e.length>0){var n=new a({fullString:e}),i=this.convertBoolStringToArray(n.encodedString()),r=this.filter(o.isResumable);t=n.remainder(),r.forEach((function(e){e.isBoolean()?e.value(i.shift(),{silent:!0}):(n=n.reChunk(),e.setEncodedValue(n.encodedString()),t=n.remainder())}))}return t},convertBoolStringToArray:function(e){return e.split("").reduce((function(e,t){for(var n=a.fromUnsignedString64(t),i=1;i<=32;)e.push(!!(n&i)),i*=2;return e}),[])}})}.call(t,n,t,e))||(e.exports=i)},2261:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(5374);return t.extend({model:i})}.call(t,n,t,e))||(e.exports=i)},2989:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(6951);return t.extend({model:i})}.call(t,n,t,e))||(e.exports=i)},7620:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=DS.Chunk;return t.extend({getResumeData:function(){return this.invoke("getResumeData").map(i.create).join("")||""},setResumeData:function(e){return this.forEach((function(t){t.setResumeData(e.encodedString()),e=e.reChunk()})),e}})}.call(t,n,t,e))||(e.exports=i)},5178:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(5011),r=DS.Chunk;return t.extend({model:i,getResumeData:function(){return this.invoke("getResumeData").map(r.create).join("")||r.create("")},setResumeData:function(e){return this.forEach((function(t){t.setResumeData(e.encodedString()),e=e.reChunk()})),e}})}.call(t,n,t,e))||(e.exports=i)},3807:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3723),i=n(4164),r=function(e){this.init(e)};return DS._.assign(r.prototype,i.prototype,{isMediaElement:!0,createElement:function(){return this},load:function(){return this.hasStartedLoading||(this.hasStartedLoading=!0,this.audioClip=t.loadUrl(this.url,this.id),this.audioClip.dfd.promise().then(this.dfd.resolve).catch(this.dfd.reject)),this.promise},teardown:function(){null!=this.audioClip&&this.audioClip.destroy(!0),this.audioClip=null}}),r}.call(t,n,t,e))||(e.exports=i)},2637:function(e,t,n){var i;i=function(e){"use strict";var t=DS._,n=function e(n){return this instanceof e?n instanceof e?n:void(t.isArray(n)?(this.iterator=(i=n,function(){var e=i.length,t=0;return{next:function(){return t===e?{done:!0}:{value:i[t++],done:!1}}}}),this.arr=n):null!=n[Symbol.iterator]?this.iterator=n[Symbol.iterator].bind(n):this.iterator=n):new e(n);var i};return n.empty=new n([]),n.isIterable=function(e){return t.isArray(e)||t.isFunction(e)||null!=e[Symbol.iterator]&&"string"!=typeof e},t.extend(n.prototype,{toArray:function(){if(null!=this.arr)return this.arr;var e=[];return this.forEach((function(t){e.push(t)})),this.arr=e,e},forEach:function(e){for(var t,i,r=this.iterator(),o=0,s=[];!(t=r.next()).done&&!1!==i;)i=e(t.value,o++,this),s.push(t.value);return new n(s)},map:function(e){return new n(function(){var t=this.iterator(),n=0;return{next:function(){var i=t.next();return i.done?{done:!0}:{value:e(i.value,n++,this),done:!1}}.bind(this)}}.bind(this))},filter:function(e){return new n(function(){var t=this.iterator(),n=0;return{next:function i(){var r=t.next();return r.done?{done:!0}:e(r.value,n++,this)?{value:r.value,done:!1}:i.call(this)}.bind(this)}}.bind(this))},some:function(e){var t=!1;return this.forEach(function(n,i){return!(t=!!e(n,i,this))}.bind(this)),t},flatten:function(){return new n(function(){var e=this.iterator(),t=[];return{next:function i(){var r=e.next(),o=r.value;return r.done?null==(e=t.pop())?{done:!0}:i.call(this):(n.isIterable(o)&&(o=new n(o)),o instanceof n?(t.push(e),e=o.iterator(),i.call(this)):r)}.bind(this)}}.bind(this))},concat:function(){var e=[this].concat(t.map(arguments,n));return new n((function(){var t;return{next:function n(){if(null==t){if(0===e.length)return{done:!0};t=e.shift().iterator()}var i=t.next();return i.done?(t=null,n()):i}}}))},first:function(){return this.iterator().next().value},flatMap:function(e){return new n(function(){var t=this.iterator(),i=[],r=0;return{next:function o(){if(i.length>0){var s=i[i.length-1].next();return s.done?(i.pop(),o()):s}var a,l=t.next();return l.done?{done:!0}:(a=e(l.value,r++,this),n.isIterable(a)?(i.push(new n(a).iterator()),o()):{value:a,done:!1})}.bind(this)}}.bind(this))},reduce:function(e,t){var n,i=0,r=this.iterator();if(void 0===t&&(i++,(n=r.next()).done))throw new TypeError("Reduce of empty iterable with no initial value");for(;(n=r.next())&&!n.done;)t=e(t,n.value,i++,this);return t}}),n.prototype.compact=t.partial(n.prototype.filter,Boolean),n}.call(t,n,t,e),void 0===i||(e.exports=i)},9824:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4164),i=n(6849),r=DS._;window.globalLoadJsAsset=function(e,t){var n=JSON.parse(t),r=DS.utils.resolveAssetUrl(e);i.addJsAsset(r,n)};var o=function(e){this.init(e)};return r.assign(o.prototype,t.prototype,{load:function(){DS.loadScript(this.url,this.dfd.resolve)},teardown:r.noop}),o}.call(t,n,t,e))||(e.exports=i)},6664:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4164),i=n(2902),r=DS,o=r._.noop,s=r.errorManager,a=[];window.globalProvideSvgData=function(e,t){a.includes(e)?(_.remove(a,(function(t){return t===e})),i.addAsset(e,t)):s.throwErrorSoft("dataId mismatch",e,a)};var l=function(e){this.init(e)};return Object.assign(l.prototype,t.prototype,{load:function(){a.push(this.dataId),DS.loadScript(this.url,this.dfd.resolve)},teardown:o}),l}.call(t,n,t,e))||(e.exports=i)},4164:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(7877),i=DS._,r=DS.vow,o=DS.detection,s=!o.browser.isIE&&!o.os.isIOS&&!o.browser.isSafariMac,a=r.Deferred().resolve().promise(),l=function(e){this.init(e)};i.extend(l.prototype,{retries:1,retryTimeout:250,hasStartedLoading:!1,isMediaElement:!1,init:function(e){i.bindAll(this,"onLoad","onCanPlay","onError","setElement"),this.retries=null!=e.retries?e.retries:this.retries,this.retryTimeout=null!=e.retryTimeout?e.retryTimeout:this.retryTimeout,this.failuresCount=0,this.url=e.url,this.id=e.id,this.type=e.type,this.loadForView=!!e.loadForView,this.dataId=e.dataId,this.createDeferred().createElement(),"video"!=this.type&&"audio"!=this.type&&this.loadForView&&DS.connection.requiredAsset(this.url,null,null,this.type),this[this.loadForView?"batchLoad":"queueLoad"]()},createDeferred:function(){var e=r.Deferred();return Object.defineProperties(this,{dfd:{value:e},promise:{value:e.promise()}}),this},createElement:function(){if(s&&"img"===this.type){var e=document.createElementNS("http://www.w3.org/2000/svg","image");t.getMediaLoaderSvg().appendChild(e),this.setElement(e)}else this.setElement(document.createElement(this.type));return this},setElement:function(e){this.teardown(),this.el=e,this.addEventListeners()},queueLoad:function(){return a.always(this.load.bind(this)),a=this.promise,this.promise},batchLoad:function(){this[o.os.isIOS&&this.isMediaElement?"queueLoad":"load"]()},load:function(){if(null!=this.el)return this.hasStartedLoading||(this.hasStartedLoading=!0,s&&"img"===this.type?this.el.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",this.url):this.el.src=this.url,this.isMediaElement&&this.loadMediaElement()),this.promise},loadMediaElement:function(){null!=this.el&&this.el.load()},retry:function(){return this.failuresCount++,DS.connection.assetFailed(this.url),setTimeout(function(){return this.hasStartedLoading=!1,this.createElement().load()}.bind(this),DS.connection.useConnectionMessages?DS.connection.retryDelay:this.retryTimeout),this},shouldRetry:function(){return this.failuresCount<this.retries||DS.connection.useConnectionMessages},onLoad:function(e){this.isMediaElement||(this.dfd.resolve(),this.removeEventListeners(),DS.connection.assetLoaded(this.url))},onCanPlay:function(){this.dfd.resolve(),this.removeEventListeners()},onError:function(e){if(DS.connection.useConnectionMessages&&!this.loadForView)return this.dfd.resolve(),void this.removeEventListeners();this.shouldRetry()?this.retry():(this.dfd.reject("Could not load media "+this.url),this.removeEventListeners())},teardown:function(){null!=this.el&&(s&&"video"!==this.type||(this.el.src=""),this.detachElement())},detachElement:function(){this.removeEventListeners(),this.el=null},bindListeners:function(e){var t=e?"addEventListener":"removeEventListener";null!=this.el&&(this.el[t]("load",this.onLoad),this.el[t]("canplay",this.onCanPlay),this.el[t]("error",this.onError))}});var c=l.prototype;return i.extend(c,{addEventListeners:i.partial(c.bindListeners,!0),removeEventListeners:i.partial(c.bindListeners,!1)}),l}.call(t,n,t,e))||(e.exports=i)},3305:function(e,t,n){var i,r;i=[n(1325)],void 0===(r=function(e){"use strict";var t=DS._,n=function(t){var n=e.createClass(t);return n.__spec=t,n};return t.extend({},e,{createClass:n,extend:function(e,i){return n(t.extend({},e.__spec,i))}})}.apply(t,i))||(e.exports=r)},1102:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,s=void 0,s=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===r(s)?s:String(s)),i)}var o,s}i=function(){var e=DS.utils,t=function(){function t(e,n){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),null==e||isNaN(e)||e<=0)throw"Timers duration needs to be greater than 0!";this.duration=e,this.paused=!0,this.elapsed=0,this.running=!1,this.events=n,_.bindAll(this,"step")}var n,i,r;return n=t,i=[{key:"play",value:function(){var e=this;if(this.running||this.elapsed>=this.duration)return-1;this.paused=!1,this.running=!0,window.requestAnimationFrame((function(){return e.step(performance.now())}))}},{key:"pause",value:function(){this.paused=!0}},{key:"progress",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==t)return e.clamp(0,this.duration,this.elapsed);this.seek(t,n)}},{key:"seek",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null!=t&&!isNaN(t)){var i=!this.paused;this.pause(),this.elapsed=e.clamp(0,this.duration,t),n||this.update(),this.elapsed<=this.duration&&i&&(this.paused=!1,this.play())}}},{key:"elapsedPercentage",value:function(){return e.clamp(0,1,this.elapsed/this.duration)}},{key:"reset",value:function(){this.pause(),this.seek(0)}},{key:"step",value:function(e){var t=this;if(this.paused)this.running=!1;else{var n=performance.now();this.elapsed+=n-e,this.update(),this.running&&window.requestAnimationFrame((function(){return t.step(n)}))}}},{key:"update",value:function(){e.getPath(this.events,"onUpdate"),this.elapsed>=this.duration&&(this.running=!1,e.getPath(this.events,"onComplete"))}}],i&&o(n.prototype,i),r&&o(n,r),Object.defineProperty(n,"prototype",{writable:!1}),t}();return t}.call(t,n,t,e),void 0===i||(e.exports=i)},2753:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4164),i=n(1853),r=DS._,o=function(e){DS.flagManager.streamingVideo&&Object.assign(this,{load:function(){if(null!=this.el)return this.hasStartedLoading||(this.hasStartedLoading=!0,this.el.loadVideo(this.url)&&this.dfd.resolve()),this.promise},loadMediaElement:r.noop}),this.init(e)};return r.assign(o.prototype,t.prototype,{isMediaElement:!0,isPaused:!0,isEnded:r.constant(!0),createElement:function(){var e=this;return i.requestVideoEl(this).then((function(t){DS.flagManager.streamingVideo?(e.setElement(t),e.load()):(t.src=e.url,e.setElement(t),e.load())})),this},retrieveVideo:function(){return this.el},teardown:r.noop}),o}.call(t,n,t,e))||(e.exports=i)},4196:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(3949),r=n(2486),o=n(9943),s=n(4998),a=n(2637),l=n(1689),c=n(5749),u=DS._,h=DS.Backbone,d=DS.automation,p=DS.utils,f=DS.debug,g=DS.errorManager,m=(DS.pubSub,DS.resolver),v=DS.mixer,y=DS.shortEventable,S=DS.constants,b=(DS.windowManager,g.throwError("actionManager")),w=g.warn("actionManager"),x=g.backtick,C=function(e){var t="action:",n=e.shortEvents,i=n&&n.self;return u.keys(i).filter((function(e){return 0===e.indexOf(t)})).map((function(e){return e.replace(t,"")}))},E={global:null,meta:null},P=function(e,t){var n=E[e];return u.includes(n,t.kind)},T=u.partial(P,"global"),D=u.partial(P,"meta"),A=function(e){return u.includes(["gotoplay","history_prev","playnextdrawslide","nextunansweredslide","nextunsubmittedslide","nextviewedslide","history_prev_scene","history_prev_group"],e.kind)},I=(t=["param","objRef","varRef","quizRef","variable","id","drawid","interactionId","value","startslideid","scrollref"],function(e,n){var i;return u.find(t,(function(t){return i=function(e,t,n){var i=e[t];return u.isPlainObject(i)?m.getRef(i,n.context,n):i}(e,t,n),i})),i}),k=function(e,t){var n=m.splitPath(e.id),i=u.last(n),r=m.joinPath(u.initial(n)),o=r?m.resolvePath(r,t.context):t.context,s=function(e,t,n){var i,r=e;return null!=t.scopeRef&&(r=u.isArray(e)?e.map((function(e){var i=m.getRef(t.scopeRef,e,n);return 0===t.id.indexOf(S.CHILDREN)&&i===S.CHILDREN?e:m.resolvePath(i,e)})):"_owner"===(i=m.getRef(t.scopeRef,n.context,n))?e:m.resolvePath(i,n.context)),r}(o,e,t),l=u.isArray(o)?o:[o],c=l.map((function(e){return m.resolvePath(i,e,{optional:"_children"===u.first(n)})})),h=u.isArray(s)?s:[s];return 1===c.length&&h.length>1&&h.forEach((function(e,t){l[t]=l[t]||l[0],c[t]=c[t]||c[0]})),new a(c).map(function(n,i){if(null!=n){var r=u.defaults({context:h[i]},t),o=u.defaults({context:l[i]},t);return r.params=function(e,t){return u.mapValues(e.params||{},(function(e){return m.getRef(e,t.context,t)}))}(e,o),{actions:n.actions,data:r}}}.bind(this)).filter(u.identity)},R=function(e,t){return e[o.evaluateAction(e,t)?"thenActions":"elseActions"]},_={exe_actiongroup:function(e,t){return k(e,t).map((function(e){return O.traceActions(e.actions,e.data)})).flatten()},if_action:function(e,t){return O.traceActions(R(e,t),t)}},M={};M[i.EXE_ACTIONGROUP]="executeActionGroup",M[i.IF_ACTION]="evaluateConditional",M[i.FOREACH]="executeLoop",M[i.DEBUG_TRACE]="logDebugMessage",M[i.DEBUG_ERROR]="logErrorMessage";var O={mixins:[s,y,h.Events],shortEvents:{self:M},executeActions:function(e,t){var n,i,r=0,o=e.length,s=!1;if(o>0)do{n=e[r],s&&"close_window"!==n.kind?w("executeActions","skip action:",n.id):(this.slideJumpPerformed=!1,i=u.clone(t),this.executeAction(n,i),t.cancel=i.cancel,s=A(n)||s||this.slideJumpPerformed)}while(++r<o);return this.slideJumpPerformed=s,this},executeAction:function(e,t){if(!0!==d.silenceActions[e.kind]){var n,i;t&&t.context||b("executeAction","Cannot execute action without a context:",x(e.kind));var o=null!=t.context.getClosestAncestorByKind&&t.context.getClosestAncestorByKind("slide",!0);return"close_window"!==e.kind&&"hidetimer"!==e.kind&&t.context.isAncestral&&p.getPath(o,"destroyed")?(w("executeActions","skip action:",e.id),this):(c.shouldSkipAction(o,e)||(n=function(e,t){var n=t.context,i=I(e,t);return!!i&&m.resolvePath(i.replace(/^\./,""),n,{optional:!0})}(e,t),(i=T(e)?r:D(e)?O:n)||b("executeAction","the object",p.doubleQuote(I(e,t)),"does not exist in this scope:",p.doubleQuote(p.stripPlayer(t.context.absoluteId||"")),"to execute the action",x(e.kind)),t.actionTarget=n,p.applyMethod("triggerAction",i,e,t)),this)}},executeActionGroup:function(e,t){return k(e,t).forEach(function(e){var n=e.actions,i=e.data;this.executeActions(n,i),i.cancel&&(t.cancel=i.cancel)}.bind(this)),this},evaluateConditional:function(e,t){var n=R(e,t);return n&&this.executeActions(n,t),this},executeLoop:function(e,t){e.iterables.forEach((function(n){var i=u.defaults({iterables:n.valueref},t);O.executeActions(e.actions,i)}))},logMessage:function(e,t,n){if(f.debugMode){var i="debug"===e;console[i?"log":"error"](e.toUpperCase()+":",t.message),i||f.throwError()}},traceActions:function(e,t){return null==e?a.empty:new a(e).map((function(e){var n=_[e.kind];return null!=n?n(e,t):[e]})).flatten()},isJumpAction:A};return O.logDebugMessage=u.partial(O.logMessage,"debug"),O.logErrorMessage=u.partial(O.logMessage,"error"),v.mix(O),v.initMixinsOf(O),E.global=C(r),E.meta=C(O),l.initialize(O),O}.call(t,n,t,e))||(e.exports=i)},2486:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r=n(7877),o=n(3949),s=n(4998),a=n(5749),l=n(4484).parseTemplate,c=DS._,u=DS.Backbone,h=DS.playerGlobals,d=DS.windowManager,p=DS.constants,f=DS.events,g=DS.detection,m=DS.pubSub,v=DS.mixer,y=DS.utils,S=DS.resumer,b=DS.errorManager,w=DS.shortEventable,x=DS.resolver,C=DS.webObjectHelper,E=DS.slidesController,P=DS.flagManager,T=DS.ThreeSixtyImage,D=b.throwError("actionator"),A=c.debounce((function(){return m.trigger(f.request.NEXT_SLIDE)}),300,{leading:!0,trailing:!1}),I=function(){var e=d.getCurrentWindow(),t=e.getCurSlide();return e.isWaitingForSlideLoad()||t&&!t.timelineReady},k={mixins:[s,w,u.Events],shortEvents:{self:(i={},i[o.SAVE_RESUME_DATA]="saveResume",i[o.NOTIFY_PREVIEW]="notifyPreview",i[o.ENABLE_FRAME_CONTROL]="enableFrameControl",i[o.SET_FRAME_LAYOUT_TYPE]="setFrameLayout",i[o.SET_WINDOW_CONTROL_LAYOUT]="setWindowControlLayout",i[o.SET_FRAME_LAYOUT]="setFrameLayoutFromLayout",i[o.SET_WINDOW_CONTROL_VISIBLE]="changeWindowControl",i[o.ENABLE_WINDOW_CONTROL]="changeWindowControl",i[o.TOGGLE_WINDOW_CONTROL]="changeWindowControl",i[o.TOGGLE_WINDOW_CONTROL_VISIBLE]="changeWindowControl",i[o.GOTOPLAY]="changeSlide",i[o.TRIGGER_NEXT_SLIDE]="advanceSlide",i[o.TRIGGER_PREV_SLIDE]="triggerPrevSlideClicked",i[o.TRIGGER_SUBMITALL_SLIDE]="onSubmitAll",i[o.TRIGGER_SUBMIT_SLIDE]="onSubmitSlide",i[o.TRIGGER_SLIDE_FINISH]="onSlideFinish",i[o.HISTORY_PREV]="goBack",i[o.HISTORY_PREV_GROUP]="goBackHistoryGroup",i[o.CLOSE_WINDOW]="closeWindow",i[o.CLOSE_PLAYER]="closePlayer",i[o.PRINT_SLIDE]="printSlide",i[o.OPEN_VIDEO]="openVideo",i[o.OPEN_URL]="openUrl",i[o.RESUME_PLAYER]="applyPlayerResumeData",i[o.PLAYNEXTDRAWSLIDE]="advanceSlideDrawSlide",i[o.GET_MOUSE_POSITION]="getMousePosition",i[o.ZOOMPAN]="zoomPan",i[o.CLOSEWNDGOTOSLIDE]="closeWndGotoSlide",i[o.NEXTVIEWEDSLIDE]="nextViewedSlide",i[o.EXE_JAVASCRIPT]="exeJavaScript",i[o.BACKGROUND_AUDIO_CONTROL]="backgroundAudioControl",i[o.EMAILTO]="mailTo",i[o.RESET_PLAYER]="resetPlayer",i[o.RESET_SLIDE]="resetSlide",i[o.PRINTRESULTS]="printQuizResults",i[o.NOTIFYLINKSELECTED]="notifyLinkSelected",i[o.CANCEL_EVENT]="cancelEvent",i[o.TRIGGER_HOST_EVENT]="triggerHostEvent",i[o.SET_COURSE_STATUS]="setCourseStatus",i[o.XAPI_SEND_STATEMENT]="sendXApiStatement",i)},onSubmitAll:function(){d.getCurrentWindowSlide().executePlayerEvent("onsubmitallslide")},onSubmitSlide:function(){d.getCurrentWindowSlide().executePlayerEvent("onsubmitslide")},onSlideFinish:function(){d.getCurrentWindowSlide().executePlayerEvent("onfinishslide")},resetSlide:function(){d.getCurrentWindowSlide().reset()},saveResume:function(e,t){var n=x.getRef(e.slideref||e.slideRefs);x.resolvePath(n,t.context).prepareResumeData({retainState:!0})},notifyPreview:function(e,t){m.trigger(f.preview.NOTIFY,e.message,e.data)},mailTo:function(e){var n,i="mailto:"+e.address;t.isPreview()?m.trigger(f.preview.NOTIFY,"PREVIEW_EMAILTO"):g.device.isMobile?window.top.location.assign("mailto:"+e.address):((n=document.createElement("iframe")).src=i,c.extend(n.style,{height:"1px",width:"1px",border:"0"}),r.addToLib(n),setTimeout((function(){r.removeElFromParent(n),n=null}),200))},execUserJs:window.ExecuteScript,exeJavaScript:function(e){if(t.isPreview())m.trigger(f.preview.NOTIFY,"PREVIEW_EXE_JAVASCRIPT");else try{this.execUserJs(e.id)}catch(e){D("exeJavaScript",e.message||"Unknown custom script error")}},openVideo:function(e,t){e.windowsize="custom",m.trigger(f.window.OPEN_EXTERNAL,e,t)},getMousePosition:function(e,t){y.applyMethod("triggerAction",t.context,e,t)},zoomPan:function(e,t){y.applyMethod("triggerAction",t.context,e,t)},closeWndGotoSlide:function(e,t){var n=e.objRef.value;m.trigger(f.window.CLOSING,e.closewindowid),m.trigger(f.request.NEXT_SLIDE,n)},nextViewedSlide:function(e,t){var n=x.resolvePath(x.getRef(e.quizRef),t.context);y.applyMethod("triggerAction",n,e,t)},openUrl:function(e,t){m.trigger(f.window.OPEN_EXTERNAL,e,t)},initialize:function(e){t=e},setWindowControlLayout:function(e,t){var n=t.context.prop("WindowId")||d.getCurrentWindowId();m.trigger(f.controlLayout.CHANGED,e.name,n)},setFrameLayout:function(e,t){m.trigger(f.controlLayout.CHANGED,e.name,p.refs.FRAME)},setFrameLayoutFromLayout:function(e){m.trigger(f.controlLayout.CHANGED,e.name,p.refs.FRAME)},changeControls:function(e,t,n){var i=[(-1===t.name.indexOf("swipe")?"navcontrols":"swipe")+":changed",t];e&&i.push(n),m.trigger.apply(m,i)},isLightBox:function(e){if(null!=e)return-1!=e.indexOf("Lightbox")},changeSlide:function(e,n){var i=this;if(!I()){var r=y.getPath(n,"actionTarget.absoluteId");if(null==r&&t.isPreview())m.trigger(f.preview.NOTIFY,"PREVIEW_SLIDE_MISSING");else{if(this.isLightBox(e.window))if(T.isWaitingLoad(!1,(function(){i.changeSlide(e,n)})))return;m.trigger(f.request.NEXT_SLIDE,r,e.window)}}},triggerPrevSlideClicked:function(e){d.getCurrentWindowSlide().executePlayerEvent("onprevslide")},goBack:function(e){I()||m.trigger(f.request.PREV_SLIDE)},goBackHistoryGroup:function(e,t){I()||m.trigger(f.request.PREV_HISTORY_GROUP)},advanceSlide:function(e){I()||A()},advanceSlideDrawSlide:function(e){I()||m.trigger(f.request.NEXT_DRAW_SLIDE)},closeWindow:function(e){m.trigger(f.window.CLOSING,e.id)},closePlayer:function(){m.trigger(f.player.CLOSING)},printSlide:function(e,n){if(!g.theme.isClassic)if(t.isPreview())m.trigger(f.preview.NOTIFY,"PREVIEW_PRINT_SLIDE");else{var i=x.getRef(e.objRef,n),r=x.resolvePath(i,n);a.printSlide(r)}},applyPlayerResumeData:function(e){m.trigger(f.loader.UNMUTE),S.applyResumeData(e.resume)},resetPlayer:function(e,t){m.trigger(f.player.RESET);var n=d.getCurrentWindowSlide(),i=E.getSlide(e.startslideid,n);null!=n&&n.absoluteId===i.absoluteId?(S.clearResumeData(),n.reset()):(null!=y.getPath(n,"currView.killSlide")&&n.currView.killSlide(),S.clearResumeData(),this.changeSlide(e,t))},printQuizResults:function(e,t){a.printQuizResults(e,t)},notifyLinkSelected:function(e,t){m.trigger(f.actionlink.VIEWED,e.id)},cancelEvent:function(e,t){t.cancel=!0},triggerHostEvent:function(e){C.triggerHostEvent(e.eventName)},setCourseStatus:function(e){if(P.hasFlag(P.constants.MULTIPLE_QUIZ_TRACKING))h.presentation.scorings().manuallySetActionStatus(e.status);else{var t=h.presentation.scoring();"action"===t.type()&&(t.prop("Status",t.get(e.status?"passStatus":"failStatus")),m.trigger(f.course.MANUALLY_COMPLETED,e.status,t))}},sendXApiStatement:function(e){var t=l(e.statement).updateString;m.trigger(f.course.SEND_XAPI_STATEMENT,JSON.parse(t()))},backgroundAudioControl:function(e){null!=e.id&&m.trigger(f.backgroundAudio.SWITCH_PLAYLIST,{id:e.id}),m.trigger(f.backgroundAudio.CONTROL,{command:e.command})}};return c.extend(k,{changeWindowControl:c.partial(k.changeControls,!0),enableFrameControl:c.partial(k.changeControls,!1)}),v.mix(k),v.initMixinsOf(k),k}.call(t,n,t,e))||(e.exports=i)},3949:function(e,t,n){var i;void 0===(i=function(e){"use strict";return{ADD_CHOICE_RESPONSE:"action:addchoiceresponse",ADD_PAIR_RESPONSE:"action:addpairresponse",ADJUST_VAR:"action:adjustvar",BRING_TO_FRONT:"action:bringtofront",BACKGROUND_AUDIO_CONTROL:"action:background_audio_control",CANCEL_EVENT:"action:cancel_event",CLOSE_PLAYER:"action:close_player",PRINT_SLIDE:"action:print_slide",CLOSEWNDGOTOSLIDE:"action:closewndgotoslide",CLOSE_WINDOW:"action:close_window",DEBUG_TRACE:"action:debug_trace",DEBUG_ERROR:"action:debug_error",EMAILTO:"action:emailto",ENABLE_FRAME_CONTROL:"action:enable_frame_control",ENABLE_WINDOW_CONTROL:"action:enable_window_control",EVAL_ALL_UNANSWERED:"action:eval_all_unanswered",EVAL_INTERACTION:"action:eval_interaction",EXE_ACTIONGROUP:"action:exe_actiongroup",EXE_ANIMATION:"action:exe_animation",EXE_JAVASCRIPT:"action:exe_javascript",FOREACH:"action:foreach",GET_MOUSE_POSITION:"action:get_mouse_position",GOTOPLAY:"action:gotoplay",HIDE:"action:hide",HIDE_SLIDELAYER:"action:hide_slidelayer",HIDE_TIMER:"action:hidetimer",HISTORY_PREV:"action:history_prev",HISTORY_PREV_GROUP:"action:history_prev_group",NEXTVIEWEDSLIDE:"action:nextviewedslide",IF_ACTION:"action:if_action",MEDIA_SEEK:"action:media_seek",MEDIA_PLAY:"action:media_play",MEDIA_PAUSE:"action:media_pause",MEDIA_TOGGLE:"action:media_toggle",MOVE_TO:"action:moveto",NEXT_VIEWED_SLIDE:"action:nextviewedslide",NOTIFYLINKSELECTED:"action:notifylinkselected",NOTIFY_PREVIEW:"action:notify_preview",OBJECT_ACTION:"action:object_action",OPEN_VIDEO:"action:open_video",OPEN_URL:"action:open_url",PAUSE_ANIMATIONS:"action:pause_animations",PAUSE_TIMELINE:"action:pause_timeline",PAUSE_TIMER:"action:pausetimer",PLAYNEXTDRAWSLIDE:"action:playnextdrawslide",PRINTRESULTS:"action:printresults",RESET_QUIZ:"action:resetquiz",RESET_TIMER:"action:resettimer",RESET_PLAYER:"action:reset_player",RESET_SLIDE:"action:resetslide",RESTORE_RESUME_STATE:"action:restore_resume_state",RESUME_PLAYER:"action:resume_player",RESUME_TIMELINE:"action:resume_timeline",SAVE_RESUME_DATA:"action:save_resume_data",SEEK_TIMELINE:"action:seek_timeline",SET_ACTIVE_TIMELINE:"action:setactivetimeline",SET_COURSE_STATUS:"action:set_course_status",SET_DRAW_REVIEW:"action:setdrawreview",SET_ENABLED:"action:set_enabled",SET_FOCUS:"action:setfocus",SET_FRAME_LAYOUT:"action:set_frame_layout",SET_FRAME_LAYOUT_TYPE:"action:set_frame_layout_type",SET_OBJ_STATE:"action:setobjstate",SET_QUIZ_COMPLETE:"action:setquizcomplete",SET_REVIEW:"action:set_review",SET_VOLUME:"action:set_volume",SHOW_SLIDELAYER:"action:show_slidelayer",SET_WINDOW_CONTROL_LAYOUT:"action:set_window_control_layout",SET_WINDOW_CONTROL_VISIBLE:"action:set_window_control_visible",SHOW:"action:show",SHOW_TIMER:"action:showtimer",START_TIMER:"action:starttimer",STORE_RESUME_DATA:"action:store_resume_data",TOGGLE_WINDOW_CONTROL:"action:toggle_window_control",TOGGLE_WINDOW_CONTROL_VISIBLE:"action:toggle_window_control_visible",TRIGGER_HOST_EVENT:"action:trigger_host_event",TRIGGER_NEXT_SLIDE:"action:trigger_next_slide",TRIGGER_PREV_SLIDE:"action:trigger_prev_slide",TRIGGER_SLIDE_FINISH:"action:trigger_slide_finish",TRIGGER_SUBMITALL_SLIDE:"action:trigger_submitall_slide",TRIGGER_SUBMIT_SLIDE:"action:trigger_submit_slide",TRIGGER_WEBOBJECT_CLIENT_EVENT:"action:trigger_webobject_client_event",UPDATE_SCROLL_POS:"action:updatescrollpos",UPDATE_SCROLL_HEIGHT:"action:updatescrollheight",ZOOMPAN:"action:zoompan",XAPI_SEND_STATEMENT:"action:xapi_send_statement"}}.call(t,n,t,e))||(e.exports=i)},9656:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS,n=t.slidesController,i=t.detection.env.isRise;return{prepare:function(e){return new Promise((function(t){if(i){var r=n.getSlide(n.getEntrypoint()),o=e.assetLib(),s=!1;if(null!=r){var a=e.slideMap(),l=r.fullId();s=a.getRefById(l).assetIds().some((function(e){return"panorama"===o.findWhere({id:e}).get("imageType")}))}t(s)}else t(!1)}))}}}.call(t,n,t,e))||(e.exports=i)},2658:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(9763),r=n(7877),o=n(6849),s=DS._,a=DS.errorManager,l=DS.vow,c=a.throwError("assetManager"),u=a.backtick,h={audio:1,video:2};return{initialize:function(e){return t=e,this},getAsset:function(e){var n=t.get(e);return n||c("getAsset","No asset with id of",u(e)),n},getAssetUrl:function(e){return this.getAsset(e).url()},offloadAssets:function(e){e.forEach(function(e){var t=this.getAsset(e);"audio"===t.type()?i.wipeFromBuffer(t.url()):"js"===t.type()&&o.clearAsset(t.url())}.bind(this))},prioritizeAssets:function(e){var t=e.map(this.getAsset.bind(this));return s.sortBy(t,(function(e){return h[e.type()]||0}))},loadAssets:function(e,t){s.isArray(e)||c("loadAssets","Must pass in an array of asset ids");var n=s.invokeMap(this.prioritizeAssets(e),"load",t),i=l.after.apply(null,n);return i.dfds=s.map(n,"dfd"),i},clearAllAssets:function(){for(var e,t=r.getMediaLoaderSvg();e=t.lastElementChild;)t.removeChild(e)}}}.call(t,n,t,e))||(e.exports=i)},2828:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,n=DS.utils;return{initialize:function(e){t=e},load:function(e){return t.load(n.stripPlayer(e.absoluteId))}}}.call(t,n,t,e))||(e.exports=i)},9763:function(e,t,n){var i;i=function(e){"use strict";var t,i,r,o=n(3047),s=DS,a=s._,l=s.audioContext,c=s.utils,u=s.detection,h=(s.events,s.vendorOverrides),d=s.superagent,p=s.animationClock,f=(s.pubSub,DS.globalEventHelper),g=f.addBodyListener,m=f.removeBodyListener,v=1e-6,y=c.createSuper(o),S={},b={},w=!1,x={},C=function(){return"suspended"===P.context().state},E=h.destroyAudioContext||function(){null!=t&&clearTimeout(t),t=setTimeout((function(){null!=i&&(i.close(),i=null)}),3e4)},P=function(){o.apply(this,arguments)};a.extend(P,o,{context:function(){return null==i&&(i=l&&new l,C()&&g("mousedown",(function e(){i.onstatechange(),m("mousedown",e)})),i.onstatechange=function(){C()&&null!=i&&i.resume()}),null!=t&&(clearTimeout(t),t=null),i},prepare:function(e){var t,n=!0,i=u.browser.isFF?window.setTimeout:function(e){return e()};this.playInaudibleBeep(),C()&&null!=(t=P.context().resume())?window.requestAnimationFrame((function(){t.then((function(){n=!1,C()&&(w=!0),e()})).catch((function(){n=!1,w=!0,e()})),i((function(){n&&(w=C(),e())}),250)})):e()},checkNeedsApproval:function(){return w},playInaudibleBeep:function(){var e=new T,t=function(){e.destroy(),this.prepareScratchBuffer()}.bind(this);return e.play(),u.os.isAndroid?setTimeout(t,30):t(),this},prepareScratchBuffer:function(){var e=this.context();r=e.createBuffer(1,1,22050)}}),P.prototype=new o,a.extend(P.prototype,{constructor:P,initialize:function(){y("initialize").apply(this,arguments),DS.flagManager.playbackSpeedControl?this.contextStartTime=p.time():this.contextStartTime=0,this.dfd.catch(function(){P.wipeFromBuffer(this.url)}.bind(this))},load:function(){return null!=S[this.url]?(this.buffer=S[this.url],this.dfd.resolve()):d.get(this.url).on("request",(function(){this.xhr.responseType="arraybuffer"})).end(function(e,t){e?this.dfd.reject(e):this.decode(t.xhr.response)}.bind(this)),this},decode:function(e){P.context().decodeAudioData(e,this.onDecodeSuccess.bind(this),this.dfd.reject)},onDecodeSuccess:function(e){e?(S[this.url]=this.buffer=e,this.dfd.resolve()):this.dfd.reject("Could not load audio buffer from "+this.url)},onEnded:function(){this.destroySource(),this.destroyGain(),this.unmarkAsPlaying(),y("onEnded").apply(this,arguments)},createGain:function(){var e=P.context();this.ctx=e,this.gainNode=e.createGain();var t=this.options.parentId;null!=t&&DS.flagManager.backgroundAudio?(null==x[t]&&(x[t]={parent:e.createGain(),fader:e.createGain()},x[t].parent.connect(e.destination),x[t].fader.connect(x[t].parent)),this.gainNode.connect(x[t].fader)):this.gainNode.connect(e.destination),this.gainNode.gain.value=this.volume},fadeSoundGroup:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=this.options.parentId;if(null!=x[i]){var r=x[i].parent.gain;n&&(r.value=n),r.setValueAtTime(r.value,this.ctx.currentTime),r.exponentialRampToValueAtTime(Math.max(v,e),this.ctx.currentTime+t)}},fadeIn:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.options.parentId;if(null!=x[n]){var i=x[n].fader.gain;t||(i.value=v),i.setValueAtTime(i.value,this.ctx.currentTime),i.exponentialRampToValueAtTime(1,this.ctx.currentTime+e)}},fadeOut:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.options.parentId;if(null!=x[n]){var i=x[n].fader.gain;t||(i.value=1),i.setValueAtTime(i.value,this.ctx.currentTime),i.exponentialRampToValueAtTime(v,this.ctx.currentTime+e)}},destroyGain:function(){null!=this.gainNode&&(this.gainNode.disconnect(),this.gainNode=null)},createSource:function(){var e=P.context();this.source=e.createBufferSource(),this.source.buffer=this.buffer,this.bindSourceOnEnded(),this.source.connect(this.gainNode)},destroySource:function(){if(null!=this.source){this.unbindSourceOnEnded();try{this.source.stop(0)}catch(e){}this.source.disconnect();try{this.source.buffer=r}catch(e){}this.source=null}},clearTimeUpdateInterval:function(){clearInterval(this.timeUpdateTimeoutHandle)},startTimeUpdateInterval:function(){this.clearTimeUpdateInterval(),this.timeUpdateTimeoutHandle=setInterval(function(){this.onTimeUpdateDelegate(this.getCurrentTime())}.bind(this),250)},setPlaybackSpeed:function(e){null!=this.source&&null!=this.source.playbackRate&&(this.source.playbackRate.value=e)},deferredPlay:function(){var e=P.context();this.destroySource(),this.destroyGain(),this.startAt<this.getDuration()?("interrupted"===e.state&&e.resume(),this.createGain(),this.createSource(),DS.flagManager.playbackSpeedControl?(this.contextStartTime=p.time(),this.source.start(0,Math.max(0,this.startAt)),null!=this.source.playbackRate&&(this.source.playbackRate.value=DS.appState.getPlaybackSpeed())):(this.contextStartTime=e.currentTime,this.source.start(this.contextStartTime+Math.max(0,-this.startAt),Math.max(0,this.startAt))),this.startTimeUpdateInterval(),this.isPlaying=!0,this.markAsPlaying()):this.onEnded()},deferredPause:function(){this.isPlaying&&(this.startAt=this.getCurrentTime(),this.destroySource(),this.destroyGain(),this.isPlaying=!1,this.unmarkAsPlaying(),this.clearTimeUpdateInterval())},getCurrentTime:function(){return this.isPlaying?DS.flagManager.playbackSpeedControl?(p.time()-this.contextStartTime+1e3*this.startAt||0)/1e3:P.context().currentTime-this.contextStartTime+this.startAt||0:this.startAt},getDuration:function(){return c.getPath(this.buffer,"duration")},setVolume:function(e){return this.volume=e,null!=this.gainNode&&(this.gainNode.gain.value=e),this},destroy:function(e){return null==e&&(e=!u.device.isMobile),this.destroySource(),this.destroyGain(),this.unmarkAsPlaying(),this.clearTimeUpdateInterval(),e||P.wipeFromBuffer(this.url),y("destroy").apply(this,arguments),this},bindSourceOnEnded:function(){this.onEndedOnceDelegate=a.once(this.onEndedDelegate),this.source.onended=this.onEndedOnceDelegate,this.source.addEventListener("ended",this.onEndedOnceDelegate)},unbindSourceOnEnded:function(){this.source.onended=null,this.source.removeEventListener("ended",this.onEndedOnceDelegate),this.onEndedOnceDelegate=null},markAsPlaying:function(){b[this.url]=!0},unmarkAsPlaying:function(){b[this.url]=null,a.every(b,a.isNull)&&(b={},E())}}),P.wipeFromBuffer=function(e){S[e]=null};var T=function(){P.apply(this,arguments),this.url="#inaudible",this.volume=0,this.dfd.resolve()};return T.prototype=new P,a.extend(T.prototype,{constructor:T,createSource:function(){var e=P.context();this.source=e.createOscillator(),this.source.type="sine",this.source.frequency.value=22e3,this.source.connect(this.gainNode)},getDuration:function(){return 1/0}}),P}.call(t,n,t,e),void 0===i||(e.exports=i)},3047:function(e,t,n){var i;i=function(e){"use strict";var t=n(9485),i=DS._,r=DS.Backbone,o=DS.errorManager,s=DS.events,a=DS.pubSub,l=DS.vow,c=(DS.flagManager,s.detection),u=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.deferredOp=i.noop,this.options=n,this.dfd=l.Deferred(),this.dfd.then(function(){this.deferredOp(),this.deferredOp=i.noop}.bind(this)),this.dfd.catch(function(e){o.throwError("AudioClipBase","constructor",'could not load "',this.url,'" ',e)}.bind(this)),this.url=e,this.id=t,this.startAt=0,DS.flagManager.playbackSpeedControl&&(this.playbackSpeed=DS.appState.getPlaybackSpeed()),this.isPlaying=!1,this.isEnded=!1,this.onEndedDelegate=this.onEnded.bind(this),this.onTimeUpdateDelegate=this.onTimeUpdate.bind(this),i.bindAll(this,"onVisibilityHidden","onVisibilityShown"),this.initialize()};u.prepare=i.noop,u.checkNeedsApproval=i.noop;var h=u.prototype;i.extend(h,r.Events,{initialize:function(){var e=this;this.detectionSubscriptions={},this.detectionSubscriptions[c.VISIBILITY_HIDDEN]=this.onVisibilityHidden,this.detectionSubscriptions[c.VISIBILITY_SHOWN]=this.onVisibilityShown,a.on(this.detectionSubscriptions),DS.flagManager.playbackSpeedControl&&a.on(s.player.PLAYBACK_SPEED_CHANGED,(function(t){e.handlePlaybackSpeedChanged(t)}))},handlePlaybackSpeedChanged:function(e){this.setPlaybackSpeed(e)},onEnded:function(){this.isPlaying=!1,this.isEnded=!0,this.trigger(s.audioClip.ENDED,this.url)},onTimeUpdate:function(e){this.isPlaying&&this.trigger(s.audioClip.TIME_UPDATE,e)},onVisibilityHidden:function(){this.isPlaying&&(this.wasPlayingWhenVisible=!0,this.pause())},onVisibilityShown:function(){this.wasPlayingWhenVisible&&(this.wasPlayingWhenVisible=!1,this.play())},doDeferredOp:function(e){l.isResolved(this.dfd)?e():this.deferredOp=e},play:function(e){return null!=e&&(this.startAt=e),this.doDeferredOp(this.deferredPlay.bind(this)),this},pause:function(){return this.doDeferredOp(this.deferredPause.bind(this)),this},seek:function(e){return this.startAt=e,this.isPlaying&&this.play(),this},destroy:function(){return a.off(this.detectionSubscriptions),this}});var d=t.anySoundStarted,p=t.anySoundStopped;return Object.defineProperties(u.prototype,{isPlaying:{get:function(){return this.soundIsPlaying},set:function(e){this.options.isBackgroundAudio||(e&&!this.soundIsPlaying?d():!e&&this.soundIsPlaying&&p()),this.soundIsPlaying=e}}}),u}.call(t,n,t,e),void 0===i||(e.exports=i)},3116:function(e,t,n){var i;i=function(e){"use strict";var t=n(3047),i=DS,r=i._,o=i.constants,s=i.utils,a=i.globalEventHelper.addBodyListener,l=i.flagManager,c=s.createSuper(t),u={},h=[],d=!1,p=function(e){var t=document.createElement("audio");return t.setAttribute("preload","auto"),document.body.appendChild(t),t},f=function(e,t){u[t]=null,h.push(e),e.src=o.TINY_AUDIO,e.load()},g=function(){t.apply(this,arguments)},m=!1;return r.extend(g,t,{prepare:function(e){if(!l.useAudioElement||!d){var t;d=!0;var n=document.createElement("audio"),i=function(){var t,n;l.useAudioElement&&(t=DS.presentation.assetLib(),n=Math.min(20,t.getAudioCount()),r.times(n,(function(){var e=p();e.src=o.TINY_AUDIO,e.load();var t=function t(){if(e.removeEventListener("canplaythrough",t),e.removeEventListener("canplay",t),m)var n=function(){i(),e.play().then((function(){h.push(e)})).catch((function(){DS.errorManager.throwErrorSoft("AudioClipElement","initWhenReady","Could not initialize audio")}))},i=r.flow(a("click",n),a("touchend",n));else h.push(e)};e.addEventListener("canplay",t),e.addEventListener("canplaythrough",t)}))),e()};n.setAttribute("src",o.TINY_AUDIO),null!=(t=n.play())?t.then((function(){i()})).catch((function(){m=!0,i()})):i()}},checkNeedsApproval:function(){return m}}),g.prototype=new t,r.extend(g.prototype,{constructor:g,initialize:function(){this.refCount=0,this.elementId=l.useAudioElement?"".concat(this.url,"-").concat(this.id):this.url,DS.flagManager.playbackSpeedControl&&r.bindAll(this,"setPlaybackSpeed"),c("initialize").apply(this,arguments),this.dfd.catch(function(){u[this.elementId]=null}.bind(this)),this.playTimeout=null,this.updateTimeDelegate=this.updateTime.bind(this)},onEnded:function(){this.startTime=this.getDuration(),c("onEnded").call(this,arguments)},updateTime:function(e){this.onTimeUpdateDelegate(e.target.currentTime)},load:function(){return null==u[this.elementId]?(this.refCount=1,l.useAudioElement?this.el=(this.elementId,h.length>0?h.shift():p()):(this.el=new window.Audio,this.el.setAttribute("preload","auto"),document.body.appendChild(this.el)),this.el.src=this.url,this.el.load(),u[this.elementId]=this.el):(this.refCount++,this.el=u[this.elementId],this.el.readyState>=this.el.HAVE_ENOUGH_DATA&&this.dfd.resolve()),DS.flagManager.playbackSpeedControl&&(this.el.playbackRate=this.playbackSpeed),this.el.addEventListener("canplaythrough",this.dfd.resolve),this.el.addEventListener("error",this.dfd.reject),this.el.addEventListener("ended",this.onEndedDelegate),this.el.addEventListener("timeupdate",this.updateTimeDelegate),this},setPlaybackSpeed:function(e){null!=this.el&&(this.el.playbackRate=e)},deferredPlay:function(){var e=this.el.play.bind(this.el);this.clearPlayTimeout(),this.startAt<this.getDuration()?(this.startAt<0?(this.negative=!0,this.el.pause(),this.setCurrentTime(0),this.playTimeout=setTimeout(e,s.toMilliseconds(-this.startAt))):(this.negative=!1,this.setCurrentTime(this.startAt),e()),this.performanceStartTime=(new Date).getTime(),this.isPlaying=!0):(this.pause(),this.onEnded())},deferredPause:function(){this.isPlaying&&(this.clearPlayTimeout(),0===this.el.currentTime&&this.negative?this.startAt=s.toSeconds((new Date).getTime()-this.performanceStartTime)+this.startAt:this.startAt=this.el.currentTime,this.el.pause(),this.isPlaying=!1)},getDuration:function(){return this.el.duration},setVolume:function(e){return this.el.volume=e,this},setCurrentTime:function(e){this.el.currentTime!==e&&(this.el.currentTime=e)},destroy:function(e){if(this.refCount--,!(this.refCount>0))return this.clearPlayTimeout(),null!=this.el&&(this.el.removeEventListener("canplaythrough",this.dfd.resolve),this.el.removeEventListener("error",this.dfd.reject),this.el.removeEventListener("ended",this.onEndedDelegate),this.el.removeEventListener("timeupdate",this.updateTimeDelegate),e||(l.useAudioElement?f(this.el,this.elementId):(null!=this.el.parentNode&&this.el.parentNode.removeChild(this.el),u[this.elementId]=null))),c("destroy").apply(this,arguments),this},clearPlayTimeout:function(){clearTimeout(this.playTimeout),this.playTimeout=null}}),g}.call(t,n,t,e),void 0===i||(e.exports=i)},3723:function(e,t,n){var i;i=function(e){"use strict";var t=n(9763),i=n(3116),r=n(9485),o=DS.detection,s=DS.pubSub,a=DS.events,l=DS.slidesController,c=DS.flagManager,u=function(){var e=o.capabilities.hasAudioApi;return DS.flagManager.useAudioElement?!!o.os.isIOS&&e:e},h=function(){return u()?t:i},d={};s.on("nextSlide:requesting",(function(){d={}})),s.on(a.main.PREPARE_AUDIO,(function(e){o.device.isMobile&&p.prepare(e)}));var p={prepare:function(e){return new Promise((function(t){var n,i,o,s,a,u=!1,d=e.assetLib();c.backgroundAudio&&(r.init(e,p),r.hasAudio())?r.ready(t):d.hasType("audio")?(n=h()).prepare((function(){n.checkNeedsApproval()&&(null==(a=l.getSlide(l.getEntrypoint()))?u=!0:(i=e.slideMap(),o=a.fullId(),s=i.getRefById(o),u=s.assetIds().some((function(e){return"audio"===d.find({id:e}).type()})))),t(u)})):t(!1)}))},loadUrl:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!=d[n])return d[n].load(),d[n];var r=i.webAudio?t:h(),o=new r(e,n,i);return d[n]=o,o.load(),o},useAudioApi:u};return p}.call(t,n,t,e),void 0===i||(e.exports=i)},9485:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,a(i.key),i)}}function s(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}i=function(e){"use strict";var t,n,i,r,a,l=DS,c=l.utils,u=l.pubSub,h=l.events,d=l.constants,p=.5,f=!1,g=function(){function e(t,n){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,"onAnyVideoStarted",(function(e){i.pauseForVideo&&(i.videosStarted=!0,i.videoVolumeLow=!1,clearTimeout(i.forceLowFadeTimeout),i.currentClip.fadeSoundGroup(0,p),clearTimeout(i.videoPauseTimeout),i.videoPauseTimeout=setTimeout((function(){i.currentClip.pause()}),p))})),s(this,"onAllVideosStopped",(function(e){i.pauseForVideo&&(i.videosStarted=!1,i.isEnabled&&i.currentClip.play(),m.activeMedia>1&&(i.videoVolumeLow=!0,i.forceLowFadeTimeout=setTimeout((function(){i.currentClip.fadeSoundGroup(i.fadedVolume,p)}),250)))})),s(this,"onAnySoundStarted",(function(e){})),s(this,"onAllSoundsStopped",(function(e){})),s(this,"onAnyMediaStarted",(function(e){i.videosStarted||i.currentClip.fadeSoundGroup(i.fadedVolume,p)})),s(this,"onAllMediaStopped",(function(e){i.videoVolumeLow?i.videoVolumeLow=!1:i.currentClip.fadeSoundGroup(1,p)})),s(this,"onAudioStart",(function(){f||(i.autoPlay&&(i.defaultVolume(),i.playAndOrFadeIn()),f=!0)})),s(this,"onGlobalVolumeChanged",(function(e){i.currentGlobalVol=e,i.currentVol=e*i.volume,i.setVolume(i.currentVol)})),s(this,"onTimelinePaused",(function(e){e.timeline})),s(this,"onTimelinePlayed",(function(e){e.timeline})),s(this,"onControlTrigger",(function(e){"play"===e.command?i.play():"pause"===e.command?i.pause():"stop"===e.command?i.stop():"restart"===e.command&&i.restart()})),s(this,"onTimeUpdate",(function(e){if(i.fadeInOut){var t=i.currentClip.calcedDuration-e<=.7;!i.currentClip.fading&&t&&(i.currentClip.fadeOut(.7),i.currentClip.fading=!0)}})),this.idx=t,this.trackNum=0,this.trackLoadIdx=0,this.firstStarted=!1,this.isEnabled=!0,this.audioClips=[],Object.assign(this,n),this.autoAdjustVolume||(this.fadedVolume=this.volume)}var t,i,r;return t=e,i=[{key:"activate",value:function(){u.once(h.course.AUDIO_START,this.onAudioStart),u.on(h.volume.CHANGED,this.onGlobalVolumeChanged),u.on(h.slide.STARTED,this.onSlideStarted),u.on(h.course.PAUSED,this.onTimelinePaused),u.on(h.course.PLAYING,this.onTimelinePlayed),u.on(h.backgroundAudio.CONTROL,this.onControlTrigger),u.on(h.course.ANY_VIDEO_STARTED,this.onAnyVideoStarted),u.on(h.course.ALL_VIDEOS_STOPPED,this.onAllVideosStopped),u.on(h.course.ANY_SOUND_STARTED,this.onAnySoundStarted),u.on(h.course.ALL_SOUNDS_STOPPED,this.onAllSoundsStopped),u.on(h.course.ANY_MEDIA_STARTED,this.onAnyMediaStarted),u.on(h.course.ALL_MEDIA_STOPPED,this.onAllMediaStopped)}},{key:"deactivate",value:function(){u.off(h.course.AUDIO_START,this.onAudioStart),u.off(h.volume.CHANGED,this.onGlobalVolumeChanged),u.off(h.slide.STARTED,this.onSlideStarted),u.off(h.course.PAUSED,this.onTimelinePaused),u.off(h.course.PLAYING,this.onTimelinePlayed),u.off(h.backgroundAudio.CONTROL,this.onControlTrigger),u.off(h.course.ANY_VIDEO_STARTED,this.onAnyVideoStarted),u.off(h.course.ALL_VIDEOS_STOPPED,this.onAllVideosStopped),u.off(h.course.ANY_SOUND_STARTED,this.onAnySoundStarted),u.off(h.course.ALL_SOUNDS_STOPPED,this.onAllSoundsStopped),u.off(h.course.ANY_MEDIA_STARTED,this.onAnyMediaStarted),u.off(h.course.ALL_MEDIA_STOPPED,this.onAllMediaStopped)}},{key:"isCurrentPlaylist",value:function(){return a===this}},{key:"defaultVolume",value:function(){this.currentVol=d.DEFAULT_VOLUME*this.volume,this.setVolume(this.currentVol)}},{key:"play",value:function(){this.currentClip.isPlaying||this.currentClip.play()}},{key:"pause",value:function(){this.currentClip.isPlaying&&this.currentClip.pause()}},{key:"restart",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.fadeOut((function(){e.currentClip.pause(),e.currentClip.seek(0),e.playNextClip(0),e.currentVol=e.volume*e.currentGlobalVol,e.setVolume(e.currentVol)}),t?p:0)}},{key:"stop",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.fadeOut((function(){e.currentClip.pause(),e.currentClip.seek(0),e.playNextClip(0,!1),e.currentVol=e.volume*e.currentGlobalVol,e.setVolume(e.currentVol)}),t?p:0)}},{key:"setVolume",value:function(e){this.currentClip.setVolume(e<0?0:e)}},{key:"enabled",get:function(){return this.isEnabled},set:function(e){this.isEnabled=e,e?this.currentClip.play():this.currentClip.pause()}},{key:"playAndOrFadeIn",value:function(){this.currentClip.play(),this.fadeInOut&&this.currentClip.fadeIn(.7)}},{key:"playNextClip",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.trackNum=e,null!=this.currentClip&&(this.currentClip.fading=!1),this.currentClip=this.audioClips[e],this.setVolume(this.currentVol),this.currentClip.seek(0),t&&this.playAndOrFadeIn()}},{key:"prepNextClip",value:function(e){var t=e+1;t<this.audioClips.length?this.playNextClip(t):this.autoRestart&&this.playNextClip(0)}},{key:"loadAudioWithQueue",value:function(){var e,t=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},r=this.trackLoadIdx;if(r<this.tracks.length){var o=this.tracks[this.trackLoadIdx];if(null==(e=n.loadUrl(o,"courseAudioId_".concat(this.idx,"_").concat(this.trackLoadIdx),{parentId:this.trackLoadIdx,isBackgroundAudio:!0,webAudio:!0})))return;e.dfd.then((function(){t.audioClips.push(e),e.calcedDuration=e.getDuration(),e.on(h.audioClip.TIME_UPDATE,t.onTimeUpdate),e.on(h.audioClip.ENDED,(function(e){t.prepNextClip(r,t.autoPlay)})),t.trackLoadIdx++,setTimeout((function(){t.loadAudioWithQueue()}),e.calcedDuration/3),i(!0)})).catch((function(){i(!0)}))}return e}},{key:"load",value:function(e){this.currentClip=this.loadAudioWithQueue(e)}}],i&&o(t.prototype,i),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();u.on(h.backgroundAudio.SWITCH_PLAYLIST,(function(e){!function(e){var t=!0;if(null!=a){if(a===i[e])return;a.deactivate(),t=enabled}(a=i[e]).enabled=t,a.activate(),a.load((function(){}))}(e.idx)}));var m={activeMedia:0,init:function(e,i){t=e,n=i},hasAudio:function(){if(null!=r)return r;var e,n,o=t.get("backgroundAudio");return c.getPath(o,"length")>0&&o[0].tracks.length>0&&((n=!!(null!=(e=o[0].tracks[0])&&e.length>0))&&(m.currentSource=e,i=o.map((function(e,t){return new g(t,e)}))),m.isEnabled=!0),r=n,n},ready:function(e){this.hasAudio()&&((a=i[0]).activate(),a.load(e))},toggleEnabled:function(){a.enabled=!a.enabled},enabled:function(){return a.enabled}},v=0;m.anyVideoStarted=function(){u.trigger(h.course.ANY_VIDEO_STARTED),v++,0===m.activeMedia&&u.trigger(h.course.ANY_MEDIA_STARTED),m.activeMedia++},m.anyVideoStopped=function(){0!==v&&(0===--v&&u.trigger(h.course.ALL_VIDEOS_STOPPED),m.activeMedia--,0===m.activeMedia&&u.trigger(h.course.ALL_MEDIA_STOPPED))};var y=0;return m.anySoundStarted=function(){0===y&&u.trigger(h.course.ANY_SOUND_STARTED),y++,0===m.activeMedia&&u.trigger(h.course.ANY_MEDIA_STARTED),m.activeMedia++},m.anySoundStopped=function(){0===--y&&u.trigger(h.course.ALL_SOUNDS_STOPPED),m.activeMedia--,0===m.activeMedia&&u.trigger(h.course.ALL_MEDIA_STOPPED)},u.on(h.slide.WILL_CHANGE,(function(){null!=a&&a.enabled&&null!=a.currentClip&&(a.currentClip.isPlaying||a.currentClip.play(),a.currentClip.fadeSoundGroup(1,p)),m.activeMedia=0,y=0,v=0})),DS.courseAudio=m,m}.call(t,n,t,e),void 0===i||(e.exports=i)},981:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(4196),r=DS._,o=DS.resolver,s=DS.automation,a=DS.utils,l=function(e){return o.resolvePath(a.prefixWithPlayer(e),t)},c=function(){var e=s.getPlayer&&s.getPlayer()||{};return r.extend(u,e)},u={GetVar:function(e){var t=l(e);return null!=t?t.value():null},SetVar:function(e,n){var r,o=l(e);null!=o&&(r={kind:"adjustvar",variable:o.absoluteId,operator:"set",value:{type:o.type(),value:n}},i.executeAction(r,{context:t}))}};return{initialize:function(e){t=e,window.GetPlayer=c}}}.call(t,n,t,e))||(e.exports=i)},9951:function(e,t,n){var i;i=function(e){"use strict";var t=DS._,n={window:{background:"#212121",border:"#454545",activeBorder:"#BABBBA",shadow:"rgba(0, 0, 0, 0.85)",title:"#BABBBA",divider:"#7A7A7A"},button:{icon:"#BABBBA",iconHover:"#F8F8F8"},text:{default:"#BABBBA",active:"#FFFFFF"},select:{border:"#7A7A7A",background:"rgba(255, 255, 255, 0.06)",openBorder:"#FFFFFF"},selectlist:{border:"#505050",background:"#212121"},selectitem:{selectedBorder:"#6C6C6C",selectedBackground:"rgba(255, 255, 255, 0.06)"},listitem:{selectedBorder:"#FFFFFF",hoverBorder:"#6C6C6C",hoverBackground:"rgba(255, 255, 255, 0.06)"},scrollbar:{thumbBackground:"#BABBBA"},base:{accent:"#4FBDF4"}},i={};return{setColorData:function(e){null!=e&&(this.colorGroups=e.reduce((function(e,t){return e[t.id]=t.colors.reduce((function(e,t){return e[t.id]=t.value,e}),{}),e}),{}))},getColor:function(e,t){var r="".concat(e,".").concat(t),o=DS.utils.getPath(this.colorGroups||{},r);return null!=o?o:(null==i[r]&&(console.warn("Could not find color ".concat(r," in the color table")),i[r]=!0),null!=(o=DS.utils.getPath(n,r))?o:"#ff0000")},setCssColorVariables:function(e){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];i.forEach((function(i){var r=i.group,o=i.name;e.style.setProperty("--".concat(t.kebabCase(r),"-").concat(t.kebabCase(o),"-color"),n.getColor(r,o))}))}}}.call(t,n,t,e),void 0===i||(e.exports=i)},9943:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1689),i=n(8907),r=DS._,o=DS.errorManager,s=DS.resolver,a=o.throwError("conditioner"),l=o.backtick,c={and:" and ",or:" or ",nand:" nand ",nor:" nor ",lt:" is less than ",gt:" is greater than ",lte:" is less than or equal to ",gte:" is greater than or equal to ",eq:" is equal to ",iceq:" is equal to ",noteq:" is not equal to ",icneq:" is not equal to "},u={andOr:function(e,t,n){return t.statements.map((function(e){return x.statementToString(e,n)})).join(e)},compare:function(e,t){return[h(e.valuea,e.typea,t),h(e.valueb,e.typeb,t)].join(c[e.operator])}};u.and=r.partial(u.andOr,c.and),u.or=r.partial(u.andOr,c.or),u.nand=r.partial(u.andOr,c.nand),u.nor=r.partial(u.andOr,c.nor);var h=function(e,t,n){return"property"===t?"Correct Response":p({type:t,value:e},{context:n})},d=function(e,t){var n=r.isArray(e)?e:t;return{arr:n,item:n===e?t:e}},p=function(e,t){return s.getRef(e,t.context||t,t.context&&t)},f=function(e){return String(e).toLowerCase()},g=function(e,t){var n=t?f:r.identity;return t||r.isString(e)?n(e).replace(/‘|’|‚/g,"'").replace(/“|”/g,'"'):e},m=function(e,t){var n=e+"id";return t[e+"Response"]===t[n]},v=r.partial(m,"statement"),y=r.partial(m,"choice"),S={and:r.every,or:r.some};S.nand=r.negate(S.and),S.nor=r.negate(S.or);var b={eq:function(e,t){return g(e)==g(t)},noteq:function(e,t){return g(e)!=g(t)},iceq:function(e,t){return g(e,!0)===g(t,!0)},icneq:function(e,t){return g(e,!0)!==g(t,!0)},gt:function(e,t){return g(e)>g(t)},lt:function(e,t){return g(e)<g(t)},gte:function(e,t){return g(e)>=g(t)},lte:function(e,t){return g(e)<=g(t)},has:function(e,t){var n=d(e,t);return r.includes(n.arr,n.item)},ichas:function(e,t){var n=d(e,t);return b.has(n.arr.map(f),f(n.item))}},w={compare:"evaluateComparison",varexists:"checkExistence",actiongroupexists:"checkExistence",stateexists:"checkState",hittestpoint:"evaluateHitTest",pair:"evaluatePair",isdescendant:"evaluateIsDescendant",containstext:"evaluateContainsText"},x={evaluateAction:function(e,t){return this.evaluateStatement(e.condition.statement,t)},evaluateStatements:function(e,t,n){return e(t,function(e){return this.evaluateStatement(e,n)}.bind(this))},evaluateStatement:function(e,t){return!!e&&this[w[e.kind]||"evaluateGroup"](e,t)},evaluateHitTest:function(e,n){var r,o=s.resolvePath(e.objRef.value,n.context),a=p({type:e.xPos.type,value:e.xPos.value},n),l=p({type:e.yPos.type,value:e.yPos.value},n),c=o.currView;return null!=c&&(r=i.slidePtToSlideObject(c,a,l),t.containsPoint(c,r.x,r.y))},evaluatePair:function(e,t){return v(e)&&y(e)},evaluateComparison:function(e,t){t.context;var n,i,r=e.operator;return r in b||a("evaluate","Cannot evaluate unsupported operator",l(r)),n=p({type:e.typea,value:e.valuea},t),i=p({type:e.typeb,value:e.valueb},t),b[r](n,i)},evaluateIsDescendant:function(e,t){var n=p({type:e.typea,value:e.targeta},t),i=p({type:e.typeb,value:e.targetb},t),r=s.resolvePath(n,t),o=s.resolvePath(i,t);return-1!==r.absoluteId.indexOf(o.absoluteId)},evaluateContainsText:function(e,t){var n=e.casesensitive?r.identity:f,i=r.flow(p,n),o=i(e.targetref,t),s=i(e.searchref,t);return-1!==o.indexOf(s)},evaluateGroup:function(e,t){var n=S[e.kind],i=e.statements;return this.evaluateStatements(n,i,t)},checkExistence:function(e,t){var n=s.getRef(e,t.context,t);return!!s.resolvePath(n,t.context,{optional:!0})},checkState:function(e,t){var n=s.getRef(e.objRef,t.context,t),i=s.resolvePath(n,t.context,{optional:!0}),o=s.getRef(e.stateRef,t.context,t);return null!=i&&r.isFunction(i.getStateFromName)&&null!=i.getStateFromName(o)},statementToString:function(e,t){return u[e.kind](e,t)}};return x}.call(t,n,t,e))||(e.exports=i)},3753:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.utils,i=DS.constants,r=i.math.TO_DEGREES,o=function(e,t){return n.dist(e.x,e.y,t.x,t.y)},s=function(e,t){return Math.atan2(t.y-e.y,t.x-e.x)*r},a=[void 0,void 0,function(e,t){return{x:t[0].x+(t[1].x-t[0].x)*e,y:t[0].y+(t[1].y-t[0].y)*e}},function(e,t){var n=1-e,i=n*n,r=2*n*e,o=e*e;return{x:i*t[0].x+r*t[1].x+o*t[2].x,y:i*t[0].y+r*t[1].y+o*t[2].y}},function(e,t){var n=1-e,i=e*e,r=n*n,o=r*n,s=3*e*r,a=3*i*n,l=i*e;return{x:o*t[0].x+s*t[1].x+a*t[2].x+l*t[3].x,y:o*t[0].y+s*t[1].y+a*t[2].y+l*t[3].y}}];return{getDistance:function(e,n){return 2===e.length?o(e[0],e[1]):(t.isArray(n)||(n=this.getSamplePoints(e,n||10)),t.last(n).distance)},getSamplePoints:function(e,t){if(2===e.length)return null;t=t||10;for(var n,i,r=0,s=[],a=e[0],l=1/t,c=0;c<=t;c++)n=l*c,i=this.getPointAtTime(n,e),r+=o(a,i),s.push({time:n,distance:r}),a=i;return s},curveToLines:function(e,n){if(2===e.length)return t.cloneDeep(e);var i,r,s,l,c,u,h,d,p=[],f=0,g=a[e.length];for(null==n&&(r=g(0,e),s=g(.25,e),l=g(.5,e),c=g(.75,e),u=g(1,e),d=o(r,s)+o(s,l)+o(l,c)+o(c,u),n=Math.min(parseInt(d/2),20)),h=1/n,i=0;i<n;i++)p.push(g(f,e)),f+=h;return p.push(g(1,e)),p},getPointAtTime:function(e,t){return a[t.length](e,t)},getNormalizedPointAtTime:function(e,n,i,r){var o,a,l,c,u,h,d,p;return 2===n.length?(a=this.getPointAtTime(e,n),r&&(a.angle=s(n[0],n[1])),a):(t.isArray(i)||(i=this.getSamplePoints(n,i||10)),u=0,h=1,c=this.getDistance(n,i)*e,((o=t.sortedIndexBy(i,{distance:c},"distance"))>i.length-1||c!==i[o].distance)&&o--,d=i[o],p=i[o+1],o<i.length-1&&(h=d.time+((c-d.distance)/(p.distance-d.distance)||0)*(p.time-d.time)),a=this.getPointAtTime(h,n),r&&((h+=.01)>1&&(h-=.02,u=-180),l=this.getPointAtTime(h,n),a.angle=s(a,l)+u),a)}}}.call(t,n,t,e))||(e.exports=i)},3488:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=DS._,n=/ version: ([0-9]+.*)+ /,i=function(e){var t=r(e.split(".").map((function(e){return parseInt(e)})),4);return{major:t[0],minor:t[1],build:t[2],revision:t[3]}};return{major:0,minor:0,build:0,revision:0,init:function(){var e,r;this.version=(e=t.first(t.filter(document.head.childNodes,(function(e){return e.nodeType===e.COMMENT_NODE&&n.test(e.nodeValue)})))||{nodeValue:" version: 0.0.0.0 "},r=n.exec(e.nodeValue),i(r[1])),this.fixThemeName().addFontAnalyticsNodes()},setDataVersion:function(e){this.version=i(e)},parseParams:function(){if(null!=window.globals.parsedParams)return window.globals.parsedParams;for(var e,t=window.location.search.substr(1).split("+").join(" "),n={},i=/[?&]?([^=]+)=([^&]*)/g;e=i.exec(t);)n[decodeURIComponent(e[1]).trim()]=decodeURIComponent(e[2]).trim();return window.globals.parsedParams=n,n},fixThemeName:function(){return null!=window.globals.themeName&&"null"!==window.globals.themeName||(window.globals.themeName="classic"),this.isClassic="classic"===window.globals.themeName,this},addFontAnalyticsNodes:function(){if(null==document.getElementById("font-test")){var e=document.createElement("div");e.id="font-test",e.setAttribute("style","position: fixed; left: -1000px; top: 0;"),e.setAttribute("aria-hidden",!0),e.innerHTML='\n <svg height="100" width="100" viewBox="0 0 100 100" focusable="false">\n <text style="font-family: DS_TEST_CHARSET, sans-serif" y="20">\n <tspan color="black" id="font-test-download">M</tspan>\n </text>\n <text style="font-family: sans-serif" y="40">\n <tspan color="black" id="font-test-default">M</tspan>\n </text>\n </svg>',document.body.appendChild(e)}return this},hasPatternImageFlag:function(){return this.version.major>=3&&this.version.minor>=11}}}.call(t,n,t,e))||(e.exports=i)},7877:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,n,i,r,o,s,a,l,c,u,h,d,p,f,g,m,v,y=DS,S=y.constants,b=y.globalEventHelper.addWindowListener,w=function(){return null==t&&(t=document.getElementById(S.els.PRESO)),t},x=function(){var e=w();(n=document.createElement("div")).id=S.els.LIB,n.classList.add("offscreen"),e.appendChild(n),(i=document.createElement("div")).innerHTML='<svg width="0" height="0" style="position:absolute;" focusable="false">\n <defs>\n <filter id="text-shadow" x="0%" y="0%" width="113%" height="113%">\n <feGaussianBlur stdDeviation="1 1" result="text-shadow"/>\n <feOffset dx="1.5" dy="1.5"/>\n </filter>\n <linearGradient id="timer-blue-grad" class="cs-duration">\n <stop offset="0%""/>\n <stop offset="100%"/>\n </linearGradient>\n <linearGradient id="timer-yellow-grad" class="cs-elapsed">\n <stop offset="0%"/>\n <stop offset="100%"/>\n </linearGradient>\n <linearGradient id="drop-list-gradient" gradientTransform="rotate(90)">\n <stop offset="0%"/>\n <stop offset="100%"/>\n </linearGradient>\n <linearGradient id="dragdrop-gradient" gradientTransform="rotate(90)">\n <stop offset="0%"/>\n <stop offset="100%"/>\n </linearGradient>\n <linearGradient id="dragdrop-hover-gradient" gradientTransform="rotate(90)">\n <stop offset="0%"/>\n <stop offset="100%"/>\n </linearGradient>\n <linearGradient id="wordbank-droparea-stroke-gradient" gradientTransform="rotate(90)">\n <stop offset="0%"/>\n <stop offset="100%"/>\n </linearGradient>\n <filter id="dragdrop-inner-stroke">\n <feFlood flood-color="#fff" result="strokeColor"/>\n <feMorphology operator="erode" radius="2" in="SourceAlpha" result="innerMorph"/>\n <feMorphology operator="erode" radius="1" in="SourceAlpha" result="outerMorph"/>\n <feComposite in="innerMorph" in2="outerMorph" operator="xor" result="morph"/>\n <feComposite in="strokeColor" in2="morph" operator="in" result="innerStroke"/>\n <feComposite in="innerStroke" in2="SourceGraphic" operator="over"/>\n </filter>\n </defs>\n </svg>',E().appendChild(i),(m=document.createElement("div")).innerHTML='\n <svg width="0" height="0" style="position:absolute;" focusable="false">\n <defs></defs>\n </svg>',n.appendChild(m),v=m.getElementsByTagName("defs")[0],(o=document.createElement("div")).id="video-pen",o.className="offscreen",o.setAttribute("aria-hidden",!0),n.appendChild(o);var t=document.createElement("div");return t.id="media-loader-container",t.classList.add("media-loader-container"),e.appendChild(t),s=DS.svgUtils.createSvgNode(1,1),t.appendChild(s),(r=document.createElement("div")).appendChild(document.createElement("canvas")),n.appendChild(r),(h=document.createElement("div")).id="presentation-canvas",n.appendChild(h),(d=document.createElement("div")).id="zoomimage-container",n.appendChild(d),(g=document.createElement("div")).id=S.els.MASK_LIB,n.appendChild(g),C(),n},C=function(){(a=document.createElement("div")).id="app-top",a.style.position="absolute",preso.appendChild(a),(c=document.createElement("div")).id="app-top-overlay",a.appendChild(c),(l=document.createElement("div")).id="app-top-container",a.appendChild(l),(u=document.createElement("div")).id="app-focus-container",u.classList.add("focus-container"),a.appendChild(u),new MutationObserver((function(e){_.last(preso.children)!==a&&preso.appendChild(a)})).observe(preso,{childList:!0});var e=function e(){var t=P();null!=t?(a.style.left="".concat(t.x(),"px"),a.style.top="".concat(t.y(),"px")):DS.animationClock.requestAnimationFrame(e)};b("resize",e,!1,"after"),e()},E=function(){return null==n&&x(),n},P=function(){var e=DS.windowManager.getMainWindow();return null!=e&&(f=e.frame),f};return{getMainWindowEl:function(){if(null==p){var e=P();null!=e&&(p=e.wndEl)}return p},getPreso:w,getPresoCanvas:function(){return h},getZoomContainer:function(){return d},getSvgLib:function(){return i},getSvgImageLibDefs:function(){return v},getVideoPen:function(){return o},getCollisionLib:function(){return r},getTopContainer:function(){return l},getTopOverlay:function(){return c},createLib:x,addToLib:function(e){return E().appendChild(e),e},removeElFromParent:function(e){null!=e.parentNode&&e.parentNode.removeChild(e)},getMediaLoaderSvg:function(){return s}}}.call(t,n,t,e))||(e.exports=i)},9838:function(e,t,n){var i;void 0===(i=function(e){var t=DS,n=t._,i=t.utils,r=t.resolver,o=t.events,s=t.pubSub;return{initialize:function(){var e=DS.playerGlobals.presentation;if(null!=e.playerVars()){n.bindAll(this,"tick","onSlideChanged","onWindowClosed"),s.on(o.slide.HAS_CHANGED,this.onSlideChanged),s.on(o.window.CLOSED,this.onWindowClosed);var t=e.playerVars().variables();this.vars={slideElapsed:t.get("slideElapsedTime"),sceneElapsed:t.get("sceneElapsedTime"),projectElapsed:t.get("projectElapsedTime")},this.projectStartTime=this.getCurrentTime()-e.getFlatSlides().reduce((function(e,t){return e+t.elapsedTime}),0),window.requestAnimationFrame(this.tick),this.updateCurrentSlide()}},getCurrentTime:function(){return parseInt(performance.now())},onWindowClosed:function(){this.updateCurrentSlide()},onSlideChanged:function(e){var t=r.resolvePath(i.prefixWithPlayer(e));t&&this.updateCurrentSlide(t)},updateCurrentSlide:function(e){var t=this;if(null!=e||null!=(e=DS.windowManager.getCurrentWindowSlide())){if(!e.isMessageSlide()||e===this.currentSlideModel){var n=this.getCurrentTime(),i=e.getScene().getAllSlides().reduce((function(e,t){return t.elapsedTime+e}),0);this.sceneStartTime=n-i,this.slideStartTime=n-e.elapsedTime,this.currSlideModel=e}}else window.requestAnimationFrame((function(){t.updateCurrentSlide()}))},tick:function(){if(null!=this.currSlideModel){var e=parseInt(performance.now());this.currSlideModel.elapsedTime=e-this.slideStartTime,this.vars.slideElapsed.value(this.currSlideModel.elapsedTime),this.vars.sceneElapsed.value(e-this.sceneStartTime),this.vars.projectElapsed.value(e-this.projectStartTime)}window.requestAnimationFrame(this.tick)}}}.call(t,n,t,e))||(e.exports=i)},2995:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(2658),r=n(3723),o=n(3807),s=DS._,a=DS.appState,l=DS.events,c=DS.pubSub,u=DS.vow,h={},d=function(e){var t=e.props.model;t.isMessageSlide()||(s.isEmpty(t.get("globalAudioId"))?f.stop():f.play(t.get("globalAudioId")))},p=function(e,t){h.setVolume(t)},f={initialize:function(e){t=e,c.on(l.slide.HAS_MOUNTED,d)},play:function(e){var n=t.find((function(t){return t.get("id")===e})),o=i.getAssetUrl(n.get("assetId"));o!==h.url&&(f.stop(),h=r.loadUrl(o,n.get("assetId")),a.on(l.volume.CHANGE_CURRENT,p),h.setVolume(a.currentVolume()),h.play())},stop:function(){null!=h.url&&(a.off(l.volume.CHANGE_CURRENT,p),h.destroy(),h={})},load:function(e){var n,r,a;return s.isEmpty(e)?u.Deferred().resolve().promise():(r=t.find((function(t){return t.get("id")===e})),(a=i.getAssetUrl(r.get("assetId")))!==h.url?(n=new o({type:"audio",url:a})).promise.always(n.teardown.bind(n)):void 0)}};return f}.call(t,n,t,e))||(e.exports=i)},5762:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(9943),i=(n(4196),DS._),r=(DS.Backbone,DS.utils,DS.errorManager.warn("interactionHelper")),o=function(e,n){var i=e.getClosestAncestorByKind("slide");return t.evaluateStatement(n,i)},s={};return s.multiplechoice=s.truefalse=s.hotspot=s.wordbank=s.multipleresponse=[function(e,t){return t.length===e.length},function(e,t,n){return o(n,{kind:"and",statements:e.map((function(e){return{kind:"compare",operator:e.ignorecase?"ichas":"has",valuea:t,valueb:e.choiceid,typea:"object",typeb:"string"}}))})}],s.sequence=s.matching=[function(e,t,n){if(e.length!==t.length)return!1;var r=i.zipWith(e,t,(function(e,t){return i.extend({},e,t)}));return o(n,{kind:"and",statements:r})}],s.numeric=[function(e,t,n){return o(n,{kind:"and",statements:e.map((function(e){return e.statement}))})}],s.fillin=[function(e,t,n){var i=n.prop("Value")[0];return o(n,{kind:"or",statements:e.map((function(e,t){return{kind:"compare",operator:e.ignorecase?"iceq":"eq",valuea:i,valueb:n.getChoiceById(e.choiceid).lmstext,typea:"string",typeb:"string"}}))})}],{setCurrInteraction:function(e){return this.interaction=e,this},getChosenAnswer:function(e){return i.find(this.interaction.answers(),function(t){return this.evaluateResponses(e,t)}.bind(this))},evaluateAnswers:function(e){if(this.interaction){var t=this.getChosenAnswer(e);return t||r("evaluateAnswers","no answer found."),t}r("evaluateAnswers","needs to have interaction defined via `setCurrInteraction`.")},evaluateResponses:function(e,t){return this.performEvaluation(e,t)},isOther:function(e){var t=i.first(e.evaluate.statements);return!!t&&"other"===t.kind},getEvalFns:function(){return s[this.interaction.type()]},performEvaluation:function(e,t){var n=this.interaction,r=this.getEvalFns();return this.isOther(t)||!i.isEmpty(r)&&r.every(function(i){return i(t.evaluate.statements,e,n)}.bind(this))}}}.call(t,n,t,e))||(e.exports=i)},6849:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=new Map;return{addJsAsset:function(e,n){t.set(e,n)},getJsAssetValue:function(e){return t.get(e)},clearAsset:function(e){t.delete(e)}}}.call(t,n,t,e))||(e.exports=i)},5749:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(7169),r=DS,o=r.utils,s=r.events,a=r.pubSub,l=r.constants,c=r.resolver,u=r.windowManager,h=r.globalEventHelper.addWindowListener,d={qm:l.QUIZ_MAKER_URL,ap:l.PRESENTER_URL},p=["addchoiceresponse","addpairresponse","cancel_event","close_player","closewndgotoslide","close_window","emailto","enable_frame_control","enable_window_control","eval_all_unanswered","eval_interaction","exe_javascript","gotoplay","hidetimer","history_prev","history_prev_group","history_prev_scene","nextviewedslide","nextunansweredslide","nextunsubmittedslide","open_video","open_url","playnextdrawslide","printresults","resetquiz","resettimer","reset_player","resetslide","restore_resume_state","resume_player","resume_timeline","save_resume_data","setactivetimeline","set_course_status","setdrawreview","setfocus","set_frame_layout","set_frame_layout_type","setquizcomplete","set_review","set_volume","set_window_control_layout","set_window_control_visible","showtimer","starttimer","store_resume_data","toggle_window_control","toggle_window_control_visible","trigger_host_event","trigger_next_slide","trigger_prev_slide","trigger_slide_finish","trigger_submitall_slide","trigger_submit_slide","updatescrollpos","updatescrollheight","xapi_send_statement"],f=["_stateName"],g=function(e){return{strQuizId:e.id,strQuizName:e.get("lmstext"),nScore:e.prop("Score"),nPassingScore:e.prop("PassPercent"),nPtScore:e.prop("PercentScore"),dtmFinished:e.timeComplete,strStatus:e.prop("Status"),arrQuestions:e.flatInteractions.map((function(e,t){return{nQuestionNumber:t+1,strDescription:e.get("lmstext"),strCorrectResponse:i.correctResponseToString(e),strUserResponse:i.actualResponseToString(e),strStatus:e.prop("Status"),nPoints:e.prop("Score"),strLMSId:e.get("lmsId"),strType:e.get("type")}}))}},m=document.createElement("style"),v=function(){m&&(m.innerHTML="",null!=m.parentElement&&m.parentElement.removeChild(m))},y=function(e){a.trigger(s.request.NEXT_SLIDE,e,u.PRINT_WINDOW)},S=function(e){!function(e){var t=DS.detection.os,n=t.isAndroid,i=t.isIOS,r=n?"android":i?"ios":"desktop",o=l.printSettings[r],s=o.pageW,a=o.pageStyle,c=document.querySelector(".".concat(e,"-slide")),u=s/Number.parseInt(c.style.width);m.innerHTML="\n @media print {\n ".concat(a,"\n \n body,\n body > div {\n max-width: ").concat(s,"px;\n } \n \n #light-box-wrapper, #preso, #wrapper, #frame, .").concat(e,"-slide, \n .slide-transition-container, .slide-container {\n transform: unset !important;\n width: 0 !important;\n height: 0 !important;\n overflow: visible !important;\n top: 0 !important;\n left: 0 !important;\n }\n \n .slide {\n transform-origin: 0 0;\n transform: scale(").concat(u,") !important;\n }\n \n #light-box-close, .lightbox.cs-base, .window-slide,\n .frame-blocker-container, .visible-overlay, #top-bar, #sidebar, #bottom-bar, \n .top-ui-bg, .bottom-ui-bg, .left-ui-bg, .right-ui-bg, #light-box-bottom,\n .load-container, .caption-container, .acc-shadow-dom, #focusBoxes {\n display: none !important;\n }\n \n .").concat(e,"-slide {\n display: block !important;\n }\n }\n "),document.body.appendChild(m)}(e);var t=h("afterprint",(function(){if(t(),DS.detection.device.isMobile)var e=h("touchstart",(function(){e(),v()}));else v()}));window.print()};return{printQuizResults:function(e,n){var i=[];if(!t.isPreview()){var r={type:e.quizidtype,value:e.quizid},u=c.resolvePath(c.getRef(r,n.context,n)),p=null==e.usernamevar||""===e.usernamevar?null:c.resolvePath(e.usernamevar),f={strName:(null==p?null:p.value())||"",arrQuizzes:[u.id],strMainQuizId:u.id,bShowUserScore:e.showuserscore,bShowPassingScore:e.showpassingscore,bShowShowPassFail:e.showpassfail,bShowQuizReview:e.showquizreview,bSurvey:u.get("issurvey")},m={};m[u.id]=g(u),u.quizzes.length>0&&(u.quizzes.forEach((function(e){i.push(e.id),m[e.id]=g(e)})),f.arrQuizzes=i);var v={g_oContentResults:{dtmFinished:JSON.stringify(u.timeComplete||new Date)},g_oPrintOptions:f,g_listQuizzes:m};t.ReportQuizVars=JSON.stringify(v);var y=window.open(o.getPath(d,l.player.OUTPUT_TYPE,l.STORY_CONTENT_URL)+"report.html","_blank");return null!=y.postMessage&&h("message",(function(e){"getQuizData"===e.data&&y.postMessage(JSON.stringify(v),"*")}),!1),v}a.trigger(s.preview.NOTIFY,"PREVIEW_PRINT_RESULTS")},initialize:function(e){t=e},printSlide:function(e){var t=e.windowId;if(null!=t){var n=u.findWindowById(t);if(null!=n&&n.getCurrentSlide()===e)return void S(n.getId())}y(e.absoluteId)},shouldSkipAction:function(e,t){var n=o.getPath(e||{},"windowId");if(_.isEmpty(n)){var i=o.getPath(u,"getCurrentWindow",{});n=o.getPath(i,"getId")}return n===u.PRINT_WINDOW&&!(!p.includes(t.kind)&&("adjustvar"!==t.kind||f.includes(t.variable)))}}}.call(t,n,t,e))||(e.exports=i)},7169:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=", ",i={},r={};i.numeric=i.essay=t.identity,i.likert=i.sequence=i.matching=function(e){return[e.statement.lmstext,e.choice.lmstext].join(n)},i.multiplechoice=i.truefalse=i.hotspot=i.wordbank=i.fillin=i.multipleresponse=function(e){return e.lmstext},r.numeric=r.fillin=r.essay=function(e,t){return t},r.likert=r.sequence=r.matching=function(e,t){return[e.getStatementById(t.statementResponse).lmstext,e.getChoiceById(t.choiceResponse).lmstext].join(n)},r.multiplechoice=r.truefalse=r.hotspot=r.wordbank=r.multipleresponse=function(e,t){return e.getChoiceById(t).lmstext};return{correctResponseToString:function(e){return e.prop("CorrectResponse").map(i[e.type()]).join(n)},actualResponseToString:function(e){var i=t.last(e.attempts);return null==i?"":i.responses.map(t.partial(r[e.type()],e)).join(n)}}}.call(t,n,t,e))||(e.exports=i)},2902:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(7877),i=DS.detection.browser,r=(i.isEdge,i.isIE,new Map);return{addAsset:function(e,n){r.set(e,n);var i,o,s,a,l=t.getSvgImageLibDefs();i=l,o=n,s=(new DOMParser).parseFromString(o,"image/svg+xml"),a=s.children||s.childNodes,_.forEach(a,(function(e){i.appendChild(e)}))},clearAsset:function(e){r.delete(url)}}}.call(t,n,t,e))||(e.exports=i)},6288:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.svgUtils,i="data-adornment-type",r="data-is-reflection-gradient",o=t.flowRight((function(e){return i in e&&(e.ref=t.uniqueId("adornable"),e["data-transform"]=JSON.stringify(e.transform),e.transform=null),e}),(function(e){return!0===e[r]&&(e["data-rotation-offset"]=!0,e[r]=null),e}));return{decorateAdornables:t.partial(n.transformNodeConfig,o)}}.call(t,n,t,e))||(e.exports=i)},1791:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(2658);var t=n(4367),i=DS._,r=DS.svgUtils,o="data-slidefill";return{applySlideBackground:i.partial(r.transformNodeConfig,(function(e,n,i){if(!e[o])return e;var s=["slide","bg",n.commandsetId].join("-"),a={nodeType:"g",children:[]};return a.children.skipTraversal=!0,e.fill=r.buildUrl(s),a.children.push({nodeType:t,id:s,model:i.props.model,playerProps:i.props.playerProps,patternTransform:e["data-stroke-sharpened"]?[r.buildTranslateConfig(-.5,-.5)]:""}),a.children.push(e),a}))}}.call(t,n,t,e))||(e.exports=i)},1797:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=function(e){var t=e.radius,n=e.arrowY-e.halfArrowSize;return n<t&&(t=n),t},i={"left-bottom":function(e,t){e.addM([t.width,t.arrowLength])},left:function(e,t){e.addM([t.width,n(t)])},default:function(e,t){e.addM([t.width,t.radius])}},r={"bottom-left":function(e,t){e.addL([t.width,0,t.width,t.arrowY,t.width-t.arrowLength,0])},"left-bottom":function(e,t){e.addL([t.arrowX,0])},left:function(e,t){e.addQ([t.width,0,t.width-n(t),0])},default:function(e,t){e.addQ([t.width,0,t.width-t.radius,0])}},o={bottom:function(e,t){e.addL([t.arrowX+t.halfArrowSize,0,t.arrowX,t.arrowY,t.arrowX-t.halfArrowSize,0,t.radius,0])},"bottom-right":function(e,t){e.addL([t.arrowLength,0])},right:function(e,t){e.addL([n(t),0])},default:function(e,t){e.addL([t.radius,0])}},s={"bottom-right":function(e,t){e.addL([t.arrowLength,0,0,t.arrowY])},"right-bottom":function(e,t){e.addL([t.arrowX,0,0,t.arrowLength])},right:function(e,t){e.addQ([0,0,0,n(t)])},default:function(e,t){e.addQ([0,0,0,t.radius])}},a={right:function(e,t){e.addL([0,t.arrowY-t.halfArrowSize,t.arrowX,t.arrowY,0,t.arrowY+t.halfArrowSize,0,t.height-n(t)])},"right-top":function(e,t){e.addL([0,t.height-t.arrowLength])},default:function(e,t){e.addL([0,t.height-t.radius])}},l={"right-top":function(e,t){e.addL([t.arrowX,t.height])},"top-right":function(e,t){e.addL([0,t.arrowY,t.arrowLength,t.height])},right:function(e,t){e.addQ([0,t.height,n(t),t.height])},default:function(e,t){e.addQ([0,t.height,t.radius,t.height])}},c={top:function(e,t){e.addL([t.arrowX-t.halfArrowSize,t.height,t.arrowX,t.arrowY,t.arrowX+t.halfArrowSize,t.height,t.width-t.radius,t.height])},"top-left":function(e,t){e.addL([t.width-t.arrowLength,t.height])},left:function(e,t){e.addL([t.width-n(t),t.height])},default:function(e,t){e.addL([t.width-t.radius,t.height])}},u={"top-left":function(e,t){e.addL([t.width-t.arrowLength,t.height,t.arrowX,t.arrowY])},"left-top":function(e,t){e.addL([t.arrowX,t.height,t.width,t.height-t.arrowLength])},left:function(e,t){e.addQ([t.width,t.height,t.width,t.height-n(t)])},default:function(e,t){e.addQ([t.width,t.height,t.width,t.height-t.radius])}},h={left:function(e,t){e.addL([t.width,t.arrowY+t.halfArrowSize,t.arrowX,t.arrowY,t.width,t.arrowY-t.halfArrowSize]),e.add(["Z"])},default:function(e,t){e.add(["Z"])}};return{arrowLength:null,calcTranslate:function(e,t){var n=0,i=0,r=0,o=0;return e<0&&(n=-1*e,r=e),t<0&&(i=-1*t,o=t),{x:n,y:i,offX:r,offY:o}},calcArrowLength:function(e,t,n,i){var r;return n<0&&(r=-1*n),n>e&&(r=n-e),i<0&&(r=-1*i),i>t&&(r=i-t),this.arrowLength=r,r},labelPath:function(e){var n,d,p,f=function(){var e=[],n={add:function(t){e=e.concat(t)},addCmd:function(t,n){n.unshift(t),e=e.concat(n)},value:function(){return e}};return n.addM=t.partial(n.addCmd,"M"),n.addL=t.partial(n.addCmd,"L"),n.addQ=t.partial(n.addCmd,"Q"),n}(),g=e.dir,m=e.top;return e.arrowY-=m,e.arrowLength=this.arrowLength,e.halfArrowSize=this.arrowLength/2,e.height=Math.max(1.5*e.arrowLength,e.height),"left"!==g&&"right"!==g||(e.height-=1),[i,r,o,s,a,l,c,u,h].forEach((function(t){(t[g]||t.default)(f,e)})),n=m,d=f.value(),p=0,function(e){return e.join(" ").replace(/\s?([A-Za-z])?\s/g," $1").trim()}(t.map(d,(function(e){return isNaN(e)||(p%2==1&&(e+=n),p++),e})))}}}.call(t,n,t,e))||(e.exports=i)},5802:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,n=DS._,i=DS.svgUtils,r=function(e){var i,r;return e.id&&(i=e.id,r=n.uniqueId("uniqueDomId-"),t[i]=r),e};return r.beforeStart=function(){t={}},r.afterFinish=function(e){return JSON.parse(n.reduce(t,(function(e,t,n){return e.replace(new RegExp(n,"g"),t)}),JSON.stringify(e)))},{ensureIdsAreUnique:n.partial(i.transformNodeConfig,r)}}.call(t,n,t,e))||(e.exports=i)},8652:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2658),i=n(3488),r=DS._,o=DS.svgUtils,s="animatedgif",a="data-original-image",l={findImage:function(e,n){var i=r.find(e,{id:n[a]});return t.getAsset(i.assetId)},containsGif:function(e){return null!=e&&null!=r.find(e,(function(e){var n=t.getAsset(e.assetId);return null!=n&&n.get("imageType")===s}))},addImageAttrs:function(e,t){if(!o.isImageNode(e))return e;var n,a=l.findImage(t,e);return a.isValid()?(n=a.url(),a.get("imageType")===s&&(n=n+"?rs="+r.uniqueId("")),e["xlink:href"]=n,e.height=a.height(),e.width=a.width(),e.x+=a.get("mobiledx")||0,e.y+=a.get("mobiledy")||0,null==e.patternImage&&i.hasPatternImageFlag()&&(e.preserveAspectRatio="none"),e):{nodeType:!1}}};return l.applyImagelib=r.partial(o.transformNodeConfig,l.addImageAttrs),l}.call(t,n,t,e))||(e.exports=i)},8084:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=(DS.dom,DS.svgUtils),o=function(e,n){t.call(this,e,n)};return i.extend(o.prototype,t.prototype,{setupAnimation:function(){var e;this.numBlinds=6,e="horizontal"===this.direction?"height":"width",this.blindThickness=this[e]/this.numBlinds},animate:function(e){for(var t,n=[];n.length<this.numBlinds;)t=n.length*this.blindThickness,n.push("horizontal"===this.direction?r.rectPath(0,t,this.width,this.blindThickness*e):r.rectPath(t,0,this.blindThickness*e,this.height));this.clipShape.setAttribute("d",n.join(" "))}}),o}.call(t,n,t,e))||(e.exports=i)},7349:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=DS.utils,s=(DS.dom,function(e,n){t.call(this,e,n)});return i.extend(s.prototype,t.prototype,{setupAnimation:function(){this.scaleY=this.height/this.width},drawBox:function(e){var t=this.halfWidth-this.halfWidth*e,n=this.halfHeight-this.halfHeight*e,i=this.width*e,o=this.height*e;this.clipShape.setAttribute("d",[this.invertRect,this.inRect,r.rectPath(t,n,i,o)].join(" "))},getAnimateFn:function(){return"out"===this.direction?this.drawBox:function(e){this.drawBox(o.invertPercent(e))}}}),s}.call(t,n,t,e))||(e.exports=i)},6361:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=(DS.dom,function(e,n){t.call(this,e,n)});return i.extend(o.prototype,t.prototype,{setupAnimation:function(){var e,t,n,i,r,o,s="across"===this.direction,a=s?5:10,l=s?14:7,c=function(e){return this.isHorizontal?{x:-1*this.finalWidth/2,y:2*e*this.finalHeight+this.finalHeight}:{x:2*e*this.finalWidth+this.finalWidth,y:-1*this.finalHeight/2}}.bind(this);for(this.isHorizontal=s,this.finalWidth=this.width/a,this.finalHeight=this.height/l,this.points=[],e=70;e--;)n=(t=e%10)%a,i=Math.floor(e/a),this.isHorizontal?(r=t<a?0:this.finalWidth/2,o=0):(r=0,o=n%2?this.finalHeight/2:0),this.points[e]={x:n*this.finalWidth+r,y:i*this.finalHeight+o};for(e=this.isHorizontal?l:a;e--;)this.points.push(c(e))},animate:function(e){var t=this.isHorizontal?e:1,n=this.isHorizontal?1:e,i=this.points.map(function(e){return r.rectPath(e.x,e.y,this.finalWidth*t,this.finalHeight*n)}.bind(this));this.clipShape.setAttribute("d",i.join(" "))}}),o}.call(t,n,t,e))||(e.exports=i)},8140:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=DS.utils,s=(DS.dom,function(e,n){t.call(this,e,n)});return i.extend(s.prototype,t.prototype,{setupAnimation:function(){this.scaleY=this.height/this.width,this.finalScale=Math.sqrt(2*Math.pow(this.height,2))/this.height},drawCircle:function(e){e*=this.finalScale,this.clipShape.setAttribute("d",[this.invertRect,this.inRect,r.ellipsePath(this.halfWidth,this.halfHeight,this.halfWidth*e,this.halfHeight*e)].join(" "))},getAnimateFn:function(){return"out"===this.direction?this.drawCircle:function(e){this.drawCircle(o.invertPercent(e))}}}),s}.call(t,n,t,e))||(e.exports=i)},4461:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=DS.utils,s=(DS.dom,function(e,n){t.call(this,e,n)});return i.extend(s.prototype,t.prototype,{drawDiamond:function(e){var t=o.invertPercent(e),n=this.width*t-this.halfWidth,i=this.height*t-this.halfHeight;e*=2,this.clipShape.setAttribute("d",[this.invertRect,this.inRect,r.diamondPath(n,i,this.width*e,this.height*e)].join(" "))},getAnimateFn:function(){return"out"===this.direction?this.drawDiamond:function(e){this.drawDiamond(o.invertPercent(e))}}}),s}.call(t,n,t,e))||(e.exports=i)},5543:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=DS.utils,s=(DS.dom,function(e,n){t.call(this,e,n)});return i.extend(s.prototype,t.prototype,{setupAnimation:function(){var e,t,n,o,s,a=(t=this.width,n=this.height,o=Math.ceil(t/255),s=Math.ceil(n/255),{width:Math.max(9,o),height:Math.max(9,s)}),l=Math.ceil(this.height/a.height),c=Math.ceil(this.width/a.width);for(this.grains=[],this.numGrains=l*c,e=this.numGrains;e--;){var u=e%c*a.width,h=Math.floor(e/c)*a.height;this.grains[e]=r.rectPath(u,h,a.width,a.height)}this.grains=i.shuffle(this.grains),this.pathData=""},animate:function(e){for(var t=o.invertPercent(e)*this.numGrains;this.grains.length>t;)this.pathData+=this.grains.pop();this.clipShape.setAttribute("d",this.pathData)}}),s}.call(t,n,t,e))||(e.exports=i)},3711:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=(DS.utils,DS.dom,function(e,n){t.call(this,e,n)});return i.extend(o.prototype,t.prototype,{drawBox:function(e,t,n,i){this.width,this.shapeProps.size.x,this.height,this.shapeProps.size.y;this.clipShape.setAttribute("d",[this.invertRect,this.inRect,r.rectPath(-(n.x-t.x),-(n.y-t.y),this.width,this.height)].join(" "))},getAnimateFn:function(){return this.drawBox}}),o}.call(t,n,t,e))||(e.exports=i)},6455:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.svgUtils,i=(DS.utils,DS.events),r=DS.pubSub,o=DS.dom,s=(DS.TransMatrix,function(e,n){this.maskProps=n,this.shapeProps=e,t.bindAll(this,"adjustForScale"),r.on(i.window.AFTER_SCALE,this.adjustForScale),this.createSvg(e),this.setupAnimation(),this.getAnimateFn&&(this.animate=this.getAnimateFn())});return t.extend(s.prototype,{setupAnimation:t.noop,animate:t.noop,adjustForScale:function(){this.clipPath.setAttribute("transform","scale(".concat(this.view.props.winScale,")"))},getDirection:function(){return this.maskProps.direction},isExit:function(){return this.maskProps.isExit},createSvg:function(e){return this.view=e.view,this.width=e.rotatedBounds.right-e.rotatedBounds.left+2,this.height=e.rotatedBounds.bottom-e.rotatedBounds.top+2,this.halfWidth=this.width/2,this.halfHeight=this.height/2,this.maskId=t.uniqueId("mask-"),this.maskNode=n.createSvgNode(this.width,this.height),this.clipPath=n.createElement("clipPath"),this.clipPath.setAttribute("id",this.maskId),this.adjustForScale(),this.maskNode.appendChild(this.clipPath),this.clipShape=o.setAttributes(n.createElement("path"),{"clip-rule":"evenodd"}),this.transformSvg(e),this.clipPath.appendChild(this.clipShape),document.querySelector("#mask-library").appendChild(this.maskNode),this.direction=this.getDirection(),this.fullRect=n.rectPath(0,0,this.width,this.height),this.invertRect=this.isExit()?this.fullRect:"",this.inRect="in"===this.direction?this.fullRect:"",this},transformSvg:function(e){var t=n.transformRotate(-e.globalRotation.x,e.regPoint.x-e.rotatedBounds.left,e.regPoint.y-e.rotatedBounds.top),i=n.transformTranslate(e.rotatedBounds.left-e.maskableOffset.x,e.rotatedBounds.top-e.maskableOffset.y);this.clipShape.setAttribute("transform",[i,t].join(" "))},destroy:function(){this.maskNode.parentNode&&this.maskNode.parentNode.removeChild(this.maskNode)}}),s}.call(t,n,t,e))||(e.exports=i)},7971:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=DS.utils,s=(DS.dom,function(e,n){t.call(this,e,n)});return i.extend(s.prototype,t.prototype,{drawPlus:function(e){var t=o.invertPercent(e),n={x:0,y:0,width:this.halfWidth,height:this.halfHeight},i={x:this.halfWidth,y:0,width:this.halfWidth,height:this.halfHeight},s={x:0,y:this.halfHeight,width:this.halfWidth,height:this.halfHeight},a={x:this.halfWidth,y:this.halfHeight,width:this.halfWidth,height:this.halfHeight};n.width=t*this.halfWidth,n.height=t*this.halfHeight,i.x=this.halfWidth+this.halfWidth*e,i.height=n.height,s.width=t*this.halfWidth,s.y=this.halfHeight+this.halfHeight*e,a.x=this.halfWidth+this.halfWidth*e,a.y=s.y,this.clipShape.setAttribute("d",[this.invertRect,r.rectPath(0,0,this.width,this.height),this.inRect,r.rectPath(n.x,n.y,n.width,n.height),r.rectPath(i.x,i.y,i.width,i.height),r.rectPath(s.x,s.y,s.width,s.height),r.rectPath(a.x,a.y,a.width,a.height)].join(" "))},getAnimateFn:function(e){return"out"===this.direction?this.drawPlus:function(e){this.drawPlus(o.invertPercent(e))}}}),s}.call(t,n,t,e))||(e.exports=i)},1743:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=(DS.svgUtils,DS.utils),o=(DS.dom,function(e,t,n,i,r){return e?["M",0,r*t,"h",n,"v",t,"h",-n,"Z"].join(" "):["M",r*t,0,"v",i,"h",t,"v",-i,"Z"].join(" ")}),s=function(e,n){t.call(this,e,n)};return i.extend(s.prototype,t.prototype,{getBarPaths:function(){if(this.barPaths)return this.barPaths;var e,t="horizontal"===this.direction,n=t?this.height:this.width,r=function(e,t){return Math.ceil(e/t)}(n,(e=n,Math.max(1,Math.ceil(e)/1e3))),s=n/r,a=i.partial(o,t,s,this.width,this.height),l=i.range(r).map(a);return this.barPaths=i.shuffle(l),this.barPaths},animate:function(e){var t=Math.round(r.invertPercent(e)*this.getBarPaths().length),n=this.getBarPaths().slice(t).join(" ")||"M 0 0";this.clipShape.setAttribute("d",this.invertRect+n)}}),s}.call(t,n,t,e))||(e.exports=i)},292:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=DS.utils,s=(DS.dom,function(e,n){t.call(this,e,n)});return i.extend(s.prototype,t.prototype,{setupAnimation:function(){var e="verticalout"===this.direction||"horizontalout"===this.direction||"horizontal"===this.direction;this.isVertical="verticalout"===this.direction||"verticalin"===this.direction,this.isOut=this.isExit()?!e:e,this.adjustScale=this.isExit()?o.invertPercent:i.identity},getAnimateFn:function(){return this.isOut?function(e){var t;e=this.adjustScale(e),t=o.invertPercent(e),this.clipShape.setAttribute("d",this.isVertical?r.rectPath(t*this.halfWidth,0,this.width*e,this.height):r.rectPath(0,t*this.halfHeight,this.width,this.height*e))}:function(e){var t,n,i=[];e=this.adjustScale(e),this.isVertical?(t=e*this.halfWidth,n=this.height):(t=this.width,n=e*this.halfHeight),i.push(r.rectPath(0,0,t,n)),t*=-1,n*=-1,i.push(r.rectPath(this.width,this.height,t,n)),this.clipShape.setAttribute("d",i.join(" "))}}}),s}.call(t,n,t,e))||(e.exports=i)},3065:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=DS.utils,s=function(e,n){t.call(this,e,n)};return i.extend(s.prototype,t.prototype,{setupAnimation:function(){var e,t=this.width,n=this.height,i=(e=n,Math.max(10,Math.min(30,e,Math.ceil(e/20)))),r=this.getDirection();this.fromTop="leftdown"===r||"rightdown"===r,this.fromLeft="rightdown"===r||"rightup"===r,this.boxSize=i,this.maxWidth=(Math.ceil(n/i)+Math.ceil(t/i))*i},animate:function(e){for(var t,n,i="",s=this.boxSize,a=this.fromTop?0:this.height,l=this.fromTop?s:-s,c=(this.isExit()?o.invertPercent(e):e)*this.maxWidth;c>0&&a>-s&&a<=this.height;)n=Math.min(c,this.width),t=this.fromLeft?0:this.width-n,i+=r.rectPath(t,a,n,s),a+=l,c-=s;this.clipShape.setAttribute("d",i)}}),s}.call(t,n,t,e))||(e.exports=i)},3846:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=DS.utils,s=function(e,n){t.call(this,e,n)};return i.extend(s.prototype,t.prototype,{setupAnimation:function(){this.radius=Math.ceil(o.dist(0,0,this.halfWidth,this.halfHeight)),this.startingAngle=this.isExit()?90:270},animate:function(e){var t=180*(this.isExit()?o.invertPercent(e):e),n=180!==t?r.wheelPath(this.halfWidth,this.halfHeight,this.radius,this.startingAngle-t,this.startingAngle+t):r.rectPath(0,0,this.width,this.height);this.clipShape.setAttribute("d",n)}}),s}.call(t,n,t,e))||(e.exports=i)},5018:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=DS.utils,s=(DS.dom,function(e,t,n,i){var r=360*i-90;return t+e(o.degToRad(r))*n}),a=i.partial(s,Math.cos),l=i.partial(s,Math.sin),c=i.partial(a,.5),u=i.partial(l,.5),h=function(e,n){t.call(this,e,n)};return i.extend(h.prototype,t.prototype,{setupAnimation:function(){var e=this.clipShape.getAttribute("transform");this.clipShape.setAttribute("transform",[e,"scale(",this.width,",",this.height,")"].join(" ")),this.calcArcPath=this.createArcAnimationFunc(),this.invertRect=this.isExit()?r.rectPath(0,0,1.1,1.1):""},animate:function(e){var t,n,i,r,o,s;this.clipShape.setAttribute("d",1===e?(t=0,n=0,i=this.width,r=this.height,["M",t,n,"L",o=t+i,n,o,s=n+r,t,s].join(" ")):this.invertRect+this.calcArcPath(e))},createArcAnimationFunc:function(){var e=this.width,t=this.height,n=this.direction,r=parseInt(this.maskProps.spokes,10),s=o.hypot(e,t),a=s/e/2,l=s/t/2,h=i.range(r).map((function(e){var t=e/r,i=Object.freeze({x:.5,y:.5}),o=Object.freeze({x:c(a,t),y:u(l,t)});return{initRotDec:t,m:i,l:o,a:Object.defineProperties({},{rx:{value:a},ry:{value:l},xRot:{value:0},lgArc:{value:1},sweep:{value:"clockwise"===n?1:-1},x:{value:o.x,writable:!0},y:{value:o.y,writable:!0}}),update:function(e){var t=e+this.initRotDec;return this.a.x=c(a,t),this.a.y=u(l,t),this},toPathCommands:function(){return function(e){var t=e.m,n=e.l,i=e.a;return["M",t.x,t.y,"L",n.x,n.y,"A",i.rx,i.ry,i.xRot,i.lgArc,i.sweep,i.x,i.y].join(" ")}(this)}}}));return function(e){return h.map((function(t){return t.update(e/r).toPathCommands()})).join(" ")}}}),h}.call(t,n,t,e))||(e.exports=i)},3104:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=DS.utils,s=(DS.dom,function(e,n){t.call(this,e,n)});return i.extend(s.prototype,t.prototype,{setupAnimation:function(){i.bindAll(this,"fromBottom","fromTop","fromLeft","fromRight","animate"),this.adjustRect={frombottom:this.fromBottom,fromleft:this.fromLeft,fromright:this.fromRight,fromtop:this.fromTop,horizontal:this.fromLeft}},fromBottom:function(e,t){t.y=this.height*o.invertPercent(e)},fromTop:function(e,t){t.height=this.height*e},fromLeft:function(e,t){t.width=this.width*e},fromRight:function(e,t){t.x=this.width*o.invertPercent(e)},animate:function(e){var t={x:0,y:0,width:this.width,height:this.height};this.adjustRect[this.direction](e,t),this.clipShape.setAttribute("d",this.invertRect+r.rectPath(t.x,t.y,t.width,t.height))}}),s}.call(t,n,t,e))||(e.exports=i)},6312:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8652),i=DS._,r=DS.svgUtils,o=DS.utils,s=[{x:{posMult:0,negMult:0},y:{posMult:0,negMult:0}},{x:{posMult:.5,negMult:1},y:{posMult:0,negMult:0}},{x:{posMult:0,negMult:0},y:{posMult:.5,negMult:1}},{x:{posMult:.5,negMult:1},y:{posMult:.5,negMult:1}}],a={addPatternAttrs:function(e,n,s){if(!function(e){return r.isPatternNode(e)&&"image"===e["data-type"]}(e))return e;var l,c=i.first(e.children.filter(r.isDefsNode)),u=i.first(c.children.filter(r.isImageNode)),h=e.children.filter(r.isUseNode),d=t.findImage(n,u),p=d.width(),f=d.height(),g=!u.preserveAspectRatio,m=i.partial(a.transformUseNode,p,f);return g?(e.width=p,e.height=f,h.forEach(m)):(l=Math.round(o.hypot(s.fullHeight,s.fullWidth)),e.height=l,e.width=l),e},transformUseNode:function(e,t,n,o){var a=i.find(n.transform,{type:"scale"}),l=a.args[0],c=a.args[1],u=s[o],h=u.x[l>0?"posMult":"negMult"]*e,d=u.y[c>0?"posMult":"negMult"]*t;n.transform=[r.transformTranslate(h,d),r.transformScale(l,c)].join(" ")}};return a.applyImagePatterns=i.partial(r.transformNodeConfig,a.addPatternAttrs),a}.call(t,n,t,e))||(e.exports=i)},42:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=t.Injection.DOMProperty.MUST_USE_ATTRIBUTE;return t.Injection.DOMProperty.injectDOMPropertyConfig({Properties:{accentHeight:i,accumulate:i,alignmentBaseline:i,alphabetic:i,amplitude:i,animate:i,arabicForm:i,ariaControls:i,ascent:i,attributeType:i,azimuth:i,baseFrequency:i,baselineShift:i,bbox:i,bias:i,by:i,calcMode:i,capHeight:i,clip:i,clipPathUnits:i,clipRule:i,colorInterpolation:i,colorInterpolationFilters:i,colorProfile:i,colorRendering:i,contentScriptType:i,contentStyleType:i,cursor:i,descent:i,diffuseConstant:i,direction:i,display:i,divisor:i,dominantBaseline:i,dur:i,edgeMode:i,elevation:i,enableBackground:i,end:i,exponent:i,externalResourcesRequired:i,feColorMatrix:i,feComposite:i,feGaussianBlur:i,feMorphology:i,feTile:i,fillRule:i,filter:i,filterRes:i,filterUnits:i,floodColor:i,floodOpacity:i,focusable:i,fontSizeAdjust:i,fontStretch:i,fontStyle:i,fontVariant:i,fontWeight:i,format:i,from:i,g1:i,g2:i,glyphName:i,glyphOrientationHorizontal:i,glyphOrientationVertical:i,glyphRef:i,hanging:i,horizAdvX:i,horizOriginX:i,horizOriginY:i,ideographic:i,imageRendering:i,in2:i,in:i,intercept:i,k1:i,k2:i,k3:i,k4:i,k:i,kernelMatrix:i,kernelUnitLength:i,kerning:i,keyPoints:i,keySplines:i,keyTimes:i,lengthAdjust:i,letterSpacing:i,lightingColor:i,limitingConeAngle:i,local:i,markerHeight:i,markerUnits:i,markerWidth:i,mask:i,maskContentUnits:i,maskUnits:i,mathematical:i,mode:i,numOctaves:i,operator:i,order:i,orient:i,orientation:i,origin:i,overflow:i,overlinePosition:i,overlineThickness:i,panose1:i,path:i,pathLength:i,patternTransform:i,pointerEvents:i,pointsAtX:i,pointsAtY:i,pointsAtZ:i,preserveAlpha:i,primitiveUnits:i,radius:i,refX:i,refY:i,renderingIntent:i,repeatCount:i,repeatDur:i,requiredExtensions:i,restart:i,result:i,rotate:i,scale:i,seed:i,shapeRendering:i,slope:i,spacing:i,specularConstant:i,specularExponent:i,startOffset:i,stdDeviation:i,stemh:i,stemv:i,stitchTiles:i,strikethroughPosition:i,strikethroughThickness:i,strokeDashoffset:i,strokeLinejoin:i,strokeMiterlimit:i,surfaceScale:i,systemLanguage:i,tableValues:i,targetX:i,targetY:i,textDecoration:i,textLength:i,textRendering:i,to:i,u1:i,u2:i,underlinePosition:i,underlineThickness:i,unicode:i,unicodeBidi:i,unicodeRange:i,unitsPerEm:i,vAlphabetic:i,vHanging:i,vIdeographic:i,vMathematical:i,values:i,vertAdvY:i,vertOriginX:i,vertOriginY:i,viewTarget:i,visibility:i,widths:i,wordSpacing:i,writingMode:i,xChannelSelector:i,xHeight:i,xmlns:i,yChannelSelector:i,z:i,zoomAndPan:i},DOMAttributeNames:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",ariaControls:"aria-controls",attributeType:"attributeType",baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",calcMode:"calcMode",capHeight:"cap-height",clipPath:"clip-path",clipPathUnits:"clipPathUnits",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",diffuseConstant:"diffuseConstant",dominantBaseline:"dominant-baseline",edgeMode:"edgeMode",enableBackground:"enable-background",externalResourcesRequired:"externalResourcesRequired",feColorMatrix:"feColorMatrix",feComposite:"feComposite",feGaussianBlur:"feGaussianBlur",feMorphology:"feMorphology",feTile:"feTile",fillRule:"fill-rule",filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",numOctaves:"numOctaves",overlinePosition:"overline-position",overlineThickness:"overline-thickness",panose1:"panose-1",pathLength:"pathLength",patternTransform:"patternTransform",pointerEvents:"pointer-events",pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",primitiveUnits:"primitiveUnits",refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",shapeRendering:"shape-rendering",specularConstant:"specularConstant",specularExponent:"specularExponent",startOffset:"startOffset",stdDeviation:"stdDeviation",stitchTiles:"stitchTiles",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashoffset:"stroke-dashoffset",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textDecoration:"text-decoration",textLength:"textLength",textRendering:"text-rendering",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",wordSpacing:"word-spacing",writingMode:"writing-mode",xChannelSelector:"xChannelSelector",xHeight:"x-height",yChannelSelector:"yChannelSelector",zoomAndPan:"zoomAndPan"}}),{}}.call(t,n,t,e))||(e.exports=i)},8411:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.svgUtils;return{translateOddWidths:t.partial(n.transformNodeConfig,(function(e){return 0===e["stroke-width"]&&(e["stroke-width"]=1),function(e){var t=e["stroke-width"];return t&&t%2!=0}(e)&&(e["data-stroke-sharpened"]=!0,n.getTransformOf(e).unshift(n.buildTranslateConfig(.5,.5))),e}))}}.call(t,n,t,e))||(e.exports=i)},8267:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(14),r=n(9531),o=n(4286),s=n(6559),a=DS._,l=DS.svgUtils,c=DS.utils,u=DS.vendorOverrides,h={vectorText:i,variableText:r,richVariableText:o,accessibleText:s},d=function(e){return e.join("")},p={"xlink:href":"xlinkHref"},f=("image rect ellipse path".split(" "),function(e){return e?a.isString(e)?e:e.map(l.buildTransformFromConfigFn).join(" "):""}),g={transform:f,gradientTransform:f,patternTransform:f},m=1,v=function(e){return a.isArray(e)?e.join(","):e},y=function(e){return!1!==e.nodeType},S=function(e,n,i){var o,l,h=[],p=n.children,f="tspan"===e,g=0,v=f?d:a.identity;return null!=u.forceLayoutLtr&&function(e,t){return"text"===e&&"tspan"===c.getPath(t,"children[0].nodeType")}(e,n)&&u.forceLayoutLtr(i),p&&(o=a.pick(i,"data-accepts"),h=p.filter(y).map((function(e,t){return"defs"===e.nodeType&&(g=1),b(a.defaults(e,o),t-g)}))),l=v(h),null!=u.fixTspan&&f&&l.length>1&&(i=u.fixTspan(i,l)),e!==r&&e!==s||(i.winScale=m),t.createElement(e,i,l)},b=function(e,t){if(!y(e))return"";if(null==e.nodeType)return e;var n,i=h[e.nodeType]||e.nodeType,r=a.omit(e,"children","nodeType");return n=a.transform(r,(function(e,t,n){-1===n.indexOf("data-")&&/-/g.test(n)&&(n=c.camelCaseAttr(n));var i=g[n]||v;e[p[n]||n]=i(t)}),{}),"tspan"===i&&(n["aria-hidden"]=!0),null!=t&&(n.key="defs"===e.nodeType||null!=h[e.nodeType]?a.uniqueId("r-"):t),a.isString(i)||(n.ref=n.ref||n.key),S(i,e,n)};return{createSvg:function(e,t){return m=t,b(e)}}}.call(t,n,t,e))||(e.exports=i)},4242:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8267),i=n(8652),r=n(1791),o=n(6312),s=n(8411),a=n(5802),l=n(7045),c=n(6288),u=DS._,h=DS.svgUtils,d=DS.utils,p=DS.errorManager,f=DS.BaseModel,g=p.throwError("SvgManager"),m=p.backtick,v=d.createSuper(f),y=d.parseParams().svgfilename||"paths",S=new(f.extend({id:"paths",url:d.resolveDataUrl(y),getSvgNode:function(e,n){var d,p,f=n.props.winScale,g=this.get(e.libId,h.svgPrefix(e.commandsetId));return g=h.getFullSvgConfig(g,e.bounds,e.commandsetId,f),g=a.ensureIdsAreUnique(g),d=h.getDefsNode(g),g=c.decorateAdornables(g),e.imagelib&&(p=u.pick(e.bounds,"fullHeight","fullWidth"),g=i.applyImagelib(g,e.imagelib),g=o.applyImagePatterns(g,e.imagelib,p)),g=s.translateOddWidths(g,e),g=r.applySlideBackground(g,e,n),e.textLib&&!e.textLib.isEmpty()&&(g=l.applyTextLib(g,e.textLib,e.bounds,d)),t.createSvg(g,f)},getSvgFromData:function(e,t){var n=e.pick("imagelib","textLib");return S.getSvgNode(u.extend(n,{commandsetId:e.commandsetId(),libId:e.getPathLib(),bounds:e.getBounds()}),t)},createMask:function(e,n,i){var r,o,s=new window.DOMParser,a=h.getFullSvgConfig(e,{top:0,left:0,width:0,height:0});return r=s.parseFromString(t.createSvg(a),"text/xml"),o=document.adoptNode(r.documentElement).firstChild,i.appendChild(o),o},get:function(e,t){var n,i=v("get").call(this,e);return i||g("get","tried calling for an undefined library",m(e)),(n=i[t])||g("get","tried calling for an undefined path id",m(t)),d.cloneDeeply(n)},getStringFromVectorText:function(e){var t=e.i,n=e.l,i=h.svgPrefix(t),r=S.get(n,i);return d.getPath(r,"children[0].children[0].children[0]")}}));return l.setSvgManager(S),S}.call(t,n,t,e))||(e.exports=i)},7045:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,i=DS.svgUtils,r=DS.errorManager,o=DS.vendorOverrides,s=DS.appState,a=n(7523).parseVariables,l=r.throwError("textHelper"),c=r.backtick,u=o.moveHtmlTextOutOfSvg||t.identity,h=o.unwrapForeignObjectVarText||t.identity,d={vartext:function(e,t,n){return h({nodeType:"foreignObject",width:t.width()+e.x,height:t.height()+e.y,children:[{ref:"vtext",nodeType:"variableText",model:t,id:e.id,originX:e.x,originY:e.y,hasShadow:!!e["data-shadow"],rotDeg:e["data-rotation"]}]})},richvartext:function(e,t,n){return s.accessibleTextOn()||t.get("scrollOverflow")?h({nodeType:"foreignObject",width:t.width()+e.x,height:t.height()+e.y,children:[{ref:"vtext",nodeType:"accessibleText",model:t,id:e.id,originX:e.x,originY:e.y,hasShadow:!!e["data-shadow"],rotDeg:e["data-rotation"]}]}):{nodeType:"richVariableText",model:t,id:e.id,originX:e.x,originY:e.y,hasShadow:!!e["data-shadow"],rotDeg:e["data-rotation"]}},acctext:function(e,t,n){return s.accessibleTextOn()||t.get("scrollOverflow")?h({nodeType:"foreignObject",width:t.width()+e.x,height:t.height()+e.y,children:[{ref:"vtext",nodeType:"accessibleText",model:t,id:e.id,originX:t.get("xAccOffset"),originY:t.get("yAccOffset"),hasShadow:!!e["data-shadow"],rotDeg:e["data-rotation"]}]}):{nodeType:"vectorText",hasShadow:!!e["data-shadow"],rotDeg:e["data-rotation"],originX:e.x,originY:e.y,textLibItem:t}},vectortext:function(e,t,n,i){return{nodeType:"vectorText",hasShadow:!!e["data-shadow"],rotDeg:e["data-rotation"],originX:e.x,originY:e.y,textLibItem:t}}},p=function(e,n,i,r){if(!function(e){return"text"===e["data-reference-type"]}(e))return e;var o,s=function(e){return e["data-reference-id"]}(e),u=n.get(s);u||l("renderText","No text lib item with id of",c(s));var h=u.type();if(o=d[h]||t.identity,"acctext"===h||"richvartext"===h||"hiddentext"===h){var p=u.vartext();"hiddentext"!==h||null!=p&&null!=p.blocks?u.parent.semanticTextConfig={origConfig:u,rotation:e["data-rotation"],varMethods:a(p)}:o=t.identity}return o(e,u,i,r)};return p.afterFinish=u,{setSvgManager:function(e){e},applyTextLib:t.partial(i.transformNodeConfig,p)}}.call(t,n,t,e))||(e.exports=i)},5734:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},a=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",c=s.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function h(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,s=Object.create(o.prototype),a=new D(r||[]);return i(s,"_invoke",{value:C(e,n,a)}),s}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=h;var p={};function f(){}function g(){}function m(){}var v={};u(v,a,(function(){return this}));var y=Object.getPrototypeOf,S=y&&y(y(A([])));S&&S!==t&&n.call(S,a)&&(v=S);var b=m.prototype=f.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function o(i,s,a,l){var c=d(e[i],e,s);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==r(h)&&n.call(h,"__await")?t.resolve(h.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(h).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,l)}))}l(c.arg)}var s;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){o(e,n,t,i)}))}return s=s?s.then(i,i):i()}})}function C(e,t,n){var i="suspendedStart";return function(r,o){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw o;return I()}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var a=E(s,n);if(a){if(a===p)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var l=d(e,t,n);if("normal"===l.type){if(i=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i="completed",n.method="throw",n.arg=l.arg)}}}function E(e,t){var n=t.method,i=e.iterator[n];if(void 0===i)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var r=d(i,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,p;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function A(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,r=function t(){for(;++i<e.length;)if(n.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:I}}function I(){return{value:void 0,done:!0}}return g.prototype=m,i(b,"constructor",{value:m,configurable:!0}),i(m,"constructor",{value:g,configurable:!0}),g.displayName=u(m,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,u(e,c,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},w(x.prototype),u(x.prototype,l,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,i,r,o){void 0===o&&(o=Promise);var s=new x(h(t,n,i,r),o);return e.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},w(b),u(b,c,"Generator"),u(b,a,(function(){return this})),u(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var i in t)n.push(i);return n.reverse(),function e(){for(;n.length;){var i=n.pop();if(i in t)return e.value=i,e.done=!1,e}return e.done=!0,e}},e.values=A,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function i(n,i){return s.type="throw",s.arg=e,t.next=n,i&&(t.method="next",t.arg=void 0),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var a=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(a&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=e,s.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;T(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}void 0===(i=function(e){"use strict";var t=n(2637),i=n(7877),r=DS._,s=DS.svgUtils,a=DS.utils,l=(DS.constants,DS.TransMatrix),c=DS.detection,u=(DS.flagManager,""),h=function(e){return 1-e/100},d=function(e,t){e.fontSize;return r.mapValues(r.pick(e,["ascent","descent","leading","underlinePosition","underlineThickness"]),a.multiply(h(t)))},p={single:r.identity,singlePt5:a.multiply(1.5),double:a.multiply(2),atLeast:function(e,t,n){return Math.max(e,t)*h(n)},exactly:function(e,t){return I(t)},multiple:function(e,t){return e*(t/20)},multipleTopAligned:function(e,t){return e*(t/20)},percent:a.multiply};p.mulipleTopAligned=p.multiple;var f,g,m=function(e,t,n){return p[e.lineSpacingRule](t,e.lineSpacing,n)},v=function(e){return[e,"sans-serif"].join(",")},y={leftToRight:"ltr",rightToLeft:"rtl"},S={leftToRight:"lr-tb",rightToLeft:"rl-tb"},b=function(e){return{direction:y[e.flowDirection],textAnchor:"middle",writingMode:S[e.flowDirection]}},w=function(e){return{direction:y[e.flowDirection]}},x=function(e){var t="normal"===e.elevation?1:.6;return e.fontSize*t},C=function(e){return{direction:y[e.flowDirection],fill:null==e.linkId?e.foregroundColor:e.linkColor,fontFamily:v(e.fontFamily),fontSize:a.ptify(x(e)),fontStyle:e.fontIsItalic?"italic":"normal",fontWeight:e.fontIsBold?"bold":"normal",textTransform:"upper"===e.displayCase?"uppercase":"none"}},E="["+["0020","00a0","1680","180e","2000","2001","2002","2003","2004","2005","2006","2007","2008","2009","200a","200b","202f","205f","3000","feff"].map((function(e){return["\\u",e].join("")})).join("|")+"]",P=new RegExp(E),T=P.test.bind(P),D={},A={},I=function(e){return 1.3333333333333333*e},k=r.flow(I,a.multiply(.5)),R=function(e,t,n,i,r,o){var s=t.fontFamily,a=t.fontStyle,l=t.fontWeight,c=t.textTransform,u=parseFloat(t.fontSize),h=[n?[i,e,r].join(""):e,s,a,l,c];return o||h.push(u),h},_=function(e,t){g.setAttribute("style",""),r.extend(g.style,t,{fontFeatureSettings:'"liga" 1',textAnchor:"start"}),g.textContent=e},M=function(e,t,n,i,o){var s=R(e,t,n,i,o,!1),a=r.get(A,s);return null==a&&(_(n?[i,e,o].map((function(e){return null==(t=e)||0===t.length||(null!=D[t]?D[t]:(g.textContent=t,D[t]=0===g.getNumberOfChars()))?u:e;var t})).join(""):e,t),0===(a=n?g.getSubStringLength(1,1):g.getComputedTextLength())&&(g.textContent="."+e+".",a=g.getSubStringLength(1,1)),r.set(A,s,a)),a},O=function(e,t,n,i,r){var o=parseFloat(t.fontSize),s=R(e,t,n,i,r,!0),l=a.getPath(A,s,{}),c=Object.keys(l)[0];return null==c?M(e,t):null!=l[o]?l[o]:l[c]*(o/c)},L=function(e,t){var n,i=e.char,r=e.lineWidth,o=e.isCursive,s=o?0:e.letterSpacing||0,a=e.domStyle,l=(t?O:M)(i,a,o,e.lastChar,e.nextChar);return r+=l,{dx:n=I(s),lineWidth:r+=n,width:l}},V=function(e,t,n){var i,r=k(e.leadingMargin),o=k(e.firstLineMargin),s=k(e.trailingMargin);return t&&(n?o<0?(o=r-o,r=0):(i=Math.min(r,o),o=Math.max(r,o),r=i):r=o),{leadingMargin:r,trailingMargin:s,firstLineMargin:o,widthOffset:(n&&t?o:r)-s}},N=function(e){return e.replace(/\t/g," ")},j=function(e){var n,i=e.blockIdx,s=e.baseSpanStyle,a=e.width,l=e.idx,c=e.estimate,u=e.wrapText,p=e.domStyle,f=e.spans,g=f.length,v=e.runs,y=e.blockStyle,S=e.fontSizeShrink,b=e.isList,x="rightToLeft"===y.flowDirection,E=v.some((function(e){return e.flowDirection!==y.flowDirection})),P=e.y,D=0,A=l,k=e.isFirst?0:I(y.spacingBefore),R=e.isLast?0:I(y.spacingAfter),_=function(){var e=v[D++];return null!=e?{end:e.idx+e.len-1,flowDirection:e.flowDirection,isCursive:e.cursive}:{}},M=_();return P+=k,n=new t(o().mark((function e(){var n,d,m,v,P,D,I,k,R,O,j,B,F,U,H,G,W,z,Y,q,K,Q,$,J,ee,te,ne,ie,re,oe,se,ae,le,ce,ue,he,de,pe;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:P=Z(),D=function(e,t,r){t=t||l;var o=n,s=V(y,e,b),c=s.leadingMargin,u=s.trailingMargin,h=s.widthOffset;return null!=r&&o.spans.push(r),n={charIdx:t,chars:[],spans:[],isBiDi:E,isFirst:e,isRtl:x,isLast:!1,blockStyle:y,blockIdx:i,domStyle:p,marginLeft:x?u:c,marginRight:x?c:u,width:a-h},m=0,v=0,d=-1,o},D(!0),I=0;case 3:if(!(I<g)){e.next=58;break}k=f[I],R=N(k.text),O=R.length,(j=r.extend({},s,k.style)).fontSize=Math.max(1,j.fontSize*h(S)),B=C(j),G=0;case 8:if(!(G<O)){e.next=54;break}if(W=R[G],z=T(W),Y=!1,q=!1,K=W,Q=G>0?R[G-1]:null,$=G<O-1?R[G+1]:null,U=T(Q)?U:Q,l-A>M.end&&(M=_()),ee=w({flowDirection:M.flowDirection}),r.includes(["\r","\n"],W)?(q="\r"===W||"\r"!==U&&"\n"===W&&G<O-1,K=W=" ",z=!0,Y=!0):z&&(d=n.chars.length),H=r.extend({},y.domStyle,B),te=L({char:K,lineWidth:m,letterSpacing:v,isCursive:M.isCursive,domStyle:H,lastChar:Q,nextChar:$},c),J=te.dx,m=te.lineWidth,F=te.width,z||0!==F||!(n.chars.length>0)){e.next=23;break}r.last(n.chars).content+=W,e.next=44;break;case 23:if(!u||z){e.next=43;break}case 24:if(!(n.chars.length>0&&m>n.width&&(m=X({line:n,lineWidth:m,letterSpacing:v,style:H,nextChar:{content:K,width:te.width}},P))>n.width)){e.next=43;break}if(Z(P),-1===d){e.next=39;break}return ne=d+1,ie=n.chars.splice(ne),re=ie.length,null==(oe=new t(ie).map((function(e){return e.idx})).compact().first())&&(oe=l),e.next=31,D(!1,oe,j);case 31:for(n.chars.push.apply(n.chars,ie),se=0;se<re;se++)ae=ie[se],le=ae.spanStyle,ce=ae.domStyle,ue=ae.content,he=se>0?ie[se-1].content:null,de=se<re-1?ie[se+1].content:null,pe=L({char:ue,lineWidth:m,letterSpacing:v,isCursive:M.isCursive,domStyle:r.extend({},p,ce),lastChar:he,nextChar:de},c),m=pe.lineWidth,v=le.spacing,ae.dx=pe.dx;te=L({char:K,lineWidth:m,letterSpacing:v,isCursive:M.isCursive,domStyle:r.extend({},p,B),lastChar:Q,nextChar:$},c),J=te.dx,m=te.lineWidth,F=te.width,e.next=41;break;case 39:return e.next=41,D(!1,l,j);case 41:e.next=24;break;case 43:n.chars.push({content:W,dx:J,idx:l,isNewLine:Y,isRtl:"rightToLeft"===M.flowDirection,isCursive:M.cursive,spanStyle:j,domStyle:B,runDomStyle:ee,width:F});case 44:if(G===O-1&&X({line:n,lineWidth:m,letterSpacing:v,style:H},P),l++,v=j.spacing,!q){e.next=51;break}return Z(P),e.next=51,D(!0,l,j);case 51:G++,e.next=8;break;case 54:n.spans.push(j);case 55:I++,e.next=3;break;case 58:return n.isLast=!0,e.next=61,n;case 61:case"end":return e.stop()}}),e)}))).filter((function(e){return e.spans.length>0})).map((function(e){var t,n,i,o=d(e.spans[0],S),s=o.ascent,a=o.descent,l=o.leading,c=o.underlinePosition,u=o.underlineThickness;return e.spans.forEach((function(e){var t=d(e,S);s=Math.max(s,t.ascent),a=Math.max(a,t.descent),l=Math.max(l,t.leading),c=Math.min(c,t.underlinePosition),u=Math.max(u,t.underlineThickness)})),n=m(y,t=s+a,S),i=0===t?1:n/t,r.extend(e,{ascent:s,descent:a,leading:l,underlinePosition:c,underlineThickness:u,y:P+Math.floor(s*i)}),P+=(s+a+l)*i,e})).toArray(),{y:P+=R,lines:n,isBlockRtl:x}},B=r.constant([[1e3,"M"],[900,"CM"],[500,"D"],[400,"CD"],[100,"C"],[90,"XC"],[50,"L"],[40,"XL"],[10,"X"],[9,"IX"],[5,"V"],[4,"IV"],[1,"I"]]),F=r.memoize((function(){return B().map((function(e){return[e[0],e[1].toLowerCase()]}))})),U=r.curry((function(e,t){var n=[],i=t;return e().forEach((function(e){for(var t=e[0],r=e[1];i%t<i;)n.push(r),i-=t})),n.join("")})),H=r.curry((function(e,t){var n=t-1;return r.repeat(String.fromCharCode(n%26+e.charCodeAt(0)),Math.floor(n/26)+1)})),G={none:r.constant(""),bullet:function(e,t){return String.fromCharCode(t.bulletChar)},listNumberedAsArabic:r.identity,listNumberAsUCRoman:U(B),listNumberAsLCRoman:U(F),listNumberAsUCLetter:H("A"),listNumberAsLCLetter:H("a")},W=function(e,t){return G[t.listType](e,t)},z={plain:"",parentheses:")",minus:" -",period:"."},Y=function(e){return["none","bullet"].includes(e.listType)?"":z[e.listTypeFormat]},q=function(e,t,n,i,o,s,l){if(ce(e))return null;if(!le(t))return s.length=t.listLevel,null;var c,u,d,p,f=e.spans,g=n.listStyle,m=n.baseSpanStyle,y=t.listLevel,S=s[y],b=S?S.listNum:0,x=S?S.listStyle.listType:"",C=r.extend({},g,t.listStyle),E="rightToLeft"===t.flowDirection;return b=0===b||C.listType!==x?Math.max(1,C.start):b+1,(u=r.extend({},m,f[0].style)).fontSize=Math.max(1,u.fontSize*h(o)),d=function(e,t){return{fill:e.color||t.foregroundColor,fontFamily:v("bullet"===e.listType?e.bulletFont:t.fontFamily),fontSize:a.ptify(t.fontSize*a.pctToDec(e.size)),fontStyle:"normal",fontWeight:"normal",textTransform:"none"}}(C,u),p=w({flowDirection:t.flowDirection}),c=K(b,C,i?r.extend({},i,d):null,u,p,E,l),s[y]={listNum:b,listStyle:C},s.length=y+1,{listLevel:y,listNum:b,bulletChars:c.chars,bulletWidth:c.width}},K=function(e,t,n,i,o,s,a){var l,c,u,h,d=function(e,t){return[W(e,t),Y(t)].join("")}(e,t),p=[],f=0,g=0;s&&(d=d.split("").reverse().join(""));for(var m=0;m<d.length;m++)l=d[m],n&&(u=(c=L({char:l,lineWidth:g,domStyle:n},a)).dx,g=c.lineWidth,h=c.width),p.push({content:l,dx:u,isBulletChar:!0,isRtl:s,spanStyle:r.extend({},i,{fontIsStrikeout:!1,fontIsUnderline:!1}),domStyle:n,runDomStyle:o,width:h}),f+=h+u;return{chars:p,width:f}},X=function(e,t){var n,i,o=e.line,s=e.lineWidth,a=e.letterSpacing,l=e.style,c=e.nextChar,h=t.charIdx,d=t.width,p=o.chars.slice(h),f=p.length,m=null!=c;return 0!==a?(Object.assign(t,{charIdx:o.chars.length,width:s}),s):(m&&(p.push(c),f++),_(u+p.map((function(e){return e.content})).join("").replace(" "," ")+u,l),d+=g.getSubStringLength(1,p.length),f+1>g.getNumberOfChars()||(n=g.getEndPositionOfChar(0).x,r.range(1,f+1).forEach((function(e,t){i=g.getEndPositionOfChar(e).x,p[t].width=i-n,n=i})),Object.assign(t,{charIdx:h+f-(m?1:0),width:d-(m?r.last(p).width:0)})),d)},Z=function(e){return Object.assign(e||{},{charIdx:0,width:0})},Q=function(e,t){var n=e.runs.reduce((function(e,t){return e+t.spans.reduce((function(e,t,n){return e+$(t,0===n)}),0)}),0);return e.charX=n+t,e},$=function(e,t){return 0===r.last(e.dx)?(g.setAttribute("style","white-space:pre;"),g.setAttribute("text-rendering","geometricPrecision"),r.extend(g.style,e.domStyle,{fontFeatureSettings:'"liga" 1'}),g.textContent=u+e.content.join("")+u,r.first(e.dx)+g.getComputedTextLength()):r.first(e.dx)+(r.last(e.xs)+r.last(e.widths)+r.last(e.dx))-r.first(e.xs)};c.browser.isIE?Q=function(e){return e}:(X=function(e){return e.lineWidth},Z=function(){});var J=function(e){var t,n,i,o,s,l,c,u,h=e.bulletChars,d=e.bulletWidth,p=e.lines||[],f=p[0],g=a.getPath(f,"chars.length",0),m=g>0&&f.isRtl!==f.chars[0].isRtl,v=m?r.last:r.first,y=m?r.initial:r.tail;return g>0&&(t=f.blockStyle,s=(o=V(t,!0,!0)).firstLineMargin-o.leadingMargin-d,n=v(f.chars),n=Object.assign({},n,{dx:Math.max(n.dx,n.dx+s)}),i=y(f.chars),p=[r.extend({},f,{width:f.width+s+(e.rtl?d:0),chars:(l=h,c=n,u=i,m?l.concat(u).concat(c):l.concat(c).concat(u))})].concat(p.slice(1))),p},ee={left:0,right:1,center:.5,justify:0,leading:0,trailing:1},te={normal:r.identity,subscript:function(e,t){return e+t/2},superscript:function(e,t,n){return e-n+t}},ne=r.rest((function(e,t){return te[e].apply(null,t)})),ie=r.ary(r.partialRight(r.pick,["fill","stroke","y"]),1),re=function(e){var t=e.lines,n=e.curr,i=e.next,o=e.x,s=r.omit(e,["lines","curr","next","x"]),a=r.last(t),l=n!==i,c=null!=a&&!r.isEqual(ie(a),ie(s));null!=a&&(l&&!i||c)&&null==a.x2&&(a.x2=o),(l||c)&&i&&t.push(r.extend({x1:o},s))},oe=function(e){var n=e.ascent,i=e.blockIdx,s=e.descent,a=e.isBiDi,l=e.isLast,c=e.isRtl,u=e.marginLeft,h=e.domStyle,d=e.underlinePosition,p=e.underlineThickness,f=e.width,g=e.y,m=e.blockStyle.flowDirection,v=e.blockStyle.justification,y=e.charIdx,S=Math.abs(ee[v]-("leftToRight"===m?0:1)),b=e.chars,w=b.reduce((function(e,t,n){var i=t.content,r=e.currTrailingSpaceIdx;return T(i)?0!==n&&T(b[n-1].content)||(r=n):r=n+1,{charX:e.charX+t.dx+t.width,trailingSpaceIdx:r}}),{charX:0,trailingSpaceIdx:-1}),C=w.charX,E=w.trailingSpaceIdx,P=null!=E?r(b).slice(E).reduce((function(e,t){return e+t.dx+t.width}),0):0,D=f-C+P,A=D*S-(c?P:0),I=r(b).slice(0,E).reduce((function(e,t){return e+(T(t.content)?1:0)}),0),k="justify"!==v||a||l?0:D/I,R=[],_=[],M=Q(new t(b).flatMap(o().mark((function e(t,n){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!c){e.next=4;break}R.unshift(t),e.next=6;break;case 4:return e.next=6,t;case 6:if(n!==b.length-1){e.next=8;break}return e.delegateYield(R,"t0",8);case 8:case"end":return e.stop()}}),e)}))).flatMap(o().mark((function e(t,n){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.isRtl===c){e.next=4;break}_.unshift(t),e.next=9;break;case 4:if(!(_.length>0)){e.next=7;break}return e.delegateYield(_,"t0",6);case 6:_=[];case 7:return e.next=9,t;case 9:if(!(n===b.length-1&&_.length>0)){e.next=11;break}return e.delegateYield(_,"t1",11);case 11:case"end":return e.stop()}}),e)}))).reduce((function(e,t,i){var o,a=t.content,l=t.dx,u=t.idx,h=t.isBulletChar,f=t.isRtl,m=t.isNewLine,v=t.runDomStyle,y=t.spanStyle,S=y.backgroundColor,b=y.elevation,w=y.fontIsUnderline,C=!w&&null!=y.linkId,P=y.fontIsStrikeout,D=y.shadow,A=y.underlineThickness,I=y.xHeight,R=y.linkId,_="".concat(y.linkId,"-").concat(i),M=t.domStyle,O=M.fill,L=M.fill,V=t.width,N=x(y),j=!h&&!m,B=null!=S&&""!==S&&j,F=(!!w||C)&&j,U=!!P&&j,H=null!=D,G=i>=E,W=e.charX,z=e.hasBackground,Y=e.hasShadow,q=e.linkId,K=e.letterSpacing,X=e.isStrikeThrough,Z=e.isUnderlined,Q=e.elevation,$=(c?r.first:r.last)(e.runs),J=(f?r.first:r.last)(r.get($,"spans")),ee=c?"unshift":"push",te=f?"unshift":"push";return H&&(e.anyShadows=!0),null!=$&&r.isEqual(v,$.domStyle)||($={isRtl:f,domStyle:v,spans:[]},e.runs[ee]($),J=void 0),null!=J&&Q===b&&K===y.spacing&&Y===H&&t.idx!==E&&q===R&&r.isEqual(M,J.domStyle)||(J={charIdx:u,content:[],dx:[],hasShadow:H,idxs:[],isNewLine:[],isTrailingSpace:G,domStyle:M,widths:[],xs:[],y:ne(b,g,N,n),linkId:R,linkRef:_},$.spans[te](J)),T(a)&&0!==k&&(l+=k,t=r.extend({},t,{dx:l})),J.content[te](a),J.dx[te](l),J.idxs[te](u),J.isNewLine[te](m),J.widths[te](V),J.xs[te](W),J.charIdx=Math.min(J.charIdx,u),o=J.y,re({lines:e.strikethroughs,curr:X,next:U,x:W+l,y:o-I/2,stroke:O,strokeWidth:A}),re({lines:e.underlines,curr:Z,next:F,x:W+l,y:o-d,stroke:L,linkId:R,linkRef:_,hiddenLinkUnderline:C,strokeWidth:p}),re({lines:e.backgrounds,curr:z,next:B,x:W+l,y:g-n,height:n+s,fill:S}),re({lines:e.linkBackgrounds,curr:null!=q,next:null!=R,x:W+l,y:g-n,height:n+s,linkId:R}),r.extend({},e,{charX:W+t.dx+t.width,hasBackground:B,hasShadow:H,letterSpacing:y.spacing,isStrikeThrough:U,isUnderlined:F,elevation:b,linkId:R})}),{linkBackgrounds:[],backgrounds:[],charX:u,hasBackground:!1,hasShadow:!1,isStrikeThrough:!1,isUnderlined:!1,anyShadows:!1,trailingSpaceIdx:-1,runs:[],strikethroughs:[],underlines:[]}),u),O=M.linkBackgrounds,L=M.backgrounds,V=M.runs,N=M.strikethroughs,j=M.underlines,B=M.anyShadows,F=M.charX;return{anyShadows:B,ascent:n,linkBackgrounds:O,backgrounds:L,blockIdx:i,charIdx:y,descent:s,isBiDi:a,isRtl:c,lineWidth:F,lineXOff:A,runs:V,strikethroughs:N,domStyle:h,trailingSpaceIdx:E,underlines:j,x:A+u+(F-u)/2,y:g}},se=function(e,t){return{maxLineWidth:Math.max(e.maxLineWidth,t.lineWidth),minLineXOff:Math.min(e.minLineXOff,t.lineXOff),lines:e.lines.concat([t])}},ae={top:0,center:.5,bottom:1},le=function(e){var t=e.listStyle;return"none"!==(void 0===t?{listType:"none"}:t).listType},ce=function(e){var t=e.spans;return 0===t.length||1===t.length&&"\n"===t[0].text},ue=function e(n){var i,s,a,c,u,h,d,p,f=n.estimate,g=n.final,m=0,v=0,y=n.blocks,S=n.lastShrinkStep,w=n.defaultBlockStyle,x=w.baseSpanStyle,C=n.direction,E=n.textFontSizeShrink||0,P=n.scaleAttempt||0,T=Math.abs(n.width),D=Math.abs(n.height),A=[];if("horizontal"!==C){var I=T;T=D,D=I}if(0===y.length)return{textLines:[],maxLineWidth:0,textMtx:new l};if(u=new t(y).flatMap(o().mark((function e(t,n){var i,s,a,l,c,u,h,d;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=t.spans,s=t.runs,a=r.extend({},w,t.style),l=b(a),c=q(t,a,w,l,E,A,f),u=null!=c?c.bulletWidth:0,d=j({blockStyle:a,blockIdx:n,baseSpanStyle:x,estimate:f,fontSizeShrink:E,idx:v,isList:null!=c,runs:s,domStyle:l,spans:i,width:T,wrapText:true,y:m,bulletWidth:u,isFirst:0===n,isLast:n===y.length-1}),m=d.y,v=d.idx,h=d.lines,null==c){e.next=9;break}return e.delegateYield(J({bulletChars:c.bulletChars,bulletWidth:u,lines:h,rtl:d.isBlockRtl}),"t0",7);case 7:e.next=10;break;case 9:return e.delegateYield(h,"t1",10);case 10:case"end":return e.stop()}}),e)}))).map(oe).reduce(se,{maxLineWidth:0,minLineXOff:1/0,lines:[]}),P<=30){if((p=Math.floor(m)>D)||P>0&&S>1)return h=0===P?16:p?S:S/2,d=p?E+h:E-S+h,e(r.extend({},n,{textFontSizeShrink:d,estimate:!g,final:g,shrinking:!0,scaleAttempt:P+1,lastShrinkStep:h}));if(f)return e(r.extend({},n,{estimate:!1,final:!0,scaleAttempt:0}))}return i=u.maxLineWidth,s=u.minLineXOff,a=u.lines,c=function(e,t,n){var i=ae[n.valign];return(new l).translate(0,e*i).translate(0,-t*i)}(D,m,n),{textLines:a,textHeight:m,minTextLineXOff:s,maxTextLineWidth:i,textMtx:c}};return{parseVectorText:function(e,t){var n=e.width(),o=e.height(),a=e.valign();return null==f&&(f=s.createElement("svg"),g=s.createElement("text"),r.extend(f.style,{left:0,position:"fixed",top:0,visibility:"hidden"}),g.setAttribute("space","preserve"),g.setAttribute("text-rendering","geometricPrecision"),f.appendChild(g),i.addToLib(f)),ue({estimate:!1,final:!1,shrinking:!1,blocks:t.blocks,direction:t.direction,defaultBlockStyle:t.defaultBlockStyle,width:n,height:o,valign:a})},getLineHeight:m,adjustMargin:k,getListInfo:q}}.call(t,n,t,e))||(e.exports=i)},5214:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(4192),r=DS._,o=DS.errorManager,s=DS.detection,a=o.throwError("templateManager"),l=o.backtick,c=a("getTemplate"),u=l("templateName")+" argument empty",h={getTemplate:function(e){e||c(u);var t,n,o=(n=i[(t=e)+"Mobile"],s.deviceView.isClassicMobile&&null!=n?n:i[t]);return r.isUndefined(o)&&c("tried calling for an undefined template",l(e)),o}};return t.setTemplateManager(h),h}.call(t,n,t,e))||(e.exports=i)},1853:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r,o=n(7877),s=DS._,a=DS.vow,l=DS.constants,c=DS.utils,u=DS.detection,h=DS.dom,d=DS.slidesController,p=DS.globalEventHelper,f=p.addBodyListener,g=p.removeBodyListener,m=l.TINY_VIDEO,v=u.os.isIOS?window.globals.maxIosVideoElements:200,y=u.device.mobile?["touchend","click"]:["click"],S=[],b=[],w=function(e){e.pause(),null!=e.hlsPlayer&&(e.hlsPlayer.destroy(),e.hlsPlayer=null),e.lastSrc=null,e.src=m,e.load()},x=function(e){var t=null!=e.parentNode,n=t&&h.hasClass(e.parentNode,"offscreen"),i=S.some((function(n){return n.el.contains(e)&&t&&!c.getPath(n.props,"isPlaying",!0)}));(i||!t||n)&&(e.pause(),i||w(e))},C=function(e,t,n){n=n||s.noop,null!=t?t.then((function(){x(e),n()})).catch((function(){x(e),n(!0)})):(x(e),n())},E=function(){var e=document.createElement("video"),t=function t(){C(e,e.play()),y.forEach((function(e){return g(e,t)}))};e.loadVideo=function(t){var n="m3u8"===s.last(t.split("."));return!(!n||!u.env.isFileProtocol)||(n&&window.Hls.isSupported()?null!=e.hlsPlayer&&e.lastSrc===t||(e.hlsPlayer&&e.hlsPlayer.destroy(),e.hlsPlayer=new window.Hls,e.hlsPlayer.loadSource(t),e.hlsPlayer.attachMedia(e),e.lastSrc=t):(e.hlsPlayer&&e.hlsPlayer.destroy(),e.lastSrc=t,e.src=t,e.load()),!1)},e.src=m,e.tabIndex=-1,e.setAttribute("preload","auto"),u.device.isMobile&&(e.setAttribute("playsinline",1),e.setAttribute("webkit-playsinline","true")),r.appendChild(e),e.load(),C(e,e.play()),y.forEach((function(e){return f(e,t)}))};return{initialize:function(e){return r=o.getVideoPen(),new Promise((function(n){t=e.assetLib(),i=t.getVideoCount(),s.times(Math.min(v,i),E),function(e,t){if(u.device.isPhone||0===t)e();else{var n=r.firstElementChild,i=n.play();C(n,i,e)}}((function(r){var o=!1,s=e.slideMap();if(i>0&&r){var a=d.getSlide(d.getEntrypoint());o=null==a||s.getRefById(a.fullId()).assetIds().some((function(e){return"video"===t.find({id:e}).type()}))}n(o)}),i)}))},getVideoElement:function(e){var t=r.firstElementChild;return null!=t?null==e.isMediaElement&&r.removeChild(t):(t=s.findLast(S,(function(e){return e.isPaused||e.ended()})),null!=t?(s.pull(S,t),t=t.retrieveVideo()):t=S.pop().retrieveVideo()),S.unshift(e),t},requestVideoEl:function(e,t){var n=a.Deferred();return t||r.firstElementChild?(n.resolve(this.getVideoElement(e)),s.remove(b,(function(t){return t.obj===e}))):b.unshift({dfd:n,obj:e}),n.promise()},putVideoInPen:function(e,t){s.pull(S,t),w(e),r.insertBefore(e,r.firstElementChild),this.getNextInLine()},getNextInLine:function(){var e;b.length>0&&(e=b.pop()).dfd.resolve(this.getVideoElement(e.obj))},prepare:function(){s.toArray(r.childNodes).forEach((function(e){e.readyState===e.HAVE_NOTHING&&e.networkState===e.NETWORK_EMPTY&&r.removeChild(e)}))}}}.call(t,n,t,e))||(e.exports=i)},4998:function(e,t,n){var i;void 0===(i=function(e){"use strict";DS._;var t=DS.errorManager,n=t.throwError("actionable");t.warn("actionable");return{triggerAction:function(e,t){var i=e&&e.kind;return i||n("triggerAction","Cannot execute action without `kind`"),this.trigger("action:"+i,e,t),this}}}.call(t,n,t,e))||(e.exports=i)},843:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS.events,n=DS.captionsManager,i=DS.utils;return{componentWillMount:function(){this.captions=n.getCaptions(this.getAssetId()),this.hasCaptions=null!=this.captions,this.hasCaptions&&(this.currentCaptions=[])},componentDidMount:function(){var e=this.props.model||this.props.slideObjectModel;this.slideOwner=e.getSlide(),this.slideId=this.slideOwner.id,n.mount(this,this.slideId)},componentWillUnmount:function(){this.clearCaptions(),n.unmount(this,this.slideId)},adjustCaptions:function(){var e=this,n=this.slideOwner.currView.props.slideContainer;if(null!=n&&this.hasCaptions&&this.props.objectVisible&&this.props.slideVisible){var r=this.getCurrentTime();this.currentCaptions.length>0&&(this.currentCaptions=this.currentCaptions.reduce((function(e,o){return i.isWithinRange(o.startTime,o.endTime,r)?e.push(o):n.trigger(t.captions.REMOVE,o.getCueAsHTML()),e}),[])),DS._.difference(this.captions,this.currentCaptions).forEach((function(o){i.isWithinRange(o.startTime,o.endTime,r)&&(e.currentCaptions.push(o),n.trigger(t.captions.ADD,o.getCueAsHTML()))}))}return this},clearCaptions:function(){var e=i.getPath(this.slideOwner,"currView.props.slideContainer");return null!=e&&this.hasCaptions&&this.currentCaptions.length>0&&this.currentCaptions.forEach((function(n){e.trigger(t.captions.REMOVE,n.getCueAsHTML())})),this.currentCaptions=[],this}}}.call(t,n,t,e))||(e.exports=i)},4329:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.resolver,i=DS.errorManager,r=(i.throwError("varPropListenable"),i.backtick,function(e,t){return t.kind===e}),o=t.partial(r,"onvarchanged"),s=t.partial(r,"onpropchanged"),a=function(e){return["change",e].join(":")};return{setVarAndPropListeners:function(){var e,i,r=this.events();return[].concat((e=this,i=t.sortBy(r.filter(o),"priority").reverse(),t.invokeMap(i,(function(){var t=this,i=a("value"),r=n.resolvePath(t.varname,e),o=function(){e.executeFilteredPlayerEvent((function(e){return e===t}),"onvarchanged")};return null!=r&&e.listenTo(r,i,o),{listener:e,obj:r,event:i,callback:o}}))),function(e,i){return t.invokeMap(i,(function(){var t=this,i=n.resolvePath(t.objRef,e),r=t.propname,o=i.prop(r),s=a(r),l=i.getPlayerProps(),c=function(){window.requestAnimationFrame((function(){o!==i.prop(r)&&(o=i.prop(r),e.executeFilteredPlayerEvent((function(e){return e===t}),"onpropchanged"))}))};return e.listenTo(l,s,c),{listener:e,obj:l,event:s,callback:c}}))}(this,t.sortBy(r.filter(s),"priority").reverse()))}}}.call(t,n,t,e))||(e.exports=i)},2296:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3495),i=DS._;return DS.BaseModel.extend({shorthand:["duration"],associations:{tweens:t},buildConfig:function(){var e={isWipe:!!this.get("wipetrans"),pushDir:this.get("pushdirection"),duration:this.get("duration"),tweens:this.tweens().buildTweens(),updateConfig:function(){e.tweens.forEach((function(e){i.forOwn(e.tweenAttrs,(function(e){e.update()}))}))}};return e},getConfig:function(){return this.config=this.config||this.buildConfig(),this.config.updateConfig(),this.config}})}.call(t,n,t,e))||(e.exports=i)},7170:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3807),i=n(4164),r=n(2753),o=n(9824),s=n(6664),a=n(3723),l=DS._,c=DS.utils,u=DS.vow,h=DS.BaseModel,d=DS.detection,p={img:"swf png jpg jpeg gif bmp".split(" "),video:"flv mov mp4 avi m3u8".split(" "),audio:"mp3".split(" "),js:"js".split(" ")},f={audio:t,video:r,js:o,jssvg:s},g={};return h.extend({shorthand:["url","type","width","height","mobiledx","mobiledy","captions"],initialize:function(){var e=this.url();d.env.isFileProtocol&&null!=this.get("localUrl")?e=this.get("localUrl"):d.device.isPhone&&!l.isEmpty(this.get("lowResUrl"))&&(e=this.get("lowResUrl")),null!=e&&e.startsWith("data:")||this.url(c.resolveAssetUrl(e)),this.inferType()},ext:function(){return l.last(this.url().split("."))},isValid:function(){return"swf"!==this.ext()},inferType:function(){var e=this,t=l.reduce(p,(function(t,n,i){return l.includes(n,e.ext())?i:t}),null);return"js"===t&&"jssvg"===this.get("jsType")&&(t="jssvg"),this.type(t),this},load:function(e){if(null!=this.currentLoader)return this.currentLoader.promise;var t,n,r,o=this.type(),s="audio"===o,l=this.isLoaded||g[this.url],c=s&&a.useAudioApi();if(!this.isValid()||l&&!e&&!c)return this.isLoaded=!0,(n=(t=u.Deferred()).resolve().promise()).dfd=t,n;!c&&s&&(g[this.url]=!0);var h=f[o]||i;return this.currentLoader=r=new h({type:this.type(),url:this.url(),id:this.id,loadForView:e,dataId:this.get("dataId")}),r.promise.then(function(){this.isLoaded=!0}.bind(this)).always(function(){r.teardown(),this.currentLoader=null}.bind(this)),r.promise.dfd=r.dfd,r.promise}})}.call(t,n,t,e))||(e.exports=i)},2388:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4998),i=n(4554),r=n(4585),o=n(2658);return DS.BaseModel.extend({shorthand:["assetId","events"],mixins:[t,r,i],abilities:{resolveAsThis:!0,resolveAsParent:!1,beEventTarget:!0},playerPropNames:{isTimelineControlled:!1,isPlaying:!1,resumeOnTimelinePlay:!1},getSlide:function(){return this.getClosestAncestorByKind("slide")},getAsset:function(){return o.getAsset(this.assetId())},getUrl:function(){return this.getAsset().url()},getDuration:function(){return this.getAsset().get("duration")},getResumeData:function(e){var t="",n=0;return(e||this.getSlide().resume())&&(n+=this.prop("isTimelineControlled")?1:0,n+=this.prop("isPlaying")?2:0,t=(n+=this.prop("resumeOnTimelinePlay")?4:0).toString()),t},setResumeData:function(e,t){(t||this.getSlide().resume())&&(e=parseInt(e,10),this.prop({isTimelineControlled:!!(1&e),isPlaying:!!(2&e),resumeOnTimelinePlay:!!(4&e)}))},resetBeforeView:function(){this.resetProps()}})}.call(t,n,t,e))||(e.exports=i)},3936:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3807),i=n(3723),r=DS._,o=DS.appState,s=DS.events,a=DS.BaseModel,l=DS.vow,c=function(e){return["presentation_content",e].join("/")},u=l.Deferred().resolve().promise(),h=l.Deferred().reject();return h.catch((function(e){return e})),h=h.promise(),a.extend({initialize:function(){this.clips={},this.onClipEndedDelegate=this.onClipEnded.bind(this),this.listenTo(o,s.volume.CHANGE_CURRENT,this.onVolumeChanged)},isPlaying:function(){return null!=this.currentlyPlayingIdx},getRelativeVolume:function(e){return this.get("volume")*e/100},play:function(){return this.get("filenames").length>0&&this.playIdx(0),this},playIdx:function(e){var t=this.get("filenames")[e],n=i.loadUrl(c(t),"playlist"+e);return n.on(s.audioClip.ENDED,this.onClipEndedDelegate),n.setVolume(this.getRelativeVolume(o.currentVolume())),n.play(),this.clips[e]=n,this.currentlyPlayingIdx=e,this.preloadNext(),this},stop:function(){return Object.keys(this.clips).forEach(this.stopIdx.bind(this)),this.currentlyPlayingIdx=null,this},stopIdx:function(e){var t=this.clips[e];return t.off(s.audioClip.ENDED,this.onClipEndedDelegate),t.destroy(),this.clips[e]=null,this},pause:function(){return this.isPlaying()&&!this.isPaused&&(this.clips[this.currentlyPlayingIdx].pause(),this.isPaused=!0),this},resume:function(){return this.isPlaying()&&this.isPaused&&(this.clips[this.currentlyPlayingIdx].play(),this.isPaused=!1),this},load:function(){return this.get("filenames").length>0?this.loadIdx(0):u},loadIdx:function(e){var n=c(this.get("filenames")[e]),i=new t({type:"audio",url:n});return i.promise.always(i.teardown.bind(i))},preloadNext:function(){var e=this.currentlyPlayingIdx+1;if(e>=this.get("filenames").length){if(!this.get("loop"))return h;e=0}return e===this.currentlyPlayingIdx?h:this.loadIdx(e)},onClipEnded:function(){var e=this.currentlyPlayingIdx+1;if(e>=this.get("filenames").length){if(!this.get("loop"))return void this.stopIdx(this.currentlyPlayingIdx);e=0}this.currentlyPlayingIdx!==e?(this.stopIdx(this.currentlyPlayingIdx),this.playIdx(e)):this.clips[this.currentlyPlayingIdx].seek(0).play()},onVolumeChanged:function(e,t){r.invokeMap(this.clips,"setVolume",this.getRelativeVolume(t))}})}.call(t,n,t,e))||(e.exports=i)},2687:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2261),i=DS,r=i.BaseModel,o=i.windowManager;return r.extend({associations:{windows:t},shorthand:["width","height"],getWindowById:function(e){return e===o.PRINT_WINDOW?{kind:"window",id:o.PRINT_WINDOW}:this.windows().get(e)}})}.call(t,n,t,e))||(e.exports=i)},9687:function(e,t,n){var i;i=function(e){"use strict";var t=n(5552),i=DS._,r=DS.Chunk,o=DS.utils,s=DS.constants,a=o.createSuper(t),l=function(e,t){return 0==(e&t)?e:e-t},c=t.extend({variableProps:{SelectedItem:{type:s.varTypes.NUM,value:-1}},buildResumeData:function(){var e,t;return t=a("buildResumeData").apply(this,arguments),"wordbank"===this.get("style")&&this.prop("SelectedItem")>=0&&(e=r.fromUnsignedString64(this.encodedResumeData.slice(0,3)),e=l(e,4),e=l(e,512),this.encodedResumeData=r.toUnsignedString64(e,3)+this.encodedResumeData.slice(3)),t},unDrop:function(){i.result(this,"currView.refs.innard.unDrop")},resetForSeek:function(){var e=a("resetForSeek").apply(this,arguments);return this.unDrop(),e},onPlayerReset:function(){var e=a("onPlayerReset").apply(this,arguments);return this.unDrop(),e},resetObjectBeforeResume:function(){var e=a("resetObjectBeforeResume").apply(this,arguments);return this.unDrop(),e}});return c}.call(t,n,t,e),void 0===i||(e.exports=i)},2801:function(e,t,n){var i;i=function(e){"use strict";var t=n(5552),i=DS._,r=DS.utils,o=DS.constants,s=(DS.BaseModel,r.createSuper(t)),a=t.extend({variableProps:{SelectedItemIndex:{type:o.varTypes.NUM,value:-1}},initialize:function(){this.origItemsList=r.getPath(this,"data.itemlist").slice(),this.itemslist=this.origItemsList.slice(),this.hiderParents=[],this.createIdxHash(),this.shuffleItems()},createIdxHash:function(){this.itemsIdx=this.itemslist.reduce((function(e,t,n){return e[t.itemdata]=n,e}),{})},shuffleItems:function(){this.get("shuffle")&&(this.itemslist=i.shuffle(this.itemslist))},setResumeData:function(){s("setResumeData").apply(this,arguments);var e=this.prop("SelectedItemIndex");e>=0&&this.prop("SelectedItemData",this.origItemsList[e].itemdata)}});return a}.call(t,n,t,e),void 0===i||(e.exports=i)},4273:function(e,t,n){var i;i=function(e){"use strict";var t=n(5552),i=DS._,r=DS.utils,o=DS.constants,s=r.createSuper(t),a=t.extend({variableProps:{SelectedItem:{type:o.varTypes.NUM,value:-1}},setResumeData:function(){s("setResumeData").apply(this,arguments);var e=r.getPath(this,"currView.refs.innard");i.result(this,"currView.isMounted",!1)&&this.currView.htmlReady(e.resumeReview)}});return a}.call(t,n,t,e),void 0===i||(e.exports=i)},4469:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3484),i=DS._,r=DS.utils,o=DS.constants;return t.extend({shorthand:["colors","background","borderColor"],isGroupingContainer:!0,initialize:function(){this.addExtraVariables().setupLabelColors()},addExtraVariables:function(){return this.variables().addVariable({name:"_expanded",type:o.varTypes.BOOL,value:!1}),this},setupLabelColors:function(){var e=i(this.colors()),t=e.find({name:"border"}),n=e.find({name:"bg"});if(t){var o=i.first(t.fill.colors),s=r.toRgba(o.rgb,o.alpha);this.set("borderColor",s)}n&&this.set("background",n)}})}.call(t,n,t,e))||(e.exports=i)},3484:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(5552),i=DS._,r=DS.utils.createSuper(t),o=r("resolveables").concat(["objects"]),s=i.defaults({groupObjects:!0},r("abilities"));return t.extend({resolveables:o,abilities:s,isGroupingSlideObject:!0,resolvers:{objects:function(e,t){return t.findNestedObject(e)}},getCorrectBounds:function(e,t){var n=e.getBounds(),r=e.prop("RawXPos"),o=e.prop("RawYPos");return i.extend({left:r,right:r+n.width,top:o,bottom:o+n.height,idx:t},i.pick(n,"height","width"))},killEverything:function(){r("killEverything"),this.objects().invoke("killEverything")}})}.call(t,n,t,e))||(e.exports=i)},9890:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(4615),r=n(2687),o=n(6414),s=n(6392),a=n(7895),l=n(9360),c=n(4115),u=(n(8771),n(7620)),h=n(5178),d=n(4585),p=n(4554),f=n(7258),g=n(4664),m=n(4196),v=n(3488),y=n(9951),S=n(4998),b=n(4329),w=DS._,x=DS.playerGlobals,C=DS.vow,E=DS.BaseModel,P=DS.utils,T=DS.errorManager,D=DS.flagManager,A=DS.events,I=DS.pubSub,k=DS.slideNumberManager,R=DS.constants,_=DS.detection.theme,M=T.throwError("Presentation"),O=function(e){return!e.isMessageScene()},L=E.extend({mixins:[S,d,b],resolveables:["variables"],abilities:{resolveAsThis:!0,resolveAsParent:!0,beEventTarget:!0},associations:{variables:a}});return E.extend({abilities:{resolveAsThis:!0,resolveAsParent:!0,beEventTarget:!0},mixins:[d,p],subscriptions:(t={},t[A.customlink.EVENT]="onCustomlink",t[A.actionlink.EVENT]="onActionlink",t[A.presentation.ON_OBJECT_EVENT]="onObjectAction",t[A.error.INTERFACE]="onInterfaceError",t[A.slide.HAS_CHANGED]="onSlideChanged",t[A.window.CLOSED]="onWindowClosed",t[A.data.INITIALIZED]="onDataInitialized",t),url:function(){return P.resolveDataUrl("data")},associations:{slideMap:i,display:r,scoring:o,scorings:s,variables:a,scenes:l,assetLib:c,globalaudiolib:g,quizzes:u,timers:h,audioplaylists:f},resolveables:["scenes","variables","actionGroups","quizzes","scorings","slideBank","timers"],shorthand:["entryPoint","resume","events","actionGroups","playerVars"],playerPropNames:{CurrentSlideId:null,LastErrorFeature:null},resolvers:{slideBank:function(e,t){return w.find(t.slides,{id:e})}},initialize:function(){x.presentation=this},getFirstSlide:function(){var e=this.scenes().getNonMessageScenes()[0],t=e.slides();return t.length>0?t.first():e.slidedraws().first().getFirstSlide()},getPlayerVarDefaultValues:function(){var e=this.get("playervars"),t={};return e.forEach((function(e){t[e.name]=e.value})),t},getDefaultFont:function(){return this.get("defaultFont")},createPlayerVars:function(){var e=this.getPlayerVarDefaultValues(),t="boolean",n="boolean",i="boolean",r=(R.varTypes.NUM,new L({variables:[{kind:"variable",name:"displayCaptions",type:t||"boolean",value:e.displayCaptions||!1,resume:!1},{kind:"variable",name:"accessibleText",type:n||"boolean",value:e.accessibleText||!1,resume:!1},{kind:"variable",name:"zoomToFit",type:i||"boolean",value:e.zoomToFit||!1,resume:!1},{kind:"variable",name:"hasPrevHistory",type:R.varTypes.BOOL,value:!1,resume:!1},{kind:"variable",name:"activityId",type:R.varTypes.STRING,value:P.getPath(DS,"lmsManager.getActivityId"),resume:!1},{kind:"variable",name:"slideElapsedTime",type:R.varTypes.NUM,value:0,resume:!1},{kind:"variable",name:"sceneElapsedTime",type:R.varTypes.NUM,value:0,resume:!1},{kind:"variable",name:"projectElapsedTime",type:R.varTypes.NUM,value:0,resume:!1},{kind:"variable",name:"questionCorrect",type:R.varTypes.BOOL,value:!1,resume:!1},{kind:"variable",name:"fullScreenMode",type:R.varTypes.BOOL,value:!1,resume:!1}].concat(k.getPlayerVariables())}));this.playerVars(r)},initializeFlagManager:function(){D.register("slides",this.get("flags"),_)},onDataInitialized:function(){var e=this;v.setDataVersion(this.get("version")),y.setColorData(this.get("colorGroups"));var t=w(this.scenes().models).invokeMap("slidedraws").map((function(e){return e.models})).flatten();t.some()?t.forEach((function(t){e.listenTo(t,A.draw.RESET_COMPLETE,e.onDrawSlidesCreated.bind(e))})):this.onDrawSlidesCreated(),null!=this.get("playervars")&&this.createPlayerVars()},getDrawPromise:function(){return null==this.drawPromise&&(this.drawPromise=C.after.apply(C,w.invokeMap(this.scenes().filter(O),"getDrawPromise"))),this.drawPromise},onDrawSlidesCreated:function(){var e=this;this.getDrawPromise().then((function(){e.createSlideIndices()}))},getFlatSlides:function(e){var t=null!=e?O:Boolean;return w(this.scenes().filter(t)).invokeMap("getAllSlides").flatten().value()},getUniqueSlides:function(){var e=this.getFlatSlides(!0),t={};return e.reduce((function(e,n){var i=n.getViewGroupId();return n.get("trackViews")&&null==t[i]&&(t[i]=!0,e.push(n)),e}),[])},createSlideIndices:function(){var e=0;this.scenes().forEach((function(t){t.slides().forEach((function(t){t.prop("Index",e++)})),t.slidedraws().forEach((function(t){var n=t.sliderefs();t.slides().forEach((function(t){t.prop("Index",e+w.findIndex(n,{id:t.id}))})),e+=n.length}))}))},onCustomlink:function(e){this.executePlayerEvent(e)},onActionlink:function(e){var t=P.getPath(w.find(this.get("actionlinks"),{id:e}),"actions");null==t?M("onActionLink","No action link with id",T.backtick(e)):m.executeActions(t,{context:this})},eventByName:function(e){return w.find(this.events(),(function(t){return t.eventname===e||t.eventName===e}))},onObjectAction:function(e){var t=this.eventByName(e);null!=t&&m.executeActions(t.actions,{context:this})},onInterfaceError:function(e){var t=this.get("errorMsgs").external_interface;this.prop("LastErrorFeature",e),I.trigger(A.request.NEXT_SLIDE,t.slideId,t.window)},onWindowClosed:function(){var e=DS.windowManager.getCurrentWindowSlide();if(null!=e){var t=P.stripPlayer(e.absoluteId);this.prop("CurrentSlideId",t)}},onSlideChanged:function(e,t){t||this.prop("CurrentSlideId",e)},isPreview:w.memoize((function(){return!!P.getPath(this,"preview.enabled")}))})}.call(t,n,t,e))||(e.exports=i)},5363:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(704),i=n(1806),r=n(7895),o=n(5565),s=n(4554),a=DS._,l=DS.vow;return DS.BaseModel.extend({isScene:!0,mixins:[o,s],abilities:{resolveAsThis:!0,resolveAsParent:!0,beEventTarget:!0},associations:{slides:t,slidedraws:i,variables:r},resolveables:["slides","slidedraws","variables","actionGroups"],shorthand:["startingSlide","isMessageScene","sceneNumber"],initialize:function(){this.usedRefs=[]},addRef:function(e){this.usedRefs.push(e)},getRefs:function(){return this.usedRefs},hasDraws:function(){return this.slidedraws().length>0},resolveDfd:function(){this.drawDfd.resolve()},getDrawPromise:function(){var e=this.slidedraws().invoke("getSlidePromise");return this.drawDfd=l.Deferred(),l.after.apply(l,e).then(this.resolveDfd.bind(this)),this.drawDfd.promise()},getAllSlides:function(){var e=this.hasDraws()?a(this.slidedraws().pluck("slides")).invokeMap("slice").flatten().value():[];return this.slides().slice().concat(e)}})}.call(t,n,t,e))||(e.exports=i)},6414:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(4554),r=DS._,o=DS.utils,s=DS.resolver,a=DS.constants,l=DS.BaseModel,c=DS.events,u=DS.pubSub,h=DS.flagManager,d=l.extend({mixins:[i],playerPropNames:{Score:0,PercentScore:0,Status:a.statuses.INCOMPLETE,Completed:!1},shorthand:["type","scoreRefs"],subscriptions:(t={},t[c.slide.VIEWED]="incrementViewed",t[c.slide.SLIDE_NUMBERS_UPDATED]="reportViewedIfPastThreshold",t[c.player.RESET]="reset",t),initialize:function(){this.viewedSlideGroups={},this.viewedSlides=0,u.once(c.data.INITIALIZED,this.setupRefs.bind(this))},setupRefs:function(){this.isExpandedTrackingAvailable=h.hasFlag(h.constants.MULTIPLE_QUIZ_TRACKING),this.scoreRef=null!=this.scoreRefs()&&this.scoreRefs().length>0&&this.scoreRefs()[0],this.linkRef()},hasScoreRef:function(){return!!this.scoreRef},linkRef:function(){this.hasScoreRef()&&(this.quiz=this.getQuiz(this.scoreRef.ref),this.quiz.setScoring(this))},incrementViewed:function(e){this.viewedSlideGroups[e.getViewGroupId()]||(this.viewedSlideGroups[e.getViewGroupId()]=!0,this.viewedSlides++,this.reportViewedIfPastThreshold())},reportViewedIfPastThreshold:function(){this.isPastViewThreshold()&&this.isView()&&(u.trigger(c.course.VIEWED,this),this.updateStatus(!1))},getQuiz:function(e){return s.resolvePath(o.prefixWithPlayer(e),this)},isCourseComplete:function(){return this.isView()&&this.isPastViewThreshold()||this.isAction()&&this.isPassed()||!(!this.quiz||!this.quiz.getIsComplete())},isPastViewThreshold:function(){var e=this.get("viewThreshold"),t=this.viewedSlides;if(this.isExpandedTrackingAvailable){var n={menu:"menuSlidesViewed","project-numbered":"projectSlidesViewed"}[this.get("slidesViewedMode")];if(null!=n){var i=DS.presentation.playerVars().variables().get(n);null!=i&&(t=i.value())}}return t>=e},weightScore:function(e){return o.fix(e/this.get("weight"),2)},getStatus:function(){var e,t,n=a.statuses.INCOMPLETE;return this.isCourseComplete()&&(this.isView()||this.isAction()||this.isType("survey")?n=this.get("passStatus"):this.isType("quiz")&&(e=this.quiz.prop("PercentScore")>=this.quiz.passPercent(),n=this.get(e?"passStatus":"failStatus"),!this.scoreRef.mustpass&&e||(t=this.quiz.isPassed()?"passStatus":"failStatus",n=this.get(t)))),n},updateStatus:function(e){var t=!e,n=this.getStatus();this.prop("Status",n),t&&u.trigger(c.status.UPDATED)},updateScore:function(e){var t=0,n=0;this.quiz===e?(this.quiz.maxPoints>0&&(t=this.quiz.prop("Score"),n=this.quiz.prop("PercentScore")),this.prop({Score:t,PercentScore:n}),this.updateStatus()):this.quiz.updateScore()},setComplete:function(e){this.hasScoreRef()&&this.prop({Completed:this.quiz.getIsComplete()})},reset:function(){null!=this.quiz&&this.prop({Status:this.getStatus(),Score:this.quiz.prop("Score"),Completed:this.quiz.prop("Completed")})},checkCourseComplete:function(){var e=this.prop("Completed");this.updateStatus(),this.isCourseComplete()&&(this.setComplete(),e||this.isView()||u.trigger(c.course.COMPLETED,this,e))},isPassed:function(){return this.prop("Status")===this.get("passStatus")},getPercentScore:function(){return o.pctToDec(this.quiz.prop("PercentScore"))},markAttemptsSent:function(){this.quiz&&this.quiz.markAttemptsSent()},getViewedStatus:function(){return this.get(this.isPastViewThreshold()?"passStatus":"failStatus")}});return r.extend(d.prototype,{isView:r.partial(d.prototype.isType,"view"),isAction:r.partial(d.prototype.isType,"action"),isSurvey:r.partial(d.prototype.isType,"survey")}),d}.call(t,n,t,e))||(e.exports=i)},2641:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(1060),r=n(3484),o=n(3949),s=DS._,a=DS.utils,l=DS.resolver,c=a.createSuper(r),u=s.merge(c("shortEvents"),{self:(t={},t[o.UPDATE_SCROLL_POS]="updateScrollPos",t[o.UPDATE_SCROLL_HEIGHT]="updateScrollHeight",t)});return r.extend({mixins:[i],shorthand:["background","contentheight","contentwidth"],isGroupingContainer:!0,shortEvents:u,updateScrollPos:function(e,t){this.trigger("updateScrollPos",l.getRef(e.pos,t.context))},updateScrollHeight:function(e,t){this.contentheight(l.getRef(e.height,t.context)),this.trigger("updateScrollHeight")},getPathRef:function(){var e=this.background().vectorData;return e?e.pr:{}},getBounds:function(){var e=s(this.background().vectorData).pick("top","right","bottom","left").value(),t={xPos:e.left,yPos:e.top,right:e.right,bottom:e.bottom,fullX:e.left,fullY:e.top};return t.height=t.fullHeight=Math.abs(t.bottom-t.yPos),t.width=t.fullWidth=Math.abs(t.right-t.xPos),t}})}.call(t,n,t,e))||(e.exports=i)},8293:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(5552),i=DS._,r=DS.utils,o=DS.constants,s=(DS.BaseModel,i.extend(i.range(10).reduce((function(e,t){return e["_pos"+t]={type:o.varTypes.STRING,value:"",resume:!1},e}),{}),{ItemOrder:{type:o.varTypes.STRING,value:""}}));return t.extend({variableProps:s,initialize:function(){this.hiderParents=[],this.setupItemsList()},setupItemsList:function(){var e;this.itemsListOrder=r.getPath(this,"data.itemlist").slice(),this.itemsIdx=this.itemsListOrder.reduce((function(e,t,n){return e[t.itemdata]=n,e}),{}),this.itemslist=i.shuffle(this.itemsListOrder),e=this.itemslist.reduce(function(e,t,n){return e+this.itemsIdx[this.itemslist[n].itemdata]}.bind(this),""),this.prop("ItemOrder")||this.prop("ItemOrder",e)},getIndexByData:function(e){return this.itemsIdx[e]}})}.call(t,n,t,e))||(e.exports=i)},6340:function(e,t,n){var i;i=function(e){"use strict";var t=n(5552),i=n(3484),r=DS._,o=DS.utils,s=DS.events,a=o.createSuper(t),l=function(e,t){e.prop("ShuffleXPos",t),e.prop("RawXPos",t)},c=function(e,t){e.prop("ShuffleYPos",t),e.prop("RawYPos",t)},u=function(e,t,n){return r.sortBy(n,e).every((function(n,i,r){var o=r[i-1];return!o||n[e]>=o[e]+.75*o[t]}))},h=r.partial(u,"top","height"),d=r.partial(u,"left","width"),p=function(e,t,n,i,o){var s=e[i],a=this.getCorrectBounds(s),l=e[i-1],c=l&&this.getCorrectBounds(l),u=r.partial(t.updateDefaultCoord,s),h=r.partial(t.updateAltCoord,s);if(0===i)u(n[t.origin]),o.length>1&&"endpoint"===o[1].altAlign?h(n[t.altEndpoint]-a[t.dimension]):h(n[t.altOrigin]);else switch(u(c[t.endpoint]+n.defaultSpacing),n.altAlign){case"origin":h(c[t.altOrigin]);break;case"endpoint":h(c[t.altEndpoint]-a[t.dimension]);break;case"oOffset":h(c[t.altOrigin]+n.altSpacing);break;case"eOffset":h(c[t.altEndpoint]+n.altSpacing)}},f=function(e,t,n){var i=e[n];l(i,t.left),c(i,t.top)},g=r.defaults({resolveAsParent:!1,groupObjects:!0},a("abilities")),m=i.extend({abilities:g,initialize:function(){a("initialize").apply(this,arguments),this.shouldShuffle=!0,this.listenTo(this.getSlide(),s.resume.APPLIED,this.markAsResumed),this.listenTo(this.getSlide(),s.resume.COMPLETE,this.resumeComplete),this.get("shuffle")&&this.setShuffleBounds().determineSpacing().sortBoundsFromSpacing().shuffleAndLayout()},markAsReset:function(){this.shouldShuffle=!0},markAsResumed:function(){this.shouldShuffle=!1},resumeComplete:function(){this.shouldShuffle&&this.shuffleAndLayout()},shuffleAndLayout:function(){return this.get("shuffle")&&this.shuffleObjects().setSpacing().setShuffledPositions().setTabIndices(),this},setShuffleBounds:function(){return this.originalBounds=this.objects().map(this.getCorrectBounds),this},getShuffledArray:function(){return this.shuffledObjectIndices.map(function(e){return this.objects().at(e)}.bind(this))},shuffleObjects:function(){var e=r.shuffle(this.objects().slice());return this.repositionLockedItems(e),this.shuffledObjectIndices=e.map(function(e){return this.objects().indexOf(e)}.bind(this)),this},repositionLockedItems:function(e){this.objects().forEach(function(t,n){if(function(e){return o.isTrue(e.get("shuffleLock"))}(t)){var i=r.findIndex(this.originalBounds,{idx:n}),s=e[i],a=e.indexOf(t);e[i]=e[a],e[a]=s}}.bind(this))},determineSpacing:function(){return h(this.originalBounds)?this.spacing="vertical":d(this.originalBounds)?this.spacing="horizontal":this.spacing="none",this},sortBoundsFromSpacing:function(){var e="vertical"===this.spacing?"top":"left";return this.originalBounds=r.sortBy(this.originalBounds,e),this},setSpacing:function(){if("none"===this.spacing)return this.positionCallback=r.partial(f,this.getShuffledArray()),this;var e=this.originalBounds,t="vertical"===this.spacing,n=t?c:l,i=t?l:c,o=t?"top":"left",s=t?"left":"top",a=t?"bottom":"right",u=t?"right":"bottom",h=t?"height":"width";e.forEach((function(t,n){var i=e[n-1];i&&(t.defaultSpacing=t[o]-i[a],t[s]===i[s]?t.altAlign="origin":t[u]===i[u]?t.altAlign="endpoint":t[s]>i[u]?(t.altAlign="oOffset",t.altSpacing=t[s]-i[s]):(t.altAlign="eOffset",t.altSpacing=t[s]-i[u]))}));var d={updateDefaultCoord:n,updateAltCoord:i,origin:o,altOrigin:s,endpoint:a,altEndpoint:u,dimension:h};return this.positionCallback=r.partial(p.bind(this),this.getShuffledArray(),d),this},setShuffledPositions:function(){return this.originalBounds.forEach(this.positionCallback),this},setTabIndices:function(){var e=this.originalBounds.map(function(e){return this.objects().at(e.idx).get("tabIndex")}.bind(this));return this.shuffledObjectIndices.forEach(function(t,n){this.objects().at(t).prop("tabIndex",e[n])}.bind(this)),this}});return m}.call(t,n,t,e),void 0===i||(e.exports=i)},7692:function(e,t,n){var i;i=function(e){"use strict";var t=n(3949),i=n(4585),r=n(4998),o=n(4329),s=n(1060),a=n(4554),l=n(3635),c=n(8510),u=n(7895),h=n(2989),d=n(2658),p=n(2828),f=n(2995),g=n(1039),m=n(5238),v=DS._,y=DS.BaseModel,S=DS.playerGlobals,b=DS.Chunk,w=DS.pubSub,x=DS.events,C=DS.constants,E=DS.utils,P=DS.vow,T={};T[C.statuses.INCOMPLETE]=1,T[C.statuses.INCORRECT]=2,T[C.statuses.CORRECT]=3,T[C.statuses.NEUTRAL]=4;var D,A,I=function(e,t){return T[e]-T[t]},k=y.extend({isSlide:!0,containsVideoAssets:null,containsZoomRegion:null,mixins:[i,r,l,a,o,s],shorthand:["fullId","currentTimeline","resume","events","actionGroups","background","title","includeInSlideCounts","slideNumberInScene"],playerPropNames:{Viewed:!1,WindowId:null,LastKeyCodeString:null,LastKeyCode:-1,LastKeyValue:null,LastKeyCtrl:!1,LastKeyShift:!1,LastKeyAlt:!1},resolveables:["slideLayers","variables","actionGroups","interactions"],resolvers:{slideLayers:function(e,t){var n=t.getBaseLayer();return n.objects().get(e)||n.audiolib().get(e)||n.objects().findNestedObject(e)}},abilities:{resolveAsThis:!0,resolveAsParent:!0,beEventTarget:!0},associations:{slideLayers:c,variables:u,interactions:h},shortEvents:{self:(A={},A[t.ZOOMPAN]="zoomPan",A),slideLayers:function(){var e={};return e[x.timeline.CHANGED]="onTimelineChanged",e[x.slide.ALL_TIMELINES_COMPLETE]="onAllTimelinesEnded",e}(),interactions:function(){var e={};return e[x.interaction.EVALUATED]="onInteractionEvaluated",e}()},subscriptions:(D={},D[x.slide.PAUSE_TIMELINE]="onPauseTimeline",D[x.slide.PLAY_TIMELINE]="onPlayTimeline",D),initialize:function(e){var t=[this.parent.id,this.id].join(C.PATH_DELIMITER);this.coreState=v.clone(e),v.assign(this.coreState,{fullId:t,interactions:this.interactions()}),this.elapsedTime=0,this.viewed=!1,this.quizzes=[],this.loadedDfd=P.Deferred(),this.fullId(t),this.onResetCurrentTimelineDelegate=this.onResetCurrentTimeline.bind(this),this.onTimelineCompleteDelegate=this.onTimelineComplete.bind(this),this.layerTimelinesCompleted=[]},buildFlatDepths:function(){var e=this;this.slideLayers().forEach((function(t){e.currLayerDepth=0,e.flattenObjDepths(t.objects()),t.depthOffset=e.currLayerDepth}))},flattenObjDepths:function(e){var t=this;e.sortBy((function(e){return e.prop("depth")})).forEach((function(e){e.layerDepth=t.currLayerDepth++,null!=e.objects&&t.flattenObjDepths(e.objects())}))},beforeSlideOut:function(){this.storeInteractionResults(),this.destroyed=!0,this.removeVariableChangeSubscriptions()},resetModel:function(){null!=this.url()&&E.stripPlayer(this.absoluteId)!==S.presentation.prop("CurrentSlideId")&&(this.killEverything(),this.loadedDfd=P.Deferred(),this.clear({silent:!0}).set(this.coreState,{silent:!0}).buildAssociations().resetCurrentTimeline().rebindShortEvents())},resetCurrentTimeline:function(e){return this.setCurrentTimeline(this.getBaseLayer().timeline(),e),this},url:function(){return this.get("html5url")},backgroundImageUrl:function(){return d.getAssetUrl(this.background().imagedata.assetId)},isLoaded:function(){return P.isResolved(this.loadedDfd)},isMessageSlide:function(){return this.getScene().isMessageScene()},load:function(){var e,t=this.loadedDfd,n=p.load(this),i=f.load(this.get("globalAudioId"));return this.isLoaded()?(t=P.Deferred(),P.when(n,i).then(t.resolve.bind(t,this))):(e=t.resolve.bind(t,this),this.isMessageSlide()?e():P.when(this.fetch(),n,i).then(e)),t.promise()},loadSlideAssets:function(){d.clearAllAssets();var e=S.presentation.slideMap().getRefById(this.absoluteId);return null!=e?e.loadAssets(!0):P.Deferred().resolve()},getBaseLayer:function(){return this.slideLayers().getBaseLayer()},getScene:function(){return this.getClosestAncestor((function(e){return e.isScene}))},getSlideDraw:function(){return this.getClosestAncestor((function(e){return e.isSlideDraw}))},getSceneOrDraw:function(){return this.getSlideDraw()||this.getScene()},getViewGroupId:function(){var e=this.get("viewGroupId");return e.length>0?e:this.id},getRelativeId:v.constant(C.refs.CURRENT_SLIDE),getHitType:v.constant(C.SLIDE_HIT),getTransitionAnimation:function(){if(this.get("showAnimationId"))return this.getBaseLayer().animations().find({id:this.get("showAnimationId")})},zoomPan:function(e,t){this.trigger("zoompan",{action:e,event:t})},triggerAction:function(e){return r.triggerAction.apply(this,arguments),r.triggerAction.apply(this.getBaseLayer(),arguments),this},onTimelineChanged:function(e){this.setCurrentTimeline(e)},onAllTimelinesEnded:function(){this.getClosestThisRef().executePlayerEvent("onallopentimelinescomplete")},setAsViewed:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.viewed=!0,this.prop("Viewed",!0),this.interactions().forEach((function(e){e.setAsViewed(!0)})),!e&&this.get("trackViews")&&w.trigger(x.slide.VIEWED,this),this},restoreViewed:function(){return this.viewed=!0,this.interactions().forEach((function(e){e.viewed=!0})),this},hasInteractions:function(){return this.interactions().length>0},setQuiz:function(e){this.quizzes.push(e)},onInteractionEvaluated:function(e,t){this.updateInteractionData(),t||this.prepareResumeData({retainState:!0})},storeInteractionResults:function(){return this.interactions().forEach((function(e){e.initialAttemptCount===e.prop("AttemptCount")&&(e.responsesBuiltOnExit=!0,e.updateUserResponse())})),this},getInteractionAttempted:function(){var e=!1,t=this.interactions&&this.interactions();return t&&t.length>0&&(e=t.reduce((function(e,t){return e&&t.prop("AttemptCount")>0}),!0)),e},getInteractionStatus:function(){var e,t,n=this.interactions&&this.interactions();return n&&n.length>0&&(t=n.reduce((function(e,t){return e[t.prop("Status")]=!0,e}),{}),e=Object.keys(t).sort(I)[0]),e},getVariableChangeSubscriptions:function(){return null==this.varAndPropSubscriptions&&(this.varAndPropSubscriptions=null==this.events()?[]:this.setVarAndPropListeners(),this.slideLayers().forEach(function(e){null!=e.events()&&Array.prototype.push.apply(this.varAndPropSubscriptions,e.setVarAndPropListeners()),e.objectIndex.forEach(function(e){null!=e.events()&&Array.prototype.push.apply(this.varAndPropSubscriptions,e.setVarAndPropListeners())}.bind(this))}.bind(this))),this},removeVariableChangeSubscriptions:function(){return null!=this.varAndPropSubscriptions&&(this.varAndPropSubscriptions.forEach((function(e){e.listener.stopListening(e.obj,e.event,e.callback)})),this.varAndPropSubscriptions=null),this},calculateTotalScale:function(){var e=E.getPath(this.currView,"props.winScale",1);return 1/(e*=null!=this.pinchZoomScale?this.pinchZoomScale:1)},setCurrentTimeline:function(e){var t=this.currentTimeline();return null!=t&&(t.off(x.timeline.RESET,this.onResetCurrentTimelineDelegate),t.off(x.timeline.COMPLETE,this.onTimelineCompleteDelegate)),this.currentTimeline(e),e.on(x.timeline.RESET,this.onResetCurrentTimelineDelegate),e.on(x.timeline.COMPLETE,this.onTimelineCompleteDelegate),e.completed&&this.onTimelineComplete(),this.trigger(x.slide.CURRENT_TIMELINE,e,this),this},onPauseTimeline:function(){this.wasPlaying=[],this.slideLayers().forEach(function(e){e.getIsTimelinePlaying()&&this.wasPlaying.push(e)}.bind(this)),this.slideLayers().pauseAll(!0)},onPlayTimeline:function(){this.wasPlaying&&this.wasPlaying.forEach((function(e){e.timeline().play()}))},onResetCurrentTimeline:function(){var e=this.getBaseLayer().timeline(),t=this.currentTimeline();e===t?this.restart():(this.slideLayers().find((function(e){return e.timeline()===t})).prepareResumeData().resetBeforeView().applyResumeData(),t.play())},getLayerWithTimeline:function(e){return this.slideLayers().find((function(t){return t.timeline()===e}))},onTimelineComplete:function(e){var t=this.getLayerWithTimeline(e);null==t||this.layerTimelinesCompleted.includes(t.index())||this.layerTimelinesCompleted.push(t.index())},currentTimelineCompletedOnce:function(){var e=this.currentTimeline(),t=this.getLayerWithTimeline(e);return null!=t&&(e.completed&&this.onTimelineComplete(e),this.layerTimelinesCompleted.includes(t.index()))},setLayerTimelinesData:function(e){var t=new b({fullString:e});this.layerTimelinesCompleted=[];var n=Number(t.encodedString());for(t=t.reChunk();n>0;n--)this.layerTimelinesCompleted.push(Number(t.encodedString())),t=t.reChunk()},getLayerTimelinesData:function(){return b.create(this.layerTimelinesCompleted.length)+this.layerTimelinesCompleted.map(b.create).join("")},restart:function(){return this.prepareResumeData().resetBeforeView().applyResumeData(),this.slideLayers().invoke("resetObjectTransforms"),this.beginPlayback()},reset:function(){return this.resetBeforeView(),this.beginPlayback()},beginPlayback:function(){return this.executePlayerEvent("onbeforeslidein"),this.executePlayerEvent("ontransitionin"),this.executePlayerEvent("ontransitionincomplete"),this.currentTimeline().play(),this.executePlayerEvent("onslidestart"),this},killEverything:function(){return g.clearSlideCache(this.id),m.clearSlideCache(this.id),this.slideLayers().killEverything(),this},hasZoomRegion:function(){return null==this.containsZoomRegion&&(this.containsZoomRegion=this.slideLayers().some((function(e){return e.hasZoomRegion()}))),this.containsZoomRegion},hasVideoAssets:function(){if(null==this.containsVideoAssets){var e=S.presentation.slideMap().getRefById(this.absoluteId);this.containsVideoAssets=e.hasVideoAssets()}return this.containsVideoAssets}});return k}.call(t,n,t,e),void 0===i||(e.exports=i)},4992:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r=n(3949),o=n(704),s=n(7895),a=n(4998),l=n(4554),c=n(5565),u=n(4196),h=DS._,d=DS.utils,p=DS.pubSub,f=DS.events,g=DS.vow,m=DS.resolver,v=DS.constants,y=DS.BaseModel,S=function(e,t,n){var i=h.partial(h.find,t);return n.filter((function(t){return null!=i({id:t.id})===e}))};return y.extend({isSlideDraw:!0,mixins:[c,a,l],resolveables:["slides","actionGroups","variables"],shorthand:["sliderefs","exitaction","slides","shufflecount","shuffle","actionGroups","slideNumber","slideNumberInScene"],shortEvents:{self:(i={},i[r.SET_DRAW_REVIEW]="onSetDrawReview",i)},abilities:{resolveAsThis:!0,resolveAsParent:!0,beEventTarget:!0},associations:{variables:s},subscriptions:(t={},t[f.player.RESET]="generateDraw",t),initialize:function(){this.slideDfd=g.Deferred(),p.once(f.data.INITIALIZED,this.createDraw.bind(this))},createDraw:function(){this.generateDraw().fixRefIds(),this.slideDfd.resolve(this.slides())},fixRefIds:function(){var e=[this.parent.id,this.id].join(v.PATH_DELIMITER);this.slides().forEach((function(t){t.fullId(e)}))},getScene:function(){return this.getClosestAncestorByKind("scene")},getTopSlide:function(){return h.first(this.sliderefs())},getBottomSlide:function(){return h.last(this.sliderefs())},hasLockedTopSlide:function(){return this.getTopSlide().linkprev},hasLockedBottomSlide:function(){return this.getBottomSlide().linknext},startingSlide:function(){return d.stripPlayer(this.slides().first().absoluteId)},getNextSlideId:function(e){var t=e.nextSibling();return t&&t.absoluteId},getFirstSlide:function(){return this.slides().first()},performExitAction:function(){this.trigger(f.draw.EXIT),u.executeAction(this.exitaction(),{context:this})},getTop:function(){var e=this.sliderefs(),t=0,n=[];if(this.hasLockedTopSlide())for(n.push(this.getTopSlide());n.length&&h.last(n).linknext&&e[t+1];)n.push(e[++t]);return n},getBottom:function(){var e=this.sliderefs(),t=e.length-1,n=[];if(this.hasLockedBottomSlide())for(n.push(this.getBottomSlide());h.first(n).linkprev&&e[t-1];)n.unshift(e[--t]);return n},getTrimmedSlides:function(){return this.trimSpecial(this.sliderefs().slice())},trimSpecial:function(e){for(;e.length&&e[0].linkprev;)e.shift();for(;e.length&&h.last(e).linknext;)e.pop();return e},getMiddle:function(e,t){if(t<=0)return[];var n,i,r,o=this.shuffle(),s=[],a=this.getScene().getRefs(),l=h.partial(S,!1,a),c=h.partial(S,!0,a),u=l(e),d=function(e){return o?Math.floor(Math.random()*e):0};if(u.length<t)for(r=c(e);u.length<t;)u.push.apply(u,r.splice(d(r.length),1));for(;s.length<t&&u.length;){for(n=u[i=d(u.length)];0!=i&&n.linkprev;)n=u[--i];for(;n;)s.push.apply(s,u.splice(i,1)),n=n.linknext&&u[i]}return s},getIncludedSlides:function(e){return e.filter((function(e){return e.shuffleinclude}))},generateDraw:function(){var e,t,n,i=this.getTop(),r=this.getBottom(),o=this.getTrimmedSlides(),s=this.getIncludedSlides(o);return o=h.xor(o,s),t=(this.get("shuffle")?this.shufflecount():this.sliderefs().length)-(i.length+r.length+s.length),e=this.getMiddle(o,t),n=i.concat(s,e,r),this.generateSlides(n),this},generateSlides:function(e){this.trigger(f.draw.RESET,this);var t=this.get("navindex"),n=this.resolveSlides(e);return n.forEach((function(e){e.navIndex=t})),this.set("slides",new o(n,{parent:this})),e.forEach(function(e){this.getScene().addRef(e)}.bind(this)),this.createOrderArray(e),this.trigger(f.draw.RESET_COMPLETE,this),p.trigger(f.draw.RESET_COMPLETE),this},resolveSlides:function(e){return e.map(function(e){var t=d.prefixWithPlayer(e.id);return h.cloneDeep(m.resolvePath(t,this))}.bind(this))},getSlidePromise:function(){return this.slideDfd.promise()},onSetDrawReview:function(e){this.isInReview=e.review}})}.call(t,n,t,e))||(e.exports=i)},1382:function(e,t,n){var i;i=function(e){"use strict";var t=n(5552),i=(DS._,DS.utils),r=DS.events,o=i.createSuper(t),s=t.extend({shorthand:["background"],initialize:function(){o("initialize").apply(this,arguments),this.getLayer().once(r.data.UPDATED,this.onLayerDataUpdated.bind(this))},getPathRef:function(){return this.background().vectorData.pr},onLayerDataUpdated:function(){var e=this.getClosestParentRef();e.isGroupingSlideObject&&this.listenTo(e,"hide",this.onParentGroupHide.bind(this))},onParentGroupHide:function(){this.prop("OnStage",!1),this.trigger("hide")}});return s}.call(t,n,t,e),void 0===i||(e.exports=i)},4893:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(3949),r=(n(4196),n(4585)),o=n(1060),s=n(4329),a=n(5620),l=n(4554),c=n(2658),u=n(4998),h=n(4664),d=n(8975),p=n(7895),f=n(694),g=n(5393),m=DS,v=m._,y=m.BaseModel,S=m.events,b=m.resolver,w=m.pubSub,x=m.utils,C="custom",E=y.extend({mixins:[r,u,a,l,s,o],shorthand:["isBaseLayer","pauseParent","modal","resume","depth","background","events","actionGroups"],resolveables:["objects","actionGroups","audiolib","variables"],resolvers:{objects:function(e,t){return t.findNestedObject(e)}},shortEvents:{timeline:(t={},t[S.timeline.COMPLETE]="onTimelineComplete",t[S.timeline.BEFORE_SEEK_UPDATE]="onBeforeSeekUpdate",t[S.timeline.AFTER_SEEK_UPDATE]="onAfterSeekUpdate",t),self:function(){var e={};return e[i.SHOW_SLIDELAYER]="show",e[i.HIDE_SLIDELAYER]="hide",e[i.SET_ACTIVE_TIMELINE]="setActiveTimeline",e[i.PAUSE_TIMELINE]="onPauseTimeline",e[i.PAUSE_ANIMATIONS]="pauseTimeline",e[i.RESUME_TIMELINE]="resumeTimeline",e[i.SEEK_TIMELINE]="onSeekTimeline",e}()},abilities:function(){return{resolveAsThis:!this.isBaseLayer(),beEventTarget:!this.isBaseLayer(),resolveAsParent:!this.isBaseLayer()}},associations:{objects:d,audiolib:h,timeline:f,variables:p,animations:g},isSlideLayer:!0,containsZoomRegions:null,initialize:function(){this.startDepth=0,this.abilities=this.abilities(),this.isSeeking=!1,this.isBaseLayer()&&(this.depth(0),this.baseLayerPauses=[]),this.createObjectIndex()},onSeekTimeline:function(e){var t=e.position;v.isEmpty(e.variableGuid)||(t=1e3*b.resolvePath(e.variableGuid).value()),e.useRelativeTime&&(t+=this.timeline().elapsedTime()),this.isSeeking||this.timeline().seek(t)},onBeforeSeekUpdate:function(){this.isSeeking=!0},onAfterSeekUpdate:function(){this.isSeeking=!1},hasBackground:function(){return!!this.background()},backgroundImageUrl:function(){return c.getAssetUrl(this.background().imagedata.assetId)},getWndBlockerBackground:function(){var e=this.get("background");return 1===x.getPath(e,"fill.colors.length")?x.rgbify(e.fill.colors[0].rgb,e.fill.colors[0].alpha/100):""},isPenetrable:function(){return!this.modal()},hideAllObjectsOnDisplay:function(){var e=this.get("hideobjectsondisplay")||[];return e.length>0&&e.length==this.parent.currView.getSlideObjectViews().length},setAsTopMostLayer:function(e){return e&&this.get("modal")&&(this.lastModalFocus=this.parent.currView.getCurrentShadowFocus()),this.determineObjectVisibility(e),this.executePlayerEvent(e?"ontopmostlayer":"endtopmostlayer"),this},determineObjectVisibility:function(e){return(this.get("hideobjectsondisplay")||[]).forEach(function(t){b.resolvePath(t.value,this).setHiddenByLayer(!e,this.id)}.bind(this)),this},toggleVisibility:function(e,t,n){var i="show"===e,r=i?"shown":"hidden",o=null!=n&&n.transition===C,s=function(){n&&"oncomplete"===n.hideOthers&&this.trigger("hideOtherLayers",this),this.trigger(r,this),this.visibleState=i,this.executePlayerEvent("ontransitionincomplete")}.bind(this);if(i){if(this.setAsViewed(),this.shownInCurrentView=!0,n&&"onstart"===n.hideOthers&&this.trigger("hideOtherLayers",this),this.trigger("activated",this),this.isOpen)return this;this.resume()||this.wasForcedResumed||this.resetResume(),this.timeline().pause(),this.isOpen=!0}else{if(this.wasForcedResumed=!1,!this.isOpen)return this;this.isOpen=!1}if(this.cancelTransition(),o){var a=this.animations().get(n.animationId);this.trigger(e+C,n,this,a,s)}else s();return this},setActiveTimeline:function(e){var t=b.getRef(e.objRef,this),n=b.resolvePath(t,this),i=n.isSlide?n.slideLayers().getBaseLayer():n,r=i.timeline();return this.trigger(S.timeline.CHANGED,r),w.trigger(S.layer.TIMELINE_ACTIVATED,i),this},cancelTransition:function(){this.trigger("cancelTransition")},pauseTimeline:function(e){this.timeline().pause(e)},resumeTimeline:function(){(this.isOpen||this.isBaseLayer())&&(w.trigger(S.timeline.CURRENT_TIMELINE,this.timeline()),this.timeline().play())},getIsTimelinePaused:function(){return this.getHasTimelineStarted()&&!this.getIsTimelinePlaying()},getIsTimelinePlaying:function(){return this.timeline().isPlaying()},getHasTimelineStarted:function(){return this.timeline().hasStarted()},getHasTimelineFinished:function(){return this.timeline().hasFinished()},pauseTimelineFromLayer:function(e){this.isBaseLayer()&&(this.baseLayerPauses.push(e),this.baseLayerPauses=v.uniq(this.baseLayerPauses),1===this.baseLayerPauses.length&&(this.shouldPlayOnCloseLayer=!this.getIsTimelinePaused(),this.pauseTimeline()))},resumeTimelineFromLayer:function(e){this.isBaseLayer()&&(this.baseLayerPauses=v.without(this.baseLayerPauses,e),0===this.baseLayerPauses.length&&this.shouldPlayOnCloseLayer&&this.resumeTimeline())},isTimelineLayerPlayable:function(){return 0===this.baseLayerPauses.length},onTimelineComplete:function(){w.trigger(S.preview.NOTIFY,this.isBaseLayer()?"PREVIEW_SLIDE_COMPLETE":"PREVIEW_SLIDELAYER_COMPLETE"),this.getClosestThisRef().executePlayerEvent("ontimelinecomplete"),this.collection.onTimelineComplete()},pauseVideos:function(e){e.each(function(e){e.isKind("video")?e.trigger(S.layer.PAUSE_TIMELINE):e.isGroupingSlideObject&&this.pauseVideos(e.objects())}.bind(this))},onPauseTimeline:function(){this.pauseVideos(this.objects())},createObjectIndex:function(){var e=0;this.objectIndex=[],this.objDecendants=[];var t=function(n){n.forEach(function(n){var i=n.isKind("shufflegroup");i||(this.objectIndex.push(n),n.setSlideIndex(e++),this.objDecendants.push(n)),n.objects&&t(n.objects()),i&&this.objDecendants.push(n)}.bind(this))}.bind(this);return t(this.objects()),this},getObjectByIndex:function(e){return this.objectIndex[e]},setAsViewed:function(){return this.viewed=!0,this},isViewed:function(){return this.viewed},onAfterResumeBuilt:function(e){this.isBaseLayer()||e||!this.currView.state.renderChildren||this.timeline().silentReset()},setAsShowable:function(){this.isShowable=!0},hasZoomRegion:function(){return null==this.containsZoomRegions&&(this.containsZoomRegions=this.timeline().events().some((function(e){return e.actions.some((function(e){return"zoompan"==e.kind}))}))),this.containsZoomRegions},killEverything:function(){this.currView.state.renderChildren&&this.objects().invoke("killMounted"),this.resetSubscriptions().stopListening().off(),this.timeline().killEverything(),this.objects().invoke("killEverything"),this.clear()},resetObjectTransforms:function(){this.objectIndex.forEach((function(e){null!=e.currView&&e.setTransformDirty()}))}}),P=E.prototype;return P.show=v.partial(P.toggleVisibility,"show","ontopmostlayer"),P.hide=v.partial(P.toggleVisibility,"hide","endtopmostlayer"),E}.call(t,n,t,e))||(e.exports=i)},4615:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r=n(2604),o=DS._,s=DS.playerGlobals,a=DS.utils,l=DS.BaseModel,c=DS.detection,u=DS.events,h=DS.resolver,d=DS.pubSub,p=DS.constants;return l.extend({shorthand:["queueSize"],associations:{slideRefs:r},subscriptions:(i={},i[u.loader.SILENCE]="onSilenceLoader",i[u.slide.READY]="onSlideLoaded",i),initialize:function(){this.loaders=[],this.silenceLoader=!1,this.slideLoaded=!1,this.once("change:queueSize",this.onQueueSizeUpdate.bind(this))},onQueueSizeUpdate:function(){t=c.capabilities.isMemoryDeficientDevice?0:this.queueSize()},onSilenceLoader:function(){this.silenceLoader=!0},showLoader:function(e){var t;this.slideLoaded||this.silenceLoader||(t=p.DESKTOP_LOADER_DELAY*(c.browser.isIE?2:1),this.lastSlideId!=e&&d.trigger(u.loader.SHOW,t),this.lastSlideId=e),this.silenceLoader=!1},getStrippedId:function(e){var t,n=(t=e,h.resolvePath(t,s.presentation));return a.stripPlayer(n.isScene?n.slides().first().absoluteId:e)},setCurrentSlide:function(e){this.currentSlideId=this.getStrippedId(e),this.slideLoaded=!1,this.loadQueue=[];var t=this.getReachables(this.currentSlideId);this.stopCurrentLoaders(t),this.offloadUnreachableAssets(t),this.currentReachables=t,this.showLoader(e)},stopCurrentLoaders:function(e){this.loaders.length>0&&this.loaders.forEach(function(t){null!=t&&null==o.find(e,{id:t.refId})&&t.dfds.forEach((function(e){e.reject()}))}.bind(this)),this.loaders=[]},offloadUnreachableAssets:function(e){null!=this.currentReachables&&o.difference(this.currentReachables,e).forEach((function(e){e.offloadAssets()}))},onSlideLoaded:function(){o.first(this.currentReachables).setSlideDataLoaded(),this.loadQueue=o.tail(this.currentReachables),this.slideLoaded=!0,this.loadIdx=0,this.preloadNextSlideData()},preloadNextSlideData:function(){this.slideLoaded&&(this.loadIdx<this.loadQueue.length?this.loadQueue[this.loadIdx].loadSlideData().always(function(){this.loadIdx++,this.preloadNextSlideData()}.bind(this)):this.preloadNextSlide())},preloadNextSlide:function(){if(this.slideLoaded&&0!==this.loadQueue.length){var e=this.loadQueue.shift(),t=e.loadAssets();t.refId=e.id,this.loaders.push(t),t.then(this.preloadNextSlide.bind(this))}},getReachables:function(e){var n,i=0,r=[];if(null!=(n=this.getRefById(e)))for(r.push(n);i<r.length&&r.length<=t;)r.push.apply(r,r[i].getReachableSlides().map(function(e){return this.getRefById(e.absoluteId)}.bind(this))),r=o.uniq(r),i++;return o.take(r,t+1)},getRefById:function(e){return this.slideRefs().find({id:a.stripPlayer(e)})}})}.call(t,n,t,e))||(e.exports=i)},5552:function(e,t,n){var i;i=function(e){"use strict";var t,i,r=n(3949),o=(n(4242),n(1034),n(7895)),s=n(4761),a=n(5393),l=n(4998),c=n(4554),u=n(4585),h=n(4329),d=n(82),p=n(4196),f=n(8652),g=DS._,m=(DS.utils,DS.constants),v=DS.events,y=(DS.vow,DS.resolver),S=DS.BaseModel,b=(DS.Chunk,DS.pubSub),w=DS.detection,x="_default",C="custom",E=/hotspot.*marker/,P=/tooltip/,T=/value":"[^,]*_tooltip/,D=/(Incorrect|Correct)Review/,A=1e3,I={webobject:[{name:"_remotedata",type:m.varTypes.STRING,value:""}]},k=S.extend({mixins:[l,u,d,c,h],resolveables:["variables","actionGroups"],abilities:{resolveAsThis:!0,resolveAsParent:!0,beEventTarget:!0,groupObjects:!1},associations:{variables:o,textLib:s,animations:a},shorthand:["kind","data","states","alpha","xPos","yPos","rotateXPos","rotateYPos","rotation","width","height","imagelib","dragdrop","dragrotation","dragpath","resume","depth","scaleX","scaleY","xOffset","yOffset","events","actionGroups"],playerPropNames:{DragOverId:null,DropTargetId:null,LastKeyAlt:!1,LastKeyCode:-1,LastKeyShift:!1,LastKeyCtrl:!1,LastKeyValue:null,Moved:null,ReviewMode:null,Text:null,Expanded:!1,DragConnectData:"",SelectedItemData:"",TimelineControlled:!0,DragConnected:!1,Enabled:!0,MouseOver:!1,ObjectState:x,OnStage:!1,HiddenByLayer:!1,model:{Alpha:"alpha",depth:"depth",height:"height",InitXPos:"xPos",InitYPos:"yPos",InitDepth:"depth",nXPos:"xPos",nYPos:"yPos",RawXPos:"xPos",RawYPos:"yPos",rotateXPos:"rotateXPos",rotateYPos:"rotateYPos",Rotation:"rotation",ScaleX:"scaleX",ScaleY:"scaleY",ShuffleXPos:"xPos",ShuffleYPos:"yPos",tabIndex:"tabIndex",width:"width"}},subscriptions:(i={},i[v.player.RESET]="onPlayerReset",i),shortEvents:{self:(t={"change:xPos change:yPos":"onPositionUpdate"},t[r.SHOW]="show",t[r.HIDE]="hide",t[r.SET_OBJ_STATE]="setState",t[r.BRING_TO_FRONT]="bringToFront",t[r.SET_ENABLED]="setEnabled",t[r.STORE_RESUME_DATA]="storeResumeData",t[r.RESTORE_RESUME_STATE]="restoreResumeState",t[r.GET_MOUSE_POSITION]="getMousePosition",t[r.MOVE_TO]="moveTo",t[r.SET_REVIEW]="setReview",t)},isSlideObject:!0,initialize:function(){this.addExtraVariables().setupToggleVisibilityState(),this.getLayer().once(v.data.UPDATED,this.bindTimelineEvents.bind(this)),this.hiderParents=[],this.showFns=[],this.containsGif=f.containsGif(this.imagelib()),this.isVectorShape()&&this.isCorrectIncorrectReview()&&this.set("accType","button")},shouldUpdateGif:function(){return!(!this.containsGif||!this.prop("OnStage"))},addExtraVariables:function(){return(I[this.kind()]||[]).forEach(function(e){this.variables().addVariable(e)}.bind(this)),this},bindTimelineEvents:function(){var e=this.getLayer().timeline();this.listenTo(e,v.timeline.BEFORE_SEEK_UPDATE,this.onBeforeSeekUpdate.bind(this)),this.listenTo(e,v.timeline.AFTER_SEEK_UPDATE,this.onAfterSeekUpdate.bind(this))},isInDefaultState:function(){return this.prop("ObjectState")===x},isDraggable:function(){return!(!this.dragdrop()||!this.dragdrop().dragenabled)},isDroppable:function(){return!(!this.dragdrop()||!this.dragdrop().dropenabled&&!this.dragdrop().dragoverenabled)},isSlideable:function(){return!!this.dragpath()},isZoomable:function(){return!!this.get("zoomdata")},isWebObject:function(){return this.isKind("webobject")},isTweenable:function(){return!(!this.animations()||this.animations().isEmpty())},getTweenableClass:function(){return w.browser.isChrome||!this.isTweenable()?"":"tweenable"},isAtNewDepth:function(){return this.depth()!==this.prop("depth")},isShuffled:function(){return this.xPos()!==this.prop("ShuffleXPos")||this.yPos()!==this.prop("ShuffleYPos")},isScaled:function(){return this.scaleX()!==this.prop("ScaleX")||this.scaleY()!==this.prop("ScaleY")},isRotated:function(){return this.rotation()!==this.prop("Rotation")},isAlphaed:function(){return this.alpha()!==this.prop("Alpha")},isInNewPosition:function(){return this.prop("ShuffleXPos")!==this.prop("RawXPos")||this.prop("ShuffleYPos")!==this.prop("RawYPos")},isHotSpotMarker:function(){return E.test(this.id)},isToolTip:function(){return P.test(this.id)},isCorrectIncorrectReview:function(){return D.test(this.id)},isObscurableBySelf:function(){if(this.isStateGroupSlideObject)return!1;var e,t,n,i=g.find(this.events(),{kind:"onrollover"});return i&&(e=JSON.stringify(i.actions),t=function(e){var t=!1,n=["thenActions","elseActions"];if(e.actions)return e.actions.some((function e(i){return"if_action"===i.kind?n.forEach((function(n){t=t||i[n]&&i[n].some((function(t){return!(!t.kind.startsWith("show")||"_this"===t.objRef.value)||"if_action"===t.kind&&e(t)}))})):i.kind.startsWith("show")&&"_this"!=i.objRef.value&&(t=!0),t}));return!1}(i),n=T.test(e)),t&&!n},isRotatable:function(){return null!=this.dragrotation()},hasAnimated:function(){return this.isRotated()||this.isAlphaed()||this.isScaled()||this.isInNewPosition()},getAnimationResumeState:function(){return g.reduce(["RawXPos","RawYPos","ScaleX","ScaleY","Rotation","Alpha"],function(e,t){return e[t]=this.prop(t),e}.bind(this),{})},getPathRef:function(){return this.getCurrentStateData().vectorData.pr},getPathLib:function(){return this.getPathRef().l},commandsetId:function(){return this.getPathRef().i},getRelativeId:function(){if(null!=this.relativeId)return this.relativeId;var e=this.getLayer(),t=e.parent;return e=e.isBaseLayer()?t:e,this.relativeId=this.absoluteId.substr(e.absoluteId.length+1)},getHitType:function(){var e;return null!=this.hitType?this.hitType:(e=this.isVectorShape()||this.isSvgImage()?m.SVG_HIT:!this.isGroupingSlideObject||this.isKind("scrollarea")||this.isKind("expandinglabel")?m.RECT_HIT:m.GROUP_HIT,this.hitType=e)},getStateFromVar:function(){return g.find(this.states(),{name:this.prop("ObjectState")})},getStateFromName:function(e){return g.find(this.states(),{name:e})},getStateFromIndex:function(e){return this.states()[e].name},getCurrentStateIndex:function(){return this.states().indexOf(this.getStateFromVar())},getCurrentStateData:function(){return this.isInDefaultState()?this.data():this.getStateFromVar().data},getPosition:function(){return{top:this.prop("RawYPos"),left:this.prop("RawXPos")}},getShapeMask:function(){var e=this.get("shapemaskId");return g.isEmpty(e)?null:y.resolvePath(e,this)},hasVarText:function(){return this.textLib().some((function(e){return"richvartext"===e.get("type")}))},fixZeroBoundsMetrics:function(e){return 0!==e.strokewidth||0!==e.width&&0!==e.height||(e.strokewidth=.5),e},getCurrentStateMetrics:function(){var e=(this.getCurrentStateData()||{}).html5data,t={xPos:0,yPos:0,width:this.get("width"),height:this.get("height"),strokewidth:0};return this.hasVarText()&&0===e.width&&0===e.height&&(e.width=t.width,e.height=t.height),this.fixZeroBoundsMetrics(g.extend(t,e))},getBounds:function(){var e=this.getCurrentStateMetrics(),t=e.strokewidth,n=2*t;return e.strokewidth*=2,g.extend(e,{fullX:Math.ceil(e.xPos-t),fullY:Math.ceil(e.yPos-t),fullWidth:e.width+n,fullHeight:e.height+n})},getSlide:function(){return this.getClosestAncestor((function(e){return!!e.isSlide}))},getLayer:function(){return this.getClosestAncestor((function(e){return null!=e.isBaseLayer}))},moveTo:function(e,t){var n,i,r=y.getRef(e.xOffset,t.context),o=y.getRef(e.yOffset,t.context),s=y.getRef(e.xPos,t.context),a=y.getRef(e.yPos,t.context);n=s+(r=e.addoffsetx?r:-r),i=a+(o=e.addoffsety?o:-o),this.trigger("moveTo",n,i)},getMousePosition:function(e){this.trigger("getMousePosition",e)},setState:function(e,t){var n=y.getRef(e.stateRef,t.context,t);return this.prop("ObjectState",n),this},setReview:function(e){this.prop("ReviewMode",e.enabled.value),this.trigger("setReview",e.enabled.value)},setStateFromIndex:function(e){this.prop("ObjectState",this.getStateFromIndex(e))},setTransformDirty:function(){this.transformDirty||(this.transformDirty=!0,this.trigger(v.slideObject.TRANSFORM_DIRTY))},setEnabled:function(e){this.prop("Enabled",e.enabled.value)},setSlideIndex:function(e){this.prop("slideIndex",e)},getFlattenedDepth:function(){return this.getLayer().startDepth+this.layerDepth},bringToFront:function(e){this.prop("depth",A++)},setHiddenByLayer:function(e,t){var n=this.currView;this.hiderParents=e?g.without(this.hiderParents,t):g(this.hiderParents).push(t).uniq().value(),this.prop("HiddenByLayer",this.hiderParents.length>0),null!=n&&(g.isFunction(n.updateTrueVisibility)?n.updateTrueVisibility():n.props.parent&&g.isFunction(n.props.parent.updateTrueVisibility)&&n.props.parent.updateTrueVisibility())},adjustVariables:function(){var e=g.toArray(arguments);e.forEach(function(e){this.adjustVariable(e.name,e.value)}.bind(this))},adjustVariable:function(e,t){var n=this.getClosestParentRef(),i={kind:"adjustvar",variable:e,operator:"set",value:{type:"number",value:t}};p.executeAction(i,{context:this}),n.executePlayerEvent("onvarchanged")},getInitParentContainer:function(){return this.parent.isKind("shufflegroup")?this.parent.parent:this.parent},getParentContainer:function(){var e=this.getInitParentContainer();return null!=e.getChildParent?e.getChildParent(this):e},reparentChild:function(e){var t=this.getInitParentContainer();null!=t.reparentChild&&t.reparentChild(this,e)},reattachChild:function(){var e=this.getInitParentContainer();null!=e.reattachChild&&e.reattachChild(this)},storeResumeData:function(e,t){y.resolvePath(e.varref,t.context).value(this.getFullResumeData(!0))},restoreResumeState:function(e,t){var n=y.resolvePath(e.varref,t.context),i=e.limited,r=i?"setResumeDataLimited":"setResumeData";this.resetObjectBeforeResume(i),this[r](n.value()).forceUpdateResume()},resetForSeek:function(){var e=this.currView;this.trigger("clearAnimations"),this.trigger("unparentForSeek"),this.resetPropsExcept(["Enabled","ReviewMode","HiddenByLayer","depth","ShuffleXPos","ShuffleYPos"]),this.prop({RawXPos:this.prop("ShuffleXPos"),RawYPos:this.prop("ShuffleYPos")}),null!=e&&(g.isFunction(e.applyStylesDirectly)?e.applyStylesDirectly():e.props.parent&&g.isFunction(e.props.parent.applyStylesDirectly)&&e.props.parent.applyStylesDirectly())},onBeforeSeekUpdate:function(){this.prop("TimelineControlled")&&this.prop("OnStage")&&(this.shouldHideOnSeek=!0,this.resetForSeek())},onAfterSeekUpdate:function(){this.shouldHideOnSeek&&(this.hiding=!1,this.prop("updateGifOnShow",!0),this.trigger("hide"))},setupToggleVisibilityState:function(){this.hideShowState=null},toggleVisibility:function(e,t,n,i){var r=function(){n=n||{},i=i||{};var r,o=this.prop("OnStage"),s=this.prop("TimelineControlled"),a="show"===e,l=!!i.isSeekAction,c=null!=n&&n.transition===C,u=a?"shown":"hidden",h=function(){a||(this.hiding=!1,this.prop("OnStage",!1)),this.trigger(u),this.executePlayerEvent(t+"complete"),b.trigger(v.slideObject.TOGGLE_VISIBILITY)}.bind(this),d=(n.animationId,i.time,function(){r=this.animations().get(n.animationId),this.trigger(e+C,a,i,r,h)}.bind(this)),p=null!=i.timelineLabel;if(this.shouldHideOnSeek=this.shouldHideOnSeek&&!a,(!a&&!p||l&&0===i.currentTime)&&this.prop("updateGifOnShow",!0),!s&&p&&a&&l&&(i.beforeSeekTime<i.time||i.time===i.currentTime))this.resetForSeek();else if(!a&&!o||a&&o&&!this.hiding||l&&!s&&i.beforeSeekTime>i.time)return;this.hideShowState=n.kind,this.prop("TimelineControlled",p),this.trigger(e),a?this.prop("OnStage",!0):this.hiding=!0,this.executePlayerEvent(t),c?d():h()}.bind(this);return null!=this.currView?r():(this.showFns||(this.showFns=[]),this.showFns.push(r)),this},onTweenUpdate:function(e){this.trigger(v.tween.UPDATE,e)},onPlayerReset:function(){},killMounted:function(){return this.resetSubscriptions(),this},killEverything:function(){return this.off(),this}}),R=k.prototype;return R.show=g.partial(R.toggleVisibility,"show","ontransitionin"),R.hide=g.partial(R.toggleVisibility,"hide","ontransitionout"),R.isVectorShape=g.partial(R.isKind,"vectorshape"),R.isSvgImage=g.partial(R.isKind,"svgimage"),k}.call(t,n,t,e),void 0===i||(e.exports=i)},6704:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(2658),r=DS._,o=DS.BaseModel,s=DS.resolver,a=DS.events,l=DS.utils,c=DS.vow,u=DS.detection,h=DS.superagent,d=function(e){return s.resolvePath(e,s.getPresentationContext())},p={slide:"getSlideLinkSlide",slidedraw:"getDrawLinkSlide",action:"getActionLinkSlide"},f=o.extend({shorthand:["assetIds"],subscriptions:(t={},t[a.data.INITIALIZED]="onDataInitialized",t),initialize:function(){this.slideDataLoaded=!1},loadSlideData:function(){var e=c.Deferred();return this.slideDataLoaded||u.env.isFileProtocol||this.deletedDrawRef?e.resolve():h.get(this.getSlide().url()).accept("application/javascript").end(function(t){t?e.reject(t):(this.setSlideDataLoaded(),e.resolve())}.bind(this)),e.promise()},setSlideDataLoaded:function(){this.slideDataLoaded=!0},onDataInitialized:function(){"slidedraw"===this.get("type")&&(this.draw=d(this.get("id")),this.listenTo(this.draw,a.draw.RESET_COMPLETE,this.buildDrawRefs.bind(this)))},hasVideoAssets:function(){return this.assetIds().slice().some((function(e){return"video"===i.getAsset(e).type()}))},loadAssets:function(e){return i.loadAssets(this.assetIds().slice(),e)},offloadAssets:function(){i.offloadAssets(this.assetIds().slice())},getSlide:function(){return d(null!=this.draw?this.draw.getFirstSlide():this.get("id"))},buildDrawRefs:function(){var e,t=this.draw.startingSlide();for(this.clearLastDrawRefs();null!=t;)e=d(t),this.addDrawSlideToCollection(e),t=this.draw.getNextSlideId(e)},clearLastDrawRefs:function(){null!=this.drawRefs&&this.drawRefs.forEach(function(e){this.collection.remove(e),e.deletedDrawRef=!0}.bind(this)),this.drawRefs=[]},addDrawSlideToCollection:function(e){var t,n=this.collection.get(e.id);null!=n&&(t=new f(r.assign({},n.attributes,{id:l.stripPlayer(e.absoluteId),drawOwner:this.draw})),this.collection.add(t),this.drawRefs.push(t),t.deletedDrawRef=!1)},getReachableSlides:function(){return r.filter((this.get("linksTo")||[]).map(function(e){return this[p[e.type]](e)}.bind(this)),(function(e){return null!=e&&!e.isMessageSlide()}))},getSlideLinkSlide:function(e){for(var t=d(e.id);null!=t&&!t.isSlide;)if(t.isScene)t=d(t.startingSlide());else{if(!t.isSlideDraw)return null;t=t.getFirstSlide()}return t},getDrawLinkSlide:function(e){return l.getPath(d(e.id),"getFirstSlide")},getActionLinkSlide:function(e){var t,n=this.get("drawOwner");return"playnextdrawslide"===e.id&&null!=n?(t=n.getNextSlideId(this.getSlide()),r.isEmpty(t)?null:d(t)):null}});return f}.call(t,n,t,e))||(e.exports=i)},2503:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(5552),i=n(3484),r=n(4196),o=DS._,s=DS.utils,a=DS.resolver;s.createSuper(t);return i.extend({shorthand:["actionstates"],isStateGroupSlideObject:!0,setState:function(e,t){var n=o.find(this.actionstates(),{name:a.getRef(e.stateRef,t.context,t)});return n&&(this.prop("ObjectState",n.name),o.isEmpty(n.actions)||r.executeActions(n.actions,o.extend(t,{context:this}))),this},isEnabled:function(){return this.prop("Enabled")},getIsSlideableParent:function(){return this.objects().some((function(e){return!!e.dragpath()}))},getStateFromIndex:function(e){return this.actionstates()[e].name},getCurrentStateIndex:function(){return this.actionstates().indexOf(this.getStateFromVar())},getIsExpandingLabel:function(){return this.isExpandingLabel=this.isExpandingLabel||!!this.objects().findWhere({kind:"expandinglabel"}),this.isExpandingLabel},getStateFromVar:function(){var e=this.get("actionstates");return e&&o.find(e,{name:this.prop("ObjectState")})},getStateFromName:function(e){var t=this.get("actionstates");return t&&o.find(t,{name:e})},getClickDef:function(){var e=this.getStateFromVar();return e&&e.clickdef}})}.call(t,n,t,e))||(e.exports=i)},6427:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(5552),r=n(3949),o=(DS._,DS.constants),s=DS.events;return i.extend({shorthand:["background"],shortEvents:{self:(t=i.prototype.shortEvents.self,t[r.SET_FOCUS]="setFocus",t)},variableProps:{Text:{type:o.varTypes.STRING,value:""}},getPathRef:function(){return this.background().vectorData.pr},setFocus:function(){null==this.currView?this.needsFocus=!0:(this.trigger(s.slideObject.FOCUS),this.needsFocus=!1)}})}.call(t,n,t,e))||(e.exports=i)},8702:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=DS.BaseModel,r=t.extend({model:i.extend({idAttribute:null})});return i.extend({shorthand:["type","vartext","xPos","yPos","width","height","valign","wordwrap","textshadow"],associations:{linkdata:r}})}.call(t,n,t,e))||(e.exports=i)},4514:function(e,t,n){var i;i=function(e){"use strict";var t=n(5552),i=DS,r=(i._,i.events),o=i.utils,s=i.constants,a=o.createSuper(t),l=t.extend({initialize:function(){this.indexValues=[],this.labelValues={},this.hiderParents=[]},variableProps:{VisitedMarkers:{type:s.varTypes.STRING,value:""},MarkerInView:{type:s.varTypes.NUM,value:0},CameraLat:{type:s.varTypes.NUM,value:0},CameraLon:{type:s.varTypes.NUM,value:0}},resetObjectBeforeResume:function(){var e=a("resetObjectBeforeResume").apply(this,arguments);return this.trigger(r.threeSixtyImage.RESET_VIEW),this.shouldApplyResumeData=!1,e},buildResumeData:function(){return this.trigger(r.threeSixtyImage.UPDATE_RESUME_PROPS),a("buildResumeData").apply(this,arguments)},setResumeData:function(){a("setResumeData").apply(this,arguments);var e=this.getVisitedMarkers(),t=e.indexValues,n=e.labelValues;this.indexValues=t,this.labelValues=n,this.trigger(r.threeSixtyImage.APPLY_RESUME_DATA),null==this.currView&&(this.shouldApplyResumeData=!0)},getVisitedMarkers:function(){for(var e=this.prop("VisitedMarkers"),t=[],n={},i=0;i<e.length;i+=3){var r=parseInt("0x"+e[i]+e[i+1],16);t.push(r),n[r]=parseInt(e[i+2],10)}return{indexValues:t,labelValues:n}},updateLabelState:function(e,t){this.labelValues[e]=t?1:0},addVisitedMarker:function(e){this.indexValues.push(e),this.setVisitedMarkers(),this.currView.refs.innard.image3d.visitedMarkersChanged()},setVisitedMarkers:function(){for(var e="",t=0;t<this.indexValues.length;t++){var n=this.indexValues[t].toString(16),i=this.labelValues[this.indexValues[t]]||0;n.length<2&&(n="0"+n),e+=n+i}this.prop("VisitedMarkers",e)}});return l}.call(t,n,t,e),void 0===i||(e.exports=i)},694:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(4196),r=DS._,o=DS.utils,s=DS.events,a=DS.BaseModel,l=DS.Chunk,c=DS.AnimationTimeline,u=DS.pubSub,h={},d=a.extend({shorthand:["duration","events"],shortEvents:{self:{"change:duration":"onChangeDuration"}},subscriptions:(t={},t[s.detection.VISIBILITY_SHOWN]="onVisibilityShown",t[s.detection.VISIBILITY_HIDDEN]="onVisibilityHidden",t),initialize:function(){r.bindAll(this,"update","triggerPlaybackStateChange","onComplete"),this.timeline=new c({onUpdate:this.update}),this.labels=[],this.silent=!1,this.setUpTimelineDuration().setUpClamp().setupEvents().setRenderDirty()},setUpTimelineDuration:function(){return this.timeline.totalTime(this.duration()),this},timelineDuration:function(){return this.timeline.duration},setUpClamp:function(){return this.clampTime=r.partial(o.clamp,0,this.duration()||0),this},elapsedTime:function(){return this.timeline.time()},hasFinished:function(){return 1===this.progress()},hasStarted:function(){return this.progress()>0},update:function(){return 1!==this.progress()||this.completed||(this.completed=!0,this.onComplete()),this.trigger(s.timeline.TICK,this.progress()),this},play:function(){return this.timeline.play(),this.render(),this.trigger(s.timeline.PLAYING),u.trigger(s.course.PLAYING,{timeline:this}),this},pause:function(e,t){return e||this.render(),this.timeline.pause(),this.trigger(s.timeline.PAUSED,t),u.trigger(s.course.PAUSED,{timeline:this,fromTimelineUI:t}),this},render:function(){this.renderDirty&&(this.renderDirty=!1,this.seek(this.resetValue||0))},progress:function(e){if(null==e)return o.clamp(0,1,this.timeline.currentTime/this.duration());this.seek(Math.floor(e*this.duration()))},togglePlayback:function(){return this[this.isPlaying()&&!this.hasFinished()?"pause":"play"](!1,!0),this},onSeekStart:function(){this.isSeeking||(this.trigger(s.timeline.SEEK_START,this.seekPlaybackState),this.seekPlaybackState=this.playbackState(),this.isSeeking=!0),this.pause(!0)},onSeekEnd:function(){this.trigger(s.timeline.SEEK_END,this.seekPlaybackState),"playing"===this.seekPlaybackState?this.play():this.pause(),this.isSeeking=!1},seek:function(e){return e=this.clampTime(e),this.beforeSeekTime=this.elapsedTime(),this.trigger(s.timeline.BEFORE_SEEK_UPDATE),this.timeline.reset(),this.timeline.seek(e),this.update(),this.trigger(s.timeline.AFTER_SEEK_UPDATE,e),this.lastSeekTime=e,this.completed=!1,this},reset:function(){return this.trigger(s.timeline.BEFORE_RESET),this.trigger(s.timeline.RESET),this},silentReset:function(){return this.timeline.silent=!0,this.timeline.seek(0,!0),this.timeline.pause(),this.timeline.silent=!1,this},isPlaying:function(){return this.timeline.isActive()},setupEvents:function(){var e=this.events();return null!=e&&e.forEach(function(e){var t=r.uniqueId("timeline-"),n=e.time;this.timeline.add(t,n),this.timeline.add(function(){this.triggerTimelineEvent(e,t)}.bind(this),t),this.labels.push(t),h[t]=this}.bind(this)),this},triggerTimelineEvent:function(e,t){var n={context:this.getClosestThisRef(),timelineLabel:t,isSeekAction:this.isSeeking,beforeSeekTime:this.beforeSeekTime||0,time:e.time,currentTime:this.elapsedTime()};i.executeActions(e.actions,n)},playbackState:function(){return this.hasFinished()?"ended":this.isPlaying()?"playing":"paused"},onComplete:function(){this.trigger(s.timeline.ENDED),this.trigger(s.timeline.COMPLETE,this)},triggerPlaybackStateChange:function(){this.trigger(s.timeline[this.playbackState().toUpperCase()])},addChildTimeline:function(e,t){return this.timeline.add(e,t),this},removeChildTimeline:function(e){return null!=this.timeline&&this.timeline.remove(e),this},removeLabel:function(e){this.timeline.remove(e)},getResumeData:function(){return l.toSignedString64(this.elapsedTime())},resetResume:function(){this.resetValue=0,this.setRenderDirty()},setResumeData:function(e){this.resetValue=l.fromSignedString64(e),this.setRenderDirty().pause()},getResetValue:function(){return this.resetValue||0},clearResetValue:function(){return this.resetValue=0,this.setRenderDirty(),this},setRenderDirty:function(){return this.renderDirty=!0,this},onChangeDuration:function(){this.setUpTimelineDuration().setUpClamp()},destroy:function(){this.labels.forEach((function(e){h[e]=null}))},onVisibilityShown:function(){this.wasPlaying&&(this.wasPlaying=!1,this.play())},onVisibilityHidden:function(){this.isPlaying()&&(this.wasPlaying=!0,this.pause())},killEverything:function(){this.resetSubscriptions().stopListening().off(),this.timeline.kill(),this.timeline=null}},{getTimelineFromLabel:function(e){return h[e]}});return d}.call(t,n,t,e))||(e.exports=i)},8259:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6872),i=n(2427),r=n(4617),o=n(6222),s=n(4449),a=n(1249),l=n(2392),c=DS._;DS.utils;return DS.BaseModel.extend({associations:{scale:o,position:i,rotation:r,alpha:t,mask:a,colors:l,skew:s},initialize:function(){c.bindAll(this,"build"),this.delay=this.get("time")},build:function(){var e=this,t=c.reduce(this.associations,(function(t,n,i){var r=e[i]().getAttrConfig(e.delay);return null!=r&&(t[i]=r),t}),{});return{delay:this.delay,duration:this.get("duration"),tweenAttrs:t}}})}.call(t,n,t,e))||(e.exports=i)},2304:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(3949),r=n(4998),o=DS._,s=DS.constants,a=DS.events,l=DS.BaseModel,c=DS.pubSub,u=DS.errorManager,h=DS.resolver,d=DS.Chunk,p=u.throwError("Variable"),f=u.backtick,g={"^":"^0","&":"^1","'":"^2","+":"^3","\n":"^4","\r":"^5","?":"^6",",":"^7","%":"^8","\\":"^9",'"':"^A","‘":"^B","’":"^C","“":"^D","”":"^E"},m=o.invert(g),v=function(e,t){return o.reduce(e,(function(e,t,n){return e.split(n).join(t)}),t.toString())},y=o.partial(v,g),S=o.partial(v,m),b=function(e){return parseFloat(e.toPrecision(7))},w={add:function(e,t){return b(parseFloat(e)+parseFloat(t))},sub:function(e,t){return b(parseFloat(e)-parseFloat(t))},mult:function(e,t){return Number.isInteger(e)&&Number.isInteger(t)?e*t:b(parseFloat(e)*parseFloat(t))},div:function(e,t){return b(parseFloat(e)/parseFloat(t))},set:function(e,t){return t},toggle:function(e){return!e},addStrings:function(e,t){return[e,t].join("")}},x=l.extend({isVar:!0,idAttribute:"name",mixins:[r],shorthand:["value","name","type","resume"],shortEvents:{self:(t={},t[i.ADJUST_VAR]="adjust",t)},playerPropNames:{InitValue:null},initialize:function(){this.isRandomValue()&&this.value(this.getRandom(this.value())),this.initValue=this.value()},hasInitValue:function(){return this.initValue===this.value()},getOperator:function(e){return"add"===e&&this.isString()?"addStrings":e},adjust:function(e,t){var n,i=function(e,t){return null!=e.value?h.getRef(e.value,t.context,t):h.resolvePath(e.variable,t.context)}(e,t),r=this.getOperator(e.operator);return w[r]||p("adjust","Invalid adjustment operator",f(r)),this.isRandomValue(i)&&(i=this.getRandom(i)),n=w[r](this.value(),i),this.changeValue(n,e),this},changeValue:function(e,t){var n=this.value();n!==e&&(this.value(e,{relatedAction:t}),c.trigger(a.variable.CHANGED,this.absoluteId,e,n))},getEncodedString:function(e){return e=e||this.value(),this.hasInitValue()?"^":y(e)},decodeAndSetValue:function(e){return"^"!==e&&this.value(S(e),{silent:!0}),this},getEncodedValue:function(){var e=this.isString()?this.getEncodedString.bind(this):d.toSignedFloatString64;return d.create(e(this.value()))},setEncodedValue:function(e){return this.isString()?this.decodeAndSetValue(e):this.value(d.fromSignedFloatString64(e),{silent:!0}),this},resetValue:function(){this.wipe()},wipe:function(){this.value(this.initValue,{silent:!0}),this.trigger(a.variable.REFRESH_VIEW)},isRandomValue:function(e){return null==e&&(e=this.value()),this.isNumber()&&h.isRandomToken(e)},getRandom:function(e){var t,n,i,r=e;return o.isString(e)&&"RAND"===(t=e.split("|"))[0]&&(n=parseInt(t[1],10),i=parseInt(t[2],10)+1,r=Math.floor(Math.random()*(i-n))+n),r}}),C=x.prototype;return C.isString=o.partial(C.isType,s.varTypes.STRING),C.isBoolean=o.partial(C.isType,s.varTypes.BOOL),C.isNumber=o.partial(C.isType,s.varTypes.NUM),x}.call(t,n,t,e))||(e.exports=i)},5374:function(e,t,n){var i;void 0===(i=function(e){"use strict";return DS.BaseModel.extend({})}.call(t,n,t,e))||(e.exports=i)},1039:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.resolver,i=DS.windowManager,r=DS.animationClock,o=/\./,s={},a=!1,l={},c=function(e){var t=e.getLayer(),n=t.parent;return{slideId:n.id,layerId:(t.isBaseLayer()?n:t).id}},u=function(e,t){var n=c(e),i=n.slideId,r=n.layerId,o=e.getRelativeId(),a=s[i]&&s[i][r];return t?(null==a&&(a={eventables:{},targets:{},relatives:{},lookup:{}},s[i]=s[i]||{},s[i][r]=a),null==a.eventables[o]&&(a.eventables[o]={sets:[],dirty:!1,eventStates:[]}),a):a},h=function(e,t,n){var i,r=function(t){t.isCollideable=!0;var i=t.getRelativeId(),r=e.relatives[i];null==r&&(r=e.relatives[i]={}),(r=r||{})[n]=n};if(t.isGroupingSlideObject&&function e(t){var n,i,o=t.getChildren(),s=o.length;for(n=0;n<s;n++)i=o[n],r(i),i.isGroupingSlideObject&&e(i)}(t),o.test(n))for(i=t.parent;null!=i&&!i.isKind("slidelayer");)r(i),i=i.parent};return{registerCollisions:function(e){e.collisionsCached||(e.collisionsCached=!0,null!=e.events()&&function(e){var t,i,r,o,s,a,l,c,d,p,f,g,m,v,y,S=e.events(),b=S.length,w={};for(s=0;s<b;s++)if("ononscreen"!==(m=(l=S[s]).kind)&&"onoffscreen"!==m||(l={kind:m="ononscreen"===m?"oncollisionstart":"oncollisionend",targets:["_currentSlide"],actions:l.actions}),"oncollisionstart"===m||"oncollisionend"===m)for(null==i&&(t=e.getRelativeId(),r=(i=u(e,!0)).eventables[t].sets,o=i.eventables[t].eventStates,e.isCollideable=!0,h(i,e,t)),c={lastHit:!1,event:l,targets:[]},o.push(c),p=(d=l.targets).length,a=0;a<p;a++)v=(f=n.resolvePath(d[a],e)).getRelativeId(),c.targets.push(f),null==w[v]&&(w[v]=!0,f.isCollideable=!0,h(i,f,v),null==(g=i.targets[v])&&(g=i.targets[v]={dirty:!1,sets:[]}),y={targetModel:f,eventableModel:e,lastCollision:!1,currCollision:!1},r.push(y),g.sets.push(y),null==i.lookup[t]&&(i.lookup[t]={}),i.lookup[t][v]=y)}(e))},getCollisionSets:function(e){if(e.isCollideable&&null!=e.currView){var n,i,r,o,s,a,l=[],c=e.getRelativeId(),h=u(e),d=h.relatives[c],p=h.eventables[c],f=h.targets[c];if(null!=p&&(l=p.sets,p.dirty=!1),null!=h.targets[c]&&(l=l.concat(f.sets),f.dirty=!1),null!=d)for(r=(n=Object.keys(d)).length,o=0;o<r;o++)i=n[o],s=h.eventables[i],a=h.targets[i],null!=s&&(l=l.concat(s.sets),s.dirty=!1),null!=a&&(l=l.concat(a.sets),a.dirty=!1);return t.uniq(l)}},getDirtyCollisionSets:function(){var e=i.getCurrentWindowSlide().id,n=l[e],r=[];return l={},t.forEach(n,(function(e){var t,n,i,o;for(i=(t=Object.keys(e.eventables)).length,n=0;n<i;n++)o=t[n],e.eventables[o].dirty&&(e.eventables[o].dirty=!1,r.push.apply(r,e.eventables[o].sets));for(i=(t=Object.keys(e.targets)).length,n=0;n<i;n++)o=t[n],e.targets[o].dirty&&(e.targets[o].dirty=!1,r.push.apply(r,e.targets[o].sets))})),t.uniq(r)},markCollisionsDirty:function(e,t){if(e.isCollideable&&null!=e.currView){var n,i,o,s,h,d,p=c(e),f=p.slideId,g=p.layerId,m=e.getRelativeId(),v=u(e),y=v.relatives[m];if(null!=v.eventables[m]&&(v.eventables[m].dirty=!0),null!=v.targets[m]&&(v.targets[m].dirty=!0),null!=y)for(o=(n=Object.keys(y)).length,s=0;s<o;s++)i=n[s],h=v.eventables[i],d=v.targets[i],null!=h&&(h.dirty=!0),null!=d&&(d.dirty=!0);l[f]=l[f]||{},l[f][g]=v,a||(a=!0,r.requestAnimationFrame((function(){a=!1,t()}),!0))}},getEventableLookupAndStates:function(e){var t=e.getRelativeId(),n=u(e),i=n.eventables[t];return{lookup:n.lookup[t],eventStates:i.eventStates}},clearHitStates:function(e){var n=s[e];t.forEach(n,(function(e){var t,n,i,r,o,s,a,l,c;for(n=(t=Object.keys(e.eventables)).length,o=0;o<n;o++){for(i=t[o],a=(r=e.eventables[i].eventStates).length,s=0;s<a;s++)r[s].lastHit=!1;for(c=(l=e.eventables[i].sets).length,s=0;s<c;s++)l[s].lastCollision=!1}}))},clearMapCache:function(){s={},a=!1},clearSlideCache:function(e){s[e]=null,l[e]=null}}}.call(t,n,t,e))||(e.exports=i)},6974:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS.utils;return{isResumable:function(e){return e.shouldResume?e.shouldResume():!(!e.resume||!e.resume())},getResumeableFilter:function(e){return e?t.alwaysTrue:this.isResumable},meetConditionOrReturn:function(e,t,n){return t.call(e)?e.getResumeData():n}}}.call(t,n,t,e))||(e.exports=i)},6951:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3949),i=n(9943),r=n(2452),o=n(5762),s=n(4554),a=n(4998),l=n(4196),c=DS._,u=DS.BaseModel,h=DS.constants,d=DS.events,p=DS.resumer,f=DS.dom,g=DS.utils,m={};m.essay=m.numeric=m.fillin=function(e){return[f.writeNode("answer"),f.xmlEncodeValue(e),f.writeCloseNode("answer")].join("")},m.likert=m.sequence=m.matching=function(e){var t=this.getChoiceById(e.choiceResponse),n=this.getStatementById(e.statementResponse);return f.writeNode("answer",{statementid:n.lmstext,choiceid:t.lmstext},!0)},m.multiplechoice=m.truefalse=m.hotspot=m.wordbank=m.multipleresponse=function(e){var t=this.getChoiceById(e);if(null!=t)return f.writeNode("answer",{choiceid:t.lmstext},!0)};var v={numeric:function(e,t,n){return e.push(i.statementToString(t.statement,this)),e},matching:function(e,t,n){return e.push({choice:this.getChoiceById(t.choiceid),statement:this.getStatementById(t.statementid)}),e},default:function(e,t,n){return e.push(this.getChoiceById(t.choiceid)),e}};v.sequence=v.matching;var y,S,b=function(e,t,n){return c.find(e.get(t),{id:n.replace(t+".","")})},w=u.extend({mixins:[a,s,r],shorthand:["type","maxpoints","istracked","issurvey","skipenabled","choices","responseDefinition","answers","statements"],subscriptions:(S={},S[d.player.RESET]="reset",S),shortEvents:{self:(y={},y[t.EVAL_INTERACTION]="onEvalInteraction",y[t.ADD_CHOICE_RESPONSE]="onAddChoiceResponse",y[t.ADD_PAIR_RESPONSE]="onAddPairResponse",y)},playerPropNames:{AttemptCount:0,Status:h.statuses.INCOMPLETE,Value:"",Description:"",Score:0,LastScore:0,AnswerIndex:-1,Answered:!1,Unanswered:!1,Viewed:!1,Sent:!1,QuestionIndex:-1},responses:null,curAnswer:null,initialize:function(){this.attempts=[],this.getChoiceById=c.partial(b,this,"choices"),this.getStatementById=c.partial(b,this,"statements"),this.prop("CorrectResponse",this.getCorrectResponse())},attempt:function(){var e=this.prop("AttemptCount")+1;return this.prop("AttemptCount",e),this},appendAttempts:function(){return this.attempts.push(c.extend(this.getPlayerPropsRaw(),{responses:this.responses.slice(),Latency:p.getCourseTime()})),this},setAsViewed:function(e){this.prop("Viewed",e),this.trigger(d.interaction.VIEWED,this.absoluteId,this.maxpoints())},setStatusFromCurAnswer:function(){var e;return e=null!=this.curAnswer?this.curAnswer.status:this.get("issurvey")?h.statuses.NEUTRAL:h.statuses.INCORRECT,this.prop("Status",e),this},setAsAnswered:function(){return this.prop({Answered:!0,Unanswered:!1}),this},setAnswerIndex:function(){return this.prop("AnswerIndex",this.answers().indexOf(this.curAnswer)),this},setScore:function(){return this.prop({LastScore:this.curAnswer.points,Score:this.curAnswer.points}),this},evaluate:function(e){return this.attempt().updateCurAnswer().setScore().setStatusFromCurAnswer().updateQuestionCorrectVariable().appendAttempts().trigger(d.interaction.EVALUATED,this,null==e).executeAnswerActions(e),this},updateUserResponse:function(){return this.buildResponses(),this.hasValidResponses()&&this.updateCurAnswer(),this},updateCurAnswer:function(){var e=this.isType("numeric")?parseFloat:c.identity;return this.curAnswer=o.setCurrInteraction(this).evaluateAnswers(this.responses.map(e)),this.setAsAnswered().setAnswerIndex(),this},executeAnswerActions:function(e){var t=this.curAnswer;null!=e&&t&&l.executeActions(t.actions,{context:this.getClosestAncestorByKind("slide")})},buildResponses:function(){var e=this.responseDefinition().actions;return this.responses=[],null!=e&&(l.executeActions(e,{context:this.getClosestAncestorByKind("slide")}),this.updateValue()),this},updateValue:function(){var e=this.isType("numeric"),t=e?"first":"identity",n=e?parseFloat:c.identity;return this.prop("Value",c[t](this.responses.map(n))),this},addResponse:function(e){return this.responses.push(e),this},onEvalInteraction:function(e){this.buildResponses().evaluate(e)},onAddChoiceResponse:function(e){var t={string:c.identity,var:function(e){return this.resolvePath(e).value()}}[e.type]||this.resolvePath;this.addResponse(t.call(this,e.value))},onAddPairResponse:function(e){var t,n=e.valuea,i=e.valueb;this.addResponse({statementResponse:n,choiceResponse:(t=i,/^choices/.test(t)?i:this.resolvePath(i))})},getCorrectAnswer:function(){return c.find(this.answers(),{status:h.statuses.CORRECT})},getCorrectResponse:function(){var e=this.getCorrectAnswer(),t=v[this.type()]||v.default;return c.reduce(e?e.evaluate.statements:[],t.bind(this),[])},evaluateUnanswered:function(){if(!this.hasValidResponses())return this.attempt(),this.setStatusFromCurAnswer(),this.prop("Answered",!0),void this.trigger(d.interaction.EVALUATED,this);var e=this.prop("AnswerIndex");this.prop("Score");e>-1&&(this.curAnswer=this.answers()[e],this.prop({Status:this.curAnswer.status,Score:this.curAnswer.points,LastScore:this.curAnswer.points,Unanswered:!1,Answered:!0})),this.evaluate()},isPairResponse:function(e){return null!=e&&(null!=e.statementResponse||null!=e.choiceResponse)},isValidResponse:function(e){return null!=e&&(this.isPairResponse(e)?""!==e.statementResponse&&null!=e.statementResponse&&""!==e.choiceResponse&&null!=e.choiceResponse:""!==e)},hasResponses:function(){return null!=this.responses&&this.responses.length>0},hasValidResponses:function(){return this.hasResponses()&&this.responses.every(this.isValidResponse.bind(this))},isPassing:function(){return this.prop("Status")===h.statuses.CORRECT},markAttempts:function(){this.attempts.forEach((function(e){e.Sent=!0}))},getAoSoapXml:function(){return 0===this.prop("AttemptCount")||0===this.attempts.length?"":[f.writeNode("interaction",{idRef:g.stripPlayer(this.absoluteId),type:this.type()}),this.getAttemptXml(),f.writeCloseNode("interaction")].join("")},getAttemptXml:function(){return this.attempts.reduce(function(e,t,n,i){var r=n===i.length-1,o=m[this.type()].bind(this),s=[f.writeNode("attempt",{time:t.Latency,final:r.toString(),pointsAwarded:t.Score,result:t.Status,sent:t.Sent})];return t.responses.map(o).forEach((function(e){s.push(e)})),s.push(f.writeCloseNode("attempt")),e.push(s.join("")),e}.bind(this),[]).join("")},getCorrectValues:function(){return this.prop("CorrectResponse")},getResponseValues:function(e){return(this.responses||[]).map(function(e){return c.isPlainObject(e)?{statement:this.getStatementById(e.statementResponse||e.statement),choice:this.getChoiceById(e.choiceResponse||e.choice)}:this.isType("numeric")||this.isType("fillin")||this.isType("essay")||this.isType("likert")?e.toString():this.getChoiceById(e.toString())}.bind(this))},updateQuestionCorrectVariable:function(){var e=DS.playerGlobals.presentation.playerVars&&DS.playerGlobals.presentation.playerVars()?DS.playerGlobals.presentation.playerVars().variables().get("questionCorrect"):null;return null!=e&&e.value()!==this.isPassing()&&e.value(this.isPassing()),this}}),x=w.prototype;return x.getLastScore=c.partial(x.prop,"LastScore"),w}.call(t,n,t,e))||(e.exports=i)},8771:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r=n(3949),o=n(7620),s=n(2604),a=n(4998),l=n(4554),c=DS._,u=DS.windowManager,h=DS.utils,d=DS.constants,p=DS.events,f=DS.dom,g=DS.resolver,m=DS.BaseModel,v=DS.resumer,y=DS.pubSub,S=DS.vow,b=function(e){return!e.prop("Answered")},w=function(e){return 0===e.prop("AttemptCount")},x=function(e){return!0===e.prop("Viewed")},C=function(e){return x(e)&&b(e)},E=function(e){return x(e)&&w(e)},P=function(e){return!0===e.get("istracked")},T=function(e){return e.skipenabled()},D=function(e){return e.isSlide||A(e)},A=function(e){return e.isSlideDraw},I=function(e){return Math.floor(100*e)/100},k=m.extend({mixins:[l,a],shorthand:["issurvey","passPercent","submitunanswered","scoretype","resettype","reviewtype","actionGroups"],resolveables:["actionGroups","variables","quizzes"],associations:{sliderefs:s},playerPropNames:{mustPass:!0,QuizComplete:!1,AllQuestionsSubmitted:!1,AllQuestionsAnswered:!1,Score:0,PercentScore:0,PassScore:0,Evaluated:!1,Completed:!1,Passed:!1,CombinedTotal:0,CombinedPassed:0,CombinedFailed:0,Weight:1,model:{PassPercent:"passPercent"}},abilities:{resolveAsThis:!0,resolveAsParent:!0,beEventTarget:!0},shortEvents:{self:(i={},i[r.EVAL_ALL_UNANSWERED]="evalAllUnanswered",i[r.SET_QUIZ_COMPLETE]="setQuizComplete",i[r.NEXT_VIEWED_SLIDE]="onNextReviewedSlide",i[r.RESET_QUIZ]="onResetQuiz",i)},subscriptions:(t={},t[p.data.INITIALIZED]="onDataInitialized",t[p.slide.HAS_CHANGED]="onSlideHasChanged",t[p.player.RESET]="onResetPlayer",t),maxPoints:0,currentMaxPoints:0,attempts:0,initialize:function(){this.referencesBuilt=S.Deferred(),this.viewedInteractions={},this.listenTo(this.getPlayerProps(),{"change:Score":this.onChangeScoreProp})},onDataInitialized:function(){this.buildReferences(),this.referencesBuilt.then(this.updateInteractionRefs.bind(this))},updateInteractionRefs:function(){this.updateMaxPoints(),this.updatePassScore(),this.listenForViewsAndEvaluations(),this.listenForAnswered()},disconnectReferences:function(){null!=this.flatInteractions&&this.flatInteractions.forEach(function(e){this.stopListening(e)}.bind(this)),null!=this.interactions&&this.interactions.forEach(function(e){this.stopListening(e),this.stopListening(e)}.bind(this))},buildReferences:function(){return this.buildQuizzes(),this.slides=c(this.sliderefs().invoke("getSlide")).filter(D).value(),this.draws=this.slides.filter(A),this.waitForDraws(),S.after.apply(S,this.quizzes.map(c.property("referencesBuilt"))).then(this.referencesBuilt.resolve),this},waitForDraws:function(){var e=this.slides.filter(A);e.forEach(function(e){var t=this.onDrawReceived.bind(this,e);this.listenTo(e,p.slide.CHANGE,t),this.listenTo(e,p.draw.RESET,this.onDrawReset.bind(this)),this.listenTo(e,p.draw.RESET_COMPLETE,this.onAfterDrawReset.bind(this)),null==e.slides()?!1:t()}.bind(this)),0===e.length&&this.afterDrawReceived()},onDrawReset:function(e){this.disconnectReferences(),e.slides().forEach(function(e){c.remove(this.slides,e)}.bind(this)),c.set(e,["spliceIdx",this.absoluteId],-1),c.set(e,["spliceNum",this.absoluteId],0)},onAfterDrawReset:function(e){this.updateInteractionRefs()},onDrawReceived:function(e){var t=["spliceIdx",this.absoluteId],n=["spliceNum",this.absoluteId],i=h.getPath(e,t,this.slides.indexOf(e)),r=h.getPath(e,n,1);c.set(e,t,i),c.set(e,n,e.slides().length),i>=0&&r>0&&this.slides.splice(i,r),this.slides=this.slides.concat(e.slides().slice()),this.afterDrawReceived()},afterDrawReceived:function(){var e;return this.interactions=c(this.slides).invokeMap("interactions").compact().value(),this.flatInteractions=c(this.interactions).invokeMap("slice").flattenDeep().filter(P).value(),this.slides.forEach(function(e){null!=e.setQuiz&&e.setQuiz(this)}.bind(this)),this.flatInteractions.forEach((function(e,t){e.prop("QuestionIndex",t)})),e=0===this.flatInteractions.length,this.prop({AllQuestionsSubmitted:this.prop("AllQuestionsSubmitted")||e,AllQuestionsAnswered:this.prop("AllQuestionsAnswered")||e}),this},onSlideHasChanged:function(e){this.currentPlayerSlideId=e},getCurrentSlideIndex:function(e){return c.findIndex(e,function(e){return h.stripPlayer(e.absoluteId)===this.currentPlayerSlideId}.bind(this))},getFilteredItemsForReviewReset:function(e,t){return!0===this.issurvey()||void 0===t?c.sortBy(e,this.sortByViewedOrder):c(e).filter(t).sortBy(this.sortByViewedOrder).value()},sortByViewedOrder:function(e){return v.totalViewedSlides.indexOf(e)},onNextReviewedSlide:function(e){var t=c.isEmpty(e.status_filter)?void 0:e.status_filter;this.navigateToNextViewedQuizSlide(e,t)},onResetPlayer:function(){this.resetQuiz(!0)},onResetQuiz:function(){this.resetQuiz(!1)},navigateToNextViewedQuizSlide:function(e,t){var n,i=void 0!==t?function(e){return e.getInteractionStatus()===t}:void 0,r=this.getFilteredItemsForReviewReset(this.slides,i),o=this.getCurrentSlideIndex(r)+1;o===r.length?y.trigger(p.request.NEXT_SLIDE,e.completed_slide_ref.value):null!=(n=c.find(r.slice(o),(function(e){return c.includes(v.totalViewedSlides,e)})))?y.trigger(p.request.NEXT_SLIDE,n.absoluteId):y.trigger(p.request.NEXT_SLIDE,e.completed_slide_ref.value)},resetQuiz:function(e){var t,n;(this.resetProps(),this.completed=!1,this.viewedInteractions={},this.currentMaxPoints=0,!1===e&&this.resettype()===d.reviewResetTypes.INCORRECTONLY)&&(t=function(e){return!e.isPassing()},n=function(e){return e.getInteractionStatus()===d.statuses.INCORRECT},this.getFilteredItemsForReviewReset(this.flatInteractions,(function(e){return e.isPassing()})).forEach((function(e){return e.viewed=!0})),this.updateViewedInteractions());var i=this.getFilteredItemsForReviewReset(this.flatInteractions,t),r=this.getFilteredItemsForReviewReset(this.slides,n);if(c.invokeMap(i,"resetResume",!0),r.forEach((function(e){e.resetResume(),e.updateInteractionData().onAfterResumeBuilt()})),this.resettype()!==d.reviewResetTypes.INCORRECTONLY&&c.invokeMap(this.draws,"generateDraw"),this.updatePassScore().updateScore(),this.hasScoring()){var o=this.getScoring();o.prop("Completed",!1),y.trigger(p.quiz.RETRIED,o)}v.savePresentationData(),this.attempts++},listenForViewsAndEvaluations:function(){this.interactions.forEach(function(e){this.listenTo(e,p.interaction.VIEWED,this.onInteractionViewed),this.listenTo(e,p.interaction.EVALUATED,this.onInteractionEvaluated)}.bind(this))},listenForAnswered:function(){this.flatInteractions.forEach(function(e){this.listenTo(e.getPlayerProps(),"change:Answered",this.onInteractionAnswered)}.bind(this))},buildQuizzes:function(){this.getClosestParentRef();var e=this.get("quizrefs")||[];this.quizzes=e.map(function(e){var t=g.resolvePath(h.prefixWithPlayer(e.id),this);return t.prop({mustPass:e.mustpass,weight:e.weight}),t}.bind(this)),this.hasScoring()&&this.quizzes.forEach(function(e){e.setScoring(this.scoring)}.bind(this))},isPassed:function(){return this.updatePassScore().updatePercentScore(),this.prop("Score")>=this.prop("PassScore")&&this.quizzes.every((function(e){return e.prop("mustPass")&&e.isPassed()}))},calcScore:function(){return this.calcThisScore()+this.calcChildScores()},calcThisScore:function(){return c.reduce(this.flatInteractions,(function(e,t){return e+c.result(t,"getLastScore",0)}),0)},calcChildScores:function(){return this.reduceQuizzes((function(e,t){return e+t.calcScore()}),0)},updateScore:function(){return this.prop("Score",this.calcScore()),this.hasScoring()&&this.getScoring().updateScore(this),this.prop("Passed",this.isPassed()),this.prop("CombinedTotal",this.quizzes.length),this.prop("CombinedPassed",this.reduceQuizzes((function(e,t){return e+(t.isPassed()?1:0)}),0)),this.prop("CombinedFailed",this.quizzes.length-this.prop("CombinedPassed")),this},getCurrentMaxPoints:function(){return this.quizzes.length>0&&(this.currentMaxPoints=this.quizzes.reduce((function(e,t){return e+t.getMaxPoints()}),0)),this.currentMaxPoints},getMaxPoints:function(){return"partial"===this.scoretype()?this.getCurrentMaxPoints():this.maxPoints},calcPassScore:function(){return I(h.pctToDec(this.prop("PassPercent"))*this.getMaxPoints())},updatePassScore:function(){return this.prop("PassScore",this.calcPassScore()),this},calcPercentScore:function(){return I(h.decToPct(this.prop("Score")/(this.getMaxPoints()||1)))},updatePercentScore:function(){return this.prop("PercentScore",this.calcPercentScore()),this},calcMaxPoints:function(){return this.calcThisMaxPoints()+this.calcChildMaxPoints()},calcThisMaxPoints:function(){return c(this.flatInteractions).invokeMap("maxpoints").reduce(h.add,0)},calcChildMaxPoints:function(){return this.reduceQuizzes((function(e,t){return e+t.calcMaxPoints()}),0)},reduceQuizzes:function(e,t){return 0===this.quizzes.length?t:this.quizzes.reduce(e.bind(this),t)},updateMaxPoints:function(){return this.maxPoints=this.calcMaxPoints()||1,this},updateCurrentMaxPoints:function(){return this.currentMaxPoints=this.calcCurrentMaxPoints(),this},calcCurrentMaxPoints:function(){return c.reduce(this.viewedInteractions,(function(e,t){return e+t}),0)},updateViewedInteractions:function(){var e=this;return this.flatInteractions.forEach((function(t){t.viewed&&null==e.viewedInteractions[t.absoluteId]&&(e.viewedInteractions[t.absoluteId]=t.maxpoints())})),this},onInteractionEvaluated:function(e){this.updateScore().updateAllQuestionsSubmitted(),y.trigger(p.interaction.EVALUATED,this,e)},onInteractionViewed:function(e,t){null==this.viewedInteractions[e]&&(this.viewedInteractions[e]=t),this.updateCurrentMaxPoints()},onInteractionAnswered:function(e){this.prop("AllQuestionsAnswered",this.getUnansweredInteractions().every(T)),y.trigger(p.quiz.INTERACTION_ANSWERED,this)},onChangeScoreProp:function(){this.updatePercentScore()},updateAllQuestionsSubmitted:function(){return this.prop("AllQuestionsSubmitted",this.getUnsubmittedInteractions().every(T)),this},getUnsubmittedInteractions:function(){var e="viewed"===this.submitunanswered()?E:w;return this.flatInteractions.filter(e)},getUnansweredInteractions:function(){var e="viewed"===this.submitunanswered()?C:b;return this.flatInteractions.filter(e)},attempted:function(){return this.flatInteractions.length!==this.getUnansweredInteractions().length||this.quizzes.some((function(e){return e.attempted()}))},evalAllUnanswered:function(){var e=u.getCurrentWindowSlide();return null!=e&&e.storeInteractionResults(),this.prop("Evaluated")||(this.getUnsubmittedInteractions().forEach((function(e){e.evaluateUnanswered()})),this.quizzes.forEach((function(e){e.evalAllUnanswered()})),this.prop("Evaluated",!0)),this.quizzes.forEach((function(e){e.evalAllUnanswered()})),this.updateScore(),this.setResumeInMotion(),this.timeComplete=this.timeComplete||new Date,this},setQuizComplete:function(){var e=this.completed;this.completed=!0,this.prop("QuizComplete",this.quizzes.every((function(e){return e.getIsComplete()}))),this.updateScore(),e||y.trigger(p.quiz.COMPLETED,this),this.hasScoring()&&this.getScoring().checkCourseComplete(),this.timeComplete=new Date},getIsComplete:function(){return!0===this.prop("QuizComplete")},setResumeInMotion:function(){this.slides.forEach((function(e){e.updateInteractionData().onAfterResumeBuilt(!0)}))},getResumeData:function(){return[Number(this.prop("Evaluated")),Number(this.prop("QuizComplete"))].join("")},setResumeData:function(e){this.prop({Evaluated:"1"===e.charAt(0),QuizComplete:"1"===e.charAt(1)}),this.updateScore().updateViewedInteractions().updateCurrentMaxPoints(),this.hasScoring()&&this.getScoring().updateStatus(),this.updateAllQuestionsSubmitted()},setScoring:function(e){this.scoring=e},getScoring:function(){return this.scoring},hasScoring:function(){return!!this.getScoring()},getAttempts:function(){return this.attempts},markAttemptsSent:function(){this.flatInteractions.forEach((function(e){e.markAttempts()})),this.quizzes.forEach((function(e){e.markAttemptsSent()}))},getAoSoapXml:function(){var e=[f.writeNode("quiz",this.getQuizAttributes())];return this.quizzes.length?e.push(this.getQuizzesXml()):(e.push(f.writeNode("interactions")),this.flatInteractions.forEach((function(t){e.push(t.getAoSoapXml())})),e.push(f.writeCloseNode("interactions"))),e.push(f.writeCloseNode("quiz")),e.join("")},getQuizAttributes:function(){var e=this.isType("survey"),t=this.getIsComplete()?d.statuses.COMPLETE:d.statuses.INCOMPLETE,n=this.isPassed()?d.statuses.PASSING:d.statuses.FAILING,i=e?t:n,r={idRef:this.id,duration:0,status:i};return e||(r.score=Math.floor(100*this.prop("Score"))/100,r.possibleScore=this.maxPoints),r},getQuizzesXml:function(){var e=[f.writeNode("quizzes")];return this.quizzes.forEach((function(t){e.push(t.getAoSoapXml())})),e.push(f.writeCloseNode("quizzes")),e.join("")}});return o.prototype.model=k,k}.call(t,n,t,e))||(e.exports=i)},5011:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r=n(4998),o=n(4585),s=n(3949),a=n(1102),l=DS._,c=DS.pubSub,u=DS.BaseModel,h=DS.Chunk,d=DS.subscribable,p=DS.events,f=DS.utils;return u.extend({mixins:[r,o,d],shorthand:["events"],subscriptions:(i={},i[p.request.NEXT_SLIDE]="onNextSlide",i[p.slide.STARTED]="onSlideReady",i[p.resume.RESET_DATA]="onResetData",i),shortEvents:{self:(t={},t[s.SHOW_TIMER]="onShowTimer",t[s.HIDE_TIMER]="onHideTimer",t[s.START_TIMER]="onStartTimer",t[s.PAUSE_TIMER]="onPauseTimer",t[s.RESET_TIMER]="onResetTimer",t)},initialize:function(){l.bindAll(this,"onNextSlide","onSlideReady","onResetData","onUpdate","onComplete");var e=this.get("duration");this.duration=f.toSeconds(e);var t={onUpdate:this.onUpdate,onComplete:this.onComplete};this.timeline=new a(e,t),this.resumeOnSlideReady=this.started=!1},onResetData:function(){this.resumeOnSlideReady=!1,this.deferredResumeData="",this.timeline.progress(0),this.trigger("tick",0,0,this.duration)},onNextSlide:function(){this.resumeOnSlideReady=this.started,this.timeline.pause()},onSlideReady:function(){this.resumeOnSlideReady&&this.timeline.play()},elapsed:function(e,t){if(null==e)return this.duration*this.timeline.elapsedPercentage();this.timeline.progress(f.toMilliseconds(e,3),t)},onShowTimer:function(){c.trigger(p.timer.SHOW,this),this.onUpdate()},onHideTimer:function(){c.trigger(p.timer.HIDE,this)},onStartTimer:function(){this.started=!0,this.timeline.play()},onPauseTimer:function(){this.started=!1,this.resumeOnSlideReady=!1,this.timeline.pause()},onResetTimer:function(){this.started=!1,this.onResetData()},onUpdate:function(){this.started&&this.trigger("tick",this.timeline.elapsedPercentage(),this.elapsed(),this.duration)},onComplete:function(){c.trigger(p.timer.COMPLETE),this.executePlayerEvent("timercomplete")},setResumeData:function(e){var t;"1"===e.charAt(0)&&(this.trigger("show"),this.trigger("start"),t=h.fromSignedString64(e.substr(1)),this.elapsed(f.toSeconds(t),!0),this.deferredResumeData="")},getResumeData:function(){return[this.started||this.resumeOnSlideReady?"1":"0",h.toSignedString64(f.toMilliseconds(this.elapsed()),3)].join("")}})}.call(t,n,t,e))||(e.exports=i)},4585:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4196),i=n(2637),r=DS._,o=DS.utils,s=DS.errorManager.throwError("eventable"),a={isEventable:!0,hasEvent:function(e){return this.getEvents(e).length>0},getEvents:function(e){var t=this.events()||[];return t&&r.union(r.filter(t,{kind:e}),r.filter(t,{eventName:e}),r.filter(t,{eventname:e}))},getFilteredPlayerEvent:function(e,t,n){var o=this.getEvents(t);return 0===o.length?{events:i.empty,data:n}:(n&&!r.isObject(n)&&s("executeFilteredPlayerEvent","data supplied must be an object"),n=r.extend(n||{},{context:this.getClosestEventTarget(),eventType:t}),{events:new i(o).filter(e),data:n})},executeFilteredPlayerEvent:function(e,n,i){var r=this.getFilteredPlayerEvent(e,n,i);return r.events.forEach((function(e){null!=e.actions&&t.executeActions(e.actions,r.data)})),this},traceFilteredPlayerEvent:function(e,n,i){var r=this.getFilteredPlayerEvent(e,n,i);return r.events.map((function(e){return t.traceActions(e.actions,r.data)})).flatten()}};return r.extend(a,{executePlayerEvent:r.partial(a.executeFilteredPlayerEvent,o.alwaysTrue),tracePlayerEvent:r.partial(a.traceFilteredPlayerEvent,o.alwaysTrue)}),a}.call(t,n,t,e))||(e.exports=i)},4554:function(e,t,n){var i;i=function(e){"use strict";var t=DS._,n=DS.utils,i=DS.events,r=DS.constants,o=DS.Backbone,s=function(e){return e[r.PLAYER_PROPS_KEYPATH]},a=function(e,t){return e[r.PLAYER_PROPS_KEYPATH].set(t),e},l={init:function(){var e,t;this.variableMap={},e=this,t=new o.Model,e[r.PLAYER_PROPS_KEYPATH]=t,this.createVariableProps().createPlayerProps(),this.once(i.data.UPDATED,this.createPlayerProps.bind(this))},getStaticPlayerProps:function(){return{Id:this.id,AbsoluteId:this.absoluteId&&n.stripPlayer(this.absoluteId),parent:this.parent}},isVariableProp:function(e){if(this.variableProps)return t.has(this.variableProps,e)},getVariableProp:function(e){return this.variableMap[e]},createVariableProps:function(){var e={};return this.variableProps&&(this.variableMap=t.reduce(this.variableProps,function(t,n,i){return t[i]=this.variables().addVariable({name:i,type:n.type,value:n.value,resume:null==n.resume||n.resume},this),e[i]=n.value,t}.bind(this),{}),this.variableProps=e),this},createPlayerProps:function(e,n){n=n||{};var i=t.extend({},this.getStaticPlayerProps(),this.getTransformedPropsObj(),e?{}:this.decodedResumeData);return a(this,t.omit(i,n)),s(this)},prop:function(e,n){var i=void 0===n&&!t.isObject(e),r=s(this);if(i)return r.get(e);(r.set(e,n),this.isVariableProp(e))&&this.getVariableProp(e).value(n);return this},getPlayerProps:function(){return s(this)},getVariableProps:function(){var e=this.variableProps||{};return t.forEach(e,function(t,n){if(this.isVariableProp(n)){var i=this.getVariableProp(n);i&&(e[n]=i.value())}}.bind(this))},getTransformedPropsObj:function(){var e=this.playerPropNames||{},n=t.omit(e,"model"),i=t.transform(e.model,function(e,t,n){e[n]=this.get(t)}.bind(this));return t.extend(n,i,this.getVariableProps())},hasOwnPlayerProp:function(e){return s(this).has(e)},prepareResumeData:function(e){return e=e||{},this.onBeforeResumeBuilt(e),t.isFunction(this.buildResumeData)&&this.buildResumeData(e.force,e.retainState),e.skipPostBuild||this.onAfterResumeBuilt(e.retainState),this},resetProps:function(){this.createPlayerProps(!0)},resetPropsExcept:function(e){this.createPlayerProps(!0,e)},resetSpecifiedProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=Object.assign({},this.getStaticPlayerProps(),this.getTransformedPropsObj());return a(this,t.pick(n,e)),s(this)},getPlayerPropsRaw:function(){return this.getPlayerProps().toJSON()},onAfterResumeBuilt:t.noop,onBeforeResumeBuilt:t.noop};return l}.call(t,n,t,e),void 0===i||(e.exports=i)},2452:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.Chunk,i=DS.constants,r=[i.statuses.CORRECT,i.statuses.INCOMPLETE,i.statuses.INCORRECT,i.statuses.NEUTRAL],o=function(e,t){return e>-1?"0"+n.toUnsignedString64(e,2):"1"+n.create(t)},s=function(e,t){return[e,t].join(".")},a=t.partial(s,"statements"),l=t.partial(s,"choices");return{init:function(){t.bindAll(this,"responseToResumeData")},updateInitialAttemptCount:function(){this.initialAttemptCount=this.prop("AttemptCount"),this.responsesBuiltOnExit=!1},getResumeData:function(){var e=this.prop("AttemptCount"),t=n.toUnsignedString64(e,2);return this.initialAttemptCount!==e||this.responsesBuiltOnExit||this.buildResponses(),t+=[this.prop("Answered")?1:0,this.prop("Unanswered")?1:0,e>0?this.getAttemptResumeData():this.getNoAttemptResumeData()].join("")},getAttemptResumeData:function(){return[r.indexOf(this.prop("Status")),n.create(n.toSignedString64(this.prop("Score"))),n.create(n.toSignedString64(this.prop("LastScore"))),n.create(n.toSignedString64(this.prop("AnswerIndex")))].join("")},getNoAttemptResumeData:function(){var e=this.responses||[];return n.toUnsignedString64(e.length,2)+e.map(this.responseToResumeData.bind(this)).join("")},responseToResumeData:function(e){var i,r,s,a=this.isValidResponse(e),l=this.isPairResponse(e),c=(a?2:0)+(l?1:0),u=n.toUnsignedString64(c,1);return a&&(r=l?e.choiceResponse:e,t.isString(r)||(r=r.value()),s=t.findIndex(this.choices(),{id:r.split(".")[1]}),u+=o(s,r),l&&(i=t.findIndex(this.statements(),{id:e.statementResponse.split(".")[1]}),u+=o(i,e.statementResponse))),n.create(u)},reset:function(){this.resetResume(!0)},resetResume:function(e){!0===e?this.resetProps():this.resetPropsExcept("LastScore"),this.resetResponses()},resetResponses:function(){this.responses=[],this.curAnswer=null},setResumeData:function(e){if(null!=e&&""!==e){var t=function(t){var n=e.slice(0,t);return e=e.slice(t),n};this.prop({AttemptCount:n.fromUnsignedString64(t(2)),Answered:"1"===t(1),Unanswered:"1"===t(1)}),this.prop("AttemptCount")>0?this.setAttemptResumeData(e):this.setNoAttemptResumeData(e)}},setAttemptResumeData:function(e){var t,i,o=parseInt((t=1,i=e.slice(0,t),e=e.slice(t),i)),s=new n({fullString:e}),a=s.reChunk(),l=a.reChunk().getSignedValue();this.prop({Status:r[o],Score:s.getSignedValue(),LastScore:a.getSignedValue(),AnswerIndex:l}),this.curAnswer=this.answers()[l]},setNoAttemptResumeData:function(e){for(var t,i,r,o,s,c,u,h=function(t){var n=e.slice(0,t);return e=e.slice(t),n},d=function(){return"0"===h(1)},p=function(){var t=new n({fullString:e}),i=t.encodedString();return e=t.remainder(),i},f=n.fromUnsignedString64(h(2)),g=new n({fullString:e});f--;)e=g.encodedString(),g=g.reChunk(),i=1&(t=n.fromUnsignedString64(h(1),10)),2&t&&(d()?(o=n.fromUnsignedString64(h(2)),c=this.choices()[o].id,r=l(c)):r=p(),i&&(d()?(s=n.fromUnsignedString64(h(2)),u=a(this.statements()[s].id)):u=p(),r={choiceResponse:r,statementResponse:u}),this.responses=this.responses||[],this.responses.push(r))}}}.call(t,n,t,e))||(e.exports=i)},5565:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.Chunk,i=DS.vow,r=(DS.utils,DS.playerGlobals),o=DS.events,s=DS.resumer,a=DS.pubSub,l="slides",c="slidedraws",u={arrays:{slides:"slidesResume",slidedraws:"slidedrawsResume"},maps:{slides:"slidesResumeMap",slidedraws:"slidedrawsResumeMap"},arrGetters:{slides:"getResumableSlidesArray",slidedraws:"getResumableDrawsArray"},indexGetters:{slides:"getSlideMapIndexOf",slidedraws:"getDrawMapIndexOf"}},h=function(e){return e.isSlideDraw||e.resume()||e.hasInteractions()||r.player.isReadOnlyOnce()},d={postInit:function(){r.player&&r.player.hasData?this.onPlayerInitialized():a.once(o.player.INITIALIZED,this.onPlayerInitialized.bind(this))},onPlayerInitialized:function(){var e;this.isScene&&(this.createSlideResumeArray(),this.hasDraws()&&(e=this.slidedraws().invoke("getSlidePromise"),i.after.apply(i,e).then(this.createDrawResumeArray.bind(this))))},getResumableArray:function(e){return this[e]().filter(h)},createSlideResumeArray:function(){return this.slidesResumeMap=[],this.slidesResume=this.slides().filter(h).reduce(function(e,t){return this.slidesResumeMap.push(t.index()),e.push(n.EMPTY_CHUNK),e}.bind(this),[]),this},createDrawResumeArray:function(){this.slidedrawsResumeMap=[],this.slidedrawsResume=this.slidedraws().reduce(function(e,t){return t.createSlideResumeArray(),this.slidedrawsResumeMap.push(t.index()),e.push(n.create(t.getResumeData())),e}.bind(this),[])},createOrderArray:function(e){this.resumeOrder=e.map(function(e){return n.toUnsignedString64(this.sliderefs().indexOf(e),2)}.bind(this)).join("")},getMapIndexOf:function(e,t){return this[e].indexOf(t.index())},saveData:function(e,t){if(h(t)){var i=u.indexGetters[e],r=u.arrays[e],o=this[i](t);this[r][o]=n.create(t.getResumeData())}this.isScene?s.savePresentationData(this):this.getScene().saveDrawData(this)},getResumeData:function(){return this[this.isSlideDraw?"getDrawResume":"getSceneResume"]()},getDrawResume:function(){var e=this.variables();return[n.create(this.resumeOrder),this.slidesResume.join(""),e.length?n.create(e.getResumeDataOrReturn("")):""].join("")},getSceneResume:function(){var e=this.variables();return[e.length?n.create(e.getResumeDataOrReturn("")):"",this.slidesResume.join(""),(this.slidedrawsResume||[]).join("")].join("")},clearResumeData:function(){this.createSlideResumeArray()},setResumeData:function(e){""!==e&&null!=e&&this[this.isSlideDraw?"setDrawResume":"setSceneResume"](e)},setSceneResume:function(e){var t,i=new n({fullString:e}),r=i,o=this.variables();o.length&&(o.setResumeData(i.encodedString()),r=i.reChunk()),t=this.setSlideResumeData(r),this.setDrawsResumeData(t)},setDrawResume:function(e){var t,i=new n({fullString:e}),r=i.reChunk(),o=this.variables();this.setSlidesInResumeOrder(i.encodedString()),t=this.setSlideResumeData(r),o.length&&o.setResumeData(t.encodedString()),this.slideDfd.resolve(this.slides())},setSlidesInResumeOrder:function(e){var t,i;for(this.resumeOrder=[];e.length>0;)t=e.slice(0,2),this.resumeOrder.push(n.fromUnsignedString64(t)),e=e.slice(2);i=this.resumeOrder.map(function(e){return this.sliderefs()[e]}.bind(this)),this.generateSlides(i)},setSlidesOrDrawsResumeData:function(e,t){var i,r=this[u.arrGetters[e]](),o=this[u.arrays[e]];return r.forEach((function(e,r){i=t.encodedString(),o[r]=n.create(i),e.setResumeData(i),t=t.reChunk()})),t}};return d.saveSlideData=t.partial(d.saveData,l),d.saveDrawData=t.partial(d.saveData,c),d.getSlideMapIndexOf=t.partial(d.getMapIndexOf,u.maps.slides),d.getDrawMapIndexOf=t.partial(d.getMapIndexOf,u.maps[c]),d.getResumableSlidesArray=t.partial(d.getResumableArray,l),d.getResumableDrawsArray=t.partial(d.getResumableArray,c),d.setSlideResumeData=t.partial(d.setSlidesOrDrawsResumeData,l),d.setDrawsResumeData=t.partial(d.setSlidesOrDrawsResumeData,c),d}.call(t,n,t,e))||(e.exports=i)},5620:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6974),i=DS._,r=DS.Chunk,o=function(e){return!!e.isSlide};return{init:function(){this.getResumeDataOrReturn=i.partial(t.meetConditionOrReturn,this,this.isViewed)},getResumeData:function(){return this.encodedResumeData},buildResumeData:function(e){(e&&this.isOpen||this.resume())&&(this.encodedResumeData=this.shownInCurrentView?[this.timeline().getResumeData(),this.getObjectsResumeData(e),this.audiolib().getResumeData(e),this.variables().getResumeDataOrReturn("")].map(r.create).join(""):this.viewed?this.cachedResumeData:"")},getObjectsResumeData:function(e){return this.objectIndex.filter(t.getResumeableFilter(e)).reduce((function(t,n){return t+r.create(n.getResumeData(e))}),"")},clearResumeData:function(){this.cachedResumeData="",this.isViewed=!1,this.baseLayerPauses=[]},resetResume:function(){this.encodedResumeData="",this.resetBeforeView()},resetBeforeView:function(){return this.timeline().resetResume(),this.variables().resetValues(),this.resetProps(),this.audiolib().resetBeforeView(),this.baseLayerPauses=[],i.invokeMap(this.objDecendants,"resetResume"),this},setResumeData:function(e,t){if(this.cachedResumeData=e,(t||this.shouldResume())&&e){this.wasForcedResumed=t;var n=new r({fullString:e}),i=n.reChunk(),o=i.reChunk(),s=o.reChunk();this.setAsViewed(!0),this.timeline().setResumeData(n.encodedString()),this.setObjectsResumeData(i.encodedString(),t),this.audiolib().setResumeData(o.encodedString(),t),this.variables().setResumeData(s.encodedString())}},applyResumeData:function(){return this.setResumeData(this.encodedResumeData),this},setObjectsResumeData:function(e,n){var i=new r({fullString:e});this.objectIndex.filter(t.getResumeableFilter(n)).forEach((function(e){e.setResumeData(i.encodedString()),i=i.reChunk()}))},onBeforeResumeBuilt:function(e){this.objects().invoke("prepareResumeData",e)},shouldResume:function(){return this.resume()&&this.getClosestAncestor(o).resume()}}}.call(t,n,t,e))||(e.exports=i)},82:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.events,i=DS.utils,r=(DS.keyManager,DS.Chunk),o=1,s=2,a=4,l=8,c=16,u=32,h=64,d=128,p=256,f=512,g=1024,m=2048,v=4096,y=1,S=2,b=4,w=8,x=4094,C=function(e){return!!e.isBaseLayer},E=function(e,t){var n=e.slice(0,t);return{data:e=e.slice(t),substr:n}},P=function(e,t,n){return r[!0===n?"fromUnsignedString64":"fromSignedString64"](e(t))};return{resetResume:function(){this.encodedResumeData="",this.setDecodedResumeDataObj(),this.resetObjectBeforeResume()},getResumeData:function(){return this.encodedResumeData||""},getFullResumeData:function(e){return this.buildResumeData(e).getResumeData()},buildResumeData:function(e){var t,n=0,i="",y=this.prop("DragConnected");return(this.shouldResume()||e)&&(this.isInDefaultState()||(n+=o,i+=r.toUnsignedString64(this.getCurrentStateIndex(),2)),this.isDraggable()&&y&&(n+=l,i+=r.toUnsignedString64(y.prop("slideIndex"),2),i+=r.toUnsignedString64(this.prop("DropIndex"),1)),this.isAtNewDepth()&&(n+=u,i+=r.toSignedString64(this.prop("depth"),2)),this.isShuffled()&&(n+=h,i+=r.toSignedString64(this.prop("ShuffleXPos"),2),i+=r.toSignedString64(this.prop("ShuffleYPos"),2),i+=r.toUnsignedString64(this.prop("tabIndex"),2)),n+=this.prop("OnStage")*a,n+=this.prop("Moved")*d,n+=this.prop("ReviewMode")*g,n+=this.prop("HiddenByLayer")*v,n+=this.prop("MouseOver")*m,n+=!this.prop("Enabled")*f,n+=!this.prop("TimelineControlled")*p,(t=this.variables().getResumeDataOrReturn(!1))&&(n+=s,i+=t),this.hasAnimated()&&(n+=c,this.animationStateData=this.getAnimationResumeState(),this.trigger("addanimationdata",this.collectAnimationResumeData.bind(this)),this.buildAnimationResumeData(this.animationStateData),i+=this.getAnimationResumeData())),this.encodedResumeData=r.toUnsignedString64(n,3)+i,this},getAnimationResumeData:function(e){return r.create(this.animationResumeData)},collectAnimationResumeData:function(e){this.animationStateData=t.extend(this.animationStateData,e)},buildAnimationResumeData:function(e){var t=this.getInitParentContainer(),n=this.getParentContainer(),o=n!==t,s=x,a=0;this.animationResumeData="",(o||this.isScaled()||this.isRotated()||this.isInNewPosition())&&(a+=y,this.animationResumeData+=r.toSignedString64(i.clamp(-2047,2047,Math.round(e.RawXPos)),2),this.animationResumeData+=r.toSignedString64(i.clamp(-2047,2047,Math.round(e.RawYPos)),2),o&&(s=n.isSlideLayer||n.isSlide?4095:n.prop("slideIndex")),this.animationResumeData+=r.toUnsignedString64(s,2),this.isScaled()&&(a+=S,this.animationResumeData+=r.toSignedString64(e.ScaleX,2),this.animationResumeData+=r.toSignedString64(e.ScaleY,2)),this.isRotated()&&(a+=b,this.animationResumeData+=r.toSignedString64(e.Rotation,2))),this.isAlphaed()&&(a+=w,this.animationResumeData+=r.toUnsignedString64(e.Alpha,2)),a>0&&(this.animationResumeData=r.toUnsignedString64(a,1)+this.animationResumeData)},setDecodedResumeDataObj:function(){this.decodedResumeData={}},setDecodedResumeProp:function(e,n){var i={};t.isObject(e)?i=e:i[e]=n,t.extend(this.decodedResumeData,i)},forceUpdateResume:function(){this.prop(this.decodedResumeData||{})},setResumeData:function(e){if(this.setDecodedResumeDataObj(),t.isEmpty(e))return this;this.setTransformDirty();var n,i,r,v,y,S=t.partial(P,(function(t){var n=E(e,t);return e=n.data,n.substr})),b=S(3,!0);return b&o?this.setDecodedResumeProp("ObjectState",this.getStateFromIndex(S(2))):this.setDecodedResumeProp("ObjectState","_default"),b&l&&(n=S(2),this.setDecodedResumeProp("DropIndex",S(1)),i=this.getClosestAncestor(C).getObjectByIndex(n),this.setDecodedResumeProp("DragConnected",i),this.setDecodedResumeProp("DropTargetId",i.id)),b&u&&this.setDecodedResumeProp("depth",S(2)),b&h&&(r=S(2),v=S(2),y=S(2,!0),this.prop("tabIndex",y),this.currView.idx=y,this.setDecodedResumeProp({ShuffleXPos:r,RawXPos:r,ShuffleYPos:v,RawYPos:v})),this.setDecodedResumeProp({Moved:!!(b&d),TimelineControlled:!(b&p),Enabled:!(b&f),ReviewMode:!!(b&g),MouseOver:!!(b&m)}),b&s&&(e=this.variables().setResumeData(e),this.setDecodedResumeProp(this.getVariableProps())),b&c&&this.setAnimationResumeData(e),this.setDecodedResumeProp("OnStage",!!(b&a)),this.prop(this.decodedResumeData),this},setAnimationResumeData:function(e){var n,i,o,s,a={},l=new r({fullString:e}),c=l.encodedString(),u=function(e){var t=E(c,e);return c=t.data,t.substr},h=t.partial(P,u);return c.length&&((n=r.fromUnsignedString64(u(1)))&y&&(a.RawXPos=h(2),a.RawYPos=h(2),(i=h(2,!0))!==x&&(o=this.getClosestAncestor(C),s=4095===i?o:o.getObjectByIndex(i),this.reparentChild(s))),n&S&&(a.ScaleX=h(2),a.ScaleY=h(2)),n&b&&(a.Rotation=h(2)),n&w&&(a.Alpha=h(2,!0)),this.setDecodedResumeProp(a)),l.remainder()},setResumeDataLimited:function(e){var n=function(t){var n=E(e,t);return e=n.data,n.substr},i=t.partial(P,n),r=i(3,!0);if(r&o&&this.setStateFromIndex(i(2)),r&s)return r&l&&n(3),r&u&&n(2),r&h&&n(4),this.variables().setResumeData(e),this},resetObjectBeforeResume:function(e){this.isKind("shufflegroup")?this.markAsReset():(this.variables().resetValues(),e||(this.trigger(n.resume.RESET),this.animations().length>0&&this.trigger("killAnimations"),this.resetPropsExcept("updateGifOnShow")))},onBeforeResumeBuilt:function(e){this.objects&&this.objects().invoke("prepareResumeData",e)},onAfterResumeBuilt:function(){},shouldResume:function(){return this.resume()&&!this.isKind("shufflegroup")&&this.getClosestAncestor(C).shouldResume()}}}.call(t,n,t,e))||(e.exports=i)},3635:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1039),i=n(6974),r=DS.events,o=(DS.utils,DS.Chunk),s=DS.courseStateHelper,a=function(e){return o.create(o.toUnsignedString64(e))};return{getResumeData:function(){return this.encodedResumeData||""},buildResumeData:function(e,t){var n="";if(this.viewed)if(e||this.resume()){var i=this.getBaseLayer();n=[this.getSlidePersistentData(),i.timeline().getResumeData(),i.getObjectsResumeData(e),this.getSlideLayerResumeData(e),this.slideLayers().getActiveLayersResumeData(),i.audiolib().getResumeData(e),this.variables().getResumeDataOrReturn("")].map(o.create).join("")}else n=o.create(this.getSlidePersistentData());this.setResumeData(n,!1,!1,t)},getSlideLayerResumeData:function(e){return this.slideLayers().getNonBaseLayers().filter(i.getResumeableFilter(e)).reduce((function(e,t){var n=t.getResumeDataOrReturn("");return e+o.create(n)}),"")},getSlidePersistentData:function(){var e="";return e+=o.create(o.toUnsignedString64(this.elapsedTime)),e+=o.create(this.getLayerTimelinesData()),this.hasInteractions()&&(e+=this.interactions().map((function(e){return e.getResumeData()})).map(o.create).join("")),e},updateInteractionData:function(){var e;return this.hasInteractions()&&(e=new o({fullString:this.getResumeData()}).remainder(),this.encodedResumeData=o.create(this.getSlidePersistentData())+e),this},clearResumeData:function(){this.encodedResumeData="",this.hasResumeData=!1,this.slideLayers().forEach((function(e){e.clearResumeData()})),this.slideLayers().initialize()},resetResume:function(){this.encodedResumeData="",this.setResumeData(""),this.slidePersistentData=""},resetBeforeView:function(){return this.viewed&&(t.clearHitStates(this.id),this.resetPropsExcept(["WindowId"]),this.variables().resetValues(),this.slideLayers().hideAllHideableLayers(),this.slideLayers().resetActiveLayers(),this.slideLayers().getBaseLayer().resetResume(),this.slideLayers().resetActiveLayers().forEach((function(e){e.resetResume()}))),this.resume()||this.interactions().forEach((function(e){e.resetResume()})),this.resetCurrentTimeline(),this},setResumeData:function(e,t,n,i){return this.encodedResumeData=e,e.length>0?(this.slidePersistentData=new o({fullString:e}),this.setSlidePersistentData(this.slidePersistentData.encodedString(),i),(n||this.resume())&&(!1!==t&&this.setAsViewed(!0),this.hasResumeData=!0,this.timelineData=this.slidePersistentData.reChunk(),this.objectData=this.timelineData.reChunk(),this.layerData=this.objectData.reChunk(),this.activeLayerData=this.layerData.reChunk(),this.audioData=this.activeLayerData.reChunk(),this.variableData=this.audioData.reChunk())):this.hasResumeData=!1,this},applyResumeData:function(){var e=!1,t=this.getBaseLayer(),n=s.getSlideStateData(this.absoluteId);return null!=n&&(e=!0,s.clearSlideStateData(this.absoluteId),this.setResumeData(n,!1,!0)),(e||this.resume())&&this.hasResumeData&&(this.hasResumeData=!1,t.timeline().setResumeData(this.timelineData.encodedString()),t.setObjectsResumeData(this.objectData.encodedString(),e),this.setSlideLayerResumeData(this.layerData,e),this.variables().setResumeData(this.variableData.encodedString()),this.slideLayers().restoreActiveLayers(this.activeLayerData.encodedString()),this.trigger(r.resume.APPLIED)),this.trigger(r.resume.COMPLETE),this},setSlidePersistentData:function(e,t){var n=new o({fullString:e});this.elapsedTime=n.getUnsignedValue(),n=n.reChunk(),this.setLayerTimelinesData(n.encodedString()),n=n.reChunk(),this.hasInteractions()&&this.interactions().forEach((function(e){t||e.resetResponses(),e.setResumeData(n.encodedString()),n=n.reChunk()}))},setSlideLayerResumeData:function(e,t){var n=new o({fullString:e.encodedString()});this.slideLayers().getNonBaseLayers().filter(i.getResumeableFilter(t)).forEach((function(e){e.setResumeData(n.encodedString(),t),n=n.reChunk()}))},onBeforeResumeBuilt:function(e){this.slideLayers().invoke("prepareResumeData",e)},onAfterResumeBuilt:function(e){this.getSceneOrDraw().saveSlideData(this),e||this.getBaseLayer().timeline().silentReset()},getWindowResumeRef:function(){var e,t,n=this.getSlideDraw();return n?(e="1",t=[this.index(),n.getScene().index(),n.index()]):(e="0",t=[this.index(),this.getScene().index()]),e+t.map(a).join("")}}}.call(t,n,t,e))||(e.exports=i)},1060:function(e,t,n){var i;void 0===(i=function(e){"use strict";DS._,DS.utils;return{init:function(){this.detachedChildren={}},reparentChild:function(e,t){if(t!==this){var n=e.currView,i=t.currView;this.detachedChildren[e.absoluteId]={child:e,newParent:t},null!=n&&null!=i&&i.attachView(n)}else this.reattachChild(e)},reattachChild:function(e){var t=e.absoluteId,n=this.detachedChildren[t];this===e.parent&&delete this.detachedChildren[t],null!=n&&(this.currView.attachView(e.currView),n.newParent=this)},getChildParent:function(e){var t=this.detachedChildren[e.absoluteId];return null!=t?t.newParent:this}}}.call(t,n,t,e))||(e.exports=i)},6872:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2136),i={anchora:{x:"start",dx:"dstart"},anchorb:{x:"end",dx:"dend"}};return t.extend({getSegmentPoint:function(e,t){var n=i[t];return{x:e[n.x],dx:e[n.dx],y:0,dy:0}}})}.call(t,n,t,e))||(e.exports=i)},2136:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(4761);var t=n(3753),i=DS._,r=DS.utils,o=DS.BaseModel,s=DS.resolver,a={exponetial:"expo",bounce:"bounce",circular:"circ",cubic:"power2",linear:"none",quadratic:"power1",quadradic:"power1",quartic:"power3",quintic:"power4",sine:"sine"},l={easein:"in",easeout:"out",easeinout:"inOut",none:"none"},c="cubic",u="line",h=i.partialRight(r.fix,2),d=/^[/$#]/;return o.extend({initialize:function(){i.bindAll(this,"getAttrConfig")},getAttrConfig:function(e){return this.hasDuration()?(null==this.points&&this.initPath(),this.buildConfig(e)):null},initPath:function(){this.segments=[],this.ptResolvers=[],this.segmentResolvers=[],i.forEach(this.get("path"),function(e,t){this.buildSegment(e,t)}.bind(this))},buildSegment:function(e,n){var i=e.type||u,r={points:[]},o=this.ptResolvers.length,s=function(){r.samples=t.getSamplePoints(r.points),r.distance=t.getDistance(r.points,r.samples)};this.buildSinglePoint(r,this.getSegmentPoint(e,"anchora")),i!==u&&this.buildSinglePoint(r,this.getSegmentPoint(e,"controla")),i===c&&this.buildSinglePoint(r,this.getSegmentPoint(e,"controlb")),this.buildSinglePoint(r,this.getSegmentPoint(e,"anchorb")),null!=this.extendSegmentConfig&&this.extendSegmentConfig(r,e),o===this.ptResolvers.length?s():this.segmentResolvers.push(s),this.segments.push(r)},getSegmentPoint:i.noop,extendConfig:i.identity,extendAfterUpdate:i.identity,buildSinglePoint:function(e,t){var n;this.isStaticPoint(t)?e.points.push(this.getAbsolutePoint(t)):(n=e.points.length,this.ptResolvers.push(function(){e.points[n]=this.getAbsolutePoint(t)}.bind(this)),e.points.push(null))},isStaticPoint:function(e){return this.isStaticValue(e.x)&&this.isStaticValue(e.dx)&&this.isStaticValue(e.y)&&this.isStaticValue(e.dy)},isStaticValue:function(e){return!i.isString(e)||!d.test(e)},getAbsolutePoint:function(e){return{x:h(this.getAbsoluteCoordinate(e.x,e.dx)),y:h(this.getAbsoluteCoordinate(e.y,e.dy))}},getAbsoluteCoordinate:function(e,t){return this.getValue(e)+this.getValue(t)},getValue:function(e){var t,n=this.getClosestThisRef();return r.isNumeric(e)?parseFloat(e):i.isString(e)?(t=s.resolvePath(e,n),parseFloat(t.isVar?t.value():t)):e},buildConfig:function(e){var t={delay:e,duration:this.getDuration(),ease:this.getEasing(),getPointAtTime:this.getPointAtTime.bind(this)};return t.update=this.updateConfig.bind(this,t),this.extendConfig(t)},hasDuration:function(){return null!=this.get("duration")},getDuration:function(){return this.get("duration")},getEasing:function(){var e=a[this.get("easing")],t=".".concat(l[this.get("easingdir")]);return"".concat(e).concat("none"!==e?t:"")},updateConfig:function(e){var t=0;this.ptResolvers.forEach((function(e){e()})),this.segmentResolvers.forEach((function(e){e()})),this.segments.forEach((function(e){e.start=t,t+=e.distance})),this.totalDistance=t,this.getIsRelative()||(e.update=i.noop),this.extendAfterUpdate(e)},getIsRelative:function(){return!(!this.ptResolvers||!this.ptResolvers.length)},getPointAtTime:function(e,n){var r,o,s=this.totalDistance*e,a=i.sortedIndexBy(this.segments,{start:s},"start");return(a>this.segments.length-1||s!==this.segments[a].start)&&a--,o=(e-((r=this.segments[a]).start/this.totalDistance||0))/(r.distance/this.totalDistance||1),this.lastSegmentInfo={index:a,adjustedTime:o},t.getNormalizedPointAtTime(o,r.points,r.samples,n)}})}.call(t,n,t,e))||(e.exports=i)},4481:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2136),i=DS._,r=DS.utils;return t.extend({initialize:function(){var e=this.get("path")[0];this.startTintPercent=parseInt(e.starttintpercent),this.endTintPercent=parseInt(e.endtintpercent),this.startBrightness=parseInt(e.startbrightness),this.endBrightness=parseInt(e.endbrightness)},getAttrConfig:function(e){return{delay:e,duration:this.getDuration(),ease:this.getEasing(),getPointAtTime:this.getPointAtTime.bind(this),update:i.noop}},getPointAtTime:function(e){return{x:r.clamp(0,100,this.startTintPercent+e*(this.endTintPercent-this.startTintPercent)+Math.abs(this.startBrightness+e*(this.endBrightness-this.startBrightness))),y:0}}})}.call(t,n,t,e))||(e.exports=i)},1249:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2136),i=DS._;return t.extend({extendConfig:function(e){return e.maskType=this.get("type"),e.maskProps=i.reduce(this.get("settings"),(function(e,t){return e[t.name]=t.value,e}),{}),e.maskProps.isExit="exit"===this.get("effecttype"),e},initPath:function(){this.ptResolvers=[],this.segmentResolvers=[],this.segments=[{distance:1,points:[{x:0,y:0},{x:1,y:0}]}]}})}.call(t,n,t,e))||(e.exports=i)},2427:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2136),i=DS._;return t.extend({extendConfig:function(e){return e.autoRotation=!!this.get("relativerotation"),e},extendAfterUpdate:function(e){e.autoRotation&&(e.closedPath=this.isClosedPath())},isClosedPath:function(){var e=this.segments[0].points[0],t=i.last(i.last(this.segments).points);return e.x===t.x&&e.y===t.y},getSegmentPoint:function(e,t){return e[t]}})}.call(t,n,t,e))||(e.exports=i)},4617:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2136),i={anchora:{x:"start",dx:"dstart"},anchorb:{x:"end",dx:"dend"}};return t.extend({getSegmentPoint:function(e,t){var n=i[t];return{x:e[n.x],dx:e[n.dx],y:0,dy:0}}})}.call(t,n,t,e))||(e.exports=i)},6222:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2136),i={anchora:{x:"startx",dx:"dsx",y:"starty",dy:"dsy"},anchorb:{x:"endx",dx:"dex",y:"endy",dy:"dey"}};return t.extend({extendConfig:function(e){return e.useGlobalAxes=!!this.get("useglobalaxes"),e},getSegmentPoint:function(e,t){var n=i[t];return{x:e[n.x],dx:e[n.dx],y:e[n.y],dy:e[n.dy]}}})}.call(t,n,t,e))||(e.exports=i)},4449:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2136),i=n(3753),r={anchora:{x:"startx",dx:"dstartx",y:"starty",dy:"dstarty"},anchorb:{x:"endx",dx:"dendx",y:"endy",dy:"dendy"}},o={anchora:{x:"startstretchx",y:"startstretchy"},anchorb:{x:"endstretchx",y:"endstretchy"}};return t.extend({extendConfig:function(e){var t=this.get("regpoint");return e.useGlobalAxes=!!this.get("useglobalaxes"),e.regPoint={x:parseFloat(t.x)+parseFloat(t.dx),y:parseFloat(t.y)+parseFloat(t.dy)},e.corner=this.get("corner")||"bottomright",e.getSecondaryPoint=this.getSecondaryPoint.bind(this),e},getSegmentPoint:function(e,t){var n=r[t];return{x:e[n.x],dx:e[n.dx],y:e[n.y],dy:e[n.dy]}},getSecondarySegmentPoint:function(e,t){var n=o[t];return{x:e[n.x],dx:0,y:e[n.y],dy:0}},extendSegmentConfig:function(e,t){var n={points:[]};this.buildSinglePoint(n,this.getSecondarySegmentPoint(t,"anchora")),this.buildSinglePoint(n,this.getSecondarySegmentPoint(t,"anchorb")),e.secondaryPoints=n.points},getSecondaryPoint:function(){var e=this.lastSegmentInfo||{index:this.segments.length-1,adjustedTime:1};return i.getNormalizedPointAtTime(e.adjustedTime,this.segments[e.index].secondaryPoints)}})}.call(t,n,t,e))||(e.exports=i)},4192:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(3305);var t=n(4021),i=n(7875),r=n(6568),o=n(3449),s=n(7379),a=n(8624),l=n(5853),c=n(4477),u=n(5157),h=n(9058),d=n(8996),p=n(7403),f=n(4283),g=n(612),m=n(1703),v=n(3389),y=n(2942),S=n(1842),b=n(4207),w=n(7983),x=n(9138),C=n(9496),E=n(654),P=n(5894),T=n(2919),D=n(2994),A=n(5121),I=n(4864),k=n(4636),R=n(8663),_=n(6115),M=n(5556),O=n(1453),L=n(183),V=n(8266),N=n(7038),j=n(1409),B=n(4728),F=n(1487),U=n(6619),H=n(6874),G=n(5423),W=n(4528),z=n(674),Y=n(2421),q=n(9197),K=n(7229),X=n(9574),Z=n(4201),Q=n(6451),$=n(6546),J=n(4486),ee=n(2768),te=n(7767),ne=n(596),ie=n(7352),re=n(4691),oe=n(4653),se=n(1670),ae=n(7099),le=n(7958),ce=n(1737),ue=n(2267),he=n(3470),de=n(4586),pe=n(3874),fe=n(2269),ge=n(255),me=n(5550),ve=n(5545),ye=n(5467),Se=n(7800),be=n(9486),we=n(5422),xe=n(1149),Ce=n(5876),Ee=n(8836),Pe=n(7185),Te=n(8477),De=n(9965),Ae=n(7921),Ie=n(7996),ke=n(1342),Re=n(2350),_e=n(9542),Me=n(6234),Oe=n(7166),Le=n(8414),Ve=n(6548),Ne=n(2851),je=n(2724),Be=n(598),Fe=n(2314),Ue=n(6422),He=n(1958),Ge=n(222),We=n(8330),ze=n(5417),Ye=n(4881),qe=n(7055),Ke=n(6208),Xe=n(5530),Ze=n(5153),Qe=n(8764);return Object.assign(t,i,r,o,s,a,l,c,u,h,d,p,f,g,m,v,y,S,b,w,x,C,E,P,T,D,A,I,k,R,_,M,O,L,V,N,j,B,F,U,H,G,W,z,Y,X,K,Z,Q,q,$,J,ee,te,ne,ie,re,oe,se,ae,le,ce,ue,he,de,pe,fe,ge,me,ve,ye,Se,be,we,xe,Ce,Ee,Pe,Te,De,Ae,Ie,ke,Re,_e,Me,Oe,Le,Ve,Ne,je,Be,Fe,Ue,He,Ge,We,ze,Ye,qe,Ke,Xe,Ze,Qe)}.call(t,n,t,e))||(e.exports=i)},765:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=DS.captionsManager,s=DS.pubSub,a=DS.vendorOverrides,l=DS._,c=DS.events;a.positionCaptions||l.noop;return t.createClass({displayName:"Captions",mixins:[i],subscriptions:o({},c.window.SCALE,"onResize"),getDefaultProps:function(){return{fontscale:100}},onResize:function(){this.setState({winScale:this.props.getWinScale()})},getInitialState:function(){return{captions:[],showCaptions:r.isCaptionEnabled(),winScale:this.props.getWinScale()}},componentWillMount:function(){this.captions=[],s.on(c.captions.ENABLED,this.toggleCaptioning),s.on(c.slide.STARTED,this.clearAllCaptions);var e=this.props.slideContainer;l.bindAll(this,"onAddCaption","onRemoveCaption"),this.listenTo(e,c.captions.ADD,this.onAddCaption),this.listenTo(e,c.captions.REMOVE,this.onRemoveCaption)},componentWillUnmount:function(){var e=this.props.slideContainer;this.captions=[],s.off(c.captions.ENABLED,this.toggleCaptioning),s.off(c.slide.STARTED,this.clearAllCaptions),this.stopListening(e,c.captions.ADD,this.onAddCaption),this.stopListening(e,c.captions.REMOVE,this.onRemoveCaption)},componentDidUpdate:function(){var e=this,t=function(t){return t&&t.innerHTML.length>0&&t.scrollHeight>e.props.container.clientHeight&&t.innerHTML.includes(" ")};window.requestAnimationFrame((function(){var n,i=e.el.querySelector(".caption p");if(null!=i)for(n=e.prevClientHeight&&e.prevClientHeight<e.props.container.clientHeight&&e.captions.length>0,e.prevClientHeight=e.props.container.clientHeight,n&&(i.innerHTML=e.toHtml(e.captions[0]));t(i);){var r=i.innerHTML;i.innerHTML=r.substring(0,r.lastIndexOf(" "))+"..."}}))},toggleCaptioning:function(e){this.setState({showCaptions:e,font:r.getCaptionFont()})},clearAllCaptions:function(){this.captions=[],this.setState({captions:[]})},onAddCaption:function(e){this.captions.push(e),this.setState({captions:this.captions.slice()})},onRemoveCaption:function(e){l.remove(this.captions,(function(t){return t.textContent===e.textContent})),this.setState({captions:this.captions.slice()})},toHtml:function(e){var t,n,i,r,o=document.createElement("div");for(o.appendChild(e.cloneNode(!0)),n=o.querySelectorAll("q[data-voice]"),r=0;r<n.length;r++)t=(i=n[r]).getAttribute("data-voice"),i.innerHTML=[t,":"," ",i.innerHTML].join("");return o.innerHTML.replace(/&/g,"&")}})}.call(t,n,t,e))||(e.exports=i)},6806:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=DS.utils;return t.createClass({displayName:"Icon",mixins:[i],template:function(){var e,t=this.props.templateName||(e=this.props.type,r.upperCaseFirst(e)+"Icon");return this.getTemplateManager().getTemplate(t).bind(this)()}})}.call(t,n,t,e))||(e.exports=i)},6292:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(6274),n(7720),n(2616),n(472),n(1294),n(8204),n(3319),n(432),n(6677),n(7502)}.call(t,n,t,e))||(e.exports=i)},6677:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8972),i=DS,r=i._,o=i.utils,s=i.windowManager,a=i.dom,l=(i.resolver,function(e,t,n){var i=o.getPath(s.getCurrentWindow(),"refs.slideContainer.el"),r=a.mapShadowToModel(n.target),l=null==r?n.target:r.currView.el;return!!(!e.contains(l)&&(!t||null!=i&&i.contains(l)))&&{node:e,target:n.target}});t.registerEvent("clickoutside",(function(e){return function(t,n,i){var s=o.getPath(i,"props.model.isSlideObject",!1);return{teardown:r.flow(e(document.body,"click",r.partial(l,t,s),n),e(document.body,"touchstart",r.partial(l,t,s),n,!1,!1))}}}))}.call(t,n,t,e))||(e.exports=i)},432:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(8972),r=DS._,o=function(e){var n=i.parentNodesOf(e.target);t=r.compact(r.invokeMap(n,"getAttribute","data-model-id"))},s=function(e){return{data:t||[]}};i.registerEvent("clickoutsideobjects",(function(e){return function(t,n){return[{teardown:r.flow(e(t,"mousedown",o,r.noop,!0),e(t,"touchstart",o,r.noop,!0))},{teardown:r.flow(e(t,"mouseup",s,n,!0),e(t,"touchend",s,n,!0))}]}}))}.call(t,n,t,e))||(e.exports=i)},6274:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8972),i=DS._,r=0;t.registerEvent("doubleclick",(function(e){return function(n,o){var s=function(e){var i;return r++,setTimeout((function(){r=0}),600),r>=2&&(i=!0,r=0,e.currentTarget.wasDoubleClicked=!0),(t.doesEventTargetAcceptEvents(e)||n.overrideAcceptEvents)&&i},a=i.flow(e(n,"mouseup",s,o,!0),e(n,"touchend",s,o,!0));return n.setAttribute("data-double-click",!0),{teardown:a}}}))}.call(t,n,t,e))||(e.exports=i)},8972:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(5928),i=n(949),r=DS._,o=DS.dom,s=function(e){return function(t,n,s,a,l,c){var u={type:e,node:t},h=function(e){var t=!s||s(e);t&&a(r.extend({},u,t,{origEvent:e}))};return i.isTouchEventName(n)?i.on(t,n,h,l,c):o.on(t,n,h,l)}},a=function(e){return e instanceof window.SVGElement&&"svg"!==e.tagName},l=function(e){return e&&null!=e.getAttribute&&"events"===e.getAttribute("data-accepts")};return{registerEvent:function(e,n){t[e]=n(s(e))},on:o.on,off:o.off,parentNodesOf:o.parentNodesOf,isNodeSvgEl:a,isTgtSvgEl:function(e){return a(e.target)},isTgtVideoEl:function(e){return o.isVideoNode(e.target)},isLeftMouseBtn:function(e){return 1===e.which},isRightMouseBtn:function(e){return 3===e.which},doesEventTargetAcceptEvents:function(e,t){return l(e.target.ownerSVGElement)||(n=e.target.correspondingUseElement)&&null!=n.getAttribute&&"true"===n.getAttribute("data-pointer-events")&&l(n.ownerSVGElement)||!!o.closest(e.target,l,t);var n},isSpacebarClick:function(e){return["click","mouseup","mousedown"].indexOf(e.type)>=0&&(null==e.pageX||0===e.pageX)&&(null==e.pageY||0===e.pageY)}}}.call(t,n,t,e))||(e.exports=i)},5928:function(e,t,n){var i;void 0===(i=function(e){"use strict";return{}}.call(t,n,t,e))||(e.exports=i)},7720:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8972),i=DS._,r=function(e){return t.isLeftMouseBtn(e)&&t.doesEventTargetAcceptEvents(e)};t.registerEvent("press",(function(e){return function(n,o,s){return{teardown:i.flow(e(n,"mousedown",r,o),e(n,"touchstart",(function(e){if(t.doesEventTargetAcceptEvents(e))return s.triggerEvent({type:"rollover",target:e.target}),!0}),o,!1))}}}))}.call(t,n,t,e))||(e.exports=i)},2616:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r=n(8972),o=(n(949),DS._),s=DS.utils,a=DS.vendorOverrides,l=DS.detection,c=function(e){var t=e.currentTarget.wasDoubleClicked;return e.currentTarget.wasDoubleClicked=null,!!t},u=function(e){return e.classList.contains("slide-object")},h=function(e){if(e.touches.length>0)return i=!0,!1;var n=i,o=s.dist(t.x,t.y,e.changedTouches[0].clientX,e.changedTouches[0].clientY);return i=!1,!n&&o<20&&r.doesEventTargetAcceptEvents(e)&&!c(e)},d=function(e){t={x:e.touches[0].clientX,y:e.touches[0].clientY}};r.registerEvent("release",(function(e){return function(t,n,i){if(null!=a.registerAudioInitEvent){var s=a.registerAudioInitEvent(e,t,n,i);if(null!=s)return s}return[{teardown:e(t,"touchstart",d,o.noop,!0)},{teardown:o.flow(e(t,"mousedown",(function(i){var s,a;a=i,r.isLeftMouseBtn(a)&&r.doesEventTargetAcceptEvents(a,u)&&l.device.isDesktop&&(s=o.flow(e(t,"mouseup",(function(e){return s(),!c(e)}),n),e(t,"mouseleave",(function(){s()}),o.noop)))}),o.noop),e(t,"touchend",h,n,!0))}]}}))}.call(t,n,t,e))||(e.exports=i)},7502:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8972),i=DS._;t.registerEvent("releaseoutside",(function(e){return function(t,n){var r,o,s=function(e,t){var n=document.elementFromPoint(t.pageX,t.pageY);return r&&r(),!e.contains(n)&&{node:e}},a=function(e,t){return s(e,i.first(t.changedTouches))},l=function(){r=i.flow(e(document,"mouseup",i.partial(s,t),n),e(document,"touchend",i.partial(a,t),n,!0,!1))};return o=i.flow(e(t,"mousedown",l),e(t,"touchstart",l)),{teardown:function(){r&&r(),o()}}}}))}.call(t,n,t,e))||(e.exports=i)},472:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8972),i=function(e){return t.isRightMouseBtn(e)&&t.doesEventTargetAcceptEvents(e)};t.registerEvent("rightpress",(function(e){return function(t,n){return{teardown:e(t,"mousedown",i,n)}}}))}.call(t,n,t,e))||(e.exports=i)},1294:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8972),i=function(e){return t.isRightMouseBtn(e)&&t.doesEventTargetAcceptEvents(e)};t.registerEvent("rightrelease",(function(e){return function(t,n){return{teardown:e(t,"mouseup",i,n)}}}))}.call(t,n,t,e))||(e.exports=i)},3319:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8972),i=n(8907),r=n(1689),o=DS._,s=(DS.utils,DS.dom),a=DS.vendorOverrides.mouseOver||function(){return"mouseenter"};t.registerEvent("rollout",(function(e){return function(t,n,l){l.props.model;var c,u=function(e){if(l.isMounted()){var o=s.mouseX,a=s.mouseY,u=i.globalPtToSlideObject(l,o,a),h=!1;l.props.model.isZoomable()&&(h=s.hasClass(document.elementFromPoint(o,a),"zoom-image")),h||r.containsPoint(l,u.x,u.y)||(n({type:"rollout",node:t,target:t}),clearInterval(c))}else clearInterval(c)};return{teardown:l.isObscurable?o.flow(e(t,a(),(function(e){l.isObscurable&&(l.rollOverHandler=u,clearInterval(c),c=setInterval(u,16))}),o.noop),e(t,"touchend",null,n,!0,!1)):o.flow(e(t,"mouseleave",(function(e){return!0}),n),e(t,"touchend",null,n,!0,!1))}}}))}.call(t,n,t,e))||(e.exports=i)},8204:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(8972),r=(n(949),DS._),o=DS.utils,s=DS.dom,a=DS.globalEventHelper,l=a.addDocumentListener,c=a.removeDocumentListener,u=function(e){return o.getPath(e,"props.model.isGroupingSlideObject")};i.registerEvent("rollover",(function(e){return function(n,o,a){return{teardown:r.flow(e(n,"mouseover",(function(e){s.updateMousePosition(e);var r=!1,o=a.props.model;if(null!=t&&null!=e.topView&&a!==e.topView&&e.topView===t&&(r=!0,!o.isGroupingSlideObject||o.isGroupingContainer))return e.stopImmediatePropagation(),!1;e.topView||(e.topView=a);var h,d,p;if(!r&&t&&t!==a&&"rollout"!==t.latestEvent&&t.state.Enabled)if(t.isObscurable)null!=t.rollOverHandler&&t.rollOverHandler();else{if(u(t))return t=a,!1;t.triggerEvent({type:"rollout",target:e.target})}return t=e.topView,d=0,p=function(e){d++},n.addEventListener("mousemove",p),l("mousemove",(function e(i){var r;if(0===d&&!a.isObscurable){if(r=document.elementFromPoint(i.pageX,i.pageY),t.el===s.closest(r,s.isSlideObject))return;h=u(t)?a.el:i.target,a.triggerEvent({type:"rollout",target:h})}c("mousemove",e),n.removeEventListener("mousemove",p)})),i.doesEventTargetAcceptEvents(e)}),o),e(n,"touchstart",(function(e){return i.doesEventTargetAcceptEvents(e)}),o,!0,!1))}}}))}.call(t,n,t,e))||(e.exports=i)},949:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.utils,i=DS.dom,r=DS.detection,o=DS.appState,s=(DS.pubSub,DS.events,DS.slideObjectUtils),a=DS.globalEventHelper.addDocumentListener,l={},c=function(){return r.device.isMobile},u=["touchstart","touchmove","touchend","touchcancel"],h={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"};l.clickOrTouch=c()?"touchend":"click";var d=function(e){return c()?h[e]:e};a("touchstart",(function(e){1===e.touches.length?l.currentTouch=e.touches[0]:e.preventDefault()}),!0);var p=function(e,n){return function(r){var o;r.touches&&r.touches.length>1||(function(e){return t.some(e.changedTouches,(function(e){return e.identifier===l.currentTouch.identifier}))}(r)&&e(r),!n||i.isInput(r.target)||(o=r.target,i.isNodeOfType("select",o))||s.isScrollRelated(r.target)||i.hasClass(r.target,"acc-shadow-el")||r.preventDefault())}};l.on=function(e,t,n,i,r){var o="touchstart"===t,s=p(n,!1!==r);return o?(e.addEventListener(t,s,i),function(){e.removeEventListener(t,s,i)}):function(e,t,n,i){var r,o=p((function(e){(r=e.target).addEventListener(t,n,i),r.addEventListener("touchend",s)})),s=function e(){r&&(r.removeEventListener(t,n,i),r.removeEventListener("touchend",e))};return e.addEventListener("touchstart",o),function(){e.removeEventListener("touchstart",o),s()}}(e,t,s,i)},l.isTouchEventName=function(e){return t.includes(u,e)},l.addEventListener=function(e,t,n,i){e.addEventListener(d(t),n,!!i)},l.removeEventListener=function(e,t,n){e.removeEventListener(d(t),n)},l.getPageLoc=function(e){var t={};return e.touches&&1===e.touches.length?(t.pageX=e.touches[0].pageX,t.pageY=e.touches[0].pageY):(t.pageX=e.pageX,t.pageY=e.pageY),t};var f=function(e){this.started=!0,this.touchX=e.touches[0].pageX,this.touchY=e.touches[0].pageY,this.currTouchX=e.touches[0].pageX,this.currTouchY=e.touches[0].pageY,this.startScale=o.windowManager.getCurrentWindowSlide().currView.pinch.zoom},g=function(e){e.touches&&1===e.touches.length&&(this.currTouchX=e.touches[0].pageX,this.currTouchY=e.touches[0].pageY)},m=function(e){var t,i=o.windowManager.getCurrentWindowSlide().currView.pinch.zoom;this.started&&this.startScale===i&&(t=n.dist(this.touchX,this.touchY,this.currTouchX,this.currTouchY),this.started=!1,t<10&&this.callback())};return l.tap=function(e,t,n){var i={callback:n};t.addEventListener("touchstart",f.bind(i)),a("touchmove",g.bind(i)),t.addEventListener("touchend",m.bind(i))},l}.call(t,n,t,e))||(e.exports=i)},118:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(5238),i=n(6361),r=n(8140),o=n(7349),s=n(3711),a=n(4461),l=n(8084),c=n(1743),u=n(292),h=n(5018),d=n(5543),p=n(7971),f=n(3104),g=n(3065),m=n(3846),v=DS._,y=DS.utils,S=DS.TransMatrix,b=DS.dom,w=DS.svgUtils,x=DS.vendorOverrides,C=DS.errorManager,E=DS.detection,P=DS.Backbone,T=DS.globalEventHelper.addWindowListener,D=["position","rotation","scale","skew","alpha","mask","colors"],A={position:"applyTranslation",scale:"applyScale",skew:"applySkew",rotation:"applyRotation",alpha:"applyAlpha",mask:"applyMask",colors:"applyColor"},I={checkerboard:i,circle:r,box:o,diamond:a,blinds:l,randombars:c,split:u,wheel:h,dissolve:d,plus:p,wipe:f,full:s,strips:g,wedge:m},k={right:{x:1,y:0},left:{x:-1,y:0},down:{x:0,y:1},up:{x:0,y:-1}},R={topleft:{x:0,y:0},topright:{x:1,y:0},bottomleft:{x:0,y:1},bottomright:{x:1,y:1}},_=["blinds","box","checkerboard","circle","clock","comb","diamond","dissolve","full","none","plus","randombars","split","strips","wedge","wheel","wipe","strips"],M=C.throwError("TweenHelper"),O=x.forceSingleRepaint||v.noop,L=function(e,t,n,i){this.view=e,this.secondaryView=i,this.model=this.view.props.model,this.isReverse=t,this.config=n,this.duration=n.duration,this.startTime=0,this.tweens=n.tweens,this.listenTo(this.model,{moveTo:this.updateDefaultPosition}),this.initialize(),this.handleMobileVideo()};return v.extend(L.prototype,P.Events,{initialize:function(){var e=this;this.defaults=this.getDefaults(),this.unsubResize=T("resize",(function(){return e.afterResize()}),null,"after")},handleMobileVideo:function(){E.deviceView.isMobile&&this.model.isKind("video")&&this.model.get("autoplay")&&(this.applyTweenedConfig=v.noop)},stepAnimation:function(e){this.isReverse&&(e=this.duration-e)<0&&(e=0),this.applyTweenedConfig(this.getTweenedConfig(e)),E.browser.isIE&&O(this.view.el),this.lastAnimationTime=e},afterResize:function(){null!=this.lastAnimationTime&&this.stepAnimation(this.lastAnimationTime)},totalTime:function(){return this.duration},delay:function(){return this.startTime},reset:function(){var e={matrix:new S,props:{},style:{}},t=this.view.props.winScale;e.props.ScaleX=this.defaults.scale.x,e.props.ScaleY=this.defaults.scale.y,e.props.RawXPos=this.defaults.position.x,e.props.RawYPos=this.defaults.position.y,e.props.Rotation=this.defaults.rotation.x,e.props.Alpha=this.defaults.alpha.x,e.matrix.translate(this.defaults.position.x*t,this.defaults.position.y*t),e.matrix.rotate(this.defaults.rotation.x,0,0),e.matrix.scale(y.pctToDec(this.defaults.scale.x),y.pctToDec(this.defaults.scale.y)),e.style.opacity=y.pctToDec(this.defaults.alpha.x),e.style.transform=e.matrix.toCssTransform(),this.applyTweenedConfig(e)},updateDefaultPosition:function(e,t){this.defaults.position.x=e,this.defaults.position.y=t},getDefaults:function(){return this.model.isSlideObject?this.getSlideObjectProps():this.getSlideOrLayerProps()},getSlideOrLayerProps:function(){var e,t,n=this.model.get("width"),i=this.model.get("height");return t={regPoint:{x:n/2,y:i/2},position:{x:0,y:0},scale:{x:100,y:100},rotation:{x:0},globalRotation:{x:0},size:{x:n,y:i},maskableOffset:{x:0,y:0},alpha:{x:100}},this.hasSecondary()&&(e=this.secondaryView.props.model,t.secondarySize={x:e.get("width"),y:e.get("height")}),t},hasSecondary:function(){return null!=this.secondaryView},getSlideObjectProps:function(){var e=this.model.playerProps,t=this.model.getCurrentStateMetrics();return{regPoint:{x:this.model.rotateXPos(),y:this.model.rotateYPos()},position:{x:e.get("RawXPos"),y:e.get("RawYPos")},scale:{x:e.get("ScaleX"),y:e.get("ScaleY")},rotation:{x:e.get("Rotation")},globalRotation:{x:this.view.getGlobalRotation()},size:{x:t.width-(2*t.xPos-1),y:t.height-(2*t.yPos-1)},alpha:{x:e.get("Alpha")},maskableOffset:{x:t.xPos-t.strokewidth,y:t.yPos-t.strokewidth}}},getTweenedConfig:function(e,t){var n={},i=0,r=this.tweens.length,o={matrix:new S,props:{Rotation:0},style:{}};for(t=!1!==t;i<r;)this.tweens[i].delay<=e&&v.extend(n,this.tweens[i].tweenAttrs),i++;return D.forEach(function(i){this[A[i]](e,n[i],o,t)}.bind(this)),o.style.transform=o.matrix.toCssTransform(),o},applyTweenedConfig:function(e){this.view.tweenedConfig=e,v.extend(this.view.el.style,e.style),this.hasSecondary()&&null!=this.config.pushDir&&this.tweenSecondary(e.props)},adjustRotateble:function(e){var t,n=this.defaults.regPoint;if(this.model.isRotatable&&this.model.isRotatable()){t=this.view.decorators.rotatable;var i=this.model.prop("Rotation");e.rotate(i,0,0),e.rotate(t.lastSetRotation,t.rotateXPos-n.x,t.rotateYPos-n.y),e.rotate(-i,0,0)}},applyTranslation:function(e,t,n,i){var r,o=this.view.props.winScale,s=this.getAttrPointAtTime(e,t,this.defaults.position,!!t&&t.autoRotation);n.props.RawXPos=s.x,n.props.RawYPos=s.y,n.matrix.translate(s.x*o,s.y*o),t&&t.autoRotation&&(null==this.initRotation&&(this.initRotation=0===e?s.angle:this.getAttrPointAtTime(0,t,this.defaults.position,t.autoRotation).angle),r=e>=t.duration+t.delay&&t.closedPath?0:s.angle-this.initRotation,n.matrix.rotate(r,0,0),n.props.Rotation=r)},applyScale:function(e,t,n,i){var r=this.getAttrPointAtTime(e,t,this.defaults.scale),o=this.view.animationOverride&&this.view.animationOverride.scale;n.props.ScaleX=r.x,n.props.ScaleY=r.y,null!=o?o(n.props):(n.matrix.rotate(-this.defaults.globalRotation.x,0,0),n.matrix.scale(y.pctToDec(r.x),y.pctToDec(r.y)),n.matrix.rotate(this.defaults.globalRotation.x,0,0))},applyRotation:function(e,t,n,i){var r=this.getAttrPointAtTime(e,t,this.defaults.rotation).x;i&&this.adjustRotateble(n.matrix),n.matrix.rotate(r,0,0),n.props.Rotation+=r},applyAlpha:function(e,t,n,i){if(t){var r=this.getAttrPointAtTime(e,t,this.defaults.alpha).x;n.style.opacity=y.pctToDec(r),n.props.Alpha=r}},getAttrPointAtTime:function(e,t,n,i){if(null==t)return n;var r,o=e-t.delay;return r=0===t.duration&&(o<0||0===o&&this.isReverse)?0:function(e,t,n){return t>=n?1:y.clamp(0,1,gsap.parseEase(e)(t/n))}(t.ease,o,t.duration),t.getPointAtTime(r,i)},applySkew:function(e,t,n,i){if(null!=t){var r=this.getAttrPointAtTime(e,t,{x:0,y:0}),o=R[t.corner],s=t.useGlobalAxes?{x:this.defaults.size.x*o.x,y:this.defaults.size.y*o.y}:{x:t.regPoint.x,y:t.regPoint.y},a=t.useGlobalAxes?this.defaults.globalRotation.x:0,l=t.getSecondaryPoint();s.x-=this.defaults.regPoint.x,s.y-=this.defaults.regPoint.y,n.matrix.rotate(-a,0,0),n.matrix.scale(y.pctToDec(l.x),y.pctToDec(l.y),s.x,s.y),n.matrix.skew(-r.x,r.y,s.x,s.y),n.matrix.rotate(a,0,0)}},applyColor:function(e,t,n,i){var r;t&&this.model.isSlide&&i&&(null==this.overlay&&this.createColorOverlay(),r=this.getAttrPointAtTime(e,t,0).x,this.overlay.style.opacity=y.pctToDec(r))},applyMask:function(e,t,n,i){if(null!=t&&i&&!this.model.isKind("video")){var r;if(E.browser.safariVersion<12&&E.os.isIOS&&-1!==_.indexOf(t.maskType))return!this.isReverse&&t.maskProps.isExit&&(e=this.duration-e,this.isReverse=!0),r=y.decToPct(this.getAttrPointAtTime(e,t,this.isReverse?1:0).x),n.style.opacity=y.pctToDec(r),void(n.props.Alpha=r);var o,s=this.getAttrPointAtTime(e,t,0).x;null==this.mask&&(null==I[t.maskType]&&(M("The mask type ",t.maskType," does not exist"),t.maskType="split"),this.createMask(t)),"full"===t.maskType&&(o=this.getTweenedConfig(this.duration,!1),this.ptFinal=this.ptFinal||o.matrix.transformPoint(0,0)),this.mask.animate(s,this.ptFinal,n.matrix.transformPoint(0,0)),O(this.maskedEl),this.maskedEl.classList.contains("slide-object-stategroup")&&this.repaintStateGroup(this.maskedEl)}},repaintStateGroup:function(e){var t=e.getElementsByClassName("slideobject-maskable");if(!v.isEmpty(t))for(var n=0;n<t.length;n++)O(t[n])},createMask:function(e){var n,i=this.view.el.firstElementChild;this.marker=this.view.find(".marker-animation"),null!=this.marker&&this.marker.classList.add("hidden"),n=this.model.isSlideObject?t.getLocalRotatedBounds(this.view,this.defaults.globalRotation.x):[0,0,this.defaults.size.x,this.defaults.size.y],this.defaults.rotatedBounds={left:n[0],top:n[1],right:n[2],bottom:n[3]},this.defaults.view=this.view,this.mask=new I[e.maskType](this.defaults,e.maskProps),this.maskedEl=b.hasClass(i,"slideobject-maskable")?i:this.view.el,this.maskedEl.style.WebkitClipPath=w.buildUrl(this.mask.maskId),this.maskedEl.style.clipPath=w.buildUrl(this.mask.maskId),this.maskedEl.style.willChange="contents"},tweenSecondary:function(e){var t,n=this.defaults.secondarySize,i=k[this.config.pushDir],r=this.model.currView.props.winScale;t=w.transformTranslate(y.pxify(i.x*(n.x+e.RawXPos*i.x)*r),y.pxify(i.y*(n.y+e.RawYPos*i.y)*r)),this.secondaryView.el.style.transform=t},createColorOverlay:function(){var e=this.view.props.winScale;this.overlay=b.setAttributes(document.createElement("div"),{class:"slide-overlay"}),b.setStyles(this.overlay,{width:y.pxify(this.defaults.size.x*e),height:y.pxify(this.defaults.size.y*e)}),this.view.el.appendChild(this.overlay)},kill:function(){this.stopListening(),this.unsubResize(),null!=this.maskedEl&&(this.maskedEl.style.WebkitClipPath="",this.maskedEl.style.clipPath="",this.maskedEl=null),null!=this.marker&&this.marker.classList.remove("hidden"),null!=this.mask&&(this.mask.destroy(),this.mask=null),null!=this.overlay&&this.overlay.parentNode&&(this.overlay.parentNode.removeChild(this.overlay),this.overlay=null)}}),L}.call(t,n,t,e))||(e.exports=i)},2625:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(694),i=DS._,r=DS.utils,o=DS.events,s=DS.Backbone,a=(DS.AnimationTimeline,function(e,n,i,r){this.view=e,this.timeline=n,this.timelineLabel=i,this.timelineControlled=null!=this.timelineLabel,this.layerTimeline=this.timelineControlled?t.getTimelineFromLabel(i):this.view.props.model.getLayer().timeline(),this.isHide=!!r,this.initialize()});return i.extend(a.prototype,s.Events,{playOnSeekEnd:!0,initialize:function(){var e={};this.addChildTimeline(),this.timelineControlled||(e[o.timeline.PLAYING]=this.playTimeline,e[o.timeline.PAUSED]=this.pauseTimeline,e[o.timeline.SEEK_START]=this.onSeekStart,e[o.timeline.SEEK_END]=this.onSeekEnd,this.listenTo(this.layerTimeline,e))},addChildTimeline:function(){this.timelineControlled?this.layerTimeline.addChildTimeline(this.timeline,this.timelineLabel):(this.actionTimeline=this.timeline,this.actionTimeline.seek(0),this.actionTimeline.play())},removeChildTimeline:function(){this.timelineControlled?this.layerTimeline.removeChildTimeline(this.timeline):this.actionTimeline=null},pauseTimeline:function(){null!=this.actionTimeline&&this.actionTimeline.pause()},playTimeline:function(){null!=this.actionTimeline&&this.actionTimeline.play()},onSeekStart:function(){this.playOnSeekEnd=this.actionTimeline.isActive(),this.pauseTimeline()},onSeekEnd:function(){this.playOnSeekEnd&&this.playTimeline()},destroy:function(e){this.removeChildTimeline(),this.isHide?this.timeline.reset():e&&this.timeline.progress(1,!0),this.timeline.kill(),r.getPath(this.view,"updateFromTween"),this.stopListening()}}),a}.call(t,n,t,e))||(e.exports=i)},5238:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(406),i=n(8907),o=n(909),s=DS._,a=DS.constants,l=DS.utils,c=DS.TransMatrix,u=/xlink\:href="(.*?)"/g,h=/data-reactid="(.*?)"/g,d=/ /g,p=/xmlns:(.*?)=".*?" \1:/g,f={data:[0,0,0,0]},g={},m=function(e){var n,i,r,s=(e.props.model.getCurrentStateData()||{}).html5data||{};return null!=s.mask?{canvas:(i=t.buildImage(s.mask,s.xPos,s.yPos,s.width,s.height)).canvas,bb:i.bb,sw:0}:{canvas:n=document.createElement("canvas"),bb:(r=o(n,e.find("svg").parentNode.innerHTML.replace(u,"").replace(d," ").replace(h,"").replace(p,""),{col:"#ff0000",winScale:e.props.winScale})).bb,sw:r.sw}},v=function(e){var t=e.props.model,n=t.getSlide().id,i=t.absoluteId+e.state.ObjectState,r=(g[n]||{})[i];return null!=r?r:(null==g[n]&&(g[n]={}),g[n][i]=m(e),g[n][i])},y=function(e){return null!=e.getClosestAncestorByKind("expandinglabel",!0)},S={svgHit:function(e,t){var n=v(e),i=n.bb.getBounds(t),r=n.sw/2;return i[0]-=r,i[1]-=r,i[2]+=r,i[3]+=r,i},groupHit:function(e,t){var n=e.props.model,r=n.isStateGroupSlideObject&&n.getIsExpandingLabel();return s.reduce(e.allRefs,(function(n,o){var s=o.currView,a=i.getRelativeMatrix(s,e,t),l=w.getBounds(s,a);return r&&y(o)||l.every(isNaN)||(n[0]=Math.min(n[0],l[0]),n[1]=Math.min(n[1],l[1]),n[2]=Math.max(n[2],l[2]),n[3]=Math.max(n[3],l[3])),n}),[1/0,1/0,-1/0,-1/0])},rectHit:function(e,t){var n=e.props.model.getCurrentStateMetrics(),i=n.xPos,r=n.yPos,o=i+n.width,s=r+n.height,a=[t.transformPoint(i,r),t.transformPoint(o,r),t.transformPoint(i,s),t.transformPoint(o,s)];return[Math.min(a[0].x,a[1].x,a[2].x,a[3].x),Math.min(a[0].y,a[1].y,a[2].y,a[3].y),Math.max(a[0].x,a[1].x,a[2].x,a[3].x),Math.max(a[0].y,a[1].y,a[2].y,a[3].y)]},slideHit:function(e){return[0,0,e.props.model.get("width"),e.props.model.get("height")]}},b={svgHit:function(e){return v(e).canvas},groupHit:function(e){var t=w.getLocalRotatedBounds(e,0),n=w.getBounds(e),i=Math.round(n[0]),r=Math.round(n[1]),o=Math.ceil(t[2]-t[0]),a=Math.ceil(t[3]-t[1]),l=document.createElement("canvas"),c=l.getContext("2d"),u=e.props.model,h=u.isStateGroupSlideObject&&u.getIsExpandingLabel();return l.width=o,l.height=a,c.translate(-i,-r),s.forEach(e.allRefs,(function(e){h&&y(e)||!e.currView.trulyVisible||w.drawToTarget(e.currView,c)})),c.translate(i,r),l},rectHit:function(e){var t=e.props.model.getCurrentStateMetrics(),n=document.createElement("canvas"),i=n.getContext("2d");return n.width=t.width,n.height=t.height,i.fillStyle="#ff0000",i.fillRect(0,0,n.width,n.height),n},slideHit:function(e){return null}},w={getImageData:function(e,t,n,i,r){return l.isNumeric(t)&&l.isNumeric(n)&&l.isNumeric(i)&&l.isNumeric(r)?e.getImageData(t,n,i,r):f},getBounds:function(e,t){return t=t||i.getMatrix(e),S[e.props.model.getHitType()](e,t)},getGlobalBounds:function(e){var t=r(this.getBounds(e),4),n=t[0],o=t[1],s=t[2],a=t[3],l=e.props.model.getSlide().currView,c=i.localPtToGlobal(l,n,o),u=i.localPtToGlobal(l,s,a);return[c.x,c.y,u.x,u.y]},getLocalRotatedBounds:function(e,t){var n=(new c).rotate(t,e.state.rotateXPos,e.state.rotateYPos);return S[e.props.model.getHitType()](e,n)},getCanvas:function(e){return b[e.props.model.getHitType()](e)},drawToTarget:function(e,t){var n,r=e.props.model,o=i.getMatrix(e)||new c,s=e.props.model.getHitType(),l=null!=r.getCurrentStateMetrics?r.getCurrentStateMetrics():{xPos:0,yPos:0},u=null==l.mask?l.strokewidth:0,h=l.xPos-u,d=l.yPos-u;t.save(),t.transform(o.a,o.c,o.b,o.d,o.tx,o.ty),s===a.SLIDE_HIT||s===a.RECT_HIT?(n=w.getLocalRotatedBounds(e,0),t.fillStyle="#ff0000",t.fillRect(n[0],n[1],n[2]-n[0],n[3]-n[1])):(s===a.GROUP_HIT&&(n=w.getLocalRotatedBounds(e,0),h=Math.round(n[0]),d=Math.round(n[1])),t.drawImage(w.getCanvas(e),h,d)),t.restore()},clearBitmapCache:function(){g={}},clearSlideCache:function(e){g[e]=null}};return w}.call(t,n,t,e))||(e.exports=i)},406:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=/([XO])/g,n=function(e){if(_.isEmpty(e))return{getBounds:function(){return[0,0,0,0]}};var t=r(e);return{getBounds:function(e){var n,i=t.length,r=e.transformPoint(t[0].x,t[0].y),o=r.x,s=o,a=r.y,l=a;for(n=1;n<i;n++)(r=e.transformPoint(t[n].x,t[n].y)).x<o?o=r.x:r.x>s&&(s=r.x),r.y<a?a=r.y:r.y>l&&(l=r.y);return[o,a,s,l]}}},i=function(e,t,n){return(e.x-n.x)*(t.y-n.y)-(e.y-n.y)*(t.x-n.x)},r=function(e){var t,n,r=e.length,o=[],s=[];for(e.sort((function(e,t){return e.x===t.x?e.y-t.y:e.x-t.x})),t=0;t<r;t++){for(;o.length>=2&&i(o[o.length-2],o[o.length-1],e[t])<=0;)o.pop();for(o.push(e[t]),n=r-(t+1);s.length>=2&&i(s[s.length-2],s[s.length-1],e[n])<=0;)s.pop();s.push(e[n])}return s.pop(),o.pop(),o.concat(s)};return{buildImage:function(e,i,r,o,s){var a,l,c,u,h=0,d=function(e,t){var n=document.createElement("canvas");return n.width=e,n.height=t,n}(o,s),p=d.getContext("2d"),f=p.createImageData(o,s),g=e.split(t),m=g.length,v=0,y="O",S=-1,b=!1,w=[];for(a=0;a<m;a+=2)for(S+=(c=parseInt(g[a],16))+1,(u="X"===g[a+1]?255:0)!==y&&(255===u?(b=!0,w.push({x:(v+1)%o+i,y:Math.floor((v+1)/o)+r})):b&&w.push({x:v%o+i,y:Math.floor(v/o)+r})),v=S,y=u,l=0;l<=c;l++)f.data[h]=u,f.data[h+3]=u,h+=4;return p.putImageData(f,0,0),{canvas:d,bb:n(w)}}}}.call(t,n,t,e))||(e.exports=i)},8618:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(537),i=DS._,r=DS.TransMatrix,o=new r,s={left:function(){return this.update(),this.bounds[0]},top:function(){return this.update(),this.bounds[1]},width:function(){return this.update(),this.bounds[2]-this.bounds[0]},height:function(){return this.update(),this.bounds[3]-this.bounds[1]},applyTransform:function(e){var n,i,r,o=this.points.length;for(n=0;n<o;n++)i=this.points[n],r=new t(i[0],i[1]),e.applyToPoint(r),this.points[n]=[r.x,r.y]},getBounds:function(e){return this.update(e),this.bounds.slice()},addPoint:function(e,t){this.dirty=!0,this.points.push([e,t])},addBezierCurve:function(e,t,n,i,r,o,s,a){this.dirty=!0,this.beziers.push([e,t,n,i,r,o,s,a])},addQuadraticCurve:function(e,t,n,i,r,o){var s=e+2/3*(n-e),a=t+2/3*(i-t),l=s+1/3*(r-e),c=a+1/3*(o-t);this.addBezierCurve(e,t,s,a,l,c,r,o)},addChildBoundingBox:function(e){null!=e&&this.children.push(e)},hasMatrixChanged:function(e){return!e.isEqual(this.lastMatrix)},update:function(e){e=e||o,this.dirty?this.calculateBounds(e):this.hasMatrixChanged(e)&&(e.isOnlyTranslated(this.lastMatrix)?this.translateLastBounds(e):this.calculateBounds(e))},translateLastBounds:function(e){var t=e.tx-this.lastMatrix.tx,n=e.ty-this.lastMatrix.ty;this.lastMatrix=e.copy(),this.bounds[0]+=t,this.bounds[1]+=n,this.bounds[2]+=t,this.bounds[3]+=n},getPointBounds:function(e){var t,n,i,r,o,s,a,l=e.length;if(l>0)for(t=i=e[0][0],n=r=e[0][1],a=1;a<l;a++)(o=e[a][0])<t?t=o:o>i&&(i=o),(s=e[a][1])<n?n=s:s>r&&(r=s);return[t,n,i,r]},addBezierBounds:function(e,t){var n,i,r=e.length;if(r>0)for(null==t[0]&&(t[0]=t[2]=e[0][0],t[1]=t[3]=e[0][1]),n=0;n<r;n++)i=e[n],this.addBezierBoundingPoints(i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7],t);return t},addChildBounds:function(e,t){var n,i,r=this.children.length;for(n=0;n<r;n++)null!=(i=this.children[n].getBounds(t))[0]&&(null==e[0]?e=i:(i[0]<e[0]?e[0]=i[0]:i[2]>e[2]&&(e[2]=i[2]),i[1]<e[1]?e[1]=i[1]:i[3]>e[3]&&(e[3]=i[3])));return e},transformPoints:function(e,t){var n,i,r=[],o=e.length;for(r.length=o,i=0;i<o;i++)n=t.transformPoint(e[i][0],e[i][1]),r[i]=[n.x,n.y];return r},transformBeziers:function(e,t){var n,i,r,o,s,a,l=[],c=e.length;for(l.length=c,n=0;n<c;n++)i=e[n],r=t.transformPoint(i[0],i[1]),o=t.transformPoint(i[2],i[3]),s=t.transformPoint(i[4],i[5]),a=t.transformPoint(i[6],i[7]),l[n]=[r.x,r.y,o.x,o.y,s.x,s.y,a.x,a.y];return l},calculateBounds:function(e){var t,n=this.points,i=this.beziers;e.isEqual(o)||(n=this.transformPoints(n,e),i=this.transformBeziers(i,e)),t=this.getPointBounds(n),t=this.addBezierBounds(i,t),t=this.addChildBounds(t,e),this.dirty=!1,this.bounds=t,this.lastMatrix=e.copy()},addBezierBoundingPoints:function(e,t,n,i,r,o,s,a,l){var c,u,h,d,p,f,g,m=[e,t],v=[n,i],y=[r,o],S=[s,a],b=function(e,t){if(e>0&&e<1){var n=1-e,i=n*n,r=e*e,o=n*i*m[t]+3*i*e*v[t]+3*n*r*y[t]+e*r*S[t];0===t?o<l[0]?l[0]=o:o>l[2]&&(l[2]=o):o<l[1]?l[1]=o:o>l[3]&&(l[3]=o)}},w=function(e){e[0]<l[0]?l[0]=e[0]:e[0]>l[2]&&(l[2]=e[0]),e[1]<l[1]?l[1]=e[1]:e[1]>l[3]&&(l[3]=e[1])};for(w(m),w(S),g=0;g<=1;g++)u=6*m[g]-12*v[g]+6*y[g],h=3*v[g]-3*m[g],0===(c=-3*m[g]+9*v[g]-9*y[g]+3*S[g])?0!==u&&b(-h/u,g):(d=u*u-4*h*c)>=0&&(b((-u+(p=Math.sqrt(d)))/(f=2*c),g),b((-u-p)/f,g))}};return function(){this.points=[],this.beziers=[],this.children=[],this.dirty=!0,this.lastMatrix=o,i.assign(this,s)}}.call(t,n,t,e))||(e.exports=i)},7951:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(4561),n(8618);var t=n(7337),i=n(6941),r=function(e){this.base=i,this.base(e),this.path=function(e){null!=e&&e.beginPath()},this.renderChildren=function(e){this.path(e),""!==e.fillStyle&&("inherit"!==this.style("fill-rule").valueOrDefault("inherit")?e.fill(this.style("fill-rule").value):e.fill()),""!==e.strokeStyle&&(e.lineWidth>t.maxStroke&&(t.maxStroke=e.lineWidth),e.stroke())}};return r.prototype=new i,r}.call(t,n,t,e))||(e.exports=i)},8596:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337),n(4561);var t=n(537),i=DS._,r=/^[A-Za-z]$/,o=function(e){this.tokens=e.split(" ")};return i.assign(o.prototype,{reset:function(){this.i=-1,this.command="",this.previousCommand="",this.start=new t(0,0),this.control=new t(0,0),this.current=new t(0,0)},isEnd:function(){return this.i>=this.tokens.length-1},isCommandOrEnd:function(){return!!this.isEnd()||null!=this.tokens[this.i+1].match(r)},isRelativeCommand:function(){return this.command===this.command.toLowerCase()},getToken:function(){return this.tokens[++this.i]},getScalar:function(){return parseFloat(this.getToken())},nextCommand:function(){this.previousCommand=this.command,this.command=this.getToken()},getPoint:function(){var e=new t(this.getScalar(),this.getScalar());return this.makeAbsolute(e)},getAsControlPoint:function(){return this.control=this.getPoint()},getAsCurrentPoint:function(){return this.current=this.getPoint()},getReflectedControlPoint:function(){var e=this.previousCommand.toLowerCase();return"c"!==e&&"s"!==e&&"q"!==e&&"t"!==e?this.current:new t(2*this.current.x-this.control.x,2*this.current.y-this.control.y)},makeAbsolute:function(e){return this.isRelativeCommand()&&(e.x+=this.current.x,e.y+=this.current.y),e}}),o}.call(t,n,t,e))||(e.exports=i)},6941:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(7337),i=n(9304),r=n(9508),o=DS.flagManager,s=function(e){this.base=r,this.base(e),this.setStrokeStyles=function(e){if(e.strokeStyle=t.options.col||"blue",this.style("stroke-width").hasValue()){var n=this.style("stroke-width").toPixels();e.lineWidth=0===n?.001:n}this.style("stroke-linecap").hasValue()&&(e.lineCap=this.style("stroke-linecap").value),this.style("stroke-linejoin").hasValue()&&(e.lineJoin=this.style("stroke-linejoin").value),this.style("stroke-miterlimit").hasValue()&&(e.miterLimit=this.style("stroke-miterlimit").value)},this.setContext=function(e){var n=this.style("fill"),r=this.style("stroke"),s=r.hasValue()&&"none"!==r.value;if(o.svgObjectEnabled?n.hasValue()&&"none"===n.value?e.fillStyle="rgba(0,0,0,0)":e.fillStyle=t.options.col||"red":n.hasValue()&&"none"!==n.value?e.fillStyle=t.options.col||"red":e.fillStyle="rgba(0,0,0,0)",s?this.setStrokeStyles(e):e.strokeStyle="",o.svgObjectEnabled){if(this.style("transform",!1,!1).hasValue())new i(this.style("transform",!1,!1).value).apply(e);if(this.style("clip-path",!1,!1).hasValue())null!=(a=this.style("clip-path",!1,!1).getDefinition())&&a.apply(e)}else{var a;if(this.style("transform",!1,!0).hasValue())new i(this.style("transform",!1,!0).value).apply(e);if(this.style("clip-path",!1,!0).hasValue())null!=(a=this.style("clip-path",!1,!0).getDefinition())&&a.apply(e)}}};return s.prototype=new r,s}.call(t,n,t,e))||(e.exports=i)},8054:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337);var t=n(4561),i=n(8618),r=n(7951),o=t.kappa,s=function(e){var t,n,s,a;this.base=r,this.base(e),null!=e&&(t=this.attribute("cx").toPixels("x"),n=this.attribute("cy").toPixels("y"),s=this.attribute("r").toPixels(),a=o*s,this.bb=new i,this.bb.addBezierCurve(t,n-s,t+a,n-s,t+s,n-a,t+s,n),this.bb.addBezierCurve(t+s,n,t+s,n+a,t+a,n+s,t,n+s),this.bb.addBezierCurve(t,n+s,t-a,n+s,t-s,n+a,t-s,n),this.bb.addBezierCurve(t-s,n,t-s,n-a,t-a,n-s,t,n-s)),this.path=function(e){null!=e&&(e.beginPath(),e.arc(t,n,s,0,2*Math.PI,!0),e.closePath())}};return s.prototype=new r,s}.call(t,n,t,e))||(e.exports=i)},7294:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337);var t=n(9304),i=n(9508),r=DS._,o=function(e){this.base=i,this.base(e),this.apply=function(e){var n=window.CanvasRenderingContext2D,i=n.prototype.beginPath,o=n.prototype.closePath;n.prototype.beginPath=r.noop,n.prototype.closePath=r.noop,i.call(e);for(var s=0;s<this.children.length;s++){var a=this.children[s];if(null!=a.path){var l=null;a.style("transform",!1,!0).hasValue()&&(l=new t(a.style("transform",!1,!0).value)).apply(e),a.path(e),n.prototype.closePath=o,l&&l.unapply(e)}}o.call(e),e.clip(),n.prototype.beginPath=i,n.prototype.closePath=o},this.render=r.noop};return o.prototype=new i,o}.call(t,n,t,e))||(e.exports=i)},6305:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337),n(4561);var t=n(9508),i=DS._,r=function(e){this.base=t,this.base(e),this.render=i.noop};return r.prototype=new t,r}.call(t,n,t,e))||(e.exports=i)},9508:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(7337),i=n(4561),r=n(4354),o=n(8618),s=DS,a=s._,l=s.flagManager,c={attribute:function(e,n){var i=this.attributes[e];return null!=i?i:(n&&(i=new r(e,""),this.attributes[e]=i),i||t.emptyProperty)},getHrefAttribute:function(){for(var e in this.attributes)if("href"===e||e.match(/:href$/))return this.attributes[e];return t.emptyProperty},style:function(e,n,i){l.svgObjectEnabled&&(void 0===n&&(n=!1),void 0===i&&(i=!0));var o=this.styles[e];if(null!=o)return o;var s=this.attribute(e);if(null!=s&&s.hasValue())return this.styles[e]=s,s;if(i){var a=this.parent;if(null!=a){var c=a.style(e);if(null!=c&&c.hasValue())return c}}return n&&(o=new r(e,""),this.styles[e]=o),o||t.emptyProperty},render:function(e){if("none"!==this.style("display").value&&"hidden"!==this.style("visibility").value){e.save();var t=this.style("filter"),n=t.hasValue(),i=n&&t.getDefinition();if(this.style("mask").hasValue()){var r=this.style("mask").getDefinition();null!=r&&r.apply(e,this)}else i?i.apply(e,this):n&&!this.style("customImage").value||(this.setContext(e),this.renderChildren(e),this.clearContext(e));e.restore()}},setContext:a.noop,clearContext:a.noop,renderChildren:function(e){for(var t=0;t<this.children.length;t++)this.children[t].render(e)},addChild:function(e,n){var i=e;n&&(i=t.createElement(e)),i.parent=this,"title"!==i.type&&this.children.push(i)},flattenBoundingBox:function(e){var t,n,i;if(null!=this.updateBoundingBox&&this.updateBoundingBox(),null!=this.bb&&(this.bb.points.length>0&&e.points.push.apply(e.points,this.bb.points),this.bb.beziers.length>0&&e.beziers.push.apply(e.beziers,this.bb.beziers)),null!=this.children)for(i=this.children.length,t=0;t<i;t++)null!=(n=this.children[t]).flattenBoundingBox&&n.flattenBoundingBox(e);return e},getBoundingBox:function(){var e,t,n,i=new o;if(null!=this.bb&&i.addChildBoundingBox(this.bb),null!=this.children)for(n=this.children.length,e=0;e<n;e++)null!=(t=this.children[e]).getBoundingBox&&i.addChildBoundingBox(t.getBoundingBox());return i}};return function(e){var n,o;if(this.attributes={},this.styles={},this.children=[],a.assign(this,c),null!=e&&1===e.nodeType){for(o=e.attributes.length,n=0;n<o;n++){var s=e.attributes[n],l=s.nodeName;this.attributes[l]=new r(l,s.value)}if(this.attribute("style").hasValue()){var u=this.attribute("style").value.split(";");for(n=0;n<u.length;n++)if(""!==i.trim(u[n])){var h=u[n].split(":"),d=i.trim(h[0]),p=i.trim(h[1]);this.styles[d]=new r(d,p)}}for(this.attribute("id").hasValue()&&null==t.defs[this.attribute("id").value]&&(t.defs[this.attribute("id").value]=this),n=0;n<e.childNodes.length;n++){var f=e.childNodes[n];1===f.nodeType&&this.addChild(f,!0)}}}}.call(t,n,t,e))||(e.exports=i)},8052:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337);var t=n(4561),i=n(8618),r=n(7951),o=t.kappa,s=function(e){var t,n,s,a,l,c,u,h,d,p,f;if(this.base=r,this.base(e),null!=e)for(t=this.attribute("rx").toPixels("x"),n=this.attribute("ry").toPixels("y"),s=this.attribute("cx").toPixels("x"),a=this.attribute("cy").toPixels("y"),l=[[s+(p=o*t),a-n,s+t,a-(f=o*n),s+t,a],[s+t,a+f,s+p,a+n,s,a+n],[s-p,a+n,s-t,a+f,s-t,a],[s-t,a-f,s-p,a-n,s,a-n]],this.bb=new i,h=s,d=a,u=0;u<4;u++)c=l[u],this.bb.addBezierCurve(h,d,c[0],c[1],c[2],c[3],c[4],c[5]),h=c[4],d=c[5];this.path=function(e){if(null!=e){for(e.beginPath(),e.moveTo(s,a-n),u=0;u<4;u++)c=l[u],e.bezierCurveTo(c[0],c[1],c[2],c[3],c[4],c[5]);e.closePath()}}};return s.prototype=new r,s}.call(t,n,t,e))||(e.exports=i)},4356:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6941),i=function(e){this.base=t,this.base(e)};return i.prototype=new t,i}.call(t,n,t,e))||(e.exports=i)},5270:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(7337),i=(n(4561),n(9304)),r=n(978),o=function(e){this.base=r,this.base(e),this.style("transform",!1,!0).hasValue()&&this.bb.applyTransform(new i(this.style("transform",!1,!0).value)),this.baseSetContext=this.setContext,this.setContext=function(e){this.baseSetContext(e),null!=e&&(e.fillStyle=t.options.col||"red",e.strokeStyle="")}};return o.prototype=new r,o}.call(t,n,t,e))||(e.exports=i)},3378:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337),n(4561),n(537);var t=n(8618),i=n(7951),r=function(e){var n,r,o,s;this.base=i,this.base(e),null!=e&&(n=this.attribute("x1").toPixels("x"),r=this.attribute("y1").toPixels("y"),o=this.attribute("x2").toPixels("x"),s=this.attribute("y2").toPixels("y"),this.bb=new t,this.bb.addPoint(n,r),this.bb.addPoint(o,s)),this.path=function(e){null!=e&&(e.beginPath(),e.moveTo(n,r),e.lineTo(o,s))}};return r.prototype=new i,r}.call(t,n,t,e))||(e.exports=i)},734:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337),n(4561),n(8618);var t=n(9508),i=DS._,r=function(e){this.base=t,this.base(e),this.apply=function(e,t){var n=this.attribute("x").toPixels("x"),i=this.attribute("y").toPixels("y"),r=this.attribute("width").toPixels("x"),o=this.attribute("height").toPixels("y");if(0===r&&0===o){var s=this.getBoundingBox();n=Math.floor(s.left()),i=Math.floor(s.top()),r=Math.floor(s.width()),o=Math.floor(s.height())}var a=t.attribute("mask").value;t.attribute("mask").value="";var l=document.createElement("canvas");l.width=n+r,l.height=i+o;var c=l.getContext("2d");this.renderChildren(c);var u=document.createElement("canvas");u.width=n+r,u.height=i+o;var h=u.getContext("2d");t.render(h),h.globalCompositeOperation="destination-in",u.width>0&&(h.fillStyle=c.createPattern(l,"no-repeat"),h.fillRect(0,0,n+r,i+o),e.fillStyle=h.createPattern(u,"no-repeat"),e.fillRect(0,0,n+r,i+o)),t.attribute("mask").value=a},this.render=i.noop};return r.prototype=new t,r}.call(t,n,t,e))||(e.exports=i)},4548:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337),n(4561);var t=n(9508),i=function(e){};return i.prototype=new t,i}.call(t,n,t,e))||(e.exports=i)},7696:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337);var t=n(4561),i=n(537),r=n(8618),o=n(8596),s=n(7951),a=DS,l=a.flagManager,c=a.constants,u=a.TransMatrix,h=/,/gm,d=/([MmZzLlHhVvCcSsQqTtAa])([^\s])/gm,p=/([^\s])([MmZzLlHhVvCcSsQqTtAa])/gm,f=/([0-9])([+\-])/gm,g=/(\.[0-9]*)(\.)/gm,m=/([Aa](\s+[0-9]+){3})\s+([01])\s*([01])/gm,v=c.math.TO_DEGREES,y=c.math.TO_RADIANS,S=function(e,t){var n=Math.sqrt(e.x*e.x+e.y*e.y),i=Math.sqrt(t.x*t.x+t.y*t.y);return(e.x*t.x+e.y*t.y)/(n*i)},b=function(e,t,n){return n=n||S(e,t),(e.x*t.y<e.y*t.x?-1:1)*Math.acos(n)},w=function(e,t,n,i,r,o,s,a){if(l.svgObjectEnabled)for(;s<0;)s+=c.math.TWO_PI;a&&(l.svgObjectEnabled?s-=c.math.TWO_PI:s=-s);var h,d=Math.ceil(Math.abs(s)/c.math.QUARTER_PI),p=s/d,f=p/2,g=Math.cos(f),m=c.math.HALF_PI+o,y=[],S=0!==n?(new u).rotate(n*v,e,t):{transformPoint:function(e,t){return{x:e,y:t}}};for(h=0;h<d;h++)m+=p,y.push([S.transformPoint(e+Math.sin(m-f)*(i/g),t-Math.cos(m-f)*(r/g)),S.transformPoint(e+Math.sin(m)*i,t-Math.cos(m)*r)]);return y},x={m:function(e,t,n){var i=e.getAsCurrentPoint();for(t.addPoint(i.x,i.y),null!=n&&n.moveTo(i.x,i.y),e.start=e.current;!e.isCommandOrEnd();)i=e.getAsCurrentPoint(),t.addPoint(i.x,i.y),null!=n&&n.lineTo(i.x,i.y)},z:function(e,t,n){null!=n&&n.closePath(),e.current=e.start},l:function(e,t,n){for(;!e.isCommandOrEnd();){var i=e.getAsCurrentPoint();t.addPoint(i.x,i.y),null!=n&&n.lineTo(i.x,i.y)}},h:function(e,t,n){for(;!e.isCommandOrEnd();){var r=new i((e.isRelativeCommand()?e.current.x:0)+e.getScalar(),e.current.y);e.current=r,t.addPoint(e.current.x,e.current.y),null!=n&&n.lineTo(e.current.x,e.current.y)}},v:function(e,t,n){for(;!e.isCommandOrEnd();){var r=new i(e.current.x,(e.isRelativeCommand()?e.current.y:0)+e.getScalar());e.current=r,t.addPoint(e.current.x,e.current.y),null!=n&&n.lineTo(e.current.x,e.current.y)}},c:function(e,t,n){for(;!e.isCommandOrEnd();){var i=e.current,r=e.getPoint(),o=e.getAsControlPoint(),s=e.getAsCurrentPoint();t.addBezierCurve(i.x,i.y,r.x,r.y,o.x,o.y,s.x,s.y),null!=n&&n.bezierCurveTo(r.x,r.y,o.x,o.y,s.x,s.y)}},s:function(e,t,n){for(;!e.isCommandOrEnd();){var i=e.current,r=e.getReflectedControlPoint(),o=e.getAsControlPoint(),s=e.getAsCurrentPoint();t.addBezierCurve(i.x,i.y,r.x,r.y,o.x,o.y,s.x,s.y),null!=n&&n.bezierCurveTo(r.x,r.y,o.x,o.y,s.x,s.y)}},q:function(e,t,n){for(;!e.isCommandOrEnd();){var i=e.current,r=e.getAsControlPoint(),o=e.getAsCurrentPoint();t.addQuadraticCurve(i.x,i.y,r.x,r.y,o.x,o.y),null!=n&&n.quadraticCurveTo(r.x,r.y,o.x,o.y)}},t:function(e,t,n){for(;!e.isCommandOrEnd();){var i=e.current,r=e.getReflectedControlPoint();e.control=r;var o=e.getAsCurrentPoint();t.addQuadraticCurve(i.x,i.y,r.x,r.y,o.x,o.y),null!=n&&n.quadraticCurveTo(r.x,r.y,o.x,o.y)}},a:function(e,t,n){for(;!e.isCommandOrEnd();){var i,r,o,s,a,l,c,u,h,d,p,f,g,m=e.current,v=e.getScalar(),x=e.getScalar(),C=e.getScalar()*y,E=Math.sin(C),P=Math.cos(C),T=e.getScalar(),D=e.getScalar(),A=e.getAsCurrentPoint(),I={x:P*(m.x-A.x)/2+E*(m.y-A.y)/2,y:-E*(m.x-A.x)/2+P*(m.y-A.y)/2},k=I.y*I.y,R=I.x*I.x,_=R/(v*v)+k/(x*x),M=0;for(_>1&&(v*=i=Math.sqrt(_),x*=i),r=v*v,o=x*x,s=(T===D?-1:1)*Math.sqrt((r*o-r*k-o*R)/(r*k+o*R)),isNaN(s)&&(s=0),a={x:s*v*I.y/x,y:s*-x*I.x/v},l={x:(m.x+A.x)/2+P*a.x-E*a.y,y:(m.y+A.y)/2+E*a.x+P*a.y},u={x:(-I.x-a.x)/v,y:(-I.y-a.y)/x},h=b({x:1,y:0},c={x:(I.x-a.x)/v,y:(I.y-a.y)/x}),(d=S(c,u))<=-1?M=Math.PI:d<1&&(M=b(c,u,d)),p=w(l.x,l.y,C,v,x,h,M,1-D!=0),g=0;g<p.length;g++)f=p[g],t.addQuadraticCurve(m.x,m.y,f[0].x,f[0].y,f[1].x,f[1].y),null!=n&&n.quadraticCurveTo(f[0].x,f[0].y,f[1].x,f[1].y),m=f[1]}}},C=function(e){this.base=s,this.base(e);var n=this.attribute("d").value;n=(n=(n=(n=(n=(n=n.replace(h," ")).replace(d,"$1 $2").replace(d,"$1 $2")).replace(p,"$1 $2")).replace(f,"$1 $2")).replace(g,"$1 $2").replace(g,"$1 $2")).replace(m,"$1 $3 $4 "),n=t.compressSpaces(n),n=t.trim(n),this.PathParser=new o(n),this.path=function(e){var t=this.PathParser;for(t.reset(),this.bb=new r,null!=e&&e.beginPath();!t.isEnd();){t.nextCommand();var n=t.command.toLowerCase();null!=x[n]&&x[n](t,this.bb,e)}},this.getBoundingBoxBase=this.getBoundingBox,this.getBoundingBox=function(){return null==this.bb&&this.path(),this.getBoundingBoxBase()},this.updateBoundingBox=function(){null==this.bb&&this.path()}};return C.prototype=new s,C}.call(t,n,t,e))||(e.exports=i)},537:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=function(e,t){this.x=e,this.y=t};return DS._.extend(t.prototype,{angleTo:function(e){return Math.atan2(e.y-this.y,e.x-this.x)},applyTransform:function(e){var t=this.x*e[0]+this.y*e[2]+e[4],n=this.x*e[1]+this.y*e[3]+e[5];this.x=t,this.y=n}}),t}.call(t,n,t,e))||(e.exports=i)},9074:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8077),i=DS.flagManager,r=function(e){this.base=t,this.base(e),this.basePath=this.path,this.path=function(e){null!=e&&(i.svgObjectEnabled&&this.basePath(e),e.lineTo(this.points[0].x,this.points[0].y),e.closePath())}};return r.prototype=new t,r}.call(t,n,t,e))||(e.exports=i)},8077:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337);var t=n(4561),i=n(8618),r=n(7951),o=function(e){if(this.base=r,this.base(e),null!=e){this.points=t.CreatePath(this.attribute("points").value);var n,o=this.points.length;for(this.bb=new i,n=0;n<o;n++)this.bb.addPoint(this.points[n].x,this.points[n].y)}this.path=function(e){if(null!=e){e.beginPath(),e.moveTo(this.points[0].x,this.points[0].y);for(var t=1;t<this.points.length;t++)e.lineTo(this.points[t].x,this.points[t].y)}}};return o.prototype=new r,o}.call(t,n,t,e))||(e.exports=i)},4354:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(7337),i=DS._,r=Math.PI/180,o=/px$/,s=/pt$/,a=/pc$/,l=/cm$/,c=/mm$/,u=/in$/,h=/%$/,d=/deg$/,p=/rad$/,f=/grad$/,g=/#([^\)'"]+)/,m=function(e,t){this.name=e,this.value=t};return i.extend(m.prototype,{getValue:function(){return this.value},hasValue:function(){return null!=this.value&&""!==this.value},isTrue:function(){return"true"===this.value.toLowerCase()},numValue:function(){if(!this.hasValue())return 0;var e=parseFloat(this.value);return(this.value+"").match(h)&&(e/=100),e},valueOrDefault:function(e){return this.hasValue()?this.value:e},numValueOrDefault:function(e){return this.hasValue()?this.numValue():e},getDefinition:function(){var e=this.value.match(g);return e&&(e=e[1]),e||(e=this.value),t.defs[e]},isUrlDefinition:function(){return 0===this.value.indexOf("url(")},getDPI:function(e){return 96},getUnits:function(){return(this.value+"").replace(/[0-9\.\-]/g,"")},toPixels:function(e,n){if(!this.hasValue())return 0;var i=this.value+"";if(i.match(o))return this.numValue();if(i.match(s))return this.numValue()*this.getDPI(e)*(1/72);if(i.match(a))return 15*this.numValue();if(i.match(l))return this.numValue()*this.getDPI(e)/2.54;if(i.match(c))return this.numValue()*this.getDPI(e)/25.4;if(i.match(u))return this.numValue()*this.getDPI(e);if(i.match(h))return this.numValue()*t.viewPort.ComputeSize(e);var r=this.numValue();return n&&r<1?r*t.viewPort.ComputeSize(e):r},toRadians:function(){if(!this.hasValue())return 0;var e=this.value+"";return e.match(d)?this.numValue()*r:e.match(p)?this.numValue():e.match(f)?this.numValue()*(Math.PI/200):this.numValue()*r}}),m}.call(t,n,t,e))||(e.exports=i)},978:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337),n(4561);var t=n(8618),i=n(7951),r=function(e){var n,r,o,s,a,l,c,u,h,d;this.base=i,this.base(e),null!=e&&(n=this.attribute("x").toPixels("x"),r=this.attribute("y").toPixels("y"),o=this.attribute("width").toPixels("x"),s=this.attribute("height").toPixels("y"),a=n+o,l=r+s,c=this.attribute("rx").toPixels("x"),u=this.attribute("ry").toPixels("y"),h=this.attribute("rx").hasValue(),d=this.attribute("ry").hasValue(),h&&!d?u=c:!h&&d&&(c=u),c=Math.min(c,o/2),u=Math.min(u,s/2),this.bb=new t,c>0||u>0?(this.bb.addQuadraticCurve(a-c,r,a,r,a,r+u),this.bb.addQuadraticCurve(a,l-u,a,l,a-c,l),this.bb.addQuadraticCurve(n+c,l,n,l,n,l-u),this.bb.addQuadraticCurve(n,r+u,n,r,n+c,r)):(this.bb.addPoint(n,r),this.bb.addPoint(a,r),this.bb.addPoint(a,l),this.bb.addPoint(n,l))),this.path=function(e){null!=e&&(e.beginPath(),e.moveTo(n+c,r),e.lineTo(a-c,r),e.quadraticCurveTo(a,r,a,r+u),e.lineTo(a,l-u),e.quadraticCurveTo(a,l,a-c,l),e.lineTo(n+c,l),e.quadraticCurveTo(n,l,n,l-u),e.lineTo(n,r+u),e.quadraticCurveTo(n,r,n+c,r),e.closePath())}};return r.prototype=new i,r}.call(t,n,t,e))||(e.exports=i)},8210:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(7337),i=n(4561),r=n(6941),o=function(e){this.base=r,this.base(e),this.baseClearContext=this.clearContext,this.clearContext=function(e){this.baseClearContext(e),t.viewPort.RemoveCurrent()},this.baseSetContext=this.setContext,this.setContext=function(e){e.strokeStyle="rgba(0,0,0,0)",e.lineCap="butt",e.lineJoin="miter",e.miterLimit=4,void 0!==e.font&&void 0!==window.getComputedStyle&&(e.font=window.getComputedStyle(e.canvas).getPropertyValue("font")),this.baseSetContext(e),this.attribute("x").hasValue()||(this.attribute("x",!0).value=0),this.attribute("y").hasValue()||(this.attribute("y",!0).value=0),e.translate(this.attribute("x").toPixels("x"),this.attribute("y").toPixels("y"));var n=t.viewPort.width(),r=t.viewPort.height();if(this.attribute("width").hasValue()||(this.attribute("width",!0).value="100%"),this.attribute("height").hasValue()||(this.attribute("height",!0).value="100%"),void 0===this.root){n=this.attribute("width").toPixels("x"),r=this.attribute("height").toPixels("y");var o=0,s=0;this.attribute("refX").hasValue()&&this.attribute("refY").hasValue()&&(o=-this.attribute("refX").toPixels("x"),s=-this.attribute("refY").toPixels("y")),"visible"!==this.attribute("overflow").valueOrDefault("hidden")&&(e.beginPath(),e.moveTo(o,s),e.lineTo(n,s),e.lineTo(n,r),e.lineTo(o,r),e.closePath(),e.clip())}if(t.viewPort.SetCurrent(n,r),this.attribute("viewBox").hasValue()){var a=i.ToNumberArray(this.attribute("viewBox").value),l=a[0],c=a[1];n=a[2],r=a[3];var u=this.root?1:0;i.aspectRatio(e,this.attribute("preserveAspectRatio").value,t.viewPort.width()-u,n,t.viewPort.height()-u,r,l,c,this.attribute("refX").value,this.attribute("refY").value),t.viewPort.RemoveCurrent(),t.viewPort.SetCurrent(a[2],a[3])}}};return o.prototype=new r,o}.call(t,n,t,e))||(e.exports=i)},9922:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337),n(4561);var t=n(6941),i=DS._,r=function(e){this.base=t,this.base(e),this.render=i.noop};return r.prototype=new t,r}.call(t,n,t,e))||(e.exports=i)},2159:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8618),i=n(6941),r=function(e){this.base=i,this.base(e);var n=e.getBBox(),r=n.x,o=n.y,s=n.width,a=n.height;[r,o,s,a].some((function(e){return 0!==e}))&&(this.bb=new t,this.bb.addPoint(r,o+a),this.bb.addPoint(r+s,o+a),this.bb.addPoint(r+s,o),this.bb.addPoint(r,o)),this.renderChildren=function(e){null!=e&&(e.beginPath(),e.moveTo(r,o),e.lineTo(r,o+a),e.lineTo(r+s,o+a),e.lineTo(r+s,o),e.lineTo(r,o),e.closePath(),e.fill())}};return r.prototype=new i,r}.call(t,n,t,e))||(e.exports=i)},9304:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4561),i=n(4354),r=/\)([a-zA-Z])/g,o=/\)(\s?,\s?)/g,s=/\s(?=[a-z])/;return function(e){var n=this;this.Type={},this.Type.translate=function(e){this.p=t.CreatePoint(e),this.apply=function(e){e.translate(this.p.x||0,this.p.y||0)},this.unapply=function(e){e.translate(-1*this.p.x||0,-1*this.p.y||0)},this.applyToPoint=function(e){e.applyTransform([1,0,0,1,this.p.x||0,this.p.y||0])}},this.Type.rotate=function(e){var n=t.ToNumberArray(e);this.angle=new i("angle",n[0]),this.cx=n[1]||0,this.cy=n[2]||0,this.apply=function(e){e.translate(this.cx,this.cy),e.rotate(this.angle.toRadians()),e.translate(-this.cx,-this.cy)},this.unapply=function(e){e.translate(this.cx,this.cy),e.rotate(-1*this.angle.toRadians()),e.translate(-this.cx,-this.cy)},this.applyToPoint=function(e){var t=this.angle.toRadians();e.applyTransform([1,0,0,1,this.p.x||0,this.p.y||0]),e.applyTransform([Math.cos(t),Math.sin(t),-Math.sin(t),Math.cos(t),0,0]),e.applyTransform([1,0,0,1,-this.p.x||0,-this.p.y||0])}},this.Type.scale=function(e){this.p=t.CreatePoint(e),this.apply=function(e){e.scale(this.p.x||1,this.p.y||this.p.x||1)},this.unapply=function(e){e.scale(1/this.p.x||1,1/this.p.y||this.p.x||1)},this.applyToPoint=function(e){e.applyTransform([this.p.x||0,0,0,this.p.y||0,0,0])}},this.Type.matrix=function(e){this.m=t.ToNumberArray(e),this.apply=function(e){e.transform(this.m[0],this.m[1],this.m[2],this.m[3],this.m[4],this.m[5])},this.unapply=function(e){var t=this.m[0],n=this.m[2],i=this.m[4],r=this.m[1],o=this.m[3],s=this.m[5],a=1/(t*(1*o-0*s)-n*(1*r-0*s)+i*(0*r-0*o));e.transform(a*(1*o-0*s),a*(0*s-1*r),a*(0*i-1*n),a*(1*t-0*i),a*(n*s-i*o),a*(i*r-t*s))},this.applyToPoint=function(e){e.applyTransform(this.m)}},this.Type.SkewBase=function(e){this.base=n.Type.matrix,this.base(e),this.angle=new i("angle",e)},this.Type.SkewBase.prototype=new this.Type.matrix,this.Type.skewX=function(e){this.base=n.Type.SkewBase,this.base(e),this.m=[1,0,Math.tan(this.angle.toRadians()),1,0,0]},this.Type.skewX.prototype=new this.Type.SkewBase,this.Type.skewY=function(e){this.base=n.Type.SkewBase,this.base(e),this.m=[1,Math.tan(this.angle.toRadians()),0,1,0,0]},this.Type.skewY.prototype=new this.Type.SkewBase,this.transforms=[],this.apply=function(e){for(var t=0;t<this.transforms.length;t++)this.transforms[t].apply(e)},this.unapply=function(e){for(var t=this.transforms.length-1;t>=0;t--)this.transforms[t].unapply(e)},this.applyToPoint=function(e){for(var t=0;t<this.transforms.length;t++)this.transforms[t].applyToPoint(e)};for(var a=t.trim(t.compressSpaces(e)).replace(r,") $1").replace(o,") ").split(s),l=a.length,c=0;c<l;c++){var u=a[c].split("("),h=t.trim(u[0]),d=u[1].replace(")","");this.transforms.push(new this.Type[h](d))}}}.call(t,n,t,e))||(e.exports=i)},7157:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(7337),i=(n(4561),n(8618),n(8210)),r=n(4354),o=n(6941),s=DS.flagManager,a=function(e){this.base=o,this.base(e),this.baseSetContext=this.setContext,this.setContext=function(e){this.baseSetContext(e),this.attribute("x").hasValue()&&e.translate(this.attribute("x").toPixels("x"),0),this.attribute("y").hasValue()&&e.translate(0,this.attribute("y").toPixels("y"))};var n=this.getHrefAttribute().getDefinition();if(s.svgObjectEnabled&&null==n&&this.attribute("data-pointer-events").isTrue()){var a=this.getHrefAttribute().value.substr(1),l=document.getElementById(a);if(null!=l){var c=l.viewBox.baseVal||l,u=c.width,h=c.height;t.viewPort.SetCurrent(u,h),(n=t.createElement(l)).attributes.customImage=new r("customImage",!0),t.viewPort.RemoveCurrent()}}this.path=function(e){null!=n&&n.path(e)},this.getBoundingBox=function(){if(null!=n)return n.getBoundingBox()},this.updateBoundingBox=function(){null!=n&&n.getBoundingBox()},this.renderChildren=function(e){if(null!=n){var t=n;"symbol"===n.type&&((t=new i).type="svg",t.attributes.viewBox=new r("viewBox",n.attribute("viewBox").value),t.attributes.preserveAspectRatio=new r("preserveAspectRatio",n.attribute("preserveAspectRatio").value),t.attributes.overflow=new r("overflow",n.attribute("overflow").value),t.children=n.children),"svg"===t.type&&(this.attribute("width").hasValue()&&(t.attributes.width=new r("width",this.attribute("width").value)),this.attribute("height").hasValue()&&(t.attributes.height=new r("height",this.attribute("height").value)));var o=t.parent;t.parent=this,t.render(e),t.parent=o}}};return a.prototype=new o,a}.call(t,n,t,e))||(e.exports=i)},1150:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=function(){this.viewPorts=[]};return DS._.extend(t.prototype,{Clear:function(){this.viewPorts=[]},SetCurrent:function(e,t){this.viewPorts.push({width:e,height:t})},RemoveCurrent:function(){this.viewPorts.pop()},Current:function(){return this.viewPorts[this.viewPorts.length-1]},width:function(){return this.Current().width},height:function(){return this.Current().height},ComputeSize:function(e){return null!=e&&"number"==typeof e?e:"x"===e?this.width():"y"===e?this.height():Math.sqrt(Math.pow(this.width(),2)+Math.pow(this.height(),2))/Math.sqrt(2)}}),t}.call(t,n,t,e))||(e.exports=i)},1507:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337),n(4561);var t=n(4548),i=(n(4354),n(978)),r=n(8054),o=n(8052),s=n(3378),a=n(8077),l=n(9074),c=n(7696),u=n(6305),h=n(5270),d=n(4356),p=n(9922),f=n(8210),g=n(7157),m=n(734),v=n(2159),y=n(7294),S=DS.flagManager,b={rect:i,circle:r,ellipse:o,line:s,polyline:a,polygon:l,path:c,defs:u,image:h,g:d,a:d,symbol:p,use:g,mask:m,svg:f,clipPath:y},w=/^[^:]+:/,x=/\-/g;return{createElement:function(e){var n=e.nodeName.replace(w,"").replace(x,""),i=b[n]||t;S.svgObjectEnabled&&"text"===n&&(i=v);var r=new i(e);return r.type=e.nodeName,r}}}.call(t,n,t,e))||(e.exports=i)},909:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(7337),i=n(4561),r=n(1150),o=(n(537),n(4354)),s=(n(9508),n(6941),n(7951),n(9304),n(8618)),a=n(1507),l=function(e){var t=e.flattenBoundingBox(new s);if(0===t.points.length&&0===t.beziers.length&&0===t.children.length){var n=DS.appState.windowManager.getCurrentWindowSlide(),i=1;n&&(i=DS.utils.getPath(n,"currView.props.winScale",1));var r=e.attribute("width"),o=e.attribute("height");r.value&&o.value&&(r=r.toPixels("x"),o=o.toPixels("y"),t.points=[[0,0],[0,o/i],[r/i,o/i],[r/i,0]])}return t};return function(e,n,s){return e="string"==typeof e?document.getElementById(e):e,t.defs={},t.options=s,t.createElement=a.createElement,t.emptyProperty=new o("EMPTY",""),t.viewPort=new r,t.maxStroke=0,function(e,n){var i=t.createElement(n.documentElement),r=e.getContext("2d"),o=t.options.winScale||1;i.root=!0,t.viewPort.Clear(),e.parentNode&&t.viewPort.SetCurrent(e.parentNode.clientWidth,e.parentNode.clientHeight),i.style("width").hasValue()&&(e.width=i.style("width").toPixels("x")/o+1,e.style.width=e.width+"px"),i.style("height").hasValue()&&(e.height=i.style("height").toPixels("y")/o+1,e.style.height=e.height+"px");var s=e.clientWidth||e.width,a=e.clientHeight||e.height;return t.viewPort.SetCurrent(s,a),i.render(r),{bb:l(i),sw:t.maxStroke}}(e,void 0!==n.documentElement?n:i.parseXml(n.trim()))}}.call(t,n,t,e))||(e.exports=i)},7337:function(e,t,n){var i;void 0===(i=function(e){"use strict";return{}}.call(t,n,t,e))||(e.exports=i)},4561:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(537),i=n(4354),r=/-?(\d+(\.\d+)?|\.\d+)(?=\D|$)/gm,o=/[\s\r\t\n]+/gm,s=/^\s+|\s+$/g,a=/^xMid/,l=/YMid$/,c=/^xMax/,u=/YMax$/,h={kappa:(Math.sqrt(2)-1)/3*4,hasValue:function(e){return null!=e&&""!==e},trim:function(e){return e.replace(s,"")},compressSpaces:function(e){return e.replace(o," ")},ToNumberArray:function(e){for(var t=(e||"").match(r)||[],n=0;n<t.length;n++)t[n]=parseFloat(t[n]);return t},CreatePoint:function(e){var n=this.ToNumberArray(e);return new t(n[0],n[1])},CreatePath:function(e){for(var n=this.ToNumberArray(e),i=[],r=0;r<n.length;r+=2)i.push(new t(n[r],n[r+1]));return i},parseXml:function(e){var t;return window.DOMParser?(new window.DOMParser).parseFromString(e,"text/xml"):(e=e.replace(/<!DOCTYPE svg[^>]*>/,""),(t=new window.ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e),t)},aspectRatio:function(e,t,n,r,o,s,d,p,f,g){var m=(t=(t=h.compressSpaces(t)).replace(/^defer\s/,"")).split(" ")[0]||"xMidYMid",v=t.split(" ")[1]||"meet",y=n/r,S=o/s,b=Math.min(y,S),w=Math.max(y,S);"meet"===v&&(r*=b,s*=b),"slice"===v&&(r*=w,s*=w),f=new i("refX",f),g=new i("refY",g),f.hasValue()&&g.hasValue()?e.translate(-b*f.toPixels("x"),-b*g.toPixels("y")):(m.match(a)&&("meet"===v&&b===S||"slice"===v&&w===S)&&e.translate(n/2-r/2,0),m.match(l)&&("meet"===v&&b===y||"slice"===v&&w===y)&&e.translate(0,o/2-s/2),m.match(c)&&("meet"===v&&b===S||"slice"===v&&w===S)&&e.translate(n-r,0),m.match(u)&&("meet"===v&&b===y||"slice"===v&&w===y)&&e.translate(0,o-s)),"none"===m?e.scale(y,S):"meet"===v?e.scale(b,b):"slice"===v&&e.scale(w,w),e.translate(null==d?0:-d,null==p?0:-p)}};return h}.call(t,n,t,e))||(e.exports=i)},1689:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r,o,s=n(5238),a=n(8907),l=n(7877),c=n(1039),u=DS._,h=DS.utils,d=DS.pubSub,p=DS.vow,f=DS.constants,g=DS.events,m=f.RECT_HIT,v=f.GROUP_HIT,y=f.SLIDE_HIT,S=function(e,t){return e[0]<t[2]&&e[2]>t[0]&&e[1]<t[3]&&e[3]>t[1]},b=function(e,t){return[Math.max(e[0],t[0]),Math.max(e[1],t[1]),Math.min(e[2],t[2]),Math.min(e[3],t[3])]},w=function(e,t){var n=s.getBounds(t);return e[0]<=n[0]&&e[2]>=n[2]&&e[1]<=n[1]&&e[3]>=n[3]},x=function(e,t,n,i,o){var a,l,c,u,h,d=e.props.model.getHitType(),p=t.props.model.getHitType(),f=n.length,g=0,v=Math.floor(i[0]),b=Math.floor(i[1]),x=Math.ceil(i[2])-v,E=Math.ceil(i[3])-b,P=d===m||d===y,T=p===m||p===y;if(0===f&&(P&&T||T&&w(i,e)||P&&w(i,t)))return x*E;for(r.translate(-v,-b),r.clearRect(v,b,x,E),r.globalAlpha=.5,C(r,t),c=0;c<f;c++)h=n[c],u=s.getBounds(h),S(i,u)&&C(r,n[c],!0);for(C(r,e),l=(a=s.getImageData(r,0,0,x,E).data).length,c=3;c<l&&(!(a[c]>128)||(g++,o));c+=4);return r.translate(v,b),g},C=function(e,t,n){var i,r,o,l,c,u,h,d=!n&&!t.dragging&&function(e){var t=e.props.model,n=t.closestScrollAncestor;return null==n&&(n=t.closestScrollAncestor=t.getClosestAncestorByKind("scrollarea")||!1),n&&n.currView}(t);d?(l=(h=d.props.model).width(),c=h.height(),null==h.scrollCanvas?((r=h.scrollCanvas=document.createElement("canvas")).width=l,r.height=c):r=h.scrollCanvas,(o=r.getContext("2d")).clearRect(0,0,l,c),o.save(),i=(u=a.getMatrix(d)).copy().invert(),o.transform(i.a,i.c,i.b,i.d,i.tx,i.ty),s.drawToTarget(t,o),o.restore(),e.save(),i=u,e.transform(i.a,i.c,i.b,i.d,i.tx,i.ty),e.drawImage(r,0,0),e.restore()):(e.save(),n&&(e.globalAlpha=1,e.globalCompositeOperation="destination-out"),s.drawToTarget(t,e),e.restore())},E=function(e,t,n){var i=e.props.model,r=s.getCanvas(e).getContext("2d"),o=i.getCurrentStateMetrics(),a=null==o.mask?o.strokewidth:0,l=o.xPos-a,c=o.yPos-a;return 0!==s.getImageData(r,t-l,n-c,1,1).data[0]},P=function(e){if(null!=e&&0!==e.length){var t,n,i,r,o,s,a=e.length,l=[];for(t=0;t<a;t++)(n=e[t]).lastCollision,i=n.eventableModel,r=n.targetModel,o=i.currView,s=r.currView,null!=o&&null!=s&&(n.currCollision=o.trulyVisible&&s.trulyVisible&&T(o,s),n.currCollision!==n.lastCollision&&(n.lastCollision=n.currCollision,l.push(i)));D(u.uniq(l))}},T=function(e,t){var n,i,r,o,a,l,c,u=e.props.model,h=t.props.model,d=u.getHitType(),p=h.getHitType(),f=d===v?e.allRefs:[u],g=p===v?t.allRefs:[h],m=f.length,y=g.length,w=[],C=[],E=[];for(w.length=m,C.length=y,o=0;o<m;o++)if((n=f[o]).currView.trulyVisible)for(w[o]=s.getBounds(n.currView),a=0;a<y;a++)(i=g[a]).currView.trulyVisible&&(0===o&&(C[a]=s.getBounds(i.currView)),S(w[o],C[a])&&E.push([o,a]));for(r=E.length,o=0;o<r;o++)if(l=E[o][0],c=E[o][1],x(f[l].currView,g[c].currView,[],b(w[l],C[c]),!1)>0)return!0;return!1},D=function(e){var n,i,r,o,s,a,l,u,h=e.length;for(i=0;i<h;i++)for(n=e[i],a=(l=c.getEventableLookupAndStates(n)).eventStates,u=l.lookup,r=a.length,s=0;s<r;s++)o=a[s],A(n,o,u)&&t.executeActions(o.event.actions,{context:n})},A=function(e,t,n){var i,r,o=t.event.kind,s=t.targets,a=s.length,l=!1,c=!1;for(i=0;i<a;i++)if(r=n[s[i].getRelativeId()],(l=l||r.currCollision)&&"oncollisionstart"===o)return c=t.lastHit!==l,t.lastHit=l,c;return l||"oncollisionend"!==o?(t.lastHit=l,!1):(c=t.lastHit!==l,t.lastHit=l,c)},I={initialize:function(e){var n=this;this.setupDfd=p.Deferred(),t=e,d.on(g.app.COMPLETE,(function(){(o=l.getCollisionLib())&&(i=o.querySelector("canvas"),(r=i.getContext("2d")).imageSmoothingEnabled=!1,i.width=720,i.height=540,o.appendChild(i)),I.setupDfd.resolve()})),d.on(g.slide.HAS_MOUNTED,(function(e){n.setupDfd.then((function(){var t=h.getPath(e,"props.model");null==t||e.props.isMessageWindow||(i.width=t.get("width"),i.height=t.get("height"))}))}))},transformUpdated:function(e,t){var n=e.props.model;a.setMatrixDirty(e),!1!==n.isCollideable&&(t?P(c.getCollisionSets(n)):c.markCollisionsDirty(n,(function(){P(c.getDirtyCollisionSets())})))},containsPoint:function(e,t,n){if(e.props.model.getHitType()===v){var i=a.localPtToSlide(e,t,n);return u.reduce(e.allRefs,(function(e,t){var n=t.currView,r=a.slidePtToSlideObject(n,i.x,i.y);return e||E(n,r.x,r.y)}),!1)}return E(e,t,n)},getOverlapArea:function(e,t,n,i){var r=s.getBounds(e),o=s.getBounds(t),a=0;return S(r,o)&&(a=x(e,t,n,b(r,o),i)),a}};return I}.call(t,n,t,e))||(e.exports=i)},5110:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(949),i=n(1689),r=n(8907),o=DS._,s=DS.utils,a=DS.svgUtils,l=DS.windowManager,c=DS.globalEventHelper,u=c.addBodyListener,h=c.removeBodyListener,d=DS.dom.hasClass,p=o.reduce(["dragstart","drag","dragend","dropenter","dropdrag","dropleave","drop"],(function(e,t){return e["on"+t]=o.noop,e.setTargets=o.noop,e}),{}),f=[],g=["currView","refs","innard"],m=function(e,t){return e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top},v=function(e,t){if(!m(e,t))return 0;var n=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom),r=Math.max(e.left,t.left);return(Math.min(e.right,t.right)-r)*(i-n)},y=function(e){return-e.getZIndex()},S=function(e,t){var n,i=DS.windowManager.getCurrentWindowSlide(),r=function(e){var t=e.params?e.params.slideOwner:null;return null==t||t===i},s=e.el.getBoundingClientRect(),a=o.sortBy(t.filter(r),y);return a.reduce((function(e,t,i){var o=a.slice(0,i).reduce((function(e,t){return e-v(s,t.getBounds())}),v(s,t.getBounds()));return r(t)&&o>e?(n=t,o):e}),0),n},b=function(e,t,n){this.view=e,this.el=n||e.el,this.params=o.defaults(t,p),this.relativeView=null!=n?this.view.props.model.parentModel.currView:this.view,this.currSlide=l.getCurrentWindowSlide(),o.bindAll(this,"disable","enable","bindTouch","grab","contain","move","release","onGrabMouse","onGrabTouch","onMoveMouse","onMoveTouch","onReleaseMouse","onReleaseTouch","hasModalAbove","getDropTarget","getPosition"),this.offsetX=this.grabbedXPos=this.offsetY=this.grabbedYPos=0,this.enable()};o.extend(b.prototype,{hasMoved:!1,x:0,y:0,unbindTouch:o.noop,disable:function(){this.el.removeEventListener("mousedown",this.onGrabMouse),this.unbindTouch()},enable:function(){this.el.addEventListener("mousedown",this.onGrabMouse),this.bindTouch()},bindTouch:function(){this.unbindTouch(),this.unbindTouch=o.flow(t.on(this.el,"touchstart",this.onGrabTouch),t.on(this.el,"touchmove",this.onMoveTouch),t.on(this.el,"touchend",this.onReleaseTouch))},grab:function(e,t){this.cachedMetrics=r.getSlideMetrics(this.relativeView),this.grabbedXPos=this.relativeView.getPlayerProp("RawXPos"),this.grabbedYPos=this.relativeView.getPlayerProp("RawYPos");var n=this.getPosition(),i=r.globalPtToLayer(this.relativeView,e,t,this.cachedMetrics),o=r.parentPtToSlide(this.relativeView,this.grabbedXPos,this.grabbedYPos);this.params.setTargets(),this.params.getPosition&&(n=this.params.getPosition(),this.relativeView!==this.view&&(o={x:n.x/this.cachedMetrics.scaleX,y:n.y/this.cachedMetrics.scaleY})),this.offsetX=o.x-i.x,this.offsetY=o.y-i.y,this.origPosX=n.x,this.origPosY=n.y,this.hasMoved=!1},contain:function(){if(null==this.dropTarget){var e=this.el.getBoundingClientRect(),t=this.params.containment.getBoundingClientRect(),n=o.result(this.view.props.model,"getCurrentStateMetrics",{strokewidth:0}).strokewidth/2,i=this.currSlide.calculateTotalScale();this.x=s.clamp(n,(t.width-e.width)*i-n,this.x),this.y=s.clamp(n,(t.height-e.height)*i-n,this.y)}},move:function(e,t){var n,o=this.dropTarget,l=r.globalPtToLayer(this.relativeView,e,t,this.cachedMetrics),c=this.view.props.model,u=this.view.props.winScale;this.x=l.x+this.offsetX,this.y=l.y+this.offsetY,this.el.style[this.view.cssTransform]=[a.transformTranslate(s.pxify(this.x*u),s.pxify(this.y*u)),a.transformRotate(this.view.state.Rotation+"deg"),a.transformScale(this.view.state.ScaleX/100,this.view.state.ScaleY/100)].join(" "),this.dropTarget=this.getDropTarget("drag"),i.transformUpdated(this.view),this.hasMoved||(n=o&&o.el,null!=c.reparentChild&&c.reparentChild(c.getSlide()),this.params.ondragstart(this,this.dropTarget),this.hasMoved=!0),this.params.ondrag(this,this.dropTarget),!o||this.dropTarget&&o===this.dropTarget||this.params.ondropleave(this,o),this.dropTarget&&(o===this.dropTarget&&n!==this.dropTarget.el||this.params.ondropenter(this,this.dropTarget),this.params.ondropdrag(this,this.dropTarget))},release:function(){this.hasMoved&&(this.contain(),this.params.setPosition&&this.params.setPosition(this.x,this.y),this.dropTarget=this.getDropTarget("drop"),null!=this.dropTarget&&this.params.ondrop(this,this.dropTarget),this.params.ondragend(this,this.dropTarget),null!=this.dropTarget&&this.relativeView.props.model.executePlayerEvent("ondragconnect"))},onGrabMouse:function(e){this.isMousedDown||d(e.target,"scrollarea-scrollbar")||d(e.target,"scrollarea-btn")||(this.isMousedDown=!0,this.grab(e.clientX,e.clientY),u("mousemove",this.onMoveMouse),u("mouseup",this.onReleaseMouse),e.preventDefault())},onGrabTouch:function(e){if(!d(e.target,"scrollarea-scrollbar")&&!d(e.target,"scrollarea-btn")){var t=e.changedTouches[0];this.touchId=t.identifier,this.grab(t.clientX,t.clientY),e.preventDefault()}},onMoveMouse:function(e){this.move(e.clientX,e.clientY),e.preventDefault()},onMoveTouch:function(e){var t=e.changedTouches[0];this.touchId===t.identifier&&(this.move(t.clientX,t.clientY),e.preventDefault())},onReleaseMouse:function(e){this.isMousedDown=!1,this.release(),this.view.props.model.setTransformDirty(),this.hasMoved||"textinput"!==this.view.props.model.get("kind")||this.view.accShadowView.takeFocus(),h("mousemove",this.onMoveMouse),h("mouseup",this.onReleaseMouse)},onReleaseTouch:function(e){this.release(),this.view.props.model.setTransformDirty(),this.touchId=null},hasModalAbove:function(){var e=s.getPath(this,"view.props.model.getLayer");return null!=e&&e.collection.hasModalLayerAbove(e)},getDropTarget:function(e){if(!this.hasModalAbove())return this.params.getDropTarget?this.params.getDropTarget(this,f,e):S(this,f)},getPosition:function(){return{x:this.x,y:this.y}}});var w=function(e,t){this.el=e,this.params=t,f.push(this)};return o.extend(w.prototype,{getBounds:function(){return this.el.getBoundingClientRect()},getZIndex:function(){return parseInt(this.el.style.zIndex)},unregister:function(){o.remove(f,this)}}),{DraggableHelper:b,DroppableHelper:w,util:{getClosestScrollInnard:function(e){return s.getPath(e.props.model.getClosestAncestorByKind("scrollarea"),g)},areOverlapping:m,unionArea:v,getDropTargetByOverlap:S,sortByZIndexReverse:y,getRegisteredDroppables:function(){return f}}}}.call(t,n,t,e))||(e.exports=i)},7523:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var o=void 0===arguments?void 0:arguments;function s(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t=l(e,"string");return"symbol"===r(t)?t:String(t)}function l(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function c(e){return d(e)||h(e)||g(e)||u()}function u(){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 h(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function d(e){if(Array.isArray(e))return m(e)}function p(e,t){return y(e)||v(e,t)||g(e,t)||f()}function f(){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 g(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function v(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}function y(e){if(Array.isArray(e))return e}i=function(e){"use strict";var t,i=n(3305).createElement,r=n(4484),a=r.splitTemplateOnTokens,l=r.parseTemplate,u=r.splitFormatted,h=n(5734),d=h.getListInfo,f=h.adjustMargin,g=h.getLineHeight,m=DS,v=m._,y=m.utils,S=y.ptify,b=y.pxify,w=y.juxt,x=y.isRtlText,C=m.vendorOverrides,E="p",P="ol",T="ul",D="li",A="a",I="em",k="strong",R="span",_="br",M="sup",O="sub",L="bdo",V={rightToLeft:{left:"right",right:"left",center:"center",justify:"justify"},leftToRight:{left:"left",right:"right",center:"center",justify:"justify"}},N={upper:"uppercase",lower:"lowercase"},j=/(<|<\/)(\w+).*?(\/>|>)/gi,B=1,F=-1,U=0,H=/[\u0700-\u074f\u0600-\u06ff\u1800-\u18af]/,G=function(e){if(0===e.length)return e;var t=v.first(e).idx;return e.map((function(e){var n,i=e.len,r=e.flowDirection,o=e.cursive;if(null!=e.updateString){var s=function(e){for(var t,n=0,i=[];t=j.exec(e);){var r=p(t,4),o=r[0],s=r[1],a=r[2],l=r[3],c=t.index,u="</"===s?F:"/>"===l?U:B,h=e.substring(n,c);"br"===a.toLowerCase()&&u!==F&&(h="".concat(h,"\r")),h.length>0&&i.push(h),n=c+o.length}return n<e.length&&i.push(e.substring(n)),i.join("")}(e.updateString());i=s.length,r=x(s)?"rightToLeft":"leftToRight",n=s,o=H.test(n)}var a=v.extend({},e,{idx:t,len:i,flowDirection:r,cursive:o});return t+=i,a}))},W=function(e,t,n){return"none"!==e?t?"bullet"===e?T:P:D:n?n.toLowerCase():E},z=function(e,t){var n,i,r=v.extend({},t.baseSpanStyle,e.style),o=r.fontSize,s=r.fontIsBold,a=r.fontIsItalic,l=r.fontIsUnderline,u=r.fontIsStrikeout,h=r.foregroundColor,d=r.linkColor,p=r.linkId,f=r.backgroundColor,m=r.spacing,y=r.displayCase,w=r.ascent,x=r.descent,E=r.elevation;return{fontFamily:(n=r.fontFamily,i=[].concat(c(n.split(/,\s*/)),["sans-serif"]),null!=C.fixFontFallbacks&&C.fixFontFallbacks(i),i.join(", ")),backgroundColor:f,color:null!=p?d:h,fontSize:S(o*("normal"==E?1:.6)),fontWeight:s?"700":null,fontStyle:a?"italic":"normal",letterSpacing:null!=m?S(m):"normal",lineHeight:b(g(t,w+x)),textTransform:N[y],textDecoration:[].concat(c(l?["underline"]:[]),c(u?["line-through"]:[])).join(" ")}},Y=function(e){if(!v.isEmpty(e.spans)){var t=function(e){var t=e.spans;if("rtl"===e.style.direction){t.length;var n=0,i=0,r=[];return t.forEach((function(t){i+=t.text.length;for(var o=e.runs[n],s=0;o.idx+o.len<i;){var a=e.runs[n+1];if(o.flowDirection!==a.flowDirection){var l=o.idx-(i-t.text.length)+o.len;s<l&&r.push({text:t.text.substring(s,l),style:v.extend({},t.style,{flowDirection:o.flowDirection})}),s=l}n+=1,o=e.runs[n]}var c=t.text.substring(s,t.text.length);r.push({text:c,style:v.extend({},t.style,{flowDirection:o.flowDirection})})})),r}return e.spans}(e),n=!0;t.forEach((function(t){var i=e,r=t.style,o=r.fontIsBold,s=r.fontIsItalic,a=r.linkId,l=r.elevation,c=r.flowDirection,u=function(e,t){var n={parent:t,type:e,children:[]};return t.children.push(n),n};null!=a&&((i=u(A,i)).linkId=a),!0===o&&(i=u(k,i)),!0===s&&(i=u(I,i)),"leftToRight"===c&&((i=u(L,i)).dir="ltr"),"superscript"===l?i=u(M,i):"subscript"===l&&(i=u(O,i));var h=e.styleConfig;t.text.split(/(\n|\r)/).filter((function(e){return""!==e})).forEach((function(e){!n||"\n"!==e&&"\r"!==e||i.children.push({parent:i,type:R,style:z(t,h),value:" "}),n="\r"===e,"\r"===e?i.children.push({parent:i,type:_}):"\n"!==e&&i.children.push({parent:i,type:R,style:z(t,h),value:e})}))}))}},q=function(e,t,n){var i=t.isList&&!n?v.last(t.children):t;e.parent=i;var r=function(e){for(var t=e.parent;null!=t&&null==t.styleConfig;)t=t.parent;return null==t?{paddingLeft:0,paddingRight:0}:t.styleConfig.padding}(e),o=r.paddingLeft,s=r.paddingRight;e.style.paddingLeft-=o,e.style.paddingRight-=s,i.children.push(e),Y(e)},K=function(e,t,n){var r=e.style,o=e.type,s=e.children;return i(o,{style:r,key:t},Z(s,n))},X=(s(t={},P,(function(e,t,n){var r=e.type,o=e.children;return i(r,{className:"semantic-list",key:t},Z(o,n))})),s(t,T,(function(e,t,n){var r=e.type,o=e.children;return i(r,{className:"semantic-list",key:t},Z(o,n))})),s(t,D,(function(e,t,n){var r=e.parent.type,o=e.style,s=e.type,a=e.children,l=e.listStyle,u=e.listChar;return r===T&&n.normalizeBullets&&(u="•"),i(s,{style:o,key:t},[i("span",{style:l,key:"bullet"},u)].concat(c(Z(a,n))))})),s(t,A,(function(e,t,n){var r=e.style,o=e.type,s=e.children,a=e.linkId;return i(o,{className:a,style:r,key:t,href:"#",tabIndex:n.isLinkTabbable()?"0":"-1",onClick:function(){return n.onLinkClicked(a)},onTouchEnd:function(){return n.onLinkClicked(a)},onMouseOver:function(){return n.onLinkOver(a)},onMouseOut:function(){return n.onLinkOut(a)}},Z(s,n))})),s(t,_,(function(e,t){var n=e.type;return i(n,{key:t})})),s(t,R,(function(e,t){var n=e.style,r=e.type,o=e.value;return i(r,{style:n,key:t},o)})),s(t,L,(function(e,t,n){var r=e.style,o=e.type,s=e.dir,a=e.children;return i(o,{style:r,key:t,dir:s},Z(a,n))})),t),Z=function(e,t){return e.map((function(e,n){return(X[e.type]||K)(e,n,t)}))};return{parseBlocks:function(e,t,n){var i=[],r={children:[],level:0},o=0,s=r;return e.blocks.forEach((function(r,a){var l=v.extend({},e.defaultBlockStyle,r.style||{}),c=d(r,l,e.defaultBlockStyle,null,0,i,!1),u=null!=c,h=u?l.listStyle.listType:"none",g=u?c.listLevel+1:l.listLevel;if(u&&(g>o||g===o&&!s.isList)){var m={type:W(h,!0,l.tagType),children:[],isList:!0,level:g,listInfo:c,style:{}};q(m,s,!1),s=m}else if(g<o)for(;null!=s.parent&&(g<s.level||u&&!s.isList);)s=s.parent;o=g;var y=0===a,b=a===e.blocks.length-1,w=function(e,t,n,i,r,o,s){var a=e.flowDirection,l=e.justification,c=e.leadingMargin,u=e.firstLineMargin,h=e.spacingBefore,d=void 0===h?0:h,g=e.spacingAfter,m=void 0===g?0:g,v=u-c,y=f(u<0?Math.max(v,-c):v),S=f(c),b=p("rightToLeft"===a?[0,S+7,"rtl"]:[S,7,"ltr"],3),w=b[0],x=b[1],C=b[2];return e.padding={paddingLeft:w,paddingRight:x},{marginBlockStart:0,marginBlockEnd:0,textAlign:V[a][l],textIndent:null!=t?Math.min(y,0):y,paddingTop:o?0:d,paddingBottom:s?0:m,paddingRight:x,paddingLeft:w,overflowWrap:"break-word",whiteSpace:i?"pre-wrap":"pre",textShadow:r?"1.5px 1.5px 3px rgba(0, 0, 0, 0.5)":"none",direction:C,flexShrink:0}}(l,c,0,t,n,y,b),x=function(e,t,n){if(null==n)return{};var i=e.baseSpanStyle,r=e.firstLineMargin,o=e.leadingMargin,s=e.flowDirection,a=e.justification,l=e.listStyle,c=l.listType,u=l.bulletFont,h=l.size,d=l.color,p=Object.assign({},i,t),g=p.fontFamily,m=p.fontSize,v=p.foregroundColor;return{listStyle:{fontFamily:"bullet"===c?u:g,fontSize:S(h*m/100),color:d||v,minWidth:Math.abs(f(r-o)),display:"inline-block",textIndent:0,textAlign:V[s][a]},listChar:n.bulletChars.map((function(e){return e.content})).join("")}}(l,r.spans[0].style,c),C=x.listStyle,E=x.listChar,P={spans:r.spans,runs:r.runs,type:W(h,!1,l.tagType),children:[],level:o,listInfo:c,style:w,listStyle:C,listChar:E,styleConfig:l};q(P,s,u)})),r},parseVariables:function(e){if(null==e)return{listenToVarChanges:function(){return v.noop},updateVarText:function(){return{}}};var t=e.blocks.reduce((function(e,t){if(0===t.runs.length)return e;var n=t.spans.reduce((function(e,t){return a(t.text).forEach((function(n){var i=l(n),r=i.addListeners,s=i.updateString,a=i.hasVars;e.addListeners.push(r),e.updateString.push((function(){var e=s.apply(void 0,c(o));return a?u(e,t.style):[v.extend({},t,{text:e})]}))})),e}),{addListeners:[],updateString:[]});return e.addListeners=e.addListeners.concat(n.addListeners),e.updateString.push((function(){return v.extend({},t,{spans:v.flatten(w(n.updateString).apply(void 0,c(o)))},{runs:G(t.runs)})})),e}),{addListeners:[],updateString:[]});return{listenToVarChanges:function(){var e=w(t.addListeners).apply(void 0,arguments);return w(e)},updateVarText:function(){return v.extend({},e,{blocks:w(t.updateString).apply(void 0,arguments)})}}},renderSemanticText:Z,updateBlockRuns:G}}.call(t,n,t,e),void 0===i||(e.exports=i)},8907:function(e,t,n){var i;void 0===(i=function(e){"use strict";DS._;var t=DS.TransMatrix,n=(DS.utils,function(e,t){var n,i,r,o=e.state,s=o.rotateXPos,a=o.rotateYPos,l=null!=e.decorators&&e.decorators.rotatable;return null!=e.tweenedConfig&&null!=e.tweenedConfig.props&&(o=e.tweenedConfig.props),e.dragging?(n=(r=e.decorators.draggable.getDraggingPosition()).x,i=r.y):(n=o.RawXPos,i=o.RawYPos),t.translate(n,i),100!==o.ScaleX&&100!==o.ScaleY&&t.scale(o.ScaleX/100,o.ScaleY/100,s,a),0!==o.Rotation&&t.rotate(o.Rotation,s,a),l&&l.lastSetRotation&&t.rotate(l.lastSetRotation,l.rotateXPos,l.rotateYPos),t}),i=function(e,i,r){for(var o,s,a,l,c,u=[],h=e,d=null!=r?r.copy():new t;h!==i;)h.props.isInnard||u.push(h),h=null!=(l=h.reparentedContainer)?(c=l.props.model).isSlideLayer||c.isSlide?void 0:l:h.props.parent;for(o=u.length-1;o>=0;o--){if(h=u[o],d=n(h,d),(a=h.props.model).isKind("expandinglabel"))if(o>0){var p=h.refs.innard.refs.contents,f=p.offsetLeft,g=p.offsetTop;d.translate(f/e.props.winScale,g/e.props.winScale)}else d.translate(6,6);a.isKind("scrollarea")&&(d.translate(0,h.props.topOffset||0),o>0&&(s=h.getPlayerProp("Position"))&&d.translate(0,-s))}return d},r={setMatrixDirty:function(e){var t,n;if(e.props.model.setTransformDirty(),null!=e.allRefs)for(t=e.allRefs.length,n=0;n<t;n++)null!=e.allRefs[n].currView?this.setMatrixDirty(e.allRefs[n].currView):e.allRefs[n].setTransformDirty()},getMatrix:function(e){var t=e.props.model;return!1===t.transformDirty?t.currTransform:(t.transformDirty=!1,t.currTransform=i(e))},getRelativeMatrix:function(e,t,n){return i(e,t,n)},localPtToGlobal:function(e,t,n,i){i=i||this.getSlideMetrics(e);var r=e.props.model.isSlideObject?this.localPtToSlide(e,t,n):{x:t,y:n};return{x:i.left+r.x*i.scaleX,y:i.top+r.y*i.scaleY}},globalPtToLocal:function(e,t,n,i){var r=e.props.model;return r.isSlide&&(r=r.getBaseLayer()),r.isSlideLayer?this.globalPtToLayer(r.currView,t,n,i):this.globalPtToSlideObject(e,t,n,i)},globalPtToLayer:function(e,t,n,i){return{x:(t-(i=i||this.getSlideMetrics(e)).left)/i.scaleX,y:(n-i.top)/i.scaleY}},globalRectToSlideObject:function(e,t,n){var i=t.top,r=t.left,o=t.bottom,s=t.right,a=t.width,l=t.height;if(null==e)return[0,0,0,0];n=n||{top:0,left:0,bottom:0,right:0},s=s||r+a,o=o||i+l;var c=this.getSlideMetrics(e),u=this.globalPtToSlideObject(e,r,i,c),h=this.globalPtToSlideObject(e,s,o,c);return[u.x+n.left,u.y+n.top,h.x+n.right,h.y+n.bottom]},globalPtToSlideObject:function(e,t,n,i){var r=e.props.model.getLayer().currView,o=this.globalPtToLayer(r,t,n,i),s=this.getMatrix(e).copy().invert().transformPoint(o.x,o.y);return{x:s.x,y:s.y}},localPtToSlide:function(e,t,n){return this.getMatrix(e).transformPoint(t,n)},parentPtToSlide:function(e,t,n){for(var i,r=e.props.parent;null!=r&&(r.props.isInnard||r.props.model.isKind("shufflegroup"));)r=r.props.parent;return null!=r&&r.el.contains(e.el)?(i=this.getMatrix(r),r.props.model.isKind("scrollarea")&&(i=i.copy()).translate(0,-(r.getPlayerProp("Position")||0)),i.transformPoint(t,n)):{x:t,y:n}},localPtToLocal:function(e,t,n,i){var r=this.localPtToSlide(e,n,i);return this.slidePtToSlideObject(t,r.x,r.y)},slidePtToSlideObject:function(e,t,n){return r.getMatrix(e).copy().invert().transformPoint(t,n)},getSlideMetrics:function(e){var t=function(e){var t=e.props.model;return t.isSlide?t.getBaseLayer().currView:t.isSlideLayer?t.currView:t.getLayer().currView}(e),n=t.el.getBoundingClientRect();return{scaleX:n.width/t.props.width,scaleY:n.height/t.props.height,left:n.left,top:n.top,right:n.right,bottom:n.bottom,width:n.right-n.left,height:n.bottom-n.top}}};return r}.call(t,n,t,e))||(e.exports=i)},4484:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=DS._,n=DS.utils,i=DS.resolver,o=/(%[^%^\^^\s]+%)/g,s=/\.\$/g,a=/^\$/,l=/%/g,c=/\s+$/g,u=/[\t ]color[\t ]*?=[\t ]*?["'](#[A-F0-9]{3,6})["']/i,h=/(<|<\/)(\w+).*?(\/>|>)/gi,d=1,p=-1,f=0,g=["i","b","font"],m=[{find:/\^%\^/g,replace:"%"},{find:/\^\^/g,replace:"^"}],v=function(e){return t.isNumber(e)?n.fix(e,2):e},y=function(e){return m.reduce((function(e,t){return e.replace(t.find,t.replace)}),e)},S=function(e,n){var r,o,c,u,h,d,p=e.replace(l,""),f=i.resolvePath(p,n,{optional:!0});return f||p.search(s)>-1?(i.isPropRef(p)?(r=function(e){return v(i.resolvePath(p,e))},u=p.split("."),h=t.initial(u).join("."),d=t.last(u).replace(a,""),o=function(e,t){var n=i.resolvePath(h,e).playerProps,r="change:"+d;return n.on(r,t),function(){n.off(r,t)}}):(r=function(){return v(f.value())},c=f,o=function(e,t){return c.on("change",t),function(){c.off("change",t)}}),{builder:r,on:o}):{builder:t.constant(e)}},b={},w=[],x=function(e,n,i){var r={};if("font"===n)if(i===d){var o=e.match(u);null!=o?w.push(o[1]):w.length>0&&w.push(t.last(w))}else w.pop();else b[n]=Math.max(0,(b[n]||0)+i);return b.i&&(r.fontIsItalic=!0),b.b&&(r.fontIsBold=!0),w.length>0&&(r.foregroundColor=t.last(w)),r};return{parseTemplate:function(e,n){if(null==e)return{updateString:t.constant(""),addListeners:t.constant(t.noop)};var i=e.split(o),r=[],s=[],a={};return i.length<=1?{updateString:t.constant(y(e)),addListeners:t.constant(t.noop)}:(i.forEach((function(e,i){var o,l;i%2==1?(l=(o=S(e,n)).on,r.push(o.builder),null!=l&&null==a[e]&&(a[e]=!0,s.push(l))):t.isEmpty(e)||r.push(t.constant(y(e)))})),{hasVars:!0,updateString:function(e){return t=r.map((function(t){return t(e)})).join(""),(n=t.split("\n")).map((function(e,t){return t<n.length-1?e.replace(c,"")+"\r":e})).join("");var t,n},addListeners:function(e,t){var n=s.map((function(n){return n(e,t)}));return function(){n.forEach((function(e){e()}))}}})},splitTemplateOnTokens:function(e){if(null==e)return[e];var n=e.split(o);return n.length<=1?[e]:t.compact(n)},splitFormatted:function(e,n){var i,o=0,s=[],a=n;for(b={},w=[];i=h.exec(e);){var l=r(i,4),c=l[0],u=l[1],m=l[2],v=l[3],y=i.index,S="</"===u?p:"/>"===v?f:d,C=e.substring(o,y);"br"===(m=m.toLowerCase())&&S!==p&&(C="".concat(C,"\r")),C.length>0&&s.push({text:C,style:a}),S&&g.includes(m)&&(a=t.extend({},n,x(c,m,S))),o=y+c.length}return o<e.length?s.push({text:e.substring(o),style:a}):0===e.length&&s.push({text:"",style:a}),s}}}.call(t,n,t,e))||(e.exports=i)},4274:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(5730);n(3305);var t,i,r,o,s,a=n(882),l=DS._,c=DS.utils,u=DS.errorManager,h=DS.svgUtils,d=DS.constants,p=DS.TransMatrix,f=u.warn("Adornable"),g=u.throwError("Adornable"),m=u.backtick,v=(t=/c|s|q|t|a/i,function(e){return t.test(e.getAttribute("d"))}),y=l.partialRight(l.pick,"x","y"),S=function(e,t){return l.extend(e.createSVGPoint(),t)},b=function(e,t){return t.matrixTransform(e)},w=function(e,t){var n=l.partial(b,e),i=t.map(n),r=l.maxBy(i,"y"),o=i.filter((function(e){return e.y===r.y})),s=l.minBy(o,"x"),a=l.maxBy(o,"x"),c=(s.x+a.x)/2,u=s.y,h=l.indexOf(i,s),d=l.indexOf(i,a),p=t[h],f=t[d];return{transformed:{x:c,y:u},original:{x:(p.x+f.x)/2,y:(p.y+f.y)/2}}},x=(i=function(e){return 5*e},function(e,t){t.getTotalLength();var n=t.getPointAtLength.bind(t),r=Math.ceil(t.getTotalLength()/5)+1,o=l.range(r).map(i).map(n);return w(e,o)}),C=function(e,t){var n=t.pathSegList,i=n.getItem.bind(n),r=l.range(n.numberOfItems).map(i),o=l(r).map(y).filter(c.not(l.isEmpty)).map(l.partial(S,t.ownerSVGElement)).value();return w(e,o)},E=(r=function(e,t){return(v(t)?x:C)(e,t)},o=function(e){return e.transformed.y},function(e,t){var n=l(t).map(l.partial(r,e)).maxBy(o).original;return y(n)}),P=function(e){return h.isUseNode(e)?(n=(t=e).getAttributeNS(d.XMLNS_XLINK,"href"),t.ownerSVGElement.querySelector(n)):e;var t,n},T=(s=/#([^\)\s'"]*)/,function(e){var t=s.exec(e);return null==t?null:t[1]}),D={"perspective-shadow":{calculationMethod:"calculateLowestRotatedPoint",rotationMethods:["rotateShadowToOriginalAngle","rotateShadowAboutPlane","adjustScaleTranslation","adjustSkewTranslationX","adjustSkewTranslationY"]},reflection:{calculationMethod:"calculateLowestRotatedPoint",rotationMethods:["rotateReflection","adjustScaleTranslation"]},"drop-shadow":{calculationMethod:"calculateMidPoint",rotationMethods:["rotateDropShadow"]},"inner-shadow":{calculationMethod:"calculateMidPoint",rotationMethods:["rotateInnerDropShadow"]}},A={initAdornment:function(){this.rotateAboutPoint().applyTransform().rotateGradient()},adornSvg:function(){var e=l.values(l.pickBy(this.refs,(function(e,t){return 0===t.indexOf("adornable")})));e.length&&e.forEach(function(e){this.setAsAdornable(a.findDOMNode(e),this.props.model.get("rotation"))}.bind(this))},setAsAdornable:function(e,t){this.adornType=e.getAttribute("data-adornment-type"),this.adornedNode=e,this.adornRotation=t,this.parentSvg=e.ownerSVGElement,this.adornMatrix=this.parentSvg.createSVGMatrix().rotate(this.adornRotation),this.adornTransformConfig=JSON.parse(e.getAttribute("data-transform"))||[],this.adornRotationPoint=null,this.adornConfig=D[this.adornType]||{},this.initAdornment()},gradientRotationOffset:function(e){return(this.adornRotationOffset||(this.adornRotationOffset=e.getAttribute("gradientTransform").replace(/rotate|\)|\(/g,"").replace(/,/g," ").split(/\s+/))).concat()},rotateGradient:function(){var e,t=this.parentSvg.querySelector("[data-rotation-offset]");return t&&((e=this.gradientRotationOffset(t))[0]=-this.adornRotation+parseFloat(e[0]),t.setAttribute("gradientTransform",["rotate(",e.join(","),")"].join(""))),this},getDataAsFloat:function(e){return parseFloat(this.adornedNode.getAttribute("data-"+e))},teardown:function(){this.parentSvg=null,this.adornedNode=null,this.adornMatrix=null},rotateAboutPoint:function(){return this.calculateRotationPoint().applyRotation(),this},calculateRotationPoint:function(){return this.adornRotationPoint=this[this.adornConfig.calculationMethod](),this},calculateMidPoint:function(){return{x:this.getDataAsFloat("width")/2,y:this.getDataAsFloat("height")/2}},calculateLowestRotatedPoint:function(){var e,t=(e=this.adornedNode,e=P(e),h.isPathNode(e)?[e]:l.toArray(e.querySelectorAll("path")));if(!l.isEmpty(t))return E(this.adornMatrix,t);f("calculateLowestRotatedPoint","no `path` nodes found for calculation")},applyRotation:function(){if(!this.adornRotationPoint)return this;var e=this.adornConfig.rotationMethods;return e||g("applyRotation","adornment of",m(this.adornType),"not supported"),e.forEach(function(e){this[e]()}.bind(this)),this},addRotation:function(e,t){return this.adornTransformConfig[e](this.buildRotation(t)),this},buildRotation:function(e){return h.buildRotateConfig(this.adornRotation*e,this.adornRotationPoint.x,this.adornRotationPoint.y)},getTransformRelativeToOther:function(e,t){var n=l.indexOf(this.adornTransformConfig,t);return this.adornTransformConfig[n+e]},adjustScaleTranslation:function(){var e=this.adornRotationPoint,t=h.getFirstScale(this.adornTransformConfig),n=this.getTransformRelativeToOther(-1,t),i=c.invertPercent(t.args[0]),r=c.invertPercent(t.args[1]);return n.args[0]=e.x*i,n.args[1]=e.y*r,this},adjustSkewTranslation:function(e){var t=this.adornRotationPoint,n="x"===e,i=n?"y":"x",r=h.getFirstTransformOfType("skew"+e.toUpperCase(),this.adornTransformConfig),o=this.getTransformRelativeToOther(1,r),s=r.args[0],a=c.degToRad(s);return o.args[n?0:1]=-t[i]*Math.tan(a),this},applyTransform:function(){var e=this.adornTransformConfig.map(h.buildTransformFromConfigFn).join(" ");return this.adornedNode.setAttribute("transform",e),this},calculateRotationOffset:function(){for(var e=this.getDataAsFloat("distance"),t=this.getDataAsFloat("angle"),n=-c.degToRad(this.adornRotation-t),i=this.getDataAsFloat("scale"),r=new p,o=this.props.model.parent;null!=o&&o.isSlideObject;)r.rotate(-o.prop("Rotation"),0,0),o=o.parent;return e/=i,r.transformPoint(e*Math.cos(n),e*Math.sin(n))},rotateDropShadow:function(){var e=this.calculateRotationOffset();this.adornTransformConfig.push(h.buildTranslateConfig(e.x,e.y))},rotateInnerDropShadow:function(){var e=document.getElementById(T(this.adornedNode.getAttribute("filter"))).getElementsByTagName("feOffset")[0],t=this.calculateRotationOffset();e.setAttribute("dx",t.x),e.setAttribute("dy",t.y)},rotateReflection:function(){this.addRotation("unshift",-1);var e=h.getFirstTranslate(this.adornTransformConfig),t=l.indexOf(this.adornTransformConfig,e);this.adornTransformConfig.splice(t+1,0,this.buildRotation(-1))}};return A.rotateShadowToOriginalAngle=l.partial(A.addRotation,"unshift",-1),A.rotateShadowAboutPlane=l.partial(A.addRotation,"push",1),A.adjustSkewTranslationX=l.partial(A.adjustSkewTranslation,"x"),A.adjustSkewTranslationY=l.partial(A.adjustSkewTranslation,"y"),A}.call(t,n,t,e))||(e.exports=i)},8698:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(3305);var t,i=n(882),r=n(8947),o=DS._,s=DS.Backbone,a=DS.subscribable,l=DS.shortEventable,c=DS.errorManager,u=DS.utils,h=DS.vow,d=DS.detection,p=c.backtick,f=c.throwError("baseView"),g="Must specify a "+p("displayName"),m=function(e){return o.values(e.refs)},v=function(e){return null!=e.currView},y={mixins:[s.Events,a,l,r],getInitialState:function(){return{isVisible:null==this.initialVisibility||this.initialVisibility}},componentWillMount:function(){this.displayName=this.constructor.displayName,this.displayName||f("baseView",g),this.template||(this.template=t.getTemplate(this.displayName)),this.cssTransform="transform",this.cssTransformOrigin="transformOrigin",this.cssTransitionDuration="transitionDuration",this.cssTransitionProperty="transitionProperty",this.cssTransitionTimingFunc="transitionTimingFunction"},componentDidMount:function(e){e||(this.el=i.findDOMNode(this),null==this.props.model||this.props.isInnard||(this.props.model.currView=this))},componentWillUnmount:function(){this.stopListening(),null==this.props.model||this.props.isInnard||(this.props.model.currView=null)},shouldComponentUpdate:function(e,t){return(!u.shallowEqual(this.props,e)||!u.shallowEqual(this.state,t))&&(!this.shouldUpdate||this.shouldUpdate(e,t))},htmlReady:function(e){window.requestAnimationFrame(e)},afterHtmlReady:function(e){this.htmlReady(function(){this.htmlReady(e)}.bind(this))},onShown:function(e){for(var t,n=this.props.model,i=[];null!=n;)null!=n.currView&&n.currView.isVisible()||(t=h.Deferred(),n.once("shown",t.resolve),i.push(t.promise())),n=n.getClosestAncestor(v);h.after.apply(h,i).then(o.partial(this.htmlReady,e))},find:function(e){return this.el.querySelector(e)},findAll:function(e){return o.toArray(this.el.querySelectorAll(e))},findAllComponents:function(e){for(var t=0,n=m(this);t<n.length;)n.push.apply(n,m(n[t])),t++;return o.filter(n,{displayName:e})},findComponent:function(e){for(var t,n=0,i=o.isString(e),r=m(this);(t=r[n])&&n<r.length;){if(i&&t.displayName===e||!i&&t===e)return t;r.push.apply(r,m(t)),n++}},render:function(){return this.template()},displayClass:function(){return this.isVisible()?"shown":"hidden"},toggleVisibility:function(e){return e=null==e?!this.isVisible():e,this.setState({isVisible:e}),this},isVisible:function(){var e=null!=this.getPlayerProp?this.state:this.props.playerProps;return null!=this.props.model&&null!=this.props.model.isSlideObject?!!this.props.model.isKind("shufflegroup")||e.OnStage&&!e.HiddenByLayer:this.state.isVisible},isEnabled:function(){if(this.enabledHook)return this.enabledHook();var e=this.props.model.getClosestParentRef();return null!=e&&e.isStateGroupSlideObject?e.isEnabled():this.getPlayerProp&&!0===this.getPlayerProp("Enabled")},getPath:function(e,t){return u.getPath(this,e,t)},setTemplateManager:function(e){t=e},getTemplateManager:function(){return t},hex:function(e){return u.hexify(e)},quotify:function(e){return u.quote(e)},previewMouseEvent:function(e){return d.env.isMobilePreview?e:null},setLayerScroll:function(){o.isFunction(this.getLayer)&&(this.getLayer().scrollTop=0)}};return y.show=o.partial(y.toggleVisibility,!0),y.hide=o.partial(y.toggleVisibility,!1),y}.call(t,n,t,e))||(e.exports=i)},3752:function(e,t,n){var i;i=function(e){"use strict";var t=n(8335),i=n(59),r=n(4076),o=n(6083),s=n(1718),a=DS._,l={createDecorator:function(e){return new e(this)},callLifeCycleEvent:function(e){for(var t=arguments.length,n=new Array(t),i=0;i<t;++i)n[i]=arguments[i];a.forOwn(this.decorators,(function(t){t[e]&&t[e].apply(t,n.slice(1))}))},componentWillMount:function(){this.decorators={},this.createDecorators(),this.callLifeCycleEvent("componentWillMount")},componentDidMount:function(){this.callLifeCycleEvent("componentDidMount")},componentWillUnmount:function(){this.callLifeCycleEvent("componentWillUnmount")},componentWillReceiveProps:function(e){this.callLifeCycleEvent("componentWillReceiveProps",e)},componentWillUpdate:function(e,t){this.callLifeCycleEvent("componentWillUpdate",e,t)},componentDidUpdate:function(e,t){this.callLifeCycleEvent("componentDidUpdate",e,t)},createDecorators:function(){var e=this.props.model;e.isDraggable()&&!this.hasDraggableAncestor()&&(this.decorators.draggable=this.createDecorator(t)),e.isDroppable()&&(this.decorators.droppable=this.createDecorator(i)),e.isTweenable()&&(this.decorators.tweenable=this.createDecorator(r)),e.isSlideable()&&(this.decorators.slideable=this.createDecorator(o)),e.isRotatable()&&(this.decorators.rotatable=this.createDecorator(s))},hasDraggableAncestor:function(){for(var e=this;e=e.props.parent;)if(e.props.model.isDraggable())return!0;return!1}};return l}.call(t,n,t,e),void 0===i||(e.exports=i)},877:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(5928),i=DS._;return{componentWillMount:function(){this.offs=[]},registerEvent:function(e,n,i){i=i||this.el,this.offs.push(t[e](i,n,this))},componentWillUnmount:function(){i(this.offs).flatten().invokeMap("teardown").commit(),this.offs=[]}}}.call(t,n,t,e))||(e.exports=i)},3765:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(7877),i=DS,r=i.constants,o=i.pinchZoomController,s=i.pubSub,a=i.events,l=i.slideObjectUtils,c=i.detection,u=i.globalEventHelper,h=u.addWindowListener,d=u.removeWindowListener;return Object.assign({},o,{shouldPinchZoom:function(){return l.isMobileSlide(this)&&null==this.props.slideFrame},notifyZoomUpdate:function(){this.trigger("pinchzoom",this.el.getBoundingClientRect()),s.trigger(a.slide.ZOOMED,this.pinch)},zoomScaleUpdate:function(){this.props.model.pinchZoomScale=this.pinch.scale},getContainerBounds:function(){return this.props.slideContainer.el.getBoundingClientRect()},threeSixtyImageTabletZoom:function(){null!=this.el.querySelector(".three-sixty-image")&&c.device.isTablet&&(this.threeSixtyImageRestrictedZoom=1.5)},isLightboxed:function(){return this.pinchZoomSlideContainer.props.lightboxed},initPinch:function(){this.threeSixtyImageTabletZoom(),this.resetPinch()},initPinchZoom:function(e){this.shouldPinchZoom()&&(this.pinchZoomSlideContainer=e||this.props.slideContainer,this.initZoomTarget(this.el.parentNode),this.isInLightbox&&h("resize",this.onOrientationChange,null,"after"))},onOrientationChange:function(){this.initPinch(),this.pinch.currMatrix=new TransMatrix,this.startTransition(0)},collectPlayerMetrics:function(){var e=t.getPreso().getBoundingClientRect(),n=e.width,i=e.height,o=0,s=0;if(c.deviceView.isMobile)if(c.theme.isClassic)orientation.isPortrait?i-=r.MOBILE_UI_SIZE:n-=r.MOBILE_UI_SIZE;else{var a=this.props.slideContainer.props.getPinchZoomBounds();o=a.x,s=a.y,n=a.width,i=a.height}return{availableWidth:n,availableHeight:i,uiOffsetX:o,uiOffsetY:s}},constrainToScreen:function(e){var t,n,i,r,o=this.pinchZoomSlideContainer.el.getBoundingClientRect(),s=o.left,a=o.top,l=this.el.getBoundingClientRect(),c=!1,u=this.collectPlayerMetrics(),h=u.availableWidth,d=u.availableHeight,p=u.uiOffsetX,f=u.uiOffsetY;i=h-(t=Math.max((h-l.width)/2,0))+p,r=d-(n=Math.max((d-l.height)/2,0))+f,t+=p,n+=f,l.left>t?(c=!0,this.pinch.currMatrix.tx=t-s):l.right<i&&(c=!0,this.pinch.currMatrix.tx=i-l.width-s),l.top>n?(c=!0,this.pinch.currMatrix.ty=n-a):l.bottom<r&&(c=!0,this.pinch.currMatrix.ty=r-l.height-a),c&&(null!=e?e():this.startTransition(400))},killPinchZoom:function(){this.shouldPinchZoom()&&(this.destroyPinchZoom(),d("resize",this.onOrientationChange))},componentWillUnmount:function(){this.killPinchZoom()}})}.call(t,n,t,e))||(e.exports=i)},1587:function(e,t,n){var i;void 0===(i=function(e){"use strict";DS._,DS.constants.PLAYER_PROPS_KEYPATH;return{getInitialState:function(){return this.constructProps(),this.playerPropsModel.toJSON()},constructProps:function(){var e=this.props.model;return this.playerPropsModel={},e&&e.createPlayerProps&&(this.playerPropsModel=e.playerProps||e.createPlayerProps(),this.listenTo(this.playerPropsModel,"change",this.onUpdatePlayerProps)),this},onUpdatePlayerProps:function(){this.isMounted()&&this.setState(this.playerPropsModel.toJSON())},getPlayerProp:function(e){return this.state[e]},setPlayerProp:function(e,t){return this.props.model.prop(e,t)}}}.call(t,n,t,e))||(e.exports=i)},8947:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.stringTabler,i=DS.pubSub,r=DS.events;return{getInitialState:function(){return this.getStringTitles()},componentWillMount:function(){i.on(r.strings.UPDATE_STRINGS,(function(){this.setState(this.getStringTitles())}),this)},componentWillUnmount:function(){i.off(r.strings.UPDATE_STRINGS,null,this)},getStringTitles:function(){var e=t.result(this,"stringTitles");return e?t.transform(e,(function(e,t,i){e[function(e){return["i18n",e].join("")}(i)]=function(e){var t=n.getString(e);return null!=t?t:e}(t)})):{}}}}.call(t,n,t,e))||(e.exports=i)},9078:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r=n(4196),o=DS._,s=DS.windowManager,a=DS.constants,l=DS.events,c=DS.detection,u=DS.dom,h=DS.utils,d=DS.svgUtils,p=DS.pubSub,f=DS.TweenLite,g=DS.TimelineLite,m=DS.slideObjectUtils,v=DS.globalEventHelper,y=v.addWindowListener,S=v.removeWindowListener;p.on(l.frameModel.LAYOUT_CHANGED,(function(e){t=e.swipeleft,i=e.swiperight}));var b=.25,w=a.math.QUARTER_PI,x=a.math.THREE_QUARTER_PI,C={4:"onprevslide",2:"onnextslide"},E=!1;p.once(l.player.MENU_OPTIONS,(function(e){e.get("flow")}));var P=function(e){return m.isMobileSlide(e)&&null==e.props.slideFrame&&!e.props.slideContainer.props.lightboxed},T=function(){var e=E;return E=!1,e};return{DIRECTION_UP:1,DIRECTION_RIGHT:2,DIRECTION_DOWN:3,DIRECTION_LEFT:4,componentWillMount:function(){p.on(l.swipe.CHANGED,this.onSwipeChanged),this.swipe={swiping:!1,wasSwiped:T,swipeBehavior:P}},componentDidMount:function(){var e=this.el;this.swipe.swipeBehavior(this)&&(c.deviceView.isUnifiedMobile&&(b=.15),this.hasPrevNextActions().getWidthHeight().calcCancelTolerance().getNextEl(),e.addEventListener("touchstart",this.onSwipeableTouchStart,!0),e.addEventListener("touchmove",this.onSwipeableTouchMove),e.addEventListener("touchend",this.onSwipeableTouchEnd),y("popstate",this.onPopState),p.on(l.frameModel.LAYOUT_CHANGED,this.hasPrevNextActions))},componentDidUpdate:function(){this.getWidthHeight().calcCancelTolerance()},componentWillUnmount:function(){var e=this.el;p.off(l.swipe.CHANGED,this.onSwipeChanged),this.swipe.swipeBehavior(this)&&(e.removeEventListener("touchstart",this.onSwipeableTouchStart),e.removeEventListener("touchmove",this.onSwipeableTouchMove),e.removeEventListener("touchend",this.onSwipeableTouchEnd),S("popstate",this.onPopState),p.off(l.frameModel.LAYOUT_CHANGED,this.hasPrevNextActions))},onSwipeChanged:function(e){"swipeleft"===e.name?this.swipe.canSwipeLeft=e.enable&&t:this.swipe.canSwipeRight=e.enable&&i},getWidthHeight:function(){return this.swipe.width=this.props.model.get("width")*this.props.winScale,this.swipe.height=this.props.model.get("height")*this.props.winScale,this},getNextEl:function(){var e=this.el.parentNode.parentNode;return null!=e&&(this.swipe.nextEl=e.querySelector(".swipe-transition-container")),this},onSwipeableTouchStart:function(e){var t,n=this.swipe;if(e.touches.length>1||this.pinch.disableSwipe)this.exitTouch=!0;else{var i,r=m.isThreeSixtyImageRelated(e.target);if((c.deviceView.isUnifiedMobile||r)&&(i=this.el.getBoundingClientRect()),c.deviceView.isUnifiedMobile&&(this.swipe.slideLeft=i.left),this.swipe.preventSwiping=!1,m.isThreeSixtyImageRelated(e.target)){if(!(e.touches[0].clientX<i.left+15||e.touches[0].clientX>i.right-15))return this.swipe.preventSwiping=!0,void p.trigger(l.slide.PREVENT_SWIPE);p.trigger(l.slide.ALLOW_SWIPE)}this.shouldSwipe(e.target)&&1===e.touches.length&&(t=e.touches[0],n.startX=t.pageX,n.startY=t.pageY,n.startTime=(new Date).getTime(),n.duration=null,n.cancelled=!1,n.willJump=!1)}},onSwipeableTouchMove:function(e){var t,n=this.swipe,i=n.direction;e.touches.length>1||this.pinch.disableSwipe?this.exitTouch=!0:this.swipe.preventSwiping||this.shouldSwipe(e.target)&&1===e.touches.length&&(t=e.touches[0],n.x=t.pageX,n.y=t.pageY,this.swipe.swiping=!0,n.direction=this.getSwipeDirection(),i!==n.direction&&this.determineSwipeActions(),4===n.direction?this.animateSwipe().followDir(!1,4):2===n.direction&&this.animateSwipe().followDir(!1,2))},determineSwipeActions:function(){var e=this.swipe,t=this.props.model.tracePlayerEvent(C[e.direction]),n=s.getCurrentWindow();return o.extend(e,{cancelled:!0,willJump:!0}),t.forEach((function(t){return e.willJump=r.isJumpAction(t)&&("gotoplay"!==t.kind||t.window===n.id||"_current"===t.window),e.cancelled=!e.willJump||"history_prev"===t.kind&&null==n.getPrevSlide(),e.cancelled})),this},onPopState:function(){this.resetSwipe()},calcCancelTolerance:function(){return this.swipe.cancelTolerance=this.swipe.width/2,this},hasPrevNextActions:function(){return this.swipe.canSwipeLeft=t,this.swipe.canSwipeRight=i,this},resetSwipe:function(){this.el.style[this.cssTransform]="",o.toArray(document.querySelectorAll(".slide-transition-container")).forEach(function(e){e.style[this.cssTransform]=""}.bind(this)),this.onSwipeableTouchEnd(),this.killLoader()},restricted:function(){return this.swipe.cancelled||!this.swipe.canSwipeLeft&&4===this.swipe.direction||!this.swipe.canSwipeRight&&2===this.swipe.direction},forceShowNextLoader:function(){this.swipe.rampShow=!0,this.showNextLoader()},showNextLoader:function(e,t){var n;t&&!this.swipe.rampTimeout&&(this.swipe.rampTimeout=setTimeout(function(){this.swipe.rampShow=!0,this.swipe.rampTimeout=null}.bind(this),300)),(n={visibility:"visible",display:"block",backgroundColor:"transparent",opacity:this.restricted()||!this.swipe.rampShow?0:1})[this.cssTransform]=e,this.props.slideContainer.setLoaderStyle(n)},getPadding:function(){var e=this.props.model.parentTransform;return Math.max(2*e.xOff,40)},followDir:function(e,t){var n,i,r,o=this.props.model.parentTransform,s=this.swipe.width+this.getPadding(),a=4===t?-s:s;e&&(n=this.el.getBoundingClientRect(),this.swipe.currX=n.left-o.xOff,c.deviceView.isUnifiedMobile&&(this.swipe.currX-=this.swipe.slideLeft-o.xOff)),this.swipe.nextEl&&(this.swipe.lastDir=t,r=this.swipe.currX+a,i=d.transformTranslate(h.pxify(r),h.pxify(0)),this.restricted()||(u.setStyles(this.swipe.nextEl,{width:h.pxify(this.swipe.width),height:h.pxify(this.swipe.height)}),this.swipe.nextEl.style[this.cssTransform]=i,this.swipe.nextEl.style.background=c.deviceView.isUnifiedMobile?window.globals.bgColor:"#212121"),this.showNextLoader(i,Math.abs(r)<this.swipe.width/2))},onSwipeableTouchEnd:function(){var e,t,n=this.swipe,i=n.direction;n.duration=(new Date).getTime()-n.startTime,this.exitTouch?this.exitTouch=!1:this.swipe.preventSwiping||(this.swipe.cancelled||!this.swipe.canSwipeLeft&&4===i||!this.swipe.canSwipeRight&&2===i?this.endSwipe(i,!1):n.swiping&&(e=this.getSwipeLength(),(t=this.speedSwipe(e))||e>this.swipe.cancelTolerance?(this.endSwipe(i,!0),t&&this.forceShowNextLoader()):this.endSwipe()))},speedSwipe:function(e){return this.swipe.duration<300&&e>100},doSwipe:function(e){var t={};return t[4]=this.swipe.canSwipeLeft?this.onSwipeLeft:o.noop,t[2]=this.swipe.canSwipeRight?this.onSwipeRight:o.noop,t.hasOwnProperty(e)&&t[e](),this},onSwipeRight:function(){this.props.model.executePlayerEvent(C[2]),E=!0,this.swipe.isNavigating=!0},onSwipeLeft:function(){this.props.model.executePlayerEvent(C[4]),E=!0,this.swipe.isNavigating=!0},shouldSwipe:function(e){if(DS.connection.useConnectionMessages&&DS.connection.warningShown)return!1;var t=this.props.model.pinchZoomScale,n=null!=t&&1!==t;return!(m.isScrollRelated(e)||m.isDraggableRelated(e)||m.isRotatableRelated(e)||m.isSlideableRelated(e)||n)},endSwipe:function(e,t){this.swipe.swiping=!1,this.swipe.direction=null,this.animateSwipeEnd(e,t)},getSwipeLength:function(){var e=this.swipe;return h.dist(e.startX,e.startY,e.x,e.y)*this.props.model.calculateTotalScale()},getSwipeDirection:function(){var e=this.swipe,t=Math.atan2(e.startY-e.y,e.startX-e.x);return Math.abs(t)<=w?2:t>w&&t<=x?1:t<-w&&t>=-x?3:4},animateSwipe:function(e){var t=this.el,n=this.swipe,i=n.startX-n.x,r=i<0?-1:1,o=e||-Math.abs(i)*r;return this.restricted()&&(n.willJump?o*=.1:o*=.5*gsap.parseEase("power2.out")(Math.abs(i)/document.body.clientWidth)),f.set(t,{x:o}),this.swipe.currX=o,this},killLoader:function(){var e={visibility:null,opacity:null,display:"none",backgroundColor:"rgba(0, 0, 0, 0.5)"};e[this.cssTransform]=null,this.props.slideContainer.setLoaderStyle(e)},swipeEndRight:function(){this.followDir(!0,2),this.swipe.updateNextSlide=window.requestAnimationFrame(this.swipeEndRight)},swipeEndLeft:function(){this.followDir(!0,4),this.swipe.updateNextSlide=window.requestAnimationFrame(this.swipeEndLeft)},animateSwipeEnd:function(e,t){var n,i,r,o=this.el;t?(r=this.getSuccessSwipeTween(e),i=2===e?this.swipeEndRight:this.swipeEndLeft):(i=2===this.swipe.lastDir?this.swipeEndRight:this.swipeEndLeft,r=this.getFailedSwipeTween(e)),n=h.toMilliseconds(r.duration()),this.swipe.updateNextSlide=window.requestAnimationFrame(i),r.play(),window.clearTimeout(this.swipe.resetTransform),this.swipe.resetTransform=window.setTimeout(function(){o.style[this.cssTransitionDuration]="0s",window.cancelAnimationFrame(this.swipe.updateNextSlide),this.doSwipe(e),t?(this.forceShowNextLoader(),p.once(l.loader.HIDE,function(){o.style[this.cssTransform]="",o.style.opacity=0,this.resetNextEl(),this.killLoader()}.bind(this))):this.resetNextEl()}.bind(this),n+0)},getSuccessSwipeTween:function(e){var t,n=this.swipe.width+this.getPadding(),i=new g;return 2===e?t=-n:4===e&&(t=n),i.add(f.to(this.el,b,{x:t,ease:"sine.out"})),i},getFailedSwipeTween:function(e){var t,n,i=this.el,r=this.swipe,o=new g;return!r.willJump&&this.speedSwipe(this.getSwipeLength())?(n=Math.max(.2,h.toSeconds(r.duration)),t=Math.min(Math.abs(r.startX-r.x),r.width*(r.willJump?.1:.5)),o.add(gsap.timeline().to(i,{x:t*(2===e?-1:1),ease:"power2.out",duration:n}).to(i,{x:0,ease:"power2.out",duration:2*n},">"))):o.add(f.to(i,.25,{x:0,ease:"sine.out"})),o},resetNextEl:function(){this.swipe.nextEl&&(this.swipe.nextEl.style[this.cssTransform]="",u.setStyles(this.swipe.nextEl,{width:null,height:null,background:null}))}}}.call(t,n,t,e))||(e.exports=i)},2912:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(118),i=(DS._,DS.vow),r=(DS.vendorOverrides,DS.AnimationTimeline);return{componentWillMount:function(){this.elDfd=i.Deferred()},componentDidMount:function(){this.elDfd.resolve()},componentWillUnmount:function(){this.cancelTransition()},getElPromise:function(){return this.elDfd.promise()},transitionIn:function(e,n){this.getElPromise().then(function(){this.aniTimeline=new r({tweens:[new t(this,!1,e.getConfig())],onComplete:function(){n(!0),this.cancelTransition()}.bind(this)}),this.aniTimeline.seek(0),this.aniTimeline.play()}.bind(this))},cancelTransition:function(){null!=this.aniTimeline&&(this.aniTimeline.kill(),this.aniTimeline=null)}}}.call(t,n,t,e))||(e.exports=i)},8960:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(3305),n(882);var t=n(118),i=DS._,r=(DS.svgUtils,DS.vendorOverrides,DS.events),o=DS.pubSub,s=DS.AnimationTimeline,a=1e3;return{getInitialState:function(){return{transitionDepth:0}},setPrevSlide:function(e){var t=e.props.model;this.prevSlide=e,t.slideLayers().pauseAll(!0)},setTransparent:function(e){this.el.classList[e?"add":"remove"]("transparent")},componentDidMount:function(){this.transitionIsComplete=!1,this.completeHook=i.noop,this.setTransparent(!0)},publishTransitionStarted:function(){o.trigger(r.slide.TRANSITION_STARTED,this.state.Id,this.transition.id,this.transition.duration())},transitionIn:function(e,n){var i,r=this;this.completeHook=e,this.setTransparent(!1),this.transition=this.props.model.getTransitionAnimation(),i=this.transition&&this.transition.get("wipeTrans"),n||null==this.transition||i&&!this.prevSlide?this.transitionComplete():(this.publishTransitionStarted(),i&&(this.prevSlide.killPinchZoom(),r=this.prevSlide,this.prevSlide.setState({transitionDepth:++a})),this.transitionTimeline=new s({tweens:[new t(r,!1,this.transition.getConfig(),this.prevSlide)],onComplete:this.onTransitionComplete}),this.transitionTimeline.seek(0),this.transitionTimeline.play())},seekTransition:function(e){this.transitionTimeline.seek(e,!1)},forceTransition:function(){!this.transitionIsComplete&&this.transition&&(this.transitionTimeline.progress(1,!0),this.transitionTimeline.kill(),this.transitionComplete())},killPrevSlide:function(){this.prevSlide&&(this.prevSlide.killSlide(),this.prevSlide=null)},transitionComplete:function(){null!=this.transitionTimeline&&this.transitionTimeline.kill(),this.transitionIsComplete=!0,this.killPrevSlide(),this.completeHook(),this.props.transitionComplete()},onTransitionComplete:function(){this.transitionComplete()},componentWillUnmount:function(){var e=this.previousHome;null!=e&&e.grandparent.appendChild(e.parent)}}}.call(t,n,t,e))||(e.exports=i)},35:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2658),i=n(118),r=n(2296),o=n(2625),s=DS._,a=DS.utils,l=(DS.svgUtils,DS.dom),c=DS.AnimationTimeline,u=function(e,t,n){return(n*e-n)/2-t*e};return{componentWillMount:function(){this.listenTo(this.props.model,"zoompan",this.zoomPan)},buildZoomAnimation:function(e){var t=e.action,n=this.props.model,i=n.get("width"),o=n.get("height"),s=t.duration,l=i/t.lastwidth,c=u(l,t.lastx,i),h=u(l,t.lasty,o),d=i/t.width,p=u(d,t.xPos,i),f=u(d,t.yPos,o);return l=a.decToPct(l),d=a.decToPct(d),new r({wipetrans:!1,duration:s,tweens:[{kind:"tween",time:0,duration:s,scale:{path:[{kind:"segment",startx:l,starty:l,endx:d,endy:d,dsx:0,dsy:0,dex:0,dey:0}],duration:s,easing:"cubic",easingdir:"easein"}},{kind:"tween",time:0,duration:s,position:{path:[{kind:"segment",type:"line",anchora:{x:c,y:h,dx:0,dy:0},anchorb:{x:p,y:f,dx:0,dy:0}}],duration:s,easing:"cubic",easingdir:"easein"}}]})},createAnimationTimeline:function(e){var n=e.action,r=n.staticimageassetid,o=this.buildZoomAnimation(e);return this.lastZoomBackground&&(this.lastZoomBackground.parentElement.removeChild(this.lastZoomBackground),this.lastZoomBackground=null),new c({tweens:[new i(this,!1,o.getConfig(),null)],onComplete:-1===r?s.noop:function(){var e=this.el.parentNode.querySelector(".zoom-bg-container"),i=this.lastZoomBackground=document.createElement("img");i.src=t.getAssetUrl(r),l.setStyles(i,{position:"absolute",left:a.pxify(n.xPos),top:a.pxify(n.yPos),width:a.pxify(n.width),height:a.pxify(n.height),visibility:"block"}),e.appendChild(i)}.bind(this)})},zoomPan:function(e){this.el&&(this.tweenableTimeline&&(this.tweenableTimeline.destroy(!0),this.tweenableTimeline=null),this.tweenableTimeline=new o(this,this.createAnimationTimeline(e),e.event.timelineLabel,!1))}}}.call(t,n,t,e))||(e.exports=i)},7435:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),o=DS,s=o._,a=o.utils,l=o.globalEventHelper.addDocumentListener,c=o.constants;return t.createClass({displayName:"AccessibleScrollBar",mixins:[i],componentDidMount:function(){this.mounted=!0,this.hScroll=this.props.hScroll,this.scrollingArea=this.props.parent.refs[this.props.refName||"scrollArea"],this.scrollingArea.addEventListener("scroll",this.onScroll),this.hasInited=!0,this.update()},componentDidUpdate:function(){this.props.parent.setState({isScrolling:!this.state.isHidden}),DS.detection.env.isPerpetual||this.el.style.setProperty("--scroll-scale",1/this.props.winScale)},componentWillUnmount:function(){this.mounted=!1,this.scrollingArea.removeEventListener("scroll",this.onScroll),this.removeScrollListeners()},getInitialState:function(){return this.removeScrollListeners=function(){},{isHidden:!0,highlight:!1}},onResize:function(){this.update()},onScroll:function(e){this.update(!0)},onScrollBtnDown:function(e){this.startPos=this.getPagePostion(e)-this.getParentPos()-this.state.position,this.removeScrollListeners=s.flow([l("mousemove",this.onDragBtn),l("mouseup",this.onEndScrollDrag),l("touchmove",this.onDragBtn),l("touchend",this.onEndScrollDrag)])},onEndScrollDrag:function(){this.removeScrollListeners()},onDragBtn:function(e){var t=this.getTargetMetrics(),n=t.contentLength,i=t.scrollbarLength,r=n-i,o=i-this.state.btnLength,s=this.getPagePostion(e)-this.getParentPos()-this.startPos,l=a.clamp(0,1,s/o);this.setState({position:l*a.invertPercent(this.state.btnLength/i)*i}),this.scrollingArea[this.hScroll?"scrollLeft":"scrollTop"]=r*l},getPagePostion:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0],i=n.pageX,o=n.pageY;return(this.hScroll?i:o)/this.props.winScale},getParentPos:function(){return this.scrollingArea.getBoundingClientRect()[this.getPosAttrib()]/this.props.winScale},getScrollBarStyle:function(){var e={};a.getPath(this.scrollingArea,this.hScroll?"offsetHeight":"offsetWidth",0);return e[this.hScroll?"top":"left"]=a.pxify(0),e},getScrollBtnStyle:function(){var e={};return e[this.hScroll?"width":"height"]=a.pxify(this.state.btnLength),e[this.getPosAttrib()]=a.pxify(this.state.position),e},scrollOnKey:function(e){switch(e.which){case c.keys.DOWN:this.scrollingArea.scrollTop+=10;break;case c.keys.UP:this.scrollingArea.scrollTop-=10;break;case c.keys.PAGE_DOWN:this.scrollingArea.scrollTop+=this.state.btnLength;break;case c.keys.PAGE_UP:this.scrollingArea.scrollTop-=this.state.btnLength;break;case c.keys.HOME:this.scrollingArea.scrollTop=0;break;case c.keys.END:this.scrollingArea.scrollTop=this.scrollingArea.scrollHeight}},update:function(e){var t=this;if(this.mounted){var n=this.getTargetMetrics(),i=n.contentLength,r=n.scrollbarLength,o=n.currScrollPos;if(i<=0)window.requestAnimationFrame((function(){return t.update()}));else{var s=i-r,l=a.clamp(0,1,o/s),c=r/i*r,u=Math.abs(s)<2;DS.detection.env.isPerpetual||(c=Math.max(10/this.props.winScale,c)),this.props.parent.setState({scrollbarShowing:!u}),u?this.setState({isHidden:u}):(this.setState({isHidden:u,position:l*a.invertPercent(c/r)*r,btnLength:c,percent:100*l}),e&&(this.setState({highlight:e}),clearTimeout(this.colorId),this.colorId=setTimeout(this.unHighlight,1e3)))}}},getPosAttrib:function(){return this.hScroll?"left":"top"},unHighlight:function(){this.mounted&&this.setState({highlight:!1})},getTargetMetrics:function(){var e=this.scrollingArea,t=e.scrollHeight,n=e.scrollWidth,i=e.clientHeight,r=e.clientWidth,o=e.scrollTop,s=e.scrollLeft;return this.hScroll?{contentLength:n,scrollbarLength:r,currScrollPos:s}:{contentLength:t,scrollbarLength:i,currScrollPos:o}}})}.call(t,n,t,e))||(e.exports=i)},6559:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(7523).parseBlocks,o=DS,s=o.utils,a=s.pxify,l=s.getPath,c=s.hexify,u=o.svgUtils,h=(o.flagManager,{});return t.createClass({displayName:"AccessibleText",mixins:[i],componentWillMount:function(){var e=this;this.stopListeningToVarChanges=this.listenToVarChanges(this.props.model,(function(){return e.setState({textConfig:e.parseText().children})}))},componentWillUnmount:function(){null!=this.stopListeningToVarChanges&&this.stopListeningToVarChanges()},componentDidUpdate:function(){this.refs.scrollBar.update()},updateTemplate:function(e){this.origTemplate!==e&&(this.origTemplate=e,this.setState({textConfig:this.parseText().children,linkStyles:this.getLinkStyles()}))},getInitialState:function(){var e=l(this.props.model,"parent.semanticTextConfig.varMethods",{listenToVarChanges:function(){return _.noop},updateVarText:_.identity});return this.origTemplate=this.props.model.vartext(),Object.assign(this,e),{textConfig:this.parseText().children,linkStyles:this.getLinkStyles(),isScrolling:!1,scrollbarShowing:!0}},onLinkClicked:function(e){h[e]=!0,this.trigger("textHit",e)},onLinkOver:function(e){this.trigger("textOver",e)},onLinkOut:function(e){this.trigger("textOut",e)},isLinkTabbable:function(){return!1},getInnerProps:function(){var e=this.props,t=(e.model,e.winScale),n=e.rotDeg,i=void 0===n?0:n,r=e.originX,o=void 0===r?0:r,s=e.originY,l=void 0===s?0:s;this.origTemplate.direction;return{transformOrigin:"0 0",transform:[u.transformScale(t),u.transformTranslate(a(o),a(l)),u.transformRotate(i+"deg")].join(" ")}},getLinkState:function(e){return{highlight:null==e.highlightColor||"highlight"!=e.decoration?"transparent":c(e.highlightColor),textColor:c(e.textColor),decoration:e.decoration}},getLinkStyles:function(){var e=this;return this.props.model.linkdata().map((function(t){return{id:t.get("id"),hoverState:e.getLinkState(t.get("hoverState")),activeState:e.getLinkState(t.get("activeState")),visitedState:e.getLinkState(t.get("visitedState")),pointerEvents:"all"}}))},linkIsVisited:function(e){return null!=h[e]},parseText:function(){return r(this.updateVarText(this.origTemplate),!0,this.props.model.textshadow())}})}.call(t,n,t,e))||(e.exports=i)},4172:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r=n(3305),o=n(843),s=n(1587),a=n(8698),l=n(3723),c=n(3949),u=DS._,h=DS.appState,d=DS.automation,p=DS.constants,f=DS.vow,g=DS.events,m=DS.captionsManager,v=DS.utils;return r.createClass({displayName:"AudioPlayer",mixins:[a,s,o],shortEvents:{model:(i={},i[c.MEDIA_SEEK]="onActionSeek",i[c.MEDIA_PLAY]="onActionPlay",i[c.MEDIA_PAUSE]="onActionPause",i[c.MEDIA_TOGGLE]="onActionToggle",i[c.SET_VOLUME]="onActionSetVolume",i),timeline:(t={},t[g.timeline.PLAYING]="onTimelinePlay",t[g.timeline.PAUSED]="onTimelinePause",t[g.timeline.AFTER_SEEK_UPDATE]="onTimelineSeek",t[g.timeline.RESET]="onTimelineReset",t)},getInitialState:function(){return{soundComplete:!1}},componentWillMount:function(){var e=this.props.model.getUrl(),t=l.loadUrl(e,this.getAssetId());this.slideStartedDfd=f.Deferred(),this.setState({audioClip:t}),this.currentTime=0,this.listenTo(this.props.model.getSlide(),"started",this.slideStartedDfd.resolve),d.clockIsOverridden&&this.listenTo(this.props.timeline,g.timeline.TICK,this.onTimelineTick)},componentDidMount:function(){this.presentationVol=p.DEFAULT_VOLUME,this.setVolume(h.currentVolume()),this.currActionStartTime=0,this.listenTo(h,g.volume.CHANGE_CURRENT,this.onVolumeChanged),this.listenTo(this.state.audioClip,g.audioClip.ENDED,this.onEnded),this.listenTo(this.state.audioClip,g.audioClip.TIME_UPDATE,this.onTimeUpdate)},componentWillUpdate:function(e,t){var n=this.state.audioClip,i=[];d.clockIsOverridden||(null!=t.seekFn&&t.seekFn!==this.state.seekFn&&i.push(t.seekFn),t.isPlaying===this.state.isPlaying&&t.soundComplete===this.state.soundComplete||i.push(n[t.isPlaying?"play":"pause"].bind(n)),i.length>0&&this.slideStartedDfd.then(u.partial(u.invokeMap,i,Function.prototype.call)))},componentWillUnmount:function(){this.pause(),this.slideStartedDfd.reject(),this.state.audioClip.pause().destroy()},onEnded:function(){var e=this.state.isPlaying;this.clearCaptions().setState({soundComplete:!0}),this.setPlayerProp({isPlaying:!1,resumeOnTimelinePlay:!1}),e&&this.props.model.executePlayerEvent("onmediacomplete")},ended:function(){return!0===this.state.soundComplete},getAssetId:function(){return this.props.model.get("assetId")},getCurrentTime:function(){return this.currentTime},isVideo:function(){return!1},onTimeUpdate:function(e){this.currentTime=e,this.adjustCaptions()},onVolumeChanged:function(e,t){this.determineAudioVolume(t)},determineAudioVolume:function(e){this.setVolume(e*this.presentationVol)},setTimelineControl:function(e){this.setPlayerProp({isTimelineControlled:!!e.timelineLabel})},getTimelineControl:function(){return this.props.model.prop("isTimelineControlled")},onActionPlay:function(e,t){this.setActionStartTime(t.time),!0===this.state.soundComplete&&(this.setState({soundComplete:!1}),this.seek(this.currActionStartTime)),this.setTimelineControl(t),this.setPlayerProp("resumeOnTimelinePlay",!0),null!=t.context&&"expandinglabel"===t.context.get("kind")&&m.includeMedia(this.getAssetId()),this.play()},onActionPause:function(e,t){this.setActionStartTime(t.time),this.setTimelineControl(t),this.setPlayerProp("resumeOnTimelinePlay",!1),null!=t.context&&"expandinglabel"===t.context.get("kind")&&m.excludeMedia(this.getAssetId()),this.pause()},onActionToggle:function(e,t){this.state.isPlaying?this.onActionPause(e,t):this.onActionPlay(e,t)},onActionSeek:function(e,t){this.setActionStartTime(t.time),this.seek(e.position),this.currentTime=v.toSeconds(t.currentTime),this.clearCaptions()},onActionSetVolume:function(e,t){var n=e.volume/100;this.setActionStartTime(t.time),this.presentationVol=n,this.determineAudioVolume(h.currentVolume())},play:function(){this.timelinePausedFromUI=!1,d.clockIsOverridden&&d.onMediaStarted(this.props.model.id),this.setPlayerProp({isPlaying:!0})},pause:function(){this.setPlayerProp({isPlaying:!1}),this.timelinePausedFromUI||this.clearCaptions()},seek:function(e){var t=this.state.audioClip,n={};n.seekFn=u.partial(t.seek.bind(t),v.toSeconds(e)),this.state.soundComplete&&(n.soundComplete=e>=this.getDuration()),this.setState(n)},setVolume:function(e){this.state.audioClip.setVolume(e)},getDuration:function(){return v.getPath(this,"state.audioClip.getDuration",v.toSeconds(this.props.model.getDuration()))},setActionStartTime:function(e){null==e&&this.state.soundComplete&&(e=0),null!=e&&(this.currActionStartTime=e,this.currActionPlayheadRemaining=this.getDuration()-this.currentTime)},calculatePlaybackDifference:function(e){return e-(this.currActionStartTime||0)},onTimelinePlay:function(){this.timelinePlaying=!0,this.props.model.prop("resumeOnTimelinePlay")&&this.play()},onTimelinePause:function(e){this.timelinePlaying=!1,this.timelinePausedFromUI=e,this.pause()},onTimelineSeek:function(e){this.getTimelineControl()&&(e=this.calculatePlaybackDifference(e),this.seek(e),!this.timelinePlaying&&this.state.isPlaying&&(this.setPlayerProp("resumeOnTimelinePlay",!0),this.pause()))},onTimelineReset:function(){this.clearCaptions().setState({soundComplete:!1})},onTimelineTick:function(e){this.state.isPlaying&&(v.toSeconds(e*this.props.timeline.duration())>=this.currActionPlayheadRemaining+this.currActionStartTime&&this.props.model.executePlayerEvent("onmediacomplete"))},template:function(){return null}})}.call(t,n,t,e))||(e.exports=i)},9746:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=DS.detection,o=DS.pubSub,s=DS.events,a=DS.mobileChromeKiller;return t.createClass({displayName:"ButtonSlideObject",mixins:[i],componentDidMount:function(){if(document.querySelector(".resume-prompt-slide")){var e=r.device.isDesktop?"mousedown":"touchend";this.el.addEventListener(e,(function(){o.trigger(s.course.AUDIO_START),r.deviceView.isMobile&&a.init()}))}},getClassNames:function(){var e=["btn","slide-object-button"];return r.deviceView.isMobile||(this.props.model.getSlide().isMessageSlide()?e.push(["cs-",this.props.model.id.replace(/_/g,"-")].join("")):e.push("cs-button")),e.join(" ")}})}.call(t,n,t,e))||(e.exports=i)},4821:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(2540),o=n(1587),s=n(5110),a=s.util,l=s.DraggableHelper,c=DS._,u=DS.windowManager,h=DS.utils,d=(DS.dom,DS.keyManager,1500),p={performReview:function(){this.getPath("props.model.reviewdata")&&this.setState({reviewStroke:h.hexify(this.props.model.get("reviewCorrectColor")||"0x008000")})},dropComplete:function(e){var t=h.getPath(e,"props.model.getParentContainer");t&&this.props.model.reparentChild(t),this.setState({backgroundVisible:!1})},getDropSnapX:function(e){return e.prop("RawXPos")},onDragEnd:function(e,t){this.state.dropped||this.unDrop(),t&&t.params.data.setState({hoverStroke:!1})},setSelectedItem:function(){this.setPlayerProp("SelectedItem",1)},unDrop:function(){var e=this.getPlayerProp("ShuffleXPos"),t=this.getPlayerProp("ShuffleYPos");this.moveBackAndEnable(),this.setDragPosition(e,t),this.putBackInParent(),this.setState({backgroundVisible:!0}),this.setPlayerProp("SelectedItem",-1)},dropAndDisable:function(){this.draggableHelper.disable(),this.setPlayerProp("Enabled",!1),this.setState({dropped:!0,hovered:!1})},moveBackAndEnable:function(){this.setState({dropped:!1}),this.draggableHelper.enable(),this.setPlayerProp("Enabled",!0)},onDragOut:function(e,t){t.params.data.setState({hoverStroke:!1})},onDraggingOver:function(e,t){t.params.data.setState({hoverStroke:!0})},reconnectDrop:function(e){this.setPlayerProp({depth:++d,OnStage:!0}),this.onDrop(this.draggableHelper,{params:{data:e}})},savePrevLoc:c.noop,dragStarted:c.noop},f={performReview:function(){this.setState({reviewDot:"drag-incorrect"}),this.setState({reviewStroke:h.hexify(this.props.model.get("reviewIncorrectColor")||"0xFF0101")}),this.setState({isDropChild:!0}),this.resetXPos()},resetXPos:function(){this.setPlayerProp("RawXPos",this.getPlayerProp("ShuffleXPos"))},getDropSnapX:function(e){return e.prop("RawXPos")+e.width()-this.props.notchWidth},dropComplete:function(e){this.dropView=e,this.dropView.setState({collision:!1}),this.droppedX=this.getPlayerProp("RawXPos"),this.droppedY=this.getPlayerProp("RawYPos"),this.putBackInParent()},dropAndDisable:function(){this.setState({dropped:!0,hovered:!1})},onDragOut:function(e,t){t.params.data.setState({collision:!1})},onDraggingOver:function(e,t){t.params.data.setState({collision:!0})},onDragEnd:function(e,t){this.state.dropped?(this.putBackInParent(),this.setDragPosition(this.droppedX,this.droppedY),this.swapDisconnectedItems(!0)):this.swapDisconnectedItems()||this.unDrop(),this.savePrevLoc(),this.autoScrollId&&(window.cancelAnimationFrame(this.autoScrollId),this.autoScrollId=null)},setSelectedItem:function(e){this.setPlayerProp("SelectedItem",e.prop("slideIndex"))},swapDisconnectedItems:function(e){var t,n,i,r,o,s=[];if(this.dragItemViews.forEach(function(e){var t;this.props.model.id===e.props.model.id||e.refs.innard.state.dropped||0!==(t=a.unionArea(this.el.getBoundingClientRect(),e.el.getBoundingClientRect()))&&s.push({area:t,view:e})}.bind(this)),t=c(s).sortBy("area").last())return r=(n=t.view).getPlayerProp("RawXPos"),o=n.getPlayerProp("RawYPos"),(i=n.refs.innard).setDragPosition(this.state.dropped?this.getPlayerProp("ShuffleXPos"):this.oldX,this.oldY),i.savePrevLoc(),e||(this.setDragPosition(r,o),this.putBackInParent()),function(e,t){[e,t].map((function(e){return e.props.isInnard?e.props.parent:e}));var n=e.props.model,i=t.props.model,r=i.prop("tabIndex");i.prop("tabIndex",n.prop("tabIndex")),n.prop("tabIndex",r)}(this,n),!0},unDrop:function(e){e&&this.dropView!==e||(this.setState({dropped:!1}),this.putBackInParent(),this.setDragPosition(this.oldX||this.getPlayerProp("ShuffleXPos"),this.oldY||this.getPlayerProp("ShuffleYPos")),this.setPlayerProp("SelectedItem",-1))},savePrevLoc:function(){this.oldX=this.getPlayerProp("RawXPos"),this.oldY=this.getPlayerProp("RawYPos")},dragStarted:function(){this.autoScrollId||this.checkForAutoScroll()},checkForAutoScroll:function(){null!=this.scrollInterface&&(this.scrollInterface.autoScroll(this.slideObjectParent),this.autoScrollId=window.requestAnimationFrame(this.checkForAutoScroll.bind(this)))}};return t.createClass({displayName:"DragitemSlideObject",mixins:[i,o,r],shortEvents:{model:{setReview:"onSetReview"}},getInitialState:function(){return{backgroundVisible:!0,dropped:!1}},componentDidMount:function(){this.applyStyleMixin(),this.htmlReady(this.setupDragging)},onSetReview:function(e){e&&this.performReview()},applyStyleMixin:function(){this.style=this.getPath("props.model.style"),"wordbank"===this.style?(c.mixin(this,p),c.bindAll(this,"performReview","dropComplete","getDropSnapX","onDragEnd","setSelectedItem","unDrop","dropAndDisable","moveBackAndEnable","onDragOut","onDraggingOver","reconnectDrop","savePrevLoc","dragStarted")):(c.mixin(this,f),c.bindAll(this,"performReview","resetXPos","getDropSnapX","dropComplete","dropAndDisable","onDragOut","onDraggingOver","onDragEnd","setSelectedItem","swapDisconnectedItems","unDrop","savePrevLoc","dragStarted","checkForAutoScroll")),c.bindAll(this,"setupDragging","checkShouldDisable","reparentIfSelected","getDraggableConfig","getDragPosition","onDragStart","onDrop","setDragPosition","putBackInParent")},setupDragging:function(){this.parentSlide=u.getCurrentWindow().getCurSlide(),this.slideObjectParent=this.el.parentNode,this.parentEl=this.slideObjectParent.parentNode,this.container=this.parentSlide.el.querySelector(".slide-top-container"),this.draggableHelper=new l(this.props.parent,this.getDraggableConfig()),this.scrollInterface=a.getClosestScrollInnard(this),"matching"===this.style?this.dragItemViews=this.parentSlide.getSlideObjectViews("dragitem"):this.reparentIfSelected(),this.checkShouldDisable()},checkShouldDisable:function(){this.getPlayerProp("Enabled")||this.draggableHelper.disable()},reparentIfSelected:function(){var e;this.getPlayerProp("SelectedItem")>=0&&(e=this.props.model).reparentChild(e.getSlide())},getDraggableConfig:function(){return{containment:this.parentSlide.el,ondragstart:this.onDragStart,ondragend:this.onDragEnd,ondrop:this.onDrop,getPosition:this.getDragPosition,setPosition:this.setDragPosition,ondropleave:this.onDragOut,ondropdrag:this.onDraggingOver}},getDragPosition:function(){return this.savePrevLoc(),{x:this.getPlayerProp("RawXPos"),y:this.getPlayerProp("RawYPos")}},onDragStart:function(){this.setPlayerProp("depth",++d),this.dragStarted()},onDrop:function(e,t){this.setState({dropped:!0});var n=t.params.data,i=n.props.model,r=this.getDropSnapX(i),o=i.prop("RawYPos"),s=n.getDropChild();this.dropAndDisable(),null!=s&&s.props.model!==e.view.props.model&&s.unDrop(n),this.setPlayerProp("TimelineControlled",!1),this.setSelectedItem(i),n.setDropChild(this),this.setDragPosition(r,o),this.dropComplete(n)},setDragPosition:function(e,t){this.setPlayerProp({RawXPos:e,RawYPos:t})},putBackInParent:function(){this.props.model.reattachChild()}})}.call(t,n,t,e))||(e.exports=i)},3645:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),r=DS,o=(r._,r.appState),s=r.events;return i.createClass({mixins:[t],displayName:"DropListItem",componentDidMount:function(){this.listenTo(o,s.player.ACCESSIBLE_TEXT_CHANGED,this.onAccessibleTextChanged)},onAccessibleTextChanged:function(e){this.setState({useAccText:this.getUseAccText()})},getUseAccText:function(){return"acctext"===this.getPath("props.textdata.type")&&(o.accessibleTextOn()||this.getPath("props.textdata.scrollOverflow"))},getInitialState:function(){var e=this.props.textdata;return this.accTextModel={parent:this,width:function(){return e.width},height:function(){return e.height},wordwrap:function(){return e.wordwrap},textshadow:function(){return e.textshadow},vartext:function(){return e.vartext},valign:function(){return e.valign},linkdata:function(){return[]}},{hovered:!1,display:"none",selected:!1,useAccText:this.getUseAccText()}},onClick:function(){this.touchMoved||this.props.selected(this.props.order)},onTouchStart:function(){this.touchMoved=!1,this.didMouseOver()},onTouchMove:function(e){this.touchMoved=!0},fillColorClass:function(){return this.state.hovered?"drop-list-item-over":this.state.selected?"drop-list-item-selected":"drop-list-item-out"},didMouseOver:function(){this.setState({hovered:!0})},didMouseOut:function(){this.setState({hovered:!1})},getAccTextModel:function(){return this.accTextModel}})}.call(t,n,t,e))||(e.exports=i)},3151:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t,i=n(8698),o=n(1587),s=n(3305),a=n(882),l=n(7877),c=n(8907),u=DS,h=u._,d=u.windowManager,p=u.dom,f=u.utils,g=u.events,m=u.detection,v=m.os.isIOS,y=m.device,S=u.svgUtils,b=u.pubSub,w=u.appState,x=u.keyManager,C=u.globalEventHelper,E=C.addBodyListener;C.removeBodyListener;return s.createClass({mixins:[i,o],displayName:"DropListParentable",subscriptions:(t={},t[g.slideContainer.POSITIONED]="onSlideContainerPositioned",t),shortEvents:{model:{setReview:"onSetReview"}},getInitialState:function(){this.getPath("props.model.data.textdata",{});return{hovered:!1,display:"none",pr:this.getPath("props.model.data.textdata.vectortext.pr"),textdata:this.getPath("props.model.data.textdata"),winScale:this.props.winScale,useAccText:this.getUseAccText()}},getUseAccText:function(e){var t=(null==e?this.state||{}:{textdata:e}).textdata,n=(t=void 0===t?{}:t).type,i=t.scrollOverflow;return"acctext"===n&&(w.accessibleTextOn()||i)},componentWillMount:function(){this.itemslist=this.getPath("props.model.itemslist"),this.currentIndex=-1},componentDidMount:function(){this.initReparenting(),this.createRefOrder(),this.onShown(this.selectItemIfSet),this.listenTo(w,g.player.ACCESSIBLE_TEXT_CHANGED,this.onAccessibleTextChanged)},componentDidUpdate:function(e,t){this.props.parent.accShadowView.onStateChanged(t,this.state)},onAccessibleTextChanged:function(e){this.setState({useAccText:this.getUseAccText()})},getAccTextModel:function(){var e=this;return{parent:this,width:function(){return e.state.ReviewMode?e.state.reviewWidth-35:e.state.textdata.width-10},height:function(){return e.state.textdata.height-4},wordwrap:function(){return e.state.textdata.wordWrap},textshadow:function(){return e.state.textdata.textshadow},vartext:function(){return e.state.textdata.vartext},valign:function(){return"top"},linkdata:function(){return[]}}},createRefOrder:function(){this.refOrder=[],this.itemslist.forEach(function(e,t){var n=this.refs["item"+t];this.refOrder[n.props.order]=n}.bind(this))},onSetReview:function(e){var t=this.getPath("props.model.reviewwidth");e&&t&&this.setState({reviewWidth:t})},selectItemIfSet:function(){var e=this.getPlayerProp("SelectedItemIndex");e>-1&&this.itemSelected(e)},itemSelected:function(e){if(-1!==e){var t=this.refs["item"+e];t.setState({selected:!0}),this.setPlayerProp("SelectedItemData",this.props.model.origItemsList[e].itemdata),this.setPlayerProp("SelectedItemIndex",e),this.prevSelected&&this.prevSelected.setState({selected:!1}),this.prevSelected=t,this.updateText(t)}},updateText:function(e){this.setState({pr:e.props.pr,textdata:e.props.textdata,useAccText:this.getUseAccText(e.props.textdata)});var t=this.refs.acctext;if(null!=t){var n=f.getPath(e.props,"textdata.vartext");null!=n&&t.updateTemplate(n)}},contentheight:function(){return(this.getPath("props.model.height")+8)*this.itemslist.length},onShowList:function(){if(this.isEnabled()){if(v)return void this.props.parent.accShadowView.refs.input.dispatchEvent(new MouseEvent("mousedown"));null!=this.refs.scrollBar&&this.refs.scrollBar.update(),b.on(g.timer.COMPLETE,this.onTimerComplete),this.removeMousedownListener=E("mousedown",this.onListDown),this.removeMouseupListener=E("mouseup",this.onListUp),this.removeTouchstartListener=E("touchstart",this.onListDown),this.removeTouchendListener=E("touchend",this.onListUp),this.setState({display:"block"}),this.positionList()}},onHideList:function(e){var t;null!=e&&(t=p.closest(e.target,(function(e){return p.hasClass(e,"drop-list-top")||v&&p.hasClass(e,"drop-list")})),p.hasClass(e.target,"scrollarea-scrollbar")||p.hasClass(e.target,"scrollarea-btn"))||t||(this.unpositionList(),this.setState({display:"none"}),null!=this.removeMousedownListener&&(this.removeMousedownListener(),this.removeMouseupListener(),this.removeTouchstartListener(),this.removeTouchendListener()),b.off(g.timer.COMPLETE,this.onTimerComplete))},saveTouchStart:function(e){var t=r(e.touches||e.changedTouches||[e],1)[0],n=t.pageX,i=t.pageY;this.ptStart={x:n,y:i}},didTouchMove:function(e){if(null==this.ptStart||!y.isMobile)return!1;var t=r(e.changedTouches||e.touches||[e],1)[0],n=t.pageX,i=t.pageY;return!(Math.abs(n-this.ptStart.x)<2||Math.abs(i-this.ptStart.y<2))},onTouchStart:function(e){this.didMouseOver(),this.saveTouchStart(e)},onTouchEnd:function(e){this.didMouseOut(),this.didTouchMove(e)||this.onShowList()},getItemScrollTop:function(){return a.findDOMNode(this.refs.dropdownInner).scrollTop},onListDown:function(e){this.saveTouchStart(e),this.containerScrollTop=this.getItemScrollTop()},onListUp:function(e){this.didTouchMove(e)||this.onHideList(e)},didMouseOver:function(){this.isEnabled()&&this.setState({hovered:!0})},didMouseOut:function(){this.setState({hovered:!1})},autoOpenList:function(){var e;return"block"===this.state.display?(this.onHideList(),this.itemSelected(-1===this.currentIndex?-1:this.refOrder[this.currentIndex].props.idx)):(this.onShowList(),e=this.getPlayerProp("SelectedItemIndex"),this.currentIndex=-1===e?-1:this.refs[["item",e].join("")].props.order),!0},focusItem:function(e){if(-1!==e){var t=this.refOrder[e],n=this.refs.dropdownInner;this.refOrder.forEach((function(t,n){t.setState({hovered:n===e})})),this.currentIndex=e,this.itemSelected(t.props.idx);var i=p.getScrollRecommendation(n,t.el.firstChild);-1!==i&&(n.scrollTop=i)}},initReparenting:function(){this.targetEl=this.el.parentNode,this.dropDown=this.el.firstElementChild,this.container=l.getTopContainer(),this.overlay=l.getTopOverlay(),this.presentation=l.getMainWindowEl()},getItemHeight:function(){return this.getPath("props.model.height")+8},getListHeight:function(){return this.getItemHeight()*this.itemslist.length},positionList:function(){if(this.targetEl.parentNode!==this.container){this.parentEl=this.parentEl||this.el.parentNode.parentNode;var e,t=d.getCurrentWindowSlide(),n=c.localPtToSlide(this.props.parent,0,0),i=c.localPtToGlobal(this.props.parent,0,0),r=c.getSlideMetrics(t.currView),o=r.scaleX,s=1/o,a=this.presentation.getBoundingClientRect(),l=this.state.winScale,u=a.bottom,g=this.getListHeight()+this.getItemHeight();p.setStyles(this.targetEl,h.mapValues({left:((r.left-a.left)*s+n.x)*l,top:((r.top-a.top)*s+n.y)*l},f.pxify)),this.container.style[this.cssTransform]=S.transformScale(o/l),this.container.style.pointerEvents="all",this.container.appendChild(this.targetEl),i.y+g*o>u&&(e=u-i.y,this.dropDown.style.height=f.pxify(e),this.setState({dropDownScrollable:"drop-list-scrollable",scrollBarHeight:e})),p.setStyles(this.overlay,h.extend({display:"block"},h.mapValues({left:0,top:0,width:a.width,height:a.height},f.pxify)))}},unpositionList:function(){this.targetEl.parentNode===this.container&&(p.setStyles(this.overlay,{display:""}),p.setStyles(this.targetEl,{left:0,top:0}),this.container.style[this.cssTransform]=S.transformScale(1),this.parentEl.appendChild(this.targetEl))},onSlideContainerPositioned:function(){"block"===this.state.display&&this.htmlReady(h.flow(this.unpositionList,this.positionList))},onFocus:function(e){this.props.parent.accShadowView.takeFocus()},shadowDomKeyHandler:function(e){var t=e.which,n=x.isDownKey(t);x.isUpKey(t)||n?("none"===this.state.display&&this.autoOpenList(),this.focusItem(f.clamp(0,this.itemslist.length-1,this.currentIndex+(n?1:-1))),e.preventDefault()):x.isActionKey(t)&&(this.autoOpenList(),e.preventDefault())},shadowDomBlur:function(e){var t=e.relatedTarget||document.activeElement;this.el.contains(t)||(this.onHideList(),this.focusItem(this.currentIndex))},onTimerComplete:function(){}})}.call(t,n,t,e))||(e.exports=i)},4600:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),r=n(882),o=n(3151),s=DS.dom;return i.createClass({mixins:[t],displayName:"DropListSlideObject",componentWillMount:function(){this.droplistEl=i.createElement(o,this.props),this.wrapper=document.createElement("div"),s.setStyles(this.wrapper,{position:"absolute",top:0,left:0}),this.parentableDropList=r.render(this.droplistEl,this.wrapper)},componentDidUpdate:function(){this.parentableDropList.setState({winScale:this.props.winScale})},componentDidMount:function(){this.el.appendChild(this.wrapper)},componentWillUnmount:function(){r.unmountComponentAtNode(this.wrapper)},getSelectedTextData:function(){return this.parentableDropList.state.textdata}})}.call(t,n,t,e))||(e.exports=i)},5491:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(1587),o=n(2540),s=n(5110).DroppableHelper,a=(DS._,DS.utils),l=DS.windowManager,c=DS.pubSub,u=DS.events;return t.createClass({displayName:"DropareaSlideObject",mixins:[i,r,o],getInitialState:function(){return{backgroundVisible:!0}},shortEvents:{model:{setReview:"onSetReview"}},onSetReview:function(e){e&&this.performReview()},performReview:function(){var e=this,t=this.getPath("props.model.style"),n=this.getPath("props.model.reviewdata"),i=a.getPath(this.dropChild,"props.model.reviewdata"),r=a.hexify(this.props.model.get("reviewCorrectColor")||"0x008000"),o=a.hexify(this.props.model.get("reviewIncorrectColor")||"0xFF0101");"matching"===t?DS.flagManager.updatedThemeColorsEnabled?(e.setState({isDropChild:!1}),e.setState({reviewStroke:o}),e.dropChild&&(e.dropChild.setState({isDropChild:!0}),e.dropChild.setState({reviewStroke:o}),n===i&&(e.dropChild.resetXPos(),e.setState({reviewStroke:r}),e.dropChild.setState({reviewStroke:r})))):e.dropChild&&n===i?(e.setState({reviewDot:"drop-correct"}),e.dropChild.setState({reviewDot:"drag-correct"}),e.dropChild.resetXPos()):e.setState({reviewDot:"drop-incorrect"}):i?this.setState({reviewStroke:r}):this.setState({reviewStroke:o})},componentDidMount:function(){var e=this;this.style=this.getPath("props.model.style"),this.droppableHelper=new s(this.el,{data:this}),this.htmlReady(this.resumeReview),c.once(u.window.MAIN_CHANGED,(function(){e.droppableHelper.unregister()}))},componentWillUnmount:function(){this.droppableHelper.unregister()},resumeReview:function(){this.parentSlide=l.getCurrentWindow().getCurSlide(),this.dragItemViews=this.parentSlide.getSlideObjectViews("dragitem"),"matching"===this.style?this.addMatchingDropChild():this.addWordBankDropChild()},addWordBankDropChild:function(){var e;this.dragItemViews.forEach((function(t){t.getPlayerProp("SelectedItem")>=0&&(e=t.refs.innard)})),e&&e.reconnectDrop(this)},addMatchingDropChild:function(){this.dragItemViews.forEach(function(e){if(e.getPlayerProp("slideIndex")===this.getPlayerProp("SelectedItem")){var t=e.refs.innard;e.setPlayerProp("RawXPos",t.getDropSnapX(this.props.model)),e.setPlayerProp("RawYPos",this.getPlayerProp("RawYPos")),this.setDropChild(t)}}.bind(this))},setDropChild:function(e){var t=a.getPath(e,"props.model.connectdata");this.setPlayerProp("SelectedItem",e.getPlayerProp("slideIndex")),this.setPlayerProp("DragConnectData",t),this.setPlayerProp("TimelineControlled",!1),this.dropChild=e,this.dropChild.drop=this},disconnect:function(){this.dropChild.drop=null,this.dropChild=null,this.setPlayerProp("DragConnectData",""),this.setPlayerProp("SelectedItem",-1)},isTabbable:function(){return-1===this.getPlayerProp("SelectedItem")||"matching"===this.style},getDropChild:function(){return this.dropChild}})}.call(t,n,t,e))||(e.exports=i)},4478:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t,i=n(8698),o=n(3305),s=n(4242),a=n(1797),l=n(3949),c=n(8907),u=DS,h=u._,d=u.utils,p=u.TweenLite,f=u.detection,g=f.browser,m=f.deviceView.isMobile,v=u.vow,y=u.events,S=u.keyManager,b=u.appState,w=u.globalEventHelper.addBodyListener,x=u.constants,C=u.resolver,E=u.pubSub;return o.createClass({completeHook:h.noop,displayName:"ExpandingLabelSlideObject",mixins:[i],shortEvents:{model:(t={},t[l.OBJECT_ACTION]="onObjectAction",t)},componentDidMount:function(){this.label=this.find(".expanding-label"),this.content=this.find(".expanding-label-content"),this.initDepth=this.props.model.parent.depth(),this.content.style.visibility="hidden",this.onShown(this.prepare),this.scrollArea=this.findComponent("ScrollAreaSlideObject"),this.listenTo(b,y.player.ACCESSIBLE_TEXT_CHANGED,this.onAccessibleTextChanged),this.bindEvents()},componentDidUpdate:function(){var e=this.props,t=e.model,n=e.winScale,i=[t.get("arrowxpos"),t.get("arrowypos"),0].map((function(e){return d.pxify(e*n)})).join(" ");p.set(this.el,{transformOrigin:i}),this.el.style.transformOrigin=i,this.bindEvents()},componentWillUnmount:function(){this.killAllTweens(),this.stopListening()},componentWillMount:function(){var e=this.props.model;this.prepared=v.Deferred(),this.startHeight=this.props.model.getBounds().height+6+3,this.arrowSize=a.calcArrowLength(this.props.playerProps.width,this.props.playerProps.height,e.get("arrowxpos"),e.get("arrowypos")),this.calcAlignment().calcLabelSize().calcLabelTranslate().calcLabelPos(),this.listenTo(e.getLayer().timeline(),y.timeline.BEFORE_SEEK_UPDATE,this.hideComplete),this.actionConfig={showcomplete:this.showComplete,hidecomplete:this.hideComplete,showtitle:this.showTitle,hidetitle:this.hideTitle,togglecontent:this.toggleContent},m&&(this.actionConfig.showtitle=this.showComplete,this.actionConfig.hidetitle=this.hideComplete,this.actionConfig.togglecontent=this.toggleComplete)},onAccessibleTextChanged:function(e){this.setState({accessibleText:e})},bindEvents:function(){var e=this;this.findAllComponents("VectorText").concat(this.findAllComponents("VariableText")).concat(this.findAllComponents("RichVariableText")).concat(this.findAllComponents("AccessibleText")).forEach((function(t){e.stopListening(t),e.listenTo(t,{textHit:e.props.textHit,textOver:e.props.textOver,textOut:e.props.textOut})}))},svg:function(){return s.getSvgFromData(this.props.model,this)},shouldShowContent:function(){return this.props.playerProps.Expanded},patternFillId:function(){return"pattern-fill-"+this.props.model.id},prepare:function(){var e=this.props,t=e.model,n=e.winScale,i=[t.get("arrowxpos"),t.get("arrowypos"),0].map((function(e){return d.pxify(e*n)})).join(" ");this.labelProgress={tweenPercent:0},this.contentProgress={tweenPercent:0},this.updateLabel(),p.set(this.el,{scaleX:0,scaleY:0,transformOrigin:i}),this.el.style.transformOrigin=i,this.content.style.visibility="",this.setupTweens(),this.prepared.resolve()},setupTween:function(e){var t=this.tweenedNodes;return t=h(t).push(e.node).compact().uniq().value(),this.tweenedNodes=t,this[e.name]=new p(e.node,e.duration,e.opts),this},setupTweens:function(){var e=this,t=[{name:"titleTween",node:this.el,duration:.3,opts:{scaleX:1,scaleY:1,onComplete:this.onTitleComplete,onReverseComplete:function(){e.props.model.parent.prop("depth",e.initDepth)},onStart:function(){g.isFF&&r(e.el.querySelectorAll("svg")).forEach((function(e){e.style.transformOrigin="0 0",e.style.transform="translate3d(0, 0, 0) scale3d(1, 1, 1.01)"}))},paused:!0}},{name:"labelTween",node:this.labelProgress,duration:.3,opts:{tweenPercent:1,paused:!0,onUpdate:this.updateLabel}},{name:"contentTween",node:this.contentProgress,duration:.3,opts:{tweenPercent:1,paused:!0,onUpdate:this.updateContent,onComplete:this.onContentComplete,onReverseComplete:this.onContentReverseComplete}}];return this.tweenedNodes=[],t.forEach((function(t){return e.setupTween(t)})),this},killAllTweens:function(){return null!=this.tweenedNodes&&this.tweenedNodes.forEach((function(e){return p.killTweensOf(e)})),this},showComplete:function(){return this.prepared.then(function(){this.props.playerProps.Expanded||(this.props.model.trigger(y.elso.TOGGLE_EXPANDED,!0),this.showTitle(!0).then(function(){1===this.currentTween.progress()?this.showContent():this.completeHook=this.showContent}.bind(this)))}.bind(this))},hideComplete:function(){return this.prepared.then(function(){this.props.playerProps.Expanded||this.contentTween.isActive()?this.hideContent().then(function(){this.completeHook=this.hideTitle}.bind(this)):(this.currentTween=h.noop,this.hideTitle())}.bind(this))},toggleContent:function(){this.shouldShowContent()?this.hideContent():(this.showTitle(!0),this.showContent())},toggleComplete:function(){this.props.playerProps.Expanded?this.hideComplete():this.showComplete()},contentWillShow:function(e){return this.completeHook===this.showContent&&"hidecomplete"!==e},wasToggledMultipleTimes:function(e,t){if(m){if("onrollout"===t&&"hidecomplete"===e&&"togglecontent"===this.prevCommand)return!0;if("onrollover"===this.prevEventType&&"showcomplete"===this.prevCommand&&"onrollout"===t&&"hidecomplete"===e&&!this.shouldShowContent())return!0}return!1},onObjectAction:function(e,t){var n=e.command,i=t&&t.eventType;this.wasToggledMultipleTimes(n,i)||("togglecontent"===n||this.prevCommand!==n||S.isShowFocus)&&(this.prevCommand=n,this.prevEventType=i,this.contentWillShow(n)||(this.actionConfig[n](),function(){var e=this;g.isChrome&&"showtitle"===n&&this.afterHtmlReady((function(){e.forceUpdate()}))}.call(this),"showtitle"===n&&this.repositionLabel()))},triggerObjectEvent:function(e){this.props.model.executeFilteredPlayerEvent((function(t){return t.eventName===e}),"onobjectevent")},calcAlignment:function(){var e,t,n=this.props.model,i=n.get("arrowxpos"),r=n.get("arrowypos"),o="",s="";return r<=0?s="bottom":r>=this.props.playerProps.height&&(s="top"),i<=0?(o="right",i<0&&(t=!0)):i>=this.props.playerProps.width&&(o="left",i>this.props.playerProps.width&&(t=!0)),e=h(t?[o,s]:[s,o]).compact().join("-"),this.alignment=e,this},calcLabelSize:function(){var e=this.arrowSize+2*this.props.model.get("borderwidth");return this.labelSize={width:this.props.playerProps.width+e,height:this.props.playerProps.height+e},this},calcLabelTranslate:function(){var e=a.calcTranslate(this.props.model.get("arrowxpos"),this.props.model.get("arrowypos")),t=this.props.model.get("borderwidth"),n=t%2?.5:0;return e.x+=t+n,e.y+=t+n,e.offX-=t,e.offY-=t,this.labelTranslate=e,this},calcLabelPos:function(){var e=this.props.model,t=this.alignment,n=0;return"right"===t||"left"===t?n=e.get("arrowypos")-this.startHeight/2:h.includes(t,"top")&&(n=e.get("height")-this.startHeight),this.labelPos={x:0,y:n},this},showTitle:function(e){return e||0!==this.props.model.get("textLib").length?this.prepared.then(function(){this.currentTween=this.titleTween,this.currentTween.play(),this.completeHook=h.noop}.bind(this)):this.prepared},onTitleComplete:function(){this.completeHook()},hideTitle:function(){return this.prepared.then(function(){this.completeHook=this.hideTitle,this.shouldShowContent()||this.currentTween===this.contentTween||(this.currentTween=this.titleTween,this.currentTween.reverse(),this.completeHook=h.noop)}.bind(this))},keyupHandler:function(e){if(e.which===x.keys.ESCAPE){this.hideComplete();var t=this.props.model.absoluteId.replace("_expandinglabel","");C.resolvePath(t).currView.accShadowView.takeFocus()}},showContent:function(){return this.prepared.then(function(){this.removeBodyListener=w("keyup",this.keyupHandler,!0),E.trigger(y.elso.SHOW_CONTENT_START),this.currentTween=this.contentTween,this.currentTween.play(),this.labelTween.play(),this.triggerObjectEvent("contentin"),this.props.model.trigger(y.elso.TOGGLE_EXPANDED,!0),1===this.currentTween.progress()&&this.onContentComplete()}.bind(this))},updateChildVisibility:function(){h.result(this.props.model,["currView","updateTrueVisibility"])},onContentReverseComplete:function(){this.props.setPlayerProp("Expanded",!1),this.updateChildVisibility(),this.currentTween=null,this.completeHook(),this.triggerObjectEvent("contentoutcomplete"),E.trigger(y.elso.HIDE_CONTENT_COMPLETE)},onContentComplete:function(){this.completeHook=h.noop,this.props.setPlayerProp("Expanded",!0),this.updateChildVisibility(),this.triggerObjectEvent("contentincomplete"),c.setMatrixDirty(this.props.model.currView),null!=this.scrollArea&&this.scrollArea.calcScrolling()},hideContent:function(){return this.prepared.then(function(){null!=this.removeBodyListener&&(this.removeBodyListener(),this.removeBodyListener=null),this.currentTween=this.contentTween,this.currentTween.reverse(),this.labelTween.reverse(),this.triggerObjectEvent("contentout"),this.props.model.trigger(y.elso.TOGGLE_EXPANDED,!1),0===this.currentTween.progress()&&this.onContentReverseComplete()}.bind(this))},calcTweenScale:function(){for(var e,t=this.props.model,n=1;t;)e=t.currView,t.isSlideObject&&null!=e&&null!=e.tweenedConfig&&(n*=d.pctToDec(e.tweenedConfig.props.ScaleY)),t=t.parent;return n},getPercentHeight:function(e){return this.startHeight+(this.props.playerProps.height-this.startHeight)*e},updateContent:function(){null!=this.contentProgress&&(this.content.style.height=d.pxify(this.getPercentHeight(this.contentProgress.tweenPercent)*this.props.winScale))},repositionLabel:function(){null!=this.labelProgress&&this.sizeLabel(this.props)},sizeLabel:function(e){var t=e.winScale,n=e.model.get("objects"),i=null!=n&&n.length>0?this.labelProgress.tweenPercent:0;this.label.style.height=d.pxify(this.getPercentHeight(i)*t),this.label.style[this.cssTransform]="translate(0px, ".concat(this.labelPos.y*d.invertPercent(i)*t,"px)"),this.content.style.height=this.label.style.height},updateLabel:function(){var e=this.props,t=e.winScale,n=e.model;this.sizeLabel({winScale:t,model:n});var i=this.label.getBoundingClientRect();this.lastGoodHeight=i.height,this.content.style.height=this.label.style.height;var r=this.el.getBoundingClientRect(),o=this.props.model.getSlide().calculateTotalScale(),s=-(r.top-i.top),l=a.labelPath({width:this.props.playerProps.width,top:s*o/this.calcTweenScale(),height:i.height*o,radius:10,dir:this.alignment,arrowX:this.props.model.get("arrowxpos"),arrowY:this.props.model.get("arrowypos")});this.setState({labelPath:l})},getIsVisible:function(){return this.props.playerProps.Expanded},getContentStyles:function(){var e=this,t=this.props.winScale;return window.requestAnimationFrame((function(){e.repositionLabel()})),{paddingTop:6*t,paddingBottom:3*t,paddingLeft:6*t,paddingRight:6*t}}})}.call(t,n,t,e))||(e.exports=i)},6472:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),r=(DS._,DS.slideObjectUtils);return i.createClass({mixins:[t],displayName:"GroupingSlideObject",getFocusTarget:function(){return r.getGroupFocusTarget(this)}})}.call(t,n,t,e))||(e.exports=i)},4820:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(8698),r=(n(1587),n(3305)),o=n(882),s=n(2658),a=n(5840),l=n(949),c=n(7877),u=DS._,h=DS.detection,d=DS.events,p=DS.windowOpen,f=DS.windowManager;return r.createClass({displayName:"ImageSlideObject",mixins:[i],subscriptions:(t={},t[d.slideContainer.POSITIONED]="onPositioned",t),componentWillMount:function(){this.presentationCanvas=c.getPresoCanvas()},componentDidMount:function(){h.deviceView.isMobile&&this.refs.zoom&&l.tap(this,this.refs.zoom,this.zoom)},getImage:function(){return s.getAssetUrl(this.props.model.get("zoomdata").imagedata.assetId)},zoom:function(){"htmlwindow"===this.props.model.get("zoomtype")?p.open({url:this.getImage(),previewNotification:"PREVIEW_ZOOM_IMAGE"}):this.getOrCreateZoomImage().zoomIn()},getOrCreateZoomImage:function(){return o.unmountComponentAtNode(this.presentationCanvas),this.renderZoomImage()},renderZoomImage:function(){var e=1/f.getCurrentWindowSlide().calculateTotalScale(),t=r.createElement(a,{imageModel:this.props.model,imageElement:this.find(".zoom"),imageUrl:this.getImage(),width:this.props.model.get("zoomdata").html5data.width*e,height:this.props.model.get("zoomdata").html5data.height*e,transform:{xOffset:this.props.model.get("xOffset"),yOffset:this.props.model.get("yOffset"),xPos:this.props.playerProps.RawXPos,yPos:this.props.playerProps.RawYPos,width:this.props.playerProps.width*e,height:this.props.playerProps.height*e}});return this.zoomImage=o.render(t,this.presentationCanvas),this.zoomImage},onPositioned:function(){var e=this.zoomImage;null!=e&&e.isVisible()&&this.htmlReady(this.renderZoomImage)},onClick:function(){h.device.isMobile||this.zoom()},toggleZoom:function(){null!=this.zoomImage&&this.zoomImage.isZoomingIn?this.zoomImage.zoomOut({stopPropagation:u.noop}):this.zoom()},closeZoom:function(){null!=this.zoomImage&&this.zoomImage.zoomOut({stopPropagation:u.noop})}})}.call(t,n,t,e))||(e.exports=i)},2977:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=DS.vendorOverrides,o=DS.utils;return t.createClass({displayName:"LinearBackgroundGradient",mixins:[i],fill:function(){return this.props.fill||this.props.layerModel.background().fill},stopPct:function(e){return o.stopPct(e.stop)},stopProps:r.stopColorProps||function(e){return{stopColor:o.rgbify(e.rgb),stopOpacity:o.opacify(e.alpha)}}})}.call(t,n,t,e))||(e.exports=i)},4753:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(7940),s=DS._,a=DS.detection,l=DS.utils,c=DS.constants,u=(l=DS.utils,DS.events),h=(DS.scaler,s.memoize(s.partial(l.quote,c.MOBILE_FONT)));return t.createClass({displayName:"MessageWindow",mixins:[i,r],subscriptions:o({},u.window.SCALE,"onResize"),getInitialState:function(){return{scale:this.props.getWinScale()}},onResize:function(){this.setState({scale:this.props.getWinScale()})},windowType:function(){return this.state.currentSlide?s.kebabCase(this.state.currentSlide.id).split("-").slice(0,3).join("-"):""},isScaleable:function(){return this.isResumeWin()},isResumeWin:function(){return"resume-prompt-slide"===this.windowType()},componentDidUpdate:function(){this.adjustForMobileLayout()},createResumeText:function(){var e=document.createElement("style");e.innerHTML=[".message-window.resume-prompt-slide .slide-object:nth-child(2) button::after {",' content: "',DS.stringTabler.getString("continueresponsive"),'"; } ',".message-window.resume-prompt-slide .slide-object:nth-child(3) button::after {",' content: "',DS.stringTabler.getString("restart"),'"; }'].join(""),document.body.appendChild(e)},getScrollAreaText:function(){return this.findAll('[data-acc-text]:not([data-acc-text=""]):not(.slide-object-button)').map((function(e){return e.getAttribute("data-acc-text")})).join(" ")},adjustForMobileLayout:function(){var e;a.deviceView.isClassicMobile&&(e=this.find(".message-window-heading"),s.union([e],e.querySelectorAll("*")).forEach((function(e){e.style.fontFamily=h()})),this.isResumeWin()?this.createResumeText():(document.body.classList.add("resume-shown"),this.htmlReady(function(){var e=this.getScrollAreaText();this.setState({mobileText:e})}.bind(this)),DS.pubSub.trigger(DS.events.messageWindow.SHOWN)))}})}.call(t,n,t,e))||(e.exports=i)},6523:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(3305),r=n(8698),o=n(4196),s=DS._,a=DS.dom,l=DS.playerGlobals,c=DS.pubSub,u=DS.events,h=DS.detection,d=DS.focusManager,p=DS.mobileChromeKiller,f=DS.vendorOverrides,g=(DS.flagManager,null!=f.getAudioInitEvent?f.getAudioInitEvent:s.constant("touchend"));return i.createClass({displayName:"MobileStartOverlay",mixins:[r],subscriptions:(t={},t[u.request.START]="onMobileStart",t[u.presentation.EXIT_FULLSCREEN]="onExitFullScreen",t[u.presentation.ENTER_FULLSCREEN]="onEnterFullScreen",t),componentDidMount:function(){var e=this,t=function(){var t=DS.views.model.frame.controlOptions.courseOptions;e.setState({titleText:DS.stringTabler.getString(DS.constants.strings.PROJECT_TITLE),resumeText:DS.stringTabler.getString("resume"),restartText:DS.stringTabler.getString("restart"),fontScale:h.theme.isUnified?DS.frameModel.frame.fontscale/100:1,thumbnailEnabled:t&&t.thumbnailEnabled,thumbnailUrl:t?t.thumbnailUrl:""})};null!=DS.frameModel?t():c.on(DS.events.frame.MODEL_READY,t),this.refs.playIcon.addEventListener(g(),this.onStart),this.htmlReady(function(){h.deviceView.isUnifiedMobile&&null!=this.refs.resume&&(this.refs.resume.addEventListener(g(),this.onStart),this.refs.restart.addEventListener(g(),this.onReset))}.bind(this))},getInitialState:function(){return{visible:!1}},onFocus:function(e){d.setFocusRectOn(this.refs[e])},onEnterFullScreen:function(){document.body.classList.add("is-fullscreen")},onExitFullScreen:function(){document.body.classList.remove("is-fullscreen"),h.env.is360&&h.deviceView.isPhone&&(c.trigger(u.mobile.ENTER_THUMB_VIEW),c.trigger(u.slide.PAUSE_TIMELINE),DS.renderEngine.showMobileStartOverlay(),this.setState({visible:!0}),this.restarted=!0)},onReset:function(){o.executeAction({kind:"resume_player",resume:!1},{context:l.presentation}),this.onStart()},onMobileStart:function(e){var t,n=this;this.rejectDeferred=e.rejectDeferred,a.addClass(document.body,"resume-shown"),t={visible:!0},e.mobileStartAsPrompt&&(t.isResumePrompt=!0),this.setState(t,(function(){var e=null!=n.refs.resume?n.refs.resume:n.refs.playIcon;h.env.is360||e.focus(),c.trigger(u.startOverlay.READY)}))},onStart:function(){h.env.isPhonePreview||(c.trigger(u.loader.UNMUTE),a.removeClass(document.body,"resume-shown"),c.trigger(u.course.AUDIO_START),this.restarted?c.trigger(u.mobile.EXIT_THUMB_VIEW):(this.rejectDeferred(),p.init()),this.setState({visible:!1}),h.env.is360&&h.deviceView.isPhone&&(c.trigger(u.presentation.ENTER_FULLSCREEN),c.trigger(u.slide.PLAY_TIMELINE)),DS.renderEngine.killMobileStartOverlay())}})}.call(t,n,t,e))||(e.exports=i)},4367:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698);return t.createClass({mixins:[i],displayName:"ObjectSlideBackground",getX:function(){return-this.props.playerProps.RawXPos},getY:function(){return-this.props.playerProps.RawYPos},getXRot:function(){return this.props.playerProps.RawXPos+this.props.playerProps.rotateXPos},getYRot:function(){return this.props.playerProps.RawYPos+this.props.playerProps.rotateYPos},getRot:function(){return-this.props.playerProps.Rotation},getSlideHeight:function(){return this.props.model.getSlide().get("height")},getSlideWidth:function(){return this.props.model.getSlide().get("width")},getSlideId:function(){return this.props.model.getSlide().get("id")}})}.call(t,n,t,e))||(e.exports=i)},3263:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305);DS._;return i.createClass({mixins:[t],displayName:"PlaceHolderSlideObject"})}.call(t,n,t,e))||(e.exports=i)},1694:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698);return t.createClass({displayName:"PresentationOverlay",mixins:[i]})}.call(t,n,t,e))||(e.exports=i)},4286:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}i=function(e){"use strict";var t=n(3305),i=n(8698),o=n(4484),s=n(5734),a=n(7523).updateBlockRuns,l=DS._,c=DS.utils,u=DS.svgUtils,h={},d=t.createClass({displayName:"RichVariableText",mixins:[i],initialLinkColors:{},getInitialState:function(){return this.parseTemplate(),this.parseVars()},componentWillMount:function(){this.shadowFilterId=l.uniqueId("text-shadow-filter-"),this.totalBigArea=0,this.areaInfo=[],this.observeVarChanges(),this.ancestors=[],this.props.model.forEachAncestor(function(e,t){(e.isSlideObject||e.isSlideLayer)&&this.listenTo(e,{shown:l.partial(this.onAncestorShown,t),hidden:l.partial(this.onAncestorHidden,t)})}.bind(this))},componentWillUnmount:function(){null!=this.stopListeningToVarChanges&&this.stopListeningToVarChanges()},onAncestorShown:function(e){this.ancestors[e]=!0},onAncestorHidden:function(e){this.ancestors[e]=!1},parseVars:function(){var e=this.props.model;return s.parseVectorText(e,this.updateVarText(e))},onMouseDown:function(e){var t=this.getLinkId(e.target);null!=t&&this.setState({activeId:t})},onClick:function(e){e.preventDefault();var t=this.getLinkId(e.target);null!=t&&(h[t]=!0,this.trigger("textHit",t))},onMouseOver:function(e){var t=this.getLinkId(e.target);null!=t&&(this.setState({cursor:"pointer",hoverId:t}),this.trigger("textOver",t))},onMouseOut:function(e){var t=null!=e.relatedTarget&&this.getLinkId(e.relatedTarget);this.setState({cursor:null==t?null:"pointer",hoverId:t,activeId:null});var n=this.getLinkId(e.target);null!=n&&this.trigger("textOut",n)},getLinkId:function(e){return e.getAttribute("data-linkid")},linkIsVisited:function(e){return null!=h[e]},observeVarChanges:function(){return this.stopListeningToVarChanges=this.listenToVarChanges(this.props.model,function(){this.setState(this.parseVars())}.bind(this)),this},getInnerProps:function(){return{transformOrigin:[this.props.originX,this.props.originY].join(" "),transform:[u.transformTranslate(this.props.originX,this.props.originY),u.transformRotate(this.props.rotDeg),this.state.textMtx.toCssTransform(!0)].join(" "),cursor:this.state.cursor}},parseTemplate:function(){var e=arguments;this.origTemplate=this.props.model.vartext();var t=this.origTemplate.blocks.reduce((function(t,n){if(0===n.runs.length)return t;var i=0,s=[],u=n.spans.reduce((function(e,t){if(o.splitTemplateOnTokens(t.text).forEach((function(n){var r=o.parseTemplate(n),a=r.addListeners,c=r.updateString,u=r.hasVars;e.addListeners.push(a),e.updateString.push((function(){var e=c.apply(null,arguments);return u?o.splitFormatted(e,t.style):[l.extend({},t,{text:e})]})),u&&s.push({idx:i,len:n.length,updateString:c}),i+=n.length})),s.length>0&&!n.runsUpdated){for(var a=0,c=s[a],u=r(n.runs),h=0;h<u.length;h++){var d=u[h];if(d.idx<=c.idx&&d.idx+d.len>=c.idx+c.len){var p=[l.extend({},d,{idx:d.idx,len:c.idx-d.idx}),l.extend({},d,c),l.extend({},d,{idx:c.idx+c.len,len:d.len-(c.idx-d.idx+c.len)})],f=l.first(p).len>0;if(u.splice.apply(u,[h,1].concat(r(p.filter((function(e){return e.len>0}))))),h+=f?1:0,!(++a<s.length))break;c=s[a]}}n.runsUpdated=!0,n.runs=u}return e}),{addListeners:[],updateString:[]});return t.addListeners=t.addListeners.concat(u.addListeners),t.updateString.push((function(){return l.extend({},n,{spans:l.flatten(c.juxt(u.updateString).apply(null,e))},{runs:a(n.runs)})})),t}),{addListeners:[],updateString:[]});this.listenToVarChanges=function(){var e=c.juxt(t.addListeners).apply(null,arguments);return c.juxt(e)},this.updateVarText=function(){return l.extend({},this.origTemplate,{blocks:c.juxt(t.updateString).apply(null,arguments)})}},shouldShowLinkHighlight:function(e){return e===this.state.hoverId||e===this.state.activeId||this.linkIsVisited(e)},getLinkStateHighlightColor:function(e){var t=this.getLinkState(e);return null==t?"transparent":null!=t.highlightColor?c.hexify(t.highlightColor):"transparent"},getLinkStateTextColor:function(e,t){var n=this.getLinkState(e);return null==n?this.initialLinkColors[t]:c.hexify(n.textColor)},getLinkStateUnderlineColor:function(e,t,n){var i=this.getLinkState(e);return null==i?n?"transparent":this.initialLinkColors[t]:n&&"underline"!==i.decoration?"transparent":c.hexify(i.textColor)},getLinkState:function(e){var t=this.getLink(e);return null==t?null:t.get(this.getCurrentStateName(e))},getLink:function(e){return l.first(this.props.model.linkdata().filter((function(t){return t.get("id")===e})))},getCurrentStateName:function(e){return e===this.state.activeId?"activeState":e===this.state.hoverId?"hoverState":null!=h[e]?"visitedState":null},getTSpanStyle:function(e){if(null==e.linkId)return e.domStyle;var t=Object.assign({},e.domStyle);return t.fill=this.getLinkStateTextColor(e.linkId,e.linkRef),t},saveInitialLinkColors:function(e){null!=e.linkId&&null==this.initialLinkColors[e.linkRef]&&(this.initialLinkColors[e.linkRef]=e.domStyle.fill)}});return d}.call(t,n,t,e),void 0===i||(e.exports=i)},9110:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(8103),r=n(5193),o=n(3305),s=n(8907),a=DS.dom,l=DS.detection,c=DS.constants,u=DS.events;return o.createClass({displayName:"ScrollAreaSlideObject",mixins:[t,i,r],getInitialState:function(){return{shouldNotScroll:!1,contentHeight:10}},componentWillMount:function(){this.listenTo(this.props.model,"updateScrollHeight",this.onUpdateHeight),this.listenTo(this.props.model,"updateScrollPos",this.onUpdatePos),this.listenTo(this.props.model,u.resume.RESET,this.onResetResume)},onResetResume:function(){this.onUpdatePos(0)},componentDidMount:function(){this.calcScrolling(),this.updateScrollBar()},componentDidUpdate:function(){l.browser.isIE&&(this.scrollingArea.scrollTop=Math.round(this.lastScrollTop*this.props.winScale))},onUpdateHeight:function(){this.setState({contentHeight:this.contentheight()}),this.calcScrolling(!0)},shouldUpdate:function(e,t){return t.isVisible!==this.state.isVisible||t.shouldNotScroll!==this.state.shouldNotScroll||t.contentHeight!==this.state.contentHeight||e.winScale!==this.props.winScale||e.tabIndexDisabled!==this.props.tabIndexDisabled},onUpdatePos:function(e){this.props.model.prop("Position",e),this.htmlReady(function(){this.scrollingArea.scrollTop=e,this.updateScrollBar(e),s.setMatrixDirty(this.props.parent)}.bind(this))},calcScrolling:function(e){var t=this.find(".scrollarea-area"),n=this.contentheight(),i=n<=this.height();this.setState({shouldNotScroll:i,contentHeight:n}),this.props.model.prop("Viewed",i),null==e&&this.setupScrollArea(t)},setupScrollArea:function(e){this.scrollingArea=e,this.scrollingArea.addEventListener("scroll",this.onScroll),this.props.model.prop("Position",0)},onScroll:function(){this.lastScrollTop=this.scrollingArea.scrollTop/this.props.winScale,this.props.model.prop("Position",this.lastScrollTop),this.scrollingArea.scrollHeight-this.scrollingArea.scrollTop<=this.scrollingArea.offsetHeight+5&&this.props.model.prop("Viewed",!0),this.scrollingArea.scrollLeft=0,this.updateScrollBar(this.lastScrollTop),s.setMatrixDirty(this.props.parent)},autoScroll:function(e){var t=e.getBoundingClientRect(),n=this.el.getBoundingClientRect(),i=this.props.winScale,r=0;t.top<n.top?r=-5:t.bottom>n.bottom&&(r=5),l.browser.isIE?this.scrollingArea.scrollTop+=r*i:null!=this.refs.scrollBar&&this.refs.scrollBar.scrollTop(this.refs.scrollBar.scrollTop()+r*i)},updateScrollBar:function(e){var t=this.refs.scrollBar;null==t||l.browser.isIE||(null!=e&&t.scrollTop(e),t.update())},scrollOnKey:function(e){if(!this.state.shouldNotScroll)switch(e.which){case c.keys.DOWN:this.scrollingArea.scrollTop+=10;break;case c.keys.UP:this.scrollingArea.scrollTop-=10;break;case c.keys.PAGE_DOWN:this.scrollingArea.scrollTop+=this.height();break;case c.keys.PAGE_UP:this.scrollingArea.scrollTop-=this.height();break;case c.keys.HOME:this.scrollingArea.scrollTop=0;break;case c.keys.END:this.scrollingArea.scrollTop=this.scrollingArea.scrollHeight}},scroll:function(e){if(!this.state.shouldNotScroll){var t=e?10:-10;this.scrollingArea.scrollTop+=t}},beforeChildScrollFocus:function(e){e&&(this.lastScrollTop=Math.round(this.scrollingArea.scrollTop/this.props.winScale))},childScrollFocus:function(e){var t=a.getScrollRecommendation(this.scrollingArea,e.el);-1!==t&&(this.scrollingArea.scrollTop=t),this.scrollingArea.scrollLeft=0,this.refs.contentArea.scrollTop=0,this.refs.contentArea.scrollLeft=0},isTabbable:function(){return!this.state.shouldNotScroll},contentheight:function(){return this.props.model.contentheight()},contentwidth:function(){return this.props.model.contentwidth()},height:function(){return this.props.playerProps.height},width:function(){return this.props.playerProps.width}})}.call(t,n,t,e))||(e.exports=i)},621:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=(n(4641),n(8907)),o=DS._,s=DS.detection,a=DS.utils,l=(DS.windowManager,DS.dom),c=DS.globalEventHelper,u=c.addBodyListener,h=(c.removeBodyListener,s.device.isMobile?"touchmove":"mousemove"),d=s.device.isMobile?"touchend":"mouseup";return t.createClass({displayName:"ScrollBar",mixins:[i],componentWillMount:function(){this.lastScrollTop=0},componentDidMount:function(){this.contentHeight=this.props.parent.contentheight(),this.yPos=this.props.offY,this.scrollingArea=this.props.parent.refs[this.props.refName||"scrollArea"],this.parentSlideObject=function(e){for(var t=e.props.parent;a.getPath(t,"props.isInnard",!1);)t=t.props.parent;return t}(this),this.scrollingArea.addEventListener("wheel",this.onWheel),s.deviceView.isClassicDesktop&&(this.scrollingArea.style.overflowY="hidden"),this.props.initSelf&&(this.update(),this.scrollingArea.addEventListener("scroll",this.storeAndUpdate))},componentWillUnmount:function(){this.scrollingArea.removeEventListener("wheel",this.onWheel),this.scrollingArea.removeEventListener("scroll",this.storeAndUpdate)},componentDidUpdate:function(){this.update(),this.scrollTop(this.lastScrollTop)},scrollTop:function(e){if(null==e)return this.lastScrollTop;var t=this.props.winScale,n=this.getMaxScroll();e=a.clamp(0,n,e),this.lastScrollTop=e,this.scrollingArea.scrollTop=e*t},storeAndUpdate:function(){this.lastScrollTop=this.scrollingArea.scrollTop/this.props.winScale,this.update()},update:function(){if(!this.scrollByButton){var e=this.props.winScale,t=this.contentHeight,n=this.props.height,i=n/t*n,r=this.lastScrollTop/(t-n);r=a.clamp(0,1,r),r*=1-i/n,this.updateScrollBtn({height:a.pxify(i*e),top:a.decToPct(r,!0)})}},updateScrollBtn:function(e){var t=this;["scrollBtn","after"].forEach((function(n){var i=t.refs[n];o.forEach(e,(function(e,t){i.style[t]=e}))}))},onAutoScroll:function(e){l.hasClass(e.target,"scrollarea-btn")||(this.clickDeltaY=parseFloat(this.refs.scrollBtn.style.height)/this.props.winScale/2,this.onDragBtn(e),this.onScrollBtnDown(e))},getCursorPos:function(e){var t=1===a.getPath(e,"touches.length")?e.touches[0]:e;return r.globalPtToSlideObject(this.parentSlideObject,t.pageX,t.pageY)},onScrollBtnDown:function(e){this.removeMoveListener=u(h,this.onDragBtn),this.removeDragEndListener=u(d,this.onEndScrollDrag);var t=this.refs.scrollBtn,n=a.pctToDec(t.style.top)*this.props.height;this.clickDeltaY=this.getCursorPos(e).y-this.yPos-n,this.scrollByButton=!0,e.preventDefault()},onEndScrollDrag:function(){this.scrollByButton=!1,null!=this.removeMoveListener&&this.removeMoveListener(),null!=this.removeDragEndListener&&this.removeDragEndListener()},onDragBtn:function(e){var t=this.props.winScale,n=this.refs.scrollBtn,i=this.props.height,r=parseFloat(n.style.height)/t,o=i-r,s=this.getCursorPos(e).y-this.yPos-this.clickDeltaY,l=a.clamp(0,1,s/o);this.updateScrollBtn({top:a.decToPct(l*(1-r/i),!0)}),this.scrollTop(this.getMaxScroll()*l),e.preventDefault()},getMaxScroll:function(){return this.contentHeight-this.props.height},onWheel:function(e){var t=e.deltaY,n=DS.utils.getPath(this.props.parent,"getItemHeight",Math.abs(t));this.scrollTop(this.scrollTop()+n*(t>0?1:-1)),this.update()}})}.call(t,n,t,e))||(e.exports=i)},258:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(2540),r=n(3305);DS._;return r.createClass({mixins:[t,i],displayName:"SequenceCtrlDragItem",getInitialState:function(){return this.createInitialState()},createInitialState:function(){return{backgroundVisible:!0,Rotation:0,ScaleX:100,ScaleY:100}},enabledHook:function(){return this.props.parent.getPlayerProp("Enabled")}})}.call(t,n,t,e))||(e.exports=i)},5886:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),r=n(5110).DroppableHelper;DS._;return i.createClass({mixins:[t],displayName:"SequenceCtrlDrop",getInitialState:function(){return{topBar:!1,bottomBar:!1,reviewColor:"black",reviewIdx:this.props.idx}},componentDidMount:function(){this.setupDragging()},componentWillReceiveProps:function(e){this.props.parent.isEnabled()&&this.setState({reviewIdx:e.idx})},componentWillUnmount:function(){this.droppableHelper.unregister()},setupDragging:function(){this.droppableHelper=new r(this.el,{data:this,slideOwner:this.props.slideOwner})},setDropChild:function(e){this.dropChild=e,e.drop=this},getDropChild:function(){return this.dropChild},showHideBar:function(e){if(e.el){var t=this.el.getBoundingClientRect();e.el.getBoundingClientRect().top>t.top+t.height/3?this.setState({topBar:!1,bottomBar:!0}):this.setState({topBar:!0,bottomBar:!1})}},hideBar:function(){this.setState({topBar:!1,bottomBar:!1})}})}.call(t,n,t,e))||(e.exports=i)},7810:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(1587),r=n(5110).DraggableHelper,o=n(3305),s=DS._,a=DS.windowManager,l=DS.utils,c=DS.dom,u=DS.svgUtils;return o.createClass({mixins:[t,i],displayName:"SequenceCtrlSlideObject",shortEvents:{model:{setReview:"onSetReview"}},getInitialState:function(){return{itemslist:[]}},onSetReview:function(e){this.displayReview(e)},componentWillMount:function(){this.resetIndex(),this.getItemsList()},componentDidMount:function(){this.onShown(this.setupDragging)},componentDidUpdate:function(e,t){var n=this;t.ItemOrder!==this.getPlayerProp("ItemOrder")&&this.getItemsList(),this.itemslist.forEach((function(e,t){var i=n.refs["sequenceItem"+t];null!=i&&null!=i.loc&&n.setItemPosition(i.parent,i.loc)}))},getItemsList:function(){var e,t,n,i=this.getPlayerProp("ItemOrder");i?(e=i.split(""),t=this.getPath("props.model.itemsListOrder"),this.itemslist=[],e.forEach(function(e){this.itemslist.push(t[e])}.bind(this))):this.itemslist=this.getPath("props.model.itemslist"),n=this.itemslist.length.toString(),this.numWidth=28+10*(n.length-1),this.setState({itemslist:this.itemslist})},setupDragging:function(){this.parentSlide=a.getCurrentWindow().getCurSlide(),this.container=this.parentSlide.el.querySelector(".slide-top-container"),this.scrollArea=this.find(".sequence-ctrl-scroll-area"),this.scrollArea.addEventListener("scroll",this.onScroll),this.checkIfViewed(),this.setupItems(),this.checkShouldDisable(),this.shouldShowScroll(),this.displayReview(this.reviewMode)},checkIfViewed:function(){this.scrollArea.scrollHeight-this.scrollArea.scrollTop<=this.scrollArea.offsetHeight+5&&this.props.model.prop("Viewed",!0)},onScroll:function(){this.checkIfViewed()},shouldShowScroll:function(){this.scrollArea.scrollHeight>this.scrollArea.offsetHeight&&(this.scrollArea.style.height=this.lastHeight,this.scrollArea.style.overflowY="scroll",this.setState({shouldScroll:!0}))},contentheight:function(){return this.lastHeight},getReviewElementSize:function(){var e=this,t=this.itemslist.reduce((function(t,n,i){return t+e.refs["sequenceItem"+i].props.model.height}),0)/this.itemslist.length;return Math.min(t,28)},setupItems:function(){var e=0;DS.flagManager.updatedThemeColorsEnabled&&(this.numWidth=this.getReviewElementSize(),e=3),this.items=[];var t=0,n=this.numWidth+e,i=11;this.itemslist.forEach(function(e,o){var s=this.refs["sequenceItem"+o],a=s.props.model.height;s.idx=o,s.itemdata=this.itemslist[o].itemdata,s.parent=s.el.parentNode,s.barInfo=null,s.didMouseOut(),this.items.push(s),this.setPlayerProp("_pos"+o,s.itemdata),i=(t=i)+a+16,s.loc={x:n,y:t},this.lastHeight=i,this.setItemPosition(s.parent,s.loc),s.draggableHelper&&s.draggableHelper.disable(),s.draggableHelper=new r(s,this.getDraggableConfig(s.parent),s.parent),s.onDragItemDown=function(){this.idx=s.idx}.bind(this),s.el.addEventListener("mousedown",s.onDragItemDown),s.draggableHelper.getDropTarget("drag").params.data.setDropChild(s)}.bind(this))},checkShouldDisable:function(){this.getPlayerProp("Enabled")||this.items.forEach((function(e){e.draggableHelper.disable()}))},displayReview:function(e){this.reviewMode=e,e&&null!=this.items&&this.items.forEach(function(e,t){var n=this.props.model.getIndexByData(e.itemdata),i=n===t?l.hexify(this.props.model.get("reviewCorrectColor")||"0x008000"):l.hexify(this.props.model.get("reviewIncorrectColor")||"0xFF0101");e.drop.setState({reviewColor:i,reviewIdx:n,reviewMode:!0})}.bind(this))},getDraggableConfig:function(e){return{containment:this.parentSlide.el,ondragstart:this.onDragStart,ondragend:this.onDragEnd,ondrop:this.onDrop,ondrag:this.onDrag,ondropleave:this.onDragOut,ondropdrag:this.onDraggingOver,getPosition:s.partial(this.getDragPosition,e)}},setItemPosition:function(e,t){var n=t.x,i=t.y,r=this.props.winScale;e.style[this.cssTransform]=u.transformTranslate(l.pxify(n*r),l.pxify(i*r))},resetPositionItem:function(e){this.scrollArea.appendChild(e.draggableHelper.el),this.setItemPosition(e.draggableHelper.el,e.loc)},onDrag:function(e){s.toArray(document.querySelectorAll(".sequence-ctrl-bar")).every((function(t,n){var i="block"===t.style.display;return i&&(e.view.currY=t.getBoundingClientRect().top),!i}))},resetIndex:function(){this.idx=-1},childScrollFocus:function(e){var t=this.scrollArea,n=c.getScrollRecommendation(t,e.el);-1!==n&&(t.scrollTop=n)},insertItem:function(e){var t;this.scrollArea.appendChild(e.draggableHelper.el),this.items=s.sortBy(this.items,(function(e){return e.currY})),t=this.items.reduce(function(e,t,n){return e+this.props.model.getIndexByData(t.itemdata)}.bind(this),""),this.setPlayerProp("ItemOrder",t)},checkForAutoScroll:function(){var e=this.currDraggable.getBoundingClientRect(),t=this.scrollArea.getBoundingClientRect(),n=this.props.winScale;e.top<t.top?(this.scrollArea.scrollTop-=5*n,this.updateItemYs()):e.bottom>t.bottom&&(this.scrollArea.scrollTop+=5*n,this.updateItemYs()),this.autoScrollId=window.requestAnimationFrame(this.checkForAutoScroll)},getDragPosition:function(e){var t=e.getBoundingClientRect(),n=this.parentSlide.el.getBoundingClientRect();return{x:t.left-n.left,y:t.top-n.top}},updateItemYs:function(){this.items.forEach((function(e){e.currY=e.parent.getBoundingClientRect().top}))},onDragEnd:function(e,t){var n=e.view;e.el.style.opacity=1,this.resetPositionItem(n),this.autoScrollId&&(window.cancelAnimationFrame(this.autoScrollId),this.autoScrollId=null),null!=this.lastOver&&this.lastOver.hideBar()},onDragStart:function(e,t){e.el.style.opacity=.5,this.container.appendChild(e.el),this.currDraggable=e.el,this.autoScrollId||this.checkForAutoScroll(),this.updateItemYs()},onDrop:function(e,t){var n=e.view,i=t.params.data,r=i.getDropChild();this.insertItem(n),r&&(n.drop.setDropChild(r),i.setDropChild(n)),this.lastOver=null,i.hideBar(),this.htmlReady(function(){this.getItemsList(),this.setupItems()}.bind(this))},onDragOut:function(e,t){this.lastOver=null,t.params.data.hideBar()},onDraggingOver:function(e,t){this.lastOver=t.params.data,this.lastOver.showHideBar(e)},componentWillUnmount:function(){this.itemslist.forEach(function(e,t){var n=this.refs["sequenceItem"+t];n.el.removeEventListener("mousedown",n.onDragItemDown)}.bind(this))}})}.call(t,n,t,e))||(e.exports=i)},4641:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(1587),r=n(877),o=n(35),s=n(3765),a=n(9078),l=n(8698),c=n(8960),u=n(5193),h=n(8907),d=n(5749),p=DS.globalEventHelper,f=p.addDocumentListener,g=p.addWindowListener,m=DS._,v=DS.windowManager,y=DS.vow,S=DS.pubSub,b=DS.keyManager,w=DS.resolver,x=DS.utils,C=DS.events,E=DS.detection,P=DS.dom,T=function(e,t,n){n.executeFilteredPlayerEvent((function(e){return m(e.objects).map("value").map(w.splitPath).map(m.last).intersection(t).isEmpty()}),e)};return t.createClass({displayName:"Slide",mixins:[l,i,r,c,o,s,a,u],getDefaultProps:function(){return{onSlideStarted:m.noop}},componentWillMount:function(){var e=this.props.model;this.props.model.buildFlatDepths(),this.removeKeyListener=f("keydown",this.onKeyDown),e.slideReady=!1,e.destroyed=!1,e.getVariableChangeSubscriptions();var t=e.getSlideDraw();v.getCurrentWindow();null!=t&&this.listenTo(t,C.draw.EXIT,this.onSlideDrawExit),this.mouseX=0,this.mouseY=0,e.executePlayerEvent("onbeforeslidein"),this.getSlideObjectViews=m.memoize(this.getSlideObjectViews),this.loadDfd=this.props.model.loadSlideAssets()},componentDidMount:function(){var e=this.props.model;e.applyResumeData(),this.registerEvent("clickoutsideobjects",function(e){this.triggerClickOutside("on"+e.type,e.data)}.bind(this)),this.resetQuestionCorrectVariable(),e.interactions().invoke("updateInitialAttemptCount"),e.interactions().invoke("updateQuestionCorrectVariable"),e.setAsViewed(),y.isPending(this.loadDfd)?this.loadDfd.always(this.whenHtmlReady):this.htmlReady(this.whenHtmlReady),this.updateWindowId(),S.trigger(C.slide.HAS_MOUNTED,this)},shouldUpdate:function(e,t){return t.isVisible!==this.state.isVisible||t.transitionDepth!==this.state.transitionDepth||e.winScale!==this.props.winScale},componentWillUpdate:function(e,t){t.isVisible&&!this.state.isVisible&&this.props.model.executePlayerEvent("onbeforeslidein")},componentDidUpdate:function(e,t){var n=this;e.winScale!==this.props.winScale&&(cancelAnimationFrame(this.scaleRequest),this.scaleRequest=requestAnimationFrame((function(){S.trigger(C.slide.SCALE_COMPLETE,n.props.winScale)})))},whenHtmlReady:function(){var e=this,t=this.props.model,n=t.getBaseLayer(),i=this.swipe.wasSwiped();null!=this.prevSlide&&(this.prevSlide.trulyVisible=!1,this.prevSlide.props.model.executePlayerEvent("ontransitionout")),this.timelineReady=!0,n.timeline().pause(),t.executePlayerEvent("ontransitionin"),S.trigger(C.slide.ON_TRANSITION_IN,this.props.model),this.trulyVisible=!0,this.props.model.windowId!==v.PRINT_WINDOW?(this.transitionIn(function(){t.executePlayerEvent("ontransitionincomplete"),null==this.props.slideFrame&&n.isTimelineLayerPlayable()&&!t.pauseForResume&&n.resumeTimeline(),t.pauseForResume=!1,S.trigger(C.preview.NOTIFY,"PREVIEW_SLIDE_IN_COMPLETE",t.absoluteId),t.executePlayerEvent("onslidestart"),this.initPinchZoom(),this.publishSlideStarted()}.bind(this),i),t.slideReady=!0,S.trigger(C.slide.READY),E.device.isMobile?setTimeout((function(){window.requestAnimationFrame((function(){S.trigger(C.loader.HIDE)}))}),60):S.trigger(C.loader.HIDE)):this.transitionIn((function(){var t=function(){requestAnimationFrame((function(){var t=v.findWindowById(v.PRINT_WINDOW);if(t){var n=e.props.model;t.close(),n.windowId=null}}))},n=f("pointerdown",(function(){n(),t()}));if(!E.device.isMobile)var i=g("afterprint",(function(){i(),n(),t()}));requestAnimationFrame((function(){S.trigger(C.loader.HIDE),d.printSlide(e.props.model)}))}),!0)},componentWillUnmount:function(){this.removeKeyListener(),this.props.model.prepareResumeData(),v.isMultiWindowSlide(this.props.model)||this.props.model.resetModel()},addAccEl:function(e,t){if(E.deviceView.isClassicMobile&&-1!=this.props.model.absoluteId.indexOf("ResumePromptSlide")){var n=e.currView;P.setAttributes(n.el,{tabindex:n.getTabIndex(),"aria-label":n.getAccessibleText(),"aria-hidden":!1})}else!1===e.get("tabEnabled")&&"textinput"!==e.kind()||this.refs.accShadowDom.addAccEl(e,t)},retainShadowFocus:function(e,t){this.refs.accShadowDom.retainShadowFocus(e,t)},getCurrentShadowFocus:function(){return this.refs.accShadowDom.getCurrentShadowFocus()},updateWindowId:function(e){this.props.model.windowId=e||this.props.slideContainer&&this.props.slideContainer.props.windowId},triggerClickOutside:function(e,t){var n,i=this.props.model,r=i.slideLayers(),o=m.partial(T,e,t),s=r.activeLayers.slice(),a=r.prevLayers,l=!1;(null==a||m.isEqual(s,a))&&(n=s.reverse().reduce((function(e,t){return l||(l=!!t.modal(),e.push(t)),e}),[]),l||o(i),n.forEach(o)),r.prevLayers=void 0},onStoreMouseLoc:function(e){var t=h.globalPtToLocal(this,e.clientX,e.clientY);this.mouseX=t.x,this.mouseY=t.y},calcMouseLoc:function(e,t){var n=this.el.getBoundingClientRect(),i=e-n.left,r=t-n.top,o=this.props.model.calculateTotalScale();return{x:i*o,y:r*o,slideRect:n,scale:o}},onStoreTouchLoc:function(e){1===e.touches.length&&this.onStoreMouseLoc(e.touches[0])},resetQuestionCorrectVariable:function(){var e=DS.playerGlobals.presentation.playerVars&&DS.playerGlobals.presentation.playerVars()?DS.playerGlobals.presentation.playerVars().variables().get("questionCorrect"):null;null!=e&&e.value(!1)},publishSlideStarted:function(){this.props.model.trigger("started"),S.trigger(C.slide.STARTED,x.stripPlayer(this.props.model.absoluteId),this.props.model,this.props.windowId),this.props.onSlideStarted()},onCtxMenu:function(e){e.preventDefault()},getSlideObjectViews:function(e,t){var n;return e=e||"",t=t||0,n=this.refs["layer"+t].findAllComponents("SlideObject"),""!==e?n.filter((function(t){return t.props.model.kind()===e})):n},onSlideDrawExit:function(){this.props.model.storeInteractionResults()},killSlide:function(){null!=this.props.killSlide&&this.props.killSlide()},onKeyDown:function(e){var t=this.props.model,n=t.slideLayers().getTopMostLayer()||t.getBaseLayer(),i=t.slideLayers().activeLayers.slice(0);window.requestAnimationFrame((function(){b.executeKeypressEvent(n,e,i)}))}})}.call(t,n,t,e))||(e.exports=i)},3805:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698);n(2977);return t.createClass({displayName:"SlideBackground",mixins:[i],patternFillId:function(){return"pattern-fill-"+this.props.layerModel.id}})}.call(t,n,t,e))||(e.exports=i)},4116:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(3305),r=n(8698),o=DS,s=o._,a=o.vow,l=o.detection,c=o.events,u=(o.utils,o.pubSub),h=o.slideObjectUtils,d=o.scaler,p=function(e){e.target.scrollTop=0,e.target.scrollLeft=0};return i.createClass({displayName:"SlideContainer",mixins:[r],subscriptions:(t={},t[c.mobile.ENTER_THUMB_VIEW]="onEnterThumbView",t[c.mobile.EXIT_THUMB_VIEW]="onExitThumbView",t[c.sidebar.RESIZING]="onResize",l.deviceView.isClassicDesktop||!window.globals.HAS_FRAME?t[c.window.SCALE]="onWindowScale":t[c.frame.SCALE]="onWindowScale",t[c.frame.RESIZE]="onWindowScale",t[c.window.AFTER_SCALE]="onResize",t),getInitialState:function(){return{slides:[],loadContainerStyleAttr:{},scale:this.props.getWinScale()}},componentWillMount:function(){this.firstLoad=!0},componentDidMount:function(){this.thumbView=!1},componentWillUnmount:function(){this.findAll(".slide-transition-container").forEach((function(e){e.removeEventListener("scroll",p)}))},resize:function(){null!=this.curSlide&&this.positionSlide(this.curSlide)},onResize:function(){this.resize(),l.env.isMobilePreview&&(clearInterval(this.previewTimeout),this.previewTimeout=setTimeout(this.resize,500))},onEnterThumbView:function(){this.thumbView=!0,this.positionSlide(this.curSlide)},onExitThumbView:function(){this.thumbView=!1,this.positionSlide(this.curSlide)},addSlideEvents:function(e){return e.on("pinchzoom",this.onPinchZoom),this},removeSlideEvents:function(e){return this.prevSlide.killPinchZoom(),e.off("pinchzoom",this.onPinchZoom),this},componentWillUpdate:function(e){e.currentSlide===this.props.currentSlide||this.isShowingMovedSlide||(this.el.contains(document.activeElement)&&(document.activeElement.focus=s.noop),this.slideScale=e.scale,this.updateInnerSlides(e.currentSlide)),(l.device.isMobile||l.theme.isUnified)&&d.setWindowScale(this.state.scale)},componentDidUpdate:function(e,t){var n,i=["xOff","yOff","scale"];if(s.isEqual(s.pick(t,i),s.pick(this.state,i))||u.trigger(c.slideContainer.POSITIONED),!s.isEqual(t.slides,this.state.slides)){if(s.intersection(Object.keys(this.refs),s.map(this.state.slides,"absoluteId")).length!==this.state.slides.length)return;(n=0===this.state.slides.length?null:this.refs[s.last(this.state.slides).absoluteId])!==this.curSlide&&(this.prevSlide=this.curSlide,this.curSlide=n,null!=this.curSlide&&(this.curSlide.el.parentNode.addEventListener("scroll",p),this.curSlide.slideScale=this.slideScale,this.addSlideEvents(this.curSlide),this.positionSlide(this.curSlide),null!=this.prevSlide&&(this.prevSlide.el.parentNode.removeEventListener("scroll",p),this.removeSlideEvents(this.prevSlide),this.curSlide.setPrevSlide(this.prevSlide)),this.curSlideDfd.resolve(this.curSlide)))}},stateableValuesUpdated:function(){this.htmlReady(this.onResize)},updateInnerSlides:function(e){return this.curSlideDfd=a.Deferred(),this.setState((function(t){return{slides:s(t.slides).without(e).push(e).value(),overflowHide:l.deviceView.isMobile}})),this},getCurSlidePromise:function(){return this.curSlideDfd=this.curSlideDfd||a.Deferred(),this.curSlideDfd.promise()},rebuildCurSlide:function(){return this.updateInnerSlides(this.props.currentSlide),this},transitionComplete:function(){this.setState({overflowHide:!1}),this.firstLoad&&(h.removeEngageBorder(),this.setLoaderStyle()),this.firstLoad=!1},killSlide:function(e){this.setState((function(t){return{slides:s.without(t.slides,e)}}))},positionSlide:function(e){if(!this.props.shouldScale||this.props.shouldScale()){var t=e.props.model,n={xOff:0,yOff:0,scale:this.state.scale};t.parentTransform=n}},onPinchZoom:function(e){this.props.onPinchZoom(e)},getWrapperDimensions:function(){return null!=this.props.getWrapperDimensions?this.props.getWrapperDimensions():{width:document.body.clientWidth,height:document.body.clientHeight}},prepareToUpdateSlide:function(e){return this.isShowingMovedSlide=e,this},replaceSlideWith:function(e){return l.deviceView.isMobile&&(e.killPinchZoom(),e.initPinchZoom(this.props.lightboxed?this:null)),e.props.slideContainer.killSlide(e.props.model),this.updateInnerSlides(e.props.model),this.props.lightboxed&&this.props.lightbox.updateSizeCalculations(e.props.model),this},setLoaderStyle:function(e){e=e||{},this.setState({loadContainerStyleAttr:e})},onWindowScale:function(){this.setState({scale:this.props.getWinScale()}),this.forceUpdate(),u.trigger(DS.events.loader.HIDE)}})}.call(t,n,t,e))||(e.exports=i)},6468:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(8103),o=DS.windowManager,s=DS.animationClock,a=DS.detection,l=DS.resolver,c=DS.pubSub,u=DS.utils,h=DS.events,d=DS.vow,p=a.deviceView.isMobile?500:0;return t.createClass({displayName:"SlideFrameSlideObject",mixins:[i,r],shortEvents:{model:{"show showcustom":"onShow","hide hidecustom":"onHide"}},getInitialState:function(){return{slideModel:null}},componentWillMount:function(){!1===this.props.model.get("scalecontents")&&(this.props.parent.animationOverride={scale:this.applyScale,adjustProps:this.adjustProps,update:this.animationUpdate})},animationUpdate:function(e){this.applyScale(e)},adjustProps:function(e){return e.ScaleX=100,e.ScaleY=100,e},applyScale:function(e){this.el.style.width=u.pxify(this.props.playerProps.width*u.pctToDec(e.ScaleX)),this.el.style.height=u.pxify(this.props.playerProps.height*u.pctToDec(e.ScaleY))},onShow:function(){var e,t,n;null==this.readyPromise&&(e=this.props.model.get("startingslide"),t=l.resolvePath(e),n=d.Deferred(),this.startedDfd=d.Deferred(),this.readyPromise=d.when(this.startedDfd,n),t.on(h.slide.CURRENT_TIMELINE,n.resolve),null==this.lockId&&(this.lockId=s.lock()),c.trigger(h.loader.SILENCE),this.loadChildSlide(),c.trigger(h.loader.SHOW,p)),this.readyPromise.then(function(){var e=this.state.slideModel;e.resetBeforeView().restart().setAsViewed(),c.trigger(h.timeline.CURRENT_TIMELINE,e.currentTimeline())}.bind(this))},onHide:function(){null!=this.readyPromise&&this.readyPromise.then(function(){var e=this.state.slideModel.currentTimeline();null!=e&&e.pause()}.bind(this))},loadChildSlide:function(){var e=this.props.model.get("startingslide");o.loadSlide(e,function(e){this.setState({slideModel:e})}.bind(this),!0)},onSlideStarted:function(){var e=this.lockId;this.lockId=null,s.unlock(e),this.startedDfd.resolve()}})}.call(t,n,t,e))||(e.exports=i)},4771:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(3305),r=n(8698),o=n(1504),s=n(5193),a=n(2912),l=DS._,c=DS.utils,u=DS.pubSub,h=DS.events,d=DS.windowManager,p=function(e){e.target.scrollTop=0,e.target.scrollLeft=0},f=!window.globals.HAS_FRAME;return i.createClass({displayName:"SlideLayer",initialVisibility:!1,mixins:[r,a,o,s],subscriptions:(t={},t[h.slide.WILL_CHANGE]="onSlideWillChange",t),shortEvents:{model:{shown:"onShow",hidden:"onHide",showcustom:"onShowCustom",cancelTransition:"onCancelTransition",adjustTabIndexForModal:"onAdjustTabIndexForModal"}},componentDidMount:function(){var e=this;this.toggleVisibility(!!this.isBaseLayer()),this.listenToDepth().setInitModelProps(),this.el.addEventListener("scroll",p),window.requestAnimationFrame((function(){"dialog"===e.props.model.get("presentAs")&&null!=e.addAccEl&&e.addAccEl()}))},componentWillUnmount:function(){this.props.model.isShowable=!1,this.props.model.shownInCurrentView=!1,this.props.model.isOpen=!1,this.el.removeEventListener("scroll",p)},shouldUpdate:function(e,t){return t.isVisible!==this.state.isVisible||t.audio!==this.state.audio||t.depth!==this.state.depth||t.tabIndexDisabled!==this.state.tabIndexDisabled||e.winScale!==this.props.winScale},getInitialState:function(){return{depth:0,audio:!0,renderChildren:this.isBaseLayer()}},onSlideWillChange:function(e,t,n){var i=c.stripPlayer(this.props.model.getClosestAncestorByKind("slide").absoluteId),r=c.stripPlayer(e.absoluteId),o=c.stripPlayer(t.absoluteId);n?l(this.refs).filter((function(e,t){return l.startsWith(t,"audio")})).invokeMap("pause").commit():i===r&&i!==o&&this.setState({audio:!1})},isBaseLayer:function(){return this.props.model.isBaseLayer()},updateSlideResume:function(){f||d.getCurrentWindowSlide().prepareResumeData({retainState:!0})},onShow:function(){this.setState({isVisible:!0,renderChildren:!0},function(){this.props.model.get("timeline").play(),u.trigger(h.layer.PLAYING),this.updateTrueVisibility(!0),this.props.model.executePlayerEvent("ontransitionin"),this.adjustTabbables(!0).execSlideStart(),this.updateSlideResume()}.bind(this))},onShowCustom:function(e,t,n,i){this.props.model;var r=function(e){i(),this.props.model.get("timeline").play(),u.trigger(h.layer.PLAYING),this.adjustTabbables(!0),e||this.execSlideStart()}.bind(this);this.setState({isVisible:!0,renderChildren:!0},function(){this.transitionIn(n,r),this.updateTrueVisibility(!0),this.props.model.executePlayerEvent("ontransitionin"),this.updateSlideResume()}.bind(this))},onCancelTransition:function(){this.cancelTransition()},onHide:function(){this.props.model.get("timeline").pause(!0),this.hide(),this.updateTrueVisibility(!1),this.adjustTabbables(),this.props.model.executePlayerEvent("ontransitionout")},onAdjustTabIndexForModal:function(e){this.setState({tabIndexDisabled:e.disable})},adjustTabbables:function(e){this.props.model;return this},execSlideStart:function(){var e=this;this.props.model.executePlayerEvent("onslidestart"),window.requestAnimationFrame((function(){e.props.retainShadowFocus(e.props.model.modal()||e.props.model.hideAllObjectsOnDisplay(),!0)}))},listenToDepth:function(){return this.setState({depth:this.props.model.depth()}),this.listenTo(this.props.model,"change:depth",function(e,t){this.setState({depth:t})}.bind(this)),this},setInitModelProps:function(){return this.props.model.createObjectIndex(),this},addAccEl:function(){this.props.addAccEl&&"dialog"===this.props.model.get("presentAs")&&this.props.addAccEl(this.props.model)}})}.call(t,n,t,e))||(e.exports=i)},5648:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(1587),i=n(3752),o=n(5928),s=n(877),a=n(8698),l=n(1504),c=n(3305),u=(n(3949),n(1689)),h=n(1039),d=n(4484),p=n(5238),f=n(8907),g=DS._,m=DS.windowManager,v=DS.detection,y=DS.dom,S=DS.events,b=DS.utils,w=DS.svgUtils,x=DS.TransMatrix,C=DS.vendorOverrides,E=(DS.keyManager,DS.focusManager),P=DS.TweenLite,T={VectorSlideObject:n(4148),ButtonSlideObject:n(9746),PlaceHolderSlideObject:n(3263),GroupingSlideObject:n(6472),StateGroupSlideObject:n(2321),ImageSlideObject:n(4820),WebObjectSlideObject:n(4638),ScrollAreaSlideObject:n(9110),ExpandingLabelSlideObject:n(4478),DropareaSlideObject:n(5491),DragitemSlideObject:n(4821),TextInputSlideObject:n(7070),VideoSlideObject:n(6044),DropListSlideObject:n(4600),SequenceCtrlSlideObject:n(7810),SlideFrameSlideObject:n(6468),ThreeSixtyImageSlideObject:n(3118),SvgImageSlideObject:n(3331)},D=/\n/g,A={vectorshape:"Vector",button:"Button",objgroup:"Grouping",shufflegroup:"Grouping",image:"Image",webobject:"WebObject",stategroup:"StateGroup",scrollarea:"ScrollArea",expandinglabel:"ExpandingLabel",textinput:"TextInput",droparea:"Droparea",dragitem:"Dragitem",video:"Video",droplist:"DropList",sequencectrl:"SequenceCtrl",slideframe:"SlideFrame",threesixtyimage:"ThreeSixtyImage",svgimage:"SvgImage"},I={vectorshape:"vectorData.altText",scrollarea:"vectorData.altText",video:"videodata.altText",droplist:"textdata.altText",button:"textdata.altText",expandinglabel:"vectorData.altText",image:"imagedata.altText",svgimage:"imagedata.altText",threesixtyimage:"imagedata.altText"},k=["release","press","doubleclick","rightrelease","rightpress"],R=["releaseoutside","rollover","rollout"],_=C.handleWillChange||g.noop,M={image:"img",radio:"radio",checkbox:"checkbox",button:"button",slider:"slider",dial:"slider"},O={button:"button"},L=function(e){return g.map(e.events(),"kind").map(V)},V=function(e){return e.replace(/^on/,"")},N=function(e,t){var n=e.currView,i=null==n||null==n.tweenedConfig?function(e){var t=e.getPlayerPropsRaw();return t.ScaleX/=100,t.ScaleY/=100,(new x).adjustByViewProps(t)}(e):t?n.tweenedConfig.matrix.copy():n.tweenedConfig.matrix;return i},j=c.createClass({displayName:"SlideObject",initialVisibility:!1,mixins:[a,t,i,s,l],shortEvents:{model:{show:"showObject",hidden:"hideObject",getMousePosition:"updateMousePosition",moveTo:"moveTo",shown:"updateDecorators"}},componentWillMount:function(){var e,t;this.key=g.uniqueId("slideobject"),this.isObscurable=this.props.model.isObscurableBySelf(),this.latestEvent=null,this.innardConfigs={vectorshape:{textHit:g.partial(this.textEvent,"onlinkrelease"),textOver:g.partial(this.textEvent,"onlinkrollover"),textOut:g.partial(this.textEvent,"onlinkrollout")}},this.innardConfigs.expandinglabel=this.innardConfigs.vectorshape,e=T[(t=this.props.model,(A[t.kind()]||"PlaceHolder")+"SlideObject")],this.slideObjectInnard=e,this.setupVariableRefs(),this.setupShapeMask(),v.theme.isClassic||v.env.isPerpetual||"video"!==this.props.model.kind()||!b.fullScreen.isSupported()||(this.removeFullScreenListener=b.fullScreen.addChangeListener(this.handleFullScreenChange))},componentDidMount:function(){this.getAllRefs().registerEvents(),this.getPlayerProp("MouseOver")&&!this.isMousedOver()&&(this.triggerEvent({type:"rollout"}),this.setPlayerProp("MouseOver",!1)),this.renderShapeMask(),null!=this.addAccEl&&this.addAccEl(),"swirl"===this.props.model.get("markerType")&&(this.markerAnimationTween=P.to(this.refs.markerAnimation,.6,{rotation:360,ease:"none",onComplete:function(){this.markerAnimationTween.restart()}.bind(this)})),this.clearShowFns()},componentWillUpdate:function(e,t){this.state.ObjectState!==t.ObjectState&&(this.compareStateAspects(t)&&(this.key=g.uniqueId("slideobject")),this.setupVariableRefs())},componentDidUpdate:function(e,t){this.renderShapeMask(),t.RawXPos===this.state.RawXPos&&t.RawYPos===this.state.RawYPos||f.setMatrixDirty(this),null!=this.accShadowView&&this.accShadowView.onStateChanged(t,this.state)},componentWillUnmount:function(){null!=this.stopListeningToVarChanges&&this.stopListeningToVarChanges(),this.allRefs=null,null!=this.shapeMask&&(this.shapeMask.off(S.tween.UPDATE,this.renderShapeMask),this.props.model.off(S.tween.UPDATE,this.renderShapeMask)),null!=this.markerAnimationTween&&this.markerAnimationTween.kill(),null!=this.removeFullScreenListener&&this.removeFullScreenListener()},handleFullScreenChange:function(){this.setState({fullScreen:this.el.contains(b.fullScreen.getEl())})},compareStateAspects:function(e){var t,n,i=!1;return(this.props.model.imagelib()||[]).length>0&&(t=(this.props.model.getCurrentStateData()||{}).html5data||{},null!=(n=(this.props.model.getStateFromName(e.ObjectState)||{}).html5data||{}).height&&null!=n.width&&null!=t.height&&null!=t.width&&(i=n.height/n.width!=t.height/t.width)),i},getInnardConfigs:function(){return g.extend({ref:"innard",key:this.key,model:this.props.model,parent:this,playerProps:this.state,setPlayerProp:this.setPlayerProp,onScrollFocus:this.props.onScrollFocus,onBeforeScrollFocus:this.props.onBeforeScrollFocus,isInnard:!0,tabIndexDisabled:this.props.tabIndexDisabled,winScale:this.props.winScale,slideFrame:this.props.slideFrame,checkElso:this.props.checkElso,slideVisible:!!this.props.slideVisible,onElsoAction:this.props.onElsoAction,addAccEl:this.props.addAccEl},this.innardConfigs[this.props.model.kind()]||{},this.props.topOffset?{topOffset:this.props.topOffset}:{})},getAllRefs:function(){var e=this.findAllComponents("SlideObject");return this.allRefs=g.reject(e,(function(e){return e.props.model.isGroupingSlideObject})).map((function(e){return e.props.model})),this},registerEvents:function(){var e=this.getRegisterableEvents();return g.forEach(e,function(e){this.registerEvent(e,this.triggerEvent)}.bind(this)),h.registerCollisions(this.props.model),this},setupVariableRefs:function(){var e,t,n=this.props.model.kind(),i=I[n],r="".concat(i,"OverridesText");if(null!=i){var o=this.props.model.getCurrentStateData();this.accessibleTextTemplate=b.getPath(o,i),t=b.getPath(o,r)}else if("textinput"===n){var s=b.getPath(this,"props.model.background");null!=s&&(this.accessibleTextTemplate=b.getPath(s,"vectorData.altText"),t=b.getPath(s,"vectorData.altTextOverridesText"))}else this.accessibleTextTemplate=this.props.model.get("altText"),t=this.props.model.get("altTextOverridesText");this.setState({altTextOverridesText:t}),e=d.parseTemplate(this.accessibleTextTemplate),this.updateVarText=e.updateString,this.updateAccessibleText(),this.stopListeningToVarChanges=e.addListeners(this.props.model,this.updateAccessibleText)},setupShapeMask:function(){var e=this.shapeMask=this.props.model.getShapeMask();return null!=e&&(e.isShapeMask=!0,this.props.model.isShapeMasked=!0,e.on(S.tween.UPDATE,this.renderShapeMask),this.props.model.on(S.tween.UPDATE,this.renderShapeMask)),this},renderShapeMask:function(){if(null!=this.shapeMask){var e=N(this.shapeMask),t=N(this.props.model,!0);this.applyShapeMask(e,t)}return this},applyShapeMask:function(e,t){var n=t.invert().append(e),i=this.shapeMask,r=i.prop("width"),o=i.prop("height"),s=n.transform(0,0),a=n.transform(r,o),l=[s.y,a.x,a.y,s.x].map(b.pxify);return null!=this.el&&(this.el.style.clip=["rect(",l.join(","),")"].join("")),this},updateDecorators:function(){this.callLifeCycleEvent("onAfterShow")},moveTo:function(e,t){this.setPlayerProp({RawXPos:e,RawYPos:t})},updateMousePosition:function(e){var t=m.getCurrentWindow().getCurSlide();this.props.model.adjustVariables({name:e.xvar.value,value:t.mouseX},{name:e.yvar.value,value:t.mouseY})},updateFromTween:function(){var e;return null!=this.tweenedConfig&&(e=null!=this.animationOverride?this.animationOverride.adjustProps(g.clone(this.tweenedConfig.props)):this.tweenedConfig.props,null!=this.decorators.draggable&&this.decorators.draggable.updateAfterTween(g.pick(e,"RawXPos","RawYPos")),this.setPlayerProp(e)),this},applyStylesDirectly:function(){g.extend(this.el.style,this.getStyles())},showObject:function(){this.updateTrueVisibility(!0),this.htmlReady(function(){this.props.hideShowCallback&&this.props.hideShowCallback(),this.isMounted()&&u.transformUpdated(this,!0)}.bind(this))},hideObject:function(){this.htmlReady(function(){this.props.hideShowCallback&&this.props.hideShowCallback(),this.isMounted()&&u.transformUpdated(this,!0)}.bind(this)),this.updateTrueVisibility(!1)},getRegisterableEvents:function(){var e=g.intersection(g.keys(o),L(this.props.model)),t=g.includes(e,"rollover");return t!==g.includes(e,"rollout")&&(t?e.push("rollout"):(e.push("rollover"),t=!0)),t&&(e=g(e).without("rollover").unshift("rollover").value()),e},shouldFireEvent:function(e,t){var n=!0,i=this.refs.innard;return null!=i&&g.isFunction(i.isClickDefAllowed)&&(n=i.isClickDefAllowed(t.target,e)),!this.dragging&&n&&(!g.includes(R,e)||this.latestEvent!==e)},triggerEvent:function(e){var t,n=e.type;if(this.state.Enabled&&((t=e.origEvent)||(t=e),this.shouldFireEvent(n,t))){if(DS.connection.useConnectionMessages&&document.body.classList.contains("is-offline"))return void("press"===n&&DS.connection.highlighWarning());"rollover"===n&&this.setPlayerProp("MouseOver",!0),"press"===n&&v.device.isMobile&&this.el.focus(),this.latestEvent=n,this.props.model.executePlayerEvent("on"+n),"rollout"===n&&this.setPlayerProp("MouseOver",!1)}},cursorByType:function(){var e=this.props.model;return e.isDraggable()||e.isZoomable()||e.isWebObject()||e.isSlideable()},showCursor:function(){return!this.props.model.isCorrectIncorrectReview()&&!1!==this.props.model.get("useHandCursor")&&(!g(k).intersection(L(this.props.model)).isEmpty()||this.cursorByType())},cursorClass:function(){return this.state.Enabled?this.showCursor()?"cursor-hover":"":"cursor-default"},textEvent:function(e,t){this.props.model.executeFilteredPlayerEvent((function(e){return e.triggerid===t}),e)},getDepth:function(){var e=this.props.model;return e.isKind("shufflegroup")?null:e.prop("depth")},getRotation:function(){return null!=this.tweenedConfig?this.tweenedConfig.props.Rotation:this.props.model.get("rotation")},getPosition:function(){return null!=this.tweenedConfig?{x:this.tweenedConfig.props.RawXPos,y:this.tweenedConfig.props.RawYPos}:{x:this.props.model.playerProps.get("RawXPos"),y:this.props.model.playerProps.get("RawYPos")}},getStyles:function(){var e,t=this.props.winScale,n=(this.getGlobalRotation(),{xPos:"xOffset",yPos:"yOffset"}),i=this.props.model.getCurrentStateData(),r=null!=i&&null!=i.html5data,o=this.props.model.get("cliptobounds"),s=this.props.model.hasVarText(),a=function(e){return!r||o||s?this.getPath("props.model."+(n[e]||e)):i.html5data[e]}.bind(this);return e={zIndex:this.getDepth(),width:a("width")*t,height:a("height")*t,opacity:b.pctToDec(this.state.Alpha)},o&&(e.overflow="hidden"),this.props.model.isKind("shufflegroup")||(e[this.cssTransformOrigin]=[this.state.rotateXPos*t,"px ",this.state.rotateYPos*t,"px"].join(""),e[this.cssTransform]=this.getPositioningTransform()),this.props.model.isTweenable()&&_(e),e},getPositioningTransform:function(){var e=this.state,t=e.RawXPos,n=e.RawYPos,i=e.Rotation,r=e.ScaleX,o=e.ScaleY,s=this.getGlobalRotation(),a=this.props.winScale,l=0!==s&&r!==o,c=function(e){return b.pxify(Math.round(e*a))};return g.compact([w.transformTranslate(c(t),c(n)),w.transformRotate(i+"deg"),l?w.transformRotate(-s+"deg"):"",w.transformScale(r/100,o/100),l?w.transformRotate(s+"deg"):"",this.getTransformZ()]).join(" ")},getGlobalRotation:function(){for(var e=this.props.model,t=0;e;)e.isSlideObject&&(t+=e.playerProps.get("Rotation")),e=e.parent;return t},getTransformZ:function(){var e=this.props.model.getSlide();return!v.browser.isChrome||null==e||e.hasVideoAssets()&&e.hasZoomRegion()?C.transformZ:""},hasElsoMethod:function(){return g.isFunction(this.props.checkElso)},getAccessibleText:function(){return(this.state.accessibleText||"").replace(D," ")},updateAccessibleText:function(){this.setState({accessibleText:this.updateVarText(this.props.model)})},getAriaRole:function(){var e=this.props.model.get("accType"),t=M[e];return null!=t?t:O[this.props.model.kind()]||null},isAccTypeText:function(){return"text"===this.props.model.get("accType")},getAriaLabel:function(){return this.isAccTypeText()?null:this.getAccessibleText()||""},getIsAriaChecked:function(){var e=this.getAriaRole(),t=this.props.model.getCurrentStateData();return"radio"!==e&&"checkbox"!==e||null==t?null:(16&t.accState)>0},isFocusable:function(){var e=this.props.model,t=e.get("tabEnabled"),n=e.prop("tabIndex"),i=e.isKind("slideframe");return t&&n>=0&&!i},getTabIndex:function(){return this.props.model.get("tabEnabled")&&!this.props.tabIndexDisabled&&"textinput"!==this.props.model.kind()?"0":"-1"},getFocusTarget:function(){var e=this.refs.innard;return this.isFocusable()?this:null!=e.getFocusTarget?e.getFocusTarget():void 0},getLayer:function(){return this.parentLayer=this.parentLayer||y.closest(this.el,(function(e){return e.classList.contains("slide-layer")})),this.parentLayer},isMousedOver:function(){var e=this.el.getBoundingClientRect();return b.pointInRect(y.mouseX,y.mouseY,[[e.left,e.top],[e.width,e.height]])},clearShowFns:function(){var e,t=this.props.model;if(!g.isEmpty(t.showFns))for(;e=t.showFns.shift();)e.call(t)},updateFocus:function(){var e=this.props.model,t=e.getLayer().currView,n=this.el.getBoundingClientRect();if(e.isSlideable()){var i=r(p.getGlobalBounds(this),4);n={left:i[0],top:i[1],right:i[2],bottom:i[3]}}var o=b.getRectIntersection(n,t.el.getBoundingClientRect());o&&E.setFocusRectOn(this.el,o)},onMouseUp:function(e){this.giveAccFocus(e)},addAccEl:function(){this.props.addAccEl&&this.props.addAccEl(this.props.model)},giveAccFocus:function(e){null!=this.accShadowView&&(this.accShadowView.takeFocus(),null!=e&&e.stopPropagation())}});return j}.call(t,n,t,e))||(e.exports=i)},5955:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(7940),o=(DS._,DS.pubSub),s=DS.events,a=DS.scaler,l=DS.constants;return n(4116),t.createClass({displayName:"SlideWindow",mixins:[i,r],getInitialState:function(){return{winScale:window.globals.HAS_FRAME?1:a.getScale()}},componentDidMount:function(){var e=this;window.globals.HAS_FRAME||o.on(s.window.SCALE,(function(){e.setState({winScale:a.getScale()})}))},getBackground:function(){var e=this.state.currentSlide;return null==e?null:e.get("slidewindowbg")},close:function(e){o.trigger(s.window.CLOSING,this.getPath("props.model.id"))},componentWillUpdate:function(e,t){t.currentSlide&&(o.trigger(s.loader.MUTE),this.props.id===l.refs.FRAME&&o.trigger(s.window.MAIN_CHANGED,t.currentSlide,this.props.id))}})}.call(t,n,t,e))||(e.exports=i)},8172:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(2658),r=n(8698),o=n(9036),s=DS.utils,a={swf:"renderAsset",vector:"renderVector"};return t.createClass({displayName:"SlideWindowBackground",mixins:[r],template:function(){return this[a[this.props.bg.type]]()},renderVector:function(){return t.createElement(o,{vectorData:this.props.bg.vectorData})},renderAsset:function(){return t.DOM.div({className:"slide-window-background-asset",style:{backgroundImage:s.toCssUrl(i.getAssetUrl(this.props.bg.imagedata.assetId))}})}})}.call(t,n,t,e))||(e.exports=i)},2321:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),r=DS._,o=(DS.keyManager,DS.resolver),s=DS.slideObjectUtils,a=DS.dom,l=DS.detection;return i.createClass({mixins:[t],displayName:"StateGroupSlideObject",getAllRefs:function(){var e=this.findAllComponents("SlideObject");return this.allRefs=r.reject(e,(function(e){return e.props.model.isGroupingSlideObject})).map((function(e){return e.props.model})),this},getElso:function(){return r.find(this.refs,(function(e){return e.props.model.isKind("expandinglabel")}))},isExpanded:function(){return this.getElso().getPlayerProp("Expanded")},checkElso:function(){return this.props.model.getIsExpandingLabel()},onElsoAction:function(e,t){if(!e||null==t||null!=t.props.model.get("markerType")){var n=e?"toggleComplete":"hideComplete";(e||this.isExpanded())&&this.getElso().refs.innard[n]()}},isClickDefAllowed:function(e,t){var n,i,s=this.props.model.getClickDef(),c=a.closest(e,a.isSlideObject);return l.deviceView.isMobile&&null==c&&(e=document.elementFromPoint(a.mouseX,a.mouseY))&&this.el.contains(e)&&(c=a.closest(e,a.isSlideObject)),function e(t){return r.some(t,(function(t){var n=!1;return!(t instanceof window.Node)&&t.props.model&&t.props.model.isSlideObject&&(t.refs&&(n=e(t.refs)),t.el===c&&(n=!0,i=t)),!!n}))}(this.refs),null!=i?s.some(function(e){var t=o.getRef(e,this.props.model);return o.resolvePath(t,this.props.model).id===i.props.model.id}.bind(this)):(n=a.closest(this.el,a.isSlideObject))!==c&&"clickoutside"===t?this.props.model.events().some((function(e){return"onclickoutside"===e.kind})):n===c||n!==c&&"releaseoutside"===t},getFocusTarget:function(){return s.getGroupFocusTarget(this)}})}.call(t,n,t,e))||(e.exports=i)},3331:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(1587);return t.createClass({displayName:"SvgImageSlideObject",mixins:[i,r]})}.call(t,n,t,e))||(e.exports=i)},7070:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(1587),r=n(8103),o=n(3305),s=n(882),a=n(8698),l=n(8907),c=n(1689),u=DS,h=u._,d=u.dom,p=u.resolver,f=u.pubSub,g=u.events,m=u.vow,v=u.utils,y=u.svgUtils,S=u.detection,b=u.globalEventHelper.addBodyListener,w=["::-webkit-input-placeholder",":-moz-placeholder","::-moz-placeholder",":-ms-input-placeholder"],x=[".","-","-."],C={top:0,center:.5,bottom:1};return o.createClass({mixins:[a,i,r],displayName:"TextInputSlideObject",shortEvents:{model:(t={},t[g.slideObject.FOCUS]="setFocus",t)},getInitialState:function(){return this.createInitialState()},createInitialState:function(){var e=this.getPath("props.model.bindto");return h.isEmpty(e)||(this.boundVar=p.resolvePath(e)),{inputValue:null!=this.boundVar?this.boundVar.value():this.props.playerProps.Text,placeholderClass:this.getPlaceholderClass()}},componentWillMount:function(){this.ready=m.Deferred(),this.addStyleIfNeeded(this.state.placeholderClass),this.isNumeric=this.getPath("props.model.numeric"),this.isMultiline=!this.isNumeric&&!!this.getPath("props.model.multiline"),null!=this.boundVar&&this.listenTo(this.boundVar,"change variable:refreshView",this.onVarChange)},componentDidMount:function(){var e=this;this.htmlReady((function(){e.props.model.needsFocus&&(e.setFocus(),e.props.model.needsFocus=!1),e.ready.resolve()})),this.updateVerticalAlign(),S.device.isDesktop&&this.initShadowClickability()},setFocus:function(){var e=this;if(null!=this.props.parent.accShadowView){if(!document.hasFocus())return;this.props.parent.accShadowView.takeFocus()}else window.requestAnimationFrame((function(){document.hasFocus()&&e.props.parent.accShadowView.takeFocus()}))},initShadowClickability:function(){if(!this.props.model.isDraggable()){this.possibleObscurers=[];var e=this.props.model,t=e.getFlattenedDepth();this.possibleObscurers=e.getLayer().objects().filter((function(e){return e.getFlattenedDepth()>t})),this.possibleObscurers.length>0?this.removeBodyListener=b("mousemove",this.checkShadowClickability):e.getSlide().slideLayers().length>1&&f.on(g.layer.STACKING_CHANGED,this.checkLayerObscures)}},checkLayerObscures:function(){var e=this.props.model;e.getSlide().slideLayers().hasLayerAbove(e.getLayer())?this.removeBodyListener=b("mousemove",this.checkShadowClickability):null!=this.removeBodyListener&&(this.removeBodyListener(),this.removeBodyListener=null)},checkShadowClickability:function(e){var t=d.mouseX,n=d.mouseY,i=this.props.model,r=i.getLayer(),o=i.getSlide().slideLayers(),s=h.findIndex(o.activeLayers,r),a=l.globalPtToSlideObject(this,t,n),u=function(e){var i=e.currView;if(null!=i&&i.trulyVisible){var r=l.globalPtToSlideObject(i,t,n),o=r.x,s=r.y;return c.containsPoint(i,o,s)}return!1};this.shadowClickable=this.props.parent.trulyVisible&&c.containsPoint(this,a.x,a.y),this.shadowClickable&&(this.shadowClickable=!this.possibleObscurers.some(u),this.shadowClickable&&(this.shadowClickable=!o.activeLayers.some((function(e){return s<h.findIndex(o.activeLayers,e)&&(!!e.modal()||e.objects().some(u))})))),this.props.parent.accShadowView.setClickable(this.shadowClickable)},componentDidUpdate:function(e,t){this.updateVerticalAlign(),h.isEmpty(this.possibleObscurers)&&!this.props.model.isDraggable()&&this.props.parent.accShadowView.setClickable(!0);var n=this.props.parent.accShadowView.getScrollInfo(),i=n.left,r=n.top;this.refs.input.scrollLeft=i,this.refs.input.scrollTop=r,null!=this.props.parent.accShadowView&&this.props.parent.accShadowView.onStateChanged(t,this.state)},componentWillUnmount:function(){null!=this.removeBodyListener&&(this.removeBodyListener(),this.removeBodyListener=null),this.ready.reject()},getInputStyle:function(e,t){var n=t||this.props.winScale,i=this.getPath("props.model.marginright"),r=this.isMultiline&&!this.isNumeric,o=r?6:0,s=v.pxify(this.getPath("props.model.fontsize")*n),a={fontFamily:this.quotify(this.getPath("props.model.font"))+", sans-serif",fontSize:s,lineHeight:r?"normal":s,fontWeight:this.getPath("props.model.bold")?"bold":"normal",direction:this.getPath("props.model.rtl")?"rtl":"ltr",textAlign:this.getPath("props.model.align"),color:this.getTextColor(),paddingTop:(this.getPath("props.model.margintop")+o)*n,paddingRight:(this.isNumeric?0:i)*n,paddingBottom:this.getPath("props.model.marginbottom")*n,paddingLeft:this.getPath("props.model.marginleft")*n};return e?Object.assign(a,this.lastVerticalAlign):a},bounds:function(){return this.props.model.getBounds()},getInput:function(){return s.findDOMNode(this.refs.input)},getInputVal:function(){return this.getInput().value},onKeyDown:function(e,t,n){var i;this.isMultiline||13!==e.which||null==this.boundVar||this.boundVar.value()!==(i=null!=t&&null==n?t:this.getInputVal())&&this.boundVar.changeValue(i)},isValidNumericEntry:function(e){return 0===e.length||(x.indexOf(e)>-1||!isNaN(e))},isValidEntry:function(e){return!this.isNumeric||this.isValidNumericEntry(e.value)||!isNaN(e.valueAsNumber)},onInputChange:function(e){var t=e.target.value;!this.isNumeric||this.isValidNumericEntry(t)?this.setState({inputValue:t}):(e.target.value=t,isNaN(e.target.valueAsNumber)||this.setState({inputValue:t}))},onInputBlur:function(e){this.setPlayerProp("Text",this.getInputVal()),this.props.model.executePlayerEvent("onlosefocus")},onKeyUp:function(e){this.setPlayerProp("Text",this.getInputVal())},onTouchStart:function(e){1===e.touches.length&&(9===S.os.iOSVersion&&document.activeElement!==this.getInput()&&this.getInput().focus(),e.preventDefault())},onVarChange:function(){var e=this.boundVar.value();this.setPlayerProp("Text",e),this.setState({inputValue:e})},addStyleIfNeeded:function(e){var t=this.getTextColor(),n=this.getOrCreateStylesheet();h.find(n.cssRules,(function(t){return t.selectorText.indexOf(e)>-1}))||(n.innerHTML+="\n",n.innerHTML+=w.map((function(n){return[".",e," ",n,"{ color: ",t,"; }"].join("")})).join("\n"))},getOrCreateStylesheet:function(){var e="textInputStyles",t=document.head.querySelector("#"+e);return t||((t=document.createElement("style")).id=e,document.head.appendChild(t)),t},getPlaceholderClass:function(){return"text-input-"+this.props.model.id},getTextColor:function(){return this.hex(this.getPath("props.model.textcolor"))},isTextArea:function(){return this.isMultiline&&!this.isNumeric},getMaxChars:function(){return this.getPath("props.model.maxchars")},updateVerticalAlign:function(){var e,t,n,i,r,o,s=this.refs.input;return this.isTextArea()&&(t=this.getPath("props.model.height")*this.props.winScale,n=this.getPath("props.model.verticalAlign"),o=t-(parseInt(s.style.paddingTop)+parseInt(s.style.paddingBottom)),s.style.height="1px",e=s.scrollHeight,i=h.get(C,n,0),r=(t-Math.min(e,o))*i,this.lastVerticalAlign={height:v.pxify(o-r),transform:y.transformTranslate(0,v.pxify(r*this.props.winScale))},h.extend(s.style,this.lastVerticalAlign)),this},onInputFocus:function(e){this.props.parent.accShadowView.takeFocus(),e.stopPropagation()},scrollTo:function(e,t){this.refs.input.scrollLeft=e,this.refs.input.scrollTop=t},getScrollbarWidth:function(){var e=this.el.querySelector(this.isTextArea()?"textarea":"input[type=text]");return e?e.offsetWidth-e.clientWidth:0}})}.call(t,n,t,e))||(e.exports=i)},3118:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}i=function(e){"use strict";var t,i=n(8698),r=n(3305),s=n(2658),a=n(1587),l=n(6849),c=DS.windowManager,u=DS,h=u.detection,d=u.ThreeSixtyImage,p=u.events,f=u.pubSub,g=u.utils,m=u.resolver,v=u.constants,y=r.createClass(Object.assign({displayName:"ThreeSixtyImageSlideObject",mixins:[i,a],shortEvents:{model:(t={shown:"onTransitionIn"},o(t,p.threeSixtyImage.APPLY_RESUME_DATA,"onApplyResumeData"),o(t,p.threeSixtyImage.RESET_VIEW,"onResetView"),o(t,p.threeSixtyImage.UPDATE_RESUME_PROPS,"onUpdateResumeProps"),t)},componentWillMount:function(){var e=this;if(this.setupLoadTracker(),!this.props.model.getSlide().resume()||!this.props.model.getLayer().resume()){var t=g.getPath(this.props.model.data(),"threesixtyimagedata.bind.visited");if(t)m.resolvePath(t).value(0)}this.loadImagePromise=new Promise((function(t){var n=e.props.model.data().threesixtyimagedata;e.panoAsset=s.getAsset(n.assetId),e.panoAsset.load(!0).then(t)}))},setupLoadTracker:function(){var e=c.getCurrentWindowSlide();this.currSlideId=e.absoluteId,null==d.loadTracker[this.currSlideId]?d.loadTracker[this.currSlideId]=[{id:this.props.model.absoluteId,ready:!1}]:d.loadTracker[this.currSlideId].push({id:this.props.model.absoluteId,ready:!1})},onResetView:function(){var e=this;g.getPath(this,"panoAsset.isLoaded",!1)?this.image3d.resetView():this.loadImagePromise=this.loadImagePromise.then((function(){e.image3d.resetView()}))},onUpdateResumeProps:function(){null!=this.image3d&&this.image3d.updateResumeProps()},onApplyResumeData:function(){var e=this;this.props.model.shouldApplyResumeData=!1,this.loadImagePromise=this.loadImagePromise.then((function(){e.image3d.applyResume()}))},onZoom:function(e){if(null!=this.image3d&&null!=e&&null!=e.currMatrix){var t=e.currMatrix.getScale().x;this.image3d.mobileZoom=t,this.updateSize(this.image3d.mobileZoom)}},onSwiping:function(){this.image3d.allowSwiping=!0},onPreventSwiping:function(){this.image3d.allowSwiping=!1},componentDidMount:function(){var e=this;this.loadImagePromise=this.loadImagePromise.then((function(){var t=e.props.model.data(),n=t.threesixtyimagedata,i=e.props.model,r=l.getJsAssetValue(e.panoAsset.url());e.image3d=new d({dataUri:r&&r.dataUri||e.panoAsset.url(),assetManager:s,markerData:t.markerdata,initialLat:n.initialLat,initialLon:n.initialLon,nudgeOnLoad:n.nudgeOnLoad,width:i.width(),height:i.height(),scale:e.props.winScale,model:e.props.model,el:e.refs.glEl,cssEl:e.refs.cssEl,overlaysEl:e.refs.overlaysEl,overlaySvgEl:e.refs.overlaySvgEl,miscOverlaysEl:e.refs.miscOverlaysEl,isMobile:h.deviceView.isMobile,slideObject:e,altText:e.props.parent.getAccessibleText(),playerAccentColor:n.playerAccentColor||v.theme.brandingHighlight,hotspotColor:n.hotspotColor,hotspotReveal:n.hotspotReveal,pulseMarkers:n.pulseMarkers,pulseHotspots:n.pulseHotspots,navigation:n.navigation,bind:n.bind}),e.updateSize(),e.image3d.animate(),h.device.isMobile&&(f.on(p.slide.ZOOMED,e.onZoom),f.on(p.slide.ALLOW_SWIPE,e.onSwiping),f.on(p.slide.PREVENT_SWIPE,e.onPreventSwiping))})),this.props.model.shouldApplyResumeData&&this.onApplyResumeData()},componentWillUnmount:function(){this.image3d.destroy(),f.off(p.slide.ZOOMED,this.onZoom),f.off(p.slide.ALLOW_SWIPE,this.onSwiping),f.off(p.slide.PREVENT_SWIPE,this.onPreventSwiping)},onTransitionIn:function(){var e=this;this.loadImagePromise=this.loadImagePromise.then((function(){e.image3d.onTransitionIn()}))},updateSize:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;null!=this.image3d&&(this.image3d.updateSize(Math.ceil(this.props.model.width()*this.props.winScale),Math.ceil(this.props.model.height()*this.props.winScale)),h.device.isMobile&&1!=e&&this.image3d.renderer.setPixelRatio(Math.min(4,Math.ceil(window.devicePixelRatio*e))))},componentDidUpdate:function(e){this.props.winScale!==e.winScale&&this.updateSize()}}));return y}.call(t,n,t,e),void 0===i||(e.exports=i)},9531:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(3305),r=n(8698),o=n(4484),s=DS._,a=DS.utils,l=DS.dom,c=DS.svgUtils,u=/<\/?html>/g,h=/font-family:(.*?);/g,d={top:"align-flex-start",center:"align-flex-center",bottom:"align-flex-end"},p=(t=/^event:/,function(e){return t.test((e.href||"").trim())});return i.createClass({displayName:"VariableText",mixins:[r],initialVisibility:!1,getInitialState:function(){this.knownSize=this.props.model.height(),this.origTemplate=this.props.model.vartext();var e=o.parseTemplate(this.origTemplate);return this.listenToVarChanges=e.addListeners,this.updateVarText=e.updateString,{embeddedTemplate:this.getTemplate()}},componentDidMount:function(){var e;this.setState({valignClass:(e=this.props.model,d[e.get("valign")])}),this.setupValues().checkShouldFitText().show()},componentWillMount:function(){this.totalBigArea=0,this.areaInfo=[],this.observeVarChanges(),this.ancestors=[],this.props.model.forEachAncestor(function(e,t){(e.isSlideObject||e.isSlideLayer)&&this.listenTo(e,{shown:s.partial(this.onAncestorShown,t),hidden:s.partial(this.onAncestorHidden,t)})}.bind(this))},componentDidUpdate:function(){this.setupValues().checkShouldFitText()},componentWillUnmount:function(){null!=this.stopListeningToVarChanges&&this.stopListeningToVarChanges()},onAncestorShown:function(e){this.ancestors[e]=!0,this.checkShouldFitText()},onAncestorHidden:function(e){this.ancestors[e]=!1},setDefaultFont:function(e){return e.replace(h,"font-family:$1, sans-serif;")},getTemplate:function(){return this.stripTags(this.parseVars())},setupValues:function(){return this.fonts=this.findAll("font, span"),this.fonts.forEach(function(e){e.setAttribute("data-original-size",e.style.fontSize),e.setAttribute("data-original-line-height",e.style.lineHeight),e.style.maxWidth=a.pxify(this.props.model.width()),this.knownSize=e.style.fontSize}.bind(this)),this},stripTags:function(e){return e.replace(u,"")},parseVars:function(){return this.setDefaultFont(this.updateVarText(this.props.model))},possibleHit:function(e){e.preventDefault();var t,n=l.closest(e.target,p);n&&this.trigger("textHit",(t=n.href,s.last((t||"").split(":"))))},observeVarChanges:function(){return this.stopListeningToVarChanges=this.listenToVarChanges(this.props.model,function(){this.setState({embeddedTemplate:this.parseVars().replace(/\n/g,"<br />")})}.bind(this)),this},checkShouldFitText:function(){return this.ancestors.every(s.identity)&&this.fitText(),this},fitText:function(){var e=this.refs.textLibContentWrap,t=this.findAll("font, span"),n=this.findAll("p"),i=this.props.model.height(),r=0,o={};for(n.forEach((function(e){0===e.innerText.length&&(e.style.minHeight="1em")}));r<30&&e.scrollHeight-i>10;)t.forEach(function(e,t){var n,i,s,l=parseFloat(e.getAttribute("data-original-size")||this.knownSize),c=parseFloat(e.getAttribute("data-original-line-height")||1.2*this.knownSize)/l;null==o[t]&&(o[t]=l),n=a.clamp(2,5,l/9),o[t]-=n,i=a.pxify(o[t]),e.style.fontSize=i,s=o[t]*c,e.style.lineHeight=a.pxify(s),r++}.bind(this))},getInnerProps:function(){var e={};return e[this.cssTransformOrigin]=[a.pxify(this.props.originX),a.pxify(this.props.originY)].join(" "),e[this.cssTransform]=[c.transformRotate(this.props.rotDeg+"deg"),c.transformTranslate(a.pxify(-this.props.originX),a.pxify(-this.props.originY)),c.transformScale(this.props.winScale),c.transformTranslate(a.pxify(2*this.props.originX),a.pxify(2*this.props.originY))].join(" "),e}})}.call(t,n,t,e))||(e.exports=i)},9036:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(4242);return t.createClass({displayName:"VectorBackground",mixins:[i],template:function(){var e=this.props.vectorData,t=e.left,n=e.top,i=e.right-e.left,o=e.bottom-e.top;return r.getSvgNode({commandsetId:e.pr.i,libId:e.pr.l,bounds:{xPos:t,yPos:n,fullX:t,fullY:n,height:o,width:i,fullHeight:o,fullWidth:i}},this)}})}.call(t,n,t,e))||(e.exports=i)},3997:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698);return t.createClass({displayName:"VectorSlideBackground",mixins:[i]})}.call(t,n,t,e))||(e.exports=i)},4148:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||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(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||s(e,t)||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 s(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(8698),i=n(4274),s=n(3305),a=n(4242),l=(DS._,DS.events);DS.detection;return s.createClass({displayName:"VectorSlideObject",mixins:[t,i],onAccessibleTextChanged:function(e){this.setState({accessibleText:e})},refresh:function(){return this.htmlReady(this.whenHtmlReady),this},setupForceImageLoad:function(){if(!this.capture){var e=this.find("image");if(e){var t=e.getAttributeNS("http://www.w3.org/1999/xlink","href");e.onerror=function(){setTimeout((function(){e.setAttributeNS("http://www.w3.org/1999/xlink","href",t)}),DS.connection.retryDelay)},e.onload=function(){DS.connection.assets[t]&&(DS.connection.assets[t].success=!0)},this.capture=!1}}},forceImageLoad:function(e){var t=e;if(this.isAlternating&&2===this.els.length){var n=o(this.els,2),i=n[0],s=n[1];t="block"===i.style.display?i:s}r(t.querySelectorAll("image")).forEach((function(e,t){var n=e.getAttributeNS("http://www.w3.org/1999/xlink","href");window.requestAnimationFrame((function(){e.setAttributeNS("http://www.w3.org/1999/xlink","href",n)}))}))},whenHtmlReady:function(){var e=this.find("svg");DS.connection.useConnectionMessages&&this.forceImageLoad(e),this.adornSvg(),this.determineChildMouseBehavior()},shouldAlternate:function(){var e=this.props.model.imagelib();return null!=e&&e.length>1},calcIsStateGroupChild:function(){return!!this.props.model.getClosestAncestorByKind("stategroup")},componentWillMount:function(){this.isAlternating=this.shouldAlternate(),this.alternate=!0,this.isStateGroupChild=this.calcIsStateGroupChild()},componentDidMount:function(){window.DS.connection.useConnectionMessages&&this.setupForceImageLoad(),this.refresh().bindEvents()},componentDidUpdate:function(){this.refresh().bindEvents()},shouldUpdate:function(e,t){var n=this.props.model.shouldUpdateGif(),i=this.find("image"),r=e.playerProps.ObjectState!==this.props.playerProps.ObjectState||e.winScale!==this.props.winScale||n||t.accessibleText!==this.state.accessibleText;return this.isStateGroupChild&&null!=i&&n&&i.setAttribute("xlink:href",""),this.isAlternating?(window.setTimeout(function(){if(this.forceUpdate(),this.els=this.el.querySelectorAll(".slideobject-maskable"),2===this.els.length){var e=o(this.alternate?["none","block"]:["block","none"],2),t=e[0],n=e[1];this.els[0].style.display=t,this.els[1].style.display=n}}.bind(this),32),!1):r},bindEvents:function(){return this.stopListening(),this.findAllComponents("VectorText").concat(this.findAllComponents("VariableText")).concat(this.findAllComponents("RichVariableText")).concat(this.findAllComponents("AccessibleText")).forEach(function(e){this.listenTo(e,{textHit:this.props.textHit,textOver:this.props.textOver,textOut:this.props.textOut})}.bind(this)),this.listenTo(DS.appState,l.player.ACCESSIBLE_TEXT_CHANGED,this.onAccessibleTextChanged),this},determineChildMouseBehavior:function(){var e;this.props.model.isCorrectIncorrectReview()&&(this.findAll("g").forEach((function(e){e.style.pointerEvents="none"})),(e=this.find("g g:nth-child(2)")||this.find("g g:nth-child(3)")).setAttribute("cursor","pointer"),e.style.pointerEvents="all")},template:function(){var e=a.getSvgFromData(this.props.model,this);return this.isAlternating?(this.alternate?this.a=e:this.b=e,this.alternate=!this.alternate,s.createElement("div",{className:"alternating-svg"},this.a,this.b)):e}})}.call(t,n,t,e))||(e.exports=i)},14:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=DS._,o=DS.svgUtils,s=DS.dom,a=DS.utils,l={};return t.createClass({displayName:"VectorText",mixins:[i],initialLinkStates:{},componentDidMount:function(){this.saveInitialLinkStates(),this.renderAllVisitedLinks()},getInitialState:function(){var e=this.defaultCommandsetId=this.getPath("props.textLibItem.vectortext.pr.i"),t=this.defaultPathLib=this.getPath("props.textLibItem.vectortext.pr.l");return{defaultCommandsetId:e,curCommandsetId:e,defaultPathLib:t,curPathLib:t}},renderAs:function(e,t){var n=t||this.defaultCommandsetId,i=e||this.defaultPathLib;this.setState({curCommandsetId:n,curPathLib:i})},onClickCallback:function(e){return this.trigger("textHit",e),this},onOverCallback:function(e){return this.trigger("textOver",e),this},onOutCallback:function(e){return this.trigger("textOut",e),this},saveInitialLinkStates:function(){var e=this;r.toArray(this.el.querySelectorAll("text[data-link-id]")).forEach((function(t){var n=e.getUnderlines(t)[0];e.initialLinkStates[t.getAttribute("data-reactid")]={color:t.getAttribute("fill"),underline:null!=n&&0!=n.getAttribute("fill-opacity")}}))},renderAllVisitedLinks:function(){var e=this;Object.keys(l).forEach((function(t){var n=e.props.textLibItem.linkdata().find((function(e){if(e.get("id")===t)return e}));if(n){var i=e.getState(n,"visitedState");r.toArray(e.el.querySelectorAll("text[data-link-id='".concat(t,"']"))).forEach((function(t){e.renderLinkText(t,i.textColor,i.decoration)})),r.toArray(e.el.querySelectorAll("rect[data-link-id='".concat(t,"']"))).forEach((function(t){e.renderLinkHighlight(t,i.highlightColor)}))}}))},renderLinkText:function(e,t,n){var i=null==t?"transparent":a.hexify(t),r=this.getUnderlines(e),o="underline"===n||"none"!==n&&this.initialLinkStates[e.getAttribute("data-reactid")].underline;s.setStyles(e,{fill:i}),r.forEach((function(e){s.setStyles(e,{fill:o?i:"transparent"}),e.setAttribute("fill-opacity",o?1:0)}))},renderLinkHighlight:function(e,t){var n=null==t?"transparent":a.hexify(t);this.getHotAreas(e).forEach((function(e){s.setStyles(e,{opacity:1,fill:n})}))},renderLink:function(e,t,n,i,r){this.renderLinkText(e,n,r),this.renderLinkHighlight(t,i)},getUnderlines:function(e){var t=e.getAttribute("data-ref-id");if(t)return r.toArray(this.el.querySelectorAll("path[data-ref-id='".concat(t,"']")))},getHotAreas:function(e){var t=e.getAttribute("data-link-id");return r.toArray(this.el.querySelectorAll("rect[data-link-id='".concat(t,"']")))},getState:function(e,t){return e.get(t)||{}},renderLinkCallback:function(e,t,n){var i=this,o=t.get("id"),s=o.substring(o.indexOf("_link")),a=r.toArray(this.el.querySelectorAll("text[data-link-id$='".concat(s,"']"))),c=!0===l[o],u=this.getState(t,"hoverState"),h=this.getState(t,"activeState"),d=this.getState(t,"visitedState");return 0!==a.length&&(a.forEach((function(t){var r;switch(e.type){case"mouseover":r=u;break;case"mouseout":var s=i.initialLinkStates[t.getAttribute("data-reactid")],a=s.color,p=s.underline;r=c?d:{textColor:a,decoration:p?"underline":"none"};break;case"mousedown":r=h;break;case"mouseup":l[o]=!0,r=d}if(null!=r){var f=r,g=f.textColor,m=f.highlightColor,v=f.decoration;i.renderLink(t,n,g,m,v)}})),!0)},getTransform:function(){return[o.transformRotate(this.props.rotDeg,this.props.originX,this.props.originY),o.transformTranslate(this.props.originX,this.props.originY)].join(" ")}})}.call(t,n,t,e))||(e.exports=i)},6272:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=DS.dom;return t.createClass({displayName:"VectorTextHitArea",mixins:[i],componentDidMount:function(){this.areas={};var e=r.closest(this.el,(function(e){return r.hasClass(e,"vector-text-item")}));this.findAll(".link-highlight-area").forEach(function(t){var n=t.getAttribute("data-linkarea");this.areas[n]=t,e.insertBefore(t,e.firstElementChild)}.bind(this))},renderAs:function(e){var t="mouseover"===e.type,n=e.currentTarget.getAttribute("data-hotarea"),i=t?"onOverCallback":"onOutCallback";this.props.renderLinkCallback(e,this.props.link,this.areas[n])||r.setStyles(this.areas[n],{opacity:t?1:0}),this.props[i](this.props.linkId)},onClickCallback:function(e){e.preventDefault(),this.props.onClickCallback(this.props.linkId)}})}.call(t,n,t,e))||(e.exports=i)},6894:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(4242),o=n(8267),s=DS._,a=DS.utils,l=DS.svgUtils,c=DS.detection,u=DS.vendorOverrides,h=DS.globalEventHelper,d=h.addWindowListener,p=h.removeWindowListener,f=function(e){if(e["font-family"])if(Array.isArray(e["font-family"])){var t=e["font-family"];e.style={fontFamily:t.map(a.doubleQuote).concat(s.last(t)).join(",")},delete e["font-family"]}else e["font-family"]=a.doubleQuote(e["font-family"]);return e},g=null!=u.removeCharPositions,m=function(e){return l.isTspanNode(e)&&(e.children=e.children.map((function(e){return e.replace(/\s/g," ")}))),e};return t.createClass({displayName:"VectorTextItem",mixins:[i],componentWillMount:function(){g&&(d("beforeprint",this.beforePrint),d("afterprint",this.afterPrint))},componentWillUnmount:function(){g&&(p("beforeprint",this.beforePrint),p("afterprint",this.afterPrint))},getInitialState:function(){return{printing:!1}},addShadow:function(e){return!c.browser.isEdge&&this.props.isShadow&&l.isTspanNode(e)&&(e.filter="url(#text-shadow)",e.fill="rgba(0, 0, 0, 0.2)"),e},template:function(e){var t=l.svgPrefix(this.props.commandsetId),n=r.get(this.props.pathLib,t);return l.transformNodeConfig(s.flowRight(m,f,this.addShadow,this.state.printing&&g?u.removeCharPositions:s.identity),n),o.createSvg(n)},beforePrint:function(){this.setState({printing:!0})},afterPrint:function(){this.setState({printing:!1})}})}.call(t,n,t,e))||(e.exports=i)},4928:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=(DS._,DS.utils),o=DS.detection;return t.createClass({displayName:"VideoControls",mixins:[i],stringTitles:{acc_play:"acc_play",acc_pause:"acc_pause"},currentTimeFormatted:function(){return r.formatSecondsAsTime(this.props.currentTime||0)},durationFormatted:function(){return r.formatSecondsAsTime(this.props.duration||0)},componentDidMount:function(){o.device.isMobile?(this.refs.progressBar.addEventListener("touchmove",this.onSeek),this.refs.progressBar.addEventListener("touchstart",this.onSeek)):this.refs.progressBar.addEventListener("mousedown",this.onMouseDown)},componentWillUnmount:function(){o.device.isMobile?(this.refs.progressBar.removeEventListener("touchmove",this.onSeek),this.refs.progressBar.removeEventListener("touchstart",this.onSeek)):(this.refs.progressBar.removeEventListener("mousedown",this.onMouseDown),document.body.removeEventListener("mousemove",this.onSeek),document.body.removeEventListener("mouseup",this.onSeekComplete))},componentDidUpdate:function(e,t){var n=this;window.requestAnimationFrame((function(){var e=n.props.slideObjectView.accShadowView;null!=e&&e.onStateChanged(t,n.state)}))},onMouseDown:function(e){document.body.addEventListener("mousemove",this.onSeek),document.body.addEventListener("mouseup",this.onSeekComplete),this.onSeek(e)},onSeekComplete:function(){document.body.removeEventListener("mousemove",this.onSeek),document.body.removeEventListener("mouseup",this.onSeekComplete)},onSeek:function(e){var t,n,i=o.device.isMobile;if(e.preventDefault(),e.stopPropagation(),!i||e.touches&&1===e.touches.length){var s=i?e.touches[0].pageX:e.pageX;t=this.refs.progressBarInner.getBoundingClientRect(),n=r.clamp(0,1,(s-t.left)/t.width),this.props.controlSeek(n)}},onMouseUponSeekComplete:function(e){var t=this.refs,n=t.progressBar,i=t.playPause,r=null;n.contains(e.target)?r="progressBar":i.contains(e.target)&&(r="playPause"),r&&this.props.slideObjectView.accShadowView.takeControlFocus(r)}})}.call(t,n,t,e))||(e.exports=i)},780:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(843),o=n(1853),s=DS._,a=DS.pubSub,l=DS.events,c=DS.automation,u=DS.svgUtils,h=DS.vendorOverrides,d=DS.detection,p=DS.vow,f=DS.utils,g=DS.errorManager.throwError("VideoPlayer"),m=h.buildCaptionTracks||s.noop,v=h.onCaptionsEnabled||s.noop,y=h.offCaptionsEnabled||s.noop,S=t.createClass({displayName:"VideoPlayer",mixins:[i,r],getInitialState:function(){return DS.flagManager.playbackSpeedControl&&(this.playbackSpeed=DS.appState.getPlaybackSpeed()),{currentTime:0}},componentWillMount:function(){this.onTimeUpdateHandler=s.partial(this.onEvent,"onTimeUpdate"),this.onDurationChangeHandler=s.partial(this.onEvent,"onDurationChange"),this.onPlaybackEndedHandler=s.partial(this.onEvent,"onPlaybackEnded"),this.onLoadedDataHandler=s.partial(this.onEvent,"onLoadedData"),DS.flagManager.playbackSpeedControl&&a.on(l.player.PLAYBACK_SPEED_CHANGED,this.handlePlaybackSpeedChanged),this.canPlayDfd=p.Deferred(),this.mountedDfd=p.Deferred(),this.hasVideo=!1,this.isPaused=!0,o.requestVideoEl(this).then(this.completeVideoLoad),this.canPlayDfd.then(function(){this.videoEl.currentTime=this.state.currentTime,this.props.duration!==this.videoEl.duration&&this.props.onDurationChange(this.videoEl.duration)}.bind(this))},componentDidMount:function(){this.mountedDfd.resolve(),this.props.isPlaying&&this.play(),this.props.isTimelineControlled&&(this.hasBeenTimelineControlled=!0)},shouldUpdate:function(e,t){return this.props.isTimelineControlled&&(this.hasBeenTimelineControlled=!0),e.isPlaying!==this.props.isPlaying||e.posterFrameUrl!==this.props.posterFrameUrl||t.isPlaying!==this.state.isPlaying||e.currentVolume!==this.props.currentVolume||e.winScale!==this.props.winScale},componentDidUpdate:function(e,t){var n=e.isPlaying,i=this.props.isPlaying;this.setVolume(this.props.currentVolume),n!==i&&this[this.props.isPlaying?"play":"pause"](),!1===this.props.slideVisible&&this.clearCaptions()},componentWillUnmount:function(){var e=this;this.canPlayDfd.reject(),this.mountedDfd.reject(),this.ifVideoEl((function(){e.isPipMode()&&e.exitPipMode(),e.unbindVideoEventListeners(),o.putVideoInPen(e.videoEl,e)})),a.trigger(l.video.STATE_CHANGED,this.props.playerProps.AbsoluteId,"complete",0),y(this.enableCaptioning)},enableCaptioning:function(e){s.isEmpty(this.videoEl.textTracks)||(this.videoEl.textTracks[0].mode=e?"showing":"hidden")},getAssetId:function(){return this.props.assetId},handlePlaybackSpeedChanged:function(e){this.setPlaybackSpeed(e)},getPlaybackSpeed:function(){return this.videoEl.playbackRate},setPlaybackSpeed:function(e){DS.flagManager.playbackSpeedControl&&(this.playbackSpeed=e),this.videoEl.playbackRate=e,d.os.isIOS&&(this.videoEl.currentTime=this.videoEl.currentTime)},getCurrentTime:function(){return this.videoEl.currentTime},isVideo:s.constant(!0),onTimeUpdate:function(){var e=this.videoEl.currentTime;this.setState({currentTime:e}),!d.os.isIosPhoneBefore10&&this.state.isPlaying&&this.adjustCaptions()},onSeeked:function(){a.trigger(l.video.STATE_CHANGED,this.props.playerProps.AbsoluteId,"seek",this.getCurrentTime())},play:function(){if(this.hasVideo||o.requestVideoEl(this,!0).then(this.completeVideoLoad),c.clockIsOverridden)this.isPaused&&(a.trigger(l.video.STATE_CHANGED,this.props.playerProps.AbsoluteId,"play",this.getCurrentTime()),this.delta=this.props.timeline.elapsedTime(),this.timelineDuration=this.props.timeline.duration(),this.props.timeline.on(l.timeline.TICK,this.onTimelineTick),this.setState({hasEverPlayed:!0,isPlaying:!0}));else if(p.isResolved(this.canPlayDfd)){if(this.state.currentTime<this.props.duration||!this.props.isTimelineControlled){if(this.setState({hasEverPlayed:!0,isPlaying:!0}),!this.playedByAction&&this.hasBeenTimelineControlled&&this.state.currentTime>=this.props.duration)return;var e=this.videoEl.play();this.adjustCaptions(),null!=e&&e.catch((function(e){"AbortError"===e.name&&20===e.code||g("play",e.message)}))}}else this.canPlayDfd.then(function(){this.isPaused||this.play()}.bind(this));this.isPaused=!1,this.playedByAction=!1},pause:function(){var e=this;this.isPaused=!0,this.ifVideoEl((function(){e.videoEl.pause()})),c.clockIsOverridden&&(a.trigger(l.video.STATE_CHANGED,this.props.playerProps.AbsoluteId,"pause",this.getCurrentTime()),this.props.timeline.off(l.timeline.TICK,this.onTimelineTick)),this.setState({isPlaying:!1}),this.props.pausedByPlayButton||this.clearCaptions()},seek:function(e){if(!isNaN(e)){var t=Math.min(e,this.props.duration);this.setState({currentTime:t}),this.canPlayDfd.then(function(){this.videoEl.currentTime=t}.bind(this)),this.clearCaptions();c.clockIsOverridden&&t>=f.fix(this.props.duration,2)-.05&&this.props.onPlaybackEnded()}},ended:function(){return this.videoEl.ended},onEvent:function(e,t){null!=this[e]&&this[e](t),null!=this.props[e]&&this.props[e](function(e,t){var n;switch(e){case"onDurationChange":n=t.target.duration;break;case"onTimeUpdate":n=t.target.currentTime;break;default:n=t}return n}(e,t))},onTimelineTick:function(e){this.seek(f.toSeconds(this.timelineDuration*e-this.delta))},onEndFullScreen:function(){this.videoEl.paused&&this.props.pause()},togglePip:function(){this.isPipMode()?this.exitPipMode():this.enterPipMode()},enterPipMode:function(){var e=this;this.videoEl.requestPictureInPicture().then((function(){e.videoEl.addEventListener("leavepictureinpicture",e.handleLeavingPip),a.trigger(l.video.PIP_MODE_CHANGED)}))},exitPipMode:function(){var e=this;document.exitPictureInPicture().then((function(){e.handleLeavingPip()}))},isPipMode:function(){return document.pictureInPictureElement===this.videoEl},handleLeavingPip:function(){var e=this;this.videoEl.removeEventListener("leavepictureinpicture",this.handleLeavingPip),a.trigger(l.video.PIP_MODE_CHANGED),window.requestAnimationFrame((function(){e.setState({isPlaying:!e.videoEl.paused}),e.props.onVideoPaused(),a.trigger(l.video.STATE_CHANGED,e.props.playerProps.AbsoluteId,"pause",e.getCurrentTime())}))},updateVideoEventHandlers:function(e){var t={timeupdate:this.onTimeUpdateHandler,durationchange:this.onDurationChangeHandler,ended:this.onPlaybackEndedHandler,loadeddata:this.onLoadedDataHandler,webkitendfullscreen:this.onEndFullScreen};c.clockIsOverridden&&(t.seeked=this.onSeeked),s.forOwn(t,function(t,n){this.videoEl[e?"addEventListener":"removeEventListener"](n,t)}.bind(this))},setVolume:function(e){var t=this;this.ifVideoEl((function(){t.videoEl.volume=e,t.videoEl.muted=0===e}))},applyTransformToVideo:function(){var e,t=this.videoEl.videoWidth/this.videoEl.videoHeight,n=this.props.slideObjectModel.attributes.height,i=this.props.slideObjectModel.attributes.width;i/n!==t&&(e=t*n/i,this.videoEl.style[this.cssTransform]=u.transformScale(1,e),this.videoEl.style[this.cssTransformOrigin]="0 0")},completeVideoLoad:function(e){var t,n=this;this.hasVideo=!0,this.videoEl=e,DS.flagManager.streamingVideo?this.videoEl.loadVideo(this.props.src):(this.videoEl.src=this.props.src,this.videoEl.load()),this.mountedDfd.then((function(){n.refs.container.appendChild(n.videoEl),n.videoEl.setAttribute("playsinline",""),n.setVolume(n.props.currentVolume),n.applyTransformToVideo()})),m(this.videoEl,this.getAssetId()),this.bindVideoEventListeners(),this.videoEl.volume=this.props.currentVolume,DS.flagManager.playbackSpeedControl&&(this.videoEl.playbackRate=this.playbackSpeed),this.videoEl.readyState>=this.videoEl.HAVE_ENOUGH_DATA?this.canPlayDfd.resolve():(t=function(){n.canPlayDfd.resolve(),n.videoEl.removeEventListener("canplay",t),n.videoEl.removeEventListener("canplaythrough",t)},this.videoEl.addEventListener("canplay",t),this.videoEl.addEventListener("canplaythrough",t)),v(this.enableCaptioning)},retrieveVideo:function(){var e=this.videoEl.parentNode;return null!=e&&e.removeChild(this.videoEl),this.props.pause(),this.state.hasEverPlayed&&this.drawFrameToCanvas(),this.unbindVideoEventListeners(),this.hasVideo=!1,this.videoEl},drawFrameToCanvas:function(){var e,t,n=this;this.ifVideoEl((function(){e=n.props.playerProps.width,t=n.props.playerProps.height,n.canvas=n.canvas||document.createElement("canvas"),n.canvas.height=t,n.canvas.width=e,n.canvas.getContext("2d").drawImage(n.videoEl,0,0,e,t),n.container.appendChild(n.canvas)}))},ifVideoEl:function(e){this.hasVideo&&e()}}),b=S.prototype;return s.extend(b,{bindVideoEventListeners:s.partial(b.updateVideoEventHandlers,!0),unbindVideoEventListeners:s.partial(b.updateVideoEventHandlers,!1)}),S}.call(t,n,t,e))||(e.exports=i)},6044:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r=n(3949),o=n(3305),s=n(8698),a=n(2658),l=n(6849),c=n(9485),u=c.anyVideoStarted,h=c.anyVideoStopped,d=DS,p=d.utils.fullScreen,f=d.utils,g=d.pubSub,m=d.constants,v=d.appState,y=d.captionsManager,S=d.events,b=d.dom,w=d.detection,x=w.theme.isClassic,C=w.deviceView,E=C.isMobile,P=C.isPhone,T=w.env.isPerpetual,D=d.flagManager,A={iconColor:"#B4B4B4",iconHoverColor:"#FFFFFF",backgroundColor:"#282828",seekBgColor:"#5E5E5E",accentColor:"#4FBDF4",panelBg:"#222222",panelBorder:"#666666",panelText:"#E8E8E8",hoverBorderColor:"#666666",volumeThumb:"#FFFFFF",selectBg:"#353535",selectBorder:"#6C6C6C"},I={seek:!0,playPause:!0,elapsedTime:!0,volume:!0,captions:!0,playbackSpeed:!0,pip:!0,fullScreen:!0,settings:!0,transcript:!0},k=function(e,t,n){var i=e.getPath("props.model.data.videodata."+t);if(null!=i)return a[null!=n?"getAssetUrl":"getAsset"](i)};return o.createClass({displayName:"VideoSlideObject",mixins:[s],shortEvents:{model:(i={},i[S.layer.PAUSE_TIMELINE]="onPauseMedia",i[r.MEDIA_TOGGLE]="onActionToggle",i[r.MEDIA_PLAY]="onActionPlay",i[r.MEDIA_PAUSE]="onActionPause",i[r.MEDIA_SEEK]="onActionSeek",i[r.SHOW]="onActionShow",i[r.HIDE]="onActionHide",i[r.SET_VOLUME]="onActionSetVolume",i.trueVisibilityChanged="onVisibilityChanged",i)},subscriptions:(t={},t[S.detection.VISIBILITY_SHOWN]="onVisibilityShown",t[S.detection.VISIBILITY_HIDDEN]="onVisibilityHidden",t),onPauseMedia:function(){this.pauseVideo()},getInitialState:function(){return this.removeDockedListener=function(){},this.layerTimeline=this.props.model.getLayer().timeline(),{currentTime:0,duration:f.toSeconds(k(this,"assetId").get("duration")),currentVolume:v.currentVolume(),isPlaying:!1,posterImage:null,fullScreen:!1,dockedState:"none",dockedWidth:0}},componentWillMount:function(){if(this.isValidVideo()){if(this.timelinePlayStartTime=0,this.mediaTimelineControlled=!1,this.lastTimelineSeek=0,!x&&!T){this.removeFullScreenListener=p.addChangeListener(this.onFullScreenChange);var e=this;this.videoInterface={getLoadedTime:function(){return 0},getElapsedTime:function(){return null!=e.refs.videoPlayer?e.refs.videoPlayer.getCurrentTime():e.state.currentTime},getBounds:function(){return e.el.getBoundingClientRect()},pauseVideo:this.pauseVideo,playVideo:this.playVideo,seekVideo:this.controlSeek,toggleVideo:this.toggleVideo,isFullScreen:this.isFullScreen,getTranscriptData:this.getTranscriptData,toggleFullScreen:function(){e.isFullScreen()?e.exitFullScreen():e.enterFullScreen()},togglePip:function(){e.togglePip()},isPipMode:function(){return e.isPipMode()},getPlaybackSpeed:function(){return e.getPlaybackSpeed()},setPlaybackSpeed:function(t){e.setPlaybackSpeed(t)}}}this.bindTimelineEventListeners()}},onVisibilityChanged:function(e){e||null==this.refs.videoPlayer||this.refs.videoPlayer.clearCaptions()},componentDidMount:function(){this.isValidVideo()&&(this.presentationVol=m.DEFAULT_VOLUME,this.setVolume(v.currentVolume()),this.listenTo(v,S.volume.CHANGE_CURRENT,this.onVolumeChanged),DS.flagManager.videoTranscripts&&(this.removeDockedListener=g.addListener(DS.events.utilityWindow.DOCKED,this.onWindowDocked)),DS.flagManager.backgroundAudio&&(this.refs.videoPlayer.videoEl.addEventListener("play",this.onVideoElPlay),this.refs.videoPlayer.videoEl.addEventListener("pause",this.onVideoElPause)))},componentDidUpdate:function(){this.el.style.setProperty("--docked-width","".concat(this.state.dockedWidth,"px"))},onWindowDocked:function(e,t){var n=t.dockedState,i=t.dockedWidth,r=this.props.model.id;e.includes(r)&&(i="none"!==n?i+10:0,this.setState({dockedState:n,dockedWidth:i}))},onVideoElPlay:function(){u()},onVideoElPause:function(){h()},componentWillUnmount:function(){x||T||(this.removeFullScreenListener&&this.removeFullScreenListener(),this.isFullScreen()&&this.exitFullScreen()),this.removeDockedListener(),DS.flagManager.backgroundAudio&&(this.refs.videoPlayer.videoEl.removeEventListener("play",this.onVideoElPlay),this.refs.videoPlayer.videoEl.removeEventListener("pause",this.onVideoElPause))},getControls:function(){return this.refs.controls},getLocalWarning:function(){return this.refs.localWarning},getEnabledControls:function(){var e=Object.assign({},I,this.props.model.get("controls"));e.captions=e.captions&&this.hasCaptions(),e.pip=e.pip&&document.pictureInPictureEnabled,e.transcript=e.transcript&&this.hasTranscript();var t=P?{settings:(e.captions||e.playbackSpeed||e.transcript)&&{captions:e.captions,transcript:e.transcript,playbackSpeed:e.playbackSpeed},volume:!1,captions:!1,playbackSpeed:!1}:{settings:!1,volume:e.volume&&!E};return Object.assign(e,t)},getControlColors:function(){return null==this.controlColors&&(this.controlColors=Object.assign({},A,this.props.model.get("controlColors"))),this.controlColors},setPlaybackSpeed:function(e){null!=this.refs.videoPlayer&&this.refs.videoPlayer.setPlaybackSpeed(e)},getPlaybackSpeed:function(){return null==this.refs.videoPlayer?1:this.refs.videoPlayer.getPlaybackSpeed()},enterFullScreen:function(){null!=this.refs.videoPlayer&&(p.isSupported()||null==this.refs.videoPlayer.videoEl.webkitEnterFullscreen?p.request(this.el):this.refs.videoPlayer.videoEl.webkitEnterFullscreen())},exitFullScreen:function(){this.isFullScreen()&&p.exit()},togglePip:function(){null!=this.refs.videoPlayer&&this.refs.videoPlayer.togglePip()},isPipMode:function(){return f.getPath(this,"refs.videoPlayer.isPipMode")},onFullScreenChange:function(){this.isFullScreen()?this.setState({fullScreen:!0}):this.setState({fullScreen:!1})},isFullScreen:function(){return p.getEl()===this.el},hasCaptions:function(){return null!=y.getCaptions(this.getAssetId())},hasTranscript:function(){return D.videoTranscripts&&null!=this.getTranscriptAssetId()},getTranscriptData:function(){var e=this.getTranscriptAssetId();if(null!=e){var t=a.getAssetUrl(e);return l.getJsAssetValue(t)}},onVolumeChanged:function(e,t){this.determineAudioVolume(t)},determineAudioVolume:function(e){this.setVolume(e*this.presentationVol)},isHlsVideo:function(){var e=this.getVideoUrl();return"m3u8"===_.last(e.split("."))},isValidVideo:function(){return""!==this.getVideoUrl()&&"swf"!==this.type},getVideoUrl:function(){var e;return null==this.videoUrl&&(e=k(this,"assetId"),this.type=e&&e.get("videoType"),this.videoUrl=null!=this.type&&"youtube"!==this.type?e.url():""),this.videoUrl},posterFrameUrl:function(){return k(this,"posterAssetId",!0)},getAssetId:function(){return this.getPath("props.model.data.videodata.assetId")},getTranscriptAssetId:function(){return this.getPath("props.model.data.videodata.transcriptAssetId")},playing:function(e){this.isMounted()&&this.setState({currentTime:e})},durationLoaded:function(e){this.setState({duration:e})},playbackEnded:function(){null!=this.refs.videoPlayer&&(this.pauseVideo(),this.props.model.executePlayerEvent("onmediacomplete"),this.refs.videoPlayer.clearCaptions(),g.trigger(S.video.STATE_CHANGED,this.props.playerProps.AbsoluteId,"complete",0))},videoPaused:function(){this.setState({isPlaying:!1})},toggleVideoControls:function(){this.toggleVideo()},onActionShowOnce:function(e,t){this.pausedByAction||this.onActionPlay(e,t)},bindTimelineEventListeners:function(){this.hasAutoPlay()&&this.props.model.once(r.SHOW,this.onActionShowOnce),this.listenTo(this.layerTimeline,S.timeline.BEFORE_RESET,(function(){this.seekVideo(0),this.hasAutoPlay()||this.pauseVideo()})),this.listenTo(this.layerTimeline,S.timeline.PLAYING,(function(){this.layerTimeline.hasFinished()||this.playAndRestoreState()})),this.listenTo(this.layerTimeline,S.timeline.PAUSED,(function(e){this.layerTimeline.hasFinished()||this.pauseAndStoreState(e)})),this.listenTo(this.layerTimeline,S.timeline.SEEK_START,this.pauseAndStoreState),this.listenTo(this.layerTimeline,S.timeline.AFTER_SEEK_UPDATE,this.onTimelineSeek),this.listenTo(this.layerTimeline,S.timeline.SEEK_END,this.playAndRestoreState)},loadedData:function(){if(null!=this.refs.videoPlayer&&this.state.isPlaying&&this.isMediaTimelineControlled()){var e=this.calculatePlaybackDifferential(this.layerTimeline.elapsedTime());this.seekVideo(e),this.refs.videoPlayer.play()}},hasAutoPlay:function(){var e=this.props.model.getClosestAncestorByKind("expandinglabel");return!(e&&!e.prop("Expanded"))&&this.getPath("props.model.autoplay")},onActionShow:function(e,t){this.isSeekActionAndNotPlaying(t)||this.hasAutoPlay()&&this.layerTimeline.isPlaying()&&!this.pausedByAction&&this.playVideo()},onActionHide:function(){},onActionToggle:function(){this.toggleVideo()},onActionPlay:function(e,t){null!=this.refs.videoPlayer&&(this.refs.videoPlayer.playedByAction=!0,this.pausedByAction=!1,this.setPlayActionStartTime(t.time),this.isSeekActionAndNotPlaying(t)||(this.pauseVideo(),this.playVideo(t),"expandinglabel"===t.context.get("kind")&&y.includeMedia(this.getAssetId())))},onActionPause:function(e,t){this.pausedByAction=!0,this.isSeekActionAndNotPlaying(t)||(this.pausedByPlayButton=!1,this.pauseVideo(),"expandinglabel"===t.context.get("kind")&&y.excludeMedia(this.getAssetId()))},onActionSeek:function(e,t){this.isSeekActionAndNotPlaying(t)||this.seekVideo(e.position)},onActionSetVolume:function(e,t){var n=e.volume/100;this.presentationVol=n,this.determineAudioVolume(v.currentVolume())},setPlayActionStartTime:function(e){return null!=e&&(this.timelinePlayStartTime=e),this.mediaTimelineControlled=null!=e,this},isSeekActionAndNotPlaying:function(e){return e.isSeekAction&&!this.layerTimeline.isPlaying()},calculatePlaybackDifferential:function(e){return e-this.timelinePlayStartTime},onTimelineSeek:function(e){this.seeked=!0,this.lastTimelineSeek=e,e=this.calculatePlaybackDifferential(e),this.isMediaTimelineControlled()&&!this.pausedByAction&&this.seekVideo(e)},isMediaTimelineControlled:function(){return this.mediaTimelineControlled||this.hasAutoPlay()},pauseAndStoreState:function(e){this.timelinePaused||(this.resumeOnSeek=this.state.isPlaying,this.timelinePaused=!0,this.seeked=!1),this.pausedByPlayButton=!!e,this.pauseVideo()},playAndRestoreState:function(e){var t=e?"playing"===e:!this.pausedByAction;if(this.isVisible()&&(!this.isMediaTimelineControlled()&&this.resumeOnSeek||this.isMediaTimelineControlled()&&t&&(this.lastTimelineSeek>=this.timelinePlayStartTime||this.resumeOnSeek&&!this.seeked))){var n=f.toMilliseconds(this.state.duration)+(this.timelinePlayStartTime||0);this.isMediaTimelineControlled()?this.lastTimelineSeek<=n&&this.playVideo():this.playVideo()}this.timelinePaused=!1},playVideo:function(e){return this.pausedByPlayButton=!0,this.pausedByAction=!1,this.setState({isPlaying:!0,isTimelineControlled:this.isMediaTimelineControlled()&&null!=e&&null!=e.timelineLabel}),this},pauseVideo:function(){return this.setState({isPlaying:!1}),this},toggleVideo:function(){if(null!=this.refs.videoPlayer)return this.state.isPlaying?this.pauseVideo():(this.refs.videoPlayer.playedByAction=!0,this.playVideo()),this},seekVideo:function(e){if(null!=this.refs.videoPlayer)return this.refs.videoPlayer.seek(Math.max(0,f.toSeconds(e))),e<0&&this.setState({isPlaying:!1}),this},setVolume:function(e){return this.setState({currentVolume:e}),this},actionKeyCallback:function(){return this.toggleVideo(),!0},onVisibilityShown:function(e){!this.isMediaTimelineControlled()&&this.wasPlaying&&(this.wasPlaying=!1,this.playVideo())},onVisibilityHidden:function(e){!this.isMediaTimelineControlled()&&this.state.isPlaying&&(this.wasPlaying=!0,this.pauseVideo())},forceUpdatePoster:function(e){this.setState({posterImage:e}),this.forceUpdate()},onAccShadowRangeChange:function(e){this.seekVideo(f.toMilliseconds(e))},controlSeek:function(e){var t=b.hasClass(document.documentElement,"text-direction-rtl"),n=this.state.duration*(t?1-e:e);this.seekVideo(f.toMilliseconds(n))}})}.call(t,n,t,e))||(e.exports=i)},4638:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r=n(8698),o=n(3305),s=(n(1587),n(2658)),a=n(3949),l=(DS._,DS.errorManager),c=DS.PostMessaging,u=DS.vow,h=(DS.dom,DS.events),d=DS.appState,p=l.throwError("WebObjectSlideObject");return o.createClass({displayName:"WebObjectSlideObject",mixins:[r],subscriptions:(i={},i[h.volume.CHANGED]="onVolumeChanged",i),shortEvents:{model:(t={trueVisibilityChanged:"toggleLoad"},t[a.TRIGGER_WEBOBJECT_CLIENT_EVENT]="onTriggerClientEvent",t)},getInitialState:function(){return{thumbVisible:!0,url:""}},prepareImageUrl:function(){var e=this.props.model.get("thumbAssetId");return s.getAssetUrl(e)},checkIsEngage:function(){return"EN13"===this.props.model.get("objtype")},componentWillMount:function(){this.isEngage=this.checkIsEngage(),this.imageUrl=this.prepareImageUrl(),this.clientReady=u.Deferred(),this.clientReady.then(function(e){this.onVolumeChanged(d.currentVolume())}.bind(this)),this.isEngage||this.clientReady.reject()},componentWillUnmount:function(){this.refs.iframe.src="",this.resetSubscriptions(),null!=this.postMessaging&&this.postMessaging.tearDown()},showThumb:function(){return"onclick"===this.props.model.get("loadtype")&&this.state.thumbVisible},showContent:function(){this.setState({thumbVisible:!1})},shouldScale:function(){return this.props.model.get("shouldScale")},getUrl:function(){var e=this.props.model.get("html5Url");return this.isEngage&&(e+=["?wo=1&id=",this.props.model.id].join("")),e},getResumeData:function(){return this.props.model.variables().findWhere({name:"_remotedata"}).value()},setResumeData:function(e){this.props.model.variables().findWhere({name:"_remotedata"}).value(e),this.props.model.getClosestAncestorByKind("slide").prepareResumeData({retainState:!0})},triggerHostEvent:function(e){var t;this.props.model.executeFilteredPlayerEvent((t=e,function(e){return e.eventName===t}),"onclientevent")},toggleLoad:function(e){e?this.setState({url:this.getUrl()}):this.setState({url:""})},onIframeLoad:function(){if(this.isEngage){this.refs.iframe.contentWindow;this.postMessaging=new c(this,this.props.model.id),this.postMessaging.ready().then(this.clientReady.resolve)}},onTriggerClientEvent:function(e){this.postMessaging.request("executeFilteredPlayerEvent",e.eventName).catch(p.bind(this,"onTriggerClientEvent","Cannot trigger web object client event"))},onVolumeChanged:function(e){this.postMessaging.request("setVolume",e).catch(p.bind(this,"setVolume","Cannot set volume"))}})}.call(t,n,t,e))||(e.exports=i)},5840:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),r=n(882),o=n(1694),s=n(949),a=n(7877),l=DS._,c=DS.TweenLite,u=DS.appState,h=DS.detection,d=DS.globalEventHelper,p=d.addDocumentListener,f=(d.removeDocumentListener,h.deviceView.isClassicMobile?0:5),g=i.createClass({displayName:"ZoomImage",mixins:[t],componentWillMount:function(){var e=i.createElement(o,{className:"zoom-image-overlay"});this.overlay=r.render(e,a.getZoomContainer())},componentDidMount:function(){this.speed=.25,this.calculateTransform(),this.throttledCalculateTweenProps=l.throttle(this.calculateTweenProps,100)},componentDidUpdate:function(){if(this.calculateTransform(),this.isVisible()&&null!=this.currentTween){this.calculateTweenProps();var e=this.currentTween.time(),t=l.partial(c.fromTo,this.el,this.currentTween.duration());this.isZoomingIn?this.currentTween=t(this.startProps,this.endProps):this.currentTween=t(this.endProps,this.startProps),this.currentTween.seek(e)}},getContainerRectDesktop:function(){return(this.props.imageModel.get("zoomslide")?document.querySelector(".slide-container"):a.getMainWindowEl()).getBoundingClientRect()},getContainerRectMobile:function(){return u.windowManager.getCurrentWindowSlide().currView.el.getBoundingClientRect()},calculateTransform:function(){this.scaleX=this.props.transform.width/this.props.width,this.scaleY=this.props.transform.height/this.props.height,this.diffX=(this.props.width-this.props.transform.width)/2,this.diffY=(this.props.height-this.props.transform.height)/2},calculateTweenProps:function(){var e,t,n,i=f,r=this.el.parentNode.getBoundingClientRect(),o=this.getContainerRect(),s=o.left-r.left,a=o.top-r.top,c=this.props.imageElement.getBoundingClientRect(),d=c.left-o.left-this.diffX,p=c.top-o.top-this.diffY,g=d+this.props.width+i,m=p+this.props.height+i,v=d,y=p,S=this.scaleX,b=this.scaleY,w=1;h.deviceView.isMobile||!h.theme.isClassic?w=1/u.windowManager.getCurrentWindowSlide().calculateTotalScale():u.windowManager.isLightBoxActive()&&(w=u.windowManager.getCurrentWindow().slideScale,w*=u.windowManager.getCurrentWindowSlide().calculateTotalScale(),d-=(this.props.transform.width-this.props.transform.width*w)/2,p-=(this.props.transform.height-this.props.transform.height*w)/2,S*=w,b*=w),e=o.width/(this.props.width+i),t=o.height/(this.props.height+i),n=l.min([1,e,t]),p<i?y=i-(this.props.height-n*this.props.height)/2:m>o.height&&(y-=m-o.height-(this.props.height-n*this.props.height)/2),d<i?v=i-(this.props.width-n*this.props.width)/2:g>o.width&&(v-=g-o.width-(this.props.width-n*this.props.width)/2),this.startProps={x:d+s-this.props.transform.xOffset*w,y:p+a-this.props.transform.yOffset*w,scaleX:S,scaleY:b,overwrite:"auto"},this.endProps={x:v+s,y:y+a,scaleX:n,scaleY:n}},zoomIn:function(){this.isZoomingIn=!0,this.calculateTweenProps(),u.windowManager.isLightBoxActive()||this.overlay.show(),this.show(),this.currentTween=c.fromTo(this.el,this.speed,this.startProps,l.extend({},this.endProps,{onComplete:function(){this.props.imageModel.executePlayerEvent("onzoomopened"),this.removeDocumentListener=p(s.clickOrTouch,this.zoomOut,!0)}.bind(this)}))},updateZoomOut:function(){this.throttledCalculateTweenProps(),this.currentTween=c.to(this.el,this.speed/2,this.startProps)},zoomOut:function(e){e.stopPropagation(),this.isZoomingIn=!1,l.isFunction(this.removeDocumentListener)&&(this.removeDocumentListener(),this.removeDocumentListener=null),c.to(this.el,this.speed,{onUpdate:this.updateZoomOut,onComplete:this.onZoomedOut}),this.props.imageModel.executePlayerEvent("onzoomclosed")},onZoomedOut:function(){this.overlay.hide(),this.hide()}}),m=g.prototype;return m.getContainerRect=m[h.deviceView.isClassicMobile?"getContainerRectMobile":"getContainerRectDesktop"],g}.call(t,n,t,e))||(e.exports=i)},7754:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4585),i=n(3305),r=n(8698),o=n(8863),s=o.accBase,a=o.accTextControl;return i.createClass({displayName:"AccButton",mixins:[r,t,s,a],tabIndex:0,onClick:function(e){if(0===e.screenX&&0===e.screenY){var t=this.objView.state,n=t.RawXPos,i=t.rotateXPos,r=t.RawYPos,o=t.rotateYPos;this.objModel.getSlide().currView.mouseX=n+i,this.objModel.getSlide().currView.mouseY=r+o}this.triggerDefaultAction()}})}.call(t,n,t,e))||(e.exports=i)},2064:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4585),i=n(3305),r=n(8698),o=n(8863),s=o.accBase,a=o.accTextControl;return i.createClass({displayName:"AccCheckbox",mixins:[r,t,s,a],tabIndex:0,getInitialState:function(){return this.getState()},getState:function(){return{checked:this.isCheckedState()}},onClick:function(e){this.triggerDefaultAction()},getFocusTarget:function(){return this.refs.input}})}.call(t,n,t,e))||(e.exports=i)},101:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS,i=t.pubSub,r=t.events,o=n(3305),s=n(8698);return o.createClass({displayName:"AccDialog",mixins:[s],initialVisibility:!1,tabIndex:-1,componentDidMount:function(){this.mounted=!0,i.on(r.layer.DIALOG_SHOWN,this.onDialogShown),i.on(r.layer.DIALOG_HIDDEN,this.onDialogHidden)},componentWillUnmount:function(){this.mounted=!1,i.off(r.layer.DIALOG_SHOWN,this.onDialogShown),i.off(r.layer.DIALOG_HIDDEN,this.onDialogHidden)},onDialogShown:function(e){var t=this;window.requestAnimationFrame((function(){t.mounted&&e===t.props.dialog.slideLayer&&(t.setState({isVisible:!0}),window.requestAnimationFrame((function(){t.mounted&&t.el.focus()})))}))},onDialogHidden:function(e){var t=this;window.requestAnimationFrame((function(){t.mounted&&e===t.props.dialog.slideLayer&&t.setState({isVisible:!1})}))},id:function(){return"acc-".concat(this.props.dialog.slideLayer.id)},labeledBy:function(){var e=this.props.dialog.slideLayer.get("labeledById");return e?"acc-".concat(e):null},describedBy:function(){var e=this.props.dialog.slideLayer.get("describedById");return e?"acc-".concat(e):null}})}.call(t,n,t,e))||(e.exports=i)},7370:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(7523).parseBlocks,i=n(4585),r=n(3305),o=n(8698),s=n(8863).accBase;DS.utils.getPath;return r.createClass({displayName:"AccDropList",controlViewPath:["refs","innard","parentableDropList"],mixins:[o,i,s],tabIndex:0,getInitialState:function(){return this.getState(this.controlView.state)},getState:function(e){var t="block"===e.display,n=e.SelectedItemData,i=e.SelectedItemIndex;return{expanded:t,selectedData:n,selectedText:-1!==i?this.objModel.origItemsList[i].textdata.altText:this.getLabel()}},getChoices:function(){return this.objModel.itemslist.map((function(e){return{value:e.itemdata,textdata:e.textdata}}))},parseText:function(e){return t(e.vartext,e.wordwrap,e.textshadow)},onChangeMobile:function(e){this.controlView.focusItem(e.target.selectedIndex-1)},onKeyDown:function(e){this.controlView.shadowDomKeyHandler(e)},onBlur:function(e){this.controlView.shadowDomBlur(e)},getFocusTarget:function(){return this.refs.input},onClickInput:function(e){this.controlView.onShowList()},onClickOption:function(e){this.controlView.focusItem(e.target.getAttribute("data-index"))}})}.call(t,n,t,e))||(e.exports=i)},9721:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4585),i=n(3305),r=n(8698),o=n(8863),s=o.accBase,a=o.accTextControl,l=DS.events;return i.createClass({displayName:"AccElso",mixins:[r,t,s,a],tabIndex:-1,expanded:!1,getInitialState:function(){return{expanded:!1}},componentDidMount:function(){this.listenTo(this.objModel,l.elso.TOGGLE_EXPANDED,this.onToggleExpanded)},componentWillUnmount:function(){this.stopListening()},onToggleExpanded:function(e){this.setState({expanded:e})}})}.call(t,n,t,e))||(e.exports=i)},3629:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4585),i=n(3305),r=n(8698),o=n(8863).accBase;return i.createClass({displayName:"AccImage",controlViewPath:["refs","innard"],mixins:[r,t,o],tabIndex:-1,getFocusTarget:function(){return this.refs.focusTarget},hasZoom:function(){return"none"!==(this.objModel.get("zoomtype")||"none")},hasRelease:function(){var e=this.objModel.events();if(null!=e)return e.some((function(e){return"onrelease"===e.kind}))},getTabIndex:function(){return this.hasZoom()||this.hasRelease()?0:this.tabIndex},onClick:function(e){this.hasZoom()&&this.controlView.toggleZoom(),this.hasRelease()&&this.triggerDefaultAction()},onBlur:function(e){this.hasZoom()&&this.controlView.closeZoom()}})}.call(t,n,t,e))||(e.exports=i)},7572:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4585),i=n(3305),r=n(8698),o=n(8863).accBase,s=DS.events;return i.createClass({displayName:"AccMarker",mixins:[r,t,o],tabIndex:0,expanded:!1,getInitialState:function(){return{expanded:!1}},componentDidMount:function(){this.listenTo(this.props.relatedObject,s.elso.TOGGLE_EXPANDED,this.onToggleExpanded)},componentWillUnmount:function(){this.stopListening()},onToggleExpanded:function(e){this.setState({expanded:e})},onClick:function(e){this.triggerDefaultAction()}})}.call(t,n,t,e))||(e.exports=i)},5670:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS,i=t.focusManager,r=t.pubSub,o=t.events,s=n(4585),a=n(3305),l=n(8698),c=n(8863).accBase;return a.createClass({displayName:"AccModernVideo",controlViewPath:["refs","innard"],mixins:[l,s,c],tabIndex:-1,getInitialState:function(){return this.videoControls=this.controlView.getControls(),this.localWarning=this.controlView.getLocalWarning(),this.getState()},componentDidMount:function(){r.on(o.volume.CHANGED,this.onAppStateVolumeChanged),r.on(o.video.PIP_MODE_CHANGED,this.onPipModeChanged);var e=this.refs.seek;null!=e&&e.addEventListener("change",this.onSeekbarChanged)},componentDidUpdate:function(){null!=this.refs.playbackSpeed&&this.refs.playbackSpeed.updateState();var e=this.refs.seek;null!=e&&(e.value=this.state.elapsed)},componentWillUnmount:function(){r.off(o.volume.CHANGED,this.onAppStateVolumeChanged),r.off(o.video.PIP_MODE_CHANGED,this.onPipModeChanged);var e=this.refs.seek;null!=e&&e.removeEventListener("change",this.onSeekbarChanged)},clearFocusRect:function(){this.el.contains(document.activeElement)&&DS.focusManager.takeFocusOff()},getState:function(){return null!=this.localWarning?this.localWarning.getAccState():this.videoControls?this.videoControls.getAccState():{}},onButtonClicked:function(e){null!=this.videoControls&&this.videoControls.showControls(),this.triggerDefaultAction()},onSeekbarChanged:function(e){this.videoControls.showControls(),this.controlView.onAccShadowRangeChange(parseInt(this.refs.seek.value))},onPlayPauseClicked:function(e){this.videoControls.showControls(),this.videoControls.togglePlayback()},onMuteClicked:function(e){this.videoControls.showControls(),this.videoControls.toggleMute()},onVolumeChange:function(e){this.videoControls.showControls();var t=this.refs.volumeSlider.value/10;this.videoControls.setVolume(t)},onAppStateVolumeChanged:function(e){this.setState({volumeStrength:e})},onCaptionsClicked:function(e){this.videoControls.showControls(),this.videoControls.toggleCaptions()},onTranscriptClicked:function(e){this.videoControls.toggleTranscript()},onFullscreenClicked:function(e){this.videoControls.showControls(),this.videoControls.toggleFullScreen()},onPipClicked:function(e){this.videoControls.showControls(),this.videoControls.togglePip()},onPipModeChanged:function(){this.setState({isPipMode:this.controlView.isPipMode()})},onSettingsClicked:function(e){this.videoControls.showControls(),this.videoControls.openSettings()},onLearnMoreClicked:function(e){this.localWarning.learnMoreClicked(e)},takeControlFocus:function(e){var t=this.refs[e]||this.refs.videoButton;null!=t&&null!=t.focus&&(t.focus(),i.setFocusRectOn(t))},onFocus:function(e){null!=this.videoControls&&(null==e.target||e.target!==this.refs.volumeSlider&&e.target!==this.refs.mute?this.videoControls.closeVolumeSlider():this.videoControls.openVolumeSlider(),this.videoControls.showControls())}})}.call(t,n,t,e))||(e.exports=i)},5056:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4585),i=n(3305),r=n(8698),o=n(8863),s=o.accBase,a=o.accTextControl;return i.createClass({displayName:"AccRadio",mixins:[r,t,s,a],tabIndex:0,getInitialState:function(){return this.getState()},getState:function(){return{checked:this.isCheckedState()}},onClick:function(e){this.triggerDefaultAction()},getFocusTarget:function(){return this.refs.input}})}.call(t,n,t,e))||(e.exports=i)},1939:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4585),i=n(3305),r=n(8698);return i.createClass({displayName:"AccRadioGroup",mixins:[r,t],tabIndex:-1})}.call(t,n,t,e))||(e.exports=i)},6379:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4585),i=n(3305),r=n(8698),o=n(8863).accBase;return i.createClass({displayName:"AccScrollarea",mixins:[r,t,o],controlViewPath:["refs","innard"],tabIndex:0,getInitialState:function(){return{canScroll:!1}},onKeyDown:function(e){this.controlView.scrollOnKey(e)},getScrollPercentage:function(){var e=this.controlView.contentheight()-this.controlView.height(),t=e>0;return this.state.canScroll!==t&&this.setState({canScroll:t}),e>0&&void 0!==this.controlView.lastScrollTop?Math.round(this.controlView.lastScrollTop/e*100):0},getAriaLabel:function(){var e=this.objModel.background();return void 0!==e&&e.vectorData?e.vectorData.altText:""}})}.call(t,n,t,e))||(e.exports=i)},4867:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4585),i=n(3305),r=n(8698);return i.createClass({displayName:"AccSection",mixins:[r,t],tabIndex:-1,getInitialState:function(){return{expanded:!1}},componentDidMount:function(){var e=DS.utils.getPath(this,"props.slideObject.elso");this.listenTo(e,DS.events.elso.TOGGLE_EXPANDED,this.onToggleExpanded)},onToggleExpanded:function(e){var t=this;requestAnimationFrame((function(){t.setState({expanded:e})}))}})}.call(t,n,t,e))||(e.exports=i)},92:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}i=function(e){"use strict";var t=DS,i=t._,o=t.resolver,s=(t.flagManager,t.detection),a=s.theme.isClassic,l=s.env.isPerpetual,c=n(3305),u=n(8698),h=c.createClass({displayName:"AccShadowDom",mixins:[u],getInitialState:function(){return this.slideObjects=[],this.radioGroups={},this.sections={},this.elsoLookup={},this.accessibles=[],DS.shadowDOM=this,{children:[]}},mapChildToAccType:function(e){return childMap[this.getAccType(e)]},getAccType:function(e){var t=e.get("kind");return null!=e.get("markerType")?"marker":"slidelayer"===t&&"dialog"===e.get("presentAs")?"dialog":!a&&!l&&"video"===t?"modernvideo":["video","image","threesixtyimage"].includes(t)?t:e.get("accType")||t},createOrAddToRadioGroup:function(e){var t,n=e.get("radioGroup")||i.uniqueId("none"),r=this.radioGroups[n];return null==r?(r={keyIdx:0,radios:[],name:n,id:(t=n,i.uniqueId("".concat(t.toLowerCase().replace(" ","-"),"-"))),kind:"radiogroup",tabIndex:Number.MAX_SAFE_INTEGER,addRadio:function(e){this.tabIndex=Math.min(this.tabIndex,e.prop("tabIndex")),e.accKey=this.keyIdx++,this.radios.push(e)},prop:function(e){return this[e]},get:function(e){return this[e]}},r.addRadio(e),this.radioGroups[n]=r,r):(r.addRadio(e),!1)},createOrAddToExpandingLabel:function(e,t){var n=this.sections[t.absoluteId];return null==n?(n={keyIdx:0,slideObjects:[],name:"Todo Elso Name",kind:"section",tabIndex:Number.MAX_SAFE_INTEGER,elso:null,addObject:function(e){this.tabIndex=Math.min(this.tabIndex,e.prop("tabIndex")),e.accKey=this.keyIdx++,this.slideObjects.push(e),e.isKind("expandinglabel")&&(this.elso=e)},prop:function(e){return this[e]},get:function(e){return this[e]}},n.addObject(e),this.sections[t.absoluteId]=n,n):(n.addObject(e),!1)},connectElsoMarkers:function(e,t){var n="marker"===t,i=n?"".concat(e.id,"_expandinglabel"):e.id,r=this.elsoLookup[i];null==r&&(r=this.elsoLookup[i]={}),r[n?"marker":"elso"]=e;var o=r,s=o.marker,a=o.elso;null!=s&&null!=a&&(s.relatedObject=a,a.relatedObject=s)},addAccEl:function(e,t){var n=this.getAccType(e),i=this.slideObjects.find((function(t){return"dialog"===t.kind&&e.getLayer&&t.slideLayer===e.getLayer()}));if("radio"!==n||(e=this.createOrAddToRadioGroup(e))){"marker"!==n&&"expandinglabel"!==n||this.connectElsoMarkers(e,n);var s=null==t?null:t.elsoId;if(null!=(s=s||("expandinglabel"===n?e.absoluteId:null))){var a=o.resolvePath(s);if(!(e=a.get("tabEnabled")?this.createOrAddToExpandingLabel(e,a):null))return}e.accKey=this.accessibles.length,"dialog"===n&&(e={slideLayer:e,children:[],kind:"dialog",tabIndex:e.tabIndex,accKey:e.accKey,prop:function(e){return this[e]},get:function(e){return this[e]}}),i?i.children.push(e):this.slideObjects.push(e);var l=this.accessibles.findIndex((function(t){return t.get("tabIndex")>e.get("tabIndex")}));-1===l&&(l=this.accessibles.length),this.accessibles.splice(l,0,e);for(var c=l;c<this.accessibles.length;c++)this.accessibles[c].accIdx=c;this.setState({children:r(this.slideObjects)})}},findChild:function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=n,s=this.accessibles.length,a=r?s:i?o+1:s-o,l=function(e){return(e=e*(i?-1:1)+o)<0?e=s+e:e>=s&&(e-=s),e},c=0;c<a;c++)if(null!=(t=this.childAt(l(c)))&&e(t))return t;return null},childAt:function(e){var t="acc-obj-".concat(e),n=this.refs[t];if(n)return n;for(var i=this.state.children.filter((function(e){return"dialog"===e.kind})),r=0;r<i.length;r++){var o=this.refs["acc-obj-".concat(i[r].accIdx)].refs[t];if(o)return o}},updateTabPosition:function(e){var t=this,n=0|e.objModel.accIdx;window.requestAnimationFrame((function(){var e=t.findChild((function(e){return!0===e.state.tabbable}),n-1,!0);null==e&&(e=t.findChild((function(e){return!0===e.state.tabbable}),n+1,!1)),null!=e&&e.takeFocus()}))},retainShadowFocus:function(e,t){var n=this;if(document.hasFocus()){if(!e&&null!=this.currFocusId){var i=this.findChild((function(e){return e.id===n.currFocusId}));if(null!=i&&i.state.tabbable)return;if(null!=i&&!i.state.tabbable){var r=this.findChild((function(e){return!0===e.state.tabbable}),i.slideObject.accIdx+1);return void(null!=r&&r.takeFocus())}}var o=this.findChild((function(e){return!0===e.state.tabbable}));null!=o&&o.takeFocus(t)}},getCurrentShadowFocus:function(){var e=this,t=this.findChild((function(t){return t.id===e.currFocusId}));return t&&t.objView},onScroll:function(){this.el.scrollTop=0,this.el.scrollLeft=0}});return h}.call(t,n,t,e),void 0===i||(e.exports=i)},588:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS.detection,i=n(4585),r=n(3305),o=n(8698),s=n(8863).accBase;return r.createClass({displayName:"AccSlider",mixins:[o,i,s],tabIndex:0,componentDidMount:function(){t.os.isIOS&&(this.checkInterval=setInterval(this.checkRange,100))},componentWillUnmount:function(){clearInterval(this.checkInterval)},getSlideable:function(){var e=(_.isEmpty(this.objView.decorators)?this.objModel.parent.currView:this.objView).decorators,t=e.slideable,n=e.rotatable;return t||n},getInitialState:function(){var e=this.getSlideable().getRangeAttributes();return{min:e.min,max:e.max,step:e.step,currValue:e.value}},onChange:function(e){this.skipRangeUpdate||this.getSlideable().onAccShadowRangeChange(parseFloat(this.el.value))},checkRange:function(){this.getSlideable().onAccShadowRangeChange(parseFloat(this.el.value))},viewChanged:function(e){this.skipRangeUpdate=!0,this.el.value=e,this.skipRangeUpdate=!1}})}.call(t,n,t,e))||(e.exports=i)},3238:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(4585),i=n(3305),o=n(8698),s=n(8863).accBase,a=n(7523).parseBlocks,l=n(8907),c=DS,u=c._,h=c.utils,d=h.pxify,p=h.getPath,f=c.svgUtils,g=c.appState,m=c.focusManager;return i.createClass({displayName:"AccText",controlViewPath:["refs","innard"],mixins:[o,t,s],tabIndex:-1,normalizeBullets:!0,getFocusTarget:function(e){return null!=e&&"A"===e.tagName?e:this.refs.focusTarget},componentWillMount:function(){g.on(DS.events.player.ACCESSIBLE_TEXT_CHANGED,this.onAccessibleTextChanged)},componentWillUnmount:function(){g.off(DS.events.player.ACCESSIBLE_TEXT_CHANGED,this.onAccessibleTextChanged)},beforeInitState:function(){this.tabIndex=this.objModel.isEventable&&this.objModel.hasEvent("onkeypress")?0:-1,this.updateTextConfig()},getInitialState:function(){return{accessibleTextOn:g.accessibleTextOn()}},getScrollView:function(){return p(this,"controlView.refs.vtext.refs.scrollBar")},getScrollbarAttribs:function(){var e=this.getScrollView(),t=null==e||e.state.isHidden;return{tabIndex:t?-1:0,"aria-role":"scrollbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":null==e?0:e.state.percent,"aria-hidden":t,onFocus:this.onScrollbarFocus,onKeyDown:this.onScrollbarKeyDown}},getScrollbarStyle:function(){var e=16/this.props.winScale,t=this.getLayoutMetrics(),n=t.height,i=t.width,r=t.transform;return{width:d(e),height:d(n),transformOrigin:"".concat(-i,"px 0px"),transform:r,position:"absolute",right:d(16)}},onScrollbarFocus:function(e){var t=this.getScrollView();m.setFocusRectOn(this.refs.scrollbar,t.el.getBoundingClientRect()),e.stopPropagation()},onScrollbarKeyDown:function(e){var t=this.getScrollView();null!==t&&t.scrollOnKey(e)},onAccessibleTextChanged:function(e){var t=this;window.requestAnimationFrame((function(){return t.setState({accessibleTextOn:e})}))},getTextRotation:function(){return this.semanticTextConfig.rotation},getWidth:function(){var e=r(this.getRect(),4),t=e[0],n=(e[1],e[2]);e[3];return n-t},getHeight:function(){var e=r(this.getRect(),4),t=(e[0],e[1]);e[2];return e[3]-t},onLinkClicked:function(e){this.objView.textEvent("onlinkrelease",e)},isLinkTabbable:function(){return!0},getLinkFocusRects:function(e){var t=this;if(this.state.accessibleTextOn)return null;var n=this.semanticTextConfig.origConfig.linkdata().find((function(t){if(t.get("id")===e.className)return t}));if(this.state.altTextOverridesText&&(n=this.getDefaultLink()),null==n)return null;var i=n.attributes.hotareas,r=l.getSlideMetrics(this.objView),o=function(e,n){return l.localPtToGlobal(t.objView,e,n,r)};return i.map((function(e){var t=e.xPos,n=e.yPos,i=e.width,r=e.height,s=o(t,n),a=o(t,n+r),l=o(t+i,n),c=o(t+i,n+r),u=Math.min(s.x,a.x,l.x,c.x),h=Math.min(s.y,a.y,l.y,c.y);return{left:u,top:h,width:Math.max(s.x,a.x,l.x,c.x)-u,height:Math.max(s.y,a.y,l.y,c.y)-h}}))},getLayoutMetrics:function(){var e=this,t=[],n=r(this.getRect(),2),i=n[0],o=n[1],s=r(["rotateXPos","rotateYPos","rotation","xPos","yPos"].map((function(t){return e.objModel[t]()})),5),a=s[0],l=s[1],c=s[2],u=s[3],h=s[4];0!==c&&t.push(f.transformTranslate(d(u-i),d(h-o)),f.transformTranslate(d(a),d(l)),f.transformRotate("".concat(c,"deg")),f.transformTranslate(d(-a),d(-l)));var p=r(["xPos","yPos","width","height"].map((function(t){return e.semanticTextConfig.origConfig[t]()})),4),g=p[0],m=p[1],v=p[2],y=p[3],S=this.getTextRotation(),b=function(e){return 270===e||90===e}(S),w=this.origTemplate.direction;t.push(f.transformTranslate(d("rotated90"===w?v+g:g),d("rotated270"===w?y+m:m))),0!==S&&t.push(f.transformRotate("".concat(S,"deg")));var x=this.getScrollView();return{width:(b?y:v)-(null==x||x.state.isHidden?0:15),height:b?v:y,transform:t.join(" ")}},getInnerProps:function(){var e=this.semanticTextConfig.origConfig.valign(),t="top"===e?"flex-start":"center"===e?"center":"flex-end",n=this.getLayoutMetrics(),i=n.height,r=n.width;return{display:"inline-flex",flexDirection:"column",transformOrigin:"0 0",width:r,height:i,minWidth:r,minHeight:i,transform:n.transform,justifyContent:t}},parseText:function(){this.updateTextConfig();var e=this.semanticTextConfig.origConfig;return null==e?{children:[]}:a(this.semanticTextConfig.varMethods.updateVarText(this.origTemplate),e.wordwrap()||g.accessibleTextOn(),e.textshadow())},updateTextConfig:function(){this.semanticTextConfig=this.objModel.semanticTextConfig||{origConfig:{vartext:u.noop,linkdata:function(){return[]}}},this.origTemplate=this.semanticTextConfig.origConfig.vartext()},getDefaultLink:function(){var e=this.semanticTextConfig.origConfig.linkdata();if(!(e.length<=0)){var t=JSON.stringify(this.semanticTextConfig.origConfig).includes('"flowDirection":"rightToLeft"')?u.gt:u.lt;return e.reduce((function(e,n){var i=u.first(e.get("hotareas")),r=u.first(n.get("hotareas"));return r.yPos<i.yPos||r.yPos===i.yPos&&t(r.xPos,i.xPos)?n:e}),{get:function(){return[{xPos:Number.MAX_SAFE_INTEGER,yPos:Number.MAX_SAFE_INTEGER}]}})}}})}.call(t,n,t,e))||(e.exports=i)},5098:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(4585),i=n(3305),o=n(8698),s=n(1689),a=n(8863).accBase,l=DS,c=(l._,l.utils.pxify),u=l.dom,h=u.addClass,d=u.removeClass,p=u.getParentWithClass,f=l.globalEventHelper.addDocumentListener,g=l.pubSub,m=l.events,v=l.detection;return i.createClass({displayName:"AccTextInput",controlViewPath:["refs","innard"],mixins:[o,t,a],tabIndex:0,componentWillMount:function(){g.on(m.layer.STACKING_CHANGED,this.onStackingChanged),g.on(m.slideObject.TOGGLE_VISIBILITY,this.onSlideObjectToggleVisibility),g.on(m.elso.SHOW_CONTENT_START,this.onElsoShowContentStart),g.on(m.elso.HIDE_CONTENT_COMPLETE,this.onElsoHideContentComplete)},componentWillUnmount:function(){g.off(m.layer.STACKING_CHANGED,this.onStackingChanged),g.off(m.slideObject.TOGGLE_VISIBILITY,this.onSlideObjectToggleVisibility),g.off(m.elso.SHOW_CONTENT_START,this.onElsoShowContentStart),g.off(m.elso.HIDE_CONTENT_COMPLETE,this.onElsoHideContentComplete)},onStackingChanged:function(){var e=this;window.requestAnimationFrame((function(){e.setSpellCheckState(e.calcSpellCheckValue());var t=e.objModel.getLayer();e.setState({enabled:!e.objModel.getSlide().slideLayers().hasModalLayerAbove(t)})}))},onSlideObjectToggleVisibility:function(){this.setSpellCheckState(this.calcSpellCheckValue())},onElsoShowContentStart:function(){this.setSpellCheckState(!1)},onElsoHideContentComplete:function(){this.setSpellCheckState(this.calcSpellCheckValue())},setSpellCheckState:function(e){this.state.spellcheck!==e&&(this.setState({spellcheck:e}),v.browser.isFF||this.updateInputForSpellCheckChange(e))},updateInputForSpellCheckChange:function(e){var t=this.getInput(),n=document.activeElement,i=!v.env.isRise||v.env.isRise&&null==n.querySelector("#focus-sink")&&null==n.querySelector("body"),r=null!=p(this.controlView.el,"scrollarea");t.value="",t.value=this.state.inputValue,e&&i&&!r&&(this.blurringForSpellCheck=!0,t.focus(),t.blur(),n.focus(),this.blurringForSpellCheck=!1)},calcSpellCheckValue:function(){return!(!this.objModel.getLayer().currView.trulyVisible||!this.objModel.currView.trulyVisible)&&(!this.objModel.getSlide().slideLayers().hasModalLayerAbove(this.objModel.getLayer())&&(!this.isCollidingWithLayerObject()&&!this.isCollidingWithActiveLayerObjects()))},isCollidingWithActiveLayerObjects:function(){var e=this,t=this.objModel.getSlide().slideLayers().activeLayers.filter((function(t){return t.attributes.depth>e.objModel.getLayer().attributes.depth}));return!(!t||0===t.length)&&t.flatMap((function(e){return e.objects().models})).some((function(t){return null!=t.currView&&s.getOverlapArea(e.objModel.currView,t.currView,[],!0)>50}))},isCollidingWithLayerObject:function(){var e=this,t=this.objModel.getFlattenedDepth();return this.objModel.getLayer().objects().some((function(n){return n.getFlattenedDepth()>t&&n.currView.trulyVisible&&s.getOverlapArea(e.objModel.currView,n.currView,[],!0)>50}))},getInitialState:function(){return this.tabIndex=this.objModel.get("tabEnabled")?0:-1,{placeholder:this.objModel.get("placeholder"),inputValue:this.controlView.state.inputValue||""}},onInputChange:function(e){this.controlView.isValidEntry(e.target)&&(this.setState({inputValue:e.target.value}),this.controlView.onInputChange(e))},onBlur:function(e){this.blurringForSpellCheck||(this.controlView.onInputBlur(e),this.onTextSelectionChanged())},getState:function(){return{inputValue:this.controlView.state.inputValue}},getInput:function(){return this.refs.input},isTextArea:function(){return this.controlView.isTextArea()},onKeyDown:function(e){this.controlView.onKeyDown(e)},onKeyUp:function(e){this.controlView.setPlayerProp("Text",e.target.value)},onTextMouseUp:function(e){0===e.button?this.objModel.executePlayerEvent("onrelease"):2===e.button&&this.objModel.executePlayerEvent("onrightrelease")},onDoubleClick:function(e){0===e.button&&this.objModel.executePlayerEvent("ondoubleclick")},getInputStyle:function(){var e=this.controlView.getInputStyle(!0,this.props.winScale),t=r(this.getRect(),4),n=t[0],i=t[1],o=t[2],s=t[3],a="PrintPromptSlide_Input"===this.id&&DS.detection.theme.isUnified;return Object.assign(e,{caretColor:e.color,transform:"scale(".concat(1/this.props.winScale,") ").concat(e.transform||""),width:c((o-n-this.controlView.getScrollbarWidth())*this.props.winScale),height:c((s-i)*this.props.winScale),visibility:this.objView.trulyVisible?"visible":"hidden"},a?{left:n+47}:{})},getMaxChars:function(){return this.controlView.getMaxChars()},onBeginTextSelect:function(){var e=this;this.selecting=!0,this.removeSelectListener=f("mouseup",(function(){e.selecting=!1,e.removeSelectListener()})),window.requestAnimationFrame((function(){e.onTextSelectionChanged()}))},onTextSelectionChanged:function(){var e=this,t=this.getScrollInfo(),n=t.left,i=t.top;n===this.lastScrollLeft&&i===this.lastScrollTop||(this.controlView.scrollTo(n,i),this.lastScrollLeft=n,this.lastScrollTop=i),this.selecting&&window.requestAnimationFrame((function(){e.onTextSelectionChanged()}))},getScrollInfo:function(){if(null!=this.refs.input){var e=this.refs.input;return{left:e.scrollLeft,top:e.scrollTop}}return{left:0,top:0}},getFocusTarget:function(){return this.refs.input},onScroll:function(){var e=this.getScrollInfo(),t=e.left,n=e.top;this.controlView.scrollTo(t,n)},setClickable:function(e){this.clickable!=e&&(this.clickable=e,(e?h:d)(this.getFocusTarget(),"acc-clickable"))}})}.call(t,n,t,e))||(e.exports=i)},9697:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||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(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||s(e,t)||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 s(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}i=function(e){"use strict";var t=n(4585),i=n(3305),s=n(8698),a=n(8863),l=a.accBase,c=(a.accTextControl,DS),u=c.events,h=c.stringTabler,d=c.utils,p=c.dom,f=c.pubSub,g=c.detection,m=c.constants.keys,v=m.UP,y=m.DOWN,S=m.LEFT,b=m.RIGHT,w=m.ESCAPE,x=m.TAB,C=87,E=65,P=83,T=68,D="free",A=i.createClass({displayName:"AccThreeSixtyImage",mixins:[s,t,l],tabIndex:0,getInitialState:function(){return{innerHtml:""}},onInterceptShadowFocus:function(e){var t=this,n=e.target.dataset.markerId;if(this.wasFocusedByClick=!1,this.focusByClick)return this.focusByClick=!1,void(this.wasFocusedByClick=!0);if(e.target===this.el)return g.deviceView.isMobile||(this.refs.status.innerHTML=this.innard.image3d.getVerboseNavigationText(!0)),void this.shadowFocus(e);if(this.refs.status.innerHTML="",p.hasClass(e.target,"acc-three-sixty-media-img")||p.hasClass(e.target,"acc-three-sixty-media-panel-button")||p.hasClass(e.target,"acc-three-sixty-media-play-audio"))this.shadowFocus(e);else{if(null!=e.target.dataset.parentMarkerId){var i=e.target.dataset.parentMarkerId,r=this.innard.image3d.sprites[i],o=null!=r&&r.userData.cssMarker;if(p.hasClass(e.target,"acc-three-sixty-hotspot-hint"))return this.innard.image3d.hideLastPanel(),this.sizeChildToAbsRect(o.hotspotHint.iconEl,e.target),void this.shadowFocus(e);if(p.hasClass(e.target,"acc-three-sixty-hotspot-hint-tip"))return this.innard.image3d.hideLastPanel(),this.sizeChildToAbsRect(o.hotspotHint.contentEl,e.target),void this.shadowFocus(e)}if(p.hasClass(e.target,"acc-three-sixty-nav-btn")){var s=p.hasClass(e.target,"acc-three-sixty-nav-prev");return this.refs.status.innerHTML=s?"":this.innard.image3d.getVerboseNavigationText(),this.sizeChildToAbsRect(this.innard.image3d.navUi[s?"threeGuidedLeftBtnEl":"threeGuidedRightBtnEl"],e.target),void this.shadowFocus(e)}if(n){var a=this.innard.image3d.sprites[n],l=d.getPath(a,"userData.cssMarker.panel"),c=this.innard.image3d.lastPanel();if(null!=c&&c!=l&&c.hide(),Object.keys(this.innard.image3d.markersByIdx).forEach((function(e){var n=t.innard.image3d.markersByIdx[e];n.wasFocusedByClick&&Object.assign(n.accChildEl.style,{left:null,top:null,width:null,height:null})})),this.innard.image3d.setCurrMarker(a),this.innard.image3d.navigation.type===D){null!=l&&"hidden"!=l.el.style.visibility?(this.showPanel(l,0),this.shadowFocus({target:l.accChildEl})):this.panToMarker(e,n),null!=this.innard.image3d.freeAccShowMarkers&&(this.innard.image3d.freeAccShowMarkers(),this.innard.image3d.freeAccShowMarkers=null)}else{var u=d.getPath(a,"userData.cssMarker.panel");null!=u&&u.shown?this.showPanel(u,0):this.panToMarker(e,n)}}else this.shadowFocus(e)}},panToMarker:function(e,t){var n=this;this.innard.image3d.panToMarker(t,!0,(function(){null!=e.target.dataset.markerId&&n.shadowFocus(e)}))},sizeChildToAbsRect:function(e,t,n){var i=null==e.tagName?e:e.getBoundingClientRect(),r=1/this.objView.props.winScale,o=(n||this.innard.refs.glEl).getBoundingClientRect(),s=i.left-o.left,a=i.top-o.top,l=i.width,c=i.height;Object.assign(t.style,{left:"".concat(s*r,"px"),top:"".concat(a*r,"px"),width:"".concat(l*r,"px"),height:"".concat(c*r,"px")})},componentWillMount:function(){this.objModel.on(u.threeSixtyImage.READY,this.onChildrenReady)},componentDidMount:function(){var e=this;this.keys={},this.htmlReady((function(){e.innard=e.objModel.currView.refs.innard,e.innard.el.addEventListener("mousedown",e.onDown),document.addEventListener("keydown",e.onKeyDownDoc),document.addEventListener("keyup",e.onKeyUp),e.loop()})),this.el.addEventListener("click",this.onClick),window.addEventListener("resize",this.onResize),f.on(u.threeSixtyImage.MEDIA_CLOSED,this.onMediaOverlayClosed),f.on(u.skipNav.FOCUSED,this.onSkipNavFocused)},onResize:function(){var e=this;g.deviceView.isMobile&&(clearTimeout(this.resizeId),this.resizeId=setTimeout((function(){return e.positionNavRects()}),300))},positionNavRects:function(){var e=this.el.querySelector(".acc-three-sixty-nav-next"),t=this.el.querySelector(".acc-three-sixty-nav-prev");null!=t&&this.sizeChildToAbsRect(this.innard.image3d.navUi.threeGuidedLeftBtnEl,t),null!=e&&this.sizeChildToAbsRect(this.innard.image3d.navUi.threeGuidedRightBtnEl,e)},onSkipNavFocused:function(){this.innard.image3d.hideLastPanel()},onDown:function(e){("CANVAS"===e.target.tagName||p.hasClass(e.target,"three-nav-content"))&&(this.allowArrowKeys=!0)},onMediaOverlayClosed:function(){this.imageMediaOpen=!1;var e=this.innard.image3d;if(g.os.isAndroid){var t=document.querySelector(".panel-el.panel-shown .panel-title");null!=t&&t.focus()}else if(!g.device.isMobile&&p.closest(document.activeElement,(function(e){return p.hasClass(e,"panel-media-overlay")}))){var n=e.lastPanel();if(null!=n&&null!=n.accChildEl&&n.shown)n.accChildEl.focus();else{var i=e.sprites[this.imageMediaMarkerId],r=d.getPath(i,"userData.cssMarker");null!=r&&(r.accChildEl.focus(),this.onClick({target:r.accChildEl}))}}},clickVideoMedia:function(e,t){var n=this;if(e.target.dataset.isMediaVideo)return t.videoOpenedWithAcc=!0,t.showMediaType("video"),setTimeout((function(){var t=document.querySelector(".panel-video-container");null!=t&&(n.imageMediaOpen=!0,n.imageMediaMarkerId=e.target.dataset.markerId,t.focus(),window.requestAnimationFrame((function(){n.shadowFocus({target:t})})))}),100),!0},clickImageMedia:function(e,t){var n=this;if(e.target.dataset.isMediaImg){e.target;t.showMediaType("image");var i=document.querySelector(".panel-image-container");if(null!=i)return this.imageMediaOpen=!0,this.imageMediaMarkerId=e.target.dataset.markerId,i.focus(),window.requestAnimationFrame((function(){n.shadowFocus({target:i})})),!0}},onAudioSlider:function(e){var t=this;null!=this.lastOpenPanel&&(null!=this.lastOpenPanel.audioPlayer&&this.lastOpenPanel.audioPlayer.playing&&(clearTimeout(this.resumeAudioId),this.resumeAudioId=setTimeout((function(){t.lastOpenPanel.onPlayMedia()}),2e3)),this.lastOpenPanel.onPauseMedia(!0),this.lastOpenPanel.audioPlayer.seek(1e3*e.target.value),this.updateAudioTime(parseFloat(e.target.value),!0))},getReadableTime:function(e){var t=h.getString("progress_hours"),n=h.getString("progress_minutes"),i=h.getString("progress_seconds"),r=h.getString("progress_hour"),s=h.getString("progress_minute"),a=h.getString("progress_second"),l=new Date(1e3*e).toISOString().substr(11,8).split(":"),c="";if(l.length>0){var u=o(l.map((function(e){return e.replace(/^0+/,"")})),3),d=u[0],p=u[1],f=u[2];d.length>0&&(c+="".concat(d," ").concat(1==d?r:t,", ")),p.length>0&&(c+="".concat(p," ").concat(1==p?s:n,", ")),f.length>0&&(c+="".concat(f," ").concat(1==f?a:i))}return c},updateAudioTime:function(e,t){var n=this.getReadableTime(e);(this.lastAudioSlider==document.activeElement||t)&&(this.refs.status.innerHTML=n),null!=d.getPath(this,"lastOpenPanel.panelAudioSeekFillEl")&&(this.lastAudioSlider.value=parseFloat(this.lastOpenPanel.panelAudioSeekFillEl.getAttribute("aria-valuenow")))},clickAudioMedia:function(e,t){if(e.target.dataset.isMediaAudio)return t.onClickPlayMedia(),!0},clickPanelButton:function(e,t){return!!e.target.dataset.isPanelButton&&(t.panelButton.onClick(),!0)},clickNavBtn:function(e){var t=this.innard.image3d;if("true"!==e.target.getAttribute("aria-disabled")&&(t.focusPanelOnShow=!0,t.isAccNav=!0,t.hideLastPanel(),p.hasClass(e.target,"acc-three-sixty-nav-prev")?(t.goPrevGuidedClick(e),null==t.prevMarker.hotspotHint&&(null==t.prevMarker.panel?t.prevMarker.accChildEl.focus():t.prevMarker.accChildEl.setAttribute("aria-expanded",!0))):p.hasClass(e.target,"acc-three-sixty-nav-next")&&(t.goNextGuidedClick(e),null==t.nextMarker.hotspotHint&&(null==t.nextMarker.panel?t.nextMarker.accChildEl.focus():t.nextMarker.accChildEl.setAttribute("aria-expanded",!0))),t.isAccNav=!1,t.nextMarker.hotspotHint)){var n=t.nextMarker.id,i=this.el.querySelector('[data-parent-marker-id="'.concat(n,'"]'));null!=i&&(i.focus(),this.shadowFocus({target:i}))}},syncHotspotHint:function(e){r(document.querySelectorAll(".acc-three-sixty-hotspot-hint-tip")).forEach((function(t){"block"===t.style.display&&-1===t.id.indexOf(e.id)&&(t.style.display="none")})),e.hotspotHint.opened?(e.accHotspotHintBubbleEl.removeAttribute("aria-hidden"),e.accHotspotHintBubbleEl.style.display="block",e.accHotspotHintBubbleEl.focus(),e.accHotspotHintEl.setAttribute("aria-pressed","true")):(e.accHotspotHintBubbleEl.setAttribute("aria-hidden","true"),e.accHotspotHintEl.setAttribute("aria-pressed","false"),e.accHotspotHintBubbleEl.style.display="none")},clickHotspotHint:function(e,t){var n=this;this.innard.image3d.hideLastPanel(),t.hotspotHint.onMarkerClicked(e),"false"===e.target.getAttribute("aria-pressed")?(t.accHotspotHintBubbleEl.removeAttribute("aria-hidden"),window.requestAnimationFrame((function(){t.accHotspotHintBubbleEl.style.display="block",t.accHotspotHintBubbleEl.focus(),n.shadowFocus({target:t.accHotspotHintBubbleEl})})),e.target.setAttribute("aria-pressed","true")):(t.accHotspotHintBubbleEl.setAttribute("aria-hidden","true"),e.target.setAttribute("aria-pressed","false"),t.accHotspotHintBubbleEl.style.display="none")},onClick:function(e){var t=this.innard.image3d,n=e.target.dataset.markerId||e.target.dataset.parentMarkerId,i=this.innard.image3d.sprites[n],r=null!=i&&i.userData.cssMarker;if(p.hasClass(e.target,"acc-three-sixty-hotspot-hint"))this.clickHotspotHint(e,r);else if(p.hasClass(e.target,"acc-three-sixty-nav-btn"))this.clickNavBtn(e);else if(null!=i){var o=null!=r&&r.panel;if(!(this.clickVideoMedia(e,o)||this.clickImageMedia(e,o)||this.clickAudioMedia(e,o)||this.clickPanelButton(e,o))){var s=i.userData.cssMarker.polyHotspot;if(null!=n&&null!=i&&null!=o){if(null!=s)if(o.shown)r.panel.hide();else{var a=t.vecToScreenPosition(s.getCenterPoint(s.shapeMesh));r.panel.show(!0,a)}else o[o.shown?"hide":"show"]();r.addToVisitedMarkers(),this.showPanel(o)}else null!=r&&r.addToVisitedMarkers();this.handleShowTrigger({panel:o,sprite:i,marker:r})}}},handleShowTrigger:function(e){var t=e.panel,n=e.sprite,i=e.marker;(null==t||d.getPath(t,"shown"))&&(n.userData.cssMarker.visited=!0,this.refs.status.innerHTML=this.innard.image3d.getVerboseNavigationText(),i.triggerEvent("onlinkrelease",n.userData.id)),i.isHotspot()&&(i.pano.hotspotLayer.currHotspot=i.polyHotspot)},showPanel:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!g.deviceView.isPhone&&(this.panelOpen=e.shown,this.lastOpenPanel=e,e.shown)){this.sizeChildToAbsRect(e.el,e.accChildEl);var i=e.accChildEl;this.sizeChildToAbsRect(e.titleEl,i.firstElementChild,e.el),null!=e.mediaImageEl&&this.sizeChildToAbsRect(e.mediaImageEl,i.querySelector(".acc-three-sixty-media-img"),e.el),null!=e.mediaVideoPosterEl&&this.sizeChildToAbsRect(e.mediaVideoPosterEl,i.querySelector(".acc-three-sixty-media-img"),e.el),null!=e.panelButton&&this.sizeChildToAbsRect(e.panelButton.el,i.querySelector(".acc-three-sixty-media-panel-button"),e.el),null!=e.mediaAudioEl&&(this.sizeChildToAbsRect(e.panelAudioPlayEl,i.querySelector(".acc-three-sixty-media-play-audio"),e.el),this.sizeChildToAbsRect(e.panelAudioSeekEl,i.querySelector(".acc-audio-slider"),e.el),null!=this.lastAudioSlider&&(this.lastAudioSlider.removeEventListener("input",this.onAudioSlider),this.lastAudioSlider.removeEventListener("change",this.onAudioSlider)),this.lastAudioSlider=i.querySelector(".acc-audio-slider"),null!=this.lastAudioSlider&&(this.lastAudioSlider.addEventListener("input",this.onAudioSlider),this.lastAudioSlider.addEventListener("change",this.onAudioSlider),null!=d.getPath(this,"lastOpenPanel.panelAudioSeekFillEl")&&(this.lastAudioSlider.setAttribute("max",this.lastOpenPanel.panelAudioSeekFillEl.getAttribute("aria-valuemax")),this.lastAudioSlider.setAttribute("value",this.lastOpenPanel.panelAudioSeekFillEl.getAttribute("aria-valuenow"))))),this.sizeChildToAbsRect(e.bodyEl,i.querySelector(".three-sixty-panel-body"),e.el);var r=null!=t?t:500;n&&setTimeout((function(){e.accChildEl.focus()}),r)}},onChildrenReady:function(e){var t=e.getAccHtml(),n=e.getVerboseNavigationText(!0);this.setState({fullLabel:n,innerHtml:t})},componentDidUpdate:function(){this.state.innerHtml.length>0&&(this.innard.image3d.connectAccChildren(this,this.refs.accChildren),g.deviceView.isMobile&&this.positionNavRects())},loop:function(){var e,t=this.innard.image3d;(this.keys[b]||this.keys[T])&&(e=t.changeLocX(-2)),(this.keys[S]||this.keys[E])&&(e=t.changeLocX(2)),(this.keys[v]||this.keys[C])&&(e=t.changeLocY(2)),(this.keys[y]||this.keys[P])&&(e=t.changeLocY(-2)),e&&null!=document.activeElement&&document.activeElement!=this.el&&(t.hideLastPanel(),this.el.focus()),this.loopId=window.requestAnimationFrame(this.loop)},controlTabOrder:function(e){var t=document.activeElement,n="".concat(e?"prev":"next","El");if(null!=t&&null!=t.dataset[n]){for(var i,r=t.dataset[n].split(/\,\s+/),o=0;o<r.length&&(null==(i=document.querySelector(r[o]))||"none"==i.style.display);o++);null!=i&&(i.focus(),this.shadowFocus({target:i}))}},onKeyDownDoc:function(e){var t=this.innard.image3d;if(t.hotspotReveal||(t.isNavigationPan=!1),this.imageMediaOpen&&e.keyCode===x)this.controlTabOrder(e.shiftKey);else{var n=!1,i=null!=document.activeElement&&p.hasClass(document.activeElement,"slide-object-threesixtyimage");if(t.navigation.type===D){if(e.keyCode===x&&!this.panelOpen){var r=t.getCentermostMarker();null!=r&&null!=r.accChildEl&&r!=d.getPath(t,"currMarker.userData.cssMarker")&&(e.preventDefault(),r.accChildEl.focus(),n=!0)}if(!n&&null!=t.lastMarkerClicked&&e.keyCode===x&&t.navigation.type===D){var o=t.markersByIdx[t.lastMarkerClicked.idx+1];null!=o&&(e.preventDefault(),o.accChildEl.focus()),t.lastMarkerClicked=null}}else if(e.keyCode===x&&i){var s=t.markersByIdx[t.markerIdxInView];null!=s&&(e.preventDefault(),s.accChildEl.focus())}var a=null!=document.activeElement&&p.hasClass(document.activeElement,"acc-three-sixty-marker")&&"true"!=document.activeElement.getAttribute("aria-expaned");(this.allowArrowKeys||document.activeElement===this.el||a)&&this.keyDown(e)}},isArrowKey:function(e){var t=this;return[S,b,y,v,C,E,P,T].some((function(e){return t.keys[e]}))},keyDown:function(e){var t=this.innard.image3d;d.getPath(t,"currMarker.userData.cssMarker.panel.shown")||(this.keys[e.keyCode]=!0,null==t||null==document.activeElement||p.hasClass(document.activeElement,"acc-three-sixty-image")||!this.isArrowKey()||(this.keys[e.keyCode]=!1))},onKeyUp:function(e){var t=this.innard.image3d,n=document.querySelector(".three-sixty-image-media-panel-overlay");if(e.keyCode===w&&null==n)return this.el.focus(),this.shadowFocus({target:this.el}),void t.hideLastPanel();null!=document.activeElement&&!p.hasClass(document.activeElement,"acc-three-sixty-image")&&this.isArrowKey()||((this.keys[b]||this.keys[T])&&(this.refs.status.innerHTML=h.getString("three_image_camera_right")),(this.keys[S]||this.keys[E])&&(this.refs.status.innerHTML=h.getString("three_image_camera_left")),(this.keys[v]||this.keys[C])&&(this.refs.status.innerHTML=h.getString("three_image_camera_up")),(this.keys[y]||this.keys[P])&&(this.refs.status.innerHTML=h.getString("three_image_camera_down")),this.keys[e.keyCode]=!1)},componentWillUnmount:function(){window.cancelAnimationFrame(this.loopId),window.removeEventListener("resize",this.onResize),null!=this.lastAudioSlider&&(this.lastAudioSlider.removeEventListener("change",this.onAudioSlider),this.lastAudioSlider.removeEventListener("input",this.onAudioSlider)),this.innard.el.removeEventListener("mousedown",this.onDown),document.removeEventListener("keydown",this.onKeyDownDoc),document.removeEventListener("keyup",this.onKeyUp),f.off(u.threeSixtyImage.MEDIA_CLOSED,this.onMediaOverlayClosed),f.off(u.skipNav.FOCUSED,this.onSkipNavFocused)}});return A}.call(t,n,t,e),void 0===i||(e.exports=i)},7056:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS.focusManager,i=n(4585),r=n(3305),o=n(8698),s=n(8863).accBase,a=n(8907);return r.createClass({displayName:"AccVideo",controlViewPath:["refs","innard"],mixins:[o,i,s],tabIndex:-1,getInitialState:function(){return this.videoControls=this.controlView.refs.controls,this.getState()},getState:function(){return{playLabel:null!=this.videoControls?this.videoControls.props.isPlaying?this.videoControls.state.i18nacc_pause:this.videoControls.state.i18nacc_play:null,seekLabel:"seek bar",duration:this.controlView.state.duration,elapsed:this.controlView.state.currentTime,playRect:this.getRectByRef("playPause"),seekRect:this.getRectByRef("progressBar")}},getRectByRef:function(e){if(null!=this.videoControls){var t=this.videoControls.refs[e].getBoundingClientRect(),n=t.top,i=t.left,r=t.bottom,o=t.right,s=a.globalPtToSlideObject(this.objView,i,n),l=a.globalPtToSlideObject(this.objView,o,r);return[s.x,s.y,l.x,l.y]}},onButtonClick:function(e){this.triggerDefaultAction()},onPlayPauseClick:function(e){this.videoControls.props.toggleVideoControls()},onSeekbarChange:function(e){this.controlView.onAccShadowRangeChange(parseInt(this.refs.progressBar.value))},takeControlFocus:function(e){this.refs[e].focus(),t.setFocusRectOn(this.refs[e])}})}.call(t,n,t,e))||(e.exports=i)},4646:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=DS,o=r.keyManager,s=r.globalEventHelper.addDocumentListener;return t.createClass({displayName:"AccVideoButtonMenuPopup",mixins:[i],getInitialState:function(){this.props.controlView.registerAccView(this);var e=this.props.controlView.getAccState();return e.currentIndex=this.getSelectedItemIndex(e),e},componentDidMount:function(){var e=this.refs.menu;e.addEventListener("focusin",this.onMenuFocusIn),e.addEventListener("focusout",this.onMenuFocusOut)},componentDidUpdate:function(){this.state.isOpen||this.refs.menu.contains(document.activeElement)&&this.takeControlFocus("button")},componentWillUnmount:function(){var e=this.refs.menu;e.removeEventListener("focusin",this.onMenuFocusIn),e.removeEventListener("focusout",this.onMenuFocusOut)},updateState:function(){this.setState(this.props.controlView.getAccState())},takeControlFocus:function(e){var t=this;"button"===e?this.refs.button.focus():window.requestAnimationFrame((function(){t.state.isOpen&&t.getItemByIndex(t.state.currentIndex).focus()}))},onButtonClicked:function(){this.props.controlView.toggleOpen()},handleOptionSelected:function(e){this.props.controlView.setSelected(e)},onMenuFocusIn:function(){this.isFocused||(this.isFocused=!0,this.currentIndex=this.getSelectedItemIndex(),this.removeKeyListener=s("keydown",this.onKeyDown))},onMenuFocusOut:function(e){if(this.isFocused){var t=this.props.controlView.el,n=this.props.controlView.menuContainer;this.isFocused=!1,this.removeKeyListener(),null!=e.relatedTarget&&(this.el.contains(e.relatedTarget)||t.contains(e.relatedTarget)||null!=n&&n.contains(e.relatedTarget))||this.props.controlView.closePanel()}},getSelectedItemIndex:function(e){var t=e||this.state;return t.options.findIndex((function(e){return e.value===t.currentChoice}))},getItemByIndex:function(e){return this.refs["option-".concat(e)]},onKeyDown:function(e){var t=this.state.options.length,n=this.state.currentIndex;o.isDownishKey(e.which)?n++:o.isUpishKey(e.which)?n--:o.isHomeKey(e.which)?n=0:o.isEndKey(e.which)&&(n=t-1),n>=t&&(n=0),n<0&&(n=t-1),n!==this.state.currentIndex&&(e.preventDefault(),this.setState({currentIndex:n}),this.getItemByIndex(n).focus())}})}.call(t,n,t,e))||(e.exports=i)},8863:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(5238),i=n(7523).parseBlocks,o=DS,s=o._,a=o.utils,l=a.getPath,c=a.pxify,u=o.events,h=o.flagManager,d=o.focusManager,p=o.keyManager,f=o.pubSub,g=o.dom,m=o.appState;return{accBase:{getInitialState:function(){var e=this;return null==this.getWidth&&(this.getWidth=function(){var t=r(e.getRect(),4),n=t[0],i=(t[1],t[2]);t[3];return i-n}),null==this.getHeight&&(this.getHeight=function(){var t=r(e.getRect(),4),n=(t[0],t[1]);t[2];return t[3]-n}),this.objView=this.props.slideObject.currView,this.controlView=l(this.objView,this.controlViewPath),this.objModel=this.props.slideObject,this.id=this.objModel.id,this.objView.accShadowView=this,this.scrollParent=this.objModel.getClosestAncestorByKind("scrollarea"),null!=this.beforeInitState&&this.beforeInitState(),{rect:!h.hasFlag(h.constants.SVG_IMAGE)||this.objView.trulyVisible?t.getBounds(this.objView):null,label:this.getLabel(),altTextOverridesText:this.objView.state.altTextOverridesText,tabbable:this.getTabbable(),tabIndex:this.tabIndex,depth:this.objModel.getFlattenedDepth?this.objModel.getFlattenedDepth():0}},getRect:function(){return null==this.state.rect?[0,0,0,0]:this.state.rect},getBaseAccAttribs:function(){return{id:"acc-".concat(this.id),tabIndex:this.tabIndex,onFocus:this.onShadowFocus,onBlur:this.onShadowBlur,onKeyDown:this.onShadowKeyDown,disabled:!this.state.enabled||null,"aria-hidden":!this.state.tabbable||null,"data-represents":this.objModel.absoluteId}},hasVarText:function(){return null!=l(this,"semanticTextConfig.origConfig.vartext")},getBaseAccStyle:function(){var e=r(this.getRect(),2),t=e[0],n=e[1];return{left:c(t),top:c(n),width:c(this.getWidth()),height:c(this.getHeight()),visibility:this.state.tabbable?"visible":"hidden",zIndex:this.state.depth}},componentWillMount:function(){this.objModel.on("trueVisibilityChanged",this.onVisibilityChange),this.objModel.on(u.slideObject.TRANSFORM_DIRTY,this.onTransformDirty),f.on(u.layer.STACKING_CHANGED,this.onDepthChanged)},componentDidMount:function(){this.associatedElso=this.getAssociatedElso(this.objModel)},onDepthChanged:function(){this.setState({depth:this.objModel.getFlattenedDepth()})},componentWillUnmount:function(){f.off(u.layer.STACKING_CHANGED,this.onDepthChanged),this.objModel.off("trueVisibilityChanged",this.onVisibilityChange),this.objModel.off(u.slideObject.TRANSFORM_DIRTY,this.onTransformDirty)},componentDidUpdate:function(e,t){null==this.focusedEl||s.isEqual(t.rect,this.state.rect)||d.setFocusRectOn(this.focusedEl)},onStateChanged:function(e,t){var n={enabled:this.objView.isEnabled(),tabbable:this.getTabbable(),label:this.getLabel()};!n.tabbable&&this.state.tabbable&&this.props.shadowDom.currFocusId===this.id&&this.props.shadowDom.updateTabPosition(this),null!=this.getState&&Object.assign(n,this.getState(t)),this.setState(n)},shadowFocus:function(e){null!=this.scrollParent&&this.objView.props.onScrollFocus(this.objView),null!=this.onFocus&&this.onFocus(e),this.focusedEl=null!=this.getFocusTarget?this.getFocusTarget(e.target):e.target;var t=null!=this.getLinkFocusRects?this.getLinkFocusRects(this.focusedEl):null;d.setFocusRectOn(this.focusedEl,t,2),this.props.shadowDom.currFocusId=this.id,this.isRelatedToElso(this.objModel)&&!this.focusFromSlideLayer&&this.objModel.parent.executePlayerEvent("onrollover"),this.focusFromSlideLayer=!1},onShadowFocus:function(e){null==this.onInterceptShadowFocus?this.shadowFocus(e):this.onInterceptShadowFocus(e)},onShadowKeyDown:function(e){null!=this.onKeyDown&&this.onKeyDown(e),p.executeKeypressEvent(this.objModel,e)},isRelatedToElso:function(e){return null!=e.relatedObject&&e.relatedObject.isKind("expandinglabel")},getAssociatedElso:function(e){if(null==e||!e.isKind)return null;if(e.isKind("expandinglabel"))return e;var t=e.getClosestAncestorByKind?e.getClosestAncestorByKind("expandinglabel"):null;return null==t&&this.isRelatedToElso(e)&&(t=e.relatedObject),t},onShadowBlur:function(e){if(null!=this.onBlur&&this.onBlur(e),d.takeFocusOff(this.focusedEl),this.focusedEl=null,null!=this.associatedElso){var t=e.relatedTarget||document.activeElement,n=g.mapShadowToModel(t),i=this.getAssociatedElso(n),r=this.associatedElso.currView.el;i===this.associatedElso||t.hasAttribute("data-top-level")||r.contains(t)||r.contains(DS.utils.fullScreen.getEl())||this.associatedElso.currView.refs.innard.hideComplete()}},onVisibilityChange:function(e){var n={tabbable:this.getTabbable()};e&&null==this.state.rect&&(n.rect=t.getBounds(this.objView)),this.setState(n)},onTransformDirty:function(){this.setState({rect:this.getBounds()})},getTabbable:function(){return!this.objView.props.tabIndexDisabled&&this.objView.trulyVisible&&this.objModel.get("tabEnabled")&&(null==this.isTabbable||this.isTabbable())},getBounds:function(){return t.getBounds(this.objView)},getLabel:function(){return this.objView.getAccessibleText()},takeFocus:function(e){this.focusFromSlideLayer=e,l(this,"getFocusTarget",this.el).focus({preventScroll:!0})},isCheckedState:function(){var e=this.objModel.getCurrentStateData();return null!=e&&(16&e.accState)>0},triggerDefaultAction:function(){var e=this.objModel.get("defaultAction")||"onrelease",t=this.objModel;do{t.isEventable&&s.some(t.events(),{kind:e})&&t.executePlayerEvent(e),t=t.parent}while(null!=t&&!t.isKind("expandinglabel"))}},accTextControl:{beforeInitState:function(){this.updateTextConfig()},parseText:function(){this.updateTextConfig();var e=this.semanticTextConfig.origConfig;return null==e?{children:[]}:i(this.semanticTextConfig.varMethods.updateVarText(this.origTemplate),e.wordwrap()||m.accessibleTextOn(),e.textshadow())},updateTextConfig:function(){this.semanticTextConfig=l(this,"objModel.semanticTextConfig",{origConfig:{vartext:s.noop}}),this.origTemplate=this.semanticTextConfig.origConfig.vartext()},getLabelStyle:function(){var e=this.semanticTextConfig.origConfig;return{left:c(e.get("xAccOffset")),top:c(e.get("yAccOffset")),position:"absolute"}},onLinkClicked:function(e){this.objView.textEvent("onlinkrelease",e)},isLinkTabbable:function(){return!0}}}}.call(t,n,t,e))||(e.exports=i)},812:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=DS.focusManager;return t.createClass({displayName:"AccListbox",mixins:[i],getInitialState:function(){return this.id="listbox-".concat(this.props.panelId),this.props.controlView.registerAccView(this),this.props.controlView.getAccState()},componentDidMount:function(){var e=this;this.mounted=!0,this.el.addEventListener("focusin",this.handleFocusIn),this.el.addEventListener("focusout",this.handleFocusOut),this.removeListeners=function(){e.el.removeEventListener("focusin",e.handleFocusIn),e.el.removeEventListener("focusout",e.handleFocusOut)}},componentWillUnmount:function(){this.mounted=!1,this.removeListeners()},handleFocusIn:function(){this.props.controlView.handleListFocus()},handleFocusOut:function(){this.props.controlView.handleListBlur()},getOptionRef:function(e){return e<0?null:"option-".concat(e)},getOptionEl:function(e){return this.refs["option-".concat(e)]},updateState:function(e){this.setState(e)},setItemFocus:function(e){this.forceUpdate();var t=this.getOptionEl(e);r.setFocusRectOn(t)},takeControlFocus:function(){this.refs.listbox.focus()}})}.call(t,n,t,e))||(e.exports=i)},8315:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698);return t.createClass({displayName:"AccSelectControl",mixins:[i],getInitialState:function(){return this.removeMenuListeners=function(){},this.id="select-".concat(this.props.panelId),this.props.controlView.registerAccView(this),this.props.controlView.getAccState()},componentWillUnmount:function(){this.removeMenuListeners()},getOptionRef:function(e){return"option-".concat(e)},updateState:function(e){this.setState(e)},handleClicked:function(e){this.props.controlView.toggleOpen()},takeControlFocus:function(e){var t=this;"button"===e?this.refs.button.focus():window.requestAnimationFrame((function(){t.props.controlView.isOpen()&&t.refs[t.getOptionRef(t.state.hoverIndex)].focus()}))}})}.call(t,n,t,e))||(e.exports=i)},4258:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698);return t.createClass({displayName:"AccTranscriptPanel",mixins:[i],getInitialState:function(){return this.props.controlView.registerAccView(this),this.panelId="panel-".concat(this.props.windowId),this.labelId="label-".concat(this.panelId),this.props.controlView.getAccState()},updateState:function(e){this.setState(e)},takeControlFocus:function(e){var t=this.refs[e];null!=t&&t.focus()}})}.call(t,n,t,e))||(e.exports=i)},1348:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=DS,o=r.focusManager,s=r.utils;return t.createClass({displayName:"AccUtilityWindow",mixins:[i],getInitialState:function(){return this.props.controlView.registerAccView(this),this.viewProps=this.props.controlView.getAccProps(),this.props.controlView.getAccState()},componentDidUpdate:function(){this.updateFocusRect&&(this.updateFocusRect=!1,this.el.contains(document.activeElement)&&o.setFocusRectOn(document.activeElement))},updateState:function(e){this.updateFocusRect=e,this.setState(this.props.controlView.getAccState())},updateKebabState:function(e){this.setState(e)},onMoveClicked:function(){this.props.controlView.handleMoveButton()},onResizeClicked:function(){this.props.controlView.handleResizeButton()},stopKeyListening:function(){this.props.controlView.stopKeyListening()},onCloseClicked:function(){this.props.controlView.handleCloseClicked()},onKebabClicked:function(){this.props.controlView.handleAccKebabClicked()},onKebabBlur:function(e){s.getPath(e,"relatedTarget.dataset.kebabPart")||this.props.controlView.closeKebabPanel()},handleOptionClicked:function(e,t){this.props.controlView.optionUpdated(e,t)},takeControlFocus:function(e){var t=this.refs[e];null!=t&&t.focus()}})}.call(t,n,t,e))||(e.exports=i)},9243:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=DS.utils.pxify;return{buildStyleFromRect:function(e){var n=r(e,4),i=n[0],o=n[1],s=n[2],a=n[3];return{left:t(i),top:t(o),width:t(s-i),height:t(a-o)}}}}.call(t,n,t,e))||(e.exports=i)},8335:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(5110),i=t.DraggableHelper,r=n(1689),o=DS._,s=DS.Backbone,a=DS.events,l=DS.dom,c="ondragover",u="ondragout",h=1500,d=function(e,n,i,r){return t.util.getRegisteredDroppables().filter((function(t){var s=t.params.data,a=s.dragdropData&&s.dragdropData[r];return s.model!==n&&o.result(s,e)&&o.intersection(a,i).length}))},p=function(e){this.view=e,this.model=this.view.props.model};return o.extend(p.prototype,s.Events,{componentWillMount:function(){this.model;this.getEnabledDroppables=o.partial(d,"isDroppable",this.model),this.getEnabledDraggables=o.partial(d,"isHoverable",this.model),this.listenTo(this.model,"addanimationdata",this.addAnimationData),this.listenTo(this.model.getSlide(),a.resume.APPLIED,this.registerRelationship),this.listenTo(this.model,"unparentForSeek",this.unparentForSeek)},componentDidMount:function(){this.dragdropData=this.model.dragdrop(),this.bindDrag(),this.parentShuffleGroup=l.closest(this.view.el,(function(e){return e.classList.contains("slide-object-shufflegroup")}))},getFromView:function(e,t){return(t=t||this).view.getPlayerProp(e)},setOnView:function(e,t,n){(n=n||this).view.setPlayerProp(e,t)},componentDidUpdate:function(e,t){var n=this.view.state.Enabled;n!==t.Enabled&&null!=this.draggableHelper&&this.draggableHelper[n?"enable":"disable"]()},componentWillUnmount:function(){this.stopListening(this.model,"addanimationdata",this.addAnimationData),this.stopListening(this.model.getSlide(),a.resume.APPLIED,this.registerRelationship)},bindDrag:function(){return this.dragdropData&&this.dragdropData.dragenabled&&(this.draggableHelper=new i(this.view,this.getDraggableConfig()),this.view.state.Enabled||this.draggableHelper.disable()),this},getDraggableConfig:function(){return o.bindAll(this,"onDragStart","onDraggingOver","onDragStop","onDropEnter","onDragOut","onDropped","getPosition","setPosition","getDropTarget","setTargets"),{containment:l.closest(this.view.el,(function(e){return e.classList.contains("slide")})),ondragstart:this.onDragStart,ondragend:this.onDragStop,ondropenter:this.onDropEnter,ondropdrag:this.onDraggingOver,ondropleave:this.onDragOut,ondrop:this.onDropped,getPosition:this.getPosition,setPosition:this.setPosition,getDropTarget:this.getDropTarget,setTargets:this.setTargets}},registerRelationship:function(){var e,t=this.model.prop("DragConnected"),n=this.model.prop("DropIndex");t&&(e=t.currView.decorators.droppable,this.dropParent=e.registerRelationship(this,n))},getDraggingPosition:function(){return{x:this.draggableHelper.x,y:this.draggableHelper.y}},getPosition:function(){return{x:this.view.getPlayerProp("RawXPos"),y:this.view.getPlayerProp("RawYPos"),dontScale:!0}},setPosition:function(e,t){this.setOnView({RawXPos:e,RawYPos:t})},setToInitPosition:function(){return this.model.reattachChild(),this.setPosition(this.view.getPlayerProp("ShuffleXPos"),this.view.getPlayerProp("ShuffleYPos")),this.setOnView({depth:this.view.getPlayerProp("InitDepth")}),this},setTargets:function(){var e=this.dragdropData.dragdropids,t=this.dragdropData.dragoverids;this.enabledDropTargets=this.getEnabledDroppables(e,"dragdropids"),this.enabledDragTargets=this.getEnabledDraggables(t,"dragoverids")},onDragStart:function(e,t){this.unParent(),this.setDepth(++h),this.view.dragging=!0,this.model.executePlayerEvent("ondragstart")},onDragStop:function(e,t){this.view.dragging=!1,this.model.executePlayerEvent("ondragend"),this.dragdropData.dragreturn&&!this.dropParent?this.setToInitPosition():this.dropParent||(this.model.reparentChild(this.model.getLayer()),this.setPosition(e.x,e.y))},onDraggingOver:function(e,t){t.params.data.onDragOver(this,e.x,e.y,!0)},onDropEnter:function(e,t){var n=t.params.data;this.setOnView("DragOverId",n.model.id),n.setOnView("DragOverId",this.model.id),n.onDragEnter(),this.model.executePlayerEvent(c),n.model.executePlayerEvent(c)},onDragOut:function(e,t){var n=t.params.data;this.setOnView("DragOverId",null),n.reflow(),this.model.executePlayerEvent(u),n.model.executePlayerEvent(u)},onDropped:function(e,t){var n=t.params.data;n.onDropped(this,e.x,e.y),this.dropParent=n,this.setOnView("DropTargetId",n.model.id),this.setOnView("DragConnected",n.model),this.model.reparentChild(n.model.getParentContainer())},getDropTarget:function(e,n,i){var s,a=this.draggableHelper,l="drag"===i?this.enabledDragTargets:this.enabledDropTargets,c=o.sortBy(l,t.util.sortByZIndexReverse);return c.reduce((function(e,t,n){var i=r.getOverlapArea(a.view,t.params.view,c.slice(0,n).map((function(e){return e.params.view})),!0);return i>e?(s=t,i):e}),0),s},unparentForSeek:function(){this.setToInitPosition()},unParent:function(){var e=this.dropParent;return e&&(e.removeDropChild(this),this.dropParent=null,this.setOnView("DropTargetId",null),this.setOnView("DragConnected",null),this.setOnView("DropIndex",null),this.model.executePlayerEvent("ondragdisconnect")),this},updateParentDepth:function(e){var t=this.parentShuffleGroup.querySelector(".group").childNodes.length;this.parentShuffleGroup.style.zIndex=e+t},setDepth:function(e){this.parentShuffleGroup&&this.updateParentDepth(e),this.setOnView("depth",e)},setIndex:function(e){this.setOnView("DropIndex",e)},getBounds:function(e){var t=e?this.getDraggingPosition():this.getPosition(),n=this.getFromView("width"),i=this.getFromView("height");return{left:t.x,top:t.y,right:t.x+n,bottom:t.y+i,width:n,height:i}},addAnimationData:function(e){e({RawXPos:this.getFromView("RawXPos"),RawYPos:this.getFromView("RawYPos")})},updateAfterTween:function(e){var t=this.draggableHelper;t.offsetX+=e.RawXPos-t.grabbedXPos,t.offsetY+=e.RawYPos-t.grabbedYPos}}),p}.call(t,n,t,e))||(e.exports=i)},59:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(5110).DroppableHelper,i=(n(1689),DS._),r=DS.utils,o=DS.Backbone,s=DS.events,a=(DS.TransMatrix,[{x:-1,y:-1},{x:1,y:-1},{x:-1,y:1},{x:1,y:1}]),l=function(e){e.setToInitPosition().unParent()},c=function(e){this.view=e,this.model=this.view.props.model,this.dropChildren=[]};i.extend(c.prototype,o.Events,{componentDidMount:function(){this.model;this.dragdropData=this.model.dragdrop(),this.bindDrop()},componentWillUnmount:function(){this.droppableHelper.unregister(),this.stopListening(this.model,s.resume.RESET,this.resetValues)},registerRelationship:function(e,t){return this.dropChildren[t]=e,this},getFromView:function(e,t){return(t=t||this).view.getPlayerProp(e)},setOnView:function(e,t,n){(n=n||this).view.setPlayerProp(e,t)},isMultiDrop:function(){return this.dragdropData.multidrop},resetQuadrants:function(){this.quadrants=a.slice()},setPositioningFns:function(){var e=this.dragdropData.droptype,t=u[e];i.extend(this,t)},isDroppable:function(){return this.dragdropData.dropenabled},isHoverable:function(){return this.dragdropData.dragoverenabled},resetValues:function(){this.dropChildren=[]},bindDrop:function(){return this.dragdropData&&(this.isDroppable()||this.isHoverable())&&(this.droppableHelper=new t(this.view.el,{data:this,view:this.view}),this.resetQuadrants(),this.setPositioningFns(),this.listenTo(this.model,s.resume.RESET,this.resetValues)),this},onDragOver:function(e){this.canDropHere(e)&&this.addChild(e,!0)},onDropped:function(e){this.canDropHere(e)&&this.addChild(e)},onDragEnter:function(){this.updatePositionSnapshot()},updatePositionSnapshot:function(){this.positionSnapshot=i.map(this.getDropChildren(),(function(e){return e.getBounds()}))},addChild:function(e,t){var n,i;this.isMultiDrop()||t||(this.getDropChildren().forEach(l.bind(this)),this.getDropChildren().length=0),n=this.getPlacementIndex(e),(i=t?this.getDropChildren().slice():this.getDropChildren()).splice(n,0,e),this.reflow(i,n,t)},canDropHere:function(e){var t=i.partial(i.includes,this.dragdropData.dragdropids);return e.dragdropData.dragdropids.some(t)},removeDropChild:function(e){return i.remove(this.getDropChildren(),e),this.reflow(),this.resetChildrenDepths(),this},getDropChildren:function(){return this.dropChildren},getDropQuadrant:function(){var e=i.random(this.quadrants.length-1),t=this.quadrants.splice(e,1)[0];return this.quadrants.length||this.resetQuadrants(),t},getRandomStackPosition:function(e){var t=this.getDropQuadrant();return{x:this.getXPos()+this.dragdropData.snapx+i.random(this.dragdropData.dropoffsetx)*t.x-e.dragdropData.snapx,y:this.getYPos()+this.dragdropData.snapy+i.random(this.dragdropData.dropoffsety)*t.y-e.dragdropData.snapy}},resetChildrenDepths:function(){var e=this.getDepth();this.getDropChildren().forEach((function(t,n){t.setIndex(n),t.setDepth(e+n+1)}))},getParents:function(){for(var e=[],t=this.view;t;)t.props.isInnard||e.push(t),t=t.props.parent;return e.reverse()},getXPos:function(){return this.model.parent.isKind("scrollarea")?this.view.state.RawXPos:this.getParents().reduce((function(e,t){return e+t.state.RawXPos}),0)},getYPos:function(){return this.model.parent.isKind("scrollarea")?this.view.state.RawYPos:this.getParents().reduce((function(e,t){return e+t.state.RawYPos}),0)},getDepth:function(){return this.model.parent.isKind("scrollarea")?this.view.state.depth:i.first(this.getParents()).state.depth}});var u={stackoffset:{getPlacementIndex:function(e){var t=this.getXPos()+this.dragdropData.snapx,n=this.getYPos()+this.dragdropData.snapy,i=e.getBounds(!0),r=Math.floor((i.left-t)/this.dragdropData.dropoffsetx)+1,o=Math.floor((i.top-n)/this.dragdropData.dropoffsety)+1,s=Math.min(r,o,this.positionSnapshot.length);return Math.max(0,s)},reflow:function(e,t,n){var i=this.getXPos()+this.dragdropData.snapx,r=this.getYPos()+this.dragdropData.snapy;(e||this.getDropChildren()).forEach(function(e,o){o>0&&(i+=this.dragdropData.dropoffsetx,r+=this.dragdropData.dropoffsety),n&&o===t||(e.setPosition(i,r),e.setIndex(o))}.bind(this))}},tile:{getPlacementIndex:function(e){for(var t=-1,n=e.getBounds(!0),i=Math.max(this.getXPos(),n.left+n.width/2),r=Math.max(this.getYPos(),n.top+n.height/2);++t<this.positionSnapshot.length&&!(i<this.positionSnapshot[t].right&&r<this.positionSnapshot[t].bottom||r<this.positionSnapshot[t].top););return t},reflow:function(e,t,n){var i=this.getXPos(),r=this.getYPos(),o=i+this.dragdropData.snapx,s=r+this.dragdropData.snapy,a=o,l=s,c=o+this.getFromView("width")-this.dragdropData.dropoffsetx;(e||this.getDropChildren()).forEach(function(e,r,u){var h=this.getFromView("width",e),d=this.getFromView("height",e);r>0&&(o=a+this.dragdropData.dropoffsetx),(a=o+h)>c&&(o=i+this.dragdropData.snapx,a=o+h,s=l+this.dragdropData.dropoffsety),n&&r===t||(e.setPosition(o,s),e.setIndex(r)),l=Math.max(l,s+d)}.bind(this))}},stackrandom:{getPlacementIndex:function(){return r.getPath(this,"positionSnapshot.length",0)},reflow:function(e,t,n){var r,o;1!==(e=e||this.getDropChildren()).length?!n&&isFinite(t)&&(r=i.last(e),o=this.getRandomStackPosition(r),r.setPosition(o.x,o.y),r.setIndex(t)):null==t?u.snap.reflow.call(this,e,0,!1):u.snap.reflow.call(this,e,t,n)}},snap:{getPlacementIndex:function(){return r.getPath(this,"positionSnapshot.length",0)},reflow:function(e,t,n){var r,o,s,a=this.getXPos(),l=this.getYPos(),c=a+this.dragdropData.snapx,u=l+this.dragdropData.snapy;!n&&isFinite(t)&&(r=(s=i.last(e)).dragdropData.snapx,o=s.dragdropData.snapy,s.setPosition(c-r,u-o),s.setIndex(t))}},free:{getPlacementIndex:function(){return r.getPath(this,"positionSnapshot.length",0)},reflow:i.noop}};return c}.call(t,n,t,e))||(e.exports=i)},1718:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(949),i=n(1689),r=n(8907),o=DS._,s=DS.Backbone,a=DS.windowManager,l=DS.resolver,c=DS.svgUtils,u=DS.utils,h=DS.detection,d=(DS.tabFocusBox,DS.dom,DS.globalEventHelper),p=d.addBodyListener,f=(d.removeBodyListener,d.addWindowListener),g=(d.removeWindowListener,function(e,t){return t+360*(e?1:-1)}),m=o.partial(g,!0),v=o.partial(g,!1),y=Number.MAX_SAFE_INTEGER||Math.pow(2,50),S=function(e){this.view=e,this.model=e.props.model,o.extend(this,this.model.dragrotation())};o.extend(S.prototype,s.Events,{dragging:!1,inverted:!1,componentDidMount:function(){this.currSlide=a.getCurrentWindowSlide(),o.bindAll(this,"getBoundValue","setLoAndHi","setDegreeSnap","setBoundVar","setListeners","updateRotation","setRotationFromValue","onBoundVariableChanged","adjustVariable","onMouseDown","onMouseUp","getAngleFromValue","getValueFromAngle","roundStep","getAngleFromEvent","adjustOverRotation","cleanAngle","onMouseMove","setAngle","isEnabled","getRangeAttributes","onAccShadowRangeChange"),this.parentEl=this.view.el.parentNode,this.setLoAndHi().setDegreeSnap().setBoundVar().setListeners().setRotationFromValue(this.getBoundValue())},getBoundValue:function(){return void 0===this.boundVar?this.initialValue:parseFloat(this.boundVar.value())},componentDidUpdate:function(){this.updateRotation()},setLoAndHi:function(){return this.lowvalue=Math.min(this.startvalue,this.endvalue),this.highvalue=Math.max(this.startvalue,this.endvalue),this.lowvalue<this.startvalue&&(this.inverted=!0),this},componentWillUnmount:function(){this.stopListening(),this.view.el.removeEventListener("mousedown",this.onMouseDown),null!=this.removeMouseupListener&&this.removeMouseupListener(),null!=this.removeMouseMoveListener&&this.removeMouseMoveListener(),this.unbindTouch&&this.unbindTouch()},setDegreeSnap:function(){var e;return this.valRange=this.highvalue-this.lowvalue,this.angleRange=Math.abs(this.endrotation-this.startrotation),this.snap&&(e=this.valRange,this.valRange=this.valRange-this.valRange%this.increment,this.angleRange=this.angleRange*(this.valRange/e),this.stepDeg=u.fix(this.angleRange/(this.valRange/this.increment))),this},setBoundVar:function(){return this.boundVar=l.resolvePath(this.bindto,this.model),this},setListeners:function(){return void 0!==this.boundVar&&this.listenTo(this.boundVar,"change:value",this.onBoundVariableChanged),h.device.isMobile?this.unbindTouch=o.flow(t.on(this.view.el,"touchstart",this.onMouseDown),t.on(this.view.el,"touchend",this.onMouseUp),t.on(this.view.el,"touchmove",this.onMouseMove)):(this.view.el.addEventListener("mousedown",this.onMouseDown),this.removeMouseupListener=f("mouseup",this.onMouseUp)),this},updateRotation:function(){this.setRotationFromValue(this.getValueFromAngle(this.lastSetRotation))},setRotationFromValue:function(e){var t=this.view.props.winScale,n=this.view.el,r=(this.rotateXPos-this.model.rotateXPos())*t,o=(this.rotateYPos-this.model.rotateYPos())*t;return null!=this.origTransform&&this.dragging||(this.origTransform=this.view.getPositioningTransform()),this.lastSetRotation=this.getAngleFromValue(e),n.style[this.view.cssTransform]=[this.origTransform,c.transformTranslate(u.pxify(r),u.pxify(o)),c.transformRotate(this.lastSetRotation+"deg"),c.transformTranslate(u.pxify(-r),u.pxify(-o))].join(" "),this.model.forEachAncestor((function(e){if(e.isKind("scrollarea")||e.isKind("slidelayer"))return!1;null!=e.currView&&i.transformUpdated(e.currView,!0)}),!0),this},onBoundVariableChanged:function(e,t){this.setRotationFromValue(t),null!=this.view.accShadowView&&null!=this.view.accShadowView.viewChanged&&this.view.accShadowView.viewChanged(t)},adjustVariable:function(e){if(void 0===this.boundVar)return this;var t={operator:"set",value:{type:"number",value:e}};return this.boundVar.adjust(t,{context:this.model}),this},onMouseDown:function(e){this.dragging=!0,e.preventDefault(),this.view.giveAccFocus(),this.isEnabled()&&(this.centerCoords=r.localPtToSlide(this.view,this.rotateXPos,this.rotateYPos),this.lastAngle=this.initAngle=this.getAngleFromEvent(e),this.angleChange=this.overRot=0,this.initRotation=this.lastSetRotation,this.removeMouseMoveListener=p("mousemove",this.onMouseMove))},onMouseUp:function(e){null!=this.removeMouseMoveListener&&this.removeMouseMoveListener(),this.removeMouseMoveListener=null,!this.liveupdating&&this.isEnabled()&&this.adjustVariable(this.getValueFromAngle(this.lastSetRotation)),this.dragging=!1},getAngleFromValue:function(e){e=u.clamp(this.lowvalue,this.highvalue,e);var t=this.inverted?this.highvalue-e:e-this.lowvalue;return null!=this.stepDeg?t/this.increment*this.stepDeg+this.startrotation:t/this.valRange*this.angleRange+this.startrotation},getValueFromAngle:function(e){var t=(e-this.startrotation)/this.angleRange*this.valRange;return t=this.inverted?this.highvalue-t:this.lowvalue+t,this.roundValue(t)},roundStep:function(e,t){return(e?o.range(this.startrotation,this.endrotation+1,this.stepDeg):o.range(this.lowvalue,this.highvalue+1,this.increment)).reduce((function(e,n){return Math.abs(n-t)<Math.abs(e-t)?n:e}),y)},getAngleFromEvent:function(e){var n=t.getPageLoc(e),i=r.globalPtToLayer(this.view,n.pageX,n.pageY),o=i.x-this.centerCoords.x,s=i.y-this.centerCoords.y;return u.normalizeDeg(u.radToDeg(Math.atan2(s,o))+90)},adjustOverRotation:function(e){var t=e-this.lastAngle;t>180?this.overRot=v(this.overRot):t<-180&&(this.overRot=m(this.overRot))},cleanAngle:function(e){var t=u.normalizeDeg(e);return this.snap?this.roundAngle(t):t},onMouseMove:function(e){if(this.isEnabled()){var t=this.getAngleFromEvent(e);this.adjustOverRotation(t),this.lastAngle=t,this.angleChange=t+this.overRot-this.initAngle,t=this.initRotation+this.angleChange,this.setAngle(u.clamp(this.startrotation,this.endrotation,t))}},setAngle:function(e){e!==this.lastSetRotation&&(this.liveupdating?this.adjustVariable(this.getValueFromAngle(e)):(this.lastSetRotation=e,this.setRotationFromValue(this.getValueFromAngle(e))))},isEnabled:function(){var e=this.model.getClosestParentRef();return this.model.prop("Enabled")&&(!e.isSlideObject||e.prop("Enabled"))},getRangeAttributes:function(){return{type:"range",value:this.getBoundValue(),step:this.snap?this.increment:0,min:this.startvalue,max:this.endvalue,tabindex:-1}},onAccShadowRangeChange:function(e){this.setRotationFromValue(e),this.adjustVariable(e)}});var b=S.prototype;return b.roundValue=o.partial(b.roundStep,!1),b.roundAngle=o.partial(b.roundStep,!0),S}.call(t,n,t,e))||(e.exports=i)},6083:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4196),i=n(8907),r=n(1689),o=DS._,s=DS.Backbone,a=DS.utils,l=DS.resolver,c=DS.svgUtils,u=(DS.dom,DS.windowManager),h=DS.detection,d=function(e){this.view=e,this.model=e.props.model,this.parentModel=this.model.getClosestParentRef(),this.toFixedAmount=0};return o.extend(d.prototype,s.Events,{eventMap:{mouseover:"onrollover",mouseout:"onrollout",mousedown:"onpress",mouseup:"onrelease",dblclick:"ondoubleclick"},componentWillMount:function(){o.bindAll(this,"onUpdateSlider","onBoundVariableChanged","onMouseEvent","onBtnDown","onBtnUp","giveAccShadowElFocus")},componentDidMount:function(){this.parentEl=this.view.el.parentNode,this.sliderContainer=this.parentEl.querySelector(".state-group-top-level"),this.setupSlider().buildSlider().setupAction().setupEvents().updateSliderThumb(null,!0),this.currSlide=u.getCurrentWindowSlide()},onAfterShow:function(){this.updateSliderThumb(null,!0)},setupAction:function(){return this.adjustVarAction={kind:"adjustvar",variable:this.dragpath.bindto,operator:"set",value:{}},this.adjustVarAction.slideableId=this.model.id,this},adjustVariable:function(e){void 0!==this.boundVariable&&(this.adjustVarAction.value={type:"number",value:e},t.executeAction(this.adjustVarAction,{context:this.model}))},transformValue:function(e){var t=this.invertedSlider?this.max+this.min-e:e;return a.fix(t,this.toFixedAmount)},setupSlider:function(){var e,t;return this.dragpath=this.model.dragpath(),this.parentEl.style.pointerEvents="all",this.zIndex=this.parentModel.objects().length+1,this.maxX=this.parentModel.width()-this.model.width(),this.totalRange=Math.abs(this.dragpath.endvalue-this.dragpath.startvalue),this.toFixedAmount=(e=this.dragpath.increment,2===(t=e.toString().split(".")).length?Math.min(2,t[1].length):0),this.boundVariable=l.resolvePath(this.dragpath.bindto),this},setupEvents:function(){return this.eventType=this.dragpath.liveupdating?"input":"change",void 0!==this.boundVariable&&this.listenTo(this.boundVariable,"change:value",this.onBoundVariableChanged),this.addOrRemoveListeners(!0),this},giveAccShadowElFocus:function(){this.view.giveAccFocus()},addOrRemoveListeners:function(e){var t=e?"addEventListener":"removeEventListener",n=this.parentEl.parentNode;h.device.isDesktop?(this.view.el[t]("mousedown",this.onBtnDown),n[t]("click",this.giveAccShadowElFocus)):(this.parentEl.style.pointerEvents="none",n[t]("touchmove",this.onUpdateSlider),n[t]("touchstart",this.onUpdateSlider),n[t]("touchcancel",this.onUpdateSlider),n[t]("touchend",this.onUpdateSlider))},getBoundValue:function(){return void 0===this.boundVariable?this.dragpath.initialValue:parseFloat(this.boundVariable.value())},getTrackModel:function(){this.trackModel=this.parentModel.objects().find((function(e){return e.id.indexOf("_track")>-1}))},onMouseEvent:function(e){this.parentModel.executePlayerEvent(this.eventMap[e.type])},onBoundVariableChanged:function(e,t,n){t=this.transformValue(parseFloat(t)),this.updateSliderThumb(t,!0)},onUpdateSlider:function(e){if(this.view.trulyVisible){var t,n,r,s,l,c,u,h,d,p,f=this.model.width(),g=f/2,m=this.model.height()/2;e.preventDefault(),1===a.getPath(e,"touches.length")?(c=e.touches[0].pageX,u=e.touches[0].pageY):(c=e.pageX,u=e.pageY),o.includes(["mouseup","touchend"],e.type)?this.updateVariable():null!=c&&null!=u&&(i.setMatrixDirty(this.topParentView),n=i.globalPtToSlideObject(this.topParentView,c,u),o.includes(["mousedown","touchstart"],e.type)?(p=i.localPtToLocal(this.view,this.topParentView,g,m),h=n.x-p.x,d=n.y-p.y,o.extend(this,{offX:h,offY:d})):(h=this.offX,d=this.offY),n.x-=h,n.y-=d,t=a.clamp(0,1,(n.x-g)/(this.trackModel.width()-f)),l=!1,(r=(this.totalRange+this.step)*t+this.min)<=0&&(r*=-1,l=!0),s=r-Math.abs(r%this.step)+Math.abs(this.step/2)+this.step/2,l&&(s*=-1),this.currValue=a.clamp(this.min,this.max,s-this.step),this.dragpath.liveupdating?this.updateVariable():this.updateSliderThumb(this.currValue))}},updateVariable:function(){return this.adjustVariable(this.transformValue(this.currValue)),this},onBtn:function(e,t){var n=e?"addEventListener":"removeEventListener";this.onUpdateSlider(t),document.body[n]("mousemove",this.onUpdateSlider),document.body[n]("mouseup",this.onBtnUp)},addFocusStyle:function(){var e=c.createElement("rect"),t=this.view.find("g > g"),n=t.getBBox();e.setAttribute("class","focused"),e.setAttribute("x",n.x-3),e.setAttribute("y",n.y-3),e.setAttribute("width",n.width+6),e.setAttribute("height",n.height+6),e.setAttribute("stroke-width",3),t.appendChild(e),this.focusRect=e},componentWillUnmount:function(){this.addOrRemoveListeners(!1)},getRangeAttributes:function(){var e=this.getBoundValue(),t=this.dragpath.startvalue,n=this.dragpath.endvalue;return t>n&&(t=this.dragpath.endvalue,n=this.dragpath.startvalue,e=this.transformValue(e)),{type:"range",value:e,step:this.dragpath.snap?this.dragpath.increment:0,min:t,max:n,tabindex:-1,"data-accepts":"events"}},onAccShadowRangeChange:function(e){this.updateSliderThumb(e,!0),this.adjustVariable(e)},buildSlider:function(){var e=this.getRangeAttributes();return this.invertedSlider=this.dragpath.startvalue>this.dragpath.endvalue,this.min=e.min,this.max=e.max,this.step=e.step,this.getTrackModel(),this.topParentView=this.view.props.parent.props.parent,this},updateSliderThumb:function(e,t){e=null!=e?e:this.transformValue(this.getBoundValue());var n=a.clamp(this.min,this.max,e),o=(n-this.min)/this.totalRange;return this.currValue=n,null!=this.view.accShadowView&&this.view.accShadowView.viewChanged&&this.view.accShadowView.viewChanged(n),this.view.setPlayerProp("RawXPos",o*this.maxX),i.setMatrixDirty(this.topParentView),r.transformUpdated(this.view.props.parent,!0),this}}),o.extend(d.prototype,{onBtnDown:o.partial(d.prototype.onBtn,!0),onBtnUp:o.partial(d.prototype.onBtn,!1)}),d}.call(t,n,t,e))||(e.exports=i)},4076:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1689),i=n(2625),r=n(118),o=n(3949),s=DS._,a=DS.Backbone,l=DS.AnimationTimeline,c=function(e){this.view=e,this.model=this.view.props.model};return s.extend(c.prototype,a.Events,{componentWillMount:function(){if(!this.model.animations().isEmpty()){var e={"showcustom hidecustom":this.showHideCustom,addanimationdata:this.addAnimationData,killAnimations:this.stopCurrentAnimation,hide:s.partial(this.stopCurrentAnimation,!0),clearAnimations:this.clearAnimations};e[o.EXE_ANIMATION]=this.animate,this.listenTo(this.model,e)}},componentDidMount:function(){this.el=this.view.el},componentDidUpdate:function(){this.view.tweenedConfig&&(s.extend(this.el.style,this.view.tweenedConfig.style),null!=this.view.animationOverride&&this.view.animationOverride.update(this.view.tweenedConfig.props))},componentWillUnmount:function(){this.stopCurrentAnimation(!1),this.stopListening()},showHideCustom:function(e,t,n,i){this.playAnimation(n,t.timelineLabel,!1,i,!e)},animate:function(e,t){this.model.prop("TimelineControlled",null!=t.timelineLabel),this.playAnimation(this.model.animations().get(e.id),t.timelineLabel,e.reverse.value)},addAnimationData:function(e){e(null!=this.view.tweenedConfig?this.view.tweenedConfig.props:null)},clearAnimations:function(){this.stopCurrentAnimation(!1)},playAnimation:function(e,t,n,r,o){this.stopCurrentAnimation(!0);var s=this.createTimelineFor(e,n,r);this.tweenableTimeline=new i(this.view,s,t,o),this.view.setPlayerProp("Moved",null!=t)},createTimelineFor:function(e,n,i){var o=new l({tweens:[new r(this.view,n,e.getConfig())],onComplete:this.wrapCallback(i,e.id,n)});return o.onUpdate=function(){t.transformUpdated(this.view),(this.model.isShapeMask||this.model.isShapeMasked)&&this.model.onTweenUpdate(this.view)}.bind(this),o},wrapCallback:function(e,n,i){return function(){this.stopCurrentAnimation(!1),t.transformUpdated(this.view,!0),null!=e&&e(),this.model.executeFilteredPlayerEvent((function(e){if(e.id===n&&e.reverse===i)return!0}),"onanimationcomplete")}.bind(this)},stopCurrentAnimation:function(e){null!=this.tweenableTimeline&&(this.tweenableTimeline.destroy(e),this.tweenableTimeline=null,this.view.tweenedConfig=null)}}),c}.call(t,n,t,e))||(e.exports=i)},8103:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2658);return{hasVectorBackground:function(){return"vector"===this.getPath("props.model.background.type")},hasImageBackground:function(){return"swf"===this.getPath("props.model.background.type")},getImageBgAssetId:function(){return this.getPath("props.model.background.imagedata.assetId")},getImageBgAsset:function(){return t.getAsset(this.getImageBgAssetId())},getImageBgUrl:function(){return this.getImageBgAsset().url()},getImageBgStyle:function(){var e=this.getImageBgAsset();return{position:"absolute",left:e.mobiledx(),top:e.mobiledy(),height:e.height(),width:e.width()}}}}.call(t,n,t,e))||(e.exports=i)},1504:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.utils;return{componentWillMount:function(){var e=this.props.model,i=e.isKind("slidelayer"),r=this.props.slideFrame;this.childrenVisible=!1,this.trulyVisible=!1,this.parentVisible=!1,i&&null!=r&&this.listenTo(r.props.model,"trueVisibilityChanged",t.partial(this.updateTrueVisibility,null)),this.isParentVisible=i?function(){return n.getPath(this.props.slideFrame,["props","model","currView","trulyVisible"],!0)}:function(){return this.parentVisible},i?this.isObjectVisible=function(){return this.isBaseLayer()||!!e.isOpen}:e.isKind("shufflegroup")?this.isObjectVisible=this.isParentVisible:this.isObjectVisible=function(){return e.prop("OnStage")&&!e.prop("HiddenByLayer")},this.isChildrenVisible=e.isKind("expandinglabel")?function(e){return e&&this.getPlayerProp("Expanded")}:t.identity},componentDidMount:function(){this.isBaseLayer&&this.isBaseLayer()&&this.updateTrueVisibility()},updateTrueVisibility:function(e){null==e&&(e=this.isObjectVisible());var n=this.props.model,i=this.isParentVisible(),r=e&&i,o=this.isChildrenVisible(r);r!==this.trulyVisible&&(this.trulyVisible=r,this.parentVisible=i,n.trigger("trueVisibilityChanged",r)),this.childrenVisible!==o&&(this.childrenVisible=o,n.objects&&n.objects().forEach((function(e){var n=e.currView;null!=n&&t.isFunction(n.updateTrueVisibility)&&n.parentVisible!==o&&(n.parentVisible=o,n.updateTrueVisibility())})))}}}.call(t,n,t,e))||(e.exports=i)},2540:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS,n=(t._,t.appState),i=t.dom,r=t.events;return{template:function(){return this.getTemplateManager().getTemplate("DragdropSlideObject").bind(this)()},getDefaultProps:function(){return{notchWidth:10,notchHeight:Math.round(6)}},componentDidMount:function(){this.htmlReady(this.mountWithOverState),this.listenTo(n,r.player.ACCESSIBLE_TEXT_CHANGED,this.onAccessibleTextChanged)},mountWithOverState:function(){var e=document.elementFromPoint(i.mouseX,i.mouseY);i.closest(e,function(e){return e===this.el}.bind(this))&&this.didMouseOver()},onAccessibleTextChanged:function(e){this.setState({useAccText:this.getUseAccText()})},getInitialState:function(){var e=this.getPath("props.model.data.textdata.vectortext.pr")||{},t=this.getPath("props.model.data.textdata")||{xAccOffset:0,yAccOffset:0};return this.originX=t.xAccOffset,this.originY=t.yAccOffset,this.accTextModel={parent:this,width:function(){return t.width},height:function(){return t.height},wordwrap:function(){return t.wordwrap},textshadow:function(){return t.textshadow},vartext:function(){return t.vartext},valign:function(){return t.valign},linkdata:function(){return[]}},{textCommandsetId:e.i,textPathLibId:e.l,wordbankRadius:this.getPath("props.model.height",0)/2,useAccText:this.getUseAccText()}},getUseAccText:function(){return"acctext"===this.getPath("props.model.data.textdata.type")&&(n.accessibleTextOn()||this.getPath("props.model.data.textdata.scrollOverflow"))},didMouseOver:function(){this.isEnabled()&&this.setState({hovered:!0})},didMouseOut:function(){this.setState({hovered:!1})},getAccTextModel:function(){return this.accTextModel}}}.call(t,n,t,e))||(e.exports=i)},5193:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8907),i=DS._;return{componentWillMount:function(){this.props.isInnard&&i.extend(this.props.parent,{attachView:this.attachView})},componentWillUpdate:function(){i.forEach(this.getDetachedChildren(),function(e){this.attachView(e.child.currView)}.bind(this))},componentDidUpdate:function(){i.forEach(this.getDetachedChildren(),function(e){var t=e.newParent.currView,n=e.child.currView;null!=t&&null!=n&&t.attachView(n)}.bind(this))},attachView:function(e){e.reparentedContainer=this,null!=this.refs.bg&&this.refs.contentArea.contains(this.refs.bg.el)?this.refs.contentArea.insertBefore(e.el,this.refs.bg.el):null!=this.refs.allAudio&&this.refs.contentArea.contains(this.refs.allAudio)?this.refs.contentArea.insertBefore(e.el,this.refs.allAudio):this.refs.contentArea.appendChild(e.el),t.setMatrixDirty(e)},getDetachedChildren:function(){return this.props.model.detachedChildren||{}}}}.call(t,n,t,e))||(e.exports=i)},7940:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.vow,i=DS.constants,r=DS.pubSub,o=DS.events,s=DS.detection,a=DS.Chunk;return{componentWillUpdate:function(e,t){this.state.currentSlide&&this.state.currentSlide!==t.currentSlide&&this.state.currentSlide.beforeSlideOut(),t.currentSlide&&t.currentSlide!==this.state.currentSlide&&!this.isShowingMovedSlide&&t.currentSlide.resetBeforeView()},componentWillMount:function(){s.theme.isClassic||r.on(o.resume.RESET_DATA,this.onResetData)},onResetData:function(){this.clearNextPush=function(){this.resetHistoryResumeData(),this.setState({history:[]}),r.trigger(o.slideWindow.CLEAR_HISTORY)}},componentDidMount:function(){this.slideContainer=this.findComponent("SlideContainer")},getId:function(){return this.props.isMainWindow?i.refs.FRAME:this.props.id},getInitialState:function(){return{history:[],currentSlide:this.getCurrentSlide()}},forceTransition:function(){this.getCurSlidePromise().then((function(e){e.forceTransition()}))},getCurrentSlide:function(){return t.last(this.state?this.state.history:[])},getPrevSlide:function(){var e=this.state.history;return e.length>1?e[e.length-2]:null},getPrevHistoryGroup:function(){var e=this.state.history,t=this.getPrevHistoryGroupIndex();return-1===t?null:e[t]},getPrevHistoryGroupIndex:function(){var e=this.getCurrentSlide(),n=this.state.history;return null==e?-1:t.findLastIndex(n,(function(t){return e.get("historyGroupId")!==t.get("historyGroupId")}))},canGoForward:function(e){return t.last(this.state.history)!==e},pushHistory:function(e){return null!=this.clearNextPush&&(this.clearNextPush(),this.clearNextPush=null),this.canGoForward(e)&&this.refreshHistory(e),this},popHistory:function(){return null!=this.getPrevSlide()&&this.refreshHistory(),this},popHistoryGroup:function(){var e=this.state.history,t=this.getPrevHistoryGroupIndex();return-1!==t&&(e=e.slice(0,t+1),this.updateHistoryState(e)),this},refreshHistory:function(e){var t=this.state.history.slice();return e?t.push(e):t.pop(),this.updateHistoryState(t),this},updateHistoryState:function(e){var n=t.last(e);n.prop("WindowId",this.props.isMainWindow?i.refs.FRAME:this.props.model.id),DS.connection.stopAssetGroup(),this.setState({history:e,currentSlide:n})},prepareToUpdateSlide:function(e){return this.isShowingMovedSlide=e,this.slideContainer.prepareToUpdateSlide(e),this},replaceSlideWith:function(e){return this.slideContainer.replaceSlideWith(e),this},rebuildCurSlide:function(){return this.slideContainer.rebuildCurSlide(),this},getCurSlide:function(){return this.slideContainer.curSlide},getCurSlidePromise:function(){return this.slideContainer.getCurSlidePromise()},resetHistoryResumeData:function(){this.state.history.forEach((function(e){return e.resetResume()}))},getHistoryResumeData:function(){return this.state.history.map((function(e){return e.getWindowResumeRef()})).join("")},getResumeData:function(){var e=this.props.model,t=null==e?0:e.index()+1;return[a.create(a.toUnsignedString64(t)),this.getCurrentSlide().getWindowResumeRef(),a.create(this.getHistoryResumeData())].join("")},setPreviousHistory:function(e){var t=this.state.history;t.unshift.apply(t,e)},isWaitingForSlideLoad:function(){return n.isPending(this.slideLoadingPromise)},setSlideLoading:function(e){return this.slideLoadingPromise=e,this}}}.call(t,n,t,e))||(e.exports=i)},1112:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(3305),i=n(882),o=n(8698),s=n(7877),a=n(8907),l=n(7158),c=DS,u=c.globalEventHelper,h=u.addDocumentListener,d=u.addWindowListener,p=c.utils,f=c.focusManager,g=c.keyManager,m=c.dom;return t.createClass({displayName:"ButtonPopupMenu",mixins:[o],getInitialState:function(){var e=this;return _.forEach(this.props.menuConfig,(function(t,n){e[n]=t.bind(e)})),this.options=this.getOptions(),Object.assign({panelOpen:!1},this.getInitMenuState())},componentDidMount:function(){this.el.style.setProperty("--hover-background-color",p.toRgba(this.props.colors.iconHoverColor,6)),this.el.style.setProperty("--hover-border-color",this.props.colors.hoverBorderColor),null!=this.accView&&this.accView.updateState(),this.createPopupMenu()},componentDidUpdate:function(){null!=this.accView&&this.accView.updateState(),this.props.isFullScreen||null==this.removeKeyListener||this.removeKeyListener(),this.positionPopupMenu()},componentWillUnmount:function(){this.accView=null,null!=this.removeDocumentListener&&this.removeDocumentListener(),null!=this.removeKeyListener&&this.removeKeyListener(),this.handleUnmount(),null!=this.menuContainer&&(this.hidePopupMenu(),i.unmountComponentAtNode(this.menuContainer),this.menuContainer=null)},registerAccView:function(e){this.accView=e},getMenuId:function(){return null==this.menuId&&(this.menuId=_.uniqueId("button-menu-")),this.menuId},onMouseUp:function(e){null!=this.accView&&(this.props.videoInterface.isFullScreen()||this.accView.takeControlFocus("button"))},createPopupMenu:function(){this.menuContainer=document.createElement("div"),m.addClass(this.menuContainer,"modern-video-controls"),m.addClass(this.menuContainer,"modern-video-controls-top-container"),this.menuComponent=i.render(t.createElement(l,Object.assign({},this.props,{getMenuId:this.getMenuId,getMenuLabel:this.getMenuLabel,getOptions:this.getOptions,onItemClicked:this.onItemClicked,getInitMenuState:this.getInitMenuState,handleUnmount:this.handleUnmount})),this.menuContainer),this.showPopupMenu(),this.positionPopupMenu()},positionPopupMenu:function(){var e=this.refs.button.getBoundingClientRect(),t=e.top,n=e.left;Object.assign(this.menuContainer.style,{top:"".concat(t,"px"),left:"".concat(n,"px")})},showPopupMenu:function(){s.getTopContainer().appendChild(this.menuContainer),this.removeResizeListener=d("resize",this.positionPopupMenu)},hidePopupMenu:function(){null!=this.menuContainer.parentElement&&this.menuContainer.parentElement.removeChild(this.menuContainer),this.removeResizeListener()},toggleOpen:function(){this.isPanelOpen()?this.closePanel():this.openPanel()},isPanelOpen:function(){return this.state.panelOpen},openPanel:function(){var e=this;this.removeDocumentListener=h("pointerup",this.checkShouldClose),this.setState({panelOpen:!0}),this.menuComponent.setState({panelOpen:!0}),this.props.isFullScreen?window.requestAnimationFrame((function(){var t=e.getItemByIndex(e.state.currentIndex);null!=t&&t.focus()})):this.props.videoInterface.isFullScreen()||null==this.accView||this.accView.takeControlFocus("menu")},checkShouldClose:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0],i=n.pageX,o=n.pageY,s=document.elementFromPoint(i,o);this.el.contains(s)||this.menuContainer.contains(s)||this.closePanel()},closePanel:function(){null!=this.removeDocumentListener&&this.removeDocumentListener(),this.setState({panelOpen:!1}),this.menuComponent.setState({panelOpen:!1})},onItemClicked:function(e,t){this.setSelected(t)},setSelected:function(e){this.setState({currentChoice:e}),this.menuComponent.setState({currentChoice:e}),this.handleSelected(e),this.closePanel(),this.props.isFullScreen&&(this.refs.button.focus(),f.setFocusRectOn(this.refs.button))},toLocalCoords:function(e){var t=e.getBoundingClientRect(),n=t.top,i=t.left,r=t.bottom,o=t.right,s=this.props.model.currView,l=a.globalPtToSlideObject(s,i,n),c=a.globalPtToSlideObject(s,o,r);return[l.x,l.y,c.x,c.y]},getRelativeRect:function(e){var t=r(this.toLocalCoords(this.el),2),n=t[0],i=t[1],o=r(this.toLocalCoords(e),4);return[o[0]-n,o[1]-i,o[2]-n,o[3]-i]},getAccOptions:function(){var e=this,t=this.props.fullScreen?this:this.menuComponent;return this.options.map((function(n,i){var r=t.refs["option".concat(i)];return Object.assign({rect:e.getRelativeRect(r)},n)}))},getAccState:function(){return{buttonRect:this.getRelativeRect(this.refs.button),buttonLabel:this.getButtonLabel(),isOpen:this.state.panelOpen,currentChoice:this.state.currentChoice,menuLabel:this.getMenuLabel(),options:this.getAccOptions()}},getCurrentIndex:function(e){var t=e||this.state;return this.options.findIndex((function(e){return e.value===t.currentChoice}))},getItemByIndex:function(e){return this.refs["option".concat(e)]},handleFullScreenFocus:function(e){f.setFocusRectOn(e.target),this.props.showVideoControls()},handleFullScreenBlur:function(e){f.takeFocusOff(e.target),this.el.contains(e.relatedTarget)||this.closePanel()},handleFullScreenItemFocus:function(e){this.props.showVideoControls(),f.setFocusRectOn(e.target),this.removeKeyListener=h("keydown",this.handleFullScreenKeyDown)},handleFullScreenItemBlur:function(e){f.takeFocusOff(e.target),null!=this.accView&&this.accView.onMenuFocusOut(e,!0),this.el.contains(e.relatedTarget)||(this.removeKeyListener(),this.closePanel())},handleFullScreenKeyDown:function(e){var t=this.state.currentIndex;g.isDownishKey(e.which)?t++:g.isUpishKey(e.which)?t--:g.isHomeKey(e.which)?t=0:g.isEndKey(e.which)&&(t=7),t>=8&&(t=0),t<0&&(t=7),t!==this.state.currentIndex&&(e.preventDefault(),this.setState({currentIndex:t}),this.menuComponent.setState({currentIndex:t}),this.getItemByIndex(t).focus())}})}.call(t,n,t,e))||(e.exports=i)},6086:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(8907),o=DS.stringTabler;return t.createClass({displayName:"LocalHlsWarning",mixins:[i],getTitleText:function(){return o.getString("streaming_video_local_playback_title")},getRepublishText:function(){return o.getString("streaming_video_local_playback_republish")},getLearnMoreText:function(){return o.getString("streaming_video_local_playback_learn_more")},toLocalCoords:function(e){var t=this.props.model.currView;return r.globalRectToSlideObject(t,e)},getAccState:function(){var e=this.refs,t=e.title,n=e.republish,i=e.learnMore,r={titleRect:null,republishRect:null,moreInfoRect:null};return null!=t&&Object.assign(r,{titleRect:this.toLocalCoords(t.getBoundingClientRect()),titleLabel:this.getTitleText()}),null!=n&&Object.assign(r,{republishRect:this.toLocalCoords(n.getBoundingClientRect()),republishLabel:this.getRepublishText()}),null!=i&&Object.assign(r,{learnMoreRect:this.toLocalCoords(i.getBoundingClientRect()),learnMoreLabel:this.getLearnMoreText()}),r},learnMoreClicked:function(){this.refs.learnMoreLink.click()}})}.call(t,n,t,e))||(e.exports=i)},4566:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=DS,o=r.utils,s=r.playerGlobals;return t.createClass({displayName:"MobileVideoSettings",mixins:[i],getInitialState:function(){return{captionsEnabled:this.props.captionsEnabled,playbackSpeed:this.props.playbackSpeed}},componentDidMount:function(){this.el.style.setProperty("--icon-color",this.props.colors.iconHoverColor)},dialogOpened:function(){var e=this;this.setState({transcriptTrack:-1}),s.player.setAllAccVisibility(!1),window.requestAnimationFrame((function(){(e.refs.captions||e.refs.playbackSpeed).focus()}))},handleClose:function(e){s.player.setAllAccVisibility(!0);var t=o.getPath(this,"refs.captions.value"),n=o.getPath(this,"refs.transcript.value",-1);this.props.closeHandler({captionsEnabled:t&&"on"===t,playbackSpeed:o.getPath(this,"refs.playbackSpeed.value"),transcriptTrack:n})},handleSpeedChange:function(e){this.setState({playbackSpeed:this.refs.playbackSpeed.value})},handleCaptionsChange:function(e){this.setState({captionsEnabled:"on"===this.refs.captions.value})},handleTranscriptChange:function(e){this.setState({transcriptTrack:this.refs.transcript.value})}})}.call(t,n,t,e))||(e.exports=i)},7837:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}i=function(e){"use strict";var t=n(3305),i=n(882),o=n(8698),s=n(7877),a=n(4566),l=n(8907),c=DS,u=c.globalEventHelper.addBodyListener,h=c.captionsManager,d=c.pubSub,p=c.events,f=c.detection,g=c.stringTabler,m=c.focusManager,v={acc_modern_video_seek:"Seek",acc_modern_video_play:"Play",acc_modern_video_pause:"Pause",acc_modern_video_mute:"Mute",acc_modern_video_volume:"Volume",acc_modern_video_captions:"Captions",acc_modern_video_transcript:"Transcript",acc_modern_video_pip:"Picture in picture",acc_modern_video_fullscreen:"Full screen",acc_modern_video_settings:"Settings"},y=t.createClass({displayName:"ModernVideoControls",mixins:[o],getInitialState:function(){return this.dockLocations="left"===DS.frame.getSidebarPosition()?[DS.constants.docked.RIGHT]:[DS.constants.docked.LEFT],this.transcriptWindowId="win-".concat(this.props.model.id),{controlsHidden:!1,captionsEnabled:h.isCaptionEnabled(),transcriptEnabled:!1,isPipMode:!1}},componentWillMount:function(){this.buildStrings(),d.on(p.video.PIP_MODE_CHANGED,this.onPipModeChanged),d.on(p.utilityWindow.WINDOW_TOGGLED,this.onTranscriptWindowToggled)},componentDidMount:function(){var e=this;f.device.isMobile?this.removeListeners=u("touchstart",this.onMouseMove):this.removeListeners=u("mousemove",this.onMouseMove),f.deviceView.isMobile&&this.createSettings(),d.on(p.captions.ENABLED,this.onCaptionsEnabledChanged),this.hideTimeout=setTimeout((function(){e.hideControls()}),1e3),this.el.style.setProperty("--video-hover-color",this.props.colors.iconHoverColor)},componentWillUnmount:function(){this.unmounted=!0,null!=this.removeListeners&&this.removeListeners(),d.off(p.captions.ENABLED,this.onCaptionsEnabledChanged),clearTimeout(this.hideTimeout),null!=this.settingsContainer&&(i.unmountComponentAtNode(this.settingsContainer),this.settingsComponent=null),d.off(p.video.PIP_MODE_CHANGED,this.onPipModeChanged),d.off(p.utilityWindow.WINDOW_TOGGLED,this.onTranscriptWindowToggled)},componentWillUpdate:function(e,t){!1===e.isPlaying&&this.showControls()},componentDidUpdate:function(e,t){var n=this;window.requestAnimationFrame((function(){if(!n.unmounted){var e=n.getAccView();if(null!=e&&e.onStateChanged(t,n.state),n.updateFocusOnRender)if(n.updateFocusOnRender=!1,n.props.fullScreen){var i=n.refs.fullScreen;null!=i&&i.focus()}else{var r=n.getAccView();null!=r&&r.takeControlFocus("fullScreen")}}}))},getAccView:function(){return this.props.slideObjectView.accShadowView},onMouseUp:function(e){var t=this.findTargetOwner(e.target);!this.props.fullScreen&&f.device.isDesktop&&this.props.slideObjectView.accShadowView.takeControlFocus(t)},findTargetOwner:function(e){var t;return _.some(this.refs,(function(n,i){if((n.el||n).contains(e))return t=null!=n.findTargetOwner?n.findTargetOwner(e):i,!0})),t},onMouseMove:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0],i=n.pageX,o=n.pageY,s=this.props.videoInterface.getBounds();i>=s.left&&i<=s.right&&o>=s.top&&o<=s.bottom?this.showControls():this.hideControls()},showControls:function(){var e=this;this.setState({controlsHidden:!1}),clearTimeout(this.hideTimeout),this.hideTimeout=setTimeout((function(){e.hideControls()}),3e3)},isChildOpen:function(){var e=this.refs.volume,t=this.refs.playbackSpeed,n=this.refs.transcript;return null!=e&&e.isSliderOpen()||null!=t&&t.isPanelOpen()||null!=n&&this.state.transcriptOpened&&this.props.fullScreen},hideControls:function(){clearTimeout(this.hideTimeout);var e=this.props.isPlaying&&!this.isChildOpen();if(e){var t=this.getAccView();null!=t&&t.clearFocusRect(),this.el.contains(document.activeElement)&&m.takeFocusOff()}this.setState({controlsHidden:e})},togglePlayback:function(){this.props.videoInterface.toggleVideo()},onCaptionsEnabledChanged:function(e){this.setState({captionsEnabled:e})},toggleCaptions:function(){h.toggleCaptioning()},toggleTranscript:function(){d.trigger(p.utilityWindow.TOGGLE_WINDOW,this.transcriptWindowId,!this.state.transcriptOpened)},onTranscriptWindowToggled:function(e,t){this.transcriptWindowId===e&&this.setState({transcriptOpened:t})},toggleFullScreen:function(){this.updateFocusOnRender=!0,this.props.videoInterface.toggleFullScreen()},onPipModeChanged:function(){this.setState({isPipMode:this.props.videoInterface.isPipMode()})},togglePip:function(){DS.presentation.isPreview()?d.trigger(p.preview.NOTIFY,"PREVIEW_PIP"):this.props.videoInterface.togglePip()},createSettings:function(){var e={colors:this.props.colors,videoInterface:this.props.videoInterface,captionsEnabled:this.state.captionsEnabled,showCaptions:this.props.controlConfig.settings.captions,showPlaybackSpeed:this.props.controlConfig.settings.playbackSpeed,showTranscript:this.props.controlConfig.settings.transcript,closeHandler:this.closeSettings};this.settingsContainer=document.createElement("div"),this.settingsComponent=i.render(t.createElement(a,e),this.settingsContainer)},openSettings:function(){DS.utils.fullScreen.exit(),this.settingsComponent.setState({captionsEnabled:this.state.captionsEnabled,playbackSpeed:this.props.videoInterface.getPlaybackSpeed()}),this.wasPlaying=this.props.isPlaying,this.props.videoInterface.pauseVideo(),s.getTopContainer().appendChild(this.settingsContainer),this.settingsComponent.dialogOpened()},closeSettings:function(e){var t=e.captionsEnabled,n=e.playbackSpeed,i=e.transcriptTrack;this.settingsContainer.parentElement.removeChild(this.settingsContainer),t!==this.state.captionsEnabled&&this.toggleCaptions(),null!=this.refs.transcriptWindowController&&(d.trigger(p.utilityWindow.TOGGLE_WINDOW,this.transcriptWindowId,i>=0),d.trigger(p.video.CHANGE_TRANSCRIPT_TRACK,this.transcriptWindowId,i)),null!=n&&this.props.videoInterface.setPlaybackSpeed(n),this.props.fullScreen||this.getAccView().takeControlFocus("settings"),this.wasPlaying&&this.props.videoInterface.playVideo()},toggleMute:function(){null!=this.refs.volume&&this.refs.volume.toggleMute()},setVolume:function(e){null!=this.refs.volume&&this.refs.volume.updateVolume(e)},openVolumeSlider:function(){null!=this.refs.volume&&this.refs.volume.openSlider()},closeVolumeSlider:function(){null!=this.refs.volume&&this.refs.volume.closeSlider()},toLocalCoords:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=this.props.model.currView,r={top:-n,left:-t,bottom:n,right:n};return l.globalRectToSlideObject(i,e,r)},buildStrings:function(){this.labels=["acc_modern_video_seek","acc_modern_video_play","acc_modern_video_pause","acc_modern_video_mute","acc_modern_video_volume","acc_modern_video_captions","acc_modern_video_transcript","acc_modern_video_pip","acc_modern_video_fullscreen","acc_modern_video_settings"].reduce((function(e,t){var n=t.substr(17);return e[n]=g.getString(t),e[n]===t.substr(4)&&(e[n]=v[t]),e}),{})},getPlayPauseLabel:function(){return this.props.isPlaying?this.labels.pause:this.labels.play},getAccState:function(){var e={};if(this.props.controlConfig.seek){var t=this.refs.seek.el;Object.assign(e,{duration:this.props.duration,elapsed:this.props.currentTime,seekLabel:this.labels.seek,seekRect:this.toLocalCoords(t.getBoundingClientRect())})}else Object.assign(e,{seekRect:null});if(this.props.controlConfig.playPause){var n=this.refs.playPause;Object.assign(e,{playPauseLabel:this.getPlayPauseLabel(),playPauseRect:this.toLocalCoords(n.getBoundingClientRect())})}else Object.assign(e,{playPauseRect:null});if(this.props.controlConfig.volume){var i=this.refs.volume,r=i.getButtonEl(),o=i.getSliderEl(),s=i.getVolume();Object.assign(e,{muteLabel:this.labels.mute,muteRect:this.toLocalCoords(r.getBoundingClientRect()),volumeStrength:s,volumeLabel:this.labels.volume,volumeRect:this.toLocalCoords(o.getBoundingClientRect(),10,10)})}else Object.assign(e,{muteRect:null,volumeRect:null});if(this.props.controlConfig.captions){var a=this.refs.captions;Object.assign(e,{captionsEnabled:this.state.captionsEnabled,captionsLabel:this.labels.captions,captionsRect:this.toLocalCoords(a.getBoundingClientRect())})}else Object.assign(e,{captionsRect:null});if(this.props.controlConfig.transcript&&!f.deviceView.isPhone){var l=this.refs.transcript;Object.assign(e,{transcriptOpen:this.state.transcriptOpened,transcriptLabel:this.labels.transcript,transcriptRect:this.toLocalCoords(l.getBoundingClientRect()),transcriptWindow:this.refs.transcriptWindowController.getWindowView()})}else Object.assign(e,{transcriptRect:null});if(this.props.controlConfig.playbackSpeed){var c=this.refs.playbackSpeed;Object.assign(e,{playbackSpeedControl:c,playbackSpeedRect:this.toLocalCoords(c.el.getBoundingClientRect())})}else Object.assign(e,{playbackSpeedRect:null});if(this.props.controlConfig.pip){var u=this.refs.pip;Object.assign(e,{pipLabel:this.labels.pip,pipRect:this.toLocalCoords(u.getBoundingClientRect()),isPipMode:this.state.isPipMode})}else Object.assign(e,{pipRect:null});if(this.props.controlConfig.fullScreen){var h=this.refs.fullScreen;Object.assign(e,{fullscreenLabel:this.labels.fullscreen,fullscreenRect:this.toLocalCoords(h.getBoundingClientRect())})}else Object.assign(e,{fullscreenRect:null});if(this.props.controlConfig.settings){var d=this.refs.settings;Object.assign(e,{settingsLabel:this.labels.settings,settingsRect:this.toLocalCoords(d.getBoundingClientRect())})}else Object.assign(e,{settingsRect:null});return e},handleFullScreenFocus:function(e){m.setFocusRectOn(e.target),this.showControls()},handleFullScreenBlur:function(e){m.takeFocusOff(e.target)}});return y}.call(t,n,t,e),void 0===i||(e.exports=i)},7158:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=(n(8907),DS),o=r.utils;r.playerGlobals;return t.createClass({displayName:"PopupMenu",mixins:[i],getInitialState:function(){return this.options=this.props.getOptions(),Object.assign({panelOpen:!1},this.props.getInitMenuState())},componentDidMount:function(){this.el.style.setProperty("--hover-background-color",o.toRgba(this.props.colors.iconHoverColor,6)),this.el.style.setProperty("--hover-border-color",this.props.colors.hoverBorderColor),null!=this.accView&&this.accView.updateState()}})}.call(t,n,t,e))||(e.exports=i)},5231:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),o=DS,s=o.detection,a=o.globalEventHelper,l=a.addBodyListener,c=a.addDocumentListener,u=o.focusManager,h=o.keyManager,d=o.utils.clamp;return t.createClass({displayName:"SeekbarControl",mixins:[i],getInitialState:function(){return{hovering:!1,dragging:!1,hoverTime:0}},componentDidMount:function(){this.mounted=!0,this.updateTimes()},componentDidUpdate:function(){null==this.removeKeyListener||this.props.isFullScreen||this.removeKeyListener()},componentWillUnmount:function(){this.mounted=!1,null!=this.removeSeekListeners&&this.removeSeekListeners(),null!=this.removeHoverListeners&&this.removeHoverListeners()},updateTimes:function(){if(this.mounted){var e=this.props.totalTime,t=d(0,1,this.props.videoInterface.getElapsedTime()/e);this.refs.elapsedBar.style.width="".concat(100*t,"%"),this.refs.seekThumb.style.left="".concat(100*t,"%"),window.requestAnimationFrame(this.updateTimes),this.state.hovering&&this.onHoverMove(this.lastHover)}},onSeekStart:function(e){var t=this;s.device.isMobile?(this.el.addEventListener("touchmove",this.onSeek),this.el.addEventListener("touchend",this.onSeekEnd),this.removeSeekListeners=_.flow([function(){return t.el.removeEventListener("touchmove",t.onSeek)},function(){return t.el.removeEventListener("touchend",t.onSeekEnd)}])):this.removeSeekListeners=_.flow([l("mousemove",this.onSeek),l("mouseup",this.onSeekEnd)]),this.setState({dragging:!0}),this.wasPlaying=this.props.isPlaying,this.props.videoInterface.pauseVideo(),this.onSeek(e)},onSeekEnd:function(){this.setState({dragging:!1}),this.removeSeekListeners(),this.wasPlaying&&this.props.videoInterface.playVideo()},onSeek:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0].pageX,i=this.el.getBoundingClientRect(),o=DS.utils.clamp(0,1,(n-i.left)/i.width);this.props.videoInterface.seekVideo(o)},handleFullScreenFocus:function(e){u.setFocusRectOn(e.target),this.removeKeyListener=c("keydown",this.handleFullScreenKeyDown),this.props.showVideoControls()},handleFullScreenBlur:function(e){u.takeFocusOff(e.target),null!=this.removeKeyListener&&this.removeKeyListener()},handleFullScreenKeyDown:function(e){var t=this.props.videoInterface.getElapsedTime(),n=this.props.totalTime,i=!0;h.isDownishKey(e.which)?t--:h.isUpishKey(e.which)?t++:h.isHomeKey(e.which)?t=n:h.isEndKey(e.which)?t=0:i=!1;var r=d(0,1,t/n);i&&(e.preventDefault(),this.props.showVideoControls(),this.props.videoInterface.seekVideo(r))},onMouseOver:function(e){this.setState({hovering:!0}),this.removeHoverListeners=_.flow([l("mousemove",this.onHoverMove)]),this.onHoverMove(e)},onHoverMove:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0].pageX;this.lastHover={pageX:n};var i=this.el.getBoundingClientRect(),o=this.props.totalTime,s=this.props.videoInterface.getElapsedTime()/o,a=DS.utils.clamp(0,1,(n-i.left)/i.width);this.refs.popup.style.left="".concat(100*a,"%");var l=this.refs.seekPreview;l.style.left="".concat(100*Math.min(s,a),"%"),l.style.width="".concat(100*Math.abs(a-s),"%"),this.setState({hoverTime:a*o})},onMouseOut:function(){this.setState({hovering:!1}),null!=this.removeHoverListeners&&this.removeHoverListeners()}})}.call(t,n,t,e))||(e.exports=i)},7842:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),o=DS,s=o.globalEventHelper,a=s.addBodyListener,l=s.addDocumentListener,c=o.appState,u=o.events,h=o.pubSub,d=o.utils,p=d.getPath,f=d.clamp,g=o.focusManager,m=o.keyManager;return t.createClass({displayName:"VolumeControl",mixins:[i],getInitialState:function(){return{volume:this.getVolume(),mute:!1,sliderOpen:!1}},componentDidMount:function(){h.on(u.volume.CHANGED,this.onVolumeChanged),this.removeMouseListener=a("mouseup",this.checkClickOutside)},componentDidUpdate:function(){this.props.isFullScreen||null==this.removeKeyListener||this.removeKeyListener()},componentWillUnmount:function(){h.off(u.volume.CHANGED,this.onVolumeChanged),this.removeMouseListener(),this.removeDragListeners&&this.removeDragListeners()},checkClickOutside:function(e){this.mouseOver||p(e,"target.dataset.volumeRelated",!1)||this.closeSlider()},toggleMute:function(){c.onToggleVolume()},onMouseOver:function(){this.mouseOver=!0,this.openSlider()},onMouseOut:function(){this.mouseOver=!1,this.dragging||this.closeSlider()},isSliderOpen:function(){return this.state.sliderOpen},openSlider:function(){this.setState({sliderOpen:!0})},closeSlider:function(){this.setState({sliderOpen:!1})},onDragStart:function(e){this.removeDragListeners=_.flow([a("mousemove",this.onDragging),a("mouseup",this.onDragEnd)]),this.onDragging(e)},onDragEnd:function(){this.dragging=!1,this.removeDragListeners()},onDragging:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0].pageY,i=this.refs.track.getBoundingClientRect(),o=1-f(0,1,(n-i.top)/i.height);this.dragging=!0,this.updateVolume(o)},getVolume:function(){return c.currentVolume()},updateVolume:function(e){c.setVolume(e),this.setState({volume:e})},onVolumeChanged:function(e){this.setState({volume:e})},getButtonEl:function(){return this.refs.mute},getSliderEl:function(){return this.refs.volumeSlider},findTargetOwner:function(e){var t;return _.some(this.refs,(function(n,i){if((n.el||n).contains(e))return t=i,!0})),t},handleFullScreenFocus:function(e){g.setFocusRectOn(e.target),this.props.showVideoControls(),this.openSlider()},handleFullScreenBlur:function(e){g.takeFocusOff(e.target),this.el.contains(e.relatedTarget)||this.closeSlider()},handleFullScreenSliderFocus:function(e){this.openSlider(),g.setFocusRectOn(e.target,void 0,10),this.removeKeyListener=l("keydown",this.handleFullScreenKeyDown)},handleFullScreenSliderBlur:function(e){g.takeFocusOff(e.target),null!=this.removeKeyListener&&this.removeKeyListener(),this.el.contains(e.relatedTarget)||this.closeSlider()},handleFullScreenKeyDown:function(e){var t=10*this.state.volume,n=!0;m.isDownishKey(e.which)?t--:m.isUpishKey(e.which)?t++:m.isHomeKey(e.which)?t=10:m.isEndKey(e.which)?t=0:n=!1,t=f(0,10,t),n&&(e.preventDefault(),this.setState({volume:t/10}))}})}.call(t,n,t,e))||(e.exports=i)},2812:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS,n=t.stringTabler,i=t.pubSub,r=t.events;return{getInitMenuState:function(){return DS.flagManager.playbackSpeedControl&&i.on(r.player.PLAYBACK_SPEED_CHANGED,this.updateMenu),{currentChoice:1,currentIndex:3}},handleUnmount:function(){DS.flagManager.playbackSpeedControl&&i.off(r.player.PLAYBACK_SPEED_CHANGED,this.updateMenu)},updateMenu:function(e){this.setState({currentChoice:e}),this.menuComponent.setState({currentChoice:e})},getButtonLabel:function(){return n.getString("acc_modern_video_playback_speed")},getMenuLabel:function(){return n.getString("modern_video_playback_speed_title")},getOptions:function(){return[{label:"2",value:2},{label:"1.75",value:1.75},{label:"1.5",value:1.5},{label:"1.25",value:1.25},{label:n.getString("modern_video_normal_speed"),value:1},{label:"0.75",value:.75},{label:"0.5",value:.5},{label:"0.25",value:.25}]},getIconType:function(){return"modernSpeed"},handleSelected:function(e){this.props.videoInterface.setPlaybackSpeed(e)}}}.call(t,n,t,e))||(e.exports=i)},872:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),o=DS,s=o.globalEventHelper.addDocumentListener,a=o.focusManager;return i.createClass({mixins:[t],displayName:"KebabMenu",getInitialState:function(){return{open:!1}},componentDidUpdate:function(){null!=this.accView&&this.accView.updateKebabState(this.getAccState())},componentWillUnmount:function(){null!=this.removeDocumentListener&&this.removeDocumentListener()},getOptionRef:function(e){return"option-".concat(e)},registerAccView:function(e){this.accView=e},getAccState:function(){var e=this,t={kebabOpen:this.state.open};return t.kebabOptions=this.props.options.map((function(t){var n=t.id,i=t.value,r=t.label,o=e.refs[e.getOptionRef(n)].getBoundingClientRect();return{id:n,checked:i,label:r,rect:e.props.toWindowCoords(o)}})),t},handleFullScreenFocus:function(e){a.setFocusRectOn(e.target)},handleFullScreenBlur:function(e){a.takeFocusOff(e.target),this.state.open&&!this.el.contains(e.relatedTarget)&&this.closePanel()},handleKebabClicked:function(){this.state.open?this.closePanel():this.openPanel()},handleOptionClicked:function(e,t){this.props.optionCallback(e,!t),this.closePanel(),this.refs.kebabButton.focus()},openPanel:function(){this.removeDocumentListener=s("pointerup",this.checkShouldClose),this.setState({open:!0})},closePanel:function(){this.setState({open:!1})},checkShouldClose:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0],i=n.pageX,o=n.pageY,s=document.elementFromPoint(i,o);this.el.contains(s)||this.closePanel()},findTargetOwner:function(e){var t;return _.some(this.refs,(function(n,i){if((n.el||n).contains(e))return t=null!=n.findTargetOwner?n.findTargetOwner(e):i,!0})),t}})}.call(t,n,t,e))||(e.exports=i)},4889:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),o=n(9951),s=DS,a=s.globalEventHelper.addDocumentListener,l=s.globalEventHelper,c=l.addResizeListener,u=l.addWindowListener,h=s.focusManager,d=s.keyManager;return i.createClass({mixins:[t],displayName:"SelectControl",getInitialState:function(){return{selectedIndex:0,hoverIndex:0}},componentDidMount:function(){this.setColors(),this.removeMenuListeners=function(){},this.removeResizeListeners=_.flow(c(this.refs.input,this.handleResize),u("resize",this.handleResize))},componentDidUpdate:function(){this.updateAccState()},componentWillUnmount:function(){this.unmounted=!0,this.removeMenuListeners(),this.removeResizeListeners()},setColors:function(){o.setCssColorVariables(this.el,[{group:"base",name:"accent"},{group:"text",name:"default"},{group:"text",name:"active"},{group:"select",name:"border"},{group:"select",name:"openBorder"},{group:"select",name:"background"},{group:"selectlist",name:"border"},{group:"selectlist",name:"background"},{group:"selectitem",name:"selectedBorder"},{group:"selectitem",name:"selectedBackground"}])},isOpen:function(){return this.state.open},handleClicked:function(e){this.toggleOpen()},toggleOpen:function(){this.state.open?this.closePanel():this.openPanel()},openPanel:function(){this.setState({open:!0}),this.removeMenuListeners=_.flow(a("keydown",this.handleKeyDown),a("pointerup",this.checkShouldClose)),this.setState({hoverIndex:this.state.selectedIndex}),this.setItemFocus()},closePanel:function(){this.setState({open:!1}),this.removeMenuListeners()},checkShouldClose:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0],i=n.pageX,o=n.pageY,s=document.elementFromPoint(i,o);this.refs.input.contains(s)||this.closePanel()},handleFullScreenFocus:function(e){h.setFocusRectOn(e.target)},handleFullScreenBlur:function(e){h.takeFocusOff(e.target),this.state.open&&!this.el.contains(e.relatedTarget)&&this.closePanel()},handleOptionClicked:function(e,t){this.setState({selectedIndex:t}),this.closePanel(),this.props.changeCallback(t),this.setItemFocus("button"),e.preventDefault()},getSelectedText:function(){var e=this.props.options[this.state.selectedIndex];return null!=e?e.display:"Not Found"},getRefName:function(e){return"option-".concat(e)},registerAccView:function(e){this.accView=e},handleResize:function(){this.updateAccState()},updateAccState:function(){var e=this;cancelAnimationFrame(this.updateStateRequest),this.updateStateRequest=requestAnimationFrame((function(){e.unmounted||e.accView.updateState(e.getAccState())}))},toSelectCoords:function(e,t){t=t||this.props.toPanelCoords(this.el.getBoundingClientRect());var n=r(this.props.toPanelCoords(e),4),i=n[0],o=n[1],s=n[2],a=n[3],l=r(t,2),c=l[0],u=l[1];return[i-c,o-u,s-c,a-u]},handleKeyDown:function(e){var t=this.props.options.length,n=this.state.hoverIndex;d.isDownishKey(e.which)?n++:d.isUpishKey(e.which)?n--:d.isHomeKey(e.which)?n=0:d.isEndKey(e.which)?n=t-1:d.isActionKey(e.which)?(this.handleOptionClicked(e,n,!0),this.setItemFocus("button")):d.isTabKey(e.which)&&this.closePanel(e),n>=t&&(n=0),n<0&&(n=t-1),n!==this.state.hoverIndex&&(this.setState({hoverIndex:n}),this.setItemFocus(),e.preventDefault())},setItemFocus:function(e){var t=this;window.requestAnimationFrame((function(){t.unmounted||(t.props.isFullScreen?"button"===e?h.setFocusRectOn(t.refs.input):t.state.open&&h.setFocusRectOn(t.refs[t.getRefName(t.state.hoverIndex)]):t.accView.takeControlFocus(e))}))},getAccState:function(){var e=this,t=this.props.toPanelCoords(this.el.getBoundingClientRect());return{options:this.props.options.map((function(n,i){var r=e.refs[e.getRefName(i)];return{selected:e.state.selectedIndex===i,label:n.display,rect:e.toSelectCoords(r.getBoundingClientRect(),t)}})),open:this.state.open,selectedIndex:this.state.selectedIndex,hoverIndex:this.state.hoverIndex,rect:t,inputRect:this.toSelectCoords(this.refs.input.getBoundingClientRect(),t),label:this.getSelectedText()}}})}.call(t,n,t,e))||(e.exports=i)},6545:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),o=n(9951),s=DS,a=s.utils,l=s.stringTabler,c=s.globalEventHelper,u=c.addResizeListener,h=c.addWindowListener,d=c.addDocumentListener,p=s.keyManager,f=s.focusManager;return i.createClass({mixins:[t],displayName:"TranscriptList",getInitialState:function(){return this.removeScrollListeners=function(){},this.removeKeyListeners=function(){},this.removeFocusListeners=function(){},this.removeListener=function(){},{selectedIndex:-1,focusedIndex:-1}},componentDidMount:function(){var e=this;this.mounted=!0,this.setColors(),isMobile&&this.refs.content.addEventListener("scroll",this.onDragScroll),this.refs.scrollThumb.addEventListener("pointerdown",this.onScrollStart),this.refs.content.addEventListener("wheel",this.handleMouseWheel),this.removeListeners=_.flow(u(this.el,(function(){e.updateScrollbarSize(),e.updateAccState()})),h("resize",(function(){return e.updateAccState()})),(function(){e.refs.scrollThumb.removeEventListener("pointerdown",e.onScrollStart),e.refs.content.removeEventListener("wheel",e.handleMouseWheel)})),this.updateScrollbarSize(),this.updateVideoListeners()},componentDidUpdate:function(e){var t=this;this.updateScrollbarSize(),this.updateVideoListeners(),this.props.transcript!==e.transcript&&this.updateSelectedCue(!0);var n=this.autoScroll,i=this.props.options.find((function(e){return"autoScroll"===e.id}));this.autoScroll=i.value,this.autoScroll&&n!==this.autoScroll&&this.scrollItemIntoView(this.state.selectedIndex),this.updateAccState(),this.props.isFullScreen!==e.isFullScreen&&(this.props.isFullScreen?(this.el.addEventListener("focusin",this.handleListFocus),this.el.addEventListener("focusout",this.handleListBlur),this.removeFocusListeners=function(){t.el.removeEventListener("focusin",t.handleListFocus),t.el.removeEventListener("focusout",t.handleListBlur)}):this.removeFocusListeners())},componentWillUnmount:function(){this.mounted=!1,this.unmounting=!0,this.removeListeners(),this.removeScrollListeners(),this.removeKeyListeners(),this.removeFocusListeners()},formatTime:function(e){return a.formatSecondsAsTime(e/1e3)},registerAccView:function(e){this.accView=e},toListCoords:function(e,t){t=t||this.props.toPanelCoords(this.el.getBoundingClientRect());var n=r(this.props.toPanelCoords(e),4),i=n[0],o=n[1],s=n[2],a=n[3],l=r(t,2),c=l[0],u=l[1];return[i-c,o-u,s-c,a-u]},updateAccState:function(){var e=this;null!=this.accView&&(window.cancelAnimationFrame(this.updateStateRequest),this.updateStateRequest=requestAnimationFrame((function(){e.mounted&&e.accView.updateState(e.getAccState())})))},getAccState:function(){var e=this,t=this.state,n=t.selectedIndex,i=t.focusedIndex,r=this.props.toPanelCoords(this.el.getBoundingClientRect()),o=this.props.transcript,s=(o=void 0===o?{}:o).cues;return{options:(void 0===s?[]:s).map((function(t,i){var o=e.getItem(i);return{selected:n===i,time:e.formatTime(t.start),label:t.text,rect:e.toListCoords(o.getBoundingClientRect(),r)}})),selectedIndex:n,focusedIndex:i,rect:r,label:l.getString("acc_video_transcript_list")}},setColors:function(){o.setCssColorVariables(this.el,[{group:"text",name:"default"},{group:"text",name:"active"},{group:"listitem",name:"selectedBorder"},{group:"listitem",name:"hoverBorder"},{group:"listitem",name:"hoverBackground"},{group:"scrollbar",name:"thumbBackground"}])},formatItemRef:function(e){return"transcript-item-".concat(e)},getItem:function(e){return this.refs[this.formatItemRef(e)]},updateVideoListeners:function(){var e=this.shouldListen;this.shouldListen=!this.unmounting&&this.props.isVisible,!e&&this.shouldListen&&window.requestAnimationFrame(this.onTick)},onTick:function(){this.shouldListen&&(this.updateSelectedCue(),window.requestAnimationFrame(this.onTick))},updateSelectedCue:function(e){var t=1e3*this.props.videoInterface.getElapsedTime();if(t!==this.lastTime||e){this.lastTime=t;var n=this.props.transcript,i=(n=void 0===n?{}:n).cues,r=void 0===i?[]:i,o=this.state.selectedIndex,s=r.findIndex((function(e,n){var i=e.start,o=(r[n+1]||{start:Number.MAX_SAFE_INTEGER}).start;return t>=i&&t<o}));o!==s&&(this.setState({selectedIndex:s}),this.autoScroll&&this.scrollItemIntoView(s))}},scrollItemIntoView:function(e){if(this.state.scrollable&&this.mounted&&e>=0){var t=this.getItem(e),n=t.offsetTop,i=t.offsetHeight,r=this.refs.content.clientHeight,o=this.scrollTop();n<o&&this.scrollTop(n),n+i>o+r&&this.scrollTop(n+i-r)}},onDragScroll:function(e){this.state.scrolling||this.updateScrollbarPos()},onScrollStart:function(e){var t=this,n=this.refs.scrollThumb;n.addEventListener("pointermove",this.onScrollDrag),n.addEventListener("pointerup",this.onScrollEnd),n.addEventListener("touchmove",this.onTouchMove),n.setPointerCapture(e.pointerId),this.removeScrollListeners=_.flow((function(){return n.removeEventListener("pointermove",t.onScrollDrag)}),(function(){return n.removeEventListener("pointerup",t.onScrollEnd)}),(function(){return n.releasePointerCapture(e.pointerId)}),(function(){return n.removeEventListener("touchmove",t.onTouchMove)}));var i=e.touches,o=r(i=void 0===i?[e]:i,1)[0].pageY,s=n.getBoundingClientRect().top,a=this.refs.scrollbar.getBoundingClientRect().top;this.scrollOffset=a+(o-s),this.setState({scrolling:!0})},onTouchMove:function(e){e.preventDefault()},onScrollEnd:function(e){this.onScrollDrag(e),this.setState({scrolling:!1}),this.removeScrollListeners()},onScrollDrag:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0].pageY,i=a.clamp(0,this.maxThumbTop,n-this.scrollOffset);this.refs.scrollThumb.style.top="".concat(i,"px"),this.updateScrollOffset()},updateScrollOffset:function(){var e=this.refs.scrollThumb,t=parseFloat(e.style.top)||0,n=this.refs.content,i=n.scrollHeight,r=n.clientHeight,o=r-this.thumbSize;this.scrollTop(t/o*(i-r))},handleListFocus:function(){var e=this.state.selectedIndex<0?0:this.state.selectedIndex;this.setState({focusedIndex:e}),null!=this.accView&&this.accView.setItemFocus(e),this.removeKeyListeners=d("keydown",this.handleKeyDown)},handleListBlur:function(){this.removeKeyListeners()},handleKeyDown:function(e){var t=this,n=this.props.transcript,i=(n=void 0===n?{}:n).cues,r=(void 0===i?[]:i).length,o=this.state.focusedIndex;p.isDownishKey(e.which)?o++:p.isUpishKey(e.which)?o--:p.isHomeKey(e.which)?o=0:p.isEndKey(e.which)&&(o=r-1),o>=r&&(o=0),o<0&&(o=r-1),o!==this.state.focusedIndex&&(this.scrollItemIntoView(o),this.setState({focusedIndex:o}),requestAnimationFrame((function(){t.props.isFullScreen?f.setFocusRectOn(t.refs[t.formatItemRef(o)]):t.mounted&&null!=t.accView&&t.accView.setItemFocus(o)})),e.preventDefault())},handleMouseWheel:function(e){var t=22*(e.deltaY>0?1:-1);this.scrollTop(this.scrollTop()+t)},scrollTop:function(e){var t=this.refs.content.scrollTop;if(null==e)return t;e=a.clamp(0,this.maxScrollTop,e),this.refs.content.scrollTop=e,this.updateScrollbarPos(e),Math.round(e)!==Math.round(t)&&this.updateAccState()},updateScrollbarPos:function(e){var t=(null!=e?e:this.refs.content.scrollTop)/this.maxScrollTop*this.maxThumbTop;this.refs.scrollThumb.style.top="".concat(t,"px")},updateScrollbarSize:function(){var e=this.refs.content,t=e.scrollHeight,n=e.clientHeight;t>n?(this.thumbSize=n/t*n,this.refs.scrollThumb.style.height="".concat(this.thumbSize,"px"),this.maxScrollTop=t-n,this.maxThumbTop=n-this.thumbSize,this.updateScrollbarPos(),this.setState({scrollable:!0})):this.setState({scrollable:!1})},handleListClicked:function(e){this.props.isFullScreen||null==this.accView||this.accView.takeControlFocus()}})}.call(t,n,t,e))||(e.exports=i)},1943:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),o=DS,s=o.pubSub,a=o.events,l=o.stringTabler,c=o.globalEventHelper.addResizeListener,u=o.detection.deviceView.isPhone,h=i.createClass({mixins:[t],displayName:"TranscriptPanel",getInitialState:function(){return this.selectLabel=l.getString("video_transcript_select_track"),null==this.props.videoInterface.getTranscriptData()?(s.once(a.slide.STARTED,this.initTranscriptData),{trackOptions:[]}):this.getInitStateData()},componentDidMount:function(){this.removeResizeListeners=_.flow(c(this.el,this.handleResize),s.addListener(a.slide.SCALE_COMPLETE,this.handleResize),s.addListener(a.video.CHANGE_TRANSCRIPT_TRACK,this.handleTranscriptChange))},componentDidUpdate:function(){this.updateAccState()},componentWillUnmount:function(){this.removeResizeListeners(),this.unmounted=!0},getInitStateData:function(){var e=this.props.videoInterface.getTranscriptData().transcripts;return this.transcripts=e,{trackOptions:e.map((function(e,t){return{value:t,display:e.name}})),transcript:_.first(e),autoScroll:!0}},handleTranscriptChange:function(e,t){e===this.props.id&&t>=0&&this.setState({transcript:this.transcripts[t]})},initTranscriptData:function(){this.setState(this.getInitStateData())},handleTrackChanged:function(e){this.setState({transcript:this.transcripts[e]})},registerAccView:function(e){this.accView=e},getSelectView:function(){return this.refs.trackSelect},getListView:function(){return this.refs.transcriptList},handleResize:function(){this.updateAccState(),null!=this.refs.trackSelect&&this.refs.trackSelect.updateAccState(),null!=this.refs.transcriptList&&this.refs.transcriptList.updateAccState()},updateAccState:function(){var e=this;null!=this.accView&&(cancelAnimationFrame(this.updateStateRequest),this.updateStateRequest=requestAnimationFrame((function(){e.unmounted||e.accView.updateState(e.getAccState())})))},toPanelCoords:function(e,t){t=t||this.props.toWindowCoords(this.el.getBoundingClientRect());var n=r(this.props.toWindowCoords(e),4),i=n[0],o=n[1],s=n[2],a=n[3],l=r(t,2),c=l[0],u=l[1];return[i-c,o-u,s-c,a-u]},getAccState:function(){var e,t=this.props.toWindowCoords(this.el.getBoundingClientRect()),n=!u&&this.state.trackOptions.length>1;if(n){var i=this.refs.label.getBoundingClientRect();e=this.toPanelCoords(i,t)}return{rect:t,labelRect:e,labelText:this.selectLabel,showTrackSelect:n}}});return h.getPanelOptions=function(){return[{id:"autoScroll",label:l.getString("transcript_auto_scroll"),value:!0}]},h}.call(t,n,t,e))||(e.exports=i)},5047:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||s(e,t)||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(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||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(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}i=function(e){"use strict";var t=n(3305),i=n(8698),s=n(9951),a=n(1943),l=n(8907),c=.98,u=.55,h={transcript:a},d=DS,p=d._,f=d.globalEventHelper,g=f.addWindowListener,m=f.addDocumentListener,v=f.addBodyListener,y=d.detection,S=y.deviceView.isPhone,b=y.orientation,w=d.pubSub,x=d.events,C=d.constants,E=d.keyManager,P=d.utils,T=d.focusManager,D=d.playerGlobals,A=10,I=200,k=240,R=["topLeftSizer","topSizer","topRightSizer","rightSizer","leftSizer","bottomLeftSizer","bottomSizer","bottomRightSizer"],_=function(e,t,n){return{top:Math.min(t,n.bottom-k),height:Math.max(n.height+n.top-t,k)}},M=function(e,t,n){return{left:Math.min(e,n.right-I),width:Math.max(n.width+n.left-e,I)}},O=function(e,t,n){return{height:Math.max(n.height+t-(n.top+n.height),k)}},L=function(e,t,n){return{width:Math.max(n.width+e-(n.left+n.width),I)}},V=function(e,t){return function(n,i,r){return Object.assign({},e(n,i,r),t(n,i,r))}},N={top:_,left:M,bottom:O,right:L,topleft:V(_,M),topright:V(_,L),bottomleft:V(O,M),bottomright:V(O,L)},j=t.createClass({displayName:"UtilityWindow",mixins:[i],getInitialState:function(){this.removeKeyListeners=function(){},this.removeMoveListeners=function(){},this.removeResizeListeners=function(){};var e=p.first(this.props.dockLocations),t=this.getDockedPosition(e),n=(t.top,t.left),i=t.width,r=t.height;return r=Math.max(k,2*window.innerHeight/3),{top:(window.innerHeight-r)/2,left:n,width:i,height:r,moving:!1,resizing:!1,dockedState:e,autoScroll:!0,kebabOptions:this.getKebabOptions(),keyFocusActive:!1,isFullScreen:this.props.isFullScreen,portraitPercent:0,expanded:!1}},componentDidMount:function(){var e=this;this.mounted=!0,this.setColors(),this.el.style.setProperty("--default-font",DS.presentation.getDefaultFont()),this.removeWindowListeners=p.flow(g("resize",this.handleWindowResize),w.addListener(x.slide.SCALE_COMPLETE,this.handleWindowResize),w.addListener(x.utilityWindow.TOGGLE_WINDOW,this.onToggleWindow),w.addListener(x.detection.ORIENTATION_CHANGE,this.onOrientationChange)),w.on(x.utilityWindow.TOGGLE_WINDOW,this.onToggleWindow),this.refs.moveHandle.addEventListener("pointerdown",this.onMoveStart),S||R.forEach((function(t){e.refs[t].addEventListener("pointerdown",e.onResizeStart)})),this.updateAccView()},componentDidUpdate:function(e,t){this.notifyDocked(),this.updateAccView(this.wasMoved(t))},componentWillUnmount:function(){var e=this;this.mounted=!1,this.accView=null,this.refs.moveHandle.removeEventListener("pointerdown",this.onMoveStart),S||R.forEach((function(t){e.refs[t].removeEventListener("pointerdown",e.onResizeStart)})),w.trigger(x.utilityWindow.DOCKED,this.props.id,{dockedState:C.docked.NONE,dockedWidth:0}),this.removeMoveListeners(),this.removeResizeListeners(),this.removeWindowListeners(),this.removeKeyListeners()},wasMoved:function(e){var t=this.state,n=t.top,i=t.left,r=t.width,o=t.height,s=e.top,a=e.left,l=e.width,c=e.height;return s!==n||a!==i||l!==r||c!==o},updateAccView:function(e){var t=this;window.requestAnimationFrame((function(){null!=t.accView&&t.accView.updateState(e)}))},getPanelType:function(){return this.props.panelType},getPanelClass:function(){return h[this.props.panelType]},getKebabOptions:function(){return null==this.kebabOptions&&(this.kebabOptions=this.getPanelClass().getPanelOptions()),this.kebabOptions},optionUpdated:function(e,t){var n=this.state.kebabOptions.find((function(t){return t.id===e}));null!=n&&n.value!==t&&(n.value=t,this.setState({kebabOptions:o(this.state.kebabOptions)}))},onOrientationChange:function(e){var t=e.orientation;this.forceUpdate(),S&&this.state.isOpen&&requestAnimationFrame((function(){"portrait"===t?w.trigger(x.threeSixtyImage.PUSH_UP_BY_LABEL):w.trigger(x.threeSixtyImage.PUSH_DOWN_BY_LABEL)}))},onToggleWindow:function(e,t){e===this.props.id&&(t?this.openWindow():this.closeWindow())},openWindow:function(){this.setState({isOpen:!0,portraitPercent:u}),w.trigger(x.utilityWindow.WINDOW_TOGGLED,this.props.id,!0),S&&(D.player.setAllAccVisibility(!1),b.isPortrait&&w.trigger(x.threeSixtyImage.PUSH_UP_BY_LABEL))},closeWindow:function(){this.setState({isOpen:!1,portraitPercent:0}),w.trigger(x.utilityWindow.WINDOW_TOGGLED,this.props.id,!1),S&&(D.player.setAllAccVisibility(!0),w.trigger(x.threeSixtyImage.PUSH_DOWN_BY_LABEL))},notifyDocked:function(){w.trigger(x.utilityWindow.DOCKED,this.props.id,{dockedState:this.state.isOpen?this.state.dockedState:C.docked.NONE,dockedWidth:330})},handleCloseClicked:function(){this.closeWindow()},handleAccKebabClicked:function(){this.refs.kebabMenu.handleKebabClicked()},closeKebabPanel:function(){this.refs.kebabMenu.closePanel()},getDockedPosition:function(e){if(S)return this.getPhoneDockedPosition();if((e=e||this.state.dockedState)===C.docked.NONE)return this.clampRect();var t=innerHeight-20,n=Math.min(window.innerWidth-20,320);return{top:10,left:e===C.docked.LEFT?A:innerWidth-n-A,width:n,height:t}},getPhoneDockedPosition:function(){if(b.isPortrait){var e=(this.state||{}).portraitPercent,t=void 0===e?u:e,n=Math.max(t,u),i=window.innerHeight*n;return{width:window.innerWidth,height:i,left:0,top:window.innerHeight-window.innerHeight*t}}var r=.4*window.innerWidth,o=(this.state||{}).isOpen;return{width:r,height:window.innerHeight,left:o?window.innerWidth-r:window.innerWidth,top:0}},handleFullScreenFocus:function(e){T.setFocusRectOn(e.target)},handleFullScreenBlur:function(e){T.takeFocusOff(e.target),this.stopKeyListening()},handleWindowResize:function(){if(this.state.isOpen){var e=this.state,t=e.left,n=e.width;this.state.dockedState===C.docked.RIGHT&&(t=window.innerWidth-A-n),this.setState({left:t}),this.forceUpdate()}},clampRect:function(e){var t=e||this.state,n=t.top,i=t.left,r=t.width,o=t.height,s=window,a=s.innerWidth,l=s.innerHeight;return{width:P.clamp(I,a-20,r),height:P.clamp(k,l-20,o),left:P.clamp(A,a-A-r,i),top:P.clamp(A,l-A-o,n)}},setColors:function(){s.setCssColorVariables(this.el,[{group:"base",name:"accent"},{group:"window",name:"background"},{group:"window",name:"border"},{group:"window",name:"activeBorder"},{group:"window",name:"shadow"},{group:"window",name:"title"},{group:"window",name:"divider"},{group:"button",name:"icon"},{group:"button",name:"iconHover"},{group:"text",name:"default"},{group:"text",name:"active"}])},onMoveStart:function(e){var t=this,n=this.refs.moveHandle;n.addEventListener("pointermove",this.onMove),n.addEventListener("pointerup",this.onMoveEnd),n.addEventListener("touchmove",this.onTouchMove),n.setPointerCapture(e.pointerId),this.removeMoveListeners=p.flow([function(){return n.removeEventListener("pointermove",t.onMove)},function(){return n.removeEventListener("pointerup",t.onMoveEnd)},function(){return n.releasePointerCapture(e.pointerId)},function(){return n.removeEventListener("touchmove",t.onTouchMove)}]);var i=e.touches,o=r(i=void 0===i?[e]:i,1)[0],s=o.pageX,a=o.pageY,l=this.el.getBoundingClientRect();this.moveOffset={x:s-l.left,y:a-l.top},this.setState({moving:!0})},onTouchMove:function(e){e.preventDefault()},onMoveEnd:function(e){var t=this;if(this.onMove(e),S){var n=this.state.portraitPercent;this.el.classList.remove("moving"),this.state.expanded?n<.88?this.setState({portraitPercent:u,expanded:!1}):n<.45000000000000007?(this.setState({expanded:!1,portraitPercent:0}),w.trigger(x.threeSixtyImage.PUSH_DOWN_BY_LABEL),setTimeout((function(){t.mounted&&t.closeWindow()}),250)):this.setState({portraitPercent:c}):n>.65?this.setState({portraitPercent:c,expanded:!0}):n<.45000000000000007?(this.setState({portraitPercent:0}),w.trigger(x.threeSixtyImage.PUSH_DOWN_BY_LABEL),setTimeout((function(){t.mounted&&t.closeWindow()}),250)):this.setState({portraitPercent:u})}this.setState({moving:!1}),this.removeMoveListeners()},onMove:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0],i=n.pageX,o=n.pageY-this.moveOffset.y;if(S){if(b.isPortrait){var s=window.innerHeight,a=(s-o)/s;a=P.clamp(0,c,a),this.setState({portraitPercent:a})}}else{var l,u=i-this.moveOffset.x,h=this.state,d=h.width,p=h.height;l=i<A&&this.props.dockLocations.includes(C.docked.LEFT)?C.docked.LEFT:i>window.innerWidth-A&&this.props.dockLocations.includes(C.docked.RIGHT)?C.docked.RIGHT:C.docked.NONE;var f={top:o,left:u,width:d,height:p};this.setState(Object.assign(this.clampRect(f),{dockedState:l}))}},onResizeStart:function(e){var t=this,n=e.target;this.resizeType=n.dataset.resizePos,n.addEventListener("pointermove",this.onResize),n.addEventListener("pointerup",this.onResizeEnd),n.setPointerCapture(e.pointerId),this.removeResizeListeners=p.flow([function(){return n.removeEventListener("pointermove",t.onResize)},function(){return n.removeEventListener("pointerup",t.onResizeEnd)},function(){return n.releasePointerCapture(e.pointerId)}]),this.resizeOffset=this.el.getBoundingClientRect(),this.setState({resizing:!0})},onResizeEnd:function(e){this.onResize(e),this.setState({resizing:!1}),this.removeResizeListeners()},onResize:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0],i=n.pageX,o=n.pageY,s=window,a=s.innerWidth,l=s.innerHeight;i=P.clamp(A,a-A,i),o=P.clamp(A,l-A,o);var c=this.state,u=c.top,h=c.left,d=c.width,p=c.height,f=N[this.resizeType](i,o,this.resizeOffset),g=f.top,m=void 0===g?u:g,v=f.left,y=void 0===v?h:v,S=f.width,b=void 0===S?d:S,w=f.height,x=void 0===w?p:w;this.setState({top:m,left:y,width:b,height:x,dockedState:C.docked.NONE})},handleResizeButton:function(){this.state.keyResizing?this.stopKeyListening():this.startKeyResize()},startKeyResize:function(){this.removeKeyListeners(),this.removeKeyListeners=p.flow(m("keydown",this.handleKeyResize),v("mousedown",this.stopKeyListening)),this.setState({keyFocusActive:!0,keyResizing:!0}),this.initKeyResizePos={top:this.state.top,left:this.state.left}},handleMoveButton:function(){this.state.keyMoving?this.stopKeyListening():this.startKeyMove()},startKeyMove:function(){this.removeKeyListeners(),this.removeKeyListeners=p.flow(m("keydown",this.handleKeyMove),v("mousedown",this.stopKeyListening)),this.setState({keyFocusActive:!0,keyMoving:!0})},getKeyName:function(e){return E.isUpKey(e)||87===e?"up":E.isDownKey(e)||83===e?"down":E.isLeftKey(e)||65===e?"left":E.isRightKey(e)||68===e?"right":e===C.keys.ESCAPE?"exit":"noop"},handleKeyResize:function(e){var t=this.getKeyName(e.which);if("exit"!==t){if("noop"!==t){var n=this.state,i=n.width,r=n.height,o=this.initKeyResizePos,s=o.left,a=o.top;({left:function(){i-=10},right:function(){i+=10},up:function(){r-=10},down:function(){r+=10},noop:function(){}})[t](),i=Math.min(Math.max(i,I),window.innerWidth-20),r=Math.min(Math.max(r,k),window.innerHeight-20),s+i>window.innerWidth-A&&(s=window.innerWidth-A-i),a+r>window.innerHeight-A&&(a=window.innerHeight-A-r),this.setState({top:a,left:s,width:i,height:r,dockedState:C.docked.NONE})}}else this.stopKeyListening()},handleKeyMove:function(e){var t=this.getKeyName(e.which);if("exit"!==t){if("noop"!==t){var n=this.state,i=n.top,r=n.left,o=n.width,s=n.height,a=n.dockedState;({left:function(){r-=10},right:function(){r+=10},up:function(){i-=10},down:function(){i+=10},noop:function(){}})[t](),a=r<=A&&this.props.dockLocations.includes(C.docked.LEFT)?C.docked.LEFT:r+o>=window.innerWidth-A&&this.props.dockLocations.includes(C.docked.RIGHT)?C.docked.RIGHT:C.docked.NONE,r=Math.min(Math.max(r,A),window.innerWidth-A-o),i=Math.min(Math.max(i,A),window.innerHeight-A-s),this.setState({top:i,left:r,dockedState:a})}}else this.stopKeyListening()},stopKeyListening:function(){this.removeKeyListeners(),this.setState({keyFocusActive:!1,keyResizing:!1,keyMoving:!1})},registerAccView:function(e){this.accView=e,this.refs.kebabMenu.registerAccView(e)},getPanelView:function(){return this.refs.panelView},toLocalCoords:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=P.getPath(this,"props.model.currView"),r={top:n,left:t,bottom:n,right:t};return l.globalRectToSlideObject(i,e,r)},getAccProps:function(){return{windowId:this.props.id,titleLabel:this.props.title,resizeLabel:DS.stringTabler.getString("acc_window_resize"),moveLabel:DS.stringTabler.getString("acc_window_move"),kebabMenuLabel:DS.stringTabler.getString("acc_window_options"),closeLabel:DS.stringTabler.getString("acc_window_close")}},getRefRect:function(e,t,n){var i=this.refs[e];return null==i.getBoundingClientRect&&(i=i.el),this.toLocalCoords(i.getBoundingClientRect(),t,n)},getAccState:function(){var e=this,t=this.toLocalCoords(this.getDockedPosition(),-1,-1),n=r(t,2),i=n[0],o=n[1],s=function(t){return e.getRefRect(t,-i,-o)};return{windowRect:t,isOpen:this.state.isOpen,titleRect:s("title"),resizeRect:s("resize"),moveRect:s("move"),closeRect:s("close"),kebabRect:s("kebabMenu")}},getWindowRectConverter:function(){var e=this,t=r(this.toLocalCoords(this.getDockedPosition(),-1,-1),2),n=t[0],i=t[1];return function(t){return e.toLocalCoords(t,-n,-i)}},toWindowCoords:function(e){var t=r(this.toLocalCoords(this.getDockedPosition(),-1,-1),2),n=t[0],i=t[1];return this.toLocalCoords(e,-n,-i)},toPanelCords:function(e){var t=P.getPath(this,"refs.panelView.el");if(null==t)return[0,0,0,0];var n=r(this.toLocalCoords(t),2),i=n[0],o=n[1];return this.toLocalCoords(e,-i,-o)},onMouseUp:function(e){var t=this.findTargetOwner(e.target);this.props.fullScreen||null==this.accView||this.accView.takeControlFocus(t)},findTargetOwner:function(e){var t;return p.some(this.refs,(function(n,i){if((n.el||n).contains(e))return t=null!=n.findTargetOwner?n.findTargetOwner(e):i,!0})),t}});return j}.call(t,n,t,e),void 0===i||(e.exports=i)},4716:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),r=n(882),o=n(5047),s=n(7877),a=DS,l=a.globalEventHelper.addWindowListener,c=a.detection.deviceView.isPhone;return i.createClass({mixins:[t],displayName:"UtilityWindowController",componentWillMount:function(){this.wrapper=document.createElement("div"),this.wrapper.className="utility-window-wrapper",this.utilityWindow=r.render(i.createElement(o,this.props),this.wrapper),this.removeWindowListeners=l("resize",this.handleResize),c&&this.wrapper.addEventListener("pointerdown",this.handlePointerDown)},handlePointerDown:function(e){this.utilityWindow.el.contains(e.target)||this.utilityWindow.closeWindow()},handleResize:function(){this.wrapper.style.width="".concat(window.innerWidth,"px"),this.wrapper.style.height="".concat(window.innerHeight,"px")},componentDidMount:function(){this.updateUtilityWindow()},componentDidUpdate:function(){this.updateUtilityWindow()},componentWillUnmount:function(){c&&this.wrapper.removeEventListener("pointerdown",this.handlePointerDown),this.wrapper.parentNode&&this.wrapper.parentNode.removeChild(this.wrapper),r.unmountComponentAtNode(this.wrapper),this.removeWindowListeners()},updateUtilityWindow:function(){this.updateWindowParent(),this.handleResize()},updateWindowParent:function(){this.props.isFullScreen?(this.el.appendChild(this.wrapper),this.utilityWindow.setState({isFullScreen:!0})):(s.getTopContainer().appendChild(this.wrapper),this.utilityWindow.setState({isFullScreen:!1}))},getWindowView:function(){return this.utilityWindow}})}.call(t,n,t,e))||(e.exports=i)},3097:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(4753);DS._;return t.extend(i,{displayName:"MessageWindowUnified",componentDidUpdate:function(){this.htmlReady(function(){this.setState({messageWindowText:this.getScrollAreaText()})}.bind(this))}})}.call(t,n,t,e))||(e.exports=i)},5470:function(e,t,n){var i;i=function(){var e=!0;function t(t){function n(e){var n=t.match(e);return n&&n.length>1&&n[1]||""}function i(e){var n=t.match(e);return n&&n.length>1&&n[2]||""}var r,s=n(/(ipod|iphone|ipad)/i).toLowerCase(),a=!/like android/i.test(t)&&/android/i.test(t),l=/nexus\s*[0-6]\s*/i.test(t),c=!l&&/nexus\s*[0-9]+/i.test(t),u=/CrOS/.test(t),h=/silk/i.test(t),d=/sailfish/i.test(t),p=/tizen/i.test(t),f=/(web|hpw)(o|0)s/i.test(t),g=/windows phone/i.test(t),m=(/SamsungBrowser/i.test(t),!g&&/windows/i.test(t)),v=!s&&!h&&/macintosh/i.test(t),y=!a&&!d&&!p&&!f&&/linux/i.test(t),S=i(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),b=n(/version\/(\d+(\.\d+)?)/i),w=/tablet/i.test(t)&&!/tablet pc/i.test(t),x=!w&&/[^-]mobi/i.test(t),C=/xbox/i.test(t);/opera/i.test(t)?r={name:"Opera",opera:e,version:b||n(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(t)?r={name:"Opera",opera:e,version:n(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||b}:/SamsungBrowser/i.test(t)?r={name:"Samsung Internet for Android",samsungBrowser:e,version:b||n(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(t)?r={name:"NAVER Whale browser",whale:e,version:n(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(t)?r={name:"MZ Browser",mzbrowser:e,version:n(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(t)?r={name:"Opera Coast",coast:e,version:b||n(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(t)?r={name:"Focus",focus:e,version:n(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(t)?r={name:"Yandex Browser",yandexbrowser:e,version:b||n(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(t)?r={name:"UC Browser",ucbrowser:e,version:n(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(t)?r={name:"Maxthon",maxthon:e,version:n(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(t)?r={name:"Epiphany",epiphany:e,version:n(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(t)?r={name:"Puffin",puffin:e,version:n(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(t)?r={name:"Sleipnir",sleipnir:e,version:n(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(t)?r={name:"K-Meleon",kMeleon:e,version:n(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:g?(r={name:"Windows Phone",osname:"Windows Phone",windowsphone:e},S?(r.msedge=e,r.version=S):(r.msie=e,r.version=n(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(t)?r={name:"Internet Explorer",msie:e,version:n(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:u?r={name:"Chrome",osname:"Chrome OS",chromeos:e,chromeBook:e,chrome:e,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(t)?r={name:"Microsoft Edge",msedge:e,version:S}:/vivaldi/i.test(t)?r={name:"Vivaldi",vivaldi:e,version:n(/vivaldi\/(\d+(\.\d+)?)/i)||b}:d?r={name:"Sailfish",osname:"Sailfish OS",sailfish:e,version:n(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(t)?r={name:"SeaMonkey",seamonkey:e,version:n(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(t)?(r={name:"Firefox",firefox:e,version:n(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(t)&&(r.firefoxos=e,r.osname="Firefox OS")):h?r={name:"Amazon Silk",silk:e,version:n(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(t)?r={name:"PhantomJS",phantom:e,version:n(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(t)?r={name:"SlimerJS",slimer:e,version:n(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(t)||/rim\stablet/i.test(t)?r={name:"BlackBerry",osname:"BlackBerry OS",blackberry:e,version:b||n(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:f?(r={name:"WebOS",osname:"WebOS",webos:e,version:b||n(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(t)&&(r.touchpad=e)):/bada/i.test(t)?r={name:"Bada",osname:"Bada",bada:e,version:n(/dolfin\/(\d+(\.\d+)?)/i)}:p?r={name:"Tizen",osname:"Tizen",tizen:e,version:n(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||b}:/qupzilla/i.test(t)?r={name:"QupZilla",qupzilla:e,version:n(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||b}:/chromium/i.test(t)?r={name:"Chromium",chromium:e,version:n(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||b}:/chrome|crios|crmo/i.test(t)?r={name:"Chrome",chrome:e,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:a?r={name:"Android",version:b}:/safari|applewebkit/i.test(t)?(r={name:"Safari",safari:e},b&&(r.version=b)):s?(r={name:"iphone"==s?"iPhone":"ipad"==s?"iPad":"iPod"},b&&(r.version=b)):r=/googlebot/i.test(t)?{name:"Googlebot",googlebot:e,version:n(/googlebot\/(\d+(\.\d+))/i)||b}:{name:n(/^(.*)\/(.*) /),version:i(/^(.*)\/(.*) /)},!r.msedge&&/(apple)?webkit/i.test(t)?(/(apple)?webkit\/537\.36/i.test(t)?(r.name=r.name||"Blink",r.blink=e):(r.name=r.name||"Webkit",r.webkit=e),!r.version&&b&&(r.version=b)):!r.opera&&/gecko\//i.test(t)&&(r.name=r.name||"Gecko",r.gecko=e,r.version=r.version||n(/gecko\/(\d+(\.\d+)?)/i)),r.windowsphone||!a&&!r.silk?!r.windowsphone&&s?(r[s]=e,r.ios=e,r.osname="iOS"):v?(r.mac=e,r.osname="macOS"):C?(r.xbox=e,r.osname="Xbox"):m?(r.windows=e,r.osname="Windows"):y&&(r.linux=e,r.osname="Linux"):(r.android=e,r.osname="Android");var E="";r.windows?E=function(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}(n(/Windows ((NT|XP)( \d\d?.\d)?)/i)):r.windowsphone?E=n(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):r.mac?E=(E=n(/Mac OS X (\d+([_\.\s]\d+)*)/i)).replace(/[_\s]/g,"."):s?E=(E=n(/os (\d+([_\s]\d+)*) like mac os x/i)).replace(/[_\s]/g,"."):a?E=n(/android[ \/-](\d+(\.\d+)*)/i):r.webos?E=n(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):r.blackberry?E=n(/rim\stablet\sos\s(\d+(\.\d+)*)/i):r.bada?E=n(/bada\/(\d+(\.\d+)*)/i):r.tizen&&(E=n(/tizen[\/\s](\d+(\.\d+)*)/i)),E&&(r.osversion=E);var P=!r.windows&&E.split(".")[0];return w||c||"ipad"==s||a&&(3==P||P>=4&&!x)||r.silk?r.tablet=e:(x||"iphone"==s||"ipod"==s||a||l||r.blackberry||r.webos||r.bada)&&(r.mobile=e),r.msedge||r.msie&&r.version>=10||r.yandexbrowser&&r.version>=15||r.vivaldi&&r.version>=1||r.chrome&&r.version>=20||r.samsungBrowser&&r.version>=4||r.whale&&1===o([r.version,"1.0"])||r.mzbrowser&&1===o([r.version,"6.0"])||r.focus&&1===o([r.version,"1.0"])||r.firefox&&r.version>=20||r.safari&&r.version>=6||r.opera&&r.version>=10||r.ios&&r.osversion&&r.osversion.split(".")[0]>=6||r.blackberry&&r.version>=10.1||r.chromium&&r.version>=20?r.a=e:r.msie&&r.version<10||r.chrome&&r.version<20||r.firefox&&r.version<20||r.safari&&r.version<6||r.opera&&r.version<10||r.ios&&r.osversion&&r.osversion.split(".")[0]<6||r.chromium&&r.version<20?r.c=e:r.x=e,r}var n=t("undefined"!=typeof navigator&&navigator.userAgent||"");function i(e){return e.split(".").length}function r(e,t){var n,i=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(n=0;n<e.length;n++)i.push(t(e[n]));return i}function o(e){for(var t=Math.max(i(e[0]),i(e[1])),n=r(e,(function(e){var n=t-i(e);return r((e+=new Array(n+1).join(".0")).split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));--t>=0;){if(n[0][t]>n[1][t])return 1;if(n[0][t]!==n[1][t])return-1;if(0===t)return 0}}function s(e,i,r){var s=n;"string"==typeof i&&(r=i,i=void 0),void 0===i&&(i=!1),r&&(s=t(r));var a=""+s.version;for(var l in e)if(e.hasOwnProperty(l)&&s[l]){if("string"!=typeof e[l])throw new Error("Browser version in the minVersion map should be a string: "+l+": "+String(e));return o([a,e[l]])<0}return i}return n.test=function(e){for(var t=0;t<e.length;++t){var i=e[t];if("string"==typeof i&&i in n)return!0}return!1},n.isUnsupportedBrowser=s,n.compareVersions=o,n.check=function(e,t,n){return!s(e,t,n)},n._detect=t,n.detect=t,n},e.exports?e.exports=i():n.amdD("bowser",i)},5730:function(){!function(){"use strict";"undefined"!=typeof window&&("SVGPathSeg"in window||(window.SVGPathSeg=function(e,t,n){this.pathSegType=e,this.pathSegTypeAsLetter=t,this._owningPathSegList=n},window.SVGPathSeg.prototype.classname="SVGPathSeg",window.SVGPathSeg.PATHSEG_UNKNOWN=0,window.SVGPathSeg.PATHSEG_CLOSEPATH=1,window.SVGPathSeg.PATHSEG_MOVETO_ABS=2,window.SVGPathSeg.PATHSEG_MOVETO_REL=3,window.SVGPathSeg.PATHSEG_LINETO_ABS=4,window.SVGPathSeg.PATHSEG_LINETO_REL=5,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS=6,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL=7,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS=8,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL=9,window.SVGPathSeg.PATHSEG_ARC_ABS=10,window.SVGPathSeg.PATHSEG_ARC_REL=11,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS=12,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL=13,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS=14,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL=15,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS=16,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL=17,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS=18,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL=19,window.SVGPathSeg.prototype._segmentChanged=function(){this._owningPathSegList&&this._owningPathSegList.segmentChanged(this)},window.SVGPathSegClosePath=function(e){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CLOSEPATH,"z",e)},window.SVGPathSegClosePath.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegClosePath.prototype.toString=function(){return"[object SVGPathSegClosePath]"},window.SVGPathSegClosePath.prototype._asPathString=function(){return this.pathSegTypeAsLetter},window.SVGPathSegClosePath.prototype.clone=function(){return new window.SVGPathSegClosePath(void 0)},window.SVGPathSegMovetoAbs=function(e,t,n){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_MOVETO_ABS,"M",e),this._x=t,this._y=n},window.SVGPathSegMovetoAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegMovetoAbs.prototype.toString=function(){return"[object SVGPathSegMovetoAbs]"},window.SVGPathSegMovetoAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegMovetoAbs.prototype.clone=function(){return new window.SVGPathSegMovetoAbs(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegMovetoAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegMovetoAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegMovetoRel=function(e,t,n){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_MOVETO_REL,"m",e),this._x=t,this._y=n},window.SVGPathSegMovetoRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegMovetoRel.prototype.toString=function(){return"[object SVGPathSegMovetoRel]"},window.SVGPathSegMovetoRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegMovetoRel.prototype.clone=function(){return new window.SVGPathSegMovetoRel(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegMovetoRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegMovetoRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoAbs=function(e,t,n){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_ABS,"L",e),this._x=t,this._y=n},window.SVGPathSegLinetoAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoAbs.prototype.toString=function(){return"[object SVGPathSegLinetoAbs]"},window.SVGPathSegLinetoAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegLinetoAbs.prototype.clone=function(){return new window.SVGPathSegLinetoAbs(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegLinetoAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegLinetoAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoRel=function(e,t,n){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_REL,"l",e),this._x=t,this._y=n},window.SVGPathSegLinetoRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoRel.prototype.toString=function(){return"[object SVGPathSegLinetoRel]"},window.SVGPathSegLinetoRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegLinetoRel.prototype.clone=function(){return new window.SVGPathSegLinetoRel(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegLinetoRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegLinetoRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicAbs=function(e,t,n,i,r,o,s){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS,"C",e),this._x=t,this._y=n,this._x1=i,this._y1=r,this._x2=o,this._y2=s},window.SVGPathSegCurvetoCubicAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicAbs]"},window.SVGPathSegCurvetoCubicAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},window.SVGPathSegCurvetoCubicAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicAbs(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicRel=function(e,t,n,i,r,o,s){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL,"c",e),this._x=t,this._y=n,this._x1=i,this._y1=r,this._x2=o,this._y2=s},window.SVGPathSegCurvetoCubicRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicRel]"},window.SVGPathSegCurvetoCubicRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},window.SVGPathSegCurvetoCubicRel.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicRel(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticAbs=function(e,t,n,i,r){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS,"Q",e),this._x=t,this._y=n,this._x1=i,this._y1=r},window.SVGPathSegCurvetoQuadraticAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticAbs]"},window.SVGPathSegCurvetoQuadraticAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x+" "+this._y},window.SVGPathSegCurvetoQuadraticAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticAbs(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticRel=function(e,t,n,i,r){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL,"q",e),this._x=t,this._y=n,this._x1=i,this._y1=r},window.SVGPathSegCurvetoQuadraticRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticRel]"},window.SVGPathSegCurvetoQuadraticRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x+" "+this._y},window.SVGPathSegCurvetoQuadraticRel.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticRel(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegArcAbs=function(e,t,n,i,r,o,s,a){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_ARC_ABS,"A",e),this._x=t,this._y=n,this._r1=i,this._r2=r,this._angle=o,this._largeArcFlag=s,this._sweepFlag=a},window.SVGPathSegArcAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegArcAbs.prototype.toString=function(){return"[object SVGPathSegArcAbs]"},window.SVGPathSegArcAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._r1+" "+this._r2+" "+this._angle+" "+(this._largeArcFlag?"1":"0")+" "+(this._sweepFlag?"1":"0")+" "+this._x+" "+this._y},window.SVGPathSegArcAbs.prototype.clone=function(){return new window.SVGPathSegArcAbs(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(window.SVGPathSegArcAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"r1",{get:function(){return this._r1},set:function(e){this._r1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"r2",{get:function(){return this._r2},set:function(e){this._r2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(e){this._largeArcFlag=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(e){this._sweepFlag=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegArcRel=function(e,t,n,i,r,o,s,a){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_ARC_REL,"a",e),this._x=t,this._y=n,this._r1=i,this._r2=r,this._angle=o,this._largeArcFlag=s,this._sweepFlag=a},window.SVGPathSegArcRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegArcRel.prototype.toString=function(){return"[object SVGPathSegArcRel]"},window.SVGPathSegArcRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._r1+" "+this._r2+" "+this._angle+" "+(this._largeArcFlag?"1":"0")+" "+(this._sweepFlag?"1":"0")+" "+this._x+" "+this._y},window.SVGPathSegArcRel.prototype.clone=function(){return new window.SVGPathSegArcRel(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(window.SVGPathSegArcRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"r1",{get:function(){return this._r1},set:function(e){this._r1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"r2",{get:function(){return this._r2},set:function(e){this._r2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(e){this._largeArcFlag=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(e){this._sweepFlag=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoHorizontalAbs=function(e,t){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS,"H",e),this._x=t},window.SVGPathSegLinetoHorizontalAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoHorizontalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalAbs]"},window.SVGPathSegLinetoHorizontalAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x},window.SVGPathSegLinetoHorizontalAbs.prototype.clone=function(){return new window.SVGPathSegLinetoHorizontalAbs(void 0,this._x)},Object.defineProperty(window.SVGPathSegLinetoHorizontalAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoHorizontalRel=function(e,t){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL,"h",e),this._x=t},window.SVGPathSegLinetoHorizontalRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoHorizontalRel.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalRel]"},window.SVGPathSegLinetoHorizontalRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x},window.SVGPathSegLinetoHorizontalRel.prototype.clone=function(){return new window.SVGPathSegLinetoHorizontalRel(void 0,this._x)},Object.defineProperty(window.SVGPathSegLinetoHorizontalRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoVerticalAbs=function(e,t){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS,"V",e),this._y=t},window.SVGPathSegLinetoVerticalAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoVerticalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalAbs]"},window.SVGPathSegLinetoVerticalAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._y},window.SVGPathSegLinetoVerticalAbs.prototype.clone=function(){return new window.SVGPathSegLinetoVerticalAbs(void 0,this._y)},Object.defineProperty(window.SVGPathSegLinetoVerticalAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoVerticalRel=function(e,t){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL,"v",e),this._y=t},window.SVGPathSegLinetoVerticalRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoVerticalRel.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalRel]"},window.SVGPathSegLinetoVerticalRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._y},window.SVGPathSegLinetoVerticalRel.prototype.clone=function(){return new window.SVGPathSegLinetoVerticalRel(void 0,this._y)},Object.defineProperty(window.SVGPathSegLinetoVerticalRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicSmoothAbs=function(e,t,n,i,r){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS,"S",e),this._x=t,this._y=n,this._x2=i,this._y2=r},window.SVGPathSegCurvetoCubicSmoothAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothAbs]"},window.SVGPathSegCurvetoCubicSmoothAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},window.SVGPathSegCurvetoCubicSmoothAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicSmoothAbs(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicSmoothRel=function(e,t,n,i,r){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL,"s",e),this._x=t,this._y=n,this._x2=i,this._y2=r},window.SVGPathSegCurvetoCubicSmoothRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothRel]"},window.SVGPathSegCurvetoCubicSmoothRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},window.SVGPathSegCurvetoCubicSmoothRel.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicSmoothRel(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticSmoothAbs=function(e,t,n){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS,"T",e),this._x=t,this._y=n},window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothAbs]"},window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticSmoothAbs(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticSmoothRel=function(e,t,n){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL,"t",e),this._x=t,this._y=n},window.SVGPathSegCurvetoQuadraticSmoothRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothRel]"},window.SVGPathSegCurvetoQuadraticSmoothRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegCurvetoQuadraticSmoothRel.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticSmoothRel(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathElement.prototype.createSVGPathSegClosePath=function(){return new window.SVGPathSegClosePath(void 0)},window.SVGPathElement.prototype.createSVGPathSegMovetoAbs=function(e,t){return new window.SVGPathSegMovetoAbs(void 0,e,t)},window.SVGPathElement.prototype.createSVGPathSegMovetoRel=function(e,t){return new window.SVGPathSegMovetoRel(void 0,e,t)},window.SVGPathElement.prototype.createSVGPathSegLinetoAbs=function(e,t){return new window.SVGPathSegLinetoAbs(void 0,e,t)},window.SVGPathElement.prototype.createSVGPathSegLinetoRel=function(e,t){return new window.SVGPathSegLinetoRel(void 0,e,t)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicAbs=function(e,t,n,i,r,o){return new window.SVGPathSegCurvetoCubicAbs(void 0,e,t,n,i,r,o)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicRel=function(e,t,n,i,r,o){return new window.SVGPathSegCurvetoCubicRel(void 0,e,t,n,i,r,o)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticAbs=function(e,t,n,i){return new window.SVGPathSegCurvetoQuadraticAbs(void 0,e,t,n,i)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticRel=function(e,t,n,i){return new window.SVGPathSegCurvetoQuadraticRel(void 0,e,t,n,i)},window.SVGPathElement.prototype.createSVGPathSegArcAbs=function(e,t,n,i,r,o,s){return new window.SVGPathSegArcAbs(void 0,e,t,n,i,r,o,s)},window.SVGPathElement.prototype.createSVGPathSegArcRel=function(e,t,n,i,r,o,s){return new window.SVGPathSegArcRel(void 0,e,t,n,i,r,o,s)},window.SVGPathElement.prototype.createSVGPathSegLinetoHorizontalAbs=function(e){return new window.SVGPathSegLinetoHorizontalAbs(void 0,e)},window.SVGPathElement.prototype.createSVGPathSegLinetoHorizontalRel=function(e){return new window.SVGPathSegLinetoHorizontalRel(void 0,e)},window.SVGPathElement.prototype.createSVGPathSegLinetoVerticalAbs=function(e){return new window.SVGPathSegLinetoVerticalAbs(void 0,e)},window.SVGPathElement.prototype.createSVGPathSegLinetoVerticalRel=function(e){return new window.SVGPathSegLinetoVerticalRel(void 0,e)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothAbs=function(e,t,n,i){return new window.SVGPathSegCurvetoCubicSmoothAbs(void 0,e,t,n,i)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothRel=function(e,t,n,i){return new window.SVGPathSegCurvetoCubicSmoothRel(void 0,e,t,n,i)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothAbs=function(e,t){return new window.SVGPathSegCurvetoQuadraticSmoothAbs(void 0,e,t)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothRel=function(e,t){return new window.SVGPathSegCurvetoQuadraticSmoothRel(void 0,e,t)},"getPathSegAtLength"in window.SVGPathElement.prototype||(window.SVGPathElement.prototype.getPathSegAtLength=function(e){if(void 0===e||!isFinite(e))throw"Invalid arguments.";var t=document.createElementNS("http://www.w3.org/2000/svg","path");t.setAttribute("d",this.getAttribute("d"));var n=t.pathSegList.numberOfItems-1;if(n<=0)return 0;do{if(t.pathSegList.removeItem(n),e>t.getTotalLength())break;n--}while(n>0);return n})),"SVGPathSegList"in window&&"appendItem"in window.SVGPathSegList.prototype||(window.SVGPathSegList=function(e){this._pathElement=e,this._list=this._parsePath(this._pathElement.getAttribute("d")),this._mutationObserverConfig={attributes:!0,attributeFilter:["d"]},this._pathElementMutationObserver=new MutationObserver(this._updateListFromPathMutations.bind(this)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},window.SVGPathSegList.prototype.classname="SVGPathSegList",Object.defineProperty(window.SVGPathSegList.prototype,"numberOfItems",{get:function(){return this._checkPathSynchronizedToList(),this._list.length},enumerable:!0}),Object.defineProperty(window.SVGPathSegList.prototype,"length",{get:function(){return this._checkPathSynchronizedToList(),this._list.length},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"pathSegList",{get:function(){return this._pathSegList||(this._pathSegList=new window.SVGPathSegList(this)),this._pathSegList},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"normalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"animatedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"animatedNormalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),window.SVGPathSegList.prototype._checkPathSynchronizedToList=function(){this._updateListFromPathMutations(this._pathElementMutationObserver.takeRecords())},window.SVGPathSegList.prototype._updateListFromPathMutations=function(e){if(this._pathElement){var t=!1;e.forEach((function(e){"d"==e.attributeName&&(t=!0)})),t&&(this._list=this._parsePath(this._pathElement.getAttribute("d")))}},window.SVGPathSegList.prototype._writeListToPath=function(){this._pathElementMutationObserver.disconnect(),this._pathElement.setAttribute("d",window.SVGPathSegList._pathSegArrayAsString(this._list)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},window.SVGPathSegList.prototype.segmentChanged=function(e){this._writeListToPath()},window.SVGPathSegList.prototype.clear=function(){this._checkPathSynchronizedToList(),this._list.forEach((function(e){e._owningPathSegList=null})),this._list=[],this._writeListToPath()},window.SVGPathSegList.prototype.initialize=function(e){return this._checkPathSynchronizedToList(),this._list=[e],e._owningPathSegList=this,this._writeListToPath(),e},window.SVGPathSegList.prototype._checkValidIndex=function(e){if(isNaN(e)||e<0||e>=this.numberOfItems)throw"INDEX_SIZE_ERR"},window.SVGPathSegList.prototype.getItem=function(e){return this._checkPathSynchronizedToList(),this._checkValidIndex(e),this._list[e]},window.SVGPathSegList.prototype.insertItemBefore=function(e,t){return this._checkPathSynchronizedToList(),t>this.numberOfItems&&(t=this.numberOfItems),e._owningPathSegList&&(e=e.clone()),this._list.splice(t,0,e),e._owningPathSegList=this,this._writeListToPath(),e},window.SVGPathSegList.prototype.replaceItem=function(e,t){return this._checkPathSynchronizedToList(),e._owningPathSegList&&(e=e.clone()),this._checkValidIndex(t),this._list[t]=e,e._owningPathSegList=this,this._writeListToPath(),e},window.SVGPathSegList.prototype.removeItem=function(e){this._checkPathSynchronizedToList(),this._checkValidIndex(e);var t=this._list[e];return this._list.splice(e,1),this._writeListToPath(),t},window.SVGPathSegList.prototype.appendItem=function(e){return this._checkPathSynchronizedToList(),e._owningPathSegList&&(e=e.clone()),this._list.push(e),e._owningPathSegList=this,this._writeListToPath(),e},window.SVGPathSegList._pathSegArrayAsString=function(e){var t="",n=!0;return e.forEach((function(e){n?(n=!1,t+=e._asPathString()):t+=" "+e._asPathString()})),t},window.SVGPathSegList.prototype._parsePath=function(e){if(!e||0==e.length)return[];var t=this,n=function(){this.pathSegList=[]};n.prototype.appendSegment=function(e){this.pathSegList.push(e)};var i=function(e){this._string=e,this._currentIndex=0,this._endIndex=this._string.length,this._previousCommand=window.SVGPathSeg.PATHSEG_UNKNOWN,this._skipOptionalSpaces()};i.prototype._isCurrentSpace=function(){var e=this._string[this._currentIndex];return e<=" "&&(" "==e||"\n"==e||"\t"==e||"\r"==e||"\f"==e)},i.prototype._skipOptionalSpaces=function(){for(;this._currentIndex<this._endIndex&&this._isCurrentSpace();)this._currentIndex++;return this._currentIndex<this._endIndex},i.prototype._skipOptionalSpacesOrDelimiter=function(){return!(this._currentIndex<this._endIndex&&!this._isCurrentSpace()&&","!=this._string.charAt(this._currentIndex))&&(this._skipOptionalSpaces()&&this._currentIndex<this._endIndex&&","==this._string.charAt(this._currentIndex)&&(this._currentIndex++,this._skipOptionalSpaces()),this._currentIndex<this._endIndex)},i.prototype.hasMoreData=function(){return this._currentIndex<this._endIndex},i.prototype.peekSegmentType=function(){var e=this._string[this._currentIndex];return this._pathSegTypeFromChar(e)},i.prototype._pathSegTypeFromChar=function(e){switch(e){case"Z":case"z":return window.SVGPathSeg.PATHSEG_CLOSEPATH;case"M":return window.SVGPathSeg.PATHSEG_MOVETO_ABS;case"m":return window.SVGPathSeg.PATHSEG_MOVETO_REL;case"L":return window.SVGPathSeg.PATHSEG_LINETO_ABS;case"l":return window.SVGPathSeg.PATHSEG_LINETO_REL;case"C":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS;case"c":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL;case"Q":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS;case"q":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL;case"A":return window.SVGPathSeg.PATHSEG_ARC_ABS;case"a":return window.SVGPathSeg.PATHSEG_ARC_REL;case"H":return window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS;case"h":return window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL;case"V":return window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS;case"v":return window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL;case"S":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS;case"s":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL;case"T":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS;case"t":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL;default:return window.SVGPathSeg.PATHSEG_UNKNOWN}},i.prototype._nextCommandHelper=function(e,t){return("+"==e||"-"==e||"."==e||e>="0"&&e<="9")&&t!=window.SVGPathSeg.PATHSEG_CLOSEPATH?t==window.SVGPathSeg.PATHSEG_MOVETO_ABS?window.SVGPathSeg.PATHSEG_LINETO_ABS:t==window.SVGPathSeg.PATHSEG_MOVETO_REL?window.SVGPathSeg.PATHSEG_LINETO_REL:t:window.SVGPathSeg.PATHSEG_UNKNOWN},i.prototype.initialCommandIsMoveTo=function(){if(!this.hasMoreData())return!0;var e=this.peekSegmentType();return e==window.SVGPathSeg.PATHSEG_MOVETO_ABS||e==window.SVGPathSeg.PATHSEG_MOVETO_REL},i.prototype._parseNumber=function(){var e=0,t=0,n=1,i=0,r=1,o=1,s=this._currentIndex;if(this._skipOptionalSpaces(),this._currentIndex<this._endIndex&&"+"==this._string.charAt(this._currentIndex)?this._currentIndex++:this._currentIndex<this._endIndex&&"-"==this._string.charAt(this._currentIndex)&&(this._currentIndex++,r=-1),!(this._currentIndex==this._endIndex||(this._string.charAt(this._currentIndex)<"0"||this._string.charAt(this._currentIndex)>"9")&&"."!=this._string.charAt(this._currentIndex))){for(var a=this._currentIndex;this._currentIndex<this._endIndex&&this._string.charAt(this._currentIndex)>="0"&&this._string.charAt(this._currentIndex)<="9";)this._currentIndex++;if(this._currentIndex!=a)for(var l=this._currentIndex-1,c=1;l>=a;)t+=c*(this._string.charAt(l--)-"0"),c*=10;if(this._currentIndex<this._endIndex&&"."==this._string.charAt(this._currentIndex)){if(this._currentIndex++,this._currentIndex>=this._endIndex||this._string.charAt(this._currentIndex)<"0"||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex<this._endIndex&&this._string.charAt(this._currentIndex)>="0"&&this._string.charAt(this._currentIndex)<="9";)n*=10,i+=(this._string.charAt(this._currentIndex)-"0")/n,this._currentIndex+=1}if(this._currentIndex!=s&&this._currentIndex+1<this._endIndex&&("e"==this._string.charAt(this._currentIndex)||"E"==this._string.charAt(this._currentIndex))&&"x"!=this._string.charAt(this._currentIndex+1)&&"m"!=this._string.charAt(this._currentIndex+1)){if(this._currentIndex++,"+"==this._string.charAt(this._currentIndex)?this._currentIndex++:"-"==this._string.charAt(this._currentIndex)&&(this._currentIndex++,o=-1),this._currentIndex>=this._endIndex||this._string.charAt(this._currentIndex)<"0"||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex<this._endIndex&&this._string.charAt(this._currentIndex)>="0"&&this._string.charAt(this._currentIndex)<="9";)e*=10,e+=this._string.charAt(this._currentIndex)-"0",this._currentIndex++}var u=t+i;if(u*=r,e&&(u*=Math.pow(10,o*e)),s!=this._currentIndex)return this._skipOptionalSpacesOrDelimiter(),u}},i.prototype._parseArcFlag=function(){if(!(this._currentIndex>=this._endIndex)){var e=!1,t=this._string.charAt(this._currentIndex++);if("0"==t)e=!1;else{if("1"!=t)return;e=!0}return this._skipOptionalSpacesOrDelimiter(),e}},i.prototype.parseSegment=function(){var e=this._string[this._currentIndex],n=this._pathSegTypeFromChar(e);if(n==window.SVGPathSeg.PATHSEG_UNKNOWN){if(this._previousCommand==window.SVGPathSeg.PATHSEG_UNKNOWN)return null;if((n=this._nextCommandHelper(e,this._previousCommand))==window.SVGPathSeg.PATHSEG_UNKNOWN)return null}else this._currentIndex++;switch(this._previousCommand=n,n){case window.SVGPathSeg.PATHSEG_MOVETO_REL:return new window.SVGPathSegMovetoRel(t,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_MOVETO_ABS:return new window.SVGPathSegMovetoAbs(t,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_REL:return new window.SVGPathSegLinetoRel(t,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_ABS:return new window.SVGPathSegLinetoAbs(t,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL:return new window.SVGPathSegLinetoHorizontalRel(t,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS:return new window.SVGPathSegLinetoHorizontalAbs(t,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL:return new window.SVGPathSegLinetoVerticalRel(t,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS:return new window.SVGPathSegLinetoVerticalAbs(t,this._parseNumber());case window.SVGPathSeg.PATHSEG_CLOSEPATH:return this._skipOptionalSpaces(),new window.SVGPathSegClosePath(t);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL:var i={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new window.SVGPathSegCurvetoCubicRel(t,i.x,i.y,i.x1,i.y1,i.x2,i.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS:i={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new window.SVGPathSegCurvetoCubicAbs(t,i.x,i.y,i.x1,i.y1,i.x2,i.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL:i={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new window.SVGPathSegCurvetoCubicSmoothRel(t,i.x,i.y,i.x2,i.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS:i={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new window.SVGPathSegCurvetoCubicSmoothAbs(t,i.x,i.y,i.x2,i.y2);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL:i={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new window.SVGPathSegCurvetoQuadraticRel(t,i.x,i.y,i.x1,i.y1);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS:i={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new window.SVGPathSegCurvetoQuadraticAbs(t,i.x,i.y,i.x1,i.y1);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:return new window.SVGPathSegCurvetoQuadraticSmoothRel(t,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:return new window.SVGPathSegCurvetoQuadraticSmoothAbs(t,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_ARC_REL:i={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()};return new window.SVGPathSegArcRel(t,i.x,i.y,i.x1,i.y1,i.arcAngle,i.arcLarge,i.arcSweep);case window.SVGPathSeg.PATHSEG_ARC_ABS:i={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()};return new window.SVGPathSegArcAbs(t,i.x,i.y,i.x1,i.y1,i.arcAngle,i.arcLarge,i.arcSweep);default:throw"Unknown path seg type."}};var r=new n,o=new i(e);if(!o.initialCommandIsMoveTo())return[];for(;o.hasMoreData();){var s=o.parseSegment();if(!s)return[];r.appendSegment(s)}return r.pathSegList}))}()},882:function(e,t,n){e.exports=n(3305).__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED},1325:function(e){e.exports=function e(t,n,i){function r(s,a){if(!n[s]){if(!t[s]){if(o)return o(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[s]={exports:{}};t[s][0].call(c.exports,(function(e){var n=t[s][1][e];return r(n||e)}),c,c.exports,e,t,n,i)}return n[s].exports}for(var o=void 0,s=0;s<i.length;s++)r(i[s]);return r}({1:[function(e,t,n){"use strict";var i=e(22),r=e(26),o=e(37),s=e(29),a=e(64),l=e(94),c=e(96),u=e(118),h=e(140),d=e(143),p=e(173),f=!1;r.addons={CSSTransitionGroup:s,LinkedStateMixin:i,PureRenderMixin:o,TransitionGroup:l,batchedUpdates:function(){return p(f,"React.addons.batchedUpdates is deprecated. Use ReactDOM.unstable_batchedUpdates instead."),f=!0,c.batchedUpdates.apply(this,arguments)},cloneWithProps:u,createFragment:a.create,shallowCompare:h,update:d},r.addons.Perf=e(55),r.addons.TestUtils=e(91),t.exports=r},{118:118,140:140,143:143,173:173,22:22,26:26,29:29,37:37,55:55,64:64,91:91,94:94,96:96}],2:[function(e,t,n){"use strict";var i=e(72),r=e(122),o=e(155),s={Mixin:{componentDidMount:function(){this.props.autoFocus&&o(r(this))}},focusDOMComponent:function(){o(i.getNode(this._rootNodeID))}};t.exports=s},{122:122,155:155,72:72}],3:[function(e,t,n){"use strict";var i=e(15),r=e(19),o=e(147),s=e(20),a=e(103),l=e(107),c=e(166),u=[9,13,27,32],h=229,d=o.canUseDOM&&"CompositionEvent"in window,p=null;o.canUseDOM&&"documentMode"in document&&(p=document.documentMode);var f=o.canUseDOM&&"TextEvent"in window&&!p&&!m(),g=o.canUseDOM&&(!d||p&&p>8&&p<=11);function m(){var e=window.opera;return"object"==typeof e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}var v=32,y=String.fromCharCode(v),S=i.topLevelTypes,b={beforeInput:{phasedRegistrationNames:{bubbled:c({onBeforeInput:null}),captured:c({onBeforeInputCapture:null})},dependencies:[S.topCompositionEnd,S.topKeyPress,S.topTextInput,S.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:c({onCompositionEnd:null}),captured:c({onCompositionEndCapture:null})},dependencies:[S.topBlur,S.topCompositionEnd,S.topKeyDown,S.topKeyPress,S.topKeyUp,S.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:c({onCompositionStart:null}),captured:c({onCompositionStartCapture:null})},dependencies:[S.topBlur,S.topCompositionStart,S.topKeyDown,S.topKeyPress,S.topKeyUp,S.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:c({onCompositionUpdate:null}),captured:c({onCompositionUpdateCapture:null})},dependencies:[S.topBlur,S.topCompositionUpdate,S.topKeyDown,S.topKeyPress,S.topKeyUp,S.topMouseDown]}},w=!1;function x(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function C(e){switch(e){case S.topCompositionStart:return b.compositionStart;case S.topCompositionEnd:return b.compositionEnd;case S.topCompositionUpdate:return b.compositionUpdate}}function E(e,t){return e===S.topKeyDown&&t.keyCode===h}function P(e,t){switch(e){case S.topKeyUp:return-1!==u.indexOf(t.keyCode);case S.topKeyDown:return t.keyCode!==h;case S.topKeyPress:case S.topMouseDown:case S.topBlur:return!0;default:return!1}}function T(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}var D=null;function A(e,t,n,i,o){var l,c;if(d?l=C(e):D?P(e,i)&&(l=b.compositionEnd):E(e,i)&&(l=b.compositionStart),!l)return null;g&&(D||l!==b.compositionStart?l===b.compositionEnd&&D&&(c=D.getData()):D=s.getPooled(t));var u=a.getPooled(l,n,i,o);if(c)u.data=c;else{var h=T(i);null!==h&&(u.data=h)}return r.accumulateTwoPhaseDispatches(u),u}function I(e,t){switch(e){case S.topCompositionEnd:return T(t);case S.topKeyPress:return t.which!==v?null:(w=!0,y);case S.topTextInput:var n=t.data;return n===y&&w?null:n;default:return null}}function k(e,t){if(D){if(e===S.topCompositionEnd||P(e,t)){var n=D.getData();return s.release(D),D=null,n}return null}switch(e){case S.topPaste:return null;case S.topKeyPress:return t.which&&!x(t)?String.fromCharCode(t.which):null;case S.topCompositionEnd:return g?null:t.data;default:return null}}function R(e,t,n,i,o){var s;if(!(s=f?I(e,i):k(e,i)))return null;var a=l.getPooled(b.beforeInput,n,i,o);return a.data=s,r.accumulateTwoPhaseDispatches(a),a}var _={eventTypes:b,extractEvents:function(e,t,n,i,r){return[A(e,t,n,i,r),R(e,t,n,i,r)]}};t.exports=_},{103:103,107:107,147:147,15:15,166:166,19:19,20:20}],4:[function(e,t,n){"use strict";var i={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};function r(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var o=["Webkit","ms","Moz","O"];Object.keys(i).forEach((function(e){o.forEach((function(t){i[r(t,e)]=i[e]}))}));var s={isUnitlessNumber:i,shorthandPropertyExpansions:{background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}}};t.exports=s},{}],5:[function(e,t,n){"use strict";var i=e(4),r=e(147),o=e(78),s=e(149),a=e(119),l=e(160),c=e(168),u=e(173),h=c((function(e){return l(e)})),d=!1,p="cssFloat";if(r.canUseDOM){var f=document.createElement("div").style;try{f.font=""}catch(e){d=!0}void 0===document.documentElement.style.cssFloat&&(p="styleFloat")}var g=/^(?:webkit|moz|o)[A-Z]/,m=/;\s*$/,v={},y={},S=function(e){v.hasOwnProperty(e)&&v[e]||(v[e]=!0,u(!1,"Unsupported style property %s. Did you mean %s?",e,s(e)))},b=function(e){v.hasOwnProperty(e)&&v[e]||(v[e]=!0,u(!1,"Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},w=function(e,t){y.hasOwnProperty(t)&&y[t]||(y[t]=!0,u(!1,'Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',e,t.replace(m,"")))},x=function(e,t){e.indexOf("-")>-1?S(e):g.test(e)?b(e):m.test(t)&&w(e,t)},C={createMarkupForStyles:function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];x(n,i),null!=i&&(t+=h(n)+":",t+=a(n,i)+";")}return t||null},setValueForStyles:function(e,t){var n=e.style;for(var r in t)if(t.hasOwnProperty(r)){x(r,t[r]);var o=a(r,t[r]);if("float"===r&&(r=p),o)n[r]=o;else{var s=d&&i.shorthandPropertyExpansions[r];if(s)for(var l in s)n[l]="";else n[r]=""}}}};o.measureMethods(C,"CSSPropertyOperations",{setValueForStyles:"setValueForStyles"}),t.exports=C},{119:119,147:147,149:149,160:160,168:168,173:173,4:4,78:78}],6:[function(e,t,n){"use strict";var i=e(25),r=e(24),o=e(161);function s(){this._callbacks=null,this._contexts=null}r(s.prototype,{enqueue:function(e,t){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var e=this._callbacks,t=this._contexts;if(e){e.length!==t.length&&o(!1,"Mismatched list of contexts in callback queue"),this._callbacks=null,this._contexts=null;for(var n=0;n<e.length;n++)e[n].call(t[n]);e.length=0,t.length=0}},reset:function(){this._callbacks=null,this._contexts=null},destructor:function(){this.reset()}}),i.addPoolingTo(s),t.exports=s},{161:161,24:24,25:25}],7:[function(e,t,n){"use strict";var i=e(15),r=e(16),o=e(19),s=e(147),a=e(96),l=e(105),c=e(128),u=e(133),h=e(134),d=e(166),p=i.topLevelTypes,f={change:{phasedRegistrationNames:{bubbled:d({onChange:null}),captured:d({onChangeCapture:null})},dependencies:[p.topBlur,p.topChange,p.topClick,p.topFocus,p.topInput,p.topKeyDown,p.topKeyUp,p.topSelectionChange]}},g=null,m=null,v=null,y=null;function S(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}var b=!1;function w(e){var t=l.getPooled(f.change,m,e,c(e));o.accumulateTwoPhaseDispatches(t),a.batchedUpdates(x,t)}function x(e){r.enqueueEvents(e),r.processEventQueue(!1)}function C(e,t){m=t,(g=e).attachEvent("onchange",w)}function E(){g&&(g.detachEvent("onchange",w),g=null,m=null)}function P(e,t,n){if(e===p.topChange)return n}function T(e,t,n){e===p.topFocus?(E(),C(t,n)):e===p.topBlur&&E()}s.canUseDOM&&(b=u("change")&&(!("documentMode"in document)||document.documentMode>8));var D=!1;s.canUseDOM&&(D=u("input")&&(!("documentMode"in document)||document.documentMode>9));var A={get:function(){return y.get.call(this)},set:function(e){v=""+e,y.set.call(this,e)}};function I(e,t){g=e,m=t,v=e.value,y=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(g,"value",A),g.attachEvent("onpropertychange",R)}function k(){g&&(delete g.value,g.detachEvent("onpropertychange",R),g=null,m=null,v=null,y=null)}function R(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==v&&(v=t,w(e))}}function _(e,t,n){if(e===p.topInput)return n}function M(e,t,n){e===p.topFocus?(k(),I(t,n)):e===p.topBlur&&k()}function O(e,t,n){if((e===p.topSelectionChange||e===p.topKeyUp||e===p.topKeyDown)&&g&&g.value!==v)return v=g.value,m}function L(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function V(e,t,n){if(e===p.topClick)return n}var N={eventTypes:f,extractEvents:function(e,t,n,i,r){var s,a;if(S(t)?b?s=P:a=T:h(t)?D?s=_:(s=O,a=M):L(t)&&(s=V),s){var c=s(e,t,n);if(c){var u=l.getPooled(f.change,c,i,r);return u.type="change",o.accumulateTwoPhaseDispatches(u),u}}a&&a(e,t,n)}};t.exports=N},{105:105,128:128,133:133,134:134,147:147,15:15,16:16,166:166,19:19,96:96}],8:[function(e,t,n){"use strict";var i=0,r={createReactRootIndex:function(){return i++}};t.exports=r},{}],9:[function(e,t,n){"use strict";var i=e(12),r=e(74),o=e(78),s=e(138),a=e(139),l=e(161);function c(e,t,n){var i=n>=e.childNodes.length?null:e.childNodes.item(n);e.insertBefore(t,i)}var u={dangerouslyReplaceNodeWithMarkup:i.dangerouslyReplaceNodeWithMarkup,updateTextContent:a,processUpdates:function(e,t){for(var n,o,u=null,h=null,d=0;d<e.length;d++)if((n=e[d]).type===r.MOVE_EXISTING||n.type===r.REMOVE_NODE){var p=n.fromIndex,f=n.parentNode.childNodes[p],g=n.parentID;f||l(!1,"processUpdates(): Unable to find child %s of element. This probably means the DOM was unexpectedly mutated (e.g., by the browser), usually due to forgetting a <tbody> when using tables, nesting tags like <form>, <p>, or <a>, or using non-SVG elements in an <svg> parent. Try inspecting the child nodes of the element with React ID `%s`.",p,g),(u=u||{})[g]=u[g]||[],u[g][p]=f,(h=h||[]).push(f)}if(o=t.length&&"string"==typeof t[0]?i.dangerouslyRenderMarkup(t):t,h)for(var m=0;m<h.length;m++)h[m].parentNode.removeChild(h[m]);for(var v=0;v<e.length;v++)switch((n=e[v]).type){case r.INSERT_MARKUP:c(n.parentNode,o[n.markupIndex],n.toIndex);break;case r.MOVE_EXISTING:c(n.parentNode,u[n.parentID][n.fromIndex],n.toIndex);break;case r.SET_MARKUP:s(n.parentNode,n.content);break;case r.TEXT_CONTENT:a(n.parentNode,n.content);case r.REMOVE_NODE:}}};o.measureMethods(u,"DOMChildrenOperations",{updateTextContent:"updateTextContent"}),t.exports=u},{12:12,138:138,139:139,161:161,74:74,78:78}],10:[function(e,t,n){"use strict";var i=e(161);function r(e,t){return(e&t)===t}var o={MUST_USE_ATTRIBUTE:1,MUST_USE_PROPERTY:2,HAS_SIDE_EFFECTS:4,HAS_BOOLEAN_VALUE:8,HAS_NUMERIC_VALUE:16,HAS_POSITIVE_NUMERIC_VALUE:48,HAS_OVERLOADED_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(e){var t=o,n=e.Properties||{},s=e.DOMAttributeNamespaces||{},l=e.DOMAttributeNames||{},c=e.DOMPropertyNames||{},u=e.DOMMutationMethods||{};for(var h in e.isCustomAttribute&&a._isCustomAttributeFunctions.push(e.isCustomAttribute),n){a.properties.hasOwnProperty(h)&&i(!1,"injectDOMPropertyConfig(...): You're trying to inject DOM property '%s' which has already been injected. You may be accidentally injecting the same DOM property config twice, or you may be injecting two configs that have conflicting property names.",h);var d=h.toLowerCase(),p=n[h],f={attributeName:d,attributeNamespace:null,propertyName:h,mutationMethod:null,mustUseAttribute:r(p,t.MUST_USE_ATTRIBUTE),mustUseProperty:r(p,t.MUST_USE_PROPERTY),hasSideEffects:r(p,t.HAS_SIDE_EFFECTS),hasBooleanValue:r(p,t.HAS_BOOLEAN_VALUE),hasNumericValue:r(p,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(p,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(p,t.HAS_OVERLOADED_BOOLEAN_VALUE)};if(f.mustUseAttribute&&f.mustUseProperty&&i(!1,"DOMProperty: Cannot require using both attribute and property: %s",h),!f.mustUseProperty&&f.hasSideEffects&&i(!1,"DOMProperty: Properties that have side effects must use property: %s",h),f.hasBooleanValue+f.hasNumericValue+f.hasOverloadedBooleanValue<=1||i(!1,"DOMProperty: Value can be one of boolean, overloaded boolean, or numeric value, but not a combination: %s",h),a.getPossibleStandardName[d]=h,l.hasOwnProperty(h)){var g=l[h];f.attributeName=g,a.getPossibleStandardName[g]=h}s.hasOwnProperty(h)&&(f.attributeNamespace=s[h]),c.hasOwnProperty(h)&&(f.propertyName=c[h]),u.hasOwnProperty(h)&&(f.mutationMethod=u[h]),a.properties[h]=f}}},s={},a={ID_ATTRIBUTE_NAME:"data-reactid",properties:{},getPossibleStandardName:{},_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<a._isCustomAttributeFunctions.length;t++)if((0,a._isCustomAttributeFunctions[t])(e))return!0;return!1},getDefaultValueForProperty:function(e,t){var n,i=s[e];return i||(s[e]=i={}),t in i||(n=document.createElement(e),i[t]=n[t]),i[t]},injection:o};t.exports=a},{161:161}],11:[function(e,t,n){"use strict";var i=e(10),r=e(78),o=e(136),s=e(173),a=/^[a-zA-Z_][\w\.\-]*$/,l={},c={};function u(e){return!!c.hasOwnProperty(e)||!l.hasOwnProperty(e)&&(a.test(e)?(c[e]=!0,!0):(l[e]=!0,s(!1,"Invalid attribute name: `%s`",e),!1))}function h(e,t){return null==t||e.hasBooleanValue&&!t||e.hasNumericValue&&isNaN(t)||e.hasPositiveNumericValue&&t<1||e.hasOverloadedBooleanValue&&!1===t}var d={children:!0,dangerouslySetInnerHTML:!0,key:!0,ref:!0},p={},f=function(e){if(!(d.hasOwnProperty(e)&&d[e]||p.hasOwnProperty(e)&&p[e])){p[e]=!0;var t=e.toLowerCase(),n=i.isCustomAttribute(t)?t:i.getPossibleStandardName.hasOwnProperty(t)?i.getPossibleStandardName[t]:null;s(null==n,"Unknown DOM property %s. Did you mean %s?",e,n)}},g={createMarkupForID:function(e){return i.ID_ATTRIBUTE_NAME+"="+o(e)},setAttributeForID:function(e,t){e.setAttribute(i.ID_ATTRIBUTE_NAME,t)},createMarkupForProperty:function(e,t){var n=i.properties.hasOwnProperty(e)?i.properties[e]:null;if(n){if(h(n,t))return"";var r=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&!0===t?r+'=""':r+"="+o(t)}return i.isCustomAttribute(e)?null==t?"":e+"="+o(t):(f(e),null)},createMarkupForCustomAttribute:function(e,t){return u(e)&&null!=t?e+"="+o(t):""},setValueForProperty:function(e,t,n){var r=i.properties.hasOwnProperty(t)?i.properties[t]:null;if(r){var o=r.mutationMethod;if(o)o(e,n);else if(h(r,n))this.deleteValueForProperty(e,t);else if(r.mustUseAttribute){var s=r.attributeName,a=r.attributeNamespace;a?e.setAttributeNS(a,s,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&!0===n?e.setAttribute(s,""):e.setAttribute(s,""+n)}else{var l=r.propertyName;r.hasSideEffects&&""+e[l]==""+n||(e[l]=n)}}else i.isCustomAttribute(t)?g.setValueForAttribute(e,t,n):f(t)},setValueForAttribute:function(e,t,n){u(t)&&(null==n?e.removeAttribute(t):e.setAttribute(t,""+n))},deleteValueForProperty:function(e,t){var n=i.properties.hasOwnProperty(t)?i.properties[t]:null;if(n){var r=n.mutationMethod;if(r)r(e,void 0);else if(n.mustUseAttribute)e.removeAttribute(n.attributeName);else{var o=n.propertyName,s=i.getDefaultValueForProperty(e.nodeName,o);n.hasSideEffects&&""+e[o]===s||(e[o]=s)}}else i.isCustomAttribute(t)?e.removeAttribute(t):f(t)}};r.measureMethods(g,"DOMPropertyOperations",{setValueForProperty:"setValueForProperty",setValueForAttribute:"setValueForAttribute",deleteValueForProperty:"deleteValueForProperty"}),t.exports=g},{10:10,136:136,173:173,78:78}],12:[function(e,t,n){"use strict";var i=e(147),r=e(152),o=e(153),s=e(157),a=e(161),l=/^(<[^ \/>]+)/,c="data-danger-index";function u(e){return e.substring(1,e.indexOf(" "))}var h={dangerouslyRenderMarkup:function(e){var t;i.canUseDOM||a(!1,"dangerouslyRenderMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use ReactDOMServer.renderToString for server rendering.");for(var n={},h=0;h<e.length;h++)e[h]||a(!1,"dangerouslyRenderMarkup(...): Missing markup."),t=u(e[h]),n[t=s(t)?t:"*"]=n[t]||[],n[t][h]=e[h];var d=[],p=0;for(t in n)if(n.hasOwnProperty(t)){var f,g=n[t];for(f in g)if(g.hasOwnProperty(f)){var m=g[f];g[f]=m.replace(l,"$1 "+c+'="'+f+'" ')}for(var v=r(g.join(""),o),y=0;y<v.length;++y){var S=v[y];S.hasAttribute&&S.hasAttribute(c)?(f=+S.getAttribute(c),S.removeAttribute(c),d.hasOwnProperty(f)&&a(!1,"Danger: Assigning to an already-occupied result index."),d[f]=S,p+=1):console.error("Danger: Discarding unexpected node:",S)}}return p!==d.length&&a(!1,"Danger: Did not assign to every index of resultList."),d.length!==e.length&&a(!1,"Danger: Expected markup to render %s nodes, but rendered %s.",e.length,d.length),d},dangerouslyReplaceNodeWithMarkup:function(e,t){var n;i.canUseDOM||a(!1,"dangerouslyReplaceNodeWithMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use ReactDOMServer.renderToString() for server rendering."),t||a(!1,"dangerouslyReplaceNodeWithMarkup(...): Missing markup."),"html"===e.tagName.toLowerCase()&&a(!1,"dangerouslyReplaceNodeWithMarkup(...): Cannot replace markup of the <html> node. This is because browser quirks make this unreliable and/or slow. If you want to render to the root you must use server rendering. See ReactDOMServer.renderToString()."),n="string"==typeof t?r(t,o)[0]:t,e.parentNode.replaceChild(n,e)}};t.exports=h},{147:147,152:152,153:153,157:157,161:161}],13:[function(e,t,n){"use strict";var i=e(166),r=[i({ResponderEventPlugin:null}),i({SimpleEventPlugin:null}),i({TapEventPlugin:null}),i({EnterLeaveEventPlugin:null}),i({ChangeEventPlugin:null}),i({SelectEventPlugin:null}),i({BeforeInputEventPlugin:null})];t.exports=r},{166:166}],14:[function(e,t,n){"use strict";var i=e(15),r=e(19),o=e(109),s=e(72),a=e(166),l=i.topLevelTypes,c=s.getFirstReactDOM,u={mouseEnter:{registrationName:a({onMouseEnter:null}),dependencies:[l.topMouseOut,l.topMouseOver]},mouseLeave:{registrationName:a({onMouseLeave:null}),dependencies:[l.topMouseOut,l.topMouseOver]}},h=[null,null],d={eventTypes:u,extractEvents:function(e,t,n,i,a){if(e===l.topMouseOver&&(i.relatedTarget||i.fromElement))return null;if(e!==l.topMouseOut&&e!==l.topMouseOver)return null;var d,p,f;if(t.window===t)d=t;else{var g=t.ownerDocument;d=g?g.defaultView||g.parentWindow:window}var m="",v="";if(e===l.topMouseOut?(p=t,m=n,(f=c(i.relatedTarget||i.toElement))?v=s.getID(f):f=d,f=f||d):(p=d,f=t,v=n),p===f)return null;var y=o.getPooled(u.mouseLeave,m,i,a);y.type="mouseleave",y.target=p,y.relatedTarget=f;var S=o.getPooled(u.mouseEnter,v,i,a);return S.type="mouseenter",S.target=f,S.relatedTarget=p,r.accumulateEnterLeaveDispatches(y,S,m,v),h[0]=y,h[1]=S,h}};t.exports=d},{109:109,15:15,166:166,19:19,72:72}],15:[function(e,t,n){"use strict";var i=e(165),r=i({bubbled:null,captured:null}),o={topLevelTypes:i({topAbort:null,topBlur:null,topCanPlay:null,topCanPlayThrough:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topDurationChange:null,topEmptied:null,topEncrypted:null,topEnded:null,topError:null,topFocus:null,topInput:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topLoadedData:null,topLoadedMetadata:null,topLoadStart:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topPause:null,topPlay:null,topPlaying:null,topProgress:null,topRateChange:null,topReset:null,topScroll:null,topSeeked:null,topSeeking:null,topSelectionChange:null,topStalled:null,topSubmit:null,topSuspend:null,topTextInput:null,topTimeUpdate:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topVolumeChange:null,topWaiting:null,topWheel:null}),PropagationPhases:r};t.exports=o},{165:165}],16:[function(e,t,n){"use strict";var i=e(17),r=e(18),o=e(61),s=e(115),a=e(124),l=e(161),c=e(173),u={},h=null,d=function(e,t){e&&(r.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},p=function(e){return d(e,!0)},f=function(e){return d(e,!1)},g=null;function m(){var e=g&&g.traverseTwoPhase&&g.traverseEnterLeave;c(e,"InstanceHandle not injected before use!")}var v={injection:{injectMount:r.injection.injectMount,injectInstanceHandle:function(e){g=e,m()},getInstanceHandle:function(){return m(),g},injectEventPluginOrder:i.injectEventPluginOrder,injectEventPluginsByName:i.injectEventPluginsByName},eventNameDispatchConfigs:i.eventNameDispatchConfigs,registrationNameModules:i.registrationNameModules,putListener:function(e,t,n){"function"!=typeof n&&l(!1,"Expected %s listener to be a function, instead got type %s",t,typeof n),(u[t]||(u[t]={}))[e]=n;var r=i.registrationNameModules[t];r&&r.didPutListener&&r.didPutListener(e,t,n)},getListener:function(e,t){var n=u[t];return n&&n[e]},deleteListener:function(e,t){var n=i.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=u[t];r&&delete r[e]},deleteAllListeners:function(e){for(var t in u)if(u[t][e]){var n=i.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t),delete u[t][e]}},extractEvents:function(e,t,n,r,o){for(var a,l=i.plugins,c=0;c<l.length;c++){var u=l[c];if(u){var h=u.extractEvents(e,t,n,r,o);h&&(a=s(a,h))}}return a},enqueueEvents:function(e){e&&(h=s(h,e))},processEventQueue:function(e){var t=h;h=null,a(t,e?p:f),h&&l(!1,"processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented."),o.rethrowCaughtError()},__purge:function(){u={}},__getListenerBank:function(){return u}};t.exports=v},{115:115,124:124,161:161,17:17,173:173,18:18,61:61}],17:[function(e,t,n){"use strict";var i=e(161),r=null,o={};function s(){if(r)for(var e in o){var t=o[e],n=r.indexOf(e);if(n>-1||i(!1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e),!c.plugins[n]){t.extractEvents||i(!1,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e),c.plugins[n]=t;var s=t.eventTypes;for(var l in s)a(s[l],t,l)||i(!1,"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",l,e)}}}function a(e,t,n){c.eventNameDispatchConfigs.hasOwnProperty(n)&&i(!1,"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",n),c.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)r.hasOwnProperty(o)&&l(r[o],t,n);return!0}return!!e.registrationName&&(l(e.registrationName,t,n),!0)}function l(e,t,n){c.registrationNameModules[e]&&i(!1,"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e),c.registrationNameModules[e]=t,c.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){r&&i(!1,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."),r=Array.prototype.slice.call(e),s()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];o.hasOwnProperty(n)&&o[n]===r||(o[n]&&i(!1,"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",n),o[n]=r,t=!0)}t&&s()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return c.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var i=c.registrationNameModules[t.phasedRegistrationNames[n]];if(i)return i}return null},_resetEventPlugins:function(){for(var e in r=null,o)o.hasOwnProperty(e)&&delete o[e];c.plugins.length=0;var t=c.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var i=c.registrationNameModules;for(var s in i)i.hasOwnProperty(s)&&delete i[s]}};t.exports=c},{161:161}],18:[function(e,t,n){"use strict";var i,r=e(15),o=e(61),s=e(161),a=e(173),l={Mount:null,injectMount:function(e){l.Mount=e,a(e&&e.getNode&&e.getID,"EventPluginUtils.injection.injectMount(...): Injected Mount module is missing getNode or getID.")}},c=r.topLevelTypes;function u(e){return e===c.topMouseUp||e===c.topTouchEnd||e===c.topTouchCancel}function h(e){return e===c.topMouseMove||e===c.topTouchMove}function d(e){return e===c.topMouseDown||e===c.topTouchStart}function p(e,t,n,i){var r=e.type||"unknown-event";e.currentTarget=l.Mount.getNode(i),t?o.invokeGuardedCallbackWithCatch(r,n,e,i):o.invokeGuardedCallback(r,n,e,i),e.currentTarget=null}function f(e,t){var n=e._dispatchListeners,r=e._dispatchIDs;if(i(e),Array.isArray(n))for(var o=0;o<n.length&&!e.isPropagationStopped();o++)p(e,t,n[o],r[o]);else n&&p(e,t,n,r);e._dispatchListeners=null,e._dispatchIDs=null}function g(e){var t=e._dispatchListeners,n=e._dispatchIDs;if(i(e),Array.isArray(t)){for(var r=0;r<t.length&&!e.isPropagationStopped();r++)if(t[r](e,n[r]))return n[r]}else if(t&&t(e,n))return n;return null}function m(e){var t=g(e);return e._dispatchIDs=null,e._dispatchListeners=null,t}function v(e){i(e);var t=e._dispatchListeners,n=e._dispatchIDs;Array.isArray(t)&&s(!1,"executeDirectDispatch(...): Invalid `event`.");var r=t?t(e,n):null;return e._dispatchListeners=null,e._dispatchIDs=null,r}function y(e){return!!e._dispatchListeners}i=function(e){var t=e._dispatchListeners,n=e._dispatchIDs,i=Array.isArray(t),r=Array.isArray(n),o=r?n.length:n?1:0,s=i?t.length:t?1:0;a(r===i&&o===s,"EventPluginUtils: Invalid `event`.")};var S={isEndish:u,isMoveish:h,isStartish:d,executeDirectDispatch:v,executeDispatchesInOrder:f,executeDispatchesInOrderStopAtTrue:m,hasDispatches:y,getNode:function(e){return l.Mount.getNode(e)},getID:function(e){return l.Mount.getID(e)},injection:l};t.exports=S},{15:15,161:161,173:173,61:61}],19:[function(e,t,n){"use strict";var i=e(15),r=e(16),o=e(173),s=e(115),a=e(124),l=i.PropagationPhases,c=r.getListener;function u(e,t,n){var i=t.dispatchConfig.phasedRegistrationNames[n];return c(e,i)}function h(e,t,n){o(e,"Dispatching id must not be null");var i=u(e,n,t?l.bubbled:l.captured);i&&(n._dispatchListeners=s(n._dispatchListeners,i),n._dispatchIDs=s(n._dispatchIDs,e))}function d(e){e&&e.dispatchConfig.phasedRegistrationNames&&r.injection.getInstanceHandle().traverseTwoPhase(e.dispatchMarker,h,e)}function p(e){e&&e.dispatchConfig.phasedRegistrationNames&&r.injection.getInstanceHandle().traverseTwoPhaseSkipTarget(e.dispatchMarker,h,e)}function f(e,t,n){if(n&&n.dispatchConfig.registrationName){var i=n.dispatchConfig.registrationName,r=c(e,i);r&&(n._dispatchListeners=s(n._dispatchListeners,r),n._dispatchIDs=s(n._dispatchIDs,e))}}function g(e){e&&e.dispatchConfig.registrationName&&f(e.dispatchMarker,null,e)}function m(e){a(e,d)}function v(e){a(e,p)}function y(e,t,n,i){r.injection.getInstanceHandle().traverseEnterLeave(n,i,f,e,t)}function S(e){a(e,g)}var b={accumulateTwoPhaseDispatches:m,accumulateTwoPhaseDispatchesSkipTarget:v,accumulateDirectDispatches:S,accumulateEnterLeaveDispatches:y};t.exports=b},{115:115,124:124,15:15,16:16,173:173}],20:[function(e,t,n){"use strict";var i=e(25),r=e(24),o=e(131);function s(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}r(s.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[o()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,i=n.length,r=this.getText(),o=r.length;for(e=0;e<i&&n[e]===r[e];e++);var s=i-e;for(t=1;t<=s&&n[i-t]===r[o-t];t++);var a=t>1?1-t:void 0;return this._fallbackText=r.slice(e,a),this._fallbackText}}),i.addPoolingTo(s),t.exports=s},{131:131,24:24,25:25}],21:[function(e,t,n){"use strict";var i,r=e(10),o=e(147),s=r.injection.MUST_USE_ATTRIBUTE,a=r.injection.MUST_USE_PROPERTY,l=r.injection.HAS_BOOLEAN_VALUE,c=r.injection.HAS_SIDE_EFFECTS,u=r.injection.HAS_NUMERIC_VALUE,h=r.injection.HAS_POSITIVE_NUMERIC_VALUE,d=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE;if(o.canUseDOM){var p=document.implementation;i=p&&p.hasFeature&&p.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")}var f={isCustomAttribute:RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\d_.\-]*$/),Properties:{accept:null,acceptCharset:null,accessKey:null,action:null,allowFullScreen:s|l,allowTransparency:s,alt:null,async:l,autoComplete:null,autoPlay:l,capture:s|l,cellPadding:null,cellSpacing:null,charSet:s,challenge:s,checked:a|l,classID:s,className:i?s:a,cols:s|h,colSpan:null,content:null,contentEditable:null,contextMenu:s,controls:a|l,coords:null,crossOrigin:null,data:null,dateTime:s,default:l,defer:l,dir:null,disabled:s|l,download:d,draggable:null,encType:null,form:s,formAction:s,formEncType:s,formMethod:s,formNoValidate:l,formTarget:s,frameBorder:s,headers:null,height:s,hidden:s|l,high:null,href:null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:a,inputMode:s,integrity:null,is:s,keyParams:s,keyType:s,kind:null,label:null,lang:null,list:s,loop:a|l,low:null,manifest:s,marginHeight:null,marginWidth:null,max:null,maxLength:s,media:s,mediaGroup:null,method:null,min:null,minLength:s,multiple:a|l,muted:a|l,name:null,nonce:s,noValidate:l,open:l,optimum:null,pattern:null,placeholder:null,poster:null,preload:null,radioGroup:null,readOnly:a|l,rel:null,required:l,reversed:l,role:s,rows:s|h,rowSpan:null,sandbox:null,scope:null,scoped:l,scrolling:null,seamless:s|l,selected:a|l,shape:null,size:s|h,sizes:s,span:h,spellCheck:null,src:null,srcDoc:a,srcLang:null,srcSet:s,start:u,step:null,style:null,summary:null,tabIndex:null,target:null,title:null,type:null,useMap:null,value:a|c,width:s,wmode:s,wrap:null,about:s,datatype:s,inlist:s,prefix:s,property:s,resource:s,typeof:s,vocab:s,autoCapitalize:s,autoCorrect:s,autoSave:null,color:null,itemProp:s,itemScope:s|l,itemType:s,itemID:s,itemRef:s,results:null,security:s,unselectable:s},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{autoComplete:"autocomplete",autoFocus:"autofocus",autoPlay:"autoplay",autoSave:"autosave",encType:"encoding",hrefLang:"hreflang",radioGroup:"radiogroup",spellCheck:"spellcheck",srcDoc:"srcdoc",srcSet:"srcset"}};t.exports=f},{10:10,147:147}],22:[function(e,t,n){"use strict";var i=e(70),r=e(90),o={linkState:function(e){return new i(this.state[e],r.createStateKeySetter(this,e))}};t.exports=o},{70:70,90:90}],23:[function(e,t,n){"use strict";var i=e(82),r=e(81),o=e(161),s=e(173),a={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function l(e){null!=e.checkedLink&&null!=e.valueLink&&o(!1,"Cannot provide a checkedLink and a valueLink. If you want to use checkedLink, you probably don't want to use valueLink and vice versa.")}function c(e){l(e),(null!=e.value||null!=e.onChange)&&o(!1,"Cannot provide a valueLink and a value or onChange event. If you want to use value or onChange, you probably don't want to use valueLink.")}function u(e){l(e),(null!=e.checked||null!=e.onChange)&&o(!1,"Cannot provide a checkedLink and a checked property or onChange event. If you want to use checked or onChange, you probably don't want to use checkedLink")}var h={value:function(e,t,n){return!e[t]||a[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:i.func},d={};function p(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var f={checkPropTypes:function(e,t,n){for(var i in h){if(h.hasOwnProperty(i))var o=h[i](t,i,e,r.prop);if(o instanceof Error&&!(o.message in d)){d[o.message]=!0;var a=p(n);s(!1,"Failed form propType: %s%s",o.message,a)}}},getValue:function(e){return e.valueLink?(c(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(u(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(c(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(u(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};t.exports=f},{161:161,173:173,81:81,82:82}],24:[function(e,t,n){"use strict";function i(e,t){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");for(var n=Object(e),i=Object.prototype.hasOwnProperty,r=1;r<arguments.length;r++){var o=arguments[r];if(null!=o){var s=Object(o);for(var a in s)i.call(s,a)&&(n[a]=s[a])}}return n}t.exports=i},{}],25:[function(e,t,n){"use strict";var i=e(161),r=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},o=function(e){var t=this;e instanceof t||i(!1,"Trying to release an instance into a pool of a different type."),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},s=10,a=r,l={addPoolingTo:function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||a,n.poolSize||(n.poolSize=s),n.release=o,n},oneArgumentPooler:r,twoArgumentPooler:function(e,t){var n=this;if(n.instancePool.length){var i=n.instancePool.pop();return n.call(i,e,t),i}return new n(e,t)},threeArgumentPooler:function(e,t,n){var i=this;if(i.instancePool.length){var r=i.instancePool.pop();return i.call(r,e,t,n),r}return new i(e,t,n)},fourArgumentPooler:function(e,t,n,i){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n,i),o}return new r(e,t,n,i)},fiveArgumentPooler:function(e,t,n,i,r){var o=this;if(o.instancePool.length){var s=o.instancePool.pop();return o.call(s,e,t,n,i,r),s}return new o(e,t,n,i,r)}};t.exports=l},{161:161}],26:[function(e,t,n){"use strict";var i=e(40),r=e(50),o=e(69),s=e(24),a=e(120),l={};s(l,o),s(l,{findDOMNode:a("findDOMNode","ReactDOM","react-dom",i,i.findDOMNode),render:a("render","ReactDOM","react-dom",i,i.render),unmountComponentAtNode:a("unmountComponentAtNode","ReactDOM","react-dom",i,i.unmountComponentAtNode),renderToString:a("renderToString","ReactDOMServer","react-dom/server",r,r.renderToString),renderToStaticMarkup:a("renderToStaticMarkup","ReactDOMServer","react-dom/server",r,r.renderToStaticMarkup)}),l.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=i,l.__SECRET_DOM_SERVER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=r,l.Injection=e(65),t.exports=l},{120:120,24:24,40:40,50:50,69:69}],27:[function(e,t,n){"use strict";var i=e(68),r=e(122),o=e(173),s="_getDOMNodeDidWarn",a={getDOMNode:function(){return o(this.constructor[s],"%s.getDOMNode(...) is deprecated. Please use ReactDOM.findDOMNode(instance) instead.",i.get(this).getName()||this.tagName||"Unknown"),this.constructor[s]=!0,r(this)}};t.exports=a},{122:122,173:173,68:68}],28:[function(e,t,n){"use strict";var i=e(15),r=e(16),o=e(17),s=e(62),a=e(78),l=e(114),c=e(24),u=e(133),h={},d=!1,p=0,f={topAbort:"abort",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},g="_reactListenersID"+String(Math.random()).slice(2);function m(e){return Object.prototype.hasOwnProperty.call(e,g)||(e[g]=p++,h[e[g]]={}),h[e[g]]}var v=c({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(v.handleTopLevel),v.ReactEventListener=e}},setEnabled:function(e){v.ReactEventListener&&v.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!v.ReactEventListener||!v.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,r=m(n),s=o.registrationNameDependencies[e],a=i.topLevelTypes,l=0;l<s.length;l++){var c=s[l];r.hasOwnProperty(c)&&r[c]||(c===a.topWheel?u("wheel")?v.ReactEventListener.trapBubbledEvent(a.topWheel,"wheel",n):u("mousewheel")?v.ReactEventListener.trapBubbledEvent(a.topWheel,"mousewheel",n):v.ReactEventListener.trapBubbledEvent(a.topWheel,"DOMMouseScroll",n):c===a.topScroll?u("scroll",!0)?v.ReactEventListener.trapCapturedEvent(a.topScroll,"scroll",n):v.ReactEventListener.trapBubbledEvent(a.topScroll,"scroll",v.ReactEventListener.WINDOW_HANDLE):c===a.topFocus||c===a.topBlur?(u("focus",!0)?(v.ReactEventListener.trapCapturedEvent(a.topFocus,"focus",n),v.ReactEventListener.trapCapturedEvent(a.topBlur,"blur",n)):u("focusin")&&(v.ReactEventListener.trapBubbledEvent(a.topFocus,"focusin",n),v.ReactEventListener.trapBubbledEvent(a.topBlur,"focusout",n)),r[a.topBlur]=!0,r[a.topFocus]=!0):f.hasOwnProperty(c)&&v.ReactEventListener.trapBubbledEvent(c,f[c],n),r[c]=!0)}},trapBubbledEvent:function(e,t,n){return v.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return v.ReactEventListener.trapCapturedEvent(e,t,n)},ensureScrollValueMonitoring:function(){if(!d){var e=l.refreshScrollValues;v.ReactEventListener.monitorScrollValue(e),d=!0}},eventNameDispatchConfigs:r.eventNameDispatchConfigs,registrationNameModules:r.registrationNameModules,putListener:r.putListener,getListener:r.getListener,deleteListener:r.deleteListener,deleteAllListeners:r.deleteAllListeners});a.measureMethods(v,"ReactBrowserEventEmitter",{putListener:"putListener",deleteListener:"deleteListener"}),t.exports=v},{114:114,133:133,15:15,16:16,17:17,24:24,62:62,78:78}],29:[function(e,t,n){"use strict";var i=e(26),r=e(24),o=e(94),s=e(30);function a(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to ReactCSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}}}var l=i.createClass({displayName:"ReactCSSTransitionGroup",propTypes:{transitionName:s.propTypes.name,transitionAppear:i.PropTypes.bool,transitionEnter:i.PropTypes.bool,transitionLeave:i.PropTypes.bool,transitionAppearTimeout:a("Appear"),transitionEnterTimeout:a("Enter"),transitionLeaveTimeout:a("Leave")},getDefaultProps:function(){return{transitionAppear:!1,transitionEnter:!0,transitionLeave:!0}},_wrapChild:function(e){return i.createElement(s,{name:this.props.transitionName,appear:this.props.transitionAppear,enter:this.props.transitionEnter,leave:this.props.transitionLeave,appearTimeout:this.props.transitionAppearTimeout,enterTimeout:this.props.transitionEnterTimeout,leaveTimeout:this.props.transitionLeaveTimeout},e)},render:function(){return i.createElement(o,r({},this.props,{childFactory:this._wrapChild}))}});t.exports=l},{24:24,26:26,30:30,94:94}],30:[function(e,t,n){"use strict";var i=e(26),r=e(40),o=e(145),s=e(93),a=e(135),l=17,c=i.createClass({displayName:"ReactCSSTransitionGroupChild",propTypes:{name:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.shape({enter:i.PropTypes.string,leave:i.PropTypes.string,active:i.PropTypes.string}),i.PropTypes.shape({enter:i.PropTypes.string,enterActive:i.PropTypes.string,leave:i.PropTypes.string,leaveActive:i.PropTypes.string,appear:i.PropTypes.string,appearActive:i.PropTypes.string})]).isRequired,appear:i.PropTypes.bool,enter:i.PropTypes.bool,leave:i.PropTypes.bool,appearTimeout:i.PropTypes.number,enterTimeout:i.PropTypes.number,leaveTimeout:i.PropTypes.number},transition:function(e,t,n){var i=r.findDOMNode(this);if(i){var a=this.props.name[e]||this.props.name+"-"+e,l=this.props.name[e+"Active"]||a+"-active",c=null,u=function(e){e&&e.target!==i||(clearTimeout(c),o.removeClass(i,a),o.removeClass(i,l),s.removeEndEventListener(i,u),t&&t())};o.addClass(i,a),this.queueClass(l),n?(c=setTimeout(u,n),this.transitionTimeouts.push(c)):s.addEndEventListener(i,u)}else t&&t()},queueClass:function(e){this.classNameQueue.push(e),this.timeout||(this.timeout=setTimeout(this.flushClassNameQueue,l))},flushClassNameQueue:function(){this.isMounted()&&this.classNameQueue.forEach(o.addClass.bind(o,r.findDOMNode(this))),this.classNameQueue.length=0,this.timeout=null},componentWillMount:function(){this.classNameQueue=[],this.transitionTimeouts=[]},componentWillUnmount:function(){this.timeout&&clearTimeout(this.timeout),this.transitionTimeouts.forEach((function(e){clearTimeout(e)}))},componentWillAppear:function(e){this.props.appear?this.transition("appear",e,this.props.appearTimeout):e()},componentWillEnter:function(e){this.props.enter?this.transition("enter",e,this.props.enterTimeout):e()},componentWillLeave:function(e){this.props.leave?this.transition("leave",e,this.props.leaveTimeout):e()},render:function(){return a(this.props.children)}});t.exports=c},{135:135,145:145,26:26,40:40,93:93}],31:[function(e,t,n){"use strict";var i=e(84),r=e(132),o=e(141),s=e(142),a=e(173);function l(e,t,n){var i=void 0===e[n];a(i,"flattenChildren(...): Encountered two children with the same key, `%s`. Child keys must be unique; when two children share a key, only the first child will be used.",n),null!=t&&i&&(e[n]=r(t,null))}var c={instantiateChildren:function(e,t,n){if(null==e)return null;var i={};return s(e,l,i),i},updateChildren:function(e,t,n,s){if(!t&&!e)return null;var a;for(a in t)if(t.hasOwnProperty(a)){var l=e&&e[a],c=l&&l._currentElement,u=t[a];if(null!=l&&o(c,u))i.receiveComponent(l,u,n,s),t[a]=l;else{l&&i.unmountComponent(l,a);var h=r(u,null);t[a]=h}}for(a in e)!e.hasOwnProperty(a)||t&&t.hasOwnProperty(a)||i.unmountComponent(e[a]);return t},unmountChildren:function(e){for(var t in e)if(e.hasOwnProperty(t)){var n=e[t];i.unmountComponent(n)}}};t.exports=c},{132:132,141:141,142:142,173:173,84:84}],32:[function(e,t,n){"use strict";var i=e(25),r=e(57),o=e(153),s=e(142),a=i.twoArgumentPooler,l=i.fourArgumentPooler,c=/\/(?!\/)/g;function u(e){return(""+e).replace(c,"//")}function h(e,t){this.func=e,this.context=t,this.count=0}function d(e,t,n){var i=e.func,r=e.context;i.call(r,t,e.count++)}function p(e,t,n){if(null==e)return e;var i=h.getPooled(t,n);s(e,d,i),h.release(i)}function f(e,t,n,i){this.result=e,this.keyPrefix=t,this.func=n,this.context=i,this.count=0}function g(e,t,n){var i=e.result,s=e.keyPrefix,a=e.func,l=e.context,c=a.call(l,t,e.count++);Array.isArray(c)?m(c,i,n,o.thatReturnsArgument):null!=c&&(r.isValidElement(c)&&(c=r.cloneAndReplaceKey(c,s+(c!==t?u(c.key||"")+"/":"")+n)),i.push(c))}function m(e,t,n,i,r){var o="";null!=n&&(o=u(n)+"/");var a=f.getPooled(t,o,i,r);s(e,g,a),f.release(a)}function v(e,t,n){if(null==e)return e;var i=[];return m(e,i,null,t,n),i}function y(e,t,n){return null}function S(e,t){return s(e,y,null)}function b(e){var t=[];return m(e,t,null,o.thatReturnsArgument),t}h.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},i.addPoolingTo(h,a),f.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},i.addPoolingTo(f,l);var w={forEach:p,map:v,mapIntoWithKeyPrefixInternal:m,count:S,toArray:b};t.exports=w},{142:142,153:153,25:25,57:57}],33:[function(e,t,n){"use strict";var i=e(34),r=e(57),o=e(81),s=e(80),a=e(76),l=e(24),c=e(154),u=e(161),h=e(165),d=e(166),p=e(173),f=d({mixins:null}),g=h({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),m=[],v=!1;function y(){v||(v=!0,p(!1,"setProps(...) and replaceProps(...) are deprecated. Instead, call render again at the top level."))}var S={mixins:g.DEFINE_MANY,statics:g.DEFINE_MANY,propTypes:g.DEFINE_MANY,contextTypes:g.DEFINE_MANY,childContextTypes:g.DEFINE_MANY,getDefaultProps:g.DEFINE_MANY_MERGED,getInitialState:g.DEFINE_MANY_MERGED,getChildContext:g.DEFINE_MANY_MERGED,render:g.DEFINE_ONCE,componentWillMount:g.DEFINE_MANY,componentDidMount:g.DEFINE_MANY,componentWillReceiveProps:g.DEFINE_MANY,shouldComponentUpdate:g.DEFINE_ONCE,componentWillUpdate:g.DEFINE_MANY,componentDidUpdate:g.DEFINE_MANY,componentWillUnmount:g.DEFINE_MANY,updateComponent:g.OVERRIDE_BASE},b={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)C(e,t[n])},childContextTypes:function(e,t){w(e,t,o.childContext),e.childContextTypes=l({},e.childContextTypes,t)},contextTypes:function(e,t){w(e,t,o.context),e.contextTypes=l({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=T(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){w(e,t,o.prop),e.propTypes=l({},e.propTypes,t)},statics:function(e,t){E(e,t)},autobind:function(){}};function w(e,t,n){for(var i in t)t.hasOwnProperty(i)&&p("function"==typeof t[i],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e.displayName||"ReactClass",s[n],i)}function x(e,t){var n=S.hasOwnProperty(t)?S[t]:null;k.hasOwnProperty(t)&&n!==g.OVERRIDE_BASE&&u(!1,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e.hasOwnProperty(t)&&n!==g.DEFINE_MANY&&n!==g.DEFINE_MANY_MERGED&&u(!1,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function C(e,t){if(t){"function"==typeof t&&u(!1,"ReactClass: You're attempting to use a component class as a mixin. Instead, just use a regular object."),r.isValidElement(t)&&u(!1,"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var n=e.prototype;for(var i in t.hasOwnProperty(f)&&b.mixins(e,t.mixins),t)if(t.hasOwnProperty(i)&&i!==f){var o=t[i];if(x(n,i),b.hasOwnProperty(i))b[i](e,o);else{var s=S.hasOwnProperty(i),a=n.hasOwnProperty(i);if("function"!=typeof o||s||a||!1===t.autobind)if(a){var l=S[i];(!s||l!==g.DEFINE_MANY_MERGED&&l!==g.DEFINE_MANY)&&u(!1,"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",l,i),l===g.DEFINE_MANY_MERGED?n[i]=T(n[i],o):l===g.DEFINE_MANY&&(n[i]=D(n[i],o))}else n[i]=o,"function"==typeof o&&t.displayName&&(n[i].displayName=t.displayName+"_"+i);else n.__reactAutoBindMap||(n.__reactAutoBindMap={}),n.__reactAutoBindMap[i]=o,n[i]=o}}}}function E(e,t){if(t)for(var n in t){var i=t[n];t.hasOwnProperty(n)&&(n in b&&u(!1,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in e&&u(!1,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),e[n]=i)}}function P(e,t){for(var n in e&&t&&"object"==typeof e&&"object"==typeof t||u(!1,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(void 0!==e[n]&&u(!1,"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function T(e,t){return function(){var n=e.apply(this,arguments),i=t.apply(this,arguments);if(null==n)return i;if(null==i)return n;var r={};return P(r,n),P(r,i),r}}function D(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function A(e,t){var n=t.bind(e);n.__reactBoundContext=e,n.__reactBoundMethod=t,n.__reactBoundArguments=null;var i=e.constructor.displayName,r=n.bind;return n.bind=function(o){for(var s=arguments.length,a=Array(s>1?s-1:0),l=1;l<s;l++)a[l-1]=arguments[l];if(o!==e&&null!==o)p(!1,"bind(): React component methods may only be bound to the component instance. See %s",i);else if(!a.length)return p(!1,"bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See %s",i),n;var c=r.apply(n,arguments);return c.__reactBoundContext=e,c.__reactBoundMethod=t,c.__reactBoundArguments=a,c},n}function I(e){for(var t in e.__reactAutoBindMap)if(e.__reactAutoBindMap.hasOwnProperty(t)){var n=e.__reactAutoBindMap[t];e[t]=A(e,n)}}var k={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e),t&&this.updater.enqueueCallback(this,t)},isMounted:function(){return this.updater.isMounted(this)},setProps:function(e,t){y(),this.updater.enqueueSetProps(this,e),t&&this.updater.enqueueCallback(this,t)},replaceProps:function(e,t){y(),this.updater.enqueueReplaceProps(this,e),t&&this.updater.enqueueCallback(this,t)}},R=function(){};l(R.prototype,i.prototype,k);var _={createClass:function(e){var t=function(e,n,i){p(this instanceof t,"Something is calling a React component directly. Use a factory or JSX instead. See: https://fb.me/react-legacyfactory"),this.__reactAutoBindMap&&I(this),this.props=e,this.context=n,this.refs=c,this.updater=i||a,this.state=null;var r=this.getInitialState?this.getInitialState():null;void 0===r&&this.getInitialState._isMockFunction&&(r=null),("object"!=typeof r||Array.isArray(r))&&u(!1,"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=r};for(var n in t.prototype=new R,t.prototype.constructor=t,m.forEach(C.bind(null,t)),C(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),t.getDefaultProps&&(t.getDefaultProps.isReactClassApproved={}),t.prototype.getInitialState&&(t.prototype.getInitialState.isReactClassApproved={}),t.prototype.render||u(!1,"createClass(...): Class specification must implement a `render` method."),p(!t.prototype.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",e.displayName||"A component"),p(!t.prototype.componentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",e.displayName||"A component"),S)t.prototype[n]||(t.prototype[n]=null);return t},injection:{injectMixin:function(e){m.push(e)}}};t.exports=_},{154:154,161:161,165:165,166:166,173:173,24:24,34:34,57:57,76:76,80:80,81:81}],34:[function(e,t,n){"use strict";var i=e(76),r=e(117),o=e(154),s=e(161),a=e(173);function l(e,t,n){this.props=e,this.context=t,this.refs=o,this.updater=n||i}l.prototype.isReactComponent={},l.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&s(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."),a(null!=e,"setState(...): You passed an undefined or null state object; instead, use forceUpdate()."),this.updater.enqueueSetState(this,e),t&&this.updater.enqueueCallback(this,t)},l.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e)};var c={getDOMNode:["getDOMNode","Use ReactDOM.findDOMNode(component) instead."],isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceProps:["replaceProps","Instead, call render again at the top level."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."],setProps:["setProps","Instead, call render again at the top level."]},u=function(e,t){r&&Object.defineProperty(l.prototype,e,{get:function(){a(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var h in c)c.hasOwnProperty(h)&&u(h,c[h]);t.exports=l},{117:117,154:154,161:161,173:173,76:76}],35:[function(e,t,n){"use strict";var i=e(45),r=e(72),o={processChildrenUpdates:i.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkupByID:i.dangerouslyReplaceNodeWithMarkupByID,unmountIDFromEnvironment:function(e){r.purgeID(e)}};t.exports=o},{45:45,72:72}],36:[function(e,t,n){"use strict";var i=e(161),r=!1,o={unmountIDFromEnvironment:null,replaceNodeWithMarkupByID:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){r&&i(!1,"ReactCompositeComponent: injectEnvironment() can only be called once."),o.unmountIDFromEnvironment=e.unmountIDFromEnvironment,o.replaceNodeWithMarkupByID=e.replaceNodeWithMarkupByID,o.processChildrenUpdates=e.processChildrenUpdates,r=!0}}};t.exports=o},{161:161}],37:[function(e,t,n){"use strict";var i=e(140),r={shouldComponentUpdate:function(e,t){return i(this,e,t)}};t.exports=r},{140:140}],38:[function(e,t,n){"use strict";var i=e(36),r=e(39),o=e(57),s=e(68),a=e(78),l=e(81),c=e(80),u=e(84),h=e(95),d=e(24),p=e(154),f=e(161),g=e(141),m=e(173);function v(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" Check the render method of `"+n+"`."}return""}function y(e){}y.prototype.render=function(){return(0,s.get(this)._currentElement.type)(this.props,this.context,this.updater)};var S=1,b={construct:function(e){this._currentElement=e,this._rootNodeID=null,this._instance=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null},mountComponent:function(e,t,n){this._context=n,this._mountOrder=S++,this._rootNodeID=e;var i,a,l=this._processProps(this._currentElement.props),c=this._processContext(n),d=this._currentElement.type,g="prototype"in d;if(g){r.current=this;try{i=new d(l,c,h)}finally{r.current=null}}g&&null!==i&&!1!==i&&!o.isValidElement(i)||(a=i,i=new y(d)),null==i.render?m(!1,"%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`, returned null/false from a stateless component, or tried to render an element whose type is a function that isn't a React component.",d.displayName||d.name||"Component"):m(d.prototype&&d.prototype.isReactComponent||!g||!(i instanceof d),"%s(...): React component classes must extend React.Component.",d.displayName||d.name||"Component"),i.props=l,i.context=c,i.refs=p,i.updater=h,this._instance=i,s.set(i,this),m(!i.getInitialState||i.getInitialState.isReactClassApproved,"getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",this.getName()||"a component"),m(!i.getDefaultProps||i.getDefaultProps.isReactClassApproved,"getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",this.getName()||"a component"),m(!i.propTypes,"propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",this.getName()||"a component"),m(!i.contextTypes,"contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",this.getName()||"a component"),m("function"!=typeof i.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",this.getName()||"A component"),m("function"!=typeof i.componentDidUnmount,"%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",this.getName()||"A component"),m("function"!=typeof i.componentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",this.getName()||"A component");var v=i.state;void 0===v&&(i.state=v=null),("object"!=typeof v||Array.isArray(v))&&f(!1,"%s.state: must be set to an object or null",this.getName()||"ReactCompositeComponent"),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,i.componentWillMount&&(i.componentWillMount(),this._pendingStateQueue&&(i.state=this._processPendingState(i.props,i.context))),void 0===a&&(a=this._renderValidatedComponent()),this._renderedComponent=this._instantiateReactComponent(a);var b=u.mountComponent(this._renderedComponent,e,t,this._processChildContext(n));return i.componentDidMount&&t.getReactMountReady().enqueue(i.componentDidMount,i),b},unmountComponent:function(){var e=this._instance;e.componentWillUnmount&&e.componentWillUnmount(),u.unmountComponent(this._renderedComponent),this._renderedComponent=null,this._instance=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=null,this._topLevelWrapper=null,s.remove(e)},_maskContext:function(e){var t=null,n=this._currentElement.type.contextTypes;if(!n)return p;for(var i in t={},n)t[i]=e[i];return t},_processContext:function(e){var t=this._maskContext(e),n=this._currentElement.type;return n.contextTypes&&this._checkPropTypes(n.contextTypes,t,l.context),t},_processChildContext:function(e){var t=this._currentElement.type,n=this._instance,i=n.getChildContext&&n.getChildContext();if(i){for(var r in"object"!=typeof t.childContextTypes&&f(!1,"%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",this.getName()||"ReactCompositeComponent"),this._checkPropTypes(t.childContextTypes,i,l.childContext),i)r in t.childContextTypes||f(!1,'%s.getChildContext(): key "%s" is not defined in childContextTypes.',this.getName()||"ReactCompositeComponent",r);return d({},e,i)}return e},_processProps:function(e){var t=this._currentElement.type;return t.propTypes&&this._checkPropTypes(t.propTypes,e,l.prop),e},_checkPropTypes:function(e,t,n){var i=this.getName();for(var r in e)if(e.hasOwnProperty(r)){var o;try{"function"!=typeof e[r]&&f(!1,"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",i||"React class",c[n],r),o=e[r](t,r,i,n)}catch(e){o=e}if(o instanceof Error){var s=v(this);n===l.prop?m(!1,"Failed Composite propType: %s%s",o.message,s):m(!1,"Failed Context Types: %s%s",o.message,s)}}},receiveComponent:function(e,t,n){var i=this._currentElement,r=this._context;this._pendingElement=null,this.updateComponent(t,i,e,r,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement&&u.receiveComponent(this,this._pendingElement||this._currentElement,e,this._context),(null!==this._pendingStateQueue||this._pendingForceUpdate)&&this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context)},updateComponent:function(e,t,n,i,r){var o,s=this._instance,a=this._context===r?s.context:this._processContext(r);t===n?o=n.props:(o=this._processProps(n.props),s.componentWillReceiveProps&&s.componentWillReceiveProps(o,a));var l=this._processPendingState(o,a),c=this._pendingForceUpdate||!s.shouldComponentUpdate||s.shouldComponentUpdate(o,l,a);m(void 0!==c,"%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",this.getName()||"ReactCompositeComponent"),c?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,o,l,a,e,r)):(this._currentElement=n,this._context=r,s.props=o,s.state=l,s.context=a)},_processPendingState:function(e,t){var n=this._instance,i=this._pendingStateQueue,r=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!i)return n.state;if(r&&1===i.length)return i[0];for(var o=d({},r?i[0]:n.state),s=r?1:0;s<i.length;s++){var a=i[s];d(o,"function"==typeof a?a.call(n,o,e,t):a)}return o},_performComponentUpdate:function(e,t,n,i,r,o){var s,a,l,c=this._instance,u=Boolean(c.componentDidUpdate);u&&(s=c.props,a=c.state,l=c.context),c.componentWillUpdate&&c.componentWillUpdate(t,n,i),this._currentElement=e,this._context=o,c.props=t,c.state=n,c.context=i,this._updateRenderedComponent(r,o),u&&r.getReactMountReady().enqueue(c.componentDidUpdate.bind(c,s,a,l),c)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,i=n._currentElement,r=this._renderValidatedComponent();if(g(i,r))u.receiveComponent(n,r,e,this._processChildContext(t));else{var o=this._rootNodeID,s=n._rootNodeID;u.unmountComponent(n),this._renderedComponent=this._instantiateReactComponent(r);var a=u.mountComponent(this._renderedComponent,o,e,this._processChildContext(t));this._replaceNodeWithMarkupByID(s,a)}},_replaceNodeWithMarkupByID:function(e,t){i.replaceNodeWithMarkupByID(e,t)},_renderValidatedComponentWithoutOwnerOrContext:function(){var e=this._instance,t=e.render();return void 0===t&&e.render._isMockFunction&&(t=null),t},_renderValidatedComponent:function(){var e;r.current=this;try{e=this._renderValidatedComponentWithoutOwnerOrContext()}finally{r.current=null}return null===e||!1===e||o.isValidElement(e)||f(!1,"%s.render(): A valid ReactComponent must be returned. You may have returned undefined, an array or some other invalid object.",this.getName()||"ReactCompositeComponent"),e},attachRef:function(e,t){var n=this.getPublicInstance();null==n&&f(!1,"Stateless function components cannot have refs.");var i=t.getPublicInstance(),r=t&&t.getName?t.getName():"a component";m(null!=i,'Stateless function components cannot be given refs (See ref "%s" in %s created by %s). Attempts to access this ref will fail.',e,r,this.getName()),(n.refs===p?n.refs={}:n.refs)[e]=i},detachRef:function(e){delete this.getPublicInstance().refs[e]},getName:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null},getPublicInstance:function(){var e=this._instance;return e instanceof y?null:e},_instantiateReactComponent:null};a.measureMethods(b,"ReactCompositeComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent",_renderValidatedComponent:"_renderValidatedComponent"});var w={Mixin:b};t.exports=w},{141:141,154:154,161:161,173:173,24:24,36:36,39:39,57:57,68:68,78:78,80:80,81:81,84:84,95:95}],39:[function(e,t,n){"use strict";var i={current:null};t.exports=i},{}],40:[function(e,t,n){"use strict";var i=e(39),r=e(51),o=e(54),s=e(67),a=e(72),l=e(78),c=e(84),u=e(96),h=e(97),d=e(122),p=e(137),f=e(173);o.inject();var g={findDOMNode:d,render:l.measure("React","render",a.render),unmountComponentAtNode:a.unmountComponentAtNode,version:h,unstable_batchedUpdates:u.batchedUpdates,unstable_renderSubtreeIntoContainer:p};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({CurrentOwner:i,InstanceHandles:s,Mount:a,Reconciler:c,TextComponent:r}),e(147).canUseDOM&&window.top===window.self){"undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)&&console.debug("Download the React DevTools for a better development experience: https://fb.me/react-devtools"),f(!(document.documentMode&&document.documentMode<8),'Internet Explorer is running in compatibility mode; please add the following tag to your HTML to prevent this from happening: <meta http-equiv="X-UA-Compatible" content="IE=edge" />');for(var m=[Array.isArray,Array.prototype.every,Array.prototype.forEach,Array.prototype.indexOf,Array.prototype.map,Date.now,Function.prototype.bind,Object.keys,String.prototype.split,String.prototype.trim,Object.create,Object.freeze],v=0;v<m.length;v++)if(!m[v]){console.error("One or more ES5 shim/shams expected by React are not available: https://fb.me/react-warning-polyfills");break}}t.exports=g},{122:122,137:137,147:147,173:173,39:39,51:51,54:54,67:67,72:72,78:78,84:84,96:96,97:97}],41:[function(e,t,n){"use strict";var i={onClick:!0,onDoubleClick:!0,onMouseDown:!0,onMouseMove:!0,onMouseUp:!0,onClickCapture:!0,onDoubleClickCapture:!0,onMouseDownCapture:!0,onMouseMoveCapture:!0,onMouseUpCapture:!0},r={getNativeProps:function(e,t,n){if(!t.disabled)return t;var r={};for(var o in t)t.hasOwnProperty(o)&&!i[o]&&(r[o]=t[o]);return r}};t.exports=r},{}],42:[function(e,t,n){"use strict";var i,r=e(2),o=e(5),s=e(10),a=e(11),l=e(15),c=e(28),u=e(35),h=e(41),d=e(46),p=e(47),f=e(48),g=e(52),m=e(72),v=e(73),y=e(78),S=e(95),b=e(24),w=e(117),x=e(121),C=e(161),E=e(133),P=e(166),T=e(138),D=e(139),A=e(171),I=e(144),k=e(173),R=c.deleteListener,_=c.listenTo,M=c.registrationNameModules,O={string:!0,number:!0},L=P({children:null}),V=P({style:null}),N=P({__html:null}),j=1;function B(e){if(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function F(){var e=this._reactInternalComponent;return k(!1,"ReactDOMComponent: Do not access .getDOMNode() of a DOM node; instead, use the node directly.%s",B(e)),this}function U(){var e=this._reactInternalComponent;return k(!1,"ReactDOMComponent: Do not access .isMounted() of a DOM node.%s",B(e)),!!e}function H(){var e=this._reactInternalComponent;k(!1,"ReactDOMComponent: Do not access .setState(), .replaceState(), or .forceUpdate() of a DOM node. This is a no-op.%s",B(e))}function G(e,t){var n=this._reactInternalComponent;k(!1,"ReactDOMComponent: Do not access .setProps() of a DOM node. Instead, call ReactDOM.render again at the top level.%s",B(n)),n&&(S.enqueueSetPropsInternal(n,e),t&&S.enqueueCallbackInternal(n,t))}function W(e,t){var n=this._reactInternalComponent;k(!1,"ReactDOMComponent: Do not access .replaceProps() of a DOM node. Instead, call ReactDOM.render again at the top level.%s",B(n)),n&&(S.enqueueReplacePropsInternal(n,e),t&&S.enqueueCallbackInternal(n,t))}function z(e){if("object"==typeof e){if(Array.isArray(e))return"["+e.map(z).join(", ")+"]";var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var i=/^[a-z$_][\w$_]*$/i.test(n)?n:JSON.stringify(n);t.push(i+": "+z(e[n]))}return"{"+t.join(", ")+"}"}return"string"==typeof e?JSON.stringify(e):"function"==typeof e?"[function object]":String(e)}i={props:{enumerable:!1,get:function(){var e=this._reactInternalComponent;return k(!1,"ReactDOMComponent: Do not access .props of a DOM node; instead, recreate the props as `render` did originally or read the DOM properties/attributes directly from this node (e.g., this.refs.box.className).%s",B(e)),e._currentElement.props}}};var Y={};function q(e,t,n){if(null!=e&&null!=t&&!A(e,t)){var i,r=n._tag,o=n._currentElement._owner;o&&(i=o.getName());var s=i+"|"+r;Y.hasOwnProperty(s)||(Y[s]=!0,k(!1,"`%s` was passed a style object that has previously been mutated. Mutating `style` is deprecated. Consider cloning it beforehand. Check the `render` %s. Previous style: %s. Mutated style: %s.",r,o?"of `"+i+"`":"using <"+r+">",z(e),z(t)))}}function K(e,t){t&&(ie[e._tag]&&k(null==t.children&&null==t.dangerouslySetInnerHTML,"%s is a void element tag and must not have `children` or use `props.dangerouslySetInnerHTML`.%s",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&C(!1,"Can only set one of `children` or `props.dangerouslySetInnerHTML`."),"object"==typeof t.dangerouslySetInnerHTML&&N in t.dangerouslySetInnerHTML||C(!1,"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.")),k(null==t.innerHTML,"Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),k(!t.contentEditable||null==t.children,"A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),null!=t.style&&"object"!=typeof t.style&&C(!1,"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.%s",B(e)))}function X(e,t,n,i){k("onScroll"!==t||E("scroll",!0),"This browser doesn't support the `onScroll` event");var r=m.findReactContainerForID(e);if(r){var o=r.nodeType===j?r.ownerDocument:r;_(t,o)}i.getReactMountReady().enqueue(Z,{id:e,registrationName:t,listener:n})}function Z(){var e=this;c.putListener(e.id,e.registrationName,e.listener)}var Q={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"};function $(){var e=this;e._rootNodeID||C(!1,"Must be mounted to trap events");var t=m.getNode(e._rootNodeID);switch(t||C(!1,"trapBubbledEvent(...): Requires node to be rendered."),e._tag){case"iframe":e._wrapperState.listeners=[c.trapBubbledEvent(l.topLevelTypes.topLoad,"load",t)];break;case"video":case"audio":for(var n in e._wrapperState.listeners=[],Q)Q.hasOwnProperty(n)&&e._wrapperState.listeners.push(c.trapBubbledEvent(l.topLevelTypes[n],Q[n],t));break;case"img":e._wrapperState.listeners=[c.trapBubbledEvent(l.topLevelTypes.topError,"error",t),c.trapBubbledEvent(l.topLevelTypes.topLoad,"load",t)];break;case"form":e._wrapperState.listeners=[c.trapBubbledEvent(l.topLevelTypes.topReset,"reset",t),c.trapBubbledEvent(l.topLevelTypes.topSubmit,"submit",t)]}}function J(){d.mountReadyWrapper(this)}function ee(){f.postUpdateWrapper(this)}var te={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},ne={listing:!0,pre:!0,textarea:!0},ie=b({menuitem:!0},te),re=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,oe={},se={}.hasOwnProperty;function ae(e){se.call(oe,e)||(re.test(e)||C(!1,"Invalid tag: %s",e),oe[e]=!0)}function le(e,t){var n=(e=b({},e))[I.ancestorInfoContextKey];return e[I.ancestorInfoContextKey]=I.updatedAncestorInfo(n,t._tag,t),e}function ce(e,t){return e.indexOf("-")>=0||null!=t.is}function ue(e){ae(e),this._tag=e.toLowerCase(),this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._rootNodeID=null,this._wrapperState=null,this._topLevelWrapper=null,this._nodeWithLegacyProperties=null,this._unprocessedContextDev=null,this._processedContextDev=null}ue.displayName="ReactDOMComponent",ue.Mixin={construct:function(e){this._currentElement=e},mountComponent:function(e,t,n){this._rootNodeID=e;var i,o=this._currentElement.props;switch(this._tag){case"iframe":case"img":case"form":case"video":case"audio":this._wrapperState={listeners:null},t.getReactMountReady().enqueue($,this);break;case"button":o=h.getNativeProps(this,o,n);break;case"input":d.mountWrapper(this,o,n),o=d.getNativeProps(this,o,n);break;case"option":p.mountWrapper(this,o,n),o=p.getNativeProps(this,o,n);break;case"select":f.mountWrapper(this,o,n),o=f.getNativeProps(this,o,n),n=f.processChildContext(this,o,n);break;case"textarea":g.mountWrapper(this,o,n),o=g.getNativeProps(this,o,n)}if(K(this,o),n[I.ancestorInfoContextKey]&&I(this._tag,this,n[I.ancestorInfoContextKey]),this._unprocessedContextDev=n,this._processedContextDev=le(n,this),n=this._processedContextDev,t.useCreateElement){var s=n[m.ownerDocumentContextKey].createElement(this._currentElement.type);a.setAttributeForID(s,this._rootNodeID),m.getID(s),this._updateDOMProperties({},o,t,s),this._createInitialChildren(t,o,n,s),i=s}else{var l=this._createOpenTagMarkupAndPutListeners(t,o),c=this._createContentMarkup(t,o,n);i=!c&&te[this._tag]?l+"/>":l+">"+c+"</"+this._currentElement.type+">"}switch(this._tag){case"input":t.getReactMountReady().enqueue(J,this);case"button":case"select":case"textarea":o.autoFocus&&t.getReactMountReady().enqueue(r.focusDOMComponent,this)}return i},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var i in t)if(t.hasOwnProperty(i)){var r=t[i];if(null!=r)if(M.hasOwnProperty(i))r&&X(this._rootNodeID,i,r,e);else{i===V&&(r&&(this._previousStyle=r,r=this._previousStyleCopy=b({},t.style)),r=o.createMarkupForStyles(r));var s=null;null!=this._tag&&ce(this._tag,t)?i!==L&&(s=a.createMarkupForCustomAttribute(i,r)):s=a.createMarkupForProperty(i,r),s&&(n+=" "+s)}}return e.renderToStaticMarkup?n:n+" "+a.createMarkupForID(this._rootNodeID)},_createContentMarkup:function(e,t,n){var i="",r=t.dangerouslySetInnerHTML;if(null!=r)null!=r.__html&&(i=r.__html);else{var o=O[typeof t.children]?t.children:null,s=null!=o?null:t.children;null!=o?i=x(o):null!=s&&(i=this.mountChildren(s,e,n).join(""))}return ne[this._tag]&&"\n"===i.charAt(0)?"\n"+i:i},_createInitialChildren:function(e,t,n,i){var r=t.dangerouslySetInnerHTML;if(null!=r)null!=r.__html&&T(i,r.__html);else{var o=O[typeof t.children]?t.children:null,s=null!=o?null:t.children;if(null!=o)D(i,o);else if(null!=s)for(var a=this.mountChildren(s,e,n),l=0;l<a.length;l++)i.appendChild(a[l])}},receiveComponent:function(e,t,n){var i=this._currentElement;this._currentElement=e,this.updateComponent(t,i,e,n)},updateComponent:function(e,t,n,i){var r=t.props,o=this._currentElement.props;switch(this._tag){case"button":r=h.getNativeProps(this,r),o=h.getNativeProps(this,o);break;case"input":d.updateWrapper(this),r=d.getNativeProps(this,r),o=d.getNativeProps(this,o);break;case"option":r=p.getNativeProps(this,r),o=p.getNativeProps(this,o);break;case"select":r=f.getNativeProps(this,r),o=f.getNativeProps(this,o);break;case"textarea":g.updateWrapper(this),r=g.getNativeProps(this,r),o=g.getNativeProps(this,o)}this._unprocessedContextDev!==i&&(this._unprocessedContextDev=i,this._processedContextDev=le(i,this)),i=this._processedContextDev,K(this,o),this._updateDOMProperties(r,o,e,null),this._updateDOMChildren(r,o,e,i),!w&&this._nodeWithLegacyProperties&&(this._nodeWithLegacyProperties.props=o),"select"===this._tag&&e.getReactMountReady().enqueue(ee,this)},_updateDOMProperties:function(e,t,n,i){var r,l,c;for(r in e)if(!t.hasOwnProperty(r)&&e.hasOwnProperty(r))if(r===V){var u=this._previousStyleCopy;for(l in u)u.hasOwnProperty(l)&&((c=c||{})[l]="");this._previousStyleCopy=null}else M.hasOwnProperty(r)?e[r]&&R(this._rootNodeID,r):(s.properties[r]||s.isCustomAttribute(r))&&(i||(i=m.getNode(this._rootNodeID)),a.deleteValueForProperty(i,r));for(r in t){var h=t[r],d=r===V?this._previousStyleCopy:e[r];if(t.hasOwnProperty(r)&&h!==d)if(r===V)if(h?(q(this._previousStyleCopy,this._previousStyle,this),this._previousStyle=h,h=this._previousStyleCopy=b({},h)):this._previousStyleCopy=null,d){for(l in d)!d.hasOwnProperty(l)||h&&h.hasOwnProperty(l)||((c=c||{})[l]="");for(l in h)h.hasOwnProperty(l)&&d[l]!==h[l]&&((c=c||{})[l]=h[l])}else c=h;else M.hasOwnProperty(r)?h?X(this._rootNodeID,r,h,n):d&&R(this._rootNodeID,r):ce(this._tag,t)?(i||(i=m.getNode(this._rootNodeID)),r===L&&(h=null),a.setValueForAttribute(i,r,h)):(s.properties[r]||s.isCustomAttribute(r))&&(i||(i=m.getNode(this._rootNodeID)),null!=h?a.setValueForProperty(i,r,h):a.deleteValueForProperty(i,r))}c&&(i||(i=m.getNode(this._rootNodeID)),o.setValueForStyles(i,c))},_updateDOMChildren:function(e,t,n,i){var r=O[typeof e.children]?e.children:null,o=O[typeof t.children]?t.children:null,s=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,a=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,l=null!=r?null:e.children,c=null!=o?null:t.children,u=null!=r||null!=s,h=null!=o||null!=a;null!=l&&null==c?this.updateChildren(null,n,i):u&&!h&&this.updateTextContent(""),null!=o?r!==o&&this.updateTextContent(""+o):null!=a?s!==a&&this.updateMarkup(""+a):null!=c&&this.updateChildren(c,n,i)},unmountComponent:function(){switch(this._tag){case"iframe":case"img":case"form":case"video":case"audio":var e=this._wrapperState.listeners;if(e)for(var t=0;t<e.length;t++)e[t].remove();break;case"input":d.unmountWrapper(this);break;case"html":case"head":case"body":C(!1,"<%s> tried to unmount. Because of cross-browser quirks it is impossible to unmount some top-level components (eg <html>, <head>, and <body>) reliably and efficiently. To fix this, have a single top-level component that never unmounts render these elements.",this._tag)}this.unmountChildren(),c.deleteAllListeners(this._rootNodeID),u.unmountIDFromEnvironment(this._rootNodeID),this._rootNodeID=null,this._wrapperState=null,this._nodeWithLegacyProperties&&(this._nodeWithLegacyProperties._reactInternalComponent=null,this._nodeWithLegacyProperties=null)},getPublicInstance:function(){if(!this._nodeWithLegacyProperties){var e=m.getNode(this._rootNodeID);e._reactInternalComponent=this,e.getDOMNode=F,e.isMounted=U,e.setState=H,e.replaceState=H,e.forceUpdate=H,e.setProps=G,e.replaceProps=W,w?Object.defineProperties(e,i):e.props=this._currentElement.props,this._nodeWithLegacyProperties=e}return this._nodeWithLegacyProperties}},y.measureMethods(ue,"ReactDOMComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent"}),b(ue.prototype,ue.Mixin,v.Mixin),t.exports=ue},{10:10,11:11,117:117,121:121,133:133,138:138,139:139,144:144,15:15,161:161,166:166,171:171,173:173,2:2,24:24,28:28,35:35,41:41,46:46,47:47,48:48,5:5,52:52,72:72,73:73,78:78,95:95}],43:[function(e,t,n){"use strict";e(57);var i=e(58);function r(e){return i.createFactory(e)}var o=e(167)({a:"a",abbr:"abbr",address:"address",area:"area",article:"article",aside:"aside",audio:"audio",b:"b",base:"base",bdi:"bdi",bdo:"bdo",big:"big",blockquote:"blockquote",body:"body",br:"br",button:"button",canvas:"canvas",caption:"caption",cite:"cite",code:"code",col:"col",colgroup:"colgroup",data:"data",datalist:"datalist",dd:"dd",del:"del",details:"details",dfn:"dfn",dialog:"dialog",div:"div",dl:"dl",dt:"dt",em:"em",embed:"embed",fieldset:"fieldset",figcaption:"figcaption",figure:"figure",footer:"footer",form:"form",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",head:"head",header:"header",hgroup:"hgroup",hr:"hr",html:"html",i:"i",iframe:"iframe",img:"img",input:"input",ins:"ins",kbd:"kbd",keygen:"keygen",label:"label",legend:"legend",li:"li",link:"link",main:"main",map:"map",mark:"mark",menu:"menu",menuitem:"menuitem",meta:"meta",meter:"meter",nav:"nav",noscript:"noscript",object:"object",ol:"ol",optgroup:"optgroup",option:"option",output:"output",p:"p",param:"param",picture:"picture",pre:"pre",progress:"progress",q:"q",rp:"rp",rt:"rt",ruby:"ruby",s:"s",samp:"samp",script:"script",section:"section",select:"select",small:"small",source:"source",span:"span",strong:"strong",style:"style",sub:"sub",summary:"summary",sup:"sup",table:"table",tbody:"tbody",td:"td",textarea:"textarea",tfoot:"tfoot",th:"th",thead:"thead",time:"time",title:"title",tr:"tr",track:"track",u:"u",ul:"ul",var:"var",video:"video",wbr:"wbr",circle:"circle",clipPath:"clipPath",defs:"defs",ellipse:"ellipse",g:"g",image:"image",line:"line",linearGradient:"linearGradient",mask:"mask",path:"path",pattern:"pattern",polygon:"polygon",polyline:"polyline",radialGradient:"radialGradient",rect:"rect",stop:"stop",svg:"svg",text:"text",tspan:"tspan"},r);t.exports=o},{167:167,57:57,58:58}],44:[function(e,t,n){"use strict";var i={useCreateElement:!1};t.exports=i},{}],45:[function(e,t,n){"use strict";var i=e(9),r=e(11),o=e(72),s=e(78),a=e(161),l={dangerouslySetInnerHTML:"`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.",style:"`style` must be set using `updateStylesByID()`."},c={updatePropertyByID:function(e,t,n){var i=o.getNode(e);l.hasOwnProperty(t)&&a(!1,"updatePropertyByID(...): %s",l[t]),null!=n?r.setValueForProperty(i,t,n):r.deleteValueForProperty(i,t)},dangerouslyReplaceNodeWithMarkupByID:function(e,t){var n=o.getNode(e);i.dangerouslyReplaceNodeWithMarkup(n,t)},dangerouslyProcessChildrenUpdates:function(e,t){for(var n=0;n<e.length;n++)e[n].parentNode=o.getNode(e[n].parentID);i.processUpdates(e,t)}};s.measureMethods(c,"ReactDOMIDOperations",{dangerouslyReplaceNodeWithMarkupByID:"dangerouslyReplaceNodeWithMarkupByID",dangerouslyProcessChildrenUpdates:"dangerouslyProcessChildrenUpdates"}),t.exports=c},{11:11,161:161,72:72,78:78,9:9}],46:[function(e,t,n){"use strict";var i=e(45),r=e(23),o=e(72),s=e(96),a=e(24),l=e(161),c={};function u(){this._rootNodeID&&h.updateWrapper(this)}var h={getNativeProps:function(e,t,n){var i=r.getValue(t),o=r.getChecked(t);return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:null!=i?i:e._wrapperState.initialValue,checked:null!=o?o:e._wrapperState.initialChecked,onChange:e._wrapperState.onChange})},mountWrapper:function(e,t){r.checkPropTypes("input",t,e._currentElement._owner);var n=t.defaultValue;e._wrapperState={initialChecked:t.defaultChecked||!1,initialValue:null!=n?n:null,onChange:d.bind(e)}},mountReadyWrapper:function(e){c[e._rootNodeID]=e},unmountWrapper:function(e){delete c[e._rootNodeID]},updateWrapper:function(e){var t=e._currentElement.props,n=t.checked;null!=n&&i.updatePropertyByID(e._rootNodeID,"checked",n||!1);var o=r.getValue(t);null!=o&&i.updatePropertyByID(e._rootNodeID,"value",""+o)}};function d(e){var t=this._currentElement.props,n=r.executeOnChange(t,e);s.asap(u,this);var i=t.name;if("radio"===t.type&&null!=i){for(var a=o.getNode(this._rootNodeID),h=a;h.parentNode;)h=h.parentNode;for(var d=h.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),p=0;p<d.length;p++){var f=d[p];if(f!==a&&f.form===a.form){var g=o.getID(f);g||l(!1,"ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");var m=c[g];m||l(!1,"ReactDOMInput: Unknown radio button ID %s.",g),s.asap(u,m)}}}return n}t.exports=h},{161:161,23:23,24:24,45:45,72:72,96:96}],47:[function(e,t,n){"use strict";var i=e(32),r=e(48),o=e(24),s=e(173),a=r.valueContextKey,l={mountWrapper:function(e,t,n){s(null==t.selected,"Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>.");var i=n[a],r=null;if(null!=i)if(r=!1,Array.isArray(i)){for(var o=0;o<i.length;o++)if(""+i[o]==""+t.value){r=!0;break}}else r=""+i==""+t.value;e._wrapperState={selected:r}},getNativeProps:function(e,t,n){var r=o({selected:void 0,children:void 0},t);null!=e._wrapperState.selected&&(r.selected=e._wrapperState.selected);var a="";return i.forEach(t.children,(function(e){null!=e&&("string"==typeof e||"number"==typeof e?a+=e:s(!1,"Only strings and numbers are supported as <option> children."))})),r.children=a,r}};t.exports=l},{173:173,24:24,32:32,48:48}],48:[function(e,t,n){"use strict";var i=e(23),r=e(72),o=e(96),s=e(24),a=e(173),l="__ReactDOMSelect_value$"+Math.random().toString(36).slice(2);function c(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var e=this._currentElement.props,t=i.getValue(e);null!=t&&p(this,Boolean(e.multiple),t)}}function u(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var h=["value","defaultValue"];function d(e,t){var n=e._currentElement._owner;i.checkPropTypes("select",t,n);for(var r=0;r<h.length;r++){var o=h[r];null!=t[o]&&(t.multiple?a(Array.isArray(t[o]),"The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",o,u(n)):a(!Array.isArray(t[o]),"The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",o,u(n)))}}function p(e,t,n){var i,o,s=r.getNode(e._rootNodeID).options;if(t){for(i={},o=0;o<n.length;o++)i[""+n[o]]=!0;for(o=0;o<s.length;o++){var a=i.hasOwnProperty(s[o].value);s[o].selected!==a&&(s[o].selected=a)}}else{for(i=""+n,o=0;o<s.length;o++)if(s[o].value===i)return void(s[o].selected=!0);s.length&&(s[0].selected=!0)}}var f={valueContextKey:l,getNativeProps:function(e,t,n){return s({},t,{onChange:e._wrapperState.onChange,value:void 0})},mountWrapper:function(e,t){d(e,t);var n=i.getValue(t);e._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:t.defaultValue,onChange:g.bind(e),wasMultiple:Boolean(t.multiple)}},processChildContext:function(e,t,n){var i=s({},n);return i[l]=e._wrapperState.initialValue,i},postUpdateWrapper:function(e){var t=e._currentElement.props;e._wrapperState.initialValue=void 0;var n=e._wrapperState.wasMultiple;e._wrapperState.wasMultiple=Boolean(t.multiple);var r=i.getValue(t);null!=r?(e._wrapperState.pendingUpdate=!1,p(e,Boolean(t.multiple),r)):n!==Boolean(t.multiple)&&(null!=t.defaultValue?p(e,Boolean(t.multiple),t.defaultValue):p(e,Boolean(t.multiple),t.multiple?[]:""))}};function g(e){var t=this._currentElement.props,n=i.executeOnChange(t,e);return this._wrapperState.pendingUpdate=!0,o.asap(c,this),n}t.exports=f},{173:173,23:23,24:24,72:72,96:96}],49:[function(e,t,n){"use strict";var i=e(147),r=e(130),o=e(131);function s(e,t,n,i){return e===n&&t===i}function a(e){var t=document.selection.createRange(),n=t.text.length,i=t.duplicate();i.moveToElementText(e),i.setEndPoint("EndToStart",t);var r=i.text.length;return{start:r,end:r+n}}function l(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var n=t.anchorNode,i=t.anchorOffset,r=t.focusNode,o=t.focusOffset,a=t.getRangeAt(0);try{a.startContainer.nodeType,a.endContainer.nodeType}catch(e){return null}var l=s(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset)?0:a.toString().length,c=a.cloneRange();c.selectNodeContents(e),c.setEnd(a.startContainer,a.startOffset);var u=s(c.startContainer,c.startOffset,c.endContainer,c.endOffset)?0:c.toString().length,h=u+l,d=document.createRange();d.setStart(n,i),d.setEnd(r,o);var p=d.collapsed;return{start:p?h:u,end:p?u:h}}function c(e,t){var n,i,r=document.selection.createRange().duplicate();void 0===t.end?i=n=t.start:t.start>t.end?(n=t.end,i=t.start):(n=t.start,i=t.end),r.moveToElementText(e),r.moveStart("character",n),r.setEndPoint("EndToStart",r),r.moveEnd("character",i-n),r.select()}function u(e,t){if(window.getSelection){var n=window.getSelection(),i=e[o()].length,s=Math.min(t.start,i),a=void 0===t.end?s:Math.min(t.end,i);if(!n.extend&&s>a){var l=a;a=s,s=l}var c=r(e,s),u=r(e,a);if(c&&u){var h=document.createRange();h.setStart(c.node,c.offset),n.removeAllRanges(),s>a?(n.addRange(h),n.extend(u.node,u.offset)):(h.setEnd(u.node,u.offset),n.addRange(h))}}}var h=i.canUseDOM&&"selection"in document&&!("getSelection"in window),d={getOffsets:h?a:l,setOffsets:h?c:u};t.exports=d},{130:130,131:131,147:147}],50:[function(e,t,n){"use strict";var i=e(54),r=e(88),o=e(97);i.inject();var s={renderToString:r.renderToString,renderToStaticMarkup:r.renderToStaticMarkup,version:o};t.exports=s},{54:54,88:88,97:97}],51:[function(e,t,n){"use strict";var i=e(9),r=e(11),o=e(35),s=e(72),a=e(24),l=e(121),c=e(139),u=e(144),h=function(e){};a(h.prototype,{construct:function(e){this._currentElement=e,this._stringText=""+e,this._rootNodeID=null,this._mountIndex=0},mountComponent:function(e,t,n){if(n[u.ancestorInfoContextKey]&&u("span",null,n[u.ancestorInfoContextKey]),this._rootNodeID=e,t.useCreateElement){var i=n[s.ownerDocumentContextKey].createElement("span");return r.setAttributeForID(i,e),s.getID(i),c(i,this._stringText),i}var o=l(this._stringText);return t.renderToStaticMarkup?o:"<span "+r.createMarkupForID(e)+">"+o+"</span>"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=s.getNode(this._rootNodeID);i.updateTextContent(r,n)}}},unmountComponent:function(){o.unmountIDFromEnvironment(this._rootNodeID)}}),t.exports=h},{11:11,121:121,139:139,144:144,24:24,35:35,72:72,9:9}],52:[function(e,t,n){"use strict";var i=e(23),r=e(45),o=e(96),s=e(24),a=e(161),l=e(173);function c(){this._rootNodeID&&u.updateWrapper(this)}var u={getNativeProps:function(e,t,n){return null!=t.dangerouslySetInnerHTML&&a(!1,"`dangerouslySetInnerHTML` does not make sense on <textarea>."),s({},t,{defaultValue:void 0,value:void 0,children:e._wrapperState.initialValue,onChange:e._wrapperState.onChange})},mountWrapper:function(e,t){i.checkPropTypes("textarea",t,e._currentElement._owner);var n=t.defaultValue,r=t.children;null!=r&&(l(!1,"Use the `defaultValue` or `value` props instead of setting children on <textarea>."),null!=n&&a(!1,"If you supply `defaultValue` on a <textarea>, do not pass children."),Array.isArray(r)&&(r.length<=1||a(!1,"<textarea> can only have at most one child."),r=r[0]),n=""+r),null==n&&(n="");var o=i.getValue(t);e._wrapperState={initialValue:""+(null!=o?o:n),onChange:h.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=i.getValue(t);null!=n&&r.updatePropertyByID(e._rootNodeID,"value",""+n)}};function h(e){var t=this._currentElement.props,n=i.executeOnChange(t,e);return o.asap(c,this),n}t.exports=u},{161:161,173:173,23:23,24:24,45:45,96:96}],53:[function(e,t,n){"use strict";var i=e(96),r=e(113),o=e(24),s=e(153),a={initialize:s,close:function(){h.isBatchingUpdates=!1}},l=[{initialize:s,close:i.flushBatchedUpdates.bind(i)},a];function c(){this.reinitializeTransaction()}o(c.prototype,r.Mixin,{getTransactionWrappers:function(){return l}});var u=new c,h={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,i,r,o){var s=h.isBatchingUpdates;h.isBatchingUpdates=!0,s?e(t,n,i,r,o):u.perform(e,null,t,n,i,r,o)}};t.exports=h},{113:113,153:153,24:24,96:96}],54:[function(e,t,n){"use strict";var i=e(3),r=e(7),o=e(8),s=e(13),a=e(14),l=e(147),c=e(21),u=e(27),h=e(35),d=e(53),p=e(42),f=e(51),g=e(63),m=e(65),v=e(67),y=e(72),S=e(83),b=e(99),w=e(100),x=e(101),C=e(98),E=!1;function P(){if(!E){E=!0,m.EventEmitter.injectReactEventListener(g),m.EventPluginHub.injectEventPluginOrder(s),m.EventPluginHub.injectInstanceHandle(v),m.EventPluginHub.injectMount(y),m.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:x,EnterLeaveEventPlugin:a,ChangeEventPlugin:r,SelectEventPlugin:b,BeforeInputEventPlugin:i}),m.NativeComponent.injectGenericComponentClass(p),m.NativeComponent.injectTextComponentClass(f),m.Class.injectMixin(u),m.DOMProperty.injectDOMPropertyConfig(c),m.DOMProperty.injectDOMPropertyConfig(C),m.EmptyComponent.injectEmptyComponent("noscript"),m.Updates.injectReconcileTransaction(S),m.Updates.injectBatchingStrategy(d),m.RootIndex.injectCreateReactRootIndex(l.canUseDOM?o.createReactRootIndex:w.createReactRootIndex),m.Component.injectEnvironment(h);var t=l.canUseDOM&&window.location.href||"";/[?&]react_perf\b/.test(t)&&e(55).start()}}t.exports={inject:P}},{100:100,101:101,13:13,14:14,147:147,21:21,27:27,3:3,35:35,42:42,51:51,53:53,55:55,63:63,65:65,67:67,7:7,72:72,8:8,83:83,98:98,99:99}],55:[function(e,t,n){"use strict";var i=e(10),r=e(56),o=e(72),s=e(78),a=e(170);function l(e){return Math.floor(100*e)/100}function c(e,t,n){e[t]=(e[t]||0)+n}var u={_allMeasurements:[],_mountStack:[0],_injected:!1,start:function(){u._injected||s.injection.injectMeasure(u.measure),u._allMeasurements.length=0,s.enableMeasure=!0},stop:function(){s.enableMeasure=!1},getLastMeasurements:function(){return u._allMeasurements},printExclusive:function(e){e=e||u._allMeasurements;var t=r.getExclusiveSummary(e);console.table(t.map((function(e){return{"Component class name":e.componentName,"Total inclusive time (ms)":l(e.inclusive),"Exclusive mount time (ms)":l(e.exclusive),"Exclusive render time (ms)":l(e.render),"Mount time per instance (ms)":l(e.exclusive/e.count),"Render time per instance (ms)":l(e.render/e.count),Instances:e.count}})))},printInclusive:function(e){e=e||u._allMeasurements;var t=r.getInclusiveSummary(e);console.table(t.map((function(e){return{"Owner > component":e.componentName,"Inclusive time (ms)":l(e.time),Instances:e.count}}))),console.log("Total time:",r.getTotalTime(e).toFixed(2)+" ms")},getMeasurementsSummaryMap:function(e){return r.getInclusiveSummary(e,!0).map((function(e){return{"Owner > component":e.componentName,"Wasted time (ms)":e.time,Instances:e.count}}))},printWasted:function(e){e=e||u._allMeasurements,console.table(u.getMeasurementsSummaryMap(e)),console.log("Total time:",r.getTotalTime(e).toFixed(2)+" ms")},printDOM:function(e){e=e||u._allMeasurements;var t=r.getDOMSummary(e);console.table(t.map((function(e){var t={};return t[i.ID_ATTRIBUTE_NAME]=e.id,t.type=e.type,t.args=JSON.stringify(e.args),t}))),console.log("Total time:",r.getTotalTime(e).toFixed(2)+" ms")},_recordWrite:function(e,t,n,i){var r=u._allMeasurements[u._allMeasurements.length-1].writes;r[e]=r[e]||[],r[e].push({type:t,time:n,args:i})},measure:function(e,t,n){return function(){for(var i=arguments.length,r=Array(i),s=0;s<i;s++)r[s]=arguments[s];var l,h,d;if("_renderNewRootComponent"===t||"flushBatchedUpdates"===t)return u._allMeasurements.push({exclusive:{},inclusive:{},render:{},counts:{},writes:{},displayNames:{},totalTime:0,created:{}}),d=a(),h=n.apply(this,r),u._allMeasurements[u._allMeasurements.length-1].totalTime=a()-d,h;if("_mountImageIntoNode"===t||"ReactBrowserEventEmitter"===e||"ReactDOMIDOperations"===e||"CSSPropertyOperations"===e||"DOMChildrenOperations"===e||"DOMPropertyOperations"===e){if(d=a(),h=n.apply(this,r),l=a()-d,"_mountImageIntoNode"===t){var p=o.getID(r[1]);u._recordWrite(p,t,l,r[0])}else if("dangerouslyProcessChildrenUpdates"===t)r[0].forEach((function(e){var t={};null!==e.fromIndex&&(t.fromIndex=e.fromIndex),null!==e.toIndex&&(t.toIndex=e.toIndex),null!==e.textContent&&(t.textContent=e.textContent),null!==e.markupIndex&&(t.markup=r[1][e.markupIndex]),u._recordWrite(e.parentID,e.type,l,t)}));else{var f=r[0];"object"==typeof f&&(f=o.getID(r[0])),u._recordWrite(f,t,l,Array.prototype.slice.call(r,1))}return h}if("ReactCompositeComponent"!==e||"mountComponent"!==t&&"updateComponent"!==t&&"_renderValidatedComponent"!==t)return n.apply(this,r);if(this._currentElement.type===o.TopLevelWrapper)return n.apply(this,r);var g="mountComponent"===t?r[0]:this._rootNodeID,m="_renderValidatedComponent"===t,v="mountComponent"===t,y=u._mountStack,S=u._allMeasurements[u._allMeasurements.length-1];if(m?c(S.counts,g,1):v&&(S.created[g]=!0,y.push(0)),d=a(),h=n.apply(this,r),l=a()-d,m)c(S.render,g,l);else if(v){var b=y.pop();y[y.length-1]+=l,c(S.exclusive,g,l-b),c(S.inclusive,g,l)}else c(S.inclusive,g,l);return S.displayNames[g]={current:this.getName(),owner:this._currentElement._owner?this._currentElement._owner.getName():"<root>"},h}}};t.exports=u},{10:10,170:170,56:56,72:72,78:78}],56:[function(e,t,n){"use strict";var i=e(24),r=1.2,o={_mountImageIntoNode:"set innerHTML",INSERT_MARKUP:"set innerHTML",MOVE_EXISTING:"move",REMOVE_NODE:"remove",SET_MARKUP:"set innerHTML",TEXT_CONTENT:"set textContent",setValueForProperty:"update attribute",setValueForAttribute:"update attribute",deleteValueForProperty:"remove attribute",setValueForStyles:"update styles",replaceNodeWithMarkup:"replace",updateTextContent:"set textContent"};function s(e){for(var t=0,n=0;n<e.length;n++)t+=e[n].totalTime;return t}function a(e){var t=[];return e.forEach((function(e){Object.keys(e.writes).forEach((function(n){e.writes[n].forEach((function(e){t.push({id:n,type:o[e.type]||e.type,args:e.args})}))}))})),t}function l(e){for(var t,n={},o=0;o<e.length;o++){var s=e[o],a=i({},s.exclusive,s.inclusive);for(var l in a)n[t=s.displayNames[l].current]=n[t]||{componentName:t,inclusive:0,exclusive:0,render:0,count:0},s.render[l]&&(n[t].render+=s.render[l]),s.exclusive[l]&&(n[t].exclusive+=s.exclusive[l]),s.inclusive[l]&&(n[t].inclusive+=s.inclusive[l]),s.counts[l]&&(n[t].count+=s.counts[l])}var c=[];for(t in n)n[t].exclusive>=r&&c.push(n[t]);return c.sort((function(e,t){return t.exclusive-e.exclusive})),c}function c(e,t){for(var n,o={},s=0;s<e.length;s++){var a,l=e[s],c=i({},l.exclusive,l.inclusive);for(var h in t&&(a=u(l)),c)if(!t||a[h]){var d=l.displayNames[h];o[n=d.owner+" > "+d.current]=o[n]||{componentName:n,time:0,count:0},l.inclusive[h]&&(o[n].time+=l.inclusive[h]),l.counts[h]&&(o[n].count+=l.counts[h])}}var p=[];for(n in o)o[n].time>=r&&p.push(o[n]);return p.sort((function(e,t){return t.time-e.time})),p}function u(e){var t={},n=Object.keys(e.writes),r=i({},e.exclusive,e.inclusive);for(var o in r){for(var s=!1,a=0;a<n.length;a++)if(0===n[a].indexOf(o)){s=!0;break}e.created[o]&&(s=!0),!s&&e.counts[o]>0&&(t[o]=!0)}return t}var h={getExclusiveSummary:l,getInclusiveSummary:c,getDOMSummary:a,getTotalTime:s};t.exports=h},{24:24}],57:[function(e,t,n){"use strict";var i=e(39),r=e(24),o=e(117),s="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a={key:!0,ref:!0,__self:!0,__source:!0},l=function(e,t,n,i,r,a,l){var c={$$typeof:s,type:e,key:t,ref:n,props:l,_owner:a,_store:{}};return o?(Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:r})):(c._store.validated=!1,c._self=i,c._source=r),Object.freeze(c.props),Object.freeze(c),c};l.createElement=function(e,t,n){var r,o={},s=null,c=null,u=null,h=null;if(null!=t)for(r in c=void 0===t.ref?null:t.ref,s=void 0===t.key?null:""+t.key,u=void 0===t.__self?null:t.__self,h=void 0===t.__source?null:t.__source,t)t.hasOwnProperty(r)&&!a.hasOwnProperty(r)&&(o[r]=t[r]);var d=arguments.length-2;if(1===d)o.children=n;else if(d>1){for(var p=Array(d),f=0;f<d;f++)p[f]=arguments[f+2];o.children=p}if(e&&e.defaultProps){var g=e.defaultProps;for(r in g)void 0===o[r]&&(o[r]=g[r])}return l(e,s,c,u,h,i.current,o)},l.createFactory=function(e){var t=l.createElement.bind(null,e);return t.type=e,t},l.cloneAndReplaceKey=function(e,t){return l(e.type,t,e.ref,e._self,e._source,e._owner,e.props)},l.cloneAndReplaceProps=function(e,t){var n=l(e.type,e.key,e.ref,e._self,e._source,e._owner,t);return n._store.validated=e._store.validated,n},l.cloneElement=function(e,t,n){var o,s=r({},e.props),c=e.key,u=e.ref,h=e._self,d=e._source,p=e._owner;if(null!=t)for(o in void 0!==t.ref&&(u=t.ref,p=i.current),void 0!==t.key&&(c=""+t.key),t)t.hasOwnProperty(o)&&!a.hasOwnProperty(o)&&(s[o]=t[o]);var f=arguments.length-2;if(1===f)s.children=n;else if(f>1){for(var g=Array(f),m=0;m<f;m++)g[m]=arguments[m+2];s.children=g}return l(e.type,c,u,h,d,p,s)},l.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===s},t.exports=l},{117:117,24:24,39:39}],58:[function(e,t,n){"use strict";var i=e(57),r=e(81),o=e(80),s=e(39),a=e(117),l=e(129),c=e(161),u=e(173);function h(){if(s.current){var e=s.current.getName();if(e)return" Check the render method of `"+e+"`."}return""}var d={},p={};function f(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=g("uniqueKey",e,t);null!==n&&u(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s%s',n.parentOrOwner||"",n.childOwner||"",n.url||"")}}function g(e,t,n){var i=h();if(!i){var r="string"==typeof n?n:n.displayName||n.name;r&&(i=" Check the top-level render call using <"+r+">.")}var o=d[e]||(d[e]={});if(o[i])return null;o[i]=!0;var a={parentOrOwner:i,url:" See https://fb.me/react-warning-keys for more information.",childOwner:null};return t&&t._owner&&t._owner!==s.current&&(a.childOwner=" It was passed a child from "+t._owner.getName()+"."),a}function m(e,t){if("object"==typeof e)if(Array.isArray(e))for(var n=0;n<e.length;n++){var r=e[n];i.isValidElement(r)&&f(r,t)}else if(i.isValidElement(e))e._store&&(e._store.validated=!0);else if(e){var o=l(e);if(o&&o!==e.entries)for(var s,a=o.call(e);!(s=a.next()).done;)i.isValidElement(s.value)&&f(s.value,t)}}function v(e,t,n,i){for(var r in t)if(t.hasOwnProperty(r)){var s;try{"function"!=typeof t[r]&&c(!1,"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e||"React class",o[i],r),s=t[r](n,r,e,i)}catch(e){s=e}if(u(!s||s instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",e||"React class",o[i],r,typeof s),s instanceof Error&&!(s.message in p)){p[s.message]=!0;var a=h();u(!1,"Failed propType: %s%s",s.message,a)}}}function y(e){var t=e.type;if("function"==typeof t){var n=t.displayName||t.name;t.propTypes&&v(n,t.propTypes,e.props,r.prop),"function"==typeof t.getDefaultProps&&u(t.getDefaultProps.isReactClassApproved,"getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var S={createElement:function(e,t,n){var r="string"==typeof e||"function"==typeof e;u(r,"React.createElement: type should not be null, undefined, boolean, or number. It should be a string (for DOM elements) or a ReactClass (for composite components).%s",h());var o=i.createElement.apply(this,arguments);if(null==o)return o;if(r)for(var s=2;s<arguments.length;s++)m(arguments[s],e);return y(o),o},createFactory:function(e){var t=S.createElement.bind(null,e);return t.type=e,a&&Object.defineProperty(t,"type",{enumerable:!1,get:function(){return u(!1,"Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},cloneElement:function(e,t,n){for(var r=i.cloneElement.apply(this,arguments),o=2;o<arguments.length;o++)m(arguments[o],r.type);return y(r),r}};t.exports=S},{117:117,129:129,161:161,173:173,39:39,57:57,80:80,81:81}],59:[function(e,t,n){"use strict";var i,r=e(57),o=e(60),s=e(84),a={injectEmptyComponent:function(e){i=r.createElement(e)}},l=function(e){this._currentElement=null,this._rootNodeID=null,this._renderedComponent=e(i)};e(24)(l.prototype,{construct:function(e){},mountComponent:function(e,t,n){return o.registerNullComponentID(e),this._rootNodeID=e,s.mountComponent(this._renderedComponent,e,t,n)},receiveComponent:function(){},unmountComponent:function(e,t,n){s.unmountComponent(this._renderedComponent),o.deregisterNullComponentID(this._rootNodeID),this._rootNodeID=null,this._renderedComponent=null}}),l.injection=a,t.exports=l},{24:24,57:57,60:60,84:84}],60:[function(e,t,n){"use strict";var i={};function r(e){return!!i[e]}function o(e){i[e]=!0}function s(e){delete i[e]}var a={isNullComponentID:r,registerNullComponentID:o,deregisterNullComponentID:s};t.exports=a},{}],61:[function(e,t,n){"use strict";var i=null;function r(e,t,n,r){try{return t(n,r)}catch(e){return void(null===i&&(i=e))}}var o={invokeGuardedCallback:r,invokeGuardedCallbackWithCatch:r,rethrowCaughtError:function(){if(i){var e=i;throw i=null,e}}};if("undefined"!=typeof window&&"function"==typeof window.dispatchEvent&&"undefined"!=typeof document&&"function"==typeof document.createEvent){var s=document.createElement("react");o.invokeGuardedCallback=function(e,t,n,i){var r=t.bind(null,n,i),o="react-"+e;s.addEventListener(o,r,!1);var a=document.createEvent("Event");a.initEvent(o,!1,!1),s.dispatchEvent(a),s.removeEventListener(o,r,!1)}}t.exports=o},{}],62:[function(e,t,n){"use strict";var i=e(16);function r(e){i.enqueueEvents(e),i.processEventQueue(!1)}var o={handleTopLevel:function(e,t,n,o,s){r(i.extractEvents(e,t,n,o,s))}};t.exports=o},{16:16}],63:[function(e,t,n){"use strict";var i=e(146),r=e(147),o=e(25),s=e(67),a=e(72),l=e(96),c=e(24),u=e(128),h=e(158);function d(e){var t=a.getID(e),n=s.getReactRootIDFromNodeID(t),i=a.findReactContainerForID(n);return a.getFirstReactDOM(i)}function p(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function f(e){g(e)}function g(e){for(var t=a.getFirstReactDOM(u(e.nativeEvent))||window,n=t;n;)e.ancestors.push(n),n=d(n);for(var i=0;i<e.ancestors.length;i++){t=e.ancestors[i];var r=a.getID(t)||"";v._handleTopLevel(e.topLevelType,t,r,e.nativeEvent,u(e.nativeEvent))}}function m(e){e(h(window))}c(p.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),o.addPoolingTo(p,o.twoArgumentPooler);var v={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:r.canUseDOM?window:null,setHandleTopLevel:function(e){v._handleTopLevel=e},setEnabled:function(e){v._enabled=!!e},isEnabled:function(){return v._enabled},trapBubbledEvent:function(e,t,n){var r=n;return r?i.listen(r,t,v.dispatchEvent.bind(null,e)):null},trapCapturedEvent:function(e,t,n){var r=n;return r?i.capture(r,t,v.dispatchEvent.bind(null,e)):null},monitorScrollValue:function(e){var t=m.bind(null,e);i.listen(window,"scroll",t)},dispatchEvent:function(e,t){if(v._enabled){var n=p.getPooled(e,t);try{l.batchedUpdates(f,n)}finally{p.release(n)}}}};t.exports=v},{128:128,146:146,147:147,158:158,24:24,25:25,67:67,72:72,96:96}],64:[function(e,t,n){"use strict";var i=e(32),r=e(57),o=e(153),s=e(161),a=e(173),l=/^\d+$/,c=!1,u={create:function(e){if("object"!=typeof e||!e||Array.isArray(e))return a(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return a(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;1===e.nodeType&&s(!1,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)!c&&l.test(n)&&(a(!1,"React.addons.createFragment(...): Child objects should have non-numeric keys so ordering is preserved."),c=!0),i.mapIntoWithKeyPrefixInternal(e[n],t,n,o.thatReturnsArgument);return t}};t.exports=u},{153:153,161:161,173:173,32:32,57:57}],65:[function(e,t,n){"use strict";var i=e(10),r=e(16),o=e(36),s=e(33),a=e(59),l=e(28),c=e(75),u=e(78),h=e(86),d=e(96),p={Component:o.injection,Class:s.injection,DOMProperty:i.injection,EmptyComponent:a.injection,EventPluginHub:r.injection,EventEmitter:l.injection,NativeComponent:c.injection,Perf:u.injection,RootIndex:h.injection,Updates:d.injection};t.exports=p},{10:10,16:16,28:28,33:33,36:36,59:59,75:75,78:78,86:86,96:96}],66:[function(e,t,n){"use strict";var i=e(49),r=e(150),o=e(155),s=e(156);function a(e){return r(document.documentElement,e)}var l={hasSelectionCapabilities:function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)},getSelectionInformation:function(){var e=s();return{focusedElem:e,selectionRange:l.hasSelectionCapabilities(e)?l.getSelection(e):null}},restoreSelection:function(e){var t=s(),n=e.focusedElem,i=e.selectionRange;t!==n&&a(n)&&(l.hasSelectionCapabilities(n)&&l.setSelection(n,i),o(n))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=i.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,r=t.end;if(void 0===r&&(r=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length);else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var o=e.createTextRange();o.collapse(!0),o.moveStart("character",n),o.moveEnd("character",r-n),o.select()}else i.setOffsets(e,t)}};t.exports=l},{150:150,155:155,156:156,49:49}],67:[function(e,t,n){"use strict";var i=e(86),r=e(161),o=".",s=o.length,a=1e4;function l(e){return o+e.toString(36)}function c(e,t){return e.charAt(t)===o||t===e.length}function u(e){return""===e||e.charAt(0)===o&&e.charAt(e.length-1)!==o}function h(e,t){return 0===t.indexOf(e)&&c(t,e.length)}function d(e){return e?e.substr(0,e.lastIndexOf(o)):""}function p(e,t){if(u(e)&&u(t)||r(!1,"getNextDescendantID(%s, %s): Received an invalid React DOM ID.",e,t),h(e,t)||r(!1,"getNextDescendantID(...): React has made an invalid assumption about the DOM hierarchy. Expected `%s` to be an ancestor of `%s`.",e,t),e===t)return e;var n;for(n=e.length+s;n<t.length&&!c(t,n);n++);return t.substr(0,n)}function f(e,t){var n=Math.min(e.length,t.length);if(0===n)return"";for(var i=0,o=0;o<=n;o++)if(c(e,o)&&c(t,o))i=o;else if(e.charAt(o)!==t.charAt(o))break;var s=e.substr(0,i);return u(s)||r(!1,"getFirstCommonAncestorID(%s, %s): Expected a valid React DOM ID: %s",e,t,s),s}function g(e,t,n,i,o,s){(e=e||"")===(t=t||"")&&r(!1,"traverseParentPath(...): Cannot traverse from and to the same ID, `%s`.",e);var l=h(t,e);l||h(e,t)||r(!1,"traverseParentPath(%s, %s, ...): Cannot traverse from two IDs that do not have a parent path.",e,t);for(var c=0,u=l?d:p,f=e;;f=u(f,t)){var g;if(o&&f===e||s&&f===t||(g=n(f,l,i)),!1===g||f===t)break;c++<a||r(!1,"traverseParentPath(%s, %s, ...): Detected an infinite loop while traversing the React DOM ID tree. This may be due to malformed IDs: %s",e,t,f)}}var m={createReactRootID:function(){return l(i.createReactRootIndex())},createReactID:function(e,t){return e+t},getReactRootIDFromNodeID:function(e){if(e&&e.charAt(0)===o&&e.length>1){var t=e.indexOf(o,1);return t>-1?e.substr(0,t):e}return null},traverseEnterLeave:function(e,t,n,i,r){var o=f(e,t);o!==e&&g(e,o,n,i,!1,!0),o!==t&&g(o,t,n,r,!0,!1)},traverseTwoPhase:function(e,t,n){e&&(g("",e,t,n,!0,!1),g(e,"",t,n,!1,!0))},traverseTwoPhaseSkipTarget:function(e,t,n){e&&(g("",e,t,n,!0,!0),g(e,"",t,n,!0,!0))},traverseAncestors:function(e,t,n){g("",e,t,n,!0,!1)},getFirstCommonAncestorID:f,_getNextDescendantID:p,isAncestorIDOf:h,SEPARATOR:o};t.exports=m},{161:161,86:86}],68:[function(e,t,n){"use strict";var i={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}};t.exports=i},{}],69:[function(e,t,n){"use strict";var i=e(32),r=e(34),o=e(33),s=e(43),a=e(57),l=e(58),c=e(82),u=e(97),h=e(24),d=e(135),p=a.createElement,f=a.createFactory,g=a.cloneElement;p=l.createElement,f=l.createFactory,g=l.cloneElement;var m={Children:{map:i.map,forEach:i.forEach,count:i.count,toArray:i.toArray,only:d},Component:r,createElement:p,cloneElement:g,isValidElement:a.isValidElement,PropTypes:c,createClass:o.createClass,createFactory:f,createMixin:function(e){return e},DOM:s,version:u,__spread:h};t.exports=m},{135:135,24:24,32:32,33:33,34:34,43:43,57:57,58:58,82:82,97:97}],70:[function(e,t,n){"use strict";var i=e(26);function r(e,t){this.value=e,this.requestChange=t}function o(e){var t={value:void 0===e?i.PropTypes.any.isRequired:e.isRequired,requestChange:i.PropTypes.func.isRequired};return i.PropTypes.shape(t)}r.PropTypes={link:o},t.exports=r},{26:26}],71:[function(e,t,n){"use strict";var i=e(116),r=/\/?>/,o={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=i(e);return e.replace(r," "+o.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(o.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),i(e)===n}};t.exports=o},{116:116}],72:[function(e,t,n){"use strict";var i=e(10),r=e(28),o=e(39),s=e(44),a=e(57),l=e(60),c=e(67),u=e(68),h=e(71),d=e(78),p=e(84),f=e(95),g=e(96),m=e(24),v=e(154),y=e(150),S=e(132),b=e(161),w=e(138),x=e(141),C=e(144),E=e(173),P=i.ID_ATTRIBUTE_NAME,T={},D=1,A=9,I=11,k="__ReactMount_ownerDocument$"+Math.random().toString(36).slice(2),R={},_={},M={},O=[];function L(e,t){for(var n=Math.min(e.length,t.length),i=0;i<n;i++)if(e.charAt(i)!==t.charAt(i))return i;return e.length===t.length?-1:n}function V(e){return e?e.nodeType===A?e.documentElement:e.firstChild:null}function N(e){var t=V(e);return t&&ee.getID(t)}function j(e){var t=B(e);if(t)if(T.hasOwnProperty(t)){var n=T[t];n!==e&&(G(n,t)&&b(!1,"ReactMount: Two valid but unequal nodes with the same `%s`: %s",P,t),T[t]=e)}else T[t]=e;return t}function B(e){return e&&e.getAttribute&&e.getAttribute(P)||""}function F(e,t){var n=B(e);n!==t&&delete T[n],e.setAttribute(P,t),T[t]=e}function U(e){return T.hasOwnProperty(e)&&G(T[e],e)||(T[e]=ee.findReactNodeByID(e)),T[e]}function H(e){var t=u.get(e)._rootNodeID;return l.isNullComponentID(t)?null:(T.hasOwnProperty(t)&&G(T[t],t)||(T[t]=ee.findReactNodeByID(t)),T[t])}function G(e,t){if(e){B(e)!==t&&b(!1,"ReactMount: Unexpected modification of `%s`",P);var n=ee.findReactContainerForID(t);if(n&&y(n,e))return!0}return!1}function W(e){delete T[e]}var z=null;function Y(e){var t=T[e];if(!t||!G(t,e))return!1;z=t}function q(e){z=null,c.traverseAncestors(e,Y);var t=z;return z=null,t}function K(e,t,n,i,r,o){s.useCreateElement&&(o=m({},o),n.nodeType===A?o[k]=n:o[k]=n.ownerDocument),o===v&&(o={});var a=n.nodeName.toLowerCase();o[C.ancestorInfoContextKey]=C.updatedAncestorInfo(null,a,null);var l=p.mountComponent(e,t,i,o);e._renderedComponent._topLevelWrapper=e,ee._mountImageIntoNode(l,n,r,i)}function X(e,t,n,i,r){var o=g.ReactReconcileTransaction.getPooled(i);o.perform(K,null,e,t,n,o,i,r),g.ReactReconcileTransaction.release(o)}function Z(e,t){for(p.unmountComponent(e),t.nodeType===A&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)}function Q(e){var t=N(e);return!!t&&t!==c.getReactRootIDFromNodeID(t)}function $(e){for(;e&&e.parentNode!==e;e=e.parentNode)if(1===e.nodeType){var t=B(e);if(t){var n,i=c.getReactRootIDFromNodeID(t),r=e;do{if(n=B(r),null==(r=r.parentNode))return null}while(n!==i);if(r===_[i])return e}}return null}var J=function(){};J.prototype.isReactComponent={},J.displayName="TopLevelWrapper",J.prototype.render=function(){return this.props};var ee={TopLevelWrapper:J,_instancesByReactRootID:R,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,i){return ee.scrollMonitor(n,(function(){f.enqueueElementInternal(e,t),i&&f.enqueueCallbackInternal(e,i)})),M[N(n)]=V(n),e},_registerComponent:function(e,t){(!t||t.nodeType!==D&&t.nodeType!==A&&t.nodeType!==I)&&b(!1,"_registerComponent(...): Target container is not a DOM element."),r.ensureScrollValueMonitoring();var n=ee.registerContainer(t);return R[n]=e,n},_renderNewRootComponent:function(e,t,n,i){E(null==o.current,"_renderNewRootComponent(): Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate. Check the render method of %s.",o.current&&o.current.getName()||"ReactCompositeComponent");var r=S(e,null),s=ee._registerComponent(r,t);return g.batchedUpdates(X,r,s,t,n,i),M[s]=V(t),r},renderSubtreeIntoContainer:function(e,t,n,i){return(null==e||null==e._reactInternalInstance)&&b(!1,"parentComponent must be a valid React Component"),ee._renderSubtreeIntoContainer(e,t,n,i)},_renderSubtreeIntoContainer:function(e,t,n,i){a.isValidElement(t)||b(!1,"ReactDOM.render(): Invalid component element.%s","string"==typeof t?" Instead of passing an element string, make sure to instantiate it by passing it to React.createElement.":"function"==typeof t?" Instead of passing a component class, make sure to instantiate it by passing it to React.createElement.":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":""),E(!n||!n.tagName||"BODY"!==n.tagName.toUpperCase(),"render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.");var r=new a(J,null,null,null,null,null,t),o=R[N(n)];if(o){var s=o._currentElement.props;if(x(s,t)){var l=o._renderedComponent.getPublicInstance(),c=i&&function(){i.call(l)};return ee._updateRootComponent(o,r,n,c),l}ee.unmountComponentAtNode(n)}var u=V(n),h=u&&!!B(u),d=Q(n);if(E(!d,"render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),!h||u.nextSibling)for(var p=u;p;){if(B(p)){E(!1,"render(): Target node has markup rendered by React, but there are unrelated nodes as well. This is most commonly caused by white-space inserted around server-rendered markup.");break}p=p.nextSibling}var f=h&&!o&&!d,g=ee._renderNewRootComponent(r,n,f,null!=e?e._reactInternalInstance._processChildContext(e._reactInternalInstance._context):v)._renderedComponent.getPublicInstance();return i&&i.call(g),g},render:function(e,t,n){return ee._renderSubtreeIntoContainer(null,e,t,n)},registerContainer:function(e){var t=N(e);return t&&(t=c.getReactRootIDFromNodeID(t)),t||(t=c.createReactRootID()),_[t]=e,t},unmountComponentAtNode:function(e){E(null==o.current,"unmountComponentAtNode(): Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate. Check the render method of %s.",o.current&&o.current.getName()||"ReactCompositeComponent"),(!e||e.nodeType!==D&&e.nodeType!==A&&e.nodeType!==I)&&b(!1,"unmountComponentAtNode(...): Target container is not a DOM element.");var t=N(e),n=R[t];if(!n){var i=Q(e),r=B(e),s=r&&r===c.getReactRootIDFromNodeID(r);return E(!i,"unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",s?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."),!1}return g.batchedUpdates(Z,n,e),delete R[t],delete _[t],delete M[t],!0},findReactContainerForID:function(e){var t=c.getReactRootIDFromNodeID(e),n=_[t],i=M[t];if(i&&i.parentNode!==n){E(B(i)===t,"ReactMount: Root element ID differed from reactRootID.");var r=n.firstChild;r&&t===B(r)?M[t]=r:E(!1,"ReactMount: Root element has been removed from its original container. New container: %s",i.parentNode)}return n},findReactNodeByID:function(e){var t=ee.findReactContainerForID(e);return ee.findComponentRoot(t,e)},getFirstReactDOM:function(e){return $(e)},findComponentRoot:function(e,t){var n=O,i=0,r=q(t)||e;for(E(null!=r,"React can't find the root component node for data-reactid value `%s`. If you're seeing this message, it probably means that you've loaded two copies of React on the page. At this time, only a single copy of React can be loaded at a time.",t),n[0]=r.firstChild,n.length=1;i<n.length;){for(var o,s=n[i++];s;){var a=ee.getID(s);a?t===a?o=s:c.isAncestorIDOf(a,t)&&(n.length=i=0,n.push(s.firstChild)):n.push(s.firstChild),s=s.nextSibling}if(o)return n.length=0,o}n.length=0,b(!1,"findComponentRoot(..., %s): Unable to find element. This probably means the DOM was unexpectedly mutated (e.g., by the browser), usually due to forgetting a <tbody> when using tables, nesting tags like <form>, <p>, or <a>, or using non-SVG elements in an <svg> parent. Try inspecting the child nodes of the element with React ID `%s`.",t,ee.getID(e))},_mountImageIntoNode:function(e,t,n,i){if((!t||t.nodeType!==D&&t.nodeType!==A&&t.nodeType!==I)&&b(!1,"mountComponentIntoNode(...): Target container is not valid."),n){var r=V(t);if(h.canReuseMarkup(e,r))return;var o=r.getAttribute(h.CHECKSUM_ATTR_NAME);r.removeAttribute(h.CHECKSUM_ATTR_NAME);var s=r.outerHTML;r.setAttribute(h.CHECKSUM_ATTR_NAME,o);var a,l=e;t.nodeType===D?((a=document.createElement("div")).innerHTML=e,l=a.innerHTML):(a=document.createElement("iframe"),document.body.appendChild(a),a.contentDocument.write(e),l=a.contentDocument.documentElement.outerHTML,document.body.removeChild(a));var c=L(l,s),u=" (client) "+l.substring(c-20,c+20)+"\n (server) "+s.substring(c-20,c+20);t.nodeType===A&&b(!1,"You're trying to render a component to the document using server rendering but the checksum was invalid. This usually means you rendered a different component type or props on the client from the one on the server, or your render() methods are impure. React cannot handle this case due to cross-browser quirks by rendering at the document root. You should look for environment dependent code in your components and ensure the props are the same client and server side:\n%s",u),E(!1,"React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server:\n%s",u)}if(t.nodeType===A&&b(!1,"You're trying to render a component to the document but you didn't use server rendering. We can't do this without using server rendering due to cross-browser quirks. See ReactDOMServer.renderToString() for server rendering."),i.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);t.appendChild(e)}else w(t,e)},ownerDocumentContextKey:k,getReactRootID:N,getID:j,setID:F,getNode:U,getNodeFromInstance:H,isValid:G,purgeID:W};d.measureMethods(ee,"ReactMount",{_renderNewRootComponent:"_renderNewRootComponent",_mountImageIntoNode:"_mountImageIntoNode"}),t.exports=ee},{10:10,132:132,138:138,141:141,144:144,150:150,154:154,161:161,173:173,24:24,28:28,39:39,44:44,57:57,60:60,67:67,68:68,71:71,78:78,84:84,95:95,96:96}],73:[function(e,t,n){"use strict";var i=e(36),r=e(74),o=e(39),s=e(84),a=e(31),l=e(123),c=0,u=[],h=[];function d(e,t,n){u.push({parentID:e,parentNode:null,type:r.INSERT_MARKUP,markupIndex:h.push(t)-1,content:null,fromIndex:null,toIndex:n})}function p(e,t,n){u.push({parentID:e,parentNode:null,type:r.MOVE_EXISTING,markupIndex:null,content:null,fromIndex:t,toIndex:n})}function f(e,t){u.push({parentID:e,parentNode:null,type:r.REMOVE_NODE,markupIndex:null,content:null,fromIndex:t,toIndex:null})}function g(e,t){u.push({parentID:e,parentNode:null,type:r.SET_MARKUP,markupIndex:null,content:t,fromIndex:null,toIndex:null})}function m(e,t){u.push({parentID:e,parentNode:null,type:r.TEXT_CONTENT,markupIndex:null,content:t,fromIndex:null,toIndex:null})}function v(){u.length&&(i.processChildrenUpdates(u,h),y())}function y(){u.length=0,h.length=0}var S={Mixin:{_reconcilerInstantiateChildren:function(e,t,n){if(this._currentElement)try{return o.current=this._currentElement._owner,a.instantiateChildren(e,t,n)}finally{o.current=null}return a.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,i){var r;if(this._currentElement){try{o.current=this._currentElement._owner,r=l(t)}finally{o.current=null}return a.updateChildren(e,r,n,i)}return r=l(t),a.updateChildren(e,r,n,i)},mountChildren:function(e,t,n){var i=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=i;var r=[],o=0;for(var a in i)if(i.hasOwnProperty(a)){var l=i[a],c=this._rootNodeID+a,u=s.mountComponent(l,c,t,n);l._mountIndex=o++,r.push(u)}return r},updateTextContent:function(e){c++;var t=!0;try{var n=this._renderedChildren;for(var i in a.unmountChildren(n),n)n.hasOwnProperty(i)&&this._unmountChild(n[i]);this.setTextContent(e),t=!1}finally{--c||(t?y():v())}},updateMarkup:function(e){c++;var t=!0;try{var n=this._renderedChildren;for(var i in a.unmountChildren(n),n)n.hasOwnProperty(i)&&this._unmountChildByName(n[i],i);this.setMarkup(e),t=!1}finally{--c||(t?y():v())}},updateChildren:function(e,t,n){c++;var i=!0;try{this._updateChildren(e,t,n),i=!1}finally{--c||(i?y():v())}},_updateChildren:function(e,t,n){var i=this._renderedChildren,r=this._reconcilerUpdateChildren(i,e,t,n);if(this._renderedChildren=r,r||i){var o,s=0,a=0;for(o in r)if(r.hasOwnProperty(o)){var l=i&&i[o],c=r[o];l===c?(this.moveChild(l,a,s),s=Math.max(l._mountIndex,s),l._mountIndex=a):(l&&(s=Math.max(l._mountIndex,s),this._unmountChild(l)),this._mountChildByNameAtIndex(c,o,a,t,n)),a++}for(o in i)!i.hasOwnProperty(o)||r&&r.hasOwnProperty(o)||this._unmountChild(i[o])}},unmountChildren:function(){var e=this._renderedChildren;a.unmountChildren(e),this._renderedChildren=null},moveChild:function(e,t,n){e._mountIndex<n&&p(this._rootNodeID,e._mountIndex,t)},createChild:function(e,t){d(this._rootNodeID,t,e._mountIndex)},removeChild:function(e){f(this._rootNodeID,e._mountIndex)},setTextContent:function(e){m(this._rootNodeID,e)},setMarkup:function(e){g(this._rootNodeID,e)},_mountChildByNameAtIndex:function(e,t,n,i,r){var o=this._rootNodeID+t,a=s.mountComponent(e,o,i,r);e._mountIndex=n,this.createChild(e,a)},_unmountChild:function(e){this.removeChild(e),e._mountIndex=null}}};t.exports=S},{123:123,31:31,36:36,39:39,74:74,84:84}],74:[function(e,t,n){"use strict";var i=e(165)({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,SET_MARKUP:null,TEXT_CONTENT:null});t.exports=i},{165:165}],75:[function(e,t,n){"use strict";var i=e(24),r=e(161),o=null,s=null,a={},l=null;function c(e){if("function"==typeof e.type)return e.type;var t=e.type,n=a[t];return null==n&&(a[t]=n=o(t)),n}function u(e){return s||r(!1,"There is no registered component for the tag %s",e.type),new s(e.type,e.props)}function h(e){return new l(e)}function d(e){return e instanceof l}var p={getComponentClassForElement:c,createInternalComponent:u,createInstanceForText:h,isTextComponent:d,injection:{injectGenericComponentClass:function(e){s=e},injectTextComponentClass:function(e){l=e},injectComponentClasses:function(e){i(a,e)}}};t.exports=p},{161:161,24:24}],76:[function(e,t,n){"use strict";var i=e(173);function r(e,t){i(!1,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op. Please check the code for the %s component.",t,t,e.constructor&&e.constructor.displayName||"")}var o={isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){r(e,"forceUpdate")},enqueueReplaceState:function(e,t){r(e,"replaceState")},enqueueSetState:function(e,t){r(e,"setState")},enqueueSetProps:function(e,t){r(e,"setProps")},enqueueReplaceProps:function(e,t){r(e,"replaceProps")}};t.exports=o},{173:173}],77:[function(e,t,n){"use strict";var i=e(161),r={isValidOwner:function(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)},addComponentAsRefTo:function(e,t,n){r.isValidOwner(n)||i(!1,"addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner)."),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){r.isValidOwner(n)||i(!1,"removeComponentAsRefFrom(...): Only a ReactOwner can have refs. You might be removing a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner)."),n.getPublicInstance().refs[t]===e.getPublicInstance()&&n.detachRef(t)}};t.exports=r},{161:161}],78:[function(e,t,n){"use strict";var i={enableMeasure:!1,storedMeasure:r,measureMethods:function(e,t,n){for(var r in n)n.hasOwnProperty(r)&&(e[r]=i.measure(t,n[r],e[r]))},measure:function(e,t,n){var r=null,o=function(){return i.enableMeasure?(r||(r=i.storedMeasure(e,t,n)),r.apply(this,arguments)):n.apply(this,arguments)};return o.displayName=e+"_"+t,o},injection:{injectMeasure:function(e){i.storedMeasure=e}}};function r(e,t,n){return n}t.exports=i},{}],79:[function(e,t,n){"use strict";var i=e(24),r=e(153),o=e(164);function s(e){return function(t,n,i){t.hasOwnProperty(n)?t[n]=e(t[n],i):t[n]=i}}var a=s((function(e,t){return i({},t,e)})),l={children:r,className:s(o),style:a};function c(e,t){for(var n in t)if(t.hasOwnProperty(n)){var i=l[n];i&&l.hasOwnProperty(n)?i(e,n,t[n]):e.hasOwnProperty(n)||(e[n]=t[n])}return e}var u={mergeProps:function(e,t){return c(i({},e),t)}};t.exports=u},{153:153,164:164,24:24}],80:[function(e,t,n){"use strict";var i={};i={prop:"prop",context:"context",childContext:"child context"},t.exports=i},{}],81:[function(e,t,n){"use strict";var i=e(165)({prop:null,context:null,childContext:null});t.exports=i},{165:165}],82:[function(e,t,n){"use strict";var i=e(57),r=e(80),o=e(153),s=e(129),a="<<anonymous>>",l={array:u("array"),bool:u("boolean"),func:u("function"),number:u("number"),object:u("object"),string:u("string"),any:h(),arrayOf:d,element:p(),instanceOf:f,node:y(),objectOf:m,oneOf:g,oneOfType:v,shape:S};function c(e){function t(t,n,i,o,s,l){if(o=o||a,l=l||i,null==n[i]){var c=r[s];return t?new Error("Required "+c+" `"+l+"` was not specified in `"+o+"`."):null}return e(n,i,o,s,l)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function u(e){function t(t,n,i,o,s){var a=t[n];if(w(a)!==e){var l=r[o],c=x(a);return new Error("Invalid "+l+" `"+s+"` of type `"+c+"` supplied to `"+i+"`, expected `"+e+"`.")}return null}return c(t)}function h(){return c(o.thatReturns(null))}function d(e){function t(t,n,i,o,s){var a=t[n];if(!Array.isArray(a)){var l=r[o],c=w(a);return new Error("Invalid "+l+" `"+s+"` of type `"+c+"` supplied to `"+i+"`, expected an array.")}for(var u=0;u<a.length;u++){var h=e(a,u,i,o,s+"["+u+"]");if(h instanceof Error)return h}return null}return c(t)}function p(){function e(e,t,n,o,s){if(!i.isValidElement(e[t])){var a=r[o];return new Error("Invalid "+a+" `"+s+"` supplied to `"+n+"`, expected a single ReactElement.")}return null}return c(e)}function f(e){function t(t,n,i,o,s){if(!(t[n]instanceof e)){var l=r[o],c=e.name||a,u=C(t[n]);return new Error("Invalid "+l+" `"+s+"` of type `"+u+"` supplied to `"+i+"`, expected instance of `"+c+"`.")}return null}return c(t)}function g(e){if(!Array.isArray(e))return c((function(){return new Error("Invalid argument supplied to oneOf, expected an instance of array.")}));function t(t,n,i,o,s){for(var a=t[n],l=0;l<e.length;l++)if(a===e[l])return null;var c=r[o],u=JSON.stringify(e);return new Error("Invalid "+c+" `"+s+"` of value `"+a+"` supplied to `"+i+"`, expected one of "+u+".")}return c(t)}function m(e){function t(t,n,i,o,s){var a=t[n],l=w(a);if("object"!==l){var c=r[o];return new Error("Invalid "+c+" `"+s+"` of type `"+l+"` supplied to `"+i+"`, expected an object.")}for(var u in a)if(a.hasOwnProperty(u)){var h=e(a,u,i,o,s+"."+u);if(h instanceof Error)return h}return null}return c(t)}function v(e){if(!Array.isArray(e))return c((function(){return new Error("Invalid argument supplied to oneOfType, expected an instance of array.")}));function t(t,n,i,o,s){for(var a=0;a<e.length;a++)if(null==(0,e[a])(t,n,i,o,s))return null;var l=r[o];return new Error("Invalid "+l+" `"+s+"` supplied to `"+i+"`.")}return c(t)}function y(){function e(e,t,n,i,o){if(!b(e[t])){var s=r[i];return new Error("Invalid "+s+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}return null}return c(e)}function S(e){function t(t,n,i,o,s){var a=t[n],l=w(a);if("object"!==l){var c=r[o];return new Error("Invalid "+c+" `"+s+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.")}for(var u in e){var h=e[u];if(h){var d=h(a,u,i,o,s+"."+u);if(d)return d}}return null}return c(t)}function b(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(b);if(null===e||i.isValidElement(e))return!0;var t=s(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!b(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!b(o[1]))return!1}return!0;default:return!1}}function w(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":t}function x(e){var t=w(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function C(e){return e.constructor&&e.constructor.name?e.constructor.name:"<<anonymous>>"}t.exports=l},{129:129,153:153,57:57,80:80}],83:[function(e,t,n){"use strict";var i=e(6),r=e(25),o=e(28),s=e(44),a=e(66),l=e(113),c=e(24),u=[{initialize:a.getSelectionInformation,close:a.restoreSelection},{initialize:function(){var e=o.isEnabled();return o.setEnabled(!1),e},close:function(e){o.setEnabled(e)}},{initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}}];function h(e){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=i.getPooled(null),this.useCreateElement=!e&&s.useCreateElement}var d={getTransactionWrappers:function(){return u},getReactMountReady:function(){return this.reactMountReady},destructor:function(){i.release(this.reactMountReady),this.reactMountReady=null}};c(h.prototype,l.Mixin,d),r.addPoolingTo(h),t.exports=h},{113:113,24:24,25:25,28:28,44:44,6:6,66:66}],84:[function(e,t,n){"use strict";var i=e(85);function r(){i.attachRefs(this,this._currentElement)}var o={mountComponent:function(e,t,n,i){var o=e.mountComponent(t,n,i);return e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(r,e),o},unmountComponent:function(e){i.detachRefs(e,e._currentElement),e.unmountComponent()},receiveComponent:function(e,t,n,o){var s=e._currentElement;if(t!==s||o!==e._context){var a=i.shouldUpdateRefs(s,t);a&&i.detachRefs(e,s),e.receiveComponent(t,n,o),a&&e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(r,e)}},performUpdateIfNecessary:function(e,t){e.performUpdateIfNecessary(t)}};t.exports=o},{85:85}],85:[function(e,t,n){"use strict";var i=e(77),r={};function o(e,t,n){"function"==typeof e?e(t.getPublicInstance()):i.addComponentAsRefTo(t,e,n)}function s(e,t,n){"function"==typeof e?e(null):i.removeComponentAsRefFrom(t,e,n)}r.attachRefs=function(e,t){if(null!==t&&!1!==t){var n=t.ref;null!=n&&o(n,e,t._owner)}},r.shouldUpdateRefs=function(e,t){return null===e||!1===e||null===t||!1===t||t._owner!==e._owner||t.ref!==e.ref},r.detachRefs=function(e,t){if(null!==t&&!1!==t){var n=t.ref;null!=n&&s(n,e,t._owner)}},t.exports=r},{77:77}],86:[function(e,t,n){"use strict";var i={createReactRootIndex:null,injection:{injectCreateReactRootIndex:function(e){i.createReactRootIndex=e}}};t.exports=i},{}],87:[function(e,t,n){"use strict";var i={isBatchingUpdates:!1,batchedUpdates:function(e){}};t.exports=i},{}],88:[function(e,t,n){"use strict";var i=e(53),r=e(57),o=e(67),s=e(71),a=e(87),l=e(89),c=e(96),u=e(154),h=e(132),d=e(161);function p(e){var t;r.isValidElement(e)||d(!1,"renderToString(): You must pass a valid ReactElement.");try{c.injection.injectBatchingStrategy(a);var n=o.createReactRootID();return(t=l.getPooled(!1)).perform((function(){var i=h(e,null).mountComponent(n,t,u);return s.addChecksumToMarkup(i)}),null)}finally{l.release(t),c.injection.injectBatchingStrategy(i)}}function f(e){var t;r.isValidElement(e)||d(!1,"renderToStaticMarkup(): You must pass a valid ReactElement.");try{c.injection.injectBatchingStrategy(a);var n=o.createReactRootID();return(t=l.getPooled(!0)).perform((function(){return h(e,null).mountComponent(n,t,u)}),null)}finally{l.release(t),c.injection.injectBatchingStrategy(i)}}t.exports={renderToString:p,renderToStaticMarkup:f}},{132:132,154:154,161:161,53:53,57:57,67:67,71:71,87:87,89:89,96:96}],89:[function(e,t,n){"use strict";var i=e(25),r=e(6),o=e(113),s=e(24),a=[{initialize:function(){this.reactMountReady.reset()},close:e(153)}];function l(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.reactMountReady=r.getPooled(null),this.useCreateElement=!1}var c={getTransactionWrappers:function(){return a},getReactMountReady:function(){return this.reactMountReady},destructor:function(){r.release(this.reactMountReady),this.reactMountReady=null}};s(l.prototype,o.Mixin,c),i.addPoolingTo(l),t.exports=l},{113:113,153:153,24:24,25:25,6:6}],90:[function(e,t,n){"use strict";var i={createStateSetter:function(e,t){return function(n,i,r,o,s,a){var l=t.call(e,n,i,r,o,s,a);l&&e.setState(l)}},createStateKeySetter:function(e,t){var n=e.__keySetters||(e.__keySetters={});return n[t]||(n[t]=r(e,t))}};function r(e,t){var n={};return function(i){n[t]=i,e.setState(n)}}i.Mixin={createStateSetter:function(e){return i.createStateSetter(this,e)},createStateKeySetter:function(e){return i.createStateKeySetter(this,e)}},t.exports=i},{}],91:[function(e,t,n){"use strict";var i=e(15),r=e(16),o=e(19),s=e(26),a=e(40),l=e(57),c=e(28),u=e(38),h=e(67),d=e(68),p=e(72),f=e(96),g=e(105),m=e(24),v=e(154),y=e(122),S=e(161),b=i.topLevelTypes;function w(e){}function x(e,t){if(!e||!e.getPublicInstance)return[];var n=e.getPublicInstance(),i=t(n)?[n]:[],r=e._currentElement;if(C.isDOMComponent(n)){var o,s=e._renderedChildren;for(o in s)s.hasOwnProperty(o)&&(i=i.concat(x(s[o],t)))}else l.isValidElement(r)&&"function"==typeof r.type&&(i=i.concat(x(e._renderedComponent,t)));return i}var C={renderIntoDocument:function(e){var t=document.createElement("div");return a.render(e,t)},isElement:function(e){return l.isValidElement(e)},isElementOfType:function(e,t){return l.isValidElement(e)&&e.type===t},isDOMComponent:function(e){return!(!e||1!==e.nodeType||!e.tagName)},isDOMComponentElement:function(e){return!!(e&&l.isValidElement(e)&&e.tagName)},isCompositeComponent:function(e){return!C.isDOMComponent(e)&&null!=e&&"function"==typeof e.render&&"function"==typeof e.setState},isCompositeComponentWithType:function(e,t){return!!C.isCompositeComponent(e)&&d.get(e)._currentElement.type===t},isCompositeComponentElement:function(e){if(!l.isValidElement(e))return!1;var t=e.type.prototype;return"function"==typeof t.render&&"function"==typeof t.setState},isCompositeComponentElementWithType:function(e,t){var n=d.get(e)._currentElement.type;return!(!C.isCompositeComponentElement(e)||n!==t)},getRenderedChildOfCompositeComponent:function(e){return C.isCompositeComponent(e)?d.get(e)._renderedComponent.getPublicInstance():null},findAllInRenderedTree:function(e,t){return e?(C.isCompositeComponent(e)||S(!1,"findAllInRenderedTree(...): instance must be a composite component"),x(d.get(e),t)):[]},scryRenderedDOMComponentsWithClass:function(e,t){return Array.isArray(t)||(t=t.split(/\s+/)),C.findAllInRenderedTree(e,(function(e){if(C.isDOMComponent(e)){var n=e.className;"string"!=typeof n&&(n=e.getAttribute("class")||"");var i=n.split(/\s+/);return t.every((function(e){return-1!==i.indexOf(e)}))}return!1}))},findRenderedDOMComponentWithClass:function(e,t){var n=C.scryRenderedDOMComponentsWithClass(e,t);if(1!==n.length)throw new Error("Did not find exactly one match (found: "+n.length+") for class:"+t);return n[0]},scryRenderedDOMComponentsWithTag:function(e,t){return C.findAllInRenderedTree(e,(function(e){return C.isDOMComponent(e)&&e.tagName.toUpperCase()===t.toUpperCase()}))},findRenderedDOMComponentWithTag:function(e,t){var n=C.scryRenderedDOMComponentsWithTag(e,t);if(1!==n.length)throw new Error("Did not find exactly one match for tag:"+t);return n[0]},scryRenderedComponentsWithType:function(e,t){return C.findAllInRenderedTree(e,(function(e){return C.isCompositeComponentWithType(e,t)}))},findRenderedComponentWithType:function(e,t){var n=C.scryRenderedComponentsWithType(e,t);if(1!==n.length)throw new Error("Did not find exactly one match for componentType:"+t+" (found "+n.length+")");return n[0]},mockComponent:function(e,t){return t=t||e.mockTagName||"div",e.prototype.render.mockImplementation((function(){return s.createElement(t,null,this.props.children)})),this},simulateNativeEventOnNode:function(e,t,n){n.target=t,c.ReactEventListener.dispatchEvent(e,n)},simulateNativeEventOnDOMComponent:function(e,t,n){C.simulateNativeEventOnNode(e,y(t),n)},nativeTouchData:function(e,t){return{touches:[{pageX:e,pageY:t}]}},createRenderer:function(){return new E},Simulate:null,SimulateNative:{}},E=function(){this._instance=null};E.prototype.getRenderOutput=function(){return this._instance&&this._instance._renderedComponent&&this._instance._renderedComponent._renderedOutput||null};var P=function(e){this._renderedOutput=e,this._currentElement=e};P.prototype={mountComponent:function(){},receiveComponent:function(e){this._renderedOutput=e,this._currentElement=e},unmountComponent:function(){},getPublicInstance:function(){return null}};var T=function(){};function D(e){return function(t,n){var i;C.isDOMComponent(t)?i=y(t):t.tagName&&(i=t);var s=c.eventNameDispatchConfigs[e],a=new w;a.target=i;var l=new g(s,p.getID(i),a,i);m(l,n),s.phasedRegistrationNames?o.accumulateTwoPhaseDispatches(l):o.accumulateDirectDispatches(l),f.batchedUpdates((function(){r.enqueueEvents(l),r.processEventQueue(!0)}))}}function A(){var e;for(e in C.Simulate={},c.eventNameDispatchConfigs)C.Simulate[e]=D(e)}m(T.prototype,u.Mixin,{_instantiateReactComponent:function(e){return new P(e)},_replaceNodeWithMarkupByID:function(){},_renderValidatedComponent:u.Mixin._renderValidatedComponentWithoutOwnerOrContext}),E.prototype.render=function(e,t){l.isValidElement(e)||S(!1,"ReactShallowRenderer render(): Invalid component element.%s","function"==typeof e?" Instead of passing a component class, make sure to instantiate it by passing it to React.createElement.":""),"string"==typeof e.type&&S(!1,"ReactShallowRenderer render(): Shallow rendering works only with custom components, not primitives (%s). Instead of calling `.render(el)` and inspecting the rendered output, look at `el.props` directly instead.",e.type),t||(t=v);var n=f.ReactReconcileTransaction.getPooled(!1);this._render(e,n,t),f.ReactReconcileTransaction.release(n)},E.prototype.unmount=function(){this._instance&&this._instance.unmountComponent()},E.prototype._render=function(e,t,n){if(this._instance)this._instance.receiveComponent(e,t,n);else{var i=h.createReactRootID(),r=new T(e.type);r.construct(e),r.mountComponent(i,t,n),this._instance=r}};var I=r.injection.injectEventPluginOrder;r.injection.injectEventPluginOrder=function(){I.apply(this,arguments),A()};var k=r.injection.injectEventPluginsByName;function R(e){return function(t,n){var i=new w(e);m(i,n),C.isDOMComponent(t)?C.simulateNativeEventOnDOMComponent(e,t,i):t.tagName&&C.simulateNativeEventOnNode(e,t,i)}}r.injection.injectEventPluginsByName=function(){k.apply(this,arguments),A()},A(),Object.keys(b).forEach((function(e){var t=0===e.indexOf("top")?e.charAt(3).toLowerCase()+e.substr(4):e;C.SimulateNative[t]=R(e)})),t.exports=C},{105:105,122:122,15:15,154:154,16:16,161:161,19:19,24:24,26:26,28:28,38:38,40:40,57:57,67:67,68:68,72:72,96:96}],92:[function(e,t,n){"use strict";var i=e(123),r={getChildMapping:function(e){return e?i(e):e},mergeChildMappings:function(e,t){function n(n){return t.hasOwnProperty(n)?t[n]:e[n]}e=e||{},t=t||{};var i,r={},o=[];for(var s in e)t.hasOwnProperty(s)?o.length&&(r[s]=o,o=[]):o.push(s);var a={};for(var l in t){if(r.hasOwnProperty(l))for(i=0;i<r[l].length;i++){var c=r[l][i];a[r[l][i]]=n(c)}a[l]=n(l)}for(i=0;i<o.length;i++)a[o[i]]=n(o[i]);return a}};t.exports=r},{123:123}],93:[function(e,t,n){"use strict";var i=e(147),r={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},o=[];function s(){var e=document.createElement("div").style;for(var t in"AnimationEvent"in window||delete r.animationend.animation,"TransitionEvent"in window||delete r.transitionend.transition,r){var n=r[t];for(var i in n)if(i in e){o.push(n[i]);break}}}function a(e,t,n){e.addEventListener(t,n,!1)}function l(e,t,n){e.removeEventListener(t,n,!1)}i.canUseDOM&&s();var c={addEndEventListener:function(e,t){0!==o.length?o.forEach((function(n){a(e,n,t)})):window.setTimeout(t,0)},removeEndEventListener:function(e,t){0!==o.length&&o.forEach((function(n){l(e,n,t)}))}};t.exports=c},{147:147}],94:[function(e,t,n){"use strict";var i=e(26),r=e(92),o=e(24),s=e(153),a=i.createClass({displayName:"ReactTransitionGroup",propTypes:{component:i.PropTypes.any,childFactory:i.PropTypes.func},getDefaultProps:function(){return{component:"span",childFactory:s.thatReturnsArgument}},getInitialState:function(){return{children:r.getChildMapping(this.props.children)}},componentWillMount:function(){this.currentlyTransitioningKeys={},this.keysToEnter=[],this.keysToLeave=[]},componentDidMount:function(){var e=this.state.children;for(var t in e)e[t]&&this.performAppear(t)},componentWillReceiveProps:function(e){var t,n=r.getChildMapping(e.children),i=this.state.children;for(t in this.setState({children:r.mergeChildMappings(i,n)}),n){var o=i&&i.hasOwnProperty(t);!n[t]||o||this.currentlyTransitioningKeys[t]||this.keysToEnter.push(t)}for(t in i){var s=n&&n.hasOwnProperty(t);!i[t]||s||this.currentlyTransitioningKeys[t]||this.keysToLeave.push(t)}},componentDidUpdate:function(){var e=this.keysToEnter;this.keysToEnter=[],e.forEach(this.performEnter);var t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)},performAppear:function(e){this.currentlyTransitioningKeys[e]=!0;var t=this.refs[e];t.componentWillAppear?t.componentWillAppear(this._handleDoneAppearing.bind(this,e)):this._handleDoneAppearing(e)},_handleDoneAppearing:function(e){var t=this.refs[e];t.componentDidAppear&&t.componentDidAppear(),delete this.currentlyTransitioningKeys[e];var n=r.getChildMapping(this.props.children);n&&n.hasOwnProperty(e)||this.performLeave(e)},performEnter:function(e){this.currentlyTransitioningKeys[e]=!0;var t=this.refs[e];t.componentWillEnter?t.componentWillEnter(this._handleDoneEntering.bind(this,e)):this._handleDoneEntering(e)},_handleDoneEntering:function(e){var t=this.refs[e];t.componentDidEnter&&t.componentDidEnter(),delete this.currentlyTransitioningKeys[e];var n=r.getChildMapping(this.props.children);n&&n.hasOwnProperty(e)||this.performLeave(e)},performLeave:function(e){this.currentlyTransitioningKeys[e]=!0;var t=this.refs[e];t.componentWillLeave?t.componentWillLeave(this._handleDoneLeaving.bind(this,e)):this._handleDoneLeaving(e)},_handleDoneLeaving:function(e){var t=this.refs[e];t.componentDidLeave&&t.componentDidLeave(),delete this.currentlyTransitioningKeys[e];var n=r.getChildMapping(this.props.children);n&&n.hasOwnProperty(e)?this.performEnter(e):this.setState((function(t){var n=o({},t.children);return delete n[e],{children:n}}))},render:function(){var e=[];for(var t in this.state.children){var n=this.state.children[t];n&&e.push(i.cloneElement(this.props.childFactory(n),{ref:t,key:t}))}return i.createElement(this.props.component,this.props,e)}});t.exports=a},{153:153,24:24,26:26,92:92}],95:[function(e,t,n){"use strict";var i=e(39),r=e(57),o=e(68),s=e(96),a=e(24),l=e(161),c=e(173);function u(e){s.enqueueUpdate(e)}function h(e,t){var n=o.get(e);return n?(c(null==i.current,"%s(...): Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state.",t),n):(c(!t,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op. Please check the code for the %s component.",t,t,e.constructor.displayName),null)}var d={isMounted:function(e){var t=i.current;null!==t&&(c(t._warnedAboutRefsInRender,"%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",t.getName()||"A component"),t._warnedAboutRefsInRender=!0);var n=o.get(e);return!!n&&!!n._renderedComponent},enqueueCallback:function(e,t){"function"!=typeof t&&l(!1,"enqueueCallback(...): You called `setProps`, `replaceProps`, `setState`, `replaceState`, or `forceUpdate` with a callback that isn't callable.");var n=h(e);if(!n)return null;n._pendingCallbacks?n._pendingCallbacks.push(t):n._pendingCallbacks=[t],u(n)},enqueueCallbackInternal:function(e,t){"function"!=typeof t&&l(!1,"enqueueCallback(...): You called `setProps`, `replaceProps`, `setState`, `replaceState`, or `forceUpdate` with a callback that isn't callable."),e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],u(e)},enqueueForceUpdate:function(e){var t=h(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,u(t))},enqueueReplaceState:function(e,t){var n=h(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,u(n))},enqueueSetState:function(e,t){var n=h(e,"setState");n&&((n._pendingStateQueue||(n._pendingStateQueue=[])).push(t),u(n))},enqueueSetProps:function(e,t){var n=h(e,"setProps");n&&d.enqueueSetPropsInternal(n,t)},enqueueSetPropsInternal:function(e,t){var n=e._topLevelWrapper;n||l(!1,"setProps(...): You called `setProps` on a component with a parent. This is an anti-pattern since props will get reactively updated when rendered. Instead, change the owner's `render` method to pass the correct value as props to the component where it is created.");var i=n._pendingElement||n._currentElement,o=i.props,s=a({},o.props,t);n._pendingElement=r.cloneAndReplaceProps(i,r.cloneAndReplaceProps(o,s)),u(n)},enqueueReplaceProps:function(e,t){var n=h(e,"replaceProps");n&&d.enqueueReplacePropsInternal(n,t)},enqueueReplacePropsInternal:function(e,t){var n=e._topLevelWrapper;n||l(!1,"replaceProps(...): You called `replaceProps` on a component with a parent. This is an anti-pattern since props will get reactively updated when rendered. Instead, change the owner's `render` method to pass the correct value as props to the component where it is created.");var i=n._pendingElement||n._currentElement,o=i.props;n._pendingElement=r.cloneAndReplaceProps(i,r.cloneAndReplaceProps(o,t)),u(n)},enqueueElementInternal:function(e,t){e._pendingElement=t,u(e)}};t.exports=d},{161:161,173:173,24:24,39:39,57:57,68:68,96:96}],96:[function(e,t,n){"use strict";var i=e(6),r=e(25),o=e(78),s=e(84),a=e(113),l=e(24),c=e(161),u=[],h=i.getPooled(),d=!1,p=null;function f(){C.ReactReconcileTransaction&&p||c(!1,"ReactUpdates: must inject a reconcile transaction class and batching strategy")}var g=[{initialize:function(){this.dirtyComponentsLength=u.length},close:function(){this.dirtyComponentsLength!==u.length?(u.splice(0,this.dirtyComponentsLength),b()):u.length=0}},{initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}}];function m(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=i.getPooled(),this.reconcileTransaction=C.ReactReconcileTransaction.getPooled(!1)}function v(e,t,n,i,r,o){f(),p.batchedUpdates(e,t,n,i,r,o)}function y(e,t){return e._mountOrder-t._mountOrder}function S(e){var t=e.dirtyComponentsLength;t!==u.length&&c(!1,"Expected flush transaction's stored dirty-components length (%s) to match dirty-components array length (%s).",t,u.length),u.sort(y);for(var n=0;n<t;n++){var i=u[n],r=i._pendingCallbacks;if(i._pendingCallbacks=null,s.performUpdateIfNecessary(i,e.reconcileTransaction),r)for(var o=0;o<r.length;o++)e.callbackQueue.enqueue(r[o],i.getPublicInstance())}}l(m.prototype,a.Mixin,{getTransactionWrappers:function(){return g},destructor:function(){this.dirtyComponentsLength=null,i.release(this.callbackQueue),this.callbackQueue=null,C.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return a.Mixin.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),r.addPoolingTo(m);var b=function(){for(;u.length||d;){if(u.length){var e=m.getPooled();e.perform(S,null,e),m.release(e)}if(d){d=!1;var t=h;h=i.getPooled(),t.notifyAll(),i.release(t)}}};function w(e){f(),p.isBatchingUpdates?u.push(e):p.batchedUpdates(w,e)}function x(e,t){p.isBatchingUpdates||c(!1,"ReactUpdates.asap: Can't enqueue an asap callback in a context whereupdates are not being batched."),h.enqueue(e,t),d=!0}var C={ReactReconcileTransaction:null,batchedUpdates:v,enqueueUpdate:w,flushBatchedUpdates:b=o.measure("ReactUpdates","flushBatchedUpdates",b),injection:{injectReconcileTransaction:function(e){e||c(!1,"ReactUpdates: must provide a reconcile transaction class"),C.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){e||c(!1,"ReactUpdates: must provide a batching strategy"),"function"!=typeof e.batchedUpdates&&c(!1,"ReactUpdates: must provide a batchedUpdates() function"),"boolean"!=typeof e.isBatchingUpdates&&c(!1,"ReactUpdates: must provide an isBatchingUpdates boolean attribute"),p=e}},asap:x};t.exports=C},{113:113,161:161,24:24,25:25,6:6,78:78,84:84}],97:[function(e,t,n){"use strict";t.exports="0.14.6"},{}],98:[function(e,t,n){"use strict";var i=e(10).injection.MUST_USE_ATTRIBUTE,r={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},o={Properties:{clipPath:i,cx:i,cy:i,d:i,dx:i,dy:i,fill:i,fillOpacity:i,fontFamily:i,fontSize:i,fx:i,fy:i,gradientTransform:i,gradientUnits:i,markerEnd:i,markerMid:i,markerStart:i,offset:i,opacity:i,patternContentUnits:i,patternUnits:i,points:i,preserveAspectRatio:i,r:i,rx:i,ry:i,spreadMethod:i,stopColor:i,stopOpacity:i,stroke:i,strokeDasharray:i,strokeLinecap:i,strokeOpacity:i,strokeWidth:i,textAnchor:i,transform:i,version:i,viewBox:i,x1:i,x2:i,x:i,xlinkActuate:i,xlinkArcrole:i,xlinkHref:i,xlinkRole:i,xlinkShow:i,xlinkTitle:i,xlinkType:i,xmlBase:i,xmlLang:i,xmlSpace:i,y1:i,y2:i,y:i},DOMAttributeNamespaces:{xlinkActuate:r.xlink,xlinkArcrole:r.xlink,xlinkHref:r.xlink,xlinkRole:r.xlink,xlinkShow:r.xlink,xlinkTitle:r.xlink,xlinkType:r.xlink,xmlBase:r.xml,xmlLang:r.xml,xmlSpace:r.xml},DOMAttributeNames:{clipPath:"clip-path",fillOpacity:"fill-opacity",fontFamily:"font-family",fontSize:"font-size",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",patternContentUnits:"patternContentUnits",patternUnits:"patternUnits",preserveAspectRatio:"preserveAspectRatio",spreadMethod:"spreadMethod",stopColor:"stop-color",stopOpacity:"stop-opacity",strokeDasharray:"stroke-dasharray",strokeLinecap:"stroke-linecap",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",textAnchor:"text-anchor",viewBox:"viewBox",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlLang:"xml:lang",xmlSpace:"xml:space"}};t.exports=o},{10:10}],99:[function(e,t,n){"use strict";var i=e(15),r=e(19),o=e(147),s=e(66),a=e(105),l=e(156),c=e(134),u=e(166),h=e(171),d=i.topLevelTypes,p=o.canUseDOM&&"documentMode"in document&&document.documentMode<=11,f={select:{phasedRegistrationNames:{bubbled:u({onSelect:null}),captured:u({onSelectCapture:null})},dependencies:[d.topBlur,d.topContextMenu,d.topFocus,d.topKeyDown,d.topMouseDown,d.topMouseUp,d.topSelectionChange]}},g=null,m=null,v=null,y=!1,S=!1,b=u({onSelect:null});function w(e){if("selectionStart"in e&&s.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function x(e,t){if(y||null==g||g!==l())return null;var n=w(g);if(!v||!h(v,n)){v=n;var i=a.getPooled(f.select,m,e,t);return i.type="select",i.target=g,r.accumulateTwoPhaseDispatches(i),i}return null}var C={eventTypes:f,extractEvents:function(e,t,n,i,r){if(!S)return null;switch(e){case d.topFocus:(c(t)||"true"===t.contentEditable)&&(g=t,m=n,v=null);break;case d.topBlur:g=null,m=null,v=null;break;case d.topMouseDown:y=!0;break;case d.topContextMenu:case d.topMouseUp:return y=!1,x(i,r);case d.topSelectionChange:if(p)break;case d.topKeyDown:case d.topKeyUp:return x(i,r)}return null},didPutListener:function(e,t,n){t===b&&(S=!0)}};t.exports=C},{105:105,134:134,147:147,15:15,156:156,166:166,171:171,19:19,66:66}],100:[function(e,t,n){"use strict";var i=Math.pow(2,53),r={createReactRootIndex:function(){return Math.ceil(Math.random()*i)}};t.exports=r},{}],101:[function(e,t,n){"use strict";var i=e(15),r=e(146),o=e(19),s=e(72),a=e(102),l=e(105),c=e(106),u=e(108),h=e(109),d=e(104),p=e(110),f=e(111),g=e(112),m=e(153),v=e(125),y=e(161),S=e(166),b=i.topLevelTypes,w={abort:{phasedRegistrationNames:{bubbled:S({onAbort:!0}),captured:S({onAbortCapture:!0})}},blur:{phasedRegistrationNames:{bubbled:S({onBlur:!0}),captured:S({onBlurCapture:!0})}},canPlay:{phasedRegistrationNames:{bubbled:S({onCanPlay:!0}),captured:S({onCanPlayCapture:!0})}},canPlayThrough:{phasedRegistrationNames:{bubbled:S({onCanPlayThrough:!0}),captured:S({onCanPlayThroughCapture:!0})}},click:{phasedRegistrationNames:{bubbled:S({onClick:!0}),captured:S({onClickCapture:!0})}},contextMenu:{phasedRegistrationNames:{bubbled:S({onContextMenu:!0}),captured:S({onContextMenuCapture:!0})}},copy:{phasedRegistrationNames:{bubbled:S({onCopy:!0}),captured:S({onCopyCapture:!0})}},cut:{phasedRegistrationNames:{bubbled:S({onCut:!0}),captured:S({onCutCapture:!0})}},doubleClick:{phasedRegistrationNames:{bubbled:S({onDoubleClick:!0}),captured:S({onDoubleClickCapture:!0})}},drag:{phasedRegistrationNames:{bubbled:S({onDrag:!0}),captured:S({onDragCapture:!0})}},dragEnd:{phasedRegistrationNames:{bubbled:S({onDragEnd:!0}),captured:S({onDragEndCapture:!0})}},dragEnter:{phasedRegistrationNames:{bubbled:S({onDragEnter:!0}),captured:S({onDragEnterCapture:!0})}},dragExit:{phasedRegistrationNames:{bubbled:S({onDragExit:!0}),captured:S({onDragExitCapture:!0})}},dragLeave:{phasedRegistrationNames:{bubbled:S({onDragLeave:!0}),captured:S({onDragLeaveCapture:!0})}},dragOver:{phasedRegistrationNames:{bubbled:S({onDragOver:!0}),captured:S({onDragOverCapture:!0})}},dragStart:{phasedRegistrationNames:{bubbled:S({onDragStart:!0}),captured:S({onDragStartCapture:!0})}},drop:{phasedRegistrationNames:{bubbled:S({onDrop:!0}),captured:S({onDropCapture:!0})}},durationChange:{phasedRegistrationNames:{bubbled:S({onDurationChange:!0}),captured:S({onDurationChangeCapture:!0})}},emptied:{phasedRegistrationNames:{bubbled:S({onEmptied:!0}),captured:S({onEmptiedCapture:!0})}},encrypted:{phasedRegistrationNames:{bubbled:S({onEncrypted:!0}),captured:S({onEncryptedCapture:!0})}},ended:{phasedRegistrationNames:{bubbled:S({onEnded:!0}),captured:S({onEndedCapture:!0})}},error:{phasedRegistrationNames:{bubbled:S({onError:!0}),captured:S({onErrorCapture:!0})}},focus:{phasedRegistrationNames:{bubbled:S({onFocus:!0}),captured:S({onFocusCapture:!0})}},input:{phasedRegistrationNames:{bubbled:S({onInput:!0}),captured:S({onInputCapture:!0})}},keyDown:{phasedRegistrationNames:{bubbled:S({onKeyDown:!0}),captured:S({onKeyDownCapture:!0})}},keyPress:{phasedRegistrationNames:{bubbled:S({onKeyPress:!0}),captured:S({onKeyPressCapture:!0})}},keyUp:{phasedRegistrationNames:{bubbled:S({onKeyUp:!0}),captured:S({onKeyUpCapture:!0})}},load:{phasedRegistrationNames:{bubbled:S({onLoad:!0}),captured:S({onLoadCapture:!0})}},loadedData:{phasedRegistrationNames:{bubbled:S({onLoadedData:!0}),captured:S({onLoadedDataCapture:!0})}},loadedMetadata:{phasedRegistrationNames:{bubbled:S({onLoadedMetadata:!0}),captured:S({onLoadedMetadataCapture:!0})}},loadStart:{phasedRegistrationNames:{bubbled:S({onLoadStart:!0}),captured:S({onLoadStartCapture:!0})}},mouseDown:{phasedRegistrationNames:{bubbled:S({onMouseDown:!0}),captured:S({onMouseDownCapture:!0})}},mouseMove:{phasedRegistrationNames:{bubbled:S({onMouseMove:!0}),captured:S({onMouseMoveCapture:!0})}},mouseOut:{phasedRegistrationNames:{bubbled:S({onMouseOut:!0}),captured:S({onMouseOutCapture:!0})}},mouseOver:{phasedRegistrationNames:{bubbled:S({onMouseOver:!0}),captured:S({onMouseOverCapture:!0})}},mouseUp:{phasedRegistrationNames:{bubbled:S({onMouseUp:!0}),captured:S({onMouseUpCapture:!0})}},paste:{phasedRegistrationNames:{bubbled:S({onPaste:!0}),captured:S({onPasteCapture:!0})}},pause:{phasedRegistrationNames:{bubbled:S({onPause:!0}),captured:S({onPauseCapture:!0})}},play:{phasedRegistrationNames:{bubbled:S({onPlay:!0}),captured:S({onPlayCapture:!0})}},playing:{phasedRegistrationNames:{bubbled:S({onPlaying:!0}),captured:S({onPlayingCapture:!0})}},progress:{phasedRegistrationNames:{bubbled:S({onProgress:!0}),captured:S({onProgressCapture:!0})}},rateChange:{phasedRegistrationNames:{bubbled:S({onRateChange:!0}),captured:S({onRateChangeCapture:!0})}},reset:{phasedRegistrationNames:{bubbled:S({onReset:!0}),captured:S({onResetCapture:!0})}},scroll:{phasedRegistrationNames:{bubbled:S({onScroll:!0}),captured:S({onScrollCapture:!0})}},seeked:{phasedRegistrationNames:{bubbled:S({onSeeked:!0}),captured:S({onSeekedCapture:!0})}},seeking:{phasedRegistrationNames:{bubbled:S({onSeeking:!0}),captured:S({onSeekingCapture:!0})}},stalled:{phasedRegistrationNames:{bubbled:S({onStalled:!0}),captured:S({onStalledCapture:!0})}},submit:{phasedRegistrationNames:{bubbled:S({onSubmit:!0}),captured:S({onSubmitCapture:!0})}},suspend:{phasedRegistrationNames:{bubbled:S({onSuspend:!0}),captured:S({onSuspendCapture:!0})}},timeUpdate:{phasedRegistrationNames:{bubbled:S({onTimeUpdate:!0}),captured:S({onTimeUpdateCapture:!0})}},touchCancel:{phasedRegistrationNames:{bubbled:S({onTouchCancel:!0}),captured:S({onTouchCancelCapture:!0})}},touchEnd:{phasedRegistrationNames:{bubbled:S({onTouchEnd:!0}),captured:S({onTouchEndCapture:!0})}},touchMove:{phasedRegistrationNames:{bubbled:S({onTouchMove:!0}),captured:S({onTouchMoveCapture:!0})}},touchStart:{phasedRegistrationNames:{bubbled:S({onTouchStart:!0}),captured:S({onTouchStartCapture:!0})}},volumeChange:{phasedRegistrationNames:{bubbled:S({onVolumeChange:!0}),captured:S({onVolumeChangeCapture:!0})}},waiting:{phasedRegistrationNames:{bubbled:S({onWaiting:!0}),captured:S({onWaitingCapture:!0})}},wheel:{phasedRegistrationNames:{bubbled:S({onWheel:!0}),captured:S({onWheelCapture:!0})}}},x={topAbort:w.abort,topBlur:w.blur,topCanPlay:w.canPlay,topCanPlayThrough:w.canPlayThrough,topClick:w.click,topContextMenu:w.contextMenu,topCopy:w.copy,topCut:w.cut,topDoubleClick:w.doubleClick,topDrag:w.drag,topDragEnd:w.dragEnd,topDragEnter:w.dragEnter,topDragExit:w.dragExit,topDragLeave:w.dragLeave,topDragOver:w.dragOver,topDragStart:w.dragStart,topDrop:w.drop,topDurationChange:w.durationChange,topEmptied:w.emptied,topEncrypted:w.encrypted,topEnded:w.ended,topError:w.error,topFocus:w.focus,topInput:w.input,topKeyDown:w.keyDown,topKeyPress:w.keyPress,topKeyUp:w.keyUp,topLoad:w.load,topLoadedData:w.loadedData,topLoadedMetadata:w.loadedMetadata,topLoadStart:w.loadStart,topMouseDown:w.mouseDown,topMouseMove:w.mouseMove,topMouseOut:w.mouseOut,topMouseOver:w.mouseOver,topMouseUp:w.mouseUp,topPaste:w.paste,topPause:w.pause,topPlay:w.play,topPlaying:w.playing,topProgress:w.progress,topRateChange:w.rateChange,topReset:w.reset,topScroll:w.scroll,topSeeked:w.seeked,topSeeking:w.seeking,topStalled:w.stalled,topSubmit:w.submit,topSuspend:w.suspend,topTimeUpdate:w.timeUpdate,topTouchCancel:w.touchCancel,topTouchEnd:w.touchEnd,topTouchMove:w.touchMove,topTouchStart:w.touchStart,topVolumeChange:w.volumeChange,topWaiting:w.waiting,topWheel:w.wheel};for(var C in x)x[C].dependencies=[C];var E=S({onClick:null}),P={},T={eventTypes:w,extractEvents:function(e,t,n,i,r){var s,m=x[e];if(!m)return null;switch(e){case b.topAbort:case b.topCanPlay:case b.topCanPlayThrough:case b.topDurationChange:case b.topEmptied:case b.topEncrypted:case b.topEnded:case b.topError:case b.topInput:case b.topLoad:case b.topLoadedData:case b.topLoadedMetadata:case b.topLoadStart:case b.topPause:case b.topPlay:case b.topPlaying:case b.topProgress:case b.topRateChange:case b.topReset:case b.topSeeked:case b.topSeeking:case b.topStalled:case b.topSubmit:case b.topSuspend:case b.topTimeUpdate:case b.topVolumeChange:case b.topWaiting:s=l;break;case b.topKeyPress:if(0===v(i))return null;case b.topKeyDown:case b.topKeyUp:s=u;break;case b.topBlur:case b.topFocus:s=c;break;case b.topClick:if(2===i.button)return null;case b.topContextMenu:case b.topDoubleClick:case b.topMouseDown:case b.topMouseMove:case b.topMouseOut:case b.topMouseOver:case b.topMouseUp:s=h;break;case b.topDrag:case b.topDragEnd:case b.topDragEnter:case b.topDragExit:case b.topDragLeave:case b.topDragOver:case b.topDragStart:case b.topDrop:s=d;break;case b.topTouchCancel:case b.topTouchEnd:case b.topTouchMove:case b.topTouchStart:s=p;break;case b.topScroll:s=f;break;case b.topWheel:s=g;break;case b.topCopy:case b.topCut:case b.topPaste:s=a}s||y(!1,"SimpleEventPlugin: Unhandled event type, `%s`.",e);var S=s.getPooled(m,n,i,r);return o.accumulateTwoPhaseDispatches(S),S},didPutListener:function(e,t,n){if(t===E){var i=s.getNode(e);P[e]||(P[e]=r.listen(i,"click",m))}},willDeleteListener:function(e,t){t===E&&(P[e].remove(),delete P[e])}};t.exports=T},{102:102,104:104,105:105,106:106,108:108,109:109,110:110,111:111,112:112,125:125,146:146,15:15,153:153,161:161,166:166,19:19,72:72}],102:[function(e,t,n){"use strict";var i=e(105),r={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};function o(e,t,n,r){i.call(this,e,t,n,r)}i.augmentClass(o,r),t.exports=o},{105:105}],103:[function(e,t,n){"use strict";var i=e(105),r={data:null};function o(e,t,n,r){i.call(this,e,t,n,r)}i.augmentClass(o,r),t.exports=o},{105:105}],104:[function(e,t,n){"use strict";var i=e(109),r={dataTransfer:null};function o(e,t,n,r){i.call(this,e,t,n,r)}i.augmentClass(o,r),t.exports=o},{109:109}],105:[function(e,t,n){"use strict";var i=e(25),r=e(24),o=e(153),s=e(173),a={type:null,currentTarget:o.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};function l(e,t,n,i){this.dispatchConfig=e,this.dispatchMarker=t,this.nativeEvent=n,this.target=i,this.currentTarget=i;var r=this.constructor.Interface;for(var s in r)if(r.hasOwnProperty(s)){var a=r[s];this[s]=a?a(n):n[s]}var l=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;this.isDefaultPrevented=l?o.thatReturnsTrue:o.thatReturnsFalse,this.isPropagationStopped=o.thatReturnsFalse}r(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;s(e,"This synthetic event is reused for performance reasons. If you're seeing this, you're calling `preventDefault` on a released/nullified synthetic event. This is a no-op. See https://fb.me/react-event-pooling for more information."),e&&(e.preventDefault?e.preventDefault():e.returnValue=!1,this.isDefaultPrevented=o.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;s(e,"This synthetic event is reused for performance reasons. If you're seeing this, you're calling `stopPropagation` on a released/nullified synthetic event. This is a no-op. See https://fb.me/react-event-pooling for more information."),e&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,this.isPropagationStopped=o.thatReturnsTrue)},persist:function(){this.isPersistent=o.thatReturnsTrue},isPersistent:o.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;this.dispatchConfig=null,this.dispatchMarker=null,this.nativeEvent=null}}),l.Interface=a,l.augmentClass=function(e,t){var n=this,o=Object.create(n.prototype);r(o,e.prototype),e.prototype=o,e.prototype.constructor=e,e.Interface=r({},n.Interface,t),e.augmentClass=n.augmentClass,i.addPoolingTo(e,i.fourArgumentPooler)},i.addPoolingTo(l,i.fourArgumentPooler),t.exports=l},{153:153,173:173,24:24,25:25}],106:[function(e,t,n){"use strict";var i=e(111),r={relatedTarget:null};function o(e,t,n,r){i.call(this,e,t,n,r)}i.augmentClass(o,r),t.exports=o},{111:111}],107:[function(e,t,n){"use strict";var i=e(105),r={data:null};function o(e,t,n,r){i.call(this,e,t,n,r)}i.augmentClass(o,r),t.exports=o},{105:105}],108:[function(e,t,n){"use strict";var i=e(111),r=e(125),o={key:e(126),location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:e(127),charCode:function(e){return"keypress"===e.type?r(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?r(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};function s(e,t,n,r){i.call(this,e,t,n,r)}i.augmentClass(s,o),t.exports=s},{111:111,125:125,126:126,127:127}],109:[function(e,t,n){"use strict";var i=e(111),r=e(114),o={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:e(127),button:function(e){var t=e.button;return"which"in e?t:2===t?2:4===t?1:0},buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},pageX:function(e){return"pageX"in e?e.pageX:e.clientX+r.currentScrollLeft},pageY:function(e){return"pageY"in e?e.pageY:e.clientY+r.currentScrollTop}};function s(e,t,n,r){i.call(this,e,t,n,r)}i.augmentClass(s,o),t.exports=s},{111:111,114:114,127:127}],110:[function(e,t,n){"use strict";var i=e(111),r={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:e(127)};function o(e,t,n,r){i.call(this,e,t,n,r)}i.augmentClass(o,r),t.exports=o},{111:111,127:127}],111:[function(e,t,n){"use strict";var i=e(105),r=e(128),o={view:function(e){if(e.view)return e.view;var t=r(e);if(null!=t&&t.window===t)return t;var n=t.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||0}};function s(e,t,n,r){i.call(this,e,t,n,r)}i.augmentClass(s,o),t.exports=s},{105:105,128:128}],112:[function(e,t,n){"use strict";var i=e(109),r={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};function o(e,t,n,r){i.call(this,e,t,n,r)}i.augmentClass(o,r),t.exports=o},{109:109}],113:[function(e,t,n){"use strict";var i=e(161),r={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,n,r,o,s,a,l){var c,u;this.isInTransaction()&&i(!1,"Transaction.perform(...): Cannot initialize a transaction when there is already an outstanding transaction.");try{this._isInTransaction=!0,c=!0,this.initializeAll(0),u=e.call(t,n,r,o,s,a,l),c=!1}finally{try{if(c)try{this.closeAll(0)}catch(e){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return u},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++){var i=t[n];try{this.wrapperInitData[n]=o.OBSERVED_ERROR,this.wrapperInitData[n]=i.initialize?i.initialize.call(this):null}finally{if(this.wrapperInitData[n]===o.OBSERVED_ERROR)try{this.initializeAll(n+1)}catch(e){}}}},closeAll:function(e){this.isInTransaction()||i(!1,"Transaction.closeAll(): Cannot close transaction when none are open.");for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r,s=t[n],a=this.wrapperInitData[n];try{r=!0,a!==o.OBSERVED_ERROR&&s.close&&s.close.call(this,a),r=!1}finally{if(r)try{this.closeAll(n+1)}catch(e){}}}this.wrapperInitData.length=0}},o={Mixin:r,OBSERVED_ERROR:{}};t.exports=o},{161:161}],114:[function(e,t,n){"use strict";var i={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){i.currentScrollLeft=e.x,i.currentScrollTop=e.y}};t.exports=i},{}],115:[function(e,t,n){"use strict";var i=e(161);function r(e,t){if(null==t&&i(!1,"accumulateInto(...): Accumulated items must not be null or undefined."),null==e)return t;var n=Array.isArray(e),r=Array.isArray(t);return n&&r?(e.push.apply(e,t),e):n?(e.push(t),e):r?[e].concat(t):[e,t]}t.exports=r},{161:161}],116:[function(e,t,n){"use strict";var i=65521;function r(e){for(var t=1,n=0,r=0,o=e.length,s=-4&o;r<s;){for(;r<Math.min(r+4096,s);r+=4)n+=(t+=e.charCodeAt(r))+(t+=e.charCodeAt(r+1))+(t+=e.charCodeAt(r+2))+(t+=e.charCodeAt(r+3));t%=i,n%=i}for(;r<o;r++)n+=t+=e.charCodeAt(r);return(t%=i)|(n%=i)<<16}t.exports=r},{}],117:[function(e,t,n){"use strict";var i=!1;try{Object.defineProperty({},"x",{get:function(){}}),i=!0}catch(e){}t.exports=i},{}],118:[function(e,t,n){"use strict";var i=e(57),r=e(79),o=e(166),s=e(173),a=o({children:null}),l=!1;function c(e,t){s(l,"cloneWithProps(...) is deprecated. Please use React.cloneElement instead."),l=!0,s(!e.ref,"You are calling cloneWithProps() on a child with a ref. This is dangerous because you're creating a new child which will not be added as a ref to its parent.");var n=r.mergeProps(t,e.props);return!n.hasOwnProperty(a)&&e.props.hasOwnProperty(a)&&(n.children=e.props.children),i.createElement(e.type,n)}t.exports=c},{166:166,173:173,57:57,79:79}],119:[function(e,t,n){"use strict";var i=e(4).isUnitlessNumber;function r(e,t){return null==t||"boolean"==typeof t||""===t?"":isNaN(t)||0===t||i.hasOwnProperty(e)&&i[e]?""+t:("string"==typeof t&&(t=t.trim()),t+"px")}t.exports=r},{4:4}],120:[function(e,t,n){"use strict";var i=e(24),r=e(173);function o(e,t,n,o,s){var a=!1,l=function(){return r(a,"React.%s is deprecated. Please use %s.%s from require('%s') instead.",e,t,e,n),a=!0,s.apply(o,arguments)};return i(l,s)}t.exports=o},{173:173,24:24}],121:[function(e,t,n){"use strict";var i={"&":"&",">":">","<":"<",'"':""","'":"'"},r=/[&><"']/g;function o(e){return i[e]}function s(e){return(""+e).replace(r,o)}t.exports=s},{}],122:[function(e,t,n){"use strict";var i=e(39),r=e(68),o=e(72),s=e(161),a=e(173);function l(e){var t=i.current;return null!==t&&(a(t._warnedAboutRefsInRender,"%s is accessing getDOMNode or findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",t.getName()||"A component"),t._warnedAboutRefsInRender=!0),null==e?null:1===e.nodeType?e:r.has(e)?o.getNodeFromInstance(e):(null!=e.render&&"function"==typeof e.render&&s(!1,"findDOMNode was called on an unmounted component."),void s(!1,"Element appears to be neither ReactComponent nor DOMNode (keys: %s)",Object.keys(e)))}t.exports=l},{161:161,173:173,39:39,68:68,72:72}],123:[function(e,t,n){"use strict";var i=e(142),r=e(173);function o(e,t,n){var i=e,o=void 0===i[n];r(o,"flattenChildren(...): Encountered two children with the same key, `%s`. Child keys must be unique; when two children share a key, only the first child will be used.",n),o&&null!=t&&(i[n]=t)}function s(e){if(null==e)return e;var t={};return i(e,o,t),t}t.exports=s},{142:142,173:173}],124:[function(e,t,n){"use strict";var i=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)};t.exports=i},{}],125:[function(e,t,n){"use strict";function i(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,t>=32||13===t?t:0}t.exports=i},{}],126:[function(e,t,n){"use strict";var i=e(125),r={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},o={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function s(e){if(e.key){var t=r[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=i(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?o[e.keyCode]||"Unidentified":""}t.exports=s},{125:125}],127:[function(e,t,n){"use strict";var i={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function r(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=i[e];return!!n&&!!t[n]}function o(e){return r}t.exports=o},{}],128:[function(e,t,n){"use strict";function i(e){var t=e.target||e.srcElement||window;return 3===t.nodeType?t.parentNode:t}t.exports=i},{}],129:[function(e,t,n){"use strict";var i="function"==typeof Symbol&&Symbol.iterator,r="@@iterator";function o(e){var t=e&&(i&&e[i]||e[r]);if("function"==typeof t)return t}t.exports=o},{}],130:[function(e,t,n){"use strict";function i(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function r(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function o(e,t){for(var n=i(e),o=0,s=0;n;){if(3===n.nodeType){if(s=o+n.textContent.length,o<=t&&s>=t)return{node:n,offset:t-o};o=s}n=i(r(n))}}t.exports=o},{}],131:[function(e,t,n){"use strict";var i=e(147),r=null;function o(){return!r&&i.canUseDOM&&(r="textContent"in document.documentElement?"textContent":"innerText"),r}t.exports=o},{147:147}],132:[function(e,t,n){"use strict";var i=e(38),r=e(59),o=e(75),s=e(24),a=e(161),l=e(173),c=function(){};function u(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function h(e){return"function"==typeof e&&void 0!==e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function d(e){var t;if(null===e||!1===e)t=new r(d);else if("object"==typeof e){var n=e;(!n||"function"!=typeof n.type&&"string"!=typeof n.type)&&a(!1,"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",null==n.type?n.type:typeof n.type,u(n._owner)),t="string"==typeof n.type?o.createInternalComponent(n):h(n.type)?new n.type(n):new c}else"string"==typeof e||"number"==typeof e?t=o.createInstanceForText(e):a(!1,"Encountered invalid React node of type %s",typeof e);return l("function"==typeof t.construct&&"function"==typeof t.mountComponent&&"function"==typeof t.receiveComponent&&"function"==typeof t.unmountComponent,"Only React Components can be mounted."),t.construct(e),t._mountIndex=0,t._mountImage=null,t._isOwnerNecessary=!1,t._warnedAboutRefsInRender=!1,Object.preventExtensions&&Object.preventExtensions(t),t}s(c.prototype,i.Mixin,{_instantiateReactComponent:d}),t.exports=d},{161:161,173:173,24:24,38:38,59:59,75:75}],133:[function(e,t,n){"use strict";var i,r=e(147);
/**
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/
function o(e,t){if(!r.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,o=n in document;if(!o){var s=document.createElement("div");s.setAttribute(n,"return;"),o="function"==typeof s[n]}return!o&&i&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}r.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),t.exports=o},{147:147}],134:[function(e,t,n){"use strict";var i={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function r(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&i[e.type]||"textarea"===t)}t.exports=r},{}],135:[function(e,t,n){"use strict";var i=e(57),r=e(161);function o(e){return i.isValidElement(e)||r(!1,"onlyChild must be passed a children with exactly one child."),e}t.exports=o},{161:161,57:57}],136:[function(e,t,n){"use strict";var i=e(121);function r(e){return'"'+i(e)+'"'}t.exports=r},{121:121}],137:[function(e,t,n){"use strict";var i=e(72);t.exports=i.renderSubtreeIntoContainer},{72:72}],138:[function(e,t,n){"use strict";var i=e(147),r=/^[ \r\n\t\f]/,o=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,s=function(e,t){e.innerHTML=t};if("undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction&&(s=function(e,t){MSApp.execUnsafeLocalFunction((function(){e.innerHTML=t}))}),i.canUseDOM){var a=document.createElement("div");a.innerHTML=" ",""===a.innerHTML&&(s=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),r.test(t)||"<"===t[0]&&o.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t})}t.exports=s},{147:147}],139:[function(e,t,n){"use strict";var i=e(147),r=e(121),o=e(138),s=function(e,t){e.textContent=t};i.canUseDOM&&("textContent"in document.documentElement||(s=function(e,t){o(e,r(t))})),t.exports=s},{121:121,138:138,147:147}],140:[function(e,t,n){"use strict";var i=e(171);function r(e,t,n){return!i(e.props,t)||!i(e.state,n)}t.exports=r},{171:171}],141:[function(e,t,n){"use strict";function i(e,t){var n=null===e||!1===e,i=null===t||!1===t;if(n||i)return n===i;var r=typeof e,o=typeof t;return"string"===r||"number"===r?"string"===o||"number"===o:"object"===o&&e.type===t.type&&e.key===t.key}t.exports=i},{}],142:[function(e,t,n){"use strict";var i=e(39),r=e(57),o=e(67),s=e(129),a=e(161),l=e(173),c=o.SEPARATOR,u=":",h={"=":"=0",".":"=1",":":"=2"},d=/[=.:]/g,p=!1;function f(e){return h[e]}function g(e,t){return e&&null!=e.key?v(e.key):t.toString(36)}function m(e){return(""+e).replace(d,f)}function v(e){return"$"+m(e)}function y(e,t,n,o){var h,d=typeof e;if("undefined"!==d&&"boolean"!==d||(e=null),null===e||"string"===d||"number"===d||r.isValidElement(e))return n(o,e,""===t?c+g(e,0):t),1;var f=0,m=""===t?c:t+u;if(Array.isArray(e))for(var S=0;S<e.length;S++)f+=y(h=e[S],m+g(h,S),n,o);else{var b=s(e);if(b){var w,x=b.call(e);if(b!==e.entries)for(var C=0;!(w=x.next()).done;)f+=y(h=w.value,m+g(h,C++),n,o);else for(l(p,"Using Maps as children is not yet fully supported. It is an experimental feature that might be removed. Convert it to a sequence / iterable of keyed ReactElements instead."),p=!0;!(w=x.next()).done;){var E=w.value;E&&(f+=y(h=E[1],m+v(E[0])+u+g(h,0),n,o))}}else if("object"===d){var P="";if(P=" If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons.",e._isReactElement&&(P=" It looks like you're using an element created by a different version of React. Make sure to use only one copy of React."),i.current){var T=i.current.getName();T&&(P+=" Check the render method of `"+T+"`.")}var D=String(e);a(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===D?"object with keys {"+Object.keys(e).join(", ")+"}":D,P)}}return f}function S(e,t,n){return null==e?0:y(e,"",t,n)}t.exports=S},{129:129,161:161,173:173,39:39,57:57,67:67}],143:[function(e,t,n){"use strict";var i=e(24),r=e(166),o=e(161),s={}.hasOwnProperty;function a(e){return Array.isArray(e)?e.concat():e&&"object"==typeof e?i(new e.constructor,e):e}var l=r({$push:null}),c=r({$unshift:null}),u=r({$splice:null}),h=r({$set:null}),d=r({$merge:null}),p=r({$apply:null}),f=[l,c,u,h,d,p],g={};function m(e,t,n){Array.isArray(e)||o(!1,"update(): expected target of %s to be an array; got %s.",n,e);var i=t[n];Array.isArray(i)||o(!1,"update(): expected spec of %s to be an array; got %s. Did you forget to wrap your parameter in an array?",n,i)}function v(e,t){if("object"!=typeof t&&o(!1,"update(): You provided a key path to update() that did not contain one of %s. Did you forget to include {%s: ...}?",f.join(", "),h),s.call(t,h))return 1!==Object.keys(t).length&&o(!1,"Cannot have more than one key in an object with %s",h),t[h];var n=a(e);if(s.call(t,d)){var r=t[d];r&&"object"==typeof r||o(!1,"update(): %s expects a spec of type 'object'; got %s",d,r),n&&"object"==typeof n||o(!1,"update(): %s expects a target of type 'object'; got %s",d,n),i(n,t[d])}for(var y in s.call(t,l)&&(m(e,t,l),t[l].forEach((function(e){n.push(e)}))),s.call(t,c)&&(m(e,t,c),t[c].forEach((function(e){n.unshift(e)}))),s.call(t,u)&&(Array.isArray(e)||o(!1,"Expected %s target to be an array; got %s",u,e),Array.isArray(t[u])||o(!1,"update(): expected spec of %s to be an array of arrays; got %s. Did you forget to wrap your parameters in an array?",u,t[u]),t[u].forEach((function(e){Array.isArray(e)||o(!1,"update(): expected spec of %s to be an array of arrays; got %s. Did you forget to wrap your parameters in an array?",u,t[u]),n.splice.apply(n,e)}))),s.call(t,p)&&("function"!=typeof t[p]&&o(!1,"update(): expected spec of %s to be a function; got %s.",p,t[p]),n=t[p](n)),t)g.hasOwnProperty(y)&&g[y]||(n[y]=v(e[y],t[y]));return n}f.forEach((function(e){g[e]=!0})),t.exports=v},{161:161,166:166,24:24}],144:[function(e,t,n){"use strict";var i=e(24),r=e(153),o=e(173),s=r,a=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],l=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],c=l.concat(["button"]),u=["dd","dt","li","option","optgroup","p","rp","rt"],h={parentTag:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null},d=function(e,t,n){var r=i({},e||h),o={tag:t,instance:n};return-1!==l.indexOf(t)&&(r.aTagInScope=null,r.buttonTagInScope=null,r.nobrTagInScope=null),-1!==c.indexOf(t)&&(r.pTagInButtonScope=null),-1!==a.indexOf(t)&&"address"!==t&&"div"!==t&&"p"!==t&&(r.listItemTagAutoclosing=null,r.dlItemTagAutoclosing=null),r.parentTag=o,"form"===t&&(r.formTag=o),"a"===t&&(r.aTagInScope=o),"button"===t&&(r.buttonTagInScope=o),"nobr"===t&&(r.nobrTagInScope=o),"p"===t&&(r.pTagInButtonScope=o),"li"===t&&(r.listItemTagAutoclosing=o),"dd"!==t&&"dt"!==t||(r.dlItemTagAutoclosing=o),r},p=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===u.indexOf(t);case"caption":case"col":case"colgroup":case"frame":case"head":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0},f=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},g=function(e){if(!e)return[];var t=[];do{t.push(e)}while(e=e._currentElement._owner);return t.reverse(),t},m={};(s=function(e,t,n){var i=(n=n||h).parentTag,r=i&&i.tag,s=p(e,r)?null:i,a=s?null:f(e,n),l=s||a;if(l){var c,u=l.tag,d=l.instance,v=t&&t._currentElement._owner,y=d&&d._currentElement._owner,S=g(v),b=g(y),w=Math.min(S.length,b.length),x=-1;for(c=0;c<w&&S[c]===b[c];c++)x=c;var C="(unknown)",E=S.slice(x+1).map((function(e){return e.getName()||C})),P=b.slice(x+1).map((function(e){return e.getName()||C})),T=[].concat(-1!==x?S[x].getName()||C:[],P,u,a?["..."]:[],E,e).join(" > "),D=!!s+"|"+e+"|"+u+"|"+T;if(m[D])return;if(m[D]=!0,s){var A="";"table"===u&&"tr"===e&&(A+=" Add a <tbody> to your code to match the DOM tree generated by the browser."),o(!1,"validateDOMNesting(...): <%s> cannot appear as a child of <%s>. See %s.%s",e,u,T,A)}else o(!1,"validateDOMNesting(...): <%s> cannot appear as a descendant of <%s>. See %s.",e,u,T)}}).ancestorInfoContextKey="__validateDOMNesting_ancestorInfo$"+Math.random().toString(36).slice(2),s.updatedAncestorInfo=d,s.isTagValidInContext=function(e,t){var n=(t=t||h).parentTag,i=n&&n.tag;return p(e,i)&&!f(e,t)},t.exports=s},{153:153,173:173,24:24}],145:[function(e,t,n){"use strict";var i=e(161),r={addClass:function(e,t){return/\s/.test(t)&&i(!1,'CSSCore.addClass takes only a single class name. "%s" contains multiple classes.',t),t&&(e.classList?e.classList.add(t):r.hasClass(e,t)||(e.className=e.className+" "+t)),e},removeClass:function(e,t){return/\s/.test(t)&&i(!1,'CSSCore.removeClass takes only a single class name. "%s" contains multiple classes.',t),t&&(e.classList?e.classList.remove(t):r.hasClass(e,t)&&(e.className=e.className.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,""))),e},conditionClass:function(e,t,n){return(n?r.addClass:r.removeClass)(e,t)},hasClass:function(e,t){return/\s/.test(t)&&i(!1,"CSS.hasClass takes only a single class name."),e.classList?!!t&&e.classList.contains(t):(" "+e.className+" ").indexOf(" "+t+" ")>-1}};t.exports=r},{161:161}],146:[function(e,t,n){"use strict";var i=e(153),r={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):(console.error("Attempted to listen to events during the capture phase on a browser that does not support the capture phase. Your application will not receive some events."),{remove:i})},registerDefault:function(){}};t.exports=r},{153:153}],147:[function(e,t,n){"use strict";var i=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen,isInWorker:!i};t.exports=r},{}],148:[function(e,t,n){"use strict";var i=/-(.)/g;function r(e){return e.replace(i,(function(e,t){return t.toUpperCase()}))}t.exports=r},{}],149:[function(e,t,n){"use strict";var i=e(148),r=/^-ms-/;function o(e){return i(e.replace(r,"ms-"))}t.exports=o},{148:148}],150:[function(e,t,n){"use strict";var i=e(163);function r(e,t){var n=!0;e:for(;n;){var r=e,o=t;if(n=!1,r&&o){if(r===o)return!0;if(i(r))return!1;if(i(o)){e=r,t=o.parentNode,n=!0;continue e}return r.contains?r.contains(o):!!r.compareDocumentPosition&&!!(16&r.compareDocumentPosition(o))}return!1}}t.exports=r},{163:163}],151:[function(e,t,n){"use strict";var i=e(172);function r(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}function o(e){return r(e)?Array.isArray(e)?e.slice():i(e):[e]}t.exports=o},{172:172}],152:[function(e,t,n){"use strict";var i=e(147),r=e(151),o=e(157),s=e(161),a=i.canUseDOM?document.createElement("div"):null,l=/^\s*<(\w+)/,c={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"};function u(e){var t=e.match(l),n=t&&t[1].toLowerCase();return c.hasOwnProperty(n)?c[n]:n}function h(e,t){var n=a;a||s(!1,"createNodesFromMarkup dummy not initialized");var i=u(e),l=i&&o(i);if(l){n.innerHTML=l[1]+e+l[2];for(var c=l[0];c--;)n=n.lastChild}else n.innerHTML=e;var h=n.getElementsByTagName("script");h.length&&(t||s(!1,"createNodesFromMarkup(...): Unexpected <script> element rendered."),r(h).forEach(t));for(var d=r(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return d}t.exports=h},{147:147,151:151,157:157,161:161}],153:[function(e,t,n){"use strict";function i(e){return function(){return e}}function r(){}r.thatReturns=i,r.thatReturnsFalse=i(!1),r.thatReturnsTrue=i(!0),r.thatReturnsNull=i(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},t.exports=r},{}],154:[function(e,t,n){"use strict";var i={};Object.freeze(i),t.exports=i},{}],155:[function(e,t,n){"use strict";function i(e){try{e.focus()}catch(e){}}t.exports=i},{}],156:[function(e,t,n){"use strict";function i(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(e){return document.body}}t.exports=i},{}],157:[function(e,t,n){"use strict";var i=e(147),r=e(161),o=i.canUseDOM?document.createElement("div"):null,s={},a=[1,'<select multiple="true">',"</select>"],l=[1,"<table>","</table>"],c=[3,"<table><tbody><tr>","</tr></tbody></table>"],u=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],h={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:a,option:a,caption:l,colgroup:l,tbody:l,tfoot:l,thead:l,td:c,th:c};function d(e){return o||r(!1,"Markup wrapping node not initialized"),h.hasOwnProperty(e)||(e="*"),s.hasOwnProperty(e)||(o.innerHTML="*"===e?"<link />":"<"+e+"></"+e+">",s[e]=!o.firstChild),s[e]?h[e]:null}["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan","use","filter","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feTile","feTurbulence"].forEach((function(e){h[e]=u,s[e]=!0})),t.exports=d},{147:147,161:161}],158:[function(e,t,n){"use strict";function i(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}t.exports=i},{}],159:[function(e,t,n){"use strict";var i=/([A-Z])/g;function r(e){return e.replace(i,"-$1").toLowerCase()}t.exports=r},{}],160:[function(e,t,n){"use strict";var i=e(159),r=/^ms-/;function o(e){return i(e).replace(r,"-ms-")}t.exports=o},{159:159}],161:[function(e,t,n){"use strict";function i(e,t,n,i,r,o,s,a){if(void 0===t)throw new Error("invariant requires an error message argument");if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,i,r,o,s,a],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}t.exports=i},{}],162:[function(e,t,n){"use strict";function i(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}t.exports=i},{}],163:[function(e,t,n){"use strict";var i=e(162);function r(e){return i(e)&&3==e.nodeType}t.exports=r},{162:162}],164:[function(e,t,n){"use strict";function i(e){var t;e||(e="");var n=arguments.length;if(n>1)for(var i=1;i<n;i++)(t=arguments[i])&&(e=(e?e+" ":"")+t);return e}t.exports=i},{}],165:[function(e,t,n){"use strict";var i=e(161),r=function(e){var t,n={};for(t in e instanceof Object&&!Array.isArray(e)||i(!1,"keyMirror(...): Argument must be an object."),e)e.hasOwnProperty(t)&&(n[t]=t);return n};t.exports=r},{161:161}],166:[function(e,t,n){"use strict";var i=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};t.exports=i},{}],167:[function(e,t,n){"use strict";var i=Object.prototype.hasOwnProperty;function r(e,t,n){if(!e)return null;var r={};for(var o in e)i.call(e,o)&&(r[o]=t.call(n,e[o],o,e));return r}t.exports=r},{}],168:[function(e,t,n){"use strict";function i(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}t.exports=i},{}],169:[function(e,t,n){"use strict";var i;e(147).canUseDOM&&(i=window.performance||window.msPerformance||window.webkitPerformance),t.exports=i||{}},{147:147}],170:[function(e,t,n){"use strict";var i,r=e(169);i=r.now?function(){return r.now()}:function(){return Date.now()},t.exports=i},{169:169}],171:[function(e,t,n){"use strict";var i=Object.prototype.hasOwnProperty;function r(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=i.bind(t),s=0;s<n.length;s++)if(!o(n[s])||e[n[s]]!==t[n[s]])return!1;return!0}t.exports=r},{}],172:[function(e,t,n){"use strict";var i=e(161);function r(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&i(!1,"toArray: Array-like object expected"),"number"!=typeof t&&i(!1,"toArray: Object needs a length property"),0===t||t-1 in e||i(!1,"toArray: Object should have keys for indices"),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}t.exports=r},{161:161}],173:[function(e,t,n){"use strict";var i=e(153);i=function(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){var o=0,s="Warning: "+t.replace(/%s/g,(function(){return i[o++]}));"undefined"!=typeof console&&console.error(s);try{throw new Error(s)}catch(e){}}},t.exports=i},{153:153}]},{},[1])(1)}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={exports:{}};return e[i].call(o.exports,o,o.exports,n),o.exports}n.amdD=function(){throw new Error("define cannot be used indirect")},Promise.resolve().then((function(){var e=[n(3488)];(function(e){e.init(),Promise.resolve().then((function(){var e=[n(3305),n(882),n(3488),n(5214),n(6292)];(function(e,t){Promise.resolve().then((function(){var i=[n(9890),n(2658),n(2486),n(4196),n(4242),n(9656),n(3723),n(1853),n(981),n(2828),n(2995),n(5749),n(9838),n(5955),n(4753),n(3097),n(6523),n(765),n(7877),n(42)];(function(n,i,r,o,s,a,l,c,u,h,d,p,f,g,m,v,y,S,b){var w=DS._,x=DS.events,C=DS.pubSub,E=DS.detection,P=DS.vow,T=DS.errorManager,D=DS.fontManager,A=DS.windowManager,I=DS.slideNumberManager,k=DS.resumer,R=DS.captionsManager,_=DS.scaler,M=DS.appState;DS.renderEngine={createWindowFor:function(n,i,r,o){var s=E.theme.isUnified?v:m,a=t.render(e.createElement(i?s:g,r),n.querySelector(".slide-container"));return null!=o&&t.render(e.createElement(S,{slideContainer:a.refs.slideContainer,getWinScale:r.getWinScale,container:o}),o),a},closeWindow:function(e,n){t.unmountComponentAtNode(e),null!=n&&t.unmountComponentAtNode(n)},createMobileStartOverlay:function(){var n=document.getElementById("preso");return this.mobileStartContainer=document.createElement("div"),this.mobileStartContainer.setAttribute("id","mobile-start-container"),this.mobileStartContainer.classList.add("fn-".concat(DS.frame.getDefaultLayout())),n.parentNode.insertBefore(this.mobileStartContainer,n.nextSibling),t.render(e.createElement(y),this.mobileStartContainer)},showMobileStartOverlay:function(){this.mobileStartContainer.style.display="block"},killMobileStartOverlay:function(){this.mobileStartContainer.style.display="none"}},b.createLib(),document.body.role="presentation";var O,L=new n,V=function(e){var t=k.initialize(L,e);_.initialize(),r.initialize(L),i.initialize(L.assetLib()),h.initialize(L.audioplaylists()),d.initialize(L.globalaudiolib()),u.initialize(L),p.initialize(L),O.always((function(){if(C.trigger(x.data.INITIALIZED),C.trigger(x.ds.PRESO_LOADED,o),null!=DS.playerGlobals.player){var e=null!=L.playerVars()?L.playerVars().variables():null;R.initialize(L.assetLib(),DS.playerGlobals.player,A,null!=e?e.get("displayCaptions"):null),I.initialize(A,L,DS.playerGlobals.player.getNavData()),_.connectVariables(null!=e?e.get("zoomToFit"):null),null!=e&&M.connectVariables({accessibleTextVar:e.get("accessibleText"),fullScreenModeVar:e.get("fullScreenMode")})}t.always((function(){f.initialize(),C.trigger(x.loader.REMOVE_TITLE),C.trigger(x.main.PREPARE_AUDIO,L),c.prepare(),P.isRejected(t)&&C.trigger(x.request.NEXT_SLIDE),k.courseStarted(P.isResolved(t))})).catch((function(e){return e}))}))};P.when(L.fetch(),s.fetch()).then((function(){DS.presentation=L,L.initializeFlagManager(),O=D.loadFonts(L),Promise.all([a.prepare(L),l.prepare(L),c.initialize(L)]).then((function(e){return V(w.some(e))})).catch((function(e){return V(w.some(e))}))})).catch((function(){T.throwError("init","initialization","Could not load presentation data")}))}).apply(null,i)})).catch(n.oe)}).apply(null,e)})).catch(n.oe)}).apply(null,e)})).catch(n.oe)}();