(function(){var g=void 0,i=!0,k=null,l=!1;function m(a){return function(){return this[a]}}var n,p=this;function q(a,b,c){a=a.split(".");c=c||p;!(a[0]in c)&&c.execScript&&c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&b!==g?c[d]=b:c=c[d]?c[d]:c[d]={}}
function aa(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b}var ba="closure_uid_"+(1E9*Math.random()>>>0),ca=0;function da(a,b,c){return a.call.apply(a.bind,arguments)}function ea(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}
function r(a,b,c){r=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?da:ea;return r.apply(k,arguments)}var fa=Date.now||function(){return+new Date};function s(a,b){function c(){}c.prototype=b.prototype;a.c=b.prototype;a.prototype=new c};function ga(a,b,c,d,e){this.ec=a;this.Qa=b;this.Wa=c;this.kc=d;this.jc=e}ga.prototype.login=m("Qa");ga.prototype.password=m("Wa");function ha(a){this.fc=a};function ia(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};var u=Array.prototype,ja=u.indexOf?function(a,b,c){return u.indexOf.call(a,b,c)}:function(a,b,c){c=c==k?0:0>c?Math.max(0,a.length+c):c;if("string"==typeof a)return"string"!=typeof b||1!=b.length?-1:a.indexOf(b,c);for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};
function ka(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c],e,f;if(!(f="array"==aa(d)))e=d,f=aa(e),f=(e="array"==f||"object"==f&&"number"==typeof e.length)&&Object.prototype.hasOwnProperty.call(d,"callee");if(f)a.push.apply(a,d);else if(e){f=a.length;for(var h=d.length,j=0;j<h;j++)a[f+j]=d[j]}else a.push(d)}}function la(a,b,c,d){u.splice.apply(a,ma(arguments,1))}function ma(a,b,c){return 2>=arguments.length?u.slice.call(a,b):u.slice.call(a,b,c)};function na(a){this.sa=a}na.prototype.cb=function(a,b,c){c=this.sa.hasOwnProperty(a)?this.sa[a]:c;if(c!==g){if(b!==g){a=this.Oa;for(var d in b)if(b.hasOwnProperty(d)){var e=b[d];a&&(d=a(d));c=c.replace(RegExp(d,"g"),e)}}return c}return""};na.prototype.getMessage=na.prototype.cb;na.prototype.Oa=function(a){return"%"+a.toUpperCase()+"%"};function oa(a,b,c,d,e,f){this.Xa=a;this.gc=b;this.Pa=new na(c);this.La=d;this.ic=e;this.hc=f}oa.prototype.presentationId=m("Xa");oa.prototype.i18n=m("Pa");var v={yb:"initializing",Ab:"inProgress",Vb:"reviewing",kb:"completed",hb:"authorizating"};q("ispring.quiz.session.QuizState",v,g);q("INITIALIZING","initializing",v);q("IN_PROGRESS","inProgress",v);q("REVIEWING","reviewing",v);q("COMPLETED","completed",v);q("AUTHORIZATING","authorizating",v);var pa={Rb:"prompt",gb:"always",Kb:"never"};q("ispring.presenter.presentation.settings.PresentationResumeMode",pa,g);q("PROMPT_TO_RESUME","prompt",pa);q("ALWAYS_RESUME","always",pa);q("NEVER_RESUME","never",pa);var w,qa,ra,sa;function ta(){return p.navigator?p.navigator.userAgent:k}sa=ra=qa=w=l;var ua;if(ua=ta()){var va=p.navigator;w=0==ua.lastIndexOf("Opera",0);qa=!w&&(-1!=ua.indexOf("MSIE")||-1!=ua.indexOf("Trident"));ra=!w&&-1!=ua.indexOf("WebKit");sa=!w&&!ra&&!qa&&"Gecko"==va.product}var wa=w,x=qa,xa=sa,ya=ra;function za(){var a=p.document;return a?a.documentMode:g}var Aa;
a:{var Ba="",Ca;if(wa&&p.opera)var Da=p.opera.version,Ba="function"==typeof Da?Da():Da;else if(xa?Ca=/rv\:([^\);]+)(\)|;)/:x?Ca=/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/:ya&&(Ca=/WebKit\/(\S+)/),Ca)var Ea=Ca.exec(ta()),Ba=Ea?Ea[1]:"";if(x){var Fa=za();if(Fa>parseFloat(Ba)){Aa=String(Fa);break a}}Aa=Ba}var Ga={};
function y(a){var b;if(!(b=Ga[a])){b=0;for(var c=ia(String(Aa)).split("."),d=ia(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var h=c[f]||"",j=d[f]||"",t=RegExp("(\\d*)(\\D*)","g"),C=RegExp("(\\d*)(\\D*)","g");do{var A=t.exec(h)||["","",""],B=C.exec(j)||["","",""];if(0==A[0].length&&0==B[0].length)break;b=((0==A[1].length?0:parseInt(A[1],10))<(0==B[1].length?0:parseInt(B[1],10))?-1:(0==A[1].length?0:parseInt(A[1],10))>(0==B[1].length?0:parseInt(B[1],10))?1:0)||((0==A[2].length)<
(0==B[2].length)?-1:(0==A[2].length)>(0==B[2].length)?1:0)||(A[2]<B[2]?-1:A[2]>B[2]?1:0)}while(0==b)}b=Ga[a]=0<=b}return b}var Ha=p.document,Ia=!Ha||!x?g:za()||("CSS1Compat"==Ha.compatMode?parseInt(Aa,10):5);function Ja(a){var b=0,c;for(c in a)b++;return b};function z(a,b){this.width=a;this.height=b}z.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};z.prototype.scale=function(a,b){this.width*=a;this.height*="number"==typeof b?b:a;return this};!xa&&!x||x&&x&&9<=Ia||xa&&y("1.9.1");x&&y("9");x&&y("9");!ya||y("528");xa&&y("1.9b")||x&&y("8")||wa&&y("9.5")||ya&&y("528");xa&&!y("8")||x&&y("9");function Ka(a){if("function"!=aa(a))if(a&&"function"==typeof a.handleEvent)a=r(a.handleEvent,a);else throw Error("Invalid listener argument");p.setTimeout(a,10)};function La(a){a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);}function Ma(){this.U=g}
function Na(a,b,c){switch(typeof b){case "string":Oa(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?b:"null");break;case "boolean":c.push(b);break;case "undefined":c.push("null");break;case "object":if(b==k){c.push("null");break}if("array"==aa(b)){var d=b.length;c.push("[");for(var e="",f=0;f<d;f++)c.push(e),e=b[f],Na(a,a.U?a.U.call(b,String(f),e):e,c),e=",";c.push("]");break}c.push("{");d="";for(f in b)Object.prototype.hasOwnProperty.call(b,f)&&(e=b[f],"function"!=typeof e&&(c.push(d),Oa(f,
c),c.push(":"),Na(a,a.U?a.U.call(b,f,e):e,c),d=","));c.push("}");break;case "function":break;default:throw Error("Unknown type: "+typeof b);}}var Pa={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Qa=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;
function Oa(a,b){b.push('"',a.replace(Qa,function(a){if(a in Pa)return Pa[a];var b=a.charCodeAt(0),e="\\u";16>b?e+="000":256>b?e+="00":4096>b&&(e+="0");return Pa[a]=e+b.toString(16)}),'"')};function Ra(a,b){this.e=a;this.dc=b||[]}q("iSpring.ios.mobile.MobileAppCommand",Ra,g);Ra.prototype.id=function(){return this[ba]||(this[ba]=++ca)};function D(a){this.length=a.length||a;for(var b=0;b<this.length;b++)this[b]=a[b]||0}D.prototype.BYTES_PER_ELEMENT=8;D.prototype.set=function(a,b){b=b||0;for(var c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]};D.prototype.toString=Array.prototype.join;if("undefined"==typeof Float64Array){try{D.BYTES_PER_ELEMENT=8}catch(Sa){}D.prototype.BYTES_PER_ELEMENT=D.prototype.BYTES_PER_ELEMENT;D.prototype.set=D.prototype.set;D.prototype.toString=D.prototype.toString;q("Float64Array",D,g)};function E(a){this.length=a.length||a;for(var b=0;b<this.length;b++)this[b]=a[b]||0}E.prototype.BYTES_PER_ELEMENT=4;E.prototype.set=function(a,b){b=b||0;for(var c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]};E.prototype.toString=Array.prototype.join;"undefined"==typeof Float32Array&&(E.BYTES_PER_ELEMENT=4,E.prototype.BYTES_PER_ELEMENT=E.prototype.BYTES_PER_ELEMENT,E.prototype.set=E.prototype.set,E.prototype.toString=E.prototype.toString,q("Float32Array",E,g));new Float64Array(3);new Float64Array(3);new Float64Array(4);new Float64Array(4);new Float64Array(4);new Float64Array(16);function Ta(){var a;var b=window.location.search.substr(1);if(b){a={};for(var b=b.split("&"),c=0;c<b.length;++c){var d=b[c].split("=");if(2==d.length){var e=decodeURIComponent(d[0].replace(/\+/g," ")),d=decodeURIComponent(d[1].replace(/\+/g," ")),e=e.toLowerCase();a[e]=d}}}else a={};return a};var Ua;Ua=l;var Va=ta();Va&&-1!=Va.indexOf("Firefox")&&(Ua=i);var Wa=Ua;var Xa=Ta().user_agent||ta()||"",Ya=Ta().small_screen,Za=-1!=Xa.toLowerCase().indexOf("chrome"),$a=-1!=Xa.toLowerCase().indexOf("android"),ab,bb=Xa.toLowerCase();ab=-1!=bb.indexOf("android")||-1!=bb.indexOf("mobile")||-1!=bb.indexOf("touch")||Ya;var cb=x&&-1!=Xa.toLowerCase().indexOf("touch"),db=$a&&!Za&&!Wa&&!wa;
if(!Ya){var eb=Ya?new z(document.documentElement.clientWidth,document.documentElement.clientHeight):cb?new z(screen.width*screen.deviceXDPI/screen.logicalXDPI,screen.height*screen.deviceYDPI/screen.logicalYDPI):db?new z(screen.width/window.devicePixelRatio,screen.height/window.devicePixelRatio):!ab&&Wa||x?new z(screen.width*window.devicePixelRatio,screen.height*window.devicePixelRatio):new z(screen.width,screen.height);Math.min(eb.width,eb.height)};function fb(a,b,c,d,e){this.s=a;this.Za=b;this.ab=d;this.Va=e;this.A={};for(a=0;a<c.length;++a)b=c[a],d=b[1],this.A[b[0]]=d,0<d&&++this.N}n=fb.prototype;n.N=0;n.slidesWeight=function(){return 0<this.s?this.Za:0};n.slidesToView=m("s");n.totalScore=m("ab");n.passingScore=m("Va");function F(){}q("ispring.events.IEventDispatcher",F,g);F.prototype.addHandler=function(){};F.prototype.addHandler=F.prototype.addHandler;F.prototype.removeHandler=function(){};F.prototype.removeHandler=F.prototype.removeHandler;function gb(){this.Aa=[];this.o=[]}gb.prototype.push=function(a,b){if(!(b in this.o)){this.o[b]=[];var c=this.Aa,d;d=0;for(var e=c.length,f;d<e;){var h=d+e>>1,j;j=b>c[h]?1:b<c[h]?-1:0;0<j?d=h+1:(e=h,f=!j)}d=f?d:~d;0>d&&la(c,-(d+1),0,b)}this.o[b].push(a)};function G(){this.F=new gb}G.prototype.addHandler=function(a,b,c){this.F.push({Ka:a,Ia:b},c||0)};G.prototype.addHandler=G.prototype.addHandler;G.prototype.removeHandler=function(a,b,c){c=c||0;var d=c in this.F.o?this.F.o[c]:[],e=d.length,f=0;for(;f<e;++f){var h=d[f];if(h.Ka==a&&h.Ia==b){a=this.F;c in a.o&&u.splice.call(a.o[c],f,1);break}}};G.prototype.removeHandler=G.prototype.removeHandler;
G.prototype.Ja=function(a){var b,c=this.F;b=[];for(var d=c.o,c=c.Aa,e=0;e<c.length;++e)ka(b,d[c[e]]);d=b.length;for(c=0;c<d;++c){e=b[c];try{e.Ka.apply(e.Ia,arguments)}catch(f){(window._ispringDebug==i||"1"==Ta().isdebug)&&alert(f)}}};G.prototype.dispatch=G.prototype.Ja;function H(a,b){this.G=a;this.O=b}H.prototype.id=m("G");H.prototype.description=m("O");function I(){this.v=[]}I.prototype.count=function(){return this.v.length};function J(a,b){a.v.push(b)}I.prototype.getChoice=function(a){if(0>a||a>=this.count())throw Error("Index out of bounds");return this.v[a]};function K(){this.v=new I}K.prototype.choices=m("v");function hb(a,b,c,d){for(var e=d?",":"[,]",f=d?".":"[.]",h=[],j=0;j<a.count();++j){var t=a.getMatch(j),C=t.premise(),t=t.response(),A=b.getChoiceIndex(C),B=c.getChoiceIndex(t),C=d?ib(A,i):A+"_"+C.textRange().text(),t=d?ib(B,l):B+"_"+t.textRange().text(),C=L(C)+f+L(t);h.push(C)}return h.join(e)}function jb(a,b,c){for(var d=c?",":"[,]",e=[],f=0;f<b.count();++f){var h=b.getChoice(f),j=h.textRange().text(),h=a.getChoiceIndex(h);e.push(L(c?ib(h,i):h+"_"+j))}return e.join(d)}
function L(a){a=ia(a);return a=a.replace(/[^\w-]/g,"_")}function ib(a,b){a=b?a:36-a-1;return 0<=a&&36>a?"0123456789abcdefghijklmnopqrstuvwxyz"[a]:"0"};function kb(a){this.G=a}n=kb.prototype;n.O="";n.f=k;n.d=k;n.da="unanticipated";n.Ba=0;n.na=k;n.q=k;n.Ga=k;n.m=k;n.id=m("G");n.type=m("e");n.description=m("O");n.L=m("f");n.ha=m("d");n.result=m("da");n.score=m("Ba");n.la=function(a){this.Ba=a};n.awardedScore=m("na");n.duration=m("q");n.ka=function(a){this.q=a};n.ma=m("Ga");function lb(){}lb.prototype.create=function(a){if(!a.submitted())return k;var b=a.slide().id(),b=new kb(L(b));this.a(b,a);return b};lb.prototype.a=function(a,b){var c=b.slide().description().text();a.O=c;b.visited()&&(a.ka(b.viewDuration()),c=b.firstVisitTime(),a.Ga=c)};function mb(a){return L(a)};function M(){}s(M,lb);M.prototype.a=function(a,b){M.c.a.call(this,a,b);a.da="neutral"};function N(a){this.k=a}s(N,M);N.prototype.k=l;N.prototype.a=function(a,b){N.c.a.call(this,a,b);a.e="sequencing";var c=b.slide().items(),d=jb(c,b.items(),this.k);a.f=d;a.d=[d];c=this.i(c);a.m=c};N.prototype.i=function(a){for(var b=new K,c=0;c<a.count();++c){var d=a.getChoice(c).textRange().text();J(b.choices(),new H(L(c+"_"+d),d))}return b};var O={Yb:"slidePool",ib:"authorizationForm",xb:"informationSlide",zb:"introSlide",Tb:"resultSlide",vb:"hotspotQuestion",Db:"likertScaleQuestion",bc:"wordBankQuestion",pb:"essayQuestion",$b:"typeInQuestion",Xb:"shortAnswerQuestion",qb:"fillInTheBlankQuestion",rb:"fillInTheBlankSurveyQuestion",Mb:"numericQuestion",Nb:"numericSurveyQuestion",Wb:"sequenceQuestion",Sb:"rankingQuestion",ac:"whichWordQuestion",Hb:"multipleChoiceTextQuestion",Ib:"multipleChoiceTextSurveyQuestion",Gb:"multipleChoiceQuestion",
Jb:"multipleResponseQuestion",Qb:"pickOneQuestion",Pb:"pickManyQuestion",Zb:"trueFalseQuestion",cc:"yesNoQuestion",Eb:"matchingQuestion",Fb:"matchingSurveyQuestion"};q("ispring.quiz.slides.SlideType",O,g);function nb(a){return"slidePool"!=a&&"informationSlide"!=a&&"introSlide"!=a&&"resultSlide"!=a}q("SLIDE_POOL","slidePool",O);q("INFORMATION_SLIDE","informationSlide",O);q("INTRO_SLIDE","introSlide",O);q("HOTSPOT_QUESTION","hotspotQuestion",O);q("LIKERT_SCALE_QUESTION","likertScaleQuestion",O);
q("WORD_BANK_QUESTION","wordBankQuestion",O);q("RESULT_SLIDE","resultSlide",O);q("ESSAY_QUESTION","essayQuestion",O);q("TYPE_IN_QUESTION","typeInQuestion",O);q("SHORT_ANSWER_QUESTION","shortAnswerQuestion",O);q("FILL_IN_THE_BLANK_QUESTION","fillInTheBlankQuestion",O);q("FILL_IN_THE_BLANK_SURVEY_QUESTION","fillInTheBlankSurveyQuestion",O);q("NUMERIC_QUESTION","numericQuestion",O);q("NUMERIC_SURVEY_QUESTION","numericSurveyQuestion",O);q("SEQUENCE_QUESTION","sequenceQuestion",O);
q("RANKING_QUESTION","rankingQuestion",O);q("WHICH_WORD_QUESTION","whichWordQuestion",O);q("MULTIPLE_CHOICE_TEXT_QUESTION","multipleChoiceTextQuestion",O);q("MULTIPLE_CHOICE_TEXT_SURVEY_QUESTION","multipleChoiceTextSurveyQuestion",O);q("MULTIPLE_CHOICE_QUESTION","multipleChoiceQuestion",O);q("MULTIPLE_RESPONSE_QUESTION","multipleResponseQuestion",O);q("PICK_ONE_QUESTION","pickOneQuestion",O);q("PICK_MANY_QUESTION","pickManyQuestion",O);q("TRUE_FALSE_QUESTION","trueFalseQuestion",O);
q("YES_NO_QUESTION","yesNoQuestion",O);q("MATCHING_QUESTION","matchingQuestion",O);q("MATCHING_SURVEY_QUESTION","matchingSurveyQuestion",O);var ob={lb:"correct",Ob:"partiallyCorrect",wb:"incorrect",Lb:"notAnswered"};q("ispring.quiz.session.slides.questions.graded.review.GradedQuestionStatus",ob,g);q("CORRECT","correct",ob);q("PARTIALLY_CORRECT","partiallyCorrect",ob);q("INCORRECT","incorrect",ob);q("NOT_ANSWERED","notAnswered",ob);function P(){}s(P,lb);P.prototype.a=function(a,b){P.c.a.call(this,a,b);var c=b.slide();a.la(c.maxScore());if(c=b.review()){var d=c.awardedScore();a.na=d;d="unanticipated";switch(c.status()){case "correct":d="correct";break;case "incorrect":d="incorrect";break;case "partiallyCorrect":d="partially"}a.da=d}};var Q={ob:"equals",nb:"differs",tb:"greaterThan",Bb:"lessThan",ub:"greaterThanOrEquals",Cb:"lessThanOrEquals",jb:"between"};q("ispring.quiz.slides.questions.graded.answers.numeric.ComparisonOperation",Q,g);q("EQUALS","equals",Q);q("DIFFERS","differs",Q);q("GREATER_THAN","greaterThan",Q);q("LESS_THAN","lessThan",Q);q("GREATER_THAN_OR_EQUALS","greaterThanOrEquals",Q);q("LESS_THAN_OR_EQUALS","lessThanOrEquals",Q);q("BETWEEN","between",Q);function pb(){}s(pb,P);pb.prototype.a=function(a,b){pb.c.a.call(this,a,b);a.e="fill-in";var c=b.slide(),d=b.initiated()?b.getAnswer().toString():"",c=this.n(c.answers());a.f=d;a.d=[c]};
pb.prototype.n=function(a){for(var b=[],c=0;c<a.count();++c){var d="",e=a.getAnswer(c),f=e.comparisonOperation();if("between"==f)d=e,d="between "+d.leftOperand()+" and "+d.rightOperand();else switch(f){case "differs":d="not equal to "+e.operand();break;case "equals":d="equal to "+e.operand();break;case "greaterThan":d="greater than "+e.operand();break;case "greaterThanOrEquals":d="greater than or equal to "+e.operand();break;case "lessThan":d="less than "+e.operand();break;case "lessThanOrEquals":d=
"less than or equal to "+e.operand()}b.push(d)}return b.join("[,]")};function qb(){}s(qb,M);qb.prototype.a=function(a,b){qb.c.a.call(this,a,b);a.e="other";var c=this.aa(b.blanks());a.f=c;a.d=[c]};qb.prototype.aa=function(a){for(var b=[],c=0;c<a.count();++c)b.push(a.getSection(c).answer());return b.join("[,]")};function R(a){this.k=a}s(R,P);R.prototype.k=l;R.prototype.a=function(a,b){R.c.a.call(this,a,b);a.e="sequencing";var c=b.slide().items(),d=jb(c,b.items(),this.k),e=jb(c,c,this.k);a.f=d;a.d=[e];c=this.i(c);a.m=c};R.prototype.i=function(a){for(var b=new K,c=0;c<a.count();++c){var d=a.getChoice(c).textRange().text();J(b.choices(),new H(L(c+"_"+d),d))}return b};function rb(){}s(rb,P);rb.prototype.a=function(a,b){rb.c.a.call(this,a,b);a.e="other";for(var c=[],d=[],e=b.placeholders(),f=0;f<e.count();++f){var h=e.getSection(f),j=h.answer();j&&(c.push(j.textRange().text()),h=h.section().answers(),d.push(h.getChoice(0).textRange().text()))}d=d.join("[,]");a.f=c.join("[,]");a.d=[d]};function sb(){}s(sb,M);sb.prototype.a=function(a,b){sb.c.a.call(this,a,b);a.e="fill-in";var c=b.initiated()?b.answer().toString():"";a.f=c;a.d=[c]};function tb(){this.v=new I;this.oa=[]}s(tb,K);function S(){}s(S,M);S.prototype.a=function(a,b){S.c.a.call(this,a,b);a.e="choice";var c=b.slide().choices(),d=b.choices(),e=this.$(c,d);a.f=e;a.d=[e];c=this.i(c,d);a.m=c};
S.prototype.i=function(a,b){for(var c=new tb,d=0;d<a.count();++d){var e=a.getChoice(d),f;a:{f=e;for(var h=0;h<b.count();++h){var j=b.getChoiceState(h);if(j.choice()===f){f=j;break a}}throw Error("can't find choice state");}h=e.textRange().text();h=new H(this.C(f,d),h);J(c.choices(),h);e=e.customAnswerEnabled()?f.customAnswer():"";c.oa[d]=e}return c};
S.prototype.$=function(a,b){for(var c=[],d=0;d<b.count();++d){var e=b.getChoiceState(d);if(e.selected()){var f=a.getChoiceIndex(e.choice()),e=this.C(e,f);c.push(e)}}return c.join("[,]")};S.prototype.C=function(a,b){var c=a.customizableChoice(),d=c.textRange().text(),d=b+"_"+d;c.customAnswerEnabled()&&(c=a.customAnswer(),d+=c?"_"+c:"");return L(d)};function ub(){this.Ca=new I;this.Ea=new I};function vb(a){this.k=a}s(vb,M);vb.prototype.a=function(a,b){vb.c.a.call(this,a,b);a.e="matching";var c=b.slide(),d=hb(b.matches(),c.premises(),c.responses(),this.k);a.f=d;a.d=[d];c=this.W(c);a.m=c};vb.prototype.W=function(a){var b=new ub,c=a.premises();a=a.responses();for(var d=0;d<c.count();++d){var e=c.getChoice(d).textRange().text(),f=a.getChoice(d).textRange().text();J(b.Ca,new H(L(d+"_"+e),e));J(b.Ea,new H(L(d+"_"+f),f))}return b};function T(){}s(T,P);T.prototype.a=function(a,b){T.c.a.call(this,a,b);a.e="choice";var c=b.slide().responses(),d=this.D(c,b.responses()),e=this.n(c);a.f=d;a.d=[e];c=this.i(c);a.m=c};T.prototype.i=function(a){for(var b=new K,c=0;c<a.count();++c){var d=a.getGradedChoice(c).textRange().text();J(b.choices(),new H(L(c+"_"+d),d))}return b};
T.prototype.D=function(a,b){for(var c=[],d=0;d<b.count();++d){var e=b.getChoiceState(d),f=e.gradedChoice(),h=f.textRange().text();e.selected()&&c.push(mb(a.getChoiceIndex(f)+"_"+h))}return c.join("[,]")};T.prototype.n=function(a){for(var b=[],c=0;c<a.count();++c){var d=a.getGradedChoice(c);d.correct()&&b.push(mb(c+"_"+d.textRange().text()))}return b.join("[,]")};function wb(){}s(wb,P);wb.prototype.a=function(a,b){wb.c.a.call(this,a,b);a.e="other";for(var c=[],d=[],e=b.choices(),f=0;f<e.count();++f){var h=e.getSection(f),j=h.choices(),h=h.section().choices();this.V(j,c);for(var j=h,h=d,t=0;t<j.count();++t){var C=j.getGradedChoice(t);C.correct()&&h.push(C.textRange().text())}}a.f=c.join("[,]");a.d=[d.join("[,]")]};
wb.prototype.V=function(a,b){for(var c=0;c<a.count();++c){var d=a.getChoiceState(c);if(d.selected()){b.push(d.gradedChoice().textRange().text());break}}};function U(){}s(U,P);U.prototype.a=function(a,b){U.c.a.call(this,a,b);a.e="choice";var c=b.slide().choices(),d=this.D(c,b.choices()),e=this.n(c);a.f=d;a.d=[e];c=this.i(c);a.m=c};U.prototype.i=function(a){for(var b=new K,c=0;c<a.count();++c){var d=a.getGradedChoice(c).textRange().text();J(b.choices(),new H(L(c+"_"+d),d))}return b};
U.prototype.D=function(a,b){for(var c="",d=0;d<b.count();++d){var e=b.getChoiceState(d);if(e.selected()){c=a.getChoiceIndex(e.gradedChoice())+"_"+e.gradedChoice().textRange().text();break}}return L(c)};U.prototype.n=function(a){for(var b="",c=0;c<a.count();++c){var d=a.getGradedChoice(c);if(d.correct()){b=c+"_"+d.textRange().text();break}}return L(b)};function xb(){}s(xb,M);xb.prototype.a=function(a,b){xb.c.a.call(this,a,b);a.e="other";var c=b.answer();a.f=c;c=[b.answer()];a.d=c};function V(){}s(V,M);V.prototype.a=function(a,b){V.c.a.call(this,a,b);a.e="choice";var c=b.slide().choices(),d=b.choices(),e=this.$(c,d);a.f=e;a.d=[e];c=this.i(c,d);a.m=c};
V.prototype.i=function(a,b){for(var c=new tb,d=0;d<a.count();++d){var e=a.getChoice(d),f;a:{f=e;for(var h=0;h<b.count();++h){var j=b.getChoiceState(h);if(j.choice()===f){f=j;break a}}throw Error("can't find choice state");}h=e.textRange().text();h=new H(this.C(f,d),h);J(c.choices(),h);e=e.customAnswerEnabled()?f.customAnswer():"";c.oa[d]=e}return c};V.prototype.$=function(a,b){for(var c=0;c<b.count();++c){var d=b.getChoiceState(c);if(d.selected())return c=a.getChoiceIndex(d.choice()),this.C(d,c)}return L("")};
V.prototype.C=function(a,b){var c=a.customizableChoice(),d=c.textRange().text(),d=b+"_"+d;c.customAnswerEnabled()&&(c=a.customAnswer(),d+=c?"_"+c:"");return L(d)};function yb(){}s(yb,V);function zb(){}s(zb,P);zb.prototype.a=function(a,b){zb.c.a.call(this,a,b);a.e="other";var c=b.slide(),c=this.n(c.answers()),d=b.answer();a.f=d;a.d=[c]};zb.prototype.n=function(a){for(var b=[],c=0;c<a.count();++c){var d=a.getAnswer(c);b.push(d.text())}return b.join("[,]")};function Ab(){}s(Ab,M);Ab.prototype.a=function(a,b){Ab.c.a.call(this,a,b);a.e="other";for(var c=[],d=b.choices(),e=0;e<d.count();++e)this.V(d.getSection(e).choices(),c);c=c.join("[,]");a.f=c;a.d=[c]};Ab.prototype.V=function(a,b){for(var c=0;c<a.count();++c){var d=a.getChoiceState(c);if(d.selected()){b.push(d.choice().textRange().text());break}}};function Bb(){}s(Bb,P);Bb.prototype.a=function(a,b){Bb.c.a.call(this,a,b);a.e="other";var c=this.aa(b.blanks());a.f=c.L;a.d=[c.ha]};Bb.prototype.aa=function(a){for(var b=[],c=[],d=0;d<a.count();++d){var e=[],f=a.getSection(d),h=f.section().answers();b.push(f.answer());for(f=0;f<h.count();++f)e.push(h.getAnswer(f).text());c.push(e.join("[,]"))}return{L:b.join("[,]"),ha:c.join("[.]")}};function W(){}s(W,P);W.prototype.a=function(a,b){W.c.a.call(this,a,b);a.e="other";var c=b.slide(),d=this.D(b.points()),c=this.n(c.hotAreas());a.f=d;a.d=[c]};W.prototype.D=function(a){for(var b=[],c=0;c<a.count();++c){var d=a.getPoint(c);b.push(d.x()+"_"+d.y())}return b.join("[,]")};W.prototype.n=function(a){for(var b=[],c=0;c<a.count();++c){var d=a.getHotArea(c);b.push(d.type()+"_"+d.left()+"_"+d.top()+"_"+d.width()+"_"+d.height())}return b.join("[,]")};function Cb(){}s(Cb,M);Cb.prototype.a=function(a,b){Cb.c.a.call(this,a,b);a.e="long-fill-in";var c=b.answer();a.f=c;c=[b.answer()];a.d=c};function X(a){this.k=a}s(X,P);X.prototype.k=l;X.prototype.a=function(a,b){X.c.a.call(this,a,b);a.e="matching";var c=b.slide(),d=hb(b.matches(),c.premises(),c.responses(),this.k),e=hb(c.matches(),c.premises(),c.responses(),this.k);a.f=d;a.d=[e];c=this.W(c);a.m=c};X.prototype.W=function(a){var b=new ub;a=a.matches();for(var c=0;c<a.count();++c){var d=a.getMatch(c),e=d.premise().textRange().text(),d=d.response().textRange().text();J(b.Ca,new H(L(c+"_"+e),e));J(b.Ea,new H(L(c+"_"+d),d))}return b};function Db(){}s(Db,M);Db.prototype.a=function(a,b){Db.c.a.call(this,a,b);a.e="other";for(var c=[],d=b.placeholders(),e=0;e<d.count();++e){var f=d.getSection(e).answer();f&&c.push(f.textRange().text())}c=c.join("[,]");a.f=c;a.d=[c]};function Eb(){}s(Eb,M);Eb.prototype.a=function(a,b){Eb.c.a.call(this,a,b);a.e="choice";for(var c=b.slide(),d=b.statements(),e=d.count(),f=[],c=c.statements(),h=0;h<e;++h){var j=d.getStatementState(h),t=j.scale(),j=j.statement();t&&f.push(mb(c.getChoiceIndex(j)+"_"+t.textRange().text()))}d=f.join("[,]");a.f=d;a.d=[d];d=this.i(c);a.m=d};Eb.prototype.i=function(a){for(var b=new K,c=0;c<a.count();++c){var d=a.getChoice(c).textRange().text();J(b.choices(),new H(L(c+"_"+d),d))}return b};function Fb(){}s(Fb,U);function Gb(a,b){var c="1.2"==b||"aicc"==b;switch(a){case "essayQuestion":return new Cb;case "likertScaleQuestion":return new Eb;case "hotspotQuestion":return new W;case "fillInTheBlankQuestion":return new Bb;case "wordBankQuestion":return new rb;case "typeInQuestion":return new zb;case "fillInTheBlankSurveyQuestion":return new qb;case "shortAnswerQuestion":return new xb;case "whichWordQuestion":return new Db;case "numericQuestion":return new pb;case "multipleChoiceQuestion":return new U;case "multipleResponseQuestion":return new T;
case "numericSurveyQuestion":return new sb;case "multipleChoiceTextQuestion":return new wb;case "sequenceQuestion":return new R(c);case "multipleChoiceTextSurveyQuestion":return new Ab;case "rankingQuestion":return new N(c);case "pickManyQuestion":return new S;case "matchingQuestion":return new X(c);case "matchingSurveyQuestion":return new vb(c);case "pickOneQuestion":return new V;case "trueFalseQuestion":return new Fb;case "yesNoQuestion":return new yb}return k};var Hb={Ub:"resumePlayback",sb:"gotoSlide",mb:"delayStartup"};q("ispring.presenter.player.startup.PresentationStartup.Action",Hb,g);q("RESUME_PLAYBACK","resumePlayback",Hb);q("GOTO_SLIDE","gotoSlide",Hb);q("DELAY_STARTUP","delayStartup",Hb);function Ib(a,b){this.fa=a;this.Da=b;this.Fa=new G}n=Ib.prototype;n.t=l;n.w=0;n.R=0;n.S=-1;n.T=0;n.X=0;n.start=function(a){if(!this.t&&(this.T=this.w=a||0,a=this.w>=this.fa,!a||!this.Da))this.t=i,this.R=fa(),a||(this.S=setTimeout(r(this.ca,this),this.fa-this.w))};n.ca=function(){this.Da&&(this.stop(),this.T=this.fa);this.Fa.Ja()};n.stop=function(){this.t&&(this.t=l,0<this.S&&(clearTimeout(this.S),this.S=-1),this.X=fa()-this.R,this.T=this.X+this.w)};function Jb(a,b,c){this.G=a;this.Sa=b;this.Na=c}Jb.prototype.id=m("G");Jb.prototype.name=m("Sa");Jb.prototype.email=m("Na");function Kb(a,b){var c=window.iSpring.LMSAPI;switch(a){case "1.2":return new c.Scorm12Api(b);case "2004":return new c.Scorm2004Api(b);case "aicc":return new c.AiccApi(b);case "tincan":return new c.TinCanApi(b);default:throw Error("unknown api");}};function Lb(){function a(a){try{for(var b=0;255>b;++b){if(a.API_1484_11)return a.API_1484_11;var e=a.parent;if(!e||a==e)break;a=e}}catch(f){}return k}var b=window;return a(b)||b.opener&&a(b.opener)}function Mb(a){return"PT"+Math.floor(a/3600)+"H"+Math.floor(a%3600/60)+"M"+Math.floor(a%60)+"S"}function Nb(a){return 10>a?"0"+a:a};function Ob(a,b,c,d){this.$a=a;this.Z=b;this.Ya=c;this.Ra=d}Ob.prototype.timeLimit=m("$a");Ob.prototype.message=m("Ra");function Pb(a,b,c,d){this.eb=a;this.maxScore=b!==g?b:k;this.fb=c!==g?c:k;this.ja=d!==g?d:k}Pb.prototype.ia=function(){var a={};a[Qb]=this.eb;a[Rb]=this.maxScore;a[Sb]=this.fb;a[Tb]=this.ja;return a};var Qb="p",Rb="m",Sb="r",Tb="s";function Ub(){this.B=[];this.z={}}n=Ub.prototype;n.P=-1;n.q=0;n.Q=k;n.duration=m("q");n.ka=function(a){this.q=a};n.ia=function(){var a={};a[Vb]=this.q;a[Wb]=this.P;a[Xb]=this.B;a[Yb]=this.Q;var b={},c;for(c in this.z)b[c]=this.z[c].ia();a[Zb]=b;return a};var Wb="l",Xb="v",Vb="d",Yb="p",Zb="q";function Y(a,b,c){this.Ma=b;this.j=new Ub;this.I=new fb(c.slidesToView,c.slidesWeight,c.quizzes||{},c.totalScore,c.passingScore);this.u=new Ob(1E3*c.timeLimit,c.exitOnTimeout,c.showMessageOnTimeout,c.timeoutMessage);this.l=new Ib(this.u.timeLimit(),this.u.Z);a=new ha(c.flags);var d=c.tincan.auth,e=d.type,f=d.login,h=d.password,j=d.name,d=d.email.match(/^\s*(.*@.*?)\s*$/);a=new oa(c.presentationId,a,c.tincan.i18n,c.scorm2004?c.scorm2004.edition:"",c.tincan.endPoint,new ga(e,f,h,j,d?d[1]:""));this.J=
"never"!=c.resumeMode;this.h=Kb(b,a);this.qa={}}n=Y.prototype;n.pa=l;n.H=k;n.M=l;n.g=k;n.r=k;n.ea=l;var $b=n.p=k;q("iSpring.LMS.create",function(a,b,c){return $b=new Y(0,b,c)},g);q("iSpring.LMS.instance",function(){return $b},g);Y.prototype.K=function(a){this.H=a;this.h.K(r(this.Ua,this),r(this.Ta,this))};Y.prototype.initialize=Y.prototype.K;
Y.prototype.Ua=function(){var a=k,b,c=ac(this.h.b,"cmi.suspend_data");if(c)a:{c=LZString.decompressFromBase64(c);try{b=La(c);break a}catch(d){}b=k}else b=k;if(this.J&&b){a=new Ub;a.q=Vb in b?b[Vb]:0;a.P=Wb in b?b[Wb]:-1;a.B=Xb in b?b[Xb]:[];a.Q=Yb in b?b[Yb]:k;c={};b=Zb in b?b[Zb]:{};for(var e in b)c[e]=new Pb(b[e][Qb],b[e][Rb],b[e][Sb],b[e][Tb]);a.z=c;this.r=a;e=this.r.duration();if(this.u.Z&&e>=this.u.timeLimit()){alert("You have already exceeded available time for viewing this content.");(e=document.getElementById("preloader"))&&
e.parentNode.removeChild(e);try{db||(window.open("","_self",""),window.close())}catch(f){}return}a=this.r.Q}this.pa=i;this.H&&this.H(a)};Y.prototype.Ta=function(){this.H&&this.H()};Y.prototype.start=function(a){this.pa&&(this.g=a,this.M=i,this.h.start(a),a.startupEvent().addHandler(this.va,this),a.startupCompletedEvent().addHandler(this.wa,this),a.closeWindowEvent().addHandler(this.ta,this))};Y.prototype.start=Y.prototype.start;
Y.prototype.va=function(a){this.g.startupEvent().removeHandler(this.va,this);var b=this.J&&this.r?this.r.P:-1;0<=b?(a.setSlideIndex(b),a.setAction("resumePlayback")):(b=this.g.view().playbackController().firstSlideIndex(),a.setSlideIndex(b),a.setAction("gotoSlide"))};
Y.prototype.wa=function(a,b){this.g.startupCompletedEvent().removeHandler(this.wa,this);this.ea=i;"resumePlayback"==a&&this.r&&(this.j=this.r);var c=this.j.duration();this.l.t||(this.l.Fa.addHandler(this.ca,this),this.l.start(c));c=this.g.view().playbackController();c.slideChangeEvent().addHandler(this.ba,this);c=c.currentSlideIndex();c==b&&this.ba(c);this.J&&this.g.stateChangedEvent().addHandler(this.xa,this)};Y.prototype.Ha=function(){this.M&&bc(this,this.J&&(!this.ea||!cc(this)))};
Y.prototype.closeLms=Y.prototype.Ha;function bc(a,b){a.M&&(a.M=l,a.ea&&(a.l.stop(),dc(a),a.g.view().playbackController().slideChangeEvent().removeHandler(a.ba,a)),a.g.closeWindowEvent().removeHandler(a.ta,a),a.g.stateChangedEvent().removeHandler(a.xa,a),b?a.h.suspend():a.h.terminate())}n=Y.prototype;
n.ba=function(a){if(this.p){var b=this.p;b.currentSessionChangedEvent().removeHandler(this.ua,this);(b=b.currentSession())&&ec(this,b);this.p=k}if(a in this.I.A){var b=this.p=this.g.view().playbackController().quizPlayer(),c=(b[ba]||(b[ba]=++ca))+"";c in this.qa||(this.qa[c]=i,(c=new Jb(ac(this.h.b,"cmi.learner_id"),ac(this.h.b,"cmi.learner_name"),""))&&b.setUserInfo(c.id(),{USER_NAME:c.name(),USER_EMAIL:c.email()}));b.currentSessionChangedEvent().addHandler(this.ua,this);(b=b.currentSession())&&
fc(this,b)}b=this.j.B;0<=ja(b,a)||b.push(a);this.j.P=a;gc(this)};function dc(a){var b=a.l.t?fa()-a.l.R+a.l.w:a.l.T,c=a.l.t?fa()-a.l.R:a.l.X;a.j.ka(b);Z(a.h.b,"cmi.session_time",Mb(c/1E3));a.J&&(b=a.g.persistState(),a.j.Q=b,b=a.h,c=[],Na(new Ma,a.j.ia(),c),a=LZString.compressToBase64(c.join("")),a.length<=("2"==b.b.Y?4E3:64E3)&&Z(b.b,"cmi.suspend_data",a))}
function gc(a){var b=a.I;if(0<b.s||0<b.N){var c=hc(a),d=b.totalScore()*c;a.h.la(c,0,b.totalScore(),d)}b=a.h;c=a.g.presentation().slides().count();Z(b.b,"cmi.progress_measure",a.j.B.length/c);b=a.h;c=a.I;c=!(0<c.s||0<c.N)?k:hc(a)*c.totalScore()>=c.passingScore();d=cc(a);d===k||Z(b.b,"cmi.completion_status",d?"completed":"incomplete");c===k?Z(b.b,"cmi.success_status","unknown"):Z(b.b,"cmi.success_status",c?"passed":"failed");dc(a);a.h.ga()}
function cc(a){var b=a.I,c=0<b.s?b.slidesToView():a.g.presentation().slides().count(),b=Ja(a.j.z)==Ja(b.A);return a.j.B.length>=c&&b}function hc(a){var b=a.I;if(!(0<b.s||0<b.N))return 0;var c=0,d=a.j.z,e;for(e in d)var f=d[e],c=c+(f.ja!=k?f.ja:1)*(!(parseInt(e,10)in b.A)?0:b.A[parseInt(e,10)]);d=0;0<b.s&&(d=a.g.presentation().slides().count(),d=a.j.B.length/d*b.slidesWeight());e=b.A;a=[];var f=0,h;for(h in e)a[f++]=e[h];for(e=h=0;e<a.length;++e)h+=a[e];b=h+b.slidesWeight();return(c+d)/b}
function fc(a,b){b.quizStateChangeEvent().addHandler(a.za,a);b.slidePoolState().forEach(function(c){var b=c.slide().type();nb(b)&&c.submitEvent().addHandler(a.ya,a)})}function ec(a,b){b.quizStateChangeEvent().removeHandler(a.za,a);b.slidePoolState().forEach(function(c){var b=c.slide().type();nb(b)&&c.submitEvent().removeHandler(a.ya,a)})}n.ua=function(a,b){b&&ec(this,b);fc(this,a)};
n.za=function(a){if("inProgress"==a){a=this.p.currentSession();a="graded"==a.quiz().type()?new Pb(a.quizPassed(),a.maxScore(),a.awardedScore(),a.awardedPercent()):new Pb(i);var b=this.g.view().playbackController().currentSlideIndex();this.j.z[b+""]=a;gc(this)}};
n.ya=function(a){this.p.currentSession();if(a.initiated()){var b=Gb(a.slide().type(),this.Ma).create(a);if(b)a:{a=this.h.b;for(var c=b.id(),d=-1,e=ac(a,"cmi.interactions._count"),f=0;f<e;++f)if(ac(a,"cmi.interactions."+f+".id")==c){d=f;break}if(0>d&&(c=parseInt(ac(a,"cmi.interactions._count"),10),d=250<=c?-1:c,0>d))break a;c="cmi.interactions."+d+".";Z(a,c+$.id,b.id());Z(a,c+$.type,b.type());Z(a,c+$.score,b.score());d=b.ha()||[];for(e=0;e<d.length;++e)f=$.bb.replace("%INDEX%",e),Z(a,c+f,d[e]);(d=
b.L())&&Z(a,c+$.L,d);Z(a,c+$.result,b.result());Z(a,c+$.description,b.description());d=b.duration();d===k||Z(a,c+$.duration,Mb(d/1E3));b=b.ma();b!==k&&("number"==typeof b&&(b=new Date(b)),Z(a,c+$.ma,b.getUTCFullYear()+"-"+Nb(b.getUTCMonth()+1)+"-"+Nb(b.getUTCDate())+"T"+Nb(b.getUTCHours())+":"+Nb(b.getUTCMinutes())+":"+Nb(b.getUTCSeconds())+".0Z"))}}};n.ta=function(a){a.preventAction();this.Ha()};n.ca=function(){this.u.Ya&&alert(this.u.message());this.u.Z&&bc(this,l)};
n.xa=function(a){a.actionPrevented()||(a.preventAction(),dc(this))};var $={id:"id",type:"type",score:"weighting",bb:"correct_responses.%INDEX%.pattern",L:"learner_response",description:"description",result:"result",duration:"latency",ma:"timestamp"};function ic(a,b){this.b=a;this.Y=b}ic.prototype.K=function(){try{return jc(this.b.Initialize(""))}catch(a){}return l};ic.prototype.terminate=function(a){Z(this,"cmi.exit",a?"suspend":"normal");Z(this,"adl.nav.request","exitAll");try{return jc(this.b.Terminate(""))}catch(b){}return l};ic.prototype.ga=function(){try{return jc(this.b.Commit(""))}catch(a){}return l};function ac(a,b){try{return a.b.GetValue(b)}catch(c){}return""}
function Z(a,b,c){if("number"==typeof c){var d;(d!==g?d:i)?c=parseFloat(c.toFixed(7))+"":(d=Math.pow(10,7),c=Math.floor(c*d)/d+"");c+=""}try{a.b.SetValue(b,c)}catch(e){}}function jc(a){return"true"==a};function kc(){}q("Tincan.MobileHttpTransport.onRequestComplete",function(a,b,c){var d;lc||(lc=new kc);d=lc;var e=d.ra[a];if(e==k)return"";delete d.ra[a];Ka(function(){if(b)e.onload(c);else e.onerror()});return"ok"},g);var lc=k;kc.prototype.ra={};function mc(a){this.Y=a.La||"2"}q("iSpring.LMSAPI.Scorm2004Api",mc,g);n=mc.prototype;n.b=k;n.K=function(a,b){var c=Lb();(this.b=c?new ic(c,this.Y):k)&&this.b.K()?a&&a():b&&b()};n.start=function(){};n.ga=function(){this.b.ga()};n.suspend=function(){this.b.terminate(i)};n.terminate=function(){this.b.terminate(l)};n.la=function(a,b,c,d){Z(this.b,"cmi.score.scaled",a);Z(this.b,"cmi.score.min",b);Z(this.b,"cmi.score.max",c);Z(this.b,"cmi.score.raw",d)};})();
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<e.length*2){if(f%2==0){n=e.charCodeAt(f/2)>>8;r=e.charCodeAt(f/2)&255;if(f/2+1<e.length)i=e.charCodeAt(f/2+1)>>8;else i=NaN}else{n=e.charCodeAt((f-1)/2)&255;if((f+1)/2<e.length){r=e.charCodeAt((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<e.length){u=LZString._keyStr.indexOf(e.charAt(c++));a=LZString._keyStr.indexOf(e.charAt(c++));f=LZString._keyStr.indexOf(e.charAt(c++));l=LZString._keyStr.indexOf(e.charAt(c++));i=u<<2|a>>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<e.length;n++){r=e.charCodeAt(n);switch(s++){case 0:t+=o((r>>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<e.length){r=e.charCodeAt(s)-32;switch(i++){case 0:n=r<<1;break;case 1:t+=o(n|r>>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<e.length;d+=1){s=e.charAt(d);if(!Object.prototype.hasOwnProperty.call(r,s)){r[s]=f++;i[s]=true}o=u+s;if(Object.prototype.hasOwnProperty.call(r,o)){u=o}else{if(Object.prototype.hasOwnProperty.call(i,u)){if(u.charCodeAt(0)<256){for(t=0;t<l;t++){h=h<<1;if(p==15){p=0;c+=v(h);h=0}else{p++}}n=u.charCodeAt(0);for(t=0;t<8;t++){h=h<<1|n&1;if(p==15){p=0;c+=v(h);h=0}else{p++}n=n>>1}}else{n=1;for(t=0;t<l;t++){h=h<<1|n;if(p==15){p=0;c+=v(h);h=0}else{p++}n=0}n=u.charCodeAt(0);for(t=0;t<16;t++){h=h<<1|n&1;if(p==15){p=0;c+=v(h);h=0}else{p++}n=n>>1}}a--;if(a==0){a=Math.pow(2,l);l++}delete i[u]}else{n=r[u];for(t=0;t<l;t++){h=h<<1|n&1;if(p==15){p=0;c+=v(h);h=0}else{p++}n=n>>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<l;t++){h=h<<1;if(p==15){p=0;c+=v(h);h=0}else{p++}}n=u.charCodeAt(0);for(t=0;t<8;t++){h=h<<1|n&1;if(p==15){p=0;c+=v(h);h=0}else{p++}n=n>>1}}else{n=1;for(t=0;t<l;t++){h=h<<1|n;if(p==15){p=0;c+=v(h);h=0}else{p++}n=0}n=u.charCodeAt(0);for(t=0;t<16;t++){h=h<<1|n&1;if(p==15){p=0;c+=v(h);h=0}else{p++}n=n>>1}}a--;if(a==0){a=Math.pow(2,l);l++}delete i[u]}else{n=r[u];for(t=0;t<l;t++){h=h<<1|n&1;if(p==15){p=0;c+=v(h);h=0}else{p++}n=n>>1}}a--;if(a==0){a=Math.pow(2,l);l++}}n=2;for(t=0;t<l;t++){h=h<<1|n&1;if(p==15){p=0;c+=v(h);h=0}else{p++}n=n>>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}
