(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var k,aa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};function ba(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");}var ca=ba(this);
function da(a,b){if(b)a:{var c=ca;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&aa(c,a,{configurable:!0,writable:!0,value:b})}}da("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&c.push(b[d]);return c}});
function ea(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e}da("Array.prototype.values",function(a){return a?a:function(){return ea(this,function(b,c){return c})}});var n=this||self;
function p(a,b,c){a=a.split(".");c=c||n;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b}function fa(a){var b=typeof a;b="object"!=b?b:a?Array.isArray(a)?"array":b:"null";return"array"==b||"object"==b&&"number"==typeof a.length}function ha(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}
function ia(a){return Object.prototype.hasOwnProperty.call(a,ja)&&a[ja]||(a[ja]=++ka)}var ja="closure_uid_"+(1E9*Math.random()>>>0),ka=0;function ma(a,b,c){return a.call.apply(a.bind,arguments)}function na(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}}
function oa(a,b,c){oa=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ma:na;return oa.apply(null,arguments)}function q(a,b){function c(){}c.prototype=b.prototype;a.Ec=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Bc=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h<arguments.length;h++)g[h-2]=arguments[h];return b.prototype[e].apply(d,g)}};function pa(a){if(n.Nb)return n.Nb(a);try{const b=new XMLHttpRequest;b.open("get",a,!1);b.send();return 0==b.status||200==b.status?b.responseText:null}catch(b){return null}}function qa(a){return a&&a.includes("file:///")?a.substr(8):a}n.tc=function(a,b){a=qa(a);b?eval(b):(b=pa(a),eval(b));return!0};function t(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{const c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b)}q(t,Error);t.prototype.name="CustomError";function ra(a,b){a=a.split("%s");let c="";const d=a.length-1;for(let e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");t.call(this,c+a[d])}q(ra,t);ra.prototype.name="AssertionError";function sa(a){throw a;}function ta(a,b){sa(new ra("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1)))};function u(a){this.ua=a;this.F=this.ua.length/4;this.$=this.F+6;this.H=[[],[],[],[]];this.ha=[[],[],[],[]];this.C=Array(v*(this.$+1));for(a=0;a<this.F;a++)this.C[a]=[this.ua[4*a],this.ua[4*a+1],this.ua[4*a+2],this.ua[4*a+3]];var b=Array(4);for(a=this.F;a<v*(this.$+1);a++){b[0]=this.C[a-1][0];b[1]=this.C[a-1][1];b[2]=this.C[a-1][2];b[3]=this.C[a-1][3];if(0==a%this.F){var c=b,d=c[0];c[0]=c[1];c[1]=c[2];c[2]=c[3];c[3]=d;ua(b);b[0]^=w[a/this.F][0];b[1]^=w[a/this.F][1];b[2]^=w[a/this.F][2];b[3]^=w[a/this.F][3]}else 6<
this.F&&4==a%this.F&&ua(b);this.C[a]=Array(4);this.C[a][0]=this.C[a-this.F][0]^b[0];this.C[a][1]=this.C[a-this.F][1]^b[1];this.C[a][2]=this.C[a-this.F][2]^b[2];this.C[a][3]=this.C[a-this.F][3]^b[3]}}u.prototype.ia=16;var v=u.prototype.ia/4;
u.prototype.encrypt=function(a){va(this,a);x(this,0);for(a=1;a<this.$;++a){y(this,z);wa(this);for(var b=this.H,c=this.ha[0],d=0;4>d;d++)c[0]=b[0][d],c[1]=b[1][d],c[2]=b[2][d],c[3]=b[3][d],b[0][d]=A[c[0]]^xa[c[1]]^c[2]^c[3],b[1][d]=c[0]^A[c[1]]^xa[c[2]]^c[3],b[2][d]=c[0]^c[1]^A[c[2]]^xa[c[3]],b[3][d]=xa[c[0]]^c[1]^c[2]^A[c[3]];x(this,a)}y(this,z);wa(this);x(this,this.$);return ya(this)};
u.prototype.decrypt=function(a){va(this,a);x(this,this.$);for(a=1;a<this.$;++a){za(this);y(this,Aa);x(this,this.$-a);for(var b=this.H,c=this.ha[0],d=0;4>d;d++)c[0]=b[0][d],c[1]=b[1][d],c[2]=b[2][d],c[3]=b[3][d],b[0][d]=Ba[c[0]]^Ca[c[1]]^Da[c[2]]^Ea[c[3]],b[1][d]=Ea[c[0]]^Ba[c[1]]^Ca[c[2]]^Da[c[3]],b[2][d]=Da[c[0]]^Ea[c[1]]^Ba[c[2]]^Ca[c[3]],b[3][d]=Ca[c[0]]^Da[c[1]]^Ea[c[2]]^Ba[c[3]]}za(this);y(this,Aa);x(this,0);return ya(this)};
function va(a,b){for(var c,d=0;d<v;d++)for(var e=0;4>e;e++)c=4*e+d,c=b[c],a.H[d][e]=c}function ya(a){for(var b=[],c=0;c<v;c++)for(var d=0;4>d;d++)b[4*d+c]=a.H[c][d];return b}function x(a,b){for(var c=0;4>c;c++)for(var d=0;4>d;d++)a.H[c][d]^=a.C[4*b+d][c]}function y(a,b){for(var c=0;4>c;c++)for(var d=0;4>d;d++)a.H[c][d]=b[a.H[c][d]]}function wa(a){for(var b=1;4>b;b++)for(var c=0;4>c;c++)a.ha[b][c]=a.H[b][c];for(b=1;4>b;b++)for(c=0;4>c;c++)a.H[b][c]=a.ha[b][(c+b)%v]}
function za(a){for(var b=1;4>b;b++)for(var c=0;4>c;c++)a.ha[b][(c+b)%v]=a.H[b][c];for(b=1;4>b;b++)for(c=0;4>c;c++)a.H[b][c]=a.ha[b][c]}function ua(a){a[0]=z[a[0]];a[1]=z[a[1]];a[2]=z[a[2]];a[3]=z[a[3]]}
var z=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,
61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],Aa=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,
255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,
26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],w=[[0,0,0,0],[1,0,0,0],[2,0,0,0],[4,0,0,0],[8,0,0,0],[16,0,0,0],[32,0,0,0],[64,0,0,0],[128,0,0,0],[27,0,0,0],[54,0,0,0]],A=[0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,
34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,118,120,122,124,126,128,130,132,134,136,138,140,142,144,146,148,150,152,154,156,158,160,162,164,166,168,170,172,174,176,178,180,182,184,186,188,190,192,194,196,198,200,202,204,206,208,210,212,214,216,218,220,222,224,226,228,230,232,234,236,238,240,242,244,246,248,250,252,254,27,25,31,29,19,17,23,21,11,9,15,13,3,1,7,5,59,57,63,61,51,49,55,53,43,41,47,45,35,33,39,37,
91,89,95,93,83,81,87,85,75,73,79,77,67,65,71,69,123,121,127,125,115,113,119,117,107,105,111,109,99,97,103,101,155,153,159,157,147,145,151,149,139,137,143,141,131,129,135,133,187,185,191,189,179,177,183,181,171,169,175,173,163,161,167,165,219,217,223,221,211,209,215,213,203,201,207,205,195,193,199,197,251,249,255,253,243,241,247,245,235,233,239,237,227,225,231,229],xa=[0,3,6,5,12,15,10,9,24,27,30,29,20,23,18,17,48,51,54,53,60,63,58,57,40,43,46,45,36,39,34,33,96,99,102,101,108,111,106,105,120,123,126,
125,116,119,114,113,80,83,86,85,92,95,90,89,72,75,78,77,68,71,66,65,192,195,198,197,204,207,202,201,216,219,222,221,212,215,210,209,240,243,246,245,252,255,250,249,232,235,238,237,228,231,226,225,160,163,166,165,172,175,170,169,184,187,190,189,180,183,178,177,144,147,150,149,156,159,154,153,136,139,142,141,132,135,130,129,155,152,157,158,151,148,145,146,131,128,133,134,143,140,137,138,171,168,173,174,167,164,161,162,179,176,181,182,191,188,185,186,251,248,253,254,247,244,241,242,227,224,229,230,239,
236,233,234,203,200,205,206,199,196,193,194,211,208,213,214,223,220,217,218,91,88,93,94,87,84,81,82,67,64,69,70,79,76,73,74,107,104,109,110,103,100,97,98,115,112,117,118,127,124,121,122,59,56,61,62,55,52,49,50,35,32,37,38,47,44,41,42,11,8,13,14,7,4,1,2,19,16,21,22,31,28,25,26],Ea=[0,9,18,27,36,45,54,63,72,65,90,83,108,101,126,119,144,153,130,139,180,189,166,175,216,209,202,195,252,245,238,231,59,50,41,32,31,22,13,4,115,122,97,104,87,94,69,76,171,162,185,176,143,134,157,148,227,234,241,248,199,206,
213,220,118,127,100,109,82,91,64,73,62,55,44,37,26,19,8,1,230,239,244,253,194,203,208,217,174,167,188,181,138,131,152,145,77,68,95,86,105,96,123,114,5,12,23,30,33,40,51,58,221,212,207,198,249,240,235,226,149,156,135,142,177,184,163,170,236,229,254,247,200,193,218,211,164,173,182,191,128,137,146,155,124,117,110,103,88,81,74,67,52,61,38,47,16,25,2,11,215,222,197,204,243,250,225,232,159,150,141,132,187,178,169,160,71,78,85,92,99,106,113,120,15,6,29,20,43,34,57,48,154,147,136,129,190,183,172,165,210,
219,192,201,246,255,228,237,10,3,24,17,46,39,60,53,66,75,80,89,102,111,116,125,161,168,179,186,133,140,151,158,233,224,251,242,205,196,223,214,49,56,35,42,21,28,7,14,121,112,107,98,93,84,79,70],Ca=[0,11,22,29,44,39,58,49,88,83,78,69,116,127,98,105,176,187,166,173,156,151,138,129,232,227,254,245,196,207,210,217,123,112,109,102,87,92,65,74,35,40,53,62,15,4,25,18,203,192,221,214,231,236,241,250,147,152,133,142,191,180,169,162,246,253,224,235,218,209,204,199,174,165,184,179,130,137,148,159,70,77,80,91,
106,97,124,119,30,21,8,3,50,57,36,47,141,134,155,144,161,170,183,188,213,222,195,200,249,242,239,228,61,54,43,32,17,26,7,12,101,110,115,120,73,66,95,84,247,252,225,234,219,208,205,198,175,164,185,178,131,136,149,158,71,76,81,90,107,96,125,118,31,20,9,2,51,56,37,46,140,135,154,145,160,171,182,189,212,223,194,201,248,243,238,229,60,55,42,33,16,27,6,13,100,111,114,121,72,67,94,85,1,10,23,28,45,38,59,48,89,82,79,68,117,126,99,104,177,186,167,172,157,150,139,128,233,226,255,244,197,206,211,216,122,113,
108,103,86,93,64,75,34,41,52,63,14,5,24,19,202,193,220,215,230,237,240,251,146,153,132,143,190,181,168,163],Da=[0,13,26,23,52,57,46,35,104,101,114,127,92,81,70,75,208,221,202,199,228,233,254,243,184,181,162,175,140,129,150,155,187,182,161,172,143,130,149,152,211,222,201,196,231,234,253,240,107,102,113,124,95,82,69,72,3,14,25,20,55,58,45,32,109,96,119,122,89,84,67,78,5,8,31,18,49,60,43,38,189,176,167,170,137,132,147,158,213,216,207,194,225,236,251,246,214,219,204,193,226,239,248,245,190,179,164,169,
138,135,144,157,6,11,28,17,50,63,40,37,110,99,116,121,90,87,64,77,218,215,192,205,238,227,244,249,178,191,168,165,134,139,156,145,10,7,16,29,62,51,36,41,98,111,120,117,86,91,76,65,97,108,123,118,85,88,79,66,9,4,19,30,61,48,39,42,177,188,171,166,133,136,159,146,217,212,195,206,237,224,247,250,183,186,173,160,131,142,153,148,223,210,197,200,235,230,241,252,103,106,125,112,83,94,73,68,15,2,21,24,59,54,33,44,12,1,22,27,56,53,34,47,100,105,126,115,80,93,74,71,220,209,198,203,232,229,242,255,180,185,174,
163,128,141,154,151],Ba=[0,14,28,18,56,54,36,42,112,126,108,98,72,70,84,90,224,238,252,242,216,214,196,202,144,158,140,130,168,166,180,186,219,213,199,201,227,237,255,241,171,165,183,185,147,157,143,129,59,53,39,41,3,13,31,17,75,69,87,89,115,125,111,97,173,163,177,191,149,155,137,135,221,211,193,207,229,235,249,247,77,67,81,95,117,123,105,103,61,51,33,47,5,11,25,23,118,120,106,100,78,64,82,92,6,8,26,20,62,48,34,44,150,152,138,132,174,160,178,188,230,232,250,244,222,208,194,204,65,79,93,83,121,119,
101,107,49,63,45,35,9,7,21,27,161,175,189,179,153,151,133,139,209,223,205,195,233,231,245,251,154,148,134,136,162,172,190,176,234,228,246,248,210,220,206,192,122,116,102,104,66,76,94,80,10,4,22,24,50,60,46,32,236,226,240,254,212,218,200,198,156,146,128,142,164,170,184,182,12,2,16,30,52,58,40,38,124,114,96,110,68,74,88,86,55,57,43,37,15,1,19,29,71,73,91,85,127,113,99,109,215,217,203,197,239,225,243,253,167,169,187,181,159,145,131,141];const B=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(let c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Fa=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){const d=a.length,e="string"===typeof a?a.split(""):a;for(let f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};
function Ga(a,b){a:{const c=a.length,d="string"===typeof a?a.split(""):a;for(let e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}return 0>b?null:"string"===typeof a?a.charAt(b):a[b]}function Ha(a){const b=a.length;if(0<b){const c=Array(b);for(let d=0;d<b;d++)c[d]=a[d];return c}return[]}function Ia(a,b){for(let c=1;c<arguments.length;c++){const d=arguments[c];if(fa(d)){const e=a.length||0,f=d.length||0;a.length=e+f;for(let g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}}
function Ka(a,b,c,d){Array.prototype.splice.apply(a,La(arguments,1))}function La(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};function C(a){for(var b=[],c=0;c<a.length;c+=2)b.push(parseInt(a.substring(c,c+2),16));return b}function Ma(a,b){for(var c=[],d=0;d<a.length;d++)c.push(a[d]^b[d]);return c};function Na(a){this.fa=a}Na.prototype.encrypt=function(a,b){var c=[],d=b;for(b=0;b<a.length;b+=this.fa.ia)d=Ma(Array.prototype.slice.call(a,b,b+this.fa.ia),d),d=this.fa.encrypt(d),Ia(c,d);return c};Na.prototype.decrypt=function(a,b){for(var c=[],d=0,e=b;d<a.length;){b=Array.prototype.slice.call(a,d,d+this.fa.ia);var f=this.fa.decrypt(b);e=Ma(e,f);Ia(c,e);e=b;d+=this.fa.ia}return c};var Oa=C("343ebcf014a7e244ba703229647cf607"),Pa=C("429ab6bc5b161fb66503db4b4b7e310b"),Qa=C("410f951a7436c2bcae986399fe12d772"),Ra=C("b3ee0a61544dc2e8b07cfc41277893ac");function Sa(a,b,c){const [d,e]=a.split(":");var f=C(e);a=parseInt(d,10);b=new u(b);c=(new Na(b)).decrypt(f,c);c=a?c.slice(0,-a):c;for(b=a=0;a<c.length;)f=c[a++],128>f||(191<f&&224>f?a++:239<f&&365>f?(a++,a++,a++,b++):(a++,a++)),b++};var Ta=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},Ua=/&/g,Va=/</g,Wa=/>/g,Xa=/"/g,Ya=/'/g,Za=/\x00/g,$a=/[\x00&<>"']/;function ab(a,b){for(const c in a)b.call(void 0,a[c],c,a)}function bb(a){const b=[];let c=0;for(const d in a)b[c++]=a[d];return b}function D(a,b,c){return null!==a&&b in a?a[b]:c};function cb(){var a=n.navigator;return a&&(a=a.userAgent)?a:""}function E(a){return-1!=cb().indexOf(a)};function db(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}function eb(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};class fb{constructor(a){this.Xa=a}kc(a,b,c){c=this.Xa.hasOwnProperty(a)?this.Xa[a]:c;if(void 0!==c){if(void 0!==b){a=this.Rb;for(let d in b)if(b.hasOwnProperty(d)){const e=b[d];a&&(d=a(d));c=c.replace(new RegExp(d,"g"),e)}}return c}ta("unknown message id: "+a);return a}messages(){return this.Xa}Rb(a){return"%"+a.toUpperCase()+"%"}}fb.prototype.getMessage=fb.prototype.kc;function gb(a,b,c,d){this.Sb=new fb(b);this.Ob=c;this.K=d}gb.prototype.i18n=function(){return this.Sb};var hb=E("Opera"),ib=E("Trident")||E("MSIE"),jb=E("Gecko")&&!(-1!=cb().toLowerCase().indexOf("webkit")&&!E("Edge"))&&!(E("Trident")||E("MSIE"))&&!E("Edge"),kb=-1!=cb().toLowerCase().indexOf("webkit")&&!E("Edge");class lb{};function F(a,b){return 0==b?a.ea:a.X[b]}function mb(a,b){return 0==b?a.ea||[]:b in a.X?F(a,b):[]}function nb(a){if(!a.X)return a.ea?a.ea.slice():[];const b=[],c=a.za;for(let d=0;d<c.length;++d){const e=F(a,c[d]);e&&Ia(b,e)}return b}
class ob{constructor(){this.ea=this.X=this.za=null}push(a,b){if(0==b)this.ea=this.ea||[];else if(this.za=this.za||[0],this.X=this.X||{},!(b in this.X)){this.X[b]=[];var c=this.za;var d=0;let f=c.length,g;for(;d<f;){const h=d+(f-d>>>1);var e=void 0;e=c[h];e=b>e?1:b<e?-1:0;0<e?d=h+1:(f=h,g=!e)}d=g?d:-d-1;0>d&&Ka(c,-(d+1),0,b)}F(this,b).push(a)}remove(a,b){if(b=F(this,b))a=B(b,a),0<=a&&Array.prototype.splice.call(b,a,1)}};class G extends lb{constructor(){super();this.Xb=this.Cb=this.J=null}jc(){return this.Xb}addHandler(a,b,c){this.J=this.J||new ob;this.J.push({jb:a,context:b},c||0)}removeHandler(a,b,c){c=c||0;if(this.J){var d=mb(this.J,c),e=d.length;for(let f=0;f<e;++f){const g=d[f];if(g.jb==a&&g.context==b){(a=F(this.J,c))&&Array.prototype.splice.call(a,f,1);break}}}else ta("EventDispatcher has no handlers!")}lc(a,b,c){if(!this.J)return!1;c=mb(this.J,c||0);const d=c.length;for(let e=0;e<d;++e){const f=c[e];if(f.jb==
a&&f.context==b)return!0}return!1}Fa(...a){if(this.J){const b=nb(this.J),c=b.length;for(let d=0;d<c;++d){const e=b[d];if(-1!=B(nb(this.J),e))try{e.jb.apply(e.context,arguments)}catch(f){pb(f,!0)}}}this.Cb&&this.Cb.forEach(b=>{b.Fa(...a)})}}G.prototype.dispatch=G.prototype.Fa;G.prototype.hasHandler=G.prototype.lc;G.prototype.removeHandler=G.prototype.removeHandler;G.prototype.addHandler=G.prototype.addHandler;G.prototype.eventOwner=G.prototype.jc;class qb{constructor(){this.ec=new G}};function rb(a){let b=0;for(let c=0;c<a.length;++c)b+=a[c];return b};function sb(a,b,c,d,e,f){this.V=a;this.cc=b;this.hc=e;this.Yb=f;this.M={};for(a=0;a<c.length;++a)b=c[a],e=b[1],this.M[b[0]]=e,0<e&&++this.ka;this.da={};for(a=0;a<d.length;++a)c=d[a],b=c[1],this.da[c[0]]=b,0<b&&++this.ka}k=sb.prototype;k.ka=0;k.slidesWeight=function(){return 0<this.V?this.cc:0};k.slidesToView=function(){return this.V};k.totalScore=function(){return this.hc};k.passingScore=function(){return this.Yb};function tb(a,b,c,d){this.fc=a;this.Ra=b;this.bc=c;this.Ub=d}tb.prototype.timeLimit=function(){return this.fc};tb.prototype.message=function(){return this.Ub};function ub(a,b){this.hb=a;this.Hb=b;this.Ib=new G}k=ub.prototype;k.gb=!1;k.ca=0;k.Aa=0;k.Ba=-1;k.Ca=0;k.Pa=0;k.started=function(){return this.gb};k.start=function(a){this.started()||(this.Ca=this.ca=a||0,a=this.ca>=this.hb,a&&this.Hb||(this.gb=!0,this.Aa=Date.now(),a||(this.Ba=setTimeout(this.ab.bind(this),this.hb-this.ca))))};k.ab=function(){this.Hb&&(this.stop(),this.Ca=this.hb);this.Ib.Fa()};
k.stop=function(){this.started()&&(this.gb=!1,0<this.Ba&&(clearTimeout(this.Ba),this.Ba=-1),this.Pa=Date.now()-this.Aa,this.Ca=this.Pa+this.ca)};function vb(a){return a.started()?Date.now()-a.Aa+a.ca:a.Ca};function wb(a){this.oa=a}k=wb.prototype;k.R="";k.B=null;k.D=null;k.qa="unanticipated";k.Db=0;k.Ma=null;k.S=null;k.ib=null;k.I=null;k.id=function(){return this.oa};k.type=function(){return this.m};k.description=function(){return this.R};k.pb=function(){return this.B};function xb(a,b){a.D=b}k.result=function(){return this.qa};k.score=function(){return this.Db};k.ga=function(a){this.Db=a};k.awardedScore=function(){return this.Ma};k.duration=function(){return this.S};k.Ka=function(a){this.S=a};k.qb=function(){return this.ib};
k.details=function(){return this.I};function yb(a,b){a.I=b};function zb(a,b){this.oa=a;this.Vb=b;this.Qb=""}zb.prototype.id=function(){return this.oa};zb.prototype.name=function(){return this.Vb};zb.prototype.email=function(){return this.Qb};function Ab(a,b,c){const d=window.iSpring.LMSAPI;switch(a){case "1.2":return new d.Scorm12Api(b);case "2004":return new d.Scorm2004Api(b);case "aicc":return new d.AiccApi(b);case "tincan":return new d.TinCanApi(b,c);case "cmi-5":return new d.Cmi5Api(b,c);default:throw Error("unknown api");}};function H(a){a=Ta(a);return a=a.replace(/[^\w-]/g,"_")}function I(a,b){return"0123456789abcdefghijklmnopqrstuvwxyz"[((null!=b?b:1)?a:35-a)%36]};class Bb{constructor(a,b){this.o=a;this.fb=b}};var Cb=E("Firefox")||E("FxiOS");var Db={},Eb=null,Fb=jb||kb||"function"==typeof n.btoa;function Gb(a){this.Ia=a}Gb.prototype.serialize=function(a){const b=[];Hb(this,a,b);return b.join("")};
function Hb(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");var e="";for(var f=0;f<b;f++)c.push(e),e=d[f],Hb(a,a.Ia?a.Ia.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),Ib(d,c),c.push(":"),Hb(a,a.Ia?a.Ia.call(b,d,e):e,c),f=","));c.push("}");
return}}switch(typeof b){case "string":Ib(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}}var Jb={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},Kb=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;
function Ib(a,b){b.push('"',a.replace(Kb,function(c){let d=Jb[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),Jb[c]=d);return d}),'"')};function Lb(a,b){ab(b,function(c,d){c&&"object"==typeof c&&c.Dc&&(c=c.Cc());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Mb.hasOwnProperty(d)?a.setAttribute(Mb[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})}
var Mb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};function Ob(a,b,c){var d=arguments,e=document,f=d[1],g=Pb(e,String(d[0]));f&&("string"===typeof f?g.className=f:Array.isArray(f)?g.className=f.join(" "):Lb(g,f));2<d.length&&Qb(e,g,d);return g}
function Qb(a,b,c){function d(h){h&&b.appendChild("string"===typeof h?a.createTextNode(h):h)}for(var e=2;e<c.length;e++){var f=c[e];if(!fa(f)||ha(f)&&0<f.nodeType)d(f);else{a:{if(f&&"number"==typeof f.length){if(ha(f)){var g="function"==typeof f.item||"string"==typeof f.item;break a}if("function"===typeof f){g="function"==typeof f.item;break a}}g=!1}Fa(g?Ha(f):f,d)}}}function Pb(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)}
var Rb={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Sb={IMG:" ",BR:"\n"};function Tb(a){var b=[];Ub(a,b,!0);a=b.join("");a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");a=a.replace(/ +/g," ");" "!=a&&(a=a.replace(/^\s*/,""));return a}function Ub(a,b,c){if(!(a.nodeName in Rb))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in Sb)b.push(Sb[a.nodeName]);else for(a=a.firstChild;a;)Ub(a,b,c),a=a.nextSibling};function Vb(a,b){if("function"!==typeof a)if(a&&"function"==typeof a.handleEvent)a=oa(a.handleEvent,a);else throw Error("Invalid listener argument");2147483647<Number(b)||n.setTimeout(a,b||0)};function Wb(a){var b={width:"1px",height:"1px",border:"0"};if("string"===typeof b)(b=Xb(a,b))&&(a.style[b]=void 0);else for(var c in b){var d=a,e=b[c],f=Xb(d,c);f&&(d.style[f]=e)}}var Yb={};function Xb(a,b){var c=Yb[b];if(!c){var d=db(b);c=d;void 0===a.style[d]&&(d=(kb?"Webkit":jb?"Moz":ib?"ms":null)+eb(d),void 0!==a.style[d]&&(c=d));Yb[b]=c}return c};function Zb(a,b){this.m=a;this.Pb=b||[]}p("iSpring.ios.mobile.MobileAppCommand",Zb);Zb.prototype.id=function(){return ia(this)};function $b(a){try{const b=Pb(document,"iframe");Wb(b);b.src=a;document.body.appendChild(b);Vb(()=>{b&&b.parentNode&&b.parentNode.removeChild(b)},100)}catch(b){}};function J(a){this.length=a.length||a;for(let b=0;b<this.length;b++)this[b]=a[b]||0}J.prototype.BYTES_PER_ELEMENT=4;J.prototype.set=function(a,b){b=b||0;for(let c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]};J.prototype.toString=Array.prototype.join;"undefined"==typeof Float32Array&&(J.BYTES_PER_ELEMENT=4,J.prototype.BYTES_PER_ELEMENT=J.prototype.BYTES_PER_ELEMENT,J.prototype.set=J.prototype.set,J.prototype.toString=J.prototype.toString,p("Float32Array",J));function K(a){this.length=a.length||a;for(let b=0;b<this.length;b++)this[b]=a[b]||0}K.prototype.BYTES_PER_ELEMENT=8;K.prototype.set=function(a,b){b=b||0;for(let c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]};K.prototype.toString=Array.prototype.join;if("undefined"==typeof Float64Array){try{K.BYTES_PER_ELEMENT=8}catch(a){}K.prototype.BYTES_PER_ELEMENT=K.prototype.BYTES_PER_ELEMENT;K.prototype.set=K.prototype.set;K.prototype.toString=K.prototype.toString;p("Float64Array",K)};new Float64Array(3);new Float64Array(3);new Float64Array(4);new Float64Array(4);new Float64Array(4);new Float64Array(16);function L(){var a=window.location.search.substr(1);if(a){var b={};a=a.split("&");for(let e=0;e<a.length;++e){const f=a[e].split("=");if(2==f.length){try{var c=decodeURIComponent(f[0].replace(/\+/g," "))}catch(g){c=f[0]}try{var d=decodeURIComponent(f[1].replace(/\+/g," "))}catch(g){d=f[1]}c=c.toLowerCase();b[c]=d}}}else b={};return b};function M(a){var b="\r";if(0==a.length)return"";null==b&&(b="");var c=0;let d="";const e=a.length;do{var f=ac(a,["<p>","<p "],c);if(f&&f.Ha>c){c=a.substr(c,f.Ha-c);var g=Ob("DIV");g.innerHTML=c;d+=(g.textContent||g.innerText||Tb(g))+b;c=f.Ha}if(g=ac(a,["</p>","</p >"],c)){f=g.Ha+g.qc.length-c;const h=a.substr(c,f);g=Ob("DIV");g.innerHTML=h;d+=(g.textContent||g.innerText||Tb(g))+b;c+=f}else return g=Ob("DIV"),g.innerHTML=a.substr(c,e-c),d+(g.textContent||g.innerText||Tb(g))}while(c<e);return d}
function ac(a,b,c){Array.isArray(b)||(b=[b]);let d=void 0,e=void 0;Fa(b,f=>{const g=a.indexOf(f,c);0<=g&&(void 0===d||g<d)&&(d=g,e=f)});return void 0!==e&&void 0!==d?new bc(e,d):null}function bc(a,b){this.qc=a;this.Ha=b};function N(a,b){this.oa=a;this.R=b}N.prototype.id=function(){return this.oa};N.prototype.description=function(){return this.R};function O(){this.i=[]}O.prototype.count=function(){return this.i.length};function P(a,b){a.i.push(b)}O.prototype.getChoice=function(a){if(0>a||a>=this.count())throw Error("Index out of bounds");return this.i[a]};function Q(){this.i=new O};function cc(a,b,c,d){this.fb=a;this.$b=b;this.ac=c;this.Zb=d;this.eb=void 0}function dc(a){a=M(a.text());$a.test(a)&&(-1!=a.indexOf("&")&&(a=a.replace(Ua,"&amp;")),-1!=a.indexOf("<")&&(a=a.replace(Va,"&lt;")),-1!=a.indexOf(">")&&(a=a.replace(Wa,"&gt;")),-1!=a.indexOf('"')&&(a=a.replace(Xa,"&quot;")),-1!=a.indexOf("'")&&(a=a.replace(Ya,"&#39;")),-1!=a.indexOf("\x00")&&(a=a.replace(Za,"&#0;")));if(!a)return"";const b=document.createElement("div");b.innerHTML=a;return b.firstChild.nodeValue}
cc.prototype.create=function(){var a=0;const b=[];var c=this.$b,d=this.Zb;const e=new wb(c.id()+"_"+a);a+=1;e.m="choice";if(c.message()){var f=c.message().text();f=M(f);e.R=f;f=c.message().replies();null!=c.speech()&&0<M(c.speech())&&(a=new wb(c.id()+"_"+a),a.m="other",c=M(c.speech()),a.R=c,a.qa="neutral",ec(this,a),b.push(a))}else f=M(c.speech()),e.R=f,f=c.replies();0==f.count()&&(e.m="other");c=null;let g=a=0;var h=-1;const m=[];for(var l=0;l<f.count();l++){const r=f.getReply(l);null!=d&&r==d&&
(h=l);a=Math.max(a,r.score());m.push(fc(this,l,dc(r)))}null!=d&&(c=fc(this,h,dc(d)),g=Math.max(g,d.score()));d=f;f=new Q;for(h=0;h<d.count();++h)l=dc(d.getReply(h)),P(f.i,new N(H(h+"_"+l),l));e.I=f;e.B=c;e.D=m;this.fb.scenario().settings().evaluationSettings().enabled()&&(e.ga(a),e.Ma=g);e.qa="neutral";ec(this,e);b.push(e);return b};function fc(a,b,c){c=H(b+"_"+c);b=I(b);return a.ac?b:c}function ec(a,b){null!=a.eb&&(b.ib=new Date(a.eb),b.Ka(Date.now()-a.eb))};bb({uc:"\u202a",zc:"\u202b",xc:"\u202c",vc:"\u200e",Ac:"\u200f"});function gc(){function a(c){try{for(let d=0;255>d;++d){if(c.API_1484_11)return c.API_1484_11;const e=c.parent;if(!e||c==e)break;c=e}}catch(d){}return null}var b=window;return a(b)||b.opener&&a(b.opener)}function hc(a){return"PT"+Math.floor(a/3600)+"H"+Math.floor(a%3600/60)+"M"+Math.floor(a%60)+"S"}function R(a){return 10>a?"0"+a:a}
function ic(){if(jc)if(jc){var a=new Zb("closeWindow");if(jc){var b=a.m,c=a.Pb;a=a.id();var d=(new Gb(null)).serialize(c);if(Fb)c=n.btoa(d);else{c=[];for(var e=0,f=0;f<d.length;f++){var g=d.charCodeAt(f);255<g&&(c[e++]=g&255,g>>=8);c[e++]=g}d=void 0;void 0===d&&(d=0);if(!Eb)for(Eb={},e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),f=["+/=","+/","-_=","-_.","-_"],g=0;5>g;g++){var h=e.concat(f[g].split(""));Db[g]=h;for(var m=0;m<h.length;m++){var l=h[m];void 0===Eb[l]&&
(Eb[l]=m)}}d=Db[d];e=Array(Math.floor(c.length/3));f=d[64]||"";for(g=h=0;h<c.length-2;h+=3){var r=c[h],la=c[h+1];l=c[h+2];m=d[r>>2];r=d[(r&3)<<4|la>>4];la=d[(la&15)<<2|l>>6];l=d[l&63];e[g++]=""+m+r+la+l}m=0;l=f;switch(c.length-h){case 2:m=c[h+1],l=d[(m&15)<<2]||f;case 1:c=c[h],e[g]=""+d[c>>2]+d[(c&3)<<4|m>>4]+l+f}c=e.join("")}$b("isplayer://"+b+"/"+a+"/"+c)}}else try{kc||(window.open("","_self",""),window.close())}catch($c){}else try{kc||(window.Ja=window,b=lc(),b==window.top?(window.open("","_self",
""),window.close()):mc(b))}catch($c){mc(window.top)}}function mc(a){if(a&&a.Ja){var b=document.createElement("a");b.href="data/goodbye.html";a.Ja.location.replace(b.href)}}function lc(){let a=window;if(a.Ja)return a;let b=0;for(;a!=window.top&&100>b++;){if(a.Ja)return a;a=a.parent}console.log("Unable to locate content root");return null}function nc(){try{const a=document.getElementById("preloader");a&&a.parentNode.removeChild(a)}catch(a){}};var oc={yc:"prompt",sc:"always",wc:"never"};p("ispring.presenter.presentation.settings.PresentationResumeMode",oc);p("PROMPT_TO_RESUME","prompt",oc);p("ALWAYS_RESUME","always",oc);p("NEVER_RESUME","never",oc);(function(){function a(b){try{return b.ISPlayer&&(window.ISPlayer=b.ISPlayer),b.ISPVideoPlayer&&(window.ISPVideoPlayer=b.ISPVideoPlayer),b.ISPQuizPlayer&&(window.ISPQuizPlayer=b.ISPQuizPlayer),b.ISPInteractionPlayerCore&&(window.ISPInteractionPlayerCore=b.ISPInteractionPlayerCore),b.ISPBookPlayer&&(window.ISPBookPlayer=b.ISPBookPlayer),b.ISPScenarioPlayer&&(window.ISPScenarioPlayer=b.ISPScenarioPlayer),b.ISPFlipPlayer&&(window.ISPFlipPlayer=b.ISPFlipPlayer),!0}catch(c){return!1}}if(function(){let b;
try{b=window.frameElement}catch(c){}return null!=b}()){let b=window,c=7;for(;b&&b.parent!=b&&0!=c--&&!a(b.parent);)b=b.parent}})();var S;const pc=L().user_agent;S=pc?pc:cb()||"";L();L();var qc=-1!=S.toLowerCase().indexOf("chrome"),kc=-1==S.toLowerCase().indexOf("windows phone")&&-1!=S.toLowerCase().indexOf("android")&&!qc&&!Cb&&!hb,jc=-1!=S.indexOf("ismobile");const rc=document.createElement("audio"),sc=rc.play&&rc.play();sc&&sc.then(()=>{rc.pause()},()=>{});L();L();
function uc(){return 1==window._ispringDebug||"1"==L().isdebug}setTimeout(function(){vc=uc},0);function wc(){this.dc=new O;this.sa=new O}wc.prototype.sources=function(){return this.dc};function T(a,b,c){return b.textWithEquations(a.l||!c?"Equation":"")}function U(a,b){return b.join(a.l?",":"[,]")}function V(a,b,c){return a.l?I(b):H(`${b}_${c}`)}
class W{constructor({pc:a,rc:b,slideIndex:c}){this.l=a;this.Jb=b;this.v=!1;this.Fb=c}create(a){if(!a.submitted())return null;var b=(void 0!==this.Fb?"Slide"+this.Fb+"_":"")+"Q_"+a.slide().id();b=new wb(H(b));this.g(b,a);return b}g(a,b){var c=b.slide();c=T(this,c.description(),!0);a.R=c;b.hasBeenVisited()&&(a.Ka(b.visitDuration()),c=b.firstVisitTime(),a.ib=c);if(c=b.slide().settings().evaluation()){if(a.ga(b.maxScore()),b=b.review()){var d=Math.max(0,b.awardedScore());a.Ma=d;d="unanticipated";switch(b.status()){case "correct":d=
"correct";break;case "incorrect":case "partially":d="incorrect"}a.qa=d}}else a.qa="neutral";this.v=!!c}};class xc extends W{g(a,b){super.g(a,b);a.m="matching";var c=b.contentState();b=b.slide().content();const {details:d,premises:e,responses:f,mc:g}=this.cb(b);c=this.Ua(c.chainsStates(),e,f,g);a.B=c;this.v&&(c=[this.v?this.Va(b.chains(),e,f,g):c],a.D=c);a.I=d}cb(a){const b=new wc,c=[],d=[];a=a.chains();for(var e of a){var f=e.object().slideObject();a=e.destination().slideObject();if(f&&0>c.indexOf(f)){c.push(f);const g=f.name();P(b.sources(),new N(H(c.indexOf(f)+"_"+g),g))}a&&0>d.indexOf(a)&&(d.push(a),
f=a.name(),P(b.sa,new N(H(d.indexOf(a)+"_"+f),f)))}e=this.l?I(d.length,!1):`${d.length}_${"None"}`;P(b.sa,new N(e,"None"));return{details:b,premises:c,responses:d,mc:e}}Ua(a,b,c,d){const e=[];var f=b.slice();for(const h of a){a=h.objectState().slideObject();var g=h.destinationState().slideObject();g=this.aa(a,g,b,c,d);e.push(g);f.splice(f.indexOf(a),1)}for(const h of f)f=this.aa(h,null,b,c,d),e.push(f);return this.la(e)}Va(a,b,c,d){const e=[];for(const f of a){a=f.object().slideObject();const g=f.destination().slideObject();
a&&(a=this.aa(a,g,b,c,d),e.push(a))}return this.la(e)}na(a,b,c){this.l?b=I(b,c):(a=a.name(),a=H(a),b=`${b}_${a}`);return b}aa(a,b,c,d,e){a=this.na(a,c.indexOf(a),!0);b=b?this.na(b,d.indexOf(b),!1):e;d=this.l?".":"[.]";return H(a)+d+H(b)}la(a){return a.join(this.l?",":"[,]")}};class yc extends W{g(a,b){super.g(a,b);a.m="long-fill-in";b=b.contentState().response();a.B=b}};class zc extends W{g(a,b){super.g(a,b);a.m=this.l?"other":"fill-in";var c=b.contentState();b=[];const d=[];for(var e of c.placeholders())b.push(e.response()),(c=e.correctAnswers())&&(this.Jb?d.push(c[0]):d.push(c.join("[,]")));a.B=b.join("[,]");if(this.v){e=d;if(this.l||this.Jb)e=[e.join(this.l?"[.]":"[,]")];a.D=e}}};class Ac extends W{g(a,b){super.g(a,b);a.m="choice";const c=[],d=[],e=new Q;this.Sa(b.contentState(),e,d,c);a.B=U(this,c);this.v&&(a.D=[U(this,d)]);a.I=e}Sa(a,b,c,d){a.areas().forEach((f,g)=>{const h=f.area(),m=h.label().text();g=V(this,g,m);h.correct()&&c.push(g);a.areaSelected(f)&&d.push(g);P(b.i,new N(g,m))});const e=a.areas().length;for(let f=e;f<e+a.freePointsCount();++f){const g=V(this,f,"Untitled_Spot");d.push(g)}}};class Bc extends W{g(a,b){super.g(a,b);a.m="choice";const c=[],d=new Q;b.contentState().statementsStates().forEach((e,f)=>{var g=e.statement().text();P(d.i,new N(V(this,f,g),g));if(g=e.selectedScale())e=c.push,f=f+"_"+g.text(),f=H(f),e.call(c,f)});a.B=U(this,c);a.I=d}};class Cc extends W{g(a,b){super.g(a,b);a.m="matching";var c=b.contentState();b=b.slide().content();const {details:d,premises:e,responses:f}=this.cb(b);c=this.Ua(c.matches(),e,f,this.l);a.B=c;this.v&&(c=[this.Va(b.matches(),this.l)],a.D=c);a.I=d}cb(a){const b=new wc,c=[],d=[];var e=a.matches();for(var f=0;f<e.count();++f){var g=e.getChoice(f);c.push(g.premise());d.push(g.response());const h=T(this,g.premise().textRange(),!1);g=T(this,g.response().textRange(),!1);P(b.sources(),new N(H(f+"_"+h),h));
P(b.sa,new N(H(f+"_"+g),g))}a=a.distractors();for(e=0;e<a.count();++e)f=a.getChoice(e),d.push(f),f=T(this,f.textRange(),!1),P(b.sa,new N(H(e+"_"+f),f));return{details:b,premises:c,responses:d}}Ua(a,b,c,d){const e=[];for(const f of a){a=f.premise();const g=f.response();a=this.aa(a,B(b,a),g,B(c,g),d);e.push(a)}return this.la(e,d)}Va(a,b){const c=[];for(let e=0;e<a.count();++e){var d=a.getChoice(e);d=this.aa(d.premise(),e,d.response(),e,b);c.push(d)}return this.la(c,b)}na(a,b,c,d){return c?I(b,d):`${b}_${T(this,
a.textRange(),!1)}`}aa(a,b,c,d,e){a=this.na(a,b,e,!0);c=this.na(c,d,e,!1);e=e?".":"[.]";return H(a)+e+H(c)}la(a,b){return a.join(b?",":"[,]")}};function Dc(){this.i=new O;this.rb=[]}q(Dc,Q);class Ec extends W{g(a,b){super.g(a,b);a.m="choice";var c=b.slide();b=b.contentState();const d=c.content();c=this.Wa(c.content(),b);a.B=c;if(this.v){a:{for(c=0;c<d.count();++c){const e=d.getChoice(c);if(e.correct()){c=V(this,c,T(this,e.textRange(),!1));break a}}c=""}a.D=[c]}b=this.ma(d,b);a.I=b}ma(a,b){let c=new Q;if(this.sb()){c=new Dc;for(var d=0;d<b.count();++d){var e=b.getChoiceState(d);const f=e.choice(),g=a.getChoiceIndex(f);f.typeIn()&&(e=e.customAnswer(),c.rb[g]=e)}}for(b=0;b<a.count();++b)d=
a.getChoice(b),d=T(this,d.textRange(),!1),P(c.i,new N(H(`${b}_${d}`),d));return c}sb(){return!this.v}Wa(a,b){for(let c=0;c<b.count();++c){const d=b.getChoiceState(c);if(d.selected())return a=a.getChoiceIndex(d.choice()),V(this,a,T(this,d.choice().textRange(),!1))}return""}};function Fc(a){const b=new wc;let c=0;Fa(a.placeholders(),(d,e)=>{e+="";P(b.sources(),new N(e,e));d.values.forEach(f=>{f=f.text();var g=`${c++}_${f}`;g=H(g);P(b.sa,new N(g,f))})});return b}
class Gc extends W{g(a,b){super.g(a,b);a.m=this.l?"other":"matching";const c=[],d=[],e=new Q;b.contentState().placeholders().forEach((f,g)=>{const h=f.response(),m=f.correctAnswer();f.answers().forEach(l=>{var r=e.i.count();r=`${g}[.]${H(r+"_"+l)}`;l==m&&d.push(r);l==h&&c.push(r);P(e.i,new N(r,l))})});a.B=c.join("[,]");this.v&&xb(a,[d.join("[,]")]);yb(a,Fc(b.slide().content()))}};class Hc extends W{g(a,b){super.g(a,b);a.m="choice";const c=b.slide().content();var d=this.Wa(c,b.contentState());a.B=d;this.v&&(d=[this.Ta(c)],a.D=d);b=this.ma(c,b.contentState());a.I=b}ma(a,b){let c=new Q;if(!this.v){c=new Dc;for(var d=0;d<b.count();++d){var e=b.getChoiceState(d);const f=e.choice(),g=a.getChoiceIndex(f);f.typeIn()&&(e=e.customAnswer(),c.rb[g]=e)}}for(b=0;b<a.count();++b)d=a.getChoice(b),d=T(this,d.textRange(),!1),P(c.i,new N(H(b+"_"+d),d));return c}Wa(a,b){const c=[];for(let f=
0;f<b.count();++f){var d=b.getChoiceState(f);const g=d.choice();var e=T(this,g.textRange(),!1);d.selected()&&(d=a.getChoiceIndex(g),e=V(this,d,e),c.push(e))}return U(this,c)}Ta(a){const b=[];for(let d=0;d<a.count();++d){var c=a.getChoice(d);c.correct()&&(c=V(this,d,T(this,c.textRange(),!1)),b.push(c))}return U(this,b)}};class Ic extends W{g(a,b){super.g(a,b);var c=b.slide();b=b.contentState().response();c=c.content();var d;a:{for(d=0;d<c.count();++d)if("notEqual"==c.getAnswer(d).comparisonOperation()){d=!0;break a}d=!1}a.m=this.l||d?"fill-in":"numeric";a.B=b;if(this.v){d=(b=this.l||d)?"[,]":"[.]";const h=[];for(let m=0;m<c.count();++m){var e="",f=c.getAnswer(m),g=f.comparisonOperation();if("between"==g)g=f,e=g.leftOperand(),g=g.rightOperand(),e=b?"between "+e+" and "+g:e+"[:]"+g;else switch(f=f.operand(),g){case "notEqual":b&&
(e="not equal to "+f);break;case "equal":e=b?"equal to "+f:f+"[:]"+f;break;case "greaterThan":e=b?"greater than "+f:f+"[:]";break;case "greaterThanOrEqual":e=b?"greater than or equal to "+f:f+"[:]";break;case "lessThan":e=b?"less than "+f:"[:]"+f;break;case "lessThanOrEqual":e=b?"less than or equal to "+f:"[:]"+f}h.push(e)}a.D=[h.join(d)]}}};function Jc(a,b,c,d){const e=d?",":"[,]",f=[];c.forEach(g=>{const h=T(a,g.textRange(),!1);g=b.getChoiceIndex(g);f.push(H(d?I(g,!0):g+"_"+h))});return f.join(e)}class Kc extends W{g(a,b){super.g(a,b);a.m="sequencing";var c=b.slide().content();b=Jc(this,c,b.contentState().studentResponse(),this.l);a.B=b;this.v&&(b=[Jc(this,c,c,this.l)],a.D=b);c=this.ma(c);a.I=c}ma(a){const b=new Q;for(let c=0;c<a.count();++c){const d=a.getChoice(c).textRange().text();P(b.i,new N(H(c+"_"+d),d))}return b}};class Lc extends Ec{g(a,b){super.g(a,b);if(this.l&&this.v){a.m="true-false";var c=b.slide().content();b=b.contentState();const d=c.getChoice(0).correct()?"t":"f",e="t"==d?"f":"t";c=c.getChoice(0).correct()?c.getChoice(0).id():c.getChoice(1).id();let f=null;for(let g=0;2>g;++g){const h=b.getChoiceState(g);if(h.selected()){f=h.choice().id()==c?d:e;break}}a.B=f;a.D=[d]}}sb(){return!1}};class Mc extends W{g(a,b){super.g(a,b);a.m="fill-in";var c=b.slide();b=b.contentState().response().text();a.B=b;this.v&&(c=this.Ta(c.content()),a.D=c)}Ta(a){const b=[];for(let c=0;c<a.count();++c){const d=a.getChoice(c);b.push(d.textRange().text())}return b}};function Nc(a,b){this.length=b;for(let c=0;c<b;++c)this[c]=a(c)};function Oc(a,b,c){for(const d of a){const e=d.response();null!=e&&(a=new Nc(f=>b.i.getChoice(f),b.i.count()),a=Ga(a,f=>Ta(f.description())==e),c.push(a.id()))}}
class Pc extends W{g(a,b){super.g(a,b);a.m=this.l?"other":"choice";var c=b.slide().content();const d=[],e=new Q;c=c.extraWords();for(var f of c){c=f.text();var g=e.i.count();g=H(`${g}_${c}`);P(e.i,new N(g,c))}b=b.contentState().placeholders();this.v&&(f=[],this.Sa(b,e,f),a.D=[f.join("[,]")]);Oc(b,e,d);a.B=d.join("[,]");a.I=e}Sa(a,b,c){for(const e of a){a=e.placeholder().value||"";var d=b.i.count();d=H(`${d}_${a}`);c.push(d);P(b.i,new N(d,a))}}};const Qc={FillInTheBlank:zc,WordBank:Pc,TypeIn:Mc,Numeric:Ic,MultipleChoice:Ec,MultipleResponse:Hc,MultipleChoiceText:Gc,Sequence:Kc,Matching:Cc,TrueFalse:Lc,Essay:yc,Hotspot:Ac,LikertScale:Bc,DND:xc};class X{constructor(a,b,c,d,e,f){this.type=b;this.Mb=a;this.nc=c;this.maxScore=void 0!==d?d:null;this.oc=void 0!==e?e:null;this.lb=void 0!==f?f:null}kb(){const a={};a[Rc]=this.Mb;a[Sc]=this.nc;a[Tc]=this.maxScore;a[Uc]=this.oc;a[Vc]=this.lb;a[Wc]=this.type;return a}}var Rc="e",Sc="p",Tc="m",Uc="r",Vc="s",Wc="t";class Xc{constructor(a){this.ya=null;this.S=0;this.xa=-1;this.O={};this.Da=[];this.Y=[];this.ta=a}duration(){return this.S}Ka(a){this.S=a}kb(){const a={};a[Yc]=this.S;a[Zc]=this.xa;a[ad]=this.Y;a[bd]=this.Da;a[cd]=this.ta;a[dd]=this.ya;const b={};for(const c in this.O)b[c]=this.O[c].kb();a[ed]=b;return a}}var Zc="l",ad="v",bd="vh",cd="V",Yc="d",dd="p",ed="q";function fd(a,b){var c=new Xc(D(b,cd,[]));c.S=D(b,Yc,0);c.xa=D(b,Zc,-1);c.Y=D(b,ad,[]);c.Da=D(b,bd,[]);c.ya=D(b,dd,null);const d={};b=D(b,ed,{});for(const f in b){var e=b[f];d[f]=new X(e[Rc],e[Wc],e[Sc],e[Tc],e[Uc],e[Vc])}c.O=d;a.U=c;c=a.U.duration();if(a.P.Ra&&c>=a.P.timeLimit())alert("You have already exceeded available time for viewing this content."),nc(),ic();else return a.U.ya}
function gd(a,b){a.va&&(a.va=!1,a.Gb&&(a.W.stop(),hd(a),a.A.view().playbackController().slideChangeEvent().removeHandler(a.Ya,a)),a.A.closeWindowEvent().removeHandler(a.tb,a),a.A.stateChangedEvent().removeHandler(a.zb,a),b?a.o.suspend():a.o.terminate())}
function hd(a){var b=vb(a.W);var c=a.W;c=c.started()?Date.now()-c.Aa:c.Pa;a.j.Ka(b);a.o.s.h("cmi.session_time",hc(c/1E3));b=a.A.persistState();a.j.ya=b;b=a.j.kb();a=a.o.s;b=(new Gb).serialize(b);b=LZString.compressToBase64(b);b.length<=("2"==a.u.Qa?4E3:64E3)&&a.h("cmi.suspend_data",b)}
function id(a){var b=a.T;if(0<b.V||0<b.ka){var c=jd(a),d=b.totalScore()*c;a.o.ga(c,0,b.totalScore(),d)}a.o.nb(a.j.Y.length/a.j.ta.length);b=a.o;c=b.ob;a:if(d=a.T,0<d.V||0<d.ka){if(a.K){var e=a.P.timeLimit(),f=vb(a.W);b:{var g=a.j;g=g.Y.concat(g.Da);if(0<a.T.V&&0<g.length)var h=!0;else{var m=a.j.O;for(h in m){var l=parseInt(h,10);if(m[h].Mb&&-1!=B(g,l)){h=!0;break b}}h=!1}}if(!h&&e>f){h=null;break a}}h=jd(a)*d.totalScore()>=d.passingScore()}else h=null;a:{d=a.T;e=a.j.Y;f=a.j.ta;g=a.j.O;m=a.A.presentation().slides();
for(l=0;l<m.count();++l)if(f.includes(l)&&!e.includes(l)||(l in d.M||l in d.da)&&!g[l+""]){d=!1;break a}d=!0}c.call(b,h,d);hd(a);a.o.commit()}function jd(a){var b=a.T;if(!(0<b.V||0<b.ka))return 0;let c=0;var d=a.j.O;for(var e in d){const f=d[e],g=parseInt(e,10);c+=(null!=f.lb?f.lb:1)*(null!=(g in b.M?b.M[g]:null)?g in b.M?b.M[g]:0:g in b.da?b.da[g]:0)}d=0;0<b.V&&(d=a.j.Y.length/a.j.ta.length*b.slidesWeight());a=bb(b.M);a=rb(a);e=bb(b.da);b=a+rb(e)+b.slidesWeight();return(c+d)/b}
function kd(a,b){if("normal"==a.ba){b.sessionModeChangedEvent().addHandler(a.Bb,a);var c=b.slidePoolState();for(const d of c.questions())d.submittedEvent().addHandler(a.Ab,a);a.G.id();b.quiz().title()}}function ld(a,b){b.sessionModeChangedEvent().removeHandler(a.Bb,a);b=b.slidePoolState();for(const c of b.questions())c.submittedEvent().removeHandler(a.Ab,a)}
function md(a,b){"normal"==a.ba&&(a.ra=b,b.showTerminalSceneEvent().addHandler(a.$a,a),b.onReplySelectedEvent().addHandler(a.Za,a),b.scenario().id(),b.scenario().title(),b.completed()&&a.$a())}function nd(a){const b=a.ra;a.ra=null;b.showTerminalSceneEvent().removeHandler(a.$a,a);b.onReplySelectedEvent().removeHandler(a.Za,a)}
class Y{constructor(a,b){this.G=this.N=this.ra=null;this.Gb=!1;this.A=this.U=null;this.va=!1;this.pa=null;this.L=!1;try{this.La=a;this.wa={};this.Oa=null;this.T=new sb(b.slidesToView,b.slidesWeight,b.quizzes||{},b.scenarios||{},b.totalScore,b.passingScore);this.P=new tb(1E3*b.timeLimit,b.exitOnTimeout,b.showMessageOnTimeout,b.timeoutMessage);this.W=new ub(this.P.timeLimit(),this.P.Ra);const e=b.tincan.auth;var c=e.login;c&&Sa(c,Ra,Pa);var d=e.password;d&&Sa(d,Qa,Oa);this.K="never"!=b.resumeMode;const f=
new gb("ispring://presentations/"+encodeURIComponent(b.presentationId),b.tincan.i18n,b.scorm2004?b.scorm2004.edition:"",this.K);this.Eb=new qb;this.o=Ab(a,f,this.Eb)}catch(e){uc()&&alert(e)}}initialize(a){this.pa=a;null==this.o?this.wb():this.o.initialize(this.Wb.bind(this),this.wb.bind(this))}Wb(){this.ba=this.o.Ga();var a=null;var b=this.o.s.Z("cmi.suspend_data");if(b)a:{b=LZString.decompressFromBase64(b);try{const d=JSON.parse(b);var c="object"==typeof d?d:null;break a}catch(d){}c=null}else c=
null;switch(this.ba){case "browse":a=null;break;case "review":c&&(a=fd(this,c));break;case "normal":this.K&&c&&(a=fd(this,c))}window.launchMode=this.ba;void 0!==a&&(this.L=!0,this.pa&&this.pa(a))}wb(){this.pa&&this.pa()}start(a){if(this.L){const b=a.presentation().slides(),c=[];for(let d=0;d<b.visibleSlidesCount();++d){const e=b.getVisibleSlide(d).index();c.push(e)}this.j=new Xc(c);this.A=a;this.va=!0;this.Eb.ec.Fa(a.presentation().title());a.startupEvent().addHandler(this.xb,this);a.startupCompletedEvent().addHandler(this.yb,
this);a.closeWindowEvent().addHandler(this.tb,this)}}xb(a){this.A.startupEvent().removeHandler(this.xb,this);var b=(this.K||"review"==this.ba)&&this.U?this.U.xa:-1;0<=b?(a.setSlideIndex(b),a.setAction("resumePlayback")):(b=this.A.view().playbackController().firstSlideIndex(),a.setSlideIndex(b),a.setAction("gotoSlide"))}yb(a,b){this.A.startupCompletedEvent().removeHandler(this.yb,this);this.Gb=!0;"resumePlayback"==a&&this.U&&(this.j=this.U);a=this.j.duration();this.W.started()||(this.W.Ib.addHandler(this.ab,
this),this.W.start(a));a=this.A.view().playbackController();a.slideChangeEvent().addHandler(this.Ya,this);a=a.currentSlideIndex();a==b&&this.Ya(a);this.A.stateChangedEvent().addHandler(this.zb,this)}Kb(){this.va&&gd(this,this.K)}Ya(a){if(this.G){var b=this.G;b.currentSessionChangedEvent().removeHandler(this.ub,this);(b=b.currentSession())&&ld(this,b);this.G=null}this.N&&(this.N.currentSessionChangedEvent().removeHandler(this.vb,this),this.ra&&nd(this),this.N=null);b=this.A.view().playbackController();
if(a in this.T.M){var c=this.G=b.quizPlayer(),d=ia(c)+"";d in this.wa||(this.wa[d]=!0,(d=od(this.o.s))&&c.setUserInfo(d.id(),{USER_NAME:d.name(),USER_EMAIL:d.email()}));c.currentSessionChangedEvent().addHandler(this.ub,this);(c=c.currentSession())&&kd(this,c)}a in this.T.da&&(b=this.N=b.scenarioPlayer(),c=ia(b)+"",c in this.wa||(this.wa[c]=!0,c=od(this.o.s),d=!b.userInfoIsLoaded(),c&&d&&b.setUserInfo(c.id(),{USER_NAME:c.name(),USER_EMAIL:c.email()})),c=b.currentSession(),null!=c&&md(this,c),b.currentSessionChangedEvent().addHandler(this.vb,
this));b=this.A.presentation().slides().getSlide(a);"normal"==this.ba&&b.title()&&b.title();b=this.j;0<=b.ta.indexOf(a)?(b=b.Y,0<=B(b,a)||b.push(a)):(b=b.Da,0<=B(b,a)||b.push(a));this.j.xa=a;id(this)}vb(){this.ra&&nd(this);const a=this.N.currentSession();md(this,a)}$a(){const a=this.N.currentSession();var b=a.currentSceneState().scene();null!=b&&(b.speech()&&0<b.speech().length||b.message()&&0<b.message().text().length)&&this.Za();if(a.scenario().settings().evaluationSettings().enabled()){b=Math.max(0,
a.maxScore());var c=Math.max(0,a.userScore());const d=0<b-0?c/(b-0):1;b=new X(!0,"scenario",a.scenarioPassed(),b,c,d)}else b=new X(!1,"scenario",!0);c=this.A.view().playbackController().currentSlideIndex();this.j.O[c+""]=b;a.duration();a.scenario().settings().evaluationSettings().enabled()&&(a.maxScore(),a.userScore(),a.scenarioPassed());a.scenario().id();a.scenario().title();id(this)}Za(a){const b=this.N.currentSession(),c=b.currentSceneState().scene();null!=c&&(a=(new cc(b,c,"1.2"==this.La,a)).create(),
Fa(a,function(d){if("tincan"==this.La||"choice"==d.type()){var e="/scenarios/"+b.scenario().id();d.id();d.type();this.o.Ea(e,d)}},this))}ub(){const a=this.G.currentSession();this.Oa&&ld(this,this.Oa);(this.Oa=a)&&kd(this,a)}Bb(a){if("testing"==a){a=this.G.currentSession();var b;if(b=a.evaluation()){var c=b.maxScore();const d=b.awardedScore(),e=b.awardedPercent()/100;b=new X(!0,"quiz",b.quizPassed(),c,d,e)}else b=new X(!1,"quiz",!0);c=this.A.view().playbackController().currentSlideIndex();this.j.O[c+
""]=b;a.quizDuration();if(b=a.evaluation())b.maxScore(),b.awardedScore(),b.quizPassed(),b=this.G.currentSession(),(new Bb(this.o,b)).fb.settings();this.G.id();a.quiz().title();id(this)}}Ab(a){this.G.currentSession();if(a.initiated()){const d=this.A.view().playbackController().currentSlideIndex()+1;var b=a.slide().type(),c=this.La;if(a=(new Qc[b]({pc:"1.2"==c||"aicc"==c,rc:"tincan"==c,slideIndex:d})).create(a))b="/quizzes/"+this.G.id(),a.id(),this.o.Ea(b,a)}}tb(a){a.preventAction();this.Kb()}ab(){id(this);
this.P.bc&&alert(this.P.message());this.P.Ra&&gd(this,!1)}zb(a){a.actionPrevented()||(a.preventAction(),hd(this))}}Y.prototype.closeLms=Y.prototype.Kb;Y.prototype.start=Y.prototype.start;Y.prototype.initialize=Y.prototype.initialize;var pd=null;p("iSpring.LMS.create",function(a,b,c){return pd=new Y(b,c)});p("iSpring.LMS.instance",function(){return pd});function qd(){}k=qd.prototype;k.s=null;k.Lb=function(){throw Error("unimplemented abstract method");};k.nb=function(a){this.s.nb(a)};k.initialize=function(a,b){if(this.s=this.Lb()){var c=this.s;c.L?a():c.u?(c.L=c.u.initialize(),c.L?a():b()):(c.L=!1,b())}else b()};k.commit=function(){this.s.commit()};k.suspend=function(){this.s.terminate(!0);nc();ic()};k.terminate=function(){this.s.terminate(!1);nc();ic()};k.Ga=function(){return"normal"};k.ob=function(a,b){this.s.mb(a);this.s.ob(a,b)};
k.ga=function(a,b,c,d){this.s.ga(d,b,c,a)};k.Ea=function(a,b){this.s.Ea(b)};class rd{constructor(a,b,c){this.ja=a;this.Qa=b;this.bb=!1;this.Na=0;this.K=c}initialize(){try{return"true"==this.ja.Initialize("").toString()}catch(a){}return!1}terminate(a){this.h("cmi.exit",a?this.bb?"":"suspend":"normal");this.h("adl.nav.request","exitAll");this.commit();try{return"true"==this.ja.Terminate("").toString()}catch(b){}return!1}commit(){0==this.Na&&this.h("cmi.exit",this.K?this.bb?"":"suspend":"normal");try{const a="true"==this.ja.Commit("").toString();this.Na+=1;return a}catch(a){}return!1}Z(a){try{return this.ja.GetValue(a)}catch(b){}return""}h(a,
b){"number"===typeof b&&(b=parseFloat(b.toFixed(7))+"");try{return"true"==this.ja.SetValue(a,b).toString()}catch(c){}return!1}mb(a){this.bb=a}};var Z={id:"id",type:"type",score:"weighting",ic:"correct_responses.%INDEX%.pattern",pb:"learner_response",description:"description",result:"result",duration:"latency",qb:"timestamp"};p("Tincan.MobileHttpTransport.onRequestComplete",function(a,b,c){const d=null.Tb[a];if(null==d)return"";delete null.Tb[a];Vb(()=>{if(b)d.onload(c);else d.onerror()},10);return"ok"});function od(a){return new zb(a.Z("cmi.learner_id"),a.Z("cmi.learner_name"))};class sd{constructor(a,b){const c=gc();this.u=c?new rd(c,a,b):null;this.L=!1}initialize(){return this.L?!0:this.L=null!=this.u?this.u.initialize():!1}terminate(a){return this.u?this.u.terminate(a):!1}commit(){return this.u?this.u.commit():!1}Z(a){return this.u?this.u.Z(a):""}h(a,b){return this.u?this.u.h(a,b):!1}ga(a,b,c,d){null==d&&(d=0);this.h("cmi.score.raw",a);this.h("cmi.score.min",b);this.h("cmi.score.max",c);this.h("cmi.score.scaled",d)}nb(a){this.h("cmi.progress_measure",a)}Ga(){return this.u?
this.u.Z("cmi.mode"):"normal"}ob(a,b){this.h("cmi.success_status",null===a?"unknown":a?"passed":"failed");this.h("cmi.completion_status",null===b?"unknown":b?"completed":"incomplete")}mb(a){this.u.mb(a)}Ea(a){var b=parseInt(this.Z("cmi.interactions._count"),10);if(!(0>b)){b="cmi.interactions."+b+".";this.h(b+Z.id,a.id());this.h(b+Z.type,a.type());this.h(b+Z.score,a.score());var c=a.D||[];for(var d=0;d<c.length;++d){var e=Z.ic.replace("%INDEX%",d);this.h(b+e,c[d])}c=a.pb();null!=c&&this.h(b+Z.pb,c);
c=this.h;d=b+Z.result;e=a.result();c.call(this,d,e);this.h(b+Z.description,a.description());c=a.duration();null!==c&&this.h(b+Z.duration,hc(c/1E3));a=a.qb();null!==a&&("number"===typeof a&&(a=new Date(a)),this.h(b+Z.qb,a.getUTCFullYear()+"-"+R(a.getUTCMonth()+1)+"-"+R(a.getUTCDate())+"T"+R(a.getUTCHours())+":"+R(a.getUTCMinutes())+":"+R(a.getUTCSeconds())+".0Z"))}}};function td(a){this.Qa=a.Ob||"2";this.K=a.K}q(td,qd);p("iSpring.LMSAPI.Scorm2004Api",td);td.prototype.Lb=function(){return new sd(this.Qa,this.K)};td.prototype.Ga=function(){return this.s.Ga()};let vc=()=>!1;function ud(a,b){vc()&&(b?n.console.error(a):n.console.warn(a))}function pb(a,b){const c=a.stack||a.toString();0>String(c).indexOf(a.message)&&ud(a.message,b);ud(c,b)}window.onerror=function(...a){const [b,,,,c]=a;c?pb(c,!0):ud(b,!0);return!0};sa=a=>{try{throw Error(a.message);}catch(b){pb(b,!1)}};n.console||(window._log="",n.console={log:function(a){window._log+="\n"+a},warn:function(a){window._log+="\nwarn: "+a},error:function(a){window._log+="\nerror: "+a}});})();
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}
