(function(){var h;function aa(a){var b=0;return function(){return bc&&(c=Math.max(c+e,0));c>>0),oa=0;function pa(a,b,c){return a.call.apply(a.bind,arguments)} function qa(a,b,c){if(!a)throw Error();if(2String(c).indexOf(a.message)&&ya(a.message,b);ya(c,b)}window.onerror=function(a){for(var b=[],c=0;cb?null:q(a)?a.charAt(b):a[b]}function Da(a){var b=a.length;if(0=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};var Ha=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};function Ia(a){if(!Ja.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Ka,"&"));-1!=a.indexOf("<")&&(a=a.replace(La,"<"));-1!=a.indexOf(">")&&(a=a.replace(Ma,">"));-1!=a.indexOf('"')&&(a=a.replace(Na,"""));-1!=a.indexOf("'")&&(a=a.replace(Oa,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Pa,"�"));return a} var Ka=/&/g,La=//g,Na=/"/g,Oa=/'/g,Pa=/\x00/g,Ja=/[\x00&<>"']/;function Qa(a,b){return ab?1:0}function Ra(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})}function Sa(a){var b=q(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#parseFloat(fb)){eb=String(hb);break a}}eb=fb}var ib={},jb;var kb=n.document;jb=kb&&C?db()||("CSS1Compat"==kb.compatMode?parseInt(eb,10):5):void 0;function lb(){};function D(){}r("ispring.events.IEventDispatcher",D,void 0);D.prototype.addHandler=function(){};D.prototype.addHandler=D.prototype.addHandler;D.prototype.removeHandler=function(){};D.prototype.removeHandler=D.prototype.removeHandler;function mb(){this.Y=this.O=this.pa=null}mb.prototype.push=function(a,b){if(0==b)this.Y=this.Y||[];else if(this.pa=this.pa||[0],this.O=this.O||{},!(b in this.O)){this.O[b]=[];var c=this.pa;var d=0;for(var e=c.length,f;d>1;var k=c[g];k=b>k?1:bd&&Fa(c,-(d+1),0,b)}b=nb(this,b);x(b).push(a)};mb.prototype.remove=function(a,b){if(b=nb(this,b))a=y(b,a),0<=a&&(x(null!=b.length),Array.prototype.splice.call(b,a,1))}; function ob(a,b){return 0==b?a.Y||[]:b in x(a.O)?x(nb(a,b)):[]}function pb(a){if(!a.O)return a.Y?a.Y.slice():[];for(var b=[],c=x(a.pa),d=0;d=this.Za,a&&this.wb||(this.Ya=!0,this.qa=ra(),a||(this.ra=setTimeout(w(this.Ra,this),this.Za-this.V))))};h.Ra=function(){this.wb&&(this.stop(),this.sa=this.Za);this.xb.wa()}; h.stop=function(){this.started()&&(this.Ya=!1,0a||a>=this.count())throw Error("Index out of bounds");return this.c[a]};function Qb(){this.Xa=new Q;this.ka=new Q};function Rb(a){L.apply(this,arguments)}m(Rb,L);h=Rb.prototype;h.a=function(a,b){L.prototype.a.call(this,a,b);a.h="matching";var c=b.contentState(),d=b.slide().content(),e=this.Ta(d);b=e.va;var f=e.premises,g=e.responses;e=e.Zb;c=this.Ka(c.chainsStates(),f,g,e);a.o=c;this.j&&(c=[this.j?this.La(d.chains(),f,g,e):c],a.s=c);a.w=b}; h.Ta=function(a){var b=new Qb,c=[],d=[];a=a.chains();a=l(a);for(var e=a.next();!e.done;e=a.next()){var f=e.value;e=f.object().slideObject();f=f.destination().slideObject();if(e&&0>c.indexOf(e)){c.push(e);var g=e.name();R(b.Xa,new P(J(c.indexOf(e)+"_"+g),g))}f&&0>d.indexOf(f)&&(d.push(f),e=f.name(),R(b.ka,new P(J(d.indexOf(f)+"_"+e),e)))}a=this.g?K(d.length,!1):d.length+"_None";R(b.ka,new P(a,"None"));return{va:b,premises:c,responses:d,Zb:a}}; h.Ka=function(a,b,c,d){var e=[],f=b.slice();a=l(a);for(var g=a.next();!g.done;g=a.next()){var k=g.value;g=k.objectState().slideObject();k=k.destinationState().slideObject();k=this.T(g,k,b,c,d);e.push(k);f.splice(f.indexOf(g),1)}f=l(f);for(a=f.next();!a.done;a=f.next())a=this.T(a.value,null,b,c,d),e.push(a);return this.da(e)}; h.La=function(a,b,c,d){var e=[];a=l(a);for(var f=a.next();!f.done;f=a.next()){var g=f.value;f=g.object().slideObject();g=g.destination().slideObject();f&&(f=this.T(f,g,b,c,d),e.push(f))}return this.da(e)};h.fa=function(a,b,c){this.g?b=K(b,c):(a=a.name(),a=J(a),b=b+"_"+a);return b};h.T=function(a,b,c,d,e){a=this.fa(a,c.indexOf(a),!0);b=b?this.fa(b,d.indexOf(b),!1):e;d=this.g?".":"[.]";return J(a)+d+J(b)};h.da=function(a){return a.join(this.g?",":"[,]")};function Sb(a){L.apply(this,arguments)}m(Sb,L);Sb.prototype.a=function(a,b){L.prototype.a.call(this,a,b);a.h="long-fill-in";b=b.contentState().response();a.o=b};function Tb(a){L.apply(this,arguments)}m(Tb,L);Tb.prototype.a=function(a,b){L.prototype.a.call(this,a,b);a.h=this.g?"other":"fill-in";var c=b.contentState();b=[];var d=[];c=l(c.placeholders());for(var e=c.next();!e.done;e=c.next())e=e.value,b.push(e.response()),(e=e.correctAnswers())&&(this.yb?d.push(e[0]):d.push(e.join("[,]")));a.o=b.join("[,]");if(this.j){b=d;if(this.g||this.yb)b=[b.join(this.g?"[.]":"[,]")];a.s=b}};function S(){this.c=new Q};function Ub(a){L.apply(this,arguments)}m(Ub,L);Ub.prototype.a=function(a,b){L.prototype.a.call(this,a,b);a.h="choice";var c=[],d=[],e=new S;this.Ia(b.contentState(),e,d,c);a.o=Pb(this,c);this.j&&(a.s=[Pb(this,d)]);a.w=e}; Ub.prototype.Ia=function(a,b,c,d){var e=this;a.areas().forEach(function(f,g){var k=f.area(),t=k.label().text();g=O(e,g,t);k.correct()&&c.push(g);a.areaSelected(f)&&d.push(g);R(b.c,new P(g,t))});for(var f=a.areas().length,g=f;gg;++g){var k=b.getChoiceState(g);if(k.selected()){f=k.choice().id()==c?d:e;break}}a.o=f;a.s=[d]}};dc.prototype.hb=function(){return!1};function ec(a){L.apply(this,arguments)}m(ec,L);ec.prototype.a=function(a,b){L.prototype.a.call(this,a,b);a.h="fill-in";var c=b.slide();b=b.contentState().response().text();a.o=b;this.j&&(c=this.Ja(c.content()),a.s=c)};ec.prototype.Ja=function(a){for(var b=[],c=0;c");f=f.join("")}f=e.createElement(f);g&&(q(g)?f.className=g:"array"==u(g)?f.className=g.join(" "):wc(f,g));2","

c){c=a.substr(c,f.xa-c);var g=yc("DIV");g.innerHTML=c;d+=(g.textContent||g.innerText||Ec(g))+b;c=f.xa}if(g=Zc(a,["

","

"],c)){f=g.xa+g.cc.length-c;var k=a.substr(c,f);g=yc("DIV");g.innerHTML=k;d+=(g.textContent||g.innerText||Ec(g))+b;c+=f}else return g=yc("DIV"),g.innerHTML=a.substr(c,e-c),d+(g.textContent||g.innerText||Ec(g))}while(cb;++b){if(a.API)return a.API;var c=a.parent;if(!c||a==c)break;a=c}}catch(f){}return null}var b=window;return a(b)||b.opener&&a(b.opener)}function fd(a){var b=Math.floor(a/3600),c=Math.floor(a%3600/60);a=Math.floor(a%60);return(10>b?"0"+b:b)+":"+(10>c?"0"+c:c)+":"+(10>a?"0"+a:a)} function gd(){if(hd)if(hd){var a=new Vc("closeWindow");if(hd){var b=a.h,c=a.Bb;a=a.id();var d=(new Nc(null)).serialize(c);if(Kc)c=n.btoa(d);else{c=[];for(var e=0,f=0;f>=8);c[e++]=g}x(ma(c),"encodeByteArray takes an array as a parameter");if(!Jc)for(Jc={},d=0;65>d;d++)Jc[d]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(d);d=Jc;e=[];for(f=0;f>2;k=(k&3)<<4|t>>4;t=(t&15)<<2|M>>6;M&=63;E||(M=64,g||(t=64));e.push(d[pd],d[k],d[t],d[M])}c=e.join("")}Wc("isplayer://"+b+"/"+a+"/"+c)}}else try{id||(window.open("","_self",""),window.close())}catch(Ld){}else try{id||(window.za=window,b=jd(),b==window.top?(window.open("","_self",""),window.close()):kd(b))}catch(Ld){kd(window.top)}}function kd(a){if(a&&a.za){var b=document.createElement("a");b.href="data/goodbye.html";a.za.location.replace(b.href)}} function jd(){var a=window;if(a.za)return a;for(var b=0;a!=window.top&&100>b++;){if(a.za)return a;a=a.parent}console.log("Unable to locate content root");return null}function ld(){try{var a=document.getElementById("preloader");a&&a.parentNode.removeChild(a)}catch(b){}};var md={Ec:"resumePlayback",lc:"gotoSlide",hc:"delayStartup"};r("ispring.presenter.player.startup.PresentationStartup.Action",md,void 0);r("RESUME_PLAYBACK","resumePlayback",md);r("GOTO_SLIDE","gotoSlide",md);r("DELAY_STARTUP","delayStartup",md);var nd={Bc:"prompt",fc:"always",wc:"never"};r("ispring.presenter.presentation.settings.PresentationResumeMode",nd,void 0);r("PROMPT_TO_RESUME","prompt",nd);r("ALWAYS_RESUME","always",nd);r("NEVER_RESUME","never",nd);(function(){function a(a){try{return a.ISPlayer&&(window.ISPlayer=a.ISPlayer),a.ISPVideoPlayer&&(window.ISPVideoPlayer=a.ISPVideoPlayer),a.ISPQuizPlayer&&(window.ISPQuizPlayer=a.ISPQuizPlayer),a.ISPInteractionPlayerCore&&(window.ISPInteractionPlayerCore=a.ISPInteractionPlayerCore),a.ISPBookPlayer&&(window.ISPBookPlayer=a.ISPBookPlayer),a.ISPScenarioPlayer&&(window.ISPScenarioPlayer=a.ISPScenarioPlayer),a.ISPFlipPlayer&&(window.ISPFlipPlayer=a.ISPFlipPlayer),!0}catch(e){return!1}}if(function(){try{var a= window.frameElement}catch(e){}return null!=a}())for(var b=window,c=7;b&&b.parent!=b&&0!=c--&&!a(b.parent);)b=b.parent})();var od,qd=Xc().user_agent;od=qd?qd:z||"";Xc();Xc();var rd=-1!=od.toLowerCase().indexOf("chrome"),id=-1==od.toLowerCase().indexOf("windows phone")&&-1!=od.toLowerCase().indexOf("android")&&!rd&&!Hc&&!$a,hd=-1!=od.indexOf("ismobile"),sd=document.createElement("audio"),td=sd.play&&sd.play();td&&td.then(function(){sd.pause()},function(){});Xc();Xc(); function ud(){return 1==window._ispringDebug||"1"==Xc().isdebug}if(A("Windows")){var vd=z,X;if(A("Windows")){X=/Windows (?:NT|Phone) ([0-9.]+)/;var wd=X.exec(vd)}else Za()||A("iPad")||A("iPod")?(X=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,(wd=X.exec(vd))&&wd[1].replace(/_/g,".")):A("Macintosh")?(X=/Mac OS X ([0-9_.]+)/,(wd=X.exec(vd))&&wd[1].replace(/_/g,".")):A("Android")?(X=/Android\s+([^\);]+)(\)|;)/,wd=X.exec(vd)):A("CrOS")&&(X=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,wd=X.exec(vd))} setTimeout(function(){xa=ud},0);function Y(a,b){try{this.Ca=a;this.ma={};this.Fa=null;this.K=new Gb(b.slidesToView,b.slidesWeight,b.quizzes||{},b.scenarios||{},b.totalScore,b.passingScore);this.N=new Hb(1E3*b.timeLimit,b.exitOnTimeout,b.showMessageOnTimeout,b.timeoutMessage);this.X=new Ib(this.N.timeLimit(),this.N.Ha);var c=new qb(b.flags);this.B="never"!=b.resumeMode;var d=new rb("ispring://presentations/"+encodeURIComponent(b.presentationId),c,b.tincan.i18n,this.B);this.tb=new sb;this.l=Jb(a,d,this.tb)}catch(e){ud()&&alert(e)}} h=Y.prototype;h.C=!1;h.ha=null;h.H=!1;h.m=null;h.L=null;h.vb=!1;h.v=null;h.F=null;var xd=h.ja=null;r("iSpring.LMS.create",function(a,b,c){x(!xd);return xd=new Y(b,c)},void 0);r("iSpring.LMS.instance",function(){return x(xd)},void 0);Y.prototype.R=function(a){this.ha=a;null!=this.l?this.l.R(w(this.Ib,this),w(this.lb,this)):this.lb()};Y.prototype.initialize=Y.prototype.R; Y.prototype.Ib=function(){this.U="normal";var a=null;var b=this.l.f.$("cmi.suspend_data");if(b)a:{b=LZString.decompressFromBase64(b);try{var c=Mc(b);break a}catch(d){}c=null}else c=null;switch(this.U){case "browse":a=null;break;case "review":c&&(a=yd(this,c));break;case "normal":this.B&&c&&(a=yd(this,c))}window.launchMode=this.U;p(a)&&(this.C=!0,this.ha&&this.ha(a))}; function yd(a,b){var c=new yb(B(b,Cb,[]));c.J=B(b,zb,0);c.na=B(b,Ab,-1);c.P=B(b,Bb,[]);c.oa=B(b,Db,null);var d={};b=B(b,Eb,{});for(var e in b){var f=b[e];d[e]=new I(f[xb],f[tb],f[ub],f[vb],f[wb])}c.G=d;a.L=c;c=a.L.duration();if(a.N.Ha&&c>=a.N.timeLimit())alert("You have already exceeded available time for viewing this content."),ld(),gd();else return a.L.oa}Y.prototype.lb=function(){this.ha&&this.ha()}; Y.prototype.start=function(a){if(this.C){for(var b=a.presentation().slides(),c=[],d=0;d=b.passingScore()}function Jd(a){var b=a.K,c=a.i.P,d=a.i.ta,e=a.i.G;a=a.m.presentation().slides();for(var f=0;fc||(b="cmi.interactions."+c+".",Nd(a,b,this),c=a.duration(),null===c||this.b(b+Z.duration,fd(c/1E3)),a=a.fb(),null===a||this.b(b+Z.fb,fd(3600*a.getHours()+60*a.getMinutes()+a.getSeconds())))};function Pd(){}h=Pd.prototype;h.f=null;h.Ab=function(){throw Error("unimplemented abstract method");};h.R=function(a,b){if(this.f=this.Ab()){var c=this.f;c.C?a():null!=c.u?(c.C=c.u.R(),c.C?a():b()):(c.C=!1,b())}else b()};h.Z=function(){this.f.Z()};h.suspend=function(){this.f.terminate(!0);ld();gd()};h.terminate=function(){this.f.terminate(!1);ld();gd()};h.S=function(a,b){this.f.Ba(a);this.f.S(a,b)};h.aa=function(a,b,c,d){this.f.aa(d,b,c,a)};h.ua=function(a,b){this.f.ua(b)};function Qd(a){this.Ua=a.Ua;this.B=a.B}sa(Qd,Pd);r("iSpring.LMSAPI.Scorm12Api",Qd,void 0);Qd.prototype.Ab=function(){return new Od(this.B)};Qd.prototype.S=function(a,b){var c=null===a;b=c?b:a;this.f.Ba(a);null===b?this.f.S(null,null):!c&&this.Ua.Jb&(b?2:1)?this.f.S(b,null):this.f.S(null,b)};})(); var LZString={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_f:String.fromCharCode,compressToBase64:function(e){if(e==null)return"";var t="";var n,r,i,s,o,u,a;var f=0;e=LZString.compress(e);while(f>8;r=e.charCodeAt(f/2)&255;if(f/2+1>8;else i=NaN}else{n=e.charCodeAt((f-1)/2)&255;if((f+1)/2>8;i=e.charCodeAt((f+1)/2)&255}else r=i=NaN}f+=3;s=n>>2;o=(n&3)<<4|r>>4;u=(r&15)<<2|i>>6;a=i&63;if(isNaN(r)){u=a=64}else if(isNaN(i)){a=64}t=t+LZString._keyStr.charAt(s)+LZString._keyStr.charAt(o)+LZString._keyStr.charAt(u)+LZString._keyStr.charAt(a)}return t},decompressFromBase64:function(e){if(e==null)return"";var t="",n=0,r,i,s,o,u,a,f,l,c=0,h=LZString._f;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(c>4;s=(a&15)<<4|f>>2;o=(f&3)<<6|l;if(n%2==0){r=i<<8;if(f!=64){t+=h(r|s)}if(l!=64){r=o<<8}}else{t=t+h(r|i);if(f!=64){r=s<<8}if(l!=64){t+=h(r|o)}}n+=3}return LZString.decompress(t)},compressToUTF16:function(e){if(e==null)return"";var t="",n,r,i,s=0,o=LZString._f;e=LZString.compress(e);for(n=0;n>1)+32);i=(r&1)<<14;break;case 1:t+=o(i+(r>>2)+32);i=(r&3)<<13;break;case 2:t+=o(i+(r>>3)+32);i=(r&7)<<12;break;case 3:t+=o(i+(r>>4)+32);i=(r&15)<<11;break;case 4:t+=o(i+(r>>5)+32);i=(r&31)<<10;break;case 5:t+=o(i+(r>>6)+32);i=(r&63)<<9;break;case 6:t+=o(i+(r>>7)+32);i=(r&127)<<8;break;case 7:t+=o(i+(r>>8)+32);i=(r&255)<<7;break;case 8:t+=o(i+(r>>9)+32);i=(r&511)<<6;break;case 9:t+=o(i+(r>>10)+32);i=(r&1023)<<5;break;case 10:t+=o(i+(r>>11)+32);i=(r&2047)<<4;break;case 11:t+=o(i+(r>>12)+32);i=(r&4095)<<3;break;case 12:t+=o(i+(r>>13)+32);i=(r&8191)<<2;break;case 13:t+=o(i+(r>>14)+32);i=(r&16383)<<1;break;case 14:t+=o(i+(r>>15)+32,(r&32767)+32);s=0;break}}return t+o(i+32)},decompressFromUTF16:function(e){if(e==null)return"";var t="",n,r,i=0,s=0,o=LZString._f;while(s>14);n=(r&16383)<<2;break;case 2:t+=o(n|r>>13);n=(r&8191)<<3;break;case 3:t+=o(n|r>>12);n=(r&4095)<<4;break;case 4:t+=o(n|r>>11);n=(r&2047)<<5;break;case 5:t+=o(n|r>>10);n=(r&1023)<<6;break;case 6:t+=o(n|r>>9);n=(r&511)<<7;break;case 7:t+=o(n|r>>8);n=(r&255)<<8;break;case 8:t+=o(n|r>>7);n=(r&127)<<9;break;case 9:t+=o(n|r>>6);n=(r&63)<<10;break;case 10:t+=o(n|r>>5);n=(r&31)<<11;break;case 11:t+=o(n|r>>4);n=(r&15)<<12;break;case 12:t+=o(n|r>>3);n=(r&7)<<13;break;case 13:t+=o(n|r>>2);n=(r&3)<<14;break;case 14:t+=o(n|r>>1);n=(r&1)<<15;break;case 15:t+=o(n|r);i=0;break}s++}return LZString.decompress(t)},compress:function(e){if(e==null)return"";var t,n,r={},i={},s="",o="",u="",a=2,f=3,l=2,c="",h=0,p=0,d,v=LZString._f;for(d=0;d>1}}else{n=1;for(t=0;t>1}}a--;if(a==0){a=Math.pow(2,l);l++}delete i[u]}else{n=r[u];for(t=0;t>1}}a--;if(a==0){a=Math.pow(2,l);l++}r[o]=f++;u=String(s)}}if(u!==""){if(Object.prototype.hasOwnProperty.call(i,u)){if(u.charCodeAt(0)<256){for(t=0;t>1}}else{n=1;for(t=0;t>1}}a--;if(a==0){a=Math.pow(2,l);l++}delete i[u]}else{n=r[u];for(t=0;t>1}}a--;if(a==0){a=Math.pow(2,l);l++}}n=2;for(t=0;t>1}while(true){h=h<<1;if(p==15){c+=v(h);break}else p++}return c},decompress:function(e){if(e==null)return"";if(e=="")return null;var t=[],n,r=4,i=4,s=3,o="",u="",a,f,l,c,h,p,d,v=LZString._f,m={string:e,val:e.charCodeAt(0),position:32768,index:1};for(a=0;a<3;a+=1){t[a]=a}l=0;h=Math.pow(2,2);p=1;while(p!=h){c=m.val&m.position;m.position>>=1;if(m.position==0){m.position=32768;m.val=m.string.charCodeAt(m.index++)}l|=(c>0?1:0)*p;p<<=1}switch(n=l){case 0:l=0;h=Math.pow(2,8);p=1;while(p!=h){c=m.val&m.position;m.position>>=1;if(m.position==0){m.position=32768;m.val=m.string.charCodeAt(m.index++)}l|=(c>0?1:0)*p;p<<=1}d=v(l);break;case 1:l=0;h=Math.pow(2,16);p=1;while(p!=h){c=m.val&m.position;m.position>>=1;if(m.position==0){m.position=32768;m.val=m.string.charCodeAt(m.index++)}l|=(c>0?1:0)*p;p<<=1}d=v(l);break;case 2:return""}t[3]=d;f=u=d;while(true){if(m.index>m.string.length){return""}l=0;h=Math.pow(2,s);p=1;while(p!=h){c=m.val&m.position;m.position>>=1;if(m.position==0){m.position=32768;m.val=m.string.charCodeAt(m.index++)}l|=(c>0?1:0)*p;p<<=1}switch(d=l){case 0:l=0;h=Math.pow(2,8);p=1;while(p!=h){c=m.val&m.position;m.position>>=1;if(m.position==0){m.position=32768;m.val=m.string.charCodeAt(m.index++)}l|=(c>0?1:0)*p;p<<=1}t[i++]=v(l);d=i-1;r--;break;case 1:l=0;h=Math.pow(2,16);p=1;while(p!=h){c=m.val&m.position;m.position>>=1;if(m.position==0){m.position=32768;m.val=m.string.charCodeAt(m.index++)}l|=(c>0?1:0)*p;p<<=1}t[i++]=v(l);d=i-1;r--;break;case 2:return u}if(r==0){r=Math.pow(2,s);s++}if(t[d]){o=t[d]}else{if(d===i){o=f+f.charAt(0)}else{return null}}u+=o;t[i++]=f+o.charAt(0);r--;f=o;if(r==0){r=Math.pow(2,s);s++}}}};if(typeof module!=="undefined"&&module!=null){module.exports=LZString}