/*
 * Copyright CADMAI Software GmbH.
 * All rights reserved.
 *
 * Redistribution (includes making available on a web location) is permitted 
 * provided that the following conditions are met:
 *
 * The redistributor must hold one of these licenses:
 * a valid CADMAI WebGl-Publisher license (SingleWebGlPubLic)
 * a valid CADMAI WebGl-Publisher Revit export license (SingleWebGlRevitExportLic)
 * a valid CADMAI WebGl-Publisher Inventor export license (SingleWebGlInventorExportLic)
 * or a written permission of CADMAI Software GmbH 
 *
 * The redistributor / user does not have the right to change, translate,
 * back-develop, decompile or disassemble the software.
 * 
 * Redistributions must retain the above copyright notice, 
 * this list of conditions and the following disclaimer.
 *   
 * Neither the name of CADMAI Software GmbH nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 "\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74";window.requestAnimFrame=(function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(w5){window.setTimeout(w5,1000/60);};})();window.cancelAnimationFrame=(function(){return window.cancelAnimationFrame||window.mozCancelAnimationFrame||function(id){clearTimeout(id);};})();var Ns=function(n3){var Rq=new Array();jn(null,n3,Rq);return Rq;};function jn(xY,n3,Rq){var cD=null;if(xY==null)cD=n3.getEntityCollection();else cD=xY.getSubComponents(false);for(var G=0;G<cD.length;G++){if(cD[G].getClassName()=="\x63\x6d\x69\x43\x6f\x6d\x70\x6f\x6e\x65\x6e\x74\x4f\x62\x6a\x65\x63\x74"){var aO=cD[G].getCenterPoint();if(cD[G].getSubComponents(false).length>0)jn(cD[G],null,Rq);else Rq.push(cD[G]);};}};var tF=function(){this.Df="";this.eY=null;this.u7=null;this.pM=null;this.DR=null;this.CN=null;this.my=null;this.me=null;this.Pe=null;this.Fp=null;this.J5=null;this.Vx=null;this.pT=null;this.ZS=null;this._N=null;this.Z0=null;this.gf=null;this.TT=null;this.A8=null;this.X1=null;this.DU=false;this.CF=null;};var CmiAnimation=function(o,Q_,y_){var oL="\x63\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x4f\x62\x6a\x65\x63\x74";var q=null;var AC=false;var pZ="\x6e\x6f\x4e\x61\x6d\x65";var Rj=new Array();var BB=Rj;var g=null;var Um=60;var yK=0;var XC=0;var uU=0;var Rb=0;var OT=null;var R6=null;var zx=null;var Rf;var sS=0;var yQ=0;var iI=false;var kx=false;var Rx=0;var Td=false;var aP=[0.0,0.0,0.0,0.0];var Hi=new Array(0.0,0.0,0.0,0.0);var BJ=new Array(0.0,0.0,0.0);var s0=new Array(0.0,0.0,0.0);var Vu=new Array(0.0,0.0,0.0);var i0=new Array(0.0,0.0,0.0);var k6=false;if(o)q=o;else return;AC=q.selectionEnabled;if(Q_)Um=Q_;if(y_)pZ=y_;this.getClassName=function(){return oL;};this.getAnimationName=function(){return pZ;};this.SD=function(){return Hi;};this.setExplosionCenter=function(pD,YN,qF){Hi=new Array(pD,YN,qF);};var cJ=function(){zx=requestAnimFrame(cJ);q.drawScene();};this.loadFromJSON=function(jsonObject){if(jsonObject.clNm=="\x61\x6e\x44\x65\x66"){if(jsonObject.anNm)pZ=jsonObject.anNm;if(jsonObject.anFps)Um=jsonObject.anFps;if(jsonObject.anStps){var jAS=null;var D1=jsonObject.anStps;var Km=new Array();for(var G=0;G<D1.length;G++){jAS=D1[G];switch(jAS.clNm){case "\x61\x6e\x48\x65\x41\x6e\x44\x6c\x74\x61\x43\x68":if((jAS.ang)&&(jAS.stps))this.addHeadupAngleDltaChange(jAS.ang,jAS.stps);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x68\x65\x61\x64\x75\x70\x20\x61\x6e\x67\x6c\x65\x20\x63\x68\x61\x6e\x67\x65\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x48\x65\x41\x6e\x41\x62\x73\x43\x68":if((jAS.ang)&&(jAS.stps))this.addHeadupAngleAbsChange(jAS.ang,jAS.stps);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x68\x65\x61\x64\x75\x70\x20\x61\x6e\x67\x6c\x65\x20\x63\x68\x61\x6e\x67\x65\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x53\x63\x52\x6f\x74":if((jAS.org)&&(jAS.ang)&&(jAS.stps))this.addSceneRotation(jAS.org[0],jAS.org[1],jAS.org[2],jAS.ang[0],jAS.ang[1],jAS.ang[2],jAS.stps);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x73\x63\x65\x6e\x65\x20\x72\x6f\x74\x61\x74\x69\x6f\x6e\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x45\x78\x70\x6c\x56\x69\x65\x77":if((jAS.B3)&&(jAS.nt)&&(jAS.stps))this.addExplosionView(jAS.B3,jAS.nt,jAS.stps);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x65\x78\x70\x6c\x6f\x73\x69\x6f\x6e\x20\x76\x69\x65\x77\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x53\x63\x52\x6f\x74\x56\x77\x72":if((jAS.ang)&&(jAS.stps))this.addSceneRotationAroundViewerPos(jAS.ang[0],jAS.ang[1],jAS.ang[2],jAS.stps);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x73\x63\x65\x6e\x65\x20\x72\x6f\x74\x61\x74\x69\x6f\x6e\x20\x61\x72\x6f\x75\x6e\x64\x20\x76\x69\x65\x77\x65\x72\x20\x70\x6f\x73\x69\x74\x69\x6f\x6e\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x53\x63\x54\x72":if((jAS.dst)&&(jAS.stps))this.addSceneTranslation(jAS.dst[0],jAS.dst[1],jAS.dst[2],jAS.stps);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x73\x63\x65\x6e\x65\x20\x74\x72\x61\x6e\x73\x6c\x61\x74\x69\x6f\x6e\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x53\x63\x54\x72\x56\x77\x72":if((jAS.dst)&&(jAS.stps))this.addSceneTranslationFromViewerPos(jAS.dst[0],jAS.dst[1],jAS.dst[2],jAS.stps);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x73\x63\x65\x6e\x65\x20\x74\x72\x61\x6e\x73\x6c\x61\x74\x69\x6f\x6e\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x4d\x76\x56\x77\x54\x67\x74\x50\x6f\x73":if((jAS.pos)&&(jAS.stps))this.addMoveViewerToTargetPos(jAS.pos[0],jAS.pos[1],jAS.pos[2],jAS.stps);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x6d\x6f\x76\x65\x20\x76\x69\x65\x77\x65\x72\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x4d\x76\x56\x77\x54\x67\x74\x4c\x6f\x63":if((jAS.enm)&&(jAS.stps))this.addMoveViewerToTargetLocatorByName(jAS.enm,jAS.stps);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x6d\x6f\x76\x65\x20\x76\x69\x65\x77\x65\x72\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x53\x63\x5a\x6f":if((jAS.fct)&&(jAS.stps))this.addSceneZoom(jAS.fct,jAS.stps);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x73\x63\x65\x6e\x65\x20\x7a\x6f\x6f\x6d\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x53\x63\x5a\x6f\x41\x6c\x6c":if((jAS.stps))this.addSceneZoomAll(jAS.stps);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x73\x63\x65\x6e\x65\x20\x7a\x6f\x6f\x6d\x20\x61\x6c\x6c\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x53\x68\x56\x69":if((jAS.vnm)&&(jAS.stps))this.addShowView(jAS.vnm,jAS.stps);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x73\x68\x6f\x77\x20\x76\x69\x65\x77\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x50\x73\x65":if(jAS.wt)this.addPause(jAS.wt);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x70\x61\x75\x73\x65\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x4d\x6f\x64\x52\x6f\x74":if((jAS.Nh)&&(jAS.org)&&(jAS.ang)&&(jAS.stps))this.addEntityRotationByNames(jAS.Nh,jAS.org[0],jAS.org[1],jAS.org[2],jAS.ang[0],jAS.ang[1],jAS.ang[2],jAS.stps);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x65\x6e\x74\x69\x74\x79\x20\x72\x6f\x74\x61\x74\x69\x6f\x6e\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x4d\x6f\x64\x54\x72":if((jAS.Nh)&&(jAS.dst)&&(jAS.stps))this.addEntityTranslationByNames(jAS.Nh,jAS.dst[0],jAS.dst[1],jAS.dst[2],jAS.stps);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x65\x6e\x74\x69\x74\x79\x20\x74\x72\x61\x6e\x73\x6c\x61\x74\x69\x6f\x6e\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x45\x6e\x52\x6f\x74":if((jAS.enm)&&(jAS.org)&&(jAS.ang)&&(jAS.stps))this.addEntityRotationByNames(jAS.enm,jAS.org[0],jAS.org[1],jAS.org[2],jAS.ang[0],jAS.ang[1],jAS.ang[2],jAS.stps);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x65\x6e\x74\x69\x74\x79\x20\x72\x6f\x74\x61\x74\x69\x6f\x6e\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x45\x6e\x54\x72":if((jAS.enm)&&(jAS.dst)&&(jAS.stps))this.addEntityTranslationByNames(jAS.enm,jAS.dst[0],jAS.dst[1],jAS.dst[2],jAS.stps);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x65\x6e\x74\x69\x74\x79\x20\x74\x72\x61\x6e\x73\x6c\x61\x74\x69\x6f\x6e\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x45\x6e\x50\x6f\x73":if((jAS.enm)&&(jAS.pos)&&(jAS.stps))this.addEntityPositioningByName(jAS.enm,jAS.pos[0],jAS.pos[1],jAS.pos[2],jAS.stps);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x65\x6e\x74\x69\x74\x79\x20\x70\x6f\x73\x69\x74\x69\x6f\x6e\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x45\x6e\x55\x6e\x50\x6f\x73":if((jAS.enm)&&(jAS.stps))this.addEntityUnPositioningByNames(jAS.enm,jAS.stps);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x65\x6e\x74\x69\x74\x79\x20\x75\x6e\x70\x6f\x73\x69\x74\x69\x6f\x6e\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x45\x6e\x42\x6c":if((jAS.enm)&&(jAS.col)&&(jAS.stps)&&(jAS.wt))this.addEntityBlinkingByNames(jAS.enm,jAS.col,jAS.stps,jAS.wt);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x65\x6e\x74\x69\x74\x79\x20\x62\x6c\x69\x6e\x6b\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x45\x6e\x43\x6f\x6c":if((jAS.enm)&&(jAS.col)&&(jAS.flags))this.addEntityColorSettingByNames(jAS.enm,jAS.col,jAS.flags);else if((jAS.enm)&&(jAS.col))this.addEntityColorSettingByNames(jAS.enm,jAS.col,"");else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x65\x6e\x74\x69\x74\x79\x20\x63\x6f\x6c\x6f\x72\x20\x73\x65\x74\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x45\x6e\x55\x6e\x43\x6f\x6c":if((jAS.enm))this.addEntityColorResetByNames(jAS.enm);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x65\x6e\x74\x69\x74\x79\x20\x63\x6f\x6c\x6f\x72\x20\x72\x65\x73\x65\x74\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x53\x65\x71\x53\x74":if(jAS.stps)this.addSequenceStart(jAS.stps);else q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x73\x65\x71\x75\x65\x6e\x63\x65\x20\x73\x74\x61\x72\x74\x20\x64\x65\x66\x69\x6e\x69\x74\x69\x6f\x6e","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");break;case "\x61\x6e\x53\x65\x71\x45\x6e\x64":this.addSequenceEnd();break;};};}return 0;}else{q.s("\x43\x6d\x69\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x2e\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e","\x57\x72\x6f\x6e\x67\x20\x63\x6c\x61\x73\x73\x20\x66\x72\x6f\x6d\x20\x6c\x6f\x61\x64\x46\x72\x6f\x6d\x4a\x53\x4f\x4e\x20\x63\x61\x6c\x6c","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}};this.addHeadupAngleDltaChange=function(uA,L5){var Y;if(iI)return-1;Y=new tF();Y.Df="\x68\x61\x64\x63";Y.eY=uA;Y.u7=L5;BB.push(Y);return 0;};var Ci=function(){if(uU>=yK){if(OT!=null)clearInterval(OT);OT=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if((sS<yQ-1)||(kx)){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);};}else{var Ws=q.getHeadUpAngle4FirstPersonView();q.setHeadUpAngle4FirstPersonView(Ws+g.J5);uU++;}};this.addHeadupAngleAbsChange=function(gg,L5){var Y;if(iI)return-1;Y=new tF();Y.Df="\x68\x61\x61\x63";Y.eY=gg;Y.u7=L5;BB.push(Y);return 0;};var TR=function(){if(uU>=yK){if(OT!=null)clearInterval(OT);OT=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if((sS<yQ-1)||(kx)){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);};}else{var Yx=q.getHeadUpAngle4FirstPersonView();q.setHeadUpAngle4FirstPersonView(Yx+g.J5);uU++;}};this.addSceneRotation=function(oj,xn,q7,Vs,XN,Pg,L5){var Y;if(iI)return-1;Y=new tF();Y.Df="\x73\x72";Y.eY=oj;Y.u7=xn;Y.pM=q7;Y.DR=Vs;Y.CN=XN;Y.my=Pg;Y.me=L5;BB.push(Y);return 0;};var mU=function(){if(uU>=yK){if(OT!=null)clearInterval(OT);OT=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if((sS<yQ-1)||(kx)){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);};}else{q.AB(g.J5,g.Vx,g.pT,g.ZS,g._N,g.Z0);uU++;}};this.addExplosionView=function(UZ,eh,L5){var Y;if(iI)return-1;Y=new tF();Y.Df="\x65\x76";Y.eY="";Y.u7=UZ;Y.pM=eh;Y.DR=L5;BB.push(Y);return 0;};var BT=function(){if(uU>=yK){if(OT!=null)clearInterval(OT);OT=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if((sS<yQ-1)||(kx)){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);};}else{var G;var P;var ii;for(G=0;G<g.J5.length;G++){P=g.J5[G].HY;ii=g.CF[G];mat4.translate(P,[ii[0],ii[1],ii[2]]);}ii=g.CF[g.CF.length-2];BJ[0]=BJ[0]+ii[0];BJ[1]=BJ[1]+ii[1];BJ[2]=BJ[2]+ii[2];q.getCmiModel().Wk(BJ);ii=g.CF[g.CF.length-1];s0[0]=s0[0]+ii[0];s0[1]=s0[1]+ii[1];s0[2]=s0[2]+ii[2];q.getCmiModel().CY(s0);uU++;}};this.addSceneRotationAroundViewerPos=function(Vs,XN,Pg,L5){var Y;if(iI)return-1;Y=new tF();Y.Df="\x73\x72\x76";Y.eY=Vs;Y.u7=XN;Y.pM=Pg;Y.DR=L5;BB.push(Y);return 0;};var Fb=function(){if(uU>=yK){if(OT!=null)clearInterval(OT);OT=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if((sS<yQ-1)||(kx)){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);};}else{q.eT(g.J5,g.Vx,g.pT);uU++;}};this.addSceneTranslation=function(m2,_H,B8,L5){var Y;if(iI)return-1;Y=new tF();Y.Df="\x73\x74";Y.eY=m2;Y.u7=_H;Y.pM=B8;Y.DR=L5;BB.push(Y);return 0;};var vu=function(){if(uU>=yK){if(OT!=null)clearInterval(OT);OT=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if((sS<yQ-1)||(kx)){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);};}else{q.setViewTranslationValues(g.J5,g.Vx,g.pT);uU++;}};this.addSceneTranslationFromViewerPos=function(m2,_H,B8,L5){var Y;if(iI)return-1;Y=new tF();Y.Df="\x73\x74\x76";Y.eY=m2;Y.u7=_H;Y.pM=B8;Y.DR=L5;BB.push(Y);return 0;};var Yc=function(){if(uU>=yK){if(OT!=null)clearInterval(OT);OT=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if((sS<yQ-1)||(kx)){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);};}else{q._G(g.J5,g.Vx,g.pT);uU++;}};this.addMoveViewerToTargetPos=function(Py,fK,wn,L5){var Y;if(iI)return-1;Y=new tF();Y.Df="\x6d\x76\x74\x70";Y.eY=Py;Y.u7=fK;Y.pM=wn;Y.DR=L5;BB.push(Y);return 0;};var _8=function(){if(uU>=yK){if(OT!=null)clearInterval(OT);OT=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if((sS<yQ-1)||(kx)){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);};}else{var Em=q.getCurrentViewerPosition();var hr=Em[0]-((Em[0]-g.J5)/(g.DR-uU));var TI=Em[1]-((Em[1]-g.Vx)/(g.DR-uU));var lb=Em[2]-((Em[2]-g.pT)/(g.DR-uU));q.moveViewerToModelPosition(hr,TI,lb);uU++;}};this.addMoveViewerToTargetLocatorByName=function(PS,L5){var Y;if(iI)return-1;Y=new tF();Y.Df="\x6d\x76\x74\x6c";Y.eY=PS;Y.u7=L5;BB.push(Y);return 0;};var VT=function(){if(uU>=yK){if(OT!=null)clearInterval(OT);OT=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if((sS<yQ-1)||(kx)){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);};}else{var Em=q.getCurrentViewerPosition();var hr=Em[0]-((Em[0]-g.J5)/(g.u7-uU));var TI=Em[1]-((Em[1]-g.Vx)/(g.u7-uU));var lb=Em[2]-((Em[2]-g.pT)/(g.u7-uU));q.moveViewerToModelPosition(hr,TI,lb);if(!((g.gf==0.0)&&(g.TT==0.0)&&(g.A8==0.0))){var W0=g.ZS+g.gf*(uU+1);var Lv=g._N+g.TT*(uU+1);var On=g.Z0+g.A8*(uU+1);q.rotateViewerToModelAngles(W0,Lv,On);}uU++;}};this.addSceneZoom=function(eh,L5){var Y;if(iI)return-1;Y=new tF();Y.Df="\x73\x7a";Y.eY=eh;Y.u7=L5;BB.push(Y);return 0;};var _2=function(){if(uU>=yK){if(OT!=null)clearInterval(OT);OT=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if((sS<yQ-1)||(kx)){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);};}else{q.AE(g.J5);uU++;}};this.addSceneZoomAll=function(L5){var Y;if(iI)return-1;Y=new tF();Y.Df="\x73\x7a\x61";Y.eY=1.0;Y.u7=L5;aP=q.getCmiModel().p7();BB.push(Y);return 0;};var rV=function(){if(uU>=yK){if(OT!=null)clearInterval(OT);OT=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if((sS<yQ-1)||(kx)){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);};}else{q.zoomAll();uU++;}};this.addShowView=function(eI,L5){var Y;if(iI)return-1;Y=new tF();Y.Df="\x73\x76";Y.eY=eI;Y.u7=L5;BB.push(Y);return 0;};var XH=function(){if(uU>=yK){if(OT!=null)clearInterval(OT);OT=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if((sS<yQ-1)||(kx)){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);};}else{q.bI(Rf);uU++;}};this.addPause=function(p6){var Y;if(iI)return-1;Y=new tF();Y.Df="\x70\x73";Y.eY=p6;BB.push(Y);return 0;};var pu=function(){if(OT!=null)clearInterval(OT);OT=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if((sS<yQ-1)||(kx)){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);}};this.addEntityRotationByNames=function(pk,oj,xn,q7,Vs,XN,Pg,L5){var Y;if(iI)return-1;Y=new tF();Y.Df="\x65\x72";Y.eY=pk;Y.u7=oj;Y.pM=xn;Y.DR=q7;Y.CN=Vs;Y.my=XN;Y.me=Pg;Y.Pe=L5;BB.push(Y);return 0;};var tZ=function(){if(uU>=yK){if(OT!=null)clearInterval(OT);OT=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if((sS<yQ-1)||(kx)){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);};}else{var G;var P;for(G=0;G<g.J5.length;G++){P=g.J5[G].P;mat4.translate(P,[g.Vx,g.pT,g.ZS]);mat4.rotateX(P,g._N*Math.PI/180.0);mat4.rotateY(P,g.Z0*Math.PI/180.0);mat4.rotateZ(P,g.gf*Math.PI/180.0);mat4.translate(P,[-g.Vx,-g.pT,-g.ZS]);}uU++;}};this.addModelRotation=function(oa,oj,xn,q7,Vs,XN,Pg,L5){var Y;if(iI)return-1;Y=new tF();Y.Df="\x6d\x72";Y.eY=oa;Y.u7=oj;Y.pM=xn;Y.DR=q7;Y.CN=Vs;Y.my=XN;Y.me=Pg;Y.Pe=L5;BB.push(Y);return 0;};var DA=function(){if(uU>=yK){if(OT!=null)clearInterval(OT);OT=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if((sS<yQ-1)||(kx)){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);};}else{var G;var P=g.J5.P;mat4.translate(P,[g.Vx,g.pT,g.ZS]);mat4.rotateX(P,g._N*Math.PI/180.0);mat4.rotateY(P,g.Z0*Math.PI/180.0);mat4.rotateZ(P,g.gf*Math.PI/180.0);mat4.translate(P,[-g.Vx,-g.pT,-g.ZS]);uU++;}};this.addEntityTranslationByNames=function(pk,m2,_H,B8,L5){var Y;if(iI)return-1;Y=new tF();Y.Df="\x65\x74";Y.eY=pk;Y.u7=m2;Y.pM=_H;Y.DR=B8;Y.CN=L5;BB.push(Y);return 0;};var qy=function(){if(uU>=yK){if(OT!=null)clearInterval(OT);OT=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if((sS<yQ-1)||(kx)){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);};}else{var G;var P;for(G=0;G<g.J5.length;G++){P=g.J5[G].P;mat4.translate(P,[g.Vx,g.pT,g.ZS]);}uU++;}};this.addModelTranslation=function(oa,m2,_H,B8,L5){var Y;if(iI)return-1;Y=new tF();Y.Df="\x6d\x74";Y.eY=oa;Y.u7=m2;Y.pM=_H;Y.DR=B8;Y.CN=L5;BB.push(Y);return 0;};var oD=function(){if(uU>=yK){if(OT!=null)clearInterval(OT);OT=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if((sS<yQ-1)||(kx)){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);};}else{var G;var P=g.J5.P;mat4.translate(P,[g.Vx,g.pT,g.ZS]);uU++;}};this.addEntityPositioningByName=function(entityName,Py,fK,wn,L5){var Y;if(iI)return-1;Y=new tF();Y.Df="\x65\x70";Y.eY=entityName;Y.u7=Py;Y.pM=fK;Y.DR=wn;Y.CN=L5;BB.push(Y);return 0;};this.addEntityUnPositioningByNames=function(pk,L5){var Y;if(iI)return-1;Y=new tF();Y.Df="\x65\x75";Y.eY=pk;Y.u7=L5;BB.push(Y);return 0;};var P3=function(){if(uU>=yK){if(OT!=null)clearInterval(OT);OT=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if((sS<yQ-1)||(kx)){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);};}else{var G;var Lm;var P;var WQ;for(G=0;G<g.J5.length;G++){WQ=g.J5[G];P=WQ.P;P[0]=P[0]-WQ.jT[0];P[1]=P[1]-WQ.jT[1];P[2]=P[2]-WQ.jT[2];P[3]=P[3]-WQ.jT[3];P[4]=P[4]-WQ.jT[4];P[5]=P[5]-WQ.jT[5];P[6]=P[6]-WQ.jT[6];P[7]=P[7]-WQ.jT[7];P[8]=P[8]-WQ.jT[8];P[9]=P[9]-WQ.jT[9];P[10]=P[10]-WQ.jT[10];P[11]=P[11]-WQ.jT[11];P[12]=P[12]-WQ.jT[12];P[13]=P[13]-WQ.jT[13];P[14]=P[14]-WQ.jT[14];P[15]=P[15]-WQ.jT[15];}uU++;}};this.addEntityBlinkingByNames=function(pk,color,L5,pause){var Y;var G;if(iI)return-1;Y=new tF();Y.Df="\x65\x62";Y.eY=pk;Y.u7=color;Y.pM=L5;Y.DR=pause;BB.push(Y);return 0;};this.addEntityBlinking=function(entities,color,L5,pause){var Y;var G;if(iI)return-1;Y=new tF();Y.Df="\x65\x62\x45";Y.eY=entities;Y.u7=color;Y.pM=L5;Y.DR=pause;BB.push(Y);return 0;};var XL=function(){if(uU>=yK){if(R6!=null)clearTimeout(R6);R6=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if((sS<yQ-1)||(kx)){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);};}else{var G;for(G=0;G<g.J5.length;G++){g.J5[G].CB=true;}if(R6!=null)clearTimeout(R6);R6=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;R6=setTimeout(Do,g.ZS);zx=requestAnimFrame(cJ);}};var Do=function(){if(R6!=null)clearTimeout(R6);R6=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;R6=setTimeout(FL,g.ZS);};var FL=function(){var G;for(G=0;G<g.J5.length;G++){g.J5[G].CB=false;}if(R6!=null)clearTimeout(R6);R6=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;R6=setTimeout(XD,g.ZS);zx=requestAnimFrame(cJ);};var XD=function(){if(R6!=null)clearTimeout(R6);R6=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;R6=setTimeout(XL,g.ZS);uU++;};this.addEntityColorSettingByNames=function(pk,color,flags){var Y;if(iI)return-1;Y=new tF();Y.Df="\x65\x63\x73";Y.eY=pk;Y.u7=color;Y.pM=flags;BB.push(Y);return 0;};this.addEntityColorSetting=function(entities,color,flags){var Y;if(iI)return-1;Y=new tF();Y.Df="\x65\x63\x73\x45";Y.eY=entities;Y.u7=color;Y.pM=flags;BB.push(Y);return 0;};var Ef=function(){if(uU>=yK){if(OT!=null)clearInterval(OT);OT=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if((sS<yQ-1)||(kx)){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);};}else{var G;for(G=0;G<g.J5.length;G++){g.J5[G].CB=true;}uU++;}};this.addEntityColorResetByNames=function(pk){var Y;if(iI)return-1;Y=new tF();Y.Df="\x65\x63\x72";Y.eY=pk;BB.push(Y);return 0;};this.addEntityColorReset=function(entities){var Y;if(iI)return-1;Y=new tF();Y.Df="\x65\x63\x72\x45";Y.eY=entities;BB.push(Y);return 0;};var zY=function(){if(uU>=yK){if(OT!=null)clearInterval(OT);OT=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if((sS<yQ-1)||(kx)){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);};}else{var G;for(G=0;G<g.J5.length;G++){g.J5[G].CB=false;}uU++;}};this.addSequenceStart=function(L5){var Y;if(iI)return-1;Y=new tF();Y.Df="\x73\x73";Y.eY=L5;Y.X1=new Array();Rj.push(Y);BB=Y.X1;return 0;};var sQ=function(){if(uU>=yK){if(OT!=null)clearInterval(OT);OT=null;if(zx!=null)cancelAnimationFrame(zx);zx=null;if(Rb<BB.length-1){Rb++;kc();iI=true;}else if(sS<yQ-1){sS++;Rb=0;kc();iI=true;}else{iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x45\x6e\x64\x65\x64";q.sendCmiNotification(k);};}else{var G,M;var f8;var P;var WQ;var Em;var hr;var TI;var lb;var Yx;var W0;var Lv;var On;var ii;var m;for(G=0;G<g.X1.length;G++){f8=g.X1[G];switch(f8.Df){case "\x68\x61\x64\x63":Yx=q.getHeadUpAngle4FirstPersonView();q.setHeadUpAngle4FirstPersonView(Yx+f8.J5);break;case "\x68\x61\x61\x63":Yx=q.getHeadUpAngle4FirstPersonView();q.setHeadUpAngle4FirstPersonView(Yx+f8.J5);break;case "\x73\x72":q.AB(f8.J5,f8.Vx,f8.pT,f8.ZS,f8._N,f8.Z0);break;case "\x65\x76":for(G=0;G<f8.J5.length;G++){P=f8.J5[G].HY;ii=f8.CF[G];mat4.translate(P,[ii[0],ii[1],ii[2]]);}ii=f8.CF[f8.CF.length-2];BJ[0]=BJ[0]+ii[0];BJ[1]=BJ[1]+ii[1];BJ[2]=BJ[2]+ii[2];q.getCmiModel().Wk(BJ);ii=f8.CF[f8.CF.length-1];s0[0]=s0[0]+ii[0];s0[1]=s0[1]+ii[1];s0[2]=s0[2]+ii[2];q.getCmiModel().CY(s0);break;case "\x73\x72\x76":q.eT(f8.J5,f8.Vx,f8.pT);break;case "\x73\x74":q.setViewTranslationValues(f8.J5,f8.Vx,f8.pT);break;case "\x73\x74\x76":q._G(f8.J5,f8.Vx,f8.pT);break;case "\x6d\x76\x74\x70":Em=q.getCurrentViewerPosition();hr=Em[0]-((Em[0]-f8.J5)/(f8.DR-uU));TI=Em[1]-((Em[1]-f8.Vx)/(f8.DR-uU));lb=Em[2]-((Em[2]-f8.pT)/(f8.DR-uU));q.moveViewerToModelPosition(hr,TI,lb);break;case "\x6d\x76\x74\x6c":Em=q.getCurrentViewerPosition();hr=Em[0]-((Em[0]-f8.J5)/(f8.u7-uU));TI=Em[1]-((Em[1]-f8.Vx)/(f8.u7-uU));lb=Em[2]-((Em[2]-f8.pT)/(f8.u7-uU));q.moveViewerToModelPosition(hr,TI,lb);if(!((f8.gf==0.0)&&(f8.TT==0.0)&&(f8.A8==0.0))){W0=f8.ZS+f8.gf*(uU+1);Lv=f8._N+f8.TT*(uU+1);On=f8.Z0+f8.A8*(uU+1);q.rotateViewerToModelAngles(W0,Lv,On);}break;case "\x73\x7a":q.AE(f8.J5);break;case "\x73\x7a\x61":q.zoomAll();break;case "\x73\x76":q.bI(Rf);break;case "\x70\x73":break;case "\x65\x72":for(M=0;M<f8.J5.length;M++){P=f8.J5[M].P;mat4.translate(P,[f8.Vx,f8.pT,f8.ZS]);mat4.rotateX(P,f8._N*Math.PI/180.0);mat4.rotateY(P,f8.Z0*Math.PI/180.0);mat4.rotateZ(P,f8.gf*Math.PI/180.0);mat4.translate(P,[-f8.Vx,-f8.pT,-f8.ZS]);}break;case "\x65\x74":for(M=0;M<f8.J5.length;M++){P=f8.J5[M].P;mat4.translate(P,[f8.Vx,f8.pT,f8.ZS]);}break;case "\x65\x70":for(M=0;M<f8.J5.length;M++){P=f8.J5[M].P;mat4.translate(P,[f8.Vx,f8.pT,f8.ZS]);}break;case "\x65\x75":for(M=0;M<f8.J5.length;M++){WQ=g.J5[M];P=WQ.P;P[0]=P[0]-WQ.jT[0];P[1]=P[1]-WQ.jT[1];P[2]=P[2]-WQ.jT[2];P[3]=P[3]-WQ.jT[3];P[4]=P[4]-WQ.jT[4];P[5]=P[5]-WQ.jT[5];P[6]=P[6]-WQ.jT[6];P[7]=P[7]-WQ.jT[7];P[8]=P[8]-WQ.jT[8];P[9]=P[9]-WQ.jT[9];P[10]=P[10]-WQ.jT[10];P[11]=P[11]-WQ.jT[11];P[12]=P[12]-WQ.jT[12];P[13]=P[13]-WQ.jT[13];P[14]=P[14]-WQ.jT[14];P[15]=P[15]-WQ.jT[15];}break;case "\x65\x62":break;case "\x65\x63\x73":case "\x65\x63\x73\x45":for(M=0;M<f8.J5.length;M++){f8.J5[M].CB=true;}break;case "\x65\x63\x72":case "\x65\x63\x72\x45":for(M=0;M<f8.J5.length;M++){f8.J5[M].CB=false;}break;}}uU++;}};this.addSequenceEnd=function(){var Y;if(iI)return-1;BB=Rj;return 0;};this.clearAnimation=function(y7,ap){var G,M;var iP=false;var Ql=false;if(iI)return-1;if(y7!=undefined)iP=y7;if(ap!=undefined)Ql=ap;if(Ql==false)this.resetEntites(false,iP);for(G=0;G<Rj.length;G++){if(Rj[G].X1){for(M=0;M<Rj[G].X1.length;M++){g=Rj[G].X1[M];Rj[G].X1[M]=null;};}g=Rj[G];Rj[G]=null;}Rj=new Array();BB=Rj;Rb=0;R6=null;OT=null;zx=null;kx=false;q.drawScene();return 0;};this.resetEntites=function(draw,y7,ap){var G,M,hf;var Ql=false;if(ap!=undefined)Ql=ap;if(iI)return-1;for(G=0;G<Rj.length;G++){if(Rj[G].X1!=null){for(M=0;M<Rj[G].X1.length;M++){g=Rj[G].X1[M];switch(g.Df){case "\x6d\x72":case "\x6d\x74":if(g.J5!=null){if(Ql==false)g.J5.P=null;}break;case "\x65\x72":case "\x65\x74":case "\x65\x70":case "\x65\x75":case "\x65\x62":case "\x65\x62\x45":case "\x65\x63\x73":case "\x65\x63\x73\x45":case "\x65\x63\x72":case "\x65\x63\x72\x45":case "\x65\x76":if(g.J5!=null){for(hf=0;hf<g.J5.length;hf++){if(Ql==false){g.J5[hf].P=null;if(g.J5[hf].HY!=undefined)g.J5[hf].HY=null;g.J5[hf].jT=null;}if(y7!=true){g.J5[hf].a9=null;g.J5[hf].CB=false;}g.J5[hf].nL=true;}if(Ql==false)g.CF=null;}break;};g.DU=false;}}g=Rj[G];switch(g.Df){case "\x6d\x72":case "\x6d\x74":if(g.J5!=null){if(Ql==false)g.J5.P=null;}break;case "\x65\x72":case "\x65\x74":case "\x65\x70":case "\x65\x75":case "\x65\x62":case "\x65\x62\x45":case "\x65\x63\x73":case "\x65\x63\x73\x45":case "\x65\x63\x72":case "\x65\x63\x72\x45":case "\x65\x76":if(g.J5!=null){for(hf=0;hf<g.J5.length;hf++){if(Ql==false){g.J5[hf].P=null;if(g.J5[hf].HY!=undefined)g.J5[hf].HY=null;g.J5[hf].jT=null;}if(y7!=true){g.J5[hf].a9=null;g.J5[hf].CB=false;}g.J5[hf].nL=true;}if(Ql==false)g.CF=null;}break;};g.DU=false;}if(k6==true){q.getCmiModel().Wk(Vu);q.getCmiModel().CY(i0);k6=false;}if(draw){if((Td==true)&&(y7!=true)){q.getCmiModel().getEntityCollection().sort(CmiHelpers.Er);Td=false;}q.drawScene();}return 0;};this.run=function(JD){if(iI)return-1;if((Rj.length>0)&&(JD>0)){var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x53\x74\x61\x72\x74\x65\x64";q.sendCmiNotification(k);kx=false;Rb=0;Rx=0;yQ=JD;sS=0;kc();}return 0;};this.runInLoop=function(){if(iI)return-1;if(Rj.length>0){var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x53\x74\x61\x72\x74\x65\x64";q.sendCmiNotification(k);kx=true;Rb=0;Rx=0;yQ=0;sS=0;kc();}return 0;};this.stopAnim=function(){kx=false;sS=yQ;Rb=0;Rx=0;if(OT!=null)clearInterval(OT);if(R6!=null)clearTimeout(R6);if(zx!=null)cancelAnimationFrame(zx);OT=null;R6=null;zx=null;iI=false;q.selectionEnabled=AC;var k="\x43\x4d\x49\x5f\x49\x4e\x46\x4f\x7c\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x53\x74\x6f\x70\x70\x65\x64";q.sendCmiNotification(k);return 0;};var Wd=function(K,GJ){if(K.DU)return;var G;var Lm;var f8;var entities;var Qu=null;var BM=null;var DQ=false;switch(K.Df){case "\x73\x73":for(G=0;G<K.X1.length;G++){f8=K.X1[G];if(!f8.DU)Wd(f8,GJ);}break;case "\x68\x61\x64\x63":K.J5=K.eY/GJ;break;case "\x68\x61\x61\x63":{var Yx=q.getHeadUpAngle4FirstPersonView();K.J5=(K.eY-Yx)/GJ;break;}case "\x73\x72":K.J5=K.eY;K.Vx=K.u7;K.pT=K.pM;K.ZS=K.DR/GJ;K._N=K.CN/GJ;K.Z0=K.my/GJ;break;case "\x65\x76":BJ=q.getCmiModel().getLowerLeftBdryPoint().slice();s0=q.getCmiModel().getUpperRightBdryPoint().slice();Vu=q.getCmiModel().getLowerLeftBdryPoint().slice();i0=q.getCmiModel().getUpperRightBdryPoint().slice();k6=true;var ks;var WQ;var dL=K.u7;var gz=new Array(0.0,0.0,0.0);var MF=new Array(0.0,0.0,0.0);var ii;var vJ=mat4.createIdent();K.J5=Ns(q.getCmiModel(),false);K.CF=new Array();for(G=0;G<g.J5.length;G++){WQ=g.J5[G];if(WQ.HY==null){WQ.HY=new mat4.create();mat4.identity(WQ.HY);}if(WQ.modelEntity!=null){WQ.modelEntity.HY=new mat4.create();mat4.identity(WQ.modelEntity.HY);}ks=WQ.getGlobalCenterPoint();gz[0]=ks[0]-Hi[0];gz[1]=ks[1]-Hi[1];gz[2]=ks[2]-Hi[2];mat4.inverse(WQ.getGlobalTransformationMatrix(),vJ);vJ[12]=0.0;vJ[13]=0.0;vJ[14]=0.0;if(dL=="\x73\x74\x72\x65\x74\x63\x68"){MF[0]=(gz[0]*K.pM-gz[0])/GJ;MF[1]=(gz[1]*K.pM-gz[1])/GJ;MF[2]=(gz[2]*K.pM-gz[2])/GJ;mat4.multiplyVec3(vJ,MF);}else if(dL=="\x6d\x6f\x76\x65"){;}else if(dL=="\x73\x70\x68\x65\x72\x65"){;}ii=new Array(MF[0],MF[1],MF[2]);K.CF.push(ii);}gz[0]=BJ[0]-Hi[0];gz[1]=BJ[1]-Hi[1];gz[2]=BJ[2]-Hi[2];if(dL=="\x73\x74\x72\x65\x74\x63\x68"){MF[0]=(gz[0]*K.pM-gz[0])/GJ;MF[1]=(gz[1]*K.pM-gz[1])/GJ;MF[2]=(gz[2]*K.pM-gz[2])/GJ;}ii=new Array(MF[0],MF[1],MF[2]);K.CF.push(ii);gz[0]=s0[0]-Hi[0];gz[1]=s0[1]-Hi[1];gz[2]=s0[2]-Hi[2];if(dL=="\x73\x74\x72\x65\x74\x63\x68"){MF[0]=(gz[0]*K.pM-gz[0])/GJ;MF[1]=(gz[1]*K.pM-gz[1])/GJ;MF[2]=(gz[2]*K.pM-gz[2])/GJ;}ii=new Array(MF[0],MF[1],MF[2]);K.CF.push(ii);K.Vx=K.u7;K.pT=(K.pM)/GJ;break;case "\x73\x72\x76":K.J5=K.eY/GJ;K.Vx=K.u7/GJ;K.pT=K.pM/GJ;break;case "\x73\x74":K.J5=K.eY/GJ;K.Vx=K.u7/GJ;K.pT=K.pM/GJ;break;case "\x73\x74\x76":K.J5=K.eY/GJ;K.Vx=K.u7/GJ;K.pT=K.pM/GJ;break;case "\x6d\x76\x74\x70":K.J5=K.eY;K.Vx=K.u7;K.pT=K.pM;break;case "\x6d\x76\x74\x6c":BM=q.getCmiModel();Qu=BM.getEntityByName(K.eY);if(Qu!=null){var GG=Qu.Jq;var yO=Qu.qQ;var Yx=q.getCurrentModelViewAngles();var vH=q.getModelAnglesFromViewerAngles(Yx[0],Yx[1],Yx[2]);var W0=(yO[0]-vH[0]);var Lv=(yO[1]-vH[1]);var On=(yO[2]-vH[2]);if(W0>180.0)W0=W0-360.0;else if(W0<-180.0)W0=W0+360;if(Lv>180.0)Lv=Lv-360.0;else if(Lv<-180.0)Lv=Lv+360;if(On>180.0)On=On-360.0;else if(On<-180.0)On=On+360;K.J5=GG[0];K.Vx=GG[1];K.pT=GG[2];K.ZS=vH[0];K._N=vH[1];K.Z0=vH[2];K.gf=W0/GJ;K.TT=Lv/GJ;K.A8=On/GJ;}else{var Em=q.getCurrentViewerPosition();K.J5=Em[0];K.Vx=Em[1];K.pT=Em[2];K.ZS=0.0;K._N=0.0;K.Z0=0.0;}break;case "\x73\x7a":K.J5=K.eY*q.GI/10;break;case "\x73\x7a\x61":K.J5=K.eY/GJ;break;case "\x73\x76":K.J5=K.eY;break;case "\x70\x73":K.J5=K.eY;break;case "\x65\x72":BM=q.getCmiModel();K.J5=BM.getEntitiesByNames(K.eY);entities=K.J5;K.Vx=K.u7;K.pT=K.pM;K.ZS=K.DR;K._N=K.CN/GJ;K.Z0=K.my/GJ;K.gf=K.me/GJ;for(G=0;G<entities.length;G++){if(entities[G].P==null){entities[G].P=new mat4.create();mat4.identity(entities[G].P);};}break;case "\x6d\x72":K.J5=K.eY;K.Vx=K.u7;K.pT=K.pM;K.ZS=K.DR;K._N=K.CN/GJ;K.Z0=K.my/GJ;K.gf=K.me/GJ;var Pv=K.J5;if(Pv.P==null){Pv.P=new mat4.create();mat4.identity(Pv.P);}break;case "\x65\x74":BM=q.getCmiModel();K.J5=BM.getEntitiesByNames(K.eY);entities=K.J5;K.Vx=K.u7/GJ;K.pT=K.pM/GJ;K.ZS=K.DR/GJ;for(G=0;G<entities.length;G++){if(entities[G].P==null){entities[G].P=new mat4.create();mat4.identity(entities[G].P);};}break;case "\x6d\x74":K.J5=K.eY;K.Vx=K.u7/GJ;K.pT=K.pM/GJ;K.ZS=K.DR/GJ;var Pv=K.J5;if(Pv.P==null){Pv.P=new mat4.create();mat4.identity(Pv.P);}break;case "\x65\x70":BM=q.getCmiModel();K.J5=BM.getEntitiesByNames([K.eY]);entities=K.J5;for(G=0;G<entities.length;G++){if(entities[G].P==null){entities[G].P=new mat4.create();mat4.identity(entities[G].P);}Lm=entities[G].getCenterPoint();}K.Vx=(K.u7-Lm[0])/GJ;K.pT=(K.pM-Lm[1])/GJ;K.ZS=(K.DR-Lm[2])/GJ;break;case "\x65\x75":BM=q.getCmiModel();K.J5=BM.getEntitiesByNames(K.eY);entities=K.J5;for(G=0;G<entities.length;G++){if(entities[G].P==null){entities[G].P=new mat4.create();mat4.identity(entities[G].P);}if(entities[G].jT==null)entities[G].jT=new mat4.create();entities[G].jT[0]=(entities[G].P[0]-1.0)/GJ;entities[G].jT[1]=entities[G].P[1]/GJ;entities[G].jT[2]=entities[G].P[2]/GJ;entities[G].jT[3]=entities[G].P[3]/GJ;entities[G].jT[4]=entities[G].P[4]/GJ;entities[G].jT[5]=(entities[G].P[5]-1.0)/GJ;entities[G].jT[6]=entities[G].P[6]/GJ;entities[G].jT[7]=entities[G].P[7]/GJ;entities[G].jT[8]=entities[G].P[8]/GJ;entities[G].jT[9]=entities[G].P[9]/GJ;entities[G].jT[10]=(entities[G].P[10]-1.0)/GJ;entities[G].jT[11]=entities[G].P[11]/GJ;entities[G].jT[12]=entities[G].P[12]/GJ;entities[G].jT[13]=entities[G].P[13]/GJ;entities[G].jT[14]=entities[G].P[14]/GJ;entities[G].jT[15]=(entities[G].P[15]-1.0)/GJ;}break;case "\x65\x62":case "\x65\x62\x45":BM=q.getCmiModel();if(K.Df=="\x65\x62")K.J5=BM.getEntitiesByNames(K.eY);else K.J5=K.eY;entities=K.J5;K.Vx=K.u7;K.pT=K.pM;K.ZS=K.DR*1000;for(G=0;G<K.J5.length;G++){if(K.J5[G].a9==null){entities[G].a9=new Array(entities[G].color[0],entities[G].color[1],entities[G].color[2]);}if(K.Vx.length>=1)entities[G].a9[0]=K.Vx[0];if(K.Vx.length>=2)entities[G].a9[1]=K.Vx[1];if(K.Vx.length>=3)entities[G].a9[2]=K.Vx[2];if(K.Vx.length>=4)entities[G].a9[3]=K.Vx[3];}break;case "\x65\x63\x73":case "\x65\x63\x73\x45":BM=q.getCmiModel();if(K.Df=="\x65\x63\x73")K.J5=BM.getEntitiesByNames(K.eY);else K.J5=K.eY;entities=K.J5;K.Vx=K.u7;K.pT=K.pM;for(G=0;G<entities.length;G++){if(entities[G].a9==null){entities[G].a9=new Array(entities[G].color[0],entities[G].color[1],entities[G].color[2],entities[G].color[3]);}if(K.Vx.length>=1)entities[G].a9[0]=K.Vx[0];if(K.Vx.length>=2)entities[G].a9[1]=K.Vx[1];if(K.Vx.length>=3)entities[G].a9[2]=K.Vx[2];if(K.Vx.length>=4)entities[G].a9[3]=K.Vx[3];if(K.pT=="\x64\x65\x70\x74\x68\x4f\x66\x66")entities[G].nL=false;else if(K.pT=="\x64\x65\x70\x74\x68\x4f\x6e")entities[G].nL=true;else if(entities[G].a9[3]<1.0)DQ=true;}if(DQ==true){q.getCmiModel().getEntityCollection().sort(CmiHelpers.pE);Td=true;}break;case "\x65\x63\x72":case "\x65\x63\x72\x45":BM=q.getCmiModel();if(K.Df=="\x65\x63\x72")K.J5=BM.getEntitiesByNames(K.eY);else K.J5=K.eY;if(Td==true){q.getCmiModel().getEntityCollection().sort(CmiHelpers.pE);}break;};K.DU=true;};var kc=function(){var zm=0.0;var SU=0.0;q.selectionEnabled=false;g=BB[Rb];switch(g.Df){case "\x73\x73":yK=g.eY;if(!g.DU)Wd(g,1);SU=yK/Um;zm=(SU*1000)/yK;uU=0;OT=setInterval(sQ,zm);zx=requestAnimFrame(cJ);break;case "\x68\x61\x64\x63":yK=g.u7;if(!g.DU)Wd(g,yK);SU=yK/Um;zm=(SU*1000)/yK;uU=0;OT=setInterval(Ci,zm);zx=requestAnimFrame(cJ);break;case "\x68\x61\x61\x63":yK=g.u7;if(!g.DU)Wd(g,yK);SU=yK/Um;zm=(SU*1000)/yK;uU=0;OT=setInterval(TR,zm);zx=requestAnimFrame(cJ);break;case "\x73\x72":yK=g.me;if(!g.DU)Wd(g,yK);SU=yK/Um;zm=(SU*1000)/yK;uU=0;OT=setInterval(mU,zm);zx=requestAnimFrame(cJ);break;case "\x65\x76":yK=g.DR;if(!g.DU)Wd(g,yK);SU=yK/Um;zm=(SU*1000)/yK;uU=0;OT=setInterval(BT,zm);zx=requestAnimFrame(cJ);break;case "\x73\x72\x76":yK=g.DR;if(!g.DU)Wd(g,yK);SU=yK/Um;zm=(SU*1000)/yK;uU=0;OT=setInterval(Fb,zm);zx=requestAnimFrame(cJ);break;case "\x73\x74":yK=g.DR;if(!g.DU)Wd(g,yK);SU=yK/Um;zm=(SU*1000)/yK;uU=0;OT=setInterval(vu,zm);zx=requestAnimFrame(cJ);break;case "\x73\x74\x76":yK=g.DR;if(!g.DU)Wd(g,yK);SU=yK/Um;zm=(SU*1000)/yK;uU=0;OT=setInterval(Yc,zm);zx=requestAnimFrame(cJ);break;case "\x6d\x76\x74\x70":yK=g.DR;if(!g.DU)Wd(g,yK);SU=yK/Um;zm=(SU*1000)/yK;uU=0;OT=setInterval(_8,zm);zx=requestAnimFrame(cJ);break;case "\x6d\x76\x74\x6c":yK=g.u7;if(!g.DU)Wd(g,yK);SU=yK/Um;zm=(SU*1000)/yK;uU=0;OT=setInterval(VT,zm);zx=requestAnimFrame(cJ);break;case "\x73\x7a":yK=g.u7;if(!g.DU)Wd(g,yK);SU=yK/Um;zm=(SU*1000)/yK;uU=0;OT=setInterval(_2,zm);zx=requestAnimFrame(cJ);break;case "\x73\x7a\x61":yK=g.u7;if(!g.DU)Wd(g,yK);SU=yK/Um;zm=(SU*1000)/yK;uU=0;OT=setInterval(rV,zm);zx=requestAnimFrame(cJ);break;case "\x73\x76":yK=g.u7;if(!g.DU)Wd(g,yK);Rf=q.getOglStdViewTransformationValues(g.J5);Rf[0]=Rf[0]/yK;Rf[1]=Rf[1]/yK;Rf[2]=Rf[2]/yK;Rf[3]=Rf[3]/yK;Rf[4]=Rf[4]/yK;Rf[5]=Rf[5]/yK;Rf[6]=Rf[6]/yK;Rf[7]=Rf[7]/yK;Rf[8]=Rf[8]/yK;Rf[9]=Rf[9]/yK;Rf[10]=Rf[10]/yK;Rf[11]=Rf[11]/yK;Rf[12]=Rf[12]/yK;Rf[13]=Rf[13]/yK;Rf[14]=Rf[14]/yK;Rf[15]=Rf[15]/yK;Rf[16]=Rf[16]/yK;Rf[17]=Rf[17]/yK;Rf[18]=Rf[18]/yK;Rf[19]=Rf[19]/yK;SU=yK/Um;zm=(SU*1000)/yK;uU=0;OT=setInterval(XH,zm);zx=requestAnimFrame(cJ);break;case "\x70\x73":yK=1;if(!g.DU)Wd(g,yK);SU=g.J5;zm=(SU*1000);OT=setInterval(pu,zm);break;case "\x65\x72":yK=g.Pe;if(!g.DU)Wd(g,yK);SU=yK/Um;zm=(SU*1000)/yK;uU=0;OT=setInterval(tZ,zm);zx=requestAnimFrame(cJ);break;case "\x6d\x72":yK=g.Pe;if(!g.DU)Wd(g,yK);SU=yK/Um;zm=(SU*1000)/yK;uU=0;OT=setInterval(DA,zm);zx=requestAnimFrame(cJ);break;case "\x65\x74":yK=g.CN;if(!g.DU)Wd(g,yK);SU=yK/Um;zm=(SU*1000)/yK;uU=0;OT=setInterval(qy,zm);zx=requestAnimFrame(cJ);break;case "\x6d\x74":yK=g.CN;if(!g.DU)Wd(g,yK);SU=yK/Um;zm=(SU*1000)/yK;uU=0;OT=setInterval(oD,zm);zx=requestAnimFrame(cJ);break;case "\x65\x70":yK=g.CN;if(!g.DU)Wd(g,yK);SU=yK/Um;zm=(SU*1000)/yK;uU=0;OT=setInterval(qy,zm);zx=requestAnimFrame(cJ);break;case "\x65\x75":yK=g.u7;if(!g.DU)Wd(g,yK);SU=yK/Um;zm=(SU*1000)/yK;uU=0;OT=setInterval(P3,zm);zx=requestAnimFrame(cJ);break;case "\x65\x62":case "\x65\x62\x45":yK=g.pM;if(!g.DU)Wd(g,yK);uU=0;R6=setTimeout(XL,0.0);break;case "\x65\x63\x73":case "\x65\x63\x73\x45":yK=1;if(!g.DU)Wd(g,yK);SU=yK/Um;zm=(SU*1000)/yK;uU=0;OT=setInterval(Ef,zm);zx=requestAnimFrame(cJ);break;case "\x65\x63\x72":case "\x65\x63\x72\x45":yK=1;if(!g.DU)Wd(g,yK);SU=yK/Um;zm=(SU*1000)/yK;uU=0;OT=setInterval(zY,zm);zx=requestAnimFrame(cJ);break;};};};
