(function(){function g(a){throw a;}var j=void 0,l=!0,m=null,q=!1;function t(){return function(){}}function aa(a){return function(b){this[a]=b}}function u(a){return function(){return this[a]}}function ca(a){return function(){return a}}var w,da=this;function x(a,b,c){a=a.split(".");c=c||da;!(a[0]in c)&&c.execScript&&c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&y(b)?c[d]=b:c=c[d]?c[d]:c[d]={}} function ea(a){a=a.split(".");for(var b=da,c;c=a.shift();)if(b[c]!=m)b=b[c];else return m;return b}function ga(){} function ha(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}function y(a){return a!==j}function ia(a){return"array"==ha(a)}function ka(a){var b=ha(a);return"array"==b||"object"==b&&"number"==typeof a.length}function la(a){return"string"==typeof a}function ma(a){return"number"==typeof a}function na(a){return"function"==ha(a)}function oa(a){var b=typeof a;return"object"==b&&a!=m||"function"==b}function pa(a){return a[qa]||(a[qa]=++ra)}var qa="closure_uid_"+(1E9*Math.random()>>>0),ra=0; function sa(a,b,c){return a.call.apply(a.bind,arguments)}function ta(a,b,c){a||g(Error());if(2")&&(a=a.replace(Ea,">"));-1!=a.indexOf('"')&&(a=a.replace(Fa,"""));return a} var Ba=/&/g,Ca=//g,Fa=/\"/g,Aa=/[&<>\"]/;function Ga(a){var b={"&":"&","<":"<",">":">",""":'"'},c=document.createElement("div");return a.replace(Ha,function(a,e){var f=b[a];if(f)return f;if("#"==e.charAt(0)){var h=Number("0"+e.substr(1));isNaN(h)||(f=String.fromCharCode(h))}f||(c.innerHTML=a+" ",f=c.firstChild.nodeValue.slice(0,-1));return b[a]=f})} function Ia(a){return a.replace(/&([^;]+);/g,function(a,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:if("#"==c.charAt(0)){var d=Number("0"+c.substr(1));if(!isNaN(d))return String.fromCharCode(d)}return a}})}var Ha=/&([^;\s<&]+);?/g,Ja={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B",'"':'\\"',"\\":"\\\\"},Ka={"'":"\\'"}; function La(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#(0==s[1].length?0:parseInt(s[1],10))?1:0)||((0==r[2].length)<(0==s[2].length)? -1:(0==r[2].length)>(0==s[2].length)?1:0)||(r[2]s[2]?1:0)}while(0==c)}return c}function Pa(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})}function Qa(a){var b=la(j)?La(j):"\\s";return a.replace(RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})};var D={RA:function(a){return a[a.length-1]}};D.wb=Array.prototype;D.indexOf=D.wb.indexOf?function(a,b,c){return D.wb.indexOf.call(a,b,c)}:function(a,b,c){c=c==m?0:0>c?Math.max(0,a.length+c):c;if(la(a))return!la(b)||1!=b.length?-1:a.indexOf(b,c);for(;cc&&(c=Math.max(0,a.length+c));if(la(a))return!la(b)||1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1};D.forEach=D.wb.forEach?function(a,b,c){D.wb.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=la(a)?a.split(""):a,f=0;fb?m:la(a)?a.charAt(b):a[b]};D.nI=function(a,b,c){for(var d=a.length,e=la(a)?a.split(""):a,f=0;fb?m:la(a)?a.charAt(b):a[b]};D.jP=function(a,b,c){for(var d=la(a)?a.split(""):a,e=a.length-1;0<=e;e--)if(e in d&&b.call(c,d[e],e,a))return e;return-1};D.contains=function(a,b){return 0<=D.indexOf(a,b)};D.Rm=function(a){return 0==a.length};D.clear=function(a){if(!ia(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};D.HI=function(a,b){D.contains(a,b)||a.push(b)};D.xA=function(a,b,c){D.splice(a,c,0,b)}; D.tY=function(a,b,c){ua(D.splice,a,c,0).apply(m,b)};D.insertBefore=function(a,b,c){var d;2==arguments.length||0>(d=D.indexOf(a,c))?a.push(b):D.xA(a,b,d)};D.remove=function(a,b){var c=D.indexOf(a,b),d;(d=0<=c)&&D.jl(a,c);return d};D.jl=function(a,b){return 1==D.wb.splice.call(a,b,1).length};D.yY=function(a,b,c){b=D.nI(a,b,c);return 0<=b?(D.jl(a,b),l):q};D.concat=function(a){return D.wb.concat.apply(D.wb,arguments)};D.Cd=function(a){var b=a.length;if(0=arguments.length?D.wb.slice.call(a,b):D.wb.slice.call(a,b,c)}; D.uJ=function(a){for(var b={},c=0,d=0;d>1,n;n=c?b.call(e,a[k],k,a):b(d,a[k]);0b?1:ac&&D.xA(a,b,-(c+1))}; D.fY=function(a,b,c){b=D.IH(a,b,c);return 0<=b?D.jl(a,b):q};D.iY=function(a,b){for(var c={},d=0;dc*(f-e))return[];if(0f;a+=c)d.push(a);return d};D.repeat=function(a,b){for(var c=[],d=0;db&&D.wb.push.apply(a,a.splice(0,-b)));return a};D.EY=function(a){if(!arguments.length)return[];for(var b=[],c=0;;c++){for(var d=[],e=0;e=f.length)return b;d.push(f[c])}b.push(d)}}; D.DJ=function(a){for(var b=Math.random,c=a.length-1;0parseFloat(Eb)){Db=String(Ib);break a}}Db=Eb} var Jb={};function Kb(a){return Jb[a]||(Jb[a]=0<=Oa(Db,a))}var Lb=da.document,Mb=!Lb||!vb?j:Cb()||("CSS1Compat"==Lb.compatMode?parseInt(Db,10):5);function Nb(a,b){this.width=a;this.height=b}w=Nb.prototype;w.oa=function(){return new Nb(this.width,this.height)};w.Rm=function(){return!(this.width*this.height)};w.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};w.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};w.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this}; w.scale=function(a,b){var c=ma(b)?b:a;this.width*=a;this.height*=c;return this};var Ob=!vb||vb&&9<=Mb,Pb=!wb&&!vb||vb&&vb&&9<=Mb||wb&&Kb("1.9.1"),Qb=vb&&!Kb("9"),Rb=vb||ub||xb;function Sb(a,b,c){return Math.min(Math.max(a,b),c)};function Tb(a,b){this.x=y(a)?a:0;this.y=y(b)?b:0}w=Tb.prototype;w.oa=function(){return new Tb(this.x,this.y)};function Ub(a,b){return a==b?l:!a||!b?q:a.x==b.x&&a.y==b.y}function Vb(a,b){return new Tb(a.x+b.x,a.y+b.y)}w.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};w.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};w.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this}; w.translate=function(a,b){a instanceof Tb?(this.x+=a.x,this.y+=a.y):(this.x+=a,ma(b)&&(this.y+=b));return this};w.scale=function(a,b){var c=ma(b)?b:a;this.x*=a;this.y*=c;return this};function Wb(a){return a?new Xb(Yb(a)):Ra||(Ra=new Xb)}function Zb(a){return la(a)?document.getElementById(a):a}function $b(){var a=document;return a.querySelectorAll&&a.querySelector?a.querySelectorAll("HEAD"):a.getElementsByTagName("HEAD")}function ac(a,b){Ya(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:d in bc?a.setAttribute(bc[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})} var bc={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};function cc(a){var b=!xb&&"CSS1Compat"==a.compatMode?a.documentElement:a.body;a=a.parentWindow||a.defaultView;return new Tb(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}function dc(a,b,c){return ec(document,arguments)} function ec(a,b){var c=b[0],d=b[1];if(!Ob&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',za(d.name),'"');if(d.type){c.push(' type="',za(d.type),'"');var e={};eb(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(la(d)?c.className=d:ia(d)?Ta.apply(m,[c].concat(d)):ac(c,d));2"+a,c.removeChild(c.firstChild)):c.innerHTML=a;if(1==c.childNodes.length)return c.removeChild(c.firstChild);for(a=b.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);return a} function kc(a,b){a.appendChild(b)}function lc(a){for(var b;b=a.firstChild;)a.removeChild(b)}function mc(a){return a&&a.parentNode?a.parentNode.removeChild(a):m}function nc(a){return Pb&&a.children!=j?a.children:D.filter(a.childNodes,function(a){return 1==a.nodeType})}function oc(a){if(Rb)return a.parentElement;a=a.parentNode;return oa(a)&&1==a.nodeType?a:m} function pc(a,b){if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}function Yb(a){return 9==a.nodeType?a:a.ownerDocument||a.document} function qc(a,b){if("textContent"in a)a.textContent=b;else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=b}else lc(a),a.appendChild(Yb(a).createTextNode(String(b)))}function rc(a){if("outerHTML"in a)return a.outerHTML;var b=Yb(a).createElement("div");b.appendChild(a.cloneNode(l));return b.innerHTML}function sc(a,b){var c=[];return tc(a,b,c,l)?c[0]:j} function tc(a,b,c,d){if(a!=m)for(a=a.firstChild;a;){if(b(a)&&(c.push(a),d)||tc(a,b,c,d))return l;a=a.nextSibling}return q}var uc={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},wc={IMG:" ",BR:"\n"};function xc(a,b,c){if(!(a.nodeName in uc))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 wc)b.push(wc[a.nodeName]);else for(a=a.firstChild;a;)xc(a,b,c),a=a.nextSibling} function gc(a){if(a&&"number"==typeof a.length){if(oa(a))return"function"==typeof a.item||"string"==typeof a.item;if(na(a))return"function"==typeof a.item}return q}function yc(){var a=document;try{return a&&a.activeElement}catch(b){}return m}function Xb(a){this.xd=a||da.document||document}w=Xb.prototype;w.vI=Wb;w.gg=function(a){return la(a)?this.xd.getElementById(a):a};w.jq=function(a,b,c){return ec(this.xd,arguments)};w.createElement=function(a){return this.xd.createElement(a)}; w.createTextNode=function(a){return this.xd.createTextNode(String(a))};w.appendChild=kc;w.uI=nc;w.contains=pc;w.Dc=qc;function zc(a){a=a||document.styleSheets;for(var b=[],c=Ac(a),d=0;a=c[d];d++){var e=Bc(a);if(e&&e.length)for(var f=0,h=0,i=e.length,k;h>=8;b[c++]=e}ka(b)||g(Error("encodeByteArray takes an array as a parameter"));Hc();a=Dc;c=[];for(d=0;d>2,f=(f&3)<<4|h>>4,h=(h&15)<<2|k>>6,k=k&63;i||(k=64,e||(h=64));c.push(a[n],a[f],a[h],a[k])}b=c.join("")}return b} function Ic(a){Hc();for(var b=Ec,c=[],d=0;d>4);64!=h&&(c.push(f<<4&240|h>>2),64!=i&&c.push(h<<6&192|i))}return c}function Hc(){if(!Dc){Dc={};Ec={};for(var a=0;65>a;a++)Dc[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),Ec[Dc[a]]=a}};function Jc(){}Jc.prototype.bL=function(a,b,c){return"url(data:image/svg+xml;base64,"+Gc('')+")"};function Kc(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}w=Kc.prototype;w.oa=function(){return new Kc(this.left,this.top,this.width,this.height)};w.contains=function(a){return a instanceof Kc?this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height}; w.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};w.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};w.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this}; w.translate=function(a,b){a instanceof Tb?(this.left+=a.x,this.top+=a.y):(this.left+=a,ma(b)&&(this.top+=b));return this};w.scale=function(a,b){var c=ma(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};function Lc(){return xb?"Webkit":wb?"Moz":vb?"ms":ub?"O":m}function Mc(a,b){if(b&&a in b)return a;var c=Lc();return c?(c=c.toLowerCase(),c+=Qa(a),!y(b)||c in b?c:m):m};function F(a,b,c){la(b)?Qc(a,c,b):Ya(b,ua(Qc,a))}function Qc(a,b,c){var d;a:if(d=Pa(c),a.style[d]===j&&(c=Lc()+Qa(c),a.style[c]!==j)){d=c;break a}d&&(a.style[d]=b)}function Rc(a,b){var c=Yb(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,m))?c[b]||c.getPropertyValue(b)||"":""}function Sc(a,b){return Rc(a,b)||(a.currentStyle?a.currentStyle[b]:m)||a.style&&a.style[b]} function Tc(a,b,c){var d,e=wb&&(lb||pb)&&Kb("1.9");b instanceof Tb?(d=b.x,b=b.y):(d=b,b=c);a.style.left=Uc(d,e);a.style.top=Uc(b,e)}function Vc(a){return new Tb(a.offsetLeft,a.offsetTop)}function Wc(a){var b=a.getBoundingClientRect();vb&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b} function Xc(a){if(vb&&!(vb&&8<=Mb))return a.offsetParent;var b=Yb(a),c=Sc(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(c=Sc(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return m} function Yc(a){var b,c=Yb(a),d=Sc(a,"position"),e=wb&&c.getBoxObjectFor&&!a.getBoundingClientRect&&"absolute"==d&&(b=c.getBoxObjectFor(a))&&(0>b.screenX||0>b.screenY),f=new Tb(0,0),h;b=c?Yb(c):document;if(h=vb)if(h=!(vb&&9<=Mb))h="CSS1Compat"!=Wb(b).xd.compatMode;h=h?b.body:b.documentElement;if(a==h)return f;if(a.getBoundingClientRect)b=Wc(a),a=Wb(c),a=cc(a.xd),f.x=b.left+a.x,f.y=b.top+a.y;else if(c.getBoxObjectFor&&!e)b=c.getBoxObjectFor(a),a=c.getBoxObjectFor(h),f.x=b.screenX-a.screenX,f.y=b.screenY- a.screenY;else{b=a;do{f.x+=b.offsetLeft;f.y+=b.offsetTop;b!=a&&(f.x+=b.clientLeft||0,f.y+=b.clientTop||0);if(xb&&"fixed"==Sc(b,"position")){f.x+=c.body.scrollLeft;f.y+=c.body.scrollTop;break}b=b.offsetParent}while(b&&b!=a);if(ub||xb&&"absolute"==d)f.y-=c.body.offsetTop;for(b=a;(b=Xc(b))&&b!=c.body&&b!=h;)if(f.x-=b.scrollLeft,!ub||"TR"!=b.tagName)f.y-=b.scrollTop}return f}function Zc(a,b){var c=$c(a),d=$c(b);return new Tb(c.x-d.x,c.y-d.y)} function $c(a){var b=new Tb;if(1==a.nodeType){if(a.getBoundingClientRect){var c=Wc(a);b.x=c.left;b.y=c.top}else{var c=Wb(a),c=cc(c.xd),d=Yc(a);b.x=d.x-c.x;b.y=d.y-c.y}if(wb&&!Kb(12)){var e;vb?e="-ms-transform":xb?e="-webkit-transform":ub?e="-o-transform":wb&&(e="-moz-transform");var f;e&&(f=Sc(a,e));f||(f=Sc(a,"transform"));f?(a=f.match(ad),a=!a?new Tb(0,0):new Tb(parseFloat(a[1]),parseFloat(a[2]))):a=new Tb(0,0);b=Vb(b,a)}}else e=na(a.uP),f=a,a.targetTouches?f=a.targetTouches[0]:e&&a.pc.targetTouches&& (f=a.pc.targetTouches[0]),b.x=f.clientX,b.y=f.clientY;return b}function bd(a,b,c){b instanceof Nb?(c=b.height,b=b.width):c==j&&g(Error("missing height argument"));cd(a,b);dd(a,c)}function Uc(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function dd(a,b){a.style.height=Uc(b,l)}function cd(a,b){a.style.width=Uc(b,l)} function ed(a){if("none"!=Sc(a,"display"))return gd(a);var b=a.style,c=b.display,d=b.visibility,e=b.position;b.visibility="hidden";b.position="absolute";b.display="inline";a=gd(a);b.display=c;b.position=e;b.visibility=d;return a}function gd(a){var b=a.offsetWidth,c=a.offsetHeight,d=xb&&!b&&!c;return(!y(b)||d)&&a.getBoundingClientRect?(a=Wc(a),new Nb(a.right-a.left,a.bottom-a.top)):new Nb(b,c)} function G(a,b){var c=a.style;"opacity"in c?c.opacity=b:"MozOpacity"in c?c.MozOpacity=b:"filter"in c&&(c.filter=""===b?"":"alpha(opacity="+100*b+")")}function hd(a,b){a.style.display=b?"":"none"}function id(a){return new Nb(a.offsetWidth,a.offsetHeight)}var ad=/matrix\([0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, ([0-9\.\-]+)p?x?, ([0-9\.\-]+)p?x?\)/;function jd(){0!=kd&&(this.mY=Error().stack,ld[pa(this)]=this)}var kd=0,ld={};jd.prototype.fI=q;jd.prototype.te=function(){if(!this.fI&&(this.fI=l,this.Yc(),0!=kd)){var a=pa(this);delete ld[a]}};jd.prototype.Yc=function(){if(this.eJ)for(;this.eJ.length;)this.eJ.shift()()};function md(a,b){this.type=a;this.currentTarget=this.target=b}w=md.prototype;w.Yc=t();w.te=t();w.il=q;w.defaultPrevented=q;w.Xu=l;w.stopPropagation=function(){this.il=l};w.preventDefault=function(){this.defaultPrevented=l;this.Xu=q};function nd(a){a.stopPropagation()};var od=0;function pd(){}w=pd.prototype;w.key=0;w.gh=q;w.ju=q;w.we=function(a,b,c,d,e,f){na(a)?this.NI=l:a&&a.handleEvent&&na(a.handleEvent)?this.NI=q:g(Error("Invalid listener argument"));this.Bj=a;this.rJ=b;this.src=c;this.type=d;this.capture=!!e;this.rA=f;this.ju=q;this.key=++od;this.gh=q};w.handleEvent=function(a){return this.NI?this.Bj.call(this.rA||this.src,a):this.Bj.handleEvent.call(this.Bj,a)};var qd=!vb||vb&&9<=Mb,rd=vb&&!Kb("9");!xb||Kb("528");wb&&Kb("1.9b")||vb&&Kb("8")||ub&&Kb("9.5")||xb&&Kb("528");wb&&!Kb("8")||vb&&Kb("9");function sd(a){return xb?"webkit"+a:ub?"o"+a.toLowerCase():a.toLowerCase()} var td=vb?"focusin":"DOMFocusIn",ud={YR:"click",hW:"rightclick",GS:"dblclick",lU:"mousedown",rU:"mouseup",qU:"mouseover",pU:"mouseout",oU:"mousemove",mU:"mouseenter",nU:"mouseleave",tW:"selectstart",$T:"keypress",ZT:"keydown",aU:"keyup",OR:"blur",wT:"focus",HS:"deactivate",xT:td,yT:vb?"focusout":"DOMFocusOut",VR:"change",sW:"select",bX:"submit",VT:"input",JV:"propertychange",aT:"dragstart",WS:"drag",YS:"dragenter",$S:"dragover",ZS:"dragleave",dT:"drop",XS:"dragend",nX:"touchstart",mX:"touchmove", lX:"touchend",kX:"touchcancel",KR:"beforeunload",fS:"consolemessage",gS:"contextmenu",NS:"DOMContentLoaded",gT:"error",ST:"help",bU:"load",hU:"losecapture",UU:"orientationchange",XV:"readystatechange",YV:"resize",rW:"scroll",xX:"unload",RT:"hashchange",XU:"pagehide",YU:"pageshow",yV:"popstate",kS:"copy",gV:"paste",VJ:"cut",HR:"beforecopy",IR:"beforecut",JR:"beforepaste",PU:"online",OU:"offline",jU:"message",eS:"connect",CR:sd("AnimationStart"),zR:sd("AnimationEnd"),AR:sd("AnimationIteration"),oX:sd("TransitionEnd"), rV:"pointerdown",xV:"pointerup",qV:"pointercancel",uV:"pointermove",wV:"pointerover",vV:"pointerout",sV:"pointerenter",tV:"pointerleave",QT:"gotpointercapture",iU:"lostpointercapture",sU:"MSGestureChange",tU:"MSGestureEnd",uU:"MSGestureHold",vU:"MSGestureStart",wU:"MSGestureTap",xU:"MSGotPointerCapture",yU:"MSInertiaStart",zU:"MSLostPointerCapture",AU:"MSPointerCancel",BU:"MSPointerDown",CU:"MSPointerEnter",DU:"MSPointerHover",EU:"MSPointerLeave",FU:"MSPointerMove",GU:"MSPointerOut",HU:"MSPointerOver", IU:"MSPointerUp",iX:"textinput",cS:"compositionstart",dS:"compositionupdate",bS:"compositionend",hT:"exit",cU:"loadabort",dU:"loadcommit",eU:"loadredirect",fU:"loadstart",gU:"loadstop",ZV:"responsive",GW:"sizechanged",yX:"unresponsive",zX:"visibilitychange",XW:"storage",SS:"DOMSubtreeModified",OS:"DOMNodeInserted",QS:"DOMNodeRemoved",RS:"DOMNodeRemovedFromDocument",PS:"DOMNodeInsertedIntoDocument",LS:"DOMAttrModified",MS:"DOMCharacterDataModified"};function vd(a){vd[" "](a);return a}vd[" "]=ga;function wd(a,b){a&&this.we(a,b)}C(wd,md);w=wd.prototype;w.target=m;w.relatedTarget=m;w.offsetX=0;w.offsetY=0;w.clientX=0;w.clientY=0;w.screenX=0;w.screenY=0;w.button=0;w.keyCode=0;w.charCode=0;w.ctrlKey=q;w.altKey=q;w.shiftKey=q;w.metaKey=q;w.pQ=q;w.pc=m; w.we=function(a,b){var c=this.type=a.type;md.call(this,c);this.target=a.target||a.srcElement;this.currentTarget=b;var d=a.relatedTarget;if(d){if(wb){var e;a:{try{vd(d.nodeName);e=l;break a}catch(f){}e=q}e||(d=m)}}else"mouseover"==c?d=a.fromElement:"mouseout"==c&&(d=a.toElement);this.relatedTarget=d;this.offsetX=xb||a.offsetX!==j?a.offsetX:a.layerX;this.offsetY=xb||a.offsetY!==j?a.offsetY:a.layerY;this.clientX=a.clientX!==j?a.clientX:a.pageX;this.clientY=a.clientY!==j?a.clientY:a.pageY;this.screenX= a.screenX||0;this.screenY=a.screenY||0;this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pQ=lb?a.metaKey:a.ctrlKey;this.state=a.state;this.pc=a;a.defaultPrevented&&this.preventDefault();delete this.il};w.stopPropagation=function(){wd.T.stopPropagation.call(this);this.pc.stopPropagation?this.pc.stopPropagation():this.pc.cancelBubble=l}; w.preventDefault=function(){wd.T.preventDefault.call(this);var a=this.pc;if(a.preventDefault)a.preventDefault();else if(a.returnValue=q,rd)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};w.uP=u("pc");w.Yc=t();var Dd={},Ed={},Fd={},Gd={};function J(a,b,c,d,e){if(ia(b)){for(var f=0;fe.keyCode||e.returnValue!=j)return l;a:{var k=q;if(0==e.keyCode)try{e.keyCode=-1;break a}catch(n){k=l}if(k||e.returnValue==j)e.returnValue=l}}k=new wd;k.we(e,this);e=l;try{if(h){for(var p=[],r=k.currentTarget;r;r=r.parentNode)p.push(r);f=d[l];f.ye=f.Nb;for(var s=p.length-1;!k.il&&0<=s&&f.ye;s--)k.currentTarget=p[s],e&=Pd(f,p[s],c,l,k);if(i){f=d[q]; f.ye=f.Nb;for(s=0;!k.il&&sb?e+="000":256>b?e+="00":4096>b&&(e+="0");return Xd[a]=e+b.toString(16)}),'"')};function Zd(a,b){this.ja=a;this.vK=b||[]}x("iSpring.ios.mobile.MobileAppCommand",Zd,j);Zd.prototype.id=function(){return pa(this)};Zd.prototype.execute=function(){if(!de)return q;var a;a=this.ja;var b=this.vK,c=this.id(),d=[];Vd(new Ud,b,d);a="isplayer://"+a+"/"+c+"/"+Gc(d.join(""));return ee(a)};function ee(a){try{var b=hc("iframe");F(b,{width:"1px",height:"1px",border:"0"});b.src=a;document.body.appendChild(b);Sd(function(){mc(b)},100)}catch(c){return q}return l};function fe(a,b){b||(b={});var c=window,d="undefined"!=typeof a.href?a.href:String(a),e=b.target||a.target,f=[],h;for(h in b)switch(h){case "width":case "height":case "top":case "left":f.push(h+"="+b[h]);break;case "target":case "noreferrer":break;default:f.push(h+"="+(b[h]?1:0))}f=f.join(",");if(b.noreferrer){if(c=c.open("",e,f))vb&&-1!=d.indexOf(";")&&(d="'"+d.replace(/'/g,"%27")+"'"),c.opener=m,xb?c.location.href=d:(d=za(d),c.document.write(''), c.document.close())}else c=c.open(d,e,f);return c};function ge(a){this.length=a.length||a;for(var b=0;b/g))for(var c=0;c=a.count()&&g(Error("index is out of range"));return a.gf[0]}function of(a,b){for(var c=a.gf,d=0;dpf(b,e.fg()))return e}return m};function qf(a,b){this.ld=a;this.S=b;this.gf=[];for(var c=this.ld.yb,d=m,e=0;eh||h>=f.count())&&g(Error("index is out of range"));f=f.yb[h];h=f.pb();switch(f.type()){case "play":d&&rf(this,d,h);d=f;break;case "togglePlay":d&&sf(this,d,h)?(rf(this,d,h),d=m):(d&&rf(this,d),d=f);break;case "stop":d&&(rf(this,d,h),d=m)}}d&&rf(this,d)}qf.prototype.Jz=function(){return new mf(this.gf)}; function rf(a,b,c){c&&!sf(a,b,c)&&(c=m);c||(c=tf(a,b));a.gf.push(new lf(b,b.pb(),c))}function sf(a,b,c){a=tf(a,b);return 0<=pf(a,c)}function tf(a,b){var c=uf,d=a.ld,e=d.Lf,f=d.Ke,h=m;if(ma(e))h=d.duration(),h=h-(b.Oj()||0)+h*(e-1);else switch(e){case c.Iv:f=-1;break;case c.Jv:f=Math.max(f,0)}e=b.pb();f=0>f?new vf(e.N(),e.ka()+1,0):new vf(e.N()+f+1,-1,0);c=m;h!==m&&(c=a.S,e=c.lf(e,l,q),h=Math.min(e+h,c.duration()),c=c.$f(h,l,q));return c&&0>pf(c,f)?c:f};function wf(a,b){this.Ag=a;this.Mb=b}wf.prototype.name=u("Ag");wf.prototype.time=u("Mb");function xf(){this.Bl=[]}xf.prototype.count=function(){return this.Bl.length};xf.prototype.add=function(a){this.Bl.push(a)};function yf(a,b){(0>b||b>=a.count())&&g(Error());return a.Bl[b]};function zf(){this.yb=[]}zf.prototype.count=function(){return this.yb.length};function Af(a,b,c){this.Vb=a;this.oh=b;this.ha=c;this.Bl=new xf;this.yb=new zf}w=Af.prototype;w.Ke=-1;w.Lf=1;w.qe=1;w.gf=m;w.id=u("Vb");w.duration=u("ha");w.volume=u("qe");w.setVolume=aa("qe");w.Og=u("Bl");function If(a,b){a.gf||(a.gf=(new qf(a,b)).Jz());return a.gf}var uf={Jv:"untilNextSlide",Iv:"untilNextClick",ur:"untilNextSound"};function Jf(a,b,c,d){Af.call(this,a,b,c);this.nF=d}C(Jf,Af);Jf.prototype.vA=u("dL");Jf.prototype.cB=u("tN");Jf.prototype.SA=u("ZM");function Kf(){}x("ispring.events.IEventDispatcher",Kf,j);Kf.prototype.addHandler=t();Kf.prototype.addHandler=Kf.prototype.addHandler;Kf.prototype.removeHandler=t();Kf.prototype.removeHandler=Kf.prototype.removeHandler;function Lf(){}x("ispring.utils.assets.IAsset",Lf,j);Lf.prototype.$c=t();Lf.prototype.isLoaded=Lf.prototype.$c;Lf.prototype.Wa=t();Lf.prototype.progress=Lf.prototype.Wa;Lf.prototype.load=t();Lf.prototype.load=Lf.prototype.load;Lf.prototype.HB=t();Lf.prototype.unload=Lf.prototype.HB;Lf.prototype.hi=t();Lf.prototype.loadCompleteEvent=Lf.prototype.hi;Lf.prototype.ii=t();Lf.prototype.loadFailedEvent=Lf.prototype.ii;Lf.prototype.HA=t();Lf.prototype.loadProgressEvent=Lf.prototype.HA;function Mf(){}x("ispring.utils.assets.IGraphicAsset",Mf,j);Mf.prototype.width=t();Mf.prototype.width=Mf.prototype.width;Mf.prototype.height=t();Mf.prototype.height=Mf.prototype.height;Mf.prototype.Mz=t();Mf.prototype.createInstance=Mf.prototype.Mz;Mf.prototype.Lz=t();Mf.prototype.createImgInstance=Mf.prototype.Lz;x("ispring.presenter.presentation.assets.ISlideThumbnail",t(),j);function Nf(){this.xo=new N;this.zo=new N;this.$D=new N}Nf.prototype.Vl=q;Nf.prototype.Ul=q;Nf.prototype.Sc=0;Nf.prototype.$c=u("Vl");Nf.prototype.isLoaded=Nf.prototype.$c;Nf.prototype.Wa=u("Sc");Nf.prototype.progress=Nf.prototype.Wa;Nf.prototype.load=function(){!this.Vl&&!this.Ul&&(this.Ul=l,this.Ie())};Nf.prototype.load=Nf.prototype.load;Nf.prototype.HB=function(){if(this.Vl||this.Ul)Of(this),this.$e.src="",this.$e=m,this.Ul=this.Vl=q,this.Ek(0)};Nf.prototype.unload=Nf.prototype.HB; Nf.prototype.Ek=function(a){this.Sc!=a&&(this.Sc=a,this.$D.I(this))};Nf.prototype.hi=u("xo");Nf.prototype.loadCompleteEvent=Nf.prototype.hi;Nf.prototype.ii=u("zo");Nf.prototype.loadFailedEvent=Nf.prototype.ii;Nf.prototype.HA=u("$D");Nf.prototype.loadProgressEvent=Nf.prototype.HA;var Pf=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");function Qf(a,b,c){a=[a,"&","t","=",encodeURIComponent(String((new Date).getTime()))];if(a[1]){var d=a[0],e=d.indexOf("#");0<=e&&(a.push(d.substr(e)),a[0]=d=d.substr(0,e));e=d.indexOf("?");0>e?a[1]="?":e==d.length-1&&(a[1]=j)}a=a.join("");Nf.call(this);this.Po=a;this.Ha=b;this.Fa=c}C(Qf,Nf);w=Qf.prototype;w.$e=m;w.Ie=function(){this.$e=new Image;this.$e.onload=A(this.Js,this);this.$e.onerror=A(this.jM,this);this.$e.src=this.Po};function Of(a){a.$e.onload=m;a.$e.onerror=m} w.Js=function(){Of(this);this.Ul=q;this.Vl=l;this.Ek(1);this.xo.I(this)};w.jM=function(){Of(this);this.Ul=this.Vl=q;this.zo.I(this);this.Ek(0)};function Rf(a){a.$c()||g(Error("asset not loaded"))}w.path=u("Po");w.width=function(){if(y(this.Ha))return this.Ha;Rf(this);return this.$e.width};Qf.prototype.width=Qf.prototype.width;Qf.prototype.height=function(){if(y(this.Fa))return this.Fa;Rf(this);return this.$e.height};Qf.prototype.height=Qf.prototype.height; Qf.prototype.Mz=function(){Rf(this);var a=hc("canvas");a.width=this.width();a.height=this.height();a.getContext("2d").drawImage(this.$e,0,0);return a};Qf.prototype.createInstance=Qf.prototype.Mz;Qf.prototype.Lz=function(){Rf(this);return this.$e.cloneNode(l)};Qf.prototype.createImgInstance=Qf.prototype.Lz;function Sf(a,b,c){Qf.call(this,a,b,c)}C(Sf,Qf);Sf.prototype.url=u("Po");Sf.prototype.url=Sf.prototype.url;function vf(a,b,c){this.$b=a;this.yG=b;this.It=c}vf.prototype.$b=0;vf.prototype.yG=0;vf.prototype.It=0;vf.prototype.N=u("$b");vf.prototype.slideIndex=vf.prototype.N;vf.prototype.ka=u("yG");vf.prototype.stepIndex=vf.prototype.ka;vf.prototype.Na=u("It");vf.prototype.timeOffset=vf.prototype.Na;function pf(a,b){return a.N()!=b.N()?a.N()-b.N():a.ka()!=b.ka()?a.ka()-b.ka():a.Na()-b.Na()};function Tf(){}Tf.prototype.type=ca("none");function Uf(a,b){this.Vb=a;this.zc=b}w=Uf.prototype;w.Vb="";w.zc="";w.Ha=0;w.Fa=0;w.Kp=0;w.Jg=1;w.width=u("Ha");w.sf=aa("Ha");w.height=u("Fa");w.Rq=aa("Fa");w.id=u("Vb");w.url=u("zc");w.timeout=function(){return this.Kp*this.Jg};w.setTimeout=function(a){this.Kp=0<=a?a:0};w.mg=aa("Jg");function Vf(){this.Db=l}Vf.prototype.enabled=u("Db");Vf.prototype.enabled=Vf.prototype.enabled;Vf.prototype.Ae=aa("Db");function Wf(){}x("ispring.presenter.presentation.resources.references.IReference",Wf,j);Wf.prototype.type=t();Wf.prototype.type=Wf.prototype.type;Wf.prototype.title=t();Wf.prototype.title=Wf.prototype.title;Wf.prototype.url=t();Wf.prototype.url=Wf.prototype.url;Wf.prototype.target=t();Wf.prototype.target=Wf.prototype.target;Wf.prototype.navigate=t();Wf.prototype.navigate=Wf.prototype.navigate;function Xf(a,b,c,d){this.ja=a;this.Jk=b;this.zc=c;this.mj=d}Xf.prototype.type=u("ja");Xf.prototype.type=Xf.prototype.type;Xf.prototype.title=u("Jk");Xf.prototype.title=Xf.prototype.title;Xf.prototype.url=u("zc");Xf.prototype.url=Xf.prototype.url;Xf.prototype.target=u("mj");Xf.prototype.target=Xf.prototype.target;Xf.prototype.navigate=function(a){fe(this.zc,{target:a||this.mj})};Xf.prototype.navigate=Xf.prototype.navigate;function Yf(a,b,c){this.Ag=a;this.AL=b;this.gO=[].concat(c)}Yf.prototype.name=u("Ag");Yf.prototype.localName=u("AL");Yf.prototype.JB=u("gO");var Zf={IV:"prompt",xR:"always",LU:"never"};x("ispring.presenter.presentation.settings.PresentationResumeMode",Zf,j);x("PROMPT_TO_RESUME","prompt",Zf);x("ALWAYS_RESUME","always",Zf);x("NEVER_RESUME","never",Zf);function $f(a,b){this.Ag=a;this.$x=b||m}$f.prototype.$x=m;$f.prototype.name=u("Ag");$f.prototype.name=$f.prototype.name;$f.prototype.Wm=function(){return this.$x?cb(this.$x):m};$f.prototype.params=$f.prototype.Wm;function ag(){this.Qh=[]}ag.prototype.add=function(a){this.Qh.push(a)};ag.prototype.count=function(){return this.Qh.length};ag.prototype.mg=function(a){for(var b=0;bb||b>=a.rk.length)&&g(Error("index is out of range"));return a.rk[b]}function yg(a,b){for(var c=0;ca||a>=this.count())&&g(Error("index is out of bounds"));return this.yb[a]};zg.prototype.getMetaCommand=zg.prototype.AI;zg.prototype.count=function(){return this.yb.length};zg.prototype.count=zg.prototype.count;function Ag(){}x("ispring.presenter.presentation.slides.IAnimationStep",Ag,j);Ag.prototype.Yf=t();Ag.prototype.automaticAdvance=Ag.prototype.Yf;Ag.prototype.duration=t();Ag.prototype.duration=Ag.prototype.duration;Ag.prototype.startTime=t();Ag.prototype.startTime=Ag.prototype.startTime;function Bg(a,b,c){this.$M=a;this.hy=b!=m?b:0;this.xl=y(c)?c:l;this.oe=0}Bg.prototype.Yf=u("xl");Bg.prototype.automaticAdvance=Bg.prototype.Yf;Bg.prototype.duration=function(){return this.$M+this.hy};Bg.prototype.duration=Bg.prototype.duration;Bg.prototype.startTime=u("oe");Bg.prototype.startTime=Bg.prototype.startTime;Bg.prototype.lB=aa("oe");function Cg(){}x("ispring.presenter.presentation.slides.IAnimationSteps",Cg,j);Cg.prototype.count=t();Cg.prototype.count=Cg.prototype.count;Cg.prototype.nb=t();Cg.prototype.getStep=Cg.prototype.nb;Cg.prototype.duration=t();Cg.prototype.duration=Cg.prototype.duration;function Dg(){this.Fp=[]}Dg.prototype.ha=0;Dg.prototype.add=function(a){a.lB(this.ha);this.Fp.push(a);this.ha+=a.duration()};Dg.prototype.count=function(){return this.Fp.length};Dg.prototype.count=Dg.prototype.count;Dg.prototype.nb=function(a){(0>a||a>=this.Fp.length)&&g(Error("stepIndex is out of range"));return this.Fp[a]};Dg.prototype.getStep=Dg.prototype.nb;Dg.prototype.duration=u("ha");Dg.prototype.duration=Dg.prototype.duration;function O(a){this.ja=a;this.NN=new wg;this.Rt=new wg;this.KL=new zg;this.FK=new lg;this.yx=new sg;this.hH=new N;this.vl=new Dg}w=O.prototype;w.oe=0;w.Bf=-1;w.gH=-1;w.Qe=l;w.QD=q;w.Qf=m;w.Jk="";w.Gt="";w.xl=q;w.yr=l;w.IG=m;w.Ax=0;w.Dl=q;w.Tt=q;w.zF=m;w.Ca=u("vl");O.prototype.animationSteps=O.prototype.Ca;O.prototype.type=u("ja");O.prototype.type=O.prototype.type;O.prototype.index=u("Bf");O.prototype.index=O.prototype.index;O.prototype.hr=function(){this.Qe||g(Error("slide is hidden"));return this.gH}; O.prototype.visibleIndex=O.prototype.hr;O.prototype.visible=u("Qe");O.prototype.visible=O.prototype.visible;O.prototype.za=aa("Qe");O.prototype.$c=u("QD");O.prototype.isLoaded=O.prototype.$c;O.prototype.src=u("Qf");O.prototype.title=u("Jk");O.prototype.title=O.prototype.title;O.prototype.mB=aa("Jk");O.prototype.sB=u("SL");O.prototype.slideNotes=O.prototype.sB;O.prototype.Yf=u("xl");O.prototype.transition=u("Me");O.prototype.transition=O.prototype.transition; O.prototype.duration=function(){var a=this.Me.duration();return this.vl.duration()+a};O.prototype.duration=O.prototype.duration;O.prototype.Rb=u("NN");O.prototype.rb=u("Rt");O.prototype.qn=u("IG");O.prototype.thumbnail=O.prototype.qn;O.prototype.startTime=u("oe");O.prototype.startTime=O.prototype.startTime;O.prototype.lB=aa("oe");O.prototype.Vp=u("yr");O.prototype.Vm=u("Ax");O.prototype.nestingLevel=O.prototype.Vm;O.prototype.text=u("Gt");O.prototype.text=O.prototype.text;O.prototype.ki=u("KL"); O.prototype.metaCommands=O.prototype.ki;O.prototype.XA=u("zF");O.prototype.presenter=O.prototype.XA;O.prototype.Zf=u("FK");O.prototype.Dj=u("yx");O.prototype.navigationSettings=O.prototype.Dj;w=O.prototype;w.kf=u("Dl");w.nv=u("Tt");function Eg(a,b){a.Tt!=b&&(a.Tt=b,a.hH.I(a.index()))}w.persistState=function(){return{completed:this.Dl,visited:this.Tt}};w.Wp=function(a){this.Dl=E(a,"completed",q);Eg(this,E(a,"visited",q))}; w.$f=function(a,b){isNaN(a)&&g(Error("NaN time not accepted"));0>a&&g(Error("negative time not accepted"));var c=0;if(b&&this.transition()!=m){var d=this.transition().duration();d=a)break;a-=e.duration()}c==d.count()&&(0.001>=a?(c-=1,e=d.nb(c),a=e.duration()):g(Error("time out of bounds")))}return new vf(this.index(),c,a)};O.prototype.convertTimeToTimestamp=O.prototype.$f;function Fg(){O.call(this,"quiz")}C(Fg,O);w=Fg.prototype;w.iy=m;w.Ys=m;w.sy=0;w.Bz=u("Qv");w.persistState=function(a){var b=Fg.T.persistState.call(this,a);a&&a.gp?(a=a.kb(),b.quizState=a.persistState(),a=gg(a),b.quizInfo=fg(a)):(b.quizState=this.iy,b.quizInfo=this.Ys?fg(this.Ys):m,b.quizInactivityDuration=this.sy);return b}; w.Wp=function(a,b){Fg.T.Wp.call(this,a,b);this.iy=a.quizState;var c=a.quizInfo;c&&(this.Ys=new eg(c.type,c.state,c.passed,c.retake,c.attempts));"quizInactivityDuration"in a&&(this.sy=a.quizInactivityDuration+b)};w.Ym=u("ly");w.iB=aa("ly");function Gg(a){this.nt=a||q}Gg.prototype.nt=q;Gg.prototype.required=u("nt");function Hg(a,b){this.nt=b||q;this.ws=ia(a)?a:[a]}C(Hg,Gg);Hg.prototype.Yt=function(a){return 1==this.ws.length?this.ws[0]==a:0<=D.indexOf(this.ws,a)};Hg.prototype.oa=function(){return new Hg(this.ws,this.required())};function Ig(a){this.vc=a;for(var b=0,c=0;cthis.ha)return q;if(0==a&&b>=this.ha)return l;for(var c=this.vc.length,d=0;dthis.ha)return q;if(0==a&&b>=this.ha)return l;var c=this.lp,d=this.sc.duration(),e=Math.floor(a/(d+c)),f=Math.floor(b/(d+c));if(1=h&&this.sc.wq(Math.max(a-h,0),b-h))return l}return q};function Kg(){this.hb=[];this.reset()}Kg.prototype.re=function(){this.hb.push([])};Kg.prototype.Pd=function(a,b,c){c=y(c)?c:this.hb.length-1;for(c=Math.max(c,0);this.hb.length-1=b.time){b=b.freeze?b.su:b.su+a;break a}b=b.su+a}return b}Lg.prototype.add=function(a){var b=this.$j();b.Mb+=a;return b};Lg.prototype.$j=function(){return new Lg(this.KC,this.Mb)};function Ng(a){this.Sy=new Lg(this);this.KG=[{time:0,su:a,freeze:q}]}function Og(a){return a.Sy} function Pg(a,b,c,d){a=a.KG;for(var e=a.length,f=q,h=0;h=b){e=h;f=i==b;break}}a.splice(e,f?1:0,{time:b,su:c,freeze:d||q})};function Qg(a,b){this.L=a||m;this.Dl=b!==j?b:l}Qg.prototype.L=m;Qg.prototype.W=u("L");Qg.prototype.kf=u("Dl");function Rg(a,b,c){Qg.call(this,b,c);this.Kc=a!=m?a:Number.MAX_VALUE}C(Rg,Qg);function Sg(a,b){Qg.call(this,a,b);this.ne={}}C(Sg,Qg);function Tg(a,b,c,d){c=new Sg(c,d);c.ne[a]=b;return c}Sg.prototype.add=function(a){var b=new Sg(this.W(),this.kf());b.ne=cb(this.ne);for(var c in a.ne)a.ne.hasOwnProperty(c)&&(b.ne[c]=a.ne[c]);return b};function Ug(a,b,c){Qg.call(this,c);this.Us=a;this.Kc=b}C(Ug,Qg);Ug.prototype.$g=u("Us");function Vg(a,b,c){this.GL=a;this.ja=b;this.Hg=y(c)?c:m}var Wg={Cv:"play",Bv:"pause",Hv:"stop"};Vg.prototype.Hg=m;Vg.prototype.Eq=u("GL");Vg.prototype.type=u("ja");Vg.prototype.Oj=u("Hg");function Xg(a){this.ja=a}var Yg={hC:"stopEffectChannel"};Xg.prototype.type=u("ja");function Zg(){return"visibility rotateTo rotateBy moveX moveY scaleX scaleY scaleX2 scaleY2 filter shiftX cssProperties cssTextProperties textColor strokeColor fillColor imgColor sound video".split(" ")};var $g={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400", darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc", ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a", lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1", moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57", seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function ah(a){var b={};a=String(a);var c="#"==a.charAt(0)?a:"#"+a;if(bh.test(c))return a=c,bh.test(a)||g(Error("'"+a+"' is not a valid hex color")),4==a.length&&(a=a.replace(ch,"#$1$1$2$2$3$3")),b.uA=a.toLowerCase(),b.type="hex",b;a:{var d=a.match(dh);if(d){var c=Number(d[1]),e=Number(d[2]),d=Number(d[3]);if(0<=c&&255>=c&&0<=e&&255>=e&&0<=d&&255>=d){c=[c,e,d];break a}}c=[]}if(c.length)return b.uA=eh(c[0],c[1],c[2]),b.type="rgb",b;if($g&&(c=$g[a.toLowerCase()]))return b.uA=c,b.type="named",b;g(Error(a+ " is not a valid color string"))}var ch=/#(.)(.)(.)/;function eh(a,b,c){a=Number(a);b=Number(b);c=Number(c);(isNaN(a)||0>a||255b||255c||255c?c+=1:16*c?a+6*(b-a)*c:1>2*c?b:2>3*c?a+6*(b-a)*(2/3-c):a}var bh=/^#(?:[0-9a-f]{3}){1,2}$/i,dh=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i; function fh(a){return 1==a.length?"0"+a:a};function hh(a,b,c){Qg.call(this,b,c);this.Fd=a||q}C(hh,Qg);hh.prototype.add=function(a){this.Fd&&a.Fd&&g(Error("can't add absolute transforms"));var b=a.Fd?a:this,b=b.$j().xr(b===a?this:a);b.Fd=this.Fd||a.Fd;return b};function ih(a,b,c,d,e){hh.call(this,c,d,e);this.wf=a;this.Xj=[];this.Ri=b||0}C(ih,hh);ih.prototype.color=u("wf");ih.prototype.$j=function(){var a=new ih(this.wf.oa(),this.Ri,this.Fd,this.W(),this.kf());a.Xj=D.oa(this.Xj);return a};ih.prototype.xr=function(a){if(this.Fd){this.wf.add(a.wf);for(var b=0;b=k?(e-f)/(2*k):(e-f)/(2-2*k));c=[Math.round(h+360)%360,i,k];break a}c= b}a:{e=c;switch(a){case xh.RGB:a=e[1];c=e[2];f=b=d=0;e=e[0]/360;0==a?d=b=f=255*c:(h=f=0,h=0.5>c?c*(1+a):c+a-a*c,f=2*c-h,d=255*gh(f,h,e+1/3),b=255*gh(f,h,e),f=255*gh(f,h,e-1/3));a=[Math.round(d),Math.round(b),Math.round(f)];break a}a=e}return a};w.oa=function(){return new yh(this.Ib,D.oa(this.Ub))};w.add=function(a){this.Ib!=a.Ib&&(this.Ub=this.Cd(a.Ib),this.Ib=a.Ib);this.Ub[0]+=a.Ub[0];this.Ub[1]+=a.Ub[1];this.Ub[2]+=a.Ub[2]};w.multiple=function(a){this.Ub[0]*=a;this.Ub[1]*=a;this.Ub[2]*=a}; w.toString=function(){var a=this.Cd(xh.RGB);a[0]=Math.round(a[0]);a[1]=Math.round(a[1]);a[2]=Math.round(a[2]);return eh(a[0],a[1],a[2])};w.Tg=function(a){var b=this.Ib==a.Ib?this.Ub:this.Cd(a.Ib);return D.Tg(b,a.Ub)};function zh(a,b,c,d){hh.call(this,b,c,d);this.Ic=a||0}C(zh,hh);zh.prototype.Ng=u("Ic");zh.prototype.$j=function(){return new zh(this.Ic,this.Fd,this.W(),this.kf())};zh.prototype.xr=function(a){this.Ic+=a.Ic;return this};zh.prototype.hl=function(){return new zh(-1*this.Ic,this.Fd,this.W(),this.kf())};function Ah(a,b,c,d){hh.call(this,b,c,d);this.ya=y(a)?a:1}C(Ah,hh);Ah.prototype.scale=u("ya");Ah.prototype.$j=function(){return new Ah(this.ya,this.Fd,this.W(),this.kf())};Ah.prototype.xr=function(a){this.ya*=a.ya;return this};Ah.prototype.hl=function(){return new Ah(1/this.ya,this.Fd,this.W(),this.kf())};function Bh(a,b){Qg.call(this,b,l);this.Qe=a!==j?a:l}C(Bh,Qg);Bh.prototype.visible=u("Qe");function Ch(a,b,c,d){hh.call(this,b,c,d);this.Yb=a||0}C(Ch,hh);function Dh(a){return a.Yb}Ch.prototype.$j=function(){return new Ch(this.Yb,this.Fd,this.W(),this.kf())};Ch.prototype.xr=function(a){this.Yb+=a.Yb;return this};Ch.prototype.hl=function(){return new Ch(-1*this.Yb,this.Fd,this.W(),this.kf())};function Eh(a,b,c){Qg.call(this,b,c);this.rt=a||0}C(Eh,Qg);Eh.prototype.shift=u("rt");function Fh(a){this.Vc=a||[]}w=Fh.prototype;w.count=function(){return this.Vc.length};w.add=function(a){this.Vc.push(a)};function Gh(a,b){0<=b&&b=this.fk.length&&g(Error(""));var a=this.fk.pop();this.add(a);return a};w.clear=function(a,b){var c=Nh(this);a=y(a)?a:0;b=y(b)?b:c.length;c.splice(a,b-a)};w.apply=function(a){for(var b=Nh(this),c=0;c=a.length&&g(Oh);if(b in a)return a[b++];b++}};return c}g(Error("Not implemented"))} function Rh(a,b){if(ka(a))try{D.forEach(a,b,j)}catch(c){c!==Oh&&g(c)}else{a=Qh(a);try{for(;;)b.call(j,a.next(),j,a)}catch(d){d!==Oh&&g(d)}}}function Sh(a,b,c){var d=0,e=a,f=c||1;1=e||0>f&&d<=e)&&g(Oh);var a=d;d+=f;return a};return h}function Th(a){if(ka(a))return D.Cd(a);a=Qh(a);var b=[];Rh(a,function(a){b.push(a)});return b};function Uh(a,b){this.of={};this.ob=[];var c=arguments.length;if(12*this.Nb&&Vh(this),l):q}; function Vh(a){if(a.Nb!=a.ob.length){for(var b=0,c=0;b=c.length&&g(Oh);var h=c[b++];return a?h:d[h]}};return h};function Xh(a,b){this.Ig=new Lh;this.fN=a||new Lh;this.Nl=b||new Yh;this.yb=new Mh}function Yh(){Uh.call(this)}C(Yh,Uh);function Zh(){};function $h(){}C($h,Zh);function ai(a){this.JG=a}ai.prototype.normalize=function(a,b,c){for(var d=0;d=a)return 0;if(1<=a)return 1;var b=this.nK,c=this.SK,d=1-(b+c),e=1/(b/2+d+c/2),f=0;0b?b:a,2)/2,a-=b);0d?d:a),a-=d);0a||a>this.duration())&&g(Error("invalid action's run time"));return this.Ik?this.Ik.normalize(a,this.duration(),b):a};function ei(){}C(ei,di);function fi(a){var b=0;a instanceof di&&(b=a.duration());return b}function gi(){}gi.prototype.vb=function(a,b,c,d){a.vb(b,c,d)};gi.prototype.complete=function(a,b,c){a instanceof $h?a.vb(b,c):a instanceof di?a.complete(b,c):g(Error("unknown action"))};function hi(){gi.mo||(gi.mo=new gi);return gi.mo}function ii(){}ii.prototype.vb=function(a,b,c,d){a.rf(b,c,d)};ii.prototype.complete=function(a,b,c){a instanceof $h?a.rf(b,c):a instanceof di?a.Pq(b,c):g(Error("unknown action"))}; function ji(){ii.mo||(ii.mo=new ii);return ii.mo};function ki(a){this.hb=a||[];this.wy=a?a.slice().reverse():[]}C(ki,ei);w=ki.prototype;w.ha=-1;w.Pd=function(a){0<=this.ha&&g(Error("ActionsSequence was already initialized"));this.hb.push(a);this.wy.splice(0,0,a)};w.fw=function(){for(var a=0,b=0;bthis.ha&&(this.ha=this.fw());return this.ha};w.vb=function(a,b,c){a=this.Je(a);this.Xa(this.hb,hi(),a,b,c)};w.complete=function(a,b){this.$d(this.hb,hi(),a,b)}; w.rf=function(a,b,c){a=this.Je(a,l);this.Xa(this.wy,ji(),a,b,c)};w.Pq=function(a,b){this.$d(this.wy,ji(),a,b)}; w.Xa=function(a,b,c,d,e){var f=li,h=pa(this)+"",i=d.yb;i.push();var k=0,n=0,p=d.Nl.get(h);p&&(Mg(p.W())==Mg(e)&&p.time()<=c)&&(k=p.oK+1,n=p.duration(),i.add(p.yb));for(var p=m,r=q,s=a.length,v=k;v=this.sc.duration()?a.complete(this.sc,c,d):a.vb(this.sc,b,c,d))}; w.$d=function(a,b,c){a.complete(this.sc,b,c)};function wi(){}wi.prototype.apply=t();function xi(a,b,c){this.ke=a;this.Vb=b;this.NF=c}C(xi,$h);xi.prototype.vb=function(a,b){this.Xa(this.NF,a,b)};xi.prototype.rf=function(a,b){this.Xa(!this.NF,a,b)};xi.prototype.Xa=function(a,b){var c=b.yb,d=m;if(a)d=new wi,b.Nl.set(this.Vb,d),c.add(d);else if(d=b.Nl.get(this.Vb))d=D.indexOf(Nh(c),d),0<=d&&c.clear(d)};function yi(a,b){xi.call(this,a,b,l)}C(yi,xi);function zi(a,b){xi.call(this,a,b,q)}C(zi,xi);var Ai,Bi,Ci,Di;Di=Ci=Bi=Ai=q;var Ei=qb();Ei&&(-1!=Ei.indexOf("Firefox")?Ai=l:-1!=Ei.indexOf("Camino")||(-1!=Ei.indexOf("iPhone")||-1!=Ei.indexOf("iPod")?Bi=l:-1!=Ei.indexOf("iPad")?Ci=l:-1!=Ei.indexOf("Android")||(-1!=Ei.indexOf("Chrome")?Di=l:Ei.indexOf("Safari"))));var Fi=Ai,Gi=Bi,Hi=Ci,Ii=Di;var Ji=Pe().user_agent||qb()||"",Oe=vb,Ne=Fi,Ki=Hi||Gi,Li=Db,Je=Pe().small_screen,Mi=window.top!==window;function Ni(){var a=Ji.toLowerCase();return-1!=a.indexOf("android")||-1!=a.indexOf("mobile")||-1!=a.indexOf("touch")||Je}var Oi=-1!=Ji.toLowerCase().indexOf("chrome");Ji.indexOf("OPR"); var Pi=xb&&!Oi,Qi=-1!=Ji.indexOf("CriOS"),Ri=-1!=Ji.toLowerCase().indexOf("android"),Me=Ni(),Si=Me&&(!Ni()?q:"ontouchstart"in window||y(window.DocumentTouch)&&document instanceof window.DocumentTouch||-1!=Ji.toLowerCase().indexOf("touch")),Ti,Ui="";if(Ki)var Vi=/CPU.+OS\s(\d)_(\d)/.exec(Ji),Ui=Vi?Vi[1]+"."+Vi[2]:"";Ti=Ui; var Wi=parseInt(Ti,10),Xi=Ki&&6>=Wi,Yi=Ki&&7<=Wi,Zi=Ki&&8<=Wi,$i=Oe&&"9."==Db.substr(0,2),Ke=Oe&&-1!=Ji.toLowerCase().indexOf("touch"),Le=Ri&&!Oi&&!Ne&&!ub,de=-1!=Ji.indexOf("ismobile"),aj;if(!(aj=Je)){var bj=Ie();aj=700>Math.min(bj.width,bj.height)}var cj=aj,dj=Gi||Ke&&cj;function ej(){return window._ispringDebug==l||"1"==Pe().isdebug};function fj(){this.IF=[];this.Kg=[]}fj.prototype.push=function(a,b){b in this.Kg||(this.Kg[b]=[],D.GO(this.IF,b));this.Kg[b].push(a)};fj.prototype.remove=function(a,b){b in this.Kg&&D.remove(this.Kg[b],a)};fj.prototype.jl=function(a,b){b in this.Kg&&D.jl(this.Kg[b],a)};function gj(a){var b=[],c=a.Kg;a=a.IF;for(var d=0;dd&&(d=i,e=h)}return e?(e.fu(b,c),l):q}function nj(a,b){a.yf[b.Mm()]=b}function tj(a,b){var c=b.Mm();c in a.yf&&delete a.yf[c]}function uj(a,b){return b in a.yf?a.yf[b]:m};var vj={},wj=q,xj=-1;function yj(a){return a in vj?vj[a]:m}function zj(a,b,c,d,e){this.Fa=a;this.nO=b;this.PG=c;this.EK=d||q;this.tL=e||q}zj.prototype.height=u("Fa");zj.prototype.MB=u("nO");zj.prototype.bold=u("EK");zj.prototype.Bu=u("tL");function Aj(){this.Ft=new N;this.FG=new N;this.EG=new N}w=Aj.prototype;w.Bp=m;w.Pt=q;w.Mm=ca("tap");w.yu=function(a,b){if("touchEnd"==a)return this.Pt?1:0;var c=new Tb(b.touches()[0].clientX(),b.touches()[0].clientY());if("touchStart"==a&&1==b.touches().length)return this.Bp=c,this.Pt=l,this.FG.I(),Ke||J(window,"scroll",this.Vk,q,this),0;if(!this.Bp)return 0;var d=this.Bp,e=c.x-d.x,c=c.y-d.y;e*e+c*c>(Ri?50:200)&&this.Pt&&this.Vk();return 0};w.fu=function(a,b){this.Ft.I(this.Bp.x,this.Bp.y,b.Qr)}; w.Vk=function(){Ld(window,"scroll",this.Vk,q,this);this.Pt=q;this.EG.I()};function Bj(a,b,c,d,e,f){6==arguments.length?this.setTransform(a,b,c,d,e,f):(0!=arguments.length&&g(Error("Insufficient matrix parameters")),this.tb=this.Gb=1,this.Fb=this.Eb=this.Ob=this.Pb=0)}w=Bj.prototype;w.oa=function(){return new Bj(this.tb,this.Fb,this.Eb,this.Gb,this.Ob,this.Pb)};w.setTransform=function(a,b,c,d,e,f){(!ma(a)||!ma(b)||!ma(c)||!ma(d)||!ma(e)||!ma(f))&&g(Error("Invalid transform parameters"));this.tb=a;this.Fb=b;this.Eb=c;this.Gb=d;this.Ob=e;this.Pb=f;return this}; w.scale=function(a,b){this.tb*=a;this.Fb*=a;this.Eb*=b;this.Gb*=b;return this};w.translate=function(a,b){this.Ob+=a*this.tb+b*this.Eb;this.Pb+=a*this.Fb+b*this.Gb;return this};w.rotate=function(a,b,c){var d=new Bj,e=Math.cos(a);a=Math.sin(a);b=d.setTransform(e,a,-a,e,b-b*e+c*a,c-b*a-c*e);return Cj(this,b)};w.toString=function(){return"matrix("+[this.tb,this.Fb,this.Eb,this.Gb,this.Ob,this.Pb].join()+")"}; function Cj(a,b){var c=a.tb,d=a.Eb;a.tb=b.tb*c+b.Fb*d;a.Eb=b.Eb*c+b.Gb*d;a.Ob+=b.Ob*c+b.Pb*d;c=a.Fb;d=a.Gb;a.Fb=b.tb*c+b.Fb*d;a.Gb=b.Eb*c+b.Gb*d;a.Pb+=b.Ob*c+b.Pb*d;return a}w.transform=function(a,b,c,d,e){var f=b;for(b+=2*e;fr.length)){p=3;if(0<=r[0].search("rgb")||0<=r[0].search("#"))p=0;var s=r.splice(p, r.length-3).join(""),v=parseFloat(r[2]),r=parseFloat(n.top)||0,p=parseFloat(n.left)||0,z=1,B=1,I=0,H=n.msTransform;if(H&&(H=H.match(/matrix\(\s*([\d.-]+),\s*([\d.-]+),\s*([\d.-]+),\s*([\d.-]+),\s*[\d.-]+,\s*[\d.-]+\s*\)/))&&5==H.length)z=parseFloat(H[1]),B=parseFloat(H[4]),I=parseFloat(H[3]);if(10>e)k.style.color=s,0=e&&h<=f&&c.vb(b,d.add(h))}};function pk(a,b){this.Tf=a;this.Sb=new qk;this.qE=[new ik(a),new nk(a)];this.PK=new Yh;this.reset(b)}w=pk.prototype;w.Mb=0;w.rn=u("Tf");w.time=u("Mb");w.hh=function(a){var b=jk(this.Sb);b&&Pg(kk(this.Sb,b),this.Mb,a)};w.seek=function(a,b){aa)break}else{var k=i.Ve();if(k.required())break;else f=new Ng(Mg(f.add(h))),this.Sb.re(k,f),f=f.Sy,a-=h,h=0}this.Mb=a;b=new Xh(b,this.PK);for(i=0;ic&&g(Error("trigger wasn't activated"));return a.jz[c]}function jk(a){var b=a.Ne.length;return 0D.indexOf(this.Ne,a)&&this.Ne.push(a)};Ck.prototype.kr=u("Qh");function Dk(a){this.MN=new Ek(a);this.jO=new Fk(a)}Dk.prototype.Mq=function(a){var b=Ih(a,"sound");b&&Gk(b,this.MN);(a=Ih(a,"video"))&&Gk(a,this.jO)}; function Gk(a,b){for(var c=0;ce;++e)d.fillRect(0,6*e,c?6*(16-e-1):6*e,6);a&32&&al(this,b[180])}C(ll,Yk);ll.prototype.Oe=function(a){$k(this);this.Mc.drawImage(this.BG,-192*(1-a),0)};function ml(a){var b=bl;Yk.call(this,a);var c=b[0];switch(a.pf()){case 128:c=b[90];break;case 64:c=b[180];break;case 16:c=b[270]}al(this,c)}C(ml,Yk);ml.prototype.Oe=function(a){var b=this.Ab;$k(this);this.Mc.fillRect(0,0,b.width*a,b.height)};function nl(a){var b=bl,c=Zk;Yk.call(this,a);a=a.pf();a&1&&al(this,b[90]);a&4&&(this.Yl=c.rr,this.oo=l)}C(nl,Yk);nl.prototype.Oe=function(a){var b=this.Ab;$k(this);a*=b.width;this.Mc.fillRect(b.width/2-a/2,0,a,b.height)};function ol(a,b,c,d){var e=bl;Yk.call(this,a,102,102);this.LK=d;this.vN=c;b||al(this,e[90]);a=Math.ceil(this.Ab.width/d);c=Math.ceil(this.Ab.height/c);this.Zn=this.sh(a,c);this.pt=this.sh(this.Ab.width+a,c)}C(ol,Yk); ol.prototype.Oe=function(a){$k(this);var b=this.Zn.width,c=this.Zn.height,d=this.Zn.getContext("2d");d.clearRect(0,0,b,c);d.fillStyle="rgba(255,255,255,1)";d.fillRect(0,0,b*a,c);a=this.pt.getContext("2d");a.clearRect(0,0,this.pt.width,this.pt.height);b=this.Zn;for(c=0;ca;++a)this.gy.push(sl(100)),this.fy.push(this.sh(20,20));var b=sl(25);for(a=0;aa;++a){c=20*a;for(d=0;5>d;++d)b.drawImage(this.fy[this.YM[5*a+d]],c,20*d)}};function tl(a){Yk.call(this,a)}C(tl,Yk);tl.prototype.Oe=function(a){var b=this.Ab,c=this.Mc;$k(this);c.fillStyle="rgba(255,255,255,1)";c.fillRect(0,0,b.width*a,b.height)};function ul(a){var b=bl;Yk.call(this,a);a.pf()&2&&al(this,b[90]);this.PF=Th(Sh(0,100));D.DJ(this.PF)}C(ul,Yk);ul.prototype.Oe=function(a){$k(this);var b=this.Mc,c=this.Ab.width;a=Math.floor(100*a);for(var d=0;dthis.kg||isNaN(this.kg)?0:255this.yd||isNaN(this.yd)?0:255this.Xc||isNaN(this.Xc)?0:255 "+s.eR()+" -> "+s.BB());r.appendChild(v);r.appendChild(z);e.appendChild(r)}catch(B){}return e}};var El=function(){function a(){var a={VB:30,sr:3E4,we:function(c){a.yn={};a.sl={};a.qv=[];a.wv=[];a.Rg=c;a.Zd=new function(){this.un=[];this.WJ=function(){this.un=[]};this.Bn=function(a,b){this.un.push({width:a,height:b})};this.dC=function(){this.un.pop()};this.TB=function(){return this.un[this.un.length-1]};this.width=function(){return this.TB().width};this.height=function(){return this.TB().height};this.XJ=function(a){return a!=m&&"number"==typeof a?a:"x"==a?this.width():"y"==a?this.height():Math.sqrt(Math.pow(this.width(), 2)+Math.pow(this.height(),2))/Math.sqrt(2)}}}};a.we();a.YB=function(){for(var c=0;c]*>/, "");var b=new ActiveXObject("Microsoft.XMLDOM");b.async="false";b.loadXML(a);return b};a.La=function(c,d){this.name=c;this.value=d;this.Y=function(){return this.value!=m&&""!==this.value};this.Ka=function(){if(!this.Y())return 0;var a=parseFloat(this.value);(this.value+"").match(/%$/)&&(a/=100);return a};this.lh=function(a){return this.Y()?this.value:a};this.dJ=function(a){return this.Y()?this.Ka():a};var e=this;this.uv={yz:function(c){var d=e.value;if(c!=m&&""!=c){var i=new Dl(e.value);i.Ku&&(d= "rgba("+i.kg+", "+i.yd+", "+i.Xc+", "+c+")")}return new a.La(e.name,d)}};this.rc={Rd:function(){var c=e.value.replace(/^(url\()?#([^\)]+)\)?$/,"$2");return a.yn[c]},zq:function(){return 0==e.value.indexOf("url(")},wI:function(c){var d=this.Rd();return d!=m&&d.UH?d.UH(a.Rg,c):d!=m&&d.createPattern?d.createPattern(a.Rg,c):m}};this.V={VS:ca(96),UB:function(c){var d=12,e=new a.La("fontSize",a.ol.ql(a.Rg.font).fontSize);e.Y()&&(d=e.V.X(c));return d},X:function(c){if(!e.Y())return 0;var d=e.value+"";return d.match(/em$/)? e.Ka()*this.UB(c):d.match(/ex$/)?e.Ka()*this.UB(c)/2:d.match(/px$/)?e.Ka():d.match(/pt$/)?1.25*e.Ka():d.match(/pc$/)?15*e.Ka():d.match(/cm$/)?96*e.Ka()/2.54:d.match(/mm$/)?96*e.Ka()/25.4:d.match(/in$/)?96*e.Ka():d.match(/%$/)?e.Ka()*a.Zd.XJ(c):e.Ka()}};this.jC={JJ:function(){if(!e.Y())return 0;var a=e.value+"";if(a.match(/s$/))return 1E3*e.Ka();a.match(/ms$/);return e.Ka()}};this.or={jv:function(){if(!e.Y())return 0;var a=e.value+"";return a.match(/deg$/)?e.Ka()*(Math.PI/180):a.match(/grad$/)?e.Ka()* (Math.PI/200):a.match(/rad$/)?e.Ka():e.Ka()*(Math.PI/180)}}};a.ol=new function(){this.sl=["normal","italic","oblique","inherit"];this.lK=["normal","small-caps","inherit"];this.mK="normal bold bolder lighter 100 200 300 400 500 600 700 800 900 inherit".split(" ");this.RB=function(c,e,f,h,i,k){k=k!=m?this.ql(k):this.RB("","","","","",a.Rg.font);return{fontFamily:i||k.fontFamily,fontSize:h||k.fontSize,fontStyle:c||k.fontStyle,fontWeight:f||k.fontWeight,fontVariant:e||k.fontVariant,toString:function(){return[this.fontStyle, this.fontVariant,this.fontWeight,this.fontSize,this.fontFamily].join(" ")}}};var c=this;this.ql=function(d){var e={};d=a.trim(a.Qg(d||"")).split(" ");for(var f=q,h=q,i=q,k=q,n="",p=0;pthis.Ce&&(this.Ce=a)}if(b!=m){if(isNaN(this.Ed)||isNaN(this.De))this.De=this.Ed=b;bthis.De&&(this.De=b)}};this.zz=function(a){this.Qd(a,m)};this.Az=function(a){this.Qd(m, a)};this.qO=function(a){this.Qd(a.Dd,a.Ed);this.Qd(a.Ce,a.De)};this.xH=function(a,b,c,d,e,f){c=a+2/3*(c-a);d=b+2/3*(d-b);this.wz(a,b,c,c+1/3*(e-a),d,d+1/3*(f-b),e,f)};this.wz=function(a,b,c,d,e,f,s,v){var z=[a,b],B=[c,d],I=[e,f],H=[s,v];this.Qd(z[0],z[1]);this.Qd(H[0],H[1]);for(var K=0;1>=K;K++)a=function(a){return Math.pow(1-a,3)*z[K]+3*Math.pow(1-a,2)*a*B[K]+3*(1-a)*Math.pow(a,2)*I[K]+Math.pow(a,3)*H[K]},b=6*z[K]-12*B[K]+6*I[K],c=-3*z[K]+9*B[K]-9*I[K]+3*H[K],d=3*B[K]-3*z[K],0==c?0!=b&&(b=-d/b,0< b&&1>b&&(0==K&&this.zz(a(b)),1==K&&this.Az(a(b)))):(d=Math.pow(b,2)-4*d*c,0>d||(e=(-b+Math.sqrt(d))/(2*c),0e&&(0==K&&this.zz(a(e)),1==K&&this.Az(a(e))),b=(-b-Math.sqrt(d))/(2*c),0b&&(0==K&&this.zz(a(b)),1==K&&this.Az(a(b)))))};this.PP=function(a,b){return this.Dd<=a&&a<=this.Ce&&this.Ed<=b&&b<=this.De};this.Qd(a,b);this.Qd(e,f)};a.kK=function(c){var d=this;this.Hc={};this.Hc.translate=function(c){this.xe=a.SB(c);this.apply=function(a){a.translate(this.xe.x||0,this.xe.y||0)};this.Xp=function(a){a.Th([1, 0,0,1,this.xe.x||0,this.xe.y||0])}};this.Hc.rotate=function(c){c=a.qi(c);this.Ng=new a.La("angle",c[0]);this.XH=c[1]||0;this.YH=c[2]||0;this.apply=function(a){a.translate(this.XH,this.YH);a.rotate(this.Ng.or.jv());a.translate(-this.XH,-this.YH)};this.Xp=function(a){var b=this.Ng.or.jv();a.Th([1,0,0,1,this.xe.x||0,this.xe.y||0]);a.Th([Math.cos(b),Math.sin(b),-Math.sin(b),Math.cos(b),0,0]);a.Th([1,0,0,1,-this.xe.x||0,-this.xe.y||0])}};this.Hc.scale=function(c){this.xe=a.SB(c);this.apply=function(a){a.scale(this.xe.x|| 1,this.xe.y||this.xe.x||1)};this.Xp=function(a){a.Th([this.xe.x||0,0,0,this.xe.y||0,0,0])}};this.Hc.matrix=function(c){this.ji=a.qi(c);this.apply=function(a){a.transform(this.ji[0],this.ji[1],this.ji[2],this.ji[3],this.ji[4],this.ji[5])};this.Xp=function(a){a.Th(this.ji)}};this.Hc.Cn=function(c){this.O=d.Hc.matrix;this.O(c);this.Ng=new a.La("angle",c)};this.Hc.Cn.prototype=new this.Hc.matrix;this.Hc.skewX=function(a){this.O=d.Hc.Cn;this.O(a);this.ji=[1,0,Math.tan(this.Ng.or.jv()),1,0,0]};this.Hc.skewX.prototype= new this.Hc.Cn;this.Hc.skewY=function(a){this.O=d.Hc.Cn;this.O(a);this.ji=[1,Math.tan(this.Ng.or.jv()),0,1,0,0]};this.Hc.skewY.prototype=new this.Hc.Cn;this.Yq=[];this.apply=function(a){for(var b=0;b=this.CB.length-1};this.gi=function(){return this.LI()?l:this.CB[this.tq+1].match(/^[A-Za-z]$/)!=m};this.CA=function(){return this.Xk==this.Xk.toLowerCase()};this.DI=function(){this.tq+=1;return this.CB[this.tq]};this.Xh=function(){return parseFloat(this.DI())};this.eQ=function(){this.YA=this.Xk;this.Xk=this.DI()};this.rq=function(){var c= new a.Fc(this.Xh(),this.Xh());return this.VP(c)};this.kA=function(){var a=this.rq();return this.control=a};this.xj=function(){var a=this.rq();return this.xa=a};this.CI=function(){return"c"!=this.YA.toLowerCase()&&"s"!=this.YA.toLowerCase()?this.xa:new a.Fc(2*this.xa.x-this.control.x,2*this.xa.y-this.control.y)};this.VP=function(a){this.CA()&&(a.x=this.xa.x+a.x,a.y=this.xa.y+a.y);return a};this.Sh=function(a,b,c){c!=m&&(0= I(z,B)&&(v=Math.PI);1<=I(z,B)&&(v=0);0==n&&0v&&(v+=2*Math.PI);e.xz(new a.Fc(k.x-p*Math.cos((s+v)/2),k.y-r*Math.sin((s+v)/2)),(s+v)/2+(0==n?1:-1)*Math.PI/2);e.xz(h,v+(0==n?1:-1)*Math.PI/2);f.Qd(h.x,h.y);c!=m&&(I=p>r?p:r,h=p>r?1:p/r,p=p>r?r/p:1,c.translate(k.x,k.y),c.rotate(i),c.scale(h,p),c.arc(0,0,I,s,s+v,1-n),c.scale(1/h,1/p),c.rotate(-i),c.translate(-k.x,-k.y))}break;case "Z":c!=m&&c.closePath(),e.xa=e.start}return f};this.uu=function(){for(var a=this.Dv.Bb,b=this.Dv.yP(), c=[],h=0;hthis.XI)if("indefinite"==this.F("repeatCount").value)this.duration=0;else return"remove"==this.F("fill").lh("remove")&&!this.gh?(this.gh=l,this.nA().value=this.wA,l):q;this.duration+=a;a=q;this.gus;s++){for(var v=c[0]*(0==r?255:d(a,p,n,i,s))*(0==r||3==s?1:r),z=1;za.indexOf("http://www.w3.org/2000/svg")&&(a=']*>/g,"").replace(/<\/a>/g,"")}w.nJ=t();function Jl(){}C(Jl,yl);Jl.prototype.kh=function(a,b){Jl.T.kh.call(this,a,b);zl(this,a,b.wa());var c=b.wa();try{var d=Sc(a,"backgroundColor"),e=a.style.width,f=a.style.height;if(""!=d&&"transparent"!=d&&""!=e&&""!=f){var h=ah(d);c.save();c.fillStyle=h.uA;c.fillRect(0,0,parseFloat(e),parseFloat(f));c.restore()}}catch(i){}"block"==da.window.getComputedStyle(a,m).display&&(b.rw=0)};function Kl(){}C(Kl,yl); Kl.prototype.kh=function(a,b){Kl.T.kh.call(this,a,b);var c=b.wa(),d=ub?a.currentStyle:da.window.getComputedStyle(a,m),e=0;"relative"==d.position&&(e=b.rw,b.rw=e+a.offsetWidth);zl(this,a,c,e);e=-1!=a.innerHTML.indexOf("&")?"document"in da?Ga(a.innerHTML):Ia(a.innerHTML):a.innerHTML;if(ya(e)){c.font=[d.fontStyle,d.fontVariant,d.fontWeight,d.fontSize,d.fontFamily].join(" ");c.fillStyle=d.color;var f=parseFloat(hj(a)),h=Ll(d.textShadow);if(h){c.save();c.fillStyle="rgba(0,0,0,1)";var i=2*c.canvas.width; c.translate(i,0);i=[-i,0];Ml(c).transform(i,0,i,0,1);c.shadowOffsetX=h.offsetX+i[0];c.shadowOffsetY=h.offsetY+i[1];c.shadowColor=h.color;c.shadowBlur=h.blur;Nl(c,e,d,f);c.restore()}else Nl(c,e,d,f)}};function Ml(a){var b=new Bj;a=a.Im;for(var c=0;cb.Wa()&&(Tk(d,l),a.En=a.hE)):(d.Ti=m,d.Dr&&(Tk(d,q),a.En=m,Oe&&sm(a)))}function sm(a){if(a=a.tc.querySelector("video")){var b=oc(a),c=ed(b);c.width&&(cd(b,c.width+1),setTimeout(function(){cd(b,c.width)},0))}} function om(a,b,c){c=c||a.tc;a=$a(b.ne);for(var d=0;dh||h>=e.Ds.length)&&g(Error("index is out of range"));i=e.Ds[h];var k;if(k=(k=um(this.fH,i))?k.hL:m)k=new uk(i.id(),k),f.KD.Pd(k),f.rp.Pd(i.id(),new hk(0),0)}this.kd=new pk(d,0);c=c.OD;this.Df=[];for(d=0;dv.Kc)r= v;p=r}else if(r instanceof Sg){p=Nk(p);r=m;for(s=0;s=this.kd.Sb.Ne.length?0:this.kd.time();if(a>d||a==d&&(!y(b)||e<=b)){for(;ym(this)!=a;)this.kd.Gm("__step",c),e=0;y(b)&&0b.ka()||c!=a.$b?q:l}w.Ma=function(a){var b=a.timestamp();if(zm(this,b)){a=b.ka();var b=1E3*b.Na(),c=va(),d=c-this.kt;this.kt=c;c=b-this.HF;if(a!=this.GF||0>c)c=0,this.seek(a,b);this.nj(c,d);this.GF=a;this.HF=b}};w.CE=function(a){a=a.timestamp();zm(this,a)&&this.nj(0,0)};function Am(a,b){this.nt=b||q;this.Jn=a}C(Am,Gg);Am.prototype.Yt=function(a){return this.Jn===a};Am.prototype.oa=function(){return new Am(this.Jn,this.required())};function Bm(a){this.ha=a}C(Bm,di);Bm.prototype.ha=0;Bm.prototype.duration=u("ha");Bm.prototype.vb=t();Bm.prototype.rf=t();function Cm(a){this.hb=a||[]}C(Cm,ei);w=Cm.prototype;w.Cx=m;w.ha=-1;w.Pd=function(a){0<=this.ha&&g(Error("ParallelActions was already initialized"));this.hb.push(a)};w.fw=function(){for(var a=0,b=0;bthis.ha&&(this.ha=this.fw());return this.ha}; function Dm(a){if(a.Cx)return a.Cx;for(var b=[],c=a.duration(),d=a.hb.length,e=0;e=a.ha?1:b/a.ha}Om.prototype.vb=function(a,b,c){var d=this.Je(a);this.Xa(d>=this.ha?1:d/this.ha,b,c,q,a==this.ha)};Om.prototype.rf=function(a,b,c){var d=this.Je(a,l);this.Xa(1-(d>=this.ha?1:d/this.ha),b,c,l,a==this.ha)};function Qm(a,b,c,d){b.yb.add(new tk(a.ke,c,d))} function Rm(a,b,c,d){var e=pa(a),f=m;(f=b.Nl.get(e))?f=f.value:(a=b.fN.get(a.ke),f=d(a),b.Nl.set(e,{value:f,jY:Mg(c)}));return f};function Sm(a,b){this.Ck=a;this.Cy=b}Sm.prototype.qb=function(a,b,c,d,e,f){b=this.Gd(b,d,f);this.Ck&&(e&&this.Cy)&&(a=this.Gd(Pm(a),d,f),b=b.add(a.hl()));return b};function Tm(a,b){Sm.call(this,l,b);this.ya=a}C(Tm,Sm);Tm.prototype.Gd=function(a,b,c){return new Ah((this.ya-1)*a+1,q,b,c)};function Um(a,b,c){Sm.call(this,b,c);this.wN=a}C(Um,Sm);Um.prototype.Gd=function(a,b,c){return new Ah(this.wN(a),!this.Ck,b,c)};function Vm(a,b){this.Dw=a;this.Ga=b}Vm.prototype.qb=function(a,b,c,d,e,f){var h=this.Ga;a=Rm(a,c,d,function(a){switch(h){case "scaleX":return Jh(a,"scaleX",Ah).scale();case "scaleX2":return Jh(a,"scaleX2",Ah).scale();case "scaleY":return Jh(a,"scaleY",Ah).scale();case "scaleY2":return Jh(a,"scaleY2",Ah).scale()}return m});return a===m?m:new Ah((this.Dw-a)*b+a,l,d,f)};function Wm(a,b,c,d){Sm.call(this,c,d);this.xC=a;this.Dw=b}C(Wm,Sm);Wm.prototype.Gd=function(a,b,c){return new Ah((this.Dw-this.xC)*a+this.xC,!this.Ck,b,c)};function Xm(a,b,c,d){Om.call(this,a,b);this.Ga=c;this.Af=d}C(Xm,Om);Xm.prototype.Xa=function(a,b,c,d,e){(a=this.Af.qb(this,a,b,c,d,e))&&Qm(this,b,this.Ga,a)};function Ym(a){this.Ga=a}C(Ym,Lm);Ym.prototype.Ie=function(a,b){var c=this.R();if(c.Uh in a)var d=Jm(this),e=b.duration(),f=!b.ze(),c=new Xm(d,e,this.Ga,new Tm(a[c.Uh],f));else if(c.ru in a)var d=Jm(this),e=b.duration(),f=Nm(a[c.ru]),h=!b.ze(),c=new Xm(d,e,this.Ga,new Um(f,E(a,c.Uu,q),h));else c.mf in a?(d=Jm(this),e=b.duration(),f=!b.ze(),c=new Xm(d,e,this.Ga,new Wm(a[c.mf],a[c.Xd],E(a,c.Uu,q),f))):(d=Jm(this),e=b.duration(),f=this.Ga,c=new Xm(d,e,f,new Vm(a[c.Xd],f)));return c}; function Zm(){this.Ga="scaleX"}C(Zm,Ym);function $m(){this.Ga="scaleY"}C($m,Ym);function an(){this.Ga="scaleX2"}C(an,Ym);function bn(){this.Ga="scaleY2"}C(bn,Ym);function cn(a,b,c,d){this.ke=a;this.hN=b;this.iN=c;this.Ga=d?"cssTextProperties":"cssProperties"}C(cn,$h);cn.prototype.vb=function(a,b){var c=Tg(this.hN,this.iN,b,l);a.yb.add(new tk(this.ke,this.Ga,c))};cn.prototype.rf=t();function dn(){}C(dn,Hm);dn.prototype.Ie=function(a){var b=this.R(),c=a[b.xQ],d=a[b.QP];if(d){var e=Im(this);D.contains(e.Sv,c)||e.Sv.push(c)}else e=Im(this),D.contains(e.Rv,c)||e.Rv.push(c);return new cn(Jm(this),c,a[b.Xd],d)};function en(a,b,c,d,e,f,h,i){this.vn=a;this.wn=b;this.Dd=c;this.Ed=d;this.Ce=e;this.De=f;this.mr=h;this.nr=i}en.prototype.oa=function(){return new en(this.vn,this.wn,this.Dd,this.Ed,this.Ce,this.De,this.mr,this.nr)};en.prototype.Tg=function(a){return this.vn==a.vn&&this.wn==a.wn&&this.Dd==a.Dd&&this.Ed==a.Ed&&this.Ce==a.Ce&&this.De==a.De&&this.mr==a.mr&&this.nr==a.nr}; en.prototype.rq=function(a){if(0==a)return new Tb(this.vn,this.wn);if(1==a)return new Tb(this.mr,this.nr);var b=this.vn+a*(this.Dd-this.vn),c=this.wn+a*(this.Ed-this.wn),d=this.Dd+a*(this.Ce-this.Dd),e=this.Ed+a*(this.De-this.Ed),f=this.Ce+a*(this.mr-this.Ce),h=this.De+a*(this.nr-this.De),b=b+a*(d-b),c=c+a*(e-c);return new Tb(b+a*(d+a*(f-d)-b),c+a*(e+a*(h-e)-c))};function fn(){this.Vi=[]}w=fn.prototype;w.Dh=0;w.BF=0;w.CF=0;w.moveTo=function(a){this.Vi.push(new gn(a))};w.lineTo=function(a,b){var c=this.end();this.Vi.push(new hn(a,c,b))};function jn(a,b,c,d,e){var f=a.end();a.Vi.push(new kn(b,f,c,d,e))}w.end=function(){0==this.Vi.length&&g(Error("path must be started with moveTo"));return this.Vi[this.Vi.length-1].end()}; w.Su=function(a){(0>a||1=this.Dh&&(b=this.BF,c=this.CF);for(var d=m;ba){d=e.Su((a-c)/(f-c));break}c=f}this.Dh=a;this.BF=b;this.CF=c;return d?d:this.end()};function ln(a){this.ha=a}ln.prototype.duration=u("ha");function gn(a){this.ha=0;this.Pi=a}C(gn,ln);gn.prototype.end=u("Pi");function hn(a,b,c){this.ha=a;this.Ur=b;this.Kt=c}C(hn,ln); hn.prototype.end=u("Kt");hn.prototype.Su=function(a){var b=this.Ur,c=this.Kt;return new Tb((c.x-b.x)*a+b.x,(c.y-b.y)*a+b.y)};function kn(a,b,c,d,e){this.ha=a;this.Aw=e;this.CK=new en(b.x,b.y,c.x,c.y,d.x,d.y,e.x,e.y)}C(kn,ln);kn.prototype.end=u("Aw");kn.prototype.Su=function(a){return this.CK.rq(a)};function mn(a,b,c){Om.call(this,a,b);this.Po=c}C(mn,Om);mn.prototype.Xa=function(a,b,c,d,e){a=this.Po.Su(a);Qm(this,b,"moveX",new Ch(a.x,l,c,e));Qm(this,b,"moveY",new Ch(a.y,l,c,e))};function nn(){}C(nn,Lm);nn.prototype.Ie=function(a,b){var c=this.R();return new mn(Jm(this),b.duration(),on(this,a[c.path]))}; function on(a,b){function c(){return new Tb(d()+h,d()+i)}function d(){var a=b.match(/^\s*([-0-9\.]+)/);if(a)return b=b.substr(a[0].length),parseFloat(a[1]);g(Error("incorrect path"))}function e(){var a=b.match(/^\s*([m|l|c])/i);return a?(b=b.substr(a[0].length),a[1].toLowerCase()):m}var f=Im(a),h=f.jf().left,i=f.jf().top;b=b.replace(/,/g," ");for(f=new fn;;){var k=e();if(!k)break;switch(k){case "m":f.moveTo(c());break;case "l":f.lineTo(d(),c());break;case "c":jn(f,d(),c(),c(),c())}}return f};function pn(a,b){this.ke=a;this.Qe=b}C(pn,$h);pn.prototype.vb=function(a,b){this.Xa(this.Qe,a,b)};pn.prototype.rf=function(a,b){this.Xa(!this.Qe,a,b)};pn.prototype.Xa=function(a,b,c){b.yb.add(new tk(this.ke,"visibility",new Bh(a,c)))};function qn(){}C(qn,Hm);qn.prototype.Ie=function(a){var b=this.R();return new pn(Jm(this),a[b.Xd])};function rn(a){this.Ew=a}rn.prototype.qb=function(a,b,c,d,e,f){a=Rm(a,c,d,function(a){return Jh(a,"shiftX",Eh).shift()});return a===m?m:new Eh((this.Ew-a)*b+a,d,f)};function sn(a,b){this.uG=a;this.Ew=b}sn.prototype.qb=function(a,b,c,d,e,f){return new Eh((this.Ew-this.uG)*b+this.uG,d,f)};function tn(a,b,c){Om.call(this,a,b);this.Af=c}C(tn,Om);tn.prototype.Xa=function(a,b,c,d,e){(a=this.Af.qb(this,a,b,c,d,e))&&Qm(this,b,"shiftX",a)};function un(){}C(un,Lm);un.prototype.Ie=function(a,b){var c=this.R();if(c.mf in a)var d=Jm(this),e=b.duration(),c=new tn(d,e,new sn(a[c.mf],a[c.Xd]));else d=Jm(this),e=b.duration(),c=new tn(d,e,new rn(a[c.Xd]));return c};function vn(a,b){this.YK=a;this.Ga=b}vn.prototype.qb=function(a,b,c,d,e,f){var h=this.Ga;a=Rm(a,c,d,function(a){return"moveX"==h?Dh(Jh(a,"moveX",Ch)):Dh(Jh(a,"moveY",Ch))});return a===m?m:new Ch((this.YK-a)*b+a,l,d,f)};function wn(a,b){this.Ck=a;this.Cy=b}wn.prototype.qb=function(a,b,c,d,e,f){b=this.Gd(b,d,f);this.Ck&&(e&&this.Cy)&&(a=this.Gd(Pm(a),d,f),b=b.add(a.hl()));return b};function xn(a,b){wn.call(this,l,b);this.RK=a}C(xn,wn);xn.prototype.Gd=function(a,b,c){return new Ch(this.RK*a,q,b,c)};function yn(a,b,c,d){wn.call(this,c,d);this.Ur=a;this.Kt=b}C(yn,wn);yn.prototype.Gd=function(a,b,c){return new Ch((this.Kt-this.Ur)*a+this.Ur,!this.Ck,b,c)};function zn(a,b,c){wn.call(this,b,c);this.bN=a}C(zn,wn);zn.prototype.Gd=function(a,b,c){return new Ch(this.bN(a),!this.Ck,b,c)};function An(a,b,c,d){Om.call(this,a,b);this.Ga=c;this.Af=d}C(An,Om);An.prototype.Xa=function(a,b,c,d,e){(a=this.Af.qb(this,a,b,c,d,e))&&Qm(this,b,this.Ga,a)};function Bn(a){this.Ga=a}C(Bn,Lm);Bn.prototype.Ie=function(a,b){var c=this.R();if(c.Uh in a)var d=Jm(this),e=b.duration(),f=!b.ze(),c=new An(d,e,this.Ga,new xn(a[c.Uh],f));else if(c.ru in a)var d=Jm(this),e=b.duration(),f=Nm(a[c.ru]),h=!b.ze(),c=new An(d,e,this.Ga,new zn(f,E(a,c.Uu,q),h));else c.mf in a?(d=Jm(this),e=b.duration(),f=!b.ze(),c=new An(d,e,this.Ga,new yn(a[c.mf],a[c.Xd],E(a,c.Uu,q),f))):(d=Jm(this),e=b.duration(),f=this.Ga,c=new An(d,e,f,new vn(a[c.Xd],f)));return c}; function Cn(){this.Ga="moveX"}C(Cn,Bn);function Dn(){this.Ga="moveY"}C(Dn,Bn);function En(a,b){this.Bw=a;this.Kc=b}En.prototype.qb=function(a,b,c,d,e,f){a=Rm(a,c,d,function(a){return(a=Jh(a,"filter"))&&a instanceof Rk?a.alpha():1});return a===m?m:new Rk((this.Bw-a)*b+a,this.Kc,d,f)};function Fn(a,b,c){this.sG=a;this.Bw=b;this.Kc=c}Fn.prototype.qb=function(a,b,c,d,e,f){return new Rk((this.Bw-this.sG)*b+this.sG,this.Kc,d,f)};function Gn(a,b,c){Om.call(this,a,b);this.Af=c}C(Gn,Om);Gn.prototype.Xa=function(a,b,c,d,e){(a=this.Af.qb(this,a,b,c,d,e))&&Qm(this,b,"filter",a)};function Hn(){}C(Hn,Lm);Hn.prototype.Ie=function(a,b){var c=this.R();c.Uh in a&&(Jm(this),b.duration(),g(Error("not implemented")));if(c.mf in a)var d=Jm(this),e=b.duration(),c=new Gn(d,e,new Fn(a[c.mf],a[c.Xd],this.Kc));else d=Jm(this),e=b.duration(),c=new Gn(d,e,new En(a[c.Xd],this.Kc));return c};function In(a,b){this.Ic=a;this.Dy=b}In.prototype.Gd=function(a,b,c){return new zh(this.Ic*a,q,b,c)};In.prototype.qb=function(a,b,c,d,e,f){b=this.Gd(b,d,f);e&&this.Dy&&(a=this.Gd(Pm(a),d,f),b=b.add(a.hl()));return b};function Jn(a,b){this.uD=a;this.UN=b}Jn.prototype.qb=function(a,b,c,d,e,f){return new zh((this.UN-this.uD)*b+this.uD,l,d,f)};function Kn(a){this.Ic=a}Kn.prototype.qb=function(a,b,c,d,e,f){a=Rm(a,c,d,function(a){return Jh(a,"rotateTo",zh).Ng()+Jh(a,"rotateBy",zh).Ng()});return a===m?m:new zh((this.Ic-a)*b+a,l,d,f)};function Ln(a,b,c,d){Om.call(this,a,b);this.Ga=c;this.Af=d}C(Ln,Om);Ln.prototype.Xa=function(a,b,c,d,e){(a=this.Af.qb(this,a,b,c,d,e))&&Qm(this,b,this.Ga,a)};function Mn(){}C(Mn,Lm);Mn.prototype.Ie=function(a,b){var c=this.R();if(c.Uh in a)var d=Jm(this),e=b.duration(),f=!b.ze(),c=new Ln(d,e,"rotateBy",new In(a[c.Uh]*Math.PI/180,f));else c.mf in a?(d=Jm(this),e=b.duration(),c=new Ln(d,e,"rotateTo",new Jn(a[c.mf]*Math.PI/180,a[c.Xd]*Math.PI/180))):(d=Jm(this),e=b.duration(),c=new Ln(d,e,"rotateTo",new Kn(a[c.Xd]*Math.PI/180)));return c};function Nn(a,b,c,d){Om.call(this,a,b);this.ss=c;this.Kc=d}C(Nn,Om);Nn.prototype.Xa=function(a,b,c,d,e){e||Qm(this,b,"filter",new Qk(this.ss,a,this.Kc,c,e))};function On(){}C(On,Lm); On.prototype.Ie=function(a,b){var c;var d=this.R().Gu,e={};e[d.HO]="blinds";e[d.JO]="box";e[d.lu]="circle";e[d.WO]="diamond";e[d.tQ]="plus";e[d.NO]="checkerboard";e[d.YO]="dissolve";e[d.AQ]="randombar";e[d.BO]="barn";e[d.bR]="strips";e[d.nR]="wedge";e[d.rR]="wipe";e[d.pR]="wheelCw";e[d.oR]="wheelCcw";d=a[d];d in e?c=e[d]:g(Error("unknown mask type"));var f;e=this.R().pf;d=e in a?a[e]:m;if(d===m)f=d;else if(/[^0-9]/.test(d)){var h={};h[e.GP]=1;h[e.gR]=2;h[e["in"]]=4;h[e.nQ]=8;h[e.oP]=16;h[e.pP]=32; h[e.qP]=64;h[e.rP]=128;h[e.SP]=48;h[e.TP]=160;h[e.HQ]=80;h[e.JQ]=192;h[e.HP]=5;h[e.IP]=9;h[e.hR]=6;h[e.iR]=10;d in h?f=h[d]:g(Error("unknown mask sub type"))}else f=parseInt(d,10);a:{f=f||m;for(e=0;ef&&(e-=360)}return[(e-f)*c+f,(b[1]-a[1])*c+a[1],(b[2]-a[2])*c+a[2]]};function Tn(a,b,c,d){this.Ga=a;this.Ib=b;this.Cw=c;this.Ri=d}Tn.prototype.qb=function(a,b,c,d,e,f){var h=this.Ga;a=Rm(a,c,d,function(a){var b=m;switch(h){case "textColor":b=Jh(a,"textColor");break;case "strokeColor":b=Jh(a,"strokeColor");break;case "fillColor":b=Jh(a,"fillColor");break;case "imgColor":b=Jh(a,"imgColor")}return b?b.color():m});if(!a)return m;a=a.Cd(this.Ib);return new ih(new yh(this.Ib,Sn(a,this.Cw,b,this.Ib)),this.Ri,l,d,f)};function Un(a,b,c,d){this.Ib=a;this.QN=b;this.Cw=c;this.Ri=d}Un.prototype.qb=function(a,b,c,d,e,f){return new ih(new yh(this.Ib,Sn(this.QN,this.Cw,b,this.Ib)),this.Ri,l,d,f)};function Vn(a,b,c,d){Om.call(this,a,b);this.Ga=c;this.Af=d}C(Vn,Om);Vn.prototype.Xa=function(a,b,c,d,e){(a=this.Af.qb(this,a,b,c,d,e))&&Qm(this,b,this.Ga,a)};function Wn(){}C(Wn,Lm);Wn.prototype.Ie=function(a,b){for(var c=this.R(),c=Xn(this,a[c.target]),d=[],e=0;es?s/B:1;B>r.RN&&(r.Jg=s);r=s;s=new Cm;z=q;p=p[i.Xf];for(v=0;va||a>=this.count())&&g(Error("index is out of range"));return this.Uf[a]};lo.prototype.getTrack=lo.prototype.sq;function mo(){this.Uf=[]}C(mo,lo);mo.prototype.tP=function(a){return this.sq(a)};mo.prototype.getAudioTrack=mo.prototype.tP;function no(a,b,c,d){io.call(this,b,c,d);this.qj=a}C(no,io);no.prototype.width=function(){return this.qj.width()};no.prototype.width=no.prototype.width;no.prototype.height=function(){return this.qj.height()};no.prototype.height=no.prototype.height;function oo(){this.Uf=[]}C(oo,lo);oo.prototype.zP=function(a){return this.sq(a)};oo.prototype.getVideoTrack=oo.prototype.zP;function po(){this.zK=new mo;this.lO=new oo}po.prototype.uj=u("zK");po.prototype.audioTracks=po.prototype.uj;po.prototype.Tj=u("lO");po.prototype.videoTracks=po.prototype.Tj;function qo(){this.hb=[]}qo.prototype.count=function(){return this.hb.length};qo.prototype.Pd=function(a){this.hb.push(a)};function ro(){this.hb=new qo}ro.prototype.Db=l;ro.prototype.enabled=u("Db");ro.prototype.Ae=aa("Db");ro.prototype.Od=u("hb");function so(){}so.prototype.sH=l;so.prototype.NB=u("sH");var to={BT:"free",$V:"restricted",uW:"sequential"};x("ispring.presenter.presentation.settings.NavigationType",to,j);x("FREE","free",to);x("RESTRICTED","restricted",to);x("SEQUENTIAL","sequential",to);function uo(){this.LL=new Vf;this.qs=new ro;this.aL=new so;this.wE="free"}uo.prototype.gl=u("LL");uo.prototype.mouse=uo.prototype.gl;uo.prototype.Aj=u("qs");uo.prototype.Lm=u("aL");uo.prototype.Ej=u("wE");uo.prototype.navigationType=uo.prototype.Ej;function vo(){}vo.prototype.kG=m;vo.prototype.xF=m;vo.prototype.Uq=u("kG");vo.prototype.Kq=u("xF");function wo(a,b){this.zc=a;this.mj=b}wo.prototype.url=u("zc");wo.prototype.target=u("mj");wo.prototype.open=function(){fe(this.zc,{target:this.mj})};var xo={fT:["BC","AD"],eT:["Before Christ","Anno Domini"],JU:"JFMAMJJASOND".split(""),QW:"JFMAMJJASOND".split(""),kU:"January February March April May June July August September October November December".split(" "),PW:"January February March April May June July August September October November December".split(" "),yW:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),SW:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),EX:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), UW:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),AW:"Sun Mon Tue Wed Thu Fri Sat".split(" "),TW:"Sun Mon Tue Wed Thu Fri Sat".split(" "),KU:"SMTWTFS".split(""),RW:"SMTWTFS".split(""),zW:["Q1","Q2","Q3","Q4"],OV:["1st quarter","2nd quarter","3rd quarter","4th quarter"],yR:["AM","PM"],FS:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],jX:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],ZJ:6,FX:[5,6],$J:5};function yo(a,b,c){ma(a)?(this.oc=new Date(a,b||0,c||1),zo(this,c||1)):oa(a)?(this.oc=new Date(a.getFullYear(),a.getMonth(),a.getDate()),zo(this,a.getDate())):(this.oc=new Date(va()),this.oc.setHours(0),this.oc.setMinutes(0),this.oc.setSeconds(0),this.oc.setMilliseconds(0))}w=yo.prototype;w.oI=xo.ZJ;w.pI=xo.$J;w.oa=function(){var a=new yo(this.oc);a.oI=this.oI;a.pI=this.pI;return a};w.getFullYear=function(){return this.oc.getFullYear()};w.getYear=function(){return this.getFullYear()};w.getMonth=function(){return this.oc.getMonth()}; w.getDate=function(){return this.oc.getDate()};w.getTime=function(){return this.oc.getTime()};w.getUTCHours=function(){return this.oc.getUTCHours()};w.set=function(a){this.oc=new Date(a.getFullYear(),a.getMonth(),a.getDate())};w.setFullYear=function(a){this.oc.setFullYear(a)};w.setMonth=function(a){this.oc.setMonth(a)};w.setDate=function(a){this.oc.setDate(a)}; w.add=function(a){if(a.sR||a.XP){var b=this.getMonth()+a.XP+12*a.sR,c=this.getYear()+Math.floor(b/12),b=b%12;0>b&&(b+=12);var d;a:{switch(b){case 1:d=0==c%4&&(0!=c%100||0==c%400)?29:28;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.TO&&(a=new Date((new Date(this.getYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.TO),this.setDate(1),this.setFullYear(a.getFullYear()),this.setMonth(a.getMonth()), this.setDate(a.getDate()),zo(this,a.getDate()))};w.Tg=function(a){return this.getYear()==a.getYear()&&this.getMonth()==a.getMonth()&&this.getDate()==a.getDate()};w.toString=function(){return[this.getFullYear(),Ma(this.getMonth()+1),Ma(this.getDate())].join("")+""};function zo(a,b){a.getDate()!=b&&a.oc.setUTCHours(a.oc.getUTCHours()+(a.getDate()a||a>=this.S.length)&&g(Error("slideIndex is out of range"));return this.S[a]};No.prototype.getSlide=No.prototype.ta;No.prototype.count=function(){return this.S.length};No.prototype.count=No.prototype.count;No.prototype.duration=function(){if(0==this.count())return 0;var a=this.S[this.S.length-1];return a.startTime()+a.duration()};No.prototype.duration=No.prototype.duration; No.prototype.Nz=function(a,b,c){return new vf(a,b,c)};No.prototype.createTimestamp=No.prototype.Nz; No.prototype.lf=function(a,b,c){a||g(Error("Invalid timestamp"));var d=a.N();d>=this.count()&&g(Error("Slide index is out of bounds"));if(0>d)return NaN;y(b)||(b=l);y(c)||(c=l);for(var e=0,f=0;f=a.count()&&g(Error("stepIndex is out of bounds")),a=a.nb(k),f>a.duration()&&(f=a.duration()), e+=a.startTime()+f):b&&(f>i.duration()&&(f=i.duration()),e+=f);return e};No.prototype.convertTimestampToTime=No.prototype.lf; No.prototype.$f=function(a,b,c){isNaN(a)&&g(Error("NaN time not accepted"));0>a&&g(Error("negative time not accepted"));for(var d=m,e=0;e=a||h&&0.001>=a-f)break;a-=f}e==this.count()&&0<=a&&g(Error("time out of bounds"));c=0;b&&(b=d.transition().duration(),b= a)break;a-=e.duration()}c==b.count()&&(0.001>=a?(c-=1,e=b.nb(c),a=e.duration()):g(Error("time out of bounds")))}return new vf(d.index(),c,a)};No.prototype.convertTimeToTimestamp=No.prototype.$f;function Oo(a,b){b.Bf=a.S.length;b.lB(a.duration());a.S.push(b);if(b.visible()){b.gH=a.St.length;a.St.push(b);var c=b.duration(),d=b.transition()?b.transition().duration():0;a.sz+=c;a.rz+=c-d}b.hH.addHandler(function(a){this.IN.I(a)},a)}No.prototype.ir=function(){return this.St.length}; No.prototype.visibleSlidesCount=No.prototype.ir;No.prototype.wu=function(a){(0>a||a>=this.ir())&&g(Error("Slide index is out of range"));return this.St[a]};No.prototype.getVisibleSlide=No.prototype.wu;No.prototype.KB=u("sz");No.prototype.visibleSlidesDuration=No.prototype.KB;No.prototype.Uj=u("rz");No.prototype.visibleAnimationStepsDuration=No.prototype.Uj;function Po(a,b,c){this.pK=a;this.Ag=b;this.wm=c}Po.prototype.name=u("Ag");Po.prototype.Q=u("wm");function Qo(a){return new Ro(a.pK,a.wm)}function Ro(a,b){this.cN=a;this.wm=b;this.Sn=b.length}w=Ro.prototype;w.M=-1;w.Sn=0;w.oi=function(a){this.M=Sb(a,-1,this.Sn);return l};w.Ju=function(){this.Ma||a>=this.count())&&g(Error("index is out of range"));return this.Xo[a]};Xo.prototype.getPresenter=Xo.prototype.vu;function Yo(a,b){this.oh=a;this.BL=b}Yo.prototype.loop=u("BL");function Zo(){this.wl={}}Zo.prototype.aA=function(a){return a in this.wl};function $o(){this.jp=[]}$o.prototype.count=function(){return this.jp.length};$o.prototype.count=$o.prototype.count;$o.prototype.oA=function(a){(0>a||a>=this.count())&&g(Error("index is out of range"));return this.jp[a]};$o.prototype.getReference=$o.prototype.oA;function ap(){this.jp=new $o}ap.prototype.Jj=u("jp");ap.prototype.references=ap.prototype.Jj;function bp(a){this.Vb=a;this.S=new No;this.BN=new Eo;this.UC=new Vo;this.qD=[];this.Xo=new Xo;this.ML=new po;this.qN=new ap;this.Qy=new Zo;this.dH=new Zo}w=bp.prototype;w.Jk="";w.Ff=m;w.Cr=m;w.Dm=m;w.On=m;w.wC=m;w.Zq=u("Vb");bp.prototype.uniqueId=bp.prototype.Zq;bp.prototype.Q=u("S");bp.prototype.slides=bp.prototype.Q;bp.prototype.title=u("Jk");bp.prototype.title=bp.prototype.title;bp.prototype.mB=aa("Jk");bp.prototype.D=u("mc");bp.prototype.slideWidth=bp.prototype.D;bp.prototype.C=u("Tc"); bp.prototype.slideHeight=bp.prototype.C;bp.prototype.va=u("BN");bp.prototype.settings=bp.prototype.va;w=bp.prototype;w.Eu=function(){if(!this.Ff){var a=Th(Sh(this.S.count()));this.Ff=new Po(this.S,"__m",a)}return this.Ff};w.Zp=u("Cr");w.jr=u("Dm");w.oq=u("qD");w.li=u("Xo");bp.prototype.presenters=bp.prototype.li;bp.prototype.se=u("On");bp.prototype.company=bp.prototype.se;bp.prototype.fB=aa("On");bp.prototype.Ud=u("ML");bp.prototype.narration=bp.prototype.Ud;bp.prototype.Wu=u("qN"); bp.prototype.resources=bp.prototype.Wu;bp.prototype.Sk=u("wC");bp.prototype.eB=aa("wC");function cp(a){this.$b=a}cp.prototype.type=ca("gotoSlide");cp.prototype.N=u("$b");function dp(){O.call(this,"interaction")}C(dp,O);dp.prototype.yA=u("iL");dp.prototype.Ym=u("ly");dp.prototype.iB=aa("ly");function ep(){}var fp; ep.prototype.R=function(){var a;gp?a=gp:(a={id:{A:"i"},title:{A:"t"},D:{A:"w"},C:{A:"h"},TH:{A:"c"},Q:{A:"s",fv:{A:"st",Ia:{A:"s"},quiz:{A:"q"},uY:{A:"i"}},title:{A:"t"},visible:{A:"v"},VH:{A:"c"},src:{A:"s"},FJ:{A:"sl"},mu:{A:"o"},iQ:{A:"n"},LP:{A:"N"},text:{A:"x"},qn:{A:"T",uq:{A:"i"},width:{A:"w"},height:{A:"h"}},Vp:{A:"a"},rO:{A:"d"},Vm:{A:"l"},pJ:{A:"p"},Be:{A:"e",jJ:{A:"p"},iJ:{A:"a"}},rn:{A:"i"},transition:{A:"q",type:{A:"t"},duration:{A:"d"},tf:{A:"s"}},Rb:{A:"S",id:{A:"i"},tj:{A:"a"},Q:{A:"s"}, repeat:{A:"r",NJ:{A:"s"},MJ:{A:"c"},OJ:{A:"n"}},volume:{A:"v"},aP:{A:"e"},Og:{A:"b",name:{A:"n"},time:{A:"t"}},duration:{A:"d"}},rb:{A:"V",id:{A:"i"},tj:{A:"a"},Q:{A:"s"},repeat:{A:"r",NJ:{A:"s"},MJ:{A:"c"},OJ:{A:"n"}},SA:{A:"f"},vA:{A:"H"},cB:{A:"R"},volume:{A:"v"},Td:{A:"h"},Og:{A:"b",name:{A:"n"},time:{A:"t"}},duration:{A:"d"}},kr:{A:"wo",vj:{A:"c"},url:{A:"u"},timeout:{A:"to"},width:{A:"w"},height:{A:"h"},jA:{A:"f"},kq:{A:"ds"}},tR:{A:"y",vj:{A:"c"},url:{A:"v"},width:{A:"w"},height:{A:"h"},timeout:{A:"to"}}, ki:{A:"m",name:{A:"n"},Wm:{A:"p",name:{A:"n"},value:{A:"v"}}},Zf:{A:"b",action:{type:{A:"t",hQ:{A:"n"},Zc:{A:"g"}},N:{A:"s"}},Fj:{A:"n"},Lq:{A:"p"}},Dj:{A:"r",VI:{A:"l"}},cA:{A:"f",vj:{A:"c"},width:{A:"w"},height:{A:"h"},url:{A:"u"},Na:{A:"to"},bgColor:{A:"b"},FB:{A:"t"}},yQ:{A:"qb"},zQ:{A:"qB",Bz:{A:"i"},vO:{A:"n",yO:{A:"t"},sO:{A:"a"},tO:{A:"p"}},kP:{A:"f",QA:{A:"p",type:{A:"t",OO:{A:"w"},Cc:{A:"n"},Zc:{A:"s"}},N:{A:"s"}},hP:{A:"f"}}},yA:{A:"it"},Ym:{A:"pp"}},va:{A:"e",navigation:{A:"n",gl:{A:"m", enabled:{A:"e"},target:{A:"t",step:{A:"s"},Ia:{A:"l"}}},Aj:{A:"k",enabled:{A:"e"},Od:{A:"a",name:{A:"n",sQ:{A:"pp"},Ju:{A:"ns"},uQ:{A:"ps"},gQ:{A:"nt"},vQ:{A:"pt"},QQ:{A:"sf"},PQ:{A:"sb"},lP:{A:"fs"},RP:{A:"ls"},EA:{A:"lv"},WQ:{A:"ss"},VQ:{A:"se"},lR:{A:"vu"},kR:{A:"vd"},fR:{A:"tf"}},mn:{A:"s",key:{A:"k"},Oz:{A:"c"},shift:{A:"s"}}}},Lm:{A:"g",NB:{A:"z"}}},qc:{A:"p",Rk:{A:"a"},hh:{A:"r",prompt:{A:"p"},wO:{A:"a"},dQ:{A:"n"}},Cj:{A:"l"},Ej:{A:"n",qY:{A:"n"},DQ:{A:"r"},SQ:{A:"s"}}},Hm:{A:"a",bA:{A:"f"}}, nl:{A:"w",link:{url:{A:"u"},target:{A:"t"}},Uq:{A:"s"},Kq:{A:"p"}},Zm:{A:"P",Ou:{A:"p"},Rj:{A:"t",dI:{A:"a"},eI:{A:"u"}},pu:{A:"d"}}},ev:{A:"S",name:{A:"n"},Q:{A:"s"}},Eu:{A:"sS"},EJ:{A:"k"},fl:{A:"I"},Zp:{A:"b",content:{A:"c"},url:{A:"u"},width:{A:"w"},height:{A:"h"}},jr:{A:"W",src:{A:"s"},left:{A:"l"},top:{A:"t"},width:{A:"w"},height:{A:"h"},opacity:{A:"o"},url:{A:"u"},target:{A:"T"}},oq:{A:"f",name:{A:"n"},localName:{A:"l"},JB:{A:"u"},qR:{A:"A"},MB:{A:"D"},xO:{A:"a"},VO:{A:"d"},sP:{A:"g"},bold:{A:"b"}, Bu:{A:"i"}},se:{A:"C",Um:{A:"l",uq:{A:"i"},width:{A:"w"},height:{A:"h"}},og:{A:"w"},lr:{A:"t"}},li:{A:"p",name:{A:"n"},Aq:{A:"j"},$p:{A:"b"},og:{A:"w"},lq:{A:"e"},Hq:{A:"p"},se:{A:"C"},Xm:{A:"P",uq:{A:"i"},width:{A:"w"},height:{A:"h"}}},Rb:{A:"o",id:{A:"i"},Td:{A:"h"}},rb:{A:"v",id:{A:"i"},Td:{A:"h"}},Ud:{A:"n",uj:{A:"a"},Tj:{A:"v"},KJ:{Eq:{A:"i"},volume:{A:"v"},pb:{A:"st"},fg:{A:"et"},timestamp:{N:{A:"s"},ka:{A:"t"},Na:{A:"i"}}}},Jj:{A:"r",type:{A:"t",zO:{A:"a"},CQ:{A:"r"}},title:{A:"i"},url:{A:"u"}, target:{A:"a"}},Sk:{A:"B",tf:{A:"i"},loop:{A:"l"}}},Xe(a),gp=a);return a}; ep.prototype.load=function(a){a||g(Error("presentation json can't be null"));var b=this.R(),c=new bp(a[b.id]);b.title in a&&c.mB(a[b.title]);b.D in a&&b.C in a||g(Error("presentation json doesn't contain 'slideWidth' or/and 'slideHeight' parameters"));c.mc=a[b.D];c.Tc=a[b.C];if(b.li in a)for(var d=a[b.li],e=this.R().li,f=c.li(),h=0;hthis.SN-this.Ta.currentTime()&&this.fG()};function vp(a,b){var c=a.Ta,d=wp(a);if(!d&&!a.ny){a.ny=l;var e=A(a.dO,a);setTimeout(e,300);Le&&(a.kz=setInterval(e,1E3))}if(b&&(!c.gq()||!d)&&!a.Qk)a.Qk=l,xp(a.na,l,a),c.qh.addHandler(a.Mx,a)} w.dO=function(){wp(this)||this.Ta.ml(this.sF);this.Qk&&this.Ta.gq()&&this.Mx();this.Ta.ready()?clearInterval(this.kz):this.Ta.load()};w.Mx=function(){Le&&1==this.Ta.duration()?this.DC=setInterval(A(this.IK,this),200):yp(this)};w.IK=function(){1!=this.Ta.duration()&&yp(this)};function yp(a){a.ny=q;clearInterval(a.kz);clearInterval(a.DC);a.Qk&&(a.Qk=q,a.Ta.qh.removeHandler(a.Mx,a),xp(a.na,q,a))}w.activate=function(){jo(this.ez,"activated");this.Ta.Cb().addHandler(this.ME,this)}; w.deactivate=function(){jo(this.ez,"deactivated");this.Ta.Cb().removeHandler(this.ME,this);this.Tb&&(this.Tb=q,xp(this.na,q,this));this.jb=q;this.Ta.pause()};w.kl=function(a,b){if(!this.Tb||b){var c=this.Ta,d=a-c.currentTime(),e=b?0.01:0.5;d>e&&!b&&!this.Tb?this.Et(a):Math.abs(d)>e&&c.gA(a);this.jb&&!this.Ta.playing()&&this.Ta.play()}};w.play=function(a){!this.jb&&!this.Qk&&(this.jb=l,this.kl(a,!this.Ta.playing()),this.Ta.play())};w.pause=function(){this.jb&&(this.jb=q,!this.Tb&&!this.Nd&&this.Ta.pause())}; w.ME=function(){var a=q;this.Ta.state()==zp&&(a=l);this.Tb!=a&&(this.Tb=a,jo(this.ez,a?"buffering":"activated"),xp(this.na,a,this),!a&&!this.jb&&this.Ta.pause(),this.Jc.I())};function wp(a){var b=a.Ta.src();a=a.sF;if(b)for(var c=0;cc.x||c.x>a.Wf.width()||0>c.y)return q;c=Zc(b,a.Ii.displayObject());return!(c.y>a.Ii.height())}w.Io=function(a){this.Wl=l;J(document,Cp,this.km,q,this);J(document,Bp,this.Os,q,this);this.G.playing()&&(this.G.pause(),this.zk=l);this.km(a)};w.km=function(a){this.G.seek(this.Xr(this.it.qa,this.Zb.width()-2,a)*this.G.duration())}; w.Os=function(a){Ld(document,Cp,this.km,q,this);Ld(document,Bp,this.Os,q,this);this.km(a);this.zk&&(this.G.play(),this.zk=q);this.Wl=q;this.eE.I()};w.Xr=function(a,b,c){a=Zc(c,a).x/this.vy*this.ya;b=Math.min(1,a/b);return b=Math.max(0,b)};function eq(a){function b(a){a=a.toString();1==a.length&&(a="0"+a);return a}a=Math.round(a);var c=Math.floor(a/3600);a%=3600;var d=Math.floor(a/60);return b(c)+":"+b(d)+":"+b(a%60)} function dq(a,b){Jp.call(this,"bookmark");this.Jn=b;this.G=a;this.za(q);a.duration()?hq(this):a.pE.addHandler(function(){hq(this)},this);J(this.displayObject(),Ap,this.pM,q,this)}C(dq,Jp);function hq(a){a.displayObject().style.left=100*(a.Jn.time()/a.G.duration())+"%";a.za(l)}dq.prototype.pM=function(a){a.stopPropagation();this.G.seek(this.Jn.time());return Pj(this.displayObject().parentNode)};var zp="buffering";function iq(a){this.zg=a;J(a,"play",this.Jx,q,this);J(a,"playing",this.Fo,q,this);J(a,"pause",this.Fo,q,this);J(a,"seeking",this.Lx,q,this);J(a,"ended",this.Fo,q,this);J(a,"waiting",this.Fo,q,this);J(a,"timeupdate",this.im,q,this);J(a,"progress",this.JE,q,this);J(a,"loadeddata",this.JE,q,this);J(a,"canplaythrough",this.Is,q,this);jq(this)||J(a,"loadedmetadata",this.oM,q,this);(this.Si=a.readyState>=HTMLMediaElement.HAVE_CURRENT_DATA)||Kd(a,"canplay",this.Kx,q,this);this.ij=new N;this.pE=new N;this.Rc= new N;this.ZD=new N;this.tm=new N;this.iH=new N;this.wx=new N;this.qh=new N;this.hp=new N;kq(this)}var lq=new N;w=iq.prototype;w.Uc="paused";w.Si=q;w.jb=q;w.Ni=q;w.Tb=q;w.tp=-1;w.ug=-1;w.SC=0;w.Ln=-1;w.sw=0;function mq(a){a.zg||g(Error("media player was disposed"));return a.zg}w.state=u("Uc");function nq(a){var b=mq(a);return Me?!a.Ni:b.paused}function kq(a){var b="",b=(b=a.zg)?b.error?"error":b.ended?"ended":nq(a)?"paused":a.Tb?zp:"playing":"disposed",c=a.Uc;c!=b&&(a.Uc=b,a.ij.I(a,c))} function oq(a){return!!a.zg&&!a.zg.error&&y(a.zg.play)}function jq(a){return oq(a)&&mq(a).readyState>=HTMLMediaElement.HAVE_METADATA}w.ready=function(){return oq(this)&&this.Si}; w.no=function(){var a=this.wi,b=Ne?HTMLMediaElement.HAVE_CURRENT_DATA:HTMLMediaElement.HAVE_FUTURE_DATA;Ne&&mq(this).readyState>=HTMLMediaElement.HAVE_CURRENT_DATA&&!this.Si?this.Kx():(this.wi=this.Si&&oq(this)&&mq(this).readyState>=b,!this.wi&&(Me&&1==mq(this).networkState&&1==this.yL)&&(this.wi=l),!this.wi&&!this.Sl?this.Sl=setInterval(A(this.no,this),2E3):this.wi&&(clearInterval(this.Sl),this.Sl=j),!a&&this.wi&&this.qh.I(this),this.yL=mq(this).networkState)};w.gq=function(){this.no();return this.wi}; w.Is=function(){this.no()};w.playing=u("jb");w.play=function(){oq(this)&&(this.jb=l,mq(this).play(),0>this.Ln&&(this.Ln=setInterval(A(this.HK,this),500)))};w.Jq=function(a){oq(this)&&(this.seek(a),this.play())};w.pause=function(){oq(this)&&(this.jb=q,pq(this),mq(this).pause(),this.Ni!=q&&(this.Ni=q))};w.stop=function(){if(oq(this)){this.jb=q;pq(this);this.Ni!=q&&(this.Ni=q);var a=mq(this);a.pause();jq(this)&&0=d&&e>=Math.min(this.currentTime()+5,this.duration())){c=q;mq(this).paused&&mq(this).play();break}}this.Tb!=c&&(this.Tb= c,kq(this))}};w.Zk=function(a){mq(this).controls=a};w.Wh=function(){return mq(this).controls};w.ml=function(a){if(this.zg&&this.zg.play){if(!la(a))a:{ia(a)||(a=[a]);for(var b=0;bva()-this.Hi;!this.playing()&&!a&&(this.Rw=l,a=mq(this),a.play(),a.pause())}};function rq(a){iq.call(this,a);Ki&&lq.addHandler(this.vM,this)}C(rq,iq);rq.prototype.vM=function(a){this.playing()&&a instanceof qq&&this.play()};function sq(a){tq(this,a);this.ij=new N;this.Rc=new N;this.Jc=new N;this.tm=new N;this.Am=new N;this.qh=new N;this.wr=new N}w=sq.prototype;w.xb=q;w.jb=q;w.Hi=-1;function tq(a,b){if(a.G!==b){var c=1,d=q;a.G&&(d=a.G,d.Cb().removeHandler(a.Ns,a),d.Rc.removeHandler(a.RE,a),d.tm.removeHandler(a.SE,a),d.qh.removeHandler(a.Is,a),c=d.volume(),d=d.muted());a.G=b;b.Cb().addHandler(a.Ns,a);b.Rc.addHandler(a.RE,a);b.tm.addHandler(a.SE,a);b.qh.addHandler(a.Is,a);b.setVolume(c);b.Yg(d)}} w.activate=function(){this.xb||(this.xb=l,this.wr.I(this,l))};w.deactivate=function(){this.xb&&(this.xb=q,this.wr.I(this,q))};w.state=function(){return this.G.state()};w.Cu=function(){return this.G.Cu()};w.ready=function(){return this.G.ready()};w.playing=function(){return this.G.playing()};w.mb=function(){return this.G.state()==zp};w.gq=function(){return this.G.gq()};w.load=function(){var a=mq(this.G);ub||Ri||Yi&&!Zi||Ne?(a.play(),a.pause()):a.load()};w.play=function(){this.jb=l;this.G.play()}; w.Jq=function(a){this.jb=l;this.Hi=va();this.G.Jq(a)};w.pause=function(){this.jb=q;this.G.pause()};w.stop=function(){this.jb=q;this.Hi=va();this.G.stop()};w.seek=function(a){this.Hi=va();this.G.seek(a)};w.gA=function(a){this.Hi=va();this.G.gA(a)};w.currentTime=function(){return this.G.currentTime()};w.duration=function(){return this.G.duration()};w.volume=function(){return this.G.volume()};w.setVolume=function(a){this.G.setVolume(a)};w.muted=function(){return this.G.muted()};w.Yg=function(a){this.G.Yg(a)}; w.Zk=function(a){this.G.Zk(a)};w.Wh=function(){return this.G.Wh()};w.Cb=u("ij");w.VA=u("Rc");w.Ns=function(a,b){this.ij.I(this,b);var c=a.state();if(this.jb&&"paused"==c||!this.jb&&"playing"==c)this.Am.I(this,this.jb?"pause":"play");this.jb=a.playing();(c==zp||b==zp)&&this.Jc.I(this)};w.RE=function(){this.Rc.I(this)};w.SE=function(){this.tm.I(this);200=pf(f.fg(),b)||0=b&&c.push(e)}return c} function xr(a,b,c){c=yr(a,c);var d=yr(a,b.pb());a=yr(a,b.fg())-d;return Sb(c-d,0,a)}function yr(a,b){return a.S.lf(b,l,q)}w.kl=function(){for(var a=this.L.timestamp(),b=this.ti,c=0;c");return new or(a,d,b,c)};function Ar(){}x("ispring.presenter.player.sound.ISoundController",Ar,j);Ar.prototype.volume=t();Ar.prototype.volume=Ar.prototype.volume;Ar.prototype.setVolume=t();Ar.prototype.setVolume=Ar.prototype.setVolume;Ar.prototype.Yg=t();Ar.prototype.mute=Ar.prototype.Yg;Ar.prototype.muted=t();Ar.prototype.muted=Ar.prototype.muted;Ar.prototype.$m=t();Ar.prototype.realVolume=Ar.prototype.$m;Ar.prototype.ov=t();Ar.prototype.volumeChangedEvent=Ar.prototype.ov;Ar.prototype.fn=t(); Ar.prototype.realVolumeChangedEvent=Ar.prototype.fn;Ar.prototype.Fq=t();Ar.prototype.muteStateToggledEvent=Ar.prototype.Fq;function Br(a,b,c,d,e){var f=new uq("");sr.call(this,a,b,c,d,Me?new pr(f):new zr);this.sa=new qr(f);this.ud=f;this.rd=e;this.rd.fn().addHandler(this.Lk,this);this.Lk()}C(Br,sr);Br.prototype.activate=function(){if(Me){var a=!Le,b=mq(this.ud.G);b.src=a?"about:blank":"";b.play()}Br.T.activate.call(this)};Br.prototype.view=u("sa");Br.prototype.view=Br.prototype.view;Br.prototype.Lk=function(){this.ud.setVolume(this.rd.$m())}; Br.prototype.Dn=function(a){Br.T.Dn.call(this,a);Me||(this.ud=tr(this,a).ud,this.sa.PJ(this.ud),this.Lk())};function Cr(){}w=Cr.prototype;w.we=t();w.KH=ca(l);w.NH=ca(l);w.OH=ca(l);w.PH=ca(l);w.zJ=t();w.LH=ca(l);w.MH=ca(l);function Dr(a){de&&a.Hw.addHandler(this.Hx,this)}Dr.prototype.Hx=function(a,b){la(a)||(a=a.baseVal);this.Wx(a)&&(b.IC=l)};Dr.prototype.Wx=function(a){return(new Zd("openWindow",[a])).execute()};function Er(){}x("ispring.quiz.player.IActionAvailability",Er,j);Er.prototype.actionAvailable=Er.prototype.uH;function Fr(){}x("ispring.presenter.player.transitions.ISlideTransitionController",Fr,j);Fr.prototype.EB=t();Fr.prototype.transitionProgress=Fr.prototype.EB;Fr.prototype.state=t();Fr.prototype.state=Fr.prototype.state;Fr.prototype.DB=t();Fr.prototype.transitionEffectStartEvent=Fr.prototype.DB;Fr.prototype.kv=t();Fr.prototype.transitionEffectCompleteEvent=Fr.prototype.kv;function P(){}x("ispring.presenter.player.IPresentationPlaybackController",P,j);P.prototype.play=t();P.prototype.play=P.prototype.play;P.prototype.pause=t();P.prototype.pause=P.prototype.pause;P.prototype.Zc=t();P.prototype.gotoSlide=P.prototype.Zc;P.prototype.zj=t();P.prototype.gotoLastSlideViewed=P.prototype.zj;P.prototype.Vg=t();P.prototype.gotoFirstSlide=P.prototype.Vg;P.prototype.Wg=t();P.prototype.gotoLastSlide=P.prototype.Wg;P.prototype.Cc=t();P.prototype.gotoNextSlide=P.prototype.Cc; P.prototype.Sd=t();P.prototype.gotoPreviousSlide=P.prototype.Sd;P.prototype.$h=t();P.prototype.gotoNextStep=P.prototype.$h;P.prototype.$k=t();P.prototype.gotoPreviousStep=P.prototype.$k;P.prototype.Xg=t();P.prototype.gotoTimestamp=P.prototype.Xg;P.prototype.ue=t();P.prototype.firstSlideIndex=P.prototype.ue;P.prototype.ig=t();P.prototype.lastSlideIndex=P.prototype.ig;P.prototype.Ad=t();P.prototype.nextSlideIndex=P.prototype.Ad;P.prototype.Te=t();P.prototype.previousSlideIndex=P.prototype.Te; P.prototype.Va=t();P.prototype.currentSlideIndex=P.prototype.Va;P.prototype.ua=t();P.prototype.currentSlide=P.prototype.ua;P.prototype.fh=t();P.prototype.playbackState=P.prototype.fh;P.prototype.W=t();P.prototype.clock=P.prototype.W;P.prototype.ng=t();P.prototype.slideChangeEvent=P.prototype.ng;P.prototype.Pj=t();P.prototype.stepChangeEvent=P.prototype.Pj;P.prototype.qf=t();P.prototype.playbackCompleteEvent=P.prototype.qf;P.prototype.kb=t();P.prototype.nn=t(); P.prototype.slideTransitionController=P.prototype.nn;function Gr(){}x("ispring.presenter.player.restriction.INavigationRestrictionReason",Gr,j);Gr.prototype.type=t();Gr.prototype.type=Gr.prototype.type;Gr.prototype.mi=t();Gr.prototype.relatedSlideIndex=Gr.prototype.mi;function Hr(a,b){this.ja=a;this.nN=b}Hr.prototype.type=u("ja");Hr.prototype.type=Hr.prototype.type;Hr.prototype.mi=u("nN");Hr.prototype.relatedSlideIndex=Hr.prototype.mi; var Ir={BS:"currentSlideIsLocked",CS:"currentSlideIsNotCompleted",yS:"currentSlideIsFirstSlide",AS:"currentSlideIsLastSlide",zS:"currentSlideIsInteraction",GR:"backwardNavigationIsRestricted",zT:"forwardNavigationIsRestricted",FV:"presentationSeekingDisabled",WT:"interactionNotCompleted",BV:"precedingQuizNotPassed",AV:"precedingQuizNotCompleted",zV:"precedingQuizFailed"};x("ispring.presenter.player.restriction.NavigationRestrictionReasonType",Ir,j); x("CURRENT_SLIDE_IS_LOCKED","currentSlideIsLocked",Ir);x("CURRENT_SLIDE_IS_NOT_COMPLETED","currentSlideIsNotCompleted",Ir);x("CURRENT_SLIDE_IS_LAST_SLIDE","currentSlideIsLastSlide",Ir);x("CURRENT_SLIDE_IS_FIRST_SLIDE","currentSlideIsFirstSlide",Ir);x("BACKWARD_NAVIGATION_IS_RESTRICTED","backwardNavigationIsRestricted",Ir);x("FORWARD_NAVIGATION_IS_RESTRICTED","forwardNavigationIsRestricted",Ir);x("PRESENTATION_SEEKING_DISABLED","presentationSeekingDisabled",Ir); x("PRECEDING_QUIZ_NOT_PASSED","precedingQuizNotPassed",Ir);x("PRECEDING_QUIZ_NOT_COMPLETED","precedingQuizNotCompleted",Ir);x("PRECEDING_QUIZ_FAILED","precedingQuizFailed",Ir);function Jr(){}x("ispring.presenter.player.restriction.INavigationRestriction",Jr,j);Jr.prototype.Hu=t();Jr.prototype.navigationAction=Jr.prototype.Hu;Jr.prototype.Oq=t();Jr.prototype.restrictionSource=Jr.prototype.Oq;Jr.prototype.gn=t();Jr.prototype.restrictionReason=Jr.prototype.gn;Jr.prototype.mi=t();Jr.prototype.relatedSlideIndex=Jr.prototype.mi;Jr.prototype.$A=t();Jr.prototype.relatedTimestamp=Jr.prototype.$A;Jr.prototype.tJ=t();function Kr(){}x("ispring.presenter.player.IRestrictedPresentationPlaybackController",Kr,j);Kr.prototype.Iu=t();Kr.prototype.navigationRestrictedEvent=Kr.prototype.Iu;Kr.prototype.Wk=t();function Lr(){}x("ispring.presenter.player.IPresentationView",Lr,j);Lr.prototype.playbackController=Lr.prototype.kJ;Lr.prototype.restrictedPlaybackController=Lr.prototype.xJ;Lr.prototype.soundController=Lr.prototype.soundController;Lr.prototype.displayObject=Lr.prototype.displayObject;Lr.prototype.setOverlayDisplayed=t();Lr.prototype.width=Lr.prototype.width;Lr.prototype.height=Lr.prototype.height;Lr.prototype.resize=Lr.prototype.resize;function Mr(){}x("ispring.presenter.player.IPresentationPlayer",Mr,j);Mr.prototype.presentation=Mr.prototype.oJ;Mr.prototype.view=Mr.prototype.view;Mr.prototype.version=Mr.prototype.version;function Nr(a){this.sa=a;this.sb=hc("DIV");this.Md=new N;a.Md.addHandler(this.Jo,this);a.displayObject().appendChild(this.sb)}w=Nr.prototype;w.Jo=function(a,b,c,d){Tc(this.sb,c,d);F(this.sb,"clip","rect(0px,"+a+"px,"+b+"px,0px)");this.Md.I()};w.aB=u("Md");w.position=function(a,b){var c=this.sa.displayObject(),d=c.querySelector("#"+a);return this.Pi(d,c,b||this.scale())};w.scale=function(){return this.sa.scale()}; w.Pi=function(a,b,c){var d=new Tb(0,0);if(!a)return d;for(var e=oc(a);e&&e!=b;)d.x+=a.offsetLeft,d.y+=a.offsetTop,a=e,e=oc(e);d.x*=c;d.y*=c;return d};w.displayObject=u("sb");var Or=q,Pr="";function Qr(a){a=a.match(/[\d]+/g);a.length=3;return a.join(".")} if(navigator.plugins&&navigator.plugins.length){var Rr=navigator.plugins["Shockwave Flash"];Rr&&(Or=l,Rr.description&&(Pr=Qr(Rr.description)));navigator.plugins["Shockwave Flash 2.0"]&&(Or=l,Pr="2.0.0.11")}else if(navigator.mimeTypes&&navigator.mimeTypes.length){var Sr=navigator.mimeTypes["application/x-shockwave-flash"];(Or=Sr&&Sr.enabledPlugin)&&(Pr=Qr(Sr.enabledPlugin.description))}else try{var Tr=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"),Or=l,Pr=Qr(Tr.GetVariable("$version"))}catch(Ur){try{Tr= new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),Or=l,Pr="6.0.21"}catch(Vr){try{Tr=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),Or=l,Pr=Qr(Tr.GetVariable("$version"))}catch(Wr){}}}var Xr=Or,Yr=Pr;function Zr(a){jd.call(this);this.zu=a;this.ob=[]}C(Zr,jd);var $r=[];function as(a){D.forEach(a.ob,Md);a.ob.length=0}Zr.prototype.Yc=function(){Zr.T.Yc.call(this);as(this)};Zr.prototype.handleEvent=function(){g(Error("EventHandler.handleEvent not implemented"))};function bs(){}bs.yI=function(){return bs.II?bs.II:bs.II=new bs};bs.prototype.fQ=0;bs.yI();function cs(a){jd.call(this);this.Uz=a||Wb();this.IQ=ds}C(cs,Rd);cs.prototype.MP=bs.yI();var ds=m;w=cs.prototype;w.hg=m;w.ve=q;w.Bc=m;w.IQ=m;w.WP=m;w.Bd=m;w.Ac=m;w.Pg=m;w.mR=q;function es(a){return a.hg||(a.hg=":"+(a.MP.fQ++).toString(36))}w.gg=u("Bc");function fs(a,b){a==b&&g(Error("Unable to set parent component"));b&&(a.Bd&&a.hg&&a.Bd.Pg&&a.hg&&E(a.Bd.Pg,a.hg)&&a.Bd!=b)&&g(Error("Unable to set parent component"));a.Bd=b;cs.T.hB.call(a,b)}w.getParent=u("Bd"); w.hB=function(a){this.Bd&&this.Bd!=a&&g(Error("Method not supported"));cs.T.hB.call(this,a)};w.vI=u("Uz");w.jq=function(){this.Bc=this.Uz.createElement("div")};w.Hb=function(a){gs(this,a)};function gs(a,b,c){a.ve&&g(Error("Component already rendered"));a.Bc||a.jq();b?b.insertBefore(a.Bc,c||m):a.Uz.xd.body.appendChild(a.Bc);(!a.Bd||a.Bd.ve)&&a.mq()}w.mq=function(){this.ve=l;hs(this,function(a){!a.ve&&a.gg()&&a.mq()})};function is(a){hs(a,function(a){a.ve&&is(a)});a.xu&&as(a.xu);a.ve=q} w.Yc=function(){this.ve&&is(this);this.xu&&(this.xu.te(),delete this.xu);hs(this,function(a){a.te()});!this.mR&&this.Bc&&mc(this.Bc);this.Bd=this.WP=this.Bc=this.Pg=this.Ac=m;cs.T.Yc.call(this)};w.$=function(a,b){this.wH(a,this.Ac?this.Ac.length:0,b)}; w.wH=function(a,b,c){a.ve&&(c||!this.ve)&&g(Error("Component already rendered"));(0>b||b>(this.Ac?this.Ac.length:0))&&g(Error("Child component index out of bounds"));if(!this.Pg||!this.Ac)this.Pg={},this.Ac=[];if(a.getParent()==this){var d=es(a);this.Pg[d]=a;D.remove(this.Ac,a)}else{var d=this.Pg,e=es(a);e in d&&g(Error('The object already contains the key "'+e+'"'));d[e]=a}fs(a,this);D.xA(this.Ac,a,b);a.ve&&this.ve&&a.getParent()==this?(c=this.Bc,c.insertBefore(a.gg(),c.childNodes[b]||m)):c?(this.Bc|| this.jq(),b=this.Ac?this.Ac[b+1]||m:m,gs(a,this.Bc,b?b.Bc:m)):this.ve&&(!a.ve&&a.Bc&&a.Bc.parentNode&&1==a.Bc.parentNode.nodeType)&&a.mq()};function hs(a,b){a.Ac&&D.forEach(a.Ac,b,j)}w.removeChild=function(a,b){if(a){var c=la(a)?a:es(a);a=this.Pg&&c?E(this.Pg,c)||m:m;if(c&&a){var d=this.Pg;c in d&&delete d[c];D.remove(this.Ac,a);b&&(is(a),a.Bc&&mc(a.Bc));fs(a,m)}}a||g(Error("Child is not in parent component"));return a};function js(a){return ks(a||arguments.callee.caller,[])} function ks(a,b){var c=[];if(D.contains(b,a))c.push("[...circular reference...]");else if(a&&50>b.length){c.push(ls(a)+"(");for(var d=a.arguments,e=0;e=ts(this).value){a=this.xP(a,b,c);b="log:"+a.nf();da.console&&(da.console.timeStamp?da.console.timeStamp(b):da.console.markTimeline&&da.console.markTimeline(b));da.msWriteProfilerMark&&da.msWriteProfilerMark(b);for(b=this;b;){c=b;var d=a;if(c.Nm)for(var e=0,f=j;f=c.Nm[e];e++)f(d);b=b.getParent()}}}; w.xP=function(a,b,c){var d=new ns(a,String(b),this.cQ);if(c){d.mI=c;var e;var f=arguments.callee.caller;try{var h;var i=ea("window.location.href");if(la(c))h={message:c,name:"Unknown error",lineNumber:"Not available",fileName:i,stack:"Not available"};else{var k,n,p=q;try{k=c.lineNumber||c.FA||"Not available"}catch(r){k="Not available",p=l}try{n=c.fileName||c.filename||c.sourceURL||da.$googDebugFname||i}catch(s){n="Not available",p=l}h=p||!c.lineNumber||!c.fileName||!c.stack?{message:c.message,name:c.name, lineNumber:k,fileName:n,stack:c.stack||"Not available"}:c}e="Message: "+za(h.message)+'\nUrl: '+h.fileName+"\nLine: "+h.lineNumber+"\n\nBrowser stack:\n"+za(h.stack+"-> ")+"[end]\n\nJS stack traversal:\n"+za(js(f)+"-> ")}catch(v){e="Exception trying to expose exception! You win, we lose. "+v}d.lI=e}return d};var us={},vs=m; function ws(a){vs||(vs=new ps(""),us[""]=vs,vs.AJ(ss));var b;if(!(b=us[a])){b=new ps(a);var c=a.lastIndexOf("."),d=a.substr(c+1),c=ws(a.substr(0,c));c.uI()[d]=b;b.Bd=c;us[a]=b}return b};function xs(a,b){cs.call(this,b);this.mP=a;this.Yz=new Zr(this);this.dA=new Uh}C(xs,cs);w=xs.prototype;w.UP=ws("goog.ui.media.FlashObject");w.UJ="window";w.FH="#000000";w.uO="sameDomain";w.setSize=function(a,b){this.LB=la(a)?a:Math.round(a)+"px";this.tA=la(b)?b:Math.round(b)+"px";this.gg()&&bd(ys(this),this.LB,this.tA);return this}; w.mq=function(){xs.T.mq.call(this);var a=this.gg(),b,c=vb&&!Kb("11");b=c?'%s':''; for(var c=xa(c?'':"wmode=%s",this.UJ),d=this.dA.zI(),e=this.dA.EI(),f=[],h=0;ha/Fs.width||1>b)&&F(d,"backgroundSize","contain")}}; w.Om=function(){if(this.Qe)if(this.Qe=q,this.oD)this.sb.Md.removeHandler(this.IE,this),this.Ll.te(),this.Ll=m;else{var a=Ds(this);if(a){var b=Es();Ua(a,b);lc(a)}}};function Cs(a){var b=a.sb.scale(),c=a.Di;a.Ll.setSize(c.width()*b,c.height()*b)}function Bs(a){var b=document.getElementById(a.Di.vj()),c=a.sb.scale(),d=Fj().qb(b);if(d)var e=d.Ob,b=d.Pb;else e=parseFloat(Rc(b,"left")),b=parseFloat(Rc(b,"top"));Tc(a.Ll.gg(),e*c,b*c)}w.IE=function(){Bs(this);Cs(this)}; function Ds(a){if(a.Tr)return a.Tr;a.Tr=Zb(a.Di.vj());return a.Tr}var Fs=new Nb(74,89); function Es(){if(y(As))return As;var a="_sf"+Na();As=a;Cc("."+a+" {background: #A42222;}."+a+" div {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEoAAABZCAYAAACZkrJEAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwQAADsEBuJFr7QAAABp0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjUuMTAw9HKhAAAFA0lEQVR4Xu3c21MTVxwHcP/B+iwyPimoT46WPulY6INDR3mwdhTojJeOgC1MMZHhoha85EJIMCg1CTXQJEsokJCEJJgbyc/fiW5nJ2NjCL/dPecYZ74zIYa9fPZ7zh4Y3SNHWn9aAi0BYoGZM2dhGuMd/OW/bHgW4a+RESDelVibc/T0QPDRI0hHo1CpVP43UY/n64Kabj8By9iWnUCgLkwt2lcD5er5ARIHxNFiSQ9l7/oO8ru7B2rP54ag1FBbOK/Um3cO8ndSQoVwcj4IQiOflQrKicMs+4W7VyMoUg89/+AgtqisW6Iet/jLg5AVh1oZkXRM1C04VNKP6yEdgdRtCw0Vw6tsBBLbh7BQYQOGm/YiCAm1OjRsWJOEHXoLuASolPcNT9S9INZdr5BKGo7ELoxQUBuzs6Ygxfx+eDM0JEajvN09UNnHIadj0ooCrwYGYPL0GTFQPverv0ISh5xOSO8sVpgSGUcFqw45HZDCuF1re7u47dE2ynH6rC5Itu5uOYBUrKwSQagSWfLJBEzI0iIVaflaHxmQim2XrUkMq4BXn7JNUiIF8DZNiRS0WOSak9Rhl08koFwqkSTu88mJFOgfIAFi0DkEnzguyRKgdoFJ2aa5b7vkbNOr77uxTUWSxH1v5URizcpEwiRIDFvaIUfZJt/9+/K2advlImlTLrEjLxIbdlRz01J/v7xQoYcWKBdxEj9kcjuStymPJ3hYpGa/fx2HvBD//M3DlgTFgmlZd82LAbWFB9qCaqDTZiKxfQvRqKWr10xtkzBQmXDIdChFhDnK7GHH9s891D/jD6FcwLudyVHmOb/r5eJxRMqbHmXeye/ywMsmcQ6Q2DFwDZUO4STegqq/eLJd6OIGietGbeLkyUubuIbiCYkdS4THyXy1uiQw/06nPQYuofbzOeAtYaeDr+VBcHycDGnx1i1g8WjixtfaLODXalz4Ws08vq7m5k1wYmYuX+YLiqpJKwjewC8lxPxIcPwPbNN7kvx29Ki8UPs5RCLIuoOz+YSytxt4chRIbBsTnZ1ytukJnhgVktRtSq2tQim3R5I53u5OVMPu7a/3oPQekQiSRHCq4+JqO49xyFEAqduQtk1725sIlSWJ4rDJ2abUWpAESIW2ynin2369BKU9bBJRInYJ27T92otAGdIMfSPRKtzadhy2EKmISJTx3rsrz9z09Px5yG7+C8UsIhEmg9vk6jbe7MFMdXSCYrOR4mihJ/ECNHtsXHwfa5Bie4lAad0Sxu1zcbKNHMQYTqJTHR3VOH/shcDYKA6xDd1wVPgM7qOR4+PiM8UMtsWkvOjtFQlqF6GMT/jlC3GQqv/9C5GMTvzdilhIZkE9aGsTECqNjTIwjy9dEg+p2qh0CqGMifPnG2IiGQm1eOeOuEhGQTluCNwkdRFX2E2CXklHFZi5eFHsJukNFV/xw/CxY3IgMaw8Noo67tu36wKN4rNRnPjkQzUz+NCa3/E9FvUCPsDXLFz8+PIRKoFQNIlhi0ZPnWr45BTNU54dCBfRfO0ZHgE7vscPVAqRDplYwA/TTcxFWhiGwnBUmElsmU0WqLXnz5oCUjFqG8Te/7OvD9yfwJbxIYAcNWoHG9V41j0LMHvlCskJ1DaKofw99wxUoDBPD2CvhxQL+GDt+RzYf7oOlnPnSHC0DdFCqcPsKT7MhoV9jiuosZMngWW0JtxUvnUgLQGpBD4AN9FCi/luT4wAAAAASUVORK5CYII=) no-repeat;background-position: center;}");return a} ;function Gs(a,b,c,d){this.me=a;this.sb=b;this.L=c;this.S=d;this.Kw=[];c.$a().addHandler(this.Ma,this)}Gs.prototype.M=-1;Gs.prototype.Ma=function(){var a=this.L.timestamp(),b=a.N();if(b!=this.M){if(0<=this.M){var c=this.S.ta(this.M);c instanceof Ck&&Hs(this,c,-1)}this.M=b}if(0<=b&&(c=this.S.ta(b),c instanceof Ck)){var b=c,d=a.ka(),a=0>d?-1:b.Ca().nb(d).startTime()+a.Na();Hs(this,c,a)}}; function Hs(a,b,c){b=b.zw;for(var d=0;df||f>=e.count())&&g(Error("index is out of range"));e=e.$n[f];var f=a,h=e,i=pa(h)+"";i in f.Kw||(f.Kw[i]=new zs(h,f.me,f.sb));f=f.Kw[i];c>=e.Na()?f.show():f.Om()}};function Is(a,b,c){var d=uf,e=c.duration();b=new vf(b.index(),-1,0);var f=c.lf(b,l,q);a=a.Lf==d.ur?e:Math.min(e,f+a.duration());c=c.$f(a,l,q);this.gf=new mf([new lf(new kf("play",b,0),b,c)])}Is.prototype.Jz=u("gf");function Js(a,b,c,d){this.S=a;this.la=b;this.us=[];this.L=c;c.Cb().addHandler(this.Mi,this,1);for(b=0;b=a&&(this.G.seek(0),this.G.play(),b=q));b&&(this.Gg(),this.G.deactivate())}}; w.Eg=function(){this.Jc.I(this);!this.mb()&&(this.playing()&&this.sd)&&this.G.pause()};w.iv=function(){this.sd=q;this.G.play()};w.zB=function(){this.sd=l;this.mb()||this.G.pause()};w.Gg=function(){this.Kb&&(this.Kb=q,this.kp(),this.Jf.I(this))};w.qf=u("Jf");function Ys(a){this.P=a;this.Ua=[];this.tF={}}w=Ys.prototype;w.na=m;w.lw=q;w.Fr=m;w.jB=function(a,b){this.na=b;this.lw=a.fc();a.Cb().addHandler(this.Mi,this)};w.add=function(a,b){b=b||Zs;if(!D.contains(this.Ua,a)){this.Ua.push(a);var c=pa(a)+"";this.tF[c]=b;a.qf().addHandler(this.LE,this);a.Jc.addHandler(this.KE,this)}};w.remove=function(a){D.remove(this.Ua,a);a.mb()&&xp(this.na,q,a);a.qf().removeHandler(this.LE,this);a.Jc.removeHandler(this.KE,this)}; w.contains=function(a){return D.contains(this.Ua,a)};function $s(a){a=D.oa(a.Ua);for(var b=0;b=Math.abs(c.Na()-b.Na()));c&&(this.Fr=b,c=(b=bt(this,a.timestamp()))&&ct(this,a.timestamp()),at(this,a,b,c,l))}; function bt(a,b){var c=a.P.Q().ta(b.N());if(0>b.ka())return q;c=c.Ca().nb(b.ka());return b.Na()>=c.duration()}function ct(a,b){var c=a.P.Q().ta(b.N());return b.ka()==c.Ca().count()-1}w.LE=function(a){this.remove(a)};w.KE=function(a){xp(this.na,a.mb(),a)};function dt(a){this.Pu=q;this.oQ=a}var Zs=new dt(q),et=new dt(l),ft=new dt(l);function gt(a,b,c,d){this.S=a;this.L=b;this.ld=c;this.G=d;this.Jf=new N;this.Jc=new N;this.G.Cb().addHandler(this.Ms,this);this.G.tm.addHandler(this.RF,this)}w=gt.prototype;w.yc=m;w.gt=0;w.Hg=m;w.Kb=q;w.sd=q;w.Vy=q;w.playing=function(){return this.G.playing()};w.mb=function(){return this.G.mb()||!this.G.gq()};w.play=function(a){this.Gj(this.L.timestamp(),y(a)?a:m,q)}; function ht(a,b){var c=a.G;if(Me&&c instanceof sq){var d=c.G,c=!Le,e=d.src();d.ml(c?"about:blank":"");d.play();setTimeout(function(){d.ml(e);a.Gj(b,0,l)},0)}else a.Gj(b,0,l)} w.Gj=function(a,b,c){this.kp();var d=this.G;this.L.$a().addHandler(this.Ma,this);d.Jc.addHandler(this.Eg,this);d.qh.addHandler(this.Eg,this);d.Am.addHandler(this.YE,this);this.Kb=l;this.sd=q;this.G.activate();this.Vy=c;this.yc=a;this.Hg=b!=m?b:m;if(this.Vy){var e=this;a=function(){it(e,l);d.play();e.Eg()};Pi&&!Me?setTimeout(a,150):(Ri&&d.ml(d.src()),a())}else b!=m?d.Jq(b):d.play()};w.pause=function(){this.Gg();this.G.pause();this.G.deactivate()}; w.stop=function(){this.Gg();this.G.stop();this.G.deactivate();jt(this)};w.kp=function(){this.L.$a().removeHandler(this.Ma,this);this.G.Jc.removeHandler(this.Eg,this);this.G.qh.removeHandler(this.Eg,this);this.G.Am.removeHandler(this.YE,this)};w.Ma=function(){if(this.yc){var a=this.yc,b=this.L.timestamp(),c=b.N()-a.N(),d=0==c,a=d?b.ka()-a.ka():0,d=d&&0==a,b=q;0>c||0>a?b=l:(a=this.ld.Ke,b=0>a?!d:c>a);b&&(this.Gg(),this.G.pause(),this.G.deactivate())}}; w.Ms=function(){var a=uf,b=this.G.state();if("ended"==b){++this.gt;var c=q,d=this.ld.Lf;if(ma(d))c=this.gta-this.G.currentTime()&&(this.G.Rc.removeHandler(arguments.callee,this),this.Nd=q,up(this.L,q,this))},this))}; function jt(a){a.Jh=j;a.L.$a().removeHandler(a.GC,a);a.L.Cb().removeHandler(a.FC,a);a.fs=q;a.VD="ended";a.ld instanceof Jf&&(a.ld.cB()&&a.G.stop(),a.G.jn(q),a.ld.vA()&&a.G.show(q),yq(a.G,l));a.Nd&&(a.Nd=q,up(a.L,q,a))}w.FC=function(){var a;if(a=this.Kb)a:if(this.L.suspended()){a=this.L.timestamp();if(0=c.ka()&&0==c.Na())?l:!vt(a)&&!wt(a)}function vt(a){return 0b.Ad();!c.jh()&&!e?b.play():!d&&e?$s(a.la.Id):"bySlides"==a.P.va().navigation().gl().OL?b.Cc():b.$h()}}};function Bt(a,b,c){this.Aa=a;this.sa=b;this.vl=a.Ca();this.$b=a.index();this.na=c;this.Ep=new N;this.Rc=new N;this.kj=new N}Bt.prototype.DF=m;Bt.prototype.pm=q;Bt.prototype.Ia=u("Aa");Bt.prototype.slide=Bt.prototype.Ia;w=Bt.prototype;w.view=u("sa");w.activate=function(a){this.Ea=a;this.na.W().$a().addHandler(this.Ma,this)};w.deactivate=function(){this.Ea=m;this.na.W().$a().removeHandler(this.Ma,this)};w.play=function(){this.na.start()};w.pause=function(){this.na.stop()};w.N=u("$b");w.vz=t(); w.ZH=t();function Ct(a){a.Pu(a.vl.count()-1)}function Dt(a){a.pause();a.na.Ec(a.N(),0,0)}w.Pu=function(a){var b=this.vl.nb(a);this.pause();b=b.duration();this.na.Ec(this.N(),a,b)};w.Ca=u("vl");function Et(a){var b=a.na.W().timestamp();(a.Ea==m||b.N()!=a.N()||0>b.ka())&&g(Error("playback controller not active"))}w.nu=function(){Et(this);return this.na.W().timestamp().ka()};Bt.prototype.currentStepIndex=Bt.prototype.nu; Bt.prototype.Pz=function(){Et(this);var a=this.Ca().nb(this.nu());return Math.min(a.duration(),this.na.W().timestamp().Na())};Bt.prototype.currentStepPosition=Bt.prototype.Pz;Bt.prototype.SO=function(){Et(this);var a=this.Ca().nb(this.nu());return 0b||b>=a.S.count())return new Bk;var c=a.S.ta(b);return c instanceof Ck?c.uz:new Bk} w.Ma=function(a){a=a.timestamp();var b=a.N();if(0d||d>=b.count()?m:b.Up[d];e&&(e=a.G(e),c(e))}}w.wM=t();function Ot(){}Ot.prototype.activate=t();function Pt(a,b,c,d){tp.call(this,a,b,a.xK.tB(),c,d);this.Zj=b}C(Pt,tp);function Qt(a){this.Zj=a}Qt.prototype.wj=function(a,b,c){return new Pt(a,this.Zj,b,c)};function Rt(a){sq.call(this,new qq(a))}C(Rt,sq);function St(){}St.prototype.wj=function(a,b,c){var d=hc("audio"),d=new Rt(d);return new Pt(a,d,b,c)};function Tt(a,b,c,d,e){var f=hc("audio"),f=new Rt(f);sr.call(this,a,b,c,d,Me?new Qt(f):new St);this.Zj=f;this.rd=e;e.fn().addHandler(this.Lk,this);this.Lk()}C(Tt,sr);Tt.prototype.activate=function(){if(Me){var a=!Le,b=mq(this.Zj.G);b.src=a?"about:blank":"";b.play()}Tt.T.activate.call(this)};Tt.prototype.Lk=function(){this.Zj.setVolume(this.rd.$m())};Tt.prototype.Dn=function(a){Tt.T.Dn.call(this,a);Me||(this.Zj=tr(this,a).Zj,this.Lk())};function Ut(){this.oj=new N}w=Ut.prototype;w.tl=q;w.oe=0;w.start=function(){this.tl&&g(Error("timer was already started"));this.tl=l;this.oe=va();Vt()(A(this.nj,this))};w.stop=function(){this.tl||g(Error("timer wasn't started"));this.tl=q};w.AA=u("tl");w.nj=function(){if(this.tl){var a=this.oe;this.oe=va();this.oj.I(this.oe-a);Vt()(A(this.nj,this))}};w.$a=u("oj");var Wt=1E3/30,Xt=m;function Vt(){return Xt?Xt:Xt=function(a){setTimeout(a,Wt)}};function Yt(a){var b=pa(a),c=Zt;return function(){var d=this||da,d=d[$t]||(d[$t]={}),e=c(b,arguments);return d.hasOwnProperty(e)?d[e]:d[e]=a.apply(this,arguments)}}var $t="closure_memoize_cache_";function Zt(a,b){for(var c=[a],d=b.length-1;0<=d;--d)c.push(typeof b[d],b[d]);return c.join("\x0B")};function au(a){jd.call(this);this.Km=a||Wb();if(this.kI=this.vP())this.fP=J(this.Km.xd,this.kI,A(this.EP,this))}C(au,Rd);w=au.prototype;w.vP=Yt(function(){var a=this.isSupported(),b="hidden"!=this.tu();return a?b?((Lc()||"")+"visibilitychange").toLowerCase():"visibilitychange":m});w.tu=Yt(function(){return Mc("hidden",this.Km.xd)});w.AP=Yt(function(){return Mc("visibilityState",this.Km.xd)});w.isSupported=function(){return!!this.tu()}; w.EP=function(){var a=!this.isSupported()?m:this.Km.xd[this.AP()],a=new bu(!!this.Km.xd[this.tu()],a);this.dispatchEvent(a)};w.Yc=function(){Md(this.fP);au.T.Yc.call(this)};function bu(a,b){md.call(this,"visibilitychange");this.hidden=a;this.DY=b}C(bu,md);var cu={UT:"initializing",YT:"inProgress",fW:"reviewing",aS:"completed",FR:"authorizating"};x("ispring.quiz.session.QuizState",cu,j);x("INITIALIZING","initializing",cu);x("IN_PROGRESS","inProgress",cu);x("REVIEWING","reviewing",cu);x("COMPLETED","completed",cu);x("AUTHORIZATING","authorizating",cu);function du(a){return"graded"==a.ty?a.quizPassed():eu(a)}function eu(a){a=a.quizState();return"completed"==a||"reviewing"==a};function fu(a,b,c){this.Qa=a;this.qd=b;this.Qv=c}C(fu,ij);fu.prototype.kb=u("qd");fu.prototype.rB=function(){var a=gg(this.qd);return this.Qv||"inProgress"!=a.quizState()};function gu(a,b,c){Bt.call(this,a,b,c);this.qd=b.kb()}C(gu,Bt);w=gu.prototype;w.gp=q;w.kb=u("qd");w.activate=function(a){gu.T.activate.call(this,a);this.qd.setActionAvailability(a.rF);if(!this.gp){this.gp=l;var b=this.Aa,c=b.iy;c&&this.qd.restoreState(c,a.Bk.Lg+b.sy);this.qd.stateChangedEvent().addHandler(this.CM,this,1);this.qd.start()}this.pm&&this.qd.activate()};w.deactivate=function(){gu.T.deactivate.call(this);this.pm&&this.qd.deactivate()};w.jm=function(){this.Ea!=m&&this.gp&&this.qd.activate()}; w.CM=function(a){a.actionPrevented()||(a.preventAction(),this.Px())};var hu={VW:"started",jK:"suspended",PB:"buffering",WW:"stopped",gW:"rewinding"};x("ispring.presenter.player.clock.PresentationClockState",hu,j);x("STARTED","started",hu);x("SUSPENDED","suspended",hu);x("BUFFERING","buffering",hu);x("STOPPED","stopped",hu);x("REWINDING","rewinding",hu);var iu={nV:"playingSlide",oV:"playingTransition",jV:"pausedTransition",iV:"pausedSlide",jK:"suspended",PB:"buffering"};x("ispring.presenter.player.PresentationPlaybackState",iu,j);x("PLAYING_SLIDE","playingSlide",iu);x("PAUSED_SLIDE","pausedSlide",iu);x("SUSPENDED","suspended",iu);x("PLAYING_TRANSITION","playingTransition",iu);x("PAUSED_TRANSITION","pausedTransition",iu);x("BUFFERING","buffering",iu);function ju(a){this.H=a};function Q(a,b,c,d,e,f,h,i){this.P=a;this.S=a.Q();this.Le=c;this.GN=d;this.na=e;this.L=e.W();this.WD=this.L.timestamp();this.Ea=f;this.pe=h;this.bO=i;this.Jf=new N;this.SF=new N;c.fj.addHandler(this.Nx,this);this.L.$a().addHandler(this.Ma,this);this.pe.kv().addHandler(this.WE,this);this.Ky=[];this.$r=new ku;this.Oi="pausedSlide";this.Ff=a.Eu();this.Lh=[];a=this.L.timestamp().N();0<=a&&(this.L.jh()?this.wg(a,l,q,q,q):this.Ma(this.L));this.hx=va();this.qC=new Ut;this.qC.$a().addHandler(this.TL,this); this.qC.start();this.lG=new N;this.Ep=new N;this.jG=new N;this.Gw=new N;this.nD=new N;Me&&(this.Xs=new au,this.Xs.isSupported()&&J(this.Xs,"visibilitychange",this.UM,q,this),J(window,"pagehide",this.QE,q,this))}w=Q.prototype;w.ht=q;w.M=-1;w.Hd=-1;w.So=m;w.xb=q;w.qz=-1;w.play=function(){0>this.M?this.Zc(this.ue()):lu(this)&&!this.L.mb()?this.$h():this.hd.play()};Q.prototype.play=Q.prototype.play; function lu(a){var b=a.L.timestamp(),c=b.ka(),b=b.Na(),d=a.hd.Ca(),c=0<=c?d.nb(c):m;return"suspended"==a.L.state()||c!==m&&b>=c.duration()}Q.prototype.pause=function(){this.hd&&this.hd.pause()};Q.prototype.pause=Q.prototype.pause;Q.prototype.Zc=function(a,b){this.wg(a,b,l,q,l)};Q.prototype.gotoSlide=Q.prototype.Zc;Q.prototype.zj=function(a){if(!this.$r.Rm()){y(a)||(a=l);var b=this.$r.pop();b&&this.wg(b.index(),a,q)}};Q.prototype.gotoLastSlideViewed=Q.prototype.zj; Q.prototype.ue=function(){var a=Qo(this.Ff);return To(a)?a.ua().index():this.Ff.Q()[0]};Q.prototype.firstSlideIndex=Q.prototype.ue;Q.prototype.ig=function(){var a=Qo(this.Ff);a.M=a.wm.length;if(Uo(a))return a.ua().index();a=this.Ff.Q().length;return this.Ff.Q()[a-1]};Q.prototype.lastSlideIndex=Q.prototype.ig;Q.prototype.Vg=function(a){this.wg(this.ue(),a)};Q.prototype.gotoFirstSlide=Q.prototype.Vg;Q.prototype.Wg=function(a){this.wg(this.ig(),a)};Q.prototype.gotoLastSlide=Q.prototype.Wg; Q.prototype.Cc=function(a){a=y(a)?a:l;mu(this,a,l,q)};Q.prototype.gotoNextSlide=Q.prototype.Cc;Q.prototype.Sd=function(a){y(a)||(a=l);0>this.M&&g(Error("current slide is null"));nu(this,a,q)};Q.prototype.gotoPreviousSlide=Q.prototype.Sd; Q.prototype.$h=function(){0>this.M&&g(Error("Slide has not been loaded"));var a=this.L.timestamp(),b=a.ka(),c=a.Na(),a=this.hd,d=a.Ca(),e=0<=b?d.nb(b):m,f=e?e.duration():0,d=b==d.count()-1&&(c>=f||e.Yf());0>b?(ou(this.pe,q),this.Lt&&mu(this,l,q)):d?(Ct(a),mu(this,l,q)):(this.gs=f<=c,b=a.Aa.Ca(),c=a.na.W().timestamp().ka(),c==b.count()-1?Ct(a):(b=c+1,a.play(),a.na.Ec(a.N(),b,0)),pu(this),this.gs=q)};Q.prototype.gotoNextStep=Q.prototype.$h; Q.prototype.Xg=function(a,b,c,d){d==j&&(d=q);(a>this.S.count()||0>a)&&g(Error("slideIndex is out of bounds"));var e=this.S.ta(a);if(0>b)c=b=0;else{var f=e.Ca().count();b>f-1&&(b=f-1)}this.pe.state()!=qu&&ou(this.pe,q);if(a!=this.M){this.Le.kn(a);if(!e.$c()){this.nk=arguments;this.nk.N=a;xp(this.L,l,this.Le);return}this.nk=m;if(0==b&&0==c){this.wg(a,d,l,q,l,q);return}(e=ru(this,a))&&e.Xe.reset(b,1E3*c)}this.na.Ec(a,b,c);d?this.na.start():this.na.stop();pu(this)};Q.prototype.gotoTimestamp=Q.prototype.Xg; function nu(a,b,c){var d=a.Te();0>d||(a.So=q,a.wg(d,b,l,c))}Q.prototype.Te=function(){if(0>this.M)return-1;var a=this.ua(),b=a.Zf().Lq();if(b)return"gotoSlide"==b.type()?b.N():-1;b=0<=this.Hd?su(this).Q()[this.Hd]:-1;if(this.M!=b)return su(this).Q()[0];b=Qo(su(this));if(b.oi(this.Hd)){for(a=a.visible();So(b)&&!b.ua().nv()&&a&&(!a||!b.ua().visible()););return(a=b.ua())?a.index():-1}return-1};Q.prototype.previousSlideIndex=Q.prototype.Te; Q.prototype.$k=function(){var a=ru(this,this.M),b=l,c=this.L.timestamp(),d=c.ka();0>d?(ou(this.pe,q),this.Lt||(nu(this,q,l),b=q)):0this.Va())){var c=b.fc(),d=c?(this.hx-a)/1E3:0,e=this.L.timestamp(),a=e.N(),b=e.ka(),e=e.Na(),e=e+d,d=this.ua();if(c&&0<=b){var c=d.Ca(),d=c.nb(b),f=d.duration();if(e>=f)if(d.Yf()){++b;if(b==c.count()){this.na.Ec(a,b-1,d.duration());mu(this,l,q);return}e=0}else{this.na.Ec(a,b,f);uu(this.na,l);return}}this.na.Ec(a,b,e)}}; Q.prototype.WE=function(){var a=ru(this,this.M);a.vz();!this.ph&&this.Lt?Ct(a):(this.gs=l,this.ph?(a.play(),a.na.Ec(a.N(),0,0)):Dt(a),this.gs=q,this.Lt&&pu(this))};function mu(a,b,c,d,e){d==j&&(d=l);0>a.M&&g(Error("current slide is null"));e=e?vu(a):a.Ad();if(0<=e)0this.M)return-1;var a=this.ua().Zf().Fj();return a?"gotoSlide"==a.type()?a.N():-1:vu(this)};Q.prototype.nextSlideIndex=Q.prototype.Ad; Q.prototype.wg=function(a,b,c,d,e,f,h){a<<=0;(a>=this.S.count()||0>a)&&g(Error("Invalid slide index"));b==j&&(b=l);c==j&&(c=l);d==j&&(d=q);e==j&&(e=l);f==j&&(f=l);h==j&&(h=q);if(a==this.M)this.Xg(a,0,0,b);else if(this.pe.state()!=qu&&ou(this.pe,q),this.Le.kn(a),2!=this.Le.qA(a))this.nk=arguments,this.nk.N=a,xp(this.na,l,this.Le);else{this.nk=m;this.ph=b;var i=(this.Lt=d)?this.M:a;this.Me=this.S.ta(i).transition().oa();this.nD.I(this.Me,this.M,a);this.na.Ec(i,-1,0);i=ru(this,a);if(i instanceof yu)if(h&& zu(i),d&&!b){var k=i.Ca(),n=k.count()-1,k=k.nb(n).duration();i.Xe.reset(n,1E3*k)}else i.Xe.reset(0,0);if(i=f&&0n.M?s.background():n.$i.tg[n.M];n.ys=s.tg[p];n.M=p;p=n;Au(p.vk);Bu(p.ys);Bu(p.vk);r=new Cu(n.mc,n.Tc,r,n.ys,n.vk,n.Ei);p=k;k=r;"RandomTransition"==p&&(r=Du[Math.floor(Math.random()*Du.length)],p=r[Math.floor(Math.random()*r.length)]);k=(r=Eu[p])?r(k):new Fu(k);n.Ai=k;k.Sm()?Gu(n):k.ip.addHandler(n.Rx,n)}else Hu(this.pe, a);Iu(this,a,c);this.na.start(d);f&&((n=this.Me.Lb)?(k=this.Ea.mediaController(),Ss(k,n,k.L.timestamp(),0)):this.Me.AG&&Jk(this.Ea.mediaController()));i||this.WE();e&&pu(this)}};function pu(a){a.gs||a.SF.I()}Q.prototype.fh=function(){var a=this.L.state(),b=this.L.timestamp().ka();return"stopped"==a?0>b?"pausedTransition":"pausedSlide":"suspended"==a?"suspended":"buffering"==a?"buffering":0>b?"playingTransition":"playingSlide"};Q.prototype.playbackState=Q.prototype.fh;w=Q.prototype; w.Ma=function(a){a=a.timestamp();var b=a.N(),c=a.ka(),d=a.Na();if(0>c){var e=d,f=0;if(this.Me&&"null"!=this.Me.Jl){var h=this.pe.Uy*this.Me.duration();isNaN(h)&&(h=0);f=Math.max(0,this.Me.duration()-h);e-=h}this.bO.Lj(0this.M&&g(Error("Current slide is undefined"));return this.S.ta(this.M)};Q.prototype.currentSlide=Q.prototype.ua;w=Q.prototype;w.wd=function(){this.hd||g(Error("Current slide is undefined"));return this.hd}; function Iu(a,b,c){if(a.M!=b){c&&0<=a.M&&a.$r.push(a.S.ta(a.M));a.hd&&(a.hd.ZH(),a.hd.deactivate());var d;d=su(a).Q();var e=-1;a.So===m||(e=a.So?d.indexOf(b,a.Hd):d.lastIndexOf(b,a.Hd));d=0<=e?e:d.indexOf(b);0<=d&&(a.Hd=d);a.So=m;a.M=b;d=a.S.ta(b);d.nv()||Eg(d,l);c&&(c=a.Ea.Bk,c.yh!=b&&(c.yh=b,c.jj=l));a.hd=ru(a,b);a.jG.I(b);Ju(a,d);a.hd&&(c=a.hd,Ft(c,a.xb),c.activate(a.Ea));a.lG.I(b)}}function Ju(a,b){var c=b.index(),d=ru(a,c),d=b.persistState(d),e=a.Ea.Bk;e.gj[c]=d;e.jj=l;e.invalidate()} function ru(a,b){if(!a.S.ta(b).$c())return m;var c=a.Ky,d=c[b];if(!d){a:{var d=a.GN,e=d.S.ta(b),f=d.$i.tg[b],h;if(e instanceof Ck)Bu(f),f.Tq(q),h=new dk(f.Gh),h=new yu(e,h,d.na);else if(e instanceof Fg){if(!f.kb()){d=m;break a}h=new fu(f.Gh,f.kb(),e.Bz());h=new gu(e,h,d.na)}else if(e instanceof dp){if(!f.zd()){d=m;break a}h=new Ku(f.Gh,f.zd());h=new Lu(e,h,d.na)}d=h}c[b]=d;d.stateChangedEvent().addHandler(a.HM,a);d instanceof gu?d.kb().quizPlayerEvent().addHandler(a.BM,a):d instanceof Lu&&d.zd().interactionPlayerEvent().addHandler(a.mM, a)}return d}w.BM=function(a){switch(a){case "gotoPreviousSlide":this.Sd();break;case "skipQuizSlide":this.Cc();break;case "quizFinished":a=this.ua();var b=gg(this.wd().kb()),b=du(b)?a.ey:a.Jw;a:{a=new ju(this);switch(b.type()){case "closePlayerWindow":a.H.Gw.I();break a;case "gotoNextSlide":var c;c=y(c)?c:l;mu(a.H,c,l,q,l);break a;case "gotoSlide":c=b.N();a.H.Zc(c);break a}g(Error("unknown action type"))}}};w.mM=function(a){switch(a){case "gotoNextSlide":this.Cc();break;case "gotoPreviousSlide":this.Sd()}}; w.HM=function(a){Ju(this,a)};w.ng=u("lG");Q.prototype.slideChangeEvent=Q.prototype.ng;Q.prototype.Pj=u("Ep");Q.prototype.stepChangeEvent=Q.prototype.Pj;Q.prototype.qB=u("jG");Q.prototype.qf=u("Jf");Q.prototype.playbackCompleteEvent=Q.prototype.qf;function xu(a){a.ht||(a.ht=l,a.Jf.I())}Q.prototype.Nx=function(a){var b=this.nk;b&&b.N==a.index()&&(this.nk=m,xp(this.na,q,this.Le),b.callee.apply(this,b))};Q.prototype.kb=function(){return 0>this.M||!(this.ua()instanceof Fg)?m:this.wd().kb()}; Q.prototype.quizPlayer=Q.prototype.kb;Q.prototype.zd=function(){return 0>this.M||!(this.ua()instanceof dp)?m:this.wd().zd()};function ku(a){this.S=[];this.Co=a||1}w=ku.prototype;w.S=m;w.Co=0;w.Fk=0;w.Bh=0;w.Wl=q;w.push=function(a){this.Wl||(this.S[this.Bh]=a,this.Bh=(this.Bh+1)%this.Co,this.Fk=Math.min(this.Fk+1,this.Co))};w.pop=function(){if(this.Wl||this.Rm())return m;this.Bh=0>this.Bh-1?this.Co-1:this.Bh-1;this.Fk--;return this.S[this.Bh]}; w.top=function(){return this.Rm()?m:this.S[0>this.Bh-1?this.Co-1:this.Bh-1]};w.Rm=function(){return!this.Fk};w.VI=function(){this.Wl=l};function Mu(a,b,c){this.Ly=a;this.mp=b;this.EN=c}Mu.prototype.mp=m;Q.prototype.nn=u("pe");Q.prototype.slideTransitionController=Q.prototype.nn;Q.prototype.hM=function(a){var b=ru(this,this.M);b&&(b=b.view(),b instanceof dk&&b.Kk.I(a,new ck,l))};Q.prototype.UM=function(){this.Xs.Km.xd[this.Xs.tu()]&&this.QE()};Q.prototype.QE=function(){this.L.jh()&&this.pause()};function Nu(a){this.Vv=new Ou(6);this.Vs={};a.qG.addHandler(this.Ox,this)}C(Nu,Ot);Nu.prototype.activate=function(){this.Vv.activate()};Nu.prototype.Ox=function(a,b){if(b){var c=pa(a)+"",d=a.G,e;e=this.Vv;var f=d.src(),h=Pu(e,f);!h&&0a||1e||e>=b.count()?m:b.Qh[e];f&&(f=a.G(f),c(f))}};function dv(a,b,c,d){this.H=a;this.L=a.W();this.la=b;this.Oh=c;this.jL=d;this.Mt=[];b.Xw.addHandler(this.LM,this);d.ND.addHandler(this.Ls,this);d.MD.addHandler(this.Ks,this);this.L.Cb().addHandler(this.Mi,this,-1)}w=dv.prototype;w.LM=function(a){D.contains(this.Mt,a)||(this.Mt.push(a),a.Cb().addHandler(this.XE,this),ev(this))};w.XE=function(a){a.playing()||(a.Cb().removeHandler(this.XE,this),D.remove(this.Mt,a))};w.Ls=function(){ev(this)}; w.Ks=function(){if(this.L.jh())for(var a=this.Oh,b=a.ti,c=0;ci||i>=h.count())&&g(Error("actionIndex is out of range"));h=h.hb[i];for(var i=h.mn(),k=0;kc.Va())){var d=c.W(),e=a.S;0>a.Cp&&(a.Cp=va(),a.zk=d.fc(),c.pause());var f=(1+(va()-a.Cp)/1E3)*(b?1:-1),d=d.timestamp(),h=e.lf(d,q,l),f=Sb(h+f,0,e.Uj()),e=e.$f(f,q,l);e.N()>d.N()?1==c.wd().lJ()?c.Cc(q):Ct(c.wd()):e.N()e&&(e=0);c.Hd=e;c.wg(d.Q()[e],l,l,q,l,l,b)}}};jv.prototype.startSlideshow=jv.prototype.YQ; jv.prototype.eP=function(){this.Db&&(kv(this),tu(this.H))};jv.prototype.endSlideshow=jv.prototype.eP;jv.prototype.qQ=function(a){this.Db&&(kv(this),0<=this.H.Va()&&(a=yg(this.H.ua().Rb(),a))&&Hk(this.la,a,0))};jv.prototype.playHyperlinkSound=jv.prototype.qQ;jv.prototype.aR=function(){this.Db&&(kv(this),Jk(this.la))};jv.prototype.stopHyperlinkSound=jv.prototype.aR;jv.prototype.wQ=function(a){a&&a.ll&&this.Kk.I(a.ll)};jv.prototype.processTriggerEffect=jv.prototype.wQ;function kv(a){a.Ow.I()} function lv(a,b){var c=new iv;a.Hw.I(b,c);return c.IC};function mv(a,b,c,d,e,f,h,i,k){this.Pw=a;this.pN=b;this.la=c;this.md=d;this.rd=e;this.Ot=f;this.WX=h;this.rF=i;this.Bk=k}mv.prototype.Nq=u("pN");mv.prototype.mediaController=u("la");mv.prototype.soundController=u("rd");var nv={NT:"gotoPreviousPresentationSlide",MT:"gotoNextPresentationSlide"};x("ispring.interaction.common.player.InteractionPlayerControllerActionType",nv,j);x("GOTO_PREVIOUS_PRESENTATION_SLIDE","gotoPreviousPresentationSlide",nv);x("GOTO_NEXT_PRESENTATION_SLIDE","gotoNextPresentationSlide",nv);function ov(a,b,c,d){this.vg=b;this.H=c;this.md=d;this.Rt=pv(a);this.Hy=[];this.oF={};this.mG={};this.gb=hc("div");this.vg.displayObject().appendChild(this.gb);c.W().$a().addHandler(this.Ma,this);b.Md.addHandler(this.xM,this)}w=ov.prototype;w.M=-1;w.xb=q;w.activate=function(){this.xb=l;var a=this.H.W().timestamp();0<=a.N()&&0<=a.ka()&&this.Fg(a.N())};function pv(a){return new lt(a,function(a){a=a.rb();for(var c=[],d=0;d=Math.abs(a.y-b.y)};tv.prototype.$G=function(a,b){var c=b.x-a.x;return 40=Math.abs(a.y-b.y)};function uv(){this.sp=new N}C(uv,sv);uv.prototype.Mm=ca("scrollRight");uv.prototype.bH=function(a,b){return a.x>=b.x};uv.prototype.aH=function(a,b){return a.x-b.x>=Math.abs(a.y-b.y)}; uv.prototype.$G=function(a,b){var c=a.x-b.x;return 40=Math.abs(a.y-b.y)};function vv(a,b){this.Cr=a;this.Kn=new Kc(b-a.width(),0,a.width(),a.height());var c=hc("div");c.innerHTML=a.content();F(c,"cursor","pointer");a.url()&&J(c,"click",this.UL,q,this);this.Nr=c}vv.prototype.jf=u("Kn");vv.prototype.displayObject=u("Nr");vv.prototype.UL=function(a){a.stopPropagation();a=this.Cr.url();fe(a)};function wv(a,b){for(var c=a.content(),d=RegExp('',"gi"),e=[],f=d.exec(c);f;)e.push(f[1]),f=d.exec(c);for(d=0;de&&a.Cl.push(c):0<=e&&a.Cl.splice(e,1);yv(a);a.mb()!=d&&a.$v.I(a);a.ew.I(a)} function up(a,b,c){var d=a.mb(),e=a.ym.indexOf(c);b?0>e&&a.ym.push(c):0<=e&&a.ym.splice(e,1);yv(a);a.mb()!=d&&a.$v.I(a);a.ew.I(a)}xv.prototype.$a=u("oj");xv.prototype.tickEvent=xv.prototype.$a;xv.prototype.pi=u("tG");xv.prototype.startEvent=xv.prototype.pi;xv.prototype.wB=u("zG");xv.prototype.stopEvent=xv.prototype.wB;xv.prototype.Cb=u("ij");xv.prototype.stateChangeEvent=xv.prototype.Cb;xv.prototype.Fz=u("$v");xv.prototype.bufferStateChangeEvent=xv.prototype.Fz;xv.prototype.Gz=u("ew"); xv.prototype.bufferedObjectChangeEvent=xv.prototype.Gz;function yv(a){var b="stopped";a.Kh&&(b=a.lj?"suspended":a.mb()?"buffering":a.ot?"rewinding":"started");a.Uc!=b&&(a.Uc=b,a.ij.I(a))}xv.prototype.Tb=function(a){return 1a.Bf?b.Hn:b.S[a.Bf]).Gh)}w.Tq=function(a){hd(this.Ia(),a)};w.width=u("Ha");w.height=u("Fa");w.Ia=u("Aa");function Bu(a){a.Om();a.Aa=hc("DIV");F(a.Aa,"position","absolute");a.st=hc("DIV");F(a.st,"position","absolute");a.Aa.appendChild(a.st);a.st.appendChild(a.Zi);a.ut=hc("DIV");F(a.ut,"position","absolute");a.Aa.appendChild(a.ut);a.ut.appendChild(a.lc);a.Gh.appendChild(a.Aa)}w.Om=function(){this.Aa&&(mc(this.Aa),this.Aa=m)};w.content=u("ut"); w.background=u("st");w.Nx=function(a){var b=a.Zi;this.lc=a.lc;this.Zi=b};w.resize=function(a,b){if(this.Ha!=a||this.Fa!=b)this.Ha=a,this.Fa=b,this.qm(a,b)};w.qm=function(a,b){var c=Math.min(a/this.gF,b/this.fF,this.Bo);this.lc&&Av(this,this.lc,c);this.Zi&&Av(this,this.Zi,c)};function Av(a,b,c){Nj(b,c);Tc(b,(a.Ha-a.gF*c)/2,(a.Fa-a.fF*c)/2)};function Bv(a,b,c,d,e,f){this.oh=f;zv.call(this,a,b,c,d,e,f)}C(Bv,zv);Bv.prototype.kb=function(){return this.oh.kb()};Bv.prototype.Tq=function(a){this.Ia().style.opacity=a?1:0};function Lu(a,b,c){Bt.call(this,a,b,c);this.Ge=b.zd()}C(Lu,Bt);w=Lu.prototype;w.Ww=q;w.zd=u("Ge");w.activate=function(a){Lu.T.activate.call(this,a);this.Ge.setActionAvailability(a.rF);this.Ww||(this.Ww=l,this.Ge.start());this.pm&&this.Ge.activate()};w.deactivate=function(){Lu.T.deactivate.call(this);this.pm&&this.Ge.deactivate()};w.jm=function(){this.Ea!=m&&this.Ww&&this.Ge.activate()};function Cv(a,b,c,d,e,f){this.oh=f;zv.call(this,a,b,c,d,e,f)}C(Cv,zv);Cv.prototype.zd=function(){return this.oh.zd()};Cv.prototype.Tq=function(a){this.Ia().style.opacity=a?1:0};function Dv(a,b){this.Aa=a;this.Xe=b;this.ux={}}w=Dv.prototype;w.Do=m;w.Uo=m;w.activate=function(a){this.Do=[];this.Uo={};Ev(this,this.Aa.Rb(),A(a.pA,a));Ev(this,this.Aa.rb(),A(a.Se,a))};function Ev(a,b,c){for(var d=0;da)){for(var e=c.Og(),c=[],f=e.count(),h=0;h=d&&k<=a&&c.push(i)}for(d=0;dthis.Dt&&(Nv(this),this.Dt=this.Xl);Ov(this,Sb(this.Dt*a,1,4))};w.RM=function(){this.Dt=-1};w.QM=function(a,b){var c=new Tb(a,b);this.Xn.push({offset:c,time:va()});this.Pe(Vb(this.Hg,c))};w.PM=function(){Nv(this);this.Xn=[];this.Hg=this.Yb.oa()}; w.OM=function(){var a=this.Xn.length;if(2<=a){var b=this.Xn[a-2],c=this.Xn[a-1],d=c.time-b.time;0=c.Na()}return q}function Zv(a,b,c,d){return(b=a.Wk(b,c,d,m))?(a.vE.I(b),q):l}R.prototype.play=function(){Zv(this,"playPauseControl",this.H.Va(),m)&&this.H.play()};R.prototype.play=R.prototype.play;R.prototype.pause=function(){Zv(this,"playPauseControl",this.H.Va(),m)&&this.H.pause()};R.prototype.pause=R.prototype.pause; R.prototype.Zc=function(a,b){Zv(this,"arbitrarySlideSwitching",a,m)&&this.H.Zc(a,b)};R.prototype.gotoSlide=R.prototype.Zc;R.prototype.zj=function(a){var b;b=(b=this.H.$r.top())?b.index():-1;-1!=b&&Zv(this,"arbitrarySlideSwitching",b,m)&&this.H.zj(a)};R.prototype.gotoLastSlideViewed=R.prototype.zj;R.prototype.Vg=function(a){Zv(this,"arbitrarySlideSwitching",this.H.ue(),m)&&this.H.Vg(a)};R.prototype.gotoFirstSlide=R.prototype.Vg; R.prototype.Wg=function(a){Zv(this,"arbitrarySlideSwitching",this.H.ig(),m)&&this.H.Wg(a)};R.prototype.gotoLastSlide=R.prototype.Wg;R.prototype.Cc=function(a){Zv(this,"switchToNextSlide",this.H.Ad(),m)&&this.H.Cc(a)};R.prototype.gotoNextSlide=R.prototype.Cc;R.prototype.Sd=function(a){Zv(this,"switchToPreviousSlide",this.H.Te(),m)&&this.H.Sd(a)};R.prototype.gotoPreviousSlide=R.prototype.Sd;R.prototype.$h=function(){Zv(this,"switchToNextStep",this.H.Va(),m)&&this.H.$h()};R.prototype.gotoNextStep=R.prototype.$h; R.prototype.$k=function(){Zv(this,"switchToPreviousStep",this.H.Va(),m)&&this.H.$k()};R.prototype.gotoPreviousStep=R.prototype.$k;R.prototype.Xg=function(a,b,c,d){Zv(this,a==this.H.Va()?"slideSeeking":"presentationSeeking",a,new vf(a,b,c))&&this.H.Xg(a,b,c,d)};R.prototype.gotoTimestamp=R.prototype.Xg;R.prototype.ue=function(){return this.H.ue()};R.prototype.firstSlideIndex=R.prototype.ue;R.prototype.ig=function(){return this.H.ig()};R.prototype.lastSlideIndex=R.prototype.ig;R.prototype.Ad=function(){return this.H.Ad()}; R.prototype.nextSlideIndex=R.prototype.Ad;R.prototype.Te=function(){return this.H.Te()};R.prototype.previousSlideIndex=R.prototype.Te;R.prototype.Va=function(){return this.H.Va()};R.prototype.currentSlideIndex=R.prototype.Va;R.prototype.ua=function(){return this.H.ua()};R.prototype.currentSlide=R.prototype.ua;R.prototype.fh=function(){return this.H.fh()};R.prototype.playbackState=R.prototype.fh;R.prototype.W=function(){return this.H.W()};R.prototype.clock=R.prototype.W;R.prototype.ng=function(){return this.H.ng()}; R.prototype.slideChangeEvent=R.prototype.ng;R.prototype.Pj=function(){return this.H.Pj()};R.prototype.stepChangeEvent=R.prototype.Pj;R.prototype.qB=function(){return this.H.qB()};R.prototype.qf=function(){return this.H.qf()};R.prototype.playbackCompleteEvent=R.prototype.qf;R.prototype.Iu=u("vE");R.prototype.navigationRestrictedEvent=R.prototype.Iu;R.prototype.TA=function(){return this.H.TA()};R.prototype.wd=function(){return this.H.wd()};R.prototype.kb=function(){return this.H.kb()}; R.prototype.quizPlayer=R.prototype.kb;R.prototype.nn=function(){return this.H.nn()};R.prototype.slideTransitionController=R.prototype.nn;function $v(){}w=$v.prototype;w.Hp=m;w.Ip=m;w.start=function(a,b){var c=Array(9).join(b[0]);this.Hp=new aw(a,"arial,'URW Gothic L',sans-serif",c);this.Ip=new aw(a,"Georgia,'Century Schoolbook L',serif",c)};w.finish=function(){this.Hp.te();this.Hp=m;this.Ip.te();this.Ip=m};w.QH=function(){return ed(this.Hp.Ih).width!=this.Hp.eF||ed(this.Ip.Ih).width!=this.Ip.eF}; function aw(a,b,c){a=String(a);if(a.quote)a=a.quote();else{for(var d=['"'],e=0;eh))if(f in Ka)f=Ka[f];else if(f in Ja)f=Ka[f]=Ja[f];else{h=f;n=f.charCodeAt(0);if(31n)h=f;else{if(256>n){if(h="\\x",16>n||256n&&(h+="0");h+=n.toString(16).toUpperCase()}f=Ka[f]=h}n=f}i[k]=n}d.push('"');a=d.join("")}this.Ih=hc("span");this.Ih.innerHTML=c;F(this.Ih,{position:"absolute",top:"-999px", left:"-999px",fontSize:"100px",fontFamily:b});G(this.Ih,0);document.body.appendChild(this.Ih);this.eF=ed(this.Ih).width;F(this.Ih,"fontFamily",a+","+b)}aw.prototype.te=function(){mc(this.Ih)};function bw(){var a=hc("canvas");a.width=10;a.height=15;this.gd=a.getContext("2d")}bw.prototype.eD="";bw.prototype.start=function(a,b){this.gd.font="10px "+a;this.gd.textBaseline="top";var c=b,d=RegExp(La(" "),"g");b=c.replace(d,"");this.eD=b[0]};bw.prototype.finish=t();bw.prototype.QH=function(){var a=this.gd,b=a.canvas.width,c=a.canvas.height;a.clearRect(0,0,b,c);a.fillText(this.eD,0,0);a=a.getImageData(0,0,b,c).data;for(b=0;be&&(a=l,b=q);a&&(clearInterval(i),f.finish(),b?c():d())},50)}}function kw(a,b){ia(b)||(b=[b]);for(var c=[],d=0;dthis.Tc?(this.ox=Math.min(this.mc,1024),this.qk=this.ox/this.mc,this.nx=this.Tc*this.qk):(this.nx=Math.min(this.Tc,1024),this.qk=this.nx/this.Tc,this.ox=this.mc*this.qk);this.Fy=dc("DIV");Nj(this.Fy,1/this.qk,1/this.qk);this.Wc=Me}w=S.prototype;w.start=function(){this.Ei.appendChild(this.Fy);this.fa();this.Lj(0)}; w.terminate=function(){this.Lj(1);this.bI();lc(this.Ei)};w.Lj=function(a){this.Sm()&&this.ia(this.U()?1-a:a)};w.Sm=u("so");w.U=u("ex");w.fa=t();w.bI=t();w.ia=t();w.Ja=function(){return this.U()?this.Hf:this.Gf};w.Qb=function(){return this.U()?this.Gf:this.Hf};function Xw(a,b){a.Qb()!=m&&a.Qb().Tq(b)}function T(a,b){a.Ja().Tq(b)} w.ma=function(a,b,c,d,e,f){function h(){if(!--i){var a=s,b=v,c=z,d=B,e=I;this.Ba=r;this.ga=a;this.Ji=b;this.xs=d;this.Li=c;this.Fs=e;l!=this.so&&(this.so=l,this.ip.I(l))}}q!=this.so&&(this.so=q,this.ip.I(q));for(var i=0,k=0;ka?(b=V(0,0,0.5,-90),this.Vn=b(a),b=V(0,0,0.5,-45),this.hk=b(a),b=V(0,0,0.5,40),b=this.K==ax?"translateX("+-c+"px) translateZ("+this.Vn+"px) rotateY("+this.hk+"deg) rotateX("+b(a)+"deg) translateX("+c+"px)":"translateX("+c+"px) translateZ("+this.Vn+"px) rotateY("+-this.hk+"deg) rotateX("+b(a)+"deg) translateX("+-c+"px)"):0.85>a?(b=V(0.5,-90,0.85,0),this.Vn=b(a),b=V(0.5,-45,0.85,0),this.hk=b(a),b=V(0.5,40,0.85,90),b= this.K==ax?"translateX("+-c+"px) translateZ("+this.Vn+"px) rotateY("+this.hk+"deg) rotateX("+b(a)+"deg) translateX("+c+"px)":"translateX("+c+"px) translateZ("+this.Vn+"px) rotateY("+-this.hk+"deg) rotateX("+b(a)+"deg) translateX("+-c+"px)"):(this.U()&&(this.hk=0),b=V(0.85,90,1,180),b="translateX("+-c+"px) rotateY("+this.hk+"deg) rotateX("+b(a)+"deg) translateX("+c+"px)");ye(this.Ml,b)}else 0.5>a?(b=V(0,1,0.5,0),b="scaleY("+b(a)+")",G(this.pd,1),G(this.nd,0),ye(this.pd,b)):(b=V(0.5,0,1,1),b="scaleY("+ b(a)+")",G(this.nd,1),G(this.pd,0),ye(this.nd,b))}; Zw.prototype.xh=function(){this.pd=this.ga;this.nd=this.Ba;var a=document.createElement("DIV");this.Ml=document.createElement("DIV");var b=this.D(),c=this.C();try{Be(a,b+"px"),Ce(a,b/2+"px "+c/2+"px"),Ae(this.Ml),this.Ml.appendChild(this.pd),this.Ml.appendChild(this.nd),a.appendChild(this.Ml),this.Z().appendChild(a)}catch(d){this.Z().appendChild(this.pd),this.Z().appendChild(this.nd)}F(this.pd,"position","absolute");F(this.nd,"position","absolute");bd(this.Ml,b,c);bd(this.pd,b,c);bd(this.nd,b,c); this.nc&&(ye(this.pd,"translateZ(10px)"),ye(this.nd,"rotateX(180deg)"))};var ax=1;function bx(a,b){S.call(this,a);this.mC=b;this.ma(q,l);this.In=[];var c=this.D();switch(this.mC){case cx:c=this.C();break;case dx:c=this.D()}var d=ex;this.yl=Math.floor(c/7);for(var c=[],e=0;eb.Yu?1:0});for(e=0;e=this.In[c].oe+0.2?b.addColorStop(h, f):d>=this.In[c].oe?b.addColorStop(h,"rgba(255,255,255,"+i+")"):b.addColorStop(h,a)}e.fillStyle=b;e.beginPath();e.rect(0,0,this.D(),this.C());e.fill();e.restore()};var cx=0,dx=1;function ex(a,b){this.Pi=a;this.oe=b};function V(a,b,c,d){return function(e){return b+(d-b)/(c-a)*(e-a)}}function $w(a,b,c){if(c=b)return 1;a=(c-a)/(b-a);return-2*Math.pow(a,3)+3*Math.pow(a,2)}function fx(a,b,c,d){if(dd?(h=1-d/0.2,i=0):1<=d&&(e=1-(d-1)/0.2,f=1);c.addColorStop(i,"rgba(0,0,0,"+Qj(h)+")");c.addColorStop(f,"rgba(0,0,0,"+Qj(e)+")");b.fillStyle=c;b.fillRect(0,0,this.D(),this.C());b.restore();b=0.8-0.2;c=this.Ex;e=0;for(d=[1];;){f=2*a-0.03125*e;if(0>=f)break;else 1>f&&d.push(f); ++e}d.push(0);e=this.Em;f=this.Fm;e=c.createRadialGradient(e,f,0,e,f,this.nH);for(f=d.length-1;0<=f;--f){var h=d[f],i=a,i=2*i,i=$w(i-0.2-b-0.2,i-0.2-b,h),k=a,k=2*k,i=0.3*(0.5*Math.cos(8*Math.PI*(h-2*a))+0.5)*(1-$w(k-0.2,k,h))*i,i=i*(1-0.5*h),i="rgba(0,0,0,alpha)".replace("alpha",Qj(i).toString());e.addColorStop(h,i)}c.fillStyle=e;c.fillRect(0,0,this.D(),this.C())};var hx={tv:0,Gv:1,yv:2,xv:3,Fv:4};function ix(a,b){S.call(this,a);this.K=b;this.ma(l,l)}C(ix,S);ix.prototype.fa=function(){var a=this.D(),b=this.C();T(this,q);Xw(this,q);this.Qo=1.25*Math.max(a,b);this.Dk=hc("DIV");this.Z().appendChild(this.Dk);try{this.Sw(),this.nc=l}catch(c){this.nc=q}this.lk=ke();le(this.lk,0.5*a,0.5*b,this.Qo);this.Tw(this.K==jx)}; ix.prototype.Tw=function(a){function b(a,b){var c=b&1;return c*(a-1)+(1-2*c)*(b>>1)}var c=kx,d=this.ga,e=this.Ba,f=this.D(),h=this.C(),f=Math.floor(f/7),h=Math.floor(h/5),i=d.width-6*f,k=d.height-4*h;this.rh=[];for(var n=0;5>n;++n)for(var p=b(5,n),r=p*h,s=4==p?k:h+1,v=0;7>v;++v){var z=b(7,v),B=new c(d,e,z*f,r,6==z?i:f+1,s,a,this.lk,this.nc);this.Dk.appendChild(B.Bi);this.rh[7*p+z]=B}lx(this)}; ix.prototype.Sw=function(){var a=this.D(),b=this.C();bd(this.Dk,a,b);var c=(0.5*a).toString()+"px "+(0.5*b).toString()+"px";Be(this.Dk,this.Qo.toString()+"px");Ce(this.Dk,c);wb&&(c=hc("DIV"),this.Dk.appendChild(c),bd(c,a,b),F(c,"position","absolute"),Ae(c),this.Dk=c)}; function lx(a){for(var b=0.7-0.15,c=a.K==jx?b/4:0,d=a.K==mx?b/6:0,b=0,e=1,f=0;5>f;++f)for(var h=0;7>h;++h){var i=f*c+h*d+0.15*Math.random(),b=Math.max(i,b),e=Math.min(i,e);a.rh[h+7*f].Dz=i}c=e;b=0.7/(b-c);for(d=0;5>d;++d)for(e=0;7>e;++e)f=a.rh[e+7*d],f.Dz=(f.Dz-c)*b}ix.prototype.ia=function(a){for(var b=this.rh.length,c=0;ce:1=c&&ox(a,l);ye(a.Bi,(a.jo?"rotateX(-":"rotateY(")+b.toString()+"deg)")}else a.ms?90<=b&&ox(a,q):90>=b&&ox(a,l),ye(a.Bi,(a.jo?"scaleY(":"scaleX(")+Math.cos(a.Er*Math.PI/180).toString()+")");G(a.qt,0.5*Math.sin(a.Er*Math.PI/180))}} function ox(a,b){var c=b?a.vD:a.Ar,d=b?a.Ar:a.vD;a.ms=b;F(c,"visibility","visible");F(d,"visibility","hidden")};function px(a){S.call(this,a);this.Wc=q;this.ma(q,l);this.Dx=0;a=this.D();var b=this.C(),c=qx!=a||rx!=b;if(!sx||c)sx=[],qx=a,rx=b,tx(a,b)}var sx,qx,rx;C(px,S);px.prototype.fa=function(){Xw(this,q);T(this,l);var a=this.ga;this.Z().appendChild(a);this.Eo=U(this.D(),this.C());this.Eo.getContext("2d").drawImage(a,0,0)}; function tx(a,b){for(var c=sx,d=ux,e=a/54,f=b/42,h=0,i=0,k=0;54>k;++k){for(var i=0,n=Math.round((k+1)*e)-h,p=h,r=0;42>r;++r){var s=Math.round((r+1)*f)-i,v=new d(p,i,n,s);v.Nj=Math.random();c.push(v);i+=s}h+=n}c.sort(function(a,b){return a.Njb.Nj?1:0});d=c.length;for(k=0;kh;++h)for(var i=c;i>1;a|=a>>2;a|=a>>4;a|=a>>8;return(a|a>>16)+1};function Px(a){S.call(this,a)}var Qx,Rx;C(Px,S);function Sx(a,b){a.ok();a.lo(b);var c=a.J;a.ra=mat4.create();a.iF=mat4.create();c.viewport(0,0,c.TJ,c.SJ);c.clear(c.COLOR_BUFFER_BIT|c.DEPTH_BUFFER_BIT);var d=0.5*a.C()/Math.tan(22.5*Math.PI/180);mat4.perspective(45,c.TJ/c.SJ,1,1E4,a.iF);mat4.identity(a.ra);mat4.translate(a.ra,[0,0,-d])}w=Px.prototype; w.ok=function(){this.Xi=l;y(Qx)||(Qx=U(this.D()+3,this.C()+3),F(Qx,"left","-1px"),F(Qx,"top","-1px"));y(Rx)||(Rx=Qx.getContext("webgl")||Qx.getContext("experimental-webgl"));this.Z().appendChild(Qx);try{Rx.TJ=Qx.width,Rx.SJ=Qx.height,Rx.enable(Rx.DEPTH_TEST)}catch(a){}var b=this.J=Rx;this.Mw=Tx(this,b.FRAGMENT_SHADER,this.ie());this.nz=Tx(this,b.VERTEX_SHADER,this.je());this.Mw!==m&&this.nz!==m&&(this.Wi=b.createProgram(),b.attachShader(this.Wi,this.nz),b.attachShader(this.Wi,this.Mw),b.linkProgram(this.Wi), b.getProgramParameter(this.Wi,b.LINK_STATUS)?(b.useProgram(this.Wi),this.le()):this.Xi=q)};w.bI=function(){this.J&&(this.ge(),Ux(this,this.mz),Ux(this,this.Xy),Ux(this,this.uF),Ux(this,this.tE),this.he(),this.J.deleteTexture(this.wp),this.J.deleteShader(this.Mw),this.J.deleteShader(this.nz),this.J.deleteProgram(this.Wi))};w.he=function(){alert("override _disableAttributes")};w.ge=t(); function Vx(a,b){a.J.bindBuffer(a.J.ARRAY_BUFFER,m);a.J.deleteBuffer(b.wc);a.J.deleteBuffer(b.uc);a.J.deleteBuffer(b.xc);a.J.deleteBuffer(b.Cg)}w.lo=function(a){this.wp=Wx(this,this.J.TEXTURE0,this.Ze(),0,a)}; function Wx(a,b,c,d,e,f){var h=a.J,i=a.D(),k=a.C(),i=Ox(i),k=Ox(k);a=a.J.getParameter(a.J.MAX_TEXTURE_SIZE);if(Math.max(i,k)>a){var n=i/k;i>k?(i=a,k=i/n):(k=a,i=k*n)}a=new Nb(i,k);i=a.width;k=a.height;a=U(i,k);n=a.getContext("2d");y(f)?f(n,e,i,k):n.drawImage(e,0,0,i,k);e=h.createTexture();h.activeTexture(b);h.bindTexture(h.TEXTURE_2D,e);h.texImage2D(h.TEXTURE_2D,0,h.RGBA,h.RGBA,h.UNSIGNED_BYTE,a);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MAG_FILTER,h.LINEAR);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MIN_FILTER, h.LINEAR_MIPMAP_LINEAR);h.generateMipmap(h.TEXTURE_2D);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_S,h.CLAMP_TO_EDGE);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_T,h.CLAMP_TO_EDGE);h.bindTexture(h.TEXTURE_2D,m);h.activeTexture(b);h.bindTexture(h.TEXTURE_2D,e);h.uniform1i(c,d);return e}w.ie=function(){alert("Please override _getFragmentShaderSource");return""};w.je=function(){alert("Please override _getVertexShaderSource");return""};w.le=t(); function Tx(a,b,c){var d=a.J;b=d.createShader(b);d.shaderSource(b,c);d.compileShader(b);return!d.getShaderParameter(b,d.COMPILE_STATUS)?(a.Xi=q,m):b}function Xx(a,b,c){a=a.J;var d=b.length/c,e=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,e);a.bufferData(a.ARRAY_BUFFER,new Float32Array(b),a.DYNAMIC_DRAW);e.Tm=c;e.cJ=d;return e} function Yx(a,b){var c=a.J,d=b.length/1,e=c.createBuffer();c.bindBuffer(c.ELEMENT_ARRAY_BUFFER,e);c.bufferData(c.ELEMENT_ARRAY_BUFFER,new Uint16Array(b),c.DYNAMIC_DRAW);e.Tm=1;e.cJ=d;return e}function Zx(a){0==a.xx.length&&g("Invalid popMatrix!");a.ra=a.xx.pop()}function $x(a){var b=mat4.create();mat4.set(a.ra,b);a.xx.push(b)}function ay(a,b,c,d){mat4.translate(a.ra,[-d[0],-d[1],-d[2]]);mat4.rotate(a.ra,b*Math.PI/180,c);mat4.translate(a.ra,d)} function by(a,b,c,d,e){var f=a.J;f.bindBuffer(f.ARRAY_BUFFER,b.wc);y(d)&&d();f.vertexAttribPointer(a.mz,b.wc.Tm,f.FLOAT,q,0,0);b.Cg!=m&&(f.bindBuffer(f.ARRAY_BUFFER,b.Cg),y(e)&&e(),f.vertexAttribPointer(a.io(),b.Cg.Tm,f.FLOAT,q,0,0));f.bindBuffer(f.ARRAY_BUFFER,b.xc);f.vertexAttribPointer(a.Xy,b.xc.Tm,f.FLOAT,q,0,0);a.Xv();f.bindBuffer(f.ELEMENT_ARRAY_BUFFER,b.uc);y(c)||(c=f.TRIANGLES);f.drawElements(c,b.uc.cJ,f.UNSIGNED_SHORT,0)} w.io=function(){alert("override _getVertexNormalAttributeLocation");return-1};w.Ze=function(){alert("override _getSamplerUniform");return m};w.Xv=t();function cy(a){a.mz=dy(a,"aVertexPosition");a.Xy=dy(a,"aTextureCoord");a.uF=ey(a,"uPMVMatrix");a.tE=ey(a,"uNMatrix")}function fy(a,b){for(var c=0,d=0;d=M.PA,W=v,ja=z,ob=B,jb=I,Wa=Jy,Wa=this.K==Wa.Wj||this.K==Wa.si,Nc=this.U(),fd=this.D(),Xa=this.C(),Da=this.Br.getContext("2d"),Gj=ty,zb=uy,jc=vy,Aq=this.ga, Xl=this.Ba;Z&&(Z=Gj[ba],ba=(Wa?zb:jc)[ba],zb=fa.iA.getContext("2d"),jc=fa.Ez.getContext("2d"),fd-=W+ob,Xa-=ja+jb,zb.drawImage(Z,W,ja,ob,jb,0,0,ob,jb),jc.drawImage(ba,fd,Xa,ob,jb,0,0,ob,jb),zb.save(),zb.globalCompositeOperation="source-out",zb.drawImage(Aq,W,ja,ob,jb,0,0,ob,jb),zb.restore(),jc.save(),jc.globalCompositeOperation="source-out",jc.drawImage(Xl,fd,Xa,ob,jb,0,0,ob,jb),jc.restore(),Da.clearRect(Nc&&Wa?fd:W,Nc&&!Wa?Xa:ja,ob,jb),fa.OI=l)}M.IB(a,h,i,r.RO)}}}; function Ky(a,b,c){this.XM=a;this.RI=[];this.uN=b;this.ps=c}Ky.prototype.IB=function(a){var b=this.ps;a=(a-this.uN)/Hy;a=Math.min(Math.max(a,0),1);a=Math.PI*a*(b?1:-1);ye(this.XM,(b?"rotateY":"rotateX")+"("+a+"rad)");this.RO=a}; function Iy(a,b,c,d,e,f,h,i,k,n,p,r){this.iA=b;this.Ez=c;ye(c,(p?"rotateY":"rotateX")+"(180deg)");this.Fk=f;this.jc=a;this.Rf=d;this.Sf=e;this.lk=n;this.PA=h;this.hF=h+(i-h)/2;this.WM=0.8+this.PA-0.2;this.gJ=0.8+this.hF-0.2;this.TK=0>k?-1:1;this.FL=Math.abs(k);this.RL=r;this.ps=p;this.OI=q;Ly(this,l)} Iy.prototype.IB=function(a,b,c,d){var e=this.jc,f=this.FL,h=this.Fk,i=My(a,this.PA,this.WM,f),k=My(a,this.hF,this.gJ,f),n=i-k;a=this.ps;var p=this.RL,f=this.TK,r=p?-f:f,s=i>k;a&&(r=p?f:-f);i=p?Math.max(i,k):Math.min(i,k);h=Math.atan2(n,h)*r;s?ze(e,"0% 0%"):ze(e,"100% 100%");i*=f;ye(e,"translateZ("+i+"px)"+((a?"rotateY":"rotateX")+"("+h+"rad)"));f=i;e=this.Rf;i=this.Sf;s=this.Fk;n=this.ps;a=Array(16);a[0]=0;a[1]=0;a[2]=0;a[3]=0;a[4]=0;a[5]=0;a[6]=0;a[7]=0;a[8]=0;a[9]=0;a[10]=0;a[11]=0;a[12]=0;a[13]= 0;a[14]=0;a[15]=0;a[0]=1;a[1]=0;a[2]=0;a[3]=0;a[4]=0;a[5]=1;a[6]=0;a[7]=0;a[8]=0;a[9]=0;a[10]=1;a[11]=0;a[12]=0;a[13]=0;a[14]=0;a[15]=1;n?(b-=(e-s)/2,ue(a,b,0,0),we(a,d),ue(a,-b,0,0),ue(a,0,0,f),we(a,h)):(b=c-(i-s)/2,ue(a,0,b,0),ve(a,d),ue(a,0,-b,0),ue(a,0,0,f),ve(a,h));b=qe();re(b,e,i,0,1);te(a,b,b);d=qe();re(d,b[0],b[1],b[2],0);se(d,this.lk,d);b=qe();re(b,e,i,1,0);c=qe();re(c,e,i,0,0);se(b,c,b);te(a,b,b);d=oe(b,d);this.ms?0<=d&&Ly(this,q):0>=d&&Ly(this,l)}; function Ly(a,b){var c=b?a.iA:a.Ez,d=b?a.Ez:a.iA;a.ms=b;F(c,"visibility","visible");F(d,"visibility","hidden")}function My(a,b,c,d){return a>=b&&a<=b+0.2?d*(a-b)/0.2:a>=c?Math.max(d-d*(a-c)/0.2,0):a>=b?d:0}var Jy={Wj:0,Kv:1,si:2,vr:3};function Ny(a,b){S.call(this,a);this.K=b;this.ma(l,l)}C(Ny,Px);w=Ny.prototype;w.fa=function(){Xw(this,q);T(this,q);Sx(this,this.ga);this.zb();mat4.translate(this.ra,[-this.D()/2,this.C()/2,0]);gy(this)}; w.le=function(){cy(this);this.WC=dy(this,"aDelay");this.kE=dy(this,"aMaxDistance");this.pp=ey(this,"uSampler1");this.qp=ey(this,"uSampler2");this.Qc=ey(this,"uPhase");var a=ey(this,"uSlideWidth"),b=ey(this,"uHorizontal");this.J.uniform1f(ey(this,"uSlideHeight"),this.C());this.J.uniform1f(a,this.D());this.J.uniform1i(b,0==this.K||2==this.K?1:0)};w.he=function(){Ux(this,this.WC);Ux(this,this.kE)}; w.Xv=function(){var a=this.J;a.bindBuffer(a.ARRAY_BUFFER,this.tw);a.vertexAttribPointer(this.WC,this.tw.Tm,a.FLOAT,q,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.vw);a.vertexAttribPointer(this.kE,this.vw.Tm,a.FLOAT,q,0,0)}; w.zb=function(){var a=this.D(),b=this.C(),c=Ri&&Me,d=Ki&&Me||c,c=d?26:50,d=d?20:45,e=a/c,f=b/d;this.vc=new Oy;for(var h=0;h endTime)\n\t\t\t{\n\t\t\t\tpPhase = 1.0;\n\t\t\t}\n\t\t\tfloat z = 4.0 * aMaxDistance * pPhase * (pPhase - 1.0);\n\t\t\tfloat rotation = 180.0 * pPhase;\n\t\t\t\n\t\t\tmat4 m = mat4(1.0);\n\t\t\t\t\n\t\t\tvec3 pivotPoint = vec3(- uSlideWidth / 2.0, uSlideHeight / 2.0, 0.0);\n\t\t\tm = m * translationMatrix(-pivotPoint.x, -pivotPoint.y, -pivotPoint.z);\n\t\t\tif (uHorizontal)\n\t\t\t{\n\t\t\t m = m * rotationYmatrix(rotation);//left right\n\t\t\t}\n\t\t\telse \n\t\t\t{\n\t\t\t\tm = m * rotationXmatrix(rotation);//top bottom\n\t\t\t}\n\t\t\tm = m * translationMatrix(pivotPoint.x, pivotPoint.y, pivotPoint.z);\n\t\t\tm = m * translationMatrix(0.0, 0.0, z);\n\t\t\t\t\n\t\t\treturn m;\n\t\t}\n\t\t\n\t\tvec3 getVertexPosition() \n\t\t{ \n\t\t\tmat4 m = positionMatrix();\n\t\t\tvec4 v = m * vec4(aVertexPosition, 1.0);\n\t\t\treturn v.xyz;\n\t\t} \n\t\tvec3 getNormal() \n\t\t{\n\t\t\tmat4 m = positionMatrix();\n\t\t\tvec4 v = m * vec4(0 ,0, 1, 0.0);\n\t\t\treturn v.xyz;\n\t\t}\n\t\tvoid main(void)\n\t\t{\n\t\t\tvTextureCoord = aTextureCoord;\n\t\t\t\n\t\t\tvec3 pos = getVertexPosition();\n\t\t\tvec3 n = getNormal();\n\t\t\tn = normalize(n);\n\t\t\tgl_Position = uPMVMatrix * vec4(pos, 1.0); \n\t\t\tvNormal = uNMatrix * n;\n\t\t}\n\t"); function Oy(){this.MC=0;this.my=[];this.uw=[];this.ww=[];this.Yy=[];this.ko=[]}w=Oy.prototype;w.WA=u("my");w.Sz=u("uw");w.Tz=u("ww");w.AB=u("Yy");w.Qm=u("ko");function Py(a,b,c,d,e,f,h){this.Ya=a;this.Za=b;this.Rh=0;this.Ha=c;this.Fa=d;this.RG=e;this.QG=f;c=2*Math.max(e,f);this.ts=(0.5=1-this.rl&&(b=q,ye(this.fb,"translateZ("+this.OB*(1-a)+"px) rotateY("+c*((1-a)/this.rl)*this.bC+"deg)"),!this.ns&&!this.U()&&(this.ns=this.fm=l));if(b||this.fm)b=this.D()+this.gC,a=this.fm?this.U()?0:1:(a-this.rl)/(1-2*this.rl),this.fm&&(this.fm=q),a=a*c*b,ye(this.Hf,"translateX("+ a+"px)"),this.Eh&&ye(this.hm,"translate("+a+"px, "+(this.C()+this.An)+"px)"),ye(this.Gf,"translateX("+(a-c*b)+"px)"),this.Eh&&ye(this.gm,"translate("+(a-c*b)+"px, "+(this.C()+this.An)+"px)")};w.hc=function(a,b){var c=hc("DIV");cd(c,a);dd(c,b);F(c,"position","absolute");return c}; function Ry(a,b,c){b=b.getContext("2d");b.save();b.translate(0,a.C()/4);b.scale(1,-1);b.drawImage(c,0,0.75*a.C(),a.D(),a.C()/4,0,0,a.D(),a.C()/4);b.restore();b.globalCompositeOperation="destination-out";c=b.createLinearGradient(a.D()/4,0,a.D()/4,a.C()/4);c.addColorStop(0,"rgba(0, 255, 0, 0)");c.addColorStop(0.8,"rgba(0, 255, 0, 1)");b.fillStyle=c;b.beginPath();b.rect(0,0,a.D(),a.C()/4);b.fill()}w.fm=q;w.ns=q;w.An=7.5;w.rl=0.3;w.bC=20;w.QB=20;w.OB=-100;w.gC=70;var Sy=0,Ty=1;function Uy(a){S.call(this,a);Au(this.Ja());this.Wc=q}C(Uy,S);Uy.prototype.fa=function(){Xw(this,l);T(this,l)};Uy.prototype.ia=function(a){0.3>a?G(this.Ja().Ia(),0):G(this.Ja().Ia(),1)};function Vy(a,b){S.call(this,a);this.K=b;this.ma(l,q)}C(Vy,Px);w=Vy.prototype;w.fa=function(){Xw(this,l);T(this,q);Sx(this,this.Ba);this.zb();mat4.translate(this.ra,[-this.D()/2,this.C()/2,0]);gy(this)};w.ie=ca("\t\t\tprecision mediump float;\t\t\t\tvarying vec2 vTextureCoord;\t\tvarying vec3 vNormal;\t\t\t\tuniform sampler2D uSampler;\t\t\t\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\t\tconst float AMBIENT_INTENSITY = 0.4;\n\t\tconst float DIFFUSE_INTENSITY = 0.6;\n\t\t\t\tvoid main(void) \t\t{ \t\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * abs(dot(normalize(vNormal), LIGHT_DIRECTION));\n\t\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord); \t\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a); \t\t} \t"); w.je=ca("\tattribute vec3 aVertexPosition;\n\tattribute vec2 aTextureCoord;\n\t\t\n\tuniform mat4 uPMVMatrix;\n\tuniform mat3 uNMatrix;\n\t\t\n\tuniform float uPhase;\n\tuniform bool uDirectionIsLeft;\n\tuniform float uSlideHeight;\n\tuniform float uSlideWidth;\n\t\t\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\t\t\n\tconst float TIME_1 = 0.2;\n\tconst float TIME_2 = 0.6;\n\tconst float TIME_3 = 0.7;\n\tconst float TIME_4 = 0.8;\n\t\t\n\tconst float START_PHASE = 0.3;\n\tconst float END_PHASE = 0.7;\n\t\t\n\tconst float ANGLE_1 = 0.0;\n\tconst float ANGLE_2 = -180.0;\n\tconst float ANGLE_3 = ANGLE_2 - 20.0;\n\t\t\n\tfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1)\n\t{\n\t\treturn mix(fx0, fx1, (x - x0) / (x1 - x0));\n\t}\n\t\t\n\tvec3 ellipse(float angle, vec3 pos, vec2 center, vec2 radius)\n\t{\n\t\tfloat ang = radians(angle);\n\t\treturn vec3(pos.x, center.x + radius.x * cos(ang), -(center.y + radius.y * sin(ang)));\n\t}\n\t\t\n\tfloat goBack(float y, float phase, float constAngleTime)\n\t{\n\t\tfloat time = linearInterpolation(y, 0.0, TIME_3, uSlideHeight, TIME_4);\n\t\t\n\t\tif (phase > time)\n\t\t{\n\t\t\treturn linearInterpolation(phase, time, ANGLE_3, 1.0, ANGLE_2);\n\t\t}\n\t\tfloat angle = linearInterpolation(phase, constAngleTime, ANGLE_2, time, ANGLE_3);\n\t\treturn angle;\n\t}\n\t\t\n\tfloat getRowAngleByPhase(vec3 pos, float phase)\n\t{\n\t\tconst float HORIZONTAL_DELAY = 0.05;\n\t\tfloat colDelay = uDirectionIsLeft\n\t\t\t? linearInterpolation(pos.x, 0.0, 0.0, uSlideWidth, HORIZONTAL_DELAY)\n\t\t\t: linearInterpolation(pos.x, 0.0, HORIZONTAL_DELAY, uSlideWidth, 0.0);\n\t\t\t\n\t\tphase = linearInterpolation(phase, 0.0, colDelay, 1.0, 1.0);\n\t\t\t\n\t\tfloat constAngleTime = linearInterpolation(pos.y, 0.0, TIME_2, uSlideHeight, TIME_1);\n\t\tif (phase > constAngleTime)\n\t\t{\n\t\t\treturn goBack(pos.y, phase, constAngleTime);\n\t\t}\n\t\t\t\n\t\tfloat angle = linearInterpolation(phase, 0.0, ANGLE_1, constAngleTime, ANGLE_2);\n\t\treturn angle;\n\t}\n\t\t\n\tvec3 getVertexPosition(float phase, vec3 pos)\n\t{\n\t\tfloat R_1 = uSlideHeight;\n\t\tfloat R_2 = uSlideHeight * 0.25;\n\t\tvec2 r = vec2(linearInterpolation(pos.y, 0.0, R_1, uSlideHeight, 0.0), linearInterpolation(pos.y, 0.0, R_2, uSlideHeight, 0.0));\n\t\t\t\n\t\tfloat angle = getRowAngleByPhase(pos, phase);\n\t\tvec3 v = ellipse(angle, pos, vec2(0.0, 0.0), r);\n\t\treturn v;\n\t}\n\tvec3 getVertexNormal(float phase, vec3 pos)\n\t{\n\t\tconst float DELTA_W = 1.0;\n\t\tconst float DELTA_H = 1.0;\n\t\t\t\n\t\tfloat deltaWidth = (pos.x == uSlideWidth) ? -DELTA_W : DELTA_W;\n\t\tfloat deltaHeight = (pos.y == uSlideHeight) ? -DELTA_H : DELTA_H;\n\t\t\t\n\t\tvec3 right = getVertexPosition(phase, vec3(pos.x + deltaWidth, pos.y, pos.z));\n\t\tvec3 down = getVertexPosition(phase, vec3(pos.x, pos.y + deltaHeight, pos.z));\n\t\tvec3 p = getVertexPosition(phase, vec3(pos.x, pos.y, pos.z));\n\t\t\t\n\t\tvec3 v1 = right - p;\n\t\tvec3 v2 = down - p;\n\t \t\n\t vec3 n = (pos.x == uSlideWidth) ? cross(v1, v2) : cross(v2, v1);\n\t \t\n\t\treturn normalize(n);\n\t}\n\t\t\n\tvoid main(void)\n\t{\n\t\tfloat phase = uPhase;\n\t\tif (phase < START_PHASE)\n\t\t{\n\t\t\tphase = 0.0;\n\t\t}\n\t\telse if (phase > END_PHASE)\n\t\t{\n\t\t\tphase = 1.0;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tphase = linearInterpolation(phase, START_PHASE, 0.0, END_PHASE, 1.0);\n\t\t}\n\t\t\n\t\tvec3 vertex = vec3(aVertexPosition.x, -aVertexPosition.y, aVertexPosition.z);\n\t\tvec4 p = vec4(getVertexPosition(phase, vertex), 1.0);\n\t\tgl_Position = uPMVMatrix * p;\n\t\tvTextureCoord = aTextureCoord;\n\t\t\t\n\t vec3 pNormal = getVertexNormal(phase, vertex);\n\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\tvNormal = transformedNormal;\n\t\t\n\t}\n"); w.ia=function(a){this.J.uniform1f(this.Qc,a);by(this,this.Yn,this.J.TRIANGLE_STRIP)};w.le=function(){cy(this);this.kc=ey(this,"uSampler");this.Qc=ey(this,"uPhase");var a=ey(this,"uDirectionIsLeft"),b=ey(this,"uSlideWidth");this.J.uniform1f(ey(this,"uSlideHeight"),this.C());this.J.uniform1f(b,this.D());this.J.uniform1i(a,this.K==Wy?1:0)};w.he=t(); w.zb=function(){this.Nc=Kx(30,30,this.D(),this.C());this.Wb=this.K==Wy?Nx(30,30):Mx(30,30);this.Yn=new vx;var a=Xx(this,Hx(this.Nc),3);this.Yn.wc=a;a=Xx(this,Ix(this.Nc),2);this.Yn.xc=a;a=Yx(this,this.Wb);this.Yn.uc=a};w.lo=function(a){this.wp=Wx(this,this.J.TEXTURE0,this.Ze(),0,a,A(this.Lw,this))};w.ge=function(){Vx(this,this.Yn)};w.Lw=function(a,b,c,d){a.translate(0,d);a.scale(1,-1);a.drawImage(b,0,0,c,d)};w.Ze=u("kc");var Wy=0;function Xy(a){S.call(this,a);this.Zx=a;this.ma(l,q)}C(Xy,S);Xy.prototype.fa=function(){var a=this.D(),b=this.C();T(this,q);var c=U(a,b);this.Mo=c.getContext("2d");this.ib=U(a,b);this.Lc=this.ib.getContext("2d");a*=0.5;b*=0.5;this.vd=Math.sqrt(a*a+b*b);F(c,"position","absolute");this.Z().appendChild(c)};var Yy=1/15; Xy.prototype.ia=function(a){var b=this.D(),c=this.C(),d=this.Lc;d.clearRect(0,0,b,c);b=(1.5+1.08*a)*Math.PI;a=b-0.08*Math.PI;this.xw(a,b);b=0.5*this.D();c=0.5*this.C();a>=1.5*Math.PI&&(d.beginPath(),d.moveTo(b,c),d.arc(b,c,this.vd,3*Math.PI-a,a,q),d.lineTo(b,c),d.fillStyle="#000",d.fill());d=this.Mo;d.drawImage(this.Ba,0,0);d.save();d.globalCompositeOperation="destination-in";d.drawImage(this.ib,0,0);d.restore()}; Xy.prototype.Or=function(a,b,c,d,e,f,h){var i=this.Lc;i.fillStyle="rgba(0,0,0,"+h.toString()+")";i.beginPath();i.moveTo(a,b);i.lineTo(c,d);i.lineTo(e,f);i.fill()}; Xy.prototype.xw=function(a,b){var c=0.5*this.D(),d=0.5*this.C(),e=Yy,f=b-a,h=a;h<1.5*Math.PI&&(e=(1.5*Math.PI-a)/f,h=1.5*Math.PI);for(var i=c+this.vd*Math.cos(h),k=d+this.vd*Math.sin(h),n=c+this.vd*Math.cos(3*Math.PI-h),h=d+this.vd*Math.sin(3*Math.PI-h);1>=e;){var p=a+e*f;p>2.5*Math.PI&&(p=2.5*Math.PI);var r=c+this.vd*Math.cos(p),s=d+this.vd*Math.sin(p);this.Or(c,d,i,k,r,s,1-e);var v=c+this.vd*Math.cos(3*Math.PI-p),z=d+this.vd*Math.sin(3*Math.PI-p);this.Or(c,d,n,h,v,z,1-e);e+=Yy;i=r;k=s;n=v;h=z;if(p== 2.5*Math.PI)break}};function Zy(a,b){S.call(this,a);this.ma(l,l);this.ja=b;this.xh()}C(Zy,S);Zy.prototype.fa=function(){Xw(this,l);T(this,q)}; Zy.prototype.ia=function(a){var b=this.D(),c=this.C();this.gd.clearRect(0,0,b,c);this.gd.drawImage(this.Ba,0,0);this.gd.save();this.gd.globalCompositeOperation="destination-in";var d=this.ib.getContext("2d");d.clearRect(0,0,b,c);for(var e=0;e 1.0 || vTextureCoord.y < 0.0 || vTextureCoord.y > 1.0) \t\t\t{ \t\t\t\tgl_FragColor = mix(vec4(0.0), vec4(0.0), 0.0);\n\t\t\t\treturn;\t\t\t} \t\t\tvec4 color1 = texture2D(uSampler1, vTextureCoord);\n\t\t\tvec4 color2 = texture2D(uSampler2, vTextureCoord);\n\t\t\tvec4 mixedColor = mix(color1, color2, vAlpha);\n\t\t\tgl_FragColor = vec4(vShadow * mixedColor.rgb, mixedColor.a);\n\t\t} \t"); w.lo=function(){this.wp=Wx(this,this.J.TEXTURE0,this.pp,0,this.ga);this.xp=Wx(this,this.J.TEXTURE1,this.qp,1,this.Ba)};function ez(a,b,c){S.call(this,a);this.K=b;this.ic=c;this.Wc=q;this.Uw(b);fz(this)}C(ez,S);w=ez.prototype;w.wh=function(){return this.ic?this.Qb().Ia():this.Ja().Ia()};w.ho=function(){return this.ic?this.Ja().Ia():this.Qb().Ia()}; w.fa=function(){var a=this.D(),b=this.C(),c=Math.max(a,b);F(this.ho(),"position","absolute");F(this.wh(),"position","absolute");bd(this.ho(),a,b);bd(this.wh(),a,b);var d=dc("DIV");ac(d,{id:"projection"});F(d,"position","absolute");bd(d,a,b);this.Z().appendChild(d);Be(d,1.25*c+"px");this.MF=d;c=dc("DIV");ac(c,{id:"view"});F(c,"position","absolute");bd(c,a,b);d.appendChild(c);Ae(c);this.sa=c;Oi&&(Ae(this.ho()),Ae(this.wh()));a=this.ho();c.appendChild(a);c.appendChild(this.um);a=this.wh();c.appendChild(a); !this.U()&&!this.ic?(T(this,q),Xw(this,l)):this.U()&&this.ic?(T(this,l),Xw(this,q)):!this.U()&&this.ic?(T(this,q),Xw(this,l)):this.U()&&!this.ic&&(T(this,l),Xw(this,q));F(this.um,"visibility","hidden")}; function fz(a){function b(a,b,c,d,e,h,i,k){a=n.createLinearGradient(a,b,c,d);a.addColorStop(0,"rgba(0,0,0, "+f+")");a.addColorStop(1,"rgba(0,0,0,0)");n.fillStyle=a;n.fillRect(e,h,i,k)}function c(a,b,c,d,f){n.save();n.translate(a,b);n.scale(e/e,1);n.beginPath();n.moveTo(0,0);n.arc(0,0,e,c,d,q);n.moveTo(0,0);n.fillStyle=f;n.fill();n.restore()}var d=gz,e=hz,f=iz,h=a.D(),i=a.C(),k=U(h,i);F(k,"position","absolute");bd(k,h*d,i*d);var n=k.getContext("2d");n.scale(d,d);n.fillStyle="rgba(0, 0, 0, "+f+")"; n.fillRect(e,e,h-2*e,i-2*e);b(e,e,e,e-e,e,e-e,h-2*e,e);b(e,i-e,e,i,e,i-e,h-2*e,e);b(e,e,e-e,e,e-e,e,e,i-2*e);b(h-e,e,h,e,h-e,e,e,i-2*e);d=n.createRadialGradient(0,0,0,0,0,e);d.addColorStop(0,"rgba(0,0,0, "+f+")");d.addColorStop(1,"rgba(0,0,0,0)");c(h-e,i-e,0,0.5*Math.PI,d);c(e,i-e,0.5*Math.PI,Math.PI,d);c(e,e,Math.PI,1.5*Math.PI,d);c(h-e,e,1.5*Math.PI,2*Math.PI,d);a.um=k} w.vx=function(a){var b=jz,c=0,c=a1-b?1-a:b;a=Math.max(this.D(),this.C());a=V(0,0,b,0.2*-a);b=V(0,0,b,10);ze(this.sa,"50% 100%");ye(this.sa,"rotateX("+b(c)+"deg) translateZ("+a(c)+"px)")}; w.Uw=function(a){var b=this.D(),c=this.C(),d=kz;this.Of=this.Nf=this.sg=this.rg=0;switch(a){case lz:this.sg=1;this.Nf=d*b;this.Of=-d*c;break;case mz:this.sg=-1;this.Nf=-d*b;this.Of=d*c;break;case nz:this.rg=-1;this.Nf=d*b;this.Of=d*c;break;case oz:this.rg=1;this.Nf=-d*b;this.Of=-d*c;break;case pz:this.sg=this.rg=-1;this.Nf=-d*b;this.Of=d*c;break;case qz:this.rg=-1;this.sg=1;this.Nf=-d*b;this.Of=-d*c;break;case rz:this.rg=1;this.sg=-1;this.Nf=d*b;this.Of=d*c;break;case sz:this.sg=this.rg=1,this.Nf= d*b,this.Of=-d*c}this.ic?(this.sg*=-1,this.Of*=-1):(this.rg*=-1,this.Nf*=-1)}; w.ia=function(a){this.ic&&(a=1-a);var b=tz,c=uz;this.vx(a);if(a>=b&&a=c&&(!this.U()&&!this.ic?Xw(this,q):this.U()&&this.ic&&T(this,q),F(this.um,"visibility","hidden"))};var mz=0,nz=1,oz=2,lz=3,qz=4,pz=5,sz=6,rz=7,jz=0.4,tz=0.1,uz=0.7,vz=800,wz=0.5,iz=0.3,hz=50,kz=1,gz=1;function xz(a,b,c){var d=new X;this.Sj=a;this.sn=b;this.tn=c;this.Zg=d};function yz(a){S.call(this,a);this.ma(q,l)}C(yz,Px); var zz=[0,1,2,3,2,4,5,4,6,7,6,8,9,8,10,11,10,12,13,12,14,15,14,16,17,16,18,19,18,20,21,20,22,1,23,24,2,24,25,4,25,26,6,26,27,8,27,28,10,28,29,12,29,30,14,30,31,16,31,32,18,32,33,20,33,34,23,35,36,24,36,37,25,37,38,26,38,39,27,39,40,28,40,41,29,41,42,30,42,43,31,43,44,32,44,45,33,45,46,35,47,48,36,48,49,37,49,50,38,50,51,39,51,52,40,52,53,41,53,54,42,54,55,43,55,56,44,56,57,45,57,58,47,59,60,48,60,61,49,61,62,50,62,63,51,63,64,52,64,65,53,65,66,54,66,67,55,67,68,56,68,69,57,69,70,59,71,72,60,72,73, 61,73,74,62,74,75,63,75,76,64,76,77,65,77,78,66,78,79,67,79,80,68,80,81,69,81,82,71,83,84,72,84,85,73,85,86,74,86,87,75,87,88,76,88,89,77,89,90,78,90,91,79,91,92,80,92,93,81,93,94,83,95,96,84,96,97,85,97,98,86,98,99,87,99,100,88,100,101,89,101,102,90,102,103,91,103,104,92,104,105,93,105,106,0,2,3,3,4,5,5,6,7,7,8,9,9,10,11,11,12,13,13,14,15,15,16,17,17,18,19,19,20,21,21,22,107,1,24,2,2,25,4,4,26,6,6,27,8,8,28,10,10,29,12,12,30,14,14,31,16,16,32,18,18,33,20,20,34,22,23,36,24,24,37,25,25,38,26,26,39, 27,27,40,28,28,41,29,29,42,30,30,43,31,31,44,32,32,45,33,33,46,34,35,48,36,36,49,37,37,50,38,38,51,39,39,52,40,40,53,41,41,54,42,42,55,43,43,56,44,44,57,45,45,58,46,47,60,48,48,61,49,49,62,50,50,63,51,51,64,52,52,65,53,53,66,54,54,67,55,55,68,56,56,69,57,57,70,58,59,72,60,60,73,61,61,74,62,62,75,63,63,76,64,64,77,65,65,78,66,66,79,67,67,80,68,68,81,69,69,82,70,71,84,72,72,85,73,73,86,74,74,87,75,75,88,76,76,89,77,77,90,78,78,91,79,79,92,80,80,93,81,81,94,82,83,96,84,84,97,85,85,98,86,86,99,87,87, 100,88,88,101,89,89,102,90,90,103,91,91,104,92,92,105,93,93,106,94],Az="/+8MAP/rSADoi0gA6I8MANFLSADRTwwAuitIALovDACi60gAou8MAIurSACLrwwAC6tIAAuvDAAi60gAIu8MADorSAA6LwwAUUtIAFFPDABoi0gAaI8MAH/rSAD/54QA6IeEANFHhAC6J4QAoueEAIunhAALp4QAIueEADonhABRR4QAaIeEAH/nhAD/48AA6IPAANFDwAC6I8AAouPAAIujwAALo8AAIuPAADojwABRQ8AAaIPAAH/jwAD/4AAA6IAAANFAAAC6IAAAouAAAIugAAALoAAAIuAAADogAABRQAAAaIAAAH/gAAD/88AA6JPAANFTwAC6M8AAovPAAIuzwAALs8AAIvPAADozwABRU8AAaJPAAH/zwAD/94QA6JeEANFXhAC6N4QAoveEAIu3hAALt4QAIveEADo3hABRV4QAaJeEAH/3hAD/+0gA6JtIANFbSAC6O0gAovtIAIu7SAALu0gAIvtIADo7SABRW0gAaJtIAH/7SAD//wwA6J8MANFfDAC6PwwAov8MAIu/DAALvwwAIv8MADo/DABRXwwAaJ8MAH//DAB/7wwA 8u/+EviMJALjCzwa4S7kSs1rNAHNrw4Gt0s8DLfPDAyhC0wLoa8UC4qrWAuLbyALC6tgCwrvIAsiK1gLIS8QCziLPAs3LuwNTqsQDEzOvgJkiugHYU5gLXpLHAn8aCwJ5WeUC85nZAm3p2gLoQd4C4pnjAsMJ5wLIsecCzlnhAtQB2QLZodIC31HbAv+JDQL5yPgC8/DrAu4o5wLoaOoC4rDwAsMA9ALIuPcCznD0AtQo7QLZ4OUC36DnAv+oEQL56AkC9CQBAu5cBwLonAcC4twDAsLgAQLIoAUCzmAGAtQoAALZ9AoC37QSAv+k5wL55OYC9CzuAu5s9QLotPgC4vz2AsK88QLIdOwCzjTqAtP87QLZzPoC340PAv9N3AL5pdMC8/3aAu5V4gLorecC4v3oAsKt5QLIXeACjgXdA1Ot3AGZZecC3x4PAn6WxwK5HrsB86bFAu4ezwLohtYC4ubZAsK+1wLIZtQCjf7SA9OGz4KY3tEJnh8NAD1frIJ4V5gMMz+wgO3PvANoT8UC4rfJAsLvyQLIj8YCji/DBBPHv4TYb7EY3K/+ht1TrII 4w9GCOysIArfCtim3S6MudHrDgHSzswEu8soObxO6DWk6ywqpU7sKo3rJCyOLuQsCOsYKwjO2C4gCxAuH87IHjcrCBo17oBVTEqAbUsNlBBcKKoNWcrMc3JJkhHziKAA4gc4g9DHUgO653A7pAdwKI1HZCwJZ1gsICdQKzcnTC5OR0QcYyaManbmFAf5JNAP48P0Pc6DrgG5A8A4ooPAKYwjrCwKQ5wsIMOQLDdjkCtOQ4QuZONIHXrCuED6QPAl5ABcKs1gIC+3ABQuoMAQLIqAACsL0BgsIjAoKjhQKDBOcCwtZRBgKnsxBCP58sw849NQIM0zkC22U6Arn7OsLIkzuCsNc8wtJBPUJDqTzEJP07ILZFP0S3k05Ar2tjgI4na0Y80XTB+2F1wtnzdoLIhXeCsOd4QtJVeMJTv3hEBRd2YGYhdQhHNYrADyOb4D3BjqEsvaqGi2OxgenxsoLYf7OCsO+0gsJftMJzz7QD5SuyIFXzr0pWy8LAjlnEIq2LrgccqdzA61XqRRnv7kIYf++C0PPwgsJl8MKD1/BDlTnuQAXN6ouGRffgNlrCov 1W44NeArWEHX6ij31I3c/9EqMDXSDfQ1u+pkhL0OMH+larxUpm6IWo5rFGWPTtxiCItYYAgPJGQfi4RpH49AXTYrSEYzDbi6RmkgtkSr5E1R5mgxVMj8n2eGlg3lB+Qp3WaQ4dCGcDe65pyBpGbwUY1nSGkJh5BhIGfIWjaH2I9KZug7WuS8qmoDBCHoJGAH4kL4wdBCtD66AtB1oyMoVYwDhGUK48xkIcQIZTikZEtNg/ycX+MEKm/gZIPwYToG5BC0lM1QvG63EIwxoVB0g4qQNFoMYBhPIwBMfjoApFpRIPw+ZcCQm3CRigbvMMCB3xNMJcx0XJe2lFxNn9QgZYjz6GAOM5RvJRNITDuzCH1RktQzYTMAxmfUiA/ps3Qf2dUIpcmXQDa09/SBnnfgXYe3qF4PV1xuJhcUSzx20IJR1qAyXTao4mQ38Cvm9woM0RbELcU5YLO0m4BFndukaIbbdF8QWyhpJzrcTT1alIdSemQzWLpM9l/baD3XmOon01lAn8L8IEqxnfi4nb9gXoY/PGMRHvRlKD6oVT5+WIZTPiQ0VT4FAFcelDlX6GIn x+00d9EKJG7PSWU3xSyFPMtpOHHFjOBru2jdC7yMmSipaeCPrC2knZLKzLmU7pCtBCuIoALvQKwZy6TqGm9IyjALKLUsrT0xP+iBFj5rpMFJBjh1UklElFhE1hjXJtBW1uYRI8yFbHS6BTzrpiYkhZBHCMEGh9iqHWh4mzDn6QlBZmiUV6VYyVyh4EDOo7Be3UKxB80BkIq4QZDKowJgiY1DQMEJBCSgH2TgzjXFTJ1I5Bj8VeKgYWLwdK3eQrQz3JC0ysZxGPS00bB1n9EwwYnwbJ8MAGiUISEM0jahfJpMwbCBXwBE0l4yxC7iICym0VJwYsg09Pu0NWSdnbT0xYb0JKgPkzTAJbJYjzpxzOZNEiR0WTKtGE8zxFrYMchC05UI1cC3GIevWFT6m1iEkoRX1KISdvzGKFYkhTtViPdMFdhyVRY5K1d27GLYFQoNyDbAc7041Q+uW6yrl9vY1oG7hJ8VGsDDKxngiTxZLQ9LWZRwTnm5OFD6PG/HtnAP0Pnwhby8FL+qPZkpl5+MxQAfRK0XfoC0Lh2cjT0c5SZEvSxlRBzZN0e9QG9IhZAt sGuEisDqQKa6x8lHsKrJTbYHAImvKmSDsccRV6zq0VOqJyCVq8sEgZyIrTejrEU2iCrlDI3uHUoKqw2QCM5xUB5quSIaa+2sMahtZyyLoSY4RqC1PgokqEPFNBO/ptxswyTRKLhjZIi1wzlSpkNYtJUFQSuCJ2zaEIhlPSXoLYAxpqjcR+Vk8EoCIF27gzRlziKU576wGI+0MMFCoXAQ7Y0h4SQFhBTTFKThZChl2QQ9ZL0zRIK0hFKQZMLL4mgzzhD8wrqxiSSmMhzalnHBX4ew2L8MwMi7G6FZVzEC+U8+AuClTyBQ5EvzIF3SUBiawVMMfLz1SS2nddDrknWVTYEUJNMSEekkJzA87jhQnWY7MMSaRdHJQzuzxJnFslRWxxV477OXyNajGA1lj3jQ/QZXdNYZNVkwKrO4tDXUhWY4NGCaPtUhUkcWkJ/HdeQjuXd4s7NZeWCee0kgiLrlbgta3QIgGM06LVd4lC54FVw2GASVOjihWT852KG5lhyHuZr8gKqcPReZfCWphz6BSg++QTclfHUoK1swbyf7oUMuO0yELNsxVjCcBJM4xXiO qubgL7knVJmqRcEtryjU3p7jgJeiZsBOpmVhTKvoTQSX5Eypm6e0cKIleVupSNEOjwgBQ5kK8SyCiRHTh8spWhCqEWAHaP3fIidZiBdKPVsnBmjAJQocuDZmoCipJVSmtQMFQq0A+JGxonVOn2DIz5diZY2GBVlQAsVt/hbG8a4f5gTzN4XE9j4DaFKrQrBXwCK0wrhx2LuvkOGDnbHdMYmgCXcCAxkKC0IF1BjEHVovhck9NkPIfkPgULS6wogPwRDkmrVxkVOhMpk4kJGNoIeQKNwMQJDEFwBxdyjjFZEtZBy9P2FM4znyaG3EkBxTsxL8YrMU3SCd9a0VipU9lwFTdO8RMNFZJGHtEjKQYYYvAMi0NzAlZS4TTNW7U1QiurTg4aaXKOibNs2gh1jBWApWmP4cE9VKItFIqCazjWInkfCnL1OFXz7T8LC1tuQGrldww6XXLYOSub1nAFip3RN2fYgktt0MJZSEXCjWzRgsFOxiMlbVGjEVFGCvNdiSoVm8lZn55VuKeMnmBrr5aRmZqWIgGbi3H5eUDyW5/Mkn+BAbKdng4TF4sCcpZXiK".split(" "); w=yz.prototype;w.fa=function(){Xw(this,q);T(this,l);Sx(this,this.ga);this.zb();this.J.enable(this.J.DEPTH_TEST);var a=mat4.create();mat4.identity(a);a[0]=this.D()/921.6;a[5]=this.C()/518.4;this.ra=mat4.multiply(this.ra,a,this.ra);this.Gp=mat4.create();mat4.set(this.ra,this.Gp)};w.gw=function(a){for(var b=0;b>>0;e.push(Cz(h))}for(f=0;f>20&1)?1:-1)*((a&1047552)>>10),c=(0==(a>>9&1)?1:-1)*(a&511);a=Dz((0==(a>>31&1)?1:-1)*((a&2145386496)>>21),460.8,11);b=Dz(b,275.3,11);c=Dz(c,211.2,10);return new X(a,b,c)} w.zb=function(){this.Pc=Bz(this,"/+8MAP/rSADoi0gA6I8MANFLSADRTwwAuitIALovDACi60gAou8MAIurSACLrwwAC6tIAAuvDAAi60gAIu8MADorSAA6LwwAUUtIAFFPDABoi0gAaI8MAH/rSAD/54QA6IeEANFHhAC6J4QAoueEAIunhAALp4QAIueEADonhABRR4QAaIeEAH/nhAD/48AA6IPAANFDwAC6I8AAouPAAIujwAALo8AAIuPAADojwABRQ8AAaIPAAH/jwAD/4AAA6IAAANFAAAC6IAAAouAAAIugAAALoAAAIuAAADogAABRQAAAaIAAAH/gAAD/88AA6JPAANFTwAC6M8AAovPAAIuzwAALs8AAIvPAADozwABRU8AAaJPAAH/zwAD/94QA6JeEANFXhAC6N4QAoveEAIu3hAALt4QAIveEADo3hABRV4QAaJeEAH/3hAD/+0gA6JtIANFbSAC6O0gAovtIAIu7SAALu0gAIvtIADo7SABRW0gAaJtIAH/7SAD//wwA6J8MANFfDAC6PwwAov8MAIu/DAALvwwAIv8MADo/DABRXwwAaJ8MAH//DAB/7wwA",q); this.Fe=new vx;var a=Xx(this,Hx(this.Pc),3);this.Fe.wc=a;a=Xx(this,Ix(this.Pc),2);this.Fe.xc=a;a=Yx(this,zz);this.Fe.uc=a;a=Xx(this,Jx(this.Pc),3);this.Fe.Cg=a};w.ge=function(){Vx(this,this.Fe)};w.ie=ca("precision mediump float;\t\t\t\t\t\tvarying vec2 vTextureCoord;\t\t\tvarying vec3 vNormal;\t\t\t\t\t\tuniform sampler2D uSampler;\t\t\t\t\t\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\t\t\tconst float AMBIENT_INTENSITY = 0.4;\n\t\t\tconst float DIFFUSE_INTENSITY = 0.6;\n\t\t\t\t\t\tvoid main(void)\t\t\t{\t\t\t\tfloat diffuseFactor = dot(normalize(vNormal), LIGHT_DIRECTION);\t\t\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * abs(diffuseFactor);\n\t\t\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord); \t\t\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a); \t\t\t}"); w.je=ca("attribute vec3 aVertexPosition;\t\t\tattribute vec3 aVertexNormal;\t\t\tattribute vec2 aTextureCoord;\t\t\t\t\t\tuniform mat4 uPMVMatrix;\t\t\t\t\t\tuniform mat3 uNMatrix;\t\t\t\t\t\tvarying vec2 vTextureCoord;\t\t\tvarying vec3 vNormal;\t\t\t\t\t\tvoid main(void)\t\t\t{\t\t\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0);\t\t\t\tvTextureCoord = aTextureCoord;\t\t\t\tvNormal = uNMatrix * normalize(aVertexNormal);\t\t\t}"); w.le=function(){cy(this);this.Vf=dy(this,"aVertexNormal");this.kc=ey(this,"uSampler")};w.he=function(){Ux(this,this.Vf)};w.Ze=u("kc");w.io=u("Vf"); w.ia=function(a){var b=a/(0.5/(Az.length-1)),c=Math.floor(b),b=b-c;c>Az.length-1&&(c=Az.length-1,b=0);if(0!=b||this.U()&&!this.pL){if(this.wL!=c){var d=c!=Az.length-1?Az[c+1]:m;this.xL=Bz(this,Az[c],l);this.zE=d!=m?Bz(this,d,l):m}for(d=0;dthis.cC)&&(f.fx=l)}};function Pz(a,b,c){b=U(b,c);F(b,"position","absolute");a.Z().appendChild(b);return b} function Qz(a,b,c,d,e,f){b=b.getContext("2d");b.save();b.fillStyle="#FFFFFF";Ii&&(Wz(a,b,c,d,e,f),b.globalCompositeOperation="destination-in");b.beginPath();var h=Math.round(0.5*e),i=Math.round(0.5*f),k=Math.round(e),n=Math.round(f);b.moveTo(h,-1);b.lineTo(k+1,i);b.lineTo(h,n+1);b.lineTo(-1,i);b.lineTo(h,-1);b.fill();Ii||(b.globalCompositeOperation="source-in",Wz(a,b,c,d,e,f));b.restore()} function Rz(a,b,c,d,e,f){b=b.getContext("2d");b.save();b.fillStyle="#FFFFFF";Ii&&(Wz(a,b,c,d,e,f),b.globalCompositeOperation="destination-in");var h=Math.round(0.5*e)+0.5,i=Math.round(e)+0.5,k=Math.round(f)+0.5;b.beginPath();b.moveTo(h,-1);b.lineTo(i,Math.round(0.25*f)-1);b.lineTo(i,Math.round(0.75*f)+1);b.lineTo(h,k);b.lineTo(-1,Math.round(0.75*f)+1);b.lineTo(-1,Math.round(0.25*f)-1);b.lineTo(h,1);b.fill();Ii||(b.globalCompositeOperation="source-in",Wz(a,b,c,d,e,f));b.restore()} function Wz(a,b,c,d,e,f){c=Math.round(c);d=Math.round(d);Math.round(e);Math.round(f);b.drawImage(a,-c,-d)}function Vz(a,b,c){switch(a.K){case Xz:return b.Za>=c?b.Za-c:0;case Uz:return b.Za<=c?c-b.Za:0;case Mz:return b.Ya>=c?b.Ya-c:0}return b.Ya<=c?c-b.Ya:0}Jz.prototype.cC=0.3;Jz.prototype.Av=0.7;var Lz=0,Yz={pr:Lz,qr:1},Xz=0,Uz=1,Mz=2,Nz=3,Kz={ri:Xz,We:Uz,vf:Mz,Yd:Nz};function Oz(){}w=Oz.prototype;w.Ya=0;w.Za=0;w.RD=l;w.SD=l;w.Ic=0;w.Pl=l;w.Ap=0;w.fx=q;w.ls=q;w.Mj=function(a){this.Ya=a;this.uf()}; w.ih=function(a){this.Za=a;this.uf()};function Sz(a,b){a.RD=b;a.up!=m&&G(a.up,b?1:0);b&&a.uf()}function Tz(a,b){a.SD=b;a.vm!=m&&G(a.vm,b?1:0);b&&a.uf()}w.uf=function(){this.up!=m&&this.RD&&Tc(this.up,this.Ya,this.Za);this.vm!=m&&this.SD&&Tc(this.vm,this.Ya,this.Za)};function Zz(){var a=Array(2);$z(a,0,0);return a}function $z(a,b,c){a[0]=b;a[1]=c};function aA(a,b){S.call(this,a);this.ja=b;this.ma(l,l)}C(aA,S);w=aA.prototype; w.fa=function(){Xw(this,q);T(this,q);this.hw=this.GG=q;this.zs=[];this.Gs=[];var a=this.D(),b=this.C();this.sx=Math.max(a,b);var c=this.th(this.Z(),a,b,l);Be(c,this.sx+"px");this.MF=c;this.sa=this.th(c,a,b,l);this.Fx=this.th(this.sa,a,b,l);this.As=this.th(this.sa,a,b,l);F(this.As,"visibility","hidden");a=bA;if(this.ja==a.aC||this.ja==a.Ev){for(var a=Ki?4:8,b=this.U()?this.Ba:this.ga,c=this.U()?this.ga:this.Ba,d=this.D(),e=this.C(),f=a/2-1,h=0;hMath.random()?-1:1));this.Gs[h]=this.Fl(this.Fx,d,e,i,n,k);this.zs[h]=this.Fl(this.As,d,e,i,n,k)}d/=128;e/=96;i=f=0;k=[];for(h=0;128>h;++h){for(var i=0,n=Math.round((h+1)*d)-f,p=f,r=0;96>r;++r){if(0==k.length)for(var s=0;sc&&(B=c-z);if(!v&&z+B>=c)if(B>0.5*h+i)B=i;else{M.hn=j;H=Zz();$z(H,M.Vh.x,0);K=Zz();$z(K,z+B,I);M.Vh.Ij.x+=B;M.Vh.Ij.y=d;continue}v?(H=Zz(),$z(H,z,0),K=Zz(),$z(K,z+B,I),M.Vh={Dq:H,Ij:K}):(H=Zz(),$z(H,z,I),K=Zz(),$z(K,z+B,d),M.hn={Dq:H,Ij:K},p.push({Bq:j,Vh:j,hn:j}),r=p[++s],H=Zz(),$z(H,z,0),K=Zz(),$z(K,z+B,I),r.Bq={Dq:H,Ij:K});r=B;v=!v}for(var fa=a.U()?a.Ba:a.ga,ba=a.U()?a.ga:a.Ba,e=0.5>Math.random()?-1:1,f=0;f=a))this.hw=l;if(0<=a&&0.4>a){var d=V(0,0,0.4,1);a=d(a)}else 0.6<=a&&1>a?(d=V(0.6,1,1,0),a=d(a)):a=1;var d=-this.sx*a/2,e=30*a*(this.hw?-1:1);b&&c&&(e=-e);ye(this.sa,"translateZ("+d+"px) rotateY("+e+"deg) rotateX("+-15*a+"deg)")}; w.ia=function(a){if(!(1==a&&this.U())){this.vx(a);var b=2*this.sx,c=this.U(),d=this.Gs;if(c&&0.47>=a||!c&&0.47<=a)d=this.zs,this.GG||(this.GG=l,F(this.As,"visibility","visible"),F(this.Fx,"visibility","hidden"));for(var c=d.length,e=0;eh){var i=V(0,0,0.4,1);h=i(h)}else 0.522<=h&&0.922>h?(i=V(0.522,1,0.922,0),h=i(h)):h=0.4<=h&&0.522>h?1:0;h*=f.ZO;i=a;if(0.401<=i&&0.461>i)var k=V(0.401,0,0.461,1),i=k(i);else 0.461<=i&&0.521>i?(k=V(0.461,1,0.521,0),i=k(i)):i=0;ye(f.canvas, "translateZ("+(i*b*f.direction+h)+"px)")}}};function dA(a,b,c,d){this.canvas=a;this.startTime=b;this.ZO=c;this.direction=d}var bA={iK:0,iC:1,aC:2,Ev:3};function eA(a,b){S.call(this,a);this.K=b;this.ma(l,l)}C(eA,S);eA.prototype.fa=function(){Xw(this,q);T(this,q);var a=U(this.D(),this.C());F(a,"position","absolute");this.Z().appendChild(a);this.tt=a}; eA.prototype.ia=function(a){var b=this.D(),c=this.C(),d=b*$w(0,b,Math.floor(a*b));a=c*$w(0,c,Math.floor(a*c));var e=this.tt.getContext("2d");e.clearRect(0,0,b,c);switch(this.K){case fA:e.drawImage(this.Ba,0,a-c);e.drawImage(this.ga,0,a);break;case gA:e.drawImage(this.Ba,b-d,0);e.drawImage(this.ga,-d,0);break;case hA:e.drawImage(this.Ba,d-b,0);e.drawImage(this.ga,d,0);break;case iA:e.drawImage(this.Ba,0,c-a),e.drawImage(this.ga,0,-a)}};var fA=0,gA=1,hA=2,iA=3;function jA(a){S.call(this,a);this.ma(q,l)}C(jA,Px);w=jA.prototype;w.fa=function(){Xw(this,q);T(this,l);Sx(this,this.ga);this.zb();mat4.translate(this.ra,[-this.D()/2,this.C()/2,0]);gy(this)};w.ie=ca(" \n\t\tprecision mediump float; \n\t\t\n\t\tvarying vec2 vTextureCoord; \n\t\tvarying vec3 vNormal; \n\t\t\n\t\tuniform sampler2D uSampler; \n\t\t\n\t\tvoid main(void) \n\t\t{ \n\t\t\tvec3 n = normalize(vNormal); \n\t\t\tvec3 lightingDirection = vec3(0.0, 0.0, 1.0); \n\t\t\tfloat directionalLightWeighting = abs(dot(n, lightingDirection)); \n\t\t\tfloat intentsity = 0.7 + 0.3 * directionalLightWeighting; \n\t\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord); \n\t\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a); \n\t\t } \n\t"); w.je=ca(" \n\t\tattribute vec3 aVertexPosition; \n\t\tattribute vec2 aTextureCoord; \n\t\t\n\t\tuniform mat4 uPMVMatrix; \n\t\tuniform mat3 uNMatrix; \n\t\t\n\t\tuniform float uPhase; \n\t\tuniform float uSlideHeight; \n\t\tuniform float uSlideWidth; \n\t\tuniform bool uLeftCurtain; \n\t\t\n\t\tvarying vec2 vTextureCoord; \n\t\tvarying vec3 vNormal; \n\t\t\n\t\tconst float WAVES_COUNT = 10.0; \n\t\tconst float MIN_AMP_KOEF = 0.5; \n\t\tconst float WAVE_APPEAR_DURATION = 0.1; \n\t\tconst float WAVES_START_APPEAR_PHASE = 0.075; \n\t\tconst float WAVES_READY_PHASE = 0.275; \n\t\tconst float STRETCH_KOEF = 1.25; \n\t\tconst float MAX_CORNER_BOUNCE_AT_START_KOEF = 1.5; \n\t\tconst float MAX_CORNER_BOUNCE_AT_END_KOEF = 3.5; \n\t\tconst float DELTA_W = 1.0; \n\t\tconst float DELTA_H = 1.0; \n\t\tconst float PI = 3.14159265358979323846264; \n\t\t\n\t\tfloat sinX; \n\t\tfloat waveStartAppearTime; \n\t\tfloat rowRatio; \n\t\tfloat diagonalRatio; \n\t\tfloat forcedXPath; \n\t\tfloat xDampAmp; \n\t\tfloat yAmp; \n\t\tvec4 xTimesPart1; \n\t\tvec4 xTimesPart2; \n\t\tvec2 xTimesPart3; \n\t\tvec4 yTimesPart1; \n\t\tvec3 yTimesPart2; \n\t\t\n\t\tfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1) \n\t\t{ \n\t\t\treturn mix(fx0, fx1, (x - x0) / (x1 - x0)); \n\t\t} \n\t\t\n\t\tfloat calcAmpKoef(float x) \n\t\t{ \n\t\t\tconst float X0 = 0.0; \n\t\t\tconst float X1 = 0.5; \n\t\t\tconst float X2 = 1.0; \n\t\t\t\n\t\t\tconst float Y0 = 0.25; \n\t\t\tconst float Y1 = 0.16; \n\t\t\tconst float Y2 = 0.0; \n\t\t\t\n\t\t\tfloat part1 = (x - X1) * (x - X2) * Y0 / (X0 - X1) / (X0 - X2); \n\t\t\tfloat part2 = (x - X0) * (x - X2) * Y1 / (X1 - X0) / (X1 - X2); \n\t\t\tfloat part3 = (x - X0) * (x - X1) * Y2 / (X2 - X0) / (X2 - X1); \n\t\t\t\n\t\t\treturn part1 + part2 + part3; \n\t\t} \n\t\t\n\t\tfloat smoothStep(float min, float max, float x) \n\t\t{ \n\t\t\tif (x < min) \n\t\t\t{ \n\t\t\t\treturn 0.0; \n\t\t\t} \n\t\t\tif (x >= max) \n\t\t\t{ \n\t\t\t\treturn 1.0; \n\t\t\t} \n\t\t\t\n\t\t\tfloat value = (x - min) / (max - min); \n\t\t\tfloat squaredValue = value * value; \n\t\t\t\n\t\t\treturn -2.0 * squaredValue * value + 3.0 * squaredValue; \n\t\t} \n\t\t\n\t\tfloat calcAmp()\n\t\t{ \n\t\t\tfloat periodKoef = linearInterpolation(uPhase, waveStartAppearTime, 1.0, waveStartAppearTime + WAVE_APPEAR_DURATION, MIN_AMP_KOEF); \n\t\t\tperiodKoef = clamp(periodKoef, MIN_AMP_KOEF, 1.0); \n\t\t\t\n\t\t\treturn calcAmpKoef(periodKoef) * uSlideWidth / WAVES_COUNT; \n\t\t} \n\t\t\n\t\tfloat calcX() \n\t\t{ \n\t\t\tfloat forcedX = smoothStep(xTimesPart1.x, xTimesPart1.y, uPhase) * forcedXPath + smoothStep(xTimesPart1.z, xTimesPart1.w, uPhase) * 0.75; \n\t\t\tfloat dampAmpKoef = (uPhase <= xTimesPart2.w + 0.35) ? 1.0 : (diagonalRatio == 0.0 ? 1.0 : diagonalRatio); \n\t\t\tfloat stretchWidth = smoothStep(xTimesPart2.w, xTimesPart3.x, uPhase); \n\t\t\tfloat compressionWidth = smoothStep(xTimesPart3.x, xTimesPart3.y, uPhase); \n\t\t\tfloat deltaWidthKoef = (linearInterpolation(diagonalRatio, 0.0, 0.0, 1.0, compressionWidth) - linearInterpolation(diagonalRatio, 0.0, 0.0, 1.0, stretchWidth)) * STRETCH_KOEF; \n\t\t\t\n\t\t\tfloat dampX = smoothStep(xTimesPart2.x, xTimesPart2.y, uPhase); \n\t\t\tdampX -= smoothStep(xTimesPart2.y, xTimesPart2.z, uPhase) * 1.25; \n\t\t\tdampX += deltaWidthKoef; \n\t\t\t\n\t\t\treturn (forcedX + dampX * xDampAmp / dampAmpKoef) * uSlideWidth; \n\t\t} \n\t\t\n\t\tfloat calcY(vec3 vertex) \n\t\t{ \n\t\t\tfloat cornerBounceAtStartKoef = linearInterpolation(uPhase, yTimesPart1.y, 0.0, yTimesPart1.z, MAX_CORNER_BOUNCE_AT_START_KOEF); \n\t\t\tfloat x0 = uLeftCurtain ? uSlideWidth * 0.25 : uSlideWidth * 0.5; \n\t\t\tfloat x1 = uLeftCurtain ? uSlideWidth * 0.5 : uSlideWidth * 0.75; \n\t\t\tfloat fx0 = uLeftCurtain ? cornerBounceAtStartKoef : MAX_CORNER_BOUNCE_AT_START_KOEF; \n\t\t\tfloat fx1 = uLeftCurtain ? MAX_CORNER_BOUNCE_AT_START_KOEF: cornerBounceAtStartKoef ; \n\t\t\tfloat colBounceAtStartKoef = linearInterpolation(vertex.x, x0, fx0, x1, fx1); \n\t\t\tcolBounceAtStartKoef = clamp(colBounceAtStartKoef, 0.0, MAX_CORNER_BOUNCE_AT_START_KOEF); \n\t\t\t\n\t\t\tfloat cornerBounceAtEndKoef = linearInterpolation(uPhase, yTimesPart2.y, 0.0, yTimesPart2.z, MAX_CORNER_BOUNCE_AT_END_KOEF); \n\t\t\tx0 = uLeftCurtain ? 0.0 : uSlideWidth * 0.5; \n\t\t\tx1 = uLeftCurtain ? uSlideWidth * 0.5 : uSlideWidth; \n\t\t\tfx0 = uLeftCurtain ? cornerBounceAtEndKoef : MAX_CORNER_BOUNCE_AT_END_KOEF; \n\t\t\tfx1 = uLeftCurtain ? MAX_CORNER_BOUNCE_AT_END_KOEF: cornerBounceAtEndKoef ; \n\t\t\tfloat colBounceAtEndKoef = linearInterpolation(vertex.x, x0, fx0, x1, fx1); \n\t\t\t\n\t\t\tfloat y0 = -smoothStep(yTimesPart1.x, yTimesPart1.y, uPhase) * colBounceAtStartKoef; \n\t\t\ty0 += smoothStep(yTimesPart1.y, yTimesPart1.z, uPhase) * MAX_CORNER_BOUNCE_AT_START_KOEF; \n\t\t\ty0 -= smoothStep(yTimesPart1.z, yTimesPart1.w, uPhase) * 0.25; \n\t\t\ty0 += smoothStep(yTimesPart1.w, yTimesPart2.x, uPhase) * 0.25; \n\t\t\ty0 -= smoothStep(yTimesPart2.x, yTimesPart2.y, uPhase) * colBounceAtEndKoef; \n\t\t\ty0 += smoothStep(yTimesPart2.y, yTimesPart2.z, uPhase) * (MAX_CORNER_BOUNCE_AT_END_KOEF + 1.0); \n\t\t\t\n\t\t\treturn (y0 * yAmp + rowRatio) * uSlideHeight; \n\t\t} \n\t\t\n\t\tvec3 getVertexPosition(vec3 vertex) \n\t\t{ \n\t\t\tfloat amp = calcAmp(); \n\t\t\tfloat z = -amp * sinX; \n\t\t\tfloat xKoef = uLeftCurtain ? 1.0 : -1.0; \n\t\t\t\n\t\t\treturn vec3(vertex.x - calcX() * xKoef, -calcY(vertex), z); \n\t\t} \n\t\t\n\t\tvoid initVertexParams(vec3 vertex) \n\t\t{ \n\t\t\tfloat periodWidth = uSlideWidth / WAVES_COUNT; \n\t\t\tfloat frequency = PI * 2.0 / periodWidth; \n\t\t\tsinX = sin(frequency * vertex.x); \n\t\t\t\n\t\t\trowRatio = vertex.y / uSlideHeight; \n\t\t\t\n\t\t\tfloat halfRowRatio = rowRatio * 0.5; \n\t\t\tfloat halfSquaredRowRatio = rowRatio * halfRowRatio; \n\t\t\t\n\t\t\tfloat maxDT = 0.1; \n\t\t\tfloat dtAmp = 2.0 * maxDT; \n\t\t\tfloat dt = dtAmp * halfRowRatio; \n\t\t\t\n\t\t\tfloat distT = (0.6 - dt); \n\t\t\t\n\t\t\tfloat xT1 = dt; \n\t\t\tfloat xT2 = 0.4 + dt; \n\t\t\tfloat xT3 = xT2 + distT * 0.5; \n\t\t\tfloat xT4 = 1.0 + (1.0 - xT3); \n\t\t\t\n\t\t\tfloat xDampT1 = (xT1 + xT2) * 0.45; \n\t\t\tfloat xDampT2 = xT2; \n\t\t\tfloat xDampT3 = xT3; \n\t\t\tfloat xDampT4 = xDampT2 + (xDampT3 - xDampT2) * 0.5; \n\t\t\tfloat xDampT5 = xDampT3 + 0.075; \n\t\t\tfloat xDampT6 = 1.0; \n\t\t\t\n\t\t\tdistT = (0.7 - dt); \n\t\t\t\n\t\t\tfloat yT2 = 0.3 + dt; \n\t\t\tfloat yT3 = yT2 + distT * 0.5; \n\t\t\t\n\t\t\tfloat yDampT1 = 0.0; \n\t\t\tfloat yDampT2 = (yDampT1 * 2.0 + 0.35) * 0.5; \n\t\t\tfloat yDampT3 = yT2; \n\t\t\tfloat yDampT4 = (yT2 + yT2 + yT3) / 3.0; \n\t\t\tfloat yDampT5 = (yT2 + yT3 + yT3) / 3.0; \n\t\t\tfloat yDampT6 = yT3 + 0.1175; \n\t\t\tfloat yDampT7 = 1.0; \n\t\t\t\n\t\t\txTimesPart1 = vec4(xT1, xT2, xT3 - 0.125, xT4); \n\t\t\txTimesPart2 = vec4(xDampT1, xDampT2, xDampT3, xDampT4); \n\t\t\txTimesPart3 = vec2(xDampT5, xDampT6); \n\t\t\t\n\t\t\tyTimesPart1 = vec4(yDampT1 + 0.05, yDampT2, yDampT3, yDampT4); \n\t\t\tyTimesPart2 = vec3(yDampT5, yDampT6, yDampT7); \n\t\t\t\n\t\t\twaveStartAppearTime = linearInterpolation(vertex.y, 0.0, WAVES_START_APPEAR_PHASE, uSlideHeight, WAVES_READY_PHASE - WAVE_APPEAR_DURATION); \n\t\t\t\n\t\t\tfloat colRatio = (uLeftCurtain ? vertex.x : uSlideWidth - vertex.x) / (uSlideWidth * 0.5); \n\t\t\tdiagonalRatio = (colRatio + rowRatio) * 0.5; \n\t\t\t\n\t\t\tfloat x0 = uLeftCurtain ? 0.0 : uSlideWidth * 0.5; \n\t\t\tfloat x1 = uLeftCurtain ? uSlideWidth * 0.5 : uSlideWidth; \n\t\t\tfloat fx0 = uLeftCurtain ? 0.2 : 0.0; \n\t\t\tfloat fx1 = uLeftCurtain ? 0.0 : 0.2; \n\t\t\tforcedXPath = 0.2 * (colRatio + linearInterpolation(vertex.x, x0, fx0, x1, fx1)); \n\t\t\t\n\t\t\tfloat mxDampAmp = 0.1 * diagonalRatio; \n\t\t\tfloat dampAcc = 2.0 * mxDampAmp; \n\t\t\txDampAmp = dampAcc * halfRowRatio; \n\t\t\t\n\t\t\tfloat maxYAmp = 0.02; \n\t\t\tfloat dyAmp = 2.0 * maxYAmp * diagonalRatio * rowRatio; \n\t\t\tyAmp = dyAmp * halfSquaredRowRatio; \n\t\t} \n\t\t\n\t\tvec3 getVertexNormal(vec3 vertex, vec3 p) \n\t\t{ \n\t\t\tbool rightSideXPos = vertex.x == (uLeftCurtain ? uSlideWidth * 0.5 : uSlideWidth); \n\t\t\tfloat deltaWidth = rightSideXPos ? -DELTA_W : DELTA_W; \n\t\t\t\n\t\t\tvec3 rightVertex = vec3(vertex.x + deltaWidth, vertex.y, vertex.z); \n\t\t\tinitVertexParams(rightVertex); \n\t\t\tvec3 right = getVertexPosition(rightVertex); \n\t\t\t\n\t\t\tvec3 downVertex = vec3(vertex.x, vertex.y + DELTA_H, vertex.z); \n\t\t\tinitVertexParams(downVertex); \n\t\t\tvec3 down = getVertexPosition(downVertex); \n\t\t\t\n\t\t\tvec3 v1 = vec3(right.x - p.x, right.y - p.y, right.z - p.z); \n\t\t\tvec3 v2 = vec3(down.x - p.x, down.y - p.y, down.z - p.z); \n\t\t\t\n\t\t\tvec3 n = rightSideXPos ? cross(v1, v2) : cross(v2, v1); \n\t\t\tn = normalize(n); \n\t\t\t\n\t\t\treturn n; \n\t\t} \n\t\t\n\t\tvoid main(void) \n\t\t{ \n\t\t\tvTextureCoord = aTextureCoord; \n\t\t\t\n\t\t\tvec3 vertex = vec3(aVertexPosition.x, -aVertexPosition.y, aVertexPosition.z); \n\t\t\tinitVertexParams(vertex); \n\t\t\tvec3 p = getVertexPosition(vertex); \n\t\t\t\n\t\t\tvec3 pNormal = getVertexNormal(vertex, p); \n\t\t\tvec3 transformedNormal = uNMatrix * pNormal; \n\t\t\tvNormal = transformedNormal; \n\t\t\t\n\t\t\tif (vertex.y == 0.0) \n\t\t\t{ \n\t\t\t\tfloat maxDY = calcAmpKoef(MIN_AMP_KOEF) * uSlideWidth / WAVES_COUNT * 0.4; \n\t\t\t\tp.y += max(0.0, min(maxDY, linearInterpolation(uPhase, WAVES_START_APPEAR_PHASE, 0.0, WAVES_START_APPEAR_PHASE + WAVE_APPEAR_DURATION, maxDY))); \n\t\t\t} \n\t\t\tgl_Position = uPMVMatrix * vec4(p, 1.0); \n\t\t} \n\t"); w.yB=function(){if(y(this.Xi))return this.Xi;this.ok();return this.Xi=this.Xi};w.ok=function(){y(this.J)||jA.T.ok.call(this)};w.ia=function(a){this.J.uniform1f(this.Qc,a);this.dD=l;by(this,this.uo,this.J.TRIANGLE_STRIP);this.dD=q;by(this,this.np,this.J.TRIANGLE_STRIP)};w.le=function(){cy(this);this.kc=ey(this,"uSampler");this.Qc=ey(this,"uPhase");this.zL=ey(this,"uLeftCurtain");var a=ey(this,"uSlideWidth");this.J.uniform1f(ey(this,"uSlideHeight"),this.C());this.J.uniform1f(a,this.D())}; w.ge=function(){Vx(this,this.uo);Vx(this,this.np)};w.he=t();w.Xv=function(){this.J.uniform1i(this.zL,this.dD?1:0)};w.zb=function(){var a=this.D(),b=this.C();this.XD=Lx(a,b,0,31);this.UF=Lx(a,b,30,61);this.Wb=Mx(15,31);this.uo=new vx;a=Xx(this,Hx(this.XD),3);this.uo.wc=a;a=Xx(this,Ix(this.XD),2);this.uo.xc=a;a=Yx(this,this.Wb);this.uo.uc=a;this.np=new vx;a=Xx(this,Hx(this.UF),3);this.np.wc=a;a=Xx(this,Ix(this.UF),2);this.np.xc=a;a=Yx(this,this.Wb);this.np.uc=a};w.Ze=u("kc");function kA(a){S.call(this,a);this.ma(q,l)}C(kA,S);kA.prototype.fa=function(){Xw(this,q);T(this,l);this.ib=U(this.D(),this.C());this.Z().appendChild(this.ib)}; kA.prototype.ia=function(a){var b=(this.D()/2+50)*(1-a),c=b-50,d=(this.C()/2+50)*(1-a),e=d-50,f=this.ib.getContext("2d");f.clearRect(0,0,this.D(),this.C());f.drawImage(this.ga,0,0);f.save();f.globalCompositeOperation="destination-out";d=f.createLinearGradient(0,d,0,e);d.addColorStop(0,"rgba(255, 255, 255, 1)");d.addColorStop(1,"rgba(255, 255, 255, 0)");b=f.createLinearGradient(b,0,c,0);b.addColorStop(0,"rgba(255, 255, 255, 1)");b.addColorStop(1,"rgba(255, 255, 255, 0)");c=this.D()/2+(this.D()/2+50)* a;c=f.createLinearGradient(c-50,0,c,0);c.addColorStop(0,"rgba(255, 255, 255, 1)");c.addColorStop(1,"rgba(255, 255, 255, 0)");e=this.C()/2+(this.C()/2+50)*a;a=f.createLinearGradient(0,e-50,0,e);a.addColorStop(0,"rgba(255, 255, 255, 1)");a.addColorStop(1,"rgba(255, 255, 255, 0)");f.fillStyle=d;f.fillRect(0,0,this.D()/2,this.C()/2);f.fillStyle=b;f.fillRect(0,0,this.D()/2,this.C()/2);f.fillStyle=a;f.fillRect(0,this.C()/2,this.D()/2,this.C()/2);f.fillStyle=b;f.fillRect(0,this.C()/2,this.D()/2,this.C()/ 2);f.fillStyle=d;f.fillRect(this.D()/2,0,this.D()/2,this.C()/2);f.fillStyle=c;f.fillRect(this.D()/2,0,this.D()/2,this.C()/2);f.fillStyle=a;f.fillRect(this.D()/2,this.C()/2,this.D()/2,this.C()/2);f.fillStyle=c;f.fillRect(this.D()/2,this.C()/2,this.D()/2,this.C()/2);f.restore()};function lA(a,b,c){S.call(this,a);this.K=b;this.po=c;this.ma(l,l)}C(lA,S);w=lA.prototype; w.fa=function(){Xw(this,q);T(this,q);var a=this.D(),b=this.C();this.gc=this.hc(a,b);this.Z().appendChild(this.gc);var c=U(a,b),d=U(a,b);this.fb=this.hc(a,b);this.Kd=this.hc(a,b);this.Jd=this.hc(a,b);this.po||(this.Ah=U(a,b));this.Kd.appendChild(c);this.Jd.appendChild(d);this.gc.appendChild(this.fb);this.fb.appendChild(this.Jd);this.fb.appendChild(this.Kd);this.po||(F(this.Ah,"position","absolute"),this.fb.appendChild(this.Ah));c=c.getContext("2d");d=d.getContext("2d");c.drawImage(this.ga,0,0);d.drawImage(this.Ba, 0,0);this.po||(this.Ah.getContext("2d").drawImage(this.Ba,0,0),this.U()||G(this.Ah,0));this.os=q;this.po&&(Be(this.gc,Math.max(a,b)+"px"),Ce(this.gc,this.D()/2+"px "+this.C()/2+"px"),Ae(this.fb))};w.hc=function(a,b){var c=hc("DIV");cd(c,a);dd(c,b);F(c,"position","absolute");return c}; w.ia=function(a){var b,c=this.K==mA?-1:1;if(this.po){b=0.25*(1-Math.cos(2*a*Math.PI));var d=Math.max(this.C(),this.D()),e=this.aK,f=this.bK,h=this.zv,i=-c*b*this.D()/2,k=1.5*b*this.C();ye(this.fb,"translateZ("+d+"px) translateY("+k+"px) translateX("+i+"px) rotateX("+-e*b+"deg) rotateY("+-c*f*b+"deg) rotateZ("+c*h*b+"deg)");nA(this,a,q);nA(this,a,l)}else e=this.C()/2,b=0.25*(1-Math.cos(2*a*Math.PI)),d=-e*b,e=(this.C()+e)*b,Tc(this.Kd,0,d),Tc(this.Jd,0,e),Tc(this.Ah,0,e),e=new Bj,d=new Bj,e.rotate(c* (this.zv*Math.PI/180)*b,0,0),d.rotate(c*(this.zv*Math.PI/180)*b,0,0),Ej(this.Kd,e),Ej(this.Jd,d),Ej(this.Ah,d),b=Math.max(1-a,0.8),e.scale(b,b),Ej(this.Kd,e),b=this.U()?Math.max(a,0.8):Math.max(0.5>a?1-a:a,0.8),d.scale(b,b),Ej(this.Jd,d),Ej(this.Ah,d),0.5<=a&&!this.os&&!this.U()?(this.os=l,G(this.Ah,1)):0.5>=a&&(!this.os&&this.U())&&(this.os=l,G(this.Ah,0))}; function nA(a,b,c){var d=a.C()/2,e=0.25*(1-Math.cos(2*b*Math.PI)),d=(c?-(d+a.pg):a.C()+d+a.pg)*e;b=-(c?1+b:2-b)*Math.max(a.D(),a.C());ye(c?a.Kd:a.Jd,"translateY("+d+"px) translateZ("+b+"px)")}w.aK=30;w.bK=20;w.zv=30;w.pg=20;var mA=1;function oA(a){S.call(this,a);this.Wc=q;this.ma(l,l)}C(oA,S);oA.prototype.fa=function(){this.vt=q;Xw(this,q);T(this,q);var a=this.D(),b=this.C(),c=this.Ba,d=this.ga;F(c,"position","absolute");F(d,"position","absolute");this.Z().appendChild(this.U()?d:c);this.Z().appendChild(this.U()?c:d);this.Eo=U(a,b);var e=this.Eo.getContext("2d");this.yE=U(a,b);this.yE.getContext("2d").drawImage(c,0,0);e.drawImage(d,0,0)}; oA.prototype.ia=function(a){var b=this.Ba,c=this.ga;0.2>a?(!this.vt&&this.U()&&(this.vt=l,mc(b)),pA(this,c,this.Eo,a/0.2)):(!this.vt&&!this.U()&&(this.vt=l,mc(c)),pA(this,b,this.yE,(1-a)/0.8))};function pA(a,b,c,d){b=b.getContext("2d");var e=a.D();a=a.C();b.drawImage(c,0,0,e,a);b.save();b.globalCompositeOperation="lighter";b.fillStyle="rgba(255, 255, 255,"+Qj(d)+")";b.rect(0,0,e,a);b.fill();b.restore()};function qA(a){S.call(this,a);Au(this.Ja())}C(qA,S);qA.prototype.fa=function(){Xw(this,l);this.Wc=q;this.fd=document.createElement("div");cd(this.fd,this.D());dd(this.fd,this.C());F(this.fd,"backgroundColor","#000000");F(this.fd,"position","relative");this.Z().appendChild(this.fd)};qA.prototype.ia=function(a){0.5>a?(G(this.fd,1-2*(0.5-a)),T(this,q)):(G(this.fd,1-2*(a-0.5)),T(this,l))};function rA(a){S.call(this,a);this.ma(q,l)}C(rA,Px);w=rA.prototype;w.fa=function(){Xw(this,q);T(this,l);Sx(this,this.ga);this.zb();mat4.translate(this.ra,[-this.D()/2,this.C()/2,0]);gy(this)};w.yB=function(){if(y(sA))return sA;this.ok();return sA=this.Xi};w.ok=function(){y(this.J)||rA.T.ok.call(this)};w.ia=function(a){this.J.uniform1f(this.Qc,a);by(this,this.Oc,this.J.TRIANGLE_STRIP)}; w.zb=function(){this.Nc=Kx(10,35,this.D(),this.C());this.Wb=Mx(10,35);this.Oc=new vx;var a=Xx(this,Hx(this.Nc),3);this.Oc.wc=a;a=Xx(this,Ix(this.Nc),2);this.Oc.xc=a;a=Yx(this,this.Wb);this.Oc.uc=a};w.ge=function(){Vx(this,this.Oc)};w.le=function(){cy(this);this.kc=ey(this,"uSampler");this.Qc=ey(this,"uPhase");var a=ey(this,"uSlideWidth");this.J.uniform1f(ey(this,"uSlideHeight"),this.C());this.J.uniform1f(a,this.D())};w.he=t();w.Ze=u("kc");w.ie=ca("\t\t\tprecision mediump float;\n\t\t\t\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying vec3 vNormal;\n\t\t\t\n\t\tuniform sampler2D uSampler;\n\t\t\t\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\t\tconst float AMBIENT_INTENSITY = 0.3;\n\t\tconst float DIFFUSE_INTENSITY = 0.7;\n\t\t\t\n\t\tvoid main(void)\n\t\t{\n\t\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * abs(dot(normalize(vNormal), LIGHT_DIRECTION));\n\t\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord);\n\t\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a);\n\t\t}\n\t"); w.je=ca("\nattribute vec3 aVertexPosition;\nattribute vec3 aVertexNormal;\nattribute vec2 aTextureCoord;\n\t\nuniform mat4 uPMVMatrix;\nuniform mat3 uNMatrix;\n\t\nuniform float uPhase;\nuniform float uSlideHeight;\nuniform float uSlideWidth;\n\t\nvarying vec2 vTextureCoord;\nvarying vec3 vNormal;\n\t\nconst float START_EFFECT_TIME = 0.0;\nconst float START_FLY_EFFECT_TIME = 0.4;\nconst float STOP_FLY_EFFECT_TIME = 0.8;\nconst float START_TOP_CENTER = 0.0;\nconst float START_TOP_CORNERS_TIME = 0.1;\nconst float START_BOTTOM_CORNERS_TIME = 0.0;\n\t\nconst float HORIZONTAL_WAVES_COUNT = 3.0;\nfloat HORIZONTAL_MAX_AMPLITUDE;\nconst float HORIZONTAL_WAVE_RUNNING_START_TIME = 0.0;\n\t\nconst float MAX_FLEX_DELAY = 0.1;\n\nfloat MAX_STRETCHING_Z;\nfloat MAX_STRETCHING_Y;\nfloat HORIZONTAL_TOP_STRETCHING;\nfloat VERTICAL_TOP_STRETCHING;\n\t\nconst float PI = 3.141592654;\n\t\nfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1)\n{\n\treturn mix(fx0, fx1, (x - x0) / (x1 - x0));\n}\nvec2 getMirrorPoint(vec2 a, vec2 b, vec2 p)\n{\n\treturn a + reflect(a - p, b - a);\n}\nfloat calcCenterWave(float x, float phase, float A, float F, float dx, float dy)\n{\n\tfloat CENTER_LINE_POS = uSlideWidth * 0.5;\n\tfloat startX = CENTER_LINE_POS;\n\tif (x < startX)\n\t{\n\t\tx = getMirrorPoint(vec2(CENTER_LINE_POS, 0), vec2(CENTER_LINE_POS , uSlideHeight), vec2(x, 0)).x;\n\t}\n\tfloat s = linearInterpolation(phase, 0.0, startX, 1.0, uSlideWidth);\n\tif ((x < startX) || (x < s))\n\t{\n\t\treturn 0.0;\n\t}\n\tfloat x0 = - linearInterpolation(phase, 0.0, 2.0 * PI * startX / uSlideWidth * HORIZONTAL_WAVES_COUNT, 1.0, PI * 2.0 * HORIZONTAL_WAVES_COUNT);\n\treturn A + A * sin(F * x +-PI / 2.0 + x0);\n}\nfloat getColWaveDelay(float phase, vec3 pos)\n{\n\tphase = linearInterpolation(phase, HORIZONTAL_WAVE_RUNNING_START_TIME, 0.0, 1.0, 1.0);\n\tfloat MAX_AMPLITUDE = linearInterpolation(phase, 0.0, 0.0, 1.0, HORIZONTAL_MAX_AMPLITUDE);\n\tfloat A = linearInterpolation(pos.y, 0.0, 0.0, uSlideHeight, MAX_AMPLITUDE);\n\tfloat F = (PI * 2.0 / uSlideWidth) * HORIZONTAL_WAVES_COUNT;\n\treturn calcCenterWave(pos.x, phase, A, F, 0.0, 0.0);\n}\nvec3 getVertexPosition(float phase, vec3 pos)\n{\n\tfloat CENTER = uSlideWidth * 0.5;\n\tphase = pow(phase, 4.0);\n\tfloat modifiedPhase = phase;\n\t\n\tfloat deltaZVertical = linearInterpolation(abs(pos.y), 0.0, 1.0, uSlideHeight / 2.0, 0.0);\n\tif (abs(pos.y) > uSlideHeight * 0.5)\n\t{\n\t\tdeltaZVertical = 0.0;\n\t}\n\tbool isLeft = (pos.x < CENTER);\n\tfloat stretch;\n\tfloat yDelay; \n\tvec3 delta = vec3(0, 0, 0);\n\tif (modifiedPhase > START_TOP_CENTER)\n\t{\n\t\tif (isLeft)\n\t\t{\n\t\t\tyDelay = linearInterpolation(pos.x, 0.0, MAX_FLEX_DELAY, CENTER, 0.0);\n\t\t\tstretch = linearInterpolation(pos.x, 0.0, 0.0, CENTER, 1.0);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tyDelay = linearInterpolation(pos.x, CENTER, 0.0, uSlideWidth, MAX_FLEX_DELAY);\n\t\t\tstretch = linearInterpolation(pos.x, CENTER, 1.0, uSlideWidth, 0.0);\n\t\t}\n\t\tfloat deltaZHorizontal = pow(stretch, 3.0);\n\t\tmodifiedPhase = linearInterpolation(modifiedPhase, START_TOP_CENTER, 0.0, 1.0, 1.0);\n\t\tif (modifiedPhase >= yDelay)\n\t\t{\n\t\t\tdelta.y = linearInterpolation(modifiedPhase, yDelay, 0.0, 1.0, MAX_STRETCHING_Y * deltaZHorizontal * deltaZVertical);\n\t\t\tdelta.z = linearInterpolation(modifiedPhase, yDelay, 0.0, 1.0, MAX_STRETCHING_Z * deltaZHorizontal * deltaZVertical);\n\t\t}\n\t\tdelta.y = -delta.y;\n\t}\n\tif (phase > HORIZONTAL_WAVE_RUNNING_START_TIME)\n\t{\n\t\tdelta.z += getColWaveDelay(phase, pos);\n\t}\n\treturn pos - delta;}\nfloat getPower(float h1, float h2, float v1, float v2, vec2 pos, float max2)\n{\n float a1 = min(max(linearInterpolation(pos.x, h1, 1.0, h2, 0.0), 0.0), 1.0);\n float a2 = linearInterpolation(pos.y, v1, 1.0, v2, max2);\n return a1 * a2;\n}\nvec3 updateVertex(float phase, vec3 translation)\n{\n\tfloat pPhase = phase;\n\tvec3 delta = vec3(0, 0, 0);\n\tvec3 v0 = getVertexPosition(phase, aVertexPosition);\n\t\t\n\tif (phase > START_TOP_CORNERS_TIME)\n\t{\n\t\tpPhase = linearInterpolation(phase, START_TOP_CORNERS_TIME, 0.0, 1.0, 1.0);\n\t\tpPhase = pow(pPhase, 4.0);\n\t\t\n\t\tfloat p1 = getPower(0.0, uSlideWidth * 0.5, 0.0, uSlideHeight, v0.xy, 2.0);\n\t\tfloat p2 = getPower(uSlideWidth, uSlideWidth * 0.5, 0.0, uSlideHeight, v0.xy, 2.0);\n\t\t\n\t\tdelta += vec3(p2 - p1, -p1 - p2, 0) * vec3(HORIZONTAL_TOP_STRETCHING, VERTICAL_TOP_STRETCHING, 0) * vec3(pPhase, pPhase, 0);\n\t}\n\tif (phase > START_BOTTOM_CORNERS_TIME)\n\t{\n\t\tpPhase = linearInterpolation(phase, START_BOTTOM_CORNERS_TIME, 0.0, 1.0, 1.0);\n\t\tpPhase = pow(pPhase, 4.0);\n\t\t\n\t\tfloat p1 = getPower(0.0, uSlideWidth * 0.25, uSlideHeight, 0.0, v0.xy, 0.0);\n\t\tfloat p2 = getPower(uSlideWidth, uSlideWidth * 0.75, uSlideHeight, 0.0, v0.xy, 0.0);\n\t\t\n\t\tdelta += vec3(0.5, 1, 0.25) * vec3(p2 - p1, p2, p2) * vec3(uSlideWidth, uSlideHeight, uSlideHeight) * vec3(pPhase, pPhase, pPhase);\n\t}\n\tdelta.y = -min(uSlideHeight * 0.75, abs(delta.y));\n\treturn (translation + v0 + delta);\n}\nvec3 getPosition(float phase, vec3 pos) \n{\n \tfloat maxSide = sqrt(uSlideHeight * uSlideHeight + (uSlideWidth * 0.5) * (uSlideWidth * 0.5)) * 2.0;\n\tvec3 translation = vec3(0.0);\n\tif ((phase >= START_FLY_EFFECT_TIME) && (phase <= STOP_FLY_EFFECT_TIME))\n\t{\n\t\tfloat modifiedPhase = linearInterpolation(phase, START_FLY_EFFECT_TIME, 0.0, STOP_FLY_EFFECT_TIME, 1.0);\n\t\tmodifiedPhase = pow(modifiedPhase, 4.0);\n\t\ttranslation = vec3(0.0, modifiedPhase * maxSide, 0.0);\n\t}\n\telse if (phase > STOP_FLY_EFFECT_TIME)\n\t{\n\t\ttranslation = vec3(0.0, maxSide, 0.0);\n\t}\n\tif (phase >= START_EFFECT_TIME)\n\t{\n\t\tfloat modifiedPhase = linearInterpolation(phase, START_EFFECT_TIME, 0.0, 1.0, 1.0);\n\t\treturn updateVertex(modifiedPhase, translation);\n\t}\n\treturn updateVertex(0.0, translation); \n}\n\nvec3 getVertexNormal(float phase, vec3 pos) \n{ \n\tfloat deltaWidth = (pos.x == uSlideWidth) ? -1.0 : 1.0;\n\tfloat deltaHeight = 1.0;\n\t\t\n\tvec3 right = getVertexPosition(phase, vec3(pos.x + deltaWidth, pos.y, pos.z));\n\tvec3 down = getVertexPosition(phase, vec3(pos.x, pos.y + deltaHeight, pos.z));\n\tvec3 p = getVertexPosition(phase, vec3(pos.x, pos.y, pos.z));\n\t\t\n\tvec3 v1 = right - p;\n\tvec3 v2 = down - p;\n\t\t\n\tvec3 n = (pos.x == uSlideWidth) ? cross(v1, v2) : cross(v2, v1);\n\tn = normalize(n);\n\t\t\n\treturn n;\n} \nvoid main()\n{\n\tMAX_STRETCHING_Z = 0.74 * uSlideHeight;\n\tMAX_STRETCHING_Y = 0.74 * uSlideHeight;\n\tHORIZONTAL_TOP_STRETCHING = 0.42 * uSlideWidth;\n\tVERTICAL_TOP_STRETCHING = 0.05 * uSlideHeight;\n\tHORIZONTAL_MAX_AMPLITUDE = 0.93 * uSlideHeight;\n\t \tvTextureCoord = aTextureCoord;\n\t\n\tvec3 vertex = vec3(aVertexPosition.x, -aVertexPosition.y, aVertexPosition.z);\n\tvec4 p = vec4(getPosition(uPhase, vertex), 1.0);\n\tgl_Position = uPMVMatrix * p;\n\t\n\tvec3 transformedNormal = uNMatrix * getVertexNormal(uPhase, vertex); \n\tvNormal = transformedNormal;\n}\n"); var sA=j;function tA(a){S.call(this,a);this.ma(q,l)}C(tA,S);tA.prototype.fa=function(){Xw(this,q);this.Ch=U(this.D(),this.C());this.Z().appendChild(this.Ch);this.gd=this.Ch.getContext("2d")}; tA.prototype.ia=function(a){var b=this.D(),c=this.C(),d=this.ga,e=this.gd;e.clearRect(0,0,b,c);e.drawImage(d,0,0);e.save();d=a*Math.max(b,c);e.globalCompositeOperation="destination-out";var f=e.createRadialGradient(b/2,c/2,a*d,b/2,c/2,d);f.addColorStop(0,"#FFFFFF");f.addColorStop(0.15,"rgba(255,255,255,128)");f.addColorStop(1,"rgba(255,255,255,0)");e.fillStyle=f;e.beginPath();e.arc(b/2,c/2,d,0,2*Math.PI,l);e.fill();e.restore();this.U()&&0>=a&&T(this,q)};function uA(a,b){S.call(this,a);this.K=b;this.ma(q,q,l,l,l,l)}C(uA,S);w=uA.prototype; w.fa=function(){Xw(this,q);T(this,q);var a=this.D(),b=this.C(),c=U(a,b);F(c,"position","absolute");this.Z().appendChild(c);c.getContext("2d").drawImage(this.xs,0,0);this.tk=c;c=U(a,b);F(c,"position","absolute");this.Z().appendChild(c);c.getContext("2d").drawImage(this.Fs,0,0);this.uk=c;this.gc=this.hc(a,b);this.Z().appendChild(this.gc);var d=U(a,b),c=U(a,b);this.At=this.hc(a,b);this.Kd=this.hc(a,b);this.Jd=this.hc(a,b);this.Kd.appendChild(d);this.Jd.appendChild(c);this.gc.appendChild(this.At);this.At.appendChild(this.Kd); this.At.appendChild(this.Jd);d=d.getContext("2d");c=c.getContext("2d");d.drawImage(this.Li,0,0);c.drawImage(this.Ji,0,0);Be(this.gc,Math.max(a,b)+"px");Ce(this.gc,a/2+"px "+b/2+"px");Ae(this.At)}; w.ia=function(a){var b=this.D(),c=this.C();G(this.uk,1-a);G(this.tk,a);a=$w(0,1,a);var d=this.K==vA?1:-1,e=-d*this.fK*b*a,f=c*a,h=Math.max(b,c)*a,i=this.eC*a,k=d*this.fC*a,n=-d*this.gK*a,p=d*this.cK*b*(1-a),r=-this.dK*c*(1-a),b=-Math.max(b,c)*(1-a),c=-this.eC*(1-a),s=-d*this.fC*(1-a);a=d*this.eK*(1-a);ye(this.Kd,"translateZ("+h+"px) translateY("+f+"px) translateX("+e+"px) rotateX("+i+"deg) rotateY("+k+"deg) rotateZ("+n+"deg)");ye(this.Jd,"translateZ("+b+"px) translateY("+r+"px) translateX("+p+"px) rotateX("+ c+"deg) rotateY("+s+"deg) rotateZ("+a+"deg)")};w.hc=function(a,b){var c=hc("DIV");cd(c,a);dd(c,b);F(c,"position","absolute");return c};w.fK=0.1;w.cK=0.5;w.dK=1.75;w.eK=30;w.gK=10;w.eC=80;w.fC=30;var vA=1;function wA(a,b){S.call(this,a);this.ma(l,l);this.ja=b}C(wA,S);wA.prototype.fa=function(){Xw(this,q);T(this,q);this.xh()}; wA.prototype.ia=function(a){for(var b=0;b coeff * u)\n\t\t{\n\t\t\treturn u;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tfloat a = 180.0 * (maxSide - centerX) / (PI * r);\n\t\t\tfloat b = linearInterpolation(coeff * u, centerX, -90.0, maxSide + 1.0, a - 90.0);\n\t\t\t\n\t\t\tif (coeff * u >= centerX + m)\n\t\t\t{\n\t\t\t\treturn coeff * (centerX - (coeff * u - centerX - m));\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfloat ang = b * PI / 180.0;\n\t\t\t\treturn coeff * (centerX + r * cos(ang));\n\t\t\t}\n\t\t}\n\t}\n\t\t\n\tfloat calcY(float phase, float u, float r, float maxSide)\n\t{\n\t\tu = abs(u);\n\t\t\t\n\t\tfloat centerX = linearInterpolation(phase, 0.0, maxSide, 1.0, 0.0);\n\t\tfloat centerY = r;\n\t\t\n\t\tfloat m = PI * r;\n\t\tif (centerX >= u)\n\t\t{\n\t\t\treturn 0.0;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tif (u > centerX + m)\n\t\t\t{\n\t\t\t\treturn linearInterpolation(u, centerX + m, r * 2.0, centerX + m + m, r * 2.5);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfloat a = 180.0 * (maxSide - centerX) / (PI * r);\n\t\t\t\tfloat b = linearInterpolation(u, centerX, -90.0, maxSide+1.0, a - 90.0);\n\t\t\t\t\n\t\t\t\tfloat ang = b * PI / 180.0;\n\t\t\t\treturn centerY + r * sin(ang);\n\t\t\t}\n\t\t}\n\t}\n\t\t\n\tvec3 getVertexPosition(float phase, vec3 pos) \n\t{\n\t\tvec3 originPos = getOriginPos(pos);\n\t\tfloat maxSide = sqrt(uSlideWidth * uSlideWidth + uSlideHeight * uSlideHeight);\n\t\t\t\n\t\tfloat r = max(uSlideWidth, uSlideHeight) / 4.0;\n\t\tvec3 v = vec3(calcX(phase, originPos.x, r, maxSide), originPos.y, calcY(phase, originPos.x, r, maxSide));\n\t\t\t\n\t\tmat4 m;\n\t\tif (uDirectionIsLeft)\n\t\t{\n\t\t\tm = rotationZmatrix(-ANGLE);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tm = rotationZmatrix(ANGLE);\n\t\t}\n\t\t\n\t\treturn (m * vec4(v.xyz, 1.0)).xyz;\n\t}\n\t\t\n\tvec3 getVertexNormal(float phase, vec3 pos) \n\t{ \n\t\tconst float DELTA_W = 1.0;\n\t\tconst float DELTA_H = 1.0;\n\t\t\t\n\t\tvec3 right = getVertexPosition(phase, vec3(pos.x + DELTA_W, pos.y, pos.z));\n\t\tvec3 down = getVertexPosition(phase, vec3(pos.x, pos.y + DELTA_H, pos.z));\n\t\tvec3 p = getVertexPosition(phase, vec3(pos.x, pos.y, pos.z));\n\t\t\t\n\t\tvec3 v1 = right - p;\n\t\tvec3 v2 = down - p;\n\t \t\n\t\treturn normalize(cross(v2, v1));\n\t} \n\t \n\tvoid main(void) \n\t{ \n\t\tfloat phase = uPhase;\n\t\tvec3 vertex = vec3(aVertexPosition.x, aVertexPosition.y, aVertexPosition.z); \n\t\tvec4 p = vec4(getVertexPosition(phase, vertex), 1.0); \n\t\tgl_Position = uPMVMatrix * p; \n\t\tvTextureCoord = aTextureCoord; \n\t\t\t\n\t\tvec3 pNormal = getVertexNormal(phase, vertex); \n\t\tvec3 transformedNormal = uNMatrix * pNormal; \n\t\tvNormal = transformedNormal;\n\t}\n"); w.ia=function(a){a=V(0,0,1,1.2)(a);this.J.uniform1f(this.Qc,a);by(this,this.Oc,this.J.TRIANGLE_STRIP)};w.le=function(){cy(this);this.kc=ey(this,"uSampler");this.Qc=ey(this,"uPhase");var a=ey(this,"uDirectionIsLeft"),b=ey(this,"uSlideWidth");this.J.uniform1f(ey(this,"uSlideHeight"),this.C());this.J.uniform1f(b,this.D());this.J.uniform1i(a,this.K==EA?1:0)};w.he=t(); w.zb=function(){this.Nc=Kx(30,30,this.D(),this.C());this.Wb=Mx(30,30);this.Oc=new vx;var a=Xx(this,Hx(this.Nc),3);this.Oc.wc=a;a=Xx(this,Ix(this.Nc),2);this.Oc.xc=a;a=Yx(this,this.Wb);this.Oc.uc=a};w.Ze=u("kc");w.ge=function(){Vx(this,this.Oc)};var EA=0;function FA(a,b,c,d){S.call(this,a);this.Pa=c;this.K=b;this.nc=d;this.Pa?this.ma(q,q,l,l,q,q):this.ma(l,l)}C(FA,S); FA.prototype.fa=function(){Xw(this,q);T(this,q);var a=this.D(),b=this.C();this.pd=this.Pa?this.Li:this.ga;this.nd=this.Pa?this.Ji:this.Ba;var c=document.createElement("DIV");this.zi=document.createElement("DIV");this.ui=U(a,b);F(this.ui,"backgroundColor","#000000");G(this.ui,0);this.vi=U(a,b);F(this.vi,"backgroundColor","#000000");G(this.vi,0);this.zi.appendChild(this.pd);this.zi.appendChild(this.nd);this.zi.appendChild(this.ui);this.zi.appendChild(this.vi);c.appendChild(this.zi);if(this.Pa){var d= this.Qb().background();this.Z().appendChild(d);d=this.Ja().background();this.Z().appendChild(d)}this.Z().appendChild(c);try{Be(c,a+"px"),Ce(c,a/2+"px "+b/2+"px"),Ae(this.zi)}catch(e){}F(this.pd,"position","absolute");F(this.nd,"position","absolute");F(this.ui,"position","absolute");F(this.vi,"position","absolute");bd(this.zi,a,b);bd(this.pd,a,b);bd(this.nd,a,b);d=c="";switch(this.K){case GA:c="translateZ("+b/2+"px)";d="rotateX(90deg) translateZ("+b/2+"px)";break;case HA:c="translateZ("+b/2+"px)"; d="rotateX(-90deg) translateZ("+b/2+"px)";break;case IA:c="translateZ("+a/2+"px)";d="rotateY(90deg) translateZ("+a/2+"px)";break;case JA:c="translateZ("+a/2+"px)",d="rotateY(-90deg) translateZ("+a/2+"px)"}ye(this.pd,c);ye(this.vi,c);ye(this.nd,d);ye(this.ui,d)}; FA.prototype.ia=function(a){this.Pa&&G(this.Ja().background(),a);a=$w(0,1,a);var b="",c="",d="",e=90*a,f=-this.D()/2,h=-this.C()/2,i=this.D()*(1-a)+f,k=this.C()*a+h,n;switch(this.K){case GA:n=V(0,180*Math.atan(this.C()/(2*this.D()))/Math.PI,1,180*-Math.atan(this.C()/(2*this.D()))/Math.PI);b="translateY("+k+"px) rotateX("+-e+"deg) translateY("+-h+"px) translateZ("+h+"px)";this.nc||(c="translate(0px, "+-h+"px) scale(1, "+(1-a)+") translate(0px,"+h+"px)",d="translate(0px, "+k+"px) scale(1, "+a+") translate(0px,"+ h+"px)");break;case HA:n=V(0,180*Math.atan(this.C()/(2*this.D()))/Math.PI,1,180*-Math.atan(this.C()/(2*this.D()))/Math.PI);b="translateY("+-k+"px) rotateX("+e+"deg) translateY("+h+"px) translateZ("+h+"px)";this.nc||(c="translate(0px, "+h+"px) scale(1, "+(1-a)+") translate(0px,"+-h+"px)",d="translate(0px, "+-k+"px) scale(1, "+a+") translate(0px,"+-h+"px)");break;case IA:n=V(0,180*Math.atan(0.5)/Math.PI,1,180*-Math.atan(0.5)/Math.PI);b="translateX("+i+"px) rotateY("+-e+"deg) translateX("+f+"px) translateZ("+ f+"px)";this.nc||(c="translate("+f+"px, 0px) scale("+(1-a)+", 1) translate("+-f+"px, 0px)",d="translate("+i+"px, 0px) scale("+a+", 1) translate("+-f+"px, 0px)");break;case JA:n=V(0,180*Math.atan(0.5)/Math.PI,1,180*-Math.atan(0.5)/Math.PI),b="translateX("+-i+"px) rotateY("+e+"deg) translateX("+-f+"px) translateZ("+f+"px)",this.nc||(c="translate("+-f+"px, 0px) scale("+(1-a)+", 1) translate("+f+"px, 0px)",d="translate("+-i+"px, 0px) scale("+a+", 1) translate("+f+"px, 0px)")}this.Pa||(0.5>a?(f=V(0,90, 45,0),f=0.5*Math.sin(f(e)*Math.PI/180),G(this.ui,f)):(f=V(45,0,90,90),f=0.5*Math.sin(f(e)*Math.PI/180),G(this.vi,f)));this.nc?(a=e-n(a),0>=a?(G(this.nd,0),G(this.ui,0)):90<=a?(G(this.pd,0),G(this.vi,0)):(G(this.nd,1),G(this.pd,1)),ye(this.zi,b)):(ye(this.pd,c),ye(this.nd,d),ye(this.vi,c),ye(this.ui,d))};var HA=0,GA=1,IA=2,JA=3;function KA(a,b){S.call(this,a);this.K=b;this.Wc=q;this.ma(q,q,l,l,q,q)}C(KA,S);KA.prototype.fa=function(){Xw(this,q);T(this,q);var a=this.Ja().background();this.Z().appendChild(a);a=this.Qb().background();this.Z().appendChild(a);this.Hr=U(this.D(),this.C());F(this.Hr,"position","absolute");this.Z().appendChild(this.Hr);this.Zv=U(this.D(),this.C());F(this.Zv,"position","absolute");this.Z().appendChild(this.Zv)}; KA.prototype.ia=function(a){var b=LA,c=this.D(),d=this.C(),e=this.Hr.getContext("2d");e.clearRect(0,0,c,d);var f;f=0.5>a?this.K==b.sv||this.K==b.tr?V(0,-c,0.5,c):V(0,c,0.5,-c):this.K==b.sv||this.K==b.tr?V(0.5,c,1,-c):V(0.5,-c,1,c);f=e.createLinearGradient(f(a),0,f(a)+c,0);this.K==b.sv||this.K==b.tr?(f.addColorStop(0,"rgba(0, 0, 0, 1)"),f.addColorStop(1,"rgba(0, 0, 0, 0)")):(f.addColorStop(0,"rgba(0, 0, 0, 0)"),f.addColorStop(1,"rgba(0, 0, 0, 1)"));this.K==b.hK||this.K==b.tr?(G(this.Qb().background(), 1-a),0.5>a?e.drawImage(this.Li,0,0):e.drawImage(this.Ji,0,0),e.save(),e.globalCompositeOperation="destination-out",e.fillStyle=f,e.fillRect(0,0,this.D(),this.C()),e.restore()):(0.5>a?(G(this.Qb().background(),1),e.drawImage(this.Li,0,0)):(G(this.Qb().background(),0),e.drawImage(this.Ji,0,0)),b=this.Zv.getContext("2d"),b.clearRect(0,0,c,d),b.fillStyle=f,b.fillRect(0,0,this.D(),this.C()));d=MA;b=NA;c=OA;0.5>a?(d=V(0,0,0.5,d),b=V(0,0,0.5,b),c=V(0,1,0.5,1+c)):(d=V(0.5,-d,1,0),b=V(0.5,b,1,0),c=V(0.5,1+ c,1,1));a="scale("+c(a)+") translate("+d(a)+"px,"+b(a)+"px)";ye(this.Hr,a)};var MA=-30,NA=-20,OA=0.1,LA={hK:0,tr:1,sv:2,LR:3};function PA(a,b){S.call(this,a);this.K=b;this.ma(q,l)}C(PA,Px);w=PA.prototype;w.fa=function(){Xw(this,q);T(this,l);Sx(this,this.ga);this.zb();this.J.enable(this.J.DEPTH_TEST);mat4.translate(this.ra,[-this.D()/2,this.C()/2,0]);this.Gp=mat4.create();mat4.set(this.ra,this.Gp)}; w.zb=function(){this.Pc=Kx(20,20,this.D(),this.C());for(var a=0==this.K?Nx(20,20):Mx(20,20),b=[],c=0,d=a.length;c+2e)){var f=a[c++];if(!(0>f))for(var h=l;ci)break;e!=f&&(e!=i&&f!=i)&&b.push(e,f,i);h?e=i:f=i;h=!h}}}this.Wb=b;this.pj=new Ex;for(a=0;av;v++)s[0].push(QA(3,v,n));for(v=0;4>v;v++)s[1].push(QA(3,v,r));for(v=0;2>v;v++)s[2].push(QA(1,v,p));this.cH.push(s)}this.Ld=[];for(c=0;4>c;c++)for(d=0;4>d;d++)for(e=0;2>e;e++)f=this.Bf(c,d,e),h=a,i=b,k=d,n=e,r=[0,0,0],r[0]=h[0]+(i[0]-h[0])*(c/3),r[1]=h[1]+(i[1]-h[1])*(k/3),r[2]=h[2]+(i[2]-h[2])*(n/1),h=r,this.Ld[f]=h[0],this.Ld[f+1]=h[1], this.Ld[f+2]=h[2];this.Vo={}};function QA(a,b,c){for(var d=1,e=1;e<=b;e++)d*=(a-(b-e))/e;return d*Math.pow(c,b)*Math.pow(1-c,a-b)}w.Bf=function(a,b,c){return 3*(a+4*b+16*c)};w.ge=function(){Vx(this,this.Fe)};w.he=function(){Ux(this,this.Vf)};w.ie=ca("precision mediump float;\t\t\t\t\t\tvarying vec2 vTextureCoord;\t\t\tvarying vec3 vNormal;\t\t\t\t\t\tuniform sampler2D uSampler;\t\t\t\t\t\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\t\t\tconst float AMBIENT_INTENSITY = 0.4;\n\t\t\tconst float DIFFUSE_INTENSITY = 0.6;\n\t\t\t\t\t\tvoid main(void)\t\t\t{\t\t\t\tfloat diffuseFactor = dot(normalize(vNormal), LIGHT_DIRECTION);\t\t\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * diffuseFactor * diffuseFactor;\n\t\t\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord); \t\t\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a); \t\t\t}"); w.je=ca("attribute vec3 aVertexPosition;\t\t\tattribute vec3 aVertexNormal;\t\t\tattribute vec2 aTextureCoord;\t\t\t\t\t\tuniform mat4 uPMVMatrix;\t\t\t\t\t\tuniform mat3 uNMatrix;\t\t\t\t\t\tvarying vec2 vTextureCoord;\t\t\tvarying vec3 vNormal;\t\t\t\t\t\tvoid main(void)\t\t\t{\t\t\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0);\t\t\t\tvTextureCoord = aTextureCoord;\t\t\t\tvNormal = uNMatrix * normalize(aVertexNormal);\t\t\t}"); w.le=function(){cy(this);this.Vf=dy(this,"aVertexNormal");this.kc=ey(this,"uSampler")};w.Ze=u("kc");function RA(a,b,c,d){var e=a.Bf(b,c,0),f=b.toString()+c.toString(),h;y(a.Vo[f])?h=[a.Vo[f][0],a.Vo[f][1],a.Vo[f][2]]:(h=[a.Ld[e+0],a.Ld[e+1],a.Ld[e+2]],a.Vo[f]=[h[0],h[1],h[2]]);mat4.multiplyVec3(d,h,h);a.Ld[e+0]=h[0];a.Ld[e+1]=h[1];a.Ld[e+2]=h[2];e=a.Bf(b,c,1);a.Ld[e+0]=h[0];a.Ld[e+1]=h[1];a.Ld[e+2]=h[2]}w.io=u("Vf"); w.gw=function(){for(var a=0;ab&&TA(a,e,0,0.2*a.C(),b);0.6<=b&&TA(a,f,0.2*a.C(),-0.7*a.C(),b);mat4.identity(h);mat4.translate(h,[0,0,-0.3*a.C()*Math.sin(1.5*Math.PI*d)]);c=0==a.K?0:3;RA(a,c,0,h)} function VA(a,b){for(var c=0;c0.2*a.D()?SA(a,d,b):0:d.position().x()<0.8*a.D()?SA(a,d,b):0;d=a.pj.pa[c];e=new X(0,0,e);for(var f=a,h=a.cH[c],i=0,k=new X,n=0;4>n;n++){for(var p=new X,r=0;4>r;r++){for(var s=new X,v=0;2>v;v++){var z=f.Bf(n,r,v),i=h[2][v];xx(s,new X(f.Ld[z+0]*i,f.Ld[z+1]*i,f.Ld[z+2]*i))}i=h[1][r];xx(p,new X(s.x()*i,s.y()*i,s.Da()*i))}i=h[0][n];xx(k,new X(p.x()*i,p.y()*i,p.Da()*i))}Cx(d,k.add(e));Dx(a.pj.pa[c],new X)}a.gw(); for(c=0;ca.D()?k.createLinearGradient(b,c,2*(i?-b:b)*f+d,e):k.createLinearGradient(b,c,d,2*(h?-c:c)*f+e);a.addColorStop(0,"rgba(255,255,255,0)");a.addColorStop(0.2f?f+0.2:1,"#FFFFFF");a.addColorStop(1,"#FFFFFF");return a}function $A(a,b,c,d,e,f){a.fillStyle=b;a.beginPath();a.rect(c,d,e,f);a.fill()};function aB(a,b){S.call(this,a);this.Zx=a;this.K=b;switch(b){case bB:this.ma(l,q);break;case cB:this.ma(q,l)}}C(aB,S);aB.prototype.fa=function(){var a=this.D(),b=this.C(),c=U(a,b);this.Mo=c.getContext("2d");this.ib=U(a,b);this.Lc=this.ib.getContext("2d");switch(this.K){case bB:Xw(this,l);T(this,q);this.tt=this.Ba;break;case cB:Xw(this,q),T(this,l),this.tt=this.ga}F(c,"position","absolute");this.Z().appendChild(c);this.Ol=0.05*a;this.Gi=0.05*b}; aB.prototype.ia=function(a){this.K==cB&&(a=1-a);var b=Math.round(this.D()),c=Math.round(this.C()),d=Math.round(a*b),e=Math.round(a*c);a=Math.round(0.5*(b-d));var f=Math.round(0.5*(c-e)),h=a+d,i=f+e,k=this.Lc;k.clearRect(0,0,b,c);k.fillStyle="#000";k.fillRect(a,f,d,e);dB(this,a,f,a,f-this.Gi,a,f-this.Gi,d,this.Gi);dB(this,a,i,a,i+this.Gi,a,i,d,this.Gi);dB(this,a,f,a-this.Ol,f,a-this.Ol,f,this.Ol,e);dB(this,h,f,h+this.Ol,f,h,f,this.Ol,e);b=k.createRadialGradient(0,0,0,0,0,this.Gi);b.addColorStop(0, "rgba(0,0,0,1)");b.addColorStop(1,"rgba(0,0,0,0)");this.jk(h,i,0,0.5*Math.PI,b);this.jk(a,i,0.5*Math.PI,Math.PI,b);this.jk(a,f,Math.PI,1.5*Math.PI,b);this.jk(h,f,1.5*Math.PI,2*Math.PI,b);b=this.Mo;b.drawImage(this.tt,0,0);b.save();b.globalCompositeOperation="destination-in";b.drawImage(this.ib,0,0);b.restore()};function dB(a,b,c,d,e,f,h,i,k){a=a.Lc;b=a.createLinearGradient(b,c,d,e);b.addColorStop(0,"rgba(0,0,0,1)");b.addColorStop(1,"rgba(0,0,0,0)");a.fillStyle=b;a.fillRect(f,h,i,k)} aB.prototype.jk=function(a,b,c,d,e){var f=this.Lc;f.save();f.translate(a,b);f.scale(this.Ol/this.Gi,1);f.beginPath();f.moveTo(0,0);f.arc(0,0,this.Gi,c,d,q);f.moveTo(0,0);f.fillStyle=e;f.fill();f.restore()};var bB=0,cB=1;function eB(a,b){S.call(this,a);this.K=b}C(eB,S);eB.prototype.fa=function(){Xw(this,l);T(this,l);Au(this.Ja());this.Wc=q;var a=this.Qb().content();this.Z().appendChild(a);a=this.Ja().content();this.Z().appendChild(a)}; eB.prototype.ia=function(a){var b=fB,c=this.D(),d=this.C(),e=0,f=0,h=0,i=0;this.K==b.Yd||this.K==b.vf?(e=this.K==b.Yd?1:-1,h=this.K==b.Yd?-1:1):(f=this.K==b.We?1:-1,i=this.K==b.We?-1:1);b=fx(0,0.7,7,a);e=Math.floor(b*e*c);f=Math.floor(b*f*d);Tc(this.Qb().content(),e,f);Tc(this.Ja().content(),h*c+e,i*d+f);G(this.Ja().background(),a)};var fB={We:0,vf:1,Yd:2,ri:3};function gB(a,b,c,d){S.call(this,a);this.ja=b;this.Pa=c;this.qL=d;this.Pa?this.ma(q,q,l,l,l,l):this.ma(l,l)}C(gB,S); gB.prototype.fa=function(){Xw(this,q);T(this,q);var a=this.D(),b=this.C();if(this.Pa){var c=U(a,b);F(c,"position","absolute");this.Z().appendChild(c);c.getContext("2d").drawImage(this.xs,0,0);this.tk=c;c=U(a,b);F(c,"position","absolute");this.Z().appendChild(c);c.getContext("2d").drawImage(this.Fs,0,0);this.uk=c}this.Py=U(a,b);F(this.Py,"position","absolute");this.Z().appendChild(this.Py);this.gd=this.Py.getContext("2d")}; gB.prototype.ia=function(a){var b=this.D(),c=this.C();this.Pa&&(G(this.uk,1-a),G(this.tk,a));var d=this.Pa?this.Li:this.ga,e=this.Pa?this.Ji:this.Ba,f=this.gd;f.clearRect(0,0,b,c);b=this.ja==hB?1:-1;a=$w(0,1,a);c=V(0,6,1,1);c=this.qL?fx(4,0.8,4,a):this.ja==hB?2-a:c(a);c=this.ja==hB?1/c:c;this.ja==hB?(iB(this,a,c,f,e),jB(this,2*a,b,f,d)):(jB(this,0.5*a,b,f,d),iB(this,a,c,f,e))};var hB=0; function iB(a,b,c,d,e){var f=a.D()/2*(1-c);a=a.C()/2*(1-c);d.save();d.translate(f,a);d.scale(c,c);d.globalAlpha=2*b;d.drawImage(e,0,0);d.restore()}function jB(a,b,c,d,e){var f=-c*a.D()*b/2;a=-c*a.C()*b/2;c=1+c*b;d.save();d.translate(f,a);d.scale(c,c);b=Math.min(1-2*b,1);b=Math.max(b,0);d.globalAlpha=b;d.drawImage(e,0,0);d.restore()};function kB(a,b,c){S.call(this,a);this.ja=b;(this.Pa=c)?(this.Wc=q,this.ma(q,q,l,l,q,q)):this.ma(l,l)}C(kB,S);kB.prototype.fa=function(){Xw(this,q);T(this,q);this.xh()}; kB.prototype.ia=function(a){this.Pa&&(G(this.Qb().background(),1-a),G(this.Ja().background(),a));var b=this.D(),b=b/(b+(1.4-0.5*2.8*a*a)*b),b=this.Pa?fx(0,0.7,4,b):b;ye(this.Bg,"scale("+b+", "+b+")");var b=this.D()/2,c=this.C()/2,d="",e="",f=0,h=0,i=0,k=0,n=120*a,p=V(0,1,1,0.5),r=1.5*$w(0,1,a);switch(this.ja){case lB:d="translateX("+-b+"px) translateZ("+r*this.D()+"px) rotateY("+n+"deg) translateX("+b+"px)";e="translateX("+b+"px) translateZ("+r*this.D()+"px) rotateY("+-n+"deg) translateX("+-b+"px)"; this.nc||(f=a*-b,h=a*b,d="translate("+-b+"px, 0px) scale("+p(a)+", 1) translate("+b+"px, 0px",e="translate("+b+"px, 0px) scale("+p(a)+", 1) translate("+-b+"px, 0px");break;case mB:d="translateY("+-c+"px) translateZ("+r*this.C()+"px) rotateX("+-n+"deg) translateY("+c+"px)",e="translateY("+c+"px) translateZ("+r*this.C()+"px) rotateX("+n+"deg) translateY("+-c+"px)",this.nc||(i=a*-c,k=a*c,d="translate(0px,"+-c+"px) scale(1, "+p(a)+") translate(0px, "+c+"px)",e="translate(0px, "+c+"px) scale(1, "+p(a)+ ") translate(0px, "+-c+"px)")}this.nc||(Tc(this.wk,f,i),Tc(this.xk,h,k));ye(this.wk,d);ye(this.xk,e);G(this.wk,1-a);G(this.xk,1-a)}; kB.prototype.xh=function(){var a=this.D(),b=this.C();if(this.Pa){var c=this.Ja().background();this.Z().appendChild(c)}this.Bg=U(a,b);F(this.Bg,"position","absolute");this.Z().appendChild(this.Bg);this.Pa&&(c=this.Qb().background(),this.Z().appendChild(c));this.Bg.getContext("2d").drawImage(this.Pa?this.Ji:this.Ba,0,0);this.wk=U(a,b);c=this.wk.getContext("2d");this.xk=U(a,b);var d=this.xk.getContext("2d"),e=document.createElement("DIV");this.Z().appendChild(e);e.appendChild(this.wk);e.appendChild(this.xk); try{Be(e,a+"px"),Ce(e,a/2+"px "+b/2+"px"),Ae(this.wk),Ae(this.xk),this.nc=l}catch(f){this.nc=q}F(this.wk,"position","absolute");F(this.xk,"position","absolute");c.clearRect(0,0,a,b);d.clearRect(0,0,a,b);e=this.Pa?this.Li:this.ga;switch(this.ja){case lB:c.drawImage(e,0,0,a/2,b,0,0,a/2,b);d.drawImage(e,a/2,0,a/2,b,a/2,0,a/2,b);break;case mB:c.drawImage(e,0,0,a,b/2,0,0,a,b/2),d.drawImage(e,0,b/2,a,b/2,0,b/2,a,b/2)}};var lB=0,mB=1;function nB(a,b,c){S.call(this,a);this.K=b;(this.Pa=c)?this.ma(q,q,l,l,l,l):this.ma(l,l)}C(nB,S); nB.prototype.fa=function(){Xw(this,q);T(this,q);var a=this.D(),b=this.C();if(this.Pa){var c=U(a,b);F(c,"position","absolute");this.Z().appendChild(c);c.getContext("2d").drawImage(this.xs,0,0);this.tk=c;c=U(a,b);F(c,"position","absolute");this.Z().appendChild(c);c.getContext("2d").drawImage(this.Fs,0,0);this.uk=c}this.gc=this.hc(a,b);this.Z().appendChild(this.gc);var d=U(a,b),c=U(a,b);this.fb=hc("DIV");cd(this.fb,a);dd(this.fb,b);this.Kd=this.hc(this.D(),this.C());this.Jd=this.hc(this.D(),this.C()); this.Kd.appendChild(d);this.Jd.appendChild(c);this.gc.appendChild(this.fb);this.fb.appendChild(this.Kd);this.fb.appendChild(this.Jd);d=d.getContext("2d");c=c.getContext("2d");d.drawImage(this.Pa?this.Li:this.ga,0,0);c.drawImage(this.Pa?this.Ji:this.Ba,0,0);d=oB;c=this.K==d.Yd||this.K==d.We?-1:1;d=this.K==d.Yd||this.K==d.vf;Be(this.gc,Math.max(a,b)+"px");Ce(this.gc,this.pg+a/2+"px "+b/2+"px");Ae(this.fb);d?(ye(this.Kd,"translateZ(-"+(this.pg+Math.floor(a/2))+"px) rotateY(0deg)"),ye(this.Jd,"translateX("+ c*(this.pg+Math.floor(a/2))+"px) rotateY("+-90*c+"deg)")):(ye(this.Kd,"translateZ(-"+(this.pg+Math.floor(b/2))+"px) rotateX(0deg)"),ye(this.Jd,"translateY("+c*(this.pg+Math.floor(b/2))+"px) rotateX("+90*c+"deg)"))}; nB.prototype.ia=function(a){var b=this.D(),c=this.C();this.Pa&&(G(this.uk,1-a),G(this.tk,a));var d=0.25*(1-Math.cos(2*a*Math.PI));a=$w(0,1,a);var e=oB,f=this.K==e.Yd||this.K==e.We?-1:1,b=(e=this.K==e.Yd||this.K==e.vf)?b+2*this.pg:c+2*this.pg;e?ye(this.fb,"translateZ("+(-d*b+b/2)+"px) rotateY("+90*f*a+"deg)"):ye(this.fb,"translateZ("+(-d*b+b/2)+"px) rotateX("+90*-f*a+"deg)")};nB.prototype.hc=function(a,b){var c=hc("DIV");cd(c,a);dd(c,b);F(c,"position","absolute");return c};nB.prototype.pg=20; var oB={ri:0,We:1,vf:2,Yd:3};function pB(a,b,c){this.sj=a;this.Xc=b;this.iu=c}function qB(a,b){var c;c=-a.Xc;var d=a.sj,e=-c*b.x()-d*b.y();c=new pB(c,d,e);if(c==m)return m;d=rB(a,c);c=2*d.x()-b.x();d=2*d.y()-b.y();return new Y(c,d)}function rB(a,b){var c=a.sj*b.Xc-b.sj*a.Xc;return 1E-9>Math.abs(c)?m:new Y((a.Xc*b.iu-b.Xc)*a.iu/c,(a.iu*b.sj-b.iu*a.sj)/c)}function sB(a,b){var c=a.y()-b.y(),d=b.x()-a.x(),e=a.x()*b.y()-b.x()*a.y();return new pB(c,d,e)};function tB(a,b){S.call(this,a);this.K=b;this.ma(l,l)}C(tB,Px);w=tB.prototype; w.fa=function(){Xw(this,q);T(this,l);Sx(this,this.ga);var a=this.D(),b=-this.C()/2,a=a/2-0.2*a,c=3*b/4,d=sB(new Y(-a,-b),new Y(a/2,-b/2)),e=sB(new Y(-a/4,-b),new Y(0,0)),f=sB(new Y(a/2,-b/2),new Y(a,b)),h=sB(new Y(0,0),new Y(a,b/4)),i=rB(d,e),k=rB(f,h),n=new Y(V(0,0.5,a,0.8)(k.x()),V(0,0.5,b,1)(k.y())),p=new Y(V(-a,0.2,0,0.5)(i.x()),V(-b,0,0,0.5)(i.y())),r=new X(5*a/8,3*-b/8,-(10*c/16)),s=new X(-a/8,-b/2,15*-c/32),v=new X(a/2,b/8,15*-c/32),z=new X(a/2,b/4,5*-c/6),B=new X(-a/10,b/10,-c),I=new X(4* -a/8,-b/8,3*-c/16),H=new X(-a/16,5*b/8,3*-c/16),K=new X(5*-a/8,5*-b/16,9*-c/8),M=new X(5*a/16,5*b/8,-c),fa=new X(14*-a/32,4*-b/8,0),ba=new X(4*a/8,23*b/32,0),Z=new X(5*-a/16,3*-b/16,-c/4),W=new X(3*a/16,5*b/16,0),e=new X(3*-a/4,3*b/4,0),f=new uB(new X(a,-b,0),new X(15*a/16,9*-b/16,-c),new Y(0.8,0)),h=new uB(new X(7*a/8,7*-b/8,0),new X(9*a/12,-b/2,-(46*c/48)),new Y(0.7625,0.0625)),d=new uB(new X(a/2,-b,0),new X(6*a/9,8*-b/12,47*-c/48),new Y(0.65,0)),c=new uB(new X(a,-b/2,0),new X(19*a/24,4*-b/9,47* -c/48),new Y(0.8,0.25)),ja=new uB(new X(a/2,-b/2,0),r,new Y(0.65,0.25)),i=new uB(new X(i.x(),i.y(),0),s,new Y(p.x(),p.y())),k=new uB(new X(k.x(),k.y(),0),v,new Y(n.x(),n.y())),r=new uB(new X(-a/4,-b,0),r,new Y(0.425,0)),z=new uB(new X(a,b/4,0),z,new Y(0.8,0.625)),B=new uB(new X(0,0,0),B,new Y(0.5,0.5)),I=new uB(new X(-a/2,-b/2,0),I,new Y(0.35,0.25)),H=new uB(new X(a/2,b/2,0),H,new Y(0.65,0.75)),K=new uB(new X(-a,-b,0),K,new Y(0.2,0)),M=new uB(new X(a,b,0),M,new Y(0.8,1)),fa=new uB(new X(-a,-b/2,0), fa,new Y(0.2,0.25)),ba=new uB(new X(a/2,b,0),ba,new Y(0.65,1)),Z=new uB(new X(-a/2,0,0),Z,new Y(0.35,0.5)),W=new uB(new X(0,b/2,0),W,new Y(0.5,0.75)),b=new uB(new X(-a,b,0),e,new Y(0.2,1));this.ff=[f,f,h,h,d,c,h,h,d,c,ja,ja,d,c,i,k,ja,ja,d,c,i,k,r,z,ja,ja,i,k,B,B,i,k,B,B,I,H,i,k,r,z,K,M,i,k,I,H,K,M,B,B,Z,W,I,H,I,H,K,M,fa,ba,I,H,fa,ba,Z,W,B,B,Z,W,b,b,Z,W,fa,ba,b,b];if(this.K==vB){b=[];a=this.C();a=sB(new Y(0,-a/2),new Y(0,a/2));for(f=0;f=a?AB(this,a):0.2>=a?(d=V(0.1,0.1,0.2,1),a=d(a),ay(this,-60*a,[1,0,0],[0,0,0]),mat4.translate(this.ra,[0,0,20*-a]),this.If=xB(a,this.ff),ay(this,-15*c*a,[0,0,1],[0,0,0])):0.4>=a?(this.If=xB(1,this.ff),ay(this,-60,[1,0,0],[0,0,0]),ay(this,-15*c,[0,0,1],[0,0,0]),mat4.translate(this.ra,[0,0,-20]),d=V(0.2,0,0.4,1),a=Math.pow(d(a),3),mat4.translate(this.ra,[0,0,-a*b/20])):0.5>a?(this.If=xB(1,this.ff),ay(this,-60, [1,0,0],[0,0,0]),ay(this,-15*c,[0,0,1],[0,0,0]),mat4.translate(this.ra,[0,0,-(20+b/20)]),d=V(0.4,0,0.5,1),a=d(a),mat4.translate(this.ra,[0,0,-a*b/30]),BB(a,this.ff,this.If,8)):(this.If=xB(1,this.ff),ay(this,-60,[1,0,0],[0,0,0]),ay(this,-15*c,[0,0,1],[0,0,0]),mat4.translate(this.ra,[0,0,-(20+b/20+b/30)]),d=V(0.5,0,1,1),a=d(a),BB(a,this.ff,this.If,40),a=$w(0,1,a),mat4.translate(this.ra,[c*a*b,a*b/2,a*b/2]),ay(this,-30*c*a,[0,0,1],[0,0,0]),ay(this,-60*c*a,[0,1,0],[0,0,0]));gy(this);by(this,this.cF,this.J.TRIANGLES, A(this.$w,this),A(this.Yw,this));Zx(this)};w.$w=function(){this.J.bufferSubData(this.J.ARRAY_BUFFER,0,new Float32Array(Hx(this.If)))};w.Yw=function(){fy(this.If,this.Xx);this.J.bufferSubData(this.J.ARRAY_BUFFER,0,new Float32Array(Jx(this.If)))}; function AB(a,b){var c=V(0,0,0.1,0.1);a.If=xB(c(b),a.ff);ay(a,-60*c(b),[1,0,0],[0,0,0]);c=V(0,0,0.1,1);a.vo=xB(c(b),a.jx);a.op=xB(c(b),a.yy);gy(a);by(a,a.YD,a.J.TRIANGLES,A(function(){this.J.bufferSubData(this.J.ARRAY_BUFFER,0,new Float32Array(Hx(this.vo)))},a),A(function(){fy(this.vo,this.ix);this.J.bufferSubData(this.J.ARRAY_BUFFER,0,new Float32Array(Jx(this.vo)))},a));by(a,a.VF,a.J.TRIANGLES,A(function(){this.J.bufferSubData(this.J.ARRAY_BUFFER,0,new Float32Array(Hx(this.op)))},a),A(function(){fy(this.op, this.xy);this.J.bufferSubData(this.J.ARRAY_BUFFER,0,new Float32Array(Jx(this.op)))},a))} function BB(a,b,c,d){y(d)||(d=50);for(var e=[new CB([0,1],0,0,-5),new CB([2,3,6,7],0,0,-5),new CB([4,8,12,18],0,0,-5),new CB([5,9,13,19],0,0,-5),new CB([20,14,26,30,42,36],0,0,15),new CB([15,21,37,43,31,27],0,0,15),new CB([44,34,52,60,54],0,0,20),new CB([35,45,55,61,53],0,0,20),new CB([40,46,56],0,0,30),new CB([41,47,57],20,20,30),new CB([58,62,74],20,20,15),new CB([75,63,59],0,0,15),new CB([76,70,71,77],0,0,-20)],f=0;fb&&(b=-b,this.Fh=l);this.Ry=b;this.ma(l,q)}C(DB,S);DB.prototype.fa=function(){var a=this.D(),b=this.C();T(this,q);var c=U(a,b);this.Mo=c.getContext("2d");this.ib=U(a,b);this.Lc=this.ib.getContext("2d");this.Lc.scale(1,b/a);a*=0.5;this.vd=Math.sqrt(2*a*a);F(c,"position","absolute");this.Z().appendChild(c)};var EB=1/15; DB.prototype.ia=function(a){var b=this.D();this.C();var c=this.Lc,d=2/this.Ry,e=0.2/this.Ry;this.Fh&&(d=-d,e=-e);c.clearRect(0,0,b,b);for(b=0;b=f)h.beginPath(),h.moveTo(k,k),this.Fh?h.arc(k,k,this.vd,f,i,l):h.arc(k,k,this.vd,f,i,q),h.lineTo(k,k),h.fillStyle="#000",h.fill()}a=this.Mo;a.drawImage(this.Ba,0,0);a.save();a.globalCompositeOperation="destination-in"; a.drawImage(this.ib,0,0);a.restore()};DB.prototype.Or=function(a,b,c,d,e,f,h){var i=this.Lc;i.fillStyle="rgba(0,0,0,"+Qj(h).toString()+")";i.beginPath();i.moveTo(a,b);i.lineTo(c,d);i.lineTo(e,f);i.fill()}; DB.prototype.xw=function(a,b,c,d){var e=0.5*this.D(),f=EB;b-=a;var h=a;if(this.Fh&&h>c||!this.Fh&&h=f;){var i=a+f*b;if(this.Fh&&id)i=d;var k=e+this.vd*Math.cos(i),n=e+this.vd*Math.sin(i);this.Or(e,e,c,h,k,n,1-f);f+=EB;c=k;h=n;if(i==d)break}};function FB(a){S.call(this,a);Au(this.Ja());this.Wc=q}C(FB,S);FB.prototype.fa=function(){Xw(this,l);T(this,l);this.fd=document.createElement("div");cd(this.fd,this.D());dd(this.fd,this.C());F(this.fd,"backgroundColor","#000000");F(this.fd,"position","relative");this.Z().appendChild(this.fd)};FB.prototype.ia=function(a){0.5>a?(G(this.Ja().Ia(),0),G(this.fd,0)):0.8>a?G(this.fd,1):(G(this.fd,0),G(this.Ja().Ia(),1))};function GB(a,b,c){S.call(this,a);this.K=b;this.ic=c;this.Wc=q;this.Uw(b)}C(GB,S);w=GB.prototype;w.fa=function(){Xw(this,l);T(this,l);Au(this.wh())};w.wh=function(){return this.ic?this.Qb():this.Ja()};w.ho=function(){return this.ic?this.Ja():this.Qb()}; w.Uw=function(a){var b=this.D(),c=this.C();this.Sf=this.Rf=0;switch(a){case lz:this.Sf=c;break;case mz:this.Sf=-c;break;case nz:this.Rf=b;break;case oz:this.Rf=-b;break;case pz:this.Rf=b;this.Sf=-c;break;case qz:this.Rf=b;this.Sf=c;break;case rz:this.Rf=-b;this.Sf=-c;break;case sz:this.Rf=-b,this.Sf=c}this.ic&&(this.Rf*=-1,this.Sf*=-1)};w.ia=function(a){this.ic&&(a=1-a);var b=V(0,this.Rf,1,0),c=V(0,this.Sf,1,0);Tc(this.wh().Ia(),b(a),c(a))};function HB(a,b){S.call(this,a);this.K=b;this.Wc=q;this.ma(q,l);var c,d=IB;this.K==JB?(c=KB,this.jd=(1-d)/(c-1),this.kC=2*this.D()/Math.pow(d,2)):(this.jd=0.25,this.kC=2*this.C()/Math.pow(d,2))}C(HB,S);function LB(a,b,c,d,e,f){var h=U(e+1,f+1);h.getContext("2d").drawImage(a.ga,c,d,e,f,0,0,e+1,f+1);b.push(new MB(h,c,d,e,f))} HB.prototype.fa=function(){var a;a=this.K==JB?KB:NB;var b=this.D(),c=this.C();this.zl=[];this.Al=[];for(var d=b/a,e=c/a,f=0,h=0;h=b?0:a.kC*Math.pow(b,2)/2} function PB(a,b){var c=a.C(),d=0,e=a.jd,f=0,h=1,i=e,k=1;a.U()&&(d=c,e=1-e,f=1-f,h=1-h,i=e,k=1-k);if(a.U()){if(b>e)return d}else if(bUB&&a<1-UB){var d=V(UB,1,1-UB,4),e=V(UB,0,1-UB,-30);ye(this.Hs,"rotate("+ e(a)+"deg) scale("+d(a)+", "+d(a)+")")}a>VB&&(this.Zl.clearRect(0,0,b,c),this.ED.clearRect(0,0,b,c),this.Zl.drawImage(this.Ba,0,0),this.Zl.save(),this.Zl.globalCompositeOperation="destination-in",RB(this,this.ED,this.CC,a),this.Zl.drawImage(this.DD,0,0),this.Zl.restore(),this.Bx.drawImage(this.iE,0,0),a=f.gv&&d<=f.gv+0.05?(h=(d-f.gv)/0.05,h=f.Qz?1-h:h):h=da){var b=V(0,0,0.3,1)(a);this.jk(b,l);this.jk(b,q)}var b=this.D(),c=this.C(),c=Math.max(b,c),d=this.K==bC?1:-1;$x(this);0.1<=a&&(0.1=a?(a=V(0.1,0,0.4,1)(a),cC(this,a),mat4.translate(this.ra,[0,0,-a*c/4]),ay(this,-60*a,[1,0,0],[-d*b/4,0,0]),ay(this,45*d*a,[0,0,1],[-d*b/4,0,0])):0.4=a?(a=V(0.4,0,0.5,1)(a),cC(this,1),mat4.translate(this.ra,[0,0,-c/4]),mat4.translate(this.ra,[d*a*c/50,-a*c/50,a*c/50]),ay(this,-60,[1,0,0],[-d* b/4,0,0]),ay(this,45*d,[0,0,1],[-d*b/4,0,0])):0.5a?(a=V(0.5,0,0.55,1)(a),cC(this,1),mat4.translate(this.ra,[0,0,-c/4]),mat4.translate(this.ra,[d*c/50,-c/50,c/50]),ay(this,-60,[1,0,0],[-d*b/4,0,0]),ay(this,45*d,[0,0,1],[-d*b/4,0,0]),ay(this,-1*a,[1,0,0],[0,0,0])):0.55= 0.0 && phase <= CHANGE_PHASE) \n\t\t\t\t{ \n\t\t\t\t\tangle = -ANGLE * (phase + (PHASE_OFFSET_FUNC1(x) * PHASE_FUNC(phase))); \n\t\t\t\t} \n\t\t\t\telse \n\t\t\t\t{ \n\t\t\t\t\tangle = -ANGLE * (phase + PHASE_OFFSET_FUNC1(x)); \n\t\t\t\t} \n\t\t\t\treturn max(angle, -ANGLE); \n\t\t\t} \n\t\t\t\n\t\t\tvec2 getPosition(float x) \n\t\t\t{ \n\t\t\t\tfloat a = uSlideWidth * 0.5 * C_FUNC1(x); \n\t\t\t\tfloat b = a * COEF_1; \n\t\t\t\tvec2 center = vec2(uSlideWidth * 0.5, 0.0); \n\t\t\t\tfloat angle = getAngleInDoubleLeft(x, uPhase); \n\t\t\t\t\n\t\t\t\tvec2 pos = ellipse(angle, center, vec2(a, b)); \n\t\t\t\tpos.y = pos.y - (b * C_FUNC1(x) * PHASE_FUNC1(uPhase)); \n\t\t\t\tpos.y = max(pos.y, 1.0); \n\t\t\t\treturn pos; \n\t\t\t} \n\t\t\t\n\t\t\tvoid main(void) \n\t\t\t{ \n\t\t\t\tvec3 pNormal; \n\t\t\t\tfloat x = aVertexPosition.x; \n\t\t\t\tif (x <= uSlideWidth * 0.5) \n\t\t\t\t{ \n\t\t\t\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0); \n\t\t\t\t\tpNormal = vec3(0.0, 0.0, 1.0); \n\t\t\t\t} \n\t\t\t\telse \n\t\t\t\t{ \n\t\t\t\t\tvec2 pos = getPosition(x); \n\t\t\t\t\tvec3 v = vec3(pos.x, aVertexPosition.y, pos.y); \n\t\t\t\t\tgl_Position = uPMVMatrix * vec4(v, 1.0); \n\t\t\t\t\t\n\t\t\t\t\tfloat nextX = x + uDeltaX; \n\t\t\t\t\tvec2 pr = getPosition(nextX); \n\t\t\t\t\tpNormal = getNormal(v, pr); \n\t\t\t\t} \n\t\t\t\tvec3 transformedNormal = uNMatrix * pNormal; \n\t\t\t\tvNormal = transformedNormal; \n\t\t\t\tvTextureCoord = aTextureCoord; \n\t\t\t} \n\t\t";case 1:return" \n\t\t\tfloat C_FUNC2(float x) \n\t\t\t{ \n\t\t\t\treturn linearInterpolation(x, 0.0, 1.0, uSlideWidth * 0.5, 0.0); \n\t\t\t} \n\t\t\tfloat PHASE_OFFSET_FUNC2(float x) \n\t\t\t{ \n\t\t\t\treturn linearInterpolation(x, 0.0, 0.0, uSlideWidth * 0.5, PHASE_OFFSET); \n\t\t\t} \n\t\t\t\n\t\t\tfloat getAngleInDoubleRight(float x, float phase) \n\t\t\t{ \n\t\t\t\tfloat angle; \n\t\t\t\tif (phase >= 0.0 && phase <= CHANGE_PHASE) \n\t\t\t\t{ \n\t\t\t\t\tangle = ANGLE * (1.0 + phase + (PHASE_OFFSET_FUNC2(x) * PHASE_FUNC(phase))); \n\t\t\t\t} \n\t\t\t\telse \n\t\t\t\t{ \n\t\t\t\t\tangle = ANGLE * (1.0 + phase + PHASE_OFFSET_FUNC2(x)); \n\t\t\t\t} \n\t\t\t\treturn min(angle, ANGLE * 2.0); \n\t\t\t} \n\t\t\t\n\t\t\tvec2 getPosition(float x) \n\t\t\t{ \n\t\t\t\tfloat a = uSlideWidth * 0.5 * C_FUNC2(x); \n\t\t\t\tfloat b = a * COEF_1; \n\t\t\t\tvec2 center = vec2(uSlideWidth * 0.5, 0.0); \n\t\t\t\tfloat angle = getAngleInDoubleRight(x, uPhase); \n\t\t\t\t\n\t\t\t\tvec2 pos = ellipse(angle, center, vec2(a, b)); \n\t\t\t\tpos.y = pos.y - (b * C_FUNC2(x) * PHASE_FUNC1(uPhase)); \n\t\t\t\tpos.y = max(pos.y, 1.0); \n\t\t\t\treturn pos; \n\t\t\t} \n\t\t\t\n\t\t\tvoid main(void) \n\t\t\t{ \n\t\t\t\tvec3 pNormal; \n\t\t\t\tfloat x = aVertexPosition.x; \n\t\t\t\tif (x >= uSlideWidth * 0.5) \n\t\t\t\t{ \n\t\t\t\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0); \n\t\t\t\t\tpNormal = vec3(0.0, 0.0, 1.0); \n\t\t\t\t} \n\t\t\t\telse \n\t\t\t\t{ \n\t\t\t\t\tvec2 pos = getPosition(x); \n\t\t\t\t\tvec3 v = vec3(pos.x, aVertexPosition.y, pos.y); \n\t\t\t\t\tgl_Position = uPMVMatrix * vec4(v, 1.0); \n\t\t\t\t\t\n\t\t\t\t\tfloat nextX = x + uDeltaX; \n\t\t\t\t\tvec2 pr = getPosition(nextX); \n\t\t\t\t\tpNormal = getNormal(v, pr); \n\t\t\t\t} \n\t\t\t\tvec3 transformedNormal = uNMatrix * pNormal; \n\t\t\t\tvNormal = transformedNormal; \n\t\t\t\tvTextureCoord = aTextureCoord; \n\t\t\t} \n\t\t"; case 2:return" \n\t\t\tfloat C_FUNC3(float x) \n\t\t\t{ \n\t\t\t\treturn linearInterpolation(x, 0.0, 0.0, uSlideWidth, 1.0); \n\t\t\t} \n\t\t\t\n\t\t\tfloat PHASE_OFFSET_FUNC3(float x) \n\t\t\t{ \n\t\t return linearInterpolation(x, 0.0, 0.0, uSlideWidth, PHASE_OFFSET); \n\t\t\t} \n\t\t\t\n\t\t\tfloat getAngleInSingleLeft(float x, float phase) \n\t\t\t{ \n\t\t\t\tfloat angle; \n\t\t\t\tif (phase >= 0.0 && phase <= CHANGE_PHASE) \n\t\t\t\t{ \n\t\t\t\t\tangle = -ANGLE * (phase - (PHASE_OFFSET_FUNC3(x) * PHASE_FUNC(phase))); \n\t\t\t\t} \n\t\t\t\telse \n\t\t\t\t{ \n\t\t\t\t\tangle = -ANGLE * (phase - PHASE_OFFSET_FUNC3(x)); \n\t\t\t\t} \n\t\t\t\treturn min(angle, 0.0); \n\t\t\t} \n\t\t\t\n\t\t\tvec2 getPosition(float x) \n\t\t\t{ \n\t\t\t\tfloat a = uSlideWidth * C_FUNC3(x); \n\t\t\t\tfloat b = a * COEF_2; \n\t\t\t\tvec2 center = vec2(0.0, 0.0); \n\t\t\t\tfloat angle = getAngleInSingleLeft(x, uPhase); \n\t\t\t\t\n\t\t\t\tvec2 pos = ellipse(angle, center, vec2(a, b)); \n\t\t\t\tpos.y = pos.y - (b * C_FUNC3(x) * PHASE_FUNC2(uPhase)); \n\t\t\t\tpos.y = max(pos.y, 0.0); \n\t\t\t\treturn pos; \n\t\t\t} \n\t\t\t\n\t\t\tvoid main(void) \n\t\t\t{ \n\t\t\t\tvec2 pos = getPosition(aVertexPosition.x); \n\t vec3 v = vec3(pos.x, aVertexPosition.y, pos.y); \n\t gl_Position = uPMVMatrix * vec4(v, 1.0); \n\t vTextureCoord = aTextureCoord; \n\t \n\t float nextX = aVertexPosition.x + uDeltaX; \n\t vec2 pr = getPosition(nextX); \n\t vec3 pNormal = getNormal(v, pr); \n\t vec3 transformedNormal = uNMatrix * pNormal; \n\t\t\t\tvNormal = transformedNormal; \n\t\t\t} \n\t\t"; case 3:return" \n\t\t\tfloat C_FUNC4(float x) \n\t\t\t{ \n\t\t\t\treturn linearInterpolation(x, 0.0, 1.0, uSlideWidth, 0.0); \n\t\t\t} \n\t\t\t\n\t\t\tfloat PHASE_OFFSET_FUNC4(float x) \n\t\t\t{ \n\t\t\t\treturn linearInterpolation(x, 0.0, PHASE_OFFSET, uSlideWidth, 0.0); \n\t\t\t} \n\t\t\t\n\t\t\tfloat getAngleInSingleRight(float x, float phase) \n\t\t\t{ \n\t\t\t\tfloat angle; \n\t\t\t\tif (phase >= 0.0 && phase <= CHANGE_PHASE) \n\t\t\t\t{ \n\t\t\t\t\tangle = ANGLE * (1.0 + phase - (PHASE_OFFSET_FUNC4(x) * PHASE_FUNC(phase))); \n\t\t\t\t} \n\t\t\t\telse \n\t\t\t\t{ \n\t\t\t\t\tangle = ANGLE * (1.0 + phase - PHASE_OFFSET_FUNC4(x)); \n\t\t\t\t} \n\t\t\t\treturn max(angle, ANGLE); \n\t\t\t} \n\t\t\t\n\t\t\tvec2 getPosition(float x) \n\t\t\t{ \n\t\t\t\tfloat a = uSlideWidth * C_FUNC4(x); \n\t\t\t\tfloat b = a * COEF_2; \n\t\t\t\tvec2 center = vec2(uSlideWidth, 0.0); \n\t\t\t\tfloat angle = getAngleInSingleRight(x, uPhase); \n\t\t\t\t\n\t\t\t\tvec2 pos = ellipse(angle, center, vec2(a, b)); \n\t\t\t\tpos.y = pos.y - (b * C_FUNC4(x) * PHASE_FUNC2(uPhase)); \n\t\t\t\tpos.y = max(pos.y, 0.0); \n\t\t\t\treturn pos; \n\t\t\t} \n\t\t\t\n\t\t\tvoid main(void) \n\t\t\t{ \n\t\t\t\tvec2 pos = getPosition(aVertexPosition.x); \n\t\t\t\tvec3 v = vec3(pos.x, aVertexPosition.y, pos.y); \n\t\t\t\tgl_Position = uPMVMatrix * vec4(v, 1.0); \n\t\t\t\tvTextureCoord = aTextureCoord; \n\t\t\t\t\n\t\t\t\tfloat nextX = aVertexPosition.x + uDeltaX; \n\t\t\t\tvec2 pr = getPosition(nextX); \n\t vec3 pNormal = getNormal(v, pr); \n\t vec3 transformedNormal = uNMatrix * pNormal; \n\t\t\t\tvNormal = transformedNormal; \n\t\t\t} \n\t\t"; default:g(Error("Unknown transition page curl type"))}}w.zb=function(){var a=this.D(),b=this.C();this.Nc=Kx(2,40,a,b);this.Wb=Mx(2,40);this.Oo=new vx;a=Xx(this,Hx(this.Nc),3);this.Oo.wc=a;a=Xx(this,Ix(this.Nc),2);this.Oo.xc=a;a=Yx(this,this.Wb);this.Oo.uc=a};function fC(){var a=Se(),b=Oe&&11>=parseFloat(Li)?q:Se(),c=Te();if(!Eu){var d={"null":function(a){return new Fu(a)},Cut:function(a){return new Uy(a)},CutThroughBlack:function(a){return new FB(a)}};b?(d.BlindsHorizontal=function(a){return new wA(a,1)},d.BlindsVertical=function(a){return new wA(a,cz)}):(d.BlindsHorizontal=function(a){return new Zy(a,1)},d.BlindsVertical=function(a){return new Zy(a,$y)});d.CheckerboardAcross=function(a){return new ix(a,mx)};d.CheckerboardDown=function(a){return new ix(a, jx)};d.Dissolve=function(a){return new px(a)};d.FadeThroughBlack=function(a){return new qA(a)};a?(d.CoverLeft=function(a){return new ez(a,nz,q)},d.CoverUp=function(a){return new ez(a,lz,q)},d.CoverRight=function(a){return new ez(a,oz,q)},d.CoverDown=function(a){return new ez(a,mz,q)},d.CoverLeftUp=function(a){return new ez(a,qz,q)},d.CoverRightUp=function(a){return new ez(a,sz,q)},d.CoverLeftDown=function(a){return new ez(a,pz,q)},d.CoverRightDown=function(a){return new ez(a,rz,q)},d.UncoverLeft= function(a){return new ez(a,nz,l)},d.UncoverUp=function(a){return new ez(a,lz,l)},d.UncoverRight=function(a){return new ez(a,oz,l)},d.UncoverDown=function(a){return new ez(a,mz,l)},d.UncoverLeftUp=function(a){return new ez(a,qz,l)},d.UncoverRightUp=function(a){return new ez(a,sz,l)},d.UncoverLeftDown=function(a){return new ez(a,pz,l)},d.UncoverRightDown=function(a){return new ez(a,rz,l)}):(d.CoverLeft=function(a){return new GB(a,nz,q)},d.CoverUp=function(a){return new GB(a,lz,q)},d.CoverRight=function(a){return new GB(a, oz,q)},d.CoverDown=function(a){return new GB(a,mz,q)},d.CoverLeftUp=function(a){return new GB(a,qz,q)},d.CoverRightUp=function(a){return new GB(a,sz,q)},d.CoverLeftDown=function(a){return new GB(a,pz,q)},d.CoverRightDown=function(a){return new GB(a,rz,q)},d.UncoverLeft=function(a){return new GB(a,nz,l)},d.UncoverUp=function(a){return new GB(a,lz,l)},d.UncoverRight=function(a){return new GB(a,oz,l)},d.UncoverDown=function(a){return new GB(a,mz,l)},d.UncoverLeftUp=function(a){return new GB(a,qz,l)}, d.UncoverRightUp=function(a){return new GB(a,sz,l)},d.UncoverLeftDown=function(a){return new GB(a,pz,l)},d.UncoverRightDown=function(a){return new GB(a,rz,l)});d.RandomBarsHorizontal=function(a){return new bx(a,cx)};d.RandomBarsVertical=function(a){return new bx(a,dx)};d.StripsLeftUp=function(a){return new ny(a,py)};d.StripsRightUp=function(a){return new ny(a,ry)};d.StripsLeftDown=function(a){return new ny(a,oy)};d.StripsRightDown=function(a){return new ny(a,qy)};d.WipeLeft=function(a){return new iy(a, ly)};d.WipeUp=function(a){return new iy(a,ky)};d.WipeRight=function(a){return new iy(a,my)};d.WipeDown=function(a){return new iy(a,jy)};d.BoxOut=function(a){return new aB(a,bB)};d.BoxIn=function(a){return new aB(a,cB)};d.SplitHorizontalOut=function(a){return new Ez(a,Gz)};d.SplitHorizontalIn=function(a){return new Ez(a,Fz)};d.SplitVerticalOut=function(a){return new Ez(a,Iz)};d.SplitVerticalIn=function(a){return new Ez(a,Hz)};d.ShapeCircle=function(a){return new tA(a)};d.ShapeDiamond=function(a){return new YA(a)}; d.CombHorizontal=function(a){return new HB(a,JB)};d.CombVertical=function(a){return new HB(a,1)};d.FadeSmoothly=function(a){return new Yw(a)};d.Newsflash=function(a){return new XA(a)};d.ShapePlus=function(a){return new kA(a)};d.PushDown=function(a){return new eA(a,fA)};d.PushLeft=function(a){return new eA(a,gA)};d.PushRight=function(a){return new eA(a,hA)};d.PushUp=function(a){return new eA(a,iA)};d.Wedge=function(a){return new Xy(a)};d.Wheel1Spoke=function(a){return new DB(a,1)};d.Wheel2Spokes=function(a){return new DB(a, 2)};d.Wheel3Spokes=function(a){return new DB(a,3)};d.Wheel4Spokes=function(a){return new DB(a,4)};d.Wheel8Spokes=function(a){return new DB(a,8)};d.WheelReverse1Spoke=function(a){return new DB(a,-1)};var e=Jy;a?c?(d.VortexLeft=function(a){return new Ny(a,e.Wj)},d.VortexUp=function(a){return new Ny(a,e.Kv)},d.VortexRight=function(a){return new Ny(a,e.si)},d.VortexDown=function(a){return new Ny(a,e.vr)}):(d.VortexLeft=function(a){return new sy(a,e.Wj)},d.VortexUp=function(a){return new sy(a,e.Kv)},d.VortexRight= function(a){return new sy(a,e.si)},d.VortexDown=function(a){return new sy(a,e.vr)}):(d.VortexLeft=function(a){return new px(a)},d.VortexUp=function(a){return new px(a)},d.VortexRight=function(a){return new px(a)},d.VortexDown=function(a){return new px(a)});var f=hx;c&&!Ki&&!Ri?(d.RippleCenter=function(a){return new dz(a,f.tv)},d.RippleRightUp=function(a){return new dz(a,f.Gv)},d.RippleLeftUp=function(a){return new dz(a,f.yv)},d.RippleLeftDown=function(a){return new dz(a,f.xv)},d.RippleRightDown=function(a){return new dz(a, f.Fv)}):(d.RippleCenter=function(a){return new gx(a,f.tv)},d.RippleRightUp=function(a){return new gx(a,f.Gv)},d.RippleLeftUp=function(a){return new gx(a,f.yv)},d.RippleLeftDown=function(a){return new gx(a,f.xv)},d.RippleRightDown=function(a){return new gx(a,f.Fv)});var h=Kz;d.GlitterDiamondLeft=function(a){return new Jz(a,Yz.pr,h.vf)};d.GlitterDiamondUp=function(a){return new Jz(a,Yz.pr,h.ri)};d.GlitterDiamondRight=function(a){return new Jz(a,Yz.pr,h.Yd)};d.GlitterDiamondDown=function(a){return new Jz(a, Yz.pr,h.We)};d.GlitterHexagonLeft=function(a){return new Jz(a,Yz.qr,h.vf)};d.GlitterHexagonUp=function(a){return new Jz(a,Yz.qr,h.ri)};d.GlitterHexagonRight=function(a){return new Jz(a,Yz.qr,h.Yd)};d.GlitterHexagonDown=function(a){return new Jz(a,Yz.qr,h.We)};a?(d.GalleryLeft=function(a){return new Qy(a,Sy,q)},d.GalleryRight=function(a){return new Qy(a,Ty,q)}):(d.GalleryLeft=function(a){return new eA(a,gA)},d.GalleryRight=function(a){return new eA(a,hA)});a?(d.ConveyorLeft=function(a){return new Qy(a, Sy,l)},d.ConveyorRight=function(a){return new Qy(a,Ty,l)}):(d.ConveyorLeft=function(a){return new eB(a,1)},d.ConveyorRight=function(a){return new eB(a,2)});d.DoorsVertical=function(a){return new kB(a,lB,q)};d.DoorsHorizontal=function(a){return new kB(a,mB,q)};d.WindowVertical=function(a){return new kB(a,lB,l)};d.WindowHorizontal=function(a){return new kB(a,mB,l)};d.WarpIn=function(a){return new gB(a,hB,q,q)};d.WarpOut=function(a){return new gB(a,1,q,q)};d.FlyThroughIn=function(a){return new gB(a, hB,l,q)};d.FlyThroughOut=function(a){return new gB(a,1,l,q)};d.FlyThroughInBounce=function(a){return new gB(a,hB,l,l)};d.FlyThroughOutBounce=function(a){return new gB(a,1,l,l)};d.RevealSmoothLeft=function(a){return new KA(a,0)};d.RevealSmoothRight=function(a){return new KA(a,1)};d.RevealBlackLeft=function(a){return new KA(a,2)};d.RevealBlackRight=function(a){return new KA(a,3)};d.Honeycomb=function(a){return new QB(a)};a?(d.FerrisWheelLeft=function(a){return new uA(a,0)},d.FerrisWheelRight=function(a){return new uA(a, vA)}):(d.FerrisWheelLeft=function(a){return new eB(a,0)},d.FerrisWheelRight=function(a){return new eB(a,0)});d.SwitchLeft=function(a){return new lA(a,0,b)};d.SwitchRight=function(a){return new lA(a,mA,b)};d.FlipLeft=function(a){return new Zw(a,0,b)};d.FlipRight=function(a){return new Zw(a,ax,b)};d.Flashbulb=function(a){return new oA(a)};var i=bA;b?(d.ShredStripsIn=function(a){return new aA(a,i.iK)},d.ShredStripsOut=function(a){return new aA(a,i.iC)},d.ShredRectangleIn=function(a){return new aA(a, i.aC)},d.ShredRectangleOut=function(a){return new aA(a,i.Ev)}):(d.ShredStripsIn=function(a){return new px(a)},d.ShredStripsOut=function(a){return new px(a)},d.ShredRectangleIn=function(a){return new px(a)},d.ShredRectangleOut=function(a){return new px(a)});d.CubeLeft=function(a){return new FA(a,IA,q,b)};d.CubeUp=function(a){return new FA(a,HA,q,b)};d.CubeRight=function(a){return new FA(a,JA,q,b)};d.CubeDown=function(a){return new FA(a,GA,q,b)};d.RotateLeft=function(a){return new FA(a,IA,l,b)};d.RotateUp= function(a){return new FA(a,HA,l,b)};d.RotateRight=function(a){return new FA(a,JA,l,b)};d.RotateDown=function(a){return new FA(a,GA,l,b)};var k=oB;b?(d.BoxLeft=function(a){return new nB(a,k.vf,q)},d.BoxUp=function(a){return new nB(a,k.ri,q)},d.BoxRight=function(a){return new nB(a,k.Yd,q)},d.BoxDown=function(a){return new nB(a,k.We,q)},d.OrbitLeft=function(a){return new nB(a,k.vf,l)},d.OrbitUp=function(a){return new nB(a,k.ri,l)},d.OrbitRight=function(a){return new nB(a,k.Yd,l)},d.OrbitDown=function(a){return new nB(a, k.We,l)}):(d.BoxLeft=function(a){return new eA(a,gA)},d.BoxUp=function(a){return new eA(a,iA)},d.BoxRight=function(a){return new eA(a,hA)},d.BoxDown=function(a){return new eA(a,fA)},d.OrbitLeft=function(a){return new eB(a,1)},d.OrbitUp=function(a){return new eB(a,3)},d.OrbitRight=function(a){return new eB(a,2)},d.OrbitDown=function(a){return new eB(a,0)});d.PanLeft=function(a){return new eB(a,1)};d.PanUp=function(a){return new eB(a,3)};d.PanRight=function(a){return new eB(a,2)};d.PanDown=function(a){return new eB(a, 0)};c?(d.AirplaneLeft=function(a){return new aC(a,bC)},d.AirplaneRight=function(a){return new aC(a,1)},d.OrigamiLeft=function(a){return new tB(a,vB)},d.OrigamiRight=function(a){return new tB(a,zB)},d.DrapeLeft=function(a){return new Vy(a,Wy)},d.DrapeRight=function(a){return new Vy(a,1)},d.FallOverLeft=function(a){return new hy(a,0)},d.FallOverRight=function(a){return new hy(a,1)},d.Curtains=function(a){var b=new jA(a);return!b.yB()?new Yw(a):b},d.Fracture=function(a){return new BA(a)},d.Crush=function(a){return new yz(a)}, d.WindRight=function(a){return new PA(a,0)},d.WindLeft=function(a){return new PA(a,1)},d.PeelOffLeft=function(a){return new DA(a,EA)},d.PeelOffRight=function(a){return new DA(a,1)},d.Prestige=function(a){var b=new rA(a);return!b.yB()?new Yw(a):b},d.PageCurlDoubleLeft=function(a){return new dC(a,0)},d.PageCurlDoubleRight=function(a){return new dC(a,1)},d.PageCurlSingleLeft=function(a){return new dC(a,2)},d.PageCurlSingleRight=function(a){return new dC(a,3)}):(d.AirplaneLeft=function(a){return new Yw(a)}, d.AirplaneRight=function(a){return new Yw(a)},d.OrigamiLeft=function(a){return new Yw(a)},d.OrigamiRight=function(a){return new Yw(a)},d.DrapeLeft=function(a){return new Yw(a)},d.DrapeRight=function(a){return new Yw(a)},d.FallOverLeft=function(a){return new Yw(a)},d.FallOverRight=function(a){return new Yw(a)},d.Curtains=function(a){return new Yw(a)},d.Fracture=function(a){return new Yw(a)},d.Crush=function(a){return new Yw(a)},d.WindRight=function(a){return new Yw(a)},d.WindLeft=function(a){return new Yw(a)}, d.PeelOffLeft=function(a){return new Yw(a)},d.PeelOffRight=function(a){return new Yw(a)},d.Prestige=function(a){return new Yw(a)},d.PageCurlDoubleLeft=function(a){return new Yw(a)},d.PageCurlDoubleRight=function(a){return new Yw(a)},d.PageCurlSingleLeft=function(a){return new Yw(a)},d.PageCurlSingleRight=function(a){return new Yw(a)});Eu=d}} var Eu,Du=[["PushUp","PushLeft","PushRight","PushDown"],["ShapePlus","ShapeCircle","ShapeDiamond"],["BlindsVertical","BlindsHorizontal"],["BoxIn","BoxOut"],["CheckerboardAcross","CheckerboardDown"],["Flashbulb"],["WipeDown","WipeUp","WipeLeft","WipeRight"],["RandomBarsVertical","RandomBarsHorizontal"],["FadeSmoothly","FadeThroughBlack"],["null"],["Cut","CutThroughBlack"],["CombHorizontal","CombVertical"],["Dissolve"],["FlyThroughIn","FlyThroughOut","FlyThroughInBounce","FlyThroughOutBounce"],["WarpIn", "WarpOut"],["Newsflash"],["BoxLeft","BoxUp","BoxRight","BoxDown"],["OrbitUp","OrbitDown","OrbitLeft","OrbitRight"],["WindowHorizontal","WindowVertical"],["DoorsHorizontal","DoorsVertical"],["FerrisWheelLeft","FerrisWheelRight"],["SwitchLeft","SwitchRight"],["GalleryLeft","GalleryRight"],["RippleCenter","RippleRightUp","RippleLeftUp","RippleLeftDown","RippleRightDown"],["VortexLeft","VortexRight","VortexUp","VortexDown"],["ShredStripsIn","ShredStripsOut","ShredRectangleIn","ShredRectangleOut"],["FlipLeft", "FlipRight"],"CoverLeft CoverUp CoverRight CoverDown CoverLeftUp CoverRightUp CoverLeftDown CoverRightDown".split(" "),"UncoverDown UncoverLeft UncoverLeftDown UncoverLeftUp UncoverRight UncoverRightDown UncoverRightUp UncoverUp".split(" "),["StripsLeftDown","StripsLeftUp","StripsRightDown","StripsRightUp"],["Honeycomb"],["SplitVerticalIn","SplitVerticalOut","SplitHorizontalIn","SplitHorizontalOut"],"Wedge Wheel1Spoke Wheel2Spokes Wheel3Spokes Wheel4Spokes Wheel8Spokes WheelReverse1Spoke".split(" "), ["RevealSmoothLeft","RevealSmoothRight","RevealBlackLeft","RevealBlackRight"],["CubeLeft","CubeUp","CubeRight","CubeDown"],["RotateLeft","RotateUp","RotateRight","RotateDown"],"GlitterDiamondDown GlitterDiamondUp GlitterDiamondLeft GlitterDiamondRight GlitterHexagonDown GlitterHexagonUp GlitterHexagonLeft GlitterHexagonRight".split(" "),["ConveyorLeft","ConveyorRight"],["PanLeft","PanUp","PanRight","PanDown"],["AirplaneLeft","AirplaneRight"],["OrigamiLeft","OrigamiRight"],["DrapeLeft","DrapeRight"], ["FallOverLeft","FallOverRight"],["Curtains"],["Fracture"],["Crush"],["WindRight","WindLeft"],["PeelOffLeft","PeelOffRight"],["Prestige"],["PageCurlDoubleLeft","PageCurlDoubleRight","PageCurlSingleLeft","PageCurlSingleRight"]];function gC(a){this.sa=a;this.sa.Md.addHandler(this.zM,this);this.qg=[]}function hC(a,b){a.qg.push(b);var c=b.displayObject();ze(c,"0 0");a.sa.displayObject().appendChild(c)}gC.prototype.zM=function(a,b,c,d){for(a=0;aa?this.Ai.Lj(a):ou(this)};function ou(a,b){y(b)||(b=Zi);a.hD&&(a.L.$a().removeHandler(a.VE,a),a.hD=q);Le&&clearInterval(a.mN);a.Ai.Sm()||a.Ai.ip.removeHandler(a.Rx,a);a.Ai.terminate();a.Ai=m;Au(a.vk);Bu(a.ys);Bu(a.vk);a.vk.Om();a.vk=m;a.ys=m;b?He(a.DE,a):a.DE()}jC.prototype.DE=function(){lc(this.Ei);this.fD.I(this.M)};function kC(a,b){this.Kf=a;this.P=b;this.Ha=b.D();this.Fa=b.C();this.hj=mt(b.Q());this.Md=new N;for(var c=b.oq(),d=Ne||Oe,e=[],f=0;ff||f>=this.P.Q().count(),c=h&&e!=m&&0<=e&&"never"!=a.Ui;h&&(f=d.ue());d=c?e:f;b=new mD(this,b);e=new Qu(b);e.Zu(a.Rk());e.dB(c?"resumePlayback":Ru);e.BJ(d);this.Ty.I(e);switch(e.action()){case "resumePlayback":b.hh(e.N());break;case Ru:b.start(e.N());break;case "delayStartup":b.xG= l;break;default:g(Error("unknown startup action"))}};iD.prototype.Nq=function(){return this.Ea.Nq()};iD.prototype.$Q=u("Ty");iD.prototype.startupEvent=iD.prototype.$Q;iD.prototype.startupCompletedEvent=u("vG");iD.prototype.startupCompletedEvent=iD.prototype.startupCompletedEvent;iD.prototype.NP=u("Vw");iD.prototype.initialSlideShownEvent=iD.prototype.NP;iD.prototype.EM=function(){this.zr.kl();this.Oh.kl();this.IL.kl()};iD.prototype.Gg=function(){var a=this.P.va().nl().Kq();a&&a.open()}; iD.prototype.$z=function(){return this.oE.$z()};iD.prototype.executeMetaCommandEvent=iD.prototype.$z;iD.prototype.AO=u("zr");iD.prototype.audioNarrationController=iD.prototype.AO;iD.prototype.jR=u("Oh");iD.prototype.videoNarrationController=iD.prototype.jR;iD.prototype.dM=function(){var a=new ck;this.JC.I(a);a.actionPrevented()||Qe()};iD.prototype.PO=u("JC");iD.prototype.closeWindowEvent=iD.prototype.PO;iD.prototype.stateChangedEvent=u("kj");iD.prototype.stateChangedEvent=iD.prototype.stateChangedEvent; function nD(a,b){return a.sa.Mf.Wk(b)==m&&!(-1==a.sa.H.Ad()&&-1==a.sa.H.Te())}function oD(a,b){return a.sa.Mf.Wk("quizArbitrarySlideSwitching",b)==m} function pD(a,b){var c=a.sa.H.ua(),d=a.sa.H.wd().view(),e=gg(d.kb());switch(b){case "gotoPreviousSlide":return"sequential"!=a.P.va().navigation().Ej()&&d.rB()&&a.sa.Mf.Wk("switchToPreviousSlide")==m;case "skipQuiz":return"atAnyTime"==c.pz&&nD(a,"switchToNextSlide");case "continuePresentation":return c=du(e)?c.ey:c.Jw,"gotoSlide"==c.type()&&oD(a,c.N())||"gotoNextSlide"==c.type()&&nD(a,"quizSwitchToNextSlideWithoutBranching");case "finishAction":return c=du(e)?c.ey:c.Jw,"closePlayerWindow"==c.type()|| "gotoSlide"==c.type()&&oD(a,c.N())||"gotoNextSlide"==c.type()&&nD(a,"quizSwitchToNextSlide")}return q}iD.prototype.uH=function(a){var b=this.sa.H.ua();if(b instanceof Fg)a=pD(this,a);else if(b instanceof dp)a:{switch(a){case "gotoNextPresentationSlide":a=nD(this,"switchToNextSlide");break a;case "gotoPreviousPresentationSlide":a=nD(this,"switchToPreviousSlide");break a}a=q}else a=q;return a};iD.prototype.actionAvailable=iD.prototype.uH; iD.prototype.$K=function(a,b,c){var d=this.P.Q();b=0<=b?d.ta(b):m;c=0<=c?d.ta(c):m;if(b instanceof Fg||c instanceof Fg||b instanceof dp||c instanceof dp)cj?(a.Jl="null",a.ha=0):a.Jl="FadeSmoothly"};iD.prototype.FM=function(){var a=this.sa.H.Ad();this.zr.kn(a);this.Oh.kn(a)};function mD(a,b){this.G=a;this.CG=b}mD.prototype.dN=q;mD.prototype.xG=q;mD.prototype.CG=m;mD.prototype.start=function(a,b){qD(this,a,b,Ru)};mD.prototype.start=mD.prototype.start; mD.prototype.hh=function(a,b){qD(this,a,b,"resumePlayback",this.CG)};mD.prototype.resume=mD.prototype.hh;function qD(a,b,c,d,e){a.dN&&g(Error("presentation was already started"));var f=a.G;if(e){var h=f.Ea.Bk;h.yh=e.yh;h.Lg=e.Lg;h.gj=cb(e.gj);h.jj=l;e=f.P.Q();for(var i=0;ic||c==j)c=(a.rules||a.cssRules).length;a.insertRule?a.insertRule(b,c):(b=/^([^\{]+)\{([^\{]+)\}/.exec(b),3==b.length?a.addRule(b[1],b[2],c):g(Error("Your CSSRule appears to be ill-formatted.")));++FD}}var ED=m,FD=0;function GD(a,b){AD.call(this,b);this.zh=a}C(GD,AD);w=GD.prototype;w.Pn=0;function HD(a,b){b.py.addHandler(a.UE,a);b.hi().addHandler(a.lm,a);b.ii().addHandler(a.Qx,a)}function ID(a,b){b.py.removeHandler(a.UE,a);b.hi().removeHandler(a.lm,a);b.ii().removeHandler(a.Qx,a)}w.Nh=function(){for(var a=0,b=0,c=this.zh.length,d=0;d=a.zh.length)a.He();else{var b=a.wa(),c=a.zh[a.Pn];HD(a,c);c.start(b)}}JD.prototype.lm=function(a){JD.T.lm.call(this,a);KD(this)};function LD(a,b){GD.call(this,a,b)}C(LD,GD);LD.prototype.Iw=q;LD.prototype.start=function(a){LD.T.start.call(this,a);for(var b=0;bc.getTime()-d.getTime()?b=q:(b=b.cP,b=!(b&&0<=c.getTime()-b.getTime())),c=!b;c?pE(this,nE(this,"PLAYER_CORE_PROTECTION_RESTRICTED_TIME_LABEL", "Sorry, the presentation's creator disabled viewing the presentation at the moment"),"time"):a.jF?mE(this,a.Ou()):oE(this)}};function nE(a,b,c){a=a.P.va().fl();return a.hasOwnProperty(b)?a[b]:c}function oE(a){var b=new gE(a.P);a.G=new iD(a.P,b);a.Ak.I(a.G)};var qE=function(){function a(){g(Error("stream error"))}function b(a){return"undefined"==typeof a}function c(b){var c=0,d=b[c++],e=b[c++];(-1==d||-1==e||8!=(d&15)||0!=((d<<8)+e)%31||e&32)&&a();this.Hz=b;this.Jm=c;this.fq=this.hq=this.iq=0;this.Xz=q;this.hu=m}var d=[],e=[],f=[],h,i;(function(){var a=[],b,c=2;for(b=0;8>b;++b)a.push(c),c+=1<<(b>>1);for(b=0;3>b;++b)d.push(b+16);for(b=0;7>=b;++b)d.push((8-b)%8),d.push(8+b);for(b=1;3>b;++b)e.push(b);for(b=0;28>b;++b){var h=b>>1<<16,c=b%8,h=h+((a[c]<<(b- c)/2)+1);e.push(h)}for(b=3;7>b;++b)f.push(b);c=7;for(b=0;24>b;++b)a=b>>2,h=(a<<16)+c,c+=1<b;++b)f.push(258)})();c.prototype.Wz=function(a){var b=this.hu,c=b?b.length:0;if(a>c;this.iq= d-c;this.Jm=h;return e&(1<>16;e&=65535;(0==c||c>d;this.iq=c-d;this.Jm=i;return e};c.prototype.pq=function(a){for(var b=a.length,c=0,d=0;dc&&(c=a[d]);for(var e=1<>=1;for(d=K;d>=1;if(0==n){var p=this.Hz,r=this.Jm,s;b(s=p[r++])&&a();var v=s;b(s=p[r++])&&a();v|=s<<8;b(s=p[r++])&&a();n=s;b(s=p[r++])&&a();(n|s<<8)!=(~v&65535)&&a();this.iq=this.hq=0;s=this.fq;n=this.Wz(s+v);this.fq=v=s+v;for(var z=s;z=B;++B)p[B]=8;for(;255>=B;++B)p[B]= 9;for(;279>=B;++B)p[B]=7;for(;287>=B;++B)p[B]=8;h=this.pq(p);n=Array(31);for(B=0;32>B;++B)n[B]=5;i=this.pq(n);i[0][15]=0;i[0][31]=0}r=h;s=i}else if(2==n){n=this.yj(5)+257;s=this.yj(5)+1;r=this.yj(4)+4;p=Array(d.length);for(B=0;BI)z+1>=v&&(n=this.Wz(z+1),v=n.length),n[z++]=I;else{if(256==I){this.fq=z;break}var I=I-257,I=f[I],H=I>>16;0>16;0=v&&(n=this.Wz(z+p),v=n.length);for(H=0;Hf?(d[++k]=String.fromCharCode(f),++e):191f?(h=c[e+1],d[++k]=String.fromCharCode((f&31)<<6|h&63),e+=2):(h=c[e+1],i=c[e+2],d[++k]=String.fromCharCode((f&15)<<12|(h&63)<<6|i&63),e+=3):++e;b(d.join(""))};function sE(){this.Ak=new N;this.wF=new N}sE.prototype.wj=function(a,b){tD()||(oa(a)?tE(this,a,b):uE(this,a,b))};function uE(a,b,c){rE(b,function(b){(b=Td(b))||g(Error("invalid presentation json!"));tE(a,b,c)})}function tE(a,b,c){b=(new ep).load(b);a.wF.I(b);var d=new lE(b);d.Ak.addHandler(function(a){d.Ak.removeHandler(arguments.callee);a.view().displayObject().id=c;this.Ak.I(a)},a);d.wj()};var vE=xb?"webkitfullscreenchange":wb?"mozfullscreenchange":vb?"MSFullscreenChange":"fullscreenchange";function wE(){var a=Wb().xd;return!(!a.webkitIsFullScreen&&!a.mozFullScreen&&!a.msFullscreenElement&&!a.fullscreenElement)};function xE(a){this.nE=a}xE.prototype.nf=function(a,b,c){a=this.nE.hasOwnProperty(a)?this.nE[a]:c;return y(a)?(y(b)&&(a=Ue(a,b,this.Nw)),a):""};xE.prototype.getMessage=xE.prototype.nf;xE.prototype.Nw=function(a){return"%"+a.toUpperCase()+"%"};function yE(a){return 10>a?"0"+a:""+a};function zE(a,b,c,d){Up.call(this,a,b,c,d);this.BK=new N;this.tK=new N;this.WK=new N}C(zE,Up);w=zE.prototype;w.Op=t();w.vF=t();w.Lu=function(){this.Op(this.coords);this.tK.I()};w.Gq=function(){this.Op(this.coords);this.WK.I()};w.Mu=function(){this.BK.I();this.vF();this.Op(this.coords)};function AE(a){this.NK=a;this.ro=q;this.By=new N;this.zy=new N;D.forEach(a,function(a){J(a,"mouseover",this.rM,q,this);J(a,"mouseout",this.qM,q,this)},this)}AE.prototype.rM=function(){this.ro||(this.ro=l,this.By.I())};AE.prototype.qM=function(a){-1==D.indexOf(this.NK,a.relatedTarget)&&(this.ro=q,this.zy.I())};function BE(){Jp.call(this,"progress_bar");this.ya=1;this.Sc=new Jp("progress");this.$(this.Sc);this.td=new Jp("thumb");this.$(this.td);this.KF=new N;this.LF=new N;this.JF=new N;Me||(this.Ay=new AE([this.displayObject(),this.Sc.displayObject(),this.td.displayObject()]),this.Ay.zy.addHandler(this.AD,this),this.Ay.By.addHandler(this.CN,this),this.td.Kj(0));J(this.displayObject(),Ap,this.Io,q,this)}C(BE,Jp);w=BE.prototype; w.Lj=function(a){a=Math.round(100*a)+"%";Ip(this.Sc,"width",a);Ip(this.td,"left",a)};function CE(a,b){a.ow=Yc(a.qa);var c=a.Xr(b),c=c>a.width()?a.width():c;a.KF.I((0>c?0:c)/a.width())}w.CN=function(){this.Yj&&this.Yj.stop();this.Yj=new DE(this.td);this.Yj.play()};w.AD=function(){this.Yj&&this.Yj.stop();this.Yj=new EE(this.td);this.Yj.play()};w.Xr=function(a){return((a.pc instanceof MouseEvent?a.clientX:a.pc.touches[0].pageX)-this.ow.x)/this.ya}; w.Io=function(a){J(document,Cp,this.Go,q,this);J(document,Bp,this.Ho,q,this);this.LF.I();CE(this,a)};w.Go=function(a){CE(this,a)};w.Ho=function(a){Ld(document,Cp,this.Go,q,this);Ld(document,Bp,this.Ho,q,this);if(Me)return Pj(this.displayObject());CE(this,a);this.JF.I();this.Ay.ro||this.AD()};function DE(a){this.td=a;zE.call(this,[this.td.opacity(),Oj(this.td.displayObject())],[1,1],200)}C(DE,zE);DE.prototype.Op=function(a){this.td.Kj(a[0]);Nj(this.td.displayObject(),a[1])}; function EE(a){this.td=a;zE.call(this,[-1.25],[1],900)}C(EE,zE);EE.prototype.Op=function(a){if(0document.documentElement.clientHeight+200?a.hG=l:a.hG&&Le?(a.hG=q,document.documentElement.clientHeight>a.Mr&&He(function(){VE(this,b)},a,200)):y(a.Rl)||(TE(a,b||q),Ri?a.oC||Pj(document.body):Hi&&(c||window.scrollTo(0,0)))} function TE(a,b){if(Je){var c=window.window.pageYOffset;document.body.style.display="none"}var d=document.documentElement.clientWidth,e=Yi||Gi?window.innerHeight:document.documentElement.clientHeight;document.body.style.display="";Me?Je&&0document.documentElement.clientHeight} w.XC=function(a,b,c){if(a||!(Yi&&Gi&&document.documentElement.clientHeight>window.innerHeight||Ki&&b==this.Tn&&c==this.Mr))this.Tn=b,this.Mr=c,this.rG.I(b,c),Oi&&(bc||n>d)p*=Math.min(1,c/k,d/n),r=-1*(k-c)/(2*p),s=-1*(n-d)/(2*p);else if(k>e||n>f)k>e&&(r=-1*(k-e)/(2*b)),n>f&&(s=-1*(n-f)/(2*b));y(i.ln)?i.ln(a.ya):(k=new Bj,k.scale(p,p),Ne||(s=0),k.translate(r,s),Ej(i.qa,k))}};function aF(a,b,c){NE.call(this,"message_box");this.sk=OE();if(a){var d=new PE("title");d.Dc(a);this.$(d)}a=new PE("message");a.Dc(b);this.$(a);b=new Kp(q,"btn_ok");b.Dc(c);this.$(b);b.Oa.addHandler(this.BE,this)}C(aF,NE);aF.prototype.BE=function(){this.close()};aF.prototype.close=function(){aF.T.close.call(this);Ld(document,"keydown",this.yk,q,this)}; aF.prototype.open=function(){aF.T.open.call(this);Ip(this,"height","");Ip(this,"position","relative");Ip(this,"height",this.height()+"px");Ip(this,"position","");J(document,"keydown",this.yk,q,this)};aF.prototype.yk=function(a){13==a.keyCode&&(this.BE(),a.stopPropagation(),a.preventDefault())};function bF(a,b,c,d){Jp.call(this,c+" "+cF());this.me=a.view();this.P=a.P;this.H=a.view().H;this.Vt=new XE(this.displayObject());this.yg=new xE(b);d&&(this.yp=new RE,this.yp.rG.addHandler(function(a,b){this.Zw(a,b)},this),He(this.yp.fA,this.yp));a.Ty.addHandler(this.yM,this);a.view().Mf.Iu().addHandler(this.sM,this)}C(bF,Jp);bF.prototype.Zw=function(a,b){this.resize(a,b);var c=this.Vt;c.rj.resize(c.ya*a,c.ya*b);c.tx=a;c.qx=b;$E(c)}; bF.prototype.yM=function(a){if("resumePlayback"==a.action()&&"prompt"==this.P.va().qc().Ui){var b=this.H.ue(),c=a.N();a.dB("delayStartup");var d=this.Vt,e=a.wG,f=new QE(this.yg.nf("PB_RESUME_PRESENTATION_WINDOW_TITLE"),this.yg.nf("PB_RESUME_PRESENTATION_WINDOW_TEXT"),this.yg.nf("PB_MESSAGE_BOX_YES"),this.yg.nf("PB_MESSAGE_BOX_NO"));f.Gr.addHandler(function(a,i){f.Gr.removeHandler(arguments.callee);f.close();ZE(d,f);i?e.hh(c,l):e.start(b,l)});YE(d,f);f.open()}}; bF.prototype.sM=function(a){var b={};switch(a.gn().type()){case "currentSlideIsNotCompleted":var c="PB_CURRENT_SLIDE_IS_NOT_COMPLETED";break;case "backwardNavigationIsRestricted":case "forwardNavigationIsRestricted":c="sequential"==this.P.va().navigation().Ej()?"PB_NAVIGATION_IS_SEQUENTIAL":"PB_NAVIGATION_IS_RESTRICTED";break;case "interactionNotCompleted":c="PB_QUIZ_SLIDE_WINDOW_TEXT";break;case "precedingQuizNotPassed":case "precedingQuizFailed":var c="PB_PRECEDING_QUIZ_NOT_PASSED_WINDOW_TEXT", d=this.P.Q();a=d.ta(a.gn().mi()).hr();b["%SLIDE_INDEX%"]=a+1;break;case "precedingQuizNotCompleted":c="PB_PRECEDING_QUIZ_NOT_COMPLETED_WINDOW_TEXT";d=this.P.Q();a=d.wu(a.gn().mi()).index();b["%SLIDE_INDEX%"]=a+1;break;default:return}a=this.yg.nf("PB_RESTRICTION_MESSAGE_BOX_TITLE");c=this.yg.nf(c);c=Ue(c,b);dF(this,a,c)}; function dF(a,b,c){var d=new aF(b,c,a.yg.nf("PB_MESSAGE_BOX_OK")),e=a.me,f=a.H.W().suspended();d.Nn.addHandler(function(){d.Nn.removeHandler(arguments.callee);ZE(this.Vt,d);e.setOverlayDisplayed(q);uu(this.H.W(),f)},a);uu(a.H.W(),l);YE(a.Vt,d);d.open();e.setOverlayDisplayed(l)}function cF(){var a=Me?"mobile":"desktop";Oe?a+=" ie":Le?a+=" android_default":xb?a+=" webkit":ub?a+=" opera":wb&&(a+=" gecko");return a};function eF(a,b,c){bF.call(this,a,b,"free "+(Me?"mobile":"desktop"),l);this.me=a.view();this.$(this.me.displayObject());this.wo=new Dp(document.getElementById("link"));this.H=this.me.H;this.P=a.P;b=new xE(this.P.va().fl()||{});this.Rn=new JE(c,this.P.Q(),b,this.me.Mf,this.me.soundController());this.$(this.Rn);fF(this,q);a.Vw.addHandler(function(a,b,c){if(c){var d=this.H.W(),k=new Jp("launch_layer");k.Ae(q);this.me.displayObject().appendChild(k.displayObject());this.me.setOverlayDisplayed(l);var n= function(a){a&&a.preventDefault&&a.preventDefault();d.pi().removeHandler(n);k.Oa.removeHandler(n);mc(k.displayObject());this.me.setOverlayDisplayed(q);this.H.play()};He(function(){k.Ae(l);d.pi().addHandler(n);Ri?J(k.displayObject(),"click",n,q,this):k.Oa.addHandler(n,this)},this)}},this);var d=new Jp("preloader");d.za(q);this.me.displayObject().appendChild(d.displayObject());this.H.W().Gz().addHandler(function(){d.za(this.H.W().mb())},this);J(document,vE,this.gM,q,this)}C(eF,bF); eF.prototype.Zw=function(a,b){var c=a,d=b;if(this.yi&&this.xi){c=b-(this.wo.height()+3)-this.Rn.height();d=this.xi;a video,#__player_view_id__ .fullscreen .video_player {background-color: black;width: __slide_width__ !important;height: __slide_height__ !important;z-index: 100;}#__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen {background: url("+ e[6]+") no-repeat;}#__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen:hover {background: url("+e[7]+") no-repeat;}#__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen:active {background: url("+e[8]+") no-repeat;}#__player_view_id__ .video_player video {width: 100%;height: 100%;}#__player_view_id__ .video_player.poster_frame_hide_video video {display: none;}#__player_view_id__ .video_player.poster_frame video {opacity: 0;}#__player_view_id__ .video_player.poster_frame_hide_video .poster, #__player_view_id__ .video_player.poster_frame .poster {position: absolute;width: 100%;height: 100%;}#__player_view_id__ .video_player .controls {height: 36px;background: rgba(45, 50, 55, 0.85098);border: 1px solid #444648;cursor: default;border-radius: 4px;}#__player_view_id__ .video_player .controls .progress {background-color: #75787A;height: 14px;left: 62px;top: 0;bottom: 0;margin-top: auto;margin-bottom: auto;cursor: pointer;}#__player_view_id__ .video_player .controls .progress .bookmark {width: 10px;height: 10px;margin-top: -5px;margin-left: -5px;top: 50%;background: url("+ e[9]+") no-repeat;cursor: pointer;}#__player_view_id__ .video_player .controls .progress .bookmark:hover, #__player_view_id__ .video_player .controls .progress .bookmark:active {background: url("+e[10]+") no-repeat;}#__player_view_id__ .video_player .controls .progress .loading {background-color: #B1B3B5;height: 100%;}#__player_view_id__ .video_player .controls .progress .playing {background-color: #fff;height: 100%;}#__player_view_id__ .video_player .controls .progress .tooltip {background: url("+ e[11]+") no-repeat;width: 60px;height: 25px;top: -33px;margin-left: -30px;font-family: Arial;font-size: 12px;padding-top: 2px;text-align: center;}#__player_view_id__ .video_player .controls .volume_popup {border-radius: 3px;background: rgba(45, 50, 55, 0.85098);top: -67px;right: 55px;padding: 8px;}#__player_view_id__ .video_player .controls .volume_popup .volume {background: url("+e[12]+");position: relative;cursor: pointer;width: 12px;height: 48px;}#__player_view_id__ .video_player .controls .volume_popup .volume .back {background: url("+ e[13]+");width: 100%;}#__player_view_id__ .video_player .controls button {width: 100%;height: 100%;}#__player_view_id__ .video_player .controls button.mute {background: url("+e[14]+");}#__player_view_id__ .video_player .controls button.mute:hover {background: url("+e[15]+");}#__player_view_id__ .video_player .controls button.mute:active {background: url("+e[16]+");}#__player_view_id__ .video_player .controls button.mute.selected {background: url("+e[17]+");}#__player_view_id__ .video_player .controls button.mute.selected:hover {background: url("+ e[18]+");}#__player_view_id__ .video_player .controls button.mute.selected:active {background: url("+e[19]+");}#__player_view_id__ .video_player .controls button.play {background: url("+e[20]+") no-repeat;}#__player_view_id__ .video_player .controls button.play:hover {background: url("+e[21]+") no-repeat;}#__player_view_id__ .video_player .controls button.play:active {background: url("+e[22]+") no-repeat;}#__player_view_id__ .video_player .controls button.play.selected {background: url("+e[23]+") no-repeat;}#__player_view_id__ .video_player .controls button.play.selected:hover {background: url("+ e[24]+") no-repeat;}#__player_view_id__ .video_player .controls button.play.selected:active {background: url("+e[25]+") no-repeat;}#__player_view_id__ .video_player .controls button.play:after {background: url("+e[26]+");width: 1px;height: 32px;right: 0;top: 1px;position: absolute;content: '';}#__player_view_id__ .video_player .controls button.toggle_fullscreen {background: url("+e[27]+") no-repeat;}#__player_view_id__ .video_player .controls button.toggle_fullscreen:hover {background: url("+e[28]+ ") no-repeat;}#__player_view_id__ .video_player .controls button.toggle_fullscreen:active {background: url("+e[29]+") no-repeat;}#__player_view_id__ .video_player .controls button.toggle_fullscreen:before {background: url("+e[26]+") no-repeat;width: 1px;height: 32px;left: 0;top: 1px;position: absolute;content: '';}#__player_view_id__ .video_player .controls .component_container.toggle_fullscreen, #__player_view_id__ .video_player .controls .component_container.play {width: 52px;height: 34px;}#__player_view_id__ .video_player .controls .component_container.toggle_fullscreen {right: -1px;}#__player_view_id__ .video_player .controls .component_container.mute {width: 22px;height: 22px;right: 58px;top: 6px;}.popup_layer {position: absolute;}.popup_layer .modal_layer {background: #000000;opacity: 0.4;z-index: 10;width: 100%;height: 100%;}.popup_layer .message_box,.popup_layer .confirm_window {background: #FFF;border-radius: 5px;border: 1px solid rgba(0, 0, 0, 0.75);width: 357px;height: 150px;position: absolute;top: 0;right: 0;bottom: 0;left: 0;margin: auto;z-index: 10;}.popup_layer .message_box:after,.popup_layer .confirm_window:after {background-color: #E6E6E6;width: 100%;height: 1px;top: 30px;position: absolute;content: '';}.popup_layer .message_box .title,.popup_layer .message_box .message,.popup_layer .confirm_window .title,.popup_layer .confirm_window .message {font-family: Helvetica,sans-serif;font-size: 14px;color: #323232;}.popup_layer .message_box .title,.popup_layer .confirm_window .title {position: absolute;left: 13px;top: 7px;font-weight: bold;background: transparent;}.popup_layer .message_box .message,.popup_layer .confirm_window .message {position: absolute;top: 47px;left: 69px;margin-right: 5px;}.popup_layer .message_box .message:before,.popup_layer .confirm_window .message:before {background-color: #E6E6E6;width: 35px;height: 35px;left: -45px;position: absolute;content: '';}.popup_layer .message_box button,.popup_layer .confirm_window button {font-size: 14px;border-radius: 5px;color: #323232;width: 68px;height: 30px;}.popup_layer .message_box button, .popup_layer .message_box button.mobile:hover, .popup_layer .message_box button.mobile:active,.popup_layer .confirm_window button,.popup_layer .confirm_window button.mobile:hover,.popup_layer .confirm_window button.mobile:active {background: #D4D4D4;}.popup_layer .message_box button:hover, .popup_layer .message_box button:active, .popup_layer .message_box button.mobile.active,.popup_layer .confirm_window button:hover,.popup_layer .confirm_window button:active,.popup_layer .confirm_window button.mobile.active {background: #B8B8B8;}.popup_layer .confirm_window button.btn_yes {left: 101px;top: 98px;}.popup_layer .confirm_window button.btn_no {left: 181px;top: 98px;}.popup_layer .confirm_window .message:before {background: url("+ e[30]+");}.popup_layer .message_box button.btn_ok {left: 141px;top: 98px;}.popup_layer .message_box .message:before {background: url("+e[31]+");}/*# sourceMappingURL=style.css.map */";for(var f in d)if(d.hasOwnProperty(f)){var r="__"+f.replace(RegExp("\\.","g"),"_")+"__";e=e.replace(RegExp(r,"g"),d[f])}for(var s in a)a.hasOwnProperty(s)&&(e=e.replace(RegExp(s,"g"),a[s]));e=e.replace(/__verticalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,b.bL);Cc(e)});e.Ak.addHandler(function(a){var b=a.P.va().fl(), b=(new eF(a,b,new Ve({banner:'\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t', fullscreen_icon:'\t\t\t\t\t\t\t\t\t\t', next_icon:'',play_pause_icon:'', prev_icon:'',volume_bg:'\t\t\t\t\t\t\t\t\t\t\t', volume_icon:'\t\t\t', volume_progress:''}))).displayObject(); f.appendChild(b);a.start()});e.wj(a,c)},j);})(); ;window.Modernizr=function(a,b,c){function u(a){i.cssText=a}function v(a,b){return u(prefixes.join(a+";")+(b||""))}function w(a,b){return typeof a===b}function x(a,b){return!!~(""+a).indexOf(b)}function y(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:w(f,"function")?f.bind(d||b):f}return!1}var d="2.5.3",e={},f=b.documentElement,g="modernizr",h=b.createElement(g),i=h.style,j,k={}.toString,l={svg:"http://www.w3.org/2000/svg"},m={},n={},o={},p=[],q=p.slice,r,s={}.hasOwnProperty,t;!w(s,"undefined")&&!w(s.call,"undefined")?t=function(a,b){return s.call(a,b)}:t=function(a,b){return b in a&&w(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=q.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(q.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(q.call(arguments)))};return e}),m.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="",(a.firstChild&&a.firstChild.namespaceURI)==l.svg};for(var z in m)t(m,z)&&(r=z.toLowerCase(),e[r]=m[z](),p.push((e[r]?"":"no-")+r));return u(""),h=j=null,e._version=d,e}(this,this.document);// glMatrix v0.9.5 glMatrixArrayType=typeof Float32Array!="undefined"?Float32Array:typeof WebGLFloatArray!="undefined"?WebGLFloatArray:Array;var vec3={};vec3.create=function(a){var b=new glMatrixArrayType(3);if(a){b[0]=a[0];b[1]=a[1];b[2]=a[2]}return b};vec3.set=function(a,b){b[0]=a[0];b[1]=a[1];b[2]=a[2];return b};vec3.add=function(a,b,c){if(!c||a==c){a[0]+=b[0];a[1]+=b[1];a[2]+=b[2];return a}c[0]=a[0]+b[0];c[1]=a[1]+b[1];c[2]=a[2]+b[2];return c}; vec3.subtract=function(a,b,c){if(!c||a==c){a[0]-=b[0];a[1]-=b[1];a[2]-=b[2];return a}c[0]=a[0]-b[0];c[1]=a[1]-b[1];c[2]=a[2]-b[2];return c};vec3.negate=function(a,b){b||(b=a);b[0]=-a[0];b[1]=-a[1];b[2]=-a[2];return b};vec3.scale=function(a,b,c){if(!c||a==c){a[0]*=b;a[1]*=b;a[2]*=b;return a}c[0]=a[0]*b;c[1]=a[1]*b;c[2]=a[2]*b;return c}; vec3.normalize=function(a,b){b||(b=a);var c=a[0],d=a[1],e=a[2],g=Math.sqrt(c*c+d*d+e*e);if(g){if(g==1){b[0]=c;b[1]=d;b[2]=e;return b}}else{b[0]=0;b[1]=0;b[2]=0;return b}g=1/g;b[0]=c*g;b[1]=d*g;b[2]=e*g;return b};vec3.cross=function(a,b,c){c||(c=a);var d=a[0],e=a[1];a=a[2];var g=b[0],f=b[1];b=b[2];c[0]=e*b-a*f;c[1]=a*g-d*b;c[2]=d*f-e*g;return c};vec3.length=function(a){var b=a[0],c=a[1];a=a[2];return Math.sqrt(b*b+c*c+a*a)};vec3.dot=function(a,b){return a[0]*b[0]+a[1]*b[1]+a[2]*b[2]}; vec3.direction=function(a,b,c){c||(c=a);var d=a[0]-b[0],e=a[1]-b[1];a=a[2]-b[2];b=Math.sqrt(d*d+e*e+a*a);if(!b){c[0]=0;c[1]=0;c[2]=0;return c}b=1/b;c[0]=d*b;c[1]=e*b;c[2]=a*b;return c};vec3.lerp=function(a,b,c,d){d||(d=a);d[0]=a[0]+c*(b[0]-a[0]);d[1]=a[1]+c*(b[1]-a[1]);d[2]=a[2]+c*(b[2]-a[2]);return d};vec3.str=function(a){return"["+a[0]+", "+a[1]+", "+a[2]+"]"};var mat3={}; mat3.create=function(a){var b=new glMatrixArrayType(9);if(a){b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];b[9]=a[9]}return b};mat3.set=function(a,b){b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];return b};mat3.identity=function(a){a[0]=1;a[1]=0;a[2]=0;a[3]=0;a[4]=1;a[5]=0;a[6]=0;a[7]=0;a[8]=1;return a}; mat3.transpose=function(a,b){if(!b||a==b){var c=a[1],d=a[2],e=a[5];a[1]=a[3];a[2]=a[6];a[3]=c;a[5]=a[7];a[6]=d;a[7]=e;return a}b[0]=a[0];b[1]=a[3];b[2]=a[6];b[3]=a[1];b[4]=a[4];b[5]=a[7];b[6]=a[2];b[7]=a[5];b[8]=a[8];return b};mat3.toMat4=function(a,b){b||(b=mat4.create());b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=0;b[4]=a[3];b[5]=a[4];b[6]=a[5];b[7]=0;b[8]=a[6];b[9]=a[7];b[10]=a[8];b[11]=0;b[12]=0;b[13]=0;b[14]=0;b[15]=1;return b}; mat3.str=function(a){return"["+a[0]+", "+a[1]+", "+a[2]+", "+a[3]+", "+a[4]+", "+a[5]+", "+a[6]+", "+a[7]+", "+a[8]+"]"};var mat4={};mat4.create=function(a){var b=new glMatrixArrayType(16);if(a){b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];b[9]=a[9];b[10]=a[10];b[11]=a[11];b[12]=a[12];b[13]=a[13];b[14]=a[14];b[15]=a[15]}return b}; mat4.set=function(a,b){b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];b[9]=a[9];b[10]=a[10];b[11]=a[11];b[12]=a[12];b[13]=a[13];b[14]=a[14];b[15]=a[15];return b};mat4.identity=function(a){a[0]=1;a[1]=0;a[2]=0;a[3]=0;a[4]=0;a[5]=1;a[6]=0;a[7]=0;a[8]=0;a[9]=0;a[10]=1;a[11]=0;a[12]=0;a[13]=0;a[14]=0;a[15]=1;return a}; mat4.transpose=function(a,b){if(!b||a==b){var c=a[1],d=a[2],e=a[3],g=a[6],f=a[7],h=a[11];a[1]=a[4];a[2]=a[8];a[3]=a[12];a[4]=c;a[6]=a[9];a[7]=a[13];a[8]=d;a[9]=g;a[11]=a[14];a[12]=e;a[13]=f;a[14]=h;return a}b[0]=a[0];b[1]=a[4];b[2]=a[8];b[3]=a[12];b[4]=a[1];b[5]=a[5];b[6]=a[9];b[7]=a[13];b[8]=a[2];b[9]=a[6];b[10]=a[10];b[11]=a[14];b[12]=a[3];b[13]=a[7];b[14]=a[11];b[15]=a[15];return b}; mat4.determinant=function(a){var b=a[0],c=a[1],d=a[2],e=a[3],g=a[4],f=a[5],h=a[6],i=a[7],j=a[8],k=a[9],l=a[10],o=a[11],m=a[12],n=a[13],p=a[14];a=a[15];return m*k*h*e-j*n*h*e-m*f*l*e+g*n*l*e+j*f*p*e-g*k*p*e-m*k*d*i+j*n*d*i+m*c*l*i-b*n*l*i-j*c*p*i+b*k*p*i+m*f*d*o-g*n*d*o-m*c*h*o+b*n*h*o+g*c*p*o-b*f*p*o-j*f*d*a+g*k*d*a+j*c*h*a-b*k*h*a-g*c*l*a+b*f*l*a}; mat4.inverse=function(a,b){b||(b=a);var c=a[0],d=a[1],e=a[2],g=a[3],f=a[4],h=a[5],i=a[6],j=a[7],k=a[8],l=a[9],o=a[10],m=a[11],n=a[12],p=a[13],r=a[14],s=a[15],A=c*h-d*f,B=c*i-e*f,t=c*j-g*f,u=d*i-e*h,v=d*j-g*h,w=e*j-g*i,x=k*p-l*n,y=k*r-o*n,z=k*s-m*n,C=l*r-o*p,D=l*s-m*p,E=o*s-m*r,q=1/(A*E-B*D+t*C+u*z-v*y+w*x);b[0]=(h*E-i*D+j*C)*q;b[1]=(-d*E+e*D-g*C)*q;b[2]=(p*w-r*v+s*u)*q;b[3]=(-l*w+o*v-m*u)*q;b[4]=(-f*E+i*z-j*y)*q;b[5]=(c*E-e*z+g*y)*q;b[6]=(-n*w+r*t-s*B)*q;b[7]=(k*w-o*t+m*B)*q;b[8]=(f*D-h*z+j*x)*q; b[9]=(-c*D+d*z-g*x)*q;b[10]=(n*v-p*t+s*A)*q;b[11]=(-k*v+l*t-m*A)*q;b[12]=(-f*C+h*y-i*x)*q;b[13]=(c*C-d*y+e*x)*q;b[14]=(-n*u+p*B-r*A)*q;b[15]=(k*u-l*B+o*A)*q;return b};mat4.toRotationMat=function(a,b){b||(b=mat4.create());b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];b[9]=a[9];b[10]=a[10];b[11]=a[11];b[12]=0;b[13]=0;b[14]=0;b[15]=1;return b}; mat4.toMat3=function(a,b){b||(b=mat3.create());b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[4];b[4]=a[5];b[5]=a[6];b[6]=a[8];b[7]=a[9];b[8]=a[10];return b};mat4.toInverseMat3=function(a,b){var c=a[0],d=a[1],e=a[2],g=a[4],f=a[5],h=a[6],i=a[8],j=a[9],k=a[10],l=k*f-h*j,o=-k*g+h*i,m=j*g-f*i,n=c*l+d*o+e*m;if(!n)return null;n=1/n;b||(b=mat3.create());b[0]=l*n;b[1]=(-k*d+e*j)*n;b[2]=(h*d-e*f)*n;b[3]=o*n;b[4]=(k*c-e*i)*n;b[5]=(-h*c+e*g)*n;b[6]=m*n;b[7]=(-j*c+d*i)*n;b[8]=(f*c-d*g)*n;return b}; mat4.multiply=function(a,b,c){c||(c=a);var d=a[0],e=a[1],g=a[2],f=a[3],h=a[4],i=a[5],j=a[6],k=a[7],l=a[8],o=a[9],m=a[10],n=a[11],p=a[12],r=a[13],s=a[14];a=a[15];var A=b[0],B=b[1],t=b[2],u=b[3],v=b[4],w=b[5],x=b[6],y=b[7],z=b[8],C=b[9],D=b[10],E=b[11],q=b[12],F=b[13],G=b[14];b=b[15];c[0]=A*d+B*h+t*l+u*p;c[1]=A*e+B*i+t*o+u*r;c[2]=A*g+B*j+t*m+u*s;c[3]=A*f+B*k+t*n+u*a;c[4]=v*d+w*h+x*l+y*p;c[5]=v*e+w*i+x*o+y*r;c[6]=v*g+w*j+x*m+y*s;c[7]=v*f+w*k+x*n+y*a;c[8]=z*d+C*h+D*l+E*p;c[9]=z*e+C*i+D*o+E*r;c[10]=z* g+C*j+D*m+E*s;c[11]=z*f+C*k+D*n+E*a;c[12]=q*d+F*h+G*l+b*p;c[13]=q*e+F*i+G*o+b*r;c[14]=q*g+F*j+G*m+b*s;c[15]=q*f+F*k+G*n+b*a;return c};mat4.multiplyVec3=function(a,b,c){c||(c=b);var d=b[0],e=b[1];b=b[2];c[0]=a[0]*d+a[4]*e+a[8]*b+a[12];c[1]=a[1]*d+a[5]*e+a[9]*b+a[13];c[2]=a[2]*d+a[6]*e+a[10]*b+a[14];return c}; mat4.multiplyVec4=function(a,b,c){c||(c=b);var d=b[0],e=b[1],g=b[2];b=b[3];c[0]=a[0]*d+a[4]*e+a[8]*g+a[12]*b;c[1]=a[1]*d+a[5]*e+a[9]*g+a[13]*b;c[2]=a[2]*d+a[6]*e+a[10]*g+a[14]*b;c[3]=a[3]*d+a[7]*e+a[11]*g+a[15]*b;return c}; mat4.translate=function(a,b,c){var d=b[0],e=b[1];b=b[2];if(!c||a==c){a[12]=a[0]*d+a[4]*e+a[8]*b+a[12];a[13]=a[1]*d+a[5]*e+a[9]*b+a[13];a[14]=a[2]*d+a[6]*e+a[10]*b+a[14];a[15]=a[3]*d+a[7]*e+a[11]*b+a[15];return a}var g=a[0],f=a[1],h=a[2],i=a[3],j=a[4],k=a[5],l=a[6],o=a[7],m=a[8],n=a[9],p=a[10],r=a[11];c[0]=g;c[1]=f;c[2]=h;c[3]=i;c[4]=j;c[5]=k;c[6]=l;c[7]=o;c[8]=m;c[9]=n;c[10]=p;c[11]=r;c[12]=g*d+j*e+m*b+a[12];c[13]=f*d+k*e+n*b+a[13];c[14]=h*d+l*e+p*b+a[14];c[15]=i*d+o*e+r*b+a[15];return c}; mat4.scale=function(a,b,c){var d=b[0],e=b[1];b=b[2];if(!c||a==c){a[0]*=d;a[1]*=d;a[2]*=d;a[3]*=d;a[4]*=e;a[5]*=e;a[6]*=e;a[7]*=e;a[8]*=b;a[9]*=b;a[10]*=b;a[11]*=b;return a}c[0]=a[0]*d;c[1]=a[1]*d;c[2]=a[2]*d;c[3]=a[3]*d;c[4]=a[4]*e;c[5]=a[5]*e;c[6]=a[6]*e;c[7]=a[7]*e;c[8]=a[8]*b;c[9]=a[9]*b;c[10]=a[10]*b;c[11]=a[11]*b;c[12]=a[12];c[13]=a[13];c[14]=a[14];c[15]=a[15];return c}; mat4.rotate=function(a,b,c,d){var e=c[0],g=c[1];c=c[2];var f=Math.sqrt(e*e+g*g+c*c);if(!f)return null;if(f!=1){f=1/f;e*=f;g*=f;c*=f}var h=Math.sin(b),i=Math.cos(b),j=1-i;b=a[0];f=a[1];var k=a[2],l=a[3],o=a[4],m=a[5],n=a[6],p=a[7],r=a[8],s=a[9],A=a[10],B=a[11],t=e*e*j+i,u=g*e*j+c*h,v=c*e*j-g*h,w=e*g*j-c*h,x=g*g*j+i,y=c*g*j+e*h,z=e*c*j+g*h;e=g*c*j-e*h;g=c*c*j+i;if(d){if(a!=d){d[12]=a[12];d[13]=a[13];d[14]=a[14];d[15]=a[15]}}else d=a;d[0]=b*t+o*u+r*v;d[1]=f*t+m*u+s*v;d[2]=k*t+n*u+A*v;d[3]=l*t+p*u+B* v;d[4]=b*w+o*x+r*y;d[5]=f*w+m*x+s*y;d[6]=k*w+n*x+A*y;d[7]=l*w+p*x+B*y;d[8]=b*z+o*e+r*g;d[9]=f*z+m*e+s*g;d[10]=k*z+n*e+A*g;d[11]=l*z+p*e+B*g;return d};mat4.rotateX=function(a,b,c){var d=Math.sin(b);b=Math.cos(b);var e=a[4],g=a[5],f=a[6],h=a[7],i=a[8],j=a[9],k=a[10],l=a[11];if(c){if(a!=c){c[0]=a[0];c[1]=a[1];c[2]=a[2];c[3]=a[3];c[12]=a[12];c[13]=a[13];c[14]=a[14];c[15]=a[15]}}else c=a;c[4]=e*b+i*d;c[5]=g*b+j*d;c[6]=f*b+k*d;c[7]=h*b+l*d;c[8]=e*-d+i*b;c[9]=g*-d+j*b;c[10]=f*-d+k*b;c[11]=h*-d+l*b;return c}; mat4.rotateY=function(a,b,c){var d=Math.sin(b);b=Math.cos(b);var e=a[0],g=a[1],f=a[2],h=a[3],i=a[8],j=a[9],k=a[10],l=a[11];if(c){if(a!=c){c[4]=a[4];c[5]=a[5];c[6]=a[6];c[7]=a[7];c[12]=a[12];c[13]=a[13];c[14]=a[14];c[15]=a[15]}}else c=a;c[0]=e*b+i*-d;c[1]=g*b+j*-d;c[2]=f*b+k*-d;c[3]=h*b+l*-d;c[8]=e*d+i*b;c[9]=g*d+j*b;c[10]=f*d+k*b;c[11]=h*d+l*b;return c}; mat4.rotateZ=function(a,b,c){var d=Math.sin(b);b=Math.cos(b);var e=a[0],g=a[1],f=a[2],h=a[3],i=a[4],j=a[5],k=a[6],l=a[7];if(c){if(a!=c){c[8]=a[8];c[9]=a[9];c[10]=a[10];c[11]=a[11];c[12]=a[12];c[13]=a[13];c[14]=a[14];c[15]=a[15]}}else c=a;c[0]=e*b+i*d;c[1]=g*b+j*d;c[2]=f*b+k*d;c[3]=h*b+l*d;c[4]=e*-d+i*b;c[5]=g*-d+j*b;c[6]=f*-d+k*b;c[7]=h*-d+l*b;return c}; mat4.frustum=function(a,b,c,d,e,g,f){f||(f=mat4.create());var h=b-a,i=d-c,j=g-e;f[0]=e*2/h;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=e*2/i;f[6]=0;f[7]=0;f[8]=(b+a)/h;f[9]=(d+c)/i;f[10]=-(g+e)/j;f[11]=-1;f[12]=0;f[13]=0;f[14]=-(g*e*2)/j;f[15]=0;return f};mat4.perspective=function(a,b,c,d,e){a=c*Math.tan(a*Math.PI/360);b=a*b;return mat4.frustum(-b,b,-a,a,c,d,e)}; mat4.ortho=function(a,b,c,d,e,g,f){f||(f=mat4.create());var h=b-a,i=d-c,j=g-e;f[0]=2/h;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=2/i;f[6]=0;f[7]=0;f[8]=0;f[9]=0;f[10]=-2/j;f[11]=0;f[12]=-(a+b)/h;f[13]=-(d+c)/i;f[14]=-(g+e)/j;f[15]=1;return f}; mat4.lookAt=function(a,b,c,d){d||(d=mat4.create());var e=a[0],g=a[1];a=a[2];var f=c[0],h=c[1],i=c[2];c=b[1];var j=b[2];if(e==b[0]&&g==c&&a==j)return mat4.identity(d);var k,l,o,m;c=e-b[0];j=g-b[1];b=a-b[2];m=1/Math.sqrt(c*c+j*j+b*b);c*=m;j*=m;b*=m;k=h*b-i*j;i=i*c-f*b;f=f*j-h*c;if(m=Math.sqrt(k*k+i*i+f*f)){m=1/m;k*=m;i*=m;f*=m}else f=i=k=0;h=j*f-b*i;l=b*k-c*f;o=c*i-j*k;if(m=Math.sqrt(h*h+l*l+o*o)){m=1/m;h*=m;l*=m;o*=m}else o=l=h=0;d[0]=k;d[1]=h;d[2]=c;d[3]=0;d[4]=i;d[5]=l;d[6]=j;d[7]=0;d[8]=f;d[9]= o;d[10]=b;d[11]=0;d[12]=-(k*e+i*g+f*a);d[13]=-(h*e+l*g+o*a);d[14]=-(c*e+j*g+b*a);d[15]=1;return d};mat4.str=function(a){return"["+a[0]+", "+a[1]+", "+a[2]+", "+a[3]+", "+a[4]+", "+a[5]+", "+a[6]+", "+a[7]+", "+a[8]+", "+a[9]+", "+a[10]+", "+a[11]+", "+a[12]+", "+a[13]+", "+a[14]+", "+a[15]+"]"};quat4={};quat4.create=function(a){var b=new glMatrixArrayType(4);if(a){b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3]}return b};quat4.set=function(a,b){b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];return b}; quat4.calculateW=function(a,b){var c=a[0],d=a[1],e=a[2];if(!b||a==b){a[3]=-Math.sqrt(Math.abs(1-c*c-d*d-e*e));return a}b[0]=c;b[1]=d;b[2]=e;b[3]=-Math.sqrt(Math.abs(1-c*c-d*d-e*e));return b};quat4.inverse=function(a,b){if(!b||a==b){a[0]*=1;a[1]*=1;a[2]*=1;return a}b[0]=-a[0];b[1]=-a[1];b[2]=-a[2];b[3]=a[3];return b};quat4.length=function(a){var b=a[0],c=a[1],d=a[2];a=a[3];return Math.sqrt(b*b+c*c+d*d+a*a)}; quat4.normalize=function(a,b){b||(b=a);var c=a[0],d=a[1],e=a[2],g=a[3],f=Math.sqrt(c*c+d*d+e*e+g*g);if(f==0){b[0]=0;b[1]=0;b[2]=0;b[3]=0;return b}f=1/f;b[0]=c*f;b[1]=d*f;b[2]=e*f;b[3]=g*f;return b};quat4.multiply=function(a,b,c){c||(c=a);var d=a[0],e=a[1],g=a[2];a=a[3];var f=b[0],h=b[1],i=b[2];b=b[3];c[0]=d*b+a*f+e*i-g*h;c[1]=e*b+a*h+g*f-d*i;c[2]=g*b+a*i+d*h-e*f;c[3]=a*b-d*f-e*h-g*i;return c}; quat4.multiplyVec3=function(a,b,c){c||(c=b);var d=b[0],e=b[1],g=b[2];b=a[0];var f=a[1],h=a[2];a=a[3];var i=a*d+f*g-h*e,j=a*e+h*d-b*g,k=a*g+b*e-f*d;d=-b*d-f*e-h*g;c[0]=i*a+d*-b+j*-h-k*-f;c[1]=j*a+d*-f+k*-b-i*-h;c[2]=k*a+d*-h+i*-f-j*-b;return c};quat4.toMat3=function(a,b){b||(b=mat3.create());var c=a[0],d=a[1],e=a[2],g=a[3],f=c+c,h=d+d,i=e+e,j=c*f,k=c*h;c=c*i;var l=d*h;d=d*i;e=e*i;f=g*f;h=g*h;g=g*i;b[0]=1-(l+e);b[1]=k-g;b[2]=c+h;b[3]=k+g;b[4]=1-(j+e);b[5]=d-f;b[6]=c-h;b[7]=d+f;b[8]=1-(j+l);return b}; quat4.toMat4=function(a,b){b||(b=mat4.create());var c=a[0],d=a[1],e=a[2],g=a[3],f=c+c,h=d+d,i=e+e,j=c*f,k=c*h;c=c*i;var l=d*h;d=d*i;e=e*i;f=g*f;h=g*h;g=g*i;b[0]=1-(l+e);b[1]=k-g;b[2]=c+h;b[3]=0;b[4]=k+g;b[5]=1-(j+e);b[6]=d-f;b[7]=0;b[8]=c-h;b[9]=d+f;b[10]=1-(j+l);b[11]=0;b[12]=0;b[13]=0;b[14]=0;b[15]=1;return b};quat4.slerp=function(a,b,c,d){d||(d=a);var e=c;if(a[0]*b[0]+a[1]*b[1]+a[2]*b[2]+a[3]*b[3]<0)e=-1*c;d[0]=1-c*a[0]+e*b[0];d[1]=1-c*a[1]+e*b[1];d[2]=1-c*a[2]+e*b[2];d[3]=1-c*a[3]+e*b[3];return d}; quat4.str=function(a){return"["+a[0]+", "+a[1]+", "+a[2]+", "+a[3]+"]"};