Array.prototype._C3=0;var _D3={_E3:[{_F3:["tph_extension0.js"],initfuncs:[]}],_G3:[],_H3:[{name:"audiogroup_default",_I3:!0,}],_J3:[],_K3:{"pt_shape_circle":0,"pt_shape_cloud":11,"pt_shape_disk":1,"pt_shape_explosion":2,"pt_shape_flare":3,"pt_shape_line":12,"pt_shape_pixel":13,"pt_shape_ring":4,"pt_shape_smoke":5,"pt_shape_snow":9,"pt_shape_spark":6,"pt_shape_sphere":8,"pt_shape_square":7,"pt_shape_star":10},_L3:[],_M3:[],_N3:[gml_Script_gmcallback_get_color],_O3:["gmcallback_get_color"],_P3:[],_Q3:[],
_R3:[],_S3:[{}],_T3:[{_U3:"obj_control",_V3:-1,_W3:!0,parent:-100,_X3:_Y3,_Z3:__3,_04:_14,_24:_34,_44:_54,_64:[],_74:[]}],_84:[{_U3:"room0",width:640,height:480,_94:0,_a4:0,_b4:1,_c4:!1,_d4:!1,_e4:[],_f4:[{_g4:1024,_h4:768,_i4:1024,_j4:768},{_g4:1024,_h4:768,_i4:1024,_j4:768},{_g4:1024,_h4:768,_i4:1024,_j4:768},{_g4:1024,_h4:768,_i4:1024,_j4:768},{_g4:1024,_h4:768,_i4:1024,_j4:768},{_g4:1024,_h4:768,_i4:1024,_j4:768},{_g4:1024,_h4:768,_i4:1024,_j4:768},{_g4:1024,_h4:768,_i4:1024,_j4:768}],_k4:[{
x:0,y:0,index:0,id:100000,rotation:0,scaleX:1,scaleY:1,_a4:4294967295}],_l4:[],_m4:[{_U3:"Instances",id:0,type:2,_n4:0,x:0,y:0,_o4:0,_p4:0,_W3:1,_q4:1,_r4:[100000]}]}],_s4:[0],_t4:[{x:4,y:4,_u4:64,_v4:64,_w4:0,_x4:0,_y4:64,_z4:64,_A4:64,_B4:64,_C4:0},{x:76,y:4,_u4:64,_v4:64,_w4:0,_x4:0,_y4:64,_z4:64,_A4:64,_B4:64,_C4:0},{x:148,y:4,_u4:64,_v4:64,_w4:0,_x4:0,_y4:64,_z4:64,_A4:64,_B4:64,_C4:0},{x:4,y:76,_u4:64,_v4:64,_w4:0,_x4:0,_y4:64,_z4:64,_A4:64,_B4:64,_C4:0},{x:76,y:76,_u4:64,_v4:64,_w4:0,_x4:0,
_y4:64,_z4:64,_A4:64,_B4:64,_C4:0},{x:148,y:76,_u4:64,_v4:64,_w4:0,_x4:0,_y4:64,_z4:64,_A4:64,_B4:64,_C4:0},{x:4,y:148,_u4:64,_v4:64,_w4:0,_x4:0,_y4:64,_z4:64,_A4:64,_B4:64,_C4:0},{x:76,y:148,_u4:64,_v4:64,_w4:0,_x4:0,_y4:64,_z4:64,_A4:64,_B4:64,_C4:0},{x:148,y:148,_u4:63,_v4:63,_w4:1,_x4:1,_y4:63,_z4:63,_A4:64,_B4:64,_C4:0},{x:4,y:220,_u4:62,_v4:64,_w4:1,_x4:0,_y4:62,_z4:64,_A4:64,_B4:64,_C4:0},{x:76,y:220,_u4:64,_v4:62,_w4:0,_x4:0,_y4:64,_z4:62,_A4:64,_B4:64,_C4:0},{x:148,y:220,_u4:59,_v4:59,_w4:2,
_x4:3,_y4:59,_z4:59,_A4:64,_B4:64,_C4:0},{x:148,y:288,_u4:64,_v4:12,_w4:0,_x4:26,_y4:64,_z4:12,_A4:64,_B4:64,_C4:0},{x:220,y:4,_u4:3,_v4:3,_w4:30,_x4:30,_y4:3,_z4:3,_A4:64,_B4:64,_C4:0}],_D4:["betaTest_texture_0.png"],_E4:[{_U3:"Default",_F4:[0],_G4:[],_H4:[],_I4:[],_J4:[]}],_K4:{_L4:!1,_M4:2,_N4:0,_O4:0,_P4:60,_Q4:4294967295,_R4:640,_S4:480,_T4:0,_U4:"1d826cc4-f940-41ab-b4c1-33bef89431cd",_V4:!1,_W4:!1,_X4:!0,scale:1,_Y4:!0,_Z4:!1,__4:!1,_05:!0,_15:!1,_25:!1,_35:!0,_45:!0,_55:0,_65:0,_75:!0,_85:"html5game",
_95:"default",_a5:0,_b5:!1,_c5:!0,_d5:!1,_e5:!1,_f5:0,_g5:[226,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],_h5:1,_i5:0,_j5:0,_k5:0,_l5:"Made in GameMaker Studio 2",_m5:1547918961,_n5:"True"}};function gml_Script_gmcallback_get_color(_o5,_p5,_q5){_r5(_q5);}var gmcallback_get_color=gml_Script_gmcallback_get_color;// /// @desc
function _Y3(_o5,_p5){_o5._s5(10000);_t5(0);global._u5=0?1:0;if(!(_o5._v5 instanceof Array)){_o5._v5=[];_o5._v5._C3=1584050178}else if(_o5._v5._C3!==1584050178){_o5._v5=_o5._v5.slice(0);_o5._v5._C3=1584050178}
_o5._v5[~~0]=100;}// /// @desc
function __3(_o5,_p5){getWindowColors("gmcallback_get_color");}// /// @desc
function _14(_o5,_p5){_w5(0,0);ex(_x5());}// /// @desc
function _34(_o5,_p5){}function _54(_o5,_p5){_y5(_o5,_p5);}function _z5(){}/*@constructor */function _A5(_B5){this._C5=false;this._D5=0;this._E5=false;this._F5=null;this._G5=null;this._H5=null;this._I5=null;this._J5=null;this._K5=null;this._L5=[];this._M5(_B5._K5)};_A5.prototype._N5=function(){var _O5=new _A5({_K5:this._K5});return _O5};_A5.prototype._M5=function(_P5){
this._K5=_P5;this._F5=new spine._Q5(_P5);this._J5=new spine._R5(this._F5.data);this._I5=new spine._S5(this._J5);var listener=new Object();listener.start=function(_T5){};listener.end=function(_T5){};listener.complete=function(_T5,_U5){};listener.event=function(_T5,_V5){var map=_W5();_X5._Y5=map;_Z5(map,"name",_V5.data.name);_Z5(map,"track",_T5);_Z5(map,"integer",_V5.data.__5);_Z5(map,"float",_V5.data._06);_Z5(map,"string",_V5.data._16?_V5.data._16:"");_26._36(_46,0);_56(map);_X5._Y5=-1};this._I5._66(listener);
if(_P5.animations.length>0){this._76(null)}this._86(null);this._G5=new spine._96();var _a6=this._F5._b6();this._c6=[_a6.scaleX,_a6.scaleY*-1.0];};_A5.prototype._d6=function(_e6){if(_e6==undefined)_e6=0;if(_e6<0)return 0;if(_e6>=this._I5._f6.length)return 0;var _g6=_h6?_h6._i6():30;if(_j6){_g6=_k6._l6()}if(this._I5._f6[_e6]==null){return ~~((_g6*this._H5.duration)+0.5)}return ~~((_g6*this._I5._f6[_e6]._m6.duration)+0.5)};function _n6(_o6,_p6){if(_p6<0.0)return _o6;var _q6=_o6/_p6;var _r6=_q6-Math.floor(_q6);
var _s6=_r6*_p6;return _s6}_A5.prototype._76=function(_t6){this._u6(_t6,0)};_A5.prototype._u6=function(_t6,_e6){var _m6=null;if(((_t6===null)||(_t6===undefined))&&(_e6===0)){if(this._K5.animations.length>0){_m6=this._K5._v6(this._K5.animations[0].name)}}else {_m6=this._K5._v6(_t6)}if(_m6!==null&&_m6!==undefined){if(_e6===0){this._D5=0;this._H5=_m6}this._I5._w6(_e6,_m6.name,true)}};_A5.prototype._86=function(_x6){if(_x6===null||_x6===undefined){if(this._K5._y6){this._F5._z6(this._K5._y6.name)}}else {this._F5._z6(_x6)}
this._F5._A6()};_A5.prototype._B6=function(_C6,_D6){var slot=this._F5._E6(_C6);if((slot!==null)&&(slot!==undefined)){if(typeof(_D6)==='number'){slot._F6(null)}else {var _G6=this._F5._H6(_C6);for(var _I6=0;_I6<this._K5.skins.length;_I6++){var skin=this._K5.skins[_I6];var attachment=skin._J6(_G6,_D6);if(attachment){slot._F6(attachment);return }}for(var _K6=0;_K6<this._L5.length;_K6++){var attachment=this._L5[_K6].attachment;if(attachment.name===_D6){slot._F6(attachment);return }}}}};_A5.prototype._L6=function(_M6,
_N6,_O6,_P6,_Q6,_R6,_S6){var skeleton=this._F5;var _a6=this._F5._b6();var _T6=this._D5;var _U6=this._C5;var _V6=(_S6!==undefined);var _W6=Math.abs(_P6*this._c6[0]);var _X6=Math.abs(_Q6*this._c6[1]);if((_U6==true)||(_T6!==_M6)||(skeleton.x!==_N6)||(skeleton.y!==_O6)||(_a6.scaleX!==_W6)||(_a6.scaleY!==_X6)||(_a6.rotation!==_R6)){var _Y6=this._d6(0);if(_Y6>0){var _Z6=_M6%_Y6,__6=this._D5%_Y6,duration=this._H5.duration,_07=this._H5._17.length;if(__6>_Z6){_Z6+=_Y6}var _27=(_Z6-__6)/_Y6;this._I5._37(_27*duration);
this._I5.apply(this._F5);}this._D5=_M6;skeleton.x=_N6;skeleton.y=_O6;skeleton._47=((_P6*this._c6[0])<0)?1:0;skeleton._57=((_Q6*this._c6[1])<0)?1:0;_a6.scaleX=_W6;_a6.scaleY=_X6;_a6.rotation=_R6;_V6=true;this._C5=false}if(_V6){if(_S6){_S6._67(_77,0,_S6,null)}skeleton._V6();this._G5._37(this._F5,1)}};_A5.prototype._87=function(_97,_N6,_O6,_P6,_Q6,_R6){var _Y6=this._d6(0);var _a7=~~(_Y6*(_97/this._H5.duration)+0.5);this._L6(_a7,_N6,_O6,_P6,_Q6,_R6)};_A5.prototype._b7=function(_c7,_M6,_N6,_O6,_P6,_Q6,
_R6){var _d7=this._G5;if(_d7._e7.length>0){this._L6(_M6,_N6,_O6,_P6,_Q6,_R6);_c7.left=~~(_d7._f7+0.5);_c7.right=~~(_d7._g7+0.5);_c7.top=~~(_d7._h7+0.5);_c7.bottom=~~(_d7._i7+0.5);return true}return false};_A5.prototype._j7=function(_M6,_N6,_O6,_P6,_Q6,_R6,_k7,_l7,_m7,_n7,_o7,_p7,_q7){this._L6(_M6,_N6,_O6,_P6,_Q6,_R6);_k7._L6(_l7,_m7,_n7,_o7,_p7,_q7);for(var _r7=0;_r7<_k7._G5._s7.length;_r7++){var _t7=_k7._G5._s7[_r7];var _u7=_t7.length/2;for(var _v7=0;_v7<_u7;_v7++){var _w7,_x7,_y7,_z7;_w7=_t7[(_v7*2)+0];
_x7=_t7[(_v7*2)+1];if(_v7===(_u7-1)){_y7=_t7[0];_z7=_t7[1]}else {_y7=_t7[((_v7+1)*2)+0];_z7=_t7[((_v7+1)*2)+1]}var _A7=this._G5._B7(_w7,_x7,_y7,_z7);if(_A7!==null){return true}}}return false};_A5.prototype._C7=function(_M6,_N6,_O6,_P6,_Q6,_R6,_D7,_E7,_l7,_m7,_n7,_o7,_p7,_q7){this._L6(_M6,_N6,_O6,_P6,_Q6,_R6);if(_D7==null){return false}if(_D7._F7<=0){return false;}if(_D7._G7.length>0){_l7=_l7%_D7._G7.length}if(_l7<0){_l7=_l7+_D7._G7.length}_o7=1.0/_o7;_p7=1.0/_p7;var _d7=this._G5;var _H7=_I7(_d7._f7,_E7.left);
var _J7=_K7(_d7._g7,_E7.right);var _L7=_I7(_d7._h7,_E7.top);var _M7=_K7(_d7._i7,_E7.bottom);var _N7=Math.sin(-_q7*(_O7/180.0));var _P7=Math.cos(-_q7*(_O7/180.0));for(var _Q7=_H7;_Q7<=_J7;_Q7++){for(var _R7=_L7;_R7<=_M7;_R7++){var _S7=((_P7*(_Q7-_m7)+_N7*(_R7-_n7))*_o7+_D7._T7);var _U7=((_P7*(_R7-_n7)-_N7*(_Q7-_m7))*_p7+_D7._V7);if((_S7<0)||(_S7>=_D7._W7)){continue }if((_U7<0)||(_U7>=_D7._X7)){continue }if(_D7._Y7){if(!_D7._G7._Z7[_l7]._Z7[_S7+(_U7*_D7._W7)]){continue }}var _A7=_d7.__7(_Q7,_R7);if(_A7!==null){
return true}}}return false};_A5.prototype._08=function(_M6,_N6,_O6,_P6,_Q6,_R6,_18,_28){this._L6(_M6,_N6,_O6,_P6,_Q6,_R6);var _A7=this._G5.__7(_18,_28);if(_A7!==null){return true}return false};_A5.prototype._38=function(_M6,_N6,_O6,_P6,_Q6,_R6,_18,_28,_m7,_n7){this._L6(_M6,_N6,_O6,_P6,_Q6,_R6);var _A7=this._G5._B7(_18,_28,_m7,_n7);if(_A7!==null){return true}return false};_A5.prototype._48=function(_M6,_N6,_O6,_P6,_Q6,_R6,_18,_28,_m7,_n7){this._L6(_M6,_N6,_O6,_P6,_Q6,_R6);var _d7=this._G5;var _A7=_d7._B7(_18,
_28,_m7,_n7);if(_A7!==null){return true}_A7=_d7._B7(_18,_28,_m7,_28);if(_A7!==null){return true}_A7=_d7._B7(_m7,_28,_m7,_n7);if(_A7!==null){return true}_A7=_d7._B7(_m7,_n7,_18,_n7);if(_A7!==null){return true}_A7=_d7._B7(_18,_n7,_18,_28);if(_A7!==null){return true}return false};_A5.prototype._58=function(_M6,_N6,_O6,_P6,_Q6,_R6,_68){this._L6(_M6,_N6,_O6,_P6,_Q6,_R6);var _d7=this._G5;var skeleton=this._F5;var _H7=_I7(_d7._f7,_68.left);var _J7=_K7(_d7._g7,_68.right);var _L7=_I7(_d7._h7,_68.top);var _M7=_K7(_d7._i7,
_68.bottom);var _78=((_68.right+_68.left)/2);var _88=((_68.bottom+_68.top)/2);var _98=((_68.right-_68.left)/2);var _a8=((_68.bottom-_68.top)/2);var _W7=(_d7._g7-_d7._f7);var _X7=(_d7._i7-_d7._h7);var _T7=skeleton.x-_d7._f7;var _V7=skeleton.y-_d7._h7;if((_P6==1)&&(_Q6==1)&&(Math.abs(_R6)<0.0001)){for(var _Q7=_H7;_Q7<=_J7;_Q7++){for(var _R7=_L7;_R7<=_M7;_R7++){if(_b8((_Q7-_78)/_98)+_b8((_R7-_88)/_a8)>1)continue;var _S7=_Q7-_N6+_T7;var _U7=_R7-_O6+_V7;if((_S7<0)||(_S7>=_W7))continue;if((_U7<0)||(_U7>=_X7))continue;
var _A7=_d7.__7(_Q7,_R7);if(_A7!==null){return true}}}}else {var _c8=Math.sin(-_R6*_O7/180.0);var _d8=Math.cos(-_R6*_O7/180.0);for(var _Q7=_H7;_Q7<=_J7;_Q7++){for(var _R7=_L7;_R7<=_M7;_R7++){if(_b8((_Q7-_78)/_98)+_b8((_R7-_88)/_a8)>1)continue;var _S7=Math.floor((_d8*(_Q7-_N6)+_c8*(_R7-_O6))/_P6+_T7);var _U7=Math.floor((_d8*(_R7-_O6)-_c8*(_Q7-_N6))/_Q6+_V7);if((_S7<0)||(_S7>=_W7))continue;if((_U7<0)||(_U7>=_X7))continue;var _A7=_d7.__7(_Q7,_R7);if(_A7!==null){return true}}}}return false};var _e8=null;;function _f8(){
this.width=null;this.height=null}function _g8(){this.name=null;this._h8=new _f8();this._i8=function(){return this._h8};this._j8=function(_k8,_l8){};this._m8=function(_n8,_o8){};this._p8=function(){};this._q8=null;this.width=null;this.height=null}/*@constructor */function _r8(){this._s8=[];this._t8=null;this._K5=null;this._u8=null;if(_v8){this._w8=this._x8;this._y8=this._z8}else {this._w8=this._A8;this._y8=this._B8}};_r8.prototype._C8=function(_t6,_D8,_E8,_F8){this._s8[_t6]={_G8:[],_H8:0,_I8:32,_J8:_K8[_F8],
x:0,y:0,_u4:_D8,_v4:_E8}};_r8.prototype._L8=function(_M8,_N8,_D8,_E8){var width=_D8;var height=_E8;var _O8=this;var _P8=function(_Q8){var _R8=new _g8();_R8.name=_Q8;_R8.width=_R8._h8.width=width;_R8.height=_R8._h8.height=height;var _S8=_T8(_U8+_Q8);_R8._q8=_S8;_K8[_S8].onload=function(e){_R8._h8=e._V8;var target=e.target||e.srcElement;_O8._C8(_R8.name,target.width,target.height,_S8)};_K8[_S8].onerror=function(e){var target=e.target||e.srcElement;debug("ImageError: "+target.src)};_K8[_S8].URL=_Q8;return _R8}
;this._u8=new spine._W8(_N8,_P8);this._t8=new spine._X8(new spine._Y8(this._u8));this._K5=this._t8._Z8(_M8)};_r8.prototype.__8=function(){if(this._u8){if(this._u8._09){if(this._u8._09.length>0){if(this._u8._09[0]._J8){if(this._u8._09[0]._J8._q8){return this._u8._09[0]._J8._q8}}}}}return -1};_r8.prototype._19=function(_29,_x6,_a7,x,y,_39,_49,angle,_59,alpha){if(this._K5===null||this._K5===undefined)return;spine._69._79=true;var _89=new _A5(this);_89._76(_29);_89._86(_x6);_89._L6(_a7,x,y,_39,_49,angle);this._99(_89._F5,
_59,alpha)};_r8.prototype._a9=function(_a7,x,y,_39,_49,angle,_59,alpha){if(!_e8||!_e8._b9()){this._19(null,null,_a7,x,y,_39,_49,angle,_59,alpha)}else {spine._69._79=true;var _c9=_e8._b9();_c9._L6(_a7,x,y,_39,_49,angle,_e8);this._99(_c9._F5,_59,alpha);if(_c9._E5){this._d9(_c9._G5)}}};_r8.prototype._99=function(_e9,color,alpha){var _f9=(color&0xff)/255.0,_g9=((color&0xff00)>>8)/255.0,_h9=((color&0xff0000)>>16)/255.0;for(var _Q7=0,_r7=_e9.slots.length;_Q7<_r7;_Q7++){var slot=_e9._i9[_Q7];if(!slot.attachment)continue;
var _J7=(_f9*255);var _j9=(_g9*255);var _M7=(_h9*255);var _k9=(alpha*255);if((slot.skeleton!=undefined)&&(slot.skeleton._J7!=undefined)){_J7*=slot.skeleton._J7;_j9*=slot.skeleton._j9;_M7*=slot.skeleton._M7;_k9*=slot.skeleton._k9}if(slot.color!=undefined){_J7*=slot.color._J7;_j9*=slot.color._j9;_M7*=slot.color._M7;_k9*=slot.color._k9}var _59=(_k9<<24)|(_J7<<0)|(_j9<<8)|(_M7<<16);if(slot.attachment instanceof spine._l9){this._w8(slot,_59,alpha)}else if(slot.attachment instanceof spine._m9){this._y8(slot,_59,
alpha)}}};_r8.prototype._d9=function(_n9){_o9(_n9._f7,_n9._h7,_n9._f7,_n9._i7);_o9(_n9._f7,_n9._i7,_n9._g7,_n9._i7);_o9(_n9._g7,_n9._i7,_n9._g7,_n9._h7);_o9(_n9._g7,_n9._h7,_n9._f7,_n9._h7);for(var _r7=0;_r7<_n9._s7.length;_r7++){var _t7=_n9._s7[_r7];var _u7=_t7.length/2;for(var _v7=0;_v7<_u7;_v7++){var _w7,_x7,_y7,_z7;_w7=_t7[(_v7*2)+0];_x7=_t7[(_v7*2)+1];if(_v7==(_u7-1)){_y7=_t7[0];_z7=_t7[1]}else {_y7=_t7[((_v7+1)*2)+0];_z7=_t7[((_v7+1)*2)+1]}_o9(_w7,_x7,_y7,_z7)}}};_r8.prototype._A8=function(slot,
_59,alpha){var _p9=slot.attachment,vertices=[];var _q9=0;var _r9=0;if(slot.skeleton){_q9=slot.skeleton.x;_r9=slot.skeleton.y}else if(slot.bone.skeleton){_q9=slot.bone.skeleton.x;_r9=slot.bone.skeleton.y}vertices=_p9._s9(slot,false);var _t9=[];_t9[0]={};_t9[0].x=vertices[spine._l9._u9];_t9[0].y=vertices[spine._l9._v9];_t9[0]._w9=vertices[spine._l9._x9];_t9[0]._y9=vertices[spine._l9._z9];_t9[1]={};_t9[1].x=vertices[spine._l9._A9];_t9[1].y=vertices[spine._l9._B9];_t9[1]._w9=vertices[spine._l9._C9];_t9[1]._y9=vertices[spine._l9._D9];
_t9[2]={};_t9[2].x=vertices[spine._l9._E9];_t9[2].y=vertices[spine._l9._F9];_t9[2]._w9=vertices[spine._l9._G9];_t9[2]._y9=vertices[spine._l9._H9];_t9[3]={};_t9[3].x=vertices[spine._l9._I9];_t9[3].y=vertices[spine._l9._J9];_t9[3]._w9=vertices[spine._l9._K9];_t9[3]._y9=vertices[spine._l9._L9];_M9.globalAlpha=alpha;var _N9=_p9._p9._J8;var _S8=_K8[_p9._p9._O9._J8._q8];if(!_S8.complete)return;if(_59!=_P9){if(!this._s8[_p9._p9._O9._J8.name]){var _Q9=_p9._p9._J8;this._C8(_Q9.name,_Q9.width,_Q9.height,_Q9._q8)}
_S8=_R9(this._s8[_p9._p9._J8.name],_59)}var _S9=this._s8[_N9.name];this._T9(_M9,_S8,_t9[0].x,_t9[0].y,_t9[1].x,_t9[1].y,_t9[2].x,_t9[2].y,_t9[0]._w9*_S9._u4,_t9[0]._y9*_S9._v4,_t9[1]._w9*_S9._u4,_t9[1]._y9*_S9._v4,_t9[2]._w9*_S9._u4,_t9[2]._y9*_S9._v4);this._T9(_M9,_S8,_t9[2].x,_t9[2].y,_t9[3].x,_t9[3].y,_t9[0].x,_t9[0].y,_t9[2]._w9*_S9._u4,_t9[2]._y9*_S9._v4,_t9[3]._w9*_S9._u4,_t9[3]._y9*_S9._v4,_t9[0]._w9*_S9._u4,_t9[0]._y9*_S9._v4)};_r8.prototype._B8=function(slot,_59,alpha){var _U9=slot.attachment,
vertices=[];vertices=_U9._s9(slot,false);var _N9=_U9._p9;var _S8=_K8[_U9._p9._O9._J8._q8];if(!_S8.complete)return;if(_59!=_P9){if(!this._s8[_U9._p9._O9._Q9.name]){var _Q9=_U9._p9._O9._Q9;this._C8(_Q9.name,_Q9.width,_Q9.height,_U9._p9._O9._Q9._q8)}_S8=_R9(this._s8[_U9._p9._O9._Q9.name],_59)}for(var _r7=0;_r7<_U9.triangles.length/3;_r7++){var _V9=_r7*3;var _W9=_U9.triangles[_V9++]*8,_X9=_U9.triangles[_V9++]*8,_Y9=_U9.triangles[_V9++]*8;var _t9=[];_t9[0]={};_t9[0].x=vertices[_W9];_t9[0]._w9=vertices[6+_W9++];
_t9[0].y=vertices[_W9];_t9[0]._y9=vertices[6+_W9];_t9[1]={};_t9[1].x=vertices[_X9];_t9[1]._w9=vertices[6+_X9++];_t9[1].y=vertices[_X9];_t9[1]._y9=vertices[6+_X9];_t9[2]={};_t9[2].x=vertices[_Y9];_t9[2]._w9=vertices[6+_Y9++];_t9[2].y=vertices[_Y9];_t9[2]._y9=vertices[6+_Y9];var _S9=this._s8[_U9._p9._O9._Q9.name];this._T9(_M9,_S8,_t9[0].x,_t9[0].y,_t9[1].x,_t9[1].y,_t9[2].x,_t9[2].y,_t9[0]._w9*_S9._u4,_t9[0]._y9*_S9._v4,_t9[1]._w9*_S9._u4,_t9[1]._y9*_S9._v4,_t9[2]._w9*_S9._u4,_t9[2]._y9*_S9._v4)}};
_r8.prototype._T9=function(_Z9,__9,_0a,_1a,_w7,_x7,_y7,_z7,_2a,_3a,_4a,_5a,_6a,_7a){_Z9.save();_Z9.beginPath();_Z9.moveTo(_0a,_1a);_Z9.lineTo(_w7,_x7);_Z9.lineTo(_y7,_z7);_Z9.closePath();_Z9.clip();var _8a=_2a*(_7a-_5a)-_4a*_7a+_6a*_5a+(_4a-_6a)*_3a;if(_8a==0){return }var _9a=-(_3a*(_y7-_w7)-_5a*_y7+_7a*_w7+(_5a-_7a)*_0a)/_8a;var _aa=(_5a*_z7+_3a*(_x7-_z7)-_7a*_x7+(_7a-_5a)*_1a)/_8a;var _ba=(_2a*(_y7-_w7)-_4a*_y7+_6a*_w7+(_4a-_6a)*_0a)/_8a;var _ca=-(_4a*_z7+_2a*(_x7-_z7)-_6a*_x7+(_6a-_4a)*_1a)/_8a;var _da=(_2a*(_7a*_w7-_5a*_y7)+_3a*(_4a*_y7-_6a*_w7)+(_6a*_5a-_4a*_7a)*_0a)/_8a;
var _ea=(_2a*(_7a*_x7-_5a*_z7)+_3a*(_4a*_z7-_6a*_x7)+(_6a*_5a-_4a*_7a)*_1a)/_8a;_Z9.transform(_9a,_aa,_ba,_ca,_da,_ea);_Z9.drawImage(__9,0,0);_Z9.restore()};_r8.prototype._x8=function(slot,_59,alpha){var _p9=slot.attachment,vertices=[];var _q9=0;var _r9=0;if(slot.skeleton){_q9=slot.skeleton.x;_r9=slot.skeleton.y}else if(slot.bone.skeleton){_q9=slot.bone.skeleton.x;_r9=slot.bone.skeleton.y}vertices=_p9._s9(slot,false);var _t9=[];_t9[0]={};_t9[0].x=vertices[spine._l9._u9];_t9[0].y=vertices[spine._l9._v9];
_t9[0]._w9=vertices[spine._l9._x9];_t9[0]._y9=vertices[spine._l9._z9];_t9[1]={};_t9[1].x=vertices[spine._l9._A9];_t9[1].y=vertices[spine._l9._B9];_t9[1]._w9=vertices[spine._l9._C9];_t9[1]._y9=vertices[spine._l9._D9];_t9[2]={};_t9[2].x=vertices[spine._l9._E9];_t9[2].y=vertices[spine._l9._F9];_t9[2]._w9=vertices[spine._l9._G9];_t9[2]._y9=vertices[spine._l9._H9];_t9[3]={};_t9[3].x=vertices[spine._l9._I9];_t9[3].y=vertices[spine._l9._J9];_t9[3]._w9=vertices[spine._l9._K9];_t9[3]._y9=vertices[spine._l9._L9];
var _S8=_K8[_p9._p9._O9._J8._q8];if(!_S8.complete)return;if(!_S8._fa)_ga({_J8:_S8});var _ha=6;var _ia=_v8._ja(_ka._la,_S8._fa,_v8._ma,_ha);var _na=_ia._oa()>>2;var index=_na*_ia._pa;_ia._pa+=_ha;var _qa=_ia._ra;var _sa=_ia._ta;var _ua=_ia._va;var _wa=index;var _xa=_wa+_na;var _ya=_xa+_na;var _za=_ya+_na;var _Aa=_za+_na;var _Ba=_Aa+_na;_qa[_wa+0]=_qa[_Ba+0]=vertices[spine._l9._u9];_qa[_wa+1]=_qa[_Ba+1]=vertices[spine._l9._v9];_qa[_xa+0]=vertices[spine._l9._A9];_qa[_xa+1]=vertices[spine._l9._B9];_qa[_ya+0]=_qa[_za+0]=vertices[spine._l9._E9];
_qa[_ya+1]=_qa[_za+1]=vertices[spine._l9._F9];_qa[_Aa+0]=vertices[spine._l9._I9];_qa[_Aa+1]=vertices[spine._l9._J9];_qa[_wa+2]=_qa[_xa+2]=_qa[_ya+2]=_qa[_za+2]=_qa[_Aa+2]=_qa[_Ba+2]=_Ca;_sa[_wa]=_sa[_xa]=_sa[_ya]=_sa[_za]=_sa[_Aa]=_sa[_Ba]=_59;_ua[_wa+0]=_ua[_Ba+0]=vertices[spine._l9._x9];_ua[_wa+1]=_ua[_Ba+1]=vertices[spine._l9._z9];_ua[_xa+0]=vertices[spine._l9._C9];_ua[_xa+1]=vertices[spine._l9._D9];_ua[_ya+0]=_ua[_za+0]=vertices[spine._l9._G9];_ua[_ya+1]=_ua[_za+1]=vertices[spine._l9._H9];_ua[_Aa+0]=vertices[spine._l9._K9];
_ua[_Aa+1]=vertices[spine._l9._L9]};_r8.prototype._z8=function(slot,_59,alpha){var _U9=slot.attachment,vertices=[];var _q9=0;var _r9=0;if(slot.skeleton){_q9=slot.skeleton.x;_r9=slot.skeleton.y}else if(slot.bone.skeleton){_q9=slot.bone.skeleton.x;_r9=slot.bone.skeleton.y}vertices=_U9._s9(slot,false);var _S8=_K8[_U9._p9._O9._J8._q8];if(!_S8.complete)return;if(!_S8._fa)_ga({_J8:_S8});var _ha=_U9.triangles.length;var _ia=_v8._ja(_ka._la,_S8._fa,_v8._ma,_ha);var _na=_ia._oa()>>2;var index=_na*_ia._pa;_ia._pa+=_ha;
var _qa=_ia._ra;var _sa=_ia._ta;var _ua=_ia._va;var _wa=index;for(var _r7=0;_r7<_ha;_r7++,_wa+=_na){var _W9=_U9.triangles[_r7];_qa[_wa+0]=vertices[(_W9*8)+0];_qa[_wa+1]=vertices[(_W9*8)+1];_qa[_wa+2]=_Ca;_sa[_wa+0]=_sa[_wa+1]=_59;_ua[_wa+0]=vertices[(_W9*8)+6];_ua[_wa+1]=vertices[(_W9*8)+7]}};function _Da(_Ea){_Fa("draw_primitive_begin()")}function _Ga(_Ea,_Ha){_Fa("draw_primitive_begin_texture()")}function _Ia(x,y){_Fa("draw_vertex()")}function _Ja(x,y,_59,alpha){_Fa("draw_vertex_color()")}var _Ka=_Ja;function _La(x,
y,_Ma,_Na){_Fa("draw_vertex_texture()")}function _Oa(x,y,_Ma,_Na,_59,alpha){_Fa("draw_vertex_texture_color()")}var _Pa=_Oa;function _Qa(){_Fa("draw_primitive_end()")}function _Ra(_Ea){_Fa("d3d_primitive_begin()")}function _Sa(_Ea,_Ha){_Fa("d3d_primitive_begin_texture()")}function _Ta(x,y,_Ua){_Fa("d3d_vertex()")}function _Va(x,y,_Ua,_59,alpha){_Fa("d3d_vertex_color()")}var _Wa=_Va;function _Xa(x,y,_Ua,_Ma,_Na){_Fa("d3d_vertex_texture()")}function _Ya(x,y,_Ua,_Ma,_Na,_59,alpha){_Fa("d3d_vertex_texture_color()");
}var _Za=_Ya;function __a(x,y,_Ua,_0b,_1b,_2b){_Fa("d3d_vertex_normal()")}function _3b(x,y,_Ua,_0b,_1b,_2b,_59,alpha){_Fa("d3d_vertex_normal_color()")}var _4b=_3b;function _5b(x,y,_Ua,_0b,_1b,_2b,_Ma,_Na){_Fa("d3d_vertex_normal_texture()")}function _6b(x,y,_Ua,_0b,_1b,_2b,_Ma,_Na,_59,alpha){_Fa("d3d_vertex_normal_texture_color()")}var _7b=_6b;function _8b(){_Fa("d3d_primitive_end()")}var _9b=null;var _ab=0,_bb=-1,_cb=null,_db=null;var _eb=1,_fb=2,_gb=3,_hb=4,_ib=5,_jb=6,_kb=7;function _lb(){_Da=_mb;_Ga=_nb;
_Ia=_ob;_Ja=_pb;_Ka=_pb;_La=_qb;_Oa=_rb;_Pa=_rb;_Qa=_sb;_Ra=_tb;_Sa=_ub;_Ta=_vb;_Va=_wb;_Wa=_wb;_Xa=_xb;_Ya=_yb;_Za=_yb;__a=_zb;_3b=_Ab;_4b=_Ab;_5b=_Bb;_6b=_Cb;_7b=_Cb;_8b=_Db}function _Eb(_Fb){switch(_Fb){case _eb:return _ka._Gb;case _fb:return _ka._Hb;case _gb:return _ka._Ib;case _hb:return _ka._la;case _ib:return _ka._Jb;case _jb:return _ka._Kb;case _kb:return _ka._la;}return -1}function _Lb(){_ab=0;_bb=-1;_cb=null;_db=null}function _mb(_Mb){_nb(_Mb,-1)}function _nb(_Mb,_F8){_ab=_Mb;_bb=null;_cb=null;if(typeof(_F8)=="object"){
_bb=_F8._Nb;_cb=_F8._Ob}else if((_F8!=-1)&&_K8[_F8]){_bb=_K8[_F8]}if(_bb&&!_bb._fa){_ga({_J8:_bb})}_db=new _Pb(_Qb,_v8._Rb(_v8._ma),false)}function _ob(_N6,_O6){var _na=_db._oa()>>2;var index=_db._pa*_na;_db._Sb(1);_db._ra[index+0]=_N6;_db._ra[index+1]=_O6;_db._ra[index+2]=_Ca;_db._va[index+0]=0;_db._va[index+1]=0;_db._ta[index]=((_Tb*255.0)<<24)|(_Ub&0x00ffffff);}function _pb(_N6,_O6,_Vb,_Wb){var _na=_db._oa()>>2;var index=_db._pa*_na;_db._Sb(1);_db._ra[index+0]=_N6;_db._ra[index+1]=_O6;_db._ra[index+2]=_Ca;
_db._va[index+0]=0;_db._va[index+1]=0;_db._ta[index]=((_Wb*255.0)<<24)|_Xb(_Vb)}function _qb(_N6,_O6,_Yb,_Zb){var _na=_db._oa()>>2;var index=_db._pa*_na;_db._Sb(1);_db._ra[index+0]=_N6;_db._ra[index+1]=_O6;_db._ra[index+2]=_Ca;var __b=_0c(_Yb,_Zb);_db._va[index+0]=__b._w9;_db._va[index+1]=__b._y9;_db._ta[index]=((_Tb*255.0)<<24)|(_Ub&0x00ffffff)}function _rb(_N6,_O6,_Yb,_Zb,_Vb,_Wb){var _na=_db._oa()>>2;var index=_db._pa*_na;_db._Sb(1);_db._ra[index+0]=_N6;_db._ra[index+1]=_O6;_db._ra[index+2]=_Ca;var __b=_0c(_Yb,
_Zb);_db._va[index+0]=__b._w9;_db._va[index+1]=__b._y9;_db._ta[index]=((_Wb*255.0)<<24)|_Xb(_Vb)}function _sb(){var _1c=_Eb(_ab);if(_1c==-1){return }var _2c=_db._3c.subarray(0,_db._pa*_db._oa());var _4c=_bb?_bb._fa:null;var _ia=_v8._ja(_1c,_4c,_v8._ma,_db._pa);_ia._3c.set(_2c,_ia._pa*_ia._oa());_ia._pa+=_db._pa}function _tb(_Ea){_Sa(_Ea,-1)}function _ub(_Mb,_F8){_ab=_Mb;_bb=null;_cb=null;if(typeof(_F8)=="object"){_bb=_F8._Nb;_cb=_F8._Ob}else if((_F8!=-1)&&_K8[_F8]){_bb=_K8[_F8]}if(_bb&&!_bb._fa){_ga({_J8:_bb}
)}_db=new _Pb(_Qb,_v8._Rb(_v8._5c),false)}function _0c(_Yb,_Zb){if(_cb&&_bb){return({_w9:(_cb.x+(_Yb*_cb._y4))/_bb._6c,_y9:(_cb.y+(_Zb*_cb._z4))/_bb._7c})}else {return({_w9:_Yb,_y9:_Zb})}};function _vb(_N6,_O6,_8c){var _na=_db._oa()>>2;var index=_db._pa*_na;_db._Sb(1);_db._ra[index+0]=_N6;_db._ra[index+1]=_O6;_db._ra[index+2]=_8c;_db._9c[index+0]=0;_db._9c[index+1]=0;_db._9c[index+2]=0;_db._va[index+0]=0;_db._va[index+1]=0;_db._ta[index]=((_Tb*255.0)<<24)|(_Ub&0x00ffffff)}function _wb(_N6,_O6,_8c,_ac,_Wb){
var _na=_db._oa()>>2;var index=_db._pa*_na;_db._Sb(1);_db._ra[index+0]=_N6;_db._ra[index+1]=_O6;_db._ra[index+2]=_8c;_db._9c[index+0]=0;_db._9c[index+1]=0;_db._9c[index+2]=0;_db._va[index+0]=0;_db._va[index+1]=0;_db._ta[index]=((_Wb*255.0)<<24)|_Xb(_ac)}function _xb(_N6,_O6,_8c,_bc,_cc){var _na=_db._oa()>>2;var index=_db._pa*_na;_db._Sb(1);_db._ra[index+0]=_N6;_db._ra[index+1]=_O6;_db._ra[index+2]=_8c;_db._9c[index+0]=0;_db._9c[index+1]=0;_db._9c[index+2]=0;var __b=_0c(_bc,_cc);_db._va[index+0]=__b._w9;
_db._va[index+1]=__b._y9;_db._ta[index]=((_Tb*255.0)<<24)|(_Ub&0x00ffffff)}function _yb(_N6,_O6,_8c,_bc,_cc,_ac,_Wb){var _na=_db._oa()>>2;var index=_db._pa*_na;_db._Sb(1);_db._ra[index+0]=_N6;_db._ra[index+1]=_O6;_db._ra[index+2]=_8c;_db._9c[index+0]=0;_db._9c[index+1]=0;_db._9c[index+2]=0;var __b=_0c(_bc,_cc);_db._va[index+0]=__b._w9;_db._va[index+1]=__b._y9;_db._ta[index]=((_Wb*255.0)<<24)|_Xb(_ac)}function _zb(_N6,_O6,_8c,_dc,_ec,_fc){var _na=_db._oa()>>2;var index=_db._pa*_na;_db._Sb(1);_db._ra[index+0]=_N6;
_db._ra[index+1]=_O6;_db._ra[index+2]=_8c;_db._9c[index+0]=_dc;_db._9c[index+1]=_ec;_db._9c[index+2]=_fc;_db._va[index+0]=0;_db._va[index+1]=0;_db._ta[index]=((_Tb*255.0)<<24)|(_Ub&0x00ffffff)}function _Ab(_N6,_O6,_8c,_dc,_ec,_fc,_ac,_Wb){var _na=_db._oa()>>2;var index=_db._pa*_na;_db._Sb(1);_db._ra[index+0]=_N6;_db._ra[index+1]=_O6;_db._ra[index+2]=_8c;_db._9c[index+0]=_dc;_db._9c[index+1]=_ec;_db._9c[index+2]=_fc;_db._va[index+0]=0;_db._va[index+1]=0;_db._ta[index]=((_Wb*255.0)<<24)|_Xb(_ac)}function _Bb(_N6,
_O6,_8c,_dc,_ec,_fc,_bc,_cc){var _na=_db._oa()>>2;var index=_db._pa*_na;_db._Sb(1);_db._ra[index+0]=_N6;_db._ra[index+1]=_O6;_db._ra[index+2]=_8c;_db._9c[index+0]=_dc;_db._9c[index+1]=_ec;_db._9c[index+2]=_fc;var __b=_0c(_bc,_cc);_db._va[index+0]=__b._w9;_db._va[index+1]=__b._y9;_db._ta[index]=((_Tb*255.0)<<24)|(_Ub&0x00ffffff)}function _Cb(_N6,_O6,_8c,_dc,_ec,_fc,_bc,_cc,_ac,_Wb){var _na=_db._oa()>>2;var index=_db._pa*_na;_db._Sb(1);_db._ra[index+0]=_N6;_db._ra[index+1]=_O6;_db._ra[index+2]=_8c;_db._9c[index+0]=_dc;
_db._9c[index+1]=_ec;_db._9c[index+2]=_fc;var __b=_0c(_bc,_cc);_db._va[index+0]=__b._w9;_db._va[index+1]=__b._y9;_db._ta[index]=((_Wb*255.0)<<24)|_Xb(_ac)}function _Db(){var _1c=_Eb(_ab);if(_1c==-1){return }var _2c=_db._3c.subarray(0,_db._pa*_db._oa());var _4c=_bb?_bb._fa:null;var _ia=_v8._ja(_1c,_4c,_v8._5c,_db._pa);_ia._3c.set(_2c,_ia._pa*_ia._oa());_ia._pa+=_db._pa}/*@constructor */function _gc(_hc){var _ic=null,_jc=null,_kc=null,_lc=false,_mc=null,_nc;var _oc=0,_pc=0,_qc=0,_rc=0;var _sc=this;(function(){
_ic=new ArrayBuffer(_hc);_jc=new DataView(_ic)})();function _tc(_uc,_vc){var _wc=false;var _xc=_mc._yc;for(var _Q7=0;_Q7<_xc.length;_Q7++){var _zc=_xc[_Q7];if(((_uc==-1)||(_zc._Ac==_uc))&&(_zc.type==_vc)){_wc=true;if((_zc._Bc&_oc)===0){var _Cc=(_rc+_zc.offset);_oc|=_zc._Bc;if(_mc._Dc===_oc){_oc=0;_pc++;_rc+=_mc._Ec;if((_rc+_mc._Ec)>=_ic.byteLength){_sc._Fc(_ic.byteLength*2)}}return _Cc}}}if(_wc){debug("VERTEX BUILDER: element already written, must write the whole vertex first\n\n",true);return -1}debug("VERTEX BUILDER: Vertex format does not contain selected type.\n\n",
true);return -1};/*@this {yyVBufferBuilder} */this._Fc=function(_hc){var _Gc=new ArrayBuffer(_hc);var _Hc=new Int8Array(_ic);var _Ic=new Int8Array(_Gc);_Ic.set(_Hc);_ic=_Gc;_jc=new DataView(_ic)};/*@this {yyVBufferBuilder} */this._Jc=function(_Kc){_oc=0;_pc=0;_qc=0;_rc=0;_nc=_Kc;_mc=_v8._Rb(_Kc);if(_mc._Ec>_ic.byteLength){this._Fc(_mc._Ec*36)}};/*@this {yyVBufferBuilder} */this._Lc=function(){};this._Mc=function(){return _nc};this._Nc=function(){return _v8._Rb(_nc)};/*@this {yyVBufferBuilder} */this._Oc=function(x,
y){var _Cc=_tc(_ka._Pc,_ka._Qc);if(_Cc>=0){_jc.setFloat32(_Cc,x,true);_jc.setFloat32(_Cc+4,y,true)}};/*@this {yyVBufferBuilder} */this._Rc=function(x,y,_Ua){var _Cc=_tc(_ka._Pc,_ka._Sc);if(_Cc>=0){_jc.setFloat32(_Cc,x,true);_jc.setFloat32(_Cc+4,y,true);_jc.setFloat32(_Cc+8,_Ua,true)}};/*@this {yyVBufferBuilder} */this._Tc=function(_ac,_Wb){var _Cc=_tc(_ka._Uc,_ka._Vc);if(_Cc>=0){var _Wc=((_Wb*255.0)<<24)|_Xb(_ac);_jc.setUint32(_Cc,_Wc,true)}};/*@this {yyVBufferBuilder} */this._Xc=function(_Yc){var _Cc=_tc(_ka._Uc,
_ka._Vc);if(_Cc>=0){var _59=((_Yc&0xff)<<24)|((_Yc&0xff00)<<8)|((_Yc&0xff0000)>>8)|((_Yc&0xff000000)>>24);_jc.setUint32(_Cc,_59,true)}};/*@this {yyVBufferBuilder} */this._Zc=function(__c){var _Cc=_tc(_ka._Uc,_ka._Vc);if(_Cc>=0){var _59=(__c&0xff000000)|((__c&0xff)<<16)|(__c&0xff00)|((__c&0xff0000)>>16);_jc.setUint32(_Cc,_59,true)}};/*@this {yyVBufferBuilder} */this._0d=function(_w9,_y9){var _Cc=_tc(_ka._1d,_ka._Qc);if(_Cc>=0){_jc.setFloat32(_Cc,_w9,true);_jc.setFloat32(_Cc+4,_y9,true)}};/*@this {yyVBufferBuilder} */this._2d=function(x,
y,_Ua){var _Cc=_tc(_ka._3d,_ka._Sc);if(_Cc>=0){_jc.setFloat32(_Cc,x,true);_jc.setFloat32(_Cc+4,y,true);_jc.setFloat32(_Cc+8,_Ua,true)}};/*@this {yyVBufferBuilder} */this._4d=function(x){var _Cc=_tc(-1,_ka._5d);if(_Cc>=0){_jc.setFloat32(_Cc,x,true)}};/*@this {yyVBufferBuilder} */this._6d=function(x,y){var _Cc=_tc(-1,_ka._Qc);if(_Cc>=0){_jc.setFloat32(_Cc,x,true);_jc.setFloat32(_Cc+4,y,true)}};/*@this {yyVBufferBuilder} */this._7d=function(x,y,_Ua){var _Cc=_tc(-1,_ka._Sc);if(_Cc>=0){_jc.setFloat32(_Cc,
x,true);_jc.setFloat32(_Cc+4,y,true);_jc.setFloat32(_Cc+8,_Ua,true)}};/*@this {yyVBufferBuilder} */this._8d=function(x,y,_Ua,_u4){var _Cc=_tc(-1,_ka._9d);if(_Cc>=0){_jc.setFloat32(_Cc,x,true);_jc.setFloat32(_Cc+4,y,true);_jc.setFloat32(_Cc+8,_Ua,true);_jc.setFloat32(_Cc+12,_u4,true)}};/*@this {yyVBufferBuilder} */this._ad=function(x,y,_Ua,_u4){var _Cc=_tc(-1,_ka._bd);if(_Cc>=0){_jc.setUint8(_Cc,x,true);_jc.setUint8(_Cc+1,y,true);_jc.setUint8(_Cc+2,_Ua,true);_jc.setUint8(_Cc+3,_u4,true)}};/*@this {yyVBufferBuilder} */this._cd=function(){
var _dd=new _Pb(_pc,_mc,false);var _ed=_pc*_mc._Ec;var _fd=new Int8Array(_ic,0,_ed);_dd._3c.set(_fd);_dd._pa+=_pc;_dd._cd();_kc=_dd;_lc=true;_ic=null;_jc=null};/*@this {yyVBufferBuilder} */this._gd=function(_hd,_id){if(_lc){if(_id==-1){_v8._jd(_hd,null,_kc,0)}else _v8._jd(_hd,_id._Nb._fa,_kc,0)}else {var _ia;if(_id==-1){_ia=_v8._ja(_hd,null,_nc,_pc)}else {_ia=_v8._ja(_hd,_id._Nb._fa,_nc,_pc)}var _kd=_ia._pa*_mc._Ec;var _fd=new Int8Array(_ic,0,_pc*_mc._Ec);_ia._3c.set(_fd,_kd);_ia._pa+=_pc}};this._ld=function(_md){
_pc=_md;_qc=0;_rc=_md*_mc._Ec};this._nd=function(){return _pc};this._od=function(){return _ic}}var _pd=null;var _qd=[];/*@constructor */function _rd(_sd){var _td=0,_ud=0.5;var _vd=_sd;var _wd=[];var _xd=[];var _yd=[];var _zd=_td;var _Ad=_ud;Object.defineProperties(this,{_Bd:{get:function(){return _zd;},set:function(_Cd){_zd=_Cd}},_Dd:{get:function(){return _Ad},set:function(_Cd){_Ad=_Cd}}});/*@this {yyGamePad} */this._Ed=function(){_xd=_wd.slice();_yd=_vd.axes.slice();var _Fd=_vd.buttons;if(_Fd){for(var _M7 in _Fd){
if(!_Fd.hasOwnProperty(_M7))continue;if(typeof(_Fd[_M7])==="object"){_wd[_M7]=_Fd[_M7].value}else {_wd[_M7]=_Fd[_M7]}}}};/*@this {yyGamePad} */this._Gd=function(){if(_vd){return _vd.id||""}return ""};/*@this {yyGamePad} */this._Hd=function(){if(_wd){return _wd.length}return 0};/*@this {yyGamePad} */this._Id=function(_Jd){var _Kd=_wd[_Jd];var _Ld=_xd[_Jd];if((_Kd!==undefined)&&(_Ld!==undefined)){return((_Kd>=_Ad)&&(_Ld<_Ad))}return false};/*@this {yyGamePad} */this._Md=function(_Jd){var _Kd=_wd[_Jd];var _Ld=_xd[_Jd];
if((_Kd!==undefined)&&(_Ld!==undefined)){return((_Kd<_Ad)&&(_Ld>=_Ad))}return false};/*@this {yyGamePad} */this._Nd=function(_Jd){var _Kd;if(typeof(_wd[_Jd])==="object"){_Kd=_wd[_Jd].value}else {_Kd=_wd[_Jd]}if(_Kd!==undefined){return(_Kd>=_Ad)}return false};/*@this {yyGamePad} */this._Od=function(_Jd){var _Kd;if(typeof(_wd[_Jd])==="object"){_Kd=_wd[_Jd].value}else {_Kd=_wd[_Jd]}return _Kd||0.0};/*@this {yyGamePad} */this._Pd=function(){if(_yd){return _yd.length}return 0};/*@this {yyGamePad} */this._Qd=function(_Rd,
_Sd){var _Td=_yd[_Rd]||0;if(_zd>0.0){var _Ud=Math.abs(_Td);if(_Ud<_zd){_Td=0.0}else {var _Vd=(_Td>=0)?1.0:-1.0;_Td=((_Ud-_zd)/(_Sd-_zd))*_Vd}}return _Td}}/*@constructor */function _Wd(){var _Xd=1.0,_Yd=1.0;var _Zd=0,__d=1,_0e=2;var _1e=0x8000,_2e=0x8001,_3e=0x8002,_4e=0x8003,_5e=0x8004,_6e=0x8005,_7e=0x8006,_8e=0x8007,_9e=0x8008,_ae=0x8009,_be=0x800A,_ce=0x800B,_de=0x800C,_ee=0x800D,_fe=0x800E,_ge=0x800F,_he=0x8010,_ie=0x8011,_je=0x8012,_ke=0x8013,_le=0x8014;var _me=0,_ne=1,_oe=2,_pe=3,_qe=4,_re=5,_se=6,_te=7,
_ue=8,_ve=9,_we=10,_xe=11,_ye=12,_ze=13,_Ae=14,_Be=15;var _Ce=0,_De=1,_Ee=2,_Fe=3;function _Ge(){return !!navigator["getGamepads"]||!!navigator["webkitGetGamepads"]||!!navigator["webkitGamepads"]}var _He=_Ge()?__d:_Zd;var _Ie=[];function _Je(){if(navigator["getGamepads"]){return navigator["getGamepads"]();}if(navigator["webkitGetGamepads"]){return navigator["webkitGetGamepads"]()}if(navigator["webkitGamepads"]){return navigator["webkitGamepads"]()}return null}function _Ke(){var _Q7=0;for(_Q7=0;_Q7<_Ie.length;
_Q7++){if(_Ie[_Q7])_Ie[_Q7]._Ed()}}function _Le(){var _Me=0;var gamepads=_Je();if(gamepads!==null){for(_Me=0;_Me<gamepads.length;++_Me){var _Ne=gamepads[_Me];if(!_Ne&&_Ie[_Me]){_Ie[_Me]=undefined;var _Oe=_Pe._Qe(undefined,undefined,_Re,undefined);_Oe._Se="gamepad lost";_Oe._Te=_Me;_Oe._Ue=0;_Oe._Ve=true;}else {if(_Ne&&!_Ie[_Me]){_Ie[_Me]=new _rd(_Ne);if(_qd[_Me]!==undefined){_Ie[_Me]._Bd=_qd[_Me]}var _Oe=_Pe._Qe(undefined,undefined,_Re,undefined);_Oe._Se="gamepad discovered";_Oe._Te=_Me;_Oe._Ue=0;_Oe._Ve=true}
}}}}function _We(_Jd){if(_Jd<_1e){return _Jd}switch(_Jd){case _2e:return _me;case _3e:return _ne;case _4e:return _oe;case _5e:return _pe;case _6e:return _qe;case _7e:return _re;case _8e:return _se;case _9e:return _te;case _ae:return _ue;case _be:return _ve;case _ce:return _we;case _de:return _xe;case _ee:return _ye;case _fe:return _ze;case _ge:return _Ae;case _he:return _Be}return 0}function _Xe(_Rd){if(_Rd<_1e){return _Rd}switch(_Rd){case _ie:return _Ce;case _je:return _De;case _ke:return _Ee;case _le:return _Fe}return 0}function _Wd(){}/*@this {yyGamepadManager} */this._Ye=function(){
return _Ie.length};/*@this {yyGamepadManager} */this._Ze=function(__e){var _0f=_Ie[__e];if(_0f){return _0f._Gd()}return ""};/*@this {yyGamepadManager} */this._1f=function(){return(_He!==_Zd)};/*@this {yyGamepadManager} */this._Dd=function(__e){var _0f=_Ie[__e];if(_0f){return _0f._Dd}return 0.0};/*@this {yyGamepadManager} */this._2f=function(__e,_3f){var _0f=_Ie[__e];if(_0f){if((_3f>=0.0)&&(_3f<=_Xd)){_0f._Dd=_3f}}};/*@this {yyGamepadManager} */this._Bd=function(__e){var _0f=_Ie[__e];if(_0f){return _0f._Bd}
else if(_qd[__e]!==undefined){return _qd[__e]}return 0.0};/*@this {yyGamepadManager} */this._4f=function(__e,_5f){_qd[__e]=_5f;var _0f=_Ie[__e];if(_0f){if((_5f>=0.0)&&(_5f<=_Yd)){_0f._Bd=_5f}}};/*@this {yyGamepadManager} */this._6f=function(){_Ie=[]};/*@this {yyGamepadManager} */this._7f=function(){switch(_He){case __d:_Le();_Ke();break;case _0e:_Ke();break;case _Zd:default :return }};/*@this {yyGamepadManager} */this._8f=function(__e){if(_Ie[__e]!==null&&_Ie[__e]!==undefined){return true}return false};/*@this {yyGamepadManager} */this._Hd=function(__e){
var _0f=_Ie[__e];if(_0f){return _0f._Hd()}return 0};/*@this {yyGamepadManager} */this._Pd=function(__e){var _0f=_Ie[__e];if(_0f){return _0f._Pd()}return 0};/*@this {yyGamepadManager} */this._Nd=function(__e,_Jd){var _0f=_Ie[__e];if(_0f){return _0f._Nd(_We(_Jd),_0f._Dd)}return false};/*@this {yyGamepadManager} */this._Id=function(__e,_Jd){var _0f=_Ie[__e];if(_0f){return _0f._Id(_We(_Jd),_0f._Dd)}return false};/*@this {yyGamepadManager} */this._Md=function(__e,_Jd){var _0f=_Ie[__e];if(_0f){return _0f._Md(_We(_Jd),
_0f._Dd)}return false};/*@this {yyGamepadManager} */this._Od=function(__e,_Jd){var _0f=_Ie[__e];if(_0f){return _0f._Od(_We(_Jd))}return 0};/*@this {yyGamepadManager} */this._Qd=function(__e,_Rd){var _0f=_Ie[__e];if(_0f){return _0f._Qd(_Xe(_Rd),_Yd)}return 0}};var _9f=[];var _af="None";var _bf=0;var _cf=0;/*@constructor */function _df(){this.x=0;this.y=0;this._Nd=0;this._Id=0;this._Md=0;this._ef=0};_df.prototype._6f=function(){this._Nd=0;this._Id=0;this._Md=0;this._ef=0};_df.prototype._ff=function(_N6,_O6){if(_h6){
var _gf;if(!_h6._hf){_gf=_if}else {_gf=_h6._jf}for(var _y9=0;_y9<_gf.length;_y9++){var _kf=_gf[_y9];if(_kf._W3){_lf(canvas,_mf);if(((_N6-_mf.left)>=_kf._nf)&&((_N6-_mf.left)<_kf._of)&&((_O6-_mf.top)>=_kf._pf)&&((_O6-_mf.top)<_kf._qf)){this.x=_kf._rf(_N6,_O6);this.y=_kf._sf(_N6,_O6);return }}}}this.x=_N6;this.y=_O6};/*@constructor */function _tf(_uf){for(var _Q7=0;_Q7<_9f.length;_Q7++){if(_9f[_Q7]===_uf){return _Q7}}return -1}function _vf(_uf){var _wf=-1;for(var _Q7=0;_Q7<_9f.length;_Q7++){if((_9f[_Q7]===_uf)||(_9f[_Q7]===-1)){
_wf=_Q7;break }}if(_wf==-1){_wf=_9f.length}_9f[_wf]=_uf;_xf[_wf]=new _df();return _wf}var _yf=!1;function _zf(event){for(var _Af=0;_Af<event.changedTouches.length;_Af++){var _Bf=event.changedTouches[_Af];var type="";var _wf=-1;_af=event.type;switch(event.type){case "touchstart":_wf=_vf(_Bf["identifier"]);break;case "touchend":if(!_yf&&(_Cf==_Df)){_Ef();_yf=true}_wf=_tf(_Bf["identifier"]);_9f[_wf]=-1;break;case "touchcancel":_wf=_tf(_Bf["identifier"]);_9f[_wf]=-1;break;case "touchmove":_wf=_tf(_Bf["identifier"]);
break;default :return }var _Ff;var _Gf;_Ff=_Bf.pageX;_Gf=_Bf.pageY;if(_wf==0){if(_Hf!=null){_If=_Ff;_Jf=_Gf}switch(event.type){case "touchstart":_Kf=1;break;case "touchmove":_Kf=1;break;case "touchcancel":case "touchend":_Kf=0;break }}_xf[_wf]._ff(_Ff,_Gf);_Lf[_wf].x=_Ff;_Lf[_wf].y=_Gf;switch(event.type){case "touchstart":_xf[_wf]._Nd=1;_Lf[_wf]._Mf=_Nf|_Of|_Pf;break;case "touchcancel":case "touchend":_xf[_wf]._Nd=0;_Lf[_wf]._Mf=0;break;case "touchmove":default :break }event.preventDefault()}}function _Qf(){canvas.ontouchstart=_zf;
canvas.ontouchmove=_zf;canvas.ontouchend=_zf;canvas.ontouchcancel=_zf}var _Rf,_Sf,_Tf,_Uf,_Vf,_Wf,_Xf;/*@constructor *//*@constructor */function _Yf(_Zf,__f){this._0g=[];this._6c=_Zf;this._7c=__f;var _L7=_Zf*__f;for(var _Q7=0;_Q7<_L7;_Q7++){this._0g[_Q7]=0}}_Yf.prototype._1g=function(_2g){this._6c=_2g._6c;this._7c=_2g._7c;this._0g=_2g._0g.slice()};var _3g=_4g;function _4g(_5g,_N6,_O6,_o6){var _6g=_7g._8g(_5g);if(!_6g){_9g("Error: invalid ds_grid ID (ds_grid_set)");return }if(_N6<0||_N6>=_6g._6c||_O6<0||_O6>=_6g._7c){
_9g("Error: grid out of bounds(set) - GridID: "+_5g+"  size["+_6g._6c+","+_6g._7c+"]  at  ("+_N6+","+_O6+")");return }_6g._0g[_N6+(_O6*_6g._6c)]=_o6}var _ag=_bg;function _bg(_5g,_N6,_O6,_o6){var _6g=_7g._8g(_5g);if(!_6g){_9g("Error: invalid ds_grid ID (ds_grid_set)");return _o6}if(_N6<0||_N6>=_6g._6c||_O6<0||_O6>=_6g._7c){_9g("Error: grid out of bounds(set) - GridID: "+_5g+"  size["+_6g._6c+","+_6g._7c+"]  at  ("+_N6+","+_O6+")");return _o6}_6g._0g[_N6+(_O6*_6g._6c)]=_o6;return _o6}var _cg=_dg;function _dg(_5g,
_N6,_O6,_o6){var _6g=_7g._8g(_5g);if(!_6g){_9g("Error: invalid ds_grid ID (ds_grid_set)");return _o6}if(_N6<0||_N6>=_6g._6c||_O6<0||_O6>=_6g._7c){_9g("Error: grid out of bounds(set) - GridID: "+_5g+"  size["+_6g._6c+","+_6g._7c+"]  at  ("+_N6+","+_O6+")");return _o6}var _eg=_6g._0g[_N6+(_O6*_6g._6c)];_6g._0g[_N6+(_O6*_6g._6c)]=_o6;return _eg}var _fg=_gg;function _gg(_5g,_N6,_O6){var _6g=_7g._8g(_5g),x=~~_N6,y=~~_O6;if(!_6g){_9g("Error: invalid ds_grid ID (ds_grid_get)");return undefined}if(x<0||x>=_6g._6c||y<0||y>=_6g._7c){
_9g("Error: grid out of bounds(get) - GridID: "+_5g+"  size["+_6g._6c+","+_6g._7c+"]  at  ("+x+","+y+")");return undefined}return _6g._0g[x+(y*_6g._6c)]}function _hg(){var _H7=new _ig();_H7._jg=true;return _kg._Qe(_H7)}function _lg(_5g){var _mg=_kg._8g(_5g);if(_mg){_mg._6f();_kg._ng(_5g)}}function _og(_5g){var _pg=_kg._8g(_5g);if(_pg)return _pg.length;_9g("Error: invalid ds_list ID (ds_list_size)");return 0}function _qg(){var _rg=arguments;var _sg=arguments.length;var _pg=_kg._8g(_rg[0]);if(!_pg){_9g("Error: invalid ds_list ID (ds_list_add)");
return }for(var _Q7=1;_Q7<_sg;_Q7++){_pg._Qe(_rg[_Q7])}return }function _tg(_5g,_ug){var _y9,_vg=_wg(_ug),_pg=_kg._8g(_wg(_5g));if(_pg){_y9=_pg._xg[_vg];if(typeof(_y9)==="object"&&_y9.Object!==undefined){return _y9.Object}else return _y9}_9g("Error: invalid ds_list ID (ds_list_find_value)");return undefined}var _yg=1,_zg=2;/*@constructor */function _Ag(_vc,_Bg){this._Cg=_vc;this.Object=_Bg}function _W5(){var _Dg={};var id=_Eg._Qe(_Dg);return id}function _56(_5g){var _Dg=_Eg._8g(_5g);if(_Dg){_Fg(_Dg);_Eg._ng(_5g)}
}function _Gg(_5g){var _Dg=_Eg._8g(_5g);if(_Dg){_Fg(_Dg);var _Hg={};_Eg._Ig(_5g,_Hg)}}function _Fg(_Jg){for(var _Kg in _Jg){var _y9=_Jg[_Kg];if(_y9!=null&&_y9.Object!==undefined)switch(_y9._Cg){case _yg:_56(_y9.Object);break;case _zg:_lg(_y9.Object);break }}}function _Lg(_5g,_Mg){var _Dg=_Eg._8g(_5g);if(_Dg){return _Dg.hasOwnProperty(_Mg)}return false}function _Z5(_5g,_Mg,_o6){var _Dg=_Eg._8g(_5g);if(_Dg){if(_Dg.hasOwnProperty(_Mg)){}else _Dg[_Mg]=_o6}}function _Ng(_5g,_Mg){var _Dg=_Eg._8g(_5g);if(_Dg){var _Og=_Dg[_Mg];
if(typeof(_Og)==="object"&&_Og.Object!==undefined){return _Og.Object}else return _Og}return undefined}function _Pg(_5g,_Mg){var _Qg=false;var _Dg=_Eg._8g(_5g);for(var _Rg in _Dg){if(_Dg.hasOwnProperty(_Rg)){if(_Qg){return _Rg}if(_Rg==_Mg){_Qg=true}}}return undefined}function _Sg(_5g){var _Dg=_Eg._8g(_5g);for(var _Rg in _Dg){if(_Dg.hasOwnProperty(_Rg)){return _Rg;}}return undefined}/*@constructor *//*@constructor */function _Tg(_Ug,_Bg){this._n4=_Ug;this._Vg=_Bg}function _Wg(_5g,_o6,_Xg){var _Yg=_Zg._8g(_5g);if(_Yg==null||_Yg==undefined){
_9g("Error: invalid priority queue ds_priority_add()");return }var __g=new _Tg(_Xg,_o6);_Yg._Qe(__g)}var _0h=!1;var _1h='Trying to stop non-existing sound.',_2h='Trying to draw a non-existing sprite.',_3h='Trying to draw a non-existing background.',_4h='Cannot compare arguments.',_5h='Trying to replace non-existing resource.',_6h='File does not exist.',_7h='The particle emitter must first be created.';var _8h=-1,_9h=[],_ah=[];function _bh(_ch,_ac,_Wb){_ch._dh(_wg(_ac));_ch._eh=_Wb}var _fh=_bh;function _gh(_ac){
_hh(_ac)}var _ih=_gh;function _jh(_vc,_kh,_lh,_mh,_nh,_oh){var type=_wg(_vc);var _ph=_wg(_kh);var _qh=_wg(_lh);var _rh=_wg(_mh);if(_8h<0){_8h=_sh()}if(_9h[type]<0){_9h[type]=_th()}var _uh=_9h[type];if(_ph==0){_vh(_uh,_qh,_rh)}else {_wh(_uh,_qh,_rh)}_xh(_uh,_nh,_oh)}var _yh=_jh;function _zh(_Ah){var _Bh=_Ch._Dh(_Ah);if((_Bh===null)||(_Bh===undefined)){return false}return true;}function _Eh(_Ah){var _Fh=_Ch._Dh(_Ah);if(!_Fh)return 0;if(_Fh._Gh===undefined)return 0;return _Fh._Gh._A4}function _Hh(_Ah){var _Fh=_Ch._Dh(_Ah);
if(!_Fh)return 0;if(_Fh._Gh===undefined)return 0;return _Fh._Gh._B4}function _Ih(_N6,_O6,_Zf,__f,_Jh,_Kh){var _Lh=_Mh(_Zf,__f);var _Nh=_Oh._8g(_Lh);var _Ph=_Nh.getContext('2d');_Ph.drawImage(canvas,-_N6,-_O6);if(_Jh){_Qh(_Ph,_Zf,__f)}var _Rh=new _Sh();var _Th=new _Uh();_Rh._Gh=_Th;_Th.x=0;_Th.y=0;_Th._u4=_Zf;_Th._v4=__f;_Th._w4=0;_Th._x4=0;_Th._y4=_Th._u4;_Th._z4=_Th._v4;_Th._A4=_Th._u4;_Th._B4=_Th._v4;_Th._C4=_Lh;_Th._J8=_Nh;return _Ch._Vh(_Rh)}function _Wh(_5g,_N6,_O6,_Zf,__f,_Jh,_Kh){var _Xh=_Oh._8g(_5g);var _Lh=_Mh(_Zf,
__f);var _Nh=_Oh._8g(_Lh);var _Ph=_Nh.getContext('2d');_Ph.drawImage(_Xh,-_N6,-_O6);if(_Jh){_Qh(_Ph,_Zf,__f)}var _Rh=new _Sh();var _Th=new _Uh();_Rh._Gh=_Th;_Th.x=0;_Th.y=0;_Th._u4=_Zf;_Th._v4=__f;_Th._w4=0;_Th._x4=0;_Th._y4=_Th._u4;_Th._z4=_Th._v4;_Th._A4=_Th._u4;_Th._B4=_Th._v4;_Th._C4=_Lh;_Th._J8=_Nh;return _Ch._Vh(_Rh)}function _Yh(_Zf,__f,_Vb){var _Zh=_Mh(_Zf,__f);var __h=_Oh._8g(_Zh);var _Ph=__h.getContext('2d');_Ph.globalAlpha=1.0;_Ph.fillStyle=_0i(_Xb(_Vb),1);_Ph.fillRect(0,0,_Zf,__f);var _Rh=new _Sh();
var _Th=new _Uh();_Rh._Gh=_Th;_Th.x=0;_Th.y=0;_Th._u4=_Zf;_Th._v4=__f;_Th._w4=0;_Th._x4=0;_Th._y4=_Th._u4;_Th._z4=_Th._v4;_Th._A4=_Th._u4;_Th._B4=_Th._v4;_Th._C4=_Zh;_Th._J8=__h;return _Ch._Vh(_Rh)}var _1i=_Yh;function _2i(_M6){var _Nh=_Ch._Dh(_M6);if(_Nh){return({_Nb:_Nh._Gh._J8,_Ob:_Nh._Gh})}return null}var _3i=[];var _4i=0;function _5i(_6i,_7i,_w7,_x7,_y7,_z7,_8i,_9i){var _ai=_8i-_w7;var _bi=_y7-_w7;var _ci=_6i-_w7;var _di=_9i-_x7;var _ei=_z7-_x7;var _fi=_7i-_x7;var _gi=(_ai*_ai)+(_di*_di);var _hi=(_ai*_bi)+(_di*_ei);
var _ii=(_ai*_ci)+(_di*_fi);var _ji=(_bi*_bi)+(_ei*_ei);var _ki=(_bi*_ci)+(_ei*_fi);var _li=1.0/(_gi*_ji-_hi*_hi);var _w9=(_ji*_ii-_hi*_ki)*_li;var _y9=(_gi*_ki-_hi*_ii)*_li;return((_w9>=0.0)&&(_y9>=0.0)&&(_w9+_y9<1.0))}function _mi(_ni,_oi,_pi,_qi,_ri){var _si=(((_ni-_pi)*(_ni-_pi))+((_oi-_qi)*(_oi-_qi)));if(_si<=_ri)return true;return false}function _ti(){_Fa("d3d_start()")}function _ui(){_Fa("d3d_end()")}function _vi(enable){_Fa("d3d_set_hidden()")}function _wi(_xi){_Fa("d3d_set_culling()");}function _yi(_zi){
_Fa("d3d_set_shading()")}function _Ai(_Bi){_Fa("d3d_set_zwriteenable()")}function _Ci(_n4){_Fa("d3d_set_depth()")}function _Di(_Ei,_Fi,_Gi,alpha){_Fa("draw_set_color_write_enable()")}var _Hi=_Di;function _Ii(enable){_Fa("d3d_set_shading()")}function _Ji(_Ki,_da,_ea,_Li,_59){_Fa("d3d_light_define_direction()")}function _Mi(_Ki,x,y,_Ua,_Ni,_59){_Fa("d3d_light_define_point()")}function _Oi(_Ki,enable){_Fa("d3d_light_enable()")}function _Pi(_a4){_Fa("d3d_light_define_ambient()");}function _Qi(enable,color,start,
end){_Fa("d3d_set_fog()")}function _Ri(index){_Fa("d3d_light_get()")}function _Si(index){_Fa("d3d_light_get_ambient()")}function _Ti(_w7,_x7,_Ui,_y7,_z7,_Vi,_Ha,_Wi,_Xi){_Fa("d3d_draw_floor()")}function _Yi(_w7,_x7,_Ui,_y7,_z7,_Vi,_Ha,_Wi,_Xi,_Zi){_Fa("d3d_draw_ellipsoid()")}function __i(_w7,_x7,_Ui,_y7,_z7,_Vi,_Ha,_Wi,_Xi){_Fa("d3d_draw_block()")}function _0j(_w7,_x7,_Ui,_y7,_z7,_Vi,_Ha,_Wi,_Xi,_1j,_Zi){_Fa("d3d_draw_cylinder()")}function _2j(_w7,_x7,_Ui,_y7,_z7,_Vi,_Ha,_Wi,_Xi,_1j,_Zi){_Fa("d3d_draw_cone()")}
function _3j(_w7,_x7,_Ui,_y7,_z7,_Vi,_Ha,_Wi,_Xi){_Fa("d3d_draw_wall()")}function _4j(){_Fa("d3d_model_create()")}function _5j(_Ki){_Fa("d3d_model_destroy()")}function _6j(_Ki){_Fa("d3d_model_clear()")}function _7j(_Ki,_8j){_Fa("d3d_model_save()")}function _9j(_Ki,_8j){_Fa("d3d_model_load()")}function _aj(_Ki,_8j){_Fa("d3d_model_save_buffer()")}function _bj(_Ki,_8j){_Fa("d3d_model_load_buffer()")}function _cj(_Ki,x,y,_Ua,_Ha){_Fa("d3d_model_draw()");}function _dj(_Ki,_Ea){_Fa("d3d_model_primitive_begin()")}
function _ej(_Ki,x,y,_Ua){_Fa("d3d_model_vertex()")}function _fj(_Ki,x,y,_Ua,_59,alpha){_Fa("d3d_model_vertex_colour()")}function _gj(_Ki,x,y,_Ua,_59,alpha){_Fa("d3d_model_vertex_color()")}function _hj(_Ki,x,y,_Ua,_Ma,_Na){_Fa("d3d_model_vertex_texture()")}function _ij(_Ki,x,y,_Ua,_Ma,_Na,_59,alpha){_Fa("d3d_model_vertex_texture_colour()")}function _jj(_Ki,x,y,_Ua,_Ma,_Na,_59,alpha){_Fa("d3d_model_vertex_texture_color()")}function _kj(_Ki,x,y,_Ua,_0b,_1b,_2b){_Fa("d3d_model_vertex_normal()")}function _lj(_Ki,
x,y,_Ua,_0b,_1b,_2b,_59,alpha){_Fa("d3d_model_vertex_normal_color()")}function _mj(_Ki,x,y,_Ua,_0b,_1b,_2b,_Ma,_Na){_Fa("d3d_model_vertex_normal_texture()")}function _nj(_Ki,x,y,_Ua,_0b,_1b,_2b,_Ma,_Na,_59,alpha){_Fa("d3d_model_vertex_normal_texture_color()")}function _oj(_Ki){_Fa("d3d_model_primitive_end()")}function _pj(_Ki,_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi){_Fa("d3d_model_block()")}function _qj(_Ki,_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi,_1j,_Zi){_Fa("d3d_model_cylinder()")}function _rj(_Ki,_w7,_x7,_Ui,_y7,_z7,
_Vi,_Wi,_Xi,_1j,_Zi){_Fa("d3d_model_cone()")}function _sj(_Ki,_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi,_Zi){_Fa("d3d_model_ellipsoid()")}function _tj(_Ki,_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi){_Fa("d3d_model_wall()")}function _uj(_Ki,_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi){_Fa("d3d_model_floor()")}function _vj(enable){_Fa("d3d_set_perspective()");}function _wj(_xj,_yj,_zj,_Aj,_Bj,_Cj,_Dj,_Ej,_Fj){_Fa("d3d_set_projection()")}function _Gj(_xj,_yj,_zj,_Aj,_Bj,_Cj,_Dj,_Ej,_Fj,angle,_Hj,_Ij,_Jj){_Fa("d3d_set_projection_ext()")}
function _Kj(x,y,_u4,_v4,angle){_Fa("d3d_set_projection_ortho()")}function _Lj(x,y,_u4,_v4,angle){_Fa("d3d_set_projection_perspective()")}function _Mj(){_Fa("d3d_transform_set_identity()")}function _Nj(_Oj,_Pj,_Qj){_Fa("d3d_transform_set_translation()")}function _Rj(_39,_49,_Sj){_Fa("d3d_transform_set_scaling()")}function _Tj(angle){_Fa("d3d_transform_set_rotation_x()")}function _Uj(angle){_Fa("d3d_transform_set_rotation_y()")}function _Vj(angle){_Fa("d3d_transform_set_rotation_z()")}function _Wj(_Xj,_Yj,
_Zj,angle){_Fa("d3d_transform_set_rotation_axis()")}function __j(_Oj,_Pj,_Qj){_Fa("d3d_transform_add_translation()")}function _0k(_39,_49,_Sj){_Fa("d3d_transform_add_scaling()")}function _1k(angle){_Fa("d3d_transform_add_rotation_x()")}function _2k(angle){_Fa("d3d_transform_add_rotation_y()")}function _3k(angle){_Fa("d3d_transform_add_rotation_axis()");}function _4k(_Xj,_Yj,_Zj,angle){_Fa("d3d_transform_add_rotation_z()")}function _5k(_N6,_O6,_8c){_Fa("d3d_transform_vertex()")}function _6k(_vc){_Fa("matrix_get()")}
function _7k(_vc,_8k){_Fa("matrix_set()")}var _9k=_ak;var _bk=_ck;var _dk=_ek;var _fk=_gk;var _hk=_ik;var _jk=_kk;var _lk=_mk;var _nk=_ok;var _pk=_qk;var _rk=_sk;var _tk=_uk;var _vk=_wk;var _xk=_yk;var _zk=_Ak;function _Bk(){_Fa("d3d_transform_stack_clear()")}function _Ck(){_Fa("d3d_transform_stack_empty()")}function _Dk(){_Fa("d3d_transform_stack_push()")}function _Ek(){_Fa("d3d_transform_stack_pop()")}function _Fk(){_Fa("d3d_transform_stack_top()")}function _Gk(){_Fa("d3d_transform_stack_discard()")}function _Hk(enable){
_Fa("gpu_set_blendenable()")}function _Ik(enable){_Fa("gpu_set_ztestenable()")}function _Jk(_Kk){_Fa("gpu_set_zfunc()")}function _Lk(enable){_Fa("gpu_set_zwriteenable()")}function _Mk(enable,_59,start,end){_Fa("gpu_set_fog()")}function _Nk(_Ok){_Fa("gpu_set_cullmode()")}function _Pk(_Qk){_Fa("gpu_set_blendmode()")}function _Rk(src,_Sk){_Fa("gpu_set_blendmode_ext()")}function _Tk(src,_Sk,_Uk,_Vk){_Fa("gpu_set_blendmode_ext_sepalpha()")}function _Wk(_Ei,_Fi,_Gi,alpha){_Fa("gpu_set_colorwriteenable()")}function _Xk(_Ei,
_Fi,_Gi,alpha){_Fa("gpu_set_colourwriteenable()")}function _Yk(enable){_Fa("gpu_set_alphatestenable()")}function _Zk(value){_Fa("gpu_set_alphatestref()")}function __k(_Kk){_Fa("gpu_set_alphatestfunc()")}function _0l(_1l){_Fa("gpu_set_texfilter()")}function _2l(_3l,_1l){_Fa("gpu_set_texfilter_ext()")}function _4l(repeat){_Fa("gpu_set_texrepeat()")}function _5l(_3l,repeat){_Fa("gpu_set_texrepeat_ext()")}function _6l(_1l){_Fa("gpu_set_tex_filter()")}function _7l(_3l,_1l){_Fa("gpu_set_tex_filter_ext()")}function _8l(repeat){
_Fa("gpu_set_tex_repeat()")}function _9l(_3l,repeat){_Fa("gpu_set_tex_repeat_ext()")}function _al(_bl){_Fa("gpu_set_tex_mip_filter(filter)")}function _cl(_3l,_bl){_Fa("gpu_set_tex_mip_filter_ext(sampler_id, filter)");}function _dl(_el){_Fa("gpu_set_tex_mip_bias(bias)")}function _fl(_3l,_el){_Fa("gpu_set_tex_mip_bias_ext(sampler_id, bias)")}function _gl(_hl){_Fa("gpu_set_tex_min_mip(minmip)")}function _il(_3l,_hl){_Fa("gpu_set_tex_min_mip_ext(sampler_id, minmip)")}function _jl(_kl){_Fa("gpu_set_tex_max_mip(maxmip)")}
function _ll(_3l,_kl){_Fa("gpu_set_tex_max_mip_ext(sampler_id, maxmip)")}function _ml(_nl){_Fa("gpu_set_tex_max_aniso(maxaniso)")}function _ol(_3l,_nl){_Fa("gpu_set_tex_max_aniso_ext(sampler_id, maxaniso)")}function _pl(_ql){_Fa("gpu_set_tex_mip_enable(setting)")}function _rl(_3l,_ql){_Fa("gpu_set_tex_mip_enable_ext(sampler_id, setting)")}function _sl(){_Fa("gpu_get_blendenable()")}function _tl(){_Fa("gpu_get_ztestenable()")}function _ul(){_Fa("gpu_get_zfunc()")}function _vl(){_Fa("gpu_get_zwriteenable()")}
function _wl(){_Fa("gpu_get_fog()")}function _xl(){_Fa("gpu_get_cullmode()")}function _yl(){_Fa("gpu_get_blendmode()")}function _zl(){_Fa("gpu_get_blendmode_ext()")}function _Al(){_Fa("gpu_get_blendmode_ext_sepalpha()")}function _Bl(){_Fa("gpu_get_blendmode_src()")}function _Cl(){_Fa("gpu_get_blendmode_dest()")}function _Dl(){_Fa("gpu_get_blendmode_srcalpha()");}function _El(){_Fa("gpu_get_blendmode_destalpha()")}function _Fl(){_Fa("gpu_get_colorwriteenable()")}function _Gl(){_Fa("gpu_get_colourwriteenable()")}
function _Hl(){_Fa("gpu_get_alphatestenable()")}function _Il(){_Fa("gpu_get_alphatestref()")}function _Jl(){_Fa("gpu_get_alphatestfunc()")}function _Kl(){_Fa("gpu_get_texfilter()")}function _Ll(_3l){_Fa("gpu_get_texfilter_ext()")}function _Ml(){_Fa("gpu_get_texrepeat()")}function _Nl(_3l){_Fa("gpu_get_texrepeat_ext()")}function _Ol(){_Fa("gpu_get_tex_filter()")}function _Pl(_3l){_Fa("gpu_get_tex_filter_ext()")}function _Ql(){_Fa("gpu_get_tex_repeat()")}function _Rl(_3l){_Fa("gpu_get_tex_repeat_ext()")}function _Sl(){
_Fa("gpu_get_tex_mip_filter()")}function _Tl(_3l){_Fa("gpu_get_tex_mip_filter_ext(sampler_id)")}function _Ul(){_Fa("gpu_get_tex_mip_bias()")}function _Vl(_3l){_Fa("gpu_get_tex_mip_bias_ext(sampler_id)")}function _Wl(){_Fa("gpu_get_tex_min_mip()")}function _Xl(_3l){_Fa("gpu_get_tex_min_mip_ext(sampler_id)")}function _Yl(){_Fa("gpu_get_tex_max_mip()")}function _Zl(_3l){_Fa("gpu_get_tex_max_mip_ext(sampler_id)")}function __l(){_Fa("gpu_get_tex_max_aniso()")}function _0m(_3l){_Fa("gpu_get_tex_max_aniso_ext(sampler_id)")}
function _1m(){_Fa("gpu_get_tex_mip_enable()")}function _2m(_3l){_Fa("gpu_get_tex_mip_enable_ext(sampler_id)")}function _3m(){_Fa("gpu_push_state()")}function _4m(){_Fa("gpu_pop_state()")}function _5m(){_Fa("gpu_get_state()")}function _6m(map){_Fa("gpu_set_state()")}var _7m=[];var _8m=50;var _9m=0;var _am=new Array(_8m+1);function _bm(){if(!_v8){return }_ti=_cm;_ui=_dm;_wi=_em;_yi=_fm;_Ai=_gm;_Ci=_hm;_vi=_im;_Di=_jm;_Hi=_jm;_vj=_km;_wj=_lm;_Gj=_mm;_Kj=_nm;_Lj=_om;_Mj=_pm;_Nj=_qm;_Rj=_rm;_Tj=_sm;_Uj=_tm;_Vj=_um;
_Wj=_vm;__j=_wm;_0k=_xm;_1k=_ym;_2k=_zm;_3k=_Am;_4k=_Bm;_5k=_Cm;_Bk=_Dm;_Ck=_Em;_Dk=_Fm;_Ek=_Gm;_Fk=_Hm;_Gk=_Im;_Ti=_Jm;_Yi=_Km;__i=_Lm;_0j=_Mm;_2j=_Nm;_3j=_Om;_Ii=_Pm;_Ji=_Qm;_Mi=_Rm;_Oi=_Sm;_Pi=_Tm;_Qi=_Um;_Ri=_Vm;_Si=_Wm;_4j=_Xm;_5j=_Ym;_6j=_Zm;_7j=__m;_9j=_0n;_aj=_1n;_bj=_2n;_cj=_3n;_dj=_4n;_ej=_5n;_gj=_6n;_fj=_6n;_hj=_7n;_jj=_8n;_ij=_8n;_kj=_9n;_lj=_an;_mj=_bn;_nj=_cn;_oj=_dn;_pj=_en;_qj=_fn;_rj=_gn;_sj=_hn;_tj=_in;_uj=_jn;_6k=_kn;_7k=_ln;_9k=_ak;_bk=_ck;_dk=_ek;_fk=_gk;_hk=_ik;_jk=_kk;_lk=_mk;
_nk=_ok;_pk=_qk;_Pk=_mn;_Hk=_nn;_Ik=_on;_Jk=_pn;_Lk=_qn;_Mk=_rn;_Nk=_sn;_Pk=_mn;_Rk=_tn;_Tk=_un;_Wk=_vn;_Xk=_wn;_Yk=_xn;_Zk=_yn;__k=_zn;_0l=_An;_2l=_Bn;_4l=_Cn;_5l=_Dn;_6l=_An;_7l=_Bn;_8l=_Cn;_9l=_Dn;_al=_En;_cl=_En;_dl=_En;_fl=_En;_gl=_En;_il=_En;_jl=_En;_ll=_En;_ml=_En;_ol=_En;_pl=_En;_rl=_En;_sl=_Fn;_tl=_Gn;_ul=_Hn;_vl=_In;_wl=_Jn;_xl=_Kn;_yl=_Ln;_zl=_Mn;_Al=_Nn;_Bl=_On;_Cl=_Pn;_Dl=_Qn;_El=_Rn;_Fl=_Sn;_Gl=_Tn;_Hl=_Un;_Il=_Vn;_Jl=_Wn;_Kl=_Xn;_Ll=_Yn;_Ml=_Zn;_Nl=__n;_Ol=_Xn;_Pl=_Yn;_Ql=_Zn;_Rl=__n;
_Sl=_En;_Tl=_En;_Ul=_En;_Vl=_En;_Wl=_En;_Xl=_En;_Yl=_En;_Zl=_En;__l=_En;_0m=_En;_1m=_En;_2m=_En;_3m=_0o;_4m=_1o;_5m=_2o;_6m=_3o;_am[0]=new _4o()}function _cm(){_5o=true;_v8._6o(_7o);_v8._8o(_9o);_v8._ao(_bo)}function _dm(){_5o=false;_v8._6o(false);_v8._8o(false);_v8._ao(false)}function _em(_co){_bo=_co>0.5;_v8._ao(_bo)}function _fm(_Kh){}function _gm(_do){_9o=(_do>0.5);_v8._8o(_9o)}function _hm(_eo){if(_5o||_j6){_Ca=Math.min(16000.0,Math.max(-16000.0,_eo))}else {_Ca=0.0}}function _im(_fo){_7o=(_fo>0.5);_v8._6o(_7o)}
function _jm(_Ei,_Fi,_Gi,alpha){_go._Ei=(_Ei>=0.5);_go._Fi=(_Fi>=0.5);_go._Gi=(_Gi>=0.5);_go.alpha=(alpha>=0.5);_v8._ho(_go._Ei,_go._Fi,_go._Gi,_go.alpha)}function _km(_io){_jo=_io}function _Pm(_io){if(_ko!=_io){_ko=_io;_v8._lo(_mo())}}function _lm(_xj,_yj,_zj,_Aj,_Bj,_Cj,_Dj,_Ej,_Fj){var _no=new _4o();var _vg=new _oo(_xj,_yj,_zj);var _po=new _oo(_Aj,_Bj,_Cj);var _qo=new _oo(_Dj,_Ej,_Fj);_no._ro(_vg,_po,_qo);_v8._so(_no)}function _mm(_xj,_yj,_zj,_Aj,_Bj,_Cj,_Dj,_Ej,_Fj,angle,_Hj,_to,_uo){var _no=new _4o();var _vg=new _oo(_xj,
_yj,_zj);var _po=new _oo(_Aj,_Bj,_Cj);var _qo=new _oo(_Dj,_Ej,_Fj);_no._ro(_vg,_po,_qo);var _vo=new _4o();_vo._wo(angle,_Hj,_to,_uo);_vo._v7[_xo]*=_yo;_v8._so(_no);_v8._zo(_vo)}function _nm(x,y,_u4,_v4,angle){var _no=new _4o();var _xa=new _oo(x+(_u4/2.0),y+(_v4/2.0),-_u4);var _ya=new _oo(x+(_u4/2.0),y+(_v4/2.0),0.0);var _za=new _oo(Math.sin(-angle*(Math.PI/180.0)),Math.cos(-angle*(Math.PI/180.0)),0.0);_no._ro(_xa,_ya,_za);var _Ao=new _4o();_Ao._Bo(_u4,-_v4*_yo,1.0,32000.0);_v8._so(_no);_v8._zo(_Ao)}function _om(x,
y,_u4,_v4,angle){var _no=new _4o();var _xa=new _oo(x+(_u4/2.0),y+(_v4/2.0),-_u4);var _ya=new _oo(x+(_u4/2.0),y+(_v4/2.0),0.0);var _za=new _oo(Math.sin(-angle*(Math.PI/180.0)),Math.cos(-angle*(Math.PI/180.0)),0.0);_no._ro(_xa,_ya,_za);var _vo=new _4o();_vo._Co(1.0,(_v4/_u4),1.0,32000.0);_vo._v7[_xo]*=_yo;_v8._so(_no);_v8._zo(_vo)}function _Jm(_w7,_x7,_Ui,_y7,_z7,_Vi,_Ha,_Wi,_Xi){var _Do=_Eo();_Fo(true);_Sa(_jb,_Ha);{_5b(_w7,_x7,_Ui,0,0,1,0,0);_5b(_w7,_z7,_Ui,0,0,1,0,_Xi);_5b(_y7,_z7,_Vi,0,0,1,_Wi,_Xi);_5b(_y7,
_x7,_Vi,0,0,1,_Wi,0)}_8b();_Fo(_Do)}function _Km(_w7,_x7,_Ui,_y7,_z7,_Vi,_Ha,_Go,_Ho,_Zi){var _Do=_Eo();_Fo(true);if(_Zi<3){_Zi=3}if(_Zi>128){_Zi=128}var _d8=[];var _c8=[];for(var _Q7=0;_Q7<=_Zi;_Q7++){_d8[_Q7]=Math.cos(_Q7*2.0*Math.PI/_Zi);_c8[_Q7]=Math.sin(_Q7*2.0*Math.PI/_Zi)}var _78=(_y7+_w7)/2,_88=(_z7+_x7)/2,_Io=(_Vi+_Ui)/2,_Jo=(_y7-_w7)/2,_Ko=(_z7-_x7)/2,_Lo=(_Vi-_Ui)/2;var _Mo=(_Zi+1)/2;for(var _R7=0;_R7<_Mo;_R7++){var _No=Math.cos(_R7*Math.PI/_Mo),_Oo=Math.sin(_R7*Math.PI/_Mo),_Po=Math.cos((_R7+1)*Math.PI/_Mo),
_Qo=Math.sin((_R7+1)*Math.PI/_Mo);_Sa(_ib,_Ha);for(var _Q7=0;_Q7<=_Zi;_Q7++){_5b(_78+_Jo*_Oo*_d8[_Q7],_88+_Ko*_Oo*_c8[_Q7],_Io+_Lo*_No,_Oo*_d8[_Q7],_Oo*_c8[_Q7],_No,_Go*_Q7/_Zi,_R7*_Ho/_Mo);_5b(_78+_Jo*_Qo*_d8[_Q7],_88+_Ko*_Qo*_c8[_Q7],_Io+_Lo*_Po,_Qo*_d8[_Q7],_Qo*_c8[_Q7],_Po,_Go*_Q7/_Zi,(_R7+1)*_Ho/_Mo)}_8b()}_Fo(_Do)}function _Lm(_w7,_x7,_Ui,_y7,_z7,_Vi,_Ha,_Go,_Ho){var _Do=_Eo();_Fo(true);_Sa(_hb,_Ha);{_5b(_w7,_x7,_Ui,0,0,-1,0,0);_5b(_w7,_z7,_Ui,0,0,-1,0,_Ho);_5b(_y7,_z7,_Ui,0,0,-1,_Go,_Ho);_5b(_y7,
_z7,_Ui,0,0,-1,_Go,_Ho);_5b(_y7,_x7,_Ui,0,0,-1,_Go,0);_5b(_w7,_x7,_Ui,0,0,-1,0,0)}{_5b(_w7,_x7,_Vi,0,0,1,0,0);_5b(_y7,_x7,_Vi,0,0,1,_Go,0);_5b(_y7,_z7,_Vi,0,0,1,_Go,_Ho);_5b(_y7,_z7,_Vi,0,0,1,_Go,_Ho);_5b(_w7,_z7,_Vi,0,0,1,0,_Ho);_5b(_w7,_x7,_Vi,0,0,1,0,0)}{_5b(_w7,_z7,_Ui,0,1,0,0,0);_5b(_w7,_z7,_Vi,0,1,0,0,_Ho);_5b(_y7,_z7,_Vi,0,1,0,_Go,_Ho);_5b(_y7,_z7,_Vi,0,1,0,_Go,_Ho);_5b(_y7,_z7,_Ui,0,1,0,_Go,0);_5b(_w7,_z7,_Ui,0,1,0,0,0)}{_5b(_y7,_z7,_Ui,1,0,0,0,0);_5b(_y7,_z7,_Vi,1,0,0,0,_Ho);_5b(_y7,_x7,
_Vi,1,0,0,_Go,_Ho);_5b(_y7,_x7,_Vi,1,0,0,_Go,_Ho);_5b(_y7,_x7,_Ui,1,0,0,_Go,0);_5b(_y7,_z7,_Ui,1,0,0,0,0)}{_5b(_y7,_x7,_Ui,0,-1,0,0,0);_5b(_y7,_x7,_Vi,0,-1,0,0,_Ho);_5b(_w7,_x7,_Vi,0,-1,0,_Go,_Ho);_5b(_w7,_x7,_Vi,0,-1,0,_Go,_Ho);_5b(_w7,_x7,_Ui,0,-1,0,_Go,0);_5b(_y7,_x7,_Ui,0,-1,0,0,0)}{_5b(_w7,_x7,_Ui,-1,0,0,0,0);_5b(_w7,_x7,_Vi,-1,0,0,0,_Ho);_5b(_w7,_z7,_Vi,-1,0,0,_Go,_Ho);_5b(_w7,_z7,_Vi,-1,0,0,_Go,_Ho);_5b(_w7,_z7,_Ui,-1,0,0,_Go,0);_5b(_w7,_x7,_Ui,-1,0,0,0,0)}_8b();_Fo(_Do)}function _Mm(_w7,_x7,
_Ui,_y7,_z7,_Vi,_Ha,_Go,_Ho,_1j,_Zi){var _d8=[];var _c8=[];var _Do=_Eo();_Fo(true);if(_Zi<3){_Zi=3}if(_Zi>128){_Zi=128}for(var _Q7=0;_Q7<=_Zi;_Q7++){_d8[_Q7]=Math.cos(_Q7*2.0*Math.PI/_Zi);_c8[_Q7]=Math.sin(_Q7*2.0*Math.PI/_Zi)}var _78=(_y7+_w7)/2.0;var _88=(_z7+_x7)/2.0;var _Jo=(_y7-_w7)/2.0;var _Ko=(_z7-_x7)/2.0;if(true==_1j){_Sa(_jb,_Ha);_5b(_78,_88,_Vi,0,0,1,0,_Ho);for(var _Q7=0;_Q7<=_Zi;_Q7++){_5b(_78+_d8[_Q7]*_Jo,_88+_c8[_Q7]*_Ko,_Vi,0,0,1,0,_Ho)}_8b()}_Sa(_ib,_Ha);for(var _Q7=0;_Q7<=_Zi;_Q7++){_5b(_78+_d8[_Q7]*_Jo,
_88+_c8[_Q7]*_Ko,_Vi,_d8[_Q7],_c8[_Q7],0,_Go*_Q7/_Zi,_Ho);_5b(_78+_d8[_Q7]*_Jo,_88+_c8[_Q7]*_Ko,_Ui,_d8[_Q7],_c8[_Q7],0,_Go*_Q7/_Zi,0)}_8b();if(true==_1j){_Sa(_jb,_Ha);_5b(_78,_88,_Ui,0,0,-1,0,0);for(var _Q7=_Zi;_Q7>=0;_Q7--){_5b(_78+_d8[_Q7]*_Jo,_88+_c8[_Q7]*_Ko,_Ui,0,0,-1,0,0)}_8b()}_Fo(_Do)}function _Nm(_w7,_x7,_Ui,_y7,_z7,_Vi,_Ha,_Go,_Ho,_1j,_Zi){var _d8=[];var _c8=[];var _Do=_Eo();_Fo(true);if(_Zi<3){_Zi=3}if(_Zi>128){_Zi=128}for(var _Q7=0;_Q7<=_Zi;_Q7++){_d8[_Q7]=Math.cos(_Q7*2.0*Math.PI/_Zi);_c8[_Q7]=Math.sin(_Q7*2.0*Math.PI/_Zi)}
var _78=(_y7+_w7)/2.0;var _88=(_z7+_x7)/2.0;var _Jo=(_y7-_w7)/2.0;var _Ko=(_z7-_x7)/2.0;_Sa(_ib,_Ha);for(var _Q7=0;_Q7<=_Zi;_Q7++){_5b(_78,_88,_Vi,0,0,1,_Go*_Q7/_Zi,_Ho);_5b(_78+_d8[_Q7]*_Jo,_88+_c8[_Q7]*_Ko,_Ui,_d8[_Q7],_c8[_Q7],0,_Go*_Q7/_Zi,0)}_8b();if(true==_1j){_Sa(_jb,_Ha);_5b(_78,_88,_Ui,0,0,-1,0,0);for(var _Q7=_Zi;_Q7>=0;_Q7--){_5b(_78+_d8[_Q7]*_Jo,_88+_c8[_Q7]*_Ko,_Ui,0,0,-1,0,0)}_8b()}_Fo(_Do)}function _Om(_w7,_x7,_Ui,_y7,_z7,_Vi,_Ha,_Go,_Ho){var _Do=_Eo();_Fo(true);var _H7=Math.sqrt(_Ro(_y7-_w7)+_Ro(_z7-_x7));
if(_H7==0.0){return }var _0b=(_z7-_x7)/_H7;var _1b=-(_y7-_w7)/_H7;_Sa(_jb,_Ha);{_5b(_w7,_x7,_Ui,_0b,_1b,0,0,0);_5b(_y7,_z7,_Ui,_0b,_1b,0,_Go,0);_5b(_y7,_z7,_Vi,_0b,_1b,0,_Go,_Ho);_5b(_w7,_x7,_Vi,_0b,_1b,0,0,_Ho)}_8b();_Fo(_Do)}function _Qm(_Ki,_da,_ea,_Li,_59){var _So=new _oo(_da,_ea,_Li);_So._To();var _Uo=_Ki*4;_Vo[_Uo+0]=_So._Wo;_Vo[_Uo+1]=_So._Xo;_Vo[_Uo+2]=_So._Yo;_Vo[_Uo+3]=0.0;_Zo[_Uo+0]=(_59&0xff)/255.0;_Zo[_Uo+1]=((_59>>8)&0xff)/255.0;_Zo[_Uo+2]=((_59>>16)&0xff)/255.0;_Zo[_Uo+3]=1.0;__o[_Ki]=_0p;
_1p[_Uo+0]=0;_1p[_Uo+1]=0;_1p[_Uo+2]=0;_1p[_Uo+3]=0;_v8._2p(_Ki,_1p.subarray(_Ki*4,(_Ki+1)*4),_Vo.subarray(_Ki*4,(_Ki+1)*4),_Zo.subarray(_Ki*4,(_Ki+1)*4))}function _Wm(){var _59=(((_3p[0]*255.0))&0xff)|(((_3p[1]*255.0)<<8)&0xff00)|(((_3p[2]*255.0)<<16)&0xff0000)|(((_3p[3]*255.0)<<24)&0xff000000);return _59}function _Vm(index){var _eg=[];if(index<0||index>7){console.log("draw_light_get() - light index out of range");return }var _Uo=index*4;_eg[0]=_4p[index];_eg[1]=__o[index];if(__o[index]==_0p){_eg[2]=_Vo[_Uo+0];
_eg[3]=_Vo[_Uo+1];_eg[4]=_Vo[_Uo+2];_eg[5]=_Vo[_Uo+3]}else {_eg[2]=_1p[_Uo+0];_eg[3]=_1p[_Uo+1];_eg[4]=_1p[_Uo+2];_eg[5]=_1p[_Uo+3]}var _J7=(((_Zo[_Uo+0]*255.0))&0xff);var _j9=(((_Zo[_Uo+1]*255.0)<<8)&0xff00);var _M7=(((_Zo[_Uo+2]*255.0)<<16)&0xff0000);var _k9=(((_Zo[_Uo+3]*255.0)<<24)&0xff000000);var _59=_J7|_j9|_M7|_k9;_eg[6]=_59;return _eg}function _Rm(_Ki,x,y,_Ua,_Ni,_59){var _Uo=_Ki*4;_1p[_Uo+0]=x;_1p[_Uo+1]=y;_1p[_Uo+2]=_Ua;_1p[_Uo+3]=_Ni;_Zo[_Uo+0]=(_59&0xff)/255.0;_Zo[_Uo+1]=((_59>>8)&0xff)/255.0;
_Zo[_Uo+2]=((_59>>16)&0xff)/255.0;_Zo[_Uo+3]=1.0;__o[_Ki]=_5p;_Vo[_Uo+0]=0;_Vo[_Uo+1]=0;_Vo[_Uo+2]=0;_Vo[_Uo+3]=0;_v8._2p(_Ki,_1p.subarray(_Ki*4,(_Ki+1)*4),_Vo.subarray(_Ki*4,(_Ki+1)*4),_Zo.subarray(_Ki*4,(_Ki+1)*4))}function _Sm(_Ki,enable){_4p[_Ki]=enable;_v8._6p(_Ki,enable,_Zo.subarray(_Ki*4,(_Ki+1)*4))}function _Tm(_a4){_3p[0]=(_a4&0xff)/255.0;_3p[1]=((_a4>>8)&0xff)/255.0;_3p[2]=((_a4>>16)&0xff)/255.0;_3p[3]=((_a4>>24)&0xff)/255.0;_v8._7p(_3p)}function _Um(enable,_a4,start,end){if(_8p==null){_8p=new Float32Array(8)}
_8p[0]=enable;var _Ni=end-start;_8p[1]=(_Ni==0.0)?0.0:(1.0/_Ni);_8p[2]=end;_8p[3]=0.0;_8p[4]=(_a4&0xff)/255.0;_8p[5]=((_a4>>8)&0xff)/255.0;_8p[6]=((_a4>>16)&0xff)/255.0;_8p[7]=((_a4>>24)&0xff)/255.0;_v8._9p(_8p)}function _Xm(){return(_7m.push(new _ap())-1)}function _Ym(_Ki){if(_7m[_Ki]){_7m[_Ki]._6f();_7m[_Ki]=null}}function _Zm(_Ki){if(_7m[_Ki]){_7m[_Ki]._6f()}}function __m(_Ki,_8j){if(_7m[_Ki]){_7m[_Ki]._bp(_8j)}}function _1n(_Ki,_cp){}function _0n(_Ki,_8j){if(_7m[_Ki]){_7m[_Ki]._L8(_8j)}}function _2n(_Ki,
_cp){}function _3n(_Ki,x,y,_Ua,_Ha){if(_7m[_Ki]){_7m[_Ki]._a9(x,y,_Ua,_Ha)}}function _4n(_Ki,_Ea){if(_7m[_Ki]){_7m[_Ki]._Jc(_Ea)}}function _5n(_Ki,x,y,_Ua){if(_7m[_Ki]){_7m[_Ki]._dp(x,y,_Ua)}}function _6n(_Ki,x,y,_Ua,_59,alpha){if(_7m[_Ki]){_7m[_Ki]._ep(x,y,_Ua,_59,alpha)}}function _7n(_Ki,x,y,_Ua,_Ma,_Na){if(_7m[_Ki]){_7m[_Ki]._fp(x,y,_Ua,_Ma,_Na)}}function _8n(_Ki,x,y,_Ua,_Ma,_Na,_59,alpha){if(_7m[_Ki]){_7m[_Ki]._gp(x,y,_Ua,_Ma,_Na,_59,alpha)}}function _9n(_Ki,x,y,_Ua,_0b,_1b,_2b){if(_7m[_Ki]){_7m[_Ki]._hp(x,
y,_Ua,_0b,_1b,_2b)}}function _an(_Ki,x,y,_Ua,_0b,_1b,_2b,_59,alpha){if(_7m[_Ki]){_7m[_Ki]._ip(x,y,_Ua,_0b,_1b,_2b,_59,alpha)}}function _bn(_Ki,x,y,_Ua,_0b,_1b,_2b,_Ma,_Na){if(_7m[_Ki]){_7m[_Ki]._jp(x,y,_Ua,_0b,_1b,_2b,_Ma,_Na)}}function _cn(_Ki,x,y,_Ua,_0b,_1b,_2b,_Ma,_Na,_59,alpha){if(_7m[_Ki]){_7m[_Ki]._kp(x,y,_Ua,_0b,_1b,_2b,_Ma,_Na,_59,alpha)}}function _dn(_Ki){if(_7m[_Ki]){_7m[_Ki]._Lc()}}function _en(_Ki,_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi){if(_7m[_Ki]){_7m[_Ki]._lp(_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi)}
}function _fn(_Ki,_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi,_1j,_Zi){if(_7m[_Ki]){_7m[_Ki]._mp(_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi,_1j,_Zi)}}function _gn(_Ki,_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi,_1j,_Zi){if(_7m[_Ki]){_7m[_Ki]._np(_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi,_1j,_Zi)}}function _hn(_Ki,_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi,_Zi){if(_7m[_Ki]){_7m[_Ki]._op(_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi,_Zi)}}function _in(_Ki,_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi){if(_7m[_Ki]){_7m[_Ki]._pp(_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi)}}function _jn(_Ki,_w7,_x7,
_Ui,_y7,_z7,_Vi,_Wi,_Xi){if(_7m[_Ki]){_7m[_Ki]._qp(_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi)}}function _pm(){_rp(_sp,new _4o())}function _qm(_Oj,_Pj,_Qj){var _v7=new _4o();_v7._tp(_Oj,_Pj,_Qj);_rp(_sp,_v7)}function _rm(_39,_49,_Sj){var _v7=new _4o();_v7._up(_39,_49,_Sj);_rp(_sp,_v7)}function _sm(angle){var _v7=new _4o();_v7._vp(angle);_rp(_sp,_v7)}function _tm(angle){var _v7=new _4o();_v7._wp(angle);_rp(_sp,_v7)}function _um(angle){var _v7=new _4o();_v7._xp(angle);_rp(_sp,_v7)}function _vm(_Xj,_Yj,_Zj,angle){var _v7=new _4o();
_v7._yp(new _oo(_Xj,_Yj,_Zj),-angle);_rp(_sp,_v7)}function _wm(_Oj,_Pj,_Qj){var _zp=new _4o();_zp._tp(_Oj,_Pj,_Qj);var _Ap=_Bp(_sp);var _v7=new _4o();_v7.Multiply(_Ap,_zp);_rp(_sp,_v7)}function _xm(_39,_49,_Sj){var _Cp=new _4o();_Cp._up(_39,_49,_Sj);var _Ap=_Bp(_sp);var _v7=new _4o();_v7.Multiply(_Ap,_Cp);_rp(_sp,_v7)}function _ym(angle){var _Dp=new _4o();_Dp._vp(angle);var _Ap=_Bp(_sp);var _v7=new _4o();_v7.Multiply(_Ap,_Dp);_rp(_sp,_v7)}function _zm(angle){var _Dp=new _4o();_Dp._wp(angle);var _Ap=_Bp(_sp);var _v7=new _4o();
_v7.Multiply(_Ap,_Dp);_rp(_sp,_v7)}function _Am(angle){var _Dp=new _4o();_Dp._xp(angle);var _Ap=_Bp(_sp);var _v7=new _4o();_v7.Multiply(_Ap,_Dp);_rp(_sp,_v7)}function _Bm(_Xj,_Yj,_Zj,angle){var _Dp=new _4o();_Dp._yp(new _oo(_Xj,_Yj,_Zj),-angle);var _Ap=_Bp(_sp);var _v7=new _4o();_v7.Multiply(_Ap,_Dp);_rp(_sp,_v7)}function _Cm(_N6,_O6,_8c){var _Ap=_Bp(_sp);var _S7=(_Ap._v7[_Ep]*_N6)+(_Ap._v7[_Fp]*_O6)+(_Ap._v7[_Gp]*_8c)+_Ap._v7[_Hp];var _U7=(_Ap._v7[_Ip]*_N6)+(_Ap._v7[_xo]*_O6)+(_Ap._v7[_Jp]*_8c)+_Ap._v7[_Kp];var _Lp=(_Ap._v7[_Mp]*_N6)+(_Ap._v7[_Np]*_O6)+(_Ap._v7[_Op]*_8c)+_Ap._v7[_Pp];
var _J7=[];_J7[0]=_S7;_J7[1]=_U7;_J7[2]=_Lp;return _J7}function _Dm(){_Qp()}function _Em(){return _Rp()}function _Fm(){var _Ap=_Bp(_sp);return _Sp(_Ap)}function _Gm(){return _Tp()}function _Hm(){return _Up()}function _Im(){return _Vp()}function _kn(_vc){var _v7=[];if(_vc<0||_vc>2){_9g('ERROR: Invalid matrix type (matrix_get)');for(var _Q7=0;_Q7<16;_Q7++){_v7[_Q7]=0}return _v7}var _Wp=_Xp[_vc];for(var _Q7=0;_Q7<16;_Q7++){_v7[_Q7]=_Wp._v7[_Q7]}return _v7}function _ln(_vc,_8k){if(_vc<0||_vc>2){_9g('ERROR: Invalid matrix type (matrix_get)');
return }var _v7=new _4o();var _Wp=_Xp[_vc];for(var _Q7=0;_Q7<16;_Q7++){_v7._v7[_Q7]=_8k[_Q7]}_rp(_vc,_v7)}function _sk(){return [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,]}function _uk(_xj,_yj,_zj,_Aj,_Bj,_Cj,_Dj,_Ej,_Fj){var _v7=new _4o();var _Yp=new _oo(_xj,_yj,_zj);var _Zp=new _oo(_Aj,_Bj,_Cj);var __p=new _oo(_Dj,_Ej,_Fj);_v7._ro(_Yp,_Zp,__p);var _Wp=[];for(var _Q7=0;_Q7<16;_Q7++){_Wp[_Q7]=_v7._v7[_Q7]}return _Wp}function _wk(width,height,_to,_uo){var _v7=new _4o();_v7._Bo(width,height,_to,_uo);var _Wp=[];for(var _Q7=0;_Q7<16;
_Q7++){_Wp[_Q7]=_v7._v7[_Q7]}return _Wp}function _yk(width,height,_to,_uo){var _v7=new _4o();_v7._Co(width,height,_to,_uo);var _Wp=[];for(var _Q7=0;_Q7<16;_Q7++){_Wp[_Q7]=_v7._v7[_Q7]}return _Wp}function _Ak(_0q,width,height,_to,_uo){var _v7=new _4o();_v7._wo(_0q,width,height,_to,_uo);var _Wp=[];for(var _Q7=0;_Q7<16;_Q7++){_Wp[_Q7]=_v7._v7[_Q7]}return _Wp}function _ak(_N6,_O6,_8c,_1q,_2q,_3q,_4q,_5q,_6q){var _v7=new _4o();var _7q=(Math.PI/180.0);_1q=(_7q*-_1q);_2q=(_7q*-_2q);_3q=(_7q*-_3q);_v7._8q(_N6,_O6,_8c,_1q,
_2q,_3q,_4q,_5q,_6q);var _Wp=[];for(var _Q7=0;_Q7<16;_Q7++){_Wp[_Q7]=_v7._v7[_Q7]}return _Wp}function _ck(_9q,_aq){var _bq=new _4o();var _cq=new _4o();var _dq=new _4o();for(var _Q7=0;_Q7<16;_Q7++){_bq._v7[_Q7]=_9q[_Q7];_cq._v7[_Q7]=_aq[_Q7]}_dq.Multiply(_bq,_cq);var _Wp=[];for(var _Q7=0;_Q7<16;_Q7++){_Wp[_Q7]=_dq._v7[_Q7]}return _Wp}function _ek(_eq,_N6,_O6,_8c){var _S7=(_eq[_Ep]*_N6)+(_eq[_Fp]*_O6)+(_eq[_Gp]*_8c)+_eq[_Hp];var _U7=(_eq[_Ip]*_N6)+(_eq[_xo]*_O6)+(_eq[_Jp]*_8c)+_eq[_Kp];var _Lp=(_eq[_Mp]*_N6)+(_eq[_Np]*_O6)+(_eq[_Op]*_8c)+_eq[_Pp];
var _fq=[_S7,_U7,_Lp];return _fq}function _gk(_8k){if(_9m>=_8m){return }_9m++;if(arguments.length==0){_am[_9m]=new _4o(_am[_9m-1])}else {var _Wp=new _4o();var _Q7;for(_Q7=0;_Q7<16;_Q7++){_Wp._v7[_Q7]=_8k[_Q7]}_am[_9m]=new _4o();_am[_9m].Multiply(_Wp,_am[_9m-1])}}function _ik(){_9m--;if(_9m<0){_mk()}}function _mk(){_9m=0;_am[0]=new _4o()}function _kk(_8k){_am[_9m]=new _4o(_8k)}function _ok(){var _gq=new Array(16);var _Q7;for(_Q7=0;_Q7<16;_Q7++){_gq[_Q7]=_am[_9m]._v7[_Q7]}return _gq}function _qk(){if(_9m==0)return true;
else return false}function _nn(_io){_v8._hq._iq(_ka._jq,_io>=0.5)}function _on(_io){_v8._hq._iq(_ka._kq,_io>=0.5)}function _pn(_lq){_v8._hq._iq(_ka._mq,_lq)}function _qn(_io){_v8._hq._iq(_ka._nq,_io>=0.5)}function _rn(_io,_ac,_oq,_pq){if(Array.isArray(_io)){var _qq=_io;_v8._hq._iq(_ka._rq,_qq[0]>=0.5);_v8._hq._iq(_ka._sq,_qq[1]);_v8._hq._iq(_ka._tq,_qq[2]);_v8._hq._iq(_ka._uq,_qq[3])}else {_v8._hq._iq(_ka._rq,_io>=0.5);_v8._hq._iq(_ka._sq,_ac);_v8._hq._iq(_ka._tq,_oq);_v8._hq._iq(_ka._uq,_pq)}}function _sn(_vq){
_v8._hq._iq(_ka._wq,_vq)}function _mn(_xq){switch(_xq){case 1:_v8._hq._iq(_ka._yq,_ka._zq);_v8._hq._iq(_ka._Aq,_ka._Bq);_v8._hq._iq(_ka._Cq,_ka._zq);_v8._hq._iq(_ka._Dq,_ka._Bq);_v8._hq._iq(_ka._Eq,false);break;case 2:_v8._hq._iq(_ka._yq,_ka._zq);_v8._hq._iq(_ka._Aq,_ka._Fq);_v8._hq._iq(_ka._Cq,_ka._zq);_v8._hq._iq(_ka._Dq,_ka._Fq);_v8._hq._iq(_ka._Eq,false);break;case 3:_v8._hq._iq(_ka._yq,_ka._Gq);_v8._hq._iq(_ka._Aq,_ka._Fq);_v8._hq._iq(_ka._Cq,_ka._Gq);_v8._hq._iq(_ka._Dq,_ka._Fq);_v8._hq._iq(_ka._Eq,
false);break;default :_v8._hq._iq(_ka._yq,_ka._zq);_v8._hq._iq(_ka._Aq,_ka._Hq);_v8._hq._iq(_ka._Cq,_ka._zq);_v8._hq._iq(_ka._Dq,_ka._Hq);_v8._hq._iq(_ka._Eq,false);break }}function _tn(_2g,_Iq){var _Jq,_Kq;if(Array.isArray(_2g)){_Jq=_2g[0];_Kq=_2g[1]}else {_Jq=_2g;_Kq=_Iq}_v8._hq._iq(_ka._yq,_Jq);_v8._hq._iq(_ka._Aq,_Kq);_v8._hq._iq(_ka._Cq,_Jq);_v8._hq._iq(_ka._Dq,_Kq);_v8._hq._iq(_ka._Eq,false)}function _un(_2g,_Iq,_Lq,_Mq){var _Jq,_Kq,_Nq,_Oq;if(Array.isArray(_2g)){_Jq=_2g[0];_Kq=_2g[1];_Nq=_2g[2];
_Oq=_2g[3]}else {_Jq=_2g;_Kq=_Iq;_Nq=_Lq;_Oq=_Mq}_v8._hq._iq(_ka._yq,_Jq);_v8._hq._iq(_ka._Aq,_Kq);_v8._hq._iq(_ka._Cq,_Nq);_v8._hq._iq(_ka._Dq,_Oq);_v8._hq._iq(_ka._Eq,true)}function _vn(_Pq,_Qq,_Rq,_Wb){var _Sq;var _Tq;var _Uq;var _Vq;if(Array.isArray(_Pq)){var _qq=_Pq;_Sq=(_qq[0]>=0.5);_Tq=(_qq[1]>=0.5);_Uq=(_qq[2]>=0.5);_Vq=(_qq[3]>=0.5)}else {_Sq=(_Pq>=0.5);_Tq=(_Qq>=0.5);_Uq=(_Rq>=0.5);_Vq=(_Wb>=0.5)}var _Wq={_Ei:_Sq,_Fi:_Tq,_Gi:_Uq,alpha:_Vq};_v8._hq._iq(_ka._Xq,_Wq)}function _wn(_Pq,_Qq,_Rq,_Wb){_vn(_Pq,
_Qq,_Rq,_Wb)}function _xn(_io){_v8._hq._iq(_ka._Yq,_io>=0.5)}function _yn(_Zq){_v8._hq._iq(_ka.__q,_Zq)}function _zn(_lq){_v8._hq._iq(_ka._0r,_lq)}function _An(_1r){var _2r=_v8._3r;var _Q7;if(_1r){for(_Q7=0;_Q7<_2r;_Q7++){_v8._hq._4r(_Q7,_ka._5r,_ka._6r);_v8._hq._4r(_Q7,_ka._7r,_ka._6r)}}else {for(_Q7=0;_Q7<_2r;_Q7++){_v8._hq._4r(_Q7,_ka._5r,_ka._8r);_v8._hq._4r(_Q7,_ka._7r,_ka._8r)}}}function _Bn(_9r,_1r){var _3l,_1l;if(Array.isArray(_9r)){var _qq=_9r;_3l=_qq[0];_1l=_qq[1]}else {_3l=_9r;_1l=_1r}if(_1l){_v8._hq._4r(_3l,
_ka._5r,_ka._6r);_v8._hq._4r(_3l,_ka._7r,_ka._6r)}else {_v8._hq._4r(_3l,_ka._5r,_ka._8r);_v8._hq._4r(_3l,_ka._7r,_ka._8r)}}function _Cn(_ar){var _2r=_v8._3r;var _Q7;if(_ar){for(_Q7=0;_Q7<_2r;_Q7++){_v8._hq._4r(_Q7,_ka._br,_ka._cr);_v8._hq._4r(_Q7,_ka._dr,_ka._cr)}}else {for(_Q7=0;_Q7<_2r;_Q7++){_v8._hq._4r(_Q7,_ka._br,_ka._er);_v8._hq._4r(_Q7,_ka._dr,_ka._er)}}}function _Dn(_9r,_ar){var _3l,repeat;if(Array.isArray(_9r)){var _qq=_9r;_3l=_qq[0];repeat=_qq[1]}else {_3l=_9r;repeat=_ar}if(repeat){_v8._hq._4r(_3l,
_ka._br,_ka._cr);_v8._hq._4r(_3l,_ka._dr,_ka._cr)}else {_v8._hq._4r(_3l,_ka._br,_ka._er);_v8._hq._4r(_3l,_ka._dr,_ka._er)}}function _Fn(){return _v8._hq._fr(_ka._jq)?1.0:0.0}function _Gn(){return _v8._hq._fr(_ka._kq)?1.0:0.0}function _Hn(){return _v8._hq._fr(_ka._mq)}function _In(){return _v8._hq._fr(_ka._nq)?1.0:0.0}function _Jn(){var _qq=new Array();_qq.push(_v8._hq._fr(_ka._rq)?1.0:0.0);_qq.push(_v8._hq._fr(_ka._sq));_qq.push(_v8._hq._fr(_ka._tq));_qq.push(_v8._hq._fr(_ka._uq));return _qq}function _Kn(){return _v8._hq._fr(_ka._wq)}
function _Ln(){var _Jq=_v8._hq._fr(_ka._yq);var _Kq=_v8._hq._fr(_ka._Aq);var _Nq=_v8._hq._fr(_ka._Cq);var _Oq=_v8._hq._fr(_ka._Dq);if((_Jq!=_Nq)||(_Kq!=_Oq)){return -1}else {switch(_Jq){case _gr:{switch(_Kq){case _hr:return 0;case _ir:return 1;case _jr:return 2;default :return -1}}case _kr:{if(_Kq==_jr){return 3}else {return -1}}default :return -1}}}function _Mn(){var _qq=new Array();_qq[0]=_v8._hq._fr(_ka._yq);_qq[1]=_v8._hq._fr(_ka._Aq);return _qq}function _Nn(){var _qq=new Array();_qq[0]=_v8._hq._fr(_ka._yq);_qq[1]=_v8._hq._fr(_ka._Aq);
_qq[2]=_v8._hq._fr(_ka._Cq);_qq[3]=_v8._hq._fr(_ka._Dq);return _qq}function _On(){return _v8._hq._fr(_ka._yq)}function _Pn(){return _v8._hq._fr(_ka._Aq)}function _Qn(){return _v8._hq._fr(_ka._Cq)}function _Rn(){return _v8._hq._fr(_ka._Dq)}function _Sn(){var _Cd=_v8._hq._fr(_ka._Xq);var _eg=new Array();_eg.push(_Cd._Ei?1.0:0.0);_eg.push(_Cd._Fi?1.0:0.0);_eg.push(_Cd._Gi?1.0:0.0);_eg.push(_Cd.alpha?1.0:0.0);return _eg}function _Tn(){return _Sn()}function _Un(){return _v8._hq._fr(_ka._Yq)?1.0:0.0}function _Vn(){return _v8._hq._fr(_ka.__q)}
function _Wn(){return _v8._hq._fr(_ka._0r)}function _Xn(){return _v8._hq._lr(0,_ka._5r)==_ka._6r?1.0:0.0}function _Yn(_9r){return _v8._hq._lr(_9r,_ka._5r)==_ka._6r?1.0:0.0}function _Zn(){return _v8._hq._lr(0,_ka._br)==_ka._cr?1.0:0.0}function __n(_9r){return _v8._hq._lr(_9r,_ka._br)==_ka._cr?1.0:0.0}function _0o(){_v8._hq._mr()}function _1o(){_v8._hq._nr()}var _or=undefined;var _pr=undefined;function _qr(){if(_or==undefined)_or=["blendenable",_ka._jq,"ztestenable",_ka._kq,"zfunc",_ka._mq,"zwriteenable",_ka._nq,
"fogenable",_ka._rq,"fogcolor",_ka._sq,"fogstart",_ka._tq,"fogend",_ka._uq,"cullmode",_ka._wq,"srcblend",_ka._yq,"destblend",_ka._Aq,"srcblendalpha",_ka._Cq,"destblendalpha",_ka._Dq,"sepalphaenable",_ka._Eq,"colorwriteenable",_ka._Xq,"alphatestenable",_ka._Yq,"alphatestref",_ka.__q,"alphatestfunc",_ka._0r]}function _rr(){if(_pr==undefined)_pr=["magfilter",_ka._5r,"minfilter",_ka._7r,"addressu",_ka._br,"addressv",_ka._dr]}function _2o(){_qr();_rr();var map=_W5();var _sr=_or.length/2;var _tr=_pr.length/2;
var _Q7;for(_Q7=0;_Q7<_sr;_Q7++){var _Cd=_v8._hq._fr(_or[_Q7*2+1]);_Z5(map,_or[_Q7*2],_Cd)}var _2r=_v8._3r;for(_Q7=0;_Q7<_tr;_Q7++){var _R7;for(_R7=0;_R7<_2r;_R7++){var name=_pr[_Q7*2].slice(0)+_R7;var _Cd=_v8._hq._lr(_R7,_pr[_Q7*2+1]);_Z5(map,name,_Cd)}}return map}function _3o(_ur){_qr();_rr();var _Q7;var _sr=_or.length/2;var _tr=_pr.length/2;var _vr=_Sg(_ur);while(_vr!=undefined){var key=_vr;var value=_Ng(_ur,key);var _wr=false;for(_Q7=0;_Q7<_sr;_Q7++){if(key==_or[_Q7*2]){_v8._hq._iq(_or[_Q7*2+1],value);_wr=true;
break }}if(!_wr){for(_Q7=0;_Q7<_tr;_Q7++){var _xr=_pr[_Q7*2].length;var _yr=key.substr(0,_xr);if(_yr==_pr[_Q7*2]){var _zr=key.substr(_xr-1,key.length-_xr);var _Ar=parseInt(_zr,10);_v8._hq._4r(_Ar,_pr[_Q7*2+1],value);break }}}_vr=_Pg(_ur,_vr)}}function _En(){}var _Br=1970;var _Cr=0;var _Dr=1;var _Er=365.25;var _Fr=30.4375;var _Gr=[31,28,31,30,31,30,31,31,30,31,30,31];var _Hr=[];var _Ir=(86400.0);var _Jr=(_Ir*30);var _Kr=!0;var _Lr=0;var _Mr=1;function _Nr(_Or){if(_Or<_Pr){return _Or*_Qr}else {return(_Or-_Pr)*_Qr}}function _Rr(_Sr){
return _Sr%400==0||(_Sr%100!=0&&_Sr%4==0)}function _Tr(_Sr){var _Ur=_Gr.slice();;if(_Rr(_Sr)){_Ur[1]=29}return _Ur}var _Qr=86400000.0;var _Pr=25569;function _Vr(_Wr){return((_Wr<10)?"0":"")+_Wr.toString()}var _Xr=[];var _Yr=[];var _Zr=[];var __r=Date.now();var _0s=0;var _1s=1;var _2s=2;var _3s=3;var _4s=function(text){if(!text)return;if(_5s){if(_6s){var _zc=_6s.document.getElementById('debug_console');if(!_zc){var _7s=String.fromCharCode(0x0a);text=text.replace('<b>','').replace('</b>','');var _8s=Date.now()-__r;if(!_zc){
alert(text)}else {_zc.value+=text+_7s;var _9s=_zc.textLength}__r=Date.now()}}}if(_as!=undefined){if(_as._K4._45)console.log(text);if(_as._K4._bs){var _cs=document.getElementById("yyDebugDiv");var _ds=document.createElement('P');_ds.textContent+=text;_cs.appendChild(_ds)}}};function debug(text){var index;for(index=0;index<arguments.length;++index){_4s(arguments[index])}}function _9g(text){var index;for(index=0;index<arguments.length;++index){_4s(arguments[index])}}function _es(_fs){if(!_Zr[_fs]){_Zr[_fs]=true;
_gs(_fs);if(_as!=undefined){if(_as._K4._45){alert(_fs+"\n\nSee console for more info\n")}}}}function _Fa(_fs){if(!_Xr[_fs]){_Xr[_fs]=true;var _hs="Error: function "+_fs+" is not supported.";debug(_hs)}}function _is(_fs){if(!_Xr[_fs]){_Xr[_fs]=true;var _hs="Error: function "+_fs+" is not yet implemented";debug(_hs)}}function _js(_fs){if(!_Yr[_fs]){_Yr[_fs]=true;var _hs="Warning: function "+_fs;debug(_hs)}}function _ks(_ls){var _ms=_ns._os(_ls,-1);var _7s=String.fromCharCode(0x0a);var _ps="";for(var _Q7=0;_Q7<_ms.length;
_Q7++){if(_Q7!=0)_ps=_ps+_7s;_ps+=_ms[_Q7]}return _ps}function _r5(_ls){var _qs=_ls;if(typeof _ls=="number"){_qs=String(_ls)}if(!_qs)return;debug(_qs)}function _rs(_ls){var _qs=_ls;if(typeof _ls=="number"){_qs=String(_ls)}if(!_qs)return;alert(_ks(_qs))}function _ss(_ts){var _a6=document.getElementById(_us);var _vs=_a6.parentNode;var _ws=document.createElement("div");_xs="gm4html5_login_ID";_ws.setAttribute("class","gm4html5_login");_ws.setAttribute("id",_xs);_vs.insertBefore(_ws,_a6.nextSibling);_ws.innerHTML="<div class=\"gm4html5_login_header\">Login</div>"+"<table>"+"<tr>"+"<td><label for=\"username\" id=\"gm4html5_login_label_username_id\">Username:</label></td>"+"<td><input type=\"text\" id=\"gm4html5_login_username_id\" value=\"username\" /></td>"+"</tr>"+"<tr>"+"<td><label for=\"password\" id=\"gm4html5_login_label_password_id\">Password:</label></td>"+"<td><input type=\"password\" id=\"gm4html5_login_password_id\" value=\"password\" /></td>"+"</tr>"+"</table>"+"<div class=\"gm4html5_login_button\"><input type=\"button\" value=\"Login\" id=\"gm4html5_login_button_id\"/></div>"+"<div class=\"gm4html5_cancel_button\"><input type=\"button\" value=\"Cancel\" id=\"gm4html5_cancel_button_id\" /></div>";
_ys();_zs=true;var login=document.getElementById("gm4html5_login_button_id");var _As=document.getElementById("gm4html5_login_username_id");var _Bs=document.getElementById("gm4html5_login_password_id");_As.value=_ts._Cs[0];_Bs.value=_ts._Cs[1];login.onmouseup=function(){var _Ds=_As.value;var _Es=_Bs.value;var _Fs=_Gs(_xs);if(!_Fs)return;_Fs._Ds=_Ds;_Fs._Es=_Es;_Fs.value=0;_Fs._Hs="";_Fs._Ve=true;_Fs._Ue=_Is;_vs.removeChild(_ws);_zs=false;_Js();_Ks(_ts.id)};var _Ls=document.getElementById("gm4html5_cancel_button_id");
_Ls.onmouseup=function(){_vs.removeChild(_ws);_zs=false;var _Fs=_Gs(_xs);if(!_Fs)return;_Fs._Ds="";_Fs._Es="";_Fs.value=0;_Fs._Hs="";_Fs._Ve=true;_Fs._Ue=_Ms;_Js();_Ks(_ts.id)};_Ns();_Pe._Qe(_ts.id,null,_Os,_xs)}function _Ps(_ts){var _a6=document.getElementById(_us);var _vs=_a6.parentNode;var _ws=document.createElement("div");_xs="gm4html5_input_ID";_ws.setAttribute("class","gm4html5_login");_ws.setAttribute("id",_xs);_vs.insertBefore(_ws,_a6.nextSibling);_ws.innerHTML="<table>"+"<tr>"+"<td><label for=\"username\" id=\"gm4html5_input_message_id\">Message</label></td>"+"</tr>"+"<tr>"+"<td><input type=\"text\" id=\"gm4html5_input_text_id\" value=\"text\" /></td>"+"</tr>"+"</table>"+"<div class=\"gm4html5_login_button\"><input type=\"button\" value=\"OK\" id=\"gm4html5_input_ok_button_id\"/></div>"+"<div class=\"gm4html5_cancel_button\"><input type=\"button\" value=\"Cancel\" id=\"gm4html5_input_cancel_button_id\" /></div>";
_ys();_zs=true;var _Qs=document.getElementById("gm4html5_input_message_id");var _Rs=document.getElementById("gm4html5_input_text_id");_Qs.innerHTML=_ts._Cs[0];_Rs.value=_ts._Cs[1];var _Ss=document.getElementById("gm4html5_input_ok_button_id");_Ss.onmouseup=function(){var text=_Rs.value;var _Fs=_Gs(_xs);if(!_Fs)return;_Fs._Ds="";_Fs._Es="";_Fs.value=parseFloat(text);_Fs._Hs=text;_Fs._Ve=true;_Fs._Ue=_Is;_vs.removeChild(_ws);_zs=false;_Js();_Ks(_ts.id)};var _Ls=document.getElementById("gm4html5_input_cancel_button_id");
_Ls.onmouseup=function(){_vs.removeChild(_ws);_zs=false;var _Fs=_Gs(_xs);if(!_Fs)return;_Fs._Ds="";_Fs._Es="";_Fs.value=0;_Fs._Hs="";_Fs._Ve=true;_Fs._Ue=_Ms;_Js();_Ks(_ts.id)};_Ns();_Pe._Qe(_ts.id,null,_Os,_xs)}function _Ts(_ts){var _a6=document.getElementById(_us);var _vs=_a6.parentNode;var _ws=document.createElement("div");_xs="gm4html5_question_ID";_ws.setAttribute("class","gm4html5_login");_ws.setAttribute("id",_xs);_vs.insertBefore(_ws,_a6.nextSibling);_ws.innerHTML="<table>"+"<tr>"+"<td><label for=\"username\" id=\"gm4html5_question_message_id\">Message</label></td>"+"</tr>"+"</table>"+"<div class=\"gm4html5_login_button\"><input type=\"button\" value=\"Yes\" id=\"gm4html5_question_yes_button_id\"/></div>"+"<div class=\"gm4html5_cancel_button\"><input type=\"button\" value=\"No\" id=\"gm4html5_question_no_button_id\" /></div>";
_ys();_zs=true;var _Us=document.getElementById("gm4html5_question_message_id");_Us.innerHTML=_ts._Cs[0];var _Ss=document.getElementById("gm4html5_question_yes_button_id");_Ss.onmouseup=function(){var _Fs=_Gs(_xs);if(!_Fs)return;_Fs._Ds="";_Fs._Es="";_Fs.value=1;_Fs._Hs="1";_Fs._Ve=true;_Fs._Ue=_Is;_vs.removeChild(_ws);_zs=false;_Js();_Ks(_ts.id)};var _Ls=document.getElementById("gm4html5_question_no_button_id");_Ls.onmouseup=function(){_vs.removeChild(_ws);_zs=false;var _Fs=_Gs(_xs);if(!_Fs)return;_Fs._Ds="";
_Fs._Es="";_Fs.value=0;_Fs._Hs="0";_Fs._Ve=true;_Fs._Ue=_Ms;_Js();_Ks(_ts.id)};_Ns();_Pe._Qe(_ts.id,null,_Os,_xs)}function _Vs(_ts){var _a6=document.getElementById(_us);var _vs=_a6.parentNode;var _ws=document.createElement("div");_xs="gm4html5_message_ID";_ws.setAttribute("class","gm4html5_login");_ws.setAttribute("id",_xs);_vs.insertBefore(_ws,_a6.nextSibling);_ws.innerHTML="<table>"+"<tr>"+"<td><label for=\"username\" id=\"gm4html5_message_message_id\">Message</label></td>"+"</tr>"+"</table>"+"<div class=\"gm4html5_login_button\"><input type=\"button\" value=\"OK\" id=\"gm4html5_message_ok_button_id\"/></div>";
_ys();_zs=true;var _Us=document.getElementById("gm4html5_message_message_id");_Us.innerHTML=_ts._Cs[0];var _Ss=document.getElementById("gm4html5_message_ok_button_id");_Ss.onmouseup=function(){var _Fs=_Gs(_xs);if(!_Fs)return;_Fs._Ds="";_Fs._Es="";_Fs.value=1;_Fs._Hs="1";_Fs._Ve=true;_Fs._Ue=1;_vs.removeChild(_ws);_zs=false;_Js();_Ks(_ts.id)};_Ns();_Pe._Qe(_ts.id,null,_Os,_xs)}/*@constructor */function _Ws(){if(_Xs.length>0){switch(_Xs[0].type){case _0s:_ss(_Xs[0]);break;case _1s:_Ps(_Xs[0]);break;case _2s:_Ts(_Xs[0]);
break;case _3s:_Vs(_Xs[0]);break }}}function _Ks(_5g){var index=-1;for(var _Q7=0;_Q7<_Xs.length;++_Q7){if(_Xs[_Q7].id==_5g){index=_Q7;break }}if(index>=0){_Xs.splice(index,1)}_Ws()}function _Ns(){if(_zs){var login=document.getElementById(_xs);var _u4=login.offsetWidth;var _v4=login.offsetHeight;var _S7=(canvas.width-_u4)/2;var _U7=(canvas.height-_v4)/2;_mf=new _Ys();_lf(canvas,_mf);login.style.left=~~(_S7+_mf.left)+"px";login.style.top=~~(_U7+_mf.top)+"px"}}function _Zs(__s){return __s.substr(0,__s.indexOf("("))}
function _gs(_0t){var _1t=arguments.callee.caller;var _2t="Error: "+_0t+"\n"+"--------------------------------------------------------------------\n";while(_1t){var name="\t"+_Zs(_1t.toString());_2t+=name+'(';for(var _Q7=0;_Q7<_1t.arguments.length;_Q7++){if(_Q7!=0){_2t+=', '}if(typeof _1t.arguments[_Q7]=="string"){_2t+='"'+_1t.arguments[_Q7].toString()+'"'}else if(typeof _1t.arguments[_Q7]=="number"){_2t+=_1t.arguments[_Q7].toString()}else {if(_1t.arguments[_Q7]==undefined){_2t+="[undefined]"}else if(_1t.arguments[_Q7]==null){
_2t+="[null]"}else if(_1t.arguments[_Q7].__type){_2t+=_1t.arguments[_Q7].__type}else {_2t+="[unknown]"}}}_2t+=")\n";_1t=_1t.caller}debug(_2t)}var _3t=3;var _4t=-1;var _5t="IDLE";var _6t="PROCESSING";var _7t="AUTHORISED";var _8t="FAILED";var _9t=[];var _at;var _bt=0;var g_fbOAuthToken="";var g_fbAppId=undefined;var _ct="";function _dt(){FB.api('/me/permissions',function(response){debug("fbQueryPermissions response:");try{var text=JSON.stringify(response);debug(text)}catch(e){}_9t=[];var data=response["data"];if(data!=undefined){
var length=data.length;for(var _Q7=0;_Q7<length;_Q7++){var _Rg=data[_Q7];var _et=_Rg["permission"];var status=_Rg["status"];if(_et!=undefined&&status=="granted"){_9t.push(_et)}}}debug("current permissions: "+_9t)})}function _ft(response){try{var text=JSON.stringify(response);debug("facebook login response:");debug(text)}catch(e){}if(response.status==='connected'){_ct=response.authResponse.userID;g_fbOAuthToken=response.authResponse.accessToken;_gt=_7t;_dt()}else if(response.status==='not_authorized'){_gt='DENIED'}
else {_gt=_8t}}var _ht={appId:0,status:!0,cookie:!0,xfbml:!0,version:'v2.8'};function _it(){_ht.appId=g_fbAppId;FB.init(_ht);FB._jt._kt();FB.getLoginStatus(_ft);FB.Canvas.setAutoGrow(100);if(_as._K4&&_as._K4._L4&&_as._K4._lt){_as._K4._lt()}}function _mt(_si){var _nt,id='facebook-jssdk',_ot=_si.getElementsByTagName('script')[0];if(_si.getElementById(id)){return }_nt=_si.createElement('script');_nt.id=id;_nt._pt=true;_nt.src="//connect.facebook.net/en_US/sdk.js";_ot.parentNode.insertBefore(_nt,_ot)}function _qt(_rt){
var _a6=document.getElementById(_us);var _vs=_a6.parentNode;var _ws=document.createElement("div");_ws.setAttribute("id","fb-root");_vs.insertBefore(_ws,_a6.nextSibling);g_fbAppId=_rt;window.fbAsyncInit=_it;_mt(document)}function _st(data){_ct=data.id;_gt='AUTHORISED'}function _tt(_ut){if(typeof(FB)=='undefined'){console.log("Facebook initialisation has not completed");return }_gt=_6t;var _9s=0;var _vt='';if(_ut>=0){_9s=_og(_ut);for(var _Q7=0;_Q7<_9s;_Q7++){var _2t=_tg(_ut,_Q7);_vt+=_2t;if(_Q7<_9s-1){_vt+=','}
}FB.login(_ft,{scope:_vt})}else {FB.login(_ft)}}var _wt=-1;function _xt(_yt,_zt,_At,_Bt){var _Ct={};if(_At!=-1){var _vr=_Sg(_At);while(_Lg(_At,_vr)){var _Dt=_Ng(_At,_vr);_Ct[_vr]=_Dt;_vr=_Pg(_At,_vr)}}_wt=_Bt;if(_Bt!=-1){_Gg(_Bt)}FB.api(_yt,_zt,_Ct,_Et)}function _Et(data){if(_wt!=-1){_Ft(data,_wt);try{var text=JSON.stringify(data);_Z5(_wt,"response_text",text)}catch(e){}}debug("response received from facebook_graph_request")}function _Gt(_yt,_At,_Bt){var _Ct={};_Ct.method=_yt;if(_At!=-1){var _vr=_Sg(_At);while(_Lg(_At,
_vr)){var _Dt=_Ng(_At,_vr);_Ct[_vr]=_Dt;_vr=_Pg(_At,_vr)}}if(_Bt!=-1){_Gg(_Bt)}FB.ui(_Ct,function(response){_Ht(response,_Bt)});return 1}function _Ht(data,_It){if(_It!=-1){_Ft(data,_It)}debug("response received from facebook_dialog:");try{var text=JSON.stringify(data);debug(text)}catch(e){}}/*@constructor */function _Jt(){this._Kt="";this._Lt=0;this._Mt=false;this._Nt=false;this._Ot=""}_Jt.prototype._Pt=function(){var _2t;var _Q7=this._Lt;var _ps=this._Kt;while(_Q7<_ps.length){var _Qt=_ps.charCodeAt(_Q7);
if(_Qt==0x0d||_Qt==0x0a){_Q7++;_Qt=_ps.charCodeAt(_Q7);if(_Qt==0x0d||_Qt==0x0a){_Q7++}break }else {_Q7++}}this._Lt=_Q7};_Jt.prototype._Rt=function(){var _2t;var _Q7=this._Lt;var _ps=this._Kt;while(_Q7<_ps.length){var _Qt=_ps.charCodeAt(_Q7);if(_Qt==0x0d||_Qt==0x0a||_Qt==0x09||_Qt==0x20){_Q7++}else {break }}this._Lt=_Q7};function _St(_Tt){var _Oe=_Ut._8g(_Tt);if(!_Oe){_9g("Error: Illegal file handle");return }if(_Oe._Ot!=null){if(_Oe._Nt){_Vt(_Oe._Ot,_Oe._Kt)}}_Ut._ng(_Tt)}function _Wt(_Xt){var _Oe=new _Jt();_Oe._Ot=_Xt;
_Oe._Kt="";_Oe._Lt=0;_Oe._Yt=true;return _Ut._Qe(_Oe)}function _Zt(_Tt,__t){var _Oe=_Ut._8g(_Tt);if(!_Oe){_9g("Error: Illegal file handle");return }if(!_Oe._Yt){_9g("Error: File "+_Oe._Ot+" has not been opened with WRITE permisions");return }_Oe._Kt+=__t;_Oe._Nt=true;_Oe._Lt=_Oe._Kt.length}function _0u(_Xt){var _1u=_2u(_Xt,true);if(_1u==true)return true;return _2u(_Xt,false)}function _3u(_4u){var _eg;switch(typeof(_4u)){case "object":if(_4u instanceof Array){_eg=new _Ag(_zg,_5u(_4u))}else {_eg=new _Ag(_yg,_6u(_4u))}
break;case "boolean":_eg=_4u?1:0;break;case "number":case "string":_eg=_4u;break;default :_eg=_4u.toString();break }return _eg}function _5u(_Bg){var _eg=_hg();for(var _Q7=0;_Q7<_Bg.length;++_Q7){var _y9=_3u(_Bg[_Q7]);_qg(_eg,_y9)}return _eg}function _6u(_Bg){var _eg=_W5();for(var _7u in _Bg){var _k9=_Bg[_7u];var _y9=_3u(_k9);_Z5(_eg,_7u,_y9)}return _eg}function _8u(_4u){var _eg;switch(typeof(_4u)){case "object":switch(_4u._Cg){case _zg:_eg=_9u(_4u.Object);break;case _yg:_eg=_au(_4u.Object);break;default :if(_4u.constructor===Array){
return _4u}else {_eg=_4u.toString()}break }break;case "number":case "string":_eg=_4u;break;default :_eg=_4u.toString();break }return _eg}function _9u(_bu){var _eg=[];var _mg=_kg._8g(_bu);if(_mg){for(var _Q7=0;_Q7<_mg._xg.length;++_Q7){if(_mg._xg[_Q7]!=undefined)_eg.push(_8u(_mg._xg[_Q7]));}}return _eg}function _au(_ur){var _eg={};var _Dg=_Eg._8g(_ur);if(_Dg){for(var _Q7 in _Dg){if(!_Dg.hasOwnProperty(_Q7))continue;if(_Dg[_Q7]!=undefined)_eg[_Q7]=_8u(_Dg[_Q7])}}return _eg}var _cu="undefined";function _du(_N6,_O6,_fs){
if(_fs!=undefined)_fs=_fs.toString();else _fs=_cu;var _Qt=(_Ub&0xffffff)|(((_Tb*255.0)<<24)&0xff000000);_ns._eu(_fs,_N6,_O6,-1,-1,0,1,1,_Qt,_Qt,_Qt,_Qt)}var _fu=_gu;function _gu(_N6,_O6,_fs,_hu,_iu,_ju,_ku,_Wb){if(_fs!=undefined)_fs=_fs.toString();else _fs=_cu;if(!_v8)_js("draw_text_color() only uses the 1st colour");var _lu=_Tb;var _mu=_nu;var _k9=((_Wb*255)<<24)&0xff000000;_hu=(_hu&0xffffff)|_k9;_iu=(_iu&0xffffff)|_k9;_ju=(_ju&0xffffff)|_k9;_ku=(_ku&0xffffff)|_k9;_ns._eu(_fs,_N6,_O6,-1,-1,0,1,1,_hu,_iu,
_ju,_ku);_Tb=_lu;_hh(_mu)}var _ou=_pu;function _pu(_N6,_O6,_fs,_qu,_Zf,_hu,_iu,_ju,_ku,_Wb){if(_fs!=undefined)_fs=_fs.toString();else _fs=_cu;if(!_v8)_js("draw_text_ext_color() only uses the 1st colour");var _lu=_Tb;var _mu=_nu;var _k9=(_Wb*255)<<24;_hu=(_hu&0xffffff)|_k9;_iu=(_iu&0xffffff)|_k9;_ju=(_ju&0xffffff)|_k9;_ku=(_ku&0xffffff)|_k9;_ns._eu(_fs,_N6,_O6,_qu,_Zf,0,1,1,_hu,_iu,_ju,_ku);_Tb=_lu;_hh(_mu)}function _ru(_N6,_O6,_fs,_4q,_5q,_R6){if(_fs!=undefined)_fs=_fs.toString();else _fs=_cu;var _Qt=(_Ub&0xffffff)|(((_Tb*255.0)<<24)&0xff000000);
_ns._eu(_fs,_N6,_O6,-1,-1,_R6,_4q,_5q,_Qt,_Qt,_Qt,_Qt)}var _su=_tu;function _tu(_N6,_O6,_fs,_qu,_Zf,_4q,_5q,_R6,_hu,_iu,_ju,_ku,_Wb){if(!_v8)_js("draw_text_ext_transformed_color() only uses the 1st colour");if(_fs!=undefined)_fs=_fs.toString();else _fs=_cu;var _lu=_Tb;var _mu=_nu;var _k9=((_Wb*255)<<24)&0xff000000;_hu=_Xb(_hu)|_k9;_iu=_Xb(_iu)|_k9;_ju=_Xb(_ju)|_k9;_ku=_Xb(_ku)|_k9;_ns._eu(_fs,_N6,_O6,_qu,_Zf,_R6,_4q,_5q,_hu,_iu,_ju,_ku);_Tb=_lu;_hh(_mu)}var _uu=_vu;function _vu(_N6,_O6,_fs,_4q,_5q,_R6,_hu,
_iu,_ju,_ku,_Wb){if(!_v8)_js("draw_text_transformed_color() only uses the 1st colour");if(_fs!=undefined)_fs=_fs.toString();else _fs=_cu;var _lu=_Tb;var _mu=_nu;var _k9=((_Wb*255)<<24)&0xff000000;_hu=_Xb(_hu)|_k9;_iu=_Xb(_iu)|_k9;_ju=_Xb(_ju)|_k9;_ku=_Xb(_ku)|_k9;_ns._eu(_fs,_N6,_O6,-1,-1,_R6,_4q,_5q,_hu,_iu,_ju,_ku);_Tb=_lu;_hh(_mu)};;var _wu=0,_xu=1,_yu=2,_zu=3,_Au=4,_Bu=5,_Cu=6,_Du=7,_Eu=8,_Fu=9;var _Gu=1;/*@constructor */function _Hu(){var _Iu=_Ju("hiscores_data_",true);if(_Iu!=null){try{var _Ku=JSON.parse(_Iu);
var _Q7;for(_Q7=0;_Q7<_Lu;_Q7++){_Mu[_Q7]=_Ku[_Q7].name;_Nu[_Q7]=_Ku[_Q7].value}}catch(_Ou){_9g("Error: reading hiscore JSON")}}}function _Pu(){_Nu[0]=_Nu[1]=_Nu[2]=_Nu[3]=_Nu[4]=_Nu[5]=_Nu[6]=_Nu[7]=_Nu[8]=_Nu[9]=0;_Mu[0]=_Mu[1]=_Mu[2]=_Mu[3]=_Mu[4]=_Mu[5]=_Mu[6]=_Mu[7]=_Mu[8]=_Mu[9]=_Qu}function _Ru(_Su,_Tu,_Zq){var _Uu,_Vu,_Wu,_Xu,_Yu,_Zu;_Uu=(_Su>>16)&0xff;_Wu=(_Su>>8)&0xff;_Yu=(_Su&0xff);_Vu=(_Tu>>16)&0xff;_Xu=(_Tu>>8)&0xff;_Zu=(_Tu&0xff);var __u=1.0-_Zq;var _J7=_wg(_Uu*__u+_Vu*_Zq);var _j9=_wg(_Wu*__u+_Xu*_Zq);
var _M7=_wg(_Yu*__u+_Zu*_Zq);var _59=((_J7&0xff)<<16)|((_j9&0xff)<<8)|(_M7&0xff);return _59}function _0v(_Su,_Tu,_Zq){return _Ru(_Su,_Tu,_Zq)}function _1v(_2v,_3v,_4v,_5v){var _6v=_7v._8g(_4v);if((_6v!=null)&&(_6v!=undefined)){var _8v=_6v._9v[_5v];if((_8v!=null)&&(_8v!=undefined)){_8v._av(_2v,_2v)}}}var _bv=!0;function _y5(_2v,_cv){_2v._dv(_ev,_fv,_cv)}function _gv(data){var _hv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var _iv,_jv,_kv,_lv,_mv,_nv,_ov,_pv;var _Q7=0;var _qv=0;var _rv="";
var _sv=[];if(!data){return data}if(typeof data!=="string")return undefined;data=_tv(data);do {_iv=data.charCodeAt(_Q7++);_jv=data.charCodeAt(_Q7++);_kv=data.charCodeAt(_Q7++);_pv=_iv<<16|_jv<<8|_kv;_lv=_pv>>18&0x3f;_mv=_pv>>12&0x3f;_nv=_pv>>6&0x3f;_ov=_pv&0x3f;_sv[_qv++]=_hv.charAt(_lv)+_hv.charAt(_mv)+_hv.charAt(_nv)+_hv.charAt(_ov)}while(_Q7<data.length);_rv=_sv.join('');var _J7=data.length%3;return(_J7?_rv.slice(0,_J7-3):_rv)+'==='.slice(_J7||3)}function _uv(_ls){var _fq="";var index=0;while(index<_ls.length){
var _y9=0;var _vv=_ls.charCodeAt(index++);if((_vv&0x80)==0){_y9=_vv}else if((_vv&0xe0)==0xc0){_y9=(_vv&0x1f)<<6;_vv=_ls.charCodeAt(index++);_y9|=(_vv&0x3f)}else if((_vv&0xf0)==0xe0){_y9=(_vv&0x0f)<<12;_vv=_ls.charCodeAt(index++);_y9|=(_vv&0x3f)<<6;_vv=_ls.charCodeAt(index++);_y9|=(_vv&0x3f)}else {_y9=(_vv&0x07)<<18;_vv=_ls.charCodeAt(index++);_y9|=(_vv&0x3f)<<12;_vv=_ls.charCodeAt(index++);_y9|=(_vv&0x3f)<<6;_vv=_ls.charCodeAt(index++);_y9|=(_vv&0x3f)}if(_y9==0x00)break;var _wv=String.fromCharCode(_y9);
_fq+=_wv}return _fq}function _xv(data){var _hv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var _iv,_jv,_kv,_lv,_mv,_nv,_ov,_pv;var _Q7=0;var _qv=0;var _yv="";var _sv=[];if(!data){return data}data+='';do {_lv=_hv.indexOf(data.charAt(_Q7++));_mv=_hv.indexOf(data.charAt(_Q7++));_nv=_hv.indexOf(data.charAt(_Q7++));_ov=_hv.indexOf(data.charAt(_Q7++));_pv=_lv<<18|_mv<<12|_nv<<6|_ov;_iv=_pv>>16&0xff;_jv=_pv>>8&0xff;_kv=_pv&0xff;if(_nv==64){_sv[_qv++]=String.fromCharCode(_iv)}else if(_ov==64){
_sv[_qv++]=String.fromCharCode(_iv,_jv)}else {_sv[_qv++]=String.fromCharCode(_iv,_jv,_kv)}}while(_Q7<data.length);_yv=_sv.join('');return _yv}function _zv(_Av){return _Bv(_Av)}function _Cv(_Dv){return _Ev(_Dv)}var _Fv=0;var _Gv="";function _Bv(_ps){return _Hv(_Iv(_Jv(_ps)))}function _Iv(_ps){return _Kv(_Lv(_Mv(_ps),_ps.length*8))}function _Hv(_Nv){var _Ov=_Fv?"0123456789ABCDEF":"0123456789abcdef";var _Pv="";var x;for(var _Q7=0;_Q7<_Nv.length;_Q7++){x=_Nv.charCodeAt(_Q7);_Pv+=_Ov.charAt((x>>>4)&0x0F)+_Ov.charAt(x&0x0F)}
return _Pv}function _Jv(_Nv){var _Pv="";var _Q7=-1;var x,y;while(++_Q7<_Nv.length){x=_Nv.charCodeAt(_Q7);y=_Q7+1<_Nv.length?_Nv.charCodeAt(_Q7+1):0;if(0xD800<=x&&x<=0xDBFF&&0xDC00<=y&&y<=0xDFFF){x=0x10000+((x&0x03FF)<<10)+(y&0x03FF);_Q7++}if(x<=0x7F)_Pv+=String.fromCharCode(x);else if(x<=0x7FF)_Pv+=String.fromCharCode(0xC0|((x>>>6)&0x1F),0x80|(x&0x3F));else if(x<=0xFFFF)_Pv+=String.fromCharCode(0xE0|((x>>>12)&0x0F),0x80|((x>>>6)&0x3F),0x80|(x&0x3F));else if(x<=0x1FFFFF)_Pv+=String.fromCharCode(0xF0|((x>>>18)&0x07),
0x80|((x>>>12)&0x3F),0x80|((x>>>6)&0x3F),0x80|(x&0x3F))}return _Pv}function _Mv(_Nv){var _Pv=Array(_Nv.length>>2);for(var _Q7=0;_Q7<_Pv.length;_Q7++)_Pv[_Q7]=0;for(var _Q7=0;_Q7<_Nv.length*8;_Q7+=8)_Pv[_Q7>>5]|=(_Nv.charCodeAt(_Q7/8)&0xFF)<<(_Q7%32);return _Pv}function _Kv(_Nv){var _Pv="";for(var _Q7=0;_Q7<_Nv.length*32;_Q7+=8)_Pv+=String.fromCharCode((_Nv[_Q7>>5]>>>(_Q7%32))&0xFF);return _Pv}function _Lv(x,_9s){x[_9s>>5]|=0x80<<((_9s)%32);x[(((_9s+64)>>>9)<<4)+14]=_9s;var _k9=1732584193;var _M7=-271733879;var _Qt=-1732584194;
var _si=271733878;for(var _Q7=0;_Q7<x.length;_Q7+=16){var _Qv=_k9;var _Rv=_M7;var _Sv=_Qt;var _Tv=_si;_k9=_Uv(_k9,_M7,_Qt,_si,x[_Q7+0],7,-680876936);_si=_Uv(_si,_k9,_M7,_Qt,x[_Q7+1],12,-389564586);_Qt=_Uv(_Qt,_si,_k9,_M7,x[_Q7+2],17,606105819);_M7=_Uv(_M7,_Qt,_si,_k9,x[_Q7+3],22,-1044525330);_k9=_Uv(_k9,_M7,_Qt,_si,x[_Q7+4],7,-176418897);_si=_Uv(_si,_k9,_M7,_Qt,x[_Q7+5],12,1200080426);_Qt=_Uv(_Qt,_si,_k9,_M7,x[_Q7+6],17,-1473231341);_M7=_Uv(_M7,_Qt,_si,_k9,x[_Q7+7],22,-45705983);_k9=_Uv(_k9,_M7,_Qt,_si,
x[_Q7+8],7,1770035416);_si=_Uv(_si,_k9,_M7,_Qt,x[_Q7+9],12,-1958414417);_Qt=_Uv(_Qt,_si,_k9,_M7,x[_Q7+10],17,-42063);_M7=_Uv(_M7,_Qt,_si,_k9,x[_Q7+11],22,-1990404162);_k9=_Uv(_k9,_M7,_Qt,_si,x[_Q7+12],7,1804603682);_si=_Uv(_si,_k9,_M7,_Qt,x[_Q7+13],12,-40341101);_Qt=_Uv(_Qt,_si,_k9,_M7,x[_Q7+14],17,-1502002290);_M7=_Uv(_M7,_Qt,_si,_k9,x[_Q7+15],22,1236535329);_k9=_Vv(_k9,_M7,_Qt,_si,x[_Q7+1],5,-165796510);_si=_Vv(_si,_k9,_M7,_Qt,x[_Q7+6],9,-1069501632);_Qt=_Vv(_Qt,_si,_k9,_M7,x[_Q7+11],14,643717713);
_M7=_Vv(_M7,_Qt,_si,_k9,x[_Q7+0],20,-373897302);_k9=_Vv(_k9,_M7,_Qt,_si,x[_Q7+5],5,-701558691);_si=_Vv(_si,_k9,_M7,_Qt,x[_Q7+10],9,38016083);_Qt=_Vv(_Qt,_si,_k9,_M7,x[_Q7+15],14,-660478335);_M7=_Vv(_M7,_Qt,_si,_k9,x[_Q7+4],20,-405537848);_k9=_Vv(_k9,_M7,_Qt,_si,x[_Q7+9],5,568446438);_si=_Vv(_si,_k9,_M7,_Qt,x[_Q7+14],9,-1019803690);_Qt=_Vv(_Qt,_si,_k9,_M7,x[_Q7+3],14,-187363961);_M7=_Vv(_M7,_Qt,_si,_k9,x[_Q7+8],20,1163531501);_k9=_Vv(_k9,_M7,_Qt,_si,x[_Q7+13],5,-1444681467);_si=_Vv(_si,_k9,_M7,_Qt,
x[_Q7+2],9,-51403784);_Qt=_Vv(_Qt,_si,_k9,_M7,x[_Q7+7],14,1735328473);_M7=_Vv(_M7,_Qt,_si,_k9,x[_Q7+12],20,-1926607734);_k9=_Wv(_k9,_M7,_Qt,_si,x[_Q7+5],4,-378558);_si=_Wv(_si,_k9,_M7,_Qt,x[_Q7+8],11,-2022574463);_Qt=_Wv(_Qt,_si,_k9,_M7,x[_Q7+11],16,1839030562);_M7=_Wv(_M7,_Qt,_si,_k9,x[_Q7+14],23,-35309556);_k9=_Wv(_k9,_M7,_Qt,_si,x[_Q7+1],4,-1530992060);_si=_Wv(_si,_k9,_M7,_Qt,x[_Q7+4],11,1272893353);_Qt=_Wv(_Qt,_si,_k9,_M7,x[_Q7+7],16,-155497632);_M7=_Wv(_M7,_Qt,_si,_k9,x[_Q7+10],23,-1094730640);
_k9=_Wv(_k9,_M7,_Qt,_si,x[_Q7+13],4,681279174);_si=_Wv(_si,_k9,_M7,_Qt,x[_Q7+0],11,-358537222);_Qt=_Wv(_Qt,_si,_k9,_M7,x[_Q7+3],16,-722521979);_M7=_Wv(_M7,_Qt,_si,_k9,x[_Q7+6],23,76029189);_k9=_Wv(_k9,_M7,_Qt,_si,x[_Q7+9],4,-640364487);_si=_Wv(_si,_k9,_M7,_Qt,x[_Q7+12],11,-421815835);_Qt=_Wv(_Qt,_si,_k9,_M7,x[_Q7+15],16,530742520);_M7=_Wv(_M7,_Qt,_si,_k9,x[_Q7+2],23,-995338651);_k9=_Xv(_k9,_M7,_Qt,_si,x[_Q7+0],6,-198630844);_si=_Xv(_si,_k9,_M7,_Qt,x[_Q7+7],10,1126891415);_Qt=_Xv(_Qt,_si,_k9,_M7,
x[_Q7+14],15,-1416354905);_M7=_Xv(_M7,_Qt,_si,_k9,x[_Q7+5],21,-57434055);_k9=_Xv(_k9,_M7,_Qt,_si,x[_Q7+12],6,1700485571);_si=_Xv(_si,_k9,_M7,_Qt,x[_Q7+3],10,-1894986606);_Qt=_Xv(_Qt,_si,_k9,_M7,x[_Q7+10],15,-1051523);_M7=_Xv(_M7,_Qt,_si,_k9,x[_Q7+1],21,-2054922799);_k9=_Xv(_k9,_M7,_Qt,_si,x[_Q7+8],6,1873313359);_si=_Xv(_si,_k9,_M7,_Qt,x[_Q7+15],10,-30611744);_Qt=_Xv(_Qt,_si,_k9,_M7,x[_Q7+6],15,-1560198380);_M7=_Xv(_M7,_Qt,_si,_k9,x[_Q7+13],21,1309151649);_k9=_Xv(_k9,_M7,_Qt,_si,x[_Q7+4],6,-145523070);
_si=_Xv(_si,_k9,_M7,_Qt,x[_Q7+11],10,-1120210379);_Qt=_Xv(_Qt,_si,_k9,_M7,x[_Q7+2],15,718787259);_M7=_Xv(_M7,_Qt,_si,_k9,x[_Q7+9],21,-343485551);_k9=_Yv(_k9,_Qv);_M7=_Yv(_M7,_Rv);_Qt=_Yv(_Qt,_Sv);_si=_Yv(_si,_Tv)}return Array(_k9,_M7,_Qt,_si)}function _Zv(__v,_k9,_M7,x,_ps,_L7){return _Yv(_0w(_Yv(_Yv(_k9,__v),_Yv(x,_L7)),_ps),_M7)}function _Uv(_k9,_M7,_Qt,_si,x,_ps,_L7){return _Zv((_M7&_Qt)|((~_M7)&_si),_k9,_M7,x,_ps,_L7)}function _Vv(_k9,_M7,_Qt,_si,x,_ps,_L7){return _Zv((_M7&_si)|(_Qt&(~_si)),_k9,_M7,
x,_ps,_L7)}function _Wv(_k9,_M7,_Qt,_si,x,_ps,_L7){return _Zv(_M7^_Qt^_si,_k9,_M7,x,_ps,_L7)}function _Xv(_k9,_M7,_Qt,_si,x,_ps,_L7){return _Zv(_Qt^(_M7|(~_si)),_k9,_M7,x,_ps,_L7)}function _Yv(x,y){var _1w=(x&0xFFFF)+(y&0xFFFF);var _2w=(x>>16)+(y>>16)+(_1w>>16);return(_2w<<16)|(_1w&0xFFFF)}function _0w(_Ar,_3w){return(_Ar<<_3w)|(_Ar>>>(32-_3w))}function _Ev(_ps){return _Hv(_4w(_Jv(_ps)))}function _4w(_ps){return _5w(_6w(_7w(_ps),_ps.length*8))}function _7w(_Nv){var _Pv=Array(_Nv.length>>2);for(var _Q7=0;_Q7<_Pv.length;
_Q7++)_Pv[_Q7]=0;for(var _Q7=0;_Q7<_Nv.length*8;_Q7+=8)_Pv[_Q7>>5]|=(_Nv.charCodeAt(_Q7/8)&0xFF)<<(24-_Q7%32);return _Pv}function _5w(_Nv){var _Pv="";for(var _Q7=0;_Q7<_Nv.length*32;_Q7+=8)_Pv+=String.fromCharCode((_Nv[_Q7>>5]>>>(24-_Q7%32))&0xFF);return _Pv}function _6w(x,_9s){x[_9s>>5]|=0x80<<(24-_9s%32);x[((_9s+64>>9)<<4)+15]=_9s;var _u4=Array(80);var _k9=1732584193;var _M7=-271733879;var _Qt=-1732584194;var _si=271733878;var e=-1009589776;for(var _Q7=0;_Q7<x.length;_Q7+=16){var _Qv=_k9;var _Rv=_M7;var _Sv=_Qt;
var _Tv=_si;var _8w=e;for(var _R7=0;_R7<80;_R7++){if(_R7<16)_u4[_R7]=x[_Q7+_R7];else _u4[_R7]=_0w(_u4[_R7-3]^_u4[_R7-8]^_u4[_R7-14]^_u4[_R7-16],1);var _L7=_Yv(_Yv(_0w(_k9,5),_9w(_R7,_M7,_Qt,_si)),_Yv(_Yv(e,_u4[_R7]),_aw(_R7)));e=_si;_si=_Qt;_Qt=_0w(_M7,30);_M7=_k9;_k9=_L7}_k9=_Yv(_k9,_Qv);_M7=_Yv(_M7,_Rv);_Qt=_Yv(_Qt,_Sv);_si=_Yv(_si,_Tv);e=_Yv(e,_8w)}return Array(_k9,_M7,_Qt,_si,e)}function _9w(_L7,_M7,_Qt,_si){if(_L7<20)return(_M7&_Qt)|((~_M7)&_si);if(_L7<40)return _M7^_Qt^_si;if(_L7<60)return(_M7&_Qt)|(_M7&_si)|(_Qt&_si);
return _M7^_Qt^_si}function _aw(_L7){return(_L7<20)?1518500249:(_L7<40)?1859775393:(_L7<60)?-1894007588:-899497514}function _bw(_t6,_cw){for(var index=0;index<_cw.length;index++){var _dw=_cw[index];if(_dw._U3==_t6){return index}}return -1};/*@constructor */function _ew(){this._fw=0;this._gw=0;this._hw=false;this._iw=0;this._jw=0};_ew.prototype._kw=function(_lw){this._iw=_lw;this._mw()};_ew.prototype._mw=function(){this._fw=0;if(this._iw>0.0){this._gw=_nw()}else {this._gw=0}this._jw=0;this._hw=false};_ew.prototype._7f=function(){
var current;if(this._iw>0.0){current=this._gw+1000000.0/this._iw}else current=_nw();this._jw=current-this._gw;if(!this._hw)this._fw+=this._jw;this._gw=current};_ew.prototype._l6=function(){if(this._iw>0)return this._iw;if(this._jw>0){return 1000000.0/this._jw}return 30.0;};var _k6=new _ew();function _ow(){return _pd._Ye()}function _pw(__e){return _pd._8f(__e)}function _qw(__e){return _pd._Hd(__e)}function _rw(__e){return _pd._Pd(__e)}var _kr=1,_ir=2,_sw=3,_jr=4,_gr=5,_hr=6,_tw=7,_uw=8,_vw=9,_ww=10,_xw=11;var _yw=0.0;
function _zw(_4q,_5q,_Aw,_Bw){_Cw=true;_Dw=0;_Ew=0;_Fw=1;_Gw=1;_Hw=-1;_Iw=-1;if(_4q!=undefined)_Fw=_4q;if(_5q!=undefined)_Gw=_5q;if(_Aw!=undefined)_Dw=_Aw;if(_Bw!=undefined)_Ew=_Bw;if(_Jw){_Kw()}}var _Lw=_zw;var _Mw=96;var _Nw=96;var _w5=_Ow;function _Ow(_ac,_Wb){_Pw();var _Qw=[];_Qw[0]=1;_Qw[1]=0;_Qw[2]=0;_Qw[3]=1;_Qw[4]=0;_Qw[5]=0;_M9._Rw(_Qw[0],_Qw[1],_Qw[2],_Qw[3],_Qw[4],_Qw[5]);if(!_M9.clearRect||_ac!=0||_Wb!=0){_M9.globalAlpha=_Wb;_M9.fillStyle=_0i(_Xb(_ac),_Wb);_M9.globalCompositeOperation='copy';
_M9.fillRect(_Sw,_Tw,_Uw,_Vw)}else {_M9.clearRect(_Sw,_Tw,_Uw,_Vw)}_Ww()}function _Xw(_Pq,_Qq,_Rq){return(~~_Pq)|(_Qq<<8)|(_Rq<<16)}function _Yw(_Zw,__w,_0x){return _Xw(_Zw,__w,_0x)}var _1x=_Xw;var _2x=_Yw;function _3x(_ac){return(_ac>>16)&0xff}var _4x=_3x;function _5x(_ac){return(_ac>>8)&0xff}var _6x=_5x;function _7x(_ac){return(_ac&0xff)}var _8x=_7x;function _9x(_ac){var _ax=0.0;var _bx=0.0;var _cx=0.0;var _a8=0.0;var _c8=0.0;var _dx=0.0;var _si=0.0;var _v7=0.0;_ax=(_ac&0xff)/255.0;_bx=((_ac>>8)&0xff)/255.0;_cx=((_ac>>16)&0xff)/255.0;
_v7=_K7(_K7(_ax,_bx),_cx);_dx=_I7(_I7(_ax,_bx),_cx);_si=_dx-_v7;if(_dx==0)_c8=0.0;else _c8=1.0*_si/_dx;if(_c8==0)_a8=0.0;else if(_ax==_dx)_a8=60.0*(_bx-_cx)/_si;else if(_bx==_dx)_a8=120.0+60.0*(_cx-_ax)/_si;else _a8=240.0+60.0*(_ax-_bx)/_si;if(_a8<0)_a8=_a8+360.0;var _y9=Math.min(255,Math.max(0,_dx*255.0));var _ps=Math.min(255,Math.max(0,_c8*255.0));var _v4=Math.min(255,Math.max(0,(_a8*255.0)/360.0));var _ex={_v4:_v4,_ps:_ps,_y9:_y9};return _ex}function _fx(_ac){var _gx=_9x(_ac);return _gx._v4}var _hx=_fx;function _ix(_ac){
var _gx=_9x(_ac);return _gx._ps}var _jx=_ix;function _kx(_ac){var _gx=_9x(_ac);return _gx._y9}var _lx=_kx;function _mx(_Su,_Tu,_nx){var _Uu=(_Su>>16)&0xff;var _Wu=(_Su>>8)&0xff;var _Yu=_Su&0xff;var _Vu=(_Tu>>16)&0xff;var _Xu=(_Tu>>8)&0xff;var _Zu=_Tu&0xff;var _ox=1.0-_nx;var _J7=~~(_Uu*_ox+_Vu*_nx);var _j9=~~(_Wu*_ox+_Xu*_nx);var _M7=~~(_Yu*_ox+_Zu*_nx);return((_J7<<16)&0xff0000)|((_j9<<8)&0xff00)|(_M7&0xff)}var _px=_mx;function _qx(_rx,_sx,_Zq){var _ax=0.0;var _bx=0.0;var _cx=0.0;var _a8=0.0;var _c8=0.0;var _dx=0.0;var _1t=0.0;
var _tx=0.0;var __v=0.0;var _L7=0.0;var _Q7=0;var _ex;_a8=_rx*360.0/255.0;if(_a8==360.0)_a8=0.0;_c8=_sx/255.0;_dx=_Zq/255.0;if(_c8==0){_ax=_dx;_bx=_dx;_cx=_dx}else {_a8=_a8/60.0;_Q7=Math.floor(_a8);_1t=_a8-_Q7;_tx=_dx*(1.0-_c8);__v=_dx*(1.0-(_c8*_1t));_L7=_dx*(1.0-(_c8*(1.0-_1t)));switch(_Q7){case 0:{_ax=_dx;_bx=_L7;_cx=_tx}break;case 1:{_ax=__v;_bx=_dx;_cx=_tx}break;case 2:{_ax=_tx;_bx=_dx;_cx=_L7}break;case 3:{_ax=_tx;_bx=__v;_cx=_dx}break;case 4:{_ax=_L7;_bx=_tx;_cx=_dx}break;default :{_ax=_dx;_bx=_tx;_cx=__v}
}}_ex=Math.floor(_ax*255.0)|(Math.floor(_bx*255.0)<<8)|(Math.floor(_cx*255.0)<<16);return _ex}var _ux=_qx;function _vx(_Wb){if(_Wb<0){_Wb=0}if(_Wb>1){_Wb=1}_Tb=_Wb;_wx=_0i(_Ub,_Tb)}function _xx(){return _Tb}function _yx(){return _nu}var _zx=_yx;function _hh(_Vb){_nu=_Vb;_Ub=_Xb(_Vb);_Ax=_Bx(_Ub);_wx=_0i(_Ub,_Tb)}var _Cx=_hh;;;;;;;function _Dx(_18,_28,_m7,_n7,_Su,_Tu,_Ex){_Fx(_18,_28,_m7,_n7,10,10,_Su,_Tu,_Ex)}var _Gx=_Dx;var _Fx=_Hx;var _Ix=_Hx;function _Hx(_18,_28,_m7,_n7,_Jx,_Kx,_Su,_Tu,_Ex){if(_yw!=0.0){_18+=_yw;
_28+=_yw;_m7+=_yw;_n7+=_yw}if(_n7<_28){var _Lx=_28;_28=_n7;_n7=_Lx}if(_m7<_18){var _Lx=_18;_18=_m7;_m7=_Lx}var width=_m7-_18;var height=_n7-_28;var _Mx=_Jx;var _Nx=_Kx;var _59=_M9.globalAlpha=_Tb;_M9.beginPath();_M9.moveTo(_18+_Mx,_28);_M9.lineTo(_18+width-_Mx,_28);_M9.quadraticCurveTo(_18+width,_28,_18+width,_28+_Nx);_M9.lineTo(_18+width,_28+height-_Nx);_M9.quadraticCurveTo(_18+width,_28+height,_18+width-_Mx,_28+height);_M9.lineTo(_18+_Mx,_28+height);_M9.quadraticCurveTo(_18,_28+height,_18,_28+height-_Nx);
_M9.lineTo(_18,_28+_Nx);_M9.quadraticCurveTo(_18,_28,_18+_Mx,_28);_M9.closePath();if(_Ex){_M9.strokeStyle=_0i(_Xb(_Su),1.0);_M9.stroke()}else {_M9.fillStyle=_0i(_Xb(_Su),1.0);_M9.fill()}}var _Ox=_Px;function _Px(_18,_28,_m7,_n7,_Ex){_18=~~_18;_28=~~_28;_m7=~~_m7;_n7=~~_n7;_M9.globalAlpha=_Tb;if(_Ex){if(_yw!=0.0){_18+=_yw;_28+=_yw;_m7+=_yw;_n7+=_yw}_M9.lineWidth=1;_M9.strokeStyle=_wx;_M9._Qx(_18+0.5,_28+0.5,(_m7-_18),(_n7-_28))}else {if(_yw!=0.0){_m7+=_yw;_n7+=_yw}_M9.fillStyle=_wx;_M9._Rx(_18,_28,_m7-_18+1,
_n7-_28+1)}}var _Sx=_Tx;var _Ux=_Tx;function _Tx(_18,_28,_m7,_n7,_Su,_Tu,_Vx,_Wx,_Ex){var _59=_0i(_Xb(_Su),1.0);_M9.globalAlpha=_Tb;if(_Ex){if(_yw!=0.0){_18+=_yw;_28+=_yw;_m7+=_yw;_n7+=_yw}_M9.lineWidth=1;_M9.strokeStyle=_59;_M9._Qx(_18+0.5,_28+0.5,(_m7-_18),(_n7-_28))}else {if(_yw!=0.0){_m7+=_yw;_n7+=_yw}_M9.fillStyle=_59;_M9._Rx(_18+0.5,_28+0.5,(_m7-_18),(_n7-_28))}}var _Xx=_Yx;function _Yx(_18,_28,_m7,_n7,_Su,_Tu,_Zx,_Ex){_M9.globalAlpha=_Tb;_M9.lineWidth=1;var __x=_0i(_Xb(_Su),1.0);var _0y=_0i(_Xb(_Tu),
1.0);var _1y;if(_Zx){_1y=_M9.createLinearGradient(_18,_28,_18,_n7)}else {_1y=_M9.createLinearGradient(_18,_28,_m7,_28)}_1y.addColorStop(0,__x);_1y.addColorStop(1,_0y);if(_Ex){if(_yw!=0.0){_18+=_yw;_28+=_yw;_m7+=_yw;_n7+=_yw}_M9.strokeStyle=_1y;_M9._Qx(_18+0.5,_28+0.5,_m7-_18,_n7-_28)}else {if(_yw!=0.0){_m7+=_yw;_n7+=_yw}_M9.fillStyle=_1y;_M9._Rx(_18+0.5,_28+0.5,_m7-_18,_n7-_28)}}var _2y=_3y;function _3y(_N6,_O6){if(_yw!=0.0){_N6+=_yw;_O6+=_yw}_M9.globalAlpha=_Tb;_M9.fillStyle=_wx;_M9._Rx(_N6,_O6,1,1)}
function _4y(_18,_28,_m7,_n7,_Zf){if(_yw!=0.0){_18+=_yw;_28+=_yw;_m7+=_yw;_n7+=_yw}_M9.globalAlpha=_Tb;_M9.strokeStyle=_Ax;_M9.lineWidth=_Zf;_M9._5y();_M9._6y(_18+0.5,_28+0.5);_M9._7y(_m7+0.5,_n7+0.5);_M9._8y();_M9._9y();_M9._Rx(_m7,_n7,1,1)}function _o9(_18,_28,_m7,_n7){_4y(_18,_28,_m7,_n7,1)}var _ay=_by;var _cy=_dy;function _by(_N6,_O6){return _dy(_N6,_O6)&0x00ffffff}function _dy(_N6,_O6){var _ey=canvas.width/_fy;var _gy=canvas.height/_hy;var _59=_iy(canvas,_N6*_ey,_O6*_gy);return _59}var _jy=_ky;function _ky(_18,
_28,_m7,_n7,_ly,_my,_Ex){if(_yw!=0.0){_18+=_yw;_28+=_yw;_m7+=_yw;_n7+=_yw;_ly+=_yw;_my+=_yw}_M9.globalAlpha=_Tb;_M9.lineWidth=1;if(_Ex){_M9.strokeStyle=_wx;_M9._5y();_M9._6y(_18,_28);_M9._7y(_m7,_n7);_M9._7y(_ly,_my);_M9._7y(_18,_28);_M9._9y();_M9._8y()}else {_M9.strokeStyle=_wx;_M9.lineJoin="bevel";_M9.fillStyle=_wx;_M9._5y();_M9._6y(_18,_28);_M9._7y(_m7,_n7);_M9._7y(_ly,_my);_M9._7y(_18,_28);_M9._ny();_M9._9y();_M9._8y();_M9.lineJoin="miter"}}var _oy=_py;var _qy=_py;function _py(_18,_28,_m7,_n7,_ly,
_my,_Su,_Tu,_Vx,_Ex){var __x=_Bx(_Xb(_Su)|0xff000000);if(_yw!=0.0){_18+=_yw;_28+=_yw;_m7+=_yw;_n7+=_yw;_ly+=_yw;_my+=_yw;}_M9.globalAlpha=_Tb;_M9.lineWidth=1;if(_Ex){_M9.strokeStyle=__x;_M9._5y();_M9._6y(_18,_28);_M9._7y(_m7,_n7);_M9._7y(_ly,_my);_M9._7y(_18,_28);_M9._9y();_M9._8y()}else {_M9.strokeStyle=__x;_M9.lineJoin="bevel";_M9.fillStyle=__x;_M9._5y();_M9._6y(_18,_28);_M9._7y(_m7,_n7);_M9._7y(_ly,_my);_M9._7y(_18,_28);_M9._ny();_M9._9y();_M9._8y();_M9.lineJoin="miter"}}var _ry=_sy;function _sy(_18,
_28,_m7,_n7,_nx,_ty,_uy,_vy,_wy,_xy,_yy,_zy){var _Ay;var _By;var _Cy;var _Dy;var _59;if(_yy){_Sx(_18,_28,_m7,_n7,_ty,_ty,_ty,_ty,false);if(_zy){_Sx(_18,_28,_m7,_n7,_Ey,_Ey,_Ey,_Ey,true)}}if(_nx<0){_nx=0}if(_nx>100){_nx=100}var _Fy=_nx/100;switch(_xy){case 0:_Ay=_18;_Cy=_28;_By=_18+_Fy*(_m7-_18);_Dy=_n7;break;case 1:_Ay=_m7-_Fy*(_m7-_18);_Cy=_28;_By=_m7;_Dy=_n7;break;case 2:_Ay=_18;_Cy=_28;_By=_m7;_Dy=_28+_Fy*(_n7-_28);break;case 3:_Ay=_18;_Cy=_n7-_Fy*(_n7-_28);_By=_m7;_Dy=_n7;break;default :_Ay=_18;_Cy=_28;
_By=_18+_Fy*(_m7-_18);_Dy=_n7;break }if(_nx>50){_59=_Ru(_vy,_wy,(_nx-50.0)/50.0);}else {_59=_Ru(_uy,_vy,_nx/50.0)}_Sx(_Ay,_Cy,_By,_Dy,_59,_59,_59,_59,false);if(_zy){_Sx(_Ay,_Cy,_By,_Dy,_Ey,_Ey,_Ey,_Ey,true)}}var _Gy=_Hy;function _Hy(_w7,_x7,_y7,_z7,_u7){var _Iy=Math.sqrt(((_y7-_w7)*(_y7-_w7))+((_z7-_x7)*(_z7-_x7)));if(_Iy!=0){if(_u7>_Iy){_u7=_Iy}var _S7=_u7*(_y7-_w7)/_Iy;var _U7=_u7*(_z7-_x7)/_Iy;_o9(_w7,_x7,_y7,_z7);_jy(_y7-_S7-_U7/3.0,_z7-_U7+_S7/3.0,_y7,_z7,_y7-_S7+_U7/3.0,_z7-_U7-_S7/3.0,false)}}function _Jy(_18,
_28,_m7,_n7,_Ex){_Ky(_18,_28,_m7,_n7,_nu,_nu,_Ex)}var _Ky=_Ly;var _My=_Ly;function _Ly(x,y,_w7,_x7,_Su,_Tu,_Ny){if(_yw!=0.0){x+=_yw;y+=_yw;_w7+=_yw;_x7+=_yw}var _u4=_w7-x;var _v4=_x7-y;var _Oy=0.5522848;var _Py=(_u4/2)*_Oy;var _Qy=(_v4/2)*_Oy;var _Ry=x+_u4;var _Sy=y+_v4;var _Ty=x+_u4/2;var _Uy=y+_v4/2;_M9.beginPath();_M9.moveTo(x,_Uy);_M9.bezierCurveTo(x,_Uy-_Qy,_Ty-_Py,y,_Ty,y);_M9.bezierCurveTo(_Ty+_Py,y,_Ry,_Uy-_Qy,_Ry,_Uy);_M9.bezierCurveTo(_Ry,_Uy+_Qy,_Ty+_Py,_Sy,_Ty,_Sy);_M9.bezierCurveTo(_Ty-_Py,_Sy,
x,_Uy+_Qy,x,_Uy);_M9.closePath();var __x=_0i(_Xb(_Su),1.0);var _0y=_0i(_Xb(_Tu),1.0);if(_u4<=0)_u4*=-1;if(_v4<=0)_v4*=-1;var _1y=_M9.createRadialGradient(_Ty,_Uy,0,_Ty,_Uy,min(_u4/2,_v4/2));_1y.addColorStop(0,__x);_1y.addColorStop(1,_0y);_M9.globalAlpha=_Tb;if(_Ny){_M9.lineWidth=1;_M9.strokeStyle=_1y;_M9.stroke()}else {_M9.fillStyle=_1y;_M9.fill()}}var _Vy=_Wy;var _Xy=_Wy;function _Wy(_N6,_O6,_Zw,_Su,_Tu,_Ex){if(_yw!=0.0){_N6+=_yw;_O6+=_yw}_M9.globalAlpha=_Tb;var __x=_0i(_Xb(_Su),1.0);var _0y=_0i(_Xb(_Tu),
1.0);var _1y=_M9.createRadialGradient(_N6,_O6,0,_N6,_O6,_Zw);_1y.addColorStop(0,__x);_1y.addColorStop(1,_0y);_M9._5y();if(_Ex){_M9.lineWidth=1;_M9.strokeStyle=_1y;_M9._Yy(_N6,_O6,_Zw,0,Math.PI*2,true);_M9._9y()}else {_M9.fillStyle=_1y;_M9._Yy(_N6,_O6,_Zw,0,Math.PI*2,false);_M9._ny()}_M9._8y()}var _Zy=__y;var _0z=__y;function __y(_N6,_O6,_ac){if(_yw!=0.0){_N6+=_yw;_O6+=_yw}var __x=_0i(_Xb(_ac),1.0);_M9.globalAlpha=_Tb;_M9.fillStyle=__x;_M9._Rx(_N6,_O6,1,1)}var _1z=_2z;var _3z=_2z;function _2z(_18,_28,_m7,
_n7,_Zf,_Su,_Tu){if(_yw!=0.0){_18+=_yw;_28+=_yw;_m7+=_yw;_n7+=_yw}_M9.globalAlpha=_Tb;var __x=_0i(_Xb(_Su),1.0);var _0y=_0i(_Xb(_Tu),1.0);var _1y=_M9.createLinearGradient(_18,_28,_m7,_n7);_1y.addColorStop(0,__x);_1y.addColorStop(1,_0y);_M9.strokeStyle=_1y;_M9._5y();_M9._6y(_18+0.5,_28+0.5);_M9._7y(_m7+0.5,_n7+0.5);_M9.lineWidth=_Zf;_M9._9y();_M9._8y()}function _4z(_18,_28,_m7,_n7,_Su,_Tu){_1z(_18,_28,_m7,_n7,1,_Su,_Tu)}var _5z=_4z;function _6z(x,y,_w7,_x7,__x,_0y,_Ny){_Ky(x,y,_w7,_x7,__x,_0y,_Ny)}function _7z(_8z){
switch(_8z){case 1:_9z(_gr,_ir);break;case 2:_9z(_gr,_jr);break;case 3:_9z(_kr,_jr);break;default :_9z(_gr,_hr);break }}var _9z=_az;function _az(src,_Sk){_Fa("Blend modes only available in WebGL mode.")};;;;;;;;;;function _bz(_cz,_dz,_g4,_h4,angle){if(Math.abs(angle)<0.001){_ez.left=_cz;_ez.top=_dz;_ez.right=_cz+_g4;_ez.bottom=_dz+_h4}else {var _fz=angle*(Math.PI/180.0);var _ps=Math.abs(sin(_fz));var _Qt=Math.abs(cos(_fz));var _Ou=(_Qt*_g4)+(_ps*_h4);var _gz=(_ps*_g4)+(_Qt*_h4);_ez.left=(_cz+(_g4-_Ou)/2);_ez.right=(_cz+(_g4+_Ou)/2);
_ez.top=(_dz+(_h4-_gz)/2);_ez.bottom=(_dz+(_h4+_gz)/2);}};function _hz(){_iz=true};function _jz(){if(_iz){var _kz=new _4o();_kz._lz(_Xp[_sp]);var _q9=[];var _r9=[];_q9[0]=_ez.left;_q9[1]=_ez.right;_q9[2]=_ez.right;_q9[3]=_ez.left;_r9[0]=_ez.top;_r9[1]=_ez.top;_r9[2]=_ez.bottom;_r9[3]=_ez.bottom;_mz.left=Number._nz;_mz.top=Number._nz;_mz.right=Number._oz;_mz.bottom=Number._oz;for(var _Q7=0;_Q7<4;_Q7++){var _pz=((_q9[_Q7]*_kz._v7[0])+(_r9[_Q7]*_kz._v7[4])+_kz._v7[12]);var _qz=((_q9[_Q7]*_kz._v7[1])+(_r9[_Q7]*_kz._v7[5])+_kz._v7[13]);
_mz.left=_K7(_mz.left,_pz);_mz.top=_K7(_mz.top,_qz);_mz.right=_I7(_mz.right,_pz);_mz.bottom=_I7(_mz.bottom,_qz)}_iz=false}};;;;;;;;;;;;;;;;;;;function _rz(_sz,_tz){if((_sz.status<200)||(_sz.status>=300)){_tz._Ue=_uz;_tz._vz=""}else {_tz._Ue=_wz;try{_tz._vz=_sz.responseText}catch(e){_tz._vz=""}}}function _xz(_sz,_yz){if(_sz.readyState!=4)return;var _Oe=_Gs(_sz);if(_Oe){_Oe._zz=_sz.status;_Oe._Ve=true;_Oe._Az=_W5();var _Bz=_sz.getAllResponseHeaders().split("\r\n");for(var _r7 in _Bz){if(!_Bz.hasOwnProperty(_r7))continue;
var _Cz=_Bz[_r7].split(": ");if(_Cz.length==2){_Z5(_Oe._Az,_Cz[0],_Cz[1])}}if(_yz){_yz(_sz,_Oe)}}}function _Dz(_Ez){var _Fz={};_Pe._Qe(_Gz,_Ez,_Hz,_Fz);setTimeout(function(){var _Oe=_Gs(_Fz);if(_Oe){_Oe._zz=404;_Oe._Ve=true;_Oe._Ue=_uz;_Oe._vz=""}},500);return _Gz++}function _Iz(_vc,_Ez,_Jz,_Kz,_yz,_Lz){try{var _Mz=_Nz(_Ez,_Jz);_Pe._Qe(_Gz,_Ez,_Hz,_Mz._Oz);if(_Lz!==undefined){_Mz._Oz.responseType=_Lz;}if(_Mz._Pz){_Qz(_vc,_Ez,_Jz,_Kz,_Mz._Oz,_Mz._Rz,_yz)}else {_Sz(_vc,_Ez,_Jz,_Kz,_Mz._Oz,_yz)}}catch(e){return _Dz(_Ez)}
return _Gz++}function _Nz(_Ez,_Jz){var _Mz={_Oz:null,_Rz:true,_Pz:false};if((_Ez.substring(0,7)!="http://")&&(_Ez.substring(0,8)!="https://")){_Mz._Rz=false}else {var _Tz="";if(_Ez.substring(0,7)=="http://"){_Tz=_Ez.substring(7)}if(_Ez.substring(0,8)=="https://"){_Tz=_Ez.substring(8)}if(_Tz.substring(0,document.domain.length)==document.domain){_Mz._Rz=false}}if((_Mz._Rz)&&(window.XDomainRequest)){_Mz._Oz=new XDomainRequest();_Mz._Rz=true;_Mz._Pz=true}else {if(window.XMLHttpRequest){_Mz._Oz=new XMLHttpRequest();
_Mz._Rz=false;_Mz._Pz=(_Uz==_Vz)&&(_Wz._Xz<=9.0)}else if(window.ActiveXObject){if(new ActiveXObject("Microsoft.XMLHTTP")){_Mz._Oz=new ActiveXObject("Microsoft.XMLHTTP")}else {_Mz._Oz=new ActiveXObject("Msxml2.XMLHTTP")}}}return _Mz}function _Sz(_vc,_Ez,_Jz,_Kz,_sz,_yz){try{_sz.open(_vc,_Ez,true);if(_Jz!==null){for(var _Cz in _Jz){if(!_Jz.hasOwnProperty(_Cz))continue;try{_sz.setRequestHeader(_Jz[_Cz].key,_Jz[_Cz].value)}catch(e){debug("Unable to set request header "+_Jz[_Cz].key+":"+_Jz[_Cz].value+" "+e.message)}
}}else if(_vc=="POST"){_sz.setRequestHeader("Content-Type","application/x-www-form-urlencoded")}_sz.onreadystatechange=function(){_xz(_sz,_yz)};_sz.send(_Kz)}catch(e){debug(e.message)}}function _Qz(_vc,_Ez,_Jz,_Kz,_sz,_Yz,_yz){_sz.open(_vc,_Ez);_sz.ontimeout=function(_Zz){__z(_Zz,_sz)};_sz.onerror=function(_Zz){__z(_Zz,_sz)};if(_Yz){_sz.onload=function(_Zz){_0A(_Zz,_sz,200)}}else {_sz.onload=function(_Zz){};_sz.onreadystatechange=function(){if(_sz.readyState==4){_0A(null,_sz,_sz.status)}}}if(_Jz!==null){
for(var _Cz in _Jz){if(!_Jz.hasOwnProperty(_Cz))continue;try{_sz.setRequestHeader(_Jz[_Cz].key,_Jz[_Cz].value)}catch(e){debug("Unable to set request header "+_Jz[_Cz].key+":"+_Jz[_Cz].value+" "+e.message)}}}_sz._1A=function(){};_sz.send(_Kz)}function _0A(_Zz,_sz,_2A){var _Oe=_Gs(_sz);if(_Oe){_Oe._Ve=true;if((_2A>=200)&&(_2A<300)){_Oe._Ue=_wz;_Oe._zz=_2A}else {_Oe._Ue=_uz;_Oe._zz=404;}_Oe._vz=_sz.responseText;_Oe._Az=-1}}function __z(_Zz,_sz){var _Oe=_Gs(_sz);if(_Oe){_Oe._Ve=true;_Oe._Ue=_uz;_Oe._vz="";_Oe._zz=404;
_Oe._Az=-1}}function _3A(_Ez){return _Iz("GET",_Ez,null,"",_rz)};var _4A=-1,_5A=0,_6A=1,_7A=2,_8A=3,_9A=4;var _aA=-3,_bA=-2,_cA=-1,_dA=0,_eA=1,_fA=2;var _gA=-2,_hA=-1,_iA=0,_jA=1,_kA=2,_lA=3;var _mA=0,_nA=1,_oA=2,_pA=3,_qA=4;var _rA=-1,_sA=0;var _tA=[];var _uA=[];var _vA=[];var _wA=[];var _xA=_gA;function _yA(){_zA({type:_mA,status:_rA})};function _AA(){_zA({type:_qA,_Hs:0})};function _BA(){return -1}function _CA(){return 0;}function _DA(){return 0}/*@constructor */;/*@constructor */function _EA(_ur){this._FA="";this.title="";
this.description="";this._GA="";this.type="";this._HA=_bA;this._IA=false;if((_ur!=null)&&(_ur!=undefined)){var id=_Ng(_ur,"id");var title=_Ng(_ur,"title");var description=_Ng(_ur,"description");var _GA=_Ng(_ur,"price");var type=_Ng(_ur,"type");if(id){this._FA=id}if(title){this.title=title;}if(description){this.description=description}if(_GA){this._GA=_GA}if(type){this.type=type}}};/*@constructor */function _JA(){this._KA="";this._FA="";this._LA="";this._MA="";this._NA="";this._OA=0;this._PA=0;this._HA=_bA}
;function _QA(_RA){switch(_RA.type){case _5A:{_xA=_iA;_yA(_tA)}break;case _6A:{_xA=_lA;_AA()}break;case _7A:{_xA=_kA;_BA(_RA.product,_RA._SA)}break;case _8A:{_xA=_kA;_CA(_RA.product)}break;case _9A:{_xA=_kA;_DA(_RA.product)}break;default :{_xA=_jA}break }}function _zA(_Zz){_vA.push(_Zz)}function _TA(_Zz){_Zz.map=_W5();_Z5(_Zz.map,"type",_mA);_Z5(_Zz.map,"status",_Zz.status)}function _UA(_Zz){_Zz.map=_W5();_Z5(_Zz.map,"type",_qA);_Z5(_Zz.map,"result",_Zz._Hs)}function _VA(_Zz){var product=null;var _WA=-1;var _XA=JSON.parse(_Zz._YA);
_WA=_ZA(_XA["productId"]);if(_WA<0){product=new _EA();product._FA=_XA["productId"];_tA.push(product);_WA=_tA.length-1}else {product=_tA[_WA]}product._IA=true;product._HA=_cA;if(_XA["title"]){product.title=_XA["title"]}if(_XA["price"]){product._GA=_XA["price"]}if(_XA["description"]){product.description=_XA["description"]}_Zz.map=_W5();_Z5(_Zz.map,"type",_nA);_Z5(_Zz.map,"product",product._FA);_Z5(_Zz.map,"index",_WA)}function __A(_Zz){var _XA=JSON.parse(_Zz._YA);var _SA=-1;if((_XA["purchaseIndex"]!=null)&&(_XA["purchaseIndex"]!=undefined)){
_SA=_XA["purchaseIndex"]}var _0B=null;if(_SA!=-1){_0B=_uA[_SA]}else {_0B=new _JA();_uA.push(_0B);_SA=_uA.length-1}if(_XA["orderId"]){_0B._KA=_XA["orderId"]}if(_XA["productId"]){_0B._FA=_XA["productId"]}if(_XA["purchaseTime"]){_0B._PA=_XA["purchaseTime"]}if((_XA["purchaseState"]!=null)&&(_XA["purchaseState"]!=undefined)){_0B._HA=_XA["purchaseState"]}if(_XA["purchaseToken"]){_0B._MA=_XA["purchaseToken"]}if(_XA["response"]){_0B._OA=_XA["response"]}if(_XA["receipt"]){_0B._LA=_XA["receipt"]}_Zz.map=_W5();
_Z5(_Zz.map,"type",_oA);_Z5(_Zz.map,"index",_SA);_Z5(_Zz.map,"response",_0B._OA)}function _1B(_Zz){var _XA=JSON.parse(_Zz._YA);var _2B=null;var _MA=null;var _3B=0.0;if(_XA["productId"]){_2B=_XA["productId"]}if(_XA["token"]){_MA=_XA["token"]}if(_XA["consumed"]){if(typeof(_XA["consumed"])=="string"){_3B=(_XA["consumed"]=="false")?0.0:1.0}else {_3B=_XA["consumed"]}}if((_2B!=null)&&(_3B==true)){for(var _r7=0;_r7<_uA.length;_r7++){var _0B=_uA[_r7];if((_0B._2B==_2B)&&(_0B._MA==_MA)){_uA[_r7]=null}}}_Zz.map=_W5();
_Z5(_Zz.map,"type",_pA);_Z5(_Zz.map,"product",_2B);_Z5(_Zz.map,"consumed",_3B?1.0:0.0)}function _4B(_Zz){var _5B=false;if((_Zz.type!=null)&&(_Zz.type!=undefined)){switch(_Zz.type){case _mA:{_TA(_Zz);if(_Zz.status==_sA){_xA=_jA;_5B=true}else {_xA=_hA}}break;case _nA:{_VA(_Zz);if(_xA!=_iA){_xA=_jA;_5B=true}}break;case _oA:{__A(_Zz);if((_xA!=_iA)&&(_xA!=_lA)){_xA=_jA;_5B=true}}break;case _pA:{_1B(_Zz);_xA=_jA;_5B=true}break;case _qA:{_UA(_Zz);_xA=_jA;_5B=true}break }}if(_5B&&(_wA.length!=0)){var _6B=_wA.shift();
_QA(_6B)}}function _7B(){while(_vA.length>0){var _8B=_vA.shift();_4B(_8B);_X5._9B=_8B.map;_aB._67(_bB,0);_56(_8B.map)}}function _ZA(_cB){var _dB=-1;if(typeof(_cB)=="string"){for(var _r7=0;_r7<_tA.length;_r7++){var product=_tA[_r7];if(product._FA.toLowerCase()==_cB.toLowerCase()){_dB=_r7;break }}}else {_dB=~~_cB}return _dB}var _eB=null;function _fB(_2v,_N6,_O6,_Bg){var _S7=_2v.x;var _U7=_2v.y;_2v._Oc(_N6,_O6);var id=_gB(null,Math.floor(_Bg),false,_hB,_N6,_O6,function(_iB){if(_iB._jB(_2v,true)){return _iB.id}else {
return _hB}});_2v._Oc(_S7,_U7);return id}function _kB(_2v,_5g,_lB){if(_5g===undefined){_2v._67(_mB,0,_2v,_2v);_2v._67(_nB,0,_2v,_2v);_2v._oB=true}else {var _pB=_qB(_5g);if(_pB!=null&&_pB.length>0){for(var _rB=0;_rB<_pB.length;_rB++){var _sB=_pB[_rB];if(!_sB._oB&&_sB._tB){if((_lB===undefined)||(_lB)){_sB._67(_mB,0,_sB,_sB)}_sB._67(_nB,0,_sB,_sB);_sB._oB=true}}}}}function _uB(_ch,_N6,_O6){var _xg=_h6._vB._xg;var _wr=[];for(var _Q7=0;_Q7<_xg.length;_Q7++){var _sB=_xg[_Q7];if(_sB._wB(_N6,_O6,true)){_wr.push(_sB)}
}for(var _Q7=0;_Q7<_wr.length;_Q7++){_kB(_wr[_Q7])}}function _xB(_ch,_yB,_zB){if(_zB)_ch._67(_mB,0,_ch,_ch);_ch._AB(_yB,true,false);_ch._BB(_ch._CB._DB);_ch._EB(_h6);if(_zB)_ch._67(_FB,0,_ch,_ch)}function _GB(_ch,_yB,_zB){if(!_26._HB(_yB)){debug("Error: Trying to change an instance to an nonexistent object type.");return }_xB(_ch,_yB,_zB)}var _IB=_GB;function _JB(_Bg,_KB){if(_Bg._LB>=0){var _MB=_26._8g(_Bg._LB);if(_MB){if(_MB._NB==_KB){return true}else {return _JB(_MB,_KB)}}}return false};function _OB(_PB){
{switch(_PB){case 0:if(_Hf._Nd[0]||_Hf._Nd[1]||_Hf._Nd[2])return 0;else return 1;case 1:if(_Hf._Nd[0])return 1;else return 0;case 2:if(_Hf._Nd[1])return 1;else return 0;case 3:if(_Hf._Nd[2])return 1;else return 0;case -1:if(_Hf._Nd[0]||_Hf._Nd[1]||_Hf._Nd[2])return 1;else return 0}}return 0}function _QB(_PB){{switch(_PB){case 0:if(_Hf._Id[0]||_Hf._Id[1]||_Hf._Id[2])return 0;else return 1;case 1:if(_Hf._Id[0])return 1;else return 0;case 2:if(_Hf._Id[1])return 1;else return 0;case 3:if(_Hf._Id[2])return 1;else return 0;case -1:if(_Hf._Id[0]||_Hf._Id[1]||_Hf._Id[2])return 1;
else return 0}}return 0}function _RB(_PB){{switch(_PB){case 0:if(_Hf._Md[0]||_Hf._Md[1]||_Hf._Md[2])return 0;else return 1;case 1:if(_Hf._Md[0])return 1;else return 0;case 2:if(_Hf._Md[1])return 1;else return 0;case 3:if(_Hf._Md[2])return 1;else return 0;case -1:if(_Hf._Md[0]||_Hf._Md[1]||_Hf._Md[2])return 1;else return 0}return 0}}function _SB(_TB){if(_TB==-1){_SB(1);_SB(2);_SB(3)}else if(_TB>=1&&_TB<=3){var _Q7=_TB-1;_Hf._Nd[_Q7]=0;_Hf._Id[_Q7]=0;_Hf._Md[_Q7]=0;_Kf&=~(1<<_Q7)}}var _UB=0,_VB=1,_WB=2,_XB=3,_YB=4,_ZB=5;var __B=0,
_0C=1,_1C=2,_2C=3,_3C=4,_4C=5,_5C=6,_6C=7;var _7C=31;var _8C=29;var _9C=28;var _aC=30;var _bC=(1<<_7C);var _cC=(1<<_8C);var _dC=(1<<_9C);var _eC=(1<<_aC);var _fC=_9C;var _gC=(0x7<<_fC);var _hC=0x7;var _iC=0;var _jC=(0x7ffff<<_iC);var _kC=(0x7ffff);/*@constructor */function _lC(){this._W3=true;this._mC=false;this.index=0;this._nC=false;this._oC=false;this._pC=1.0;this._qC=1.0;this._rC=false;this._sC=0;this.alpha=1.0;this._tC=0;this._uC=0;this._vC=0;this._wC=0};/*@constructor */function _xC(){this._yC=0;this._n4=0;
this._zC=0;this._AC=0;this._BC=0;this._CC=0;this._DC=true;this._EC=0;this._FC="";this._GC=-1;this._HC=-1;this._IC=-1;this._JC=null;this._KC=new _ig()};/*@constructor */;/*@constructor */;/*@constructor */function _LC(){this._MC=-1;this._NC=null;this._OC=_1C;this._PC=false;this._QC=""};/*@constructor */function _RC(){this._SC=null;this._OC=_0C;this._PC=false;this._QC="";this._yC=0};/*@constructor */function _TC(){this._OC=_4C;this._UC=-1;this._VC=0;this._WC=0;this._XC=0;this._YC=0;this._ZC=0;this.__C=[];
this._PC=false;this._QC="";this._yC=0;this._0D=~_bC};/*@constructor */;/*@constructor */function _1D(){this._2D=-1;this._3D=0;this._4D=0;this._5D=1;this._6D=0;this._7D=1;this._8D=1;this._9D=0;this._aD=0xffffffff;this._bD=1;this._VC=0;this._WC=0;this._OC=_3C;this._QC="";this._yC=0;this._PC=false};/*@constructor */function _cD(){this._OC=_5C;this._dD=-1;this._QC="";this._yC=0;this._PC=false};/*@constructor */function _eD(){this._DC=true;this._Lt=-1;this._VC=0;this._WC=0;this._fD=0;this._gD=0;this._7D=1.0;
this._8D=1.0;this._9D=0.0;this._aD=0xffffffff;this._bD=1.0;this._hD=0;this._iD=0;this._OC=_6C;this._QC="";this._yC=0;this._PC=false};var _jD=32;/*@constructor */function _kD(){this._lD=0;this._mD=0;this._nD=0;this._oD=false;this._pD=0xffffffff;this._qD=-1;this._rD=false;this._sD=0};_kD.prototype._tD=function(){return this._lD;};_kD.prototype._uD=function(_5g){this._vD=_5g};_kD.prototype._wD=function(){return this._rD};_kD.prototype._xD=function(){return this._sD};_kD.prototype._yD=function(){return this._pD}
;_kD.prototype._zD=function(){if(!this._oD){this._oD=true}};_kD.prototype._AD=function(_BD,_CD){if(_CD._SC!=null){delete(_CD._SC);_CD._SC=null}_BD._KC._DD(_CD)};_kD.prototype._ED=function(_BD,_CD,_FD){if(_CD._NC){_CD._NC._GD(false)}if(_FD){if(_CD._MC>=0&&_CD._NC){_kB(_CD._NC)}}_BD._KC._DD(_CD)};_kD.prototype._HD=function(_BD,_CD){_BD._KC._DD(_CD)};_kD.prototype._ID=function(_BD,_CD){_BD._KC._DD(_CD)};_kD.prototype._JD=function(_BD,_CD){_BD._KC._DD(_CD)};_kD.prototype._KD=function(_BD,_CD){_BD._KC._DD(_CD)}
;_kD.prototype._LD=function(_BD,_CD){_BD._KC._DD(_CD)};_kD.prototype._MD=function(_ND,_OD,_BD,_PD,_QD){if(_ND==null)return;var _zc=_OD;var _RD=_BD;if(_zc===null)return;this._SD(_zc);switch(_zc._OC){case _0C:this._AD(_RD,_zc);break;case _1C:this._ED(_RD,_zc,_QD);break;case _2C:this._HD(_RD,_zc);break;case _3C:this._ID(_RD,_zc);break;case _4C:this._JD(_RD,_zc);break;case _5C:this._KD(_RD,_zc);break;case _6C:this._LD(_RD,_zc);break };return };_kD.prototype._TD=function(_ND,_UD,_PD,_QD){if(_ND==null)return;var _zc=null;
var _RD=null;for(var _Q7=0;_Q7<_ND._VD.length;_Q7++){_RD=_ND._VD._8g(_Q7);_zc=this._WD(_RD,_UD);if(_zc!=null)break }if(_zc===null)return;this._SD(_zc);switch(_zc._OC){case _0C:this._AD(_RD,_zc);break;case _1C:this._ED(_RD,_zc,_QD);break;case _2C:this._HD(_RD,_zc);break;case _3C:this._ID(_RD,_zc);break;case _4C:this._JD(_RD,_zc);break;case _5C:this._KD(_RD,_zc);break;case _6C:this._LD(_RD,_zc);break };return };_kD.prototype._XD=function(){if(this._qD==-1)return _h6;var _YD=_ZD._8g(this._qD);if(_YD==null)return _h6;
return _YD};_kD.prototype.__D=function(_ND,_BD,_CD){_CD._PC=true};_kD.prototype._0E=function(_ND,_BD,_CD){var _rB=_aB._8g(_CD._MC);if(_rB===null)return;_CD._NC=_rB;_rB._1E=_BD._yC;_rB._2E=true;_rB._n4=_BD._n4;_CD._PC=true};_kD.prototype._3E=function(_ND,_BD,_CD){_CD._PC=true};_kD.prototype._4E=function(_ND,_BD,_CD){_CD._PC=true};_kD.prototype._5E=function(_ND,_BD,_CD){_CD._PC=true};_kD.prototype._6E=function(_ND,_BD,_CD){_CD._PC=true};_kD.prototype._7E=function(_ND,_BD,_CD){_CD._PC=true};_kD.prototype._8E=function(_ND,
_BD,_CD){if(_ND===null)return;if(_BD===null)return;if(_CD===null)return;if(_CD._PC)return;switch(_CD._OC){case _0C:this.__D(_ND,_BD,_CD);break;case _1C:this._0E(_ND,_BD,_CD);break;case _2C:this._3E(_ND,_BD,_CD);break;case _3C:this._4E(_ND,_BD,_CD);break;case _4C:this._5E(_ND,_BD,_CD);break;case _5C:this._6E(_ND,_BD,_CD);break;case _6C:this._7E(_ND,_BD,_CD);break }};_kD.prototype._uD=function(_5g){this._lD=_5g};_kD.prototype._9E=function(_ND){if((_ND._VD===null)||(_ND._VD.length===0))return;for(var _Q7=0;
_Q7<_ND._VD.length;_Q7++){var _aE=_ND._VD._8g(_Q7);_aE._JC=_nw();for(var _R7=0;_R7<_aE._KC.length;_R7++){var _bE=_aE._KC._8g(_R7);if(_bE==null)continue;this._8E(_ND,_aE,_bE)}}};_kD.prototype._cE=function(_ND,_BD,_CD,_dE){if(_ND==null||_BD==null||_CD===null)return;_CD._yC=this._eE();_BD._KC._Qe(_CD);if(_dE){this._8E(_ND,_BD,_CD)}};_kD.prototype._fE=function(_ND,_Ug,_CD,_dE,_gE){if(_ND==null||_CD===null)return -1;var _RD=this._hE(_ND,_Ug,_gE);if((_RD==null)&&(_gE)){_RD=this._iE(_ND,_Ug)}if(_RD==null){return -1}
return this._cE(_ND,_RD,_CD,_dE)};_kD.prototype._SD=function(_CD){if(_CD==null)return;switch(_CD._OC){case _0C:{this._jE(_CD)}break;case _1C:{this._kE(_CD)}break;case _2C:{this._lE(_CD)}break;case _3C:{this._mE(_CD)}break;case _4C:{this._nE(_CD)}break;case _5C:{this._oE(_CD)}break;case _6C:{this._pE(_CD)}break }_CD._PC=false;};_kD.prototype._jE=function(_qE){};_kD.prototype._kE=function(_rE){var _rB=_aB._8g(_rE._MC);if(_rB!=null){_rB._GD(false)}_rE._NC=null};_kD.prototype._lE=function(_sE){};_kD.prototype._mE=function(_tE){
};_kD.prototype._nE=function(_sE){};_kD.prototype._oE=function(_uE){};_kD.prototype._pE=function(_vE){};_kD.prototype._iE=function(_ND,_Ug){var _wE=new _xC();_wE._yC=_xE._yE();_wE._n4=_Ug;_wE._EC=true;_h6._VD._Qe(_wE);return _wE};_kD.prototype._zE=function(_ND,_ch){if(_ND==null||_ch===null)return;if(_ch._AE()===false){if(_ch._1E==-1){var _BD=this._hE(_ND,_ch._n4,true);if(_BD===null){_BD=this._iE(_ND,_ch._n4)}this._BE(_ND,_BD,_ch)}else {var _RD=this._CE(_ND,_ch._DE);if(_RD===null)return;this._BE(_ND,_RD,
_ch)}}};_kD.prototype._BE=function(_ND,_BD,_ch){if(_ND==null||_BD==null||_ch===null)return;if(_ch._AE()===false){var _EE=new _LC();_EE._MC=_ch.id;_EE._NC=_ch;_ch._FE(_BD._yC);_ch._GD(true);_EE._PC=true;_BD._KC._Qe(_EE)}};_kD.prototype._GE=function(_ND,_ch){if(_ch._AE()===false)return;var _RD=this._CE(_ND,_ch._1E);if(_RD===null){_ch._GD(false);return }this._HE(_ND,_RD,_ch)};_kD.prototype._HE=function(_ND,_BD,_ch){if(_ND==null||_BD==null||_ch===null)return;if(_ch._AE()===true){for(var _Q7=0;_Q7<_BD._KC.length;
_Q7++){var _bE=_BD._KC._8g(_Q7);if(_bE!=null){if(_bE._OC==_1C){if(_bE._NC==_ch){this._MD(_ND,_bE,_BD,true,false);_ch._GD(false);_ch._1E=-1}}}}}};_kD.prototype._IE=function(_ND,_JE,_QD){var _RD=this._CE(_ND,_JE);if(_RD!=null){for(var _Q7=0;_Q7<_RD._KC.length;_Q7++){var _bE=_RD._KC._8g(_Q7);if(_bE!=null){this._MD(_ND,_bE,_RD,false,true)}}_ND._VD._KE(_RD)}};_kD.prototype._LE=function(_ND,_BD,_ME,_NE){if(_ND==null)return;if(_BD==null)return;if(_ME==_BD._n4)return;var _OE=_BD._n4;_BD._n4=_ME;_ND._VD._KE(_BD);
_ND._VD._Qe(_BD);if(_BD._EC&&_NE){var _PE=[];var _QE=0;var _RE=_ND._VD._SE(_BD);if(_RE!=-1){var _TE=_RE-1;while(_TE>=0){var _UE=_ND._VD._8g(_TE);if((_UE==null)||(_UE._n4==_BD._n4)){if(_UE!=null){if(_UE._EC){_PE[_QE++]=_UE}}_TE--}else {break }};_TE=_RE+1;while(_TE<_ND._VD.length){var _UE=_ND._VD._8g(_TE);if((_UE==null)||(_UE._n4==_BD._n4)){if(_UE!=null){if(_UE._EC){_PE[_QE++]=_UE}}_TE++}else {break }};for(var _Q7=0;_Q7<_QE;_Q7++){var _VE=_PE[_Q7];for(var _R7=0;_R7<_VE._KC.length;_R7++){var _bE=_VE._KC._8g(_R7);
if(_bE==null)continue;if(_bE._OC==_1C){if(_bE._NC!=null){_bE._NC._1E=_BD._yC;}}_BD._KC._Qe(_bE)}_VE._KC._6f();_xE._IE(_ND,_VE._yC,false)}}}};_kD.prototype._hE=function(_ND,_Ug,_WE){for(var _Q7=0;_Q7<_ND._VD.length;_Q7++){var _RD=_ND._VD._8g(_Q7);if((_RD._n4===_Ug)&&(!_WE||(_RD._EC)))return _RD}return null};_kD.prototype._CE=function(_ND,_5g){for(var _Q7=0;_Q7<_ND._VD.length;_Q7++){var _RD=_ND._VD._8g(_Q7);if(_RD._yC===_5g)return _RD}return null};_kD.prototype._yE=function(){if(this._mD<this._lD)this._mD=this._lD;
this._mD++;return this._mD};_kD.prototype._eE=function(){return this._nD++;};_kD.prototype._XE=function(_ND,_YE){if(_ND==null)return null;for(var _Q7=0;_Q7<_ND._VD.length;_Q7++){var _RD=_ND._VD._8g(_Q7);var _zc=_xE._WD(_RD,_YE);if(_zc!=null){var _ZE=new __E();_ZE._zc=_zc;_ZE._RD=_RD;return _ZE}}return null};_kD.prototype._WD=function(_BD,_0F){if(_BD==null)return null;for(var _Q7=0;_Q7<_BD._KC.length;_Q7++){var _bE=_BD._KC._8g(_Q7);if(_bE==null)continue;if(_bE._yC===_0F){return _bE}}return null};_kD.prototype._1F=function(_ND,
_2F){if(_ND==null)return null;for(var _Q7=0;_Q7<_ND._VD.length;_Q7++){var _RD=_ND._VD._8g(_Q7);if(_RD!=null){for(var _R7=0;_R7<_RD._KC.length;_R7++){var _bE=_RD._KC._8g(_R7);if(_bE!=null){if(_bE._OC==_1C){if(_bE._MC==_2F){var _ZE=new __E();_ZE._zc=_bE;_ZE._RD=_RD;return _ZE}}}}}}return null};_kD.prototype._3F=function(){if(_h6._VD===null||_h6._VD.length===0)return;var _4F=_h6._VD.length;var time=_nw();for(var _Q7=0;_Q7<_4F;_Q7++){var _RD=_h6._VD._8g(_Q7);var _5F=time-_RD._JC;if(_5F>2000000)_5F=0;_RD._zC+=_RD._BC;
_RD._AC+=_RD._CC;for(var _R7=0;_R7<_RD._KC.length;_R7++){var _bE=_RD._KC._8g(_R7);if(_bE==null)continue;var type=_bE._OC;if(type==_0C){var _Fh=_bE._SC;if(_Fh!=null){if(_Fh._tC==1){_Fh._wC+=_Fh._vC*_Fh._uC}else {var _6F=_k6._l6();_Fh._wC+=_Fh._vC*_Fh._uC/_6F}}}else if(type==_3C){if(_bE._3D==1){_bE._6D+=_bE._5D*_bE._4D;}else {var _6F=_k6._l6();_bE._6D+=_bE._5D*_bE._4D/_6F}}else if(type==_4C){var _7F=_Ch._Dh(_bE._UC);if(_7F!=null){if(_7F._8F>0)_bE._ZC=Math.floor((time/_7F._8F)%_7F.frames);else _bE._ZC=(_bE._ZC+1)%_7F.frames}
}}_RD._JC=_nw()}};_kD.prototype._9F=function(_ND,_aF){if(_ND===null)return;if(_aF===null)return;if(!this._oD)this._zD();var _bF=_ND._cF;var _dF=_ND._eF;var _4F=_aF.length;{var _fF;for(var _R7=_4F-1;_R7>=0;_R7--){_fF=_aF[_R7];var _wE=new _xC();if(_fF._U3!=undefined)_wE._FC=_fF._U3;if(_fF.id!=undefined)_wE._yC=_fF.id;if(_fF._n4!=undefined)_wE._n4=_fF._n4;if(_fF.x!=undefined)_wE._zC=_fF.x;if(_fF.y!=undefined)_wE._AC=_fF.y;if(_fF._o4!=undefined)_wE._BC=_fF._o4;if(_fF._p4!=undefined)_wE._CC=_fF._p4;if(_fF._W3!=undefined)_wE._DC=_fF._W3;
if(_fF.type===_VB){var _gF=new _RC();_gF._SC=new _lC();var _hF;_gF._SC._vC=1.0;if(_fF._iF!=undefined)_gF._SC._W3=_fF._iF;if(_fF._jF!=undefined)_gF._SC._mC=_fF._jF;if(_fF._kF!=undefined)_gF._SC.index=_fF._kF;if(_fF._lF!=undefined)_gF._SC._nC=_fF._lF;if(_fF._mF!=undefined)_gF._SC._oC=_fF._mF;if(_fF._nF!=undefined){_gF._SC._sC=_Xb(_fF._nF);_gF._SC.alpha=((_fF._nF>>24)&0xff)/255.0}if(_fF._tC!=undefined)_gF._SC._tC=_fF._tC;if(_fF._oF!=undefined)_gF._SC._uC=_fF._oF;if(_fF._U3!=undefined)_gF._QC=_fF._U3;if((_fF._pF!=undefined)){
_gF._SC._rC=_fF._pF}if((_fF._pF!=undefined)&&(_fF._pF==true)&&(_qF(_gF._SC.index))){var value=_rF(_gF._SC.index);if(value>0)_gF._SC._pC=_bF/value;value=_sF(_gF._SC.index);if(value>0)_gF._SC._qC=_dF/value}this._cE(_ND,_wE,_gF)}else if(_fF.type===_WB){var _tF=0;if(_fF._q4!=undefined)_tF=_fF._q4;for(var _Q7=0;_Q7<_tF;_Q7++){var _EE=new _LC();_EE._MC=_fF._r4[_Q7];this._cE(_ND,_wE,_EE,false)}}else if(_fF.type===_XB){var _uF=0;if(_fF._vF!=undefined)_uF=_fF._vF;if(_uF>0){var _Q7;for(_Q7=0;_Q7<_uF;_Q7++){var _wF=new _eD();
if(_fF._xF[_Q7]._yF!=undefined)_wF._VC=_fF._xF[_Q7]._yF;if(_fF._xF[_Q7]._zF!=undefined)_wF._WC=_fF._xF[_Q7]._zF;if(_fF._xF[_Q7]._AF!=undefined)_wF._Lt=_fF._xF[_Q7]._AF;if(_fF._xF[_Q7]._BF!=undefined)_wF._hD=_fF._xF[_Q7]._BF;if(_fF._xF[_Q7]._CF!=undefined)_wF._iD=_fF._xF[_Q7]._CF;if(_fF._xF[_Q7]._DF!=undefined)_wF._fD=_fF._xF[_Q7]._DF;if(_fF._xF[_Q7]._EF!=undefined)_wF._gD=_fF._xF[_Q7]._EF;if(_fF._xF[_Q7]._FF!=undefined)_wF._GF=_fF._xF[_Q7]._FF;if(_fF._xF[_Q7]._HF!=undefined)_wF._IF=_fF._xF[_Q7]._HF;
if(_fF._xF[_Q7]._JF!=undefined){_wF._KF=_fF._xF[_Q7]._JF&0xffffff;_wF._LF=((_fF._xF[_Q7]._JF>>24)&0xff)/255.0}this._cE(_ND,_wE,_wF,false)}}var _MF=0;if(_fF._NF!=undefined)_MF=_fF._NF;if(_MF>0){for(var _Q7=0;_Q7<_MF;_Q7++){var _OF=new _1D();_OF._3D=0;_OF._2D=_fF._PF[_Q7]._QF;_OF._6D=_fF._PF[_Q7]._RF;_OF._5D=1.0;if(_fF._PF[_Q7]._SF!=undefined)_OF._3D=_fF._PF[_Q7]._SF;_OF._4D=_fF._PF[_Q7]._TF;_OF._7D=_fF._PF[_Q7]._UF;_OF._8D=_fF._PF[_Q7]._VF;_OF._9D=_fF._PF[_Q7]._WF;_OF._aD=_Xb(_fF._PF[_Q7]._XF&0xffffff);
_OF._bD=((_fF._PF[_Q7]._XF>>24)&0xff)/255.0;_OF._VC=_fF._PF[_Q7]._YF;_OF._WC=_fF._PF[_Q7]._ZF;_OF._QC=_fF._PF[_Q7].__F;this._cE(_ND,_wE,_OF,false)}}}else if(_fF.type===_YB){var _0G=new _TC();_0G._UC=_fF._1G;_0G._XC=_fF._2G;_0G._YC=_fF._3G;_0G.__C=[];var _uF=0;if(_fF._4G!=undefined)_uF=_fF._4G;for(var _Q7=0;_Q7<_uF;_Q7++){_0G.__C[_Q7]=_fF._5G[_Q7]}if(_fF._U3!=undefined)_0G._QC=_fF._U3;this._cE(_ND,_wE,_0G,false)}_ND._VD._Qe(_wE);this._uD(_I7(this._tD(),_wE._yC))}}};;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;/*@constructor */function __E(){this._zc=-1;this._RD=-1};;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;var _6G=0x7fff;var floor=Math.floor;function _7G(_8G){if(_8G<0){var _Q7=~~_8G;var _1t=_8G-_Q7;if((_Q7&1)==1){if(_1t<=-0.5){return _Q7-1}else {return _Q7}}else {if(_1t>=-0.5){return _Q7}else {return _Q7-1}}}else {var _Q7=~~_8G;var _1t=_8G-_Q7;if((_Q7&1)==1){if(_1t>=0.5){return _Q7+1}else {return _Q7}}else {if(_1t<=0.5){return _Q7}else {return _Q7+1}}}}var round=_7G;
var _wg=_7G;var abs=Math.abs;function cos(_8G){var _N6=Math.cos(_8G);var _L7=~~(_N6*0x1000000);_N6=_L7/0x1000000;return _N6}function sin(_8G){var _N6=Math.sin(_8G);var _L7=~~(_N6*0x1000000);_N6=_L7/0x1000000;return _N6}function tan(_8G){var _N6=Math.tan(_8G);var _L7=~~(_N6*0x1000000);_N6=_L7/0x1000000;return _N6}function _9G(_18,_28,_m7,_n7){var x=_m7-_18;var y=_n7-_28;if(x===0){if(y>0)return 270.0;else if(y<0)return 90.0;else return 0.0}else {var _Iy=180.0*Math.atan2(y,x)/_O7;_Iy=(~~round(_Iy*1000000))/1000000.0;if(_Iy<=0.0){
return -_Iy}else {return(360.0-_Iy)}}}function _aG(_18,_28,_m7,_n7){return _9G(_18,_28,_m7,_n7)}function _K7(_8G,_0x){if(_8G<_0x)return _8G;else return _0x}function _I7(_8G,_0x){if(_8G>_0x)return _8G;else return _0x}var max=Math.max;var min=Math.min;var state=[];var _bG=0;var _cG=_dG(0);var _eG=0xDA442D24;function _dG(_fG){var _ps=_fG;for(var _Q7=0;_Q7<16;_Q7++){_ps=(((_ps*214013+2531011)>>16)&0x7fffffff)|0;state[_Q7]=~~_ps}_bG=0;_cG=_fG;return _cG}function _gG(){var _k9,_M7,_Qt,_si;_k9=state[_bG];_Qt=state[(_bG+13)&15];
_M7=_k9^_Qt^(_k9<<16)^(_Qt<<15);_Qt=state[(_bG+9)&15];_Qt^=(_Qt>>11);_k9=state[_bG]=_M7^_Qt;_si=_k9^((_k9<<5)&_eG);_bG=(_bG+15)&15;_k9=state[_bG];state[_bG]=_k9^_M7^_si^(_k9<<2)^(_M7<<18)^(_Qt<<28);return((state[_bG]&0x7fffffff)/2147483647.0)}function random(_Zb){var _J7=_gG();return _J7*_Zb}function _hG(){var _si=new Date();var _L7=_si.getMilliseconds();_L7=(_L7&0xffffffff)^((_L7>>16)&0xffff)^((_L7<<16)&0xffff0000);_dG(_L7)}var _iG=_hG;function _Vd(_N6){if(_N6==0)return 0;if(_N6<0)return -1;return 1}var ceil=Math.ceil;
function _r6(_N6){return _N6-~~_N6}function sqrt(_N6){if(_N6>=0)return Math.sqrt(_N6);else _9g("Cannot apply sqrt to negative number.")}function _b8(_N6){return _N6*_N6}var _jG=Math.pow;var exp=Math.exp;var _kG=Math.log;var _lG=Math.asin;var _mG=Math.acos;var _nG=Math.atan;var _oG=Math.atan2;function _pG(){var _rg=_pG.arguments;var _sg=_pG.arguments.length;var _v7=_rg[0];for(var _Q7=1;_Q7<_sg;_Q7++){_v7+=_rg[_Q7]}return(_v7/_sg)}function _qG(_18,_28,_m7,_n7){var _rG=Math.sqrt(_18*_18+_28*_28);var _sG=Math.sqrt(_m7*_m7+_n7*_n7);
return(_18*_m7+_28*_n7)/(_rG*_sG)}var _tG=_qG;function _uG(_18,_28,_vG,_m7,_n7,_wG){var _rG=Math.sqrt(_18*_18+_28*_28+_vG*_vG);var _sG=Math.sqrt(_m7*_m7+_n7*_n7+_wG*_wG);return(_18*_m7+_28*_n7+_vG*_wG)/(_rG*_sG)}var _xG=_uG;function _yG(_Zq,_zG,_AG){if(_Zq<_zG)_Zq=_zG;else if(_Zq>_AG)_Zq=_AG;return _Zq}function _BG(_CG,_DG,_nx){return _CG+((_DG-_CG)*_nx)}var _EG=30,_FG=10,_GG=3,_HG=!0;function _IG(_JG,_KG){var _ex=0.0;while(_JG<=0.0){_JG=_JG+360}while(_JG>=360.0){_JG=_JG-360}while(_KG<0.0){_KG=_KG+360}while(_KG>=360.){
_KG=_KG-360}_ex=_KG-_JG;if(_ex<0){_ex=-_ex}if(_ex>180){_ex=360-_ex}return _ex}function _LG(_2v,_N6,_O6,_MG,_NG){if(_MG==_OG){if(_NG){return _PG(_2v,_N6,_O6)}else {return _QG(_2v,_N6,_O6)}}else {return(_fB(_2v,_N6,_O6,_MG)==_hB)}}function _RG(_2v,_N6,_O6,_SG,_MG,_NG){var _ex=false;var _TG=0.0;var _UG=0.0;var _VG=0.0;if((_2v.x==_N6)&&(_2v.y==_O6))return true;_TG=sqrt(_Ro(_2v.x-_N6)+_Ro(_2v.y-_O6));if(_TG<=_SG){_UG=_N6;_VG=_O6;_ex=true}else {_UG=_2v.x+_SG*(_N6-_2v.x)/_TG;_VG=_2v.y+_SG*(_O6-_2v.y)/_TG;_ex=false}
if(!_LG(_2v,_UG,_VG,_MG,_NG)){return _ex}_2v._WG(_9G(_2v.x,_2v.y,_UG,_VG));_2v._Oc(_UG,_VG);return _ex}function _XG(_2v,_N6,_O6,_SG,_NG){return _RG(_2v,_N6,_O6,_SG,_OG,_NG)}function _YG(_ZG,_2v,__G,_MG,_NG){var _ex=false;var _0H=0.0;var _1H=0.0;if(_IG(_ZG,_2v._2H)>_EG){return _ex}_0H=_2v.x+__G*_GG*cos(_O7*_ZG/180);_1H=_2v.y-__G*_GG*sin(_O7*_ZG/180);if(true!=_LG(_2v,_0H,_1H,_MG,_NG)){return _ex}_0H=_2v.x+__G*cos(_O7*_ZG/180);_1H=_2v.y-__G*sin(_O7*_ZG/180);if(true!=_LG(_2v,_0H,_1H,_MG,_NG)){return _ex}_2v._WG(_ZG);
_2v._Oc(_0H,_1H);_ex=true;return _ex}function _3H(_2v,_N6,_O6,_SG,_yB,_NG){var _ex=false;var _TG=0.0;var _4H=0.0;var _5H=0.0;if((_2v.x==_N6)&&(_2v.y==_O6)){_ex=true;return _ex}_TG=sqrt(_Ro(_2v.x-_N6)+_Ro(_2v.y-_O6));if(_TG<=_SG){if(_LG(_2v,_N6,_O6,_yB,_NG)){_2v._WG(_aG(_2v.x,_2v.y,_N6,_O6));_2v._Oc(_N6,_O6)}_ex=true;return _ex}_4H=_aG(_2v.x,_2v.y,_N6,_O6);_5H=0;_ex=false;while(_5H<180){if(_YG(_4H-_5H,_2v,_SG,_yB,_NG)){return _ex}if(_YG(_4H+_5H,_2v,_SG,_yB,_NG)){return _ex}_5H=_5H+_FG}if(_HG){_2v._WG(_2v._2H+_EG)}
return _ex}function _6H(_2v,_N6,_O6,_SG,_NG){return _3H(_2v,_N6,_O6,_SG,_OG,_NG)}function _IG(_JG,_KG){var _ex=0.0;while(_JG<=0.0){_JG=_JG+360.0}while(_JG>=360.0){_JG=_JG-360.0}while(_KG<0.0){_KG=_KG+360.0}while(_KG>=360.0){_KG=_KG-360.0}_ex=_KG-_JG;if(_ex<0.0){_ex=-_ex}if(_ex>180.0){_ex=360.0-_ex}return _ex}function _YG(_ZG,_ch,__G,_MG,_NG){var _0H=0.0;var _1H=0.0;if(_IG(_ZG,_ch._2H)>_EG){return false}_0H=_ch.x+__G*_GG*Math.cos(Math.PI*_ZG/180.0);_1H=_ch.y-__G*_GG*Math.sin(Math.PI*_ZG/180.0);if(!_LG(_ch,
_0H,_1H,_MG,_NG)){return false}_0H=_ch.x+__G*Math.cos(Math.PI*_ZG/180.0);_1H=_ch.y-__G*Math.sin(Math.PI*_ZG/180.0);if(!_LG(_ch,_0H,_1H,_MG,_NG)){return false}_ch._WG(_ZG);_ch._Oc(_0H,_1H);return true}/*@constructor */function _7H(_8H,_9H,_aH,_bH,_cH,_dH){this._eH=_8H;this._fH=_9H;this._gH=~~_aH;this._hH=~~_bH;this._iH=_cH;this._jH=_dH;this._kH=[];this._6f()};_7H.prototype._6f=function(){var _lH=this._gH*this._hH;for(var _Q7=0;_Q7<_lH;_Q7++){this._kH[_Q7]=0}};var _mH=_nH;function _nH(_5g){var _oH=_pH._8g(_5g);
if(_oH){_M9.globalAlpha=_Tb;var _Ei=_0i(0xff0000,1.0);var _Fi=_0i(0x00ff00,1.0);for(var x=0;x<_oH._gH;x++){for(var y=0;y<_oH._hH;y++){var _59=_Fi;if(_oH._kH[x*_oH._hH+y]<0){_59=_Ei}_M9.fillStyle=_59;_M9._Rx((_oH._eH+x*_oH._iH),(_oH._fH+y*_oH._jH),_oH._iH,_oH._jH)}}return }_9g("Error: invalid mp_grid ID (mp_grid_draw)")}function _QG(_2v,_N6,_O6){var _S7,_U7,_ex,_qH;_ex=true;_S7=_2v.x;_U7=_2v.y;_2v._Oc(_N6,_O6);var _xg=_h6._rH();for(var _rB=0;_rB<_xg.length;_rB++){_qH=_xg[_rB];if(_qH._sH){if(_2v._jB(_qH,true)){
_ex=false;break }}}_2v._Oc(_S7,_U7);return _ex}function _PG(_2v,_N6,_O6){var _S7,_U7,_ex,_qH;_ex=true;_S7=_2v.x;_U7=_2v.y;_2v._Oc(_N6,_O6);var _xg=_h6._rH();for(var _rB=0;_rB<_xg.length;_rB++){_qH=_xg[_rB];if(_2v._jB(_qH,true)){_ex=false;break }}_2v._Oc(_S7,_U7);return _ex}function _tH(_2v,_N6,_O6,_Bg){var _S7,_U7,_ex,_qH;_ex=false;_S7=_2v.x;_U7=_2v.y;_2v._Oc(_N6,_O6);var _xg=_qB(_Bg);for(var _rB=0;_rB<_xg.length;_rB++){_qH=_xg[_rB];if(_2v._jB(_qH,true)){_ex=true;break }}_2v._Oc(_S7,_U7);return _ex}function _uH(_2v,
_N6,_O6,__G){_2v._vH(_N6-_2v.x);_2v._wH(_O6-_2v.y);_2v._xH(__G)}function _yH(_2v,_N6,_O6,_zH){if(_zH){return _PG(_2v,_N6,_O6)}else {return _QG(_2v,_N6,_O6)}}function _AH(_ch,_N6,_O6,_zH){if(_zH)return _PG(_ch,_N6,_O6);else return _QG(_ch,_N6,_O6)}var _BH=1;var _CH=2;var _DH=3;var _EH=4;var _FH=window._GH;var _HH=null;try{_HH=require("ws")._IH}catch(_JH){}function _KH(_LH,_MH){this._NH=_LH;this._MH=_MH}_KH.prototype={_NH:null,_MH:!1,_OH:!1,index:-1};var _PH="GM:Studio-Connect";var _QH=0xCAFEBABE;var _RH=0xDEADB00B;
var _SH=0xDEAFBEAD;var _TH=0xF00DBEEB;var _UH=0xDEADC0DE;var _VH=[];var _WH=[];function _XH(_YH){var _Q7=_WH.shift();if(_Q7==null)_Q7=_VH.length;_VH[_Q7]=_YH;_YH.index=_Q7;return _Q7}function _ZH(e){var _Iu=_Pe._Qe(e.id,null,__H,e);_Iu._Ve=true}function _0I(_no,offset,length){var _1I=new Uint8Array(_no.buffer);var _2I=_no._3I+offset;var index=_4I(length,_5I,1);var _6I=new Uint8Array(_7I._8g(index)._8I);for(var _Q7=0;_Q7<length;_Q7++)_6I[_Q7]=_1I[_2I+_Q7];return index}function _9I(_M6){if(!_26._8g(_M6))return false;return true}
var _aI=_sh;var _bI=_cI;var _dI=_eI;var _fI=_gI;var _hI=_iI;var _jI=_kI;var _lI=_mI;var _nI=_oI;var _pI=_qI;var _rI=_sI;var _tI=_uI;var _vI=_wI;var _xI=_yI;var _zI=_yI;var _AI=_BI;var _CI=_DI;var _EI=_th;var _FI=_GI;var _HI=_II;var _JI=_KI;var _LI=_MI;var _NI=_OI;var _PI=_QI;var _RI=_SI;var _TI=_UI;var _VI=_WI;var _XI=_WI;var _YI=_wh;var _ZI=_wh;var __I=_0J;var _1J=_0J;var _2J=_0J;var _3J=_0J;var _4J=_vh;var _5J=_vh;var _6J=_7J;var _8J=_7J;var _9J=_aJ;var _bJ=_aJ;var _cJ=_dJ;var _eJ=_xh;var _fJ=_gJ;var _hJ=_iJ;var _jJ=_kJ;var _lJ=_mJ;var _nJ=_oJ;
var _pJ=_qJ;var _rJ=_sJ;var _tJ=_uJ;var _vJ=_wJ;var _xJ=_yJ;var _zJ=_AJ;var _BJ=_CJ;var _DJ=_EJ;var _FJ=_GJ;var _HJ=_IJ;var _JJ=_KJ;var _LJ=_MJ;function _MJ(_5g,_NJ,_OJ,_PJ){var _QJ=_RJ._M3[_5g];if(!_QJ)return;_M9.globalAlpha=_Tb;_M9.strokeStyle=_wx;var _S7,_U7,_SJ;var _TJ=0;var _UJ=_QJ._VJ(0);if(!_PJ){_NJ=_NJ-_UJ.x;_OJ=_OJ-_UJ.y}else {_NJ=0;_OJ=0}_TJ=_wg(_QJ.length/4.0);if(_TJ==0)return;var _WJ=true;_M9._5y();for(var _Q7=0;_Q7<=_TJ;_Q7++){_UJ=_QJ._VJ(_Q7/_TJ);if(_WJ){_M9._6y(_NJ+_UJ.x,_OJ+_UJ.y);_WJ=false}else {_M9._7y(_NJ+_UJ.x,
_OJ+_UJ.y)}}_M9._9y();_M9._8y()}var _XJ=new _YJ();var _ZJ=new _YJ();var __J=new _YJ();function _0K(){var _1K=_XJ._Qe(new _2K());return _1K}function _3K(_4K){var _5K=_XJ._8g(_4K);_5K._6K()}function _7K(_4K,_8K){var _5K=_XJ._8g(_4K);_5K._9K(_8K)}function _aK(_4K,_bK){var _5K=_XJ._8g(_4K);_5K._cK(_bK)}function _dK(_4K,_eK){var _5K=_XJ._8g(_4K);_5K._fK(_eK)}function _gK(_4K,_hK){var _5K=_XJ._8g(_4K);_5K._iK(_hK)}function _jK(_4K,_kK){var _5K=_XJ._8g(_4K);_5K._lK((_kK>0.5)?true:false)}function _mK(_4K,_nK){var _5K=_XJ._8g(_4K);
_5K._oK(_nK)}function _pK(_4K,_nK){var _5K=_XJ._8g(_4K);_5K._qK(_nK)}function _rK(_4K,_sK){var _5K=_XJ._8g(_4K);_5K._tK(_sK)}function _uK(_4K,_vK){var _5K=_XJ._8g(_4K);_5K._wK(_vK*_h6._xK._yK)}function _zK(_4K){var _5K=_XJ._8g(_4K);_5K._AK()}function _BK(_4K,_CK,_DK){var _5K=_XJ._8g(_4K);var scale=_h6._xK._yK;_5K._EK(_CK*scale,_DK*scale);}function _FK(_ch,_4K,_5g,_GK,_HK){var _IK=-1;var _JK=-1;var _5K=_XJ._8g(_4K);var _Bg=Math.floor(_5g);if(_Bg==_KK){_Bg=_ch.id}if(_Bg==_OG){var _xg=_aB._rH();for(var _rB=0;_rB<_xg.length;
_rB++){var _sB=_xg[_rB];if(_sB._LK)continue;_IK=_h6._xK._MK(_5K,_sB,_GK,_HK)}}else if(_Bg<100000){var _pB=_26._8g(_Bg);if(_pB===null){return _JK}var _xg=_pB._NK();for(var _rB=0;_rB<_xg.length;_rB++){var _sB=_xg[_rB];if(_sB._LK)continue;_IK=_h6._xK._MK(_5K,_sB,_GK,_HK)}}else {var _sB=_aB._8g(_Bg);_IK=_h6._xK._MK(_5K,_sB,_GK,_HK)}return _IK}function _OK(_ch,_4K,_5g,_PK,_QK){if(_PK!==undefined&&_QK!==undefined){return _FK(_ch,_4K,_5g,_PK,_QK)}else {return _FK(_ch,_4K,_5g,0.0,0.0)}}function _RK(_M6,_Vb,_SK){var _TK=_ZD._8g(_M6);
if(_TK===null)return;_TK._UK._a4=_Vb;_TK._UK._c4=_SK}var _VK=_RK;;function _WK(_ND){var _XK=_ZD._8g(_ND);if((_XK==null)||(_XK==undefined)){_es("Error: Room "+_ND+" is not a valid room index")}else {_YK=_ND}};;;;var _ZK=function(){_Fa("yy_texture_get_texel_width()")};var __K=function(){_Fa("yy_texture_get_texel_height()")};var _0L=function(){_Fa("texture_set_stage()")};var _1L=function(){_Fa("shader_is_compiled()")};var _2L=function(){_Fa("shader_set()")};var _3L=function(){_Fa("shader_get_uniform()")};var _4L=function(){
_Fa("shader_set_uniform_i()")};var _5L=function(){_Fa("shader_set_uniform_f()")};var _6L=function(){_Fa("shader_set_uniform_matrix()");};var _7L=function(){_Fa("shader_set_uniform_matrix()")};var _8L=function(){_Fa("shader_enable_corner_id()")};var _9L=function(){_Fa("shader_set_uniform_array_i()")};var _aL=function(){_Fa("shader_set_uniform_array_f()")};var _bL=function(){_Fa("shader_set_uniform_matrix_array()")};var _cL=-1;function _dL(){return 0}function _eL(_fL){_cL=_fL;_2L(_fL)}function _gL(){_cL=-1;_2L(-1)}
var _hL=[];var _iL=300000;var _jL=_iL;var _kL={};var _lL=0;var audio_sampledata=[];var _mL=!1;var _nL=0;var _oL=128;var _pL=100000;var _qL=[];var _rL=[];var _sL=0;var _tL=200000;var _uL=[];var _vL=[];var _wL=0;var _xL=1024;var _yL=0;var _zL=[];var _AL=[];var _BL="data:audio/wav;base64, ";
var _CL={_DL:0,_EL:1,_FL:2,_GL:3,_HL:4,_IL:5,_JL:6};var _KL={_LL:0,_ML:1,_NL:2};var _OL=0;var _PL=1.0;var _QL=0;function _RL(){if(_Cf!=_Df)return;_nL++;var _SL=g_WebAudioContext.currentTime;for(var _Q7=0;_Q7<_AL.length;++_Q7){var _TL=_AL[_Q7];var _BG=(_SL-_TL._UL)/_TL.duration;_BG=Math.max(0,Math.min(_BG,1));var _VL=(1-_BG)*_TL._WL+(_BG*_TL._XL);var _YL=(_BG>=1);var _ZL=_TL.__L;if(_ZL!==null){if(_ZL._0M){var _1M=audio_sampledata[_ZL._2M].gain;_ZL.gain=_VL;_ZL._3M.gain.value=_ZL.gain*_1M}else {_YL=true}}else if(_TL._4M!==null){
_TL._4M.gain=_VL;for(var _r7=0;_r7<_yL;++_r7){var _5M=_hL[_r7];if(_5M._0M&&_5M._2M==_TL._2M){_5M._3M.gain.value=_5M.gain*_TL._4M.gain}}}if(_YL){_AL.splice(_Q7,1);--_Q7}}}var _6M;function _7M(){_8M.disconnect();_8M=g_WebAudioContext.createGain();_8M.connect(g_WebAudioContext.destination);g_WebAudioContext.listener._vg=new _oo(0,0,0);g_WebAudioContext.listener._9M=new _oo(0,0,0);g_WebAudioContext.listener._aM=new Array(0,0,0,0,0,0)}function _bM(){if(_Cf!=_Df){return }_8M=g_WebAudioContext.createGain();_8M.connect(g_WebAudioContext.destination);
_cM(_CL._DL);var _dM;if(typeof document.hidden!=="undefined"){_6M="hidden";_dM="visibilitychange"}else if(typeof document.mozHidden!=="undefined"){_6M="mozHidden";_dM="mozvisibilitychange"}else if(typeof document.msHidden!=="undefined"){_6M="msHidden";_dM="msvisibilitychange"}else if(typeof document.webkitHidden!=="undefined"){_6M="webkitHidden";_dM="webkitvisibilitychange"}document.addEventListener(_dM,_eM,false);g_WebAudioContext.listener._vg=new _oo(0,0,0);g_WebAudioContext.listener._9M=new _oo(0,0,0);
g_WebAudioContext.listener._aM=new Array(0,0,0,0,0,0);_fM(0,0,0);_gM(0,0,1.0,0,1.0,0.0);_hM();_iM();_jM()}/*@constructor */function _kM(_lM,_mM,_97){this._2M=_lM;this._XL=_mM;this._UL=g_WebAudioContext.currentTime;this.duration=_97*0.001;if(_lM>=_iL){this.__L=_nM(_lM);this._WL=this.__L.gain}else {this._4M=audio_sampledata[_lM];this.__L=null;this._WL=this._4M.gain}}/*@constructor */function _oM(){this.buffer=null;this.gain=1.0;this._pM=1.0;this._qM=1.0;this.duration=0.0;this._rM=0.0;this._sM=0;this._Ea=0}
/*@constructor */function __L(_lM,_tM,_uM){this._3M=g_WebAudioContext.createGain();this._vM=null;this._st=0;this._zD(_lM,_tM,_uM)}__L.prototype._zD=function(_lM,_tM,_uM){this._0M=false;this._wM=g_WebAudioContext.currentTime;this.playbackpoint=0;this._xM=null;this._3M.disconnect();this.gain=1.0;this._3M.gain.value=1;this._vM=null;this.paused=false;this._2M=_lM;this._yM=_uM;this._zM=false;this._AM=_tM;this._BM=false;this._CM=false;this._DM=false;this._EM=null;this._FM=null;if(_lM>=0){this._BM=_GM(_lM);
this._CM=_HM(_lM);this._DM=_IM(_lM);if(!this._CM&&!this._DM){this._3M.gain.value=audio_sampledata[_lM].gain;if(this._st>=_iL){_zL[this._st-_iL]=null}this._st=_jL;_zL[_jL-_iL]=this;++_jL}}};function _nM(_JM){if(_JM<_iL||_JM>=_jL){debug("Error: invalid sound handle "+_JM);return null}var _ZL=_zL[_JM-_iL];if(_ZL==undefined){return null}return _ZL}function _GM(_2M){if(_2M>=0&&_2M<audio_sampledata.length){if(audio_sampledata[_2M]._Ea==1&&_KM!=_LM&&_KM!=_MM){return true}}else if(_2M<_pL){debug("IsSoundStreamed - Error: soundid "+_2M+" not found")}
return false}function _HM(_2M){if(_2M>=_pL&&_2M<_tL){return true}return false}function _IM(_2M){if(_2M>=_tL&&_2M<_iL){return true}return false}function _NM(_lM){var _ZL=_as._G3[_lM];if(_ZL==null){_OM="";_ZL=audio_sampledata[_lM];if(_ZL!=null&&_ZL._PM!==undefined){_OM=_QM(_ZL._PM)}return _OM}var _OM=_U8+_ZL._RM;var _SM=_ZL._TM;_OM=_QM(_OM);var index=_OM.indexOf(_SM);if(index>0){_OM=_OM.substr(0,index);}if(_UM){_SM="ogg"}else if(_VM){_SM="mp3"}else {_SM="ogg"}_OM=_OM+"."+_SM;return _OM}var _WM=!1;var _XM=!1;var _YM=!1;
function _ZM(){_jM();return _XM&&g_WebAudioContext&&g_WebAudioContext.state!=="suspended"}function _jM(){if(_XM||_YM)return;_YM=true;var _EM=new Audio(_BL);_EM.controls=false;_EM.autoplay=true;_EM.preload="none";document.body.appendChild(_EM);try{var __M=_EM.play();if(__M!==undefined){__M.then(function(){debug("WebAudio autoplay test passed.");_XM=true;_YM=false;_0N();document.body.removeChild(_EM);}).catch(function(error){console.log("WebAudio autoplay test failed: ",error);document.body.removeChild(_EM);
_YM=false;_1N()})}else {console.log("WebAudio autoplay test failed: Playback promise invalid.");document.body.removeChild(_EM);_YM=false;_1N()}}catch(_Ou){debug("WebAudio autoplay test failed with exception: "+_Ou);document.body.removeChild(_EM);_YM=false;_1N()}}function _1N(){if(_WM)return;_WM=true;var _2N="mousedown";var _3N="mouseup";if("ontouchstart" in window){_2N="touchstart";_3N="touchend";}var _4N=function(){g_WebAudioContext.resume().then(function(){_jM();document.body.removeEventListener(_2N,
_4N);document.body.removeEventListener(_3N,_4N);_WM=false;debug("WebAudio Context unlocked.")},function(_5N){debug("ERROR: Failed to unlock WebAudio Context. Reason: "+_5N)})};document.body.addEventListener(_2N,_4N,false);document.body.addEventListener(_3N,_4N,false)}function _6N(){debug("WebAudio Context state updated to: "+g_WebAudioContext.state);if(g_WebAudioContext.state!=="suspended")_jM();_0N()}function _0N(){var _7N=_ZM();var map=_W5();_X5._8N=map;_Z5(map,"event_type","audio_system_status");
_Z5(map,"status",_7N?"available":"unavailable");_26._36(_9N,0);_56(map);_X5._8N=-1}function _aN(_bN,_lM,_cN,_dN,_eN){var _fN=_NM(_lM);try{if(_bN._EM!=null){document.body.removeChild(_bN._EM)}_bN._EM=new Audio();var _EM=_bN._EM;_EM.controls=false;_EM.autoplay=true;_EM.preload="none";_EM.loop=(_cN)!=0?true:false;_EM.src=_gN(null,null,_fN);document.body.appendChild(_EM);if(_dN>0){_EM.addEventListener('loadedmetadata',function(){_bN._EM.currentTime=_dN},false)}_EM.load();try{var __M=_EM.play();if(__M!==undefined){
__M.then(function(){if(_eN)_eN()}).catch(function(error){console.log("playback failed ",error);_hN(_bN)})}}catch(_iN){debug("audio_tag.play() exception: "+_iN)}_bN._2M=_lM;_EM.addEventListener("ended",function(e){if(_bN._EM==this){_hN(_bN)}else {document.body.removeChild(this)}},false);_bN._FM=g_WebAudioContext.createMediaElementSource(_EM);_bN._FM.connect(_bN._3M)}catch(_iN){debug("Audio_PlayStreamed exception: "+_iN);return false}}function _Ef(){var _ZL=g_WebAudioContext.createBufferSource();var gain=g_WebAudioContext.createGain();
_ZL.connect(gain);gain.connect(g_WebAudioContext.destination);gain.gain.value=0;_ZL.start(0);if(g_WebAudioContext.sampleRate===48000){if(_KM==_LM){debug("Recreating audiocontext to fix sample rate");try{g_WebAudioContext=new AudioContext()}catch(e){try{g_WebAudioContext=new webkitAudioContext()}catch(e){debug('Web Audio API not supported in this browser');_Cf=_jN}}g_WebAudioContext.addEventListener("statechange",_6N);_0N();_ZL=g_WebAudioContext.createBufferSource();gain=g_WebAudioContext.createGain();
_ZL.connect(gain);gain.connect(g_WebAudioContext.destination);gain.gain.value=0;_ZL.start(0);_7M();for(var _Q7=0;_Q7<_yL;++_Q7){_hL[_Q7]._3M=g_WebAudioContext.createGain()}debug("Sample rate now "+g_WebAudioContext.sampleRate)}}}function _kN(){var _2M=-1;for(index=0;index<_as._G3.length;index++){if(_as._G3[index]._Ea==1){_2M=index;break }}if(_2M==-1)return;var __L=_lN(_2M,1,false);if(__L==null)return;__L._3M.gain.value=0;__L._0M=true;_aN(__L,_2M,false,0,function(){_hN(__L)})}function _mN(_bN,_lM,_nN,_dN){
_bN._2M=_lM;try{var _oN=null;var _pN=false;if(_lM>=_tL&&_lM<(_tL+_wL)){_pN=true;var _qN=_lM-_tL;_uL[_qN]._rN.connect(_bN._3M);_uL[_qN].gainnode=_bN._3M;_oN=_uL[_qN]._rN}else {var _sN=_tN(_lM);var _qM=_sN._qM;if(_bN._vM!=null){_qM*=_bN._vM._qM}_bN._xM=g_WebAudioContext.createBufferSource();_bN._xM.playbackRate.value=_qM;_bN._xM.loop=_nN;_bN._xM.buffer=_sN.buffer;_bN._xM.connect(_bN._3M);_oN=_bN._xM}_bN._wM=g_WebAudioContext.currentTime;_oN.onended=function(event){_bN._0M=false;if(true===_bN._xM.loop)_mN(_bN,
_lM,_nN,_dN)};if(!_pN){if(_dN!=undefined){if(!_oN.start)_oN.noteOn(_dN);else _oN.start(0,_dN);_bN.playbackpoint=_dN}else {_oN.start(0);_bN.playbackpoint=0}}}catch(_iN){debug("Audio_PlayUnstreamed exception: "+_iN)}}function _hN(_bN){if(_bN._0M){if(_bN._BM)_uN(_bN);else _vN(_bN);_bN._2M=-1;_bN._0M=false}}function _uN(_bN){if(_bN._EM!=null){try{_bN._EM.pause();_bN._FM.disconnect();if(_bN._3M!=null)_bN._3M.disconnect();__L._vM=null;document.body.removeChild(_bN._EM);_bN._EM=null}catch(_iN){debug("Audio_StopStreamed exception: "+_iN);
}}}function _vN(_bN){try{if(_bN._2M>=_tL&&_bN._2M<(_tL+_wL)){var _wN=_bN._2M-_tL;_uL[_wN]._rN.onended=null;_uL[_wN]._rN.disconnect()}else if(_bN._xM!=null){_bN._xM.onended=null;_bN._xM.loop=false;_bN._xM.stop(0);_bN._xM.disconnect()}if(_bN._3M!=null)_bN._3M.disconnect();_bN._vM=null}catch(_iN){debug("Audio_StopUnstreamed exception: "+_iN)}}function _xN(_bN){if(_bN._0M&&!_bN.paused){if(_bN._DM){_yN(_bN)}else if(_bN._BM)_zN(_bN);else _yN(_bN);_bN.paused=true}}function _zN(_bN){try{_bN._EM.pause()}catch(_iN){
debug("Audio_PauseStreamed exception: "+_iN)}}function _yN(_bN){try{if(_bN._2M>=_tL&&_bN._2M<(_tL+_wL)){var _wN=_bN._2M-_tL;_uL[_wN]._rN.disconnect(0);_uL[_wN]._rN.onended=null}else {_bN._xM.onended=null;_bN._xM.stop(0);_bN.playbackpoint=_AN(_bN)}}catch(_iN){debug("Audio_PauseUnstreamed exception: "+_iN)}}function _BN(_bN){if(_bN._0M&&_bN.paused){if(_bN._DM){_CN(_bN)}else if(_bN._BM)_DN(_bN);else _CN(_bN);_bN.paused=false}}function _DN(_bN){if(_bN.paused){try{_bN._EM.play()}catch(_iN){debug("Audio_ResumeStreamed exception: "+_iN)}
}}function _CN(_bN){try{if(_bN._2M>=_tL&&_bN._2M<(_tL+_wL)){var _wN=_bN._2M-_tL;_uL[_wN]._rN.connect(_bN._3M);_uL[_wN]._rN.onended=function(event){_bN._0M=false}}else {var _qM=(_bN._xM!=null)?_bN._xM.playbackRate.value:1;_bN._xM=g_WebAudioContext.createBufferSource();_bN._xM.playbackRate.value=_qM;_bN._wM=g_WebAudioContext.currentTime;_bN._3M=g_WebAudioContext.createGain();var _4M=_tN(_bN._2M);_bN._3M.gain.value=_bN.gain*_4M.gain;_bN._xM.connect(_bN._3M);_bN._xM.onended=function(event){_bN._0M=false}
;if(_bN._vM!=null){_bN._3M.connect(_bN._vM)}else {_bN._3M.connect(_8M)}_bN._xM.buffer=_4M.buffer;if(_bN._yM>0)_bN._xM.loop=true;{var _EN=Math.floor(_bN.playbackpoint/_bN._xM.buffer.duration);var _FN=_bN.playbackpoint-_EN*_bN._xM.buffer.duration;_bN._xM.start(0,_FN)}}}catch(_iN){debug("Audio_ResumeUnstreamed exception: "+_iN)}}function _GN(_bN){var _HN=false;if(_bN._0M){return _bN.paused}return false}function _IN(_bN){var _JN=false;if(_bN._0M){if(_bN._DM){var _KN=_uL[_bN._2M-_tL];if(!_KN)return false;if(!_KN._rN)return false;
if(!_KN._rN.onended)return false;else return true}else if(_bN._BM)_JN=_LN(_bN);else _JN=_MN(_bN)}return _JN}function _MN(_bN){if(_bN._xM!=null){if((_bN._xM.playbackState==undefined||_bN._xM.playbackState!=_bN._xM.FINISHED_STATE)||_bN.paused){return true}}return false}function _LN(_bN){if(_bN._EM!=null){if(!_bN._EM.ended){return true}}return false}function _lN(_lM,_tM,_uM){if(_Cf!=_Df)return null;var _Q7;var _ZL;for(_Q7=0;_Q7<_yL;++_Q7){_ZL=_hL[_Q7];if(!_ZL._0M){_ZL._zD(_lM,_tM,_uM);return _ZL}else {if(_ZL._DM&&_ZL._2M==_lM)return null;
var _NN=false;if(_ZL._BM){_NN=_ZL._EM==null||_ZL._EM.ended}else {_NN=((_ZL._xM!=null&&_ZL._xM.playbackState!=undefined&&_ZL._xM.playbackState==_ZL._xM.FINISHED_STATE)&&!_ZL.paused)}if(_NN){_ZL._zD(_lM,_tM,_uM);return _ZL}}}if(_yL<_oL){var _ON=new __L(_lM,_tM,_uM);_hL[_yL]=_ON;++_yL;return _ON}var _PN=_tM;var _QN=-1;for(_Q7=0;_Q7<_yL;++_Q7){_ZL=_hL[_Q7];if(_ZL._AM<_PN){_QN=_Q7;_PN=_ZL._AM}}if(_QN>=0){debug("killing sound on channel "+_QN);var _RN=_hL[_QN];_hN(_RN);_RN._zD(_lM,_tM,_uM);return _RN}debug("reached max sounds and no lower priority");
return null}function _tN(_2M){var _sN=null;if(_2M>=0&&_2M<=audio_sampledata.length){_sN=audio_sampledata[_2M]}else {var _SN=_2M-_pL;if(_SN>=0&&_SN<_sL){_sN=_rL[_SN]}else {var _wN=_2M-_tL;if(_wN>=0&&_wN<_wL){_sN=_vL[_wN]}}}return _sN}function _TN(index){for(var _Q7=0;_Q7<_AL.length;++_Q7){if(_AL[_Q7]._2M==index){_AL.splice(_Q7,1);return }}}function _UN(index,_VN,time){for(var _Q7=0;_Q7<_AL.length;++_Q7){if(_AL[_Q7]._2M==index){_AL[_Q7]=new _kM(index,_VN,time);return }}_AL.push(new _kM(index,_VN,time))}function _eM(){
if(_Cf==_Df){if(document[_6M]==true){if(!_mL){_mL=true;_WN(true)}}else if(document[_6M]==false){if(_mL){_XN(true);_mL=false}}}}function _AN(_bN){if(_bN._0M){if(!_bN._BM){var time=_bN.playbackpoint;if(!_bN.paused){var _qM=_bN._xM.playbackRate.value;time+=(g_WebAudioContext.currentTime-_bN._wM)*_qM}if(_bN._yM>0){var duration=_bN._xM.buffer.duration;time%=duration}return time}else {if(_bN._EM!=null){var time=_bN._EM.currentTime;return time}}}return 0}var _YN;var _ZN;function _cM(__N){if(_Cf!=_Df){return }if(__N==_ZN)return;
var _0O=g_WebAudioContext.createPanner();_ZN=__N;switch(__N){case _CL._DL:_YN=_0O.INVERSE_DISTANCE;if(_YN==undefined)_YN="inverse";break;case _CL._EL:_YN=_0O.INVERSE_DISTANCE;if(_YN==undefined)_YN="inverse";break;case _CL._FL:debug("Audio_falloff_inverse_distance_clamped not supported in html5\n");break;case _CL._GL:_YN=_0O.LINEAR_DISTANCE;if(_YN==undefined)_YN="linear";break;case _CL._HL:debug("Audio_falloff_linear_distance_clamped not supported in html5\n");break;case _CL._IL:_YN=_0O.EXPONENTIAL_DISTANCE;
if(_YN==undefined)_YN="exponential";break;case _CL._JL:debug("Audio_falloff_exponent_distance_clamped not supported in html5\n");break;default :debug("Attempting to set audio falloff to unknown model\n");break }for(var key in _kL){if(!_kL.hasOwnProperty(key))continue;var _1O=_kL[key];_1O.distanceModel=_YN;if(_ZN==_CL._DL){_1O._2O=_1O.rolloffFactor;_1O.rolloffFactor=0;}else if(typeof _1O._2O!=='undefined'){_1O.rolloffFactor=_1O._2O;_1O._2O=undefined}}}function _WN(_3O){for(var _Q7=0;_Q7<_yL;++_Q7){var _ZL=_hL[_Q7];
if(_ZL._0M){if(!_ZL.paused){_xN(_ZL);if(_3O)_ZL._zM=true}}}}function _4O(_5O){for(var _Q7=0;_Q7<_yL;++_Q7){var _ZL=_hL[_Q7];if(_ZL._0M){var _sM=audio_sampledata[_ZL._2M]._sM;if(_sM==_5O){_hN(_ZL)}}}}function _XN(_3O){for(var _Q7=0;_Q7<_yL;++_Q7){var _ZL=_hL[_Q7];if(_ZL._0M){if(_ZL.paused){if(_3O){if(_ZL._zM){_BN(_ZL);_ZL._zM=false}}else {_BN(_ZL)}}}}}function _fM(_6O,_7O,_8O){if(_Cf==_Df){var _9O=g_WebAudioContext.listener;_9O.setPosition(_6O,_7O,_8O);_9O._vg._Wo=_6O;_9O._vg._Xo=_7O;_9O._vg._Yo=_8O}}function _gM(_6O,
_7O,_8O,_aO,_bO,_cO){if(_Cf==_Df){var _9O=g_WebAudioContext.listener;_9O.setOrientation(_6O,_7O,_8O,_aO,_bO,_cO);_9O._aM[0]=_6O;_9O._aM[1]=_7O;_9O._aM[2]=_8O;_9O._aM[3]=_aO;_9O._aM[4]=_bO;_9O._aM[5]=_cO}}/*@this {XMLHttpRequest} */function _dO(e){if(_Cf!=_Df)return;var targetid=e.target.targetid;debug("error loading sound"+targetid);if(targetid==undefined){}else {debug("AudioError: "+this.URL);this.completed=false;_eO++;ClearEventListeners(this)}}/*@this {XMLHttpRequest} */function _fO(e){if(_Cf!=_Df)return;
var targetid=e.target.targetid;if(_gO)debug("sound loaded"+targetid);if(targetid==undefined){}else {this.completed=true;ClearEventListeners(this);try{g_WebAudioContext.decodeAudioData(e.target.response,function(buffer){var _4M=audio_sampledata[targetid];_4M.buffer=buffer;_eO++},function(err){debug("error decoding audio data:"+err);_eO++})}catch(_Ou){debug("error decoding audio data: "+_Ou.message);_eO++}}}function _hO(_Ez,_5g,_iO){var _4M=audio_sampledata[_5g];_4M.buffer=null}function _jO(e){var targetid=e.target.targetid;
debug("Audio_SoundReadyStateChange:targetid/readyState/status:"+targetid+'/'+e.target.readyState+'/'+e.target.status);}function _kO(e){var targetid=e.target.targetid;debug("Audio_SoundProgress:targetid/loaded/total:"+targetid+'/'+e._lO+'/'+e._mO)}function _nO(_Ez,_5g,_iO,_oO){_Ez=_QM(_Ez);if((_Cf!=_Df)||(_pO==false)){return undefined}var _SM;var index;index=_Ez.indexOf(_iO);if(index>0){_Ez=_Ez.substr(0,index)}if(_UM){_iO="ogg"}else if(_VM){_iO="mp3"}else {_iO="ogg"}_Ez=_Ez+"."+_iO;var _6B=new XMLHttpRequest();
_6B.open('GET',_Ez,true);_6B.responseType='arraybuffer';_6B.targetid=_5g;_6B.URL=_Ez;_6B.completed=false;if(_oO!=undefined){_6B.targetid={_qO:_oO,_rO:_5g};_6B.onload=_sO;_6B.onerror=_tO}else {_6B.onload=_fO;_6B.onerror=_dO;_6B.ontimeout=_dO;_6B._1A=_kO;_6B.onreadystatechange=_jO}_6B.send();_uO[_5g]=_6B;return _5g}var _vO="Unloaded";var _wO="Loading";var _xO="Loaded";var _yO="Unloading";var _zO=0;var _AO=[];/*@constructor */function _BO(_5O){this._sM=_5O;this._CO=_vO;this._DO=0;this._EO=0;this._FO=[]}_BO.prototype._GO=function(_HO){
this._FO.push(_HO)};_BO.prototype._IO=function(_JO){if(this._CO!=_JO){this._CO=_JO;debug("Audio Group "+this._sM+"-> "+this._CO);if(_JO==_xO){var map=_W5();_X5._8N=map;_Z5(map,"type","audiogroup_load");_Z5(map,"group_id",this._sM);_26._36(_KO,0)}}};/*@this {XMLHttpRequest} */function _sO(e){var targetid=this.targetid._rO;var _LO=this.targetid._qO;if(_gO)debug("sound loaded "+targetid);if(targetid!=undefined){e.target.completed=true;ClearEventListeners(this);try{g_WebAudioContext.decodeAudioData(e.target.response,
function(buffer){var _4M=audio_sampledata[targetid];_4M.buffer=buffer;_LO._MO()},function(err){debug("error decoding audio data:"+err);_LO._MO()})}catch(_Ou){debug("error decoding audio data: "+_Ou.message);_LO._MO()}}}/*@this {XMLHttpRequest} */function _tO(e){var targetid=this.targetid._rO;var _LO=this.targetid._qO;debug("error loading sound"+targetid);if(targetid!=undefined){debug("AudioError: "+this.URL);this.completed=false;ClearEventListeners(this);_LO._MO()}}_BO.prototype._MO=function(){this._DO--;
if(this._FO.length>0){this._EO=((this._FO.length-this._DO)*100)/(this._FO.length)}if(this._DO<=0){this._IO(_xO)}};_BO.prototype._L8=function(){if(this._CO!=_vO){return 0}if(this._FO.length==0){return 0}this._IO(_wO);this._DO=this._FO.length;this._EO=0;var _Q7;for(_Q7=0;_Q7<this._FO.length;++_Q7){var index=this._FO[_Q7];if(_as._G3[index]._Ea==0||((_KM==_LM||_KM==_MM)&&_as._G3[index]._Ea>=0&&_as._G3[index]._Ea<=3)){var id=_nO(_U8+_as._G3[index]._RM,index,_as._G3[index]._TM,this);if(id===undefined)this._MO()}
else {this._MO()}}};function _hM(){var index;var _NO=1;for(index=0;index<_as._G3.length;index++){if(_as._G3[index]!==null){var _4M=new _oM();audio_sampledata[index]=_4M;_4M.buffer=null;var _OO=_as._G3[index].volume;_4M.gain=_OO;_4M._pM=_OO;_4M._qM=1.0;_4M._Ea=_as._G3[index]._Ea;if(_as._G3[index].duration!=undefined){_4M.duration=_as._G3[index].duration}_4M._sM=0;var _sM=_as._G3[index]._sM;if(_sM!=undefined){_4M._sM=_sM}}}}function _iM(){if(_as._H3){var _Q7;_zO=_as._H3.length;for(_Q7=0;_Q7<_zO;++_Q7){_AO[_Q7]=new _BO(_Q7)}
for(_Q7=0;_Q7<audio_sampledata.length;++_Q7){var _ZL=audio_sampledata[_Q7];if(_ZL!=undefined){var _sM=_ZL._sM;if(_AO[_sM]!=undefined){if(_as._H3[_sM]._I3)_AO[_sM]._GO(_Q7)}}}}}function _PO(_QO){return _QO}function _RO(_QO){return _QO}navigator.getUserMedia=(navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia);var _SO=!1;var _TO=undefined;var _UO=0,_VO=1,_WO=2,_XO=3;function _qF(_YO){if(_ZO._8g(_YO)==null)return false;return true}function _rF(_YO){var __O=_ZO._8g(_YO);
if(__O==null)return 0;return __O.width}function _sF(_YO){var __O=_ZO._8g(_YO);if(__O==null)return 0;return __O.height}var _0P=_1P;function _1P(_M6,_N6,_O6,_Zf,__f,_Jh,_Kh){var _2P=document.createElement(_us);var _3P=_2P.getContext('2d');_4P(_3P);var _5P=_ZO._8g(_M6);_5P._F7++;_2P.width=_5P.width;_2P.height=_5P.height;_3P._6P(canvas,_N6,_O6,_Zf,__f,0,0,_2P.width,_2P.height);if(_Jh){_2P.complete=_Qh(_3P,_Zf,__f)}else {_2P.complete=true}_5P._F7++;var _Th=new _Uh();_5P._7P[_5P._7P.length]=_Th;_Th.x=0;_Th.y=0;_Th._u4=_5P.width;
_Th._v4=_5P.height;_Th._w4=0;_Th._x4=0;_Th._y4=_Th._u4;_Th._z4=_Th._v4;_Th._A4=_Th._u4;_Th._B4=_Th._v4;_Th._C4=_8P(_2P);_Th._J8=_K8[_Th._C4];return _M6}var _9P=_aP;function _aP(_5g,_N6,_O6,_Zf,__f,_Jh,_Kh,_bP,_cP){var _2P=document.createElement(_us);var _3P=_2P.getContext('2d');_4P(_3P);_2P.width=_Oh._8g(_5g).width;_2P.height=_Oh._8g(_5g).height;_3P._6P(_Oh._8g(_5g),0,0);if(_Jh){_2P.complete=_Qh(_3P,_Zf,__f)}else {_2P.complete=true}var _5P=new _dP();var _eP=_ZO._fP(_5P);_5P._U3="surface.copy";_5P.width=_Zf;
_5P.height=__f;_5P._gP=new _Ys();_5P._gP.right=_5P.width;_5P._gP.bottom=_5P.height;_5P._hP=true;_5P._zi=true;_5P.preload=true;_5P._iP=0;_5P._jP=false;_5P._kP=_bP;_5P._lP=_cP;_5P._mP=true;_5P._F7=1;_5P._nP=false;_5P._oP=false;_5P._G7=[];_5P._7P=[];_5P._pP=[];_5P._qP();var _Th=new _Uh();_5P._7P[0]=_Th;_Th.x=0;_Th.y=0;_Th._u4=_5P.width;_Th._v4=_5P.height;_Th._w4=0;_Th._x4=0;_Th._y4=_Th._u4;_Th._z4=_Th._v4;_Th._A4=_Th._u4;_Th._B4=_Th._v4;_Th._C4=_8P(_2P);_Th._J8=_K8[_Th._C4];_rP(_Th);return _eP}var _sP=_tP;
function _tP(_M6,_5g,_N6,_O6,_Zf,__f,_Jh,_Kh){var _2P=document.createElement(_us);var _3P=_2P.getContext('2d');_4P(_3P);var _5P=_ZO._8g(_M6);_5P._F7++;_2P.width=_5P.width;_2P.height=_5P.height;_3P._6P(_Oh._8g(_5g),0,0,_Zf,__f,0,0,_2P.width,_2P.height);if(_Jh){_2P.complete=_Qh(_3P,_Zf,__f)}else {_2P.complete=true}var _Th=new _Uh();_5P._7P[_5P._7P.length]=_Th;_Th.x=0;_Th.y=0;_Th._u4=_5P.width;_Th._v4=_5P.height;_Th._w4=0;_Th._x4=0;_Th._y4=_Th._u4;_Th._z4=_Th._v4;_Th._A4=_Th._u4;_Th._B4=_Th._v4;_Th._C4=_8P(_2P);
_Th._J8=_K8[_Th._C4];return _M6}var _uP=_vP;function _vP(_M6){var __O=_ZO._8g(_M6);if(__O==null)return 0;var _5P=new _dP();var _eP=_ZO._fP(_5P);_5P._U3=__O._U3+".copy";_5P.width=__O.width;_5P.height=__O.height;_5P._gP._1g(__O._gP);_5P._hP=__O._hP;_5P._zi=__O._zi;_5P.preload=__O.preload;_5P._iP=__O._iP;_5P._jP=__O._jP;_5P._kP=__O._kP;_5P._lP=__O._lP;_5P._mP=true;_5P._F7=__O._F7;_5P._wP=__O._wP;_5P._nP=__O._nP;_5P._tC=__O._tC;_5P._uC=__O._uC;_5P._oP=__O._oP;_5P._G7=[];_5P._7P=[];_5P._pP=[];for(var _Q7=0;_Q7<__O._F7;
_Q7++){var _Th=new _Uh();_5P._7P[_Q7]=_Th;_Th._mP(__O._7P[_Q7]);var _xP=_yP(__O._7P[_Q7]);_Th._C4=_8P(_xP);_Th.x=0;_Th.y=0;_Th._J8=_K8[_Th._C4]}return _eP}function _zP(_AP,_BP,_CP,_DP,_Mb,_EP){var _u4=_BP._A4;var _v4=_BP._B4;var _FP=_v4*_u4;var _GP=new Uint8Array(_FP);for(var _R7=0;_R7<_FP;_R7++)_GP[_R7]=false;if(_Mb==_UO){var _HP=_IP(_BP);var index=0;for(var _Q7=0;_Q7<_HP.length;_Q7+=4){if(_HP[_Q7+3]>_EP){_GP[index]=true}else {_GP[index]=false}index++}}else {switch(_Mb){case _VO:{for(var y=_DP.top;y<=_DP.bottom;
y++){for(var x=_DP.left;x<=_DP.right;x++){_GP[x+(y*_u4)]=true}}break }case _WO:{var _78=(_DP.left+_DP.right)/2;var _da=_78-_DP.left+0.5;var _88=(_DP.top+_DP.bottom)/2;var _ea=_88-_DP.top+0.5;for(var y=_DP.top;y<=_DP.bottom;y++){for(var x=_DP.left;x<=_DP.right;x++){if((_da>0)&&(_ea>0)){_GP[x+(y*_u4)]=_b8((x-_78)/_da)+_b8((y-_88)/_ea)<1}}}break }case _XO:{var _78=(_DP.left+_DP.right)/2;var _da=_78-_DP.left+0.5;var _88=(_DP.top+_DP.bottom)/2;var _ea=_88-_DP.top+0.5;for(var y=_DP.top;y<=_DP.bottom;y++){for(var x=_DP.left;
x<=_DP.right;x++){if((_da>0)&&(_ea>0)){_GP[x+(y*_u4)]=Math.abs((x-_78)/_da)+Math.abs((y-_88)/_ea)<1}}}break }}}if(_AP!=null){for(var _Q7=0;_Q7<_GP.length;_Q7++){if(_AP[_Q7])_GP[_Q7]=true}}return _GP}function _JP(_KP,_LP){if(_qF(_KP)){var _MP=_ZO._8g(_KP);var _Th=_MP._NP(~~_LP);if(_Th){return({_Nb:_Th._J8,_Ob:_Th})}}return null}function _wv(_o6){return String.fromCharCode(_o6)}function _OP(__t){if(!__t||__t=="")return 0;return __t.charCodeAt(0)}function _Av(_Bg,_Ug){if(_Ug===undefined)_Ug=0;if(_Ug>64)return " recursion error ";
if(_Bg==undefined){return "undefined"}if(_Bg instanceof Array){var _eg="{";for(var _Q7=0;_Q7<_Bg.length;++_Q7){if(_Q7!=0)_eg+=",";_eg+=_Av(_Bg[_Q7],_Ug+1)}_eg+="}";return _eg}else if(typeof(_Bg)=="number"){if((~~_Bg)!=_Bg){return _Bg.toFixed(2).toString()}else {return _Bg.toString()}}else if(typeof(_Bg)=="boolean"){if(_Bg)return "1";else return "0"}else {return _Bg.toString()}}var _PP=[];function _QP(_RP){debug("myBrandConnectReadyEvent");_PP=_RP}function _SP(){_Js()}function _TP(){_UP=true;debug("myBrandConnectDoneEvent")}
function _VP(){var _WP=document.getElementById("ssaBrandConnectInterstitial");var _XP=document.getElementById("gm4html5_div_id");_XP.appendChild(_WP);_ys()}var _YP=!1;var _UP=!1;var ssa_json={'applicationUserId':'1234','applicationKey':'2b46ec59','onCampaignsReady':_QP,'onCampaignsDone':_TP,'onCampaignClose':_SP,'onCampaignOpen':_VP,'maxWidth':1000,'maxHeight':700};var _ZP=(function(_si,_L7){var _j9=_si.createElement(_L7),_ps=_si.getElementsByTagName(_L7)[0];_j9._pt=!0;_j9.src=('https:'!=location.protocol?'http://jsd.supersonicads.com':'https://a248.e.akamai.net/ssastatic.s3.amazonaws.com')+'/inlineDelivery/delivery.min.gz.js';
_ps.parentNode.insertBefore(_j9,_ps)});var __P=ads_engagement_launch;function ads_engagement_launch(_0Q,_1Q){if(SSA_CORE!=undefined)SSA_CORE.BrandConnect.engage()}var _2Q=[];var _3Q=_4Q;function _4Q(_5g,_Zf,__f){if(_5g==_5Q){_6Q=true;_7Q=_Zf;_8Q=__f;return 1}if(!_9Q(_5g)){_9g("Surface does not exist");return 0}if(_aQ(_5g)){_es("Error: Surface in use via surface_set_target(). It can not be resized until it has been removed from the surface stack.");return }_Mh(_Zf,__f,_5g);return 0}var _Mh=_bQ;function _bQ(_Zf,
__f,_cQ){var __h=document.createElement(_us);__h._6c=__h.width=_Zf;__h._7c=__h.height=__f;__h.complete=true;__h._dQ=false;__h.name="";__h._M9=__h.getContext('2d');_4P(__h._M9);var _Th=new _Uh();__h._eQ=_Th;_Th.x=0;_Th.y=0;_Th._u4=_Zf;_Th._v4=__f;_Th._w4=0;_Th._x4=0;_Th._y4=_Th._u4;_Th._z4=_Th._v4;_Th._A4=_Th._u4;_Th._B4=_Th._v4;if(_cQ!=undefined){_Oh._Ig(_cQ,__h);_Th._C4=_cQ}else {_Th._C4=_Oh._Qe(__h)}_Th._J8=__h;_Th._G8=[];_Th._H8=0;_Th._I8=4;_Th._fQ=0;_Th._gQ=null;_Th._2P=__h;return _Th._C4}var _hQ=_iQ;
function _iQ(_5g){if(!_9Q(_5g)){_9g("Surface does not exist");return 0}if(_aQ(_5g)){_es("Error: Surface in use via surface_set_target(). It can not be freed until it has been removed from the surface stack.");return }_Oh._ng(_5g)}function _9Q(_5g){if(_Oh._8g(_5g)!=null)return 1;else return 0}function _jQ(_5g){var __h=_Oh._8g(_5g);if(__h!=null){return __h._6c}return 0}function _kQ(_5g){var __h=_Oh._8g(_5g);if(__h!=null){return __h._7c}return 0}function _lQ(_5g){var __h=_Oh._8g(_5g);if(__h!=null){return({_Nb:__h._J8,
_Ob:__h._eQ})}return -1}function _aQ(_5g){if(_mQ==_5g)return true;var _9s=_nQ.length;for(var _Q7=0;_Q7<_9s;_Q7++){if(_nQ[_Q7]==_5g)return true}return false}var _oQ=_pQ;function _pQ(_5g){var __h=_Oh._8g(_5g);if(__h!=null){if(!_v8)_Pw();_2Q.push({_qQ:_rQ,_sQ:_yo,_tQ:_M9,_uQ:_vQ,_wQ:_xQ,_yQ:_zQ,_AQ:_BQ,_CQ:_Sw,_DQ:_Tw,_EQ:_Uw,_FQ:_Vw,});_nQ.push(_mQ);_mQ=_5g;if(_v8){_rQ=__h._qQ;_v8._GQ(__h._qQ);_yo=-1}else {g_CurrentGraphics=__h._M9;_M9=__h._M9;_HQ(_M9)}}}var _IQ=_JQ;function _JQ(_5g){var __h=_Oh._8g(_5g);if(__h!=null){
if(!_v8)_Pw();_2Q.push({_qQ:_rQ,_sQ:_yo,_CQ:_Sw,_DQ:_Tw,_EQ:_Uw,_FQ:_Vw,_uQ:_vQ,_wQ:_xQ,_yQ:_zQ,_AQ:_BQ,_tQ:_M9,});_nQ.push(_mQ);_mQ=_5g;if(_v8){_rQ=__h._qQ;_v8._GQ(__h._qQ);_yo=-1}else {g_CurrentGraphics=__h._M9;_M9=__h._M9;_HQ(_M9)}_KQ(0,0,__h._6c,__h._7c);if(_j6){_LQ(0,0,__h._6c,__h._7c,0)}else {_MQ(0,0,__h._6c,__h._7c,0)}if(_v8)_v8._NQ();_hz();if(!_v8){_HQ(_M9)}}}var _OQ=_PQ;function _PQ(){var _QQ=_2Q.pop();if(_QQ){_Sw=_QQ._CQ;_Tw=_QQ._DQ;_Uw=_QQ._EQ;_Vw=_QQ._FQ;_vQ=_QQ._uQ;_xQ=_QQ._wQ;_zQ=_QQ._yQ;
_BQ=_QQ._AQ;if(!_v8){_M9=_QQ._tQ;_Ww()}else {_yo=_QQ._sQ;_rQ=_QQ._qQ}_KQ(_Sw,_Tw,_Uw,_Vw);if(_j6){_LQ(_vQ,_xQ,_zQ,_BQ,0)}else {_MQ(_vQ,_xQ,_zQ,_BQ,0)}}else {_es("Error: Surface stacking error detected")}if(_v8)_v8._GQ(_rQ);_mQ=_nQ.pop();if(_mQ==null)_mQ=-1;if(!_v8)_HQ(_M9);_hz()}function _iy(_RQ,_N6,_O6){var data=null;var _Ph=_RQ.getContext('2d');try{data=_Ph._SQ(_N6,_O6,1,1)}catch(_Ou){return 0xff000000}var _TQ=data.data;var index=0;var _UQ=_TQ[index]&0xff;var _VQ=_TQ[index+1]&0xff;var _WQ=_TQ[index+2]&0xff;
var _XQ=_TQ[index+3]&0xff;return(_UQ|(_VQ<<8)|(_WQ<<16)|(_XQ<<24))}var _YQ=_ZQ;var __Q=_0R;function _ZQ(_5g,_N6,_O6){return _0R(_5g,_N6,_O6)&0xffffff}function _0R(_5g,_N6,_O6){var __h=_Oh._8g(_5g);if(__h!=null){return _iy(__h,_wg(_N6),_wg(_O6))}return 0x00000000}var _1R=_2R;function _2R(_5g,_N6,_O6){var __h=_Oh._8g(_5g);if(!__h)return;_N6=~~_N6;_O6=~~_O6;var alpha=_M9.globalAlpha;{_M9.globalAlpha=_Tb;_M9._6P(__h,_N6,_O6)}_M9.globalAlpha=alpha}function _3R(_5g,_N6,_O6,_Zf,__f){var __h=_Oh._8g(_5g);if(!__h)return;
_4R(__h._eQ,_N6,_O6,_Zf,__f,0xffffff,1.0)}var _5R=_6R;function _6R(_5g,_N6,_O6,_4q,_5q,_7R,_Wb){_Fa("draw_surface_tiled_ext()")}function _8R(_9R,_N6,_O6,_aR){var _Nh=_Oh._8g(_9R);var _Xh=_Oh._8g(_aR);if(_Nh!=null&&_Xh!=null){var _Ph=_Nh.getContext('2d');_Ph.save();_Ph.globalCompositeOperation='copy';_Ph.drawImage(_Xh,_N6,_O6);_Ph.restore()}}function _bR(_9R,_N6,_O6,_aR,_cR,_dR,_eR,_fR){var _Nh=_Oh._8g(_9R);var _Xh=_Oh._8g(_aR);if(_Nh!=null&&_Xh!=null){var _Qw=[];var _Ph=_Nh.getContext('2d');_Ph.save();_Qw[0]=1;
_Qw[1]=0;_Qw[2]=0;_Qw[3]=1;_Qw[4]=0;_Qw[5]=0;_Ph.setTransform(_Qw[0],_Qw[1],_Qw[2],_Qw[3],_Qw[4],_Qw[5]);_Ph.beginPath();_Ph.rect(_N6,_O6,_eR,_fR);_Ph.clip();_Ph.globalCompositeOperation='copy';_Ph.drawImage(_Xh,_cR,_dR,_eR,_fR,_N6,_O6,_eR,_fR);_Ph.restore()}}function _x5(){return _us}function _gR(_hR,_iR){if(_hR){if(_iR===undefined){canvas.style.cursor=""}else {canvas.style.cursor=_iR}}else {canvas.style.cursor="none"}}function _jR(_Vb){_kR=_Xb(_Vb)}var _lR=_jR;function _mR(){return _Xb(_kR)}var _nR=_mR;
function _oR(_N6,_O6,_pR){if(_pR===undefined)_pR=false;var _qR=document.getElementById(_us);for(var __g=_qR;__g;__g=__g.parentNode){var position;if(__g["currentStyle"]){position=__g["currentStyle"]["position"]}else if(window.getComputedStyle){try{var style=window.getComputedStyle(__g,null);if(style){position=style.getPropertyValue("position")}}catch(e){}}if(position&&(position=="fixed")){debug("Warning: Canvas position fixed. Ignoring position alterations");return }}_qR.style.position="absolute";if(!_pR){
_qR.style.left=_N6+"px";_qR.style.top=_O6+"px";_qR.style.bottom="";_qR.style.right="";_qR.style.transform=""}else {_qR.style.top="50%";_qR.style.left="50%";_qR.style.bottom="-50%";_qR.style.right="-50%";_qR.style.transform="translate(-50%, -50%)"}}function _rR(){return _sR-_tR}function _uR(){return _vR-_wR}function _xR(_5g){if(!_h6._hf){return _X5._yR}var _kf=_h6._jf[_5g];return _kf._rf(_Hf._zR,_Hf._AR)}function _BR(_5g){if(!_h6._hf){return _X5._CR}var _kf=_h6._jf[_5g];return _kf._sf(_Hf._zR,_Hf._AR)}function _DR(){
if(!_h6._hf){return _X5._yR}for(var _Q7=_h6._jf.length-1;_Q7>=0;--_Q7){var _kf=_h6._jf[_Q7];if(!_kf._W3){continue }var _78=_kf._rf(_Hf._zR,_Hf._AR);var _88=_kf._sf(_Hf._zR,_Hf._AR);if(((_78>=_kf._uQ)&&(_78<_kf._uQ+_kf._yQ))&&((_88>=_kf._wQ)&&(_78<_kf._wQ+_kf._AQ))){return _78}}return _xR(0)}function _ER(){if(!_h6._hf){return _X5._CR}for(var _Q7=_h6._jf.length-1;_Q7>=0;--_Q7){var _kf=_h6._jf[_Q7];if(!_kf._W3){continue }var _78=_kf._rf(_Hf._zR,_Hf._AR);var _88=_kf._sf(_Hf._zR,_Hf._AR);if(((_78>=_kf._uQ)&&(_78<_kf._uQ+_kf._yQ))&&((_88>=_kf._wQ)&&(_78<_kf._wQ+_kf._AQ))){
return _88}}return _BR(0)}var _FR;var _GR;var _HR;var _IR;var _JR;var _KR;var _LR;var _MR;var _NR;var _OR;var _PR;var _QR;var _RR=0;var _SR=1,_TR=2,_UR=3,_VR=4,_WR=5,_XR=6;var _YR=aa_1241_kz();function aa_1241_kz(){return 0x87155211}/*@constructor */function _ZR(){var __R=null;if(window.XMLHttpRequest){__R=new XMLHttpRequest()}if(typeof(XMLHttpRequest)=="undefined"){__R=function(){try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP");
}catch(e){}throw new _9g("This browser does not support XMLHttpRequest.")}}this._0S=__R;this._1S=false}var _2S=new _ZR();function _3S(){}var _4S=_5S;function _5S(_hR){}var _6S=_7S;function _7S(){return false}var _8S=_9S;function _9S(){}var _aS=_bS;function _bS(){}var _cS=_dS;function _dS(){}var _eS=_fS;function _fS(){}var _gS=_hS;function _hS(){}var _iS=_jS;function _jS(){}var _kS=_lS;function _lS(){}var _mS=_nS;function _nS(){}var _oS=_pS;function _pS(){}var _qS=_rS;function _rS(){}var _sS=_tS;function _tS(){}var _uS=_vS;function _vS(){
return -1}var _wS=_xS;function _xS(){}var _yS=_zS;function _zS(){}var _AS=_BS;function _BS(){}var _CS=_DS;function _DS(){return _ES}function _FS(){return _GS}function _HS(){return _Uz}function _IS(){return _JS}var _KS=_LS;function _LS(_Ez,_MS,_NS){if(_MS!="_self"&&_MS!="_blank"&&_MS!="_parent"&&_MS!="_top"){_9g("Error: invalid TARGET specified. Only '_self', '_blank', 'parent' or '_top' supported. (YoYo_OpenURL)");return }var _lO=window.open(_Ez,_MS,_NS)}var _OS=_PS;function _PS(_Ez,_MS){_KS(_Ez,_MS,"scrollbars=yes,menubar=yes,resizable=yes,toolbar=yes,location=yes,status=yes")}
var _QS=_RS;function _RS(_Ez){_OS(_Ez,"_self")}var _SS=_TS;function _TS(_US,_VS){}var _WS=_XS;function _XS(_US,_YS){}var _ZS=null;var __S=null;var _0T=null;var _1T=_2T;function _2T(_fs,_3T,_4T,_5T){}var _nw=_6T;function _6T(){var _L7=new Date().getTime()*1000;return _L7-_FR}var _7T=_8T;function _8T(_N6,_O6,_Zf,__f,_9T){var _aT=_bT();_aT.x=_N6;_aT.y=_O6;_aT._u4=_Zf;_aT._v4=__f;_aT.key=_9T;_aT._y7=_N6+_Zf;_aT._z7=_O6+__f;_aT.button=_aT._w9=_aT._y9=0;_aT._cT=_dT;return(_aT.index+1)}var _eT=_fT;function _fT(_5g){if(_5g<0)return;
var index=_5g-1;if((index<0)||(index>=_gT.length)){debug("Invalid index when deleting virtual key")}_hT(_5g-1)}function _iT(){_jT=[];for(var _H7=0;_H7<_gT.length;++_H7){var _kT=_gT[_H7];if((_kT._cT&_lT)!=0)_jT[_jT.length]=_kT}}var _mT=_nT;function _nT(_5g){if(_5g<0)return;_5g--;if(!_gT[_5g])return;_gT[_5g]._cT|=_lT;_iT();}var _oT=_pT;function _pT(_5g){if(_5g<0)return;_5g--;if(!_gT[_5g])return;_gT[_5g]._cT&=~_lT;_iT()}var _qT=_rT;function _rT(){return 0}var _sT=_tT;function _tT(){return 0}var _uT=_vT;function _vT(){
return 0}var _wT=_xT;function _xT(){_is("device_ios_get_imagename()")}var _yT=_zT;function _zT(){_is("device_ios_get_image()")}var _AT=_BT;function _BT(){_is("openfeint_start()")}var _CT=_DT;function _DT(_8G,_0x){_is("achievement_map_achievement()")}var _ET=_FT;function _FT(_8G,_0x,_GT){_is("achievement_map_leaderboard()")}var _HT=_IT;function _IT(_8G,_0x,_GT){_is("openfeint_send_challenge()")}var _JT=_KT;function _KT(_8G){_is("openfeint_send_invite()")}var _LT=_MT;function _MT(_8G,_0x,_GT){_is("openfeint_send_social()")}
var _NT=_OT;function _OT(_8G){_is("openfeint_set_url()")}var _PT=_QT;function _QT(){_is("openfeint_accept_challenge()");return ""}var _RT=_ST;function _ST(){_is("achievement_is_online()");return false}var _TT=_UT;function _UT(_8G,_0x){_is("openfeint_send_result()")}var _VT=_WT;function _WT(){return false}function _XT(){_FR=new Date().getTime()*1000;var _L7=0;for(var _Q7=0;_Q7<12;_Q7++){_Hr[_Q7]=_L7;_L7+=_Gr[_Q7]}_GR=0;_HR=1;_IR=2;_JR=3;_KR=4;_LR=5;_MR=0;_NR=1;_OR=2;_PR=0;_QR=1;}function _YT(){var _L7=setTimeout(function(){
for(var _ZT in _ZO._J3){if(!_ZO._J3.hasOwnProperty(_ZT))continue;_ZO._KE(_ZT);break }_YT()},1000)}var __T=_0U;function _0U(){return document.domain}function _1U(_2U,_3U){for(var _4U in _2U){var _5U=_2U[_4U];if(_5U instanceof Array){var _6U=_hg();_qg(_3U,_6U);_1U(_5U,_6U)}else if(typeof(_5U)=="object"){var _7U=_W5();_qg(_3U,_7U);_Ft(_5U,_7U)}else if(typeof(_5U)=="string"){_qg(_3U,_5U)}}}function _Ft(_M8,_Bt){for(var _vr in _M8){if(_M8.hasOwnProperty(_vr)){var _5U=_M8[_vr];if(_5U instanceof Array){var _8U=_hg();_Z5(_Bt,_vr,
_8U);_1U(_5U,_8U)}else if(typeof(_5U)=="object"){var _9U=_W5();_Z5(_Bt,_vr,_9U);_Ft(_5U,_9U)}else if(typeof(_5U)=="string"){_Z5(_Bt,_vr,_5U)}}}}var _aU=_bU;function _bU(){}var _cU=_dU;var _gt=_5t;function _dU(){return _gt}var _eU=_tt;var _fU=_xt;var _gU=_Gt;var _hU=_iU;function _iU(){debug("facebook_logout");FB.logout(function(response){if(response.status!='connected'){_gt=_5t;_ct="";g_fbOAuthToken=""}});return 0}var _jU=_kU;function _kU(_lU,_TB){if(_lU==0){return _OB(_TB)}else {if(_xf[_lU]&&(_TB<=1)){return _xf[_lU]._Nd}
}return 0}var _mU=_nU;function _nU(_lU,_TB){if(_lU==0){return _QB(_TB)}else {if(_xf[_lU]&&(_TB<=1)){return _xf[_lU]._Id}}return 0}var _oU=_pU;function _pU(_lU,_TB){if(_lU==0){return _RB(_TB)}else {if(_xf[_lU]&&(_TB<=1)){return _xf[_lU]._Md}}return 0}var _qU=_rU;function _rU(_lU){if(_lU==0){return _X5._yR}else if(_xf[_lU]){return _xf[_lU].x}return 0}var _sU=_tU;function _tU(_lU){if(_lU==0&&_uU[0]){return _uU[0].x}else if(_xf[_lU]){return _xf[_lU].x}return 0}var _vU=_wU;function _wU(_lU){if(_lU==0){return _X5._CR}else if(_xf[_lU]){
return _xf[_lU].y}return 0}var _xU=_yU;function _yU(_lU){if(_lU==0&&_uU[0]){return _uU[0].y}else if(_xf[_lU]){return _xf[_lU].y}return 0}var _zU=_AU;function _AU(){return _BU}var _CU=_DU;function _DU(){return _EU};function _t5(_io){if(_FU){_GU=_HU;_IU=_JU}_FU=_io;}function _KU(){var _8H=0;var _9H=0;var _LU=0;var _MU=0;canvas=document.getElementById(_us);var _NU=_OU;var _PU=_QU;if(_RU&&_SU){var _u4=_HU;var _v4=_JU;var _Hj,_a8,_98;_Hj=_u4/_v4;_a8=_NU/_Hj;if(_a8<_PU){_Hj=_v4/_u4;_a8=_NU*_Hj;_9H=(_PU-_a8)/2;_98=_NU;_a8+=_9H}
else {_Hj=_u4/_v4;_98=_PU*_Hj;_8H=(_NU-_98)/2;_a8=_PU;_98+=_8H}_LU=_98;_MU=_a8}else {_LU=_NU;_MU=_PU}_TU.x=_8H;_TU.y=_9H;_TU._u4=_LU-_8H;_TU._v4=_MU-_9H}(function(){'use strict';Function.prototype._UU=function(parent){this.prototype.parent=parent;for(var x in parent.prototype){if(!this.prototype[x])this.prototype[x]=parent.prototype[x]}};Function.prototype._VU=function(parent){return this._UU(parent)};Array.prototype._WU=function(_WJ,_9s,_XU){if(typeof(_WJ)==='undefined')_WJ=0;if(typeof(_9s)==='undefined')_9s=this.length-_WJ;
if(typeof(_XU)==='undefined')_XU=function(_k9,_M7){return _k9<_M7};var left=_WJ,_YU=[],_vg=0;for(;;){for(;left+1<_9s;_9s++){var _ZU=this[left+Math.floor(Math.random()*(_9s-left))];_YU[_vg++]=_9s;for(var right=left-1;;){while(_XU(this[++right],_ZU)){}while(_XU(_ZU,this[--_9s])){}if(right>=_9s)break;var _Lx=this[right];this[right]=this[_9s];this[_9s]=_Lx}}if(_vg===0)break;left=_9s;_9s=_YU[--_vg]}return this};Array.prototype.__U=function(_0V,length){if(typeof(length)==='undefined')length=this.length;var _H7=0;
for(var _Qt=0;_Qt<length;++_Qt){if(_0V(this[_Qt]))continue;if(_Qt===_H7){++_H7;continue }this[_H7++]=this[_Qt]}return _H7};Array.prototype._1V=function(_WJ,_2V,_Cd,_XU){if(typeof(_XU)==='undefined')_XU=function(_k9,_M7){return _k9<_M7};var _H8=_2V-_WJ;while(_H8>0){var _3V=Math.floor(_H8/2);var _4V=_WJ+_3V;if(_XU(this[_4V],_Cd)){_WJ=++_4V;_H8-=_3V+1}else _H8=_3V}return _WJ};Array.prototype._5V=function(_WJ,_2V,_Cd,_XU){if(typeof(_XU)==='undefined')_XU=function(_k9,_M7){return _k9<_M7};var _H8=_2V-_WJ;while(_H8>0){
var _3V=Math.floor(_H8/2);var _4V=_WJ+_3V;if(!_XU(_Cd,this[_4V])){_WJ=++_4V;_H8-=_3V+1}else _H8=_3V}return _WJ};Array.prototype.rotate=function(_WJ,_6V,_2V){var _Qg=_6V;while(_WJ!=_Qg){var _7V=this[_WJ];this[_WJ]=this[_Qg];this[_Qg]=_7V;++_WJ;++_Qg;if(_Qg===_2V)_Qg=_6V;else if(_WJ===_6V)_6V=_Qg}};var _8V=(function(){var _9V=function(){return +new Date()};if(typeof(performance)==='undefined')window['performance']={now:_9V};if(!window['performance'].now)window['performance'].now=_9V;function _aV(name,parent){
this.name=name;this.parent=parent;this._bV={};this._UL=0;this._cV=0;this._dV=0;this._eV=!1;this._fV=0}_aV.prototype={start:function(){this._UL=performance.now();this._eV=!0},stop:function(_gV){if(!this._eV)return;this._eV=!1;this._cV+=performance.now()-this._UL;if(_gV)this.start();for(var x in this._bV)this._bV[x].stop()},_gV:function(_hV){if(!_hV){this._eV=!0;this._dV+=this._cV;this.start()}this._cV=0;for(var x in this._bV)this._bV[x]._gV(!0)}};var _iV=[];var _a6=new _aV("root");function _jV(name,parent){
if(!_iV)throw new Error("late profile creation not allowed");var _ps=new _aV(name,parent||'root');_iV.push(_ps);return _ps}function _kV(_lV){_lV._fV--;delete _lV._bV[_lV.name]}function _mV(__g,_lV){if(__g.name===_lV.parent)return __g;for(var x in __g._bV){var _r7;if(_r7=_mV(__g._bV[x],_lV))return _r7}return null}function init(){while(_iV.length){var _tx=_iV.pop();if(!(_tx.parentNode=_mV(_a6,_tx)))_iV._nV(_tx);else {_tx.parentNode._bV[_tx.name]=_tx;_tx.parentNode._fV++}}_iV=null}function _oV(){_a6._gV(!0)}var _eg={_jV:_jV,
_kV:_kV,init:init,_gV:_oV,_pV:_a6};return _eg}());function _qV(_rV){if(!_rV){console.log("Assertion failed! Pls debug.");debugger}}var _sV=Number.MAX_VALUE;var _tV=2.2204460492503131e-016;var _uV=Math.PI;/// @file
var _vV=2;var _wV=8;var _xV=0.1;var _yV=2.0;var _zV=0.005;var _AV=(2.0/180.0*_uV);var _BV=(2.0*_zV);var _CV=8;var _DV=32;var _EV=1.0;var _FV=0.2;var _GV=(8.0/180.0*_uV);var _HV=2.0;var _IV=(_HV*_HV);var _JV=(0.5*_uV);var _KV=(_JV*_JV);var _LV=0.2;var _MV=0.75;var _NV=0.5;var _OV=0.01;var _PV=(2.0/180.0*_uV);var _QV=(-1);
var _RV=0.75;var _SV=1.0;var _TV=5.0;var _UV=2;var _VV=(_UV*_UV);var _WV=256;function _XV(_YV,_ZV,__V){this._0W=_YV;this._1W=_ZV;this._2W=__V}_XV.prototype={toString:function(){return this._0W+'.'+this._1W+'.'+this._2W}};var _3W=new _XV(2,3,1);function _4W(x){return isFinite(x)&&!isNaN(x);}var _5W=Math.sqrt;var _6W=Math.atan2;var _7W=Math.sin;var _8W=Math.cos;var _9W=Math.floor;var _aW=Math.ceil;var _bW=_5W;var _cW=_6W;function _dW(x){return 1.0/_5W(x)}function _eW(x,y){if(typeof(x)!=='undefined'){this.x=x;this.y=y}else this.x=this.y=0}
_eW.prototype={_N5:function(){return new _eW(this.x,this.y)},_fW:function(){this.x=0.0;this.y=0.0;return this},_Ig:function(_gW,_hW){this.x=_gW;this.y=_hW;return this},_iW:function(_H7){this.x=_H7.x;this.y=_H7.y;return this},_jW:function(){var _y9=new _eW();_y9._Ig(-this.x,-this.y);return _y9},_kW:function(_Q7){switch(_Q7){case 0:return this.x;case 1:return this.y}},_lW:function(_Q7,_y9){switch(_Q7){case 0:return this.x=_y9;case 1:return this.y=_y9}},_Qe:function(_y9){this.x+=_y9.x;this.y+=_y9.y;return this},_mW:function(_y9){
this.x-=_y9.x;this.y-=_y9.y;return this},Multiply:function(_k9){this.x*=_k9;this.y*=_k9;return this},Length:function(){return _bW(this.x*this.x+this.y*this.y)},_nW:function(){return this.x*this.x+this.y*this.y},_oW:function(){var length=this.Length();if(length<_tV){return 0.0}var _pW=1.0/length;this.x*=_pW;this.y*=_pW;return length},_qW:function(){return _4W(this.x)&&_4W(this.y)},_rW:function(){return new _eW(-this.y,this.x)},_sW:function(_tW){var _Ct=_tW||[];_Ct[0]=this.x;_Ct[1]=this.y;return _Ct},_uW:function(data){
this.x=data[0];this.y=data[1]}};_eW._Qe=function(_k9,_M7){return new _eW(_k9.x+_M7.x,_k9.y+_M7.y)};_eW._mW=function(_k9,_M7){return new _eW(_k9.x-_M7.x,_k9.y-_M7.y)};_eW._vW=function(_k9,_M7){return _k9.x==_M7.x&&_k9.y==_M7.y};_eW.Multiply=function(_ps,_k9){return new _eW(_ps*_k9.x,_ps*_k9.y)};_eW._jW=function(_k9){return new _eW(-_k9.x,-_k9.y)};function _wW(x,y,_Ua){if(typeof(x)!=='undefined'){this.x=x;this.y=y;this._Ua=_Ua}}_wW.prototype={_N5:function(){return new _wW(this.x,this.y,this._Ua)},_fW:function(){
this.x=0.0;this.y=0.0;this._Ua=0.0},_Ig:function(_gW,_hW,_xW){this.x=_gW;this.y=_hW;this._Ua=_xW},_jW:function(){var _y9=new _wW();_y9._Ig(-this.x,-this.y,-this._Ua);return _y9},_Qe:function(_y9){this.x+=_y9.x;this.y+=_y9.y;this._Ua+=_y9._Ua},_mW:function(_y9){this.x-=_y9.x;this.y-=_y9.y;this._Ua-=_y9._Ua},Multiply:function(_ps){this.x*=_ps;this.y*=_ps;this._Ua*=_ps},x:0,y:0,_Ua:0};_wW.Multiply=function(_ps,_k9){return new _wW(_ps*_k9.x,_ps*_k9.y,_ps*_k9._Ua)};_wW._Qe=function(_k9,_M7){return new _wW(_k9.x+_M7.x,
_k9.y+_M7.y,_k9._Ua+_M7._Ua)};_wW._mW=function(_k9,_M7){return new _wW(_k9.x-_M7.x,_k9.y-_M7.y,_k9._Ua-_M7._Ua)};function _yW(_zW,_AW){this._Ou=_zW?_zW._N5():new _eW();this._gz=_AW?_AW._N5():new _eW()}_yW.prototype={_Ig:function(_zW,_AW){this._Ou._iW(_zW);this._gz._iW(_AW)},_iW:function(_Wp){this._Ou._iW(_Wp._Ou);this._gz._iW(_Wp._gz)},_BW:function(){this._Ou.x=1.0;this._gz.x=0.0;this._Ou.y=0.0;this._gz.y=1.0},_fW:function(){this._Ou.x=0.0;this._gz.x=0.0;this._Ou.y=0.0;this._gz.y=0.0},_CW:function(){
var _k9=this._Ou.x,_M7=this._gz.x,_Qt=this._Ou.y,_si=this._gz.y;var _DW=new _yW();var _EW=_k9*_si-_M7*_Qt;if(_EW!=0.0){_EW=1.0/_EW}_DW._Ou.x=_EW*_si;_DW._gz.x=-_EW*_M7;_DW._Ou.y=-_EW*_Qt;_DW._gz.y=_EW*_k9;return _DW},_FW:function(_M7){var _GW=this._Ou.x,_HW=this._gz.x,_IW=this._Ou.y,_JW=this._gz.y;var _EW=_GW*_JW-_HW*_IW;if(_EW!=0.0){_EW=1.0/_EW}var x=new _eW();x.x=_EW*(_JW*_M7.x-_HW*_M7.y);x.y=_EW*(_GW*_M7.y-_IW*_M7.x);return x}};_yW._Qe=function(_rV,_DW){return new _yW(_eW._Qe(_rV._Ou,_DW._Ou),_eW._Qe(_rV._gz,
_DW._gz))};function _KW(_zW,_AW,_LW){this._Ou=_zW?_zW._N5():new _wW();this._gz=_AW?_AW._N5():new _wW();this._MW=_LW?_LW._N5():new _wW()}_KW.prototype={_fW:function(){this._Ou._fW();this._gz._fW();this._MW._fW()},_NW:function(_M7){var _EW=_OW(this._Ou,_PW(this._gz,this._MW));if(_EW!=0.0){_EW=1.0/_EW}var x=new _wW();x.x=_EW*_OW(_M7,_PW(this._gz,this._MW));x.y=_EW*_OW(this._Ou,_PW(_M7,this._MW));x._Ua=_EW*_OW(this._Ou,_PW(this._gz,_M7));return x},_QW:function(_M7){var _GW=this._Ou.x,_HW=this._gz.x,_IW=this._Ou.y,
_JW=this._gz.y;var _EW=_GW*_JW-_HW*_IW;if(_EW!=0.0){_EW=1.0/_EW}var x=new _eW();x.x=_EW*(_JW*_M7.x-_HW*_M7.y);x.y=_EW*(_GW*_M7.y-_IW*_M7.x);return x},_RW:function(_SW){var _k9=this._Ou.x,_M7=this._gz.x,_Qt=this._Ou.y,_si=this._gz.y;var _EW=_k9*_si-_M7*_Qt;if(_EW!=0.0){_EW=1.0/_EW}_SW._Ou.x=_EW*_si;_SW._gz.x=-_EW*_M7;_SW._Ou._Ua=0.0;_SW._Ou.y=-_EW*_Qt;_SW._gz.y=_EW*_k9;_SW._gz._Ua=0.0;_SW._MW.x=0.0;_SW._MW.y=0.0;_SW._MW._Ua=0.0},_TW:function(_SW){var _EW=_OW(this._Ou,_PW(this._gz,this._MW));if(_EW!=0.0){
_EW=1.0/_EW;}var _GW=this._Ou.x,_HW=this._gz.x,_UW=this._MW.x;var _JW=this._gz.y,_VW=this._MW.y;var _WW=this._MW._Ua;_SW._Ou.x=_EW*(_JW*_WW-_VW*_VW);_SW._Ou.y=_EW*(_UW*_VW-_HW*_WW);_SW._Ou._Ua=_EW*(_HW*_VW-_UW*_JW);_SW._gz.x=_SW._Ou.y;_SW._gz.y=_EW*(_GW*_WW-_UW*_UW);_SW._gz._Ua=_EW*(_UW*_HW-_GW*_VW);_SW._MW.x=_SW._Ou._Ua;_SW._MW.y=_SW._gz._Ua;_SW._MW._Ua=_EW*(_GW*_JW-_HW*_HW)}};function _XW(angle,_Qt){if(typeof(_Qt)!=='undefined'){this._ps=angle;this._Qt=_Qt}else if(typeof(angle)!=='undefined')this._Ig(angle);
}_XW.prototype={_N5:function(){return new _XW(this._ps,this._Qt)},_iW:function(_H7){this._ps=_H7._ps;this._Qt=_H7._Qt},_Ig:function(x){this._ps=_7W(x);this._Qt=_8W(x)},_BW:function(){this._ps=0.0;this._Qt=1.0},_YW:function(){return _cW(this._ps,this._Qt)},_ZW:function(){return new _eW(this._Qt,this._ps)},__W:function(){return new _eW(-this._ps,this._Qt)},_ps:0,_Qt:1};function _0X(position,rotation){this._tx=new _eW();this.__v=new _XW();if(position){this._tx._iW(position);this.__v._iW(rotation)}}_0X.prototype={
_N5:function(){var _1X=new _0X(this._tx,this.__v);return _1X},_iW:function(_1X){this._tx._iW(_1X._tx);this.__v._iW(_1X.__v)},_BW:function(){this._tx._fW();this.__v._BW()},_Ig:function(position,angle){this._tx._iW(position);this.__v._Ig(angle)}};function _2X(){this._3X=new _eW();this._4X=new _eW();this._Qt=new _eW()}_2X.prototype={_iW:function(_5X){this._3X._iW(_5X._3X);this._4X._iW(_5X._4X);this._Qt._iW(_5X._Qt);this._k9=_5X._k9;this._6X=_5X._6X;this._7X=_5X._7X},_N5:function(){var _5X=new _2X();_5X._3X._iW(this._3X);
_5X._4X._iW(this._4X);_5X._Qt._iW(this._Qt);_5X._k9=this._k9;_5X._6X=this._6X;_5X._7X=this._7X;return _5X},/// @param beta is a factor in [0,1], where 0 indicates alpha0.
_8X:function(_1X,_9X){_1X._tx.x=((1.0-_9X)*this._4X.x)+(_9X*this._Qt.x);_1X._tx.y=((1.0-_9X)*this._4X.y)+(_9X*this._Qt.y);var angle=(1.0-_9X)*this._6X+_9X*this._k9;_1X.__v._Ig(angle);_1X._tx.x-=_1X.__v._Qt*this._3X.x-_1X.__v._ps*this._3X.y;_1X._tx.y-=_1X.__v._ps*this._3X.x+_1X.__v._Qt*this._3X.y;},/// @param alpha the new initial time.
_aX:function(alpha){
_qV(this._7X<1.0);var _9X=(alpha-this._7X)/(1.0-this._7X);this._4X._Qe(_eW.Multiply(_9X,_eW._mW(this._Qt,this._4X)));this._6X+=_9X*(this._k9-this._6X);this._7X=alpha},_oW:function(){var _bX=2.0*_uV;var _si=_bX*_9W(this._6X/_bX);this._6X-=_si;this._k9-=_si},_6X:0,_k9:0,_7X:0};function _cX(_k9,_M7){return _k9.x*_M7.x+_k9.y*_M7.y}function _dX(_k9,_M7){return _k9.x*_M7.y-_k9.y*_M7.x}function _eX(_k9,_ps){return new _eW(_ps*_k9.y,-_ps*_k9.x)}function _fX(_ps,_k9){return new _eW(-_ps*_k9.y,_ps*_k9.x)}function _gX(_rV,
_y9){return new _eW(_rV._Ou.x*_y9.x+_rV._gz.x*_y9.y,_rV._Ou.y*_y9.x+_rV._gz.y*_y9.y)}function _hX(_rV,_y9){return new _eW(_cX(_y9,_rV._Ou),_cX(_y9,_rV._gz))}function _iX(_k9,_M7){var _Qt=_eW._mW(_k9,_M7);return _Qt.Length()}function _jX(_k9,_M7){var _Qt=_eW._mW(_k9,_M7);return _cX(_Qt,_Qt)}function _OW(_k9,_M7){return _k9.x*_M7.x+_k9.y*_M7.y+_k9._Ua*_M7._Ua}function _PW(_k9,_M7){return new _wW(_k9.y*_M7._Ua-_k9._Ua*_M7.y,_k9._Ua*_M7.x-_k9.x*_M7._Ua,_k9.x*_M7.y-_k9.y*_M7.x)}function _kX(_rV,_DW){return new _yW(_gX(_rV,
_DW._Ou),_gX(_rV,_DW._gz))}function _lX(_rV,_DW){var _zW=new _eW(_cX(_rV._Ou,_DW._Ou),_cX(_rV._gz,_DW._Ou));var _AW=new _eW(_cX(_rV._Ou,_DW._gz),_cX(_rV._gz,_DW._gz));return new _yW(_zW,_AW)}function _mX(_rV,_y9){return _wW._Qe(_wW._Qe(_wW.Multiply(_y9.x,_rV._Ou),_wW.Multiply(_y9.y,_rV._gz)),_wW.Multiply(_y9._Ua,_rV._MW))}function _nX(_rV,_y9){return new _eW(_rV._Ou.x*_y9.x+_rV._gz.x*_y9.y,_rV._Ou.y*_y9.x+_rV._gz.y*_y9.y)}function _oX(__v,_J7){var _pX=new _XW();_pX._ps=__v._ps*_J7._Qt+__v._Qt*_J7._ps;_pX._Qt=__v._Qt*_J7._Qt-__v._ps*_J7._ps;
return _pX}function _qX(__v,_J7){var _pX=new _XW();_pX._ps=__v._Qt*_J7._ps-__v._ps*_J7._Qt;_pX._Qt=__v._Qt*_J7._Qt+__v._ps*_J7._ps;return _pX}function _rX(__v,_y9){return new _eW(__v._Qt*_y9.x-__v._ps*_y9.y,__v._ps*_y9.x+__v._Qt*_y9.y)}function _sX(__v,_y9){return new _eW(__v._Qt*_y9.x+__v._ps*_y9.y,-__v._ps*_y9.x+__v._Qt*_y9.y)}function _tX(_uX,_y9){return new _eW((_uX.__v._Qt*_y9.x-_uX.__v._ps*_y9.y)+_uX._tx.x,(_uX.__v._ps*_y9.x+_uX.__v._Qt*_y9.y)+_uX._tx.y)}function _vX(_uX,_y9){var _6i=_y9.x-_uX._tx.x;var _7i=_y9.y-_uX._tx.y;
var x=(_uX.__v._Qt*_6i+_uX.__v._ps*_7i);var y=(-_uX.__v._ps*_6i+_uX.__v._Qt*_7i);return new _eW(x,y)}function _wX(_rV,_DW){var _xX=new _0X();_xX.__v=_oX(_rV.__v,_DW.__v);_xX._tx=_eW._Qe(_rX(_rV.__v,_DW._tx),_rV._tx);return _xX}function _yX(_rV,_DW){var _xX=new _0X();_xX.__v=_qX(_rV.__v,_DW.__v);var _zX=_DW._tx.x-_rV._tx.x;var _AX=_DW._tx.y-_rV._tx.y;_xX._tx.x=_rV.__v._Qt*_zX+_rV.__v._ps*_AX;_xX._tx.y=-_rV.__v._ps*_zX+_rV.__v._Qt*_AX;return _xX}var _BX=Math.abs;function _CX(_k9){return new _eW(_BX(_k9.x),_BX(_k9.y))}
function _DX(_rV){return new _yW(_CX(_rV._Ou),_CX(_rV._gz))}var _EX=Math.min;function _FX(_k9,_M7){return new _eW(_EX(_k9.x,_M7.x),_EX(_k9.y,_M7.y))}var _GX=Math.max;function _HX(_k9,_M7){return new _eW(_GX(_k9.x,_M7.x),_GX(_k9.y,_M7.y))}function _IX(_k9,_JX,_KX){return _GX(_JX,_EX(_k9,_KX))}function _LX(_k9,_JX,_KX){return _HX(_JX,_FX(_k9,_KX));}function _MX(x){x|=(x>>1);x|=(x>>2);x|=(x>>4);x|=(x>>8);x|=(x>>16);return x+1}function _NX(x){var _Hs=x>0&&(x&(x-1))==0;return _Hs}var _OX=32767;function _PX(_QX,_RX){var _J7=Math.random();
if(typeof(_QX)!=='undefined')_J7=(_RX-_QX)*_J7+_QX;else _J7=2.0*_J7-1.0;return _J7}function _SX(_J7,_j9,_M7){this._J7=_J7||0;this._j9=_j9||0;this._M7=_M7||0}_SX.prototype={_Ig:function(_J7,_j9,_M7){this._J7=_J7;this._j9=_j9;this._M7=_M7}};function _TX(){}_TX.prototype={_UX:function(_cT){this._VX=_cT;},_WX:function(){return this._VX},_XX:function(_cT){this._VX|=_cT},_YX:function(_cT){this._VX&=~_cT},_ZX:function(_cT){this._VX^=_cT},__X:function(vertices,vertexCount,color){},_0Y:function(vertices,vertexCount,
color){},_1Y:function(_2Y,_3Y,color){},_4Y:function(_2Y,_3Y,_5Y,color){},_6Y:function(_7Y,_8Y,color){},/// @param xf a transform.
_9Y:function(_1X){},_aY:function(_bY,_3Y,_cY,_H8){},_VX:0};_TX._dY=1;_TX._eY=2;_TX._fY=4;_TX._gY=8;_TX._hY=16;_TX._iY=32;_TX._jY=64;_TX._kY=128;_TX._lY=256;_TX._mY=512;_TX._nY=1024;if(typeof(performance)==='undefined'){window.performance={now:function(){return +new Date()}}}function _oY(){this._mw()}_oY.prototype={_mw:function(){this._pY=performance.now()},_qY:function(){
return performance.now()-this._pY}};function _rY(){this._sY=0;this._2Y=new _eW();this._tY=0}/*
 * A shape.
 * @constructor
 * @returns {b2Shape}
 */function _uY(){this._OC=0;this._vY=0}_uY.prototype={_N5:function(){},/// @return the shape type.
_wY:function(){return this._OC},_xY:function(){},/// @param xf the shape world transform.
/// @param p a point in world coordinates.
_yY:function(_1X,_tx){},/// @param output the ray-cast results.
/// @param input the ray-cast input parameters.
/// @param transform the transform to be applied to the shape.
/// @param childIndex the child shape index
_zY:function(_Pv,
_Nv,transform,_AY){},/// @param aabb returns the axis aligned box.
/// @param xf the world transform of the shape.
/// @param childIndex the child shape
_BY:function(_CY,_1X,_AY){},/// @param massData returns the mass data for this shape.
/// @param density the density in kilograms per meter squared.
_DY:function(_EY,_FY){},/// @param xf the shape world transform.
/// @param p a point in world coordinates.
/// @param distance returns the distance from the current shape.
/// @param normal returns the direction in which the distance increases.
_GY:function(_1X,
_tx,_HY,_IY,_AY){},_sW:function(_tW){var _Ct=_tW||{};_Ct['m_type']=this._OC;_Ct['m_radius']=this._vY;return _Ct},_uW:function(data){this._vY=data['m_radius']}};_uY._JY=0;_uY._KY=1;_uY._LY=2;_uY._MY=3;_uY._NY=4;function _OY(){this.parent.call(this);this._OC=_uY._JY;this._vY=0;this._PY=new _eW();Object.seal(this)}_OY.prototype={_N5:function(){var _QY=new _OY();_QY._vY=this._vY;_QY._PY=this._PY._N5();return _QY},/// @see b2Shape::GetChildCount
_xY:function(){return 1},_yY:function(transform,_tx){var _2Y=_eW._Qe(transform._tx,
_rX(transform.__v,this._PY));var _si=_eW._mW(_tx,_2Y);return _cX(_si,_si)<=this._vY*this._vY},_zY:function(_Pv,_Nv,transform,_AY){var position=_eW._Qe(transform._tx,_rX(transform.__v,this._PY));var _ps=_eW._mW(_Nv._7Y,position);var _M7=_cX(_ps,_ps)-this._vY*this._vY;var _J7=_eW._mW(_Nv._8Y,_Nv._7Y);var _Qt=_cX(_ps,_J7);var _ax=_cX(_J7,_J7);var _RY=_Qt*_Qt-_ax*_M7;if(_RY<0.0||_ax<_tV){return !1}var _k9=-(_Qt+_bW(_RY));if(0.0<=_k9&&_k9<=_Nv._SY*_ax){_k9/=_ax;_Pv._TY=_k9;_Pv._IY=_eW._Qe(_ps,_eW.Multiply(_k9,_J7));
_Pv._IY._oW();return !0}return !1},/// @see b2Shape::ComputeAABB
_BY:function(_CY,transform,_AY){var _6i=transform._tx.x+(transform.__v._Qt*this._PY.x-transform.__v._ps*this._PY.y);var _7i=transform._tx.y+(transform.__v._ps*this._PY.x+transform.__v._Qt*this._PY.y);_CY._UY.x=_6i-this._vY;_CY._UY.y=_7i-this._vY;_CY._VY.x=_6i+this._vY;_CY._VY.y=_7i+this._vY},/// @see b2Shape::ComputeMass
_DY:function(_EY,_FY){_EY._sY=_FY*_uV*this._vY*this._vY;_EY._2Y=this._PY;_EY._tY=_EY._sY*(0.5*this._vY*this._vY+_cX(this._PY,
this._PY))},_WY:function(_si){return 0},_XY:function(_si){return this._PY},_nd:function(){return 1},_YY:function(index){_qV(index==0);return this._PY},_GY:function(transform,_tx,_HY,_IY,_AY){var _2Y=_eW._Qe(transform._tx,_rX(transform.__v,this._PY));var _si=_eW._mW(_tx,_2Y);var _ZY=_si.Length();_HY[0]=_ZY-this._vY;_IY._iW(_eW.Multiply(1/_ZY,_si))},_sW:function(_tW){var _Ct=_tW||{};this.parent.prototype._sW.call(this,_Ct);_Ct['m_p']=this._PY._sW();return _Ct},_uW:function(data){this.parent.prototype._uW.call(this,
data);this._PY._uW(data['m_p'])}};_OY._UU(_uY);function __Y(){this.parent.call(this);this._OC=_uY._KY;this._vY=_BV;this._0Z=new _eW();this._1Z=new _eW();this._2Z=new _eW();this._3Z=new _eW();this._4Z=!1;this._5Z=!1;Object.seal(this)}__Y.prototype={_Ig:function(_xa,_ya){this._1Z._iW(_xa);this._2Z._iW(_ya);this._4Z=!1;this._5Z=!1},_N5:function(){var _QY=new __Y();_QY._0Z=this._0Z._N5();_QY._1Z=this._1Z._N5();_QY._2Z=this._2Z._N5();_QY._3Z=this._3Z._N5();_QY._4Z=this._4Z;_QY._5Z=this._5Z;return _QY},/// @see b2Shape::GetChildCount
_xY:function(){
return 1},/// @see b2Shape::TestPoint
_yY:function(transform,_tx){return !1},_zY:function(_Pv,_Nv,_1X,_AY){var _7Y=_sX(_1X.__v,_eW._mW(_Nv._7Y,_1X._tx));var _8Y=_sX(_1X.__v,_eW._mW(_Nv._8Y,_1X._tx));var _si=_eW._mW(_8Y,_7Y);var _xa=this._1Z;var _ya=this._2Z;var e=_eW._mW(_ya,_xa);var _IY=new _eW(e.y,-e.x);_IY._oW();var _6Z=_cX(_IY,_eW._mW(_xa,_7Y));var _7Z=_cX(_IY,_si);if(_7Z==0.0){return !1}var _L7=_6Z/_7Z;if(_L7<0.0||_Nv._SY<_L7){return !1}var __v=_eW._Qe(_7Y,_eW.Multiply(_L7,_si));var _J7=_eW._mW(_ya,_xa);var _ax=_cX(_J7,
_J7);if(_ax==0.0){return !1}var _ps=_cX(_eW._mW(__v,_xa),_J7)/_ax;if(_ps<0.0||1.0<_ps){return !1}_Pv._TY=_L7;if(_6Z>0.0){_Pv._IY=_rX(_1X.__v,_IY)._jW()}else {_Pv._IY=_rX(_1X.__v,_IY)}return !0},/// @see b2Shape::ComputeAABB
_BY:function(_CY,_1X,_AY){var _bi=(_1X.__v._Qt*this._1Z.x-_1X.__v._ps*this._1Z.y)+_1X._tx.x;var _ei=(_1X.__v._ps*this._1Z.x+_1X.__v._Qt*this._1Z.y)+_1X._tx.y;var _ci=(_1X.__v._Qt*this._2Z.x-_1X.__v._ps*this._2Z.y)+_1X._tx.x;var _fi=(_1X.__v._ps*this._2Z.x+_1X.__v._Qt*this._2Z.y)+_1X._tx.y;
var _8Z=_EX(_bi,_ci);var _9Z=_EX(_ei,_fi);var _aZ=_GX(_bi,_ci);var _bZ=_GX(_ei,_fi);_CY._UY.x=_8Z-this._vY;_CY._UY.y=_9Z-this._vY;_CY._VY.x=_aZ+this._vY;_CY._VY.y=_bZ+this._vY},/// @see b2Shape::ComputeMass
_DY:function(_EY,_FY){_EY._sY=0.0;_EY._2Y=_eW.Multiply(0.5,_eW._Qe(this._1Z,this._2Z));_EY._tY=0.0},_GY:function(_1X,_tx,_HY,_IY,_AY){var _xa=_tX(_1X,this._1Z);var _ya=_tX(_1X,this._2Z);var _si=_eW._mW(_tx,_xa);var _ps=_eW._mW(_ya,_xa);var _cZ=_cX(_si,_ps);if(_cZ>0){var _cq=_cX(_ps,_ps);if(_cZ>_cq){_si._iW(_eW._mW(_tx,
_ya))}else {_si._mW(_eW.Multiply(_cZ/_cq,_ps))}}var _ZY=_si.Length();_HY[0]=_ZY;_IY._iW(_ZY>0?_eW.Multiply(1/_ZY,_si):new _eW(0,0))},_sW:function(_tW){var _Ct=_tW||{};this.parent.prototype._sW.call(this,_Ct);_Ct['m_vertex1']=this._1Z._sW();_Ct['m_vertex2']=this._2Z._sW();_Ct['m_hasVertex0']=this._4Z;if(this._4Z)_Ct['m_vertex0']=this._0Z._sW();_Ct['m_hasVertex3']=this._5Z;if(this._5Z)_Ct['m_vertex3']=this._3Z._sW();return _Ct},_uW:function(data){this.parent.prototype._uW.call(this,data);this._1Z._uW(data['m_vertex1']);
this._2Z._uW(data['m_vertex2']);this._4Z=data['m_hasVertex0'];if(this._4Z)this._0Z._uW(data['m_vertex0']);this._5Z=data['m_hasVertex3'];if(this._5Z)this._3Z._uW(data['m_vertex3'])}};__Y._UU(_uY);function _dZ(){this.parent.call(this);this._OC=_uY._MY;this._vY=_BV;this._eZ=null;this._fZ=0;this._gZ=new _eW();this._hZ=new _eW();this._iZ=!1;this._jZ=!1;Object.seal(this)}_dZ._kZ=new __Y();_dZ.prototype={/// @param vertices an array of vertices, these are copied
/// @param count the vertex count
_lZ:function(vertices,
_H8){_qV(this._eZ==null&&this._fZ==0);_qV(_H8>=3);for(var _Q7=1;_Q7<_H8;++_Q7){var _xa=vertices[_Q7-1];var _ya=vertices[_Q7];_qV(_jX(_xa,_ya)>_zV*_zV)}this._fZ=_H8+1;this._eZ=new Array(this._fZ);for(var _Q7=0;_Q7<_H8;++_Q7)this._eZ[_Q7]=vertices[_Q7]._N5();this._eZ[_H8]=this._eZ[0]._N5();this._gZ._iW(this._eZ[this._fZ-2]);this._hZ._iW(this._eZ[1]);this._iZ=!0;this._jZ=!0},/// @param vertices an array of vertices, these are copied
/// @param count the vertex count
_mZ:function(vertices,_H8){_qV(this._eZ==null&&this._fZ==0);
_qV(_H8>=2);for(var _Q7=1;_Q7<_H8;++_Q7){var _xa=vertices[_Q7-1];var _ya=vertices[_Q7];_qV(_jX(_xa,_ya)>_zV*_zV)}this._fZ=_H8;this._eZ=new Array(_H8);for(var _Q7=0;_Q7<_H8;++_Q7)this._eZ[_Q7]=vertices[_Q7]._N5();this._iZ=!1;this._jZ=!1;this._gZ._fW();this._hZ._fW()},_nZ:function(_oZ){this._gZ._iW(_oZ);this._iZ=!0},_pZ:function(_qZ){this._hZ._iW(_qZ);this._jZ=!0},_N5:function(){var _QY=new _dZ();_QY._fZ=this._fZ;_QY._eZ=new Array(this._fZ);for(var _Q7=0;_Q7<this._fZ;++_Q7)_QY._eZ[_Q7]=this._eZ[_Q7]._N5();
_QY._gZ=this._gZ._N5();_QY._hZ=this._hZ._N5();_QY._iZ=this._iZ;_QY._jZ=this._jZ;return _QY},/// @see b2Shape::GetChildCount
_xY:function(){return this._fZ-1},_rZ:function(_sZ,index){_qV(0<=index&&index<this._fZ-1);_sZ._OC=_uY._KY;_sZ._vY=this._vY;_sZ._1Z=this._eZ[index+0];_sZ._2Z=this._eZ[index+1];if(index>0){_sZ._0Z=this._eZ[index-1];_sZ._4Z=!0}else {_sZ._0Z=this._gZ;_sZ._4Z=this._iZ}if(index<this._fZ-2){_sZ._3Z=this._eZ[index+2];_sZ._5Z=!0}else {_sZ._3Z=this._hZ;_sZ._5Z=this._jZ}},/// @see b2Shape::TestPoint
_yY:function(transform,
_tx){return !1},_zY:function(_Pv,_Nv,_1X,_AY){_qV(_AY<this._fZ);var _tZ=_AY;var _uZ=_AY+1;if(_uZ==this._fZ){_uZ=0}_dZ._kZ._1Z=this._eZ[_tZ]._N5();_dZ._kZ._2Z=this._eZ[_uZ]._N5();return _dZ._kZ._zY(_Pv,_Nv,_1X,0)},/// @see b2Shape::ComputeAABB
_BY:function(_CY,_1X,_AY){_qV(_AY<this._fZ);var _tZ=_AY;var _uZ=_AY+1;if(_uZ==this._fZ){_uZ=0}var _bi=(_1X.__v._Qt*this._eZ[_tZ].x-_1X.__v._ps*this._eZ[_tZ].y)+_1X._tx.x;var _ei=(_1X.__v._ps*this._eZ[_tZ].x+_1X.__v._Qt*this._eZ[_tZ].y)+_1X._tx.y;var _ci=(_1X.__v._Qt*this._eZ[_uZ].x-_1X.__v._ps*this._eZ[_uZ].y)+_1X._tx.x;
var _fi=(_1X.__v._ps*this._eZ[_uZ].x+_1X.__v._Qt*this._eZ[_uZ].y)+_1X._tx.y;_CY._UY.x=_EX(_bi,_ci);_CY._UY.y=_EX(_ei,_fi);_CY._VY.x=_GX(_bi,_ci);_CY._VY.y=_GX(_ei,_fi)},/// @see b2Shape::ComputeMass
_DY:function(_EY,_FY){_EY._sY=0.0;_EY._2Y._fW();_EY._tY=0.0},_GY:function(_1X,_tx,_HY,_IY,_AY){this._rZ(_dZ._kZ,_AY);_dZ._kZ._GY(_1X,_tx,_HY,_IY,0)},_sW:function(_tW){var _Ct=_tW||{};this.parent.prototype._sW.call(this,_Ct);_Ct['m_count']=this._fZ;_Ct['m_vertices']=[];for(var _Q7=0;_Q7<this._fZ;++_Q7)_Ct['m_vertices'].push(this._eZ[_Q7]._sW());
_Ct['m_hasPrevVertex']=this._iZ;if(this._iZ)_Ct['m_prevVertex']=this._gZ._sW();_Ct['m_hasNextVertex']=this._jZ;if(this._jZ)_Ct['m_nextVertex']=this._hZ._sW();return _Ct},_uW:function(data){this.parent.prototype._uW.call(this,data);this._fZ=data['m_count'];this._eZ=[];for(var _Q7=0;_Q7<this._fZ;++_Q7){this._eZ[_Q7]=new _eW();this._eZ[_Q7]._uW(data['m_vertices'][_Q7])}this._iZ=data['m_hasPrevVertex'];if(this._iZ)this._gZ._uW(data['m_prevVertex']);this._jZ=data['m_hasNextVertex'];if(this._jZ)this._hZ._uW(data['m_nextVertex'])}
};_dZ._UU(_uY);function _vZ(){this.parent.call(this);this._OC=_uY._LY;this._vY=_BV;this._fZ=0;this._wZ=new _eW();this._eZ=new Array(_wV);this._xZ=new Array(_wV);Object.seal(this)}_vZ.prototype={_N5:function(){var _QY=new _vZ();_QY._fZ=this._fZ;_QY._wZ=this._wZ._N5();for(var _Q7=0;_Q7<this._fZ;++_Q7){_QY._eZ[_Q7]=this._eZ[_Q7]._N5();_QY._xZ[_Q7]=this._xZ[_Q7]._N5()}return _QY},/// @see b2Shape::GetChildCount
_xY:function(){return 1},/// @warning the points may be re-ordered, even if they form a convex polygon
/// @warning collinear points are handled but not removed. Collinear points
_Ig:function(vertices,
_H8){_qV(3<=_H8&&_H8<=_wV);if(_H8<3){this._yZ(1.0,1.0);return }var _r7=_EX(_H8,_wV);var _zZ=new Array(_wV);var _AZ=0;for(var _Q7=0;_Q7<_r7;++_Q7){var _y9=vertices[_Q7];var _BZ=!0;for(var _R7=0;_R7<_AZ;++_R7){if(_jX(_y9,_zZ[_R7])<0.5*_zV){_BZ=!1;break }}if(_BZ){_zZ[_AZ++]=_y9._N5()}}_r7=_AZ;if(_r7<3){_qV(!1);this._yZ(1.0,1.0);return }var _CZ=0;var _0a=_zZ[0].x;for(_Q7=1;_Q7<_r7;++_Q7){var x=_zZ[_Q7].x;if(x>_0a||(x==_0a&&_zZ[_Q7].y<_zZ[_CZ].y)){_CZ=_Q7;_0a=x}}var hull=new Array(_wV);var _v7=0;var _DZ=_CZ;for(;;){hull[_v7]=_DZ;
var _EZ=0;for(_R7=1;_R7<_r7;++_R7){if(_EZ==_DZ){_EZ=_R7;continue }var _J7=_eW._mW(_zZ[_EZ],_zZ[hull[_v7]]);var _y9=_eW._mW(_zZ[_R7],_zZ[hull[_v7]]);var _Qt=_dX(_J7,_y9);if(_Qt<0.0){_EZ=_R7}if(_Qt==0.0&&_y9._nW()>_J7._nW()){_EZ=_R7}}++_v7;_DZ=_EZ;if(_EZ==_CZ){break }}this._fZ=_v7;for(_Q7=0;_Q7<_v7;++_Q7){this._eZ[_Q7]=_zZ[hull[_Q7]]._N5()}for(_Q7=0;_Q7<_v7;++_Q7){var _tZ=_Q7;var _uZ=_Q7+1<_v7?_Q7+1:0;var _sZ=_eW._mW(this._eZ[_uZ],this._eZ[_tZ]);_qV(_sZ._nW()>_tV*_tV);this._xZ[_Q7]=_eX(_sZ,1.0)._N5();this._xZ[_Q7]._oW()}
this._wZ=_vZ._FZ(this._eZ,_v7)},/// @param hx the half-width.
/// @param hy the half-height.
_yZ:function(_GZ,_HZ,_2Y,angle){this._fZ=4;this._eZ[0]=new _eW(-_GZ,-_HZ);this._eZ[1]=new _eW(_GZ,-_HZ);this._eZ[2]=new _eW(_GZ,_HZ);this._eZ[3]=new _eW(-_GZ,_HZ);this._xZ[0]=new _eW(0.0,-1.0);this._xZ[1]=new _eW(1.0,0.0);this._xZ[2]=new _eW(0.0,1.0);this._xZ[3]=new _eW(-1.0,0.0);if(!_2Y)return;this._wZ._iW(_2Y);var _1X=new _0X();_1X._tx=_2Y;_1X.__v._Ig(angle);for(var _Q7=0;_Q7<this._fZ;++_Q7){this._eZ[_Q7]._iW(_tX(_1X,
this._eZ[_Q7]));this._xZ[_Q7]._iW(_rX(_1X.__v,this._xZ[_Q7]))}},/// @see b2Shape::TestPoint
_yY:function(_1X,_tx){var _IZ=_sX(_1X.__v,_eW._mW(_tx,_1X._tx));for(var _Q7=0;_Q7<this._fZ;++_Q7){var _JZ=_cX(this._xZ[_Q7],_eW._mW(_IZ,this._eZ[_Q7]));if(_JZ>0.0){return !1}}return !0},_zY:function(_Pv,_Nv,_1X,_AY){var _7Y=_sX(_1X.__v,_eW._mW(_Nv._7Y,_1X._tx));var _8Y=_sX(_1X.__v,_eW._mW(_Nv._8Y,_1X._tx));var _si=_eW._mW(_8Y,_7Y);var _KZ=0.0,_LZ=_Nv._SY;var index=-1;for(var _Q7=0;_Q7<this._fZ;++_Q7){var _6Z=_cX(this._xZ[_Q7],
_eW._mW(this._eZ[_Q7],_7Y));var _7Z=_cX(this._xZ[_Q7],_si);if(_7Z==0.0){if(_6Z<0.0){return !1}}else {if(_7Z<0.0&&_6Z<_KZ*_7Z){_KZ=_6Z/_7Z;index=_Q7}else if(_7Z>0.0&&_6Z<_LZ*_7Z){_LZ=_6Z/_7Z}}if(_LZ<_KZ){return !1}}_qV(0.0<=_KZ&&_KZ<=_Nv._SY);if(index>=0){_Pv._TY=_KZ;_Pv._IY=_rX(_1X.__v,this._xZ[index]);return !0}return !1},/// @see b2Shape::ComputeAABB
_BY:function(_CY,_1X,_AY){var _8Z=(_1X.__v._Qt*this._eZ[0].x-_1X.__v._ps*this._eZ[0].y)+_1X._tx.x;var _9Z=(_1X.__v._ps*this._eZ[0].x+_1X.__v._Qt*this._eZ[0].y)+_1X._tx.y;
var _aZ=_8Z;var _bZ=_9Z;for(var _Q7=1;_Q7<this._fZ;++_Q7){var _MZ=(_1X.__v._Qt*this._eZ[_Q7].x-_1X.__v._ps*this._eZ[_Q7].y)+_1X._tx.x;var _NZ=(_1X.__v._ps*this._eZ[_Q7].x+_1X.__v._Qt*this._eZ[_Q7].y)+_1X._tx.y;_8Z=_EX(_8Z,_MZ);_9Z=_EX(_9Z,_NZ);_aZ=_GX(_aZ,_MZ);_bZ=_GX(_bZ,_NZ)}_CY._UY.x=_8Z-this._vY;_CY._UY.y=_9Z-this._vY;_CY._VY.x=_aZ+this._vY;_CY._VY.y=_bZ+this._vY},/// @see b2Shape::ComputeMass
_DY:function(_EY,_FY){_qV(this._fZ>=3);var _2Y=new _eW(0.0,0.0);var _OZ=0.0;var _tY=0.0;var _ps=new _eW(0.0,0.0);
for(var _Q7=0;_Q7<this._fZ;++_Q7){_ps._Qe(this._eZ[_Q7])}_ps.Multiply(1.0/this._fZ);var _PZ=1.0/3.0;for(var _Q7=0;_Q7<this._fZ;++_Q7){var _QZ=_eW._mW(this._eZ[_Q7],_ps);var _RZ=_Q7+1<this._fZ?_eW._mW(this._eZ[_Q7+1],_ps):_eW._mW(this._eZ[0],_ps);var _SZ=_dX(_QZ,_RZ);var _TZ=0.5*_SZ;_OZ+=_TZ;_2Y._Qe(_eW.Multiply(_TZ*_PZ,_eW._Qe(_QZ,_RZ)));var _UZ=_QZ.x,_VZ=_QZ.y;var _WZ=_RZ.x,_XZ=_RZ.y;var _YZ=_UZ*_UZ+_WZ*_UZ+_WZ*_WZ;var _ZZ=_VZ*_VZ+_XZ*_VZ+_XZ*_XZ;_tY+=(0.25*_PZ*_SZ)*(_YZ+_ZZ)}_EY._sY=_FY*_OZ;_qV(_OZ>_tV);
_2Y.Multiply(1.0/_OZ);_EY._2Y=_eW._Qe(_2Y,_ps);_EY._tY=_FY*_tY;_EY._tY+=_EY._sY*(_cX(_EY._2Y,_EY._2Y)-_cX(_2Y,_2Y))},_nd:function(){return this._fZ},_YY:function(index){_qV(0<=index&&index<this._fZ);return this._eZ[index]},/// @returns true if valid
__Z:function(){for(var _Q7=0;_Q7<this._fZ;++_Q7){var _tZ=_Q7;var _uZ=_Q7<this._fZ-1?_tZ+1:0;var _tx=this._eZ[_tZ];var e=_eW._mW(this._eZ[_uZ],_tx);for(var _R7=0;_R7<this._fZ;++_R7){if(_R7==_tZ||_R7==_uZ){continue }var _y9=_eW._mW(this._eZ[_R7],_tx);var _Qt=_dX(e,
_y9);if(_Qt<0.0){return !1}}}return !0},_GY:function(_1X,_tx,_0_,_IY,_AY){var _IZ=_sX(_1X.__v,_eW._mW(_tx,_1X._tx));var maxDistance=-Number.MAX_VALUE;var _1_=_IZ;for(var _Q7=0;_Q7<this._fZ;++_Q7){var _JZ=_cX(this._xZ[_Q7],_eW._mW(_IZ,this._eZ[_Q7]));if(_JZ>maxDistance){maxDistance=_JZ;_1_=this._xZ[_Q7]}}if(maxDistance>0){var _2_=_1_;var _3_=maxDistance*maxDistance;for(var _Q7=0;_Q7<this._fZ;++_Q7){var _HY=_eW._mW(_IZ,this._eZ[_Q7]);var _4_=_HY._nW();if(_3_>_4_){_2_=_HY;_3_=_4_}}_0_[0]=_bW(_3_);_IY._iW(_rX(_1X.__v,
_2_));_IY._oW()}else {_0_[0]=maxDistance;_IY._iW(_rX(_1X.__v,_1_))}},_sW:function(_tW){var _Ct=_tW||{};this.parent.prototype._sW.call(this,_Ct);_Ct['m_count']=this._fZ;_Ct['m_centroid']=this._wZ._sW();_Ct['m_vertices']=[];_Ct['m_normals']=[];for(var _Q7=0;_Q7<this._fZ;++_Q7){_Ct['m_vertices'].push(this._eZ[_Q7]._sW());_Ct['m_normals'].push(this._xZ[_Q7]._sW())}return _Ct},_uW:function(data){this.parent.prototype._uW.call(this,data);this._fZ=data['m_count'];this._wZ._uW(data['m_centroid']);this._eZ=[];
this._xZ=[];for(var _Q7=0;_Q7<this._fZ;++_Q7){this._eZ[_Q7]=new _eW();this._eZ[_Q7]._uW(data['m_vertices'][_Q7]);this._xZ[_Q7]=new _eW();this._xZ[_Q7]._uW(data['m_normals'][_Q7])}}};_vZ._FZ=function(_5_,_H8){_qV(_H8>=3);var _Qt=new _eW();var _OZ=0.0;var _6_=new _eW(0.0,0.0);var _7_=1.0/3.0;for(var _Q7=0;_Q7<_H8;++_Q7){var _7Y=_6_;var _8Y=_5_[_Q7];var _8_=_Q7+1<_H8?_5_[_Q7+1]:_5_[0];var _QZ=_eW._mW(_8Y,_7Y);var _RZ=_eW._mW(_8_,_7Y);var _SZ=_dX(_QZ,_RZ);var _TZ=0.5*_SZ;_OZ+=_TZ;_Qt._Qe(_eW.Multiply(_TZ,_eW.Multiply(_7_,
_eW._Qe(_eW._Qe(_7Y,_8Y),_8_))))}_qV(_OZ>_tV);_Qt.Multiply(1.0/_OZ);return _Qt};_vZ._UU(_uY);function _9_(){this._a_=0;this._b_=0}function _c_(_d_,_e_){if(_d_._a_==_e_._a_){return _d_._b_-_e_._b_}return _d_._a_-_e_._a_}function _f_(){this._g_=new _h_();this._i_=0;this._j_=0;this._k_=0;this._l_=[];this._m_=0;this._n_=[]}_f_.prototype={_o_:function(_CY,_p_){var _q_=this._g_._o_(_CY,_p_);++this._j_;this._r_(_q_);return _q_},_s_:function(_q_){this._t_(_q_);--this._j_;this._g_._s_(_q_)},_u_:function(_q_,_CY,_v_){
var buffer=this._g_._u_(_q_,_CY,_v_);if(buffer){this._r_(_q_)}},_w_:function(_q_){this._r_(_q_)},_x_:function(_q_){return this._g_._x_(_q_)},_y_:function(_q_){return this._g_._y_(_q_)},_z_:function(_a_,_b_){var _A_=this._g_._x_(_a_);var _B_=this._g_._x_(_b_);return _C_(_A_,_B_)},_D_:function(){return this._j_},_E_:function(_F_){this._k_=0;this._l_.length=0;for(var _Q7=0;_Q7<this._m_;++_Q7){this._i_=this._n_[_Q7];if(this._i_==_f_._G_){continue }var _H_=this._g_._x_(this._i_);this._g_._I_(this,_H_)}this._m_=0;
this._l_.sort(_c_);var _Q7=0;while(_Q7<this._k_){var _J_=this._l_[_Q7];var _K_=this._g_._y_(_J_._a_);var _L_=this._g_._y_(_J_._b_);_F_._M_(_K_,_L_);++_Q7;while(_Q7<this._k_){var _N_=this._l_[_Q7];if(_N_._a_!=_J_._a_||_N_._b_!=_J_._b_){break }++_Q7}}},_I_:function(_F_,_CY){this._g_._I_(_F_,_CY)},/// @param input the ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1).
/// @param callback a callback class that is called for each proxy that is hit by the ray.
_zY:function(_F_,_Nv){
this._g_._zY(_F_,_Nv)},_O_:function(){return this._g_._P_()},_Q_:function(){return this._g_._R_()},_S_:function(){return this._g_._T_()},/// @param newOrigin the new origin with respect to the old origin
_U_:function(_V_){this._g_._U_(_V_)},_r_:function(_q_){this._n_[this._m_]=_q_;++this._m_},_t_:function(_q_){for(var _Q7=0;_Q7<this._m_;++_Q7){if(this._n_[_Q7]==_q_){this._n_[_Q7]=_f_._G_}}},_W_:function(_q_){if(_q_==this._i_){return !0}this._l_[this._k_]=new _9_();this._l_[this._k_]._a_=_EX(_q_,this._i_);
this._l_[this._k_]._b_=_GX(_q_,this._i_);++this._k_;return !0}};_f_._G_=-1;function _X_(){this._eZ=null;this._fZ=0;this._vY=0}_X_.prototype={_iW:function(_H7){this._eZ=_H7._eZ;this._fZ=_H7._fZ;this._vY=_H7._vY},_Ig:function(_QY,index){switch(_QY._wY()){case _uY._JY:{var _Y_=_QY;this._eZ=[_Y_._PY];this._fZ=1;this._vY=_Y_._vY}break;case _uY._LY:{var _Z_=_QY;this._eZ=_Z_._eZ;this._fZ=_Z_._fZ;this._vY=_Z_._vY}break;case _uY._MY:{var ___=_QY;_qV(0<=index&&index<___._fZ);this._eZ=[___._eZ[index]];if(index+1<___._fZ){
this._eZ[1]=___._eZ[index+1]}else {this._eZ[1]=___._eZ[0]}this._fZ=2;this._vY=___._vY}break;case _uY._KY:{var _sZ=_QY;this._eZ=[_sZ._1Z,_sZ._2Z];this._fZ=2;this._vY=_sZ._vY}break;default :_qV(!1)}},_WY:function(_da,_ea){var _001=0;var _101=this._eZ[0].x*_da+this._eZ[0].y*_ea;for(var _Q7=1;_Q7<this._fZ;++_Q7){var value=this._eZ[_Q7].x*_da+this._eZ[_Q7].y*_ea;if(value>_101){_001=_Q7;_101=value}}return _001},_XY:function(_da,_ea){return this._eZ[this._WY(_da,_ea)]},_nd:function(){return this._fZ},_YY:function(index){
_qV(0<=index&&index<this._fZ);return this._eZ[index]}};function _201(){this._301=0;this._H8=0;this._401=[0,0,0];this._501=[0,0,0]};function _601(){this._701=new _X_();this._801=new _X_();this._901=new _0X();this._a01=new _0X();this._b01=!1};function _c01(){this._d01=new _eW();this._e01=new _eW();this._HY=0;this._f01=0};function _g01(){this._h01=new _eW();this._i01=new _eW();this._u4=new _eW();this._k9=0;this._401=0;this._501=0}_g01.prototype={_iW:function(_H7){this._h01.x=_H7._h01.x;this._h01.y=_H7._h01.y;this._i01.x=_H7._i01.x;
this._i01.y=_H7._i01.y;this._u4.x=_H7._u4.x;this._u4.y=_H7._u4.y;this._k9=_H7._k9;this._401=_H7._401;this._501=_H7._501}};function _j01(){this._k01=[new _g01(),new _g01(),new _g01()];this._fZ=0}_j01.prototype={_l01:function(_G8,_701,_901,_801,_a01){_qV(_G8._H8<=3);this._fZ=_G8._H8;var vertices=this._k01;for(var _Q7=0;_Q7<this._fZ;++_Q7){var _y9=vertices[_Q7];_y9._401=_G8._401[_Q7];_y9._501=_G8._501[_Q7];var _m01=_701._YY(_y9._401);var _n01=_801._YY(_y9._501);_y9._h01.x=(_901.__v._Qt*_m01.x-_901.__v._ps*_m01.y)+_901._tx.x;
_y9._h01.y=(_901.__v._ps*_m01.x+_901.__v._Qt*_m01.y)+_901._tx.y;_y9._i01.x=(_a01.__v._Qt*_n01.x-_a01.__v._ps*_n01.y)+_a01._tx.x;_y9._i01.y=(_a01.__v._ps*_n01.x+_a01.__v._Qt*_n01.y)+_a01._tx.y;_y9._u4.x=_y9._i01.x-_y9._h01.x;_y9._u4.y=_y9._i01.y-_y9._h01.y;_y9._k9=0.0}if(this._fZ>1){var _o01=_G8._301;var _p01=this._q01();if(_p01<0.5*_o01||2.0*_o01<_p01||_p01<_tV){this._fZ=0}}if(this._fZ==0){var _y9=vertices[0];_y9._401=0;_y9._501=0;var _m01=_701._YY(0);var _n01=_801._YY(0);_y9._h01.x=(_901.__v._Qt*_m01.x-_901.__v._ps*_m01.y)+_901._tx.x;
_y9._h01.y=(_901.__v._ps*_m01.x+_901.__v._Qt*_m01.y)+_901._tx.y;_y9._i01.x=(_a01.__v._Qt*_n01.x-_a01.__v._ps*_n01.y)+_a01._tx.x;_y9._i01.y=(_a01.__v._ps*_n01.x+_a01.__v._Qt*_n01.y)+_a01._tx.y;_y9._u4.x=_y9._i01.x-_y9._h01.x;_y9._u4.y=_y9._i01.y-_y9._h01.y;_y9._k9=1.0;this._fZ=1}},_r01:function(_G8){_G8._301=this._q01();_G8._H8=this._fZ;var vertices=this._k01;for(var _Q7=0;_Q7<this._fZ;++_Q7){_G8._401[_Q7]=vertices[_Q7]._401;_G8._501[_Q7]=vertices[_Q7]._501}},_s01:function(_tx){switch(this._fZ){case 1:_tx.x=-this._k01[0]._u4.x;
_tx.y=-this._k01[0]._u4.y;break;case 2:{var _t01=this._k01[1]._u4.x-this._k01[0]._u4.x;var _u01=this._k01[1]._u4.y-this._k01[0]._u4.y;var _v01=_t01*-this._k01[0]._u4.y-_u01*-this._k01[0]._u4.x;if(_v01>0.0){_tx.x=-1.0*_u01;_tx.y=1.0*_t01}else {_tx.x=1.0*_u01;_tx.y=-1.0*_t01}}break;default :_qV(!1);_tx.x=_tx.y=0;break }},_w01:function(_tx){switch(this._fZ){case 1:_tx.x=this._k01[0]._u4.x;_tx.y=this._k01[0]._u4.y;break;case 2:_tx.x=(this._k01[0]._k9*this._k01[0]._u4.x)+(this._k01[1]._k9*this._k01[1]._u4.x);
_tx.y=(this._k01[0]._k9*this._k01[0]._u4.y)+(this._k01[1]._k9*this._k01[1]._u4.y);break;case 3:_tx.x=_tx.y=0;break;default :_qV(!1);_tx.x=_tx.y=0;break }},_x01:function(_y01,_z01){switch(this._fZ){case 1:_y01.x=this._k01[0]._h01.x;_y01.y=this._k01[0]._h01.y;_z01.x=this._k01[0]._i01.x;_z01.y=this._k01[0]._i01.y;break;case 2:_y01.x=(this._k01[0]._k9*this._k01[0]._h01.x)+(this._k01[1]._k9*this._k01[1]._h01.x);_y01.y=(this._k01[0]._k9*this._k01[0]._h01.y)+(this._k01[1]._k9*this._k01[1]._h01.y);_z01.x=(this._k01[0]._k9*this._k01[0]._i01.x)+(this._k01[1]._k9*this._k01[1]._i01.x);
_z01.y=(this._k01[0]._k9*this._k01[0]._i01.y)+(this._k01[1]._k9*this._k01[1]._i01.y);break;case 3:_y01.x=(this._k01[0]._k9*this._k01[0]._h01.x)+(this._k01[1]._k9*this._k01[1]._h01.x)+(this._k01[2]._k9*this._k01[2]._h01.x);_y01.y=(this._k01[0]._k9*this._k01[0]._h01.y)+(this._k01[1]._k9*this._k01[1]._h01.y)+(this._k01[2]._k9*this._k01[2]._h01.y);_z01.x=_y01.x;_z01.y=_y01.y;break;default :_qV(!1);break }},_q01:function(){switch(this._fZ){case 1:return 0.0;case 2:return _iX(this._k01[0]._u4,this._k01[1]._u4);
case 3:return(this._k01[1]._u4.x-this._k01[0]._u4.x)*(this._k01[2]._u4.y-this._k01[0]._u4.y)-(this._k01[1]._u4.y-this._k01[0]._u4.y)*(this._k01[2]._u4.x-this._k01[0]._u4.x);default :_qV(!1);return 0.0}},_A01:function(){var _B01=this._k01[0]._u4;var _C01=this._k01[1]._u4;var _t01=_C01.x-_B01.x;var _u01=_C01.y-_B01.y;var _D01=-(_B01.x*_t01+_B01.y*_u01);if(_D01<=0.0){this._k01[0]._k9=1.0;this._fZ=1;return }var _E01=_C01.x*_t01+_C01.y*_u01;if(_E01<=0.0){this._k01[1]._k9=1.0;this._fZ=1;this._k01[0]._iW(this._k01[1]);
return }var _F01=1.0/(_E01+_D01);this._k01[0]._k9=_E01*_F01;this._k01[1]._k9=_D01*_F01;this._fZ=2},_G01:function(){var _B01=this._k01[0]._u4;var _C01=this._k01[1]._u4;var _H01=this._k01[2]._u4;var _t01=_C01.x-_B01.x;var _u01=_C01.y-_B01.y;var _I01=_B01.x*_t01+_B01.y*_u01;var _J01=_C01.x*_t01+_C01.y*_u01;var _E01=_J01;var _D01=-_I01;var _K01=_H01.x-_B01.x;var _L01=_H01.y-_B01.y;var _M01=_B01.x*_K01+_B01.y*_L01;var _N01=_H01.x*_K01+_H01.y*_L01;var _O01=_N01;var _P01=-_M01;var _Q01=_H01.x-_C01.x;var _R01=_H01.y-_C01.y;
var _S01=_C01.x*_Q01+_C01.y*_R01;var _T01=_H01.x*_Q01+_H01.y*_R01;var _U01=_T01;var _V01=-_S01;var _W01=_t01*_L01-_u01*_K01;var _X01=_W01*(_C01.x*_H01.y-_C01.y*_H01.x);var _Y01=_W01*(_H01.x*_B01.y-_H01.y*_B01.x);var _Z01=_W01*(_B01.x*_C01.y-_B01.y*_C01.x);if(_D01<=0.0&&_P01<=0.0){this._k01[0]._k9=1.0;this._fZ=1;return }if(_E01>0.0&&_D01>0.0&&_Z01<=0.0){var _F01=1.0/(_E01+_D01);this._k01[0]._k9=_E01*_F01;this._k01[1]._k9=_D01*_F01;this._fZ=2;return }if(_O01>0.0&&_P01>0.0&&_Y01<=0.0){var __01=1.0/(_O01+_P01);
this._k01[0]._k9=_O01*__01;this._k01[2]._k9=_P01*__01;this._fZ=2;this._k01[1]._iW(this._k01[2]);return }if(_E01<=0.0&&_V01<=0.0){this._k01[1]._k9=1.0;this._fZ=1;this._k01[0]._iW(this._k01[1]);return }if(_O01<=0.0&&_U01<=0.0){this._k01[2]._k9=1.0;this._fZ=1;this._k01[0]._iW(this._k01[2]);return }if(_U01>0.0&&_V01>0.0&&_X01<=0.0){var _011=1.0/(_U01+_V01);this._k01[1]._k9=_U01*_011;this._k01[2]._k9=_V01*_011;this._fZ=2;this._k01[0]._iW(this._k01[2]);return }var _111=1.0/(_X01+_Y01+_Z01);this._k01[0]._k9=_X01*_111;
this._k01[1]._k9=_Y01*_111;this._k01[2]._k9=_Z01*_111;this._fZ=3}};var _211=new _j01();var _311=new _eW();var _411=new _eW();function _511(_Pv,_G8,_Nv){++_511._611;var _701=_Nv._701;var _801=_Nv._801;var _901=_Nv._901;var _a01=_Nv._a01;_211._l01(_G8,_701,_901,_801,_a01);var vertices=_211._k01;var _711=20;var _811=[0,0,0],_911=[0,0,0];var _a11=0;var _b11=_sV;var _c11=_b11;var _d11=0;while(_d11<_711){_a11=_211._fZ;for(var _Q7=0;_Q7<_a11;++_Q7){_811[_Q7]=vertices[_Q7]._401;_911[_Q7]=vertices[_Q7]._501}switch(_211._fZ){
case 1:break;case 2:_211._A01();break;case 3:_211._G01();break;default :_qV(!1)}if(_211._fZ==3){break }_211._w01(_411);_c11=_411._nW();_b11=_c11;_211._s01(_411);if(_411._nW()<_tV*_tV){break }var _e11=vertices[_211._fZ];_e11._401=_701._WY(_901.__v._Qt*-_411.x+_901.__v._ps*-_411.y,-_901.__v._ps*-_411.x+_901.__v._Qt*-_411.y);var _f11=_701._YY(_e11._401);_e11._h01.x=(_901.__v._Qt*_f11.x-_901.__v._ps*_f11.y)+_901._tx.x;_e11._h01.y=(_901.__v._ps*_f11.x+_901.__v._Qt*_f11.y)+_901._tx.y;_e11._501=_801._WY(_a01.__v._Qt*_411.x+_a01.__v._ps*_411.y,
-_a01.__v._ps*_411.x+_a01.__v._Qt*_411.y);var _g11=_801._YY(_e11._501);_e11._i01.x=(_a01.__v._Qt*_g11.x-_a01.__v._ps*_g11.y)+_a01._tx.x;_e11._i01.y=(_a01.__v._ps*_g11.x+_a01.__v._Qt*_g11.y)+_a01._tx.y;_e11._u4.x=_e11._i01.x-_e11._h01.x;_e11._u4.y=_e11._i01.y-_e11._h01.y;++_d11;++_511._h11;var _i11=!1;for(var _Q7=0;_Q7<_a11;++_Q7){if(_e11._401==_811[_Q7]&&_e11._501==_911[_Q7]){_i11=!0;break }}if(_i11){break }++_211._fZ}_511._j11=_GX(_511._j11,_d11);_211._x01(_Pv._d01,_Pv._e01);_Pv._HY=_iX(_Pv._d01,_Pv._e01);
_Pv._f01=_d11;_211._r01(_G8);if(_Nv._b01){var _k11=_701._vY;var _l11=_801._vY;if(_Pv._HY>_k11+_l11&&_Pv._HY>_tV){_Pv._HY-=_k11+_l11;_311.x=_Pv._e01.x-_Pv._d01.x;_311.y=_Pv._e01.y-_Pv._d01.y;_311._oW();_Pv._d01.x+=(_k11*_311.x);_Pv._d01.y+=(_k11*_311.y);_Pv._e01.x-=(_l11*_311.x);_Pv._e01.y-=(_l11*_311.y)}else {var _6i=(0.5*(_Pv._d01.x+_Pv._e01.x));var _7i=(0.5*(_Pv._d01.y+_Pv._e01.y));_Pv._d01.x=_6i;_Pv._d01.y=_7i;_Pv._e01.x=_6i;_Pv._e01.y=_7i;_Pv._HY=0.0}}}_511._611=0;_511._h11=0;_511._j11=0;var _m11=255;
function _n11(){}_n11.prototype={_401:0,_501:0,_o11:0,_p11:0,_mw:function(){this._401=this._501=this._o11=this._p11=0},_8g:function(){return this._401|(this._501<<8)|(this._o11<<16)|(this._p11<<24)},_iW:function(_Kg){this._401=_Kg._401;this._501=_Kg._501;this._o11=_Kg._o11;this._p11=_Kg._p11}};_n11._q11=0;_n11._r11=1;function _s11(){this._t11=new _eW();this._u11=0;this._v11=0;this.id=new _n11()};_s11.prototype={_N5:function(){var _w11=new _s11();_w11._t11.x=this._t11.x;_w11._t11.y=this._t11.y;_w11._u11=this._u11;
_w11._v11=this._v11;_w11.id._iW(this.id);return _w11}};function _x11(){this._y11=new Array(_vV);this._z11=new _eW();this._t11=new _eW();this.type=0;this._A11=0};_x11.prototype={_N5:function(){var _B11=new _x11();_B11._A11=this._A11;_B11.type=this.type;_B11._t11.x=this._t11.x;_B11._t11.y=this._t11.y;_B11._z11.x=this._z11.x;_B11._z11.y=this._z11.y;for(var _Q7=0;_Q7<this._A11;++_Q7)_B11._y11[_Q7]=this._y11[_Q7]._N5();return _B11},_iW:function(_B11){this._A11=_B11._A11;this.type=_B11.type;this._t11.x=_B11._t11.x;
this._t11.y=_B11._t11.y;this._z11.x=_B11._z11.x;this._z11.y=_B11._z11.y;for(var _Q7=0;_Q7<this._A11;++_Q7)this._y11[_Q7]=_B11._y11[_Q7]._N5()}};_x11._C11=0;_x11._D11=1;_x11._E11=2;_x11._F11=0;_x11._G11=1;_x11._H11=2;_x11._I11=3;function _J11(){this._IY=new _eW();this._y11=new Array(_vV);this._K11=new Array(_vV)}_J11.prototype={_L11:function(_B11,_M11,_N11,_O11,_P11){if(_B11._A11==0){return }switch(_B11.type){case _x11._C11:{this._IY.x=1;this._IY.y=0;var _Q11=(_M11.__v._Qt*_B11._t11.x-_M11.__v._ps*_B11._t11.y)+_M11._tx.x;
var _R11=(_M11.__v._ps*_B11._t11.x+_M11.__v._Qt*_B11._t11.y)+_M11._tx.y;var _S11=(_O11.__v._Qt*_B11._y11[0]._t11.x-_O11.__v._ps*_B11._y11[0]._t11.y)+_O11._tx.x;var _T11=(_O11.__v._ps*_B11._y11[0]._t11.x+_O11.__v._Qt*_B11._y11[0]._t11.y)+_O11._tx.y;var _U11=_Q11-_S11;var _V11=_R11-_T11;if((_U11*_U11+_V11*_V11)>_tV*_tV){this._IY.x=_S11-_Q11;this._IY.y=_T11-_R11;this._IY._oW()}var _W11=_Q11+(_N11*this._IY.x);var _X11=_R11+(_N11*this._IY.y);var _Y11=_S11-(_P11*this._IY.x);var _Z11=_T11-(_P11*this._IY.y);this._y11[0]=new _eW(0.5*(_W11+_Y11),
0.5*(_X11+_Z11));this._K11[0]=(_Y11-_W11)*this._IY.x+(_Z11-_X11)*this._IY.y}break;case _x11._D11:{this._IY.x=_M11.__v._Qt*_B11._z11.x-_M11.__v._ps*_B11._z11.y;this._IY.y=_M11.__v._ps*_B11._z11.x+_M11.__v._Qt*_B11._z11.y;var __11=(_M11.__v._Qt*_B11._t11.x-_M11.__v._ps*_B11._t11.y)+_M11._tx.x;var _021=(_M11.__v._ps*_B11._t11.x+_M11.__v._Qt*_B11._t11.y)+_M11._tx.y;for(var _Q7=0;_Q7<_B11._A11;++_Q7){var _121=(_O11.__v._Qt*_B11._y11[_Q7]._t11.x-_O11.__v._ps*_B11._y11[_Q7]._t11.y)+_O11._tx.x;var _221=(_O11.__v._ps*_B11._y11[_Q7]._t11.x+_O11.__v._Qt*_B11._y11[_Q7]._t11.y)+_O11._tx.y;
var _si=(_121-__11)*this._IY.x+(_221-_021)*this._IY.y;var _W11=_121+((_N11-_si)*this._IY.x);var _X11=_221+((_N11-_si)*this._IY.y);var _Y11=(_121-(_P11*this._IY.x));var _Z11=(_221-(_P11*this._IY.y));this._y11[_Q7]=new _eW(0.5*(_W11+_Y11),0.5*(_X11+_Z11));this._K11[_Q7]=(_Y11-_W11)*this._IY.x+(_Z11-_X11)*this._IY.y;}}break;case _x11._E11:{this._IY.x=_O11.__v._Qt*_B11._z11.x-_O11.__v._ps*_B11._z11.y;this._IY.y=_O11.__v._ps*_B11._z11.x+_O11.__v._Qt*_B11._z11.y;var __11=(_O11.__v._Qt*_B11._t11.x-_O11.__v._ps*_B11._t11.y)+_O11._tx.x;
var _021=(_O11.__v._ps*_B11._t11.x+_O11.__v._Qt*_B11._t11.y)+_O11._tx.y;for(var _Q7=0;_Q7<_B11._A11;++_Q7){var _121=(_M11.__v._Qt*_B11._y11[_Q7]._t11.x-_M11.__v._ps*_B11._y11[_Q7]._t11.y)+_M11._tx.x;var _221=(_M11.__v._ps*_B11._y11[_Q7]._t11.x+_M11.__v._Qt*_B11._y11[_Q7]._t11.y)+_M11._tx.y;var _si=(_121-__11)*this._IY.x+(_221-_021)*this._IY.y;var _Y11=_121+((_P11-_si)*this._IY.x);var _Z11=_221+((_P11-_si)*this._IY.y);var _W11=(_121-(_N11*this._IY.x));var _X11=(_221-(_N11*this._IY.y));this._y11[_Q7]=new _eW(0.5*(_W11+_Y11),
0.5*(_X11+_Z11));this._K11[_Q7]=(_W11-_Y11)*this._IY.x+(_X11-_Z11)*this._IY.y}this._IY.x=-this._IY.x;this._IY.y=-this._IY.y}break }}};function _321(_421,_521,_621,_721){for(var _Q7=0;_Q7<_vV;++_Q7){_421[_Q7]=_x11._F11;_521[_Q7]=_x11._F11}for(var _Q7=0;_Q7<_621._A11;++_Q7){var id=_621._y11[_Q7].id;_421[_Q7]=_x11._I11;for(var _R7=0;_R7<_721._A11;++_R7){if(_721._y11[_R7].id._8g()==id._8g()){_421[_Q7]=_x11._H11;break }}}for(var _Q7=0;_Q7<_721._A11;++_Q7){var id=_721._y11[_Q7].id;_521[_Q7]=_x11._G11;for(var _R7=0;
_R7<_621._A11;++_R7){if(_621._y11[_R7].id._8g()==id._8g()){_521[_Q7]=_x11._H11;break }}}}function _821(){this._y9=new _eW();this.id=new _n11()};function _921(){this._7Y=new _eW(),this._8Y=new _eW();this._SY=0};function _a21(){this._IY=new _eW();this._TY=0};function _b21(){this._UY=new _eW();this._VY=new _eW()}_b21.prototype={_iW:function(_c21){this._UY.x=_c21._UY.x;this._UY.y=_c21._UY.y;this._VY.x=_c21._VY.x;this._VY.y=_c21._VY.y},_N5:function(){var _d21=new _b21();_d21._UY.x=this._UY.x;_d21._UY.y=this._UY.y;
_d21._VY.x=this._VY.x;_d21._VY.y=this._VY.y;return _d21},_qW:function(){return(this._VY.x-this._UY.x)>=0.0&&(this._VY.y-this._UY.y)>=0.0&&this._UY._qW()&&this._VY._qW()},_e21:function(){return new _eW(0.5*(this._UY.x+this._VY.x),0.5*(this._UY.y+this._VY.y))},_f21:function(){return new _eW(0.5*(this._VY.x-this._UY.x),0.5*(this._VY.y-this._UY.y))},_g21:function(){return 2.0*((this._VY.x-this._UY.x)+(this._VY.y-this._UY.y))},_h21:function(_i21,_j21){if(_j21){this._UY.x=_EX(_i21._UY.x,_j21._UY.x);this._UY.y=_EX(_i21._UY.y,
_j21._UY.y);this._VY.x=_GX(_i21._VY.x,_j21._VY.x);this._VY.y=_GX(_i21._VY.y,_j21._VY.y)}else {this._UY.x=_EX(this._UY.x,_i21._UY.x);this._UY.y=_EX(this._UY.y,_i21._UY.y);this._VY.x=_GX(this._VY.x,_i21._VY.x);this._VY.y=_GX(this._VY.y,_i21._VY.y)}},_k21:function(_CY){return this._UY.x<=_CY._UY.x&&this._UY.y<=_CY._UY.y&&_CY._VY.x<=this._VY.x&&_CY._VY.y<=this._VY.y},_zY:function(_Pv,_Nv){var _l21=-_sV;var _m21=_sV;var _tx=_Nv._7Y;var _si=_eW._mW(_Nv._8Y,_Nv._7Y);var _n21=_CX(_si);var _IY=new _eW();for(var _Q7=0;
_Q7<2;++_Q7){if(_n21._kW(_Q7)<_tV){if(_tx._kW(_Q7)<this._UY._kW(_Q7)||this._VY._kW(_Q7)<_tx._kW(_Q7)){return !1}}else {var _o21=1.0/_si._kW(_Q7);var _p21=(this._UY._kW(_Q7)-_tx._kW(_Q7))*_o21;var _q21=(this._VY._kW(_Q7)-_tx._kW(_Q7))*_o21;var _ps=-1.0;if(_p21>_q21){var _Lx=_q21;_q21=_p21;_p21=_Lx;_ps=1.0}if(_p21>_l21){_IY.x=_IY.y=0;_IY._lW(_Q7,_ps);_l21=_p21}_m21=_EX(_m21,_q21);if(_l21>_m21){return !1}}}if(_l21<0.0||_Nv._SY<_l21){return !1}_Pv._TY=_l21;_Pv._IY.x=_IY.x;_Pv._IY.y=_IY.y;return !0}};function _r21(_B11,
_s21,_M11,_t21,_O11){_B11._A11=0;var _y01=_tX(_M11,_s21._PY);var _z01=_tX(_O11,_t21._PY);var _da=_z01.x-_y01.x;var _ea=_z01.y-_y01.y;var _u21=_da*_da+_ea*_ea;var _k11=_s21._vY,_l11=_t21._vY;var _3Y=_k11+_l11;if(_u21>_3Y*_3Y){return }_B11.type=_x11._C11;_B11._t11.x=_s21._PY.x;_B11._t11.y=_s21._PY.y;_B11._z11.x=_B11._z11.y=0;_B11._A11=1;_B11._y11[0]=new _s11();_B11._y11[0]._t11.x=_t21._PY.x;_B11._y11[0]._t11.y=_t21._PY.y;_B11._y11[0].id._mw()}function _v21(_B11,_w21,_M11,_t21,_O11){_B11._A11=0;var _Qt=_tX(_O11,
_t21._PY);var _x21=_vX(_M11,_Qt);var _y21=0;var _z21=-_sV;var _3Y=_w21._vY+_t21._vY;var vertexCount=_w21._fZ;var vertices=_w21._eZ;var _A21=_w21._xZ;for(var _Q7=0;_Q7<vertexCount;++_Q7){var _ps=_A21[_Q7].x*(_x21.x-vertices[_Q7].x)+_A21[_Q7].y*(_x21.y-vertices[_Q7].y);if(_ps>_3Y){return }if(_ps>_z21){_z21=_ps;_y21=_Q7}}var _B21=_y21;var _C21=_B21+1<vertexCount?_B21+1:0;var _xa=vertices[_B21];var _ya=vertices[_C21];if(_z21<_tV){_B11._A11=1;_B11.type=_x11._D11;_B11._z11.x=_A21[_y21].x;_B11._z11.y=_A21[_y21].y;_B11._t11.x=0.5*(_xa.x+_ya.x);
_B11._t11.y=0.5*(_xa.y+_ya.y);_B11._y11[0]=new _s11();_B11._y11[0]._t11.x=_t21._PY.x;_B11._y11[0]._t11.y=_t21._PY.y;_B11._y11[0].id._mw();return }var _D21=(_x21.x-_xa.x)*(_ya.x-_xa.x)+(_x21.y-_xa.y)*(_ya.y-_xa.y);var _E21=(_x21.x-_ya.x)*(_xa.x-_ya.x)+(_x21.y-_ya.y)*(_xa.y-_ya.y);if(_D21<=0.0){if(_jX(_x21,_xa)>_3Y*_3Y){return }_B11._A11=1;_B11.type=_x11._D11;_B11._z11.x=_x21.x-_xa.x;_B11._z11.y=_x21.y-_xa.y;_B11._z11._oW();_B11._t11.x=_xa.x;_B11._t11.y=_xa.y;_B11._y11[0]=new _s11();_B11._y11[0]._t11.x=_t21._PY.x;
_B11._y11[0]._t11.y=_t21._PY.y;_B11._y11[0].id._mw()}else if(_E21<=0.0){if(_jX(_x21,_ya)>_3Y*_3Y){return }_B11._A11=1;_B11.type=_x11._D11;_B11._z11.x=_x21.x-_ya.x;_B11._z11.y=_x21.y-_ya.y;_B11._z11._oW();_B11._t11.x=_ya.x;_B11._t11.y=_ya.y;_B11._y11[0]=new _s11();_B11._y11[0]._t11.x=_t21._PY.x;_B11._y11[0]._t11.y=_t21._PY.y;_B11._y11[0].id._mw()}else {var _F21=0.5*(_xa.x+_ya.x);var _G21=0.5*(_xa.y+_ya.y);var _H21=(_x21.x-_F21)*_A21[_B21].x+(_x21.y-_G21)*_A21[_B21].y;if(_H21>_3Y){return }_B11._A11=1;_B11.type=_x11._D11;
_B11._z11.x=_A21[_B21].x;_B11._z11.y=_A21[_B21].y;_B11._t11.x=_F21;_B11._t11.y=_G21;_B11._y11[0]=new _s11();_B11._y11[0]._t11.x=_t21._PY.x;_B11._y11[0]._t11.y=_t21._PY.y;_B11._y11[0].id._mw()}}function _I21(_J21,_K21,_L21,_M21,_N21){var _O21=_K21._fZ;var _P21=_M21._fZ;var _Q21=_K21._xZ;var _R21=_K21._eZ;var _S21=_M21._eZ;var _1X=_yX(_N21,_L21);var _001=0;var _T21=-_sV;for(var _Q7=0;_Q7<_O21;++_Q7){var _0b=_1X.__v._Qt*_Q21[_Q7].x-_1X.__v._ps*_Q21[_Q7].y;var _1b=_1X.__v._ps*_Q21[_Q7].x+_1X.__v._Qt*_Q21[_Q7].y;
var _bi=(_1X.__v._Qt*_R21[_Q7].x-_1X.__v._ps*_R21[_Q7].y)+_1X._tx.x;var _ei=(_1X.__v._ps*_R21[_Q7].x+_1X.__v._Qt*_R21[_Q7].y)+_1X._tx.y;var _U21=_sV;for(var _R7=0;_R7<_P21;++_R7){var _V21=_0b*(_S21[_R7].x-_bi)+_1b*(_S21[_R7].y-_ei);if(_V21<_U21){_U21=_V21}}if(_U21>_T21){_T21=_U21;_001=_Q7}}_J21[0]=_001;return _T21}function _W21(_Qt,_K21,_L21,_X21,_M21,_N21){var _Y21=_K21._xZ;var _P21=_M21._fZ;var _Z21=_M21._eZ;var __21=_M21._xZ;_qV(0<=_X21&&_X21<_K21._fZ);var _031=_L21.__v._Qt*_Y21[_X21].x-_L21.__v._ps*_Y21[_X21].y;
var _131=_L21.__v._ps*_Y21[_X21].x+_L21.__v._Qt*_Y21[_X21].y;var _231=_N21.__v._Qt*_031+_N21.__v._ps*_131;var _331=-_N21.__v._ps*_031+_N21.__v._Qt*_131;var index=0;var _431=_sV;for(var _Q7=0;_Q7<_P21;++_Q7){var _JZ=_231*__21[_Q7].x+_331*__21[_Q7].y;if(_JZ<_431){_431=_JZ;index=_Q7}}var _tZ=index;var _uZ=_tZ+1<_P21?_tZ+1:0;_Qt[0]._y9.x=(_N21.__v._Qt*_Z21[_tZ].x-_N21.__v._ps*_Z21[_tZ].y)+_N21._tx.x;_Qt[0]._y9.y=(_N21.__v._ps*_Z21[_tZ].x+_N21.__v._Qt*_Z21[_tZ].y)+_N21._tx.y;_Qt[0].id._401=_X21;_Qt[0].id._501=_tZ;
_Qt[0].id._o11=_n11._r11;_Qt[0].id._p11=_n11._q11;_Qt[1]._y9.x=(_N21.__v._Qt*_Z21[_uZ].x-_N21.__v._ps*_Z21[_uZ].y)+_N21._tx.x;_Qt[1]._y9.y=(_N21.__v._ps*_Z21[_uZ].x+_N21.__v._Qt*_Z21[_uZ].y)+_N21._tx.y;_Qt[1].id._401=_X21;_Qt[1].id._501=_uZ;_Qt[1].id._o11=_n11._r11;_Qt[1].id._p11=_n11._q11;}function _531(_B11,_631,_M11,_731,_O11){_B11._A11=0;var _831=_631._vY+_731._vY;var _931=[0];var _a31=_I21(_931,_631,_M11,_731,_O11);if(_a31>_831)return;var _b31=[0];var _c31=_I21(_b31,_731,_O11,_631,_M11);if(_c31>_831)return;
var _K21;var _M21;var _L21,_N21;var _X21=0;var _d31=0;var _e31=0.1*_zV;if(_c31>_a31+_e31){_K21=_731;_M21=_631;_L21=_O11;_N21=_M11;_X21=_b31[0];_B11.type=_x11._E11;_d31=1}else {_K21=_631;_M21=_731;_L21=_M11;_N21=_O11;_X21=_931[0];_B11.type=_x11._D11;_d31=0}_W21(_531._f31,_K21,_L21,_X21,_M21,_N21);var _O21=_K21._fZ;var _g31=_K21._eZ;var _h31=_X21;var _i31=_X21+1<_O21?_X21+1:0;var _j31=_g31[_h31];var _k31=_g31[_i31];_531._l31.x=_k31.x-_j31.x;_531._l31.y=_k31.y-_j31.y;_531._l31._oW();var _m31=1.0*_531._l31.y;var _n31=-1.0*_531._l31.x;
var __11=0.5*(_j31.x+_k31.x);var _021=0.5*(_j31.y+_k31.y);var _o31=_L21.__v._Qt*_531._l31.x-_L21.__v._ps*_531._l31.y;var _p31=_L21.__v._ps*_531._l31.x+_L21.__v._Qt*_531._l31.y;var _q31=1.0*_p31;var _r31=-1.0*_o31;_j31=_tX(_L21,_j31);_k31=_tX(_L21,_k31);var _s31=_q31*_j31.x+_r31*_j31.y;var _t31=-(_o31*_j31.x+_p31*_j31.y)+_831;var _u31=(_o31*_k31.x+_p31*_k31.y)+_831;var _v31=new Array(2);var _w31=new Array(2);var _x31;_x31=_y31(_v31,_531._f31,-_o31,-_p31,_t31,_h31);if(_x31<2)return;_x31=_y31(_w31,_v31,_o31,_p31,
_u31,_i31);if(_x31<2){return }_B11._z11.x=_m31;_B11._z11.y=_n31;_B11._t11.x=__11;_B11._t11.y=_021;var _A11=0;for(var _Q7=0;_Q7<_vV;++_Q7){var _z21=(_q31*_w31[_Q7]._y9.x+_r31*_w31[_Q7]._y9.y)-_s31;if(_z21<=_831){var _z31=_B11._y11[_A11]=new _s11();_z31._t11._iW(_vX(_N21,_w31[_Q7]._y9));_z31.id._iW(_w31[_Q7].id);if(_d31){var _A31=new _n11();_A31._iW(_z31.id);_z31.id._401=_A31._501;_z31.id._501=_A31._401;_z31.id._o11=_A31._p11;_z31.id._p11=_A31._o11}++_A11}}_B11._A11=_A11}_531._l31=new _eW();_531._f31=[new _821(),
new _821()];function _B31(_B11,_931,_M11,_t21,_O11){_B11._A11=0;var _C31=_vX(_M11,_tX(_O11,_t21._PY));var _rV=_931._1Z,_DW=_931._2Z;var _Ou=_DW.x-_rV.x;var _gz=_DW.y-_rV.y;var _w9=_Ou*(_DW.x-_C31.x)+_gz*(_DW.y-_C31.y);var _y9=_Ou*(_C31.x-_rV.x)+_gz*(_C31.y-_rV.y);var _3Y=_931._vY+_t21._vY;var _A31=new _n11();_A31._501=0;_A31._p11=_n11._q11;if(_y9<=0.0){var _D31=_rV;var _da=_C31.x-_D31.x;var _ea=_C31.y-_D31.y;var _Iy=_da*_da+_ea*_ea;if(_Iy>_3Y*_3Y){return }if(_931._4Z){var _E31=_931._0Z;var _F31=_rV;var _G31=_F31.x-_E31.x;
var _H31=_F31.y-_E31.y;var _D21=_G31*(_F31.x-_C31.x)+_H31*(_F31.y-_C31.y);if(_D21>0.0){return }}_A31._401=0;_A31._o11=_n11._q11;_B11._A11=1;_B11.type=_x11._C11;_B11._z11.x=_B11._z11.y=0;_B11._t11.x=_D31.x;_B11._t11.y=_D31.y;_B11._y11[0]=new _s11();_B11._y11[0].id._iW(_A31);_B11._y11[0]._t11.x=_t21._PY.x;_B11._y11[0]._t11.y=_t21._PY.y;return }if(_w9<=0.0){var _D31=_DW;var _da=_C31.x-_D31.x;var _ea=_C31.y-_D31.y;var _Iy=_da*_da+_ea*_ea;if(_Iy>_3Y*_3Y){return }if(_931._5Z){var _I31=_931._3Z;var _J31=_DW;var _K31=_I31.x-_J31.x;
var _L31=_I31.y-_J31.y;var _ya=_K31*(_C31.x-_J31.x)+_L31*(_C31.y-_J31.y);if(_ya>0.0){return }}_A31._401=1;_A31._o11=_n11._q11;_B11._A11=1;_B11.type=_x11._C11;_B11._z11.x=_B11._z11.y=0;_B11._t11.x=_D31.x;_B11._t11.y=_D31.y;_B11._y11[0]=new _s11();_B11._y11[0].id._iW(_A31);_B11._y11[0]._t11.x=_t21._PY.x;_B11._y11[0]._t11.y=_t21._PY.y;return }var _M31=_Ou*_Ou+_gz*_gz;_qV(_M31>0.0);var _N31=(1.0/_M31)*((_w9*_rV.x)+(_y9*_DW.x));var _O31=(1.0/_M31)*((_w9*_rV.y)+(_y9*_DW.y));var _da=_C31.x-_N31;var _ea=_C31.y-_O31;
var _Iy=_da*_da+_ea*_ea;if(_Iy>_3Y*_3Y){return }var _0b=-_gz;var _1b=_Ou;if(_0b*(_C31.x-_rV.x)+_1b*(_C31.y-_rV.y)<0.0){_0b=-_0b;_1b=-_1b}_A31._401=0;_A31._o11=_n11._r11;_B11._A11=1;_B11.type=_x11._D11;_B11._z11.x=_0b;_B11._z11.y=_1b;_B11._z11._oW();_B11._t11.x=_rV.x;_B11._t11.y=_rV.y;_B11._y11[0]=new _s11();_B11._y11[0].id._iW(_A31);_B11._y11[0]._t11.x=_t21._PY.x;_B11._y11[0]._t11.y=_t21._PY.y}function _P31(){this.type=0;this.index=0;this._z21=0}_P31._Q31=0;_P31._R31=1;_P31._S31=2;function _T31(){this.vertices=new Array(_wV);
this._A21=new Array(_wV);this._H8=0};function _U31(){this._tZ=0,this._uZ=0;this._xa=new _eW(),this._ya=new _eW();this._IY=new _eW();this._V31=new _eW();this._t31=0;this._W31=new _eW();this._u31=0;};function _X31(){this._Y31=new _T31();this._Z31=new _0X();this.__31=new _eW();this._041=new _eW(),this._141=new _eW(),this._241=new _eW(),this._341=new _eW();this._441=new _eW(),this._541=new _eW(),this._641=new _eW();this._741=new _eW();this._841=0,this._941=0;this._a41=new _eW(),this._b41=new _eW();this._vY=0;this._c41=!1}
_X31._d41=new _eW();_X31._e41=new _eW();_X31._f41=new _eW();_X31.prototype={_g41:function(_B11,_931,_M11,_h41,_O11){this._Z31._iW(_yX(_M11,_O11));this.__31.x=(this._Z31.__v._Qt*_h41._wZ.x-this._Z31.__v._ps*_h41._wZ.y)+this._Z31._tx.x;this.__31.y=(this._Z31.__v._ps*_h41._wZ.x+this._Z31.__v._Qt*_h41._wZ.y)+this._Z31._tx.y;this._041.x=_931._0Z.x;this._041.y=_931._0Z.y;this._141.x=_931._1Z.x;this._141.y=_931._1Z.y;this._241.x=_931._2Z.x;this._241.y=_931._2Z.y;this._341.x=_931._3Z.x;this._341.y=_931._3Z.y;
var _i41=_931._4Z;var _j41=_931._5Z;_X31._d41.x=this._241.x-this._141.x;_X31._d41.y=this._241.y-this._141.y;_X31._d41._oW();this._541.x=_X31._d41.y;this._541.y=-_X31._d41.x;var _k41=this._541.x*(this.__31.x-this._141.x)+this._541.y*(this.__31.y-this._141.y);var _l41=0.0,_m41=0.0;var _n41=!1,_o41=!1;if(_i41){_X31._e41.x=this._141.x-this._041.x;_X31._e41.y=this._141.y-this._041.y;_X31._e41._oW();this._441.x=_X31._e41.y;this._441.y=-_X31._e41.x;_n41=(_X31._e41.x*_X31._d41.y-_X31._e41.y*_X31._d41.x)>=0;_l41=this._441.x*(this.__31.x-this._041.x)+this._441.y*(this.__31.y-this._041.y)}
if(_j41){_X31._f41.x=this._341.x-this._241.x;_X31._f41.y=this._341.y-this._241.y;_X31._f41._oW();this._641.x=_X31._f41.y;this._641.y=-_X31._f41.x;_o41=(_X31._d41.x*_X31._f41.y-_X31._d41.y*_X31._f41.x)>0.0;_m41=this._641.x*(this.__31.x-this._241.x)+this._641.y*(this.__31.y-this._241.y)}if(_i41&&_j41){if(_n41&&_o41){this._c41=_l41>=0.0||_k41>=0.0||_m41>=0.0;if(this._c41){this._741.x=this._541.x;this._741.y=this._541.y;this._a41.x=this._441.x;this._a41.y=this._441.y;this._b41.x=this._641.x;this._b41.y=this._641.y}
else {this._741.x=-this._541.x;this._741.y=-this._541.y;this._a41.x=-this._541.x;this._a41.y=-this._541.y;this._b41.x=-this._541.x;this._b41.y=-this._541.y}}else if(_n41){this._c41=_l41>=0.0||(_k41>=0.0&&_m41>=0.0);if(this._c41){this._741.x=this._541.x;this._741.y=this._541.y;this._a41.x=this._441.x;this._a41.y=this._441.y;this._b41.x=this._541.x;this._b41.y=this._541.y}else {this._741.x=-this._541.x;this._741.y=-this._541.y;this._a41.x=-this._641.x;this._a41.y=-this._641.y;this._b41.x=-this._541.x;
this._b41.y=-this._541.y}}else if(_o41){this._c41=_m41>=0.0||(_l41>=0.0&&_k41>=0.0);if(this._c41){this._741.x=this._541.x;this._741.y=this._541.y;this._a41.x=this._541.x;this._a41.y=this._541.y;this._b41.x=this._641.x;this._b41.y=this._641.y}else {this._741.x=-this._541.x;this._741.y=-this._541.y;this._a41.x=-this._541.x;this._a41.y=-this._541.y;this._b41.x=-this._441.x;this._b41.y=-this._441.y}}else {this._c41=_l41>=0.0&&_k41>=0.0&&_m41>=0.0;if(this._c41){this._741.x=this._541.x;this._741.y=this._541.y;
this._a41.x=this._541.x;this._a41.y=this._541.y;this._b41.x=this._541.x;this._b41.y=this._541.y}else {this._741.x=-this._541.x;this._741.y=-this._541.y;this._a41.x=-this._641.x;this._a41.y=-this._641.y;this._b41.x=-this._441.x;this._b41.y=-this._441.y}}}else if(_i41){if(_n41){this._c41=_l41>=0.0||_k41>=0.0;if(this._c41){this._741.x=this._541.x;this._741.y=this._541.y;this._a41.x=this._441.x;this._a41.y=this._441.y;this._b41.x=-this._541.x;this._b41.y=-this._541.y}else {this._741.x=-this._541.x;this._741.y=-this._541.y;
this._a41.x=this._541.x;this._a41.y=this._541.y;this._b41.x=-this._541.x;this._b41.y=-this._541.y}}else {this._c41=_l41>=0.0&&_k41>=0.0;if(this._c41){this._741.x=this._541.x;this._741.y=this._541.y;this._a41.x=this._541.x;this._a41.y=this._541.y;this._b41.x=-this._541.x;this._b41.y=-this._541.y}else {this._741.x=-this._541.x;this._741.y=-this._541.y;this._a41.x=this._541.x;this._a41.y=this._541.y;this._b41.x=-this._441.x;this._b41.y=-this._441.y}}}else if(_j41){if(_o41){this._c41=_k41>=0.0||_m41>=0.0;
if(this._c41){this._741.x=this._541.x;this._741.y=this._541.y;this._a41.x=-this._541.x;this._a41.y=-this._541.y;this._b41.x=this._641.x;this._b41.y=this._641.y}else {this._741.x=-this._541.x;this._741.y=-this._541.y;this._a41.x=-this._541.x;this._a41.y=-this._541.y;this._b41.x=this._541.x;this._b41.y=this._541.y}}else {this._c41=_k41>=0.0&&_m41>=0.0;if(this._c41){this._741.x=this._541.x;this._741.y=this._541.y;this._a41.x=-this._541.x;this._a41.y=-this._541.y;this._b41.x=this._541.x;this._b41.y=this._541.y}
else {this._741.x=-this._541.x;this._741.y=-this._541.y;this._a41.x=-this._641.x;this._a41.y=-this._641.y;this._b41.x=this._541.x;this._b41.y=this._541.y}}}else {this._c41=_k41>=0.0;if(this._c41){this._741.x=this._541.x;this._741.y=this._541.y;this._a41.x=-this._541.x;this._a41.y=-this._541.y;this._b41.x=-this._541.x;this._b41.y=-this._541.y}else {this._741.x=-this._541.x;this._741.y=-this._541.y;this._a41.x=this._541.x;this._a41.y=this._541.y;this._b41.x=this._541.x;this._b41.y=this._541.y}}this._Y31._H8=_h41._fZ;
for(var _Q7=0;_Q7<_h41._fZ;++_Q7){this._Y31.vertices[_Q7]=_tX(this._Z31,_h41._eZ[_Q7]);this._Y31._A21[_Q7]=_rX(this._Z31.__v,_h41._xZ[_Q7])}this._vY=2.0*_BV;_B11._A11=0;var _p41=this._q41();if(_p41.type==_P31._Q31){return }if(_p41._z21>this._vY){return }var _r41=this._s41();if(_r41.type!=_P31._Q31&&_r41._z21>this._vY){return }var _t41=0.98;var _u41=0.001;var _v41=new _P31();if(_r41.type==_P31._Q31){_v41=_p41}else if(_r41._z21>_t41*_p41._z21+_u41){_v41=_r41}else {_v41=_p41}var _EZ=new Array(2);var _w41=new _U31();
if(_v41.type==_P31._R31){_B11.type=_x11._D11;var _001=0;var _101=this._741.x*this._Y31._A21[0].x+this._741.y*this._Y31._A21[0].y;for(var _Q7=1;_Q7<this._Y31._H8;++_Q7){var value=this._741.x*this._Y31._A21[_Q7].x+this._741.y*this._Y31._A21[_Q7].y;if(value<_101){_101=value;_001=_Q7}}var _tZ=_001;var _uZ=_tZ+1<this._Y31._H8?_tZ+1:0;_EZ[0]=new _821();_EZ[0]._y9.x=this._Y31.vertices[_tZ].x;_EZ[0]._y9.y=this._Y31.vertices[_tZ].y;_EZ[0].id._401=0;_EZ[0].id._501=_tZ;_EZ[0].id._o11=_n11._r11;_EZ[0].id._p11=_n11._q11;
_EZ[1]=new _821();_EZ[1]._y9.x=this._Y31.vertices[_uZ].x;_EZ[1]._y9.y=this._Y31.vertices[_uZ].y;_EZ[1].id._401=0;_EZ[1].id._501=_uZ;_EZ[1].id._o11=_n11._r11;_EZ[1].id._p11=_n11._q11;if(this._c41){_w41._tZ=0;_w41._uZ=1;_w41._xa.x=this._141.x;_w41._xa.y=this._141.y;_w41._ya.x=this._241.x;_w41._ya.y=this._241.y;_w41._IY.x=this._541.x;_w41._IY.y=this._541.y}else {_w41._tZ=1;_w41._uZ=0;_w41._xa.x=this._241.x;_w41._xa.y=this._241.y;_w41._ya.x=this._141.x;_w41._ya.y=this._141.y;_w41._IY.x=-this._541.x;_w41._IY.y=-this._541.y}
}else {_B11.type=_x11._E11;_EZ[0]=new _821();_EZ[0]._y9=this._141;_EZ[0].id._401=0;_EZ[0].id._501=_v41.index;_EZ[0].id._o11=_n11._q11;_EZ[0].id._p11=_n11._r11;_EZ[1]=new _821();_EZ[1]._y9=this._241;_EZ[1].id._401=0;_EZ[1].id._501=_v41.index;_EZ[1].id._o11=_n11._q11;_EZ[1].id._p11=_n11._r11;_w41._tZ=_v41.index;_w41._uZ=_w41._tZ+1<this._Y31._H8?_w41._tZ+1:0;_w41._xa.x=this._Y31.vertices[_w41._tZ].x;_w41._xa.y=this._Y31.vertices[_w41._tZ].y;_w41._ya.x=this._Y31.vertices[_w41._uZ].x;_w41._ya.y=this._Y31.vertices[_w41._uZ].y;
_w41._IY.x=this._Y31._A21[_w41._tZ].x;_w41._IY.y=this._Y31._A21[_w41._tZ].y}_w41._V31.x=_w41._IY.y;_w41._V31.y=-_w41._IY.x;_w41._W31.x=-_w41._V31.x;_w41._W31.y=-_w41._V31.y;_w41._t31=_w41._V31.x*_w41._xa.x+_w41._V31.y*_w41._xa.y;_w41._u31=_w41._W31.x*_w41._ya.x+_w41._W31.y*_w41._ya.y;var _v31=new Array(2);var _w31=new Array(2);var _x31;_x31=_y31(_v31,_EZ,_w41._V31.x,_w41._V31.y,_w41._t31,_w41._tZ);if(_x31<_vV){return }_x31=_y31(_w31,_v31,_w41._W31.x,_w41._W31.y,_w41._u31,_w41._uZ);if(_x31<_vV){return }
if(_v41.type==_P31._R31){_B11._z11.x=_w41._IY.x;_B11._z11.y=_w41._IY.y;_B11._t11.x=_w41._xa.x;_B11._t11.y=_w41._xa.y}else {_B11._z11.x=_h41._xZ[_w41._tZ].x;_B11._z11.y=_h41._xZ[_w41._tZ].y;_B11._t11.x=_h41._eZ[_w41._tZ].x;_B11._t11.y=_h41._eZ[_w41._tZ].y}var _A11=0;for(var _Q7=0;_Q7<_vV;++_Q7){var _z21=_w41._IY.x*(_w31[_Q7]._y9.x-_w41._xa.x)+_w41._IY.y*(_w31[_Q7]._y9.y-_w41._xa.y);if(_z21<=this._vY){var _z31=_B11._y11[_A11]=new _s11();if(_v41.type==_P31._R31){_z31._t11._iW(_vX(this._Z31,_w31[_Q7]._y9));
_z31.id._iW(_w31[_Q7].id)}else {_z31._t11.x=_w31[_Q7]._y9.x;_z31._t11.y=_w31[_Q7]._y9.y;_z31.id._o11=_w31[_Q7].id._p11;_z31.id._p11=_w31[_Q7].id._o11;_z31.id._401=_w31[_Q7].id._501;_z31.id._501=_w31[_Q7].id._401;}++_A11}}_B11._A11=_A11},_q41:function(){var _5Y=new _P31();_5Y.type=_P31._R31;_5Y.index=this._c41?0:1;_5Y._z21=Number.MAX_VALUE;for(var _Q7=0;_Q7<this._Y31._H8;++_Q7){var _ps=this._741.x*(this._Y31.vertices[_Q7].x-this._141.x)+this._741.y*(this._Y31.vertices[_Q7].y-this._141.y);if(_ps<_5Y._z21){
_5Y._z21=_ps}}return _5Y},_s41:function(){var _5Y=new _P31();_5Y.type=_P31._Q31;_5Y.index=-1;_5Y._z21=-Number.MAX_VALUE;var _x41=-this._741.y;var _y41=this._741.x;for(var _Q7=0;_Q7<this._Y31._H8;++_Q7){var _0b=-this._Y31._A21[_Q7].x;var _1b=-this._Y31._A21[_Q7].y;var _bq=_0b*(this._Y31.vertices[_Q7].x-this._141.x)+_1b*(this._Y31.vertices[_Q7].y-this._141.y);var _cq=_0b*(this._Y31.vertices[_Q7].x-this._241.x)+_1b*(this._Y31.vertices[_Q7].y-this._241.y);var _ps=_EX(_bq,_cq);if(_ps>this._vY){_5Y.type=_P31._S31;
_5Y.index=_Q7;_5Y._z21=_ps;return _5Y}if(_0b*_x41+_1b*_y41>=0.0){if((_0b-this._b41.x)*this._741.x+(_1b-this._b41.y)*this._741.y<-_AV){continue }}else {if((_0b-this._a41.x)*this._741.x+(_1b-this._a41.y)*this._741.y<-_AV){continue;}}if(_ps>_5Y._z21){_5Y.type=_P31._S31;_5Y.index=_Q7;_5Y._z21=_ps}}return _5Y}};_X31._z41=0;_X31._A41=1;_X31._B41=2;function _C41(_B11,_931,_M11,_h41,_O11){_C41._D41._g41(_B11,_931,_M11,_h41,_O11)}_C41._D41=new _X31();function _y31(_E41,_F41,_q31,_r31,offset,_G41){var _H41=0;var _I41=(_q31*_F41[0]._y9.x+_r31*_F41[0]._y9.y)-offset;
var _J41=(_q31*_F41[1]._y9.x+_r31*_F41[1]._y9.y)-offset;if(_I41<=0.0)_E41[_H41++]=_F41[0];if(_J41<=0.0)_E41[_H41++]=_F41[1];if(_I41*_J41<0.0){var _K41=_I41/(_I41-_J41);_E41[_H41]=new _821();_E41[_H41]._y9.x=_F41[0]._y9.x+(_K41*(_F41[1]._y9.x-_F41[0]._y9.x));_E41[_H41]._y9.y=_F41[0]._y9.y+(_K41*(_F41[1]._y9.y-_F41[0]._y9.y));_E41[_H41].id._401=_G41;_E41[_H41].id._501=_F41[0].id._501;_E41[_H41].id._o11=_n11._q11;_E41[_H41].id._p11=_n11._r11;++_H41}return _H41}function _L41(_M41,_401,_N41,_501,_M11,_O11){
_L41._Nv._701._Ig(_M41,_401);_L41._Nv._801._Ig(_N41,_501);_L41._Nv._901=_M11;_L41._Nv._a01=_O11;_L41._Nv._b01=!0;_L41._G8._H8=0;_511(_L41._Pv,_L41._G8,_L41._Nv);return _L41._Pv._HY<10.0*_tV;}_L41._Nv=new _601();_L41._G8=new _201();_L41._Pv=new _c01();function _C_(_k9,_M7){return !((_M7._UY.x-_k9._VY.x)>0.0||(_M7._UY.y-_k9._VY.y)>0.0||(_k9._UY.x-_M7._VY.x)>0.0||(_k9._UY.y-_M7._VY.y)>0.0)}var _O41=-1;function _P41(){this._CY=new _b21();this._p_=null;this.parent=0;this._Q41=this._R41=this.height=0}_P41.prototype={
_S41:function(){return this._Q41==_O41}};function _h_(){this._T41=_O41;this._U41=16;this._V41=0;this._W41=new Array(this._U41);for(var _Q7=0;_Q7<this._U41-1;++_Q7){this._W41[_Q7]=new _P41();this._W41[_Q7].parent=_Q7+1;this._W41[_Q7].height=-1}this._W41[this._U41-1]=new _P41();this._W41[this._U41-1].parent=_O41;this._W41[this._U41-1].height=-1;this._X41=0;this._Y41=0;this._Z41=0}_h_.__41=new _eW(_xV,_xV);_h_.prototype={_o_:function(_CY,_p_){var _q_=this._051();this._W41[_q_]._CY._UY._iW(_eW._mW(_CY._UY,_h_.__41));
this._W41[_q_]._CY._VY._iW(_eW._Qe(_CY._VY,_h_.__41));this._W41[_q_]._p_=_p_;this._W41[_q_].height=0;this._151(_q_);return _q_},_s_:function(_q_){_qV(0<=_q_&&_q_<this._U41);_qV(this._W41[_q_]._S41());this._251(_q_);this._351(_q_)},/// @return true if the proxy was re-inserted.
_u_:function(_q_,_CY,_v_){_qV(0<=_q_&&_q_<this._U41);_qV(this._W41[_q_]._S41());if(this._W41[_q_]._CY._k21(_CY)){return !1}this._251(_q_);this._W41[_q_]._CY._iW(_CY);this._W41[_q_]._CY._UY._mW(_h_.__41);this._W41[_q_]._CY._VY._Qe(_h_.__41);
var _si=_eW.Multiply(_yV,_v_);if(_si.x<0.0){this._W41[_q_]._CY._UY.x+=_si.x}else {this._W41[_q_]._CY._VY.x+=_si.x;}if(_si.y<0.0){this._W41[_q_]._CY._UY.y+=_si.y}else {this._W41[_q_]._CY._VY.y+=_si.y}this._151(_q_);return !0},/// @return the proxy user data or 0 if the id is invalid.
_y_:function(_q_){_qV(0<=_q_&&_q_<this._U41);return this._W41[_q_]._p_},_x_:function(_q_){_qV(0<=_q_&&_q_<this._U41);return this._W41[_q_]._CY},_I_:function(_F_,_CY){var _YU=[];_YU.push(this._T41);while(_YU.length>0){var _451=_YU.pop();
if(_451==_O41){continue }var __g=this._W41[_451];if(_C_(__g._CY,_CY)){if(__g._S41()){var _551=_F_._W_(_451);if(_551==!1){return }}else {_YU.push(__g._Q41);_YU.push(__g._R41)}}}},/// @param input the ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1).
/// @param callback a callback class that is called for each proxy that is hit by the ray.
_zY:function(_F_,_Nv){var _7Y=_Nv._7Y;var _8Y=_Nv._8Y;var _J7=_eW._mW(_8Y,_7Y);_qV(_J7._nW()>0.0);_J7._oW();var _y9=_fX(1.0,_J7);var _651=_CX(_y9);
var _SY=_Nv._SY;var _751=new _b21();{var _L7=_eW._Qe(_7Y,_eW.Multiply(_SY,_eW._mW(_8Y,_7Y)));_751._UY._iW(_FX(_7Y,_L7));_751._VY._iW(_HX(_7Y,_L7))}var _YU=[];_YU.push(this._T41);while(_YU.length>0){var _451=_YU.pop();if(_451==_O41){continue }var __g=this._W41[_451];if(_C_(__g._CY,_751)==!1){continue }var _Qt=__g._CY._e21();var _v4=__g._CY._f21();var _z21=_BX(_cX(_y9,_eW._mW(_7Y,_Qt)))-_cX(_651,_v4);if(_z21>0.0){continue }if(__g._S41()){var _851=new _921();_851._7Y._iW(_Nv._7Y);_851._8Y._iW(_Nv._8Y);_851._SY=_SY;
var value=_F_._951(_851,_451);if(value==0.0){return }if(value>0.0){_SY=value;var _q21=_eW._Qe(_7Y,_eW.Multiply(_SY,_eW._mW(_8Y,_7Y)));_751._UY._iW(_FX(_7Y,_q21));_751._VY._iW(_HX(_7Y,_q21))}}else {_YU.push(__g._Q41);_YU.push(__g._R41)}}},__Z:function(){this._a51(this._T41);this._b51(this._T41);var _c51=0;var _d51=this._X41;while(_d51!=_O41){_qV(0<=_d51&&_d51<this._U41);_d51=this._W41[_d51].parent;++_c51}_qV(this._P_()==this._e51());_qV(this._V41+_c51==this._U41)},_P_:function(){if(this._T41==_O41){return 0;
}return this._W41[this._T41].height},_R_:function(){var _f51=0;for(var _Q7=0;_Q7<this._U41;++_Q7){var __g=this._W41[_Q7];if(__g.height<=1){continue }_qV(__g._S41()==!1);var _Q41=__g._Q41;var _R41=__g._R41;var _g51=_BX(this._W41[_R41].height-this._W41[_Q41].height);_f51=_GX(_f51,_g51)}return _f51},_T_:function(){if(this._T41==_O41){return 0.0}var _a6=this._W41[this._T41];var _h51=_a6._CY._g21();var _i51=0.0;for(var _Q7=0;_Q7<this._U41;++_Q7){var __g=this._W41[_Q7];if(__g.height<0){continue }_i51+=__g._CY._g21();
}return _i51/_h51},_j51:function(){var _k51=new Array(this._V41);var _H8=0;for(var _Q7=0;_Q7<this._U41;++_Q7){if(this._W41[_Q7].height<0){continue }if(this._W41[_Q7]._S41()){this._W41[_Q7].parent=_O41;_k51[_H8]=_Q7;++_H8}else {this._351(_Q7)}}while(_H8>1){var _l51=_sV;var _m51=-1,_n51=-1;for(_Q7=0;_Q7<_H8;++_Q7){var _o51=this._W41[_k51[_Q7]]._CY;for(var _R7=_Q7+1;_R7<_H8;++_R7){var _p51=this._W41[_k51[_R7]]._CY;var _M7=new _b21();_M7._h21(_o51,_p51);var _q51=_M7._g21();if(_q51<_l51){_m51=_Q7;_n51=_R7;_l51=_q51}
}}var _r51=_k51[_m51];var _s51=_k51[_n51];var _Q41=this._W41[_r51];var _R41=this._W41[_s51];var _t51=this._051();var parent=this._W41[_t51];parent._Q41=_r51;parent._R41=_s51;parent.height=1+_GX(_Q41.height,_R41.height);parent._CY._h21(_Q41._CY,_R41._CY);parent.parent=_O41;_Q41.parent=_t51;_R41.parent=_t51;_k51[_n51]=_k51[_H8-1];_k51[_m51]=_t51;--_H8}this._T41=_k51[0];this.__Z()},/// @param newOrigin the new origin with respect to the old origin
_U_:function(_V_){for(var _Q7=0;_Q7<this._U41;++_Q7){this._W41[_Q7]._CY._UY._mW(_V_);
this._W41[_Q7]._CY._VY._mW(_V_)}},_051:function(){if(this._X41==_O41){_qV(this._V41==this._U41);var _u51=this._W41;this._U41*=2;this._W41=_u51.concat(new Array(this._U41-this._V41));for(var _Q7=this._V41;_Q7<this._U41-1;++_Q7){this._W41[_Q7]=new _P41();this._W41[_Q7].parent=_Q7+1;this._W41[_Q7].height=-1}this._W41[this._U41-1]=new _P41();this._W41[this._U41-1].parent=_O41;this._W41[this._U41-1].height=-1;this._X41=this._V41}var _451=this._X41;this._X41=this._W41[_451].parent;this._W41[_451].parent=_O41;
this._W41[_451]._Q41=_O41;this._W41[_451]._R41=_O41;this._W41[_451].height=0;this._W41[_451]._p_=null;++this._V41;return _451},_351:function(_451){_qV(0<=_451&&_451<this._U41);_qV(0<this._V41);this._W41[_451].parent=this._X41;this._W41[_451].height=-1;this._X41=_451;--this._V41},_151:function(_v51){++this._Z41;if(this._T41==_O41){this._T41=_v51;this._W41[this._T41].parent=_O41;return }var _w51=this._W41[_v51]._CY;var index=this._T41;while(this._W41[index]._S41()==!1){var _Q41=this._W41[index]._Q41;var _R41=this._W41[index]._R41;
var _OZ=this._W41[index]._CY._g21();var _x51=new _b21();_x51._h21(this._W41[index]._CY,_w51);var _y51=_x51._g21();var _q51=2.0*_y51;var _z51=2.0*(_y51-_OZ);var _A51;var _CY;if(this._W41[_Q41]._S41()){_CY=new _b21();_CY._h21(_w51,this._W41[_Q41]._CY);_A51=_CY._g21()+_z51}else {_CY=new _b21();_CY._h21(_w51,this._W41[_Q41]._CY);var _B51=this._W41[_Q41]._CY._g21();var _C51=_CY._g21();_A51=(_C51-_B51)+_z51}var _D51;if(this._W41[_R41]._S41()){_CY=new _b21();_CY._h21(_w51,this._W41[_R41]._CY);_D51=_CY._g21()+_z51;}else {
_CY=new _b21();_CY._h21(_w51,this._W41[_R41]._CY);var _B51=this._W41[_R41]._CY._g21();var _C51=_CY._g21();_D51=_C51-_B51+_z51}if(_q51<_A51&&_q51<_D51){break }if(_A51<_D51){index=_Q41}else {index=_R41}}var _E51=index;var _F51=this._W41[_E51].parent;var _G51=this._051();this._W41[_G51].parent=_F51;this._W41[_G51]._p_=null;this._W41[_G51]._CY._h21(_w51,this._W41[_E51]._CY);this._W41[_G51].height=this._W41[_E51].height+1;if(_F51!=_O41){if(this._W41[_F51]._Q41==_E51){this._W41[_F51]._Q41=_G51;}else {this._W41[_F51]._R41=_G51}
this._W41[_G51]._Q41=_E51;this._W41[_G51]._R41=_v51;this._W41[_E51].parent=_G51;this._W41[_v51].parent=_G51}else {this._W41[_G51]._Q41=_E51;this._W41[_G51]._R41=_v51;this._W41[_E51].parent=_G51;this._W41[_v51].parent=_G51;this._T41=_G51}index=this._W41[_v51].parent;while(index!=_O41){index=this._H51(index);var _Q41=this._W41[index]._Q41;var _R41=this._W41[index]._R41;_qV(_Q41!=_O41);_qV(_R41!=_O41);this._W41[index].height=1+_GX(this._W41[_Q41].height,this._W41[_R41].height);this._W41[index]._CY._h21(this._W41[_Q41]._CY,
this._W41[_R41]._CY);index=this._W41[index].parent}},_251:function(_v51){if(_v51==this._T41){this._T41=_O41;return }var parent=this._W41[_v51].parent;var _I51=this._W41[parent].parent;var _E51;if(this._W41[parent]._Q41==_v51){_E51=this._W41[parent]._R41}else {_E51=this._W41[parent]._Q41}if(_I51!=_O41){if(this._W41[_I51]._Q41==parent){this._W41[_I51]._Q41=_E51}else {this._W41[_I51]._R41=_E51}this._W41[_E51].parent=_I51;this._351(parent);var index=_I51;while(index!=_O41){index=this._H51(index);var _Q41=this._W41[index]._Q41;
var _R41=this._W41[index]._R41;this._W41[index]._CY._h21(this._W41[_Q41]._CY,this._W41[_R41]._CY);this._W41[index].height=1+_GX(this._W41[_Q41].height,this._W41[_R41].height);index=this._W41[index].parent}}else {this._T41=_E51;this._W41[_E51].parent=_O41;this._351(parent)}},_H51:function(_J51){_qV(_J51!=_O41);var _rV=this._W41[_J51];if(_rV._S41()||_rV.height<2){return _J51}var _K51=_rV._Q41;var _L51=_rV._R41;_qV(0<=_K51&&_K51<this._U41);_qV(0<=_L51&&_L51<this._U41);var _DW=this._W41[_K51];var _xX=this._W41[_L51];
var _g51=_xX.height-_DW.height;if(_g51>1){var _M51=_xX._Q41;var _N51=_xX._R41;var _O51=this._W41[_M51];var _P51=this._W41[_N51];_qV(0<=_M51&&_M51<this._U41);_qV(0<=_N51&&_N51<this._U41);_xX._Q41=_J51;_xX.parent=_rV.parent;_rV.parent=_L51;if(_xX.parent!=_O41){if(this._W41[_xX.parent]._Q41==_J51){this._W41[_xX.parent]._Q41=_L51}else {_qV(this._W41[_xX.parent]._R41==_J51);this._W41[_xX.parent]._R41=_L51}}else {this._T41=_L51}if(_O51.height>_P51.height){_xX._R41=_M51;_rV._R41=_N51;_P51.parent=_J51;_rV._CY._h21(_DW._CY,
_P51._CY);_xX._CY._h21(_rV._CY,_O51._CY);_rV.height=1+_GX(_DW.height,_P51.height);_xX.height=1+_GX(_rV.height,_O51.height)}else {_xX._R41=_N51;_rV._R41=_M51;_O51.parent=_J51;_rV._CY._h21(_DW._CY,_O51._CY);_xX._CY._h21(_rV._CY,_P51._CY);_rV.height=1+_GX(_DW.height,_O51.height);_xX.height=1+_GX(_rV.height,_P51.height)}return _L51}if(_g51<-1){var _Q51=_DW._Q41;var _R51=_DW._R41;var _SZ=this._W41[_Q51];var _S51=this._W41[_R51];_qV(0<=_Q51&&_Q51<this._U41);_qV(0<=_R51&&_R51<this._U41);_DW._Q41=_J51;_DW.parent=_rV.parent;
_rV.parent=_K51;if(_DW.parent!=_O41){if(this._W41[_DW.parent]._Q41==_J51){this._W41[_DW.parent]._Q41=_K51}else {_qV(this._W41[_DW.parent]._R41==_J51);this._W41[_DW.parent]._R41=_K51}}else {this._T41=_K51}if(_SZ.height>_S51.height){_DW._R41=_Q51;_rV._Q41=_R51;_S51.parent=_J51;_rV._CY._h21(_xX._CY,_S51._CY);_DW._CY._h21(_rV._CY,_SZ._CY);_rV.height=1+_GX(_xX.height,_S51.height);_DW.height=1+_GX(_rV.height,_SZ.height)}else {_DW._R41=_R51;_rV._Q41=_Q51;_SZ.parent=_J51;_rV._CY._h21(_xX._CY,_SZ._CY);_DW._CY._h21(_rV._CY,
_S51._CY);_rV.height=1+_GX(_xX.height,_SZ.height);_DW.height=1+_GX(_rV.height,_S51.height)}return _K51}return _J51},_e51:function(_451){if(typeof(_451)==='undefined')_451=this._T41;_qV(0<=_451&&_451<this._U41);var __g=this._W41[_451];if(__g._S41()){return 0}var _T51=this._e51(__g._Q41);var _U51=this._e51(__g._R41);return 1+_GX(_T51,_U51)},_a51:function(index){if(index==_O41){return }if(index==this._T41){_qV(this._W41[index].parent==_O41)}var __g=this._W41[index];var _Q41=__g._Q41;var _R41=__g._R41;if(__g._S41()){
_qV(_Q41==_O41);_qV(_R41==_O41);_qV(__g.height==0);return }_qV(0<=_Q41&&_Q41<this._U41);_qV(0<=_R41&&_R41<this._U41);_qV(this._W41[_Q41].parent==index);_qV(this._W41[_R41].parent==index);this._a51(_Q41);this._a51(_R41)},_b51:function(index){if(index==_O41){return;}var __g=this._W41[index];var _Q41=__g._Q41;var _R41=__g._R41;if(__g._S41()){_qV(_Q41==_O41);_qV(_R41==_O41);_qV(__g.height==0);return }_qV(0<=_Q41&&_Q41<this._U41);_qV(0<=_R41&&_R41<this._U41);var _T51=this._W41[_Q41].height;var _U51=this._W41[_R41].height;
var height;height=1+_GX(_T51,_U51);_qV(__g.height==height);var _CY=new _b21();_CY._h21(this._W41[_Q41]._CY,this._W41[_R41]._CY);_qV(_eW._vW(_CY._UY,__g._CY._UY));_qV(_eW._vW(_CY._VY,__g._CY._VY));this._b51(_Q41);this._b51(_R41);}};function _V51(){this._701=new _X_();this._801=new _X_();this._W51=new _2X();this._X51=new _2X();this._Y51=0};function _Z51(){this.state=0;this._L7=0};_Z51._Q31=0;_Z51.__51=1;_Z51._061=2;_Z51._161=3;_Z51._261=4;function _361(){this._461=null;this._561=null;this._661=null;this._761=null;
this._OC=0;this._861=new _eW();this._961=new _eW()}var _a61=new _0X();var _b61=new _0X();_361.prototype={_L11:function(_G8,_701,_W51,_801,_X51,_p21){this._461=_701;this._561=_801;var _H8=_G8._H8;_qV(0<_H8&&_H8<3);this._661=_W51;this._761=_X51;this._661._8X(_a61,_p21);this._761._8X(_b61,_p21);if(_H8==1){this._OC=_361._c61;var _d61=this._461._YY(_G8._401[0]);var _e61=this._561._YY(_G8._501[0]);var _Q11=(_a61.__v._Qt*_d61.x-_a61.__v._ps*_d61.y)+_a61._tx.x;var _R11=(_a61.__v._ps*_d61.x+_a61.__v._Qt*_d61.y)+_a61._tx.y;
var _S11=(_b61.__v._Qt*_e61.x-_b61.__v._ps*_e61.y)+_b61._tx.x;var _T11=(_b61.__v._ps*_e61.x+_b61.__v._Qt*_e61.y)+_b61._tx.y;this._961.x=_S11-_Q11;this._961.y=_T11-_R11;var _ps=this._961._oW();return _ps}else if(_G8._401[0]==_G8._401[1]){this._OC=_361._E11;var _f61=_801._YY(_G8._501[0]);var _g61=_801._YY(_G8._501[1]);this._961.x=1.0*(_g61.y-_f61.y);this._961.y=-1.0*(_g61.x-_f61.x);this._961._oW();var _q31=_b61.__v._Qt*this._961.x-_b61.__v._ps*this._961.y;var _r31=_b61.__v._ps*this._961.x+_b61.__v._Qt*this._961.y;
this._861.x=0.5*(_f61.x+_g61.x);this._861.y=0.5*(_f61.y+_g61.y);var _S11=(_b61.__v._Qt*this._861.x-_b61.__v._ps*this._861.y)+_b61._tx.x;var _T11=(_b61.__v._ps*this._861.x+_b61.__v._Qt*this._861.y)+_b61._tx.y;var _d61=_701._YY(_G8._401[0]);var _Q11=(_a61.__v._Qt*_d61.x-_a61.__v._ps*_d61.y)+_a61._tx.x;var _R11=(_a61.__v._ps*_d61.x+_a61.__v._Qt*_d61.y)+_a61._tx.y;var _ps=(_Q11-_S11)*_q31+(_R11-_T11)*_r31;if(_ps<0.0){this._961.x=-this._961.x;this._961.y=-this._961.y;_ps=-_ps}return _ps}else {this._OC=_361._D11;
var _h61=this._461._YY(_G8._401[0]);var _i61=this._461._YY(_G8._401[1]);this._961.x=1.0*(_i61.y-_h61.y);this._961.y=-1.0*(_i61.x-_h61.x);this._961._oW();var _q31=_a61.__v._Qt*this._961.x-_a61.__v._ps*this._961.y;var _r31=_a61.__v._ps*this._961.x+_a61.__v._Qt*this._961.y;this._861.x=0.5*(_h61.x+_i61.x);this._861.y=0.5*(_h61.y+_i61.y);var _Q11=(_a61.__v._Qt*this._861.x-_a61.__v._ps*this._861.y)+_a61._tx.x;var _R11=(_a61.__v._ps*this._861.x+_a61.__v._Qt*this._861.y)+_a61._tx.y;var _e61=this._561._YY(_G8._501[0]);
var _S11=(_b61.__v._Qt*_e61.x-_b61.__v._ps*_e61.y)+_b61._tx.x;var _T11=(_b61.__v._ps*_e61.x+_b61.__v._Qt*_e61.y)+_b61._tx.y;var _ps=(_S11-_Q11)*_q31+(_T11-_R11)*_r31;if(_ps<0.0){this._961.x=-this._961.x;this._961.y=-this._961.y;_ps=-_ps}return _ps}},_j61:function(_k61,_L7){this._661._8X(_a61,_L7);this._761._8X(_b61,_L7);switch(this._OC){case _361._c61:{var _l61=_a61.__v._Qt*this._961.x+_a61.__v._ps*this._961.y;var _m61=-_a61.__v._ps*this._961.x+_a61.__v._Qt*this._961.y;var _n61=_b61.__v._Qt*-this._961.x+_b61.__v._ps*-this._961.y;
var _o61=-_b61.__v._ps*-this._961.x+_b61.__v._Qt*-this._961.y;_k61[0]=this._461._WY(_l61,_m61);_k61[1]=this._561._WY(_n61,_o61);var _d61=this._461._YY(_k61[0]);var _e61=this._561._YY(_k61[1]);var _Q11=(_a61.__v._Qt*_d61.x-_a61.__v._ps*_d61.y)+_a61._tx.x;var _R11=(_a61.__v._ps*_d61.x+_a61.__v._Qt*_d61.y)+_a61._tx.y;var _S11=(_b61.__v._Qt*_e61.x-_b61.__v._ps*_e61.y)+_b61._tx.x;var _T11=(_b61.__v._ps*_e61.x+_b61.__v._Qt*_e61.y)+_b61._tx.y;return(_S11-_Q11)*this._961.x+(_T11-_R11)*this._961.y}case _361._D11:{
var _q31=_a61.__v._Qt*this._961.x-_a61.__v._ps*this._961.y;var _r31=_a61.__v._ps*this._961.x+_a61.__v._Qt*this._961.y;var _Q11=(_a61.__v._Qt*this._861.x-_a61.__v._ps*this._861.y)+_a61._tx.x;var _R11=(_a61.__v._ps*this._861.x+_a61.__v._Qt*this._861.y)+_a61._tx.y;var _n61=_b61.__v._Qt*-_q31+_b61.__v._ps*-_r31;var _o61=-_b61.__v._ps*-_q31+_b61.__v._Qt*-_r31;_k61[0]=-1;_k61[1]=this._561._WY(_n61,_o61);var _e61=this._561._YY(_k61[1]);var _S11=(_b61.__v._Qt*_e61.x-_b61.__v._ps*_e61.y)+_b61._tx.x;var _T11=(_b61.__v._ps*_e61.x+_b61.__v._Qt*_e61.y)+_b61._tx.y;
return(_S11-_Q11)*_q31+(_T11-_R11)*_r31}case _361._E11:{var _q31=_b61.__v._Qt*this._961.x-_b61.__v._ps*this._961.y;var _r31=_b61.__v._ps*this._961.x+_b61.__v._Qt*this._961.y;var _S11=(_b61.__v._Qt*this._861.x-_b61.__v._ps*this._861.y)+_b61._tx.x;var _T11=(_b61.__v._ps*this._861.x+_b61.__v._Qt*this._861.y)+_b61._tx.y;var _l61=_a61.__v._Qt*-_q31+_a61.__v._ps*-_r31;var _o61=-_a61.__v._ps*-_q31+_a61.__v._Qt*-_r31;_k61[1]=-1;_k61[0]=this._461._WY(_l61,_o61);var _d61=this._461._YY(_k61[0]);var _Q11=(_a61.__v._Qt*_d61.x-_a61.__v._ps*_d61.y)+_a61._tx.x;
var _R11=(_a61.__v._ps*_d61.x+_a61.__v._Qt*_d61.y)+_a61._tx.y;return(_Q11-_S11)*_q31+(_R11-_T11)*_r31}default :_qV(!1);_k61[0]=-1;_k61[1]=-1;return 0.0}},_p61:function(_401,_501,_L7){this._661._8X(_a61,_L7);this._761._8X(_b61,_L7);switch(this._OC){case _361._c61:{var _d61=this._461._YY(_401);var _e61=this._561._YY(_501);var _Q11=(_a61.__v._Qt*_d61.x-_a61.__v._ps*_d61.y)+_a61._tx.x;var _R11=(_a61.__v._ps*_d61.x+_a61.__v._Qt*_d61.y)+_a61._tx.y;var _S11=(_b61.__v._Qt*_e61.x-_b61.__v._ps*_e61.y)+_b61._tx.x;var _T11=(_b61.__v._ps*_e61.x+_b61.__v._Qt*_e61.y)+_b61._tx.y;
var _z21=(_S11-_Q11)*this._961.x+(_T11-_R11)*this._961.y;return _z21}case _361._D11:{var _q31=_a61.__v._Qt*this._961.x-_a61.__v._ps*this._961.y;var _r31=_a61.__v._ps*this._961.x+_a61.__v._Qt*this._961.y;var _Q11=(_a61.__v._Qt*this._861.x-_a61.__v._ps*this._861.y)+_a61._tx.x;var _R11=(_a61.__v._ps*this._861.x+_a61.__v._Qt*this._861.y)+_a61._tx.y;var _e61=this._561._YY(_501);var _S11=(_b61.__v._Qt*_e61.x-_b61.__v._ps*_e61.y)+_b61._tx.x;var _T11=(_b61.__v._ps*_e61.x+_b61.__v._Qt*_e61.y)+_b61._tx.y;var _z21=(_S11-_Q11)*_q31+(_T11-_R11)*_r31;
return _z21}case _361._E11:{var _q31=_b61.__v._Qt*this._961.x-_b61.__v._ps*this._961.y;var _r31=_b61.__v._ps*this._961.x+_b61.__v._Qt*this._961.y;var _S11=(_b61.__v._Qt*this._861.x-_b61.__v._ps*this._861.y)+_b61._tx.x;var _T11=(_b61.__v._ps*this._861.x+_b61.__v._Qt*this._861.y)+_b61._tx.y;var _d61=this._461._YY(_401);var _Q11=(_a61.__v._Qt*_d61.x-_a61.__v._ps*_d61.y)+_a61._tx.x;var _R11=(_a61.__v._ps*_d61.x+_a61.__v._Qt*_d61.y)+_a61._tx.y;var _z21=(_Q11-_S11)*_q31+(_R11-_T11)*_r31;return _z21}default :_qV(!1);
return 0.0}}};_361._c61=0;_361._D11=1;_361._E11=2;var _q61=_8V._jV("toi","solveTOI");function _r61(_Pv,_Nv){_q61.start();++_r61._s61;_Pv.state=_Z51._Q31;_Pv._L7=_Nv._Y51;var _701=_Nv._701;var _801=_Nv._801;_r61._t61._iW(_Nv._W51);_r61._u61._iW(_Nv._X51);_r61._t61._oW();_r61._u61._oW();var _Y51=_Nv._Y51;var _831=_701._vY+_801._vY;var target=_GX(_zV,_831-3.0*_zV);var _v61=0.25*_zV;_qV(target>_v61);var _p21=0.0;var _w61=20;var _d11=0;var _G8=new _201();_G8._H8=0;var _x61=new _601();_x61._701._iW(_Nv._701);_x61._801._iW(_Nv._801);
_x61._b01=!1;for(;;){_r61._t61._8X(_x61._901,_p21);_r61._u61._8X(_x61._a01,_p21);var _y61=new _c01();_511(_y61,_G8,_x61);if(_y61._HY<=0.0){_Pv.state=_Z51._061;_Pv._L7=0.0;break }if(_y61._HY<target+_v61){_Pv.state=_Z51._161;_Pv._L7=_p21;break }var _z61=new _361();_z61._L11(_G8,_701,_r61._t61,_801,_r61._u61,_p21);var _A61=!1;var _q21=_Y51;var _B61=0;for(;;){var _k61=[];var _cq=_z61._j61(_k61,_q21);if(_cq>target+_v61){_Pv.state=_Z51._261;_Pv._L7=_Y51;_A61=!0;break }if(_cq>target-_v61){_p21=_q21;break }var _bq=_z61._p61(_k61[0],
_k61[1],_p21);if(_bq<target-_v61){_Pv.state=_Z51.__51;_Pv._L7=_p21;_A61=!0;break }if(_bq<=target+_v61){_Pv.state=_Z51._161;_Pv._L7=_p21;_A61=!0;break }var _C61=0;var _UQ=_p21,_VQ=_q21;for(;;){var _L7;if(_C61&1){_L7=_UQ+(target-_bq)*(_VQ-_UQ)/(_cq-_bq);}else {_L7=0.5*(_UQ+_VQ)}++_C61;++_r61._D61;var _ps=_z61._p61(_k61[0],_k61[1],_L7);if(_BX(_ps-target)<_v61){_q21=_L7;break }if(_ps>target){_UQ=_L7;_bq=_ps}else {_VQ=_L7;_cq=_ps}if(_C61==50){break }}_r61._E61=_GX(_r61._E61,_C61);++_B61;if(_B61==_wV){break }}++_d11;
++_r61._F61;if(_A61){break }if(_d11==_w61){_Pv.state=_Z51.__51;_Pv._L7=_p21;break }}_r61._G61=_GX(_r61._G61,_d11);_q61.stop();_r61._H61=_GX(_r61._H61,_q61._cV);_r61._I61+=_q61._cV}_r61._t61=new _2X();_r61._u61=new _2X();_r61._I61=0;_r61._H61=0;_r61._s61=0;_r61._F61=0;_r61._G61=0;_r61._D61=0;_r61._E61=0;function _J61(){this.type=_K61._L61;this.position=new _eW(0.0,0.0);this.angle=0.0;this._M61=new _eW(0.0,0.0);this._N61=0.0;this._O61=0.0;this._P61=0.0;this._Q61=!0;this._R61=!0;this._S61=!1;/// @warning You should use this flag sparingly since it increases processing time.
this._T61=!1;
this._tB=!0;this._p_=null;this._U61=1.0;Object.seal(this)}_J61.prototype={_uW:function(data){this.type=data['type'];this.position._uW(data['position']);this.angle=data['angle'];this._M61._uW(data['linearVelocity']);this._N61=data['angularVelocity'];this._O61=data['linearDamping'];this._P61=data['angularDamping'];this._Q61=data['allowSleep'];this._R61=data['awake'];this._S61=data['fixedRotation'];this._T61=data['bullet'];this._tB=data['active'];this._U61=data['gravityScale']}};function _K61(_V61,_W61){
_qV(_V61.position._qW());_qV(_V61._M61._qW());_qV(_4W(_V61.angle));_qV(_4W(_V61._N61));_qV(_4W(_V61._P61)&&_V61._P61>=0.0);_qV(_4W(_V61._O61)&&_V61._O61>=0.0);this._X61=0;this._Y61=0;if(_V61._T61){this._Y61|=_K61._Z61}if(_V61._S61){this._Y61|=_K61.__61}if(_V61._Q61){this._Y61|=_K61._071}if(_V61._R61){this._Y61|=_K61._171}if(_V61._tB){this._Y61|=_K61._271}this._371=_W61;this._Z31=new _0X();this._Z31._tx._iW(_V61.position);this._Z31.__v._Ig(_V61.angle);this._471=new _0X();this._471._iW(this._Z31);this._571=new _2X();
this._571._3X._fW();this._571._4X._iW(this._Z31._tx);this._571._Qt._iW(this._Z31._tx);this._571._6X=_V61.angle;this._571._k9=_V61.angle;this._571._7X=0.0;this._671=null;this._771=null;this._871=null;this._971=null;this._a71=_V61._M61._N5();this._b71=_V61._N61;this._c71=_V61._O61;this._d71=_V61._P61;this._e71=_V61._U61;this._f71=new _eW();this._g71=0.0;this._h71=0.0;this._OC=_V61.type;if(this._OC==_K61._i71){this._j71=1.0;this._k71=1.0}else {this._j71=0.0;this._k71=0.0}this._l71=0.0;this._m71=0.0;this._n71=_V61._p_;
this._o71=null;this._p71=0}_K61._L61=0;_K61._q71=1;_K61._i71=2;_K61._r71=0x0001;_K61._171=0x0002;_K61._071=0x0004;_K61._Z61=0x0008;_K61.__61=0x0010;_K61._271=0x0020;_K61._s71=0x0040;_K61._t71=new _eW();_K61._u71=new _0X();_K61.prototype={/// @param def the fixture definition.
/// @warning This function is locked during callbacks.
_v71:function(_w71,_FY){if(typeof(_FY)!=='undefined'){var _x71=new _y71();_x71._QY=_w71;_x71._FY=_FY;return this._v71(_x71)}_qV(this._371._z71()==!1);if(this._371._z71()==!0){
return null}var _5K=new _A71();_5K._B71(this,_w71);if(this._Y61&_K61._271){var _C71=this._371._D71._E71;_5K._F71(_C71,this._Z31)}_5K._971=this._o71;this._o71=_5K;++this._p71;_5K._G71=this;if(_5K._H71>0.0){this._I71()}this._371._Y61|=_J71._K71;return _5K},/// @param fixture the fixture to be removed.
/// @warning This function is locked during callbacks.
_L71:function(_5K){_qV(this._371._z71()==!1);if(this._371._z71()==!0){return }_qV(_5K._G71==this);_qV(this._p71>0);var __g=this._o71;var _wr=!1;while(__g!=null){
if(__g==_5K){this._o71=__g=_5K._971;_wr=!0;break }__g=__g._971}_qV(_wr);var _sZ=this._771;while(_sZ){var _Qt=_sZ._M71;_sZ=_sZ._Qg;var _N71=_Qt._O71();var _P71=_Qt._Q71();if(_5K==_N71||_5K==_P71){this._371._D71._R71(_Qt)}}if(this._Y61&_K61._271){var _C71=this._371._D71._E71;_5K._S71(_C71)}_5K._R71();_5K._G71=null;_5K._971=null;--this._p71;this._I71()},/// @param position the world position of the body's local origin.
/// @param angle the world rotation in radians.
_T71:function(position,angle){_qV(this._371._z71()==!1);
if(this._371._z71()==!0){return }this._Z31.__v._Ig(angle);this._Z31._tx._iW(position);this._471._iW(this._Z31);this._571._Qt._iW(_tX(this._Z31,this._571._3X));this._571._k9=angle;this._571._4X._iW(this._571._Qt);this._571._6X=angle;var _C71=this._371._D71._E71;for(var _1t=this._o71;_1t;_1t=_1t._971){_1t._U71(_C71,this._Z31,this._Z31)}},/// @return the world transform of the body's origin.
_8X:function(){return this._Z31},/// @return the world position of the body's origin.
_VJ:function(){return this._Z31._tx}
,/// @return the current world rotation angle in radians.
_YW:function(){return this._571._k9},_V71:function(){return this._571._Qt},_W71:function(){return this._571._3X},/// @param v the new linear velocity of the center of mass.
_X71:function(_y9){if(this._OC==_K61._L61){return }if(_cX(_y9,_y9)>0.0){this._tK(!0)}this._a71=_y9},/// @return the linear velocity of the center of mass.
_Y71:function(){return this._a71},/// @param omega the new angular velocity in radians/second.
_Z71:function(_u4){if(this._OC==_K61._L61){
return }if(_u4*_u4>0.0){this._tK(!0)}this._b71=_u4;},/// @return the angular velocity in radians/second.
__71:function(){return this._b71},/// @param force the world force vector, usually in Newtons (N).
/// @param point the world position of the point of application.
/// @param wake also wake up the body
_081:function(_181,_w11,_281){if(this._OC!=_K61._i71){return }if(_281&&(this._Y61&_K61._171)==0){this._tK(!0)}if(this._Y61&_K61._171){this._f71._Qe(_181);this._g71+=_dX(_eW._mW(_w11,this._571._Qt),
_181)}},/// @param force the world force vector, usually in Newtons (N).
/// @param wake also wake up the body
_381:function(_181,_281){if(this._OC!=_K61._i71){return }if(_281&&(this._Y61&_K61._171)==0){this._tK(!0)}if(this._Y61&_K61._171){this._f71._Qe(_181)}},/// @param torque about the z-axis (out of the screen), usually in N-m.
/// @param wake also wake up the body
_481:function(_581,_281){if(this._OC!=_K61._i71){return }if(_281&&(this._Y61&_K61._171)==0){this._tK(!0)}if(this._Y61&_K61._171){
this._g71+=_581}},/// @param impulse the world impulse vector, usually in N-seconds or kg-m/s.
/// @param point the world position of the point of application.
/// @param wake also wake up the body
_681:function(_781,_w11,_281){if(this._OC!=_K61._i71){return }if(_281&&(this._Y61&_K61._171)==0){this._tK(!0)}if(this._Y61&_K61._171){this._a71._Qe(_eW.Multiply(this._k71,_781));this._b71+=this._m71*_dX(_eW._mW(_w11,this._571._Qt),_781)}},/// @param impulse the angular impulse in units of kg*m*m/s
/// @param wake also wake up the body
_881:function(_781,
_281){if(this._OC!=_K61._i71){return }if(_281&&(this._Y61&_K61._171)==0){this._tK(!0)}if(this._Y61&_K61._171){this._b71+=this._m71*_781}},/// @return the mass, usually in kilograms (kg).
_981:function(){return this._j71},/// @return the rotational inertia, usually in kg-m^2.
_a81:function(){return this._l71+this._j71*_cX(this._571._3X,this._571._3X)},/// @return a struct containing the mass, inertia and center of the body.
_b81:function(data){data._sY=this._j71;data._tY=this._l71+this._j71*_cX(this._571._3X,
this._571._3X);data._2Y=this._571._3X},/// @param massData the mass properties.
_c81:function(_EY){_qV(this._371._z71()==!1);if(this._371._z71()==!0){return }if(this._OC!=_K61._i71){return }this._k71=0.0;this._l71=0.0;this._m71=0.0;this._j71=_EY._sY;if(this._j71<=0.0){this._j71=1.0}this._k71=1.0/this._j71;if(_EY._tY>0.0&&(this._Y61&_K61.__61)==0){this._l71=_EY._tY-this._j71*_cX(_EY._2Y,_EY._2Y);_qV(this._l71>0.0);this._m71=1.0/this._l71}_K61._t71._iW(this._571._Qt);this._571._3X._iW(_EY._2Y);this._571._4X._iW(_tX(this._Z31,
this._571._3X));this._571._Qt._iW(this._571._4X);this._a71._Qe(_fX(this._b71,_eW._mW(this._571._Qt,_K61._t71)))},_I71:function(){this._j71=0.0;this._k71=0.0;this._l71=0.0;this._m71=0.0;this._571._3X._fW();if(this._OC==_K61._L61||this._OC==_K61._q71){this._571._4X._iW(this._Z31._tx);this._571._Qt._iW(this._Z31._tx);this._571._6X=this._571._k9;return }_qV(this._OC==_K61._i71);var _3X=new _eW(0,0);for(var _1t=this._o71;_1t;_1t=_1t._971){if(_1t._H71==0.0){continue }var _EY=new _rY();_1t._b81(_EY);this._j71+=_EY._sY;
_3X._Qe(_eW.Multiply(_EY._sY,_EY._2Y));this._l71+=_EY._tY}if(this._j71>0.0){this._k71=1.0/this._j71;_3X.Multiply(this._k71);}else {this._j71=1.0;this._k71=1.0}if(this._l71>0.0&&(this._Y61&_K61.__61)==0){this._l71-=this._j71*_cX(_3X,_3X);_qV(this._l71>0.0);this._m71=1.0/this._l71}else {this._l71=0.0;this._m71=0.0}_K61._t71._iW(this._571._Qt);this._571._3X._iW(_3X);this._571._4X._iW(_tX(this._Z31,this._571._3X));this._571._Qt._iW(this._571._4X);this._a71._Qe(_fX(this._b71,_eW._mW(this._571._Qt,_K61._t71)))}
,/// @param localPoint a point on the body measured relative the the body's origin.
/// @return the same point expressed in world coordinates.
_d81:function(_t11){return _tX(this._Z31,_t11)},/// @param localVector a vector fixed in the body.
/// @return the same vector expressed in world coordinates.
_e81:function(_f81){return _rX(this._Z31.__v,_f81)},/// @param a point in world coordinates.
/// @return the corresponding local point relative to the body's origin.
_g81:function(_h81){return _vX(this._Z31,
_h81)},/// @param a vector in world coordinates.
/// @return the corresponding local vector.
_i81:function(_j81){return _sX(this._Z31.__v,_j81)},/// @param a point in world coordinates.
/// @return the world velocity of a point.
_k81:function(_h81){return _eW._Qe(this._a71,_fX(this._b71,_eW._mW(_h81,this._571._Qt)))},/// @param a point in local coordinates.
/// @return the world velocity of a point.
_l81:function(_t11){return this._k81(this._d81(_t11))},_m81:function(){return this._c71},_oK:function(_O61){
this._c71=_O61},_n81:function(){return this._d71},_qK:function(_P61){this._d71=_P61},_o81:function(){return this._e71},_p81:function(scale){this._e71=scale},_q81:function(type){_qV(this._371._z71()==!1);if(this._371._z71()==!0){return }if(this._OC==type){return }this._OC=type;this._I71();if(this._OC==_K61._L61){this._a71._fW();this._b71=0.0;this._571._6X=this._571._k9;this._571._4X._iW(this._571._Qt);this._r81()}this._tK(!0);this._f71._fW();this._g71=0.0;var _s81=this._771;while(_s81){var _t81=_s81;_s81=_s81._Qg;
this._371._D71._R71(_t81._M71)}this._771=null;var _C71=this._371._D71._E71;for(var _1t=this._o71;_1t;_1t=_1t._971){var _u81=_1t._j_;for(var _Q7=0;_Q7<_u81;++_Q7){_C71._w_(_1t._v81[_Q7]._q_)}}},_wY:function(){return this._OC},_w81:function(_x81){if(_x81){this._Y61|=_K61._Z61}else {this._Y61&=~_K61._Z61}},_y81:function(){return(this._Y61&_K61._Z61)==_K61._Z61},_z81:function(_x81){if(_x81){this._Y61|=_K61._071}else {this._Y61&=~_K61._071;this._tK(!0)}},_A81:function(){return(this._Y61&_K61._071)==_K61._071}
,/// @param flag set to true to wake the body, false to put it to sleep.
_tK:function(_x81){if(_x81){if((this._Y61&_K61._171)==0){this._Y61|=_K61._171;this._h71=0.0}}else {this._Y61&=~_K61._171;this._h71=0.0;this._a71._fW();this._b71=0.0;this._f71._fW();this._g71=0.0}},/// @return true if the body is awake.
_B81:function(){return(this._Y61&_K61._171)==_K61._171},_C81:function(_x81){_qV(this._371._z71()==!1);if(_x81==this._D81()){return }if(_x81){this._Y61|=_K61._271;var _C71=this._371._D71._E71;for(var _1t=this._o71;
_1t;_1t=_1t._971){_1t._F71(_C71,this._Z31)}}else {this._Y61&=~_K61._271;var _C71=this._371._D71._E71;for(var _1t=this._o71;_1t;_1t=_1t._971){_1t._S71(_C71)}var _s81=this._771;while(_s81){var _t81=_s81;_s81=_s81._Qg;this._371._D71._R71(_t81._M71)}this._771=null}},_D81:function(){return(this._Y61&_K61._271)==_K61._271},_E81:function(_x81){var status=(this._Y61&_K61.__61)==_K61.__61;if(status==_x81){return }if(_x81){this._Y61|=_K61.__61}else {this._Y61&=~_K61.__61}this._b71=0.0;this._I71()},_F81:function(){
return(this._Y61&_K61.__61)==_K61.__61},_G81:function(){return this._o71},_H81:function(){return this._671},/// @warning this list changes during the time step and you may
_I81:function(){return this._771},_J81:function(){return this._971},_y_:function(){return this._n71},_K81:function(data){this._n71=data},_L81:function(){return this._371},_r81:function(){_K61._u71.__v._Ig(this._571._6X);_K61._u71._tx._iW(_eW._mW(this._571._4X,_rX(_K61._u71.__v,this._571._3X)));var _C71=this._371._D71._E71;for(var _1t=this._o71;
_1t;_1t=_1t._971){_1t._U71(_C71,_K61._u71,this._Z31)}},_M81:function(){this._Z31.__v._Ig(this._571._k9);this._Z31._tx._iW(_eW._mW(this._571._Qt,_rX(this._Z31.__v,this._571._3X)))},_N81:function(_c21){if(this._OC!=_K61._i71&&_c21._OC!=_K61._i71){return !1}for(var _O81=this._671;_O81;_O81=_O81._Qg){if(_O81._c21==_c21){if(_O81._P81._Q81==!1){return !1}}}return !0},_aX:function(alpha){this._571._aX(alpha);this._571._Qt._iW(this._571._4X);this._571._k9=this._571._6X;this._Z31.__v._Ig(this._571._k9);this._Z31._tx._iW(_eW._mW(this._571._Qt,
_rX(this._Z31.__v,this._571._3X)))},_sW:function(_tW){var _Ct=_tW||{};_Ct['fixtures']=null;_Ct['type']=this._OC;_Ct['position']=this._VJ()._sW();_Ct['angle']=this._YW();_Ct['linearVelocity']=this._Y71()._sW();_Ct['angularVelocity']=this.__71();_Ct['linearDamping']=this._m81();_Ct['angularDamping']=this._n81();_Ct['allowSleep']=this._A81();_Ct['awake']=this._B81();_Ct['fixedRotation']=this._F81();_Ct['bullet']=this._y81();_Ct['active']=this._D81();_Ct['gravityScale']=this._o81();return _Ct}};function _R81(){
this._S81=0x0001;this._T81=0xFFFF;this._U81=0}_R81.prototype={_N5:function(){var _bl=new _R81();_bl._S81=this._S81;_bl._T81=this._T81;_bl._U81=this._U81;return _bl},_iW:function(_bl){this._S81=_bl._S81;this._T81=_bl._T81;this._U81=_bl._U81},_sW:function(_tW){var _Ct=_tW||{};_Ct['categoryBits']=this._S81;_Ct['maskBits']=this._T81;_Ct['groupIndex']=this._U81;return _Ct},_uW:function(data){this._S81=data['categoryBits'];this._T81=data['maskBits'];this._U81=data['groupIndex']}};function _y71(){this._QY=null;
this._p_=null;this._V81=0.2;this._W81=0.0;this._FY=0.0;this._X81=!1;this._bl=new _R81();Object.seal(this);}_y71.prototype={_uW:function(data){this._V81=data['friction'];this._W81=data['restitution'];this._FY=data['density'];this._X81=data['isSensor'];this._bl._uW(data['filter'])}};function _Y81(){this._CY=new _b21();this._5K=null;this._AY=0;this._q_=0};/// @warning you cannot reuse fixtures.
function _A71(){this._n71=null;this._G71=null;this._971=null;this._v81=null;this._j_=0;this._Z81=null;this._H71=0.0;
this.__81=new _R81();this._091=!1;this._191=0;this._291=0}_A71.prototype={/// @return the shape type.
_wY:function(){return this._Z81._wY()},_391:function(){return this._Z81},_lK:function(_491){if(_491!=this._091){this._G71._tK(!0);this._091=_491}},/// @return the true if the shape is a sensor.
_591:function(){return this._091},_691:function(_bl){this.__81=_bl;this._791()},_891:function(){return this.__81},_791:function(){if(this._G71==null){return }var _sZ=this._G71._I81();while(_sZ){var _M71=_sZ._M71;
var _N71=_M71._O71();var _P71=_M71._Q71();if(_N71==this||_P71==this){_M71._991()}_sZ=_sZ._Qg}var _W61=this._G71._L81();if(_W61==null){return }var _C71=_W61._D71._E71;for(var _Q7=0;_Q7<this._j_;++_Q7){_C71._w_(this._v81[_Q7]._q_)}},/// @return the parent body.
_a91:function(){return this._G71},/// @return the next shape.
_J81:function(){return this._971},_y_:function(){return this._n71},_K81:function(data){this._n71=data},/// @param p a point in world coordinates.
_yY:function(_tx){return this._Z81._yY(this._G71._8X(),
_tx)},/// @param output the ray-cast results.
/// @param input the ray-cast input parameters.
_zY:function(_Pv,_Nv,_AY){return this._Z81._zY(_Pv,_Nv,this._G71._8X(),_AY)},_b81:function(_EY){this._Z81._DY(_EY,this._H71)},_9K:function(_FY){_qV(_4W(_FY)&&_FY>=0.0);this._H71=_FY},_b91:function(){return this._H71},_c91:function(){return this._191},_fK:function(_V81){this._191=_V81},_d91:function(){return this._291},_cK:function(_W81){this._291=_W81},_e91:function(_AY){_qV(0<=_AY&&_AY<this._j_);return this._v81[_AY]._CY}
,_B71:function(body,_w71){this._n71=_w71._p_;this._191=_w71._V81;this._291=_w71._W81;this._G71=body;this._971=null;this.__81._iW(_w71._bl);this._091=_w71._X81;this._Z81=_w71._QY._N5();var _f91=this._Z81._xY();this._v81=new Array(_f91);for(var _Q7=0;_Q7<_f91;++_Q7){this._v81[_Q7]=new _Y81();this._v81[_Q7]._5K=null;this._v81[_Q7]._q_=_f_._G_}this._j_=0;this._H71=_w71._FY},_R71:function(){_qV(this._j_==0);this._v81=null;this._Z81=null},_F71:function(_C71,_1X){_qV(this._j_==0);this._j_=this._Z81._xY();for(var _Q7=0;
_Q7<this._j_;++_Q7){var _g91=this._v81[_Q7];this._Z81._BY(_g91._CY,_1X,_Q7);_g91._q_=_C71._o_(_g91._CY,_g91);_g91._5K=this;_g91._AY=_Q7}},_S71:function(_C71){for(var _Q7=0;_Q7<this._j_;++_Q7){var _g91=this._v81[_Q7];_C71._s_(_g91._q_);_g91._q_=_f_._G_}this._j_=0},_U71:function(_C71,_h91,_i91){if(this._j_==0){return }for(var _Q7=0;_Q7<this._j_;++_Q7){var _g91=this._v81[_Q7];var _i21=new _b21(),_j21=new _b21();this._Z81._BY(_i21,_h91,_g91._AY);this._Z81._BY(_j21,_i91,_g91._AY);_g91._CY._h21(_i21,_j21);var _v_=_eW._mW(_i91._tx,
_h91._tx);_C71._u_(_g91._q_,_g91._CY,_v_)}},_GY:function(_tx,_si,_r7,_AY){this._Z81._GY(this._G71._8X(),_tx,_si,_r7,_AY)},_sW:function(_tW){var _Ct=_tW||{};_Ct['shape']=null;_Ct['friction']=this._191;_Ct['restitution']=this._291;_Ct['density']=this._H71;_Ct['isSensor']=this._091;_Ct['filter']=this.__81._sW();return _Ct}};function _j91(){}_j91.prototype={_k91:function(_P81){},_l91:function(_5K){},_m91:function(_qO){},_n91:function(index){}};function _o91(){}_o91.prototype={/// @warning for performance reasons this is only called when the AABBs begin to overlap.
_N81:function(_N71,
_P71){var _p91=_N71._891();var _q91=_P71._891();if(_p91._U81==_q91._U81&&_p91._U81!=0){return _p91._U81>0}var _r91=(_p91._T81&_q91._S81)!=0&&(_p91._S81&_q91._T81)!=0;return _r91}};function _s91(){this._t91=new Array(_vV);this._u91=new Array(_vV);this._H8=0}/// @warning You cannot create/destroy Box2D entities inside these callbacks.
function _v91(){}_v91.prototype={_w91:function(_M71){},_x91:function(_M71){},_y91:function(_M71,_z91){},_A91:function(_M71,_781){}};function _B91(){}_B91.prototype={/// @return false to terminate the query.
_C91:function(_5K){
return !1},/// @return false to terminate the query.
_D91:function(index){return !1}};function _E91(){}_E91.prototype={/// @param fixture the fixture hit by the ray
/// @param point the point of initial intersection
/// @param normal the normal vector at the point of intersection
/// @return -1 to filter, 0 to terminate, fraction to clip the ray for
_C91:function(_5K,_w11,_IY,_TY){},_D91:function(index,_w11,_IY,_TY){return 0}};function _F91(){this._G91=0;this._H91=0;this._I91=0;this._J91=0;this._K91=0;
this._L91=!1}function _M91(){this._Qt=new _eW();this._k9=0}function _N91(){this._y9=new _eW();this._u4=0}function _O91(){this._3V=new _F91();this._P91=null;this._Q91=null}var _R91=_8V._jV("step");var _S91=_8V._jV("collide","step");var _T91=_8V._jV("solve","step");var _U91=_8V._jV("solveTOI","step");var _V91=_8V._jV("broadphase","step");function _J71(_W91){this._D71=new _X91();this._Y91=null;this._Z91=null;this.__91=null;this._671=null;this._0a1=0;this._1a1=0;this._2a1=!0;this._3a1=!0;this._4a1=!1;this._5a1=!0;
this._6a1=!0;this._7a1=_W91;this._Y61=_J71._8a1;this._9a1=0.0;this._aa1=new _F91();this._ba1=new _ca1();this._da1=new _ea1();this._da1._371=this}function _fa1(){this._C71=null;this._F_=null}_fa1.prototype={_W_:function(_q_){var _g91=this._C71._y_(_q_);return this._F_._C91(_g91._5K)}};function _ga1(){this._C71=null;this._F_=null}_ga1.prototype={_951:function(_Nv,_q_){var _p_=this._C71._y_(_q_);var _g91=_p_;var _5K=_g91._5K;var index=_g91._AY;var _Pv=new _a21();var _A7=_5K._zY(_Pv,_Nv,index);if(_A7){var _TY=_Pv._TY;
var _w11=_eW._Qe(_eW.Multiply((1.0-_TY),_Nv._7Y),_eW.Multiply(_TY,_Nv._8Y));return this._F_._C91(_5K,_w11,_Pv._IY,_TY)}return _Nv._SY}};_J71._ha1=new _2X();_J71._ia1=new _2X();_J71._ja1=new _2X();_J71.prototype={_R71:function(){var _M7=this.__91;while(_M7){var _ka1=_M7._971;var _1t=_M7._o71;while(_1t){var _la1=_1t._971;_1t._j_=0;_1t._R71();_1t=_la1}_M7=_ka1}},_ma1:function(listener){this._Y91=listener},_na1:function(_bl){this._D71._oa1=_bl;},_pa1:function(listener){this._D71._qa1=listener},_ra1:function(_sa1){
this._Z91=_sa1},/// @warning This function is locked during callbacks.
_MK:function(_w71){_qV(this._z71()==!1);if(this._z71()){return null}var _M7=new _K61(_w71,this);_M7._871=null;_M7._971=this.__91;if(this.__91){this.__91._871=_M7}this.__91=_M7;++this._0a1;return _M7},/// @warning This automatically deletes all associated shapes and joints.
/// @warning This function is locked during callbacks.
_ta1:function(_M7){_qV(this._0a1>0);_qV(this._z71()==!1);if(this._z71()){return }var _ua1=_M7._671;while(_ua1){
var _va1=_ua1;_ua1=_ua1._Qg;if(this._Y91){this._Y91._k91(_va1._P81)}this._wa1(_va1._P81);_M7._671=_ua1}_M7._671=null;var _s81=_M7._771;while(_s81){var _t81=_s81;_s81=_s81._Qg;this._D71._R71(_t81._M71)}_M7._771=null;var _1t=_M7._o71;while(_1t){var _xa1=_1t;_1t=_1t._971;if(this._Y91){this._Y91._l91(_xa1)}_xa1._S71(this._D71._E71);_xa1._R71();_M7._o71=_1t;_M7._p71-=1}_M7._o71=null;_M7._p71=0;if(_M7._871){_M7._871._971=_M7._971;}if(_M7._971){_M7._971._871=_M7._871}if(_M7==this.__91){this.__91=_M7._971}_M7._ya1=!0;
--this._0a1},/// @warning This function is locked during callbacks.
_za1:function(_w71){_qV(this._z71()==!1);if(this._z71()){return null}var _R7=_Aa1._B71(_w71);_R7._871=null;_R7._971=this._671;if(this._671){this._671._871=_R7}this._671=_R7;++this._1a1;_R7._Ba1._P81=_R7;_R7._Ba1._c21=_R7._Ca1;_R7._Ba1._Da1=null;_R7._Ba1._Qg=_R7._Ea1._671;if(_R7._Ea1._671)_R7._Ea1._671._Da1=_R7._Ba1;_R7._Ea1._671=_R7._Ba1;_R7._Fa1._P81=_R7;_R7._Fa1._c21=_R7._Ea1;_R7._Fa1._Da1=null;_R7._Fa1._Qg=_R7._Ca1._671;if(_R7._Ca1._671)_R7._Ca1._671._Da1=_R7._Fa1;
_R7._Ca1._671=_R7._Fa1;var _Ga1=_w71._Ga1;var _Ha1=_w71._Ha1;if(_w71._Ia1==!1){var _sZ=_Ha1._I81();while(_sZ){if(_sZ._c21==_Ga1){_sZ._M71._991()}_sZ=_sZ._Qg}}return _R7},/// @warning This function is locked during callbacks.
_wa1:function(_R7){_qV(this._z71()==!1);if(this._z71()){return }var _Ia1=_R7._Q81;if(_R7._871){_R7._871._971=_R7._971}if(_R7._971){_R7._971._871=_R7._871;}if(_R7==this._671){this._671=_R7._971}var _Ga1=_R7._Ea1;var _Ha1=_R7._Ca1;_Ga1._tK(!0);_Ha1._tK(!0);if(_R7._Ba1._Da1){_R7._Ba1._Da1._Qg=_R7._Ba1._Qg}
if(_R7._Ba1._Qg){_R7._Ba1._Qg._Da1=_R7._Ba1._Da1}if(_R7._Ba1==_Ga1._671){_Ga1._671=_R7._Ba1._Qg}_R7._Ba1._Da1=null;_R7._Ba1._Qg=null;if(_R7._Fa1._Da1){_R7._Fa1._Da1._Qg=_R7._Fa1._Qg}if(_R7._Fa1._Qg){_R7._Fa1._Qg._Da1=_R7._Fa1._Da1}if(_R7._Fa1==_Ha1._671){_Ha1._671=_R7._Fa1._Qg}_R7._Fa1._Da1=null;_R7._Fa1._Qg=null;_Aa1._R71(_R7);_qV(this._1a1>0);--this._1a1;if(_Ia1==!1){var _sZ=_Ha1._I81();while(_sZ){if(_sZ._c21==_Ga1){_sZ._M71._991()}_sZ=_sZ._Qg}}},/// @param timeStep the amount of time to simulate, this should not vary.
/// @param velocityIterations for the velocity constraint solver.
/// @param positionIterations for the position constraint solver.
_Ja1:function(_G91,
_J91,_K91){_R91.start();if(this._Y61&_J71._K71){this._D71._Ka1();this._Y61&=~_J71._K71}this._Y61|=_J71._La1;this._aa1._G91=_G91;this._aa1._J91=_J91;this._aa1._K91=_K91;if(_G91>0.0){this._aa1._H91=1.0/_G91}else {this._aa1._H91=0.0}this._aa1._I91=this._9a1*_G91;this._aa1._L91=this._2a1;{_S91.start();this._D71._g41();_S91.stop()}if(this._5a1&&this._aa1._G91>0.0){_T91.start();this._da1._FW(this._aa1);this._FW(this._aa1);_T91.stop()}if(this._3a1&&this._aa1._G91>0.0){_U91.start();this._Ma1(this._aa1);_U91.stop()}
if(this._aa1._G91>0.0){this._9a1=this._aa1._H91}if(this._Y61&_J71._8a1){this._Na1()}this._Y61&=~_J71._La1;_R91.stop()},/// @see SetAutoClearForces
_Na1:function(){for(var body=this.__91;body;body=body._J81()){body._f71.x=body._f71.y=0;body._g71=0.0}},_Oa1:function(){if(this._Z91==null){return }var _cT=this._Z91._WX();if(_cT&_TX._dY){for(var _M7=this.__91;_M7;_M7=_M7._J81()){var _1X=_M7._8X();for(var _1t=_M7._G81();_1t;_1t=_1t._J81()){if(_M7._D81()==!1){this._Pa1(_1t,_1X,new _SX(0.5,0.5,0.3))}else if(_M7._wY()==_K61._L61){
this._Pa1(_1t,_1X,new _SX(0.5,0.9,0.5))}else if(_M7._wY()==_K61._q71){this._Pa1(_1t,_1X,new _SX(0.5,0.5,0.9))}else if(_M7._B81()==!1){this._Pa1(_1t,_1X,new _SX(0.6,0.6,0.6))}else {this._Pa1(_1t,_1X,new _SX(0.9,0.7,0.7))}}}this._Qa1(this._da1)}if(_cT&_TX._eY){for(var _R7=this._671;_R7;_R7=_R7._J81()){this._Ra1(_R7)}}if(_cT&_TX._nY){var color=new _SX(0.3,0.9,0.9);for(var _Qt=this._D71._771;_Qt;_Qt=_Qt._J81()){var _N71=_Qt._O71();var _P71=_Qt._Q71();var _Sa1=_N71._e91(_Qt._Ta1())._e21();var _Ua1=_P71._e91(_Qt._Va1())._e21();
this._Z91._6Y(_Sa1,_Ua1,color)}}if(_cT&_TX._fY){var color=new _SX(0.9,0.3,0.9);var _Wa1=new _SX(0.3,0.3,0.9);var _Xa1=this._D71._E71;for(var _M7=this.__91;_M7;_M7=_M7._J81()){if(_M7._D81()==!1){continue }for(var _1t=_M7._G81();_1t;_1t=_1t._J81()){for(var _Q7=0;_Q7<_1t._j_;++_Q7){var _g91=_1t._v81[_Q7];var _CY=_Xa1._x_(_g91._q_);var _5_=[];_5_[0]=new _eW(_CY._UY.x,_CY._UY.y);_5_[1]=new _eW(_CY._VY.x,_CY._UY.y);_5_[2]=new _eW(_CY._VY.x,_CY._VY.y);_5_[3]=new _eW(_CY._UY.x,_CY._VY.y);this._Z91.__X(_5_,4,color);var _Ya1=new _b21();
_1t._391()._BY(_Ya1,_M7._8X(),0);_5_[0]=new _eW(_Ya1._UY.x,_Ya1._UY.y);_5_[1]=new _eW(_Ya1._VY.x,_Ya1._UY.y);_5_[2]=new _eW(_Ya1._VY.x,_Ya1._VY.y);_5_[3]=new _eW(_Ya1._UY.x,_Ya1._VY.y);this._Z91.__X(_5_,4,_Wa1)}}}}if(_cT&_TX._gY){for(var _M7=this.__91;_M7;_M7=_M7._J81()){var _1X=_M7._8X()._N5();_1X._tx=_M7._V71();this._Z91._9Y(_1X)}}},/// @param callback a user implemented callback class.
/// @param aabb the query box.
_Za1:function(_F_,_CY){var __a1=new _fa1();__a1._C71=this._D71._E71;__a1._F_=_F_;this._D71._E71._I_(__a1,
_CY);this._da1._Za1(_F_,_CY)},/// @param callback a user implemented callback class.
/// @param point1 the ray starting point
/// @param point2 the ray ending point
_zY:function(_F_,_0b1,_1b1){var __a1=new _ga1();__a1._C71=this._D71._E71;__a1._F_=_F_;var _Nv=new _921();_Nv._SY=1.0;_Nv._7Y=_0b1;_Nv._8Y=_1b1;this._D71._E71._zY(__a1,_Nv);this._da1._zY(_F_,_0b1,_1b1)},/*@returns {b2Body} the head of the world body list. */_2b1:function(){return this.__91},/// @return the head of the world joint list.
_H81:function(){
return this._671},/// @return the head of the world contact list.
/// @warning contacts are created and destroyed in the middle of a time step.
_I81:function(){return this._D71._771},_3b1:function(_x81){if(_x81==this._6a1){return }this._6a1=_x81;if(this._6a1==!1){for(var _M7=this.__91;_M7;_M7=_M7._971){_M7._tK(!0)}}},_4b1:function(){return this._6a1},_5b1:function(_x81){this._2a1=_x81},_6b1:function(){return this._2a1},_7b1:function(_x81){this._3a1=_x81},_8b1:function(){return this._3a1},_9b1:function(_x81){
this._4a1=_x81},_ab1:function(){return this._4a1},_D_:function(){return this._D71._E71._D_()},_bb1:function(){return this._0a1},_cb1:function(){return this._1a1},_db1:function(){return this._D71._eb1},_O_:function(){return this._D71._E71._O_()},_Q_:function(){return this._D71._E71._Q_()},_S_:function(){return this._D71._E71._S_()},_fb1:function(_W91){this._7a1=_W91},_gb1:function(){return this._7a1},_z71:function(){return(this._Y61&_J71._La1)==_J71._La1},_hb1:function(_x81){if(_x81){this._Y61|=_J71._8a1}
else {this._Y61&=~_J71._8a1}},_ib1:function(){return(this._Y61&_J71._8a1)==_J71._8a1},/// @param newOrigin the new origin with respect to the old origin
_U_:function(_V_){_qV((this._Y61&_J71._La1)==0);if((this._Y61&_J71._La1)==_J71._La1){return }for(var _M7=this.__91;_M7;_M7=_M7._971){_M7._Z31._tx._mW(_V_);_M7._571._4X._mW(_V_);_M7._571._Qt._mW(_V_)}for(var _R7=this._671;_R7;_R7=_R7._971){_R7._U_(_V_)}this._D71._E71._U_(_V_)},_jb1:function(){return this._D71},_FW:function(_3V){for(var _M7=this.__91;_M7;
_M7=_M7._971){_M7._471._iW(_M7._Z31)}this._ba1._L11(this._0a1,this._D71._eb1,this._1a1,this._D71._qa1);for(var _M7=this.__91;_M7;_M7=_M7._971){_M7._Y61&=~_K61._r71;}for(var _Qt=this._D71._771;_Qt;_Qt=_Qt._971){_Qt._Y61&=~_kb1._r71}for(var _R7=this._671;_R7;_R7=_R7._971){_R7._lb1=!1}var _mb1=this._0a1;var _YU=new Array(_mb1);for(var _nb1=this.__91;_nb1;_nb1=_nb1._971){if(_nb1._Y61&_K61._r71){continue }if(_nb1._B81()==!1||_nb1._D81()==!1){continue }if(_nb1._wY()==_K61._L61){continue }this._ba1._6f();var _ob1=0;
_YU[_ob1++]=_nb1;_nb1._Y61|=_K61._r71;while(_ob1>0){var _M7=_YU[--_ob1];_qV(_M7._D81()==!0);this._ba1._pb1(_M7);_M7._tK(!0);if(_M7._wY()==_K61._L61){continue;}for(var _s81=_M7._771;_s81;_s81=_s81._Qg){var _M71=_s81._M71;if(_M71._Y61&_kb1._r71){continue }if(_M71._qb1()==!1||_M71._rb1()==!1){continue }var _sb1=_M71._tb1._091;var _ub1=_M71._vb1._091;if(_sb1||_ub1){continue }this._ba1._wb1(_M71);_M71._Y61|=_kb1._r71;var _c21=_s81._c21;if(_c21._Y61&_K61._r71){continue }_qV(_ob1<_mb1);_YU[_ob1++]=_c21;_c21._Y61|=_K61._r71}
for(var _ua1=_M7._671;_ua1;_ua1=_ua1._Qg){if(_ua1._P81._lb1==!0){continue }var _c21=_ua1._c21;if(_c21._D81()==!1){continue;}this._ba1._xb1(_ua1._P81);_ua1._P81._lb1=!0;if(_c21._Y61&_K61._r71){continue }_qV(_ob1<_mb1);_YU[_ob1++]=_c21;_c21._Y61|=_K61._r71}}this._ba1._FW(_3V,this._7a1,this._6a1);for(var _Q7=0;_Q7<this._ba1._0a1;++_Q7){var _M7=this._ba1._yb1[_Q7];if(_M7._wY()==_K61._L61){_M7._Y61&=~_K61._r71}}}{_V91.start();for(var _M7=this.__91;_M7;_M7=_M7._J81()){if((_M7._Y61&_K61._r71)==0){continue }if(_M7._wY()==_K61._L61){
continue }_M7._r81()}this._D71._Ka1();_V91.stop()}},_Ma1:function(_3V){this._ba1._L11(2*_DV,_DV,0,this._D71._qa1);if(this._5a1){for(var _M7=this.__91;_M7;_M7=_M7._971){_M7._Y61&=~_K61._r71;_M7._571._7X=0.0}for(var _Qt=this._D71._771;_Qt;_Qt=_Qt._971){_Qt._Y61&=~(_kb1._s71|_kb1._r71);_Qt._zb1=0;_Qt._Ab1=1.0}}for(;;){var _Bb1=null;var _Cb1=1.0;for(var _Qt=this._D71._771;_Qt;_Qt=_Qt._971){if(_Qt._qb1()==!1){continue }if(_Qt._zb1>_CV){continue }var alpha=1.0;if(_Qt._Y61&_kb1._s71){alpha=_Qt._Ab1}else {var _Db1=_Qt._O71();
var _Eb1=_Qt._Q71();if(_Db1._591()||_Eb1._591()){continue }var _Fb1=_Db1._a91();var _Gb1=_Eb1._a91();var _o11=_Fb1._OC;var _p11=_Gb1._OC;_qV(_o11==_K61._i71||_p11==_K61._i71);var _Hb1=_Fb1._B81()&&_o11!=_K61._L61;var _Ib1=_Gb1._B81()&&_p11!=_K61._L61;if(_Hb1==!1&&_Ib1==!1){continue }var _Jb1=_Fb1._y81()||_o11!=_K61._i71;var _Kb1=_Gb1._y81()||_p11!=_K61._i71;if(_Jb1==!1&&_Kb1==!1){continue }var _7X=_Fb1._571._7X;if(_Fb1._571._7X<_Gb1._571._7X){_7X=_Gb1._571._7X;_Fb1._571._aX(_7X)}else if(_Gb1._571._7X<_Fb1._571._7X){
_7X=_Fb1._571._7X;_Gb1._571._aX(_7X)}_qV(_7X<1.0);var _401=_Qt._Ta1();var _501=_Qt._Va1();var _Nv=new _V51();_Nv._701._Ig(_Db1._391(),_401);_Nv._801._Ig(_Eb1._391(),_501);_Nv._W51._iW(_Fb1._571);_Nv._X51._iW(_Gb1._571);_Nv._Y51=1.0;var _Pv=new _Z51();_r61(_Pv,_Nv);var _9X=_Pv._L7;if(_Pv.state==_Z51._161){alpha=_EX(_7X+(1.0-_7X)*_9X,1.0)}else {alpha=1.0}_Qt._Ab1=alpha;_Qt._Y61|=_kb1._s71}if(alpha<_Cb1){_Bb1=_Qt;_Cb1=alpha}}if(_Bb1==null||1.0-10.0*_tV<_Cb1){this._5a1=!0;break }var _Db1=_Bb1._O71();var _Eb1=_Bb1._Q71();
var _Fb1=_Db1._a91();var _Gb1=_Eb1._a91();_J71._ha1._iW(_Fb1._571);_J71._ia1._iW(_Gb1._571);_Fb1._aX(_Cb1);_Gb1._aX(_Cb1);_Bb1._7f(this._D71._qa1);_Bb1._Y61&=~_kb1._s71;++_Bb1._zb1;if(_Bb1._qb1()==!1||_Bb1._rb1()==!1){_Bb1._Lb1(!1);_Fb1._571._iW(_J71._ha1);_Gb1._571._iW(_J71._ia1);_Fb1._M81();_Gb1._M81();continue }_Fb1._tK(!0);_Gb1._tK(!0);this._ba1._6f();this._ba1._pb1(_Fb1);this._ba1._pb1(_Gb1);this._ba1._wb1(_Bb1);_Fb1._Y61|=_K61._r71;_Gb1._Y61|=_K61._r71;_Bb1._Y61|=_kb1._r71;var _Mb1=[_Fb1,_Gb1];
for(var _Q7=0;_Q7<2;++_Q7){var body=_Mb1[_Q7];if(body._OC==_K61._i71){for(var _s81=body._771;_s81;_s81=_s81._Qg){if(this._ba1._0a1==this._ba1._Nb1){break }if(this._ba1._eb1==this._ba1._Ob1){break }var _M71=_s81._M71;if(_M71._Y61&_kb1._r71){continue }var _c21=_s81._c21;if(_c21._OC==_K61._i71&&body._y81()==!1&&_c21._y81()==!1){continue }var _sb1=_M71._tb1._091;var _ub1=_M71._vb1._091;if(_sb1||_ub1){continue }_J71._ja1._iW(_c21._571);if((_c21._Y61&_K61._r71)==0){_c21._aX(_Cb1)}_M71._7f(this._D71._qa1);if(_M71._qb1()==!1){
_c21._571._iW(_J71._ja1);_c21._M81();continue }if(_M71._rb1()==!1){_c21._571._iW(_J71._ja1);_c21._M81();continue }_M71._Y61|=_kb1._r71;this._ba1._wb1(_M71);if(_c21._Y61&_K61._r71){continue }_c21._Y61|=_K61._r71;if(_c21._OC!=_K61._L61){_c21._tK(!0)}this._ba1._pb1(_c21)}}}var _Pb1=new _F91();_Pb1._G91=(1.0-_Cb1)*_3V._G91;_Pb1._H91=1.0/_Pb1._G91;_Pb1._I91=1.0;_Pb1._K91=20;_Pb1._J91=_3V._J91;_Pb1._L91=!1;this._ba1._Ma1(_Pb1,_Fb1._X61,_Gb1._X61);for(var _Q7=0;_Q7<this._ba1._0a1;++_Q7){var body=this._ba1._yb1[_Q7];
body._Y61&=~_K61._r71;if(body._OC!=_K61._i71){continue;}body._r81();for(var _s81=body._771;_s81;_s81=_s81._Qg){_s81._M71._Y61&=~(_kb1._s71|_kb1._r71)}}this._D71._Ka1();if(this._4a1){this._5a1=!1;break }}},_Ra1:function(_P81){var _Ga1=_P81._Qb1();var _Ha1=_P81._Rb1();var _L21=_Ga1._8X();var _N21=_Ha1._8X();var _w7=_L21._tx;var _y7=_N21._tx;var _7Y=_P81._Sb1();var _8Y=_P81._Tb1();var color=new _SX(0.5,0.8,0.8);switch(_P81._wY()){case _Aa1._Ub1:this._Z91._6Y(_7Y,_8Y,color);break;case _Aa1._Vb1:{var _Wb1=_P81;var _bq=_Wb1._Xb1();
var _cq=_Wb1._Yb1();this._Z91._6Y(_bq,_7Y,color);this._Z91._6Y(_cq,_8Y,color);this._Z91._6Y(_bq,_cq,color)}break;case _Aa1._Zb1:break;case _Aa1.__b1:this._Z91._0c1(_P81._1c1(),5.0,color);default :this._Z91._6Y(_w7,_7Y,color);this._Z91._6Y(_7Y,_8Y,color);this._Z91._6Y(_y7,_8Y,color)}},_Pa1:function(_5K,_1X,color){switch(_5K._wY()){case _uY._JY:{var _Y_=_5K._391();var _2Y=_tX(_1X,_Y_._PY);var _3Y=_Y_._vY;var _5Y=_rX(_1X.__v,new _eW(1.0,0.0));this._Z91._4Y(_2Y,_3Y,_5Y,color)}break;case _uY._KY:{var _sZ=_5K._391();
var _xa=_tX(_1X,_sZ._1Z);var _ya=_tX(_1X,_sZ._2Z);this._Z91._6Y(_xa,_ya,color)}break;case _uY._MY:{var ___=_5K._391();var _H8=___._fZ;var vertices=___._eZ;var _xa=_tX(_1X,vertices[0]);for(var _Q7=1;_Q7<_H8;++_Q7){var _ya=_tX(_1X,vertices[_Q7]);this._Z91._6Y(_xa,_ya,color);_xa=_ya}}break;case _uY._LY:{var _2c1=_5K._391();var vertexCount=_2c1._fZ;_qV(vertexCount<=_wV);var vertices=new Array(_wV);for(var _Q7=0;_Q7<vertexCount;++_Q7){vertices[_Q7]=_tX(_1X,_2c1._eZ[_Q7])}this._Z91._0Y(vertices,vertexCount,color)}break;
default :break }},_3c1:function(){return this._da1._3c1()},_4c1:function(_H8){this._da1._4c1(_H8)},_5c1:function(_FY){this._da1._5c1(_FY)},_6c1:function(){return this._da1._6c1()},_7c1:function(_U61){this._da1._7c1(_U61)},_8c1:function(){return this._da1._8c1()},_9c1:function(_ac1){this._da1._9c1(_ac1)},_bc1:function(){return this._da1._bc1()},_cc1:function(_3Y){this._da1._cc1(_3Y)},_dc1:function(){return this._da1._dc1()},_ec1:function(_w71){_qV(this._z71()==!1);if(this._z71()){return 0}var _tx=this._da1._ec1(_w71);
return _tx},_fc1:function(index,_gc1){this._da1._fc1(index,_gc1)},_hc1:function(_QY,_1X,_gc1){_qV(this._z71()==!1);if(this._z71()){return 0}return this._da1._hc1(_QY,_1X,_gc1)},_ic1:function(_w71){_qV(this._z71()==!1);if(this._z71()){return null}var _j9=this._da1._ic1(_w71);return _j9},_jc1:function(_kc1,_lc1){_qV(this._z71()==!1);if(this._z71()){return }this._da1._jc1(_kc1,_lc1)},_mc1:function(_qO,_gc1){_qV(this._z71()==!1);if(this._z71()){return }this._da1._mc1(_qO,_gc1)},_nc1:function(){return this._da1._nc1()}
,_oc1:function(){return this._da1._oc1()},_pc1:function(){return this._da1._pc1()},_qc1:function(){return this._da1._qc1()},_rc1:function(){return this._da1._rc1()},_sc1:function(){return this._da1._sc1()},_tc1:function(buffer,_uc1){this._da1._tc1(buffer,_uc1)},_vc1:function(buffer,_uc1){this._da1._vc1(buffer,_uc1)},_wc1:function(buffer,_uc1){this._da1._wc1(buffer,_uc1)},_xc1:function(buffer,_uc1){this._da1._xc1(buffer,_uc1)},_yc1:function(buffer,_uc1){this._da1._yc1(buffer,_uc1)},_zc1:function(){return this._da1._Ac1}
,_Bc1:function(){return this._da1._eb1},_Cc1:function(){return this._da1._Dc1},_Ec1:function(){return this._da1._Fc1},_Gc1:function(){return this._da1._Gc1()},_Hc1:function(){return this._da1._Hc1()},_Ic1:function(){return this._da1._Ic1()},_Jc1:function(){return this._da1._Jc1()},_Qa1:function(_Kc1){var _Lc1=_Kc1._Jc1();if(_Lc1){var _Mc1=_Kc1._dc1();var _Nc1=_Kc1._oc1();if(_Kc1._Oc1.data){var _Pc1=_Kc1._qc1();this._Z91._aY(_Nc1,_Mc1,_Pc1,_Lc1)}else {this._Z91._aY(_Nc1,_Mc1,null,_Lc1)}}}};_J71._K71=0x0001;_J71._La1=0x0002;
_J71._8a1=0x0004;function _Qc1(_uc1){this._Rc1=new Array(_uc1);this._c41=0;this._Sc1=0;this._Tc1=_uc1}_Qc1.prototype={_Uc1:function(_Rg){if(this._Sc1>=this._Tc1)return;this._Rc1[this._Sc1++]=_Rg},_Vc1:function(){_qV(this._c41<this._Sc1);this._c41++},_Wc1:function(){return this._c41>=this._Sc1},_Xc1:function(){return this._Rc1[this._c41]}};function _Yc1(_Zc1){this.__c1=new Array(_Zc1);this._0d1=0;this._1d1=0;this._2d1=0;this._3d1=null}_Yc1._4d1=function(){this._2Y=new _eW();this._5d1=0};_Yc1._6d1=function(x,
y,_Q7,_j9){this._VC=x;this._WC=y;this._7d1=_Q7;this._8d1=_j9};_Yc1.prototype={_9d1:function(_2Y,_5d1){var _j9=(this.__c1[this._0d1++]=new _Yc1._4d1());_j9._2Y._iW(_2Y);_j9._5d1=_5d1},_ad1:function(_3Y){_qV(this._3d1==null);var _bd1=1/_3Y;var _KZ=new _eW(+_sV,+_sV);var _LZ=new _eW(-_sV,-_sV);for(var _Kg=0;_Kg<this._0d1;_Kg++){var _j9=this.__c1[_Kg];_KZ._iW(_FX(_KZ,_j9._2Y));_LZ._iW(_HX(_LZ,_j9._2Y))}this._1d1=1+((_bd1*(_LZ.x-_KZ.x))>>>0);this._2d1=1+((_bd1*(_LZ.y-_KZ.y))>>>0);this._3d1=new Array(this._1d1*this._2d1);
for(var _Q7=0;_Q7<this._1d1*this._2d1;_Q7++)this._3d1[_Q7]=null;var _cd1=new _Qc1(this._1d1*this._1d1);for(var _Kg=0;_Kg<this._0d1;_Kg++){var _j9=this.__c1[_Kg];_j9._2Y._iW(_eW.Multiply(_bd1,_eW._mW(_j9._2Y,_KZ)));var x=_GX(0,_EX(Math.floor(_j9._2Y.x),this._1d1-1));var y=_GX(0,_EX(Math.floor(_j9._2Y.y),this._2d1-1));_cd1._Uc1(new _Yc1._6d1(x,y,x+y*this._1d1,_j9))}while(!_cd1._Wc1()){var x=_cd1._Xc1()._VC;var y=_cd1._Xc1()._WC;var _Q7=_cd1._Xc1()._7d1;var _j9=_cd1._Xc1()._8d1;_cd1._Vc1();if(!this._3d1[_Q7]){
this._3d1[_Q7]=_j9;if(x>0){_cd1._Uc1(new _Yc1._6d1(x-1,y,_Q7-1,_j9))}if(y>0){_cd1._Uc1(new _Yc1._6d1(x,y-1,_Q7-this._1d1,_j9))}if(x<this._1d1-1){_cd1._Uc1(new _Yc1._6d1(x+1,y,_Q7+1,_j9))}if(y<this._2d1-1){_cd1._Uc1(new _Yc1._6d1(x,y+1,_Q7+this._1d1,_j9))}}}var _dd1=this._1d1+this._2d1;for(var _ed1=0;_ed1<_dd1;_ed1++){for(var y=0;y<this._2d1;y++){for(var x=0;x<this._1d1-1;x++){var _Q7=x+y*this._1d1;var _k9=this._3d1[_Q7];var _M7=this._3d1[_Q7+1];if(_k9!=_M7){_cd1._Uc1(new _Yc1._6d1(x,y,_Q7,_M7));_cd1._Uc1(new _Yc1._6d1(x+1,
y,_Q7+1,_k9))}}}for(var y=0;y<this._2d1-1;y++){for(var x=0;x<this._1d1;x++){var _Q7=x+y*this._1d1;var _k9=this._3d1[_Q7];var _M7=this._3d1[_Q7+this._1d1];if(_k9!=_M7){_cd1._Uc1(new _Yc1._6d1(x,y,_Q7,_M7));_cd1._Uc1(new _Yc1._6d1(x,y+1,_Q7+this._1d1,_k9))}}}var _fd1=!1;while(!_cd1._Wc1()){var x=_cd1._Xc1()._VC;var y=_cd1._Xc1()._WC;var _Q7=_cd1._Xc1()._7d1;var _Kg=_cd1._Xc1()._8d1;_cd1._Vc1();var _k9=this._3d1[_Q7];var _M7=_Kg;if(_k9!=_M7){var _yF=_k9._2Y.x-x;var _zF=_k9._2Y.y-y;var _gd1=_M7._2Y.x-x;var _hd1=_M7._2Y.y-y;
var _VQ=_yF*_yF+_zF*_zF;var _Zu=_gd1*_gd1+_hd1*_hd1;if(_VQ>_Zu){this._3d1[_Q7]=_M7;if(x>0){_cd1._Uc1(new _Yc1._6d1(x-1,y,_Q7-1,_M7))}if(y>0){_cd1._Uc1(new _Yc1._6d1(x,y-1,_Q7-this._1d1,_M7))}if(x<this._1d1-1){_cd1._Uc1(new _Yc1._6d1(x+1,y,_Q7+1,_M7))}if(y<this._2d1-1){_cd1._Uc1(new _Yc1._6d1(x,y+1,_Q7+this._1d1,_M7))}_fd1=!0}}}if(!_fd1){break }}},_id1:function(_F_){for(var y=0;y<this._2d1-1;y++){for(var x=0;x<this._1d1-1;x++){var _Q7=x+y*this._1d1;var _k9=this._3d1[_Q7];var _M7=this._3d1[_Q7+1];var _Qt=this._3d1[_Q7+this._1d1];
var _si=this._3d1[_Q7+1+this._1d1];if(_M7!=_Qt){if(_k9!=_M7&&_k9!=_Qt){_F_(_k9._5d1,_M7._5d1,_Qt._5d1)}if(_si!=_M7&&_si!=_Qt){_F_(_M7._5d1,_si._5d1,_Qt._5d1)}}}}}};function _jd1(_J7,_j9,_M7,_k9){if(_J7 instanceof _SX){this._J7=(255*_J7._J7);this._j9=(255*_J7._j9);this._M7=(255*_J7._M7);this._k9=255}else if(typeof(_J7)!=='undefined'){this._J7=_J7;this._j9=_j9;this._M7=_M7;this._k9=_k9}else this._J7=this._j9=this._M7=this._k9=0}_jd1.prototype={_kd1:function(){return !this._J7&&!this._j9&&!this._M7&&!this._k9;
},_ld1:function(){return new _SX(1.0/255*this._J7,1.0/255*this._j9,1.0/255*this._M7)},_Ig:function(_md1,_nd1,_od1,_pd1){if(_md1 instanceof _SX){this._J7=(255*_md1._J7);this._j9=(255*_md1._j9);this._M7=(255*_md1._M7);this._k9=255}else {this._J7=_md1;this._j9=_nd1;this._M7=_od1;this._k9=_pd1}},_iW:function(_qd1){this._J7=_qd1._J7;this._j9=_qd1._j9;this._M7=_qd1._M7;this._k9=_qd1._k9},_N5:function(){return new _jd1(this._J7,this._j9,this._M7,this._k9)}};_jd1._rd1=new _jd1();function _sd1(){this._cT=0;this.position=new _eW();
this._9M=new _eW();this.color=new _jd1();this._p_=null}_sd1._td1=0;_sd1._ud1=1<<1;_sd1._vd1=1<<2;_sd1._wd1=1<<3;_sd1._xd1=1<<4;_sd1._yd1=1<<5;_sd1._zd1=1<<6;_sd1._Ad1=1<<7;_sd1._Bd1=1<<8;_sd1._Cd1=1<<9;function _Dd1(){this._cT=0;this._Ed1=0;this.position=new _eW();this.angle=0;this._M61=new _eW();this._N61=0;this.color=new _jd1();this._Fd1=1;this._QY=null;this._Gd1=!0;this._p_=null}function _Hd1(){this._Id1=null;this._Jd1=0;this._Kd1=0;this._Ld1=0;this._Md1=1.0;this._871=null;this._971=null;this._Nd1=-1;
this._j71=0;this._Od1=0;this._Pd1=new _eW();this._a71=new _eW();this._b71=0;this._Qd1=new _0X();this._Qd1._BW();this._Rd1=!0;this._Sd1=!1;this._Td1=!1;this._n71=null}_Hd1.prototype={_J81:function(){return this._971},_Jc1:function(){return this._Kd1-this._Jd1},_Ud1:function(){return this._Jd1},_Vd1:function(){return this._Ld1},_Wd1:function(_cT){this._Ld1=_cT},_981:function(){this._Xd1();return this._j71},_a81:function(){this._Xd1();return this._Od1},_e21:function(){this._Xd1();return this._Pd1},_Y71:function(){
this._Xd1();return this._a71},__71:function(){this._Xd1();return this._b71},_8X:function(){return this._Qd1},_VJ:function(){return this._Qd1._tx},_YW:function(){return this._Qd1.__v._YW()},_y_:function(){return this._n71},_K81:function(data){this._n71=data},_Xd1:function(){if(this._Nd1!=this._Id1._Nd1){var _v7=this._Id1._Yd1();this._j71=0;this._Pd1._fW();this._a71._fW();for(var _Q7=this._Jd1;_Q7<this._Kd1;_Q7++){this._j71+=_v7;this._Pd1._Qe(_eW.Multiply(_v7,this._Id1._Zd1.data[_Q7]));this._a71._Qe(_eW.Multiply(_v7,
this._Id1.__d1.data[_Q7]))}if(this._j71>0){this._Pd1.Multiply(1/this._j71);this._a71.Multiply(1/this._j71)}this._Od1=0;this._b71=0;for(var _Q7=this._Jd1;_Q7<this._Kd1;_Q7++){var _tx=_eW._mW(this._Id1._Zd1.data[_Q7],this._Pd1);var _y9=_eW._mW(this._Id1.__d1.data[_Q7],this._a71);this._Od1+=_v7*_cX(_tx,_tx);this._b71+=_v7*_dX(_tx,_y9)}if(this._Od1>0){this._b71*=1/this._Od1}this._Nd1=this._Id1._Nd1}}};_Hd1._0e1=1<<0;_Hd1._1e1=1<<1;function _2e1(){this._401=this._501=0;this._cT=0;this._3e1=0.0;this._IY=new _eW()}
;function _4e1(){this.index=0;this.body=null;this._3e1=0.0;this._IY=new _eW();this._sY=0.0};function _ea1(){this._Nd1=0;this._5e1=0;this._6e1=0;this._H71=1;this._7e1=1;this._e71=1;this._8e1=1;this._9e1=1;this._ae1=1;this._fZ=0;this._be1=0;this._ce1=0;this._de1=new _ea1._ee1();this._Zd1=new _ea1._ee1();this.__d1=new _ea1._ee1();this._fe1=null;this._ge1=null;this._he1=null;this._Oc1=new _ea1._ee1();this._ie1=null;this._je1=new _ea1._ee1();this._j_=0;this._ke1=0;this._le1=null;this._eb1=0;this._Ob1=0;this._Ac1=null;
this._Fc1=0;this._me1=0;this._Dc1=null;this._k_=0;this._ne1=0;this._l_=null;this._oe1=0;this._pe1=0;this._qe1=null;this._re1=0;this._se1=null;this._te1=0.05;this._ue1=1.0;this._ve1=0.25;this._we1=0.25;this._xe1=0.25;this._ye1=0.1;this._ze1=0.2;this._Ae1=0.5;this._Be1=0.5;this._Ce1=0.5;this._371=null}_ea1._ee1=function(){this.data=null;this._De1=0};_ea1._Ee1=function(){this.index=0;this._5d1=0};_ea1._Ee1._Fe1=function(_k9,_M7){return _k9._5d1<_M7._5d1;};_ea1._Ee1._Ge1=function(_k9,_M7){return _k9<_M7._5d1}
;_ea1._Ee1._He1=function(_k9,_M7){return _k9._5d1<_M7};_ea1._Ie1=function(){this._401=this._501=0;this._cT=0;this._Fd1=0.0;this._HY=0.0};_ea1._Je1=function(){this._401=this._501=this._Ke1=0;this._cT=0;this._Fd1=0.0;this._Le1=new _eW(),this._Me1=new _eW(),this._qd1=new _eW();this._Ne1=0.0,this._Oe1=0.0,this._Pe1=0.0,this._ps=0.0};_ea1._Qe1=_sd1._wd1;_ea1._Re1=_sd1._xd1;_ea1._Se1=_sd1._zd1;_ea1._Te1=12;_ea1._Ue1=12;_ea1._Ve1=8*4;_ea1._We1=1<<(_ea1._Ue1-1);_ea1._Xe1=_ea1._Ve1-_ea1._Ue1;_ea1._Ye1=_ea1._Ve1-_ea1._Ue1-_ea1._Te1;
_ea1._Ze1=1<<_ea1._Ye1;_ea1.__e1=_ea1._Ze1*(1<<(_ea1._Te1-1));_ea1._0f1=(1<<_ea1._Te1)-1;_ea1._1f1=(1<<_ea1._Ue1)-1;function _2f1(x,y){return((y+_ea1._We1)<<_ea1._Xe1)+(_ea1._Ze1*x+_ea1.__e1)>>>0}function _3f1(_5d1,x,y){return _5d1+(y<<_ea1._Xe1)+(x<<_ea1._Ye1)}function _4f1(_uc1,_5f1){return _5f1&&_uc1>_5f1?_5f1:_uc1}function _6f1(_M71){return(_M71._cT&_sd1._ud1)==_sd1._ud1}_ea1.prototype={_7f1:function(_8f1,_9f1,_af1){_qV(_af1>_9f1);var _bf1=(_8f1)?_8f1.slice():[];_bf1.length=_af1;return _bf1},_cf1:function(buffer,
_De1,_9f1,_af1,_df1){_qV(_af1>_9f1);_qV(!_De1||_af1<=_De1);if((!_df1||buffer)&&!_De1){buffer=this._7f1(buffer,_9f1,_af1)}return buffer},_ef1:function(buffer,_9f1,_af1,_df1){_qV(_af1>_9f1);return this._cf1(buffer.data,buffer._De1,_9f1,_af1,_df1)},_ff1:function(buffer){if(!buffer){buffer=new Array(this._be1);for(var _Q7=0;_Q7<this._be1;_Q7++){buffer[_Q7]=0}}return buffer},_ec1:function(_w71){if(this._fZ>=this._be1){var _uc1=this._fZ?2*this._fZ:_WV;_uc1=_4f1(_uc1,this._ce1);_uc1=_4f1(_uc1,this._de1._De1);
_uc1=_4f1(_uc1,this._Zd1._De1);_uc1=_4f1(_uc1,this.__d1._De1);_uc1=_4f1(_uc1,this._Oc1._De1);_uc1=_4f1(_uc1,this._je1._De1);if(this._be1<_uc1){this._de1.data=this._ef1(this._de1,this._be1,_uc1,!1);this._Zd1.data=this._ef1(this._Zd1,this._be1,_uc1,!1);this.__d1.data=this._ef1(this.__d1,this._be1,_uc1,!1);this._fe1=this._cf1(this._fe1,0,this._be1,_uc1,!1);this._ge1=this._cf1(this._ge1,0,this._be1,_uc1,!0);this._he1=this._cf1(this._he1,0,this._be1,_uc1,!0);this._Oc1.data=this._ef1(this._Oc1,this._be1,
_uc1,!0);this._ie1=this._cf1(this._ie1,0,this._be1,_uc1,!1);this._je1.data=this._ef1(this._je1,this._be1,_uc1,!0);this._be1=_uc1}}if(this._fZ>=this._be1){return _QV}var index=this._fZ++;this._de1.data[index]=_w71._cT;this._Zd1.data[index]=_w71.position._N5();this.__d1.data[index]=_w71._9M._N5();this._ie1[index]=null;if(this._he1){this._he1[index]=0}if(this._Oc1.data||!_w71.color._kd1()){this._Oc1.data=this._ff1(this._Oc1.data);this._Oc1.data[index]=_w71.color._N5()}if(this._je1.data||_w71._p_){this._je1.data=this._ff1(this._je1.data);
this._je1.data[index]=_w71._p_}if(this._j_>=this._ke1){var _9f1=this._ke1;var _af1=this._j_?2*this._j_:_WV;this._le1=this._7f1(this._le1,_9f1,_af1);this._ke1=_af1}this._le1[this._j_]=new _ea1._Ee1();this._le1[this._j_++].index=index;return index},_fc1:function(index,_gc1){var _cT=_sd1._ud1;if(_gc1){_cT|=_sd1._Cd1}this._de1.data[index]|=_cT},_hc1:function(_QY,_1X,_gc1){function _gf1(_Kc1,_QY,_1X,_gc1){this._Id1=_Kc1;this._Z81=_QY;this._Z31=_1X;this._hf1=_gc1;this._ya1=0}_gf1.prototype={_C91:function(_5K){
return !1},_D91:function(index){_qV(index>=0&&index<this._Id1._fZ);if(this._Z81._yY(this._Z31,this._Id1._Zd1.data[index])){this._Id1._fc1(index,this._hf1);this._ya1++}return !0},_if1:function(){return this._ya1}};var _F_=new _gf1(this,_QY,_1X,_gc1);var _CY=new _b21();_QY._BY(_CY,_1X,0);this._371._Za1(_F_,_CY);return _F_._if1()},_mc1:function(_qO,_gc1){for(var _Q7=_qO._Jd1;_Q7<_qO._Kd1;_Q7++){this._fc1(_Q7,_gc1)}},_ic1:function(_jf1){var _na=this._kf1();var identity=new _0X();identity._BW();var transform=identity._N5();
var _lf1=this._fZ;if(_jf1._QY){var _mf1=new _sd1();_mf1._cT=_jf1._cT;_mf1.color=_jf1.color;_mf1._p_=_jf1._p_;var _QY=_jf1._QY;transform._Ig(_jf1.position,_jf1.angle);var _CY=new _b21();var _f91=_QY._xY();for(var _AY=0;_AY<_f91;_AY++){if(_AY==0){_QY._BY(_CY,identity,_AY)}else {var _nf1=new _b21();_QY._BY(_nf1,identity,_AY);_CY._h21(_nf1)}}for(var y=Math.floor(_CY._UY.y/_na)*_na;y<_CY._VY.y;y+=_na){for(var x=Math.floor(_CY._UY.x/_na)*_na;x<_CY._VY.x;x+=_na){var _tx=new _eW(x,y);if(_QY._yY(identity,_tx)){_tx=_tX(transform,
_tx);_mf1.position._iW(_tx);_mf1._9M._iW(_eW._Qe(_jf1._M61,_fX(_jf1._N61,_eW._mW(_tx,_jf1.position))));this._ec1(_mf1)}}}}var lastIndex=this._fZ;var _qO=new _Hd1();_qO._Id1=this;_qO._Jd1=_lf1;_qO._Kd1=lastIndex;_qO._Ld1=_jf1._Ed1;_qO._Md1=_jf1._Fd1;_qO._n71=_jf1._p_;_qO._Qd1=transform;_qO._Rd1=_jf1._Gd1;_qO._871=null;_qO._971=this._se1;if(this._se1){this._se1._871=_qO}this._se1=_qO;++this._re1;for(var _Q7=_lf1;_Q7<lastIndex;_Q7++){this._ie1[_Q7]=_qO}this._of1(!0);if(_jf1._cT&_ea1._Qe1){for(var _Kg=0;
_Kg<this._eb1;_Kg++){var _M71=this._Ac1[_Kg];var _k9=_M71._401;var _M7=_M71._501;if(_k9>_M7){var _pf1=_k9;_k9=_M7;_M7=_pf1}if(_lf1<=_k9&&_M7<lastIndex){if(this._k_>=this._ne1){var _9f1=this._ne1;var _af1=this._k_?2*this._k_:_WV;this._l_=this._7f1(this._l_,_9f1,_af1);this._ne1=_af1}var _N_=this._l_[this._k_]=new _ea1._Ie1();_N_._401=_k9;_N_._501=_M7;_N_._cT=_M71._cT;_N_._Fd1=_jf1._Fd1;_N_._HY=_iX(this._Zd1.data[_k9],this._Zd1.data[_M7]);this._k_++}}}if(_jf1._cT&_ea1._Re1){var _qf1=new _Yc1(lastIndex-_lf1);
for(var _Q7=_lf1;_Q7<lastIndex;_Q7++){_qf1._9d1(this._Zd1.data[_Q7],_Q7)}_qf1._ad1(_na/2);var _F_=function _rf1(_k9,_M7,_Qt){var _Le1=this._Zd1.data[_k9];var _Me1=this._Zd1.data[_M7];var _qd1=this._Zd1.data[_Qt];var _sf1=_eW._mW(_Le1,_Me1);var _tf1=_eW._mW(_Me1,_qd1);var _uf1=_eW._mW(_qd1,_Le1);var _vf1=_VV*this._ae1;if(_cX(_sf1,_sf1)<_vf1&&_cX(_tf1,_tf1)<_vf1&&_cX(_uf1,_uf1)<_vf1){if(this._oe1>=this._pe1){var _9f1=this._pe1;var _af1=this._oe1?2*this._oe1:_WV;this._qe1=this._7f1(this._qe1,_9f1,_af1);this._pe1=_af1}
var _wf1=this._qe1[this._oe1];_wf1._401=_k9;_wf1._501=_M7;_wf1._Ke1=_Qt;_wf1._cT=this._de1.data[_k9]|this._de1.data[_M7]|this._de1.data[_Qt];_wf1._Fd1=_jf1._Fd1;var _xf1=_eW.Multiply(1.0/3.0,_eW._Qe(_Le1,_eW._Qe(_Me1,_qd1)));_wf1._Le1=_eW._mW(_Le1,_xf1);_wf1._Me1=_eW._mW(_Me1,_xf1);_wf1._qd1=_eW._mW(_qd1,_xf1);_wf1._Ne1=-_cX(_uf1,_sf1);_wf1._Oe1=-_cX(_sf1,_tf1);_wf1._Pe1=-_cX(_tf1,_uf1);_wf1._ps=_dX(_Le1,_Me1)+_dX(_Me1,_qd1)+_dX(_qd1,_Le1);this._oe1++}};_qf1._id1(_F_)}if(_jf1._Ed1&_sd1._0e1){this._yf1(_qO)}
return _qO},_jc1:function(_kc1,_lc1){_qV(_kc1!=_lc1);this._zf1(_lc1._Jd1,_lc1._Kd1,this._fZ);_qV(_lc1._Kd1==this._fZ);this._zf1(_kc1._Jd1,_kc1._Kd1,_lc1._Jd1);this._qV(_kc1._Kd1==_lc1._Jd1);var _Af1=0;for(var _Q7=_kc1._Jd1;_Q7<_lc1._Kd1;_Q7++){_Af1|=this._de1.data[_Q7]}this._of1(!0);if(_Af1&_ea1._Qe1){for(var _Kg=0;_Kg<this._eb1;_Kg++){var _M71=this._Ac1[_Kg];var _k9=_M71._401;var _M7=_M71._501;if(_k9>_M7){var _pf1=_k9;_k9=_M7;_M7=_pf1}if(_kc1._Jd1<=_k9&&_k9<_kc1._Kd1&&_lc1._Jd1<=_M7&&_M7<_lc1._Kd1){if(this._k_>=this._ne1){
var _9f1=this._ne1;var _af1=this._k_?2*this._k_:_WV;this._l_=this._7f1(this._l_,_9f1,_af1);this._ne1=_af1}var _N_=this._l_[this._k_]=new _ea1._Ie1();_N_._401=_k9;_N_._501=_M7;_N_._cT=_M71._cT;_N_._Fd1=_EX(_kc1._Md1,_lc1._Md1);_N_._HY=_iX(this._Zd1.data[_k9],this._Zd1.data[_M7]);this._k_++}}}if(_Af1&_ea1._Re1){}for(var _Q7=_lc1._Jd1;_Q7<_lc1._Kd1;_Q7++){this._ie1[_Q7]=_kc1}var _Ed1=_kc1._Ld1|_lc1._Ld1;_kc1._Ld1=_Ed1;_kc1._Kd1=_lc1._Kd1;_lc1._Jd1=_lc1._Kd1;this._Bf1(_lc1);if(_Ed1&_sd1._0e1){this._yf1(_kc1)}
},_Bf1:function(_qO){_qV(this._re1>0);_qV(_qO);if(this._371._Y91){this._371._Y91._Cf1(_qO)}for(var _Q7=_qO._Jd1;_Q7<_qO._Kd1;_Q7++){this._ie1[_Q7]=null}if(_qO._871){_qO._871._971=_qO._971}if(_qO._971){_qO._971._871=_qO._871}if(_qO==this._se1){this._se1=_qO._971}--this._re1},_yf1:function(_qO){for(var _Q7=_qO._Jd1;_Q7<_qO._Kd1;_Q7++){this._fe1[_Q7]=0}for(var _Kg=0;_Kg<this._eb1;_Kg++){var _M71=this._Ac1[_Kg];var _k9=_M71._401;var _M7=_M71._501;if(_k9>=_qO._Jd1&&_k9<_qO._Kd1&&_M7>=_qO._Jd1&&_M7<_qO._Kd1){
var _u4=_M71._3e1;this._fe1[_k9]+=_u4;this._fe1[_M7]+=_u4}}this._he1=this._ff1(this._he1);for(var _Q7=_qO._Jd1;_Q7<_qO._Kd1;_Q7++){var _u4=this._fe1[_Q7];this._he1[_Q7]=_u4<0.8?0:_sV}var _Df1=_qO._Jc1();for(var _L7=0;_L7<_Df1;_L7++){var _fd1=!1;for(var _Kg=0;_Kg<this._eb1;_Kg++){var _M71=this._Ac1[_Kg];var _k9=_M71._401;var _M7=_M71._501;if(_k9>=_qO._Jd1&&_k9<_qO._Kd1&&_M7>=_qO._Jd1&&_M7<_qO._Kd1){var _J7=1-_M71._3e1;var _Ef1=this._he1[_k9];var _Ff1=this._he1[_M7];var _Gf1=_Ff1+_J7;var _Hf1=_Ef1+_J7;if(_Ef1>_Gf1){
_Ef1=_Gf1;_fd1=!0}if(_Ff1>_Hf1){_Ff1=_Hf1;_fd1=!0}this._he1[_k9]=_Ef1;this._he1[_M7]=_Ff1}}if(!_fd1){break }}for(var _Q7=_qO._Jd1;_Q7<_qO._Kd1;_Q7++){var _tx=this._he1[_Q7];if(_tx<_sV){_tx*=this._8e1}else {_tx=0}this._he1[_Q7]=_tx}},_wb1:function(_k9,_M7){var _si=_eW._mW(this._Zd1.data[_M7],this._Zd1.data[_k9]);var _If1=_cX(_si,_si);if(_If1<this._ae1){if(this._eb1>=this._Ob1){var _9f1=this._Ob1;var _af1=this._eb1?2*this._eb1:_WV;this._Ac1=this._7f1(this._Ac1,_9f1,_af1);this._Ob1=_af1}var _Jf1=_dW(_If1);var _M71=this._Ac1[this._eb1]=new _2e1();
_M71._401=_k9;_M71._501=_M7;_M71._cT=this._de1.data[_k9]|this._de1.data[_M7];_M71._3e1=1-_If1*_Jf1*this._9e1;_M71._IY._iW(_eW.Multiply(_Jf1,_si));this._eb1++}},_of1:function(_Kf1){var _Lf1=0;var _Mf1=this._j_;for(var _Nf1=_Lf1;_Nf1<_Mf1;++_Nf1){var _g91=this._le1[_Nf1];var _Q7=_g91.index;var _tx=this._Zd1.data[_Q7];_g91._5d1=_2f1(this._9e1*_tx.x,this._9e1*_tx.y)}this._le1._WU(_Lf1,_Mf1,function(_k9,_M7){return _ea1._Ee1._Fe1(_k9,_M7)});this._eb1=0;for(var _k9=_Lf1,_Qt=_Lf1;_k9<_Mf1;_k9++){var _Of1=_3f1(this._le1[_k9]._5d1,
1,0);for(var _M7=_k9+1;_M7<_Mf1;_M7++){if(_Of1<this._le1[_M7]._5d1)break;this._wb1(this._le1[_k9].index,this._le1[_M7].index)}var _Pf1=_3f1(this._le1[_k9]._5d1,-1,1);for(;_Qt<_Mf1;_Qt++){if(_Pf1<=this._le1[_Qt]._5d1)break }var _Qf1=_3f1(this._le1[_k9]._5d1,1,1);for(var _M7=_Qt;_M7<_Mf1;_M7++){if(_Qf1<this._le1[_M7]._5d1)break;this._wb1(this._le1[_k9].index,this._le1[_M7].index)}}if(_Kf1){this._eb1=this._Ac1.__U(_6f1,this._eb1)}},_Rf1:function(){var _CY=new _b21();_CY._UY.x=+_sV;_CY._UY.y=+_sV;_CY._VY.x=-_sV;
_CY._VY.y=-_sV;for(var _Q7=0;_Q7<this._fZ;_Q7++){var _tx=this._Zd1.data[_Q7];_CY._UY._iW(_FX(_CY._UY,_tx));_CY._VY._iW(_HX(_CY._VY,_tx))}_CY._UY.x-=this._8e1;_CY._UY.y-=this._8e1;_CY._VY.x+=this._8e1;_CY._VY.y+=this._8e1;this._Fc1=0;function _Sf1(_Kc1){this._Id1=_Kc1}_Sf1.prototype={_C91:function(_5K){if(_5K._591()){return !0}var _QY=_5K._391();var _M7=_5K._a91();var _Xa1=_M7._V71();var _Tf1=_M7._981();var _Uf1=_M7._a81()-_Tf1*_M7._W71()._nW();var _Vf1=_Tf1>0?1/_Tf1:0;var _Wf1=_Uf1>0?1/_Uf1:0;var _f91=_QY._xY();
for(var _AY=0;_AY<_f91;_AY++){var _CY=_5K._e91(_AY)._N5();_CY._UY.x-=this._Id1._8e1;_CY._UY.y-=this._Id1._8e1;_CY._VY.x+=this._Id1._8e1;_CY._VY.y+=this._Id1._8e1;var _Lf1=0;var _Mf1=this._Id1._j_;var _Xf1=this._Id1._le1._1V(_Lf1,_Mf1,_2f1(this._Id1._9e1*_CY._UY.x,this._Id1._9e1*_CY._UY.y),function(_k9,_M7){return _ea1._Ee1._He1(_k9,_M7)});var _Yf1=this._Id1._le1._5V(_Xf1,_Mf1,_2f1(this._Id1._9e1*_CY._VY.x,this._Id1._9e1*_CY._VY.y),function(_k9,_M7){return _ea1._Ee1._Ge1(_k9,_M7)});for(var _g91=_Xf1;_g91!=_Yf1;
++_g91){var _Zf1=this._Id1._le1[_g91];var _k9=_Zf1.index;var __f1=this._Id1._Zd1.data[_k9];if(_CY._UY.x<=__f1.x&&__f1.x<=_CY._VY.x&&_CY._UY.y<=__f1.y&&__f1.y<=_CY._VY.y){var _si=[0];var _r7=new _eW();_5K._GY(__f1,_si,_r7,_AY);if(_si[0]<this._Id1._8e1){var _0g1=this._Id1._de1.data[_k9]&_sd1._vd1?0:this._Id1._1g1();var _2g1=_eW._mW(__f1,_Xa1);var _3g1=_dX(_2g1,_r7);if(this._Id1._Fc1>=this._Id1._me1){var _9f1=this._Id1._me1;var _af1=this._Id1._Fc1?2*this._Id1._Fc1:_WV;this._Id1._Dc1=this._Id1._7f1(this._Id1._Dc1,
_9f1,_af1);this._Id1._me1=_af1}var _M71=this._Id1._Dc1[this._Id1._Fc1]=new _4e1();_M71.index=_k9;_M71.body=_M7;_M71._3e1=1-_si[0]*this._Id1._9e1;_M71._IY._iW(_r7._jW());_M71._sY=1/(_0g1+_Vf1+_Wf1*_3g1*_3g1);this._Id1._Fc1++}}}}return !0},_D91:function(_Q7){return !1}};var _F_=new _Sf1(this);this._371._Za1(_F_,_CY)},_FW:function(_3V){++this._Nd1;if(this._fZ==0){return }this._5e1=0;for(var _Q7=0;_Q7<this._fZ;_Q7++){this._5e1|=this._de1.data[_Q7]}if(this._5e1&_sd1._ud1){this._4g1()}this._6e1=0;for(var _qO=this._se1;
_qO;_qO=_qO._J81()){this._6e1|=_qO._Ld1}var _W91=_eW.Multiply(_3V._G91*this._e71,this._371._gb1());var _5g1=this._6g1(_3V);for(var _Q7=0;_Q7<this._fZ;_Q7++){var _y9=this.__d1.data[_Q7];_y9._Qe(_W91);var _ya=_cX(_y9,_y9);if(_ya>_5g1){_y9.Multiply(_bW(_5g1/_ya))}}this._7g1(_3V);if(this._6e1&_Hd1._1e1){this._8g1(_3V)}if(this._5e1&_sd1._vd1){this._9g1(_3V)}for(var _Q7=0;_Q7<this._fZ;_Q7++){this._Zd1.data[_Q7]._Qe(_eW.Multiply(_3V._G91,this.__d1.data[_Q7]))}this._Rf1();this._of1(!1);if(this._5e1&_sd1._yd1){
this._ag1(_3V)}if(this._5e1&_sd1._zd1){this._bg1(_3V)}if(this._5e1&_sd1._Ad1){this._cg1(_3V)}if(this._5e1&_sd1._xd1){this._dg1(_3V)}if(this._5e1&_sd1._wd1){this._eg1(_3V)}if(this._6e1&_Hd1._0e1){this._fg1(_3V)}if(this._5e1&_sd1._Bd1){this._gg1(_3V)}this._hg1(_3V);this._ig1(_3V)},_7g1:function(_3V){var _CY=new _b21();_CY._UY.x=+_sV;_CY._UY.y=+_sV;_CY._VY.x=-_sV;_CY._VY.y=-_sV;for(var _Q7=0;_Q7<this._fZ;_Q7++){var _y9=this.__d1.data[_Q7];var _7Y=this._Zd1.data[_Q7];var _8Y=_eW._Qe(_7Y,_eW.Multiply(_3V._G91,
_y9));_CY._UY=_FX(_CY._UY,_FX(_7Y,_8Y));_CY._VY=_HX(_CY._VY,_HX(_7Y,_8Y))}function _jg1(_Kc1,_3V){this._Id1=_Kc1;this._kg1=_3V}_jg1.prototype={_C91:function(_5K){if(_5K._591()){return !0}var _QY=_5K._391();var body=_5K._a91();var _Lf1=0;var _Mf1=this._Id1._j_;var _f91=_QY._xY();for(var _AY=0;_AY<_f91;_AY++){var _CY=_5K._e91(_AY)._N5();_CY._UY.x-=this._Id1._8e1;_CY._UY.y-=this._Id1._8e1;_CY._VY.x+=this._Id1._8e1;_CY._VY.y+=this._Id1._8e1;var _Xf1=this._Id1._le1._1V(_Lf1,_Mf1,_2f1(this._Id1._9e1*_CY._UY.x,this._Id1._9e1*_CY._UY.y),
function(_k9,_M7){return _ea1._Ee1._He1(_k9,_M7)});var _Yf1=this._Id1._le1._5V(_Xf1,_Mf1,_2f1(this._Id1._9e1*_CY._VY.x,this._Id1._9e1*_CY._VY.y),function(_k9,_M7){return _ea1._Ee1._Ge1(_k9,_M7)});for(var _g91=_Xf1;_g91!=_Yf1;++_g91){var _Zf1=this._Id1._le1[_g91];var _k9=_Zf1.index;var __f1=this._Id1._Zd1.data[_k9];if(_CY._UY.x<=__f1.x&&__f1.x<=_CY._VY.x&&_CY._UY.y<=__f1.y&&__f1.y<=_CY._VY.y){var _lg1=this._Id1.__d1.data[_k9];var _Pv=new _a21();var _Nv=new _921();_Nv._7Y=_tX(body._Z31,_vX(body._471,__f1));_Nv._8Y=_eW._Qe(__f1,
_eW.Multiply(this._kg1._G91,_lg1));_Nv._SY=1;if(_5K._zY(_Pv,_Nv,_AY)){var _tx=_eW._Qe(_eW._Qe(_eW.Multiply((1-_Pv._TY),_Nv._7Y),_eW.Multiply(_Pv._TY,_Nv._8Y)),_eW.Multiply(_zV,_Pv._IY));var _y9=_eW.Multiply(this._kg1._H91,_eW._mW(_tx,__f1));this._Id1.__d1.data[_k9]._iW(_y9);var _1t=_eW.Multiply(this._Id1._Yd1(),_eW._mW(_lg1,_y9));_1t=_eW.Multiply(_cX(_1t,_Pv._IY),_Pv._IY);body._681(_1t,_tx,!0)}}}}return !0},_D91:function(_Q7){return !1}};var _F_=new _jg1(this,_3V);this._371._Za1(_F_,_CY)},_hg1:function(_3V){
for(var _Q7=0;_Q7<this._fZ;_Q7++){this._fe1[_Q7]=0}for(var _Kg=0;_Kg<this._Fc1;_Kg++){var _M71=this._Dc1[_Kg];var _k9=_M71.index;var _u4=_M71._3e1;this._fe1[_k9]+=_u4}for(var _Kg=0;_Kg<this._eb1;_Kg++){var _M71=this._Ac1[_Kg];var _k9=_M71._401;var _M7=_M71._501;var _u4=_M71._3e1;this._fe1[_k9]+=_u4;this._fe1[_M7]+=_u4}if(this._5e1&_ea1._Se1){for(var _Q7=0;_Q7<this._fZ;_Q7++){if(this._de1.data[_Q7]&_ea1._Se1){this._fe1[_Q7]=0}}}var _mg1=this._te1*this._ng1(_3V);for(var _Q7=0;_Q7<this._fZ;_Q7++){var _u4=this._fe1[_Q7];
var _v4=_mg1*_GX(0.0,_EX(_u4,_TV)-_SV);this._fe1[_Q7]=_v4}var _og1=_3V._G91/(this._H71*this._8e1);for(var _Kg=0;_Kg<this._Fc1;_Kg++){var _M71=this._Dc1[_Kg];var _k9=_M71.index;var _M7=_M71.body;var _u4=_M71._3e1;var _v7=_M71._sY;var _r7=_M71._IY;var _tx=this._Zd1.data[_k9];var _v4=this._fe1[_k9]+_mg1*_u4;var _1t=_eW.Multiply(_og1*_u4*_v7*_v4,_r7);this.__d1.data[_k9]._mW(_eW.Multiply(this._1g1(),_1t));_M7._681(_1t,_tx,!0)}for(var _Kg=0;_Kg<this._eb1;_Kg++){var _M71=this._Ac1[_Kg];var _k9=_M71._401;var _M7=_M71._501;
var _u4=_M71._3e1;var _r7=_M71._IY;var _v4=this._fe1[_k9]+this._fe1[_M7];var _1t=_eW.Multiply(_og1*_u4*_v4,_r7);this.__d1.data[_k9]._mW(_1t);this.__d1.data[_M7]._Qe(_1t)}},_ig1:function(_3V){var _ac1=this._ue1;for(var _Kg=0;_Kg<this._Fc1;_Kg++){var _M71=this._Dc1[_Kg];var _k9=_M71.index;var _M7=_M71.body;var _u4=_M71._3e1;var _v7=_M71._sY;var _r7=_M71._IY;var _tx=this._Zd1.data[_k9];var _y9=_eW._mW(_M7._k81(_tx),this.__d1.data[_k9]);var _pg1=_cX(_y9,_r7);if(_pg1<0){var _1t=_eW.Multiply(_ac1*_u4*_v7*_pg1,_r7);this.__d1.data[_k9]._Qe(_eW.Multiply(this._1g1(),
_1t));_M7._681(_1t._jW(),_tx,!0)}}for(var _Kg=0;_Kg<this._eb1;_Kg++){var _M71=this._Ac1[_Kg];var _k9=_M71._401;var _M7=_M71._501;var _u4=_M71._3e1;var _r7=_M71._IY;var _y9=_eW._mW(this.__d1.data[_M7],this.__d1.data[_k9]);var _pg1=_cX(_y9,_r7);if(_pg1<0){var _1t=_eW.Multiply(_ac1*_u4*_pg1,_r7);this.__d1.data[_k9]._Qe(_1t);this.__d1.data[_M7]._mW(_1t)}}},_9g1:function(_3V){for(var _Q7=0;_Q7<this._fZ;_Q7++){if(this._de1.data[_Q7]&_sd1._vd1){this.__d1.data[_Q7]._fW()}}},_8g1:function(_3V){for(var _qO=this._se1;
_qO;_qO=_qO._J81()){if(_qO._Ld1&_Hd1._1e1){_qO._Xd1();var rotation=new _XW(_3V._G91*_qO._b71);var transform=new _0X(_eW._Qe(_qO._Pd1,_eW._mW(_eW.Multiply(_3V._G91,_qO._a71),_rX(rotation,_qO._Pd1))),rotation);_qO._Qd1=_wX(transform,_qO._Qd1);var _qg1=new _0X();_qg1._tx.x=_3V._H91*transform._tx.x;_qg1._tx.y=_3V._H91*transform._tx.y;_qg1.__v._ps=_3V._H91*transform.__v._ps;_qg1.__v._Qt=_3V._H91*(transform.__v._Qt-1);for(var _Q7=_qO._Jd1;_Q7<_qO._Kd1;_Q7++){this.__d1.data[_Q7]._iW(_tX(_qg1,this._Zd1.data[_Q7]))}
}}},_dg1:function(_3V){var _rg1=_3V._H91*this._ve1;for(var _Kg=0;_Kg<this._oe1;_Kg++){var _wf1=this._qe1[_Kg];if(_wf1._cT&_sd1._xd1){var _k9=_wf1._401;var _M7=_wf1._501;var _Qt=_wf1._Ke1;var _pf1=_wf1._Le1;var _sg1=_wf1._Me1;var _tg1=_wf1._qd1;var _Le1=this._Zd1.data[_k9];var _Me1=this._Zd1.data[_M7];var _qd1=this._Zd1.data[_Qt];var _tx=_eW.Multiply(1/3,_eW._Qe(_Le1,_eW._Qe(_Me1,_qd1)));var _J7=new _XW();_J7._ps=_dX(_pf1,_Le1)+_dX(_sg1,_Me1)+_dX(_tg1,_qd1);_J7._Qt=_cX(_pf1,_Le1)+_cX(_sg1,_Me1)+_cX(_tg1,_qd1);var _Vu=_J7._ps*_J7._ps+_J7._Qt*_J7._Qt;
var _ug1=_dW(_Vu);_J7._ps*=_ug1;_J7._Qt*=_ug1;var _Fd1=_rg1*_wf1._Fd1;this.__d1.data[_k9]._Qe(_eW.Multiply(_Fd1,(_eW._mW(_eW.Multiply(_pf1,_J7),(_eW._mW(_Le1,_tx))))));this.__d1.data[_M7]._Qe(_eW.Multiply(_Fd1,(_eW._mW(_eW.Multiply(_sg1,_J7),(_eW._mW(_Me1,_tx))))));this.__d1.data[_Qt]._Qe(_eW.Multiply(_Fd1,(_eW._mW(_eW.Multiply(_tg1,_J7),(_eW._mW(_qd1,_tx))))))}}},_eg1:function(_3V){var _vg1=_3V._H91*this._we1;for(var _Kg=0;_Kg<this._k_;_Kg++){var _N_=this._l_[_Kg];if(_N_._cT&_sd1._wd1){var _k9=_N_._401;
var _M7=_N_._501;var _si=_eW._mW(this._Zd1.data[_M7],this._Zd1.data[_k9]);var _wg1=_N_._HY;var _Uu=_si.Length();var _Fd1=_vg1*_N_._Fd1;var _1t=_eW.Multiply(_Fd1*(_wg1-_Uu)/_Uu,_si);this.__d1.data[_k9]._mW(_1t);this.__d1.data[_M7]._Qe(_1t)}}},_cg1:function(_3V){this._ge1=this._ff1(this._ge1);for(var _Q7=0;_Q7<this._fZ;_Q7++){this._fe1[_Q7]=0;this._ge1[_Q7]=new _eW()}for(var _Kg=0;_Kg<this._eb1;_Kg++){var _M71=this._Ac1[_Kg];if(_M71._cT&_sd1._Ad1){var _k9=_M71._401;var _M7=_M71._501;var _u4=_M71._3e1;var _r7=_M71._IY;
this._fe1[_k9]+=_u4;this._fe1[_M7]+=_u4;this._ge1[_k9]._mW(_eW.Multiply((1-_u4)*_u4,_r7));this._ge1[_M7]._Qe(_eW.Multiply((1-_u4)*_u4,_r7))}}var _xg1=this._ye1*this._yg1(_3V);var _zg1=this._ze1*this._yg1(_3V);for(var _Kg=0;_Kg<this._eb1;_Kg++){var _M71=this._Ac1[_Kg];if(_M71._cT&_sd1._Ad1){var _k9=_M71._401;var _M7=_M71._501;var _u4=_M71._3e1;var _r7=_M71._IY;var _v4=this._fe1[_k9]+this._fe1[_M7];var _ps=_eW._mW(this._ge1[_M7],this._ge1[_k9]);var _Ag1=(_xg1*(_v4-2)+_zg1*_cX(_ps,_r7))*_u4;var _1t=_eW.Multiply(_Ag1,
_r7);this.__d1.data[_k9]._mW(_1t);this.__d1.data[_M7]._Qe(_1t)}}},_ag1:function(_3V){var _Bg1=this._xe1;for(var _Kg=0;_Kg<this._Fc1;_Kg++){var _M71=this._Dc1[_Kg];var _k9=_M71.index;if(this._de1.data[_k9]&_sd1._yd1){var _M7=_M71.body;var _u4=_M71._3e1;var _v7=_M71._sY;var _tx=this._Zd1.data[_k9];var _y9=_eW._mW(_M7._k81(_tx),this.__d1.data[_k9]);var _1t=_eW.Multiply(_Bg1*_v7*_u4,_y9);this.__d1.data[_k9]._Qe(_eW.Multiply(this._1g1(),_1t));_M7._681(_1t._jW(),_tx,!0)}}for(var _Kg=0;_Kg<this._eb1;_Kg++){var _M71=this._Ac1[_Kg];
if(_M71._cT&_sd1._yd1){var _k9=_M71._401;var _M7=_M71._501;var _u4=_M71._3e1;var _y9=_eW._mW(this.__d1.data[_M7],this.__d1.data[_k9]);var _1t=_eW.Multiply(_Bg1*_u4,_y9);this.__d1.data[_k9]._Qe(_1t);this.__d1.data[_M7]._mW(_1t)}}},_bg1:function(_3V){var _Cg1=this._Ae1*this._yg1(_3V);var _Dg1=1.0-_RV;for(var _Kg=0;_Kg<this._Fc1;_Kg++){var _M71=this._Dc1[_Kg];var _k9=_M71.index;if(this._de1.data[_k9]&_sd1._zd1){var _u4=_M71._3e1;if(_u4>_Dg1){var _M7=_M71.body;var _v7=_M71._sY;var _tx=this._Zd1.data[_k9];var _r7=_M71._IY;
var _1t=_eW.Multiply(_Cg1*_v7*(_u4-_Dg1),_r7);this.__d1.data[_k9]._mW(_eW.Multiply(this._1g1(),_1t));_M7._681(_1t,_tx,!0)}}}for(var _Kg=0;_Kg<this._eb1;_Kg++){var _M71=this._Ac1[_Kg];if(_M71._cT&_sd1._zd1){var _u4=_M71._3e1;if(_u4>_Dg1){var _k9=_M71._401;var _M7=_M71._501;var _r7=_M71._IY;var _1t=_eW.Multiply(_Cg1*(_u4-_Dg1),_r7);this.__d1.data[_k9]._mW(_1t);this.__d1.data[_M7]._Qe(_1t)}}}},_fg1:function(_3V){this._he1=this._ff1(this._he1);var _Eg1=_3V._H91*this._Be1;for(var _Kg=0;_Kg<this._eb1;_Kg++){var _M71=this._Ac1[_Kg];
var _k9=_M71._401;var _M7=_M71._501;if(this._ie1[_k9]!=this._ie1[_M7]){var _u4=_M71._3e1;var _r7=_M71._IY;var _v4=this._he1[_k9]+this._he1[_M7];var _1t=_eW.Multiply(_Eg1*_v4*_u4,_r7);this.__d1.data[_k9]._mW(_1t);this.__d1.data[_M7]._Qe(_1t)}}},_gg1:function(_3V){this._Oc1.data=this._ff1(this._Oc1.data);var _Fg1=Math.floor(256*this._Ce1);for(var _Kg=0;_Kg<this._eb1;_Kg++){var _M71=this._Ac1[_Kg];var _k9=_M71._401;var _M7=_M71._501;if(this._de1.data[_k9]&this._de1.data[_M7]&_sd1._Bd1){var _Gg1=this._Oc1.data[_k9];
var _Hg1=this._Oc1.data[_M7];var _Ig1=(_Fg1*(_Hg1._J7-_Gg1._J7))>>8;var _Jg1=(_Fg1*(_Hg1._j9-_Gg1._j9))>>8;var _Kg1=(_Fg1*(_Hg1._M7-_Gg1._M7))>>8;var _Lg1=(_Fg1*(_Hg1._k9-_Gg1._k9))>>8;_Gg1._J7+=_Ig1;_Gg1._j9+=_Jg1;_Gg1._M7+=_Kg1;_Gg1._k9+=_Lg1;_Hg1._J7-=_Ig1;_Hg1._j9-=_Jg1;_Hg1._M7-=_Kg1;_Hg1._k9-=_Lg1}}},_4g1:function(){var _Mg1=0;var _Ng1=new Array(this._fZ);for(var _Q7=0;_Q7<this._fZ;_Q7++){var _cT=this._de1.data[_Q7];if(_cT&_sd1._ud1){var _Og1=this._371._Y91;if((_cT&_sd1._Cd1)&&_Og1){_Og1._n91(_Q7)}_Ng1[_Q7]=_QV}
else {_Ng1[_Q7]=_Mg1;if(_Q7!=_Mg1){this._de1.data[_Mg1]=this._de1.data[_Q7];this._Zd1.data[_Mg1]=this._Zd1.data[_Q7];this.__d1.data[_Mg1]=this.__d1.data[_Q7];this._ie1[_Mg1]=this._ie1[_Q7];if(this._he1){this._he1[_Mg1]=this._he1[_Q7]}if(this._Oc1.data){this._Oc1.data[_Mg1]=this._Oc1.data[_Q7]}if(this._je1.data){this._je1.data[_Mg1]=this._je1.data[_Q7]}}_Mg1++}}var _Pg1={_Qg1:function(_g91){return _g91.index<0},_Rg1:function(_M71){return _M71._401<0||_M71._501<0},_Sg1:function(_M71){return _M71.index<0}
,_Tg1:function(_N_){return _N_._401<0||_N_._501<0},_Ug1:function(_wf1){return _wf1._401<0||_wf1._501<0||_wf1._Ke1<0;}};for(var _Kg=0;_Kg<this._j_;_Kg++){var _g91=this._le1[_Kg];_g91.index=_Ng1[_g91.index]}if(this._le1){this._j_=this._le1.__U(_Pg1._Qg1,this._j_)}for(var _Kg=0;_Kg<this._eb1;_Kg++){var _M71=this._Ac1[_Kg];_M71._401=_Ng1[_M71._401];_M71._501=_Ng1[_M71._501]}if(this._Ac1){this._eb1=this._Ac1.__U(_Pg1._Rg1,this._eb1)}for(var _Kg=0;_Kg<this._Fc1;_Kg++){var _M71=this._Dc1[_Kg];_M71.index=_Ng1[_M71.index]}
if(this._Dc1){this._Fc1=this._Dc1.__U(_Pg1._Sg1,this._Fc1)}for(var _Kg=0;_Kg<this._k_;_Kg++){var _N_=this._l_[_Kg];_N_._401=_Ng1[_N_._401];_N_._501=_Ng1[_N_._501]}if(this._l_){this._k_=this._l_.__U(_Pg1._Tg1,this._k_)}for(var _Kg=0;_Kg<this._oe1;_Kg++){var _wf1=this._qe1[_Kg];_wf1._401=_Ng1[_wf1._401];_wf1._501=_Ng1[_wf1._501];_wf1._Ke1=_Ng1[_wf1._Ke1]}if(this._qe1){this._oe1=this._qe1.__U(_Pg1._Ug1,this._oe1)}for(var _qO=this._se1;_qO;_qO=_qO._J81()){var _lf1=_Mg1;var lastIndex=0;var _Vg1=!1;for(var _Q7=_qO._Jd1;
_Q7<_qO._Kd1;_Q7++){var _R7=_Ng1[_Q7];if(_R7>=0){_lf1=_EX(_lf1,_R7);lastIndex=_GX(lastIndex,_R7+1)}else {_Vg1=!0}}if(_lf1<lastIndex){_qO._Jd1=_lf1;_qO._Kd1=lastIndex;if(_Vg1){if(_qO._Ld1&_Hd1._1e1){_qO._Td1=!0}}}else {_qO._Jd1=0;_qO._Kd1=0;if(_qO._Rd1){_qO._Sd1=!0}}}this._fZ=_Mg1;for(var _qO=this._se1;_qO;){var _Qg=_qO._J81();if(_qO._Sd1){this._Bf1(_qO)}_qO=_Qg}},_zf1:function(start,_Wg1,end){if(start==_Wg1||_Wg1==end){return }function _Ng1(_Q7){if(_Q7<start){return _Q7}else if(_Q7<_Wg1){return _Q7+end-_Wg1}
else if(_Q7<end){return _Q7+start-_Wg1}else {return _Q7}}this._de1.data.rotate(start,_Wg1,end);this._Zd1.data.rotate(start,_Wg1,end);this.__d1.data.rotate(start,_Wg1,end);this._ie1.rotate(start,_Wg1,end);if(this._he1){this._he1.rotate(start,_Wg1,end)}if(this._Oc1.data){this._Oc1.data.rotate(start,_Wg1,end)}if(this._je1.data){this._je1.data.rotate(start,_Wg1,end)}for(var _Kg=0;_Kg<this._j_;_Kg++){var _g91=this._le1[_Kg];_g91.index=_Ng1(_g91.index)}for(var _Kg=0;_Kg<this._eb1;_Kg++){var _M71=this._Ac1[_Kg];
_M71._401=_Ng1(_M71._401);_M71._501=_Ng1(_M71._501)}for(var _Kg=0;_Kg<this._Fc1;_Kg++){var _M71=this._Dc1[_Kg];_M71.index=_Ng1(_M71.index)}for(var _Kg=0;_Kg<this._k_;_Kg++){var _N_=this._l_[_Kg];_N_._401=_Ng1(_N_._401);_N_._501=_Ng1(_N_._501)}for(var _Kg=0;_Kg<this._oe1;_Kg++){var _wf1=this._qe1[_Kg];_wf1._401=_Ng1(_wf1._401);_wf1._501=_Ng1(_wf1._501);_wf1._Ke1=_Ng1(_wf1._Ke1)}for(var _qO=this._se1;_qO;_qO=_qO._J81()){_qO._Jd1=_Ng1(_qO._Jd1);_qO._Kd1=_Ng1(_qO._Kd1-1)+1}},_cc1:function(_3Y){this._8e1=2*_3Y;
this._ae1=this._8e1*this._8e1;this._9e1=1/this._8e1},_5c1:function(_FY){this._H71=_FY;this._7e1=1/this._H71},_6c1:function(){return this._H71},_7c1:function(_U61){this._e71=_U61},_8c1:function(){return this._e71},_9c1:function(_ac1){this._ue1=_ac1},_bc1:function(){return this._ue1},_dc1:function(){return this._8e1/2},_yg1:function(_3V){return this._8e1*_3V._H91},_6g1:function(_3V){var _9M=this._yg1(_3V);return _9M*_9M},_ng1:function(_3V){return this._H71*this._6g1(_3V)},_kf1:function(){return _RV*this._8e1}
,_Yd1:function(){var _na=this._kf1();return this._H71*_na*_na;},_1g1:function(){return 1.777777*this._7e1*this._9e1*this._9e1},_nc1:function(){return this._de1.data},_oc1:function(){return this._Zd1.data},_pc1:function(){return this.__d1.data},_qc1:function(){this._Oc1.data=this._ff1(this._Oc1.data);return this._Oc1.data},_rc1:function(){this._je1.data=this._ff1(this._je1.data);return this._je1.data},_3c1:function(){return this._ce1},_4c1:function(_H8){_qV(this._fZ<=_H8);this._ce1=_H8},_sc1:function(){return this._ie1}
,_Xg1:function(buffer,_Yg1,_af1){_qV((_Yg1&&_af1)||(!_Yg1&&!_af1));buffer.data=_Yg1;buffer._De1=_af1},_tc1:function(buffer,_uc1){this._Xg1(this._de1,buffer,_uc1)},_vc1:function(buffer,_uc1){this._Xg1(this._Zd1,buffer,_uc1)},_wc1:function(buffer,_uc1){this._Xg1(this.__d1,buffer,_uc1)},_xc1:function(buffer,_uc1){this._Xg1(this._Oc1,buffer,_uc1)},_yc1:function(buffer,_uc1){this._Xg1(this._je1,buffer,_uc1)},_Za1:function(_F_,_CY){if(this._j_==0){return }var _Lf1=0;var _Mf1=this._j_;var _Xf1=this._le1._1V(_Lf1,
_Mf1,_2f1(this._9e1*_CY._UY.x,this._9e1*_CY._UY.y),function(_k9,_M7){return _ea1._Ee1._He1(_k9,_M7)});var _Yf1=this._le1._5V(_Xf1,_Mf1,_2f1(this._9e1*_CY._VY.x,this._9e1*_CY._VY.y),function(_k9,_M7){return _ea1._Ee1._Ge1(_k9,_M7)});for(var _g91=_Xf1;_g91<_Yf1;++_g91){var _Zf1=this._le1[_g91];var _Q7=_Zf1.index;var _tx=this._Zd1.data[_Q7];if(_CY._UY.x<_tx.x&&_tx.x<_CY._VY.x&&_CY._UY.y<_tx.y&&_tx.y<_CY._VY.y){if(!_F_._D91(_Q7)){break }}}},_zY:function(_F_,_0b1,_1b1){if(this._j_==0){return }var _Lf1=0;var _Mf1=this._j_;
var _Xf1=this._le1._1V(_Lf1,_Mf1,_2f1(this._9e1*_EX(_0b1.x,_1b1.x)-1,this._9e1*_EX(_0b1.y,_1b1.y)-1),function(_k9,_M7){return _ea1._Ee1._He1(_k9,_M7)});var _Yf1=this._le1._5V(_Lf1,_Mf1,_2f1(this._9e1*_GX(_0b1.x,_1b1.x)+1,this._9e1*_GX(_0b1.y,_1b1.y)+1),function(_k9,_M7){return _ea1._Ee1._Ge1(_k9,_M7)});var _TY=1;var _y9=_eW._mW(_1b1,_0b1);var _ya=_cX(_y9,_y9);for(var _g91=_Xf1;_g91<_Yf1;++_g91){var _Zf1=this._le1[_g91];var _Q7=_Zf1.index;var _tx=_eW._mW(_0b1,this._Zd1.data[_Q7]);var _Zg1=_cX(_tx,_y9);var _8Y=_cX(_tx,
_tx);var __g1=_Zg1*_Zg1-_ya*(_8Y-this._ae1);if(__g1>=0){var _0h1=_bW(__g1);var _L7=(-_Zg1-_0h1)/_ya;if(_L7>_TY){continue }if(_L7<0){_L7=(-_Zg1+_0h1)/_ya;if(_L7<0||_L7>_TY){continue }}var _r7=_eW._Qe(_tx,_eW._mW(_L7,_y9));_r7._oW();var _1t=_F_._D91(_Q7,_eW._Qe(_0b1,_eW.Multiply(_L7,_y9)),_r7,_L7);_TY=_EX(_TY,_1t);if(_TY<=0){break }}}},_Gc1:function(){var _1h1=0;for(var _Kg=0;_Kg<this._eb1;_Kg++){var _M71=this._Ac1[_Kg];var _k9=_M71._401;var _M7=_M71._501;var _r7=_M71._IY;var _y9=_eW._mW(this.__d1.data[_M7],this.__d1.data[_k9]);
var _pg1=_cX(_y9,_r7);if(_pg1<0){_1h1+=_pg1*_pg1}}return 0.5*this._Yd1()*_1h1},_Hc1:function(){return this._se1},_Ic1:function(){return this._re1},_Jc1:function(){return this._fZ}};function _2h1(_3h1,_4h1){return _bW(_3h1*_4h1)}function _5h1(_6h1,_7h1){return _6h1>_7h1?_6h1:_7h1}function _8h1(){this._z61=null;this._9h1=!1};function _ah1(){this._c21=null;this._M71=null;this._Da1=null;this._Qg=null};function _kb1(){this._bh1=new _ah1();this._ch1=new _ah1();this._dh1=new _x11()}_kb1._eh1=new _x11();_kb1.prototype={
_B71:function(_Db1,_401,_Eb1,_501){this._Ab1=0;this._Y61=_kb1._fh1;this._tb1=_Db1||null;this._vb1=_Eb1||null;this._gh1=_401||0;this._hh1=_501||0;this._dh1._A11=0;this._871=null;this._971=null;this._bh1._M71=null;this._bh1._Da1=null;this._bh1._Qg=null;this._bh1._c21=null;this._ch1._M71=null;this._ch1._Da1=null;this._ch1._Qg=null;this._ch1._c21=null;this._zb1=0;if(_Db1){this._191=_2h1(this._tb1._191,this._vb1._191);this._291=_5h1(this._tb1._291,this._vb1._291)}else {this._191=0;this._291=0}this._ih1=0.0}
,_jh1:function(){return this._dh1},_kh1:function(_lh1){var _Ga1=this._tb1._a91();var _Ha1=this._vb1._a91();var _M41=this._tb1._391();var _N41=this._vb1._391();_lh1._L11(this._dh1,_Ga1._8X(),_M41._vY,_Ha1._8X(),_N41._vY)},_rb1:function(){return(this._Y61&_kb1._mh1)==_kb1._mh1},_Lb1:function(_x81){if(_x81){this._Y61|=_kb1._fh1}else {this._Y61&=~_kb1._fh1}},_qb1:function(){return(this._Y61&_kb1._fh1)==_kb1._fh1},_J81:function(){return this._971},_O71:function(){return this._tb1},_Ta1:function(){return this._gh1;
},_Q71:function(){return this._vb1},_Va1:function(){return this._hh1},_fK:function(_V81){this._191=_V81},_c91:function(){return this._191},_nh1:function(){this._191=_2h1(this._tb1._191,this._vb1._191)},_cK:function(_W81){this._291=_W81},_d91:function(){return this._291},_oh1:function(){this._291=_5h1(this._tb1._291,this._vb1._291)},_ph1:function(_94){this._ih1=_94},_qh1:function(){return this._ih1},_p61:function(_B11,_M11,_O11){},_991:function(){this._Y61|=_kb1._rh1},_sh1:null,_7f:function(listener){
_kb1._eh1._iW(this._dh1);this._Y61|=_kb1._fh1;var _th1=!1;var _uh1=(this._Y61&_kb1._mh1)==_kb1._mh1;var _sb1=this._tb1._591();var _ub1=this._vb1._591();var _491=_sb1||_ub1;var _Ga1=this._tb1._a91();var _Ha1=this._vb1._a91();var _M11=_Ga1._8X();var _O11=_Ha1._8X();if(_491){var _M41=this._tb1._391();var _N41=this._vb1._391();_th1=_L41(_M41,this._gh1,_N41,this._hh1,_M11,_O11);this._dh1._A11=0}else {this._p61(this._dh1,_M11,_O11);_th1=this._dh1._A11>0;for(var _Q7=0;_Q7<this._dh1._A11;++_Q7){var _vh1=this._dh1._y11[_Q7];
_vh1._u11=0.0;_vh1._v11=0.0;var _wh1=_vh1.id;for(var _R7=0;_R7<_kb1._eh1._A11;++_R7){var _xh1=_kb1._eh1._y11[_R7];if(_xh1.id._8g()==_wh1._8g()){_vh1._u11=_xh1._u11;_vh1._v11=_xh1._v11;break }}}if(_th1!=_uh1){_Ga1._tK(!0);_Ha1._tK(!0)}}if(_th1){this._Y61|=_kb1._mh1}else {this._Y61&=~_kb1._mh1}if(_uh1==!1&&_th1==!0&&listener){listener._w91(this)}if(_uh1==!0&&_th1==!1&&listener){listener._x91(this)}if(_491==!1&&_th1&&listener){listener._y91(this,_kb1._eh1)}}};_kb1._r71=0x0001;_kb1._mh1=0x0002;_kb1._fh1=0x0004;
_kb1._rh1=0x0008;_kb1._yh1=0x0010;_kb1._s71=0x0020;function _zh1(){this.parent.call(this)}_zh1.prototype={_p61:function(_B11,_M11,_O11){_r21(_B11,this._tb1._391(),_M11,this._vb1._391(),_O11)},_B71:function(_N71,_Ah1,_P71,_Bh1){this.parent.prototype._B71.call(this,_N71,0,_P71,0);_qV(this._tb1._wY()==_uY._JY);_qV(this._vb1._wY()==_uY._JY)}};_zh1._UU(_kb1);var _Ch1=new __Y();function _Dh1(){this.parent.call(this)}_Dh1.prototype={_p61:function(_B11,_M11,_O11){var ___=this._tb1._391();___._rZ(_Ch1,this._gh1);
_B31(_B11,_Ch1,_M11,this._vb1._391(),_O11)},_B71:function(_N71,_401,_P71,_501){this.parent.prototype._B71.call(this,_N71,_401,_P71,_501);_qV(this._tb1._wY()==_uY._MY);_qV(this._vb1._wY()==_uY._JY)}};_Dh1._UU(_kb1);function _Eh1(){this.parent.call(this)}_Eh1.prototype={_p61:function(_B11,_M11,_O11){var ___=this._tb1._391();___._rZ(_Ch1,this._gh1);_C41(_B11,_Ch1,_M11,this._vb1._391(),_O11)},_B71:function(_N71,_401,_P71,_501){this.parent.prototype._B71.call(this,_N71,_401,_P71,_501);_qV(this._tb1._wY()==_uY._MY);
_qV(this._vb1._wY()==_uY._LY)}};_Eh1._B71=function(_N71,_401,_P71,_501){return new _Eh1(_N71,_401,_P71,_501)};_Eh1._UU(_kb1);function _Fh1(){this.parent.call(this)}_Fh1.prototype={_p61:function(_B11,_M11,_O11){_B31(_B11,this._tb1._391(),_M11,this._vb1._391(),_O11)},_B71:function(_N71,_401,_P71,_501){this.parent.prototype._B71.call(this,_N71,0,_P71,0);_qV(this._tb1._wY()==_uY._KY);_qV(this._vb1._wY()==_uY._JY)}};_Fh1._B71=function(_N71,_401,_P71,_501){return new _Fh1(_N71,_P71)};_Fh1._UU(_kb1);function _Gh1(){
this.parent.call(this)}_Gh1.prototype={_p61:function(_B11,_M11,_O11){_C41(_B11,this._tb1._391(),_M11,this._vb1._391(),_O11)},_B71:function(_N71,_401,_P71,_501){this.parent.prototype._B71.call(this,_N71,0,_P71,0);_qV(this._tb1._wY()==_uY._KY);_qV(this._vb1._wY()==_uY._LY)}};_Gh1._B71=function(_N71,_401,_P71,_501){return new _Gh1(_N71,_P71)};_Gh1._UU(_kb1);function _Hh1(){this.parent.call(this)}_Hh1.prototype={_p61:function(_B11,_M11,_O11){_v21(_B11,this._tb1._391(),_M11,this._vb1._391(),_O11)},_B71:function(_N71,
_401,_P71,_501){this.parent.prototype._B71.call(this,_N71,0,_P71,0);_qV(this._tb1._wY()==_uY._LY);_qV(this._vb1._wY()==_uY._JY)}};_Hh1._B71=function(_N71,_401,_P71,_501){return new _Hh1(_N71,_P71)};_Hh1._UU(_kb1);function _Ih1(){this.parent.call(this)}_Ih1.prototype={_p61:function(_B11,_M11,_O11){_531(_B11,this._tb1._391(),_M11,this._vb1._391(),_O11)},_B71:function(_N71,_401,_P71,_501){this.parent.prototype._B71.call(this,_N71,0,_P71,0);_qV(this._tb1._wY()==_uY._LY);_qV(this._vb1._wY()==_uY._LY)}};
_Ih1._B71=function(_N71,_401,_P71,_501){return new _Ih1(_N71,_P71)};_Ih1._UU(_kb1);_kb1._Jh1=function(_z61,_Kh1,_Lh1){_qV(0<=_Kh1&&_Kh1<_uY._NY);_qV(0<=_Lh1&&_Lh1<_uY._NY);if(!_kb1._Mh1[_Kh1])_kb1._Mh1[_Kh1]=[];_kb1._Mh1[_Kh1][_Lh1]=new _8h1();_kb1._Mh1[_Kh1][_Lh1]._z61=_z61;_kb1._Mh1[_Kh1][_Lh1]._9h1=!0;if(_Kh1!=_Lh1){if(!_kb1._Mh1[_Lh1])_kb1._Mh1[_Lh1]=[];_kb1._Mh1[_Lh1][_Kh1]=new _8h1();_kb1._Mh1[_Lh1][_Kh1]._z61=_z61;_kb1._Mh1[_Lh1][_Kh1]._9h1=!1}_z61._Nh1=[];_z61._Oh1=2};_kb1._Ph1=function(){_kb1._Jh1(_zh1,
_uY._JY,_uY._JY);_kb1._Jh1(_Hh1,_uY._LY,_uY._JY);_kb1._Jh1(_Ih1,_uY._LY,_uY._LY);_kb1._Jh1(_Fh1,_uY._KY,_uY._JY);_kb1._Jh1(_Gh1,_uY._KY,_uY._LY);_kb1._Jh1(_Dh1,_uY._MY,_uY._JY);_kb1._Jh1(_Eh1,_uY._MY,_uY._LY)};_kb1._Qh1=function(_z61){var _M71;if(_M71=_z61._Nh1.pop())return _M71;for(var _Q7=0;_Q7<_z61._Oh1-1;++_Q7)_z61._Nh1.push(new _z61());{_z61._Oh1+=32}return new _z61()};_kb1._B71=function(_N71,_401,_P71,_501){if(_kb1._Rh1==!1){_kb1._Ph1();_kb1._Rh1=!0}var _Kh1=_N71._wY();var _Lh1=_P71._wY();_qV(0<=_Kh1&&_Kh1<_uY._NY);
_qV(0<=_Lh1&&_Lh1<_uY._NY);var _z61=_kb1._Mh1[_Kh1]?_kb1._Mh1[_Kh1][_Lh1]?_kb1._Mh1[_Kh1][_Lh1]._z61:null:null;if(_z61){var _M71=_kb1._Qh1(_z61);if(_kb1._Mh1[_Kh1][_Lh1]._9h1)_M71._B71(_N71,_401,_P71,_501);else _M71._B71(_P71,_501,_N71,_401);return _M71}return null};_kb1._R71=function(_M71){_qV(_kb1._Rh1==!0);var _N71=_M71._tb1;var _P71=_M71._vb1;if(_M71._dh1._A11>0&&_N71._591()==!1&&_P71._591()==!1){_N71._a91()._tK(!0);_P71._a91()._tK(!0)}var _o11=_N71._wY();var _p11=_P71._wY();_qV(0<=_o11&&_p11<_uY._NY);
_qV(0<=_o11&&_p11<_uY._NY);_kb1._Mh1[_o11][_p11]._z61._Nh1.push(_M71)};_kb1._Mh1=[];_kb1._Rh1=!1;var _Sh1=new _o91();var _Th1=new _v91();function _X91(){this._E71=new _f_();this._771=null;this._eb1=0;this._oa1=_Sh1;this._qa1=_Th1}_X91.prototype={_M_:function(_Uh1,_Vh1){var _701=_Uh1;var _801=_Vh1;var _N71=_701._5K;var _P71=_801._5K;var _401=_701._AY;var _501=_801._AY;var _Ga1=_N71._a91();var _Ha1=_P71._a91();if(_Ga1==_Ha1){return }var _sZ=_Ha1._I81();while(_sZ){if(_sZ._c21==_Ga1){var _Db1=_sZ._M71._O71();var _Eb1=_sZ._M71._Q71();
var _J51=_sZ._M71._Ta1();var _K51=_sZ._M71._Va1();if(_Db1==_N71&&_Eb1==_P71&&_J51==_401&&_K51==_501){return }if(_Db1==_P71&&_Eb1==_N71&&_J51==_501&&_K51==_401){return }}_sZ=_sZ._Qg}if(_Ha1._N81(_Ga1)==!1){return }if(this._oa1&&this._oa1._N81(_N71,_P71)==!1){return }var _Qt=_kb1._B71(_N71,_401,_P71,_501);if(_Qt==null){return }_N71=_Qt._O71();_P71=_Qt._Q71();_401=_Qt._Ta1();_501=_Qt._Va1();_Ga1=_N71._a91();_Ha1=_P71._a91();_Qt._871=null;_Qt._971=this._771;if(this._771!=null){this._771._871=_Qt}this._771=_Qt;
_Qt._bh1._M71=_Qt;_Qt._bh1._c21=_Ha1;_Qt._bh1._Da1=null;_Qt._bh1._Qg=_Ga1._771;if(_Ga1._771!=null){_Ga1._771._Da1=_Qt._bh1}_Ga1._771=_Qt._bh1;_Qt._ch1._M71=_Qt;_Qt._ch1._c21=_Ga1;_Qt._ch1._Da1=null;_Qt._ch1._Qg=_Ha1._771;if(_Ha1._771!=null){_Ha1._771._Da1=_Qt._ch1}_Ha1._771=_Qt._ch1;if(_N71._591()==!1&&_P71._591()==!1){_Ga1._tK(!0);_Ha1._tK(!0)}++this._eb1},_Ka1:function(){this._E71._E_(this)},_R71:function(_Qt){var _N71=_Qt._O71();var _P71=_Qt._Q71();var _Ga1=_N71._a91();var _Ha1=_P71._a91();if(this._qa1&&_Qt._rb1()){
this._qa1._x91(_Qt)}if(_Qt._871){_Qt._871._971=_Qt._971}if(_Qt._971){_Qt._971._871=_Qt._871}if(_Qt==this._771){this._771=_Qt._971}if(_Qt._bh1._Da1){_Qt._bh1._Da1._Qg=_Qt._bh1._Qg}if(_Qt._bh1._Qg){_Qt._bh1._Qg._Da1=_Qt._bh1._Da1}if(_Qt._bh1==_Ga1._771){_Ga1._771=_Qt._bh1._Qg}if(_Qt._ch1._Da1){_Qt._ch1._Da1._Qg=_Qt._ch1._Qg}if(_Qt._ch1._Qg){_Qt._ch1._Qg._Da1=_Qt._ch1._Da1}if(_Qt._ch1==_Ha1._771){_Ha1._771=_Qt._ch1._Qg;}_kb1._R71(_Qt);--this._eb1},_g41:function(){var _Qt=this._771;while(_Qt){var _N71=_Qt._O71();
var _P71=_Qt._Q71();var _401=_Qt._Ta1();var _501=_Qt._Va1();var _Ga1=_N71._a91();var _Ha1=_P71._a91();if(_Qt._Y61&_kb1._rh1){if(_Ha1._N81(_Ga1)==!1){var _Wh1=_Qt;_Qt=_Wh1._J81();this._R71(_Wh1);continue }if(this._oa1&&this._oa1._N81(_N71,_P71)==!1){var _Wh1=_Qt;_Qt=_Wh1._J81();this._R71(_Wh1);continue }_Qt._Y61&=~_kb1._rh1}var _Hb1=_Ga1._B81()&&_Ga1._OC!=_K61._L61;var _Ib1=_Ha1._B81()&&_Ha1._OC!=_K61._L61;if(_Hb1==!1&&_Ib1==!1){_Qt=_Qt._J81();continue }var _a_=_N71._v81[_401]._q_;var _b_=_P71._v81[_501]._q_;var _Xh1=this._E71._z_(_a_,
_b_);if(_Xh1==!1){var _Wh1=_Qt;_Qt=_Wh1._J81();this._R71(_Wh1);continue }_Qt._7f(this._qa1);_Qt=_Qt._J81()}}};function _Yh1(){this._k11=new _eW();this._l11=new _eW();this._u11=0;this._v11=0;this._Zh1=0;this.__h1=0;this._0i1=0}function _1i1(){this._2i1=new Array(_vV);this._z11=new _eW();this._t11=new _eW();this._401=0;this._501=0;this._3i1=0,this._4i1=0;this._5i1=new _eW(),this._6i1=new _eW();this._7i1=0,this._8i1=0;this.type=0;this._N11=0,this._P11=0;this._A11=0};function _9i1(){this._y11=new Array(_vV);for(var _Q7=0;
_Q7<this._y11.length;++_Q7)this._y11[_Q7]=new _Yh1();this._IY=new _eW();this._Zh1=new _yW();this._ai1=new _yW();this._401=0;this._501=0;this._3i1=0,this._4i1=0;this._7i1=0,this._8i1=0;this._V81=0;this._W81=0;this._bi1=0;this._A11=0;this._ci1=0}function _di1(){this._IY=new _eW();this._w11=new _eW();this._z21=0}_di1.prototype={_L11:function(_qd1,_M11,_O11,index){_qV(_qd1._A11>0);switch(_qd1.type){case _x11._C11:{var _Q11=(_M11.__v._Qt*_qd1._t11.x-_M11.__v._ps*_qd1._t11.y)+_M11._tx.x;var _R11=(_M11.__v._ps*_qd1._t11.x+_M11.__v._Qt*_qd1._t11.y)+_M11._tx.y;
var _S11=(_O11.__v._Qt*_qd1._2i1[0].x-_O11.__v._ps*_qd1._2i1[0].y)+_O11._tx.x;var _T11=(_O11.__v._ps*_qd1._2i1[0].x+_O11.__v._Qt*_qd1._2i1[0].y)+_O11._tx.y;this._w11.x=0.5*(_Q11+_S11);this._w11.y=0.5*(_R11+_T11);this._IY.x=_S11-_Q11;this._IY.y=_T11-_R11;var _ei1=this._IY.x;var _fi1=this._IY.y;this._IY._oW();this._z21=(_ei1*this._IY.x+_fi1*this._IY.y)-_qd1._N11-_qd1._P11;}break;case _x11._D11:{this._IY.x=_M11.__v._Qt*_qd1._z11.x-_M11.__v._ps*_qd1._z11.y;this._IY.y=_M11.__v._ps*_qd1._z11.x+_M11.__v._Qt*_qd1._z11.y;
var __11=(_M11.__v._Qt*_qd1._t11.x-_M11.__v._ps*_qd1._t11.y)+_M11._tx.x;var _021=(_M11.__v._ps*_qd1._t11.x+_M11.__v._Qt*_qd1._t11.y)+_M11._tx.y;var _121=(_O11.__v._Qt*_qd1._2i1[index].x-_O11.__v._ps*_qd1._2i1[index].y)+_O11._tx.x;var _221=(_O11.__v._ps*_qd1._2i1[index].x+_O11.__v._Qt*_qd1._2i1[index].y)+_O11._tx.y;this._z21=((_121-__11)*this._IY.x+(_221-_021)*this._IY.y)-_qd1._N11-_qd1._P11;this._w11.x=_121;this._w11.y=_221}break;case _x11._E11:{this._IY.x=_O11.__v._Qt*_qd1._z11.x-_O11.__v._ps*_qd1._z11.y;
this._IY.y=_O11.__v._ps*_qd1._z11.x+_O11.__v._Qt*_qd1._z11.y;var __11=(_O11.__v._Qt*_qd1._t11.x-_O11.__v._ps*_qd1._t11.y)+_O11._tx.x;var _021=(_O11.__v._ps*_qd1._t11.x+_O11.__v._Qt*_qd1._t11.y)+_O11._tx.y;var _121=(_M11.__v._Qt*_qd1._2i1[index].x-_M11.__v._ps*_qd1._2i1[index].y)+_M11._tx.x;var _221=(_M11.__v._ps*_qd1._2i1[index].x+_M11.__v._Qt*_qd1._2i1[index].y)+_M11._tx.y;this._z21=((_121-__11)*this._IY.x+(_221-_021)*this._IY.y)-_qd1._N11-_qd1._P11;this._w11.x=_121;this._w11.y=_221;this._IY.x=-this._IY.x;
this._IY.y=-this._IY.y}break }}};function _gi1(){this._3V=new _F91();this._hi1=null;this._H8=0;this._P91=null;this._Q91=null}function _ii1(){this._ji1=[];this._ki1=[]}_ii1._li1=new _0X();_ii1._mi1=new _0X();_ii1._ni1=new _di1();_ii1.prototype={_zD:function(_w71){this._kg1=_w71._3V;this._fZ=_w71._H8;this._ji1.length=this._fZ;this._ki1.length=this._fZ;this._oi1=_w71._P91;this._pi1=_w71._Q91;this._qi1=_w71._hi1;for(var _Q7=0;_Q7<this._fZ;++_Q7){var _M71=this._qi1[_Q7];var _N71=_M71._tb1;var _P71=_M71._vb1;var _M41=_N71._391();
var _N41=_P71._391();var _N11=_M41._vY;var _P11=_N41._vY;var _Ga1=_N71._a91();var _Ha1=_P71._a91();var _B11=_M71._jh1();var _A11=_B11._A11;_qV(_A11>0);var _ri1=this._ki1[_Q7]||new _9i1();_ri1._V81=_M71._191;_ri1._W81=_M71._291;_ri1._bi1=_M71._ih1;_ri1._401=_Ga1._X61;_ri1._501=_Ha1._X61;_ri1._3i1=_Ga1._k71;_ri1._4i1=_Ha1._k71;_ri1._7i1=_Ga1._m71;_ri1._8i1=_Ha1._m71;_ri1._ci1=_Q7;_ri1._A11=_A11;_ri1._ai1._fW();_ri1._Zh1._fW();this._ki1[_Q7]=_ri1;var _qd1=this._ji1[_Q7]||new _1i1();_qd1._401=_Ga1._X61;_qd1._501=_Ha1._X61;
_qd1._3i1=_Ga1._k71;_qd1._4i1=_Ha1._k71;_qd1._5i1.x=_Ga1._571._3X.x;_qd1._5i1.y=_Ga1._571._3X.y;_qd1._6i1.x=_Ha1._571._3X.x;_qd1._6i1.y=_Ha1._571._3X.y;_qd1._7i1=_Ga1._m71;_qd1._8i1=_Ha1._m71;_qd1._z11.x=_B11._z11.x;_qd1._z11.y=_B11._z11.y;_qd1._t11.x=_B11._t11.x;_qd1._t11.y=_B11._t11.y;_qd1._A11=_A11;_qd1._N11=_N11;_qd1._P11=_P11;_qd1.type=_B11.type;this._ji1[_Q7]=_qd1;for(var _R7=0;_R7<_A11;++_R7){var _z31=_B11._y11[_R7];var _si1=_ri1._y11[_R7];if(this._kg1._L91){_si1._u11=this._kg1._I91*_z31._u11;
_si1._v11=this._kg1._I91*_z31._v11}else {_si1._u11=0.0;_si1._v11=0.0}_si1._k11._fW();_si1._l11._fW();_si1._Zh1=0.0;_si1.__h1=0.0;_si1._0i1=0.0;_qd1._2i1[_R7]=_z31._t11}}},_ti1:function(){for(var _Q7=0;_Q7<this._fZ;++_Q7){var _ri1=this._ki1[_Q7];var _qd1=this._ji1[_Q7];var _N11=_qd1._N11;var _P11=_qd1._P11;var _B11=this._qi1[_ri1._ci1]._jh1();var _401=_ri1._401;var _501=_ri1._501;var _ui1=_ri1._3i1;var _vi1=_ri1._4i1;var _J51=_ri1._7i1;var _K51=_ri1._8i1;var _5i1=_qd1._5i1;var _6i1=_qd1._6i1;var _Sa1=this._oi1[_401]._Qt;
var _wi1=this._oi1[_401]._k9;var _xi1=this._pi1[_401]._y9;var _h01=this._pi1[_401]._u4;var _Ua1=this._oi1[_501]._Qt;var _yi1=this._oi1[_501]._k9;var _zi1=this._pi1[_501]._y9;var _i01=this._pi1[_501]._u4;_qV(_B11._A11>0);_ii1._li1.__v._Ig(_wi1);_ii1._mi1.__v._Ig(_yi1);_ii1._li1._tx.x=_Sa1.x-(_ii1._li1.__v._Qt*_5i1.x-_ii1._li1.__v._ps*_5i1.y);_ii1._li1._tx.y=_Sa1.y-(_ii1._li1.__v._ps*_5i1.x+_ii1._li1.__v._Qt*_5i1.y);_ii1._mi1._tx.x=_Ua1.x-(_ii1._mi1.__v._Qt*_6i1.x-_ii1._mi1.__v._ps*_6i1.y);_ii1._mi1._tx.y=_Ua1.y-(_ii1._mi1.__v._ps*_6i1.x+_ii1._mi1.__v._Qt*_6i1.y);
var _lh1=new _J11();_lh1._L11(_B11,_ii1._li1,_N11,_ii1._mi1,_P11);_ri1._IY.x=_lh1._IY.x;_ri1._IY.y=_lh1._IY.y;var _A11=_ri1._A11;for(var _R7=0;_R7<_A11;++_R7){var _si1=_ri1._y11[_R7];_si1._k11.x=_lh1._y11[_R7].x-_Sa1.x;_si1._k11.y=_lh1._y11[_R7].y-_Sa1.y;_si1._l11.x=_lh1._y11[_R7].x-_Ua1.x;_si1._l11.y=_lh1._y11[_R7].y-_Ua1.y;var _Ai1=_si1._k11.x*_ri1._IY.y-_si1._k11.y*_ri1._IY.x;var _Bi1=_si1._l11.x*_ri1._IY.y-_si1._l11.y*_ri1._IY.x;var _Ci1=_ui1+_vi1+_J51*_Ai1*_Ai1+_K51*_Bi1*_Bi1;_si1._Zh1=_Ci1>0.0?1.0/_Ci1:0.0;
var _o31=1.0*_ri1._IY.y;var _p31=-1.0*_ri1._IY.x;var _Di1=_si1._k11.x*_p31-_si1._k11.y*_o31;var _Ei1=_si1._l11.x*_p31-_si1._l11.y*_o31;var _Fi1=_ui1+_vi1+_J51*_Di1*_Di1+_K51*_Ei1*_Ei1;_si1.__h1=_Fi1>0.0?1.0/_Fi1:0.0;_si1._0i1=0.0;var _Gi1=_ri1._IY.x*(((_zi1.x+(-_i01*_si1._l11.y))-_xi1.x)-(-_h01*_si1._k11.y))+_ri1._IY.y*(((_zi1.y+(_i01*_si1._l11.x))-_xi1.y)-(_h01*_si1._k11.x));if(_Gi1<-_EV){_si1._0i1=-_ri1._W81*_Gi1}}if(_ri1._A11==2){var _Hi1=_ri1._y11[0];var _Ii1=_ri1._y11[1];var _Ji1=_Hi1._k11.x*_ri1._IY.y-_Hi1._k11.y*_ri1._IY.x;
var _Ki1=_Hi1._l11.x*_ri1._IY.y-_Hi1._l11.y*_ri1._IY.x;var _Li1=_Ii1._k11.x*_ri1._IY.y-_Ii1._k11.y*_ri1._IY.x;var _Mi1=_Ii1._l11.x*_ri1._IY.y-_Ii1._l11.y*_ri1._IY.x;var _Ni1=_ui1+_vi1+_J51*_Ji1*_Ji1+_K51*_Ki1*_Ki1;var _Oi1=_ui1+_vi1+_J51*_Li1*_Li1+_K51*_Mi1*_Mi1;var _Pi1=_ui1+_vi1+_J51*_Ji1*_Li1+_K51*_Ki1*_Mi1;var _Qi1=1000.0;if(_Ni1*_Ni1<_Qi1*(_Ni1*_Oi1-_Pi1*_Pi1)){_ri1._ai1._Ou.x=_Ni1;_ri1._ai1._Ou.y=_Pi1;_ri1._ai1._gz.x=_Pi1;_ri1._ai1._gz.y=_Oi1;_ri1._Zh1._iW(_ri1._ai1._CW())}else {_ri1._A11=1}}}},_Ri1:function(){
for(var _Q7=0;_Q7<this._fZ;++_Q7){var _ri1=this._ki1[_Q7];var _401=_ri1._401;var _501=_ri1._501;var _ui1=_ri1._3i1;var _J51=_ri1._7i1;var _vi1=_ri1._4i1;var _K51=_ri1._8i1;var _A11=_ri1._A11;var _xi1=this._pi1[_401]._y9;var _h01=this._pi1[_401]._u4;var _zi1=this._pi1[_501]._y9;var _i01=this._pi1[_501]._u4;var _IY=_ri1._IY;var _o31=1.0*_IY.y;var _p31=-1.0*_IY.x;for(var _R7=0;_R7<_A11;++_R7){var _si1=_ri1._y11[_R7];var _N31=(_si1._u11*_IY.x)+(_si1._v11*_o31);var _O31=(_si1._u11*_IY.y)+(_si1._v11*_p31);_h01-=_J51*(_si1._k11.x*_O31-_si1._k11.y*_N31);
_xi1.x-=_ui1*_N31;_xi1.y-=_ui1*_O31;_i01+=_K51*(_si1._l11.x*_O31-_si1._l11.y*_N31);_zi1.x+=_vi1*_N31;_zi1.y+=_vi1*_O31}this._pi1[_401]._u4=_h01;this._pi1[_501]._u4=_i01}},_Si1:function(){for(var _Q7=0;_Q7<this._fZ;++_Q7){var _ri1=this._ki1[_Q7];var _401=_ri1._401;var _501=_ri1._501;var _ui1=_ri1._3i1;var _J51=_ri1._7i1;var _vi1=_ri1._4i1;var _K51=_ri1._8i1;var _A11=_ri1._A11;var _xi1=this._pi1[_401]._y9;var _h01=this._pi1[_401]._u4;var _zi1=this._pi1[_501]._y9;var _i01=this._pi1[_501]._u4;var _IY=_ri1._IY;var _o31=1.0*_IY.y;
var _p31=-1.0*_IY.x;var _V81=_ri1._V81;_qV(_A11==1||_A11==2);for(var _R7=0;_R7<_A11;++_R7){var _si1=_ri1._y11[_R7];var _Ti1=_zi1.x+(-_i01*_si1._l11.y)-_xi1.x-(-_h01*_si1._k11.y);var _Ui1=_zi1.y+(_i01*_si1._l11.x)-_xi1.y-(_h01*_si1._k11.x);var _Vi1=(_Ti1*_o31+_Ui1*_p31)-_ri1._bi1;var _Wi1=_si1.__h1*(-_Vi1);var _Xi1=_V81*_si1._u11;var _Yi1=_IX(_si1._v11+_Wi1,-_Xi1,_Xi1);_Wi1=_Yi1-_si1._v11;_si1._v11=_Yi1;var _N31=_Wi1*_o31;var _O31=_Wi1*_p31;_xi1.x-=_ui1*_N31;_xi1.y-=_ui1*_O31;_h01-=_J51*(_si1._k11.x*_O31-_si1._k11.y*_N31);
_zi1.x+=_vi1*_N31;_zi1.y+=_vi1*_O31;_i01+=_K51*(_si1._l11.x*_O31-_si1._l11.y*_N31)}if(_ri1._A11==1){_si1=_ri1._y11[0];_Ti1=_zi1.x+(-_i01*_si1._l11.y)-_xi1.x-(-_h01*_si1._k11.y);_Ui1=_zi1.y+(_i01*_si1._l11.x)-_xi1.y-(_h01*_si1._k11.x);var _pg1=_Ti1*_IY.x+_Ui1*_IY.y;var _Wi1=-_si1._Zh1*(_pg1-_si1._0i1);var _Yi1=_GX(_si1._u11+_Wi1,0.0);_Wi1=_Yi1-_si1._u11;_si1._u11=_Yi1;_N31=_Wi1*_IY.x;_O31=_Wi1*_IY.y;_xi1.x-=_ui1*_N31;_xi1.y-=_ui1*_O31;_h01-=_J51*(_si1._k11.x*_O31-_si1._k11.y*_N31);_zi1.x+=_vi1*_N31;
_zi1.y+=_vi1*_O31;_i01+=_K51*(_si1._l11.x*_O31-_si1._l11.y*_N31)}else {var _Zi1=_ri1._y11[0];var __i1=_ri1._y11[1];var _yF=_Zi1._u11;var _zF=__i1._u11;_qV(_yF>=0.0&&_zF>=0.0);var _0j1=_zi1.x+(-_i01*_Zi1._l11.y)-_xi1.x-(-_h01*_Zi1._k11.y);var _1j1=_zi1.y+(_i01*_Zi1._l11.x)-_xi1.y-(_h01*_Zi1._k11.x);var _2j1=_zi1.x+(-_i01*__i1._l11.y)-_xi1.x-(-_h01*__i1._k11.y);var _3j1=_zi1.y+(_i01*__i1._l11.x)-_xi1.y-(_h01*__i1._k11.x);var _4j1=_0j1*_IY.x+_1j1*_IY.y;var _5j1=_2j1*_IY.x+_3j1*_IY.y;var _gd1=_4j1-_Zi1._0i1;var _hd1=_5j1-__i1._0i1;
_gd1-=_ri1._ai1._Ou.x*_yF+_ri1._ai1._gz.x*_zF;_hd1-=_ri1._ai1._Ou.y*_yF+_ri1._ai1._gz.y*_zF;for(;;){var _S7=-(_ri1._Zh1._Ou.x*_gd1+_ri1._Zh1._gz.x*_hd1);var _6j1=-(_ri1._Zh1._Ou.y*_gd1+_ri1._Zh1._gz.y*_hd1);if(_S7>=0.0&&_6j1>=0.0){var _da=_S7-_yF;var _ea=_6j1-_zF;var _7j1=_da*_IY.x;var _8j1=_da*_IY.y;var _9j1=_ea*_IY.x;var _aj1=_ea*_IY.y;_xi1.x-=_ui1*(_7j1+_9j1);_xi1.y-=_ui1*(_8j1+_aj1);_h01-=_J51*((_Zi1._k11.x*_8j1-_Zi1._k11.y*_7j1)+(__i1._k11.x*_aj1-__i1._k11.y*_9j1));_zi1.x+=_vi1*(_7j1+_9j1);_zi1.y+=_vi1*(_8j1+_aj1);
_i01+=_K51*((_Zi1._l11.x*_8j1-_Zi1._l11.y*_7j1)+(__i1._l11.x*_aj1-__i1._l11.y*_9j1));_Zi1._u11=_S7;__i1._u11=_6j1;break }_S7=-_Zi1._Zh1*_gd1;_6j1=0.0;_4j1=0.0;_5j1=_ri1._ai1._Ou.y*_S7+_hd1;if(_S7>=0.0&&_5j1>=0.0){_da=_S7-_yF;_ea=_6j1-_zF;_7j1=_da*_IY.x;_8j1=_da*_IY.y;_9j1=_ea*_IY.x;_aj1=_ea*_IY.y;_xi1.x-=_ui1*(_7j1+_9j1);_xi1.y-=_ui1*(_8j1+_aj1);_h01-=_J51*((_Zi1._k11.x*_8j1-_Zi1._k11.y*_7j1)+(__i1._k11.x*_aj1-__i1._k11.y*_9j1));_zi1.x+=_vi1*(_7j1+_9j1);_zi1.y+=_vi1*(_8j1+_aj1);_i01+=_K51*((_Zi1._l11.x*_8j1-_Zi1._l11.y*_7j1)+(__i1._l11.x*_aj1-__i1._l11.y*_9j1));
_Zi1._u11=_S7;__i1._u11=_6j1;break }_S7=0.0;_6j1=-__i1._Zh1*_hd1;_4j1=_ri1._ai1._gz.x*_6j1+_gd1;_5j1=0.0;if(_6j1>=0.0&&_4j1>=0.0){_da=_S7-_yF;_ea=_6j1-_zF;_7j1=_da*_IY.x;_8j1=_da*_IY.y;_9j1=_ea*_IY.x;_aj1=_ea*_IY.y;_xi1.x-=_ui1*(_7j1+_9j1);_xi1.y-=_ui1*(_8j1+_aj1);_h01-=_J51*((_Zi1._k11.x*_8j1-_Zi1._k11.y*_7j1)+(__i1._k11.x*_aj1-__i1._k11.y*_9j1));_zi1.x+=_vi1*(_7j1+_9j1);_zi1.y+=_vi1*(_8j1+_aj1);_i01+=_K51*((_Zi1._l11.x*_8j1-_Zi1._l11.y*_7j1)+(__i1._l11.x*_aj1-__i1._l11.y*_9j1));_Zi1._u11=_S7;__i1._u11=_6j1;
break }_S7=0.0;_6j1=0.0;_4j1=_gd1;_5j1=_hd1;if(_4j1>=0.0&&_5j1>=0.0){_da=_S7-_yF;_ea=_6j1-_zF;_7j1=_da*_IY.x;_8j1=_da*_IY.y;_9j1=_ea*_IY.x;_aj1=_ea*_IY.y;_xi1.x-=_ui1*(_7j1+_9j1);_xi1.y-=_ui1*(_8j1+_aj1);_h01-=_J51*((_Zi1._k11.x*_8j1-_Zi1._k11.y*_7j1)+(__i1._k11.x*_aj1-__i1._k11.y*_9j1));_zi1.x+=_vi1*(_7j1+_9j1);_zi1.y+=_vi1*(_8j1+_aj1);_i01+=_K51*((_Zi1._l11.x*_8j1-_Zi1._l11.y*_7j1)+(__i1._l11.x*_aj1-__i1._l11.y*_9j1));_Zi1._u11=_S7;__i1._u11=_6j1;break }break }}this._pi1[_401]._u4=_h01;this._pi1[_501]._u4=_i01}
},_bj1:function(){for(var _Q7=0;_Q7<this._fZ;++_Q7){var _ri1=this._ki1[_Q7];var _B11=this._qi1[_ri1._ci1]._jh1();for(var _R7=0;_R7<_ri1._A11;++_R7){_B11._y11[_R7]._u11=_ri1._y11[_R7]._u11;_B11._y11[_R7]._v11=_ri1._y11[_R7]._v11}}},_cj1:function(){var _dj1=0.0;for(var _Q7=0;_Q7<this._fZ;++_Q7){var _qd1=this._ji1[_Q7];var _401=_qd1._401;var _501=_qd1._501;var _5i1=_qd1._5i1;var _ui1=_qd1._3i1;var _J51=_qd1._7i1;var _6i1=_qd1._6i1;var _vi1=_qd1._4i1;var _K51=_qd1._8i1;var _A11=_qd1._A11;var _Sa1=this._oi1[_401]._Qt;
var _wi1=this._oi1[_401]._k9;var _Ua1=this._oi1[_501]._Qt;var _yi1=this._oi1[_501]._k9;for(var _R7=0;_R7<_A11;++_R7){_ii1._li1.__v._Ig(_wi1);_ii1._mi1.__v._Ig(_yi1);_ii1._li1._tx.x=_Sa1.x-(_ii1._li1.__v._Qt*_5i1.x-_ii1._li1.__v._ps*_5i1.y);_ii1._li1._tx.y=_Sa1.y-(_ii1._li1.__v._ps*_5i1.x+_ii1._li1.__v._Qt*_5i1.y);_ii1._mi1._tx.x=_Ua1.x-(_ii1._mi1.__v._Qt*_6i1.x-_ii1._mi1.__v._ps*_6i1.y);_ii1._mi1._tx.y=_Ua1.y-(_ii1._mi1.__v._ps*_6i1.x+_ii1._mi1.__v._Qt*_6i1.y);_ii1._ni1._L11(_qd1,_ii1._li1,_ii1._mi1,
_R7);var _IY=_ii1._ni1._IY;var _w11=_ii1._ni1._w11;var _z21=_ii1._ni1._z21;var _ej1=_w11.x-_Sa1.x;var _fj1=_w11.y-_Sa1.y;var _gj1=_w11.x-_Ua1.x;var _hj1=_w11.y-_Ua1.y;_dj1=_EX(_dj1,_z21);var _xX=_IX(_LV*(_z21+_zV),-_FV,0.0);var _Ai1=_ej1*_IY.y-_fj1*_IY.x;var _Bi1=_gj1*_IY.y-_hj1*_IY.x;var _ai1=_ui1+_vi1+_J51*_Ai1*_Ai1+_K51*_Bi1*_Bi1;var _781=_ai1>0.0?-_xX/_ai1:0.0;var _N31=_781*_IY.x;var _O31=_781*_IY.y;_Sa1.x-=_ui1*_N31;_Sa1.y-=_ui1*_O31;_wi1-=_J51*(_ej1*_O31-_fj1*_N31);_Ua1.x+=_vi1*_N31;_Ua1.y+=_vi1*_O31;_yi1+=_K51*(_gj1*_O31-_hj1*_N31)}
this._oi1[_401]._k9=_wi1;this._oi1[_501]._k9=_yi1}return _dj1>=-3.0*_zV},_ij1:function(_jj1,_kj1){var _dj1=0.0;for(var _Q7=0;_Q7<this._fZ;++_Q7){var _qd1=this._ji1[_Q7];var _401=_qd1._401;var _501=_qd1._501;var _5i1=_qd1._5i1;var _6i1=_qd1._6i1;var _A11=_qd1._A11;var _ui1=0.0;var _J51=0.0;if(_401==_jj1||_401==_kj1){_ui1=_qd1._3i1;_J51=_qd1._7i1}var _vi1=0.0;var _K51=0.0;if(_501==_jj1||_501==_kj1){_vi1=_qd1._4i1;_K51=_qd1._8i1}var _Sa1=this._oi1[_401]._Qt;var _wi1=this._oi1[_401]._k9;var _Ua1=this._oi1[_501]._Qt;
var _yi1=this._oi1[_501]._k9;for(var _R7=0;_R7<_A11;++_R7){_ii1._li1.__v._Ig(_wi1);_ii1._mi1.__v._Ig(_yi1);_ii1._li1._tx._iW(_eW._mW(_Sa1,_rX(_ii1._li1.__v,_5i1)));_ii1._mi1._tx._iW(_eW._mW(_Ua1,_rX(_ii1._mi1.__v,_6i1)));_ii1._ni1._L11(_qd1,_ii1._li1,_ii1._mi1,_R7);var _IY=_ii1._ni1._IY;var _w11=_ii1._ni1._w11;var _z21=_ii1._ni1._z21;var _k11=_eW._mW(_w11,_Sa1);var _l11=_eW._mW(_w11,_Ua1);_dj1=_EX(_dj1,_z21);var _xX=_IX(_MV*(_z21+_zV),-_FV,0.0);var _Ai1=_dX(_k11,_IY);var _Bi1=_dX(_l11,_IY);var _ai1=_ui1+_vi1+_J51*_Ai1*_Ai1+_K51*_Bi1*_Bi1;
var _781=_ai1>0.0?-_xX/_ai1:0.0;var _D31=_eW.Multiply(_781,_IY);_Sa1._mW(_eW.Multiply(_ui1,_D31));_wi1-=_J51*_dX(_k11,_D31);_Ua1._Qe(_eW.Multiply(_vi1,_D31));_yi1+=_K51*_dX(_l11,_D31)}this._oi1[_401]._k9=_wi1;this._oi1[_501]._k9=_yi1}return _dj1>=-1.5*_zV;}};function _ca1(){this._yb1=[];this._qi1=[];this._lj1=[];this._pi1=[];this._oi1=[]}var _mj1=_8V._jV("solve initialization","solve");var _nj1=_8V._jV("warm starting","solve initialization");var _oj1=_8V._jV("solve velocities","solve");var _pj1=_8V._jV("solve positions",
"solve");_ca1._qj1=new _O91();_ca1._rj1=new _gi1();_ca1._sj1=new _ii1();_ca1.prototype={_6f:function(){this._0a1=0;this._eb1=0;this._1a1=0},_L11:function(_tj1,_uj1,_vj1,listener){this._wj1=listener;this._Nb1=_tj1;this._Ob1=_uj1;this._xj1=_vj1;this._0a1=0;this._eb1=0;this._1a1=0;this._yb1.length=_tj1;this._qi1.length=_uj1;this._lj1.length=_vj1;this._pi1.length=_tj1;this._oi1.length=_tj1},_FW:function(_3V,_W91,_Q61){_mj1.start();var _v4=_3V._G91;for(var _Q7=0;_Q7<this._0a1;++_Q7){var _M7=this._yb1[_Q7];
this._oi1[_Q7]._Qt._iW(_M7._571._Qt);var _k9=_M7._571._k9;this._pi1[_Q7]._y9._iW(_M7._a71);var _u4=_M7._b71;_M7._571._4X._iW(_M7._571._Qt);_M7._571._6X=_M7._571._k9;if(_M7._OC==_K61._i71){this._pi1[_Q7]._y9.x+=_v4*((_M7._e71*_W91.x)+(_M7._k71*_M7._f71.x));this._pi1[_Q7]._y9.y+=_v4*((_M7._e71*_W91.y)+(_M7._k71*_M7._f71.y));_u4+=_v4*_M7._m71*_M7._g71;this._pi1[_Q7]._y9.x*=1.0/(1.0+_v4*_M7._c71);this._pi1[_Q7]._y9.y*=1.0/(1.0+_v4*_M7._c71);_u4*=1.0/(1.0+_v4*_M7._d71)}this._oi1[_Q7]._k9=_k9;this._pi1[_Q7]._u4=_u4}
_ca1._qj1._3V=_3V;_ca1._qj1._P91=this._oi1;_ca1._qj1._Q91=this._pi1;_ca1._rj1._3V=_3V;_ca1._rj1._hi1=this._qi1;_ca1._rj1._H8=this._eb1;_ca1._rj1._P91=this._oi1;_ca1._rj1._Q91=this._pi1;_ca1._rj1._yj1=this._zj1;_ca1._sj1._zD(_ca1._rj1);_ca1._sj1._ti1();if(_3V._L91){_nj1.start();_ca1._sj1._Ri1();_nj1.stop()}for(var _Q7=0;_Q7<this._1a1;++_Q7){this._lj1[_Q7]._Aj1(_ca1._qj1)}_mj1.stop();_oj1.start();for(var _Q7=0;_Q7<_3V._J91;++_Q7){for(var _R7=0;_R7<this._1a1;++_R7){this._lj1[_R7]._Si1(_ca1._qj1)}_ca1._sj1._Si1()}
_ca1._sj1._bj1();_oj1.stop();_pj1.start();for(var _Q7=0;_Q7<this._0a1;++_Q7){var _Qt=this._oi1[_Q7]._Qt;var _k9=this._oi1[_Q7]._k9;var _y9=this._pi1[_Q7]._y9;var _u4=this._pi1[_Q7]._u4;var _Bj1=_v4*_y9.x;var _Cj1=_v4*_y9.y;var _Dj1=_Bj1*_Bj1+_Cj1*_Cj1;if(_Dj1>_IV){var _Ej1=_HV/_bW(_Dj1);_y9.x*=_Ej1;_y9.y*=_Ej1}var rotation=_v4*_u4;if(rotation*rotation>_KV){var _Ej1=_JV/_BX(rotation);_u4*=_Ej1}_Qt.x+=_v4*_y9.x;_Qt.y+=_v4*_y9.y;_k9+=_v4*_u4;this._oi1[_Q7]._k9=_k9;this._pi1[_Q7]._u4=_u4}var _Fj1=!1;for(var _Q7=0;
_Q7<_3V._K91;++_Q7){var _Gj1=_ca1._sj1._cj1();var _Hj1=!0;for(var _R7=0;_R7<this._1a1;++_R7){var _Ij1=this._lj1[_R7]._cj1(_ca1._qj1);_Hj1=_Hj1&&_Ij1}if(_Gj1&&_Hj1){_Fj1=!0;break }}for(var _Q7=0;_Q7<this._0a1;++_Q7){var body=this._yb1[_Q7];body._571._Qt._iW(this._oi1[_Q7]._Qt);body._571._k9=this._oi1[_Q7]._k9;body._a71._iW(this._pi1[_Q7]._y9);body._b71=this._pi1[_Q7]._u4;body._M81()}_pj1.stop();this._Jj1(_ca1._sj1._ki1);if(_Q61){var _Kj1=_sV;var _Lj1=_OV*_OV;var _Mj1=_PV*_PV;for(var _Q7=0;_Q7<this._0a1;++_Q7){
var _M7=this._yb1[_Q7];if(_M7._wY()==_K61._L61){continue }if((_M7._Y61&_K61._071)==0||_M7._b71*_M7._b71>_Mj1||_cX(_M7._a71,_M7._a71)>_Lj1){_M7._h71=0.0;_Kj1=0.0}else {_M7._h71+=_v4;_Kj1=_EX(_Kj1,_M7._h71)}}if(_Kj1>=_NV&&_Fj1){for(var _Q7=0;_Q7<this._0a1;++_Q7){var _M7=this._yb1[_Q7];_M7._tK(!1)}}}},_Ma1:function(_Pb1,_jj1,_kj1){_qV(_jj1<this._0a1);_qV(_kj1<this._0a1);for(var _Q7=0;_Q7<this._0a1;++_Q7){var _M7=this._yb1[_Q7];this._oi1[_Q7]._Qt._iW(_M7._571._Qt);this._oi1[_Q7]._k9=_M7._571._k9;this._pi1[_Q7]._y9._iW(_M7._a71);
this._pi1[_Q7]._u4=_M7._b71}_ca1._rj1._hi1=this._qi1;_ca1._rj1._H8=this._eb1;_ca1._rj1._3V=_Pb1;_ca1._rj1._P91=this._oi1;_ca1._rj1._Q91=this._pi1;_ca1._sj1._zD(_ca1._rj1);for(var _Q7=0;_Q7<_Pb1._K91;++_Q7){var _Gj1=_ca1._sj1._ij1(_jj1,_kj1);if(_Gj1){break }}this._yb1[_jj1]._571._4X._iW(this._oi1[_jj1]._Qt);this._yb1[_jj1]._571._6X=this._oi1[_jj1]._k9;this._yb1[_kj1]._571._4X._iW(this._oi1[_kj1]._Qt);this._yb1[_kj1]._571._6X=this._oi1[_kj1]._k9;_ca1._sj1._ti1();for(var _Q7=0;_Q7<_Pb1._J91;++_Q7){_ca1._sj1._Si1()}
var _v4=_Pb1._G91;for(var _Q7=0;_Q7<this._0a1;++_Q7){var _Qt=this._oi1[_Q7]._Qt;var _k9=this._oi1[_Q7]._k9;var _y9=this._pi1[_Q7]._y9;var _u4=this._pi1[_Q7]._u4;var _Nj1=_eW.Multiply(_v4,_y9);if(_cX(_Nj1,_Nj1)>_IV){var _Ej1=_HV/_Nj1.Length();_y9.Multiply(_Ej1)}var rotation=_v4*_u4;if(rotation*rotation>_KV){var _Ej1=_JV/_BX(rotation);_u4*=_Ej1}_Qt._Qe(_eW.Multiply(_v4,_y9));_k9+=_v4*_u4;this._oi1[_Q7]._k9=_k9;this._pi1[_Q7]._u4=_u4;var body=this._yb1[_Q7];body._571._Qt._iW(_Qt);body._571._k9=_k9;body._a71._iW(_y9);
body._b71=_u4;body._M81()}this._Jj1(_ca1._sj1._ki1)},_pb1:function(body){_qV(this._0a1<this._Nb1);body._X61=this._0a1;this._yb1[this._0a1]=body;if(!this._oi1[this._0a1]){this._oi1[this._0a1]=new _M91();this._pi1[this._0a1]=new _N91()}++this._0a1},_wb1:function(_M71){_qV(this._eb1<this._Ob1);this._qi1[this._eb1++]=_M71},_xb1:function(_P81){_qV(this._1a1<this._xj1);this._lj1[this._1a1++]=_P81;},_Jj1:function(_Oj1){if(this._wj1==null){return }for(var _Q7=0;_Q7<this._eb1;++_Q7){var _Qt=this._qi1[_Q7];var _ri1=_Oj1[_Q7];
var _781=new _s91();_781._H8=_ri1._A11;for(var _R7=0;_R7<_ri1._A11;++_R7){_781._t91[_R7]=_ri1._y11[_R7]._u11;_781._u91[_R7]=_ri1._y11[_R7]._v11}this._wj1._A91(_Qt,_781)}}};function _Pj1(){this._1l=new _eW();this._Qj1=0;this._Rj1=0};function _Sj1(){this._c21=null;this._P81=null;this._Da1=null;this._Qg=null};function _Tj1(){this.type=_Aa1._Uj1;this._p_=null;this._Ga1=null;this._Ha1=null;this._Ia1=!1};_Tj1.prototype={_uW:function(data,_Mb1,_Vj1){this._Ga1=_Mb1[data['bodyA']];this._Ha1=_Mb1[data['bodyB']];
this._Ia1=data['collideConnected']}};function _Aa1(_w71){_qV(_w71._Ga1!=_w71._Ha1);this._OC=_w71.type;this._871=null;this._971=null;this._Ea1=_w71._Ga1;this._Ca1=_w71._Ha1;this._Lt=0;this._Q81=_w71._Ia1;this._lb1=!1;this._n71=_w71._p_;this._Ba1=new _Sj1();this._Ba1._P81=null;this._Ba1._c21=null;this._Ba1._Da1=null;this._Ba1._Qg=null;this._Fa1=new _Sj1();this._Fa1._P81=null;this._Fa1._c21=null;this._Fa1._Da1=null;this._Fa1._Qg=null}_Aa1.prototype={_wY:function(){return this._OC},_Qb1:function(){return this._Ea1}
,_Rb1:function(){return this._Ca1},_Sb1:function(){},_Tb1:function(){},_Wj1:function(_H91){},_Xj1:function(_H91){},_J81:function(){return this._971},_y_:function(){return this._n71},_K81:function(data){this._n71=data},_D81:function(){return this._Ea1._D81()&&this._Ca1._D81()},_Yj1:function(){return this._Q81},_U_:function(_V_){},_Aj1:function(data){},_Si1:function(data){},_cj1:function(data){},_sW:function(_tW){var _Ct=_tW||{};_Ct['bodyA']=null;_Ct['bodyB']=null;_Ct['type']=this._OC;_Ct['collideConnected']=this._Q81;
return _Ct}};_Aa1._Zj1=0;_Aa1.__j1=1;_Aa1._0k1=2;_Aa1._1k1=3;_Aa1._Uj1=0;_Aa1._2k1=1;_Aa1._3k1=2;_Aa1._Ub1=3;_Aa1._Vb1=4;_Aa1._Zb1=5;_Aa1._4k1=6;_Aa1._5k1=7;_Aa1._6k1=8;_Aa1._7k1=9;_Aa1._8k1=10;_Aa1.__b1=11;_Aa1._B71=function(_w71){var _P81=null;switch(_w71.type){case _Aa1._Ub1:_P81=new _9k1(_w71);break;case _Aa1._Zb1:_P81=new _ak1(_w71);break;case _Aa1._3k1:_P81=new _bk1(_w71);break;case _Aa1._2k1:_P81=new _ck1(_w71);break;case _Aa1._Vb1:_P81=new _dk1(_w71);break;case _Aa1._4k1:_P81=new _ek1(_w71);break;case _Aa1._5k1:_P81=new _fk1(_w71);
break;case _Aa1._6k1:_P81=new _gk1(_w71);break;case _Aa1._7k1:_P81=new _hk1(_w71);break;case _Aa1._8k1:_P81=new _ik1(_w71);break;case _Aa1.__b1:_P81=new _jk1(_w71);break;default :_qV(!1);break }return _P81};_Aa1._R71=function(_P81){};function _kk1(){this.parent.call(this);this.type=_Aa1._2k1;this._lk1=new _eW();this._mk1=new _eW();this._nk1=0.0;this._ok1=0.0;this._pk1=0.0;this._qk1=0.0;this._rk1=0.0;this._sk1=!1;this._tk1=!1;Object.seal(this)}_kk1.prototype={_L11:function(_Fb1,_Gb1,anchor){this._Ga1=_Fb1;this._Ha1=_Gb1;
this._lk1=this._Ga1._g81(anchor);this._mk1=this._Ha1._g81(anchor);this._nk1=this._Ha1._YW()-this._Ga1._YW()},_uW:function(data,_Mb1,_Vj1){this.parent.prototype._uW.call(this,data,_Mb1,_Vj1);this._lk1._uW(data['localAnchorA']);this._mk1._uW(data['localAnchorB']);this._nk1=data['referenceAngle'];this._ok1=data['lowerAngle'];this._pk1=data['upperAngle'];this._qk1=data['maxMotorTorque'];this._rk1=data['motorSpeed'];this._sk1=data['enableLimit'];this._tk1=data['enableMotor']}};_kk1._UU(_Tj1);function _ck1(_w71){
this.parent.call(this,_w71);this._uk1=_w71._lk1._N5();this._vk1=_w71._mk1._N5();this._wk1=_w71._nk1;this._xk1=new _wW();this._yk1=0.0;this._zk1=_w71._ok1;this._Ak1=_w71._pk1;this._Bk1=_w71._qk1;this._Ck1=_w71._rk1;this._Dk1=_w71._sk1;this._Ek1=_w71._tk1;this._Fk1=_Aa1._Zj1;this._gh1=0;this._hh1=0;this._Gk1=new _eW();this._Hk1=new _eW();this._Ik1=new _eW();this._Jk1=new _eW();this._Kk1=0;this._Lk1=0;this._Mk1=0;this._Nk1=0;this._j71=new _KW();this._Ok1=0}_ck1.prototype={_Sb1:function(){return this._Ea1._d81(this._uk1)}
,_Tb1:function(){return this._Ca1._d81(this._vk1)},_Pk1:function(){return this._uk1},_Qk1:function(){return this._vk1},_Rk1:function(){return this._wk1},_Sk1:function(){var _Fb1=this._Ea1;var _Gb1=this._Ca1;return _Gb1._571._k9-_Fb1._571._k9-this._wk1},_Tk1:function(){var _Fb1=this._Ea1;var _Gb1=this._Ca1;return _Gb1._b71-_Fb1._b71},_Uk1:function(){return this._Dk1},_Vk1:function(_x81){if(_x81!=this._Dk1){this._Ea1._tK(!0);this._Ca1._tK(!0);this._Dk1=_x81;this._xk1._Ua=0.0}},_Wk1:function(){return this._zk1}
,_Xk1:function(){return this._Ak1},_Yk1:function(_KZ,_LZ){_qV(_KZ<=_LZ);if(_KZ!=this._zk1||_LZ!=this._Ak1){this._Ea1._tK(!0);this._Ca1._tK(!0);this._xk1._Ua=0.0;this._zk1=_KZ;this._Ak1=_LZ}},_Zk1:function(){return this._Ek1},__k1:function(_x81){this._Ea1._tK(!0);this._Ca1._tK(!0);this._Ek1=_x81},_0l1:function(_94){this._Ea1._tK(!0);this._Ca1._tK(!0);this._Ck1=_94},_1l1:function(){return this._Ck1},_2l1:function(_581){this._Ea1._tK(!0);this._Ca1._tK(!0);this._Bk1=_581},_3l1:function(){return this._Bk1}
,_Wj1:function(_H91){var _D31=new _eW(this._xk1.x,this._xk1.y);return _eW.Multiply(_H91,_D31)},_Xj1:function(_H91){return _H91*this._xk1._Ua},_4l1:function(_H91){return _H91*this._yk1},_Aj1:function(data){this._gh1=this._Ea1._X61;this._hh1=this._Ca1._X61;this._Ik1=this._Ea1._571._3X;this._Jk1=this._Ca1._571._3X;this._Kk1=this._Ea1._k71;this._Lk1=this._Ca1._k71;this._Mk1=this._Ea1._m71;this._Nk1=this._Ca1._m71;var _wi1=data._P91[this._gh1]._k9;var _xi1=data._Q91[this._gh1]._y9._N5();var _h01=data._Q91[this._gh1]._u4;
var _yi1=data._P91[this._hh1]._k9;var _zi1=data._Q91[this._hh1]._y9._N5();var _i01=data._Q91[this._hh1]._u4;var _5l1=new _XW(_wi1),_6l1=new _XW(_yi1);this._Gk1=_rX(_5l1,_eW._mW(this._uk1,this._Ik1));this._Hk1=_rX(_6l1,_eW._mW(this._vk1,this._Jk1));var _ui1=this._Kk1,_vi1=this._Lk1;var _J51=this._Mk1,_K51=this._Nk1;var _S61=(_J51+_K51==0.0);this._j71._Ou.x=_ui1+_vi1+this._Gk1.y*this._Gk1.y*_J51+this._Hk1.y*this._Hk1.y*_K51;this._j71._gz.x=-this._Gk1.y*this._Gk1.x*_J51-this._Hk1.y*this._Hk1.x*_K51;this._j71._MW.x=-this._Gk1.y*_J51-this._Hk1.y*_K51;
this._j71._Ou.y=this._j71._gz.x;this._j71._gz.y=_ui1+_vi1+this._Gk1.x*this._Gk1.x*_J51+this._Hk1.x*this._Hk1.x*_K51;this._j71._MW.y=this._Gk1.x*_J51+this._Hk1.x*_K51;this._j71._Ou._Ua=this._j71._MW.x;this._j71._gz._Ua=this._j71._MW.y;this._j71._MW._Ua=_J51+_K51;this._Ok1=_J51+_K51;if(this._Ok1>0.0){this._Ok1=1.0/this._Ok1}if(this._Ek1==!1||_S61){this._yk1=0.0}if(this._Dk1&&_S61==!1){var _7l1=_yi1-_wi1-this._wk1;if(_BX(this._Ak1-this._zk1)<2.0*_AV){this._Fk1=_Aa1._1k1}else if(_7l1<=this._zk1){if(this._Fk1!=_Aa1.__j1){
this._xk1._Ua=0.0}this._Fk1=_Aa1.__j1}else if(_7l1>=this._Ak1){if(this._Fk1!=_Aa1._0k1){this._xk1._Ua=0.0}this._Fk1=_Aa1._0k1}else {this._Fk1=_Aa1._Zj1;this._xk1._Ua=0.0}}else {this._Fk1=_Aa1._Zj1}if(data._3V._L91){this._xk1.Multiply(data._3V._I91);this._yk1*=data._3V._I91;var _D31=new _eW(this._xk1.x,this._xk1.y);_xi1._mW(_eW.Multiply(_ui1,_D31));_h01-=_J51*(_dX(this._Gk1,_D31)+this._yk1+this._xk1._Ua);_zi1._Qe(_eW.Multiply(_vi1,_D31));_i01+=_K51*(_dX(this._Hk1,_D31)+this._yk1+this._xk1._Ua)}else {this._xk1._fW();
this._yk1=0.0}data._Q91[this._gh1]._y9._iW(_xi1);data._Q91[this._gh1]._u4=_h01;data._Q91[this._hh1]._y9._iW(_zi1);data._Q91[this._hh1]._u4=_i01},_Si1:function(data){var _xi1=data._Q91[this._gh1]._y9._N5();var _h01=data._Q91[this._gh1]._u4;var _zi1=data._Q91[this._hh1]._y9._N5();var _i01=data._Q91[this._hh1]._u4;var _ui1=this._Kk1,_vi1=this._Lk1;var _J51=this._Mk1,_K51=this._Nk1;var _S61=(_J51+_K51==0.0);if(this._Ek1&&this._Fk1!=_Aa1._1k1&&_S61==!1){var _8l1=_i01-_h01-this._Ck1;var _781=-this._Ok1*_8l1;var _9l1=this._yk1;
var _al1=data._3V._G91*this._Bk1;this._yk1=_IX(this._yk1+_781,-_al1,_al1);_781=this._yk1-_9l1;_h01-=_J51*_781;_i01+=_K51*_781}if(this._Dk1&&this._Fk1!=_Aa1._Zj1&&_S61==!1){var _bl1=_eW._mW(_eW._mW(_eW._Qe(_zi1,_fX(_i01,this._Hk1)),_xi1),_fX(_h01,this._Gk1));var _cl1=_i01-_h01;var _8l1=new _wW(_bl1.x,_bl1.y,_cl1);var _781=this._j71._NW(_8l1)._jW();if(this._Fk1==_Aa1._1k1){this._xk1._Qe(_781)}else if(this._Fk1==_Aa1.__j1){var _Yi1=this._xk1._Ua+_781._Ua;if(_Yi1<0.0){var _dl1=_eW._Qe(_bl1._jW(),_eW.Multiply(this._xk1._Ua,
new _eW(this._j71._MW.x,this._j71._MW.y)));var _el1=this._j71._QW(_dl1);_781.x=_el1.x;_781.y=_el1.y;_781._Ua=-this._xk1._Ua;this._xk1.x+=_el1.x;this._xk1.y+=_el1.y;this._xk1._Ua=0.0;}else {this._xk1._Qe(_781)}}else if(this._Fk1==_Aa1._0k1){var _Yi1=this._xk1._Ua+_781._Ua;if(_Yi1>0.0){var _dl1=_eW._Qe(_bl1._jW(),_eW.Multiply(this._xk1._Ua,new _eW(this._j71._MW.x,this._j71._MW.y)));var _el1=this._j71._QW(_dl1);_781.x=_el1.x;_781.y=_el1.y;_781._Ua=-this._xk1._Ua;this._xk1.x+=_el1.x;this._xk1.y+=_el1.y;this._xk1._Ua=0.0}
else {this._xk1._Qe(_781)}}var _D31=new _eW(_781.x,_781.y);_xi1._mW(_eW.Multiply(_ui1,_D31));_h01-=_J51*(_dX(this._Gk1,_D31)+_781._Ua);_zi1._Qe(_eW.Multiply(_vi1,_D31));_i01+=_K51*(_dX(this._Hk1,_D31)+_781._Ua)}else {var _8l1=_eW._mW(_eW._mW(_eW._Qe(_zi1,_fX(_i01,this._Hk1)),_xi1),_fX(_h01,this._Gk1));var _781=this._j71._QW(_8l1._jW());this._xk1.x+=_781.x;this._xk1.y+=_781.y;_xi1._mW(_eW.Multiply(_ui1,_781));_h01-=_J51*_dX(this._Gk1,_781);_zi1._Qe(_eW.Multiply(_vi1,_781));_i01+=_K51*_dX(this._Hk1,_781)}
data._Q91[this._gh1]._y9._iW(_xi1);data._Q91[this._gh1]._u4=_h01;data._Q91[this._hh1]._y9._iW(_zi1);data._Q91[this._hh1]._u4=_i01},_cj1:function(data){var _Sa1=data._P91[this._gh1]._Qt._N5();var _wi1=data._P91[this._gh1]._k9;var _Ua1=data._P91[this._hh1]._Qt._N5();var _yi1=data._P91[this._hh1]._k9;var _5l1=new _XW(_wi1),_6l1=new _XW(_yi1);var _fl1=0.0;var _gl1=0.0;var _S61=(this._Mk1+this._Nk1==0.0);if(this._Dk1&&this._Fk1!=_Aa1._Zj1&&_S61==!1){var angle=_yi1-_wi1-this._wk1;var _hl1=0.0;if(this._Fk1==_Aa1._1k1){
var _xX=_IX(angle-this._zk1,-_GV,_GV);_hl1=-this._Ok1*_xX;_fl1=_BX(_xX)}else if(this._Fk1==_Aa1.__j1){var _xX=angle-this._zk1;_fl1=-_xX;_xX=_IX(_xX+_AV,-_GV,0.0);_hl1=-this._Ok1*_xX}else if(this._Fk1==_Aa1._0k1){var _xX=angle-this._Ak1;_fl1=_xX;_xX=_IX(_xX-_AV,0.0,_GV);_hl1=-this._Ok1*_xX}_wi1-=this._Mk1*_hl1;_yi1+=this._Nk1*_hl1}{_5l1._Ig(_wi1);_6l1._Ig(_yi1);var _k11=_rX(_5l1,_eW._mW(this._uk1,this._Ik1));var _l11=_rX(_6l1,_eW._mW(this._vk1,this._Jk1));var _xX=_eW._mW(_eW._mW(_eW._Qe(_Ua1,_l11),_Sa1),
_k11);_gl1=_xX.Length();var _ui1=this._Kk1,_vi1=this._Lk1;var _J51=this._Mk1,_K51=this._Nk1;var _ai1=new _yW();_ai1._Ou.x=_ui1+_vi1+_J51*_k11.y*_k11.y+_K51*_l11.y*_l11.y;_ai1._Ou.y=-_J51*_k11.x*_k11.y-_K51*_l11.x*_l11.y;_ai1._gz.x=_ai1._Ou.y;_ai1._gz.y=_ui1+_vi1+_J51*_k11.x*_k11.x+_K51*_l11.x*_l11.x;var _781=_ai1._FW(_xX)._jW();_Sa1._mW(_eW.Multiply(_ui1,_781));_wi1-=_J51*_dX(_k11,_781);_Ua1._Qe(_eW.Multiply(_vi1,_781));_yi1+=_K51*_dX(_l11,_781)}data._P91[this._gh1]._Qt._iW(_Sa1);data._P91[this._gh1]._k9=_wi1;
data._P91[this._hh1]._Qt._iW(_Ua1);data._P91[this._hh1]._k9=_yi1;return _gl1<=_zV&&_fl1<=_AV},_sW:function(_tW){var _Ct=_tW||{};this.parent.prototype._sW.call(this,_Ct);_Ct['localAnchorA']=this._uk1._sW();_Ct['localAnchorB']=this._vk1._sW();_Ct['referenceAngle']=this._wk1;_Ct['lowerAngle']=this._zk1;_Ct['upperAngle']=this._Ak1;_Ct['maxMotorTorque']=this._Bk1;_Ct['motorSpeed']=this._Ck1;_Ct['enableLimit']=this._Dk1;_Ct['enableMotor']=this._Ek1;return _Ct}};_ck1._UU(_Aa1);function _il1(){this.parent.call(this);
this.type=_Aa1._Zb1;this.target=new _eW(0.0,0.0);this._jl1=0.0;this._kl1=5.0;this._ll1=0.7;Object.seal(this)}_il1._UU(_Tj1);function _ak1(_w71){this.parent.call(this,_w71);_qV(_w71.target._qW());_qV(_4W(_w71._jl1)&&_w71._jl1>=0.0);_qV(_4W(_w71._kl1)&&_w71._kl1>=0.0);_qV(_4W(_w71._ll1)&&_w71._ll1>=0.0);this._ml1=_w71.target._N5();this._vk1=_vX(this._Ca1._8X(),this._ml1);this._nl1=_w71._jl1;this._xk1=new _eW();this._ol1=_w71._kl1;this._pl1=_w71._ll1;this._ql1=0.0;this._rl1=0.0;this._gh1=0;this._hh1=0;
this._Hk1=new _eW();this._Jk1=new _eW();this._Lk1=0;this._Nk1=0;this._j71=new _yW();this._sl1=new _eW()}_ak1.prototype={_Sb1:function(){return this._ml1;},_Tb1:function(){return this._Ca1._d81(this._vk1)},_Wj1:function(_H91){return _eW.Multiply(_H91,this._xk1)},_Xj1:function(_H91){return _H91*0.0},_tl1:function(target){if(this._Ca1._B81()==!1){this._Ca1._tK(!0)}this._ml1._iW(target)},_ul1:function(){return this._ml1},_vl1:function(_181){this._nl1=_181},_wl1:function(){return this._nl1},_xl1:function(_yl1){
this._ol1=_yl1},_zl1:function(){return this._ol1},_Al1:function(_Ej1){this._pl1=_Ej1},_Bl1:function(){return this._pl1},_U_:function(_V_){this._ml1._mW(_V_)},_Aj1:function(data){this._hh1=this._Ca1._X61;this._Jk1._iW(this._Ca1._571._3X);this._Lk1=this._Ca1._k71;this._Nk1=this._Ca1._m71;var _Ua1=data._P91[this._hh1]._Qt._N5();var _yi1=data._P91[this._hh1]._k9;var _zi1=data._Q91[this._hh1]._y9._N5();var _i01=data._Q91[this._hh1]._u4;var _6l1=new _XW(_yi1);var _sY=this._Ca1._981();var _Cl1=2.0*_uV*this._ol1;
var _si=2.0*_sY*this._pl1*_Cl1;var _Kg=_sY*(_Cl1*_Cl1);var _v4=data._3V._G91;_qV(_si+_v4*_Kg>_tV);this._rl1=_v4*(_si+_v4*_Kg);if(this._rl1!=0.0){this._rl1=1.0/this._rl1}this._ql1=_v4*_Kg*this._rl1;this._Hk1._iW(_rX(_6l1,_eW._mW(this._vk1,this._Jk1)));var _ai1=new _yW();_ai1._Ou.x=this._Lk1+this._Nk1*this._Hk1.y*this._Hk1.y+this._rl1;_ai1._Ou.y=-this._Nk1*this._Hk1.x*this._Hk1.y;_ai1._gz.x=_ai1._Ou.y;_ai1._gz.y=this._Lk1+this._Nk1*this._Hk1.x*this._Hk1.x+this._rl1;this._j71._iW(_ai1._CW());this._sl1._iW(_eW._mW(_eW._Qe(_Ua1,
this._Hk1),this._ml1));this._sl1.Multiply(this._ql1);_i01*=0.98;if(data._3V._L91){this._xk1.Multiply(data._3V._I91);_zi1._Qe(_eW.Multiply(this._Lk1,this._xk1));_i01+=this._Nk1*_dX(this._Hk1,this._xk1)}else {this._xk1._fW()}data._Q91[this._hh1]._y9._iW(_zi1);data._Q91[this._hh1]._u4=_i01},_Si1:function(data){var _zi1=data._Q91[this._hh1]._y9._N5();var _i01=data._Q91[this._hh1]._u4;var _8l1=_eW._Qe(_zi1,_fX(_i01,this._Hk1));var _781=_gX(this._j71,(_eW._Qe(_eW._Qe(_8l1,this._sl1),_eW.Multiply(this._rl1,
this._xk1)))._jW());var _9l1=this._xk1._N5();this._xk1._Qe(_781);var _al1=data._3V._G91*this._nl1;if(this._xk1._nW()>_al1*_al1){this._xk1.Multiply(_al1/this._xk1.Length())}_781._iW(_eW._mW(this._xk1,_9l1));_zi1._Qe(_eW.Multiply(this._Lk1,_781));_i01+=this._Nk1*_dX(this._Hk1,_781);data._Q91[this._hh1]._y9._iW(_zi1);data._Q91[this._hh1]._u4=_i01},_cj1:function(data){return !0}};_ak1._UU(_Aa1);/// @warning Do not use a zero or short length.
function _Dl1(){this.parent.call(this);this.type=_Aa1._Ub1;this._lk1=new _eW(0.0,
0.0);this._mk1=new _eW(0.0,0.0);this.length=1.0;this._kl1=0.0;this._ll1=0.0;Object.seal(this)}_Dl1.prototype={_L11:function(_Yu,_Zu,_El1,_Fl1){this._Ga1=_Yu;this._Ha1=_Zu;this._lk1=this._Ga1._g81(_El1);this._mk1=this._Ha1._g81(_Fl1);var _si=_eW._mW(_Fl1,_El1);this.length=_si.Length()},_uW:function(data,_Mb1,_Vj1){this.parent.prototype._uW.call(this,data,_Mb1,_Vj1);this._lk1._uW(data['localAnchorA']);this._mk1._uW(data['localAnchorB']);this.length=data['length'];this._kl1=data['frequencyHz'];this._ll1=data['dampingRatio']}
};_Dl1._UU(_Tj1);function _9k1(_w71){this.parent.call(this,_w71);this._uk1=_w71._lk1._N5();this._vk1=_w71._mk1._N5();this._Gl1=_w71.length;this._ol1=_w71._kl1;this._pl1=_w71._ll1;this._xk1=0.0;this._rl1=0.0;this._Hl1=0.0;this._gh1=0;this._hh1=0;this._Il1=new _eW();this._Gk1=new _eW();this._Hk1=new _eW();this._Ik1=new _eW();this._Jk1=new _eW();this._Kk1=0;this._Lk1=0;this._Mk1=0;this._Nk1=0;this._j71=0}_9k1.prototype={_Sb1:function(){return this._Ea1._d81(this._uk1)},_Tb1:function(){return this._Ca1._d81(this._vk1)}
,_Wj1:function(_H91){var _O51=_eW.Multiply((_H91*this._xk1),this._Il1);return _O51},_Xj1:function(_H91){return 0.0},_Pk1:function(){return this._uk1},_Qk1:function(){return this._vk1},_Jl1:function(length){this._Gl1=length},_Kl1:function(){return this._Gl1},_xl1:function(_yl1){this._ol1=_yl1},_zl1:function(){return this._ol1},_Al1:function(_Ej1){this._pl1=_Ej1},_Bl1:function(){return this._pl1},_Aj1:function(data){this._gh1=this._Ea1._X61;this._hh1=this._Ca1._X61;this._Ik1._iW(this._Ea1._571._3X);this._Jk1._iW(this._Ca1._571._3X);
this._Kk1=this._Ea1._k71;this._Lk1=this._Ca1._k71;this._Mk1=this._Ea1._m71;this._Nk1=this._Ca1._m71;var _Sa1=data._P91[this._gh1]._Qt._N5();var _wi1=data._P91[this._gh1]._k9;var _xi1=data._Q91[this._gh1]._y9._N5();var _h01=data._Q91[this._gh1]._u4;var _Ua1=data._P91[this._hh1]._Qt._N5();var _yi1=data._P91[this._hh1]._k9;var _zi1=data._Q91[this._hh1]._y9._N5();var _i01=data._Q91[this._hh1]._u4;var _5l1=new _XW(_wi1),_6l1=new _XW(_yi1);this._Gk1=_rX(_5l1,_eW._mW(this._uk1,this._Ik1));this._Hk1=_rX(_6l1,_eW._mW(this._vk1,
this._Jk1));this._Il1=_eW._mW(_eW._mW(_eW._Qe(_Ua1,this._Hk1),_Sa1),this._Gk1);var length=this._Il1.Length();if(length>_zV){this._Il1.Multiply(1.0/length)}else {this._Il1._Ig(0.0,0.0)}var _Ll1=_dX(this._Gk1,this._Il1);var _Ml1=_dX(this._Hk1,this._Il1);var _Nl1=this._Kk1+this._Mk1*_Ll1*_Ll1+this._Lk1+this._Nk1*_Ml1*_Ml1;this._j71=_Nl1!=0.0?1.0/_Nl1:0.0;if(this._ol1>0.0){var _xX=length-this._Gl1;var _Cl1=2.0*_uV*this._ol1;var _si=2.0*this._j71*this._pl1*_Cl1;var _Kg=this._j71*_Cl1*_Cl1;var _v4=data._3V._G91;
this._rl1=_v4*(_si+_v4*_Kg);this._rl1=this._rl1!=0.0?1.0/this._rl1:0.0;this._Hl1=_xX*_v4*_Kg*this._rl1;_Nl1+=this._rl1;this._j71=_Nl1!=0.0?1.0/_Nl1:0.0}else {this._rl1=0.0;this._Hl1=0.0}if(data._3V._L91){this._xk1*=data._3V._I91;var _D31=_eW.Multiply(this._xk1,this._Il1);_xi1._mW(_eW.Multiply(this._Kk1,_D31));_h01-=this._Mk1*_dX(this._Gk1,_D31);_zi1._Qe(_eW.Multiply(this._Lk1,_D31));_i01+=this._Nk1*_dX(this._Hk1,_D31)}else {this._xk1=0.0}data._Q91[this._gh1]._y9._iW(_xi1);data._Q91[this._gh1]._u4=_h01;
data._Q91[this._hh1]._y9._iW(_zi1);data._Q91[this._hh1]._u4=_i01;},_Si1:function(data){var _xi1=data._Q91[this._gh1]._y9._N5();var _h01=data._Q91[this._gh1]._u4;var _zi1=data._Q91[this._hh1]._y9._N5();var _i01=data._Q91[this._hh1]._u4;var _Ol1=_eW._Qe(_xi1,_fX(_h01,this._Gk1));var _Pl1=_eW._Qe(_zi1,_fX(_i01,this._Hk1));var _8l1=_cX(this._Il1,_eW._mW(_Pl1,_Ol1));var _781=-this._j71*(_8l1+this._Hl1+this._rl1*this._xk1);this._xk1+=_781;var _D31=_eW.Multiply(_781,this._Il1);_xi1._mW(_eW.Multiply(this._Kk1,_D31));
_h01-=this._Mk1*_dX(this._Gk1,_D31);_zi1._Qe(_eW.Multiply(this._Lk1,_D31));_i01+=this._Nk1*_dX(this._Hk1,_D31);data._Q91[this._gh1]._y9._iW(_xi1);data._Q91[this._gh1]._u4=_h01;data._Q91[this._hh1]._y9._iW(_zi1);data._Q91[this._hh1]._u4=_i01},_cj1:function(data){if(this._ol1>0.0){return !0}var _Sa1=data._P91[this._gh1]._Qt._N5();var _wi1=data._P91[this._gh1]._k9;var _Ua1=data._P91[this._hh1]._Qt._N5();var _yi1=data._P91[this._hh1]._k9;var _5l1=new _XW(_wi1),_6l1=new _XW(_yi1);var _k11=_rX(_5l1,_eW._mW(this._uk1,
this._Ik1));var _l11=_rX(_6l1,_eW._mW(this._vk1,this._Jk1));var _w9=_eW._mW(_eW._mW(_eW._Qe(_Ua1,_l11),_Sa1),_k11);var length=_w9._oW();var _xX=length-this._Gl1;_xX=_IX(_xX,-_FV,_FV);var _781=-this._j71*_xX;var _D31=_eW.Multiply(_781,_w9);_Sa1._mW(_eW.Multiply(this._Kk1,_D31));_wi1-=this._Mk1*_dX(_k11,_D31);_Ua1._Qe(_eW.Multiply(this._Lk1,_D31));_yi1+=this._Nk1*_dX(_l11,_D31);data._P91[this._gh1]._Qt._iW(_Sa1);data._P91[this._gh1]._k9=_wi1;data._P91[this._hh1]._Qt._iW(_Ua1);data._P91[this._hh1]._k9=_yi1;
return _BX(_xX)<_zV},_sW:function(_tW){var _Ct=_tW||{};this.parent.prototype._sW.call(this,_Ct);_Ct['localAnchorA']=this._uk1._sW();_Ct['localAnchorB']=this._vk1._sW();_Ct['length']=this._Gl1;_Ct['frequencyHz']=this._ol1;_Ct['dampingRatio']=this._pl1;return _Ct}};_9k1._UU(_Aa1);function _Ql1(){this.parent.call(this);this.type=_Aa1._3k1;this._lk1=new _eW();this._mk1=new _eW();this._Rl1=new _eW(1.0,0.0);this._nk1=0.0;this._sk1=!1;this._Sl1=0.0;this._Tl1=0.0;this._tk1=!1;this._Ul1=0.0;this._rk1=0.0;Object.seal(this)}
_Ql1.prototype={_L11:function(_Fb1,_Gb1,anchor,_5Y){this._Ga1=_Fb1;this._Ha1=_Gb1;this._lk1=this._Ga1._g81(anchor);this._mk1=this._Ha1._g81(anchor);this._Rl1=this._Ga1._i81(_5Y);this._nk1=this._Ha1._YW()-this._Ga1._YW()},_uW:function(data,_Mb1,_Vj1){this.parent.prototype._uW.call(this,data,_Mb1,_Vj1);this._lk1._uW(data['localAnchorA']);this._mk1._uW(data['localAnchorB']);this._Rl1._uW(data['localAxisA']);this._nk1=data['referenceAngle'];this._sk1=data['enableLimit'];this._Sl1=data['lowerTranslation'];
this._Tl1=data['upperTranslation'];this._tk1=data['enableMotor'];this._Ul1=data['maxMotorForce'];this._rk1=data['motorSpeed']}};_Ql1._UU(_Tj1);function _bk1(_w71){this.parent.call(this,_w71);this._uk1=_w71._lk1._N5();this._vk1=_w71._mk1._N5();this._Vl1=_w71._Rl1._N5();this._Vl1._oW();this._Wl1=_fX(1.0,this._Vl1);this._wk1=_w71._nk1;this._xk1=new _wW();this._Ok1=0.0;this._yk1=0.0;this._Xl1=_w71._Sl1;this._Yl1=_w71._Tl1;this._Zl1=_w71._Ul1;this._Ck1=_w71._rk1;this._Dk1=_w71._sk1;this._Ek1=_w71._tk1;
this._Fk1=_Aa1._Zj1;this._961=new _eW();this.__l1=new _eW();this._gh1=0;this._hh1=0;this._Ik1=new _eW();this._Jk1=new _eW();this._Kk1=0;this._Lk1=0;this._Mk1=0;this._Nk1=0;this._0m1=0,this._1m1=0;this._2m1=0,this._3m1=0;this._4m1=new _KW();this._Ok1=0}_bk1.prototype={_Sb1:function(){return this._Ea1._d81(this._uk1)},_Tb1:function(){return this._Ca1._d81(this._vk1)},_Wj1:function(_H91){return _eW.Multiply(_H91,_eW._Qe(_eW.Multiply(this._xk1.x,this.__l1),_eW.Multiply((this._yk1+this._xk1._Ua),this._961)))}
,_Xj1:function(_H91){return _H91*this._xk1.y},_Pk1:function(){return this._uk1},_Qk1:function(){return this._vk1},_5m1:function(){return this._Vl1},_Rk1:function(){return this._wk1},_6m1:function(){var _y01=this._Ea1._d81(this._uk1);var _z01=this._Ca1._d81(this._vk1);var _si=_eW._mW(_z01,_y01);var _5Y=this._Ea1._e81(this._Vl1);var _Nj1=_cX(_si,_5Y);return _Nj1},_Tk1:function(){var _Fb1=this._Ea1;var _Gb1=this._Ca1;var _k11=_rX(_Fb1._Z31.__v,_eW._mW(this._uk1,_Fb1._571._3X));var _l11=_rX(_Gb1._Z31.__v,_eW._mW(this._vk1,
_Gb1._571._3X));var _7Y=_eW._Qe(_Fb1._571._Qt,_k11);var _8Y=_eW._Qe(_Gb1._571._Qt,_l11);var _si=_eW._mW(_8Y,_7Y);var _5Y=_rX(_Fb1._Z31.__v,this._Vl1);var _xi1=_Fb1._a71;var _zi1=_Gb1._a71;var _h01=_Fb1._b71;var _i01=_Gb1._b71;var _94=_cX(_si,_fX(_h01,_5Y))+_cX(_5Y,_eW._mW(_eW._mW(_eW._Qe(_zi1,_fX(_i01,_l11)),_xi1),_fX(_h01,_k11)));return _94},_Uk1:function(){return this._Dk1},_Vk1:function(_x81){if(_x81!=this._Dk1){this._Ea1._tK(!0);this._Ca1._tK(!0);this._Dk1=_x81;this._xk1._Ua=0.0}},_Wk1:function(){return this._Xl1}
,_Xk1:function(){return this._Yl1},_Yk1:function(_KZ,_LZ){_qV(_KZ<=_LZ);if(_KZ!=this._Xl1||_LZ!=this._Yl1){this._Ea1._tK(!0);this._Ca1._tK(!0);this._Xl1=_KZ;this._Yl1=_LZ;this._xk1._Ua=0.0}},_Zk1:function(){return this._Ek1},__k1:function(_x81){this._Ea1._tK(!0);this._Ca1._tK(!0);this._Ek1=_x81},_0l1:function(_94){this._Ea1._tK(!0);this._Ca1._tK(!0);this._Ck1=_94},_1l1:function(){return this._Ck1},_7m1:function(_181){this._Ea1._tK(!0);this._Ca1._tK(!0);this._Zl1=_181},_8m1:function(){return this._Zl1}
,_9m1:function(_H91){return _H91*this._yk1},_Aj1:function(data){this._gh1=this._Ea1._X61;this._hh1=this._Ca1._X61;this._Ik1=this._Ea1._571._3X;this._Jk1=this._Ca1._571._3X;this._Kk1=this._Ea1._k71;this._Lk1=this._Ca1._k71;this._Mk1=this._Ea1._m71;this._Nk1=this._Ca1._m71;var _Sa1=data._P91[this._gh1]._Qt._N5();var _wi1=data._P91[this._gh1]._k9;var _xi1=data._Q91[this._gh1]._y9._N5();var _h01=data._Q91[this._gh1]._u4;var _Ua1=data._P91[this._hh1]._Qt._N5();var _yi1=data._P91[this._hh1]._k9;var _zi1=data._Q91[this._hh1]._y9._N5();
var _i01=data._Q91[this._hh1]._u4;var _5l1=new _XW(_wi1),_6l1=new _XW(_yi1);var _k11=_rX(_5l1,_eW._mW(this._uk1,this._Ik1));var _l11=_rX(_6l1,_eW._mW(this._vk1,this._Jk1));var _si=_eW._Qe(_eW._mW(_Ua1,_Sa1),_eW._mW(_l11,_k11));var _ui1=this._Kk1,_vi1=this._Lk1;var _J51=this._Mk1,_K51=this._Nk1;{this._961=_rX(_5l1,this._Vl1);this._2m1=_dX(_eW._Qe(_si,_k11),this._961);this._3m1=_dX(_l11,this._961);this._Ok1=_ui1+_vi1+_J51*this._2m1*this._2m1+_K51*this._3m1*this._3m1;if(this._Ok1>0.0){this._Ok1=1.0/this._Ok1}
}{this.__l1=_rX(_5l1,this._Wl1);this._0m1=_dX(_eW._Qe(_si,_k11),this.__l1);this._1m1=_dX(_l11,this.__l1);var _Ni1=_ui1+_vi1+_J51*this._0m1*this._0m1+_K51*this._1m1*this._1m1;var _Pi1=_J51*this._0m1+_K51*this._1m1;var _am1=_J51*this._0m1*this._2m1+_K51*this._1m1*this._3m1;var _Oi1=_J51+_K51;if(_Oi1==0.0){_Oi1=1.0}var _bm1=_J51*this._2m1+_K51*this._3m1;var _cm1=_ui1+_vi1+_J51*this._2m1*this._2m1+_K51*this._3m1*this._3m1;this._4m1._Ou._Ig(_Ni1,_Pi1,_am1);this._4m1._gz._Ig(_Pi1,_Oi1,_bm1);this._4m1._MW._Ig(_am1,
_bm1,_cm1)}if(this._Dk1){var _dm1=_cX(this._961,_si);if(_BX(this._Yl1-this._Xl1)<2.0*_zV){this._Fk1=_Aa1._1k1}else if(_dm1<=this._Xl1){if(this._Fk1!=_Aa1.__j1){this._Fk1=_Aa1.__j1;this._xk1._Ua=0.0}}else if(_dm1>=this._Yl1){if(this._Fk1!=_Aa1._0k1){this._Fk1=_Aa1._0k1;this._xk1._Ua=0.0}}else {this._Fk1=_Aa1._Zj1;this._xk1._Ua=0.0}}else {this._Fk1=_Aa1._Zj1;this._xk1._Ua=0.0}if(this._Ek1==!1){this._yk1=0.0}if(data._3V._L91){this._xk1.Multiply(data._3V._I91);this._yk1*=data._3V._I91;var _D31=_eW._Qe(_eW.Multiply(this._xk1.x,
this.__l1),_eW.Multiply((this._yk1+this._xk1._Ua),this._961));var _em1=this._xk1.x*this._0m1+this._xk1.y+(this._yk1+this._xk1._Ua)*this._2m1;var _fm1=this._xk1.x*this._1m1+this._xk1.y+(this._yk1+this._xk1._Ua)*this._3m1;_xi1._mW(_eW.Multiply(_ui1,_D31));_h01-=_J51*_em1;_zi1._Qe(_eW.Multiply(_vi1,_D31));_i01+=_K51*_fm1}else {this._xk1._fW();this._yk1=0.0}data._Q91[this._gh1]._y9._iW(_xi1);data._Q91[this._gh1]._u4=_h01;data._Q91[this._hh1]._y9._iW(_zi1);data._Q91[this._hh1]._u4=_i01},_Si1:function(data){
var _xi1=data._Q91[this._gh1]._y9._N5();var _h01=data._Q91[this._gh1]._u4;var _zi1=data._Q91[this._hh1]._y9._N5();var _i01=data._Q91[this._hh1]._u4;var _ui1=this._Kk1,_vi1=this._Lk1;var _J51=this._Mk1,_K51=this._Nk1;if(this._Ek1&&this._Fk1!=_Aa1._1k1){var _8l1=_cX(this._961,_eW._mW(_zi1,_xi1))+this._3m1*_i01-this._2m1*_h01;var _781=this._Ok1*(this._Ck1-_8l1);var _9l1=this._yk1;var _al1=data._3V._G91*this._Zl1;this._yk1=_IX(this._yk1+_781,-_al1,_al1);_781=this._yk1-_9l1;var _D31=_eW.Multiply(_781,this._961);
var _em1=_781*this._2m1;var _fm1=_781*this._3m1;_xi1._mW(_eW.Multiply(_ui1,_D31));_h01-=_J51*_em1;_zi1._Qe(_eW.Multiply(_vi1,_D31));_i01+=_K51*_fm1}var _bl1=new _eW();_bl1.x=_cX(this.__l1,_eW._mW(_zi1,_xi1))+this._1m1*_i01-this._0m1*_h01;_bl1.y=_i01-_h01;if(this._Dk1&&this._Fk1!=_Aa1._Zj1){var _cl1;_cl1=_cX(this._961,_eW._mW(_zi1,_xi1))+this._3m1*_i01-this._2m1*_h01;var _8l1=new _wW(_bl1.x,_bl1.y,_cl1);var _gm1=this._xk1._N5();var _hm1=this._4m1._NW(_8l1._jW());this._xk1._Qe(_hm1);if(this._Fk1==_Aa1.__j1){
this._xk1._Ua=_GX(this._xk1._Ua,0.0)}else if(this._Fk1==_Aa1._0k1){this._xk1._Ua=_EX(this._xk1._Ua,0.0)}var _M7=_eW._mW(_bl1._jW(),_eW.Multiply((this._xk1._Ua-_gm1._Ua),new _eW(this._4m1._MW.x,this._4m1._MW.y)));var _im1=_eW._Qe(this._4m1._QW(_M7),new _eW(_gm1.x,_gm1.y));this._xk1.x=_im1.x;this._xk1.y=_im1.y;_hm1=_wW._mW(this._xk1,_gm1);var _D31=_eW._Qe(_eW.Multiply(_hm1.x,this.__l1),_eW.Multiply(_hm1._Ua,this._961));var _em1=_hm1.x*this._0m1+_hm1.y+_hm1._Ua*this._2m1;var _fm1=_hm1.x*this._1m1+_hm1.y+_hm1._Ua*this._3m1;
_xi1._mW(_eW.Multiply(_ui1,_D31));_h01-=_J51*_em1;_zi1._Qe(_eW.Multiply(_vi1,_D31));_i01+=_K51*_fm1}else {var _hm1=this._4m1._QW(_bl1._jW());this._xk1.x+=_hm1.x;this._xk1.y+=_hm1.y;var _D31=_eW.Multiply(_hm1.x,this.__l1);var _em1=_hm1.x*this._0m1+_hm1.y;var _fm1=_hm1.x*this._1m1+_hm1.y;_xi1._mW(_eW.Multiply(_ui1,_D31));_h01-=_J51*_em1;_zi1._Qe(_eW.Multiply(_vi1,_D31));_i01+=_K51*_fm1}data._Q91[this._gh1]._y9._iW(_xi1);data._Q91[this._gh1]._u4=_h01;data._Q91[this._hh1]._y9._iW(_zi1);data._Q91[this._hh1]._u4=_i01}
,_cj1:function(data){var _Sa1=data._P91[this._gh1]._Qt._N5();var _wi1=data._P91[this._gh1]._k9;var _Ua1=data._P91[this._hh1]._Qt._N5();var _yi1=data._P91[this._hh1]._k9;var _5l1=new _XW(_wi1),_6l1=new _XW(_yi1);var _ui1=this._Kk1,_vi1=this._Lk1;var _J51=this._Mk1,_K51=this._Nk1;var _k11=_rX(_5l1,_eW._mW(this._uk1,this._Ik1));var _l11=_rX(_6l1,_eW._mW(this._vk1,this._Jk1));var _si=_eW._mW(_eW._mW(_eW._Qe(_Ua1,_l11),_Sa1),_k11);var _5Y=_rX(_5l1,this._Vl1);var _UQ=_dX(_eW._Qe(_si,_k11),_5Y);var _VQ=_dX(_l11,_5Y);
var _jm1=_rX(_5l1,this._Wl1);var _bq=_dX(_eW._Qe(_si,_k11),_jm1);var _cq=_dX(_l11,_jm1);var _781=new _wW();var _km1=new _eW();_km1.x=_cX(_jm1,_si);_km1.y=_yi1-_wi1-this._wk1;var _lm1=_BX(_km1.x);var _fl1=_BX(_km1.y);var _tB=!1;var _mm1=0.0;if(this._Dk1){var _Nj1=_cX(_5Y,_si);if(_BX(this._Yl1-this._Xl1)<2.0*_zV){_mm1=_IX(_Nj1,-_FV,_FV);_lm1=_GX(_lm1,_BX(_Nj1));_tB=!0}else if(_Nj1<=this._Xl1){_mm1=_IX(_Nj1-this._Xl1+_zV,-_FV,0.0);_lm1=_GX(_lm1,this._Xl1-_Nj1);_tB=!0}else if(_Nj1>=this._Yl1){_mm1=_IX(_Nj1-this._Yl1-_zV,
0.0,_FV);_lm1=_GX(_lm1,_Nj1-this._Yl1);_tB=!0}}if(_tB){var _Ni1=_ui1+_vi1+_J51*_bq*_bq+_K51*_cq*_cq;var _Pi1=_J51*_bq+_K51*_cq;var _am1=_J51*_bq*_UQ+_K51*_cq*_VQ;var _Oi1=_J51+_K51;if(_Oi1==0.0){_Oi1=1.0}var _bm1=_J51*_UQ+_K51*_VQ;var _cm1=_ui1+_vi1+_J51*_UQ*_UQ+_K51*_VQ*_VQ;var _ai1=new _KW();_ai1._Ou._Ig(_Ni1,_Pi1,_am1);_ai1._gz._Ig(_Pi1,_Oi1,_bm1);_ai1._MW._Ig(_am1,_bm1,_cm1);var _xX=new _wW();_xX.x=_km1.x;_xX.y=_km1.y;_xX._Ua=_mm1;_781=_ai1._NW(_xX._jW())}else {var _Ni1=_ui1+_vi1+_J51*_bq*_bq+_K51*_cq*_cq;
var _Pi1=_J51*_bq+_K51*_cq;var _Oi1=_J51+_K51;if(_Oi1==0.0){_Oi1=1.0}var _ai1=new _yW();_ai1._Ou._Ig(_Ni1,_Pi1);_ai1._gz._Ig(_Pi1,_Oi1);var _nm1=_ai1._FW(_km1._jW());_781.x=_nm1.x;_781.y=_nm1.y;_781._Ua=0.0}var _D31=_eW._Qe(_eW.Multiply(_781.x,_jm1),_eW.Multiply(_781._Ua,_5Y));var _em1=_781.x*_bq+_781.y+_781._Ua*_UQ;var _fm1=_781.x*_cq+_781.y+_781._Ua*_VQ;_Sa1._mW(_eW.Multiply(_ui1,_D31));_wi1-=_J51*_em1;_Ua1._Qe(_eW.Multiply(_vi1,_D31));_yi1+=_K51*_fm1;data._P91[this._gh1]._Qt._iW(_Sa1);data._P91[this._gh1]._k9=_wi1;
data._P91[this._hh1]._Qt._iW(_Ua1);data._P91[this._hh1]._k9=_yi1;return _lm1<=_zV&&_fl1<=_AV},_sW:function(_tW){var _Ct=_tW||{};this.parent.prototype._sW.call(this,_Ct);_Ct['localAnchorA']=this._uk1._sW();_Ct['localAnchorB']=this._vk1._sW();_Ct['localAxisA']=this._Vl1._sW();_Ct['referenceAngle']=this._wk1;_Ct['enableLimit']=this._Dk1;_Ct['lowerTranslation']=this._Xl1;_Ct['upperTranslation']=this._Yl1;_Ct['enableMotor']=this._Ek1;_Ct['maxMotorForce']=this._Zl1;_Ct['motorSpeed']=this._Ck1;return _Ct}
};_bk1._UU(_Aa1);function _om1(){this.parent.call(this);this.type=_Aa1._7k1;this._lk1=new _eW();this._mk1=new _eW();this._jl1=0.0;this._pm1=0.0;Object.seal(this)}_om1.prototype={_L11:function(_Fb1,_Gb1,anchor){this._Ga1=_Fb1;this._Ha1=_Gb1;this._lk1._iW(this._Ga1._g81(anchor));this._mk1._iW(this._Ha1._g81(anchor))},_uW:function(data,_Mb1,_Vj1){this.parent.prototype._uW.call(this,data,_Mb1,_Vj1);this._lk1._uW(data['localAnchorA']);this._mk1._uW(data['localAnchorB']);this._jl1=data['maxForce'];this._pm1=data['maxTorque']}
};_om1._UU(_Tj1);function _hk1(_w71){this.parent.call(this,_w71);this._uk1=_w71._lk1._N5();this._vk1=_w71._mk1._N5();this._qm1=new _eW();this._rm1=0.0;this._nl1=_w71._jl1;this._sm1=_w71._pm1;this._gh1=0;this._hh1=0;this._Gk1=new _eW();this._Hk1=new _eW();this._Ik1=new _eW();this._Jk1=new _eW();this._Kk1=0;this._Lk1=0;this._Mk1=0;this._Nk1=0;this._tm1=new _yW();this._um1=0}_hk1.prototype={_Sb1:function(){return this._Ea1._d81(this._uk1)},_Tb1:function(){return this._Ca1._d81(this._vk1)},_Wj1:function(_H91){
return _eW.Multiply(_H91,this._qm1)},_Xj1:function(_H91){return _H91*this._rm1},_Pk1:function(){return this._uk1},_Qk1:function(){return this._vk1},_vl1:function(_181){_qV(_4W(_181)&&_181>=0.0);this._nl1=_181},_wl1:function(){return this._nl1},_vm1:function(_581){_qV(_4W(_581)&&_581>=0.0);this._sm1=_581},_wm1:function(){return this._sm1},_Aj1:function(data){this._gh1=this._Ea1._X61;this._hh1=this._Ca1._X61;this._Ik1._iW(this._Ea1._571._3X);this._Jk1._iW(this._Ca1._571._3X);this._Kk1=this._Ea1._k71;this._Lk1=this._Ca1._k71;
this._Mk1=this._Ea1._m71;this._Nk1=this._Ca1._m71;var _wi1=data._P91[this._gh1]._k9;var _xi1=data._Q91[this._gh1]._y9._N5();var _h01=data._Q91[this._gh1]._u4;var _yi1=data._P91[this._hh1]._k9;var _zi1=data._Q91[this._hh1]._y9._N5();var _i01=data._Q91[this._hh1]._u4;var _5l1=new _XW(_wi1),_6l1=new _XW(_yi1);this._Gk1=_rX(_5l1,_eW._mW(this._uk1,this._Ik1));this._Hk1=_rX(_6l1,_eW._mW(this._vk1,this._Jk1));var _ui1=this._Kk1,_vi1=this._Lk1;var _J51=this._Mk1,_K51=this._Nk1;var _ai1=new _yW();_ai1._Ou.x=_ui1+_vi1+_J51*this._Gk1.y*this._Gk1.y+_K51*this._Hk1.y*this._Hk1.y;
_ai1._Ou.y=-_J51*this._Gk1.x*this._Gk1.y-_K51*this._Hk1.x*this._Hk1.y;_ai1._gz.x=_ai1._Ou.y;_ai1._gz.y=_ui1+_vi1+_J51*this._Gk1.x*this._Gk1.x+_K51*this._Hk1.x*this._Hk1.x;this._tm1=_ai1._CW();this._um1=_J51+_K51;if(this._um1>0.0){this._um1=1.0/this._um1}if(data._3V._L91){this._qm1.Multiply(data._3V._I91);this._rm1*=data._3V._I91;var _D31=new _eW(this._qm1.x,this._qm1.y);_xi1._mW(_eW.Multiply(_ui1,_D31));_h01-=_J51*(_dX(this._Gk1,_D31)+this._rm1);_zi1._Qe(_eW.Multiply(_vi1,_D31));_i01+=_K51*(_dX(this._Hk1,
_D31)+this._rm1)}else {this._qm1._fW();this._rm1=0.0}data._Q91[this._gh1]._y9._iW(_xi1);data._Q91[this._gh1]._u4=_h01;data._Q91[this._hh1]._y9._iW(_zi1);data._Q91[this._hh1]._u4=_i01},_Si1:function(data){var _xi1=data._Q91[this._gh1]._y9._N5();var _h01=data._Q91[this._gh1]._u4;var _zi1=data._Q91[this._hh1]._y9._N5();var _i01=data._Q91[this._hh1]._u4;var _ui1=this._Kk1,_vi1=this._Lk1;var _J51=this._Mk1,_K51=this._Nk1;var _v4=data._3V._G91;{var _8l1=_i01-_h01;var _781=-this._um1*_8l1;var _9l1=this._rm1;var _al1=_v4*this._sm1;
this._rm1=_IX(this._rm1+_781,-_al1,_al1);_781=this._rm1-_9l1;_h01-=_J51*_781;_i01+=_K51*_781}{var _cl1=_eW._Qe(_zi1,_eW._mW(_fX(_i01,this._Hk1),_eW._mW(_xi1,_fX(_h01,this._Gk1))));var _xm1=_gX(this._tm1,_cl1)._jW();var _ym1=this._qm1._N5();this._qm1._Qe(_xm1);var _zm1=_v4*this._nl1;if(this._qm1._nW()>_zm1*_zm1){this._qm1._oW();this._qm1.Multiply(_zm1)}_xm1=_eW._mW(this._qm1,_ym1);_xi1._mW(_eW.Multiply(_ui1,_xm1));_h01-=_J51*_dX(this._Gk1,_xm1);_zi1._Qe(_eW.Multiply(_vi1,_xm1));_i01+=_K51*_dX(this._Hk1,
_xm1)}data._Q91[this._gh1]._y9._iW(_xi1);data._Q91[this._gh1]._u4=_h01;data._Q91[this._hh1]._y9._iW(_zi1);data._Q91[this._hh1]._u4=_i01},_cj1:function(data){return !0},_sW:function(_tW){var _Ct=_tW||{};this.parent.prototype._sW.call(this,_Ct);_Ct['localAnchorA']=this._uk1._sW();_Ct['localAnchorB']=this._vk1._sW();_Ct['maxForce']=this._nl1;_Ct['maxTorque']=this._sm1;return _Ct}};_hk1._UU(_Aa1);function _Am1(){this.parent.call(this);this.type=_Aa1._6k1;this._lk1=new _eW(0.0,0.0);this._mk1=new _eW(0.0,0.0);
this._nk1=0.0;this._kl1=0.0;this._ll1=0.0;Object.seal(this)}_Am1.prototype={_L11:function(_Fb1,_Gb1,anchor){this._Ga1=_Fb1;this._Ha1=_Gb1;this._lk1._iW(this._Ga1._g81(anchor));this._mk1._iW(this._Ha1._g81(anchor));this._nk1=this._Ha1._YW()-this._Ga1._YW();},_uW:function(data,_Mb1,_Vj1){this.parent.prototype._uW.call(this,data,_Mb1,_Vj1);this._lk1._uW(data['localAnchorA']);this._mk1._uW(data['localAnchorB']);this._nk1=data['referenceAngle'];this._kl1=data['frequencyHz'];this._ll1=data['dampingRatio']}
};_Am1._UU(_Tj1);function _gk1(_w71){this.parent.call(this,_w71);this._Hl1=0;this._rl1=0;this._gh1=0;this._hh1=0;this._Gk1=new _eW();this._Hk1=new _eW();this._Ik1=new _eW();this._Jk1=new _eW();this._Kk1=0;this._Lk1=0;this._Mk1=0;this._Nk1=0;this._j71=new _KW();this._uk1=_w71._lk1._N5();this._vk1=_w71._mk1._N5();this._wk1=_w71._nk1;this._ol1=_w71._kl1;this._pl1=_w71._ll1;this._xk1=new _wW()}_gk1.prototype={_Sb1:function(){return this._Ea1._d81(this._uk1)},_Tb1:function(){return this._Ca1._d81(this._vk1)},
_Wj1:function(_H91){var _D31=new _eW(this._xk1.x,this._xk1.y);return _eW.Multiply(_H91,_D31)},_Xj1:function(_H91){return _H91*this._xk1._Ua},_Pk1:function(){return this._uk1},_Qk1:function(){return this._vk1},_Rk1:function(){return this._wk1},_xl1:function(_yl1){this._ol1=_yl1},_zl1:function(){return this._ol1},_Al1:function(_Ej1){this._pl1=_Ej1},_Bl1:function(){return this._pl1},_Aj1:function(data){this._gh1=this._Ea1._X61;this._hh1=this._Ca1._X61;this._Ik1._iW(this._Ea1._571._3X);this._Jk1._iW(this._Ca1._571._3X);
this._Kk1=this._Ea1._k71;this._Lk1=this._Ca1._k71;this._Mk1=this._Ea1._m71;this._Nk1=this._Ca1._m71;var _wi1=data._P91[this._gh1]._k9;var _xi1=data._Q91[this._gh1]._y9._N5();var _h01=data._Q91[this._gh1]._u4;var _yi1=data._P91[this._hh1]._k9;var _zi1=data._Q91[this._hh1]._y9._N5();var _i01=data._Q91[this._hh1]._u4;var _5l1=new _XW(_wi1),_6l1=new _XW(_yi1);this._Gk1._iW(_rX(_5l1,_eW._mW(this._uk1,this._Ik1)));this._Hk1._iW(_rX(_6l1,_eW._mW(this._vk1,this._Jk1)));var _ui1=this._Kk1,_vi1=this._Lk1;var _J51=this._Mk1,
_K51=this._Nk1;var _ai1=new _KW();_ai1._Ou.x=_ui1+_vi1+this._Gk1.y*this._Gk1.y*_J51+this._Hk1.y*this._Hk1.y*_K51;_ai1._gz.x=-this._Gk1.y*this._Gk1.x*_J51-this._Hk1.y*this._Hk1.x*_K51;_ai1._MW.x=-this._Gk1.y*_J51-this._Hk1.y*_K51;_ai1._Ou.y=_ai1._gz.x;_ai1._gz.y=_ui1+_vi1+this._Gk1.x*this._Gk1.x*_J51+this._Hk1.x*this._Hk1.x*_K51;_ai1._MW.y=this._Gk1.x*_J51+this._Hk1.x*_K51;_ai1._Ou._Ua=_ai1._MW.x;_ai1._gz._Ua=_ai1._MW.y;_ai1._MW._Ua=_J51+_K51;if(this._ol1>0.0){_ai1._RW(this._j71);var _Bm1=_J51+_K51;
var _v7=_Bm1>0.0?1.0/_Bm1:0.0;var _xX=_yi1-_wi1-this._wk1;var _Cl1=2.0*_uV*this._ol1;var _si=2.0*_v7*this._pl1*_Cl1;var _Kg=_v7*_Cl1*_Cl1;var _v4=data._3V._G91;this._rl1=_v4*(_si+_v4*_Kg);this._rl1=this._rl1!=0.0?1.0/this._rl1:0.0;this._Hl1=_xX*_v4*_Kg*this._rl1;_Bm1+=this._rl1;this._j71._MW._Ua=_Bm1!=0.0?1.0/_Bm1:0.0}else {_ai1._TW(this._j71);this._rl1=0.0;this._Hl1=0.0}if(data._3V._L91){this._xk1.Multiply(data._3V._I91);var _D31=new _eW(this._xk1.x,this._xk1.y);_xi1._mW(_eW.Multiply(_ui1,_D31));_h01-=_J51*(_dX(this._Gk1,
_D31)+this._xk1._Ua);_zi1._Qe(_eW.Multiply(_vi1,_D31));_i01+=_K51*(_dX(this._Hk1,_D31)+this._xk1._Ua)}else {this._xk1._fW()}data._Q91[this._gh1]._y9._iW(_xi1);data._Q91[this._gh1]._u4=_h01;data._Q91[this._hh1]._y9._iW(_zi1);data._Q91[this._hh1]._u4=_i01},_Si1:function(data){var _xi1=data._Q91[this._gh1]._y9._N5();var _h01=data._Q91[this._gh1]._u4;var _zi1=data._Q91[this._hh1]._y9._N5();var _i01=data._Q91[this._hh1]._u4;var _ui1=this._Kk1,_vi1=this._Lk1;var _J51=this._Mk1,_K51=this._Nk1;if(this._ol1>0.0){
var _cl1=_i01-_h01;var _xm1=-this._j71._MW._Ua*(_cl1+this._Hl1+this._rl1*this._xk1._Ua);this._xk1._Ua+=_xm1;_h01-=_J51*_xm1;_i01+=_K51*_xm1;var _bl1=_eW._mW(_eW._mW(_eW._Qe(_zi1,_fX(_i01,this._Hk1)),_xi1),_fX(_h01,this._Gk1));var _nm1=_nX(this._j71,_bl1)._jW();this._xk1.x+=_nm1.x;this._xk1.y+=_nm1.y;var _D31=_nm1._N5();_xi1._mW(_eW.Multiply(_ui1,_D31));_h01-=_J51*_dX(this._Gk1,_D31);_zi1._Qe(_eW.Multiply(_vi1,_D31));_i01+=_K51*_dX(this._Hk1,_D31)}else {var _bl1=_eW._mW(_eW._mW(_eW._Qe(_zi1,_fX(_i01,this._Hk1)),
_xi1),_fX(_h01,this._Gk1));var _cl1=_i01-_h01;var _8l1=new _wW(_bl1.x,_bl1.y,_cl1);var _781=_mX(this._j71,_8l1)._jW();this._xk1._Qe(_781);var _D31=new _eW(_781.x,_781.y);_xi1._mW(_eW.Multiply(_ui1,_D31));_h01-=_J51*(_dX(this._Gk1,_D31)+_781._Ua);_zi1._Qe(_eW.Multiply(_vi1,_D31));_i01+=_K51*(_dX(this._Hk1,_D31)+_781._Ua)}data._Q91[this._gh1]._y9._iW(_xi1);data._Q91[this._gh1]._u4=_h01;data._Q91[this._hh1]._y9._iW(_zi1);data._Q91[this._hh1]._u4=_i01},_cj1:function(data){var _Sa1=data._P91[this._gh1]._Qt._N5();
var _wi1=data._P91[this._gh1]._k9;var _Ua1=data._P91[this._hh1]._Qt._N5();var _yi1=data._P91[this._hh1]._k9;var _5l1=new _XW(_wi1),_6l1=new _XW(_yi1);var _ui1=this._Kk1,_vi1=this._Lk1;var _J51=this._Mk1,_K51=this._Nk1;var _k11=_rX(_5l1,_eW._mW(this._uk1,this._Ik1));var _l11=_rX(_6l1,_eW._mW(this._vk1,this._Jk1));var _gl1,_fl1;var _ai1=new _KW();_ai1._Ou.x=_ui1+_vi1+_k11.y*_k11.y*_J51+_l11.y*_l11.y*_K51;_ai1._gz.x=-_k11.y*_k11.x*_J51-_l11.y*_l11.x*_K51;_ai1._MW.x=-_k11.y*_J51-_l11.y*_K51;_ai1._Ou.y=_ai1._gz.x;
_ai1._gz.y=_ui1+_vi1+_k11.x*_k11.x*_J51+_l11.x*_l11.x*_K51;_ai1._MW.y=_k11.x*_J51+_l11.x*_K51;_ai1._Ou._Ua=_ai1._MW.x;_ai1._gz._Ua=_ai1._MW.y;_ai1._MW._Ua=_J51+_K51;if(this._ol1>0.0){var _km1=_eW._mW(_eW._mW(_eW._Qe(_Ua1,_l11),_Sa1),_k11);_gl1=_km1.Length();_fl1=0.0;var _D31=_ai1._QW(_km1)._jW();_Sa1._mW(_eW.Multiply(_ui1,_D31));_wi1-=_J51*_dX(_k11,_D31);_Ua1._Qe(_eW.Multiply(_vi1,_D31));_yi1+=_K51*_dX(_l11,_D31)}else {var _km1=_eW._mW(_eW._mW(_eW._Qe(_Ua1,_l11),_Sa1),_k11);var _mm1=_yi1-_wi1-this._wk1;
_gl1=_km1.Length();_fl1=_BX(_mm1);var _xX=new _wW(_km1.x,_km1.y,_mm1);var _781=_ai1._NW(_xX)._jW();var _D31=new _eW(_781.x,_781.y);_Sa1._mW(_eW.Multiply(_ui1,_D31));_wi1-=_J51*(_dX(_k11,_D31)+_781._Ua);_Ua1._Qe(_eW.Multiply(_vi1,_D31));_yi1+=_K51*(_dX(_l11,_D31)+_781._Ua)}data._P91[this._gh1]._Qt._iW(_Sa1);data._P91[this._gh1]._k9=_wi1;data._P91[this._hh1]._Qt._iW(_Ua1);data._P91[this._hh1]._k9=_yi1;return _gl1<=_zV&&_fl1<=_AV},_sW:function(_tW){var _Ct=_tW||{};this.parent.prototype._sW.call(this,_Ct);
_Ct['localAnchorA']=this._uk1._sW();_Ct['localAnchorB']=this._vk1._sW();_Ct['referenceAngle']=this._wk1;_Ct['frequencyHz']=this._ol1;_Ct['dampingRatio']=this._pl1;return _Ct}};_gk1._UU(_Aa1);function _Cm1(){this.parent.call(this);this.type=_Aa1._5k1;this._lk1=new _eW();this._mk1=new _eW();this._Rl1=new _eW(1.0,0.0);this._tk1=!1;this._qk1=0.0;this._rk1=0.0;this._kl1=2.0;this._ll1=0.7;Object.seal(this)}_Cm1.prototype={_L11:function(_Fb1,_Gb1,anchor,_5Y){this._Ga1=_Fb1;this._Ha1=_Gb1;this._lk1._iW(this._Ga1._g81(anchor));
this._mk1._iW(this._Ha1._g81(anchor));this._Rl1._iW(this._Ga1._i81(_5Y))},_uW:function(data,_Mb1,_Vj1){this.parent.prototype._uW.call(this,data,_Mb1,_Vj1);this._lk1._uW(data['localAnchorA']);this._mk1._uW(data['localAnchorB']);this._Rl1._uW(data['localAxisA']);this._tk1=data['enableMotor'];this._qk1=data['maxMotorTorque'];this._rk1=data['motorSpeed'];this._kl1=data['frequencyHz'];this._ll1=data['dampingRatio']}};_Cm1._UU(_Tj1);function _fk1(_w71){this.parent.call(this,_w71);this._gh1=0;this._hh1=0;
this._Ik1=new _eW();this._Jk1=new _eW();this._Kk1=0;this._Lk1=0;this._Mk1=0;this._Nk1=0;this._uk1=_w71._lk1._N5();this._vk1=_w71._mk1._N5();this._Vl1=_w71._Rl1._N5();this._Wl1=_fX(1.0,this._Vl1);this._j71=0.0;this._xk1=0.0;this._Ok1=0.0;this._yk1=0.0;this._Dm1=0.0;this._Em1=0.0;this._Bk1=_w71._qk1;this._Ck1=_w71._rk1;this._Ek1=_w71._tk1;this._ol1=_w71._kl1;this._pl1=_w71._ll1;this._Hl1=0.0;this._rl1=0.0;this._Fm1=new _eW();this._Gm1=new _eW();this._Hm1=this._Im1=0;this._Jm1=this._Km1=0}_fk1.prototype={
_Sb1:function(){return this._Ea1._d81(this._uk1)},_Tb1:function(){return this._Ca1._d81(this._vk1)},_Wj1:function(_H91){return _eW.Multiply(_H91,_eW._Qe(_eW.Multiply(this._xk1,this._Gm1),_eW.Multiply(this._Em1,this._Fm1)))},_Xj1:function(_H91){return _H91*this._yk1;},_Pk1:function(){return this._uk1},_Qk1:function(){return this._vk1},_5m1:function(){return this._Vl1},_6m1:function(){var _Fb1=this._Ea1;var _Gb1=this._Ca1;var _y01=_Fb1._d81(this._uk1);var _z01=_Gb1._d81(this._vk1);var _si=_eW._mW(_z01,_y01);var _5Y=_Fb1._e81(this._Vl1);
var _Nj1=_cX(_si,_5Y);return _Nj1},_Tk1:function(){var _h01=this._Ea1._b71;var _i01=this._Ca1._b71;return _i01-_h01},_Zk1:function(){return this._Ek1},__k1:function(_x81){this._Ea1._tK(!0);this._Ca1._tK(!0);this._Ek1=_x81},_0l1:function(_94){this._Ea1._tK(!0);this._Ca1._tK(!0);this._Ck1=_94},_1l1:function(){return this._Ck1},_2l1:function(_581){this._Ea1._tK(!0);this._Ca1._tK(!0);this._Bk1=_581},_3l1:function(){return this._Bk1},_4l1:function(_H91){return _H91*this._yk1},_Lm1:function(_yl1){this._ol1=_yl1}
,_Mm1:function(){return this._ol1},_Nm1:function(_Ej1){this._pl1=_Ej1},_Om1:function(){return this._pl1},_Aj1:function(data){this._gh1=this._Ea1._X61;this._hh1=this._Ca1._X61;this._Ik1._iW(this._Ea1._571._3X);this._Jk1._iW(this._Ca1._571._3X);this._Kk1=this._Ea1._k71;this._Lk1=this._Ca1._k71;this._Mk1=this._Ea1._m71;this._Nk1=this._Ca1._m71;var _ui1=this._Kk1,_vi1=this._Lk1;var _J51=this._Mk1,_K51=this._Nk1;var _Sa1=data._P91[this._gh1]._Qt._N5();var _wi1=data._P91[this._gh1]._k9;var _xi1=data._Q91[this._gh1]._y9._N5();
var _h01=data._Q91[this._gh1]._u4;var _Ua1=data._P91[this._hh1]._Qt._N5();var _yi1=data._P91[this._hh1]._k9;var _zi1=data._Q91[this._hh1]._y9._N5();var _i01=data._Q91[this._hh1]._u4;var _5l1=new _XW(_wi1),_6l1=new _XW(_yi1);var _k11=_rX(_5l1,_eW._mW(this._uk1,this._Ik1));var _l11=_rX(_6l1,_eW._mW(this._vk1,this._Jk1));var _si=_eW._mW(_eW._mW(_eW._Qe(_Ua1,_l11),_Sa1),_k11);{this._Gm1._iW(_rX(_5l1,this._Wl1));this._Jm1=_dX(_eW._Qe(_si,_k11),this._Gm1);this._Km1=_dX(_l11,this._Gm1);this._j71=_ui1+_vi1+_J51*this._Jm1*this._Jm1+_K51*this._Km1*this._Km1;
if(this._j71>0.0){this._j71=1.0/this._j71}}this._Dm1=0.0;this._Hl1=0.0;this._rl1=0.0;if(this._ol1>0.0){this._Fm1._iW(_rX(_5l1,this._Vl1));this._Hm1=_dX(_eW._Qe(_si,_k11),this._Fm1);this._Im1=_dX(_l11,this._Fm1);var _Nl1=_ui1+_vi1+_J51*this._Hm1*this._Hm1+_K51*this._Im1*this._Im1;if(_Nl1>0.0){this._Dm1=1.0/_Nl1;var _xX=_cX(_si,this._Fm1);var _Cl1=2.0*_uV*this._ol1;var _If1=2.0*this._Dm1*this._pl1*_Cl1;var _Kg=this._Dm1*_Cl1*_Cl1;var _v4=data._3V._G91;this._rl1=_v4*(_If1+_v4*_Kg);if(this._rl1>0.0){this._rl1=1.0/this._rl1}
this._Hl1=_xX*_v4*_Kg*this._rl1;this._Dm1=_Nl1+this._rl1;if(this._Dm1>0.0){this._Dm1=1.0/this._Dm1}}}else {this._Em1=0.0}if(this._Ek1){this._Ok1=_J51+_K51;if(this._Ok1>0.0){this._Ok1=1.0/this._Ok1}}else {this._Ok1=0.0;this._yk1=0.0}if(data._3V._L91){this._xk1*=data._3V._I91;this._Em1*=data._3V._I91;this._yk1*=data._3V._I91;var _D31=_eW._Qe(_eW.Multiply(this._xk1,this._Gm1),_eW.Multiply(this._Em1,this._Fm1));var _em1=this._xk1*this._Jm1+this._Em1*this._Hm1+this._yk1;var _fm1=this._xk1*this._Km1+this._Em1*this._Im1+this._yk1;
_xi1._mW(_eW.Multiply(this._Kk1,_D31));_h01-=this._Mk1*_em1;_zi1._Qe(_eW.Multiply(this._Lk1,_D31));_i01+=this._Nk1*_fm1}else {this._xk1=0.0;this._Em1=0.0;this._yk1=0.0}data._Q91[this._gh1]._y9._iW(_xi1);data._Q91[this._gh1]._u4=_h01;data._Q91[this._hh1]._y9._iW(_zi1);data._Q91[this._hh1]._u4=_i01},_Si1:function(data){var _ui1=this._Kk1,_vi1=this._Lk1;var _J51=this._Mk1,_K51=this._Nk1;var _xi1=data._Q91[this._gh1]._y9._N5();var _h01=data._Q91[this._gh1]._u4;var _zi1=data._Q91[this._hh1]._y9._N5();var _i01=data._Q91[this._hh1]._u4;
{var _8l1=_cX(this._Fm1,_eW._mW(_zi1,_xi1))+this._Im1*_i01-this._Hm1*_h01;var _781=-this._Dm1*(_8l1+this._Hl1+this._rl1*this._Em1);this._Em1+=_781;var _D31=_eW.Multiply(_781,this._Fm1);var _em1=_781*this._Hm1;var _fm1=_781*this._Im1;_xi1._mW(_eW.Multiply(_ui1,_D31));_h01-=_J51*_em1;_zi1._Qe(_eW.Multiply(_vi1,_D31));_i01+=_K51*_fm1}{var _8l1=_i01-_h01-this._Ck1;var _781=-this._Ok1*_8l1;var _9l1=this._yk1;var _al1=data._3V._G91*this._Bk1;this._yk1=_IX(this._yk1+_781,-_al1,_al1);_781=this._yk1-_9l1;_h01-=_J51*_781;
_i01+=_K51*_781}{var _8l1=_cX(this._Gm1,_eW._mW(_zi1,_xi1))+this._Km1*_i01-this._Jm1*_h01;var _781=-this._j71*_8l1;this._xk1+=_781;var _D31=_eW.Multiply(_781,this._Gm1);var _em1=_781*this._Jm1;var _fm1=_781*this._Km1;_xi1._mW(_eW.Multiply(_ui1,_D31));_h01-=_J51*_em1;_zi1._Qe(_eW.Multiply(_vi1,_D31));_i01+=_K51*_fm1}data._Q91[this._gh1]._y9._iW(_xi1);data._Q91[this._gh1]._u4=_h01;data._Q91[this._hh1]._y9._iW(_zi1);data._Q91[this._hh1]._u4=_i01},_cj1:function(data){var _Sa1=data._P91[this._gh1]._Qt._N5();
var _wi1=data._P91[this._gh1]._k9;var _Ua1=data._P91[this._hh1]._Qt._N5();var _yi1=data._P91[this._hh1]._k9;var _5l1=new _XW(_wi1),_6l1=new _XW(_yi1);var _k11=_rX(_5l1,_eW._mW(this._uk1,this._Ik1));var _l11=_rX(_6l1,_eW._mW(this._vk1,this._Jk1));var _si=_eW._Qe(_eW._mW(_Ua1,_Sa1),_eW._mW(_l11,_k11));var _zF=_rX(_5l1,this._Wl1);var _Pm1=_dX(_eW._Qe(_si,_k11),_zF);var _Qm1=_dX(_l11,_zF);var _xX=_cX(_si,_zF);var _Kg=this._Kk1+this._Lk1+this._Mk1*this._Jm1*this._Jm1+this._Nk1*this._Km1*this._Km1;var _781;if(_Kg!=0.0){
_781=-_xX/_Kg}else {_781=0.0}var _D31=_eW.Multiply(_781,_zF);var _em1=_781*_Pm1;var _fm1=_781*_Qm1;_Sa1._mW(_eW.Multiply(this._Kk1,_D31));_wi1-=this._Mk1*_em1;_Ua1._Qe(_eW.Multiply(this._Lk1,_D31));_yi1+=this._Nk1*_fm1;data._P91[this._gh1]._Qt._iW(_Sa1);data._P91[this._gh1]._k9=_wi1;data._P91[this._hh1]._Qt._iW(_Ua1);data._P91[this._hh1]._k9=_yi1;return _BX(_xX)<=_zV},_sW:function(_tW){var _Ct=_tW||{};this.parent.prototype._sW.call(this,_Ct);_Ct['localAnchorA']=this._uk1._sW();_Ct['localAnchorB']=this._vk1._sW();
_Ct['localAxisA']=this._Rm1._sW();_Ct['enableMotor']=this._Ek1;_Ct['maxMotorTorque']=this._Bk1;_Ct['motorSpeed']=this._Ck1;_Ct['frequencyHz']=this._ol1;_Ct['dampingRatio']=this._pl1;return _Ct}};_fk1._UU(_Aa1);function _Sm1(){this.parent.call(this);this.type=_Aa1._4k1;this._Tm1=null;this._Um1=null;this._Ej1=1.0;Object.seal(this)}_Sm1.prototype={_uW:function(data,_Mb1,_Vj1){this.parent.prototype._uW.call(this,data,_Mb1,_Vj1);this._Tm1=data['joint1'];this._Um1=data['joint2'];this._Ej1=data['ratio']}
};_Sm1._UU(_Tj1);/// @warning You have to manually destroy the gear joint if joint1 or joint2
function _ek1(_w71){this.parent.call(this,_w71);this._Vm1=_w71._Tm1;this._Wm1=_w71._Um1;this._Xm1=this._Vm1._wY();this._Ym1=this._Wm1._wY();_qV(this._Xm1==_Aa1._2k1||this._Xm1==_Aa1._3k1);_qV(this._Ym1==_Aa1._2k1||this._Ym1==_Aa1._3k1);var _Zm1,__m1;this._0n1=this._Vm1._Qb1();this._Ea1=this._Vm1._Rb1();var _M11=this._Ea1._Z31;var _wi1=this._Ea1._571._k9;var _1n1=this._0n1._Z31;var _2n1=this._0n1._571._k9;this._uk1=new _eW();
this._vk1=new _eW();this._3n1=new _eW();this._4n1=new _eW();this._5n1=new _eW();this._6n1=new _eW();if(this._Xm1==_Aa1._2k1){var _7n1=_w71._Tm1;this._3n1._iW(_7n1._uk1);this._uk1._iW(_7n1._vk1);this._8n1=_7n1._wk1;this._5n1._fW();_Zm1=_wi1-_2n1-this._8n1}else {var _9n1=_w71._Tm1;this._3n1._iW(_9n1._uk1);this._uk1._iW(_9n1._vk1);this._8n1=_9n1._wk1;this._5n1._iW(_9n1._Vl1);var _an1=this._3n1;var _y01=_sX(_1n1.__v,_eW._Qe(_rX(_M11.__v,this._uk1),_eW._mW(_M11._tx,_1n1._tx)));_Zm1=_cX(_eW._mW(_y01,_an1),this._5n1)}
this._bn1=this._Wm1._Qb1();this._Ca1=this._Wm1._Rb1();var _O11=this._Ca1._Z31;var _yi1=this._Ca1._571._k9;var _cn1=this._bn1._Z31;var _dn1=this._bn1._571._k9;if(this._Ym1==_Aa1._2k1){var _7n1=_w71._Um1;this._4n1._iW(_7n1._uk1);this._vk1._iW(_7n1._vk1);this._en1=_7n1._wk1;this._6n1._fW();__m1=_yi1-_dn1-this._en1}else {var _9n1=_w71._Um1;this._4n1._iW(_9n1._uk1);this._vk1._iW(_9n1._vk1);this._en1=_9n1._wk1;this._6n1._iW(_9n1._Vl1);var _fn1=this._4n1;var _z01=_sX(_cn1.__v,_eW._Qe(_rX(_O11.__v,this._vk1),_eW._mW(_O11._tx,
_cn1._tx)));__m1=_cX(_eW._mW(_z01,_fn1),this._6n1)}this._gn1=_w71._Ej1;this._hn1=_Zm1+this._gn1*__m1;this._xk1=0.0;this._gh1=this._hh1=this._in1=this._jn1=0;this._kn1=new _eW();this._ln1=new _eW();this._mn1=new _eW();this._nn1=new _eW();this._on1=this._pn1=this._qn1=this._rn1=0;this._sn1=this._tn1=this._un1=this._vn1=0;this._wn1=new _eW(),this._xn1=new _eW();this._yn1=this._zn1=this._An1=this._Bn1=0;this._j71=0}_ek1.prototype={_Sb1:function(){return this._Ea1._d81(this._uk1)},_Tb1:function(){return this._Ca1._d81(this._vk1)}
,_Wj1:function(_H91){var _D31=_eW.Multiply(this._xk1,this._wn1);return _eW.Multiply(_H91,_D31)},_Xj1:function(_H91){var _Cn1=this._xk1*this._yn1;return _H91*_Cn1},_Dn1:function(){return this._Vm1},_En1:function(){return this._Wm1},_Fn1:function(_Ej1){_qV(_4W(_Ej1));this._gn1=_Ej1},_Gn1:function(){return this._gn1},_Aj1:function(data){this._gh1=this._Ea1._X61;this._hh1=this._Ca1._X61;this._in1=this._0n1._X61;this._jn1=this._bn1._X61;this._kn1._iW(this._Ea1._571._3X);this._ln1._iW(this._Ca1._571._3X);this._mn1._iW(this._0n1._571._3X);
this._nn1._iW(this._bn1._571._3X);this._on1=this._Ea1._k71;this._pn1=this._Ca1._k71;this._qn1=this._0n1._k71;this._rn1=this._bn1._k71;this._sn1=this._Ea1._m71;this._tn1=this._Ca1._m71;this._un1=this._0n1._m71;this._vn1=this._bn1._m71;var _wi1=data._P91[this._gh1]._k9;var _xi1=data._Q91[this._gh1]._y9._N5();var _h01=data._Q91[this._gh1]._u4;var _yi1=data._P91[this._hh1]._k9;var _zi1=data._Q91[this._hh1]._y9._N5();var _i01=data._Q91[this._hh1]._u4;var _2n1=data._P91[this._in1]._k9;var _Hn1=data._Q91[this._in1]._y9._N5();
var _In1=data._Q91[this._in1]._u4;var _dn1=data._P91[this._jn1]._k9;var _Jn1=data._Q91[this._jn1]._y9._N5();var _Kn1=data._Q91[this._jn1]._u4;var _5l1=new _XW(_wi1),_6l1=new _XW(_yi1),_Ln1=new _XW(_2n1),_Mn1=new _XW(_dn1);this._j71=0.0;if(this._Xm1==_Aa1._2k1){this._wn1._fW();this._yn1=1.0;this._An1=1.0;this._j71+=this._sn1+this._un1}else {var _w9=_rX(_Ln1,this._5n1);var _Nn1=_rX(_Ln1,_eW._mW(this._3n1,this._mn1));var _k11=_rX(_5l1,_eW._mW(this._uk1,this._kn1));this._wn1._iW(_w9);this._An1=_dX(_Nn1,_w9);this._yn1=_dX(_k11,
_w9);this._j71+=this._qn1+this._on1+this._un1*this._An1*this._An1+this._sn1*this._yn1*this._yn1;}if(this._Ym1==_Aa1._2k1){this._xn1._fW();this._zn1=this._gn1;this._Bn1=this._gn1;this._j71+=this._gn1*this._gn1*(this._tn1+this._vn1)}else {var _w9=_rX(_Mn1,this._6n1);var _On1=_rX(_Mn1,_eW._mW(this._4n1,this._nn1));var _l11=_rX(_6l1,_eW._mW(this._vk1,this._ln1));this._xn1._iW(_eW.Multiply(this._gn1,_w9));this._Bn1=this._gn1*_dX(_On1,_w9);this._zn1=this._gn1*_dX(_l11,_w9);this._j71+=this._gn1*this._gn1*(this._rn1+this._pn1)+this._vn1*this._Bn1*this._Bn1+this._tn1*this._zn1*this._zn1}
this._j71=this._j71>0.0?1.0/this._j71:0.0;if(data._3V._L91){_xi1._Qe(_eW.Multiply((this._on1*this._xk1),this._wn1));_h01+=this._sn1*this._xk1*this._yn1;_zi1._Qe(_eW.Multiply((this._pn1*this._xk1),this._xn1));_i01+=this._tn1*this._xk1*this._zn1;_Hn1._mW(_eW.Multiply((this._qn1*this._xk1),this._wn1));_In1-=this._un1*this._xk1*this._An1;_Jn1._mW(_eW.Multiply((this._rn1*this._xk1),this._xn1));_Kn1-=this._vn1*this._xk1*this._Bn1}else {this._xk1=0.0}data._Q91[this._gh1]._y9._iW(_xi1);data._Q91[this._gh1]._u4=_h01;
data._Q91[this._hh1]._y9._iW(_zi1);data._Q91[this._hh1]._u4=_i01;data._Q91[this._in1]._y9._iW(_Hn1);data._Q91[this._in1]._u4=_In1;data._Q91[this._jn1]._y9._iW(_Jn1);data._Q91[this._jn1]._u4=_Kn1},_Si1:function(data){var _xi1=data._Q91[this._gh1]._y9._N5();var _h01=data._Q91[this._gh1]._u4;var _zi1=data._Q91[this._hh1]._y9._N5();var _i01=data._Q91[this._hh1]._u4;var _Hn1=data._Q91[this._in1]._y9._N5();var _In1=data._Q91[this._in1]._u4;var _Jn1=data._Q91[this._jn1]._y9._N5();var _Kn1=data._Q91[this._jn1]._u4;
var _8l1=_cX(this._wn1,_eW._mW(_xi1,_Hn1))+_cX(this._xn1,_eW._mW(_zi1,_Jn1));_8l1+=(this._yn1*_h01-this._An1*_In1)+(this._zn1*_i01-this._Bn1*_Kn1);var _781=-this._j71*_8l1;this._xk1+=_781;_xi1._Qe(_eW.Multiply((this._on1*_781),this._wn1));_h01+=this._sn1*_781*this._yn1;_zi1._Qe(_eW.Multiply((this._pn1*_781),this._xn1));_i01+=this._tn1*_781*this._zn1;_Hn1._mW(_eW.Multiply((this._qn1*_781),this._wn1));_In1-=this._un1*_781*this._An1;_Jn1._mW(_eW.Multiply((this._rn1*_781),this._xn1));_Kn1-=this._vn1*_781*this._Bn1;
data._Q91[this._gh1]._y9._iW(_xi1);data._Q91[this._gh1]._u4=_h01;data._Q91[this._hh1]._y9._iW(_zi1);data._Q91[this._hh1]._u4=_i01;data._Q91[this._in1]._y9._iW(_Hn1);data._Q91[this._in1]._u4=_In1;data._Q91[this._jn1]._y9._iW(_Jn1);data._Q91[this._jn1]._u4=_Kn1},_cj1:function(data){var _Sa1=data._P91[this._gh1]._Qt._N5();var _wi1=data._P91[this._gh1]._k9;var _Ua1=data._P91[this._hh1]._Qt._N5();var _yi1=data._P91[this._hh1]._k9;var _Pn1=data._P91[this._in1]._Qt._N5();var _2n1=data._P91[this._in1]._k9;var _Qn1=data._P91[this._jn1]._Qt._N5();
var _dn1=data._P91[this._jn1]._k9;var _5l1=new _XW(_wi1),_6l1=new _XW(_yi1),_Ln1=new _XW(_2n1),_Mn1=new _XW(_dn1);var _lm1=0.0;var _Zm1,__m1;var _Rn1=new _eW(),_Sn1=new _eW();var _Tn1,_Un1,_Vn1,_Wn1;var _sY=0.0;if(this._Xm1==_Aa1._2k1){_Rn1._fW();_Tn1=1.0;_Vn1=1.0;_sY+=this._sn1+this._un1;_Zm1=_wi1-_2n1-this._8n1}else {var _w9=_rX(_Ln1,this._5n1);var _Nn1=_rX(_Ln1,_eW._mW(this._3n1,this._mn1));var _k11=_rX(_5l1,_eW._mW(this._uk1,this._kn1));_Rn1._iW(_w9);_Vn1=_dX(_Nn1,_w9);_Tn1=_dX(_k11,_w9);_sY+=this._qn1+this._on1+this._un1*_Vn1*_Vn1+this._sn1*_Tn1*_Tn1;
var _an1=_eW._mW(this._3n1,this._mn1);var _y01=_sX(_Ln1,_eW._Qe(_k11,_eW._mW(_Sa1,_Pn1)));_Zm1=_cX(_eW._mW(_y01,_an1),this._5n1)}if(this._Ym1==_Aa1._2k1){_Sn1._fW();_Un1=this._gn1;_Wn1=this._gn1;_sY+=this._gn1*this._gn1*(this._tn1+this._vn1);__m1=_yi1-_dn1-this._en1}else {var _w9=_rX(_Mn1,this._6n1);var _On1=_rX(_Mn1,_eW._mW(this._4n1,this._nn1));var _l11=_rX(_6l1,_eW._mW(this._vk1,this._ln1));_Sn1._iW(_eW.Multiply(this._gn1,_w9));_Wn1=this._gn1*_dX(_On1,_w9);_Un1=this._gn1*_dX(_l11,_w9);_sY+=this._gn1*this._gn1*(this._rn1+this._pn1)+this._vn1*_Wn1*_Wn1+this._tn1*_Un1*_Un1;
var _fn1=_eW._mW(this._4n1,this._nn1);var _z01=_sX(_Mn1,_eW._Qe(_l11,_eW._mW(_Ua1,_Qn1)));__m1=_cX(_eW._mW(_z01,_fn1),this._6n1)}var _xX=(_Zm1+this._gn1*__m1)-this._hn1;var _781=0.0;if(_sY>0.0){_781=-_xX/_sY}_Sa1._Qe(_eW.Multiply(this._on1,_eW.Multiply(_781,_Rn1)));_wi1+=this._sn1*_781*_Tn1;_Ua1._Qe(_eW.Multiply(this._pn1,_eW.Multiply(_781,_Sn1)));_yi1+=this._tn1*_781*_Un1;_Pn1._mW(_eW.Multiply(this._qn1,_eW.Multiply(_781,_Rn1)));_2n1-=this._un1*_781*_Vn1;_Qn1._mW(_eW.Multiply(this._rn1,_eW.Multiply(_781,
_Sn1)));_dn1-=this._vn1*_781*_Wn1;data._P91[this._gh1]._Qt._iW(_Sa1);data._P91[this._gh1]._k9=_wi1;data._P91[this._hh1]._Qt._iW(_Ua1);data._P91[this._hh1]._k9=_yi1;data._P91[this._in1]._Qt._iW(_Pn1);data._P91[this._in1]._k9=_2n1;data._P91[this._jn1]._Qt._iW(_Qn1);data._P91[this._jn1]._k9=_dn1;return _lm1<_zV},_sW:function(_tW){var _Ct=_tW||{};this.parent.prototype._sW.call(this,_Ct);_Ct['joint1']=this._Vm1._Xn1;_Ct['joint2']=this._Wm1._Xn1;_Ct['ratio']=this._gn1;return _Ct}};_ek1._UU(_Aa1);function _Yn1(){
this.parent.call(this);this.type=_Aa1.__b1;this._Zn1=new _eW();this.__n1=0.0;this._jl1=1.0;this._pm1=1.0;this._0o1=0.3;Object.seal(this)}_Yn1.prototype={_L11:function(_Fb1,_Gb1){this._Ga1=_Fb1;this._Ha1=_Gb1;var _1o1=this._Ha1._VJ();this._Zn1._iW(this._Ga1._g81(_1o1));var _2o1=this._Ga1._YW();var _3o1=this._Ha1._YW();this.__n1=_3o1-_2o1},_uW:function(data,_Mb1,_Vj1){this.parent.prototype._uW.call(this,data,_Mb1,_Vj1);this._Zn1._uW(data['linearOffset']);this.__n1=data['angularOffset'];this._jl1=data['maxForce'];
this._pm1=data['maxTorque'];this._0o1=data['correctionFactor']}};_Yn1._UU(_Tj1);function _jk1(_w71){this.parent.call(this,_w71);this._4o1=_w71._Zn1._N5();this._5o1=_w71.__n1;this._qm1=new _eW();this._rm1=0.0;this._nl1=_w71._jl1;this._sm1=_w71._pm1;this._6o1=_w71._0o1;this._gh1=0;this._hh1=0;this._Gk1=new _eW();this._Hk1=new _eW();this._Ik1=new _eW();this._Jk1=new _eW();this._7o1=new _eW();this._8o1=0;this._Kk1=0;this._Lk1=0;this._Mk1=0;this._Nk1=0;this._tm1=new _yW();this._um1=0}_jk1.prototype={_Sb1:function(){
return this._Ea1._VJ()},_Tb1:function(){return this._Ca1._VJ()},_Wj1:function(_H91){return _eW.Multiply(_H91,this._qm1)},_Xj1:function(_H91){return _H91*this._rm1},_9o1:function(_Zn1){if(_Zn1.x!=this._4o1.x||_Zn1.y!=this._4o1.y){this._Ea1._tK(!0);this._Ca1._tK(!0);this._4o1._iW(_Zn1)}},_1c1:function(){return this._4o1},_ao1:function(__n1){if(__n1!=this._5o1){this._Ea1._tK(!0);this._Ca1._tK(!0);this._5o1=__n1}},_bo1:function(){return this._5o1},_vl1:function(_181){_qV(_4W(_181)&&_181>=0.0);this._nl1=_181}
,_wl1:function(){return this._nl1},_vm1:function(_581){_qV(_4W(_581)&&_581>=0.0);this._sm1=_581},_wm1:function(){return this._sm1},_co1:function(_do1){_qV(_4W(_do1)&&0.0<=_do1&&_do1<=1.0);this._6o1=_do1},_eo1:function(){return this._6o1},_Aj1:function(data){this._gh1=this._Ea1._X61;this._hh1=this._Ca1._X61;this._Ik1._iW(this._Ea1._571._3X);this._Jk1._iW(this._Ca1._571._3X);this._Kk1=this._Ea1._k71;this._Lk1=this._Ca1._k71;this._Mk1=this._Ea1._m71;this._Nk1=this._Ca1._m71;var _Sa1=data._P91[this._gh1]._Qt._N5();
var _wi1=data._P91[this._gh1]._k9;var _xi1=data._Q91[this._gh1]._y9._N5();var _h01=data._Q91[this._gh1]._u4;var _Ua1=data._P91[this._hh1]._Qt._N5();var _yi1=data._P91[this._hh1]._k9;var _zi1=data._Q91[this._hh1]._y9._N5();var _i01=data._Q91[this._hh1]._u4;var _5l1=new _XW(_wi1),_6l1=new _XW(_yi1);this._Gk1._iW(_rX(_5l1,this._Ik1._jW()));this._Hk1._iW(_rX(_6l1,this._Jk1._jW()));var _ui1=this._Kk1,_vi1=this._Lk1;var _J51=this._Mk1,_K51=this._Nk1;var _ai1=new _yW();_ai1._Ou.x=_ui1+_vi1+_J51*this._Gk1.y*this._Gk1.y+_K51*this._Hk1.y*this._Hk1.y;
_ai1._Ou.y=-_J51*this._Gk1.x*this._Gk1.y-_K51*this._Hk1.x*this._Hk1.y;_ai1._gz.x=_ai1._Ou.y;_ai1._gz.y=_ui1+_vi1+_J51*this._Gk1.x*this._Gk1.x+_K51*this._Hk1.x*this._Hk1.x;this._tm1._iW(_ai1._CW());this._um1=_J51+_K51;if(this._um1>0.0){this._um1=1.0/this._um1}this._7o1.x=_Ua1.x+this._Hk1.x-_Sa1.x-this._Gk1.x-(_5l1._Qt*this._4o1.x-_5l1._ps*this._4o1.y);this._7o1.y=_Ua1.y+this._Hk1.y-_Sa1.y-this._Gk1.y-(_5l1._ps*this._4o1.x+_5l1._Qt*this._4o1.y);this._8o1=_yi1-_wi1-this._5o1;if(data._3V._L91){this._qm1.Multiply(data._3V._I91);
this._rm1*=data._3V._I91;var _D31=new _eW(this._qm1.x,this._qm1.y);_xi1._mW(_eW.Multiply(_ui1,_D31));_h01-=_J51*(_dX(this._Gk1,_D31)+this._rm1);_zi1._Qe(_eW.Multiply(_vi1,_D31));_i01+=_K51*(_dX(this._Hk1,_D31)+this._rm1)}else {this._qm1._fW();this._rm1=0.0}data._Q91[this._gh1]._y9._iW(_xi1);data._Q91[this._gh1]._u4=_h01;data._Q91[this._hh1]._y9._iW(_zi1);data._Q91[this._hh1]._u4=_i01},_Si1:function(data){var _xi1=data._Q91[this._gh1]._y9._N5();var _h01=data._Q91[this._gh1]._u4;var _zi1=data._Q91[this._hh1]._y9._N5();
var _i01=data._Q91[this._hh1]._u4;var _ui1=this._Kk1,_vi1=this._Lk1;var _J51=this._Mk1,_K51=this._Nk1;var _v4=data._3V._G91;var _fo1=data._3V._H91;{var _8l1=_i01-_h01+_fo1*this._6o1*this._8o1;var _781=-this._um1*_8l1;var _9l1=this._rm1;var _al1=_v4*this._sm1;this._rm1=_IX(this._rm1+_781,-_al1,_al1);_781=this._rm1-_9l1;_h01-=_J51*_781;_i01+=_K51*_781}{var _8l1=new _eW(_zi1.x+(-_i01*this._Hk1.x)-_xi1.x-(-_h01*this._Gk1.x)+_fo1*this._6o1*this._7o1.x,_zi1.y+(_i01*this._Hk1.y)-_xi1.y-(_h01*this._Gk1.y)+_fo1*this._6o1*this._7o1.y);
var _781=_gX(this._tm1,_8l1)._jW();var _9l1=this._qm1._N5();this._qm1._Qe(_781);var _al1=_v4*this._nl1;if(this._qm1._nW()>_al1*_al1){this._qm1._oW();this._qm1.Multiply(_al1)}_781._iW(_eW._mW(this._qm1,_9l1));_xi1._mW(_eW.Multiply(_ui1,_781));_h01-=_J51*_dX(this._Gk1,_781);_zi1._Qe(_eW.Multiply(_vi1,_781));_i01+=_K51*_dX(this._Hk1,_781)}data._Q91[this._gh1]._y9._iW(_xi1);data._Q91[this._gh1]._u4=_h01;data._Q91[this._hh1]._y9._iW(_zi1);data._Q91[this._hh1]._u4=_i01},_cj1:function(data){return !0},_sW:function(_tW){
var _Ct=_tW||{};this.parent.prototype._sW.call(this,_Ct);_Ct['linearOffset']=this._4o1._sW();_Ct['angularOffset']=this._5o1;_Ct['maxForce']=this._nl1;_Ct['maxTorque']=this._sm1;_Ct['correctionFactor']=this._6o1;return _Ct}};_jk1._UU(_Aa1);var _go1=2.0;function _ho1(){this.parent.call(this);this.type=_Aa1._Vb1;this._io1=new _eW(-1.0,1.0);this._jo1=new _eW(1.0,1.0);this._lk1=new _eW(-1.0,0.0);this._mk1=new _eW(1.0,0.0);this._ko1=0.0;this._lo1=0.0;this._Ej1=1.0;this._Ia1=!0;Object.seal(this)}_ho1.prototype={
_L11:function(_Fb1,_Gb1,_mo1,_no1,_oo1,_po1,_J7){this._Ga1=_Fb1;this._Ha1=_Gb1;this._io1._iW(_mo1);this._jo1._iW(_no1);this._lk1._iW(this._Ga1._g81(_oo1));this._mk1._iW(this._Ha1._g81(_po1));var _qo1=_eW._mW(_oo1,_mo1);this._ko1=_qo1.Length();var _ro1=_eW._mW(_po1,_no1);this._lo1=_ro1.Length();this._Ej1=_J7;_qV(this._Ej1>_tV)},_uW:function(data,_Mb1,_Vj1){this.parent.prototype._uW.call(this,data,_Mb1,_Vj1);this._io1._uW(data['groundAnchorA']);this._jo1._uW(data['groundAnchorB']);this._lk1._uW(data['localAnchorA']);
this._mk1._uW(data['localAnchorB']);this._ko1=data['lengthA'];this._lo1=data['lengthB'];this._Ej1=data['ratio']}};_ho1._UU(_Tj1);function _dk1(_w71){this.parent.call(this,_w71);this._gh1=0;this._hh1=0;this._so1=new _eW();this._to1=new _eW();this._Gk1=new _eW();this._Hk1=new _eW();this._Ik1=new _eW();this._Jk1=new _eW();this._Kk1=0;this._Lk1=0;this._Mk1=0;this._Nk1=0;this._j71=0;this._uo1=_w71._io1._N5();this._vo1=_w71._jo1._N5();this._uk1=_w71._lk1._N5();this._vk1=_w71._mk1._N5();this._wo1=_w71._ko1;this._xo1=_w71._lo1;
_qV(_w71._Ej1!=0.0);this._gn1=_w71._Ej1;this._hn1=_w71._ko1+this._gn1*_w71._lo1;this._xk1=0.0}_dk1.prototype={_Sb1:function(){return this._Ea1._d81(this._uk1)},_Tb1:function(){return this._Ca1._d81(this._vk1)},_Wj1:function(_H91){var _D31=_eW.Multiply(this._xk1,this._to1);return _eW.Multiply(_H91,_D31)},_Xj1:function(_H91){return 0.0},_Xb1:function(){return this._uo1},_Yb1:function(){return this._vo1},_yo1:function(){return this._wo1},_zo1:function(){return this._xo1},_Gn1:function(){return this._gn1},_Ao1:function(){
var _tx=this._Ea1._d81(this._uk1);var _ps=this._uo1;var _si=_eW._mW(_tx,_ps);return _si.Length()},_Bo1:function(){var _tx=this._Ca1._d81(this._vk1);var _ps=this._vo1;var _si=_eW._mW(_tx,_ps);return _si.Length()},_U_:function(_V_){this._uo1._mW(_V_);this._vo1._mW(_V_)},_Aj1:function(data){this._gh1=this._Ea1._X61;this._hh1=this._Ca1._X61;this._Ik1._iW(this._Ea1._571._3X);this._Jk1._iW(this._Ca1._571._3X);this._Kk1=this._Ea1._k71;this._Lk1=this._Ca1._k71;this._Mk1=this._Ea1._m71;this._Nk1=this._Ca1._m71;var _Sa1=data._P91[this._gh1]._Qt._N5();
var _wi1=data._P91[this._gh1]._k9;var _xi1=data._Q91[this._gh1]._y9._N5();var _h01=data._Q91[this._gh1]._u4;var _Ua1=data._P91[this._hh1]._Qt._N5();var _yi1=data._P91[this._hh1]._k9;var _zi1=data._Q91[this._hh1]._y9._N5();var _i01=data._Q91[this._hh1]._u4;var _5l1=new _XW(_wi1),_6l1=new _XW(_yi1);this._Gk1._iW(_rX(_5l1,_eW._mW(this._uk1,this._Ik1)));this._Hk1._iW(_rX(_6l1,_eW._mW(this._vk1,this._Jk1)));this._so1._iW(_eW._Qe(_Sa1,_eW._mW(this._Gk1,this._uo1)));this._to1._iW(_eW._Qe(_Ua1,_eW._mW(this._Hk1,this._vo1)));
var _ko1=this._so1.Length();var _lo1=this._to1.Length();if(_ko1>10.0*_zV){this._so1.Multiply(1.0/_ko1)}else {this._so1._fW()}if(_lo1>10.0*_zV){this._to1.Multiply(1.0/_lo1)}else {this._to1._fW();}var _Co1=_dX(this._Gk1,this._so1);var _Do1=_dX(this._Hk1,this._to1);var _ui1=this._Kk1+this._Mk1*_Co1*_Co1;var _vi1=this._Lk1+this._Nk1*_Do1*_Do1;this._j71=_ui1+this._gn1*this._gn1*_vi1;if(this._j71>0.0){this._j71=1.0/this._j71}if(data._3V._L91){this._xk1*=data._3V._I91;var _Eo1=_eW.Multiply(-(this._xk1),this._so1);
var _Fo1=_eW.Multiply((-this._gn1*this._xk1),this._to1);_xi1._Qe(_eW.Multiply(this._Kk1,_Eo1));_h01+=this._Mk1*_dX(this._Gk1,_Eo1);_zi1._Qe(_eW.Multiply(this._Lk1,_Fo1));_i01+=this._Nk1*_dX(this._Hk1,_Fo1)}else {this._xk1=0.0}data._Q91[this._gh1]._y9._iW(_xi1);data._Q91[this._gh1]._u4=_h01;data._Q91[this._hh1]._y9._iW(_zi1);data._Q91[this._hh1]._u4=_i01},_Si1:function(data){var _xi1=data._Q91[this._gh1]._y9._N5();var _h01=data._Q91[this._gh1]._u4;var _zi1=data._Q91[this._hh1]._y9._N5();var _i01=data._Q91[this._hh1]._u4;
var _Ol1=_eW._Qe(_xi1,_fX(_h01,this._Gk1));var _Pl1=_eW._Qe(_zi1,_fX(_i01,this._Hk1));var _8l1=-_cX(this._so1,_Ol1)-this._gn1*_cX(this._to1,_Pl1);var _781=-this._j71*_8l1;this._xk1+=_781;var _Eo1=_eW.Multiply(-_781,this._so1);var _Fo1=_eW.Multiply(-this._gn1,_eW.Multiply(_781,this._to1));_xi1._Qe(_eW.Multiply(this._Kk1,_Eo1));_h01+=this._Mk1*_dX(this._Gk1,_Eo1);_zi1._Qe(_eW.Multiply(this._Lk1,_Fo1));_i01+=this._Nk1*_dX(this._Hk1,_Fo1);data._Q91[this._gh1]._y9._iW(_xi1);data._Q91[this._gh1]._u4=_h01;data._Q91[this._hh1]._y9._iW(_zi1);
data._Q91[this._hh1]._u4=_i01},_cj1:function(data){var _Sa1=data._P91[this._gh1]._Qt._N5();var _wi1=data._P91[this._gh1]._k9;var _Ua1=data._P91[this._hh1]._Qt._N5();var _yi1=data._P91[this._hh1]._k9;var _5l1=new _XW(_wi1),_6l1=new _XW(_yi1);var _k11=_rX(_5l1,_eW._mW(this._uk1,this._Ik1));var _l11=_rX(_6l1,_eW._mW(this._vk1,this._Jk1));var _Go1=_eW._Qe(_Sa1,_eW._mW(_k11,this._uo1));var _Ho1=_eW._Qe(_Ua1,_eW._mW(_l11,this._vo1));var _ko1=_Go1.Length();var _lo1=_Ho1.Length();if(_ko1>10.0*_zV){_Go1.Multiply(1.0/_ko1)}
else {_Go1._fW()}if(_lo1>10.0*_zV){_Ho1.Multiply(1.0/_lo1)}else {_Ho1._fW()}var _Co1=_dX(_k11,_Go1);var _Do1=_dX(_l11,_Ho1);var _ui1=this._Kk1+this._Mk1*_Co1*_Co1;var _vi1=this._Lk1+this._Nk1*_Do1*_Do1;var _sY=_ui1+this._gn1*this._gn1*_vi1;if(_sY>0.0){_sY=1.0/_sY}var _xX=this._hn1-_ko1-this._gn1*_lo1;var _lm1=_BX(_xX);var _781=-_sY*_xX;var _Eo1=_eW.Multiply(-_781,_Go1);var _Fo1=_eW.Multiply(-this._gn1,_eW.Multiply(_781,_Ho1));_Sa1._Qe(_eW.Multiply(this._Kk1,_Eo1));_wi1+=this._Mk1*_dX(_k11,_Eo1);_Ua1._Qe(_eW.Multiply(this._Lk1,
_Fo1));_yi1+=this._Nk1*_dX(_l11,_Fo1);data._P91[this._gh1]._Qt._iW(_Sa1);data._P91[this._gh1]._k9=_wi1;data._P91[this._hh1]._Qt._iW(_Ua1);data._P91[this._hh1]._k9=_yi1;return _lm1<_zV},_sW:function(_tW){var _Ct=_tW||{};this.parent.prototype._sW.call(this,_Ct);_Ct['groundAnchorA']=this._uo1._sW();_Ct['groundAnchorB']=this._vo1._sW();_Ct['localAnchorA']=this._uk1._sW();_Ct['localAnchorB']=this._vk1._sW();_Ct['lengthA']=this._wo1;_Ct['lengthB']=this._xo1;_Ct['ratio']=this._gn1;return _Ct}};_dk1._UU(_Aa1);
function _Io1(){this.parent.call(this);this.type=_Aa1._8k1;this._lk1=new _eW(-1.0,0.0);this._mk1=new _eW(1.0,0.0);this._Jo1=0.0;Object.seal(this)}_Io1.prototype={_uW:function(data,_Mb1,_Vj1){this.parent.prototype._uW.call(this,data,_Mb1,_Vj1);this._lk1._uW(data['localAnchorA']);this._mk1._uW(data['localAnchorB']);this._Jo1=data['maxLength']}};_Io1._UU(_Tj1);function _ik1(_w71){this.parent.call(this,_w71);this._uk1=_w71._lk1._N5();this._vk1=_w71._mk1._N5();this._Ko1=_w71._Jo1;this._j71=0.0;this._xk1=0.0;
this._Lo1=_Aa1._Zj1;this._Gl1=0.0;this._gh1=0;this._hh1=0;this._Il1=new _eW();this._Gk1=new _eW();this._Hk1=new _eW();this._Ik1=new _eW();this._Jk1=new _eW();this._Kk1=0;this._Lk1=0;this._Mk1=0;this._Nk1=0}_ik1.prototype={_Sb1:function(){return this._Ea1._d81(this._uk1)},_Tb1:function(){return this._Ca1._d81(this._vk1)},_Wj1:function(_H91){var _O51=_eW.Multiply((_H91*this._xk1),this._Il1);return _O51},_Xj1:function(_H91){return 0.0},_Pk1:function(){return this._uk1},_Qk1:function(){return this._vk1},_Mo1:function(length){
this._Ko1=length},_No1:function(){return this._Ko1},_Oo1:function(){return this._Lo1},_Aj1:function(data){this._gh1=this._Ea1._X61;this._hh1=this._Ca1._X61;this._Ik1._iW(this._Ea1._571._3X);this._Jk1._iW(this._Ca1._571._3X);this._Kk1=this._Ea1._k71;this._Lk1=this._Ca1._k71;this._Mk1=this._Ea1._m71;this._Nk1=this._Ca1._m71;var _Sa1=data._P91[this._gh1]._Qt._N5();var _wi1=data._P91[this._gh1]._k9;var _xi1=data._Q91[this._gh1]._y9._N5();var _h01=data._Q91[this._gh1]._u4;var _Ua1=data._P91[this._hh1]._Qt._N5();
var _yi1=data._P91[this._hh1]._k9;var _zi1=data._Q91[this._hh1]._y9._N5();var _i01=data._Q91[this._hh1]._u4;var _5l1=new _XW(_wi1),_6l1=new _XW(_yi1);this._Gk1._iW(_rX(_5l1,_eW._mW(this._uk1,this._Ik1)));this._Hk1._iW(_rX(_6l1,_eW._mW(this._vk1,this._Jk1)));this._Il1._iW(_eW._mW(_eW._mW(_eW._Qe(_Ua1,this._Hk1),_Sa1),this._Gk1));this._Gl1=this._Il1.Length();var _xX=this._Gl1-this._Ko1;if(_xX>0.0){this._Lo1=_Aa1._0k1}else {this._Lo1=_Aa1._Zj1}if(this._Gl1>_zV){this._Il1.Multiply(1.0/this._Gl1)}else {this._Il1._fW();
this._j71=0.0;this._xk1=0.0;return }var _Po1=_dX(this._Gk1,this._Il1);var _Qo1=_dX(this._Hk1,this._Il1);var _Nl1=this._Kk1+this._Mk1*_Po1*_Po1+this._Lk1+this._Nk1*_Qo1*_Qo1;this._j71=_Nl1!=0.0?1.0/_Nl1:0.0;if(data._3V._L91){this._xk1*=data._3V._I91;var _D31=_eW.Multiply(this._xk1,this._Il1);_xi1._mW(_eW.Multiply(this._Kk1,_D31));_h01-=this._Mk1*_dX(this._Gk1,_D31);_zi1._Qe(_eW.Multiply(this._Lk1,_D31));_i01+=this._Nk1*_dX(this._Hk1,_D31)}else {this._xk1=0.0}data._Q91[this._gh1]._y9._iW(_xi1);data._Q91[this._gh1]._u4=_h01;
data._Q91[this._hh1]._y9._iW(_zi1);data._Q91[this._hh1]._u4=_i01;},_Si1:function(data){var _xi1=data._Q91[this._gh1]._y9._N5();var _h01=data._Q91[this._gh1]._u4;var _zi1=data._Q91[this._hh1]._y9._N5();var _i01=data._Q91[this._hh1]._u4;var _Ol1=_eW._Qe(_xi1,_fX(_h01,this._Gk1));var _Pl1=_eW._Qe(_zi1,_fX(_i01,this._Hk1));var _xX=this._Gl1-this._Ko1;var _8l1=_cX(this._Il1,_eW._mW(_Pl1,_Ol1));if(_xX<0.0){_8l1+=data._3V._H91*_xX}var _781=-this._j71*_8l1;var _9l1=this._xk1;this._xk1=_EX(0.0,this._xk1+_781);_781=this._xk1-_9l1;
var _D31=_eW.Multiply(_781,this._Il1);_xi1._mW(_eW.Multiply(this._Kk1,_D31));_h01-=this._Mk1*_dX(this._Gk1,_D31);_zi1._Qe(_eW.Multiply(this._Lk1,_D31));_i01+=this._Nk1*_dX(this._Hk1,_D31);data._Q91[this._gh1]._y9._iW(_xi1);data._Q91[this._gh1]._u4=_h01;data._Q91[this._hh1]._y9._iW(_zi1);data._Q91[this._hh1]._u4=_i01},_cj1:function(data){var _Sa1=data._P91[this._gh1]._Qt._N5();var _wi1=data._P91[this._gh1]._k9;var _Ua1=data._P91[this._hh1]._Qt._N5();var _yi1=data._P91[this._hh1]._k9;var _5l1=new _XW(_wi1),
_6l1=new _XW(_yi1);var _k11=_rX(_5l1,_eW._mW(this._uk1,this._Ik1));var _l11=_rX(_6l1,_eW._mW(this._vk1,this._Jk1));var _w9=_eW._mW(_eW._mW(_eW._Qe(_Ua1,_l11),_Sa1),_k11);var length=_w9._oW();var _xX=length-this._Ko1;_xX=_IX(_xX,0.0,_FV);var _781=-this._j71*_xX;var _D31=_eW.Multiply(_781,_w9);_Sa1._mW(_eW.Multiply(this._Kk1,_D31));_wi1-=this._Mk1*_dX(_k11,_D31);_Ua1._Qe(_eW.Multiply(this._Lk1,_D31));_yi1+=this._Nk1*_dX(_l11,_D31);data._P91[this._gh1]._Qt._iW(_Sa1);data._P91[this._gh1]._k9=_wi1;data._P91[this._hh1]._Qt._iW(_Ua1);
data._P91[this._hh1]._k9=_yi1;return length-this._Ko1<_zV},_sW:function(_tW){var _Ct=_tW||{};this.parent.prototype._sW.call(this,_Ct);_Ct['localAnchorA']=this._uk1._sW();_Ct['localAnchorB']=this._vk1._sW();_Ct['maxLength']=this._Ko1;return _Ct}};_ik1._UU(_Aa1);var _Ro1=Math.exp;function _So1(){this.vertices=null;this._H8=0;this._To1=null;this._W91=new _eW();this._ac1=0.1;this._Uo1=0.9;this._Vo1=0.1}function _Wo1(){this._fZ=0;this._Xo1=null;this._Yo1=null;this._Zo1=null;this.__o1=null;this._0p1=null;this._1p1=null;
this._2p1=0;this._7a1=new _eW();this._3p1=1.0;this._4p1=0.1}_Wo1.prototype={_L11:function(_w71){_qV(_w71._H8>=3);this._fZ=_w71._H8;this._Xo1=new Array(this._fZ);this._Yo1=new Array(this._fZ);this._Zo1=new Array(this._fZ);this.__o1=new Array(this._fZ);for(var _Q7=0;_Q7<this._fZ;++_Q7){this._Xo1[_Q7]=_w71.vertices[_Q7]._N5();this._Yo1[_Q7]=_w71.vertices[_Q7]._N5();this._Zo1[_Q7]=new _eW();var _v7=_w71._To1[_Q7];if(_v7>0.0){this.__o1[_Q7]=1.0/_v7}else {this.__o1[_Q7]=0.0}}var _P21=this._fZ-1;var _5p1=this._fZ-2;
this._0p1=new Array(_P21);this._1p1=new Array(_5p1);for(var _Q7=0;_Q7<_P21;++_Q7){var _7Y=this._Xo1[_Q7];var _8Y=this._Xo1[_Q7+1];this._0p1[_Q7]=_iX(_7Y,_8Y)}for(var _Q7=0;_Q7<_5p1;++_Q7){var _7Y=this._Xo1[_Q7];var _8Y=this._Xo1[_Q7+1];var _8_=this._Xo1[_Q7+2];var _ZY=_eW._mW(_8Y,_7Y);var _If1=_eW._mW(_8_,_8Y);var _k9=_dX(_ZY,_If1);var _M7=_cX(_ZY,_If1);this._1p1[_Q7]=_cW(_k9,_M7)}this._7a1=_w71._W91._N5();this._2p1=_w71._ac1;this._3p1=_w71._Uo1;this._4p1=_w71._Vo1},_Ja1:function(_v4,_f01){if(_v4==0.0){return }
var _si=_Ro1(-_v4*this._2p1);for(var _Q7=0;_Q7<this._fZ;++_Q7){this._Yo1[_Q7]._iW(this._Xo1[_Q7]);if(this.__o1[_Q7]>0.0){this._Zo1[_Q7]._Qe(_eW.Multiply(_v4,this._7a1))}this._Zo1[_Q7].Multiply(_si);this._Xo1[_Q7]._Qe(_eW.Multiply(_v4,this._Zo1[_Q7]))}for(var _Q7=0;_Q7<_f01;++_Q7){this._6p1();this._7p1();this._6p1()}var _fo1=1.0/_v4;for(var _Q7=0;_Q7<this._fZ;++_Q7){this._Zo1[_Q7]=_eW.Multiply(_fo1,_eW._mW(this._Xo1[_Q7],this._Yo1[_Q7]))}},_nd:function(){return this._fZ},_8p1:function(){return this._Xo1}
,_a9:function(_9p1){var _Qt=new _SX(0.4,0.5,0.7);for(var _Q7=0;_Q7<this._fZ-1;++_Q7){_9p1._6Y(this._Xo1[_Q7],this._Xo1[_Q7+1],_Qt)}},_ap1:function(angle){var _5p1=this._fZ-2;for(var _Q7=0;_Q7<_5p1;++_Q7){this._1p1[_Q7]=angle}},_6p1:function(){var _P21=this._fZ-1;for(var _Q7=0;_Q7<_P21;++_Q7){var _7Y=this._Xo1[_Q7];var _8Y=this._Xo1[_Q7+1];var _si=_eW._mW(_8Y,_7Y);var _Cn1=_si._oW();var _bp1=this.__o1[_Q7];var _cp1=this.__o1[_Q7+1];if(_bp1+_cp1==0.0){continue }var _bq=_bp1/(_bp1+_cp1);var _cq=_cp1/(_bp1+_cp1);_7Y._mW(_eW.Multiply(this._3p1*_bq*(this._0p1[_Q7]-_Cn1),
_si));_8Y._Qe(_eW.Multiply(this._3p1*_cq*(this._0p1[_Q7]-_Cn1),_si))}},_7p1:function(){var _5p1=this._fZ-2;for(var _Q7=0;_Q7<_5p1;++_Q7){var _7Y=this._Xo1[_Q7];var _8Y=this._Xo1[_Q7+1];var _8_=this._Xo1[_Q7+2];var _dp1=this.__o1[_Q7];var _ep1=this.__o1[_Q7+1];var _fp1=this.__o1[_Q7+2];var _ZY=_eW._mW(_8Y,_7Y);var _If1=_eW._mW(_8_,_8Y);var _gp1=_ZY._nW();var _hp1=_If1._nW();if(_gp1*_hp1==0.0){continue }var _k9=_dX(_ZY,_If1);var _M7=_cX(_ZY,_If1);var angle=_cW(_k9,_M7);var _ip1=_eW.Multiply((-1.0/_gp1),_ZY._rW());
var _jp1=_eW.Multiply((1.0/_hp1),_If1._rW());var _kp1=_eW._jW(_ip1);var _lp1=_eW._mW(_ip1,_jp1);var _mp1=_jp1;var _sY=_dp1*_cX(_kp1,_kp1)+_ep1*_cX(_lp1,_lp1)+_fp1*_cX(_mp1,_mp1);if(_sY==0.0){continue }_sY=1.0/_sY;var _xX=angle-this._1p1[_Q7];while(_xX>_uV){angle-=2*_uV;_xX=angle-this._1p1[_Q7]}while(_xX<-_uV){angle+=2.0*_uV;_xX=angle-this._1p1[_Q7]}var _781=-this._4p1*_sY*_xX;_7Y._Qe(_eW.Multiply((_dp1*_781),_kp1));_8Y._Qe(_eW.Multiply((_ep1*_781),_lp1));_8_._Qe(_eW.Multiply((_fp1*_781),_mp1))}}};var _np1={
/*@param {b2World} world */_op1:function(_W61){var _pp1=[];/*@type Number */var _Q7;/*@type String */var _qp1;/*@type b2Body */var _M7;/*@type b2Fixture */var _1t;/*@type b2Shape */var _QY;for(_M7=_W61._2b1();_M7;_M7=_M7._J81()){for(_1t=_M7._G81();_1t;_1t=_1t._J81()){_QY=_1t._391();_1t._rp1=_pp1.length;_pp1.push(_QY._sW())}}var _sp1=[];for(_M7=_W61._2b1();_M7;_M7=_M7._J81()){_M7._tp1=[];for(_1t=_M7._G81();_1t;_1t=_1t._J81()){_qp1=_1t._sW();_qp1['shape']=_1t._rp1;delete _1t._rp1;_M7._tp1.push(_sp1.length);
_sp1.push(_qp1)}}var _Mb1=[];for(_M7=_W61._2b1();_M7;_M7=_M7._J81()){_qp1=_M7._sW();_qp1._sp1=[];for(_Q7=0;_Q7<_M7._tp1.length;++_Q7)_qp1._sp1.push(_M7._tp1[_Q7]);delete _M7._tp1;_M7._up1=_Mb1.length;_Mb1.push(_qp1)};var _Vj1=[];/*@type b2Joint */var _R7;for(_R7=_W61._H81(),_Q7=0;_R7;_R7=_R7._J81(),++_Q7)_R7._Xn1=_Q7;for(_R7=_W61._H81();_R7;_R7=_R7._J81()){if(_R7._wY()===_Aa1._Zb1)continue;_qp1=_R7._sW();_qp1['bodyA']=_R7._Qb1()._up1;_qp1['bodyB']=_R7._Rb1()._up1;_Vj1.push(_qp1)}for(_R7=_W61._H81();
_R7;_R7=_R7._J81())delete _R7._Xn1;for(_M7=_W61._2b1();_M7;_M7=_M7._J81())delete _M7._up1;var _eg={_pp1:_pp1,_sp1:_sp1,_Mb1:_Mb1,_Vj1:_Vj1};return _eg},/*@param {b2World} world */_vp1:function(_qp1,_W61,clear){var _wp1=JSON.parse(_qp1);if(clear){for(var _M7=_W61._2b1();_M7;){var _Qg=_M7._J81();_W61._ta1(_M7);_M7=_Qg}for(var _R7=_W61._H81();_R7;){var _Qg=_R7._J81();_W61._wa1(_R7);_R7=_Qg}}var _pp1=[];for(var _Q7=0;_Q7<_wp1._pp1.length;++_Q7){var _xp1=_wp1._pp1[_Q7];var _QY;switch(_xp1._OC){case _uY._JY:_QY=new _OY();
break;case _uY._KY:_QY=new __Y();break;case _uY._MY:_QY=new _dZ();break;case _uY._LY:_QY=new _vZ();break }_QY._uW(_xp1);_pp1.push(_QY)}var _sp1=[];for(_Q7=0;_Q7<_wp1._sp1.length;++_Q7){var _yp1=_wp1._sp1[_Q7];var _5K=new _y71();_5K._uW(_yp1);_5K._QY=_pp1[_yp1['shape']];_sp1.push(_5K)}var _Mb1=[];for(_Q7=0;_Q7<_wp1._Mb1.length;++_Q7){var _zp1=_wp1._Mb1[_Q7];var _w71=new _J61();_w71._uW(_zp1);var body=_W61._MK(_w71);for(var x=0;x<_zp1._sp1.length;++x)body._v71(_sp1[_zp1._sp1[x]]);_Mb1.push(body)}var _Vj1=[];var _Ap1=[];
for(_Q7=0;_Q7<_wp1._Vj1.length;++_Q7){var _Bp1=_wp1._Vj1[_Q7];var _Cp1;switch(_Bp1.type){case _Aa1._2k1:_Cp1=new _kk1();break;case _Aa1._3k1:_Cp1=new _Ql1();break;case _Aa1._Ub1:_Cp1=new _Dl1();break;case _Aa1._Vb1:_Cp1=new _ho1();break;case _Aa1._4k1:_Cp1=new _Sm1();break;case _Aa1._5k1:_Cp1=new _Cm1();break;case _Aa1._6k1:_Cp1=new _Am1();break;case _Aa1._7k1:_Cp1=new _om1();break;case _Aa1._8k1:_Cp1=new _Io1();break;case _Aa1.__b1:_Cp1=new _Yn1();break;default :throw new Error('unknown joint')}_Cp1._uW(_Bp1,_Mb1);if(_Bp1.type===_Aa1._4k1){
_Ap1.push([_Cp1,_Vj1.length]);_Vj1.push(null)}else {var _P81=_W61._za1(_Cp1);_Vj1.push(_P81)}}for(_Q7=0;_Q7<_Ap1.length;++_Q7){_Ap1[_Q7][0]._Tm1=_Vj1[_Ap1[_Q7][0]._Tm1];_Ap1[_Q7][0]._Um1=_Vj1[_Ap1[_Q7][0]._Um1];_P81=_W61._za1(_Ap1[_Q7][0]);_Vj1[_Ap1[_Q7][1]]=_P81}}};var _Dp1=(function(){function _Ep1(_Ct){return new _eW(_Ct?(_Ct.x||0):0,_Ct?(_Ct.y||0):0)}function _Fp1(_Ct){var _Gp1=new Array(_Ct.x.length);for(var _Q7=0;_Q7<_Gp1.length;++_Q7)_Gp1[_Q7]=new _eW(_Ct.x[_Q7],_Ct.y[_Q7]);return _Gp1}function _Hp1(_Ct,
_Ip1){var name=_Ct.name;var _Cd;if(typeof(_Ct['int'])!=='undefined')_Cd=_Ct['int'];else if(typeof(_Ct['float'])!=='undefined')_Cd=_Ct['float'];else if(typeof(_Ct['string'])!=='undefined')_Cd=_Ct['string'];else if(typeof(_Ct['bool'])!=='undefined')_Cd=_Ct['bool'];else if(typeof(_Ct._Jp1)!=='undefined')_Cd=_Ep1(_Ct._Jp1);else throw new Error("unknown property type");if(_Ip1.hasOwnProperty(name))throw new Error("custom property possibly overwriting an existing one");_Ip1[name]=_Cd}function _Kp1(_Ct,body){var _w71=new _y71();
_w71._FY=_Ct._FY||0;_w71._bl._S81=typeof(_Ct['filter-categoryBits'])==='undefined'?1:_Ct['filter-categoryBits'];_w71._bl._T81=typeof(_Ct['filter-maskBits'])==='undefined'?65535:_Ct['filter-maskBits'];_w71._bl._U81=typeof(_Ct['filter-groupIndex'])==='undefined'?0:_Ct['filter-groupIndex'];_w71._V81=_Ct._V81||0;_w71._W81=_Ct._W81||0;_w71._X81=_Ct._491||0;var _QY;if(typeof(_Ct._Y_)!=='undefined'){_QY=new _OY();_QY._PY=_Ep1(_Ct._Y_._2Y);_QY._vY=_Ct._Y_._3Y||0}else if(typeof(_Ct._Z_)!=='undefined'){var vertices=_Fp1(_Ct._Z_.vertices);
_QY=new _vZ();_QY._Ig(vertices,vertices.length)}else if(typeof(_Ct.___)!=='undefined'){var vertices=_Fp1(_Ct.___.vertices);_QY=new _dZ();_QY._fZ=vertices.length;_QY._eZ=vertices;if(_QY._jZ=_Ct.___._Lp1)_QY._hZ=_Ep1(_Ct.___._qZ);if(_QY._iZ=_Ct.___._Mp1)_QY._gZ=_Ep1(_Ct.___._oZ)}else throw new Error("unknown shape type");_w71._QY=_QY;var _5K=body._v71(_w71);_5K.name=_Ct.name;if(_Ct._Np1)for(var _Q7=0;_Q7<_Ct._Np1.length;++_Q7)_Hp1(_Ct,_5K)}function _Op1(_Ct,_W61){var _w71=new _J61();_w71.type=_Ct.type||_K61._L61;
_w71.angle=_Ct.angle||0;_w71._P61=_Ct._P61||0;_w71._N61=_Ct._N61||0;_w71._R61=_Ct._R61||!1;_w71._T61=_Ct._T61||!1;_w71._S61=_Ct._S61||!1;_w71._O61=_Ct._O61||!1;_w71._M61=_Ep1(_Ct._M61);_w71._U61=typeof(_Ct._U61)!=='undefined'?_Ct._U61:1;var _Pp1=new _rY();_Pp1._sY=_Ct['massData-mass']||0;_Pp1._2Y=_Ep1(_Ct['massData-center']);_Pp1._tY=_Ct['massData-I']||0;_w71.position=_Ep1(_Ct.position);var body=_W61._MK(_w71);body.name=_Ct.name;body._c81(_Pp1);if(_Ct._5K)for(var _Q7=0;_Q7<_Ct._5K.length;++_Q7)_Kp1(_Ct._5K[_Q7],
body);if(_Ct._Np1)for(_Q7=0;_Q7<_Ct._Np1.length;++_Q7)_Hp1(_Ct,body);return body}var _Qp1={'revolute':_kk1,'distance':_Dl1,'prismatic':_Ql1,'wheel':_Cm1,'rope':_Io1,'motor':_Yn1,'weld':_Am1,'friction':_om1};function _Rp1(_Ct,_W61,_Mb1){if(!_Qp1[_Ct.type])throw new Error("unknown joint type");var _Sp1=new _Qp1[_Ct.type]();switch(_Sp1.type){case _Aa1._2k1:_Sp1._lk1=_Ep1(_Ct._oo1);_Sp1._mk1=_Ep1(_Ct._po1);_Sp1._sk1=_Ct._sk1||!1;_Sp1._tk1=_Ct._tk1||!1;_Sp1._ok1=_Ct._Tp1||0;_Sp1._qk1=_Ct._qk1||0;_Sp1._rk1=_Ct._rk1||0;
_Sp1._nk1=_Ct._Up1||0;_Sp1._pk1=_Ct._Vp1||0;break;case _Aa1._Ub1:_Sp1._lk1=_Ep1(_Ct._oo1);_Sp1._mk1=_Ep1(_Ct._po1);_Sp1._ll1=_Ct._ll1||0;_Sp1._kl1=_Ct._Wp1||0;_Sp1.length=_Ct.length||0;break;case _Aa1._3k1:_Sp1._lk1=_Ep1(_Ct._oo1);_Sp1._mk1=_Ep1(_Ct._po1);_Sp1._sk1=_Ct._sk1||!1;_Sp1._tk1=_Ct._tk1||!1;_Sp1._Rl1=_Ep1(_Ct._Rl1);_Sp1._Sl1=_Ct._Tp1||0;_Sp1._Ul1=_Ct._Ul1||0;_Sp1._rk1=_Ct._rk1||0;_Sp1._nk1=_Ct._Up1||0;_Sp1._Tl1=_Ct._Vp1||0;break;case _Aa1._5k1:_Sp1._lk1=_Ep1(_Ct._oo1);_Sp1._mk1=_Ep1(_Ct._po1);
_Sp1._tk1=_Ct._tk1||!1;_Sp1._Rl1=_Ep1(_Ct._Rl1);_Sp1._qk1=_Ct._qk1||0;_Sp1._rk1=_Ct._rk1||0;_Sp1._ll1=_Ct._Xp1||0;_Sp1._kl1=_Ct._Yp1||0;break;case _Aa1._8k1:_Sp1._lk1=_Ep1(_Ct._oo1);_Sp1._mk1=_Ep1(_Ct._po1);_Sp1._Jo1=_Ct._Jo1||0;break;case _Aa1.__b1:_Sp1._Zn1=_Ep1(_Ct._oo1);_Sp1.__n1=_Ct._Up1||0;_Sp1._jl1=_Ct._jl1||0;_Sp1._pm1=_Ct._pm1||0;_Sp1._0o1=_Ct._0o1||0;break;case _Aa1._6k1:_Sp1._lk1=_Ep1(_Ct._oo1);_Sp1._mk1=_Ep1(_Ct._po1);_Sp1._nk1=_Ct._Up1||0;_Sp1._ll1=_Ct._ll1||0;_Sp1._kl1=_Ct._kl1||0;break;
case _Aa1._7k1:_Sp1._lk1=_Ep1(_Ct._oo1);_Sp1._mk1=_Ep1(_Ct._po1);_Sp1._jl1=_Ct._jl1||0;_Sp1._pm1=_Ct._pm1||0;break;default :throw new Error("wat?");}_Sp1._Ga1=_Mb1[_Ct._Ga1||0];_Sp1._Ha1=_Mb1[_Ct._Ha1||0];_Sp1._Ia1=_Ct._Ia1||!1;var _P81=_W61._za1(_Sp1);_P81.name=_Ct.name;if(_Ct._Np1)for(var _Q7=0;_Q7<_Ct._Np1.length;++_Q7)_Hp1(_Ct,_P81);return _P81}function _Zp1(){this._W61=null;this._K91=0;this._J91=0;this.__p1=0;this._sp1={};this._Mb1={};this._Vj1={};Object.seal(this)}function _0q1(_Ct,_W61){var _qq=new _Zp1();
_qq._W61=_W61=_W61||new _J71(new _eW(0,0));_qq._K91=_Ct._K91||0;_qq._J91=_Ct._J91||0;_qq.__p1=_Ct.__p1||0;if(_Ct._W91)_W61._fb1(_Ep1(_Ct._W91));_W61._3b1(_Ct._Q61||!1);_W61._hb1(_Ct._1q1||!1);_W61._5b1(_Ct._L91||!1);_W61._7b1(_Ct._2q1||!1);_W61._9b1(_Ct._3q1||!1);var _Mb1=[];var _4q1=_Ct.body;if(_4q1){for(var _Q7=0;_Q7<_4q1.length;++_Q7){var body=_Op1(_4q1[_Q7],_W61);_Mb1.push(body);for(var _1t=body._G81();_1t;_1t=_1t._J81()){if(!_qq._sp1[_1t.name])_qq._sp1[_1t.name]=[];_qq._sp1[_1t.name].push(_1t)}if(!_qq._Mb1[body.name])_qq._Mb1[body.name]=[];
_qq._Mb1[body.name].push(body)}}var _Vj1=[];var _5q1=_Ct._P81;if(_5q1){for(_Q7=0;_Q7<_5q1.length;++_Q7){var _P81=_Rp1(_5q1[_Q7],_W61,_Mb1);_Vj1.push(_P81);if(!_qq._Vj1[_P81.name])_qq._Vj1[_P81.name]=[];_qq._Vj1[_P81.name].push(_P81)}}return _qq}var _eg={_0q1:_0q1};return _eg})();var _6q1=[{"trimmed":"version","name":"b2_version","def":_3W},{"trimmed":"Vec2","name":"b2Vec2","def":_eW},{"trimmed":"Vec3","name":"b2Vec3","def":_wW},{"trimmed":"Mat22","name":"b2Mat22","def":_yW},{"trimmed":"Mat33","name":"b2Mat33",
"def":_KW},{"trimmed":"Rot","name":"b2Rot","def":_XW},{"trimmed":"Transform","name":"b2Transform","def":_0X},{"trimmed":"Sweep","name":"b2Sweep","def":_2X},{"trimmed":"Dot_v2_v2","name":"b2Dot_v2_v2","def":_cX},{"trimmed":"Cross_v2_v2","name":"b2Cross_v2_v2","def":_dX},{"trimmed":"Cross_v2_f","name":"b2Cross_v2_f","def":_eX},{"trimmed":"Cross_f_v2","name":"b2Cross_f_v2","def":_fX},{"trimmed":"Mul_m22_v2","name":"b2Mul_m22_v2","def":_gX},{"trimmed":"MulT_m22_v2","name":"b2MulT_m22_v2","def":_hX},
{"trimmed":"Distance","name":"b2Distance","def":_iX},{"trimmed":"DistanceSquared","name":"b2DistanceSquared","def":_jX},{"trimmed":"Dot_v3_v3","name":"b2Dot_v3_v3","def":_OW},{"trimmed":"Cross_v3_v3","name":"b2Cross_v3_v3","def":_PW},{"trimmed":"Mul_m22_m22","name":"b2Mul_m22_m22","def":_kX},{"trimmed":"MulT_m22_m22","name":"b2MulT_m22_m22","def":_lX},{"trimmed":"Mul_m33_v3","name":"b2Mul_m33_v3","def":_mX},{"trimmed":"Mul22_m33_v2","name":"b2Mul22_m33_v2","def":_nX},{"trimmed":"Mul_r_r","name":"b2Mul_r_r",
"def":_oX},{"trimmed":"MulT_r_r","name":"b2MulT_r_r","def":_qX},{"trimmed":"Mul_r_v2","name":"b2Mul_r_v2","def":_rX},{"trimmed":"MulT_r_v2","name":"b2MulT_r_v2","def":_sX},{"trimmed":"Mul_t_v2","name":"b2Mul_t_v2","def":_tX},{"trimmed":"Min_v2","name":"b2Min_v2","def":_FX},{"trimmed":"Max_v2","name":"b2Max_v2","def":_HX},{"trimmed":"Clamp","name":"b2Clamp","def":_IX},{"trimmed":"MulT_t_v2","name":"b2MulT_t_v2","def":_vX},{"trimmed":"Mul_t_t","name":"b2Mul_t_t","def":_wX},{"trimmed":"MulT_t_t","name":"b2MulT_t_t",
"def":_yX},{"trimmed":"Clamp_v2","name":"b2Clamp_v2","def":_LX},{"trimmed":"NextPowerOfTwo","name":"b2NextPowerOfTwo","def":_MX},{"trimmed":"Abs_v2","name":"b2Abs_v2","def":_CX},{"trimmed":"Abs_m22","name":"b2Abs_m22","def":_DX},{"trimmed":"IsPowerOfTwo","name":"b2IsPowerOfTwo","def":_NX},{"trimmed":"RandomFloat","name":"b2RandomFloat","def":_PX},{"trimmed":"Timer","name":"b2Timer","def":_oY},{"trimmed":"Color","name":"b2Color","def":_SX},{"trimmed":"Draw","name":"b2Draw","def":_TX},{"trimmed":"ContactID",
"name":"b2ContactID","def":_n11},{"trimmed":"ManifoldPoint","name":"b2ManifoldPoint","def":_s11},{"trimmed":"Manifold","name":"b2Manifold","def":_x11},{"trimmed":"WorldManifold","name":"b2WorldManifold","def":_J11},{"trimmed":"GetPointStates","name":"b2GetPointStates","def":_321},{"trimmed":"ClipVertex","name":"b2ClipVertex","def":_821},{"trimmed":"RayCastInput","name":"b2RayCastInput","def":_921},{"trimmed":"RayCastOutput","name":"b2RayCastOutput","def":_a21},{"trimmed":"AABB","name":"b2AABB","def":_b21}
,{"trimmed":"CollideCircles","name":"b2CollideCircles","def":_r21},{"trimmed":"CollidePolygonAndCircle","name":"b2CollidePolygonAndCircle","def":_v21},{"trimmed":"FindMaxSeparation","name":"b2FindMaxSeparation","def":_I21},{"trimmed":"FindIncidentEdge","name":"b2FindIncidentEdge","def":_W21},{"trimmed":"CollidePolygons","name":"b2CollidePolygons","def":_531},{"trimmed":"CollideEdgeAndCircle","name":"b2CollideEdgeAndCircle","def":_B31},{"trimmed":"EPAxis","name":"b2EPAxis","def":_P31},{"trimmed":"TempPolygon",
"name":"b2TempPolygon","def":_T31},{"trimmed":"ReferenceFace","name":"b2ReferenceFace","def":_U31},{"trimmed":"EPCollider","name":"b2EPCollider","def":_X31},{"trimmed":"CollideEdgeAndPolygon","name":"b2CollideEdgeAndPolygon","def":_C41},{"trimmed":"ClipSegmentToLine","name":"b2ClipSegmentToLine","def":_y31},{"trimmed":"TestShapeOverlap","name":"b2TestShapeOverlap","def":_L41},{"trimmed":"TestOverlap","name":"b2TestOverlap","def":_C_},{"trimmed":"Shape","name":"b2Shape","def":_uY},{"trimmed":"MassData",
"name":"b2MassData","def":_rY},{"trimmed":"CircleShape","name":"b2CircleShape","def":_OY},{"trimmed":"EdgeShape","name":"b2EdgeShape","def":__Y},{"trimmed":"ChainShape","name":"b2ChainShape","def":_dZ},{"trimmed":"PolygonShape","name":"b2PolygonShape","def":_vZ},{"trimmed":"Pair","name":"b2Pair","def":_9_},{"trimmed":"PairLessThan","name":"b2PairLessThan","def":_c_},{"trimmed":"BroadPhase","name":"b2BroadPhase","def":_f_},{"trimmed":"DistanceProxy","name":"b2DistanceProxy","def":_X_},{"trimmed":"SimplexCache",
"name":"b2SimplexCache","def":_201},{"trimmed":"DistanceInput","name":"b2DistanceInput","def":_601},{"trimmed":"DistanceOutput","name":"b2DistanceOutput","def":_c01},{"trimmed":"SimplexVertex","name":"b2SimplexVertex","def":_g01},{"trimmed":"Simplex","name":"b2Simplex","def":_j01},{"trimmed":"DistanceFunc","name":"b2DistanceFunc","def":_511},{"trimmed":"TreeNode","name":"b2TreeNode","def":_P41},{"trimmed":"DynamicTree","name":"b2DynamicTree","def":_h_},{"trimmed":"TOIInput","name":"b2TOIInput","def":_V51}
,{"trimmed":"TOIOutput","name":"b2TOIOutput","def":_Z51},{"trimmed":"SeparationFunction","name":"b2SeparationFunction","def":_361},{"trimmed":"TimeOfImpact","name":"b2TimeOfImpact","def":_r61},{"trimmed":"BodyDef","name":"b2BodyDef","def":_J61},{"trimmed":"Body","name":"b2Body","def":_K61},{"trimmed":"Filter","name":"b2Filter","def":_R81},{"trimmed":"FixtureDef","name":"b2FixtureDef","def":_y71},{"trimmed":"Fixture","name":"b2Fixture","def":_A71},{"trimmed":"DestructionListener","name":"b2DestructionListener",
"def":_j91},{"trimmed":"ContactFilter","name":"b2ContactFilter","def":_o91},{"trimmed":"ContactImpulse","name":"b2ContactImpulse","def":_s91},{"trimmed":"ContactListener","name":"b2ContactListener","def":_v91},{"trimmed":"QueryCallback","name":"b2QueryCallback","def":_B91},{"trimmed":"RayCastCallback","name":"b2RayCastCallback","def":_E91},{"trimmed":"TimeStep","name":"b2TimeStep","def":_F91},{"trimmed":"Position","name":"b2Position","def":_M91},{"trimmed":"Velocity","name":"b2Velocity","def":_N91}
,{"trimmed":"SolverData","name":"b2SolverData","def":_O91},{"trimmed":"World","name":"b2World","def":_J71},{"trimmed":"MixFriction","name":"b2MixFriction","def":_2h1},{"trimmed":"MixRestitution","name":"b2MixRestitution","def":_5h1},{"trimmed":"ContactRegister","name":"b2ContactRegister","def":_8h1},{"trimmed":"ContactEdge","name":"b2ContactEdge","def":_ah1},{"trimmed":"Contact","name":"b2Contact","def":_kb1},{"trimmed":"CircleContact","name":"b2CircleContact","def":_zh1},{"trimmed":"PolygonContact",
"name":"b2PolygonContact","def":_Ih1},{"trimmed":"ChainAndCircleContact","name":"b2ChainAndCircleContact","def":_Dh1},{"trimmed":"ChainAndPolygonContact","name":"b2ChainAndPolygonContact","def":_Eh1},{"trimmed":"EdgeAndCircleContact","name":"b2EdgeAndCircleContact","def":_Fh1},{"trimmed":"EdgeAndPolygonContact","name":"b2EdgeAndPolygonContact","def":_Gh1},{"trimmed":"PolygonAndCircleContact","name":"b2PolygonAndCircleContact","def":_Hh1},{"trimmed":"defaultFilter","name":"b2_defaultFilter","def":_Sh1}
,{"trimmed":"defaultListener","name":"b2_defaultListener","def":_Th1},{"trimmed":"ContactManager","name":"b2ContactManager","def":_X91},{"trimmed":"VelocityConstraintPoint","name":"b2VelocityConstraintPoint","def":_Yh1},{"trimmed":"ContactPositionConstraint","name":"b2ContactPositionConstraint","def":_1i1},{"trimmed":"ContactVelocityConstraint","name":"b2ContactVelocityConstraint","def":_9i1},{"trimmed":"PositionSolverManifold","name":"b2PositionSolverManifold","def":_di1},{"trimmed":"ContactSolverDef",
"name":"b2ContactSolverDef","def":_gi1},{"trimmed":"ContactSolver","name":"b2ContactSolver","def":_ii1},{"trimmed":"Island","name":"b2Island","def":_ca1},{"trimmed":"Jacobian","name":"b2Jacobian","def":_Pj1},{"trimmed":"JointEdge","name":"b2JointEdge","def":_Sj1},{"trimmed":"JointDef","name":"b2JointDef","def":_Tj1},{"trimmed":"Joint","name":"b2Joint","def":_Aa1},{"trimmed":"RevoluteJointDef","name":"b2RevoluteJointDef","def":_kk1},{"trimmed":"RevoluteJoint","name":"b2RevoluteJoint","def":_ck1},
{"trimmed":"MouseJointDef","name":"b2MouseJointDef","def":_il1},{"trimmed":"MouseJoint","name":"b2MouseJoint","def":_ak1},{"trimmed":"DistanceJointDef","name":"b2DistanceJointDef","def":_Dl1},{"trimmed":"DistanceJoint","name":"b2DistanceJoint","def":_9k1},{"trimmed":"PrismaticJointDef","name":"b2PrismaticJointDef","def":_Ql1},{"trimmed":"PrismaticJoint","name":"b2PrismaticJoint","def":_bk1},{"trimmed":"FrictionJointDef","name":"b2FrictionJointDef","def":_om1},{"trimmed":"FrictionJoint","name":"b2FrictionJoint",
"def":_hk1},{"trimmed":"WeldJointDef","name":"b2WeldJointDef","def":_Am1},{"trimmed":"WeldJoint","name":"b2WeldJoint","def":_gk1},{"trimmed":"WheelJointDef","name":"b2WheelJointDef","def":_Cm1},{"trimmed":"WheelJoint","name":"b2WheelJoint","def":_fk1},{"trimmed":"GearJointDef","name":"b2GearJointDef","def":_Sm1},{"trimmed":"GearJoint","name":"b2GearJoint","def":_ek1},{"trimmed":"MotorJointDef","name":"b2MotorJointDef","def":_Yn1},{"trimmed":"MotorJoint","name":"b2MotorJoint","def":_jk1},{"trimmed":"PulleyJointDef",
"name":"b2PulleyJointDef","def":_ho1},{"trimmed":"PulleyJoint","name":"b2PulleyJoint","def":_dk1},{"trimmed":"RopeJointDef","name":"b2RopeJointDef","def":_Io1},{"trimmed":"RopeJoint","name":"b2RopeJoint","def":_ik1},{"trimmed":"RopeDef","name":"b2RopeDef","def":_So1},{"trimmed":"Rope","name":"b2Rope","def":_Wo1},{"trimmed":"maxManifoldPoints","name":"b2_maxManifoldPoints","def":_vV},{"trimmed":"maxPolygonVertices","name":"b2_maxPolygonVertices","def":_wV},{"trimmed":"aabbExtension","name":"b2_aabbExtension",
"def":_xV},{"trimmed":"aabbMultiplier","name":"b2_aabbMultiplier","def":_yV},{"trimmed":"linearSlop","name":"b2_linearSlop","def":_zV},{"trimmed":"angularSlop","name":"b2_angularSlop","def":_AV},{"trimmed":"polygonRadius","name":"b2_polygonRadius","def":_BV},{"trimmed":"maxSubSteps","name":"b2_maxSubSteps","def":_CV},{"trimmed":"maxTOIContacts","name":"b2_maxTOIContacts","def":_DV},{"trimmed":"velocityThreshold","name":"b2_velocityThreshold","def":_EV},{"trimmed":"maxLinearCorrection","name":"b2_maxLinearCorrection",
"def":_FV},{"trimmed":"maxAngularCorrection","name":"b2_maxAngularCorrection","def":_GV},{"trimmed":"maxTranslation","name":"b2_maxTranslation","def":_HV},{"trimmed":"maxTranslationSquared","name":"b2_maxTranslationSquared","def":_IV},{"trimmed":"maxRotation","name":"b2_maxRotation","def":_JV},{"trimmed":"maxRotationSquared","name":"b2_maxRotationSquared","def":_KV},{"trimmed":"baumgarte","name":"b2_baumgarte","def":_LV},{"trimmed":"toiBaugarte","name":"b2_toiBaugarte","def":_MV},{"trimmed":"timeToSleep",
"name":"b2_timeToSleep","def":_NV},{"trimmed":"linearSleepTolerance","name":"b2_linearSleepTolerance","def":_OV},{"trimmed":"angularSleepTolerance","name":"b2_angularSleepTolerance","def":_PV},{"trimmed":"epsilon","name":"b2_epsilon","def":_tV},{"trimmed":"JsonSerializer","name":"b2JsonSerializer","def":_np1},{"trimmed":"RUBELoader","name":"b2RUBELoader","def":_Dp1},{"trimmed":"Profiler","name":"b2Profiler","def":_8V},{"trimmed":"ParticleDef","name":"b2ParticleDef","def":_sd1},{"trimmed":"ParticleColor",
"name":"b2ParticleColor","def":_jd1},{"trimmed":"ParticleGroupDef","name":"b2ParticleGroupDef","def":_Dd1},{"trimmed":"ParticleGroup","name":"b2ParticleGroup","def":_Hd1},{"trimmed":"ParticleSystem","name":"b2ParticleSystem","def":_ea1}];if(typeof(b2_compatibility)!=="undefined"&&typeof(window)!=="undefined"){for(var _Q7=0;_Q7<_6q1.length;++_Q7)window[_6q1[_Q7]["name"]]=_6q1[_Q7]["def"]}else {var _Zu={};for(var _Q7=0;_Q7<_6q1.length;++_Q7)_Zu[_6q1[_Q7]["trimmed"]]=_6q1[_Q7]["def"];if(typeof(module)!=="undefined")module._7q1=_Zu;
else window["b2"]=_Zu;}})();function _8q1(){var _9q1="#define MATRIX_VIEW 0\n"+"#define MATRIX_PROJECTION 1\n"+"#define MATRIX_WORLD 2\n"+"#define MATRIX_WORLD_VIEW 3\n"+"#define MATRIX_WORLD_VIEW_PROJECTION 4\n"+"#define MATRICES_MAX 5\n"+"#define FOG_SETTINGS 0\n"+"#define FOG_COLOUR 1\n"+"\n"+"uniform mat4 matrices[MATRICES_MAX];\n"+"uniform vec4 fogParameters[2];\n"+"\n"+"attribute vec3 vertex;\n"+"attribute vec4 color;\n"+"attribute vec2 UV;\n"+"\n"+"varying vec4 fcolor;\n"+"varying vec2 texc;\n"+"varying vec4 fogColor;\n"+"varying float fogFactor;\n"+"\n"+"float CalcFogFactor(vec4 pos)\n"+"{\n"+"	vec4 viewpos = matrices[MATRIX_WORLD_VIEW] * pos;\n"+"   vec4 fogParams = fogParameters[FOG_SETTINGS];\n"+"	return (1.0 - ((fogParams.z - viewpos.z) * fogParams.y)) * fogParams.x;\n"+"}\n"+"\n"+"void main(void)\n"+"{\n"+"    fcolor = color;\n"+"    texc   = UV;\n"+"    vec4 pos = vec4(vertex.xyz, 1);\n"+"    fogFactor = CalcFogFactor(pos);\n"+"    fogColor = vec4(fogParameters[FOG_COLOUR].xyz, 1);\n"+"    gl_Position = matrices[MATRIX_WORLD_VIEW_PROJECTION] * pos;\n"+"    gl_PointSize = 1.0;\n"+"}";
return _9q1}function _aq1(){var _bq1="precision highp float;\n"+"uniform sampler2D pTexure;\n"+"uniform bool alphaTestEnabled;\n"+"uniform float alphaRefValue;"+"\n"+"varying vec4 fcolor;\n"+"varying vec2 texc;\n"+"varying vec4 fogColor;\n"+"varying float fogFactor;\n"+"\n"+"void DoAlphaTest(vec4 SrcColour)\n"+"{\n"+"    if (alphaTestEnabled)\n"+"    {\n"+"        if (SrcColour.a <= alphaRefValue)\n"+"        {\n"+"	        discard;\n"+"        }\n"+"    }\n"+"}\n"+"\n"+"void main(void)\n"+"{\n"+"    vec4 color   = texture2D(pTexure, texc).rgba * fcolor.rgba;\n"+"    DoAlphaTest(color);\n"+"    gl_FragColor = vec4(mix(color.rgb, fogColor.rgb, fogFactor), color.a);\n"+"}\n";
return _bq1}function _cq1(){var _dq1="#define LIGHTS_MAX 8\n"+"#define MATRIX_VIEW 0\n"+"#define MATRIX_PROJECTION 1\n"+"#define MATRIX_WORLD 2\n"+"#define MATRIX_WORLD_VIEW 3\n"+"#define MATRIX_WORLD_VIEW_PROJECTION 4\n"+"#define MATRICES_MAX 5\n"+"#define FOG_SETTINGS 0\n"+"#define FOG_COLOUR 1\n"+"\n"+"uniform mat4 matrices[MATRICES_MAX];\n"+"uniform vec4 fogParameters[2];\n"+"\n"+"uniform vec4 dirlightdir[LIGHTS_MAX];\n"+"uniform vec4 pointlightpos[LIGHTS_MAX];\n"+"uniform vec4 lightcol[LIGHTS_MAX];\n"+"uniform vec4 ambientcol;\n"+"\n"+"attribute vec3 vertex;\n"+"attribute vec3 normal;\n"+"attribute vec4 color;\n"+"attribute vec2 UV;\n"+"\n"+"varying vec4 fcolor;\n"+"varying vec2 texc;\n"+"varying vec4 fogColor;\n"+"varying float fogFactor;\n"+"\n"+"float CalcFogFactor(vec4 pos)\n"+"{\n"+"	vec4 viewpos = matrices[MATRIX_WORLD_VIEW] * pos;\n"+"   vec4 fogParams = fogParameters[FOG_SETTINGS];\n"+"	return (1.0 - ((fogParams.z - viewpos.z) * fogParams.y)) * fogParams.x;\n"+"}\n"+"\n"+"vec4 DoDirLight(vec3 ws_normal, vec4 dir, vec4 diffusecol)\n"+"{\n"+"    float dotresult = dot(ws_normal, dir.xyz);\n"+"    dotresult = max(0.0, dotresult);\n"+"    return dotresult * diffusecol;\n"+"}\n"+"\n"+"vec4 DoPointLight(vec3 ws_pos, vec3 ws_normal, vec4 posrange, vec4 diffusecol)\n"+"{\n"+"	float atten = 0.0;\n"+"\n"+"	vec3 diffvec = ws_pos - posrange.xyz;\n"+"	float veclen = length(diffvec);\n"+"	if (veclen <= posrange.w)\n"+"	{\n"+"        atten = 1.0 / (1.0 + (veclen / posrange.w));\n"+"	}\n"+"\n"+"	diffvec /= veclen;\n"+"	float dotresult = dot(ws_normal, diffvec);\n"+"	dotresult = max(0.0, dotresult);\n"+"\n"+"	return (diffusecol * dotresult * atten);\n"+"}\n"+"\n"+"vec4 DoLighting(vec4 vertexcolour, vec4 objectspacepos, vec3 objectspacenormal)\n"+"{\n"+"    vec3 ws_normal;\n"+"    vec3 ws_pos;\n"+"    vec4 objectspacenormal4 = vec4(objectspacenormal, 0.0);\n"+"\n"+"    ws_normal = (matrices[MATRIX_WORLD] * objectspacenormal4).xyz;\n"+"    ws_normal = -normalize(ws_normal);\n"+"    ws_pos = (matrices[MATRIX_WORLD] * objectspacepos).xyz;\n"+"\n"+"    vec4 accumcol = vec4(0.0, 0.0, 0.0, 0.0);\n"+"    for(int i = 0; i < LIGHTS_MAX; i++)\n"+"    {\n"+"    	accumcol += DoDirLight(ws_normal, dirlightdir[i], lightcol[i]);\n"+"    }\n"+"    for(int i = 0; i < LIGHTS_MAX; i++)\n"+"    {\n"+"    	accumcol += DoPointLight(ws_pos, ws_normal, pointlightpos[i], lightcol[i]);\n"+"    }\n"+"    accumcol *= vertexcolour;\n"+"    accumcol += ambientcol;\n"+"    return min(vec4(1.0, 1.0, 1.0, 1.0), accumcol);\n"+"}\n"+"\n"+"void main(void)\n"+"{\n"+"    vec4 pos = vec4(vertex.xyz, 1);\n"+"    vec4 lcolor = DoLighting(color, pos, normal);\n"+"    fcolor = vec4(lcolor.xyz, 1);\n"+"    fogFactor = CalcFogFactor(pos);\n"+"    fogColor = vec4(fogParameters[FOG_COLOUR].xyz, 1);\n"+"    texc = UV;\n"+"    gl_Position = matrices[MATRIX_WORLD_VIEW_PROJECTION] * pos;\n"+"    gl_PointSize = 1.0;\n"+"}";
return _dq1}function _eq1(){var _bq1="precision highp float;\n"+"uniform sampler2D pTexure;\n"+"uniform bool alphaTestEnabled;\n"+"uniform float alphaRefValue;"+"\n"+"varying vec4 fcolor;\n"+"varying vec2 texc;\n"+"varying vec4 fogColor;\n"+"varying float fogFactor;\n"+"\n"+"void DoAlphaTest(vec4 SrcColour)\n"+"{\n"+"    if (alphaTestEnabled)\n"+"    {\n"+"        if (SrcColour.a <= alphaRefValue)\n"+"        {\n"+"	        discard;\n"+"        }\n"+"    }\n"+"}\n"+"\n"+"\n"+"void main(void)\n"+"{\n"+"    vec4 color   = texture2D( pTexure, texc ).rgba * fcolor.rgba;\n"+"    DoAlphaTest(color);\n"+"    gl_FragColor = vec4(mix(color.rgb, fogColor.rgb, fogFactor), color.a);\n"+"}\n";
return _bq1}/*@constructor */function _fq1(_gq1,_NS){var _hq1=null;var _iq1=null,_jq1=null,_kq1=null;var _lq1=0;var _mq1,_nq1,_oq1;var _pq1,_qq1,_rq1=[];var _sq1,_tq1,_uq1,_vq1;var _wq1,_xq1;var _yq1=0;Object.defineProperties(this,{_zq1:{get:function(){return _hq1}},_Aq1:{get:function(){return(_hq1!==null&&_hq1!==undefined)}},_hq:{get:function(){return _kq1}},_ma:{get:function(){return _pq1}},_5c:{get:function(){return _qq1}},_Bq1:{get:function(){return _mq1}},_Cq1:{get:function(){return _nq1}},_Dq1:{get:function(){
return _sq1}},_Eq1:{get:function(){return _tq1}},_Fq1:{get:function(){return _uq1},set:function(_Cd){_uq1=_Cd}},_Gq1:{get:function(){return _vq1},set:function(_Cd){_vq1=_Cd}},_3r:{get:function(){return _wq1}}});(function(){_hq1=_Hq1(_gq1,_NS);if(_hq1){_Iq1(_hq1);var _Jq1=_hq1.getParameter(_hq1.MAX_TEXTURE_IMAGE_UNITS);_wq1=(_Jq1<_ka._Kq1)?_Jq1:_ka._Kq1;_xq1=_hq1.getParameter(_hq1.MAX_TEXTURE_SIZE);_jq1=new _Lq1(_NS._Mq1);_kq1=new _Nq1(_wq1,32,_jq1,_NS._Mq1);_iq1=new _Oq1(_jq1,_kq1);_Pq1();_Qq1();_Rq1();_jq1._lo(_mq1)}
})();function _Iq1(_Sq1){_Lq1.prototype._Sq1=_Sq1;_Oq1.prototype._Sq1=_Sq1;_Pb.prototype._Sq1=_Sq1;_Tq1.prototype._Sq1=_Sq1;_Uq1.prototype._Sq1=_Sq1;_Vq1.prototype._Sq1=_Sq1};function _Wq1(){var userAgent=navigator.userAgent.toString().toLowerCase();var _Xq1=userAgent.indexOf("trident/");if(_Xq1>=0){var version=parseFloat(userAgent.slice(_Xq1+"trident/".length));if(version==7){return true}}return false};function _Hq1(_gq1,_NS){if(_Wq1())return null;var _Yq1=null;var _Zq1=["webgl","experimental-webgl","moz-webgl",
"webkit-3d"];{for(var _Q7=0;_Q7<_Zq1.length;_Q7++){try{var __q1={alpha:true,stencil:_NS._0r1,antialias:false,premultipliedAlpha:false,preserveDrawingBuffer:_NS._1r1};_Yq1=_gq1.getContext(_Zq1[_Q7],__q1);if(_Yq1){break }}catch(_Ou){return null}}}if(_Yq1){_sq1=_gq1.width;_tq1=_gq1.height;_uq1=_sq1;_vq1=_tq1}return _Yq1};function _Pq1(){var _2r1=new _Uq1(),_3r1=new _Uq1();_2r1._4r1();_2r1._5r1();_2r1._6r1();_3r1._4r1();_3r1._5r1();_3r1._6r1();_3r1._7r1();_pq1=_rq1.push(_2r1)-1;_qq1=_rq1.push(_3r1)-1;_iq1._8r1(_pq1);
_iq1._8r1(_qq1);_2r1._9r1=_3r1._9r1=true};/*@this {yyWebGL} */this._ar1=function(_br1){for(var _Q7 in _rq1){if(!_rq1.hasOwnProperty(_Q7))continue;if(_rq1[_Q7]._vW(_br1)){return _Q7}}var _cr1=_rq1.push(_br1)-1;_iq1._8r1(_cr1);return _cr1};/*@this {yyWebGL} */this._Rb=function(_Kc){return _rq1[_Kc]};function _dr1(_er1){while(((_er1&0x1)==0)&&(_er1>1)){_er1>>=1}return(_er1==1)};/*@this {yyWebGL} */this._fr1=function(){return _xq1};/*@this {yyWebGL} */this._gr1=function(_hr1,_ir1,_jr1,_kr1){_iq1._NQ();_jq1._gr1(_hr1,
_ir1,_jr1,_kr1)};function _lr1(_mr1,type,source){var _ps=_hq1.createShader((type=='vertex')?_hq1.VERTEX_SHADER:_hq1.FRAGMENT_SHADER);_hq1.shaderSource(_ps,source);_hq1.compileShader(_ps);if(!_hq1.getShaderParameter(_ps,_hq1.COMPILE_STATUS)){alert("Could not compile "+type+" shader:\n\n"+_hq1.getShaderInfoLog(_ps));console.log("----------------Shader Begin----------------");console.log(source);console.log("-----------------Shader END----------------");return;}_hq1.attachShader(_mr1,_ps)};function _Qq1(){
var _dq1=_8q1();var _bq1=_aq1();var _nr1=_hq1.createProgram();var error=_hq1.getError();_lr1(_nr1,"vertex",_dq1);_lr1(_nr1,"fragment",_bq1);_hq1.linkProgram(_nr1);error=_hq1.getError();if(!_hq1.getProgramParameter(_nr1,_hq1.LINK_STATUS)){alert("Could not initialise shaders\n\n");return false}_hq1.useProgram(_nr1);_mq1=_nr1;_nr1._or1=_hq1.getAttribLocation(_nr1,"vertex");_nr1._pr1=_hq1.getAttribLocation(_nr1,"normal");_nr1._qr1=_hq1.getAttribLocation(_nr1,"color");_nr1._rr1=_hq1.getAttribLocation(_nr1,
"UV");_nr1._sr1=_hq1.getUniformLocation(_nr1,"pTexure");_nr1._tr1=_hq1.getUniformLocation(_nr1,"matrices");_nr1._ur1=_hq1.getUniformLocation(_nr1,"fogParameters");_nr1._vr1=_hq1.getUniformLocation(_nr1,"alphaTestEnabled");_nr1._wr1=_hq1.getUniformLocation(_nr1,"alphaRefValue");_nr1._xr1=[];_nr1._xr1.push(_hq1.getAttribLocation(_nr1,"vertex"));_nr1._xr1.push(_hq1.getAttribLocation(_nr1,"color"));_nr1._xr1.push(_hq1.getAttribLocation(_nr1,"UV"));_nr1._xr1=[];_nr1._yr1=[];_nr1._zr1=[];if(_nr1._or1!=-1){
_nr1._xr1.push(_nr1._or1);_nr1._yr1.push("vertex");_nr1._zr1.push(_ka._Pc)}if(_nr1._pr1!=-1){_nr1._xr1.push(_nr1._pr1);_nr1._yr1.push("normal");_nr1._zr1.push(_ka._3d)}if(_nr1._qr1!=-1){_nr1._xr1.push(_nr1._qr1);_nr1._yr1.push("color");_nr1._zr1.push(_ka._Uc)}if(_nr1._rr1!=-1){_nr1._xr1.push(_nr1._rr1);_nr1._yr1.push("UV");_nr1._zr1.push(_ka._1d)}_nr1._Ar1=_yq1++;return true};function _Rq1(){var _9q1=_cq1();var _bq1=_eq1();var _nr1=_hq1.createProgram();var error=_hq1.getError();_lr1(_nr1,"vertex",_9q1);
_lr1(_nr1,"fragment",_bq1);_hq1.linkProgram(_nr1);error=_hq1.getError();if(!_hq1.getProgramParameter(_nr1,_hq1.LINK_STATUS)){alert("Could not initialise 3D shader\n\n");return false}_hq1.useProgram(_nr1);_nr1._Br1=_hq1.getUniformLocation(_nr1,"ViewMatrix");_nq1=_nr1;_nr1._or1=_hq1.getAttribLocation(_nr1,"vertex");_nr1._pr1=_hq1.getAttribLocation(_nr1,"normal");_nr1._qr1=_hq1.getAttribLocation(_nr1,"color");_nr1._rr1=_hq1.getAttribLocation(_nr1,"UV");_nr1._sr1=_hq1.getUniformLocation(_nr1,"pTexure");
_nr1._tr1=_hq1.getUniformLocation(_nr1,"matrices");_nr1._Cr1=_hq1.getUniformLocation(_nr1,"dirlightdir");_nr1._Dr1=_hq1.getUniformLocation(_nr1,"pointlightpos");_nr1._Er1=_hq1.getUniformLocation(_nr1,"lightcol");_nr1._Fr1=_hq1.getUniformLocation(_nr1,"ambientcol");_nr1._ur1=_hq1.getUniformLocation(_nr1,"fogParameters");_nr1._vr1=_hq1.getUniformLocation(_nr1,"alphaTestEnabled");_nr1._wr1=_hq1.getUniformLocation(_nr1,"alphaRefValue");_nr1._xr1=[];_nr1._yr1=[];_nr1._zr1=[];if(_nr1._or1!=-1){_nr1._xr1.push(_nr1._or1);
_nr1._yr1.push("vertex");_nr1._zr1.push(_ka._Pc)}if(_nr1._pr1!=-1){_nr1._xr1.push(_nr1._pr1);_nr1._yr1.push("normal");_nr1._zr1.push(_ka._3d)}if(_nr1._qr1!=-1){_nr1._xr1.push(_nr1._qr1);_nr1._yr1.push("color");_nr1._zr1.push(_ka._Uc)}if(_nr1._rr1!=-1){_nr1._xr1.push(_nr1._rr1);_nr1._yr1.push("UV");_nr1._zr1.push(_ka._1d)}_nr1._Ar1=_yq1++;return true};/*@this {yyWebGL} */this._Gr1=function(_Hr1,_Ir1,_Jr1){if(_Hr1=="None"||_Ir1=="None"){var _Kr1={_Lr1:null,_Mr1:null};return _Kr1}var _nr1=_hq1.createProgram();
var error=_hq1.getError();_lr1(_nr1,"vertex",_Hr1);_lr1(_nr1,"fragment",_Ir1);_hq1.linkProgram(_nr1);error=_hq1.getError();if(!_hq1.getProgramParameter(_nr1,_hq1.LINK_STATUS)){var _Kr1={_Lr1:null,_Mr1:null};return _Kr1}_hq1.useProgram(_nr1);_nr1._tr1=_hq1.getUniformLocation(_nr1,"gm_Matrices");_nr1._Cr1=_hq1.getUniformLocation(_nr1,"gm_Lights_Direction");_nr1._Dr1=_hq1.getUniformLocation(_nr1,"gm_Lights_PosRange");_nr1._Er1=_hq1.getUniformLocation(_nr1,"gm_Lights_Colour");_nr1._Fr1=_hq1.getUniformLocation(_nr1,
"gm_AmbientColour");_nr1._or1=_hq1.getAttribLocation(_nr1,"in_Position");_nr1._pr1=_hq1.getAttribLocation(_nr1,"in_Normal");_nr1._qr1=_hq1.getAttribLocation(_nr1,"in_Colour");_nr1._rr1=_hq1.getAttribLocation(_nr1,"in_TextureCoord");_nr1._xr1=[];_nr1._zr1=[];for(var _Nr1=0;_Nr1<_Jr1.length;_Nr1++){_nr1._xr1.push(_hq1.getAttribLocation(_nr1,_Jr1[_Nr1]));switch(_Jr1[_Nr1]){case "in_Position":_nr1._zr1.push(_ka._Pc);break;case "in_Normal":_nr1._zr1.push(_ka._3d);break;case "in_Colour":_nr1._zr1.push(_ka._Uc);
break;case "in_TextureCoord":_nr1._zr1.push(_ka._1d);break;default :_nr1._zr1.push(_ka._1d);break }}_nr1._yr1=_Jr1;var _Or1="gm_BaseTexture";var _2r=[_Or1];var _Pr1=0;var _Qr1=[];var _Rr1=_hq1.getUniformLocation(_nr1,_Or1);_hq1.uniform1iv(_Rr1,[_Pr1++]);_nr1._sr1=_Rr1;_nr1._Sr1={_Tr1:[]};for(var _w9=0,_Ur1=_hq1.getProgramParameter(_nr1,_hq1.ACTIVE_UNIFORMS);_w9<_Ur1;_w9++){var _Vr1=1;var _Wr1=_hq1.getActiveUniform(_nr1,_w9),_Xr1=_Wr1["name"];if(_Wr1["size"]>1){var _Ki=_Xr1.indexOf('[');if(_Ki>0){_Xr1=_Xr1.substring(0,
_Ki)}}if((_Wr1["type"]==_hq1.SAMPLER_2D)||(_Wr1["type"]==_hq1.SAMPLER_CUBE)){if(_Xr1!=_Or1){_2r[_Pr1]=_Xr1;var _Nr1=_hq1.getUniformLocation(_nr1,_Xr1);_hq1.uniform1iv(_Nr1,[_Pr1++])}}else {switch(_Wr1["type"]){case _hq1.FLOAT:_Vr1=1;break;case _hq1._Yr1:_Vr1=1;break;case _hq1.INT:_Vr1=1;break;case _hq1._Zr1:_Vr1=1;break;case _hq1.FLOAT_VEC2:_Vr1=2;break;case _hq1.FLOAT_VEC3:_Vr1=3;break;case _hq1.FLOAT_VEC4:_Vr1=4;break;case _hq1.INT_VEC2:_Vr1=2;break;case _hq1.INT_VEC3:_Vr1=3;break;case _hq1.INT_VEC4:_Vr1=4;
break;case _hq1.__r1:_Vr1=2;break;case _hq1._0s1:_Vr1=3;break;case _hq1._1s1:_Vr1=4;break;case _hq1.FLOAT_MAT2:_Vr1=4;break;case _hq1.FLOAT_MAT3:_Vr1=9;break;case _hq1.FLOAT_MAT4:_Vr1=16;break;default :_Vr1=1}}_nr1._Sr1._Tr1[_w9]=_Xr1;_nr1._Sr1[_Xr1]={index:_w9,location:_hq1.getUniformLocation(_nr1,_Xr1),_2s1:_Wr1,width:_Vr1,_u7:_Wr1._u7};_nr1._Sr1[_w9]=_nr1._Sr1[_Xr1];_nr1._e11=_Hr1;_nr1._3s1=_Ir1}_nr1._Ar1=_yq1++;_Kr1={_Lr1:_nr1,_Mr1:_2r};return _Kr1;};/*@this {yyWebGL} */this._4s1=function(){_lq1++};
/*@this {yyWebGL} */this._5s1=function(){_iq1._NQ();_jq1._d6=_lq1;_jq1._6s1();_jq1._mw();_hq1.clearColor(1,1,1,1);_hq1.colorMask(false,false,false,true);_hq1.clear(_hq1.COLOR_BUFFER_BIT);_hq1.colorMask(true,true,true,true)};/*@this {yyWebGL} */this._7s1=function(){_iq1._NQ();_jq1._6s1()};/*@this {yyWebGL} */this._8s1=function(_2g,_Iq){_kq1._iq(_ka._yq,_2g);_kq1._iq(_ka._Aq,_Iq);_kq1._iq(_ka._Cq,_2g);_kq1._iq(_ka._Dq,_Iq)};this._9s1=function(_io){_kq1._iq(_ka._jq,_io)};/*@this {yyWebGL} */this._6o=function(_as1){
_kq1._iq(_ka._kq,_as1)};/*@this {yyWebGL} */this._ao=function(_as1){_kq1._iq(_ka._wq,_as1?_ka._bs1:_ka._cs1)};/*@this {yyWebGL} */this._ds1=function(_es1){};/*@this {yyWebGL} */this._8o=function(_as1){_kq1._iq(_ka._nq,_as1)};/*@this {yyWebGL} *//*@this {yyWebGL} */this._ho=function(_fs1,_gs1,_hs1,_is1){var _Wq={_Ei:_fs1,_Fi:_gs1,_Gi:_hs1,alpha:_is1};_kq1._iq(_ka._Xq,_Wq)};/*@this {yyWebGL} */this._2p=function(_M6,_js1,_ks1,_ls1){_iq1._NQ();_jq1._2p(_M6,_js1,_ks1,_ls1)};/*@this {yyWebGL} */this._6p=function(_M6,
_as1,_ms1){_iq1._NQ();_jq1._6p(_M6,_as1,_ms1)};/*@this {yyWebGL} */this._7p=function(_ms1){_iq1._NQ();_jq1._ns1(_ms1)};/*@this {yyWebGL} */this._9p=function(_os1){var _ps1=_os1[0];var end=_os1[2];var start=end;if(_os1[1]!=0.0)start=end-(1.0/_os1[1]);var _a4=(_os1[4]*255)|((_os1[5]*255)<<8)|((_os1[6]*255)<<16)|((_os1[7]*255)<<24);_kq1._iq(_ka._rq,_ps1);_kq1._iq(_ka._tq,start);_kq1._iq(_ka._uq,end);_kq1._iq(_ka._sq,_a4)};/*@this {yyWebGL} */this._qs1=function(_io,_rs1){_kq1._iq(_ka._Yq,_io);_kq1._iq(_ka.__q,
(_rs1*255)|0)};/*@this {yyWebGL} */this._ss1=function(_ts1,_us1){if(_us1){_kq1._4r(_ts1,_ka._br,_ka._cr);_kq1._4r(_ts1,_ka._dr,_ka._cr)}else {_kq1._4r(_ts1,_ka._br,_ka._er);_kq1._4r(_ts1,_ka._dr,_ka._er)}};/*@this {yyWebGL} */this._vs1=function(_ts1,_ws1){_kq1._4r(_ts1,_ka._5r,_ws1);_kq1._4r(_ts1,_ka._7r,_ws1)};/*@this {yyWebGL} */this._xs1=function(){return _wq1};/*@this {yyWebGL} */this._ys1=function(_io){_kq1._iq(_ka._zs1,_io)};/*@this {yyWebGL} */this._As1=function(__s){_kq1._iq(_ka._Bs1,__s)}
;/*@this {yyWebGL} */this._Cs1=function(_Ds1){_kq1._iq(_ka._Es1,_Ds1)};/*@this {yyWebGL} */this._Fs1=function(_Gs1){_kq1._iq(_ka._Hs1,_Gs1)};/*@this {yyWebGL} */this._lo=function(_Is1){_iq1._NQ();_jq1._lo(_Is1);_oq1=_Is1};/*@this {yyWebGL} */this._Js1=function(_Is1,_Ks1){var _Ls1=_Is1._Sr1[_Ks1];if(_Ls1){return _Ls1.index}return -1};/*@this {yyWebGL} */this._Ms1=function(_JM,_Ns1){if(_JM!=-1){_iq1._NQ();_jq1._Ms1(_JM,_Ns1)}};/*@this {yyWebGL} */this._Os1=function(_JM,_Ns1){if(_JM!=-1){_iq1._NQ();_jq1._Os1(_JM,
_Ns1)}};/*@this {yyWebGL} */this._Ps1=function(_JM,_Ns1){if(_JM!=-1){_iq1._NQ();_jq1._Ps1(_JM,_Ns1)}};/*@this {yyWebGL} */this._Qs1=function(_JM,_Ns1){var width=_oq1._Sr1[_JM].width;var _u7=_oq1._Sr1[_JM]._u7;var _Qr1;var _H7=_Ns1.length;var _Rs1=(_H7+width)-((_H7+width)%width);if(_Rs1>(width*_u7))_Rs1=width*_u7;if(_H7==_Rs1){_Qr1=new Float32Array(_Ns1)}else {_Qr1=new Float32Array(_Rs1);if(_Rs1<_H7)_H7=_Rs1;for(var _Q7=0;_Q7<_H7;_Q7++){_Qr1[_Q7]=_Ns1[_Q7]}}return _Qr1};/*@this {yyWebGL} */this._Ss1=function(_JM,
_Ns1){if(_JM!=-1){_iq1._NQ();_Ns1=_Qs1(_JM,_Ns1);_jq1._Ss1(_JM,_Ns1)}};/*@this {yyWebGL} */this._Ts1=function(_JM,_Ns1){if(_JM!=-1){_iq1._NQ();_Ns1=this._Qs1(_JM,_Ns1);_jq1._Ts1(_JM,_Ns1)}};/*@this {yyWebGL} */this._Us1=function(__t){_iq1._NQ();_jq1._Us1(__t)};this._NQ=function(){_iq1._NQ()};/*@this {yyWebGL} */this._Vs1=function(_id,_N6,_O6,_Zf,__f,_gq1){_jq1._Vs1(_id,_N6,_O6,_Zf,__f,_gq1)};/*@this {yyWebGL} */this._Ws1=function(_ts1,_id){_ka._Xs1(_id instanceof _Tq1,"Texture is not a yyGLTexture",
_ka._Ys1);_iq1._NQ();_jq1._Ws1(_ts1,_id)};/*@this {yyWebGL} */this._so=function(_8k){_iq1._NQ();_jq1._Zs1(_8k)};/*@this {yyWebGL} */this._zo=function(_8k){_iq1._NQ();_jq1.__s1(_8k)};/*@this {yyWebGL} */this._0t1=function(_8k){_iq1._NQ();_jq1._1t1(_8k)};/*@this {yyWebGL} */this._2t1=function(_3t1){var _eg=new _Tq1(undefined,_3t1.width,_3t1.height,_dr1(_3t1.width)&&_dr1(_3t1.height),_3t1);return _eg};this._4t1=function(_5t1){var _6t1=_hq1.getParameter(_hq1.TEXTURE_BINDING_2D);var _4c=_hq1.createTexture();
_hq1.bindTexture(_hq1.TEXTURE_2D,_4c);if(_5t1.Image instanceof Uint8Array){_hq1.texImage2D(_hq1.TEXTURE_2D,0,_hq1.RGBA,_5t1._7t1,_5t1._8t1,0,_hq1.RGBA,_hq1.UNSIGNED_BYTE,_5t1.Image)}else {_hq1.texImage2D(_hq1.TEXTURE_2D,0,_hq1.RGBA,_hq1.RGBA,_hq1.UNSIGNED_BYTE,_5t1.Image)}_5t1._9t1=_4c;_5t1._at1._bt1(_hq1.TEXTURE_2D);_hq1.bindTexture(_hq1.TEXTURE_2D,_6t1)};/*@this {yyWebGL} */this._ct1=function(_Vb,_Ug,_dt1,_ac){var _pv=0;if(_Vb){_pv|=_hq1.COLOR_BUFFER_BIT}if(_Ug){_pv|=_hq1.DEPTH_BUFFER_BIT}_jq1._ct1(_pv,
_ac)};/*@this {yyWebGL} */this._GQ=function(_MS){_iq1._NQ();_jq1._GQ(_MS)};function _et1(_ft1,_Zf,__f){if((_Zf==0)||(__f==0)){return }var _gt1=_ft1[(__f-1)*_Zf]&0xffffff;for(var _Q7=0;_Q7<(_Zf*__f);_Q7++){if((_ft1[_Q7]&0xffffff)==_gt1){_ft1[_Q7]=_ft1[_Q7]&0xffffff}}};function _ht1(_hc){var max=_xq1;var _u7=1;while(_u7<=max){if(_hc<=_u7)return _u7;_u7=_u7<<1}return max};/*@this {yyWebGL} */this._it1=function(_3t1,_N6,_O6,_Zf,__f,_Jh,_Kh,_jt1){this._NQ();var _kt1=new Uint8Array(_Zf*__f*4);_hq1.readPixels(_N6,
_vq1-(_O6+__f),_Zf,__f,_hq1.RGBA,_hq1.UNSIGNED_BYTE,_kt1);var _lt1;if(_jt1){var _mt1=new ArrayBuffer(_Zf*__f*4);_lt1=new Uint8Array(_mt1);for(var _y9=0;_y9<__f;_y9++){var _nt1=_kt1.subarray(_y9*_Zf*4,(_y9+1)*_Zf*4);var _ot1=_lt1.subarray((__f-1-_y9)*_Zf*4,(__f-_y9)*_Zf*4);_ot1.set(_nt1)}if(_Jh){_et1(new Int32Array(_mt1),_Zf,__f)}}else {_lt1=_kt1}var _u4=_ht1(_Zf);var _v4=_ht1(__f);var _6t1=_hq1.getParameter(_hq1.TEXTURE_BINDING_2D);var _eg=new _Tq1(undefined,_u4,_v4,(_u4==_Zf)&&(_v4==__f),_lt1);_3t1.width=_u4;
_3t1.height=_v4;_hq1.bindTexture(_hq1.TEXTURE_2D,_6t1);_jq1._mw();return _eg};/*@this {yyWebGL} */this._pt1=function(_3t1,_qt1,_N6,_O6,_Zf,__f,_Jh,_Kh){this._7s1();var _rt1=_hq1.getParameter(_hq1.FRAMEBUFFER_BINDING);var _mt1=new ArrayBuffer(_Zf*__f*4);var _lt1=new Uint8Array(_mt1);_hq1.bindFramebuffer(_hq1.FRAMEBUFFER,_qt1);_hq1.readPixels(_N6,_O6,_Zf,__f,_hq1.RGBA,_hq1.UNSIGNED_BYTE,_lt1);_hq1.bindFramebuffer(_hq1.FRAMEBUFFER,_rt1);if(_Jh){_et1(new Int32Array(_mt1),_Zf,__f)}var _u4=_ht1(_Zf);var _v4=_ht1(__f);
var _6t1=_hq1.getParameter(_hq1.TEXTURE_BINDING_2D);var _st1=new ArrayBuffer(_u4*_v4*4);var _tt1=new Uint8Array(_st1);var y;var _vg=0;var _ut1=0;for(y=0;y<__f;y++){var x;for(x=0;x<_Zf;x++){_tt1[_vg++]=_lt1[_ut1++];_tt1[_vg++]=_lt1[_ut1++];_tt1[_vg++]=_lt1[_ut1++];_tt1[_vg++]=_lt1[_ut1++]}for(;x<_u4;x++){_tt1[_vg++]=0;_tt1[_vg++]=0;_tt1[_vg++]=0;_tt1[_vg++]=0}}for(;y<_v4;y++){var x;for(x=0;x<_u4;x++){_tt1[_vg++]=0;_tt1[_vg++]=0;_tt1[_vg++]=0;_tt1[_vg++]=0;}}var _eg=new _Tq1(undefined,_u4,_v4,(_u4==_Zf)&&(_v4==__f),
_tt1);_3t1.width=_u4;_3t1.height=_v4;_hq1.bindTexture(_hq1.TEXTURE_2D,_6t1);this._7s1();_jq1._mw();return _eg};/*@this {yyWebGL} */this._vt1=function(_3t1,_wt1,_Zf,__f){var _u4=_ht1(_Zf);var _v4=_ht1(__f);var _6t1=_hq1.getParameter(_hq1.TEXTURE_BINDING_2D);var _eg=new _Tq1(undefined,_u4,_v4,(_u4==_Zf)&&(_v4==__f),_wt1);_3t1.width=_u4;_3t1.height=_v4;_hq1.bindTexture(_hq1.TEXTURE_2D,_6t1);_jq1._mw();return _eg};/*@this {yyWebGL} */this._xt1=function(_3t1,_wt1,_Zf,__f){var _mt1=new ArrayBuffer(_Zf*__f*4);var _yt1=new DataView(_mt1);
for(var _r7=0;_r7<_Zf*__f;_r7++){_yt1.setUint32(_r7*4,~~_wt1[_r7],true)}return this._vt1(_3t1,new Uint8Array(_mt1),_Zf,__f)};/*@this {yyWebGL} */this._zt1=function(_id,_Wb){_ka._Xs1(_id instanceof _Tq1,"Texture is not a yyGLTexture",_ka._Ys1);if(!_At1(_id)){_Bt1(_id)}var _4c=_id._9t1;var _u4=_id._7t1;var _v4=_id._8t1;var _rt1=_hq1.getParameter(_hq1.FRAMEBUFFER_BINDING);var _Ct1=_hq1.createFramebuffer();_hq1.bindFramebuffer(_hq1.FRAMEBUFFER,_Ct1);_hq1.framebufferTexture2D(_hq1.FRAMEBUFFER,_hq1.COLOR_ATTACHMENT0,
_hq1.TEXTURE_2D,_4c,0);var _lt1=new Uint8Array(_u4*_v4*4);_hq1.readPixels(0,0,_u4,_v4,_hq1.RGBA,_hq1.UNSIGNED_BYTE,_lt1);_hq1.bindFramebuffer(_hq1.FRAMEBUFFER,_rt1);_hq1.deleteFramebuffer(_Ct1);for(var _Q7=0;_Q7<(_u4*_v4);_Q7++){_lt1[(_Q7*4)+3]=_Wb[_Q7]}var _C01=_ht1(_u4);var _mv=_ht1(_v4);var _6t1=_hq1.getParameter(_hq1.TEXTURE_BINDING_2D);var _eg=new _Tq1(undefined,_C01,_mv,(_C01==_u4)&&(_mv==_v4),_lt1);_hq1.deleteTexture(_id._9t1);_hq1.bindTexture(_hq1.TEXTURE_2D,_6t1);return _eg};/*@this {yyWebGL} */this._Dt1=function(_N6,
_O6){this._NQ();var _lt1=new Uint8Array(16);_hq1.readPixels(_N6,_vq1-_O6,1,1,_hq1.RGBA,_hq1.UNSIGNED_BYTE,_lt1);var _59=(_lt1[0])|(_lt1[1]<<8)|(_lt1[2]<<16)|(_lt1[3]<<24);_jq1._mw();return _59};/*@this {yyWebGL} */this._Et1=function(_qt1,_N6,_O6){this._7s1();var _rt1=_hq1.getParameter(_hq1.FRAMEBUFFER_BINDING);var _lt1=new Uint8Array(16);_hq1.bindFramebuffer(_hq1.FRAMEBUFFER,_qt1);_hq1.readPixels(_N6,_O6,1,1,_hq1.RGBA,_hq1.UNSIGNED_BYTE,_lt1);var _59=(_lt1[0])|(_lt1[1]<<8)|(_lt1[2]<<16)|(_lt1[3]<<24);_hq1.bindFramebuffer(_hq1.FRAMEBUFFER,
_rt1);_jq1._mw();return _59};/*@this {yyWebGL} */this._Ft1=function(_qt1,_N6,_O6,_Zf,__f){this._7s1();var _rt1=_hq1.getParameter(_hq1.FRAMEBUFFER_BINDING);var _lt1=new Uint8Array(_Zf*__f*4);_hq1.bindFramebuffer(_hq1.FRAMEBUFFER,_qt1);_hq1.readPixels(_N6,_O6,_Zf,__f,_hq1.RGBA,_hq1.UNSIGNED_BYTE,_lt1);_hq1.bindFramebuffer(_hq1.FRAMEBUFFER,_rt1);_jq1._mw();return _lt1};/*@this {yyWebGL} */this._Gt1=function(_Zf,__f){var _6t1=_hq1.getParameter(_hq1.TEXTURE_BINDING_2D);var _rt1=_hq1.getParameter(_hq1.FRAMEBUFFER_BINDING);
var _Ht1=_hq1.getParameter(_hq1.RENDERBUFFER_BINDING);{var _It1=_hq1.createFramebuffer();_It1.width=_Zf;_It1.height=__f;_hq1.bindFramebuffer(_hq1.FRAMEBUFFER,_It1);var _Jt1=_hq1.createTexture();_hq1.bindTexture(_hq1.TEXTURE_2D,_Jt1);_hq1.texImage2D(_hq1.TEXTURE_2D,0,_hq1.RGBA,_Zf,__f,0,_hq1.RGBA,_hq1.UNSIGNED_BYTE,null);var _Kt1=new _Tq1(_Jt1,_Zf,__f,_dr1(_Zf)&&_dr1(__f),null);var _Lt1=_hq1.createRenderbuffer();_hq1.bindRenderbuffer(_hq1.RENDERBUFFER,_Lt1);_hq1.renderbufferStorage(_hq1.RENDERBUFFER,_hq1.DEPTH_STENCIL,
_It1.width,_It1.height);_hq1.framebufferTexture2D(_hq1.FRAMEBUFFER,_hq1.COLOR_ATTACHMENT0,_hq1.TEXTURE_2D,_Jt1,0);_hq1.framebufferRenderbuffer(_hq1.FRAMEBUFFER,_hq1.DEPTH_STENCIL_ATTACHMENT,_hq1.RENDERBUFFER,_Lt1)}_hq1.bindTexture(_hq1.TEXTURE_2D,_6t1);_hq1.bindFramebuffer(_hq1.FRAMEBUFFER,_rt1);_hq1.bindRenderbuffer(_hq1.RENDERBUFFER,_Ht1);var _Mt1={_qQ:_It1,_Nt1:_Lt1,_9t1:_Kt1};return _Mt1};/*@this {yyWebGL} */this._Ot1=function(_qt1){_hq1.deleteFramebuffer(_qt1._qQ);_hq1.deleteRenderbuffer(_qt1._Nt1);
_hq1.deleteTexture(_qt1._9t1._9t1);_qt1._9t1=null};/*@this {yyWebGL} */this._Pt1=function(_Qt1){_hq1.deleteTexture(_Qt1)};/*@this {yyWebGL} */this._Rt1=function(_id){_ka._Xs1(_id instanceof _Tq1,"NULL texture is not a yyGLTexture",_ka._Ys1);_jq1._St1=_id};/*@this {yyWebGL} */this._ja=function(_Fb,_id,_Kc,_Tt1){_ka._Xs1((_id==null)||(_id instanceof _Tq1),"Texture is not a yyGLTexture",_ka._Ys1);return _iq1._ja(_Fb,_id,_Kc,_Tt1,_rq1[_Kc],_lq1)};/*@this {yyWebGL} */this._jd=function(_Fb,_id,_Ut1,_Vt1){_ka._Xs1((_id==null)||(_id instanceof _Tq1),
"Texture is not a yyGLTexture",_ka._Ys1);_iq1._Wt1(_Fb,_id,_Ut1,_Vt1)};/*@this {yyWebGL} */this._Xt1=function(_BP){var _J8=_BP._J8._fa;if(!_At1(_J8)){_Bt1(_J8)}var _4c=_J8._9t1;var _u4=_J8._7t1;var _v4=_J8._8t1;var _rt1=_hq1.getParameter(_hq1.FRAMEBUFFER_BINDING);var _Ct1=_hq1.createFramebuffer();_hq1.bindFramebuffer(_hq1.FRAMEBUFFER,_Ct1);_hq1.framebufferTexture2D(_hq1.FRAMEBUFFER,_hq1.COLOR_ATTACHMENT0,_hq1.TEXTURE_2D,_4c,0);var data=new Uint8Array(_u4*_v4*4);_hq1.readPixels(0,0,_u4,_v4,_hq1.RGBA,_hq1.UNSIGNED_BYTE,
data);_hq1.bindFramebuffer(_hq1.FRAMEBUFFER,_rt1);_hq1.deleteFramebuffer(_Ct1);return data}}var _ka={_Yt1:8,_Kq1:8,_Zt1:-1,_la:0,_Kb:1,_Jb:2,_Hb:3,_Ib:4,_Gb:5,_Pc:1,_Uc:2,_3d:3,_1d:4,__t1:5,_0u1:6,_1u1:7,_2u1:8,_3u1:9,_4u1:10,_5u1:11,_6u1:12,_7u1:13,_8u1:14,_9u1:14,_5d:1,_Qc:2,_Sc:3,_9d:4,_Vc:5,_bd:6,_au1:6,_Gq:1,_Bq:2,_bu1:3,_Fq:4,_zq:5,_Hq:6,_cu1:7,_du1:8,_eu1:9,_fu1:10,_gu1:11,_hu1:12,_iu1:13,_ju1:14,_ku1:15,_lu1:16,_mu1:16,_nu1:0,_kq:1,_ou1:2,_pu1:3,_nq:4,_Yq:5,_yq:6,_Aq:7,_wq:8,_mq:9,__q:10,_0r:11,
_jq:12,_rq:13,_qu1:14,_sq:15,_ru1:16,_tq:17,_uq:18,_su1:19,_tu1:20,_uu1:21,_vu1:22,_wu1:23,_Xq:24,_zs1:25,_xu1:26,_yu1:27,_Es1:28,_Bs1:29,_Hs1:30,_zu1:31,_Au1:32,_Eq:33,_Cq:34,_Dq:35,_Bu1:36,_Cu1:37,_Du1:1,_Eu1:2,_Fu1:3,_Gu1:4,_Hu1:5,_Iu1:6,_Ju1:7,_Ku1:8,_Lu1:1,_Mu1:2,_Nu1:3,_Ou1:4,_Pu1:5,_Qu1:6,_Ru1:7,_Su1:8,_cr:0,_er:1,_5r:0,_7r:1,_br:2,_dr:3,_Tu1:4,_6r:0,_8r:1,_cs1:0,_Uu1:1,_bs1:2,_Vu1:0,_Wu1:1,_Xu1:2,_Yu1:0,_Zu1:1,__u1:0,_0v1:1,_1v1:0,_2v1:1,_3v1:2,_4v1:3,_5v1:0,_6v1:1,_7v1:2,_8v1:4,_9v1:8,_av1:0,
_bv1:1,_Ys1:2,_Xs1:function(_cv1,_dv1,_ev1){if(!_cv1){throw new Error(_dv1)}}};Object.freeze(_ka);/*@constructor */function _Lq1(_fv1){var _hq1=this._Sq1;var _gv1=0,_hv1=1,_iv1=2,_jv1=3,_kv1=4,_lv1=5,_mv1=6,_nv1=7,_ov1=8,_pv1=9,_qv1=10,_rv1=11,_sv1=12,_tv1=13,_uv1=14,_vv1=15,_wv1=16,_xv1=17,_yv1=18,_zv1=19,_Av1=20,_Bv1=21,_Cv1=22,_Dv1=23,_Ev1=24,_Fv1=25,_Gv1=26,_Hv1=27;var _Iv1=0,_Jv1=1,_Kv1=2,_Lv1=3,_Mv1=4,_Nv1=5;var _Ov1=1,_Pv1=2,_Qv1=4,_Rv1=8;var _Sv1=[];var _Tv1=[],_Uv1,_Vv1;var _Wv1,_Xv1=[],_Yv1=[],_Zv1=[],
__v1=new Float32Array(_ka._Yt1*4),_0w1=new Float32Array(_ka._Yt1*4),_1w1=new Float32Array(_ka._Yt1*4),_2w1=new Float32Array(4),_3w1=new Float32Array(8),_4w1=false,_5w1=0.0,_6w1,_7w1=_hq1.SRC_ALPHA,_8w1=_hq1.ONE_MINUS_SRC_ALPHA,_9w1=_hq1.SRC_ALPHA,_aw1=_hq1.ONE_MINUS_SRC_ALPHA;var _lq1=0,_bw1;Object.defineProperties(this,{_d6:{get:function(){return _lq1},set:function(_Cd){_lq1=_Cd}},_St1:{get:function(){return _bw1},set:function(_Cd){_bw1=_Cd}}});(function(){_cw1();var _Jq1=_hq1.getParameter(_hq1.MAX_TEXTURE_IMAGE_UNITS);
if(_Jq1>_ka._Kq1){_Jq1=_ka._Kq1}for(var _Pr1=0;_Pr1<_Jq1;_Pr1++){_Zv1[_Pr1]=new _Vq1(_fv1)}var _dw1=_ew1(_ka._Du1);_6w1={_ot:0,_fw1:0xffffffff,_gw1:0xffffffff,_hw1:_iw1(_ka._Su1),_jw1:_dw1,_kw1:_dw1,_lw1:_dw1};for(var _Q7=0;_Q7<_Nv1;_Q7++){_Yv1[_Q7]=new _4o()}})();function _cw1(){_Tv1=[];_Vv1=undefined;_Uv1=undefined;_Tv1[0]=1;_Tv1[1]=1};/*@this {yyCommandBuilder} */this._mw=function(){_cw1()};/*@this {yyCommandBuilder} */this._lo=function(_mw1){if(_mw1!=_Uv1){_Vv1=null;_Sv1.push(_xv1);_Sv1.push(_mw1);
_Uv1=_mw1}};/*@this {yyCommandBuilder} */this._Ws1=function(_ts1,_id){if(_Tv1[_ts1]==_id){return }_Tv1[_ts1]=_id;_Sv1.push(_hv1);_Sv1.push(_id);_Sv1.push(_ts1)};/*@this {yyCommandBuilder} */this._Us1=function(_fs){_Sv1.push(_fs)};this._Vs1=function(_id,_N6,_O6,_Zf,__f,_nw1){_Sv1.push(_Hv1);_Sv1.push(_id);_Sv1.push(_N6);_Sv1.push(_O6);_Sv1.push(_Zf);_Sv1.push(__f);_Sv1.push(_nw1);};/*@this {yyCommandBuilder} */this._ow1=function(_pw1){if(_Vv1==_pw1)return;_Vv1=_pw1;_Sv1.push(_sv1);_Sv1.push(_pw1)}
;/*@this {yyCommandBuilder} */this._qw1=function(_oq,_rw1){_Sv1.push(_iv1);_Sv1.push(_oq);_Sv1.push(_rw1)};/*@this {yyCommandBuilder} */this._sw1=function(_oq,_rw1){_Sv1.push(_jv1);_Sv1.push(_oq);_Sv1.push(_rw1)};/*@this {yyCommandBuilder} */this._tw1=function(_oq,_rw1){_Sv1.push(_kv1);_Sv1.push(_oq);_Sv1.push(_rw1)};/*@this {yyCommandBuilder} */this._uw1=function(_oq,_rw1){_Sv1.push(_lv1);_Sv1.push(_oq);_Sv1.push(_rw1)};/*@this {yyCommandBuilder} */this._vw1=function(_oq,_rw1){_Sv1.push(_mv1);_Sv1.push(_oq);
_Sv1.push(_rw1)};/*@this {yyCommandBuilder} */this._0c1=function(_oq,_rw1){_Sv1.push(_nv1);_Sv1.push(_oq);_Sv1.push(_rw1)};/*@this {yyCommandBuilder} */this.__s1=function(_8k){_Sv1.push(_pv1);_Sv1.push(new _4o(_8k))};/*@this {yyCommandBuilder} */this._Zs1=function(_8k){_Sv1.push(_qv1);_Sv1.push(new _4o(_8k))};/*@this {yyCommandBuilder} */this._1t1=function(_8k){_Sv1.push(_ov1);_Sv1.push(new _4o(_8k))};/*@this {yyCommandBuilder} */this._gr1=function(_N6,_O6,_Zf,__f){_Sv1.push(_rv1);_Sv1.push(_N6);_Sv1.push(_O6);
_Sv1.push(_Zf);_Sv1.push(__f)};/*@this {yyCommandBuilder} */this._ct1=function(_ww1,_ac){_Sv1.push(_tv1);_Sv1.push(_ww1);_Sv1.push(~~_ac)};/*@this {yyCommandBuilder} */this._GQ=function(_xw1){_Sv1.push(_uv1);_Sv1.push(_xw1)};/*@this {yyCommandBuilder} */this._yw1=function(_Wb,_Pq,_Qq,_Rq){_Sv1.push(_vv1);_Sv1.push(_Wb);_Sv1.push(_Pq);_Sv1.push(_Qq);_Sv1.push(_Rq)};/*@this {yyCommandBuilder} */this._8s1=function(_2g,_Iq){_Sv1.push(_wv1);_Sv1.push(_2g);_Sv1.push(_Iq)};/*@this {yyCommandBuilder} */this._Ms1=function(_zw1,
_Ns1){_Sv1.push(_yv1);_Sv1.push(_zw1);_Sv1.push(_Ns1)};/*@this {yyCommandBuilder} */this._Os1=function(_zw1,_Ns1){_Sv1.push(_zv1);_Sv1.push(_zw1);_Sv1.push(_Ns1)};/*@this {yyCommandBuilder} */this._Ss1=function(_zw1,_Ns1){_Sv1.push(_yv1);_Sv1.push(_zw1);_Sv1.push(_Ns1)};/*@this {yyCommandBuilder} */this._Ts1=function(_zw1,_Ns1){_Sv1.push(_zv1);_Sv1.push(_zw1);_Sv1.push(_Ns1)};/*@this {yyCommandBuilder} */this._Ps1=function(_zw1,_Ns1){_Sv1.push(_zv1);_Sv1.push(_zw1);_Sv1.push(_Ns1)};/*@this {yyCommandBuilder} */this._iq=function(_Aw1,
_Bw1){_Sv1.push(_Av1);_Sv1.push(_Aw1);_Sv1.push(_Bw1)};/*@this {yyCommandBuilder} */this._4r=function(_ts1,_Cw1,_Dw1){_Sv1.push(_Bv1);_Sv1.push(_ts1);_Sv1.push(_Cw1);_Sv1.push(_Dw1)};/*@this {yyCommandBuilder} */this._2p=function(_Ki,_Ew1,_Fw1,_Gw1){_Sv1.push(_Cv1);_Sv1.push(_Ki);_Sv1.push(new Float32Array(_Ew1));_Sv1.push(new Float32Array(_Fw1));_Sv1.push(new Float32Array(_Gw1))};/*@this {yyCommandBuilder} */this._ns1=function(_a4){_Sv1.push(_Dv1);_Sv1.push(new Float32Array(_a4))};/*@this {yyCommandBuilder} */this._Hw1=function(_Iw1){
_Sv1.push(_Ev1);_Sv1.push(new Float32Array(_Iw1))};/*@this {yyCommandBuilder} */this._6p=function(_Ki,enable,_a4){_Sv1.push(_Fv1);_Sv1.push(_Ki);_Sv1.push(enable);_Sv1.push(_a4)};/*@this {yyCommandBuilder} */this._qs1=function(_io,_Jw1){_Sv1.push(_Gv1);_Sv1.push(_io);_Sv1.push(_Jw1)};function _Kw1(_Zq){switch(_Zq){case _ka._Gq:return _hq1.ZERO;case _ka._Bq:return _hq1.ONE;case _ka._bu1:return _hq1.SRC_COLOR;case _ka._Fq:return _hq1.ONE_MINUS_SRC_COLOR;case _ka._zq:return _hq1.SRC_ALPHA;case _ka._Hq:return _hq1.ONE_MINUS_SRC_ALPHA;
case _ka._cu1:return _hq1.DST_ALPHA;case _ka._du1:return _hq1.ONE_MINUS_DST_ALPHA;case _ka._eu1:return _hq1.DST_COLOR;case _ka._fu1:return _hq1.ONE_MINUS_DST_COLOR;case _ka._gu1:return _hq1.SRC_ALPHA_SATURATE;case _ka._hu1:return 0;case _ka._iu1:return 0;case _ka._ju1:return 0;case _ka._ku1:return 0;case _ka._lu1:return 0;case _ka._mu1:return 0}return 0}function _ew1(_Zq){switch(_Zq){case _ka._Du1:return _hq1.KEEP;case _ka._Eu1:return _hq1.ZERO;case _ka._Fu1:return _hq1.REPLACE;case _ka._Gu1:return _hq1.INCR;case _ka._Hu1:return _hq1.DECR;
case _ka._Iu1:return _hq1.INVERT;case _ka._Ju1:return _hq1.INCR;case _ka._Ku1:return _hq1.DECR;default :return _hq1.KEEP}}function _iw1(_Zq){switch(_Zq){case _ka._Lu1:return _hq1.NEVER;case _ka._Mu1:return _hq1.LESS;case _ka._Nu1:return _hq1.EQUAL;case _ka._Ou1:return _hq1.LEQUAL;case _ka._Pu1:return _hq1.GREATER;case _ka._Qu1:return _hq1.NOTEQUAL;case _ka._Ru1:return _hq1.GEQUAL;case _ka._Su1:default :return _hq1.ALWAYS}}function _Lw1(_Aw1,_Bw1){switch(_Aw1){case _ka._kq:if(_Bw1){_hq1.enable(_hq1.DEPTH_TEST)}else {_hq1.disable(_hq1.DEPTH_TEST)}
break;case _ka._nq:_hq1.depthMask(_Bw1);break;case _ka._Yq:_4w1=_Bw1;_Mw1(_Rv1);break;case _ka._yq:_7w1=_Kw1(_Bw1);_hq1.blendFuncSeparate(_7w1,_8w1,_9w1,_aw1);break;case _ka._Aq:_8w1=_Kw1(_Bw1);_hq1.blendFuncSeparate(_7w1,_8w1,_9w1,_aw1);break;case _ka._wq:if(_Bw1!=_ka._cs1){_hq1.enable(_hq1.CULL_FACE);_hq1.frontFace((_Bw1===_ka._Uu1)?_hq1.CW:_hq1.CCW)}else {_hq1.disable(_hq1.CULL_FACE)}break;case _ka._mq:_hq1.depthFunc(_iw1(_Bw1));break;case _ka.__q:_5w1=_Bw1/255.0;_Mw1(_Rv1);break;case _ka._0r:break;case _ka._jq:if(_Bw1){
_hq1.enable(_hq1.BLEND)}else {_hq1.disable(_hq1.BLEND)}break;case _ka._rq:break;case _ka._qu1:break;case _ka._sq:break;case _ka._ru1:break;case _ka._tq:break;case _ka._uq:break;case _ka._su1:break;case _ka._tu1:break;case _ka._uu1:break;case _ka._vu1:break;case _ka._wu1:break;case _ka._Xq:_hq1.colorMask(_Bw1._Ei,_Bw1._Fi,_Bw1._Gi,_Bw1.alpha);break;case _ka._zs1:if(_Bw1){_hq1.enable(_hq1.STENCIL_TEST)}else {_hq1.disable(_hq1.STENCIL_TEST)}break;case _ka._xu1:_6w1._jw1=_ew1(_Bw1);_hq1.stencilOp(_6w1._jw1,_6w1._kw1,
_6w1._lw1);break;case _ka._yu1:_6w1._kw1=_ew1(_Bw1);_hq1.stencilOp(_6w1._jw1,_6w1._kw1,_6w1._lw1);break;case _ka._Es1:_6w1._lw1=_ew1(_Bw1);_hq1.stencilOp(_6w1._jw1,_6w1._kw1,_6w1._lw1);break;case _ka._Bs1:_6w1._hw1=_iw1(_Bw1);_hq1.stencilFunc(_6w1._hw1,_6w1._ot,_6w1._fw1);break;case _ka._Hs1:_6w1._ot=_Bw1;_hq1.stencilFunc(_6w1._hw1,_6w1._ot,_6w1._fw1);break;case _ka._zu1:_6w1._fw1=_Bw1;_hq1.stencilFunc(_6w1._hw1,_6w1._ot,_6w1._fw1);break;case _ka._Au1:_hq1.stencilMask(_Bw1);break;case _ka._Eq:break;case _ka._Cq:_9w1=_Kw1(_Bw1);
_hq1.blendFuncSeparate(_7w1,_8w1,_9w1,_aw1);break;case _ka._Dq:_aw1=_Kw1(_Bw1);_hq1.blendFuncSeparate(_7w1,_8w1,_9w1,_aw1);break;case _ka._Bu1:if(_Bw1!=_ka._cs1){_hq1.enable(_hq1.CULL_FACE);_hq1.frontFace((_Bw1===_ka._Uu1)?_hq1.CW:_hq1.CCW);}else {_hq1.disable(_hq1.CULL_FACE)}break }}function _Nw1(){if(_Wv1&&_Wv1._tr1){_Yv1[_Lv1].Multiply(_Yv1[_Kv1],_Yv1[_Iv1]);_Yv1[_Mv1].Multiply(_Yv1[_Lv1],_Yv1[_Jv1]);var _Ow1=new Float32Array(16*_Nv1);for(var _Q7=0;_Q7<_Nv1;_Q7++){_Ow1.set(_Yv1[_Q7]._v7,_Q7*16)}_hq1.uniformMatrix4fv(_Wv1._tr1,
_hq1._Pw1,_Ow1)}}function _Mw1(_Qw1){if(_Qw1&_Rv1){if(_Wv1._vr1!==undefined){_hq1.uniform1i(_Wv1._vr1,_4w1)}if(_Wv1._wr1!==undefined){_hq1.uniform1f(_Wv1._wr1,_5w1)}}if((_Qw1&_Ov1)&&(_Wv1._ur1!==undefined)){_hq1.uniform4fv(_Wv1._ur1,_3w1)}if(_Qw1&_Pv1){if(_Wv1._Dr1!==undefined){_hq1.uniform4fv(_Wv1._Dr1,__v1)}if(_Wv1._Cr1!==undefined){_hq1.uniform4fv(_Wv1._Cr1,_0w1)}if(_Wv1._Er1!==undefined){_hq1.uniform4fv(_Wv1._Er1,_1w1)}}if((_Qw1&_Qv1)&&(_Wv1._Fr1!==undefined)){_hq1.uniform4fv(_Wv1._Fr1,_2w1)}
}function _Rw1(_id,_ts1){if(_id===null||_id===undefined){return }var _Sw1=_Zv1[_ts1];if(_Sw1===null||_Sw1===undefined){return }var _Tw1=_Sw1._Uw1;var _Vw1=_id._at1._Uw1;if(_Tw1[_ka._5r]!=_Vw1[_ka._5r]){_hq1.texParameteri(_hq1.TEXTURE_2D,_hq1.TEXTURE_MAG_FILTER,(_Tw1[_ka._5r]==_ka._6r)?_hq1.LINEAR:_hq1.NEAREST);_Vw1[_ka._5r]=_Tw1[_ka._5r]}if(_Tw1[_ka._7r]!=_Vw1[_ka._7r]){_hq1.texParameteri(_hq1.TEXTURE_2D,_hq1.TEXTURE_MIN_FILTER,(_Tw1[_ka._7r]==_ka._6r)?_hq1.LINEAR:_hq1.NEAREST);_Vw1[_ka._7r]=_Tw1[_ka._7r]}
if(_Tw1[_ka._br]!=_Vw1[_ka._br]){if(_id._Ww1){var _Xw1=(_Tw1[_ka._br]==_ka._er)?_hq1.CLAMP_TO_EDGE:_hq1.REPEAT;_hq1.texParameteri(_hq1.TEXTURE_2D,_hq1.TEXTURE_WRAP_S,_Xw1)}_Vw1[_ka._br]=_Tw1[_ka._br]}if(_Tw1[_ka._dr]!=_Vw1[_ka._dr]){if(_id._Ww1){var _Xw1=(_Tw1[_ka._dr]==_ka._er)?_hq1.CLAMP_TO_EDGE:_hq1.REPEAT;_hq1.texParameteri(_hq1.TEXTURE_2D,_hq1.TEXTURE_WRAP_T,_Xw1)}_Vw1[_ka._dr]=_Tw1[_ka._dr]}}var _Yw1=null;function _ow1(_Zw1){_hq1.bindBuffer(_hq1.ARRAY_BUFFER,_Zw1.__w1);if(_Yw1!=null){if(_Yw1._9r1===true){
var _0x1,_1x1,_2x1=_Yw1._yc.length;;for(_0x1=0;_0x1<_2x1;++_0x1){switch(_0x1){case 0:_1x1=_Wv1._or1;break;case 1:_1x1=_Wv1._qr1;break;case 2:_1x1=_Wv1._rr1;break;case 3:_1x1=_Wv1._pr1;break;default :_1x1=-1;break }if(_1x1>=0){_hq1.disableVertexAttribArray(_1x1)}}}else {var _0x1,_1x1,_2x1=_Yw1._yc.length;;for(_0x1=0;_0x1<_2x1;++_0x1){_1x1=_Wv1._xr1[_0x1];if(_1x1>=0){_hq1.disableVertexAttribArray(_1x1)}}}}var _3x1=_Zw1._4x1;_Yw1=_3x1;if(_3x1._9r1===true){var _0x1,_1x1,_5x1,_2x1=_3x1._yc.length;for(_0x1=0;_0x1<_2x1;
++_0x1){_5x1=_3x1._yc[_0x1];switch(_0x1){case 0:_1x1=_Wv1._or1;break;case 1:_1x1=_Wv1._qr1;break;case 2:_1x1=_Wv1._rr1;break;case 3:_1x1=_Wv1._pr1;break;default :_1x1=-1;break }if(_1x1>=0){_hq1.enableVertexAttribArray(_1x1);_hq1.vertexAttribPointer(_1x1,_5x1._6x1,_5x1._7x1,_5x1._8x1,_3x1._Ec,_5x1.offset)}}}else {{var _0x1,_1x1,_5x1,_2x1=_3x1._yc.length;var _9x1=_Wv1._xr1.length;var _ax1=_3x1._ax1[_Wv1._Ar1];if(_ax1===undefined){_ax1=[];var _bx1=[];for(_0x1=0;_0x1<_2x1;++_0x1){_5x1=_3x1._yc[_0x1];var _Ac=_5x1._Ac;
_1x1=-1;for(var _cx1=0;_cx1<_9x1;_cx1++){if(_bx1[_cx1]===undefined){var _dx1=_Wv1._xr1[_cx1];if(_Wv1._zr1[_cx1]==_Ac){_1x1=_dx1;_bx1[_cx1]=1;break }else if(_Wv1._zr1[_cx1]==4&&_Ac==2){_Wv1._zr1[_cx1]=_hq1.UNSIGNED_BYTE;_1x1=_dx1;_bx1[_cx1]=1;break }}}_ax1.push(_1x1)}_3x1._ax1[_Wv1._Ar1]=_ax1}for(_0x1=0;_0x1<_2x1;++_0x1){_5x1=_3x1._yc[_0x1];_1x1=_ax1[_0x1];if(_1x1>=0){_hq1.enableVertexAttribArray(_1x1);_hq1.vertexAttribPointer(_1x1,_5x1._6x1,_5x1._7x1,_5x1._8x1,_3x1._Ec,_5x1.offset)}}}}}/*@this {yyCommandBuilder} */this._6s1=function(){
var _Q7,error,_st,_Qr1,_ex1,_Pr1,_J8,_ia,_Ki,_59,enable,_fx1,_Ls1;_Q7=0;while(_Q7<_Sv1.length){switch(_Sv1[_Q7]){case _xv1:{_Wv1=_Sv1[_Q7+1];_fx1=_Wv1._Sr1;_Q7+=2;_hq1.useProgram(_Wv1);_Nw1();_Mw1(0xff);break }case _rv1:{_hq1.viewport(_Sv1[_Q7+1],_Sv1[_Q7+2],_Sv1[_Q7+3],_Sv1[_Q7+4]);_hq1.scissor(_Sv1[_Q7+1],_Sv1[_Q7+2],_Sv1[_Q7+3],_Sv1[_Q7+4]);_Q7+=5;break }case _tv1:{_59=_Sv1[_Q7+2];_hq1.clearColor((_59&0xff)/255.0,((_59>>8)&0xff)/255.0,((_59>>16)&0xff)/255.0,((_59>>24)&0xff)/255.0);_hq1.clear(_Sv1[_Q7+1]);
_Q7+=3;break }case _pv1:{_Yv1[_Jv1]=_Sv1[_Q7+1];_Nw1();_Q7+=2;break }case _qv1:{_Yv1[_Iv1]=_Sv1[_Q7+1];_Nw1();_Q7+=2;break }case _ov1:{_Yv1[_Kv1]=_Sv1[_Q7+1];_Nw1();_Q7+=2;break }case _hv1:{_J8=_Sv1[_Q7+1];_Pr1=_Sv1[_Q7+2];_Q7+=3;if(_J8===null){_J8=_bw1;_hq1.activeTexture(_hq1.TEXTURE0+_Pr1);if(!_At1(_J8)){_Bt1(_J8)}_hq1.bindTexture(_hq1.TEXTURE_2D,_J8._9t1);_hq1.uniform1i(_Wv1._sr1,0);_Xv1[_Pr1]=null}else {_hq1.activeTexture(_hq1.TEXTURE0+_Pr1);if(!_At1(_J8)){_Bt1(_J8)}_hq1.bindTexture(_hq1.TEXTURE_2D,_J8._9t1);
_hq1.uniform1i(_Wv1._sr1,0);_Rw1(_J8,_Pr1);_Xv1[_Pr1]=_J8}break }case _sv1:{_ia=_Sv1[_Q7+1];_Q7+=2;if(_ia._gx1){_ia._hx1()}_ia._ix1=this._d6;_ow1(_ia)}break;case _iv1:{_hq1.drawArrays(_hq1.TRIANGLES,_Sv1[_Q7+1],_Sv1[_Q7+2]);_Q7+=3;break }case _jv1:{_hq1.drawArrays(_hq1.TRIANGLE_FAN,_Sv1[_Q7+1],_Sv1[_Q7+2]);_Q7+=3;break }case _kv1:{_hq1.drawArrays(_hq1.TRIANGLE_STRIP,_Sv1[_Q7+1],_Sv1[_Q7+2]);_Q7+=3;break }case _lv1:{_hq1.drawArrays(_hq1.LINES,_Sv1[_Q7+1],_Sv1[_Q7+2]);_Q7+=3;break }case _mv1:{_hq1.drawArrays(_hq1.LINE_STRIP,
_Sv1[_Q7+1],_Sv1[_Q7+2]);_Q7+=3;break }case _nv1:{_hq1.drawArrays(_hq1.POINTS,_Sv1[_Q7+1],_Sv1[_Q7+2]);_Q7+=3;break }case _uv1:{_hq1.bindFramebuffer(_hq1.FRAMEBUFFER,_Sv1[_Q7+1]);_Q7+=2;break }case _vv1:{_hq1.colorMask(_Sv1[_Q7+2],_Sv1[_Q7+3],_Sv1[_Q7+4],_Sv1[_Q7+1]);_Q7+=5;break }case _wv1:{_hq1.blendFunc(_Kw1(_Sv1[_Q7+1]),_Kw1(_Sv1[_Q7+2]));_Q7+=3;break }case _Av1:{_Lw1(_Sv1[_Q7+1],_Sv1[_Q7+2]);_Q7+=3;break }case _yv1:{_st=_Sv1[_Q7+1];_Qr1=_Sv1[_Q7+2];_Q7+=3;_Ls1=_fx1[_fx1._Tr1[_st]];switch(_Ls1._2s1["type"]){
case _hq1.INT:_hq1.uniform1iv(_Ls1.location,_Qr1);break;case _hq1.INT_VEC2:_hq1.uniform2iv(_Ls1.location,_Qr1);break;case _hq1.INT_VEC3:_hq1.uniform3iv(_Ls1.location,_Qr1);break;case _hq1.INT_VEC4:_hq1.uniform4iv(_Ls1.location,_Qr1);break }break }case _zv1:{_st=_Sv1[_Q7+1];_Qr1=_Sv1[_Q7+2];_Q7+=3;_Ls1=_fx1[_fx1._Tr1[_st]];switch(_Ls1._2s1["type"]){case _hq1.FLOAT:_hq1.uniform1fv(_Ls1.location,_Qr1);break;case _hq1.FLOAT_VEC2:_hq1.uniform2fv(_Ls1.location,_Qr1);break;case _hq1.FLOAT_VEC3:_hq1.uniform3fv(_Ls1.location,
_Qr1);break;case _hq1.FLOAT_VEC4:_hq1.uniform4fv(_Ls1.location,_Qr1);break;case _hq1.FLOAT_MAT2:_hq1.uniformMatrix2fv(_Ls1.location,false,_Qr1);break;case _hq1.FLOAT_MAT3:_hq1.uniformMatrix3fv(_Ls1.location,false,_Qr1);break;case _hq1.FLOAT_MAT4:_hq1.uniformMatrix4fv(_Ls1.location,false,_Qr1);break }break }case _Bv1:{_Pr1=_Sv1[_Q7+1];var state=_Sv1[_Q7+2];var _ql=_Sv1[_Q7+3];_Q7+=4;var _Sw1=_Zv1[_Pr1];_Sw1._Uw1[state]=_ql;_Rw1(_Xv1[_Pr1],_Pr1);break }case _Cv1:{_Ki=_Sv1[_Q7+1];__v1.set(_Sv1[_Q7+2],_Ki*4);_0w1.set(_Sv1[_Q7+3],
_Ki*4);_1w1.set(_Sv1[_Q7+4],_Ki*4);_Q7+=5;_Mw1(_Pv1);break }case _Dv1:{_2w1.set(_Sv1[_Q7+1]);_Q7+=2;_Mw1(_Qv1);break }case _Ev1:{_3w1.set(_Sv1[_Q7+1]);_Q7+=2;_Mw1(_Ov1);break }case _Fv1:{_Ki=_Sv1[_Q7+1];enable=_Sv1[_Q7+2];_59=_Sv1[_Q7+3];_Q7+=4;if(enable){_1w1.set(_59,_Ki*4)}else {var _Uo=_Ki*4;_1w1[_Uo+0]=0;_1w1[_Uo+1]=0;_1w1[_Uo+2]=0;_1w1[_Uo+3]=0}_Mw1(_Pv1);break }case _Gv1:{_4w1=_Sv1[_Q7+1];_5w1=_Sv1[_Q7+2];_Q7+=3;_Mw1(_Rv1);break }case _Hv1:{_J8=_Sv1[_Q7+1];var _S7=_Sv1[_Q7+2];var _U7=_Sv1[_Q7+3];var _98=_Sv1[_Q7+4];
var _a8=_Sv1[_Q7+5];var canvas=_Sv1[_Q7+6];_Q7+=7;if(!_At1(_J8)){_Bt1(_J8)}_hq1.activeTexture(_hq1.TEXTURE0);_hq1.bindTexture(_hq1.TEXTURE_2D,_J8._9t1);_hq1.texSubImage2D(_hq1.TEXTURE_2D,0,_S7,_U7,_98,_a8,_hq1.RGBA,_hq1.UNSIGNED_BYTE,canvas);if(_Xv1.length>0){if(_Xv1[0]!=null){_hq1.bindTexture(_hq1.TEXTURE_2D,_Xv1[0]._9t1)}}break }}}_Sv1.length=0}}/*@constructor */function _Tq1(_jx1,_D8,_E8,_kx1,_3t1){var _hq1=this._Sq1;var _lx1,_mx1,_cF,_eF,_nx1,_ox1;Object.defineProperties(this,{_at1:{get:function(){
return _lx1}},_9t1:{get:function(){return _mx1},set:function(_o6){_mx1=_o6}},_7t1:{get:function(){return _cF}},_8t1:{get:function(){return _eF}},_Ww1:{get:function(){return _nx1}},Image:{get:function(){return _ox1}}});(function(){_mx1=_jx1;_cF=_D8;_eF=_E8;_nx1=_kx1;_ox1=_3t1;_lx1=new _Vq1();if(_mx1){_lx1._bt1(_hq1.TEXTURE_2D);}})()}function _px1(_qx1){var _rx1=[];var _sx1;(function(){if(_qx1==undefined)_qx1=32;_sx1=~~(_qx1/32);if(_sx1==0)_sx1=1;_rx1=new Array(_sx1);for(var _Q7=0;_Q7<_sx1;_Q7++){_rx1[_Q7]=0x0}
})();this._tx1=function(){return _qx1};this._ux1=function(_vx1){if(_vx1>=_qx1)return;var _Og=~~(_vx1/32);var _wx1=_vx1-(_Og*32);_rx1[_Og]|=1<<_wx1};this._xx1=function(_vx1){if(_vx1>=_qx1)return;var _Og=~~(_vx1/32);var _wx1=_vx1-(_Og*32);_rx1[_Og]&=~(1<<_wx1)};this._yx1=function(_vx1){if(_vx1>=_qx1)return 0;var _Og=~~(_vx1/32);var _zx1=_vx1-(_Og*32);var _Cd=(_rx1[_Og]>>_zx1)&0x1;return _Cd};this._Ax1=function(){var _Q7;for(_Q7=0;_Q7<(_sx1-1);_Q7++){_rx1[_Q7]=0xffffffff}var _Bx1=_qx1-(_Q7*32);var _R7;var _Bc=1;
for(_R7=0;_R7<_Bx1;_R7++){_rx1[_Q7]|=_Bc;_Bc<<=1}};this._Cx1=function(){for(var _Q7=0;_Q7<_sx1;_Q7++){_rx1[_Q7]=0x0}};this._Dx1=function(){var _Q7;for(_Q7=0;_Q7<_sx1;_Q7++){if(_rx1[_Q7]!=0)return 1}return 0};this._Ex1=function(_3v){var _Fx1=_3v._tx1()>this._tx1()?_3v._tx1():this._tx1();var _Gx1=new _px1(_Fx1);for(var _Q7=0;_Q7<_Fx1;_Q7++){var _Hx1=this._yx1(_Q7)|_3v._yx1(_Q7);if(_Hx1==1){_Gx1._ux1(_Q7)}}return _Gx1};this._Ix1=function(_3v){var _Fx1=_3v._tx1()>this._tx1()?_3v._tx1():this._tx1();var _Gx1=new _px1(_Fx1);
for(var _Q7=0;_Q7<_Fx1;_Q7++){var _Hx1=this._yx1(_Q7)&_3v._yx1(_Q7);if(_Hx1==1){_Gx1._ux1(_Q7)}}return _Gx1}}function _Jx1(_Kx1,_Lx1,_Mx1){var _Nx1=[];var _Ox1=[];(function(){_Nx1=new Array(_Kx1);_Ox1=new Array(_Lx1*_Mx1)})();Object.defineProperties(this,{_Px1:{get:function(){return _Nx1},set:function(_Cd){_Nx1=_Cd}},_Qx1:{get:function(){return _Ox1},set:function(_Cd){_Ox1=_Cd}},})}/*@constructor */function _Nq1(_Rx1,_Sx1,_Tx1,_fv1){var _hq1=this._Sq1;var _Ux1=null;var _971=null;var _Vx1=[];var _Wx1;var _Xx1=null;
var _Yx1=null;var _Zx1=false;var __x1=_Tx1;(function(){_Xx1=new _px1(64);_Yx1=new _px1(64);_Ux1=new _Jx1(_ka._Cu1,_Rx1,_ka._Tu1);_971=new _Jx1(_ka._Cu1,_Rx1,_ka._Tu1);_Vx1=new Array(_Sx1);for(var _Q7=0;_Q7<_Sx1;_Q7++){_Vx1[_Q7]=new _Jx1(_ka._Cu1,_Rx1,_ka._Tu1)}_cw1()})();function _cw1(){_Xx1._Ax1();_Yx1._Ax1();_Zx1=true;_Wx1=0;_Ux1._Px1[_ka._kq]=false;_Ux1._Px1[_ka._ou1]=_ka._Xu1;_Ux1._Px1[_ka._pu1]=_ka._Zu1;_Ux1._Px1[_ka._nq]=true;_Ux1._Px1[_ka._Yq]=false;_Ux1._Px1[_ka._yq]=_ka._zq;_Ux1._Px1[_ka._Aq]=_ka._Hq;
_Ux1._Px1[_ka._wq]=_ka._cs1;_Ux1._Px1[_ka._mq]=_ka._Ou1;_Ux1._Px1[_ka.__q]=0;_Ux1._Px1[_ka._0r]=_ka._Pu1;_Ux1._Px1[_ka._jq]=true;_Ux1._Px1[_ka._rq]=false;_Ux1._Px1[_ka._qu1]=false;_Ux1._Px1[_ka._sq]=0x00000000;_Ux1._Px1[_ka._ru1]=_ka._4v1;_Ux1._Px1[_ka._tq]=0.0;_Ux1._Px1[_ka._uq]=1.0;_Ux1._Px1[_ka._su1]=0;_Ux1._Px1[_ka._tu1]=false;_Ux1._Px1[_ka._uu1]=false;_Ux1._Px1[_ka._vu1]=0x00000000;_Ux1._Px1[_ka._wu1]=_ka._4v1;_Ux1._Px1[_ka._Xq]=_ka._6v1|_ka._8v1|_ka._7v1|_ka._9v1;_Ux1._Px1[_ka._zs1]=false;
_Ux1._Px1[_ka._xu1]=_ka._Du1;_Ux1._Px1[_ka._yu1]=_ka._Du1;_Ux1._Px1[_ka._Es1]=_ka._Du1;_Ux1._Px1[_ka._Bs1]=_ka._Su1;_Ux1._Px1[_ka._Hs1]=0;_Ux1._Px1[_ka._zu1]=0xffffffff;_Ux1._Px1[_ka._Au1]=0xffffffff;_Ux1._Px1[_ka._Eq]=false;_Ux1._Px1[_ka._Cq]=_ka._zq;_Ux1._Px1[_ka._Dq]=_ka._Hq;_Ux1._Px1[_ka._Bu1]=0;var _Q7;for(_Q7=0;_Q7<_ka._Cu1;_Q7++){_971._Px1[_Q7]=_Ux1._Px1[_Q7]}for(_Q7=0;_Q7<_Rx1;_Q7++){var index=_Q7*4;_Ux1._Qx1[index+_ka._5r]=_fv1==true?_ka._6r:_ka._8r;_Ux1._Qx1[index+_ka._7r]=_fv1==true?_ka._6r:_ka._8r;
_Ux1._Qx1[index+_ka._br]=_ka._er;_Ux1._Qx1[index+_ka._dr]=_ka._er}for(_Q7=0;_Q7<(_ka._Tu1*_Rx1);_Q7++){_971._Qx1[_Q7]=_Ux1._Qx1[_Q7]}_Wx1=0};this._mw=function(){_cw1()};this._0y1=function(){return _Xx1};this._1y1=function(){return _Yx1};this._2y1=function(){return _Zx1};this._iq=function(_Cw1,_Zq){if(_971._Px1[_Cw1]==_Zq)return;if(_Ux1._Px1[_Cw1]!=_Zq){_Xx1._ux1(_Cw1)}else {_Xx1._xx1(_Cw1)}_971._Px1[_Cw1]=_Zq;_Zx1=_Xx1._Dx1()||_Yx1._Dx1()};this._4r=function(_ts1,_Cw1,_Zq){var index=(_ts1*_ka._Tu1)+_Cw1;
if(_971._Qx1[index]==_Zq)return;if(_Ux1._Qx1[index]!=_Zq){_Yx1._ux1(index)}else {_Yx1._xx1(index)}_971._Qx1[index]=_Zq;_Zx1=_Xx1._Dx1()||_Yx1._Dx1()};this._fr=function(_Cw1){return _971._Px1[_Cw1]};this._lr=function(_ts1,_Cw1){return _971._Qx1[(_ts1*_ka._Tu1)+_Cw1]};this._mr=function(){_Vx1[_Wx1]._Px1=_971._Px1.slice();_Vx1[_Wx1]._Qx1=_971._Qx1.slice();if(_Wx1<_Sx1){_Wx1++}else {debug("GPU state stack has run out of space")}};this._nr=function(){if(_Wx1>0){_Wx1--}else {debug("Attempting to drop below bottom of GPU state stack")}
var _Q7;for(_Q7=0;_Q7<_ka._Cu1;_Q7++){this._iq(_Q7,_Vx1[_Wx1]._Px1[_Q7])}for(_Q7=0;_Q7<_Rx1;_Q7++){var _R7;for(_R7=0;_R7<_ka._Tu1;_R7++){this._4r(_Q7,_R7,_Vx1[_Wx1]._Qx1[(_Q7*_Rx1)+_R7])}}};this._NQ=function(){var _Q7;if(_Xx1._Dx1()){for(_Q7=0;_Q7<_ka._Cu1;_Q7++){if(_Xx1._yx1(_Q7)!=0){__x1._iq(_Q7,_971._Px1[_Q7]);_Ux1._Px1[_Q7]=_971._Px1[_Q7]}}_Xx1._Cx1()}if(_Yx1._Dx1()){for(_Q7=0;_Q7<(_Rx1*_ka._Tu1);_Q7++){if(_Yx1._yx1(_Q7)!=0){var _Pr1=~~(_Q7/_ka._Tu1);var state=_Q7-_Pr1;__x1._4r(_Pr1,state,_971._Qx1[_Q7]);
_Ux1._Qx1[_Q7]=_971._Qx1[_Q7]}}_Yx1._Cx1()}_Zx1=false}}/*@constructor */function _Vq1(_fv1){var _hq1=this._Sq1;var _3y1=[];Object.defineProperties(this,{_Uw1:{get:function(){return _3y1}}});(function(){if(_fv1){_3y1[_ka._5r]=_ka._6r;_3y1[_ka._7r]=_ka._6r}else {_3y1[_ka._5r]=_ka._8r;_3y1[_ka._7r]=_ka._8r}_3y1[_ka._br]=_ka._er;_3y1[_ka._dr]=_ka._er})();/*@this {yyTextureSamplerState} */this._bt1=function(_MS){var _4y1=_3y1;_hq1.texParameteri(_MS,_hq1.TEXTURE_MAG_FILTER,(_4y1[_ka._5r]==_ka._6r)?_hq1.LINEAR:_hq1.NEAREST);
_hq1.texParameteri(_MS,_hq1.TEXTURE_MIN_FILTER,(_4y1[_ka._7r]==_ka._6r)?_hq1.LINEAR:_hq1.NEAREST);_hq1.texParameteri(_MS,_hq1.TEXTURE_WRAP_S,(_4y1[_ka._br]==_ka._er)?_hq1.CLAMP_TO_EDGE:_hq1.REPEAT);_hq1.texParameteri(_MS,_hq1.TEXTURE_WRAP_T,(_4y1[_ka._dr]==_ka._er)?_hq1.CLAMP_TO_EDGE:_hq1.REPEAT)}}/*@constructor */function _Pb(_hc,_5y1,_6y1){var _hq1=this._Sq1;this._7y1=null;this._3c=null;this.__w1=null;this._ra=null;this._ta=null;this._9c=null;this._va=null;this._4x1=_5y1;this._ix1=-1;this._pa=0;
this._8y1=_hc;this._gx1=false;_9y1(this);function _9y1(_RQ){_ay1(_RQ);_by1(_RQ);if(_6y1){_cy1(_RQ)}}function _ay1(_RQ){var _dy1=_RQ._4x1._Ec;_RQ._7y1=new ArrayBuffer(_hc*_dy1);_RQ._3c=new Int8Array(_RQ._7y1)}function _cy1(_RQ){_RQ.__w1=_hq1.createBuffer();_hq1.bindBuffer(_hq1.ARRAY_BUFFER,_RQ.__w1);_hq1.bufferData(_hq1.ARRAY_BUFFER,_RQ._3c,_hq1.DYNAMIC_DRAW)}function _by1(_RQ){var _ey1=_RQ._4x1._yc;for(var _r7=0;_r7<_ey1.length;_r7++){var _5x1=_ey1[_r7];switch(_5x1._Ac){case _ka._Pc:_RQ._ra=_fy1(_5x1._7x1,
_RQ._7y1,_5x1.offset);break;case _ka._Uc:_RQ._ta=_fy1(_5x1._7x1,_RQ._7y1,_5x1.offset);break;case _ka._3d:_RQ._9c=_fy1(_5x1._7x1,_RQ._7y1,_5x1.offset);break;case _ka._1d:_RQ._va=_fy1(_5x1._7x1,_RQ._7y1,_5x1.offset);break }}}function _fy1(_gy1,_hy1,_iy1){switch(_gy1){case _hq1.UNSIGNED_BYTE:return(new Int32Array(_hy1,_iy1));break;case _hq1.FLOAT:return(new Float32Array(_hy1,_iy1));break }return false}/*@this {yyVBuffer} */this._jy1=function(_Ut1){if(_Ut1._oa()===this._oa()){var _ed=_Ut1._pa*_Ut1._oa();var offset=this._pa*this._oa();
if((offset+_ed)>this._3c.length){var _ky1=new ArrayBuffer(this._3c.length*2);var _2c=new Int8Array(_ky1);_2c.set(this._3c);this._3c=_2c;this._7y1=_ky1;_by1(this)}this._3c.set(_Ut1._3c.subarray(0,_ed),offset);this._pa+=_Ut1._pa}};/*@this {yyVBuffer} */this._cd=function(){if(this._pa<this.max){var _ed=this._pa*this._oa();var _ly1=new ArrayBuffer(_ed);var _my1=new Int8Array(_ly1);_my1.set(this._3c.subarray(0,_ed));this._3c=_my1;this._7y1=_ly1}this.__w1=_hq1.createBuffer();_hq1.bindBuffer(_hq1.ARRAY_BUFFER,this.__w1);
_hq1.bufferData(_hq1.ARRAY_BUFFER,this._3c,_hq1.STATIC_DRAW);this._ra=null;this._ta=null;this._9c=null;this._va=null};/*@this {yyVBuffer} */this._Sb=function(_ny1){if((this._pa+_ny1)>this.max){var _oy1=this.max*2;this.max=_oy1;var _Gc=new ArrayBuffer(_oy1);var _Ic=new Int8Array(_Gc);_Ic.set(this._3c);this._7y1=_Gc;_by1(this)}this._pa+=_ny1};/*@this {yyVBuffer} */this._oa=function(){return this._4x1._Ec};/*@this {yyVBuffer} */this._hx1=function(){_hq1.bindBuffer(_hq1.ARRAY_BUFFER,this.__w1);var _py1=new Int8Array(this._7y1,
0,this._pa*this._4x1._Ec);_hq1.bufferSubData(_hq1.ARRAY_BUFFER,0,_py1);this._pa=0;this._gx1=false}}/*@constructor */function _Oq1(_Tx1,_qy1){var _hq1=this._Sq1;var _ry1=[];var _sy1=0,_Tv1=null,_ty1=null,_uy1=_ka._Zt1,_Uv1=null;var __x1=_Tx1;var _vy1=_qy1;/*@this {yyVBufferManager} */this._8r1=function(_Kc){if(_ry1[_Kc]){debug("WARNING: Vertex format has already been registered\n")}else {_ry1[_Kc]=new _ig()}};/*@this {yyVBufferManager} */this._Wt1=function(_Fb,_id,_Ut1,_Vt1){var _u7=_Ut1._pa-_Vt1;switch(_Fb){
case _ka._la:__x1._Ws1(0,_id);__x1._ow1(_Ut1);__x1._qw1(_Vt1,_u7);break;case _ka._Kb:__x1._Ws1(0,_id);__x1._ow1(_Ut1);__x1._sw1(_Vt1,_u7);break;case _ka._Jb:__x1._Ws1(0,_id);__x1._ow1(_Ut1);__x1._tw1(_Vt1,_u7);break;case _ka._Hb:__x1._Ws1(0,null);__x1._ow1(_Ut1);__x1._uw1(_Vt1,_u7);break;case _ka._Ib:__x1._Ws1(0,null);__x1._ow1(_Ut1);__x1._vw1(_Vt1,_u7);break;case _ka._Gb:__x1._Ws1(0,null);__x1._ow1(_Ut1);__x1._0c1(_Vt1,_u7);break }};/*@this {yyVBufferManager} */this._NQ=function(){if(_ty1==null){_vy1._NQ();
return }this._Wt1(_uy1,_Tv1,_ty1,_sy1);_ty1=_Tv1=null;_uy1=_ka._Zt1;_vy1._NQ()};/*@this {yyVBufferManager} */this._ja=function(_Fb,_wy1,_Kc,_xy1,_5y1,_yy1){var _Q7,_zy1,_ia,_Ay1;_Ay1=_wy1;if(_ty1!=null){if((_ty1._cr1==_Kc)&&((_ty1._pa+_xy1)<=_ty1._8y1)&&(_Tv1==_Ay1)&&(_uy1==_Fb)&&((_Fb!=_ka._Ib)&&(_Fb!=_ka._Jb)&&(_Fb!=_ka._Kb))&&(_vy1._2y1()==false)){return _ty1}else {var _By1=_ty1;_v8._NQ();if((_By1._cr1==_Kc)&&((_By1._pa+_xy1)<=_By1._8y1)){_ty1=_By1;_sy1=_By1._pa;_uy1=_Fb;_Tv1=_Ay1;return _ty1}}}else this._NQ();
_uy1=_Fb;_Tv1=_Ay1;_zy1=_ry1[_Kc]._xg;for(_Q7=_zy1.length-1;_Q7>=0;_Q7--){_ia=_zy1[_Q7];if(((_ia._ix1+1)<_yy1)&&(_ia._pa+_xy1)<=_ia._8y1){_ia._gx1=true;_sy1=_ia._pa;_ty1=_ia;return _ia}}if(_xy1<_Qb){_xy1=_Qb}_ia=new _Pb(_xy1,_5y1,true);_ia._cr1=_Kc;_ia._gx1=true;_sy1=_ia._pa;_ty1=_ia;_ry1[_Kc]._Qe(_ia);return _ia}}/*@constructor */function _Uq1(){var _hq1=this._Sq1;var _Cy1=1,_Dy1=false,_Ey1=[],_Fy1=0,_Gy1=0;this._ax1=[];Object.defineProperties(this,{_yc:{get:function(){return _Ey1},set:function(_Cd){_Ey1=_Cd}
},_Dc:{get:function(){return _Gy1},set:function(_Cd){_Gy1=_Cd}},_Ec:{get:function(){return _Fy1},set:function(_Cd){_Fy1=_Cd}},_9r1:{get:function(){return _Dy1},set:function(_Cd){_Dy1=_Cd}}});function _Hy1(_vc,_uc,_Iy1){var _zc={offset:_Fy1,type:_vc,_Ac:_uc,_Bc:_Iy1,_7x1:0,_6x1:0,_8x1:false};return _zc}function _Qe(_vc,_uc,_Iy1){_Gy1|=_Iy1;var _5x1=_Hy1(_vc,_uc,_Iy1);switch(_vc){case _ka._Vc:case _ka._bd:_Fy1+=4;_5x1._7x1=_hq1.UNSIGNED_BYTE;_5x1._6x1=4;_5x1._8x1=true;break;case _ka._5d:_Fy1+=4;_5x1._7x1=_hq1.FLOAT;
_5x1._6x1=1;_5x1._8x1=false;break;case _ka._Qc:_Fy1+=8;_5x1._7x1=_hq1.FLOAT;_5x1._6x1=2;_5x1._8x1=false;break;case _ka._Sc:_Fy1+=12;_5x1._7x1=_hq1.FLOAT;_5x1._6x1=3;_5x1._8x1=false;break;case _ka._9d:_Fy1+=16;_5x1._7x1=_hq1.FLOAT;_5x1._6x1=4;_5x1._8x1=false;break }_Ey1.push(_5x1)}/*@this {yyVertexFormat} */this._Jy1=function(){_Qe(_ka._Qc,_ka._Pc,_Cy1);_Cy1=_Cy1<<1};/*@this {yyVertexFormat} */this._4r1=function(){_Qe(_ka._Sc,_ka._Pc,_Cy1);_Cy1=_Cy1<<1;};/*@this {yyVertexFormat} */this._5r1=function(){
_Qe(_ka._Vc,_ka._Uc,_Cy1);_Cy1=_Cy1<<1};/*@this {yyVertexFormat} */this._7r1=function(){_Qe(_ka._Sc,_ka._3d,_Cy1);_Cy1=_Cy1<<1};/*@this {yyVertexFormat} */this._6r1=function(){_Qe(_ka._Qc,_ka._1d,_Cy1);_Cy1=_Cy1<<1};/*@this {yyVertexFormat} */this._Ky1=function(_vc,_uc){if((_vc<_ka._5d)||(_vc>_ka._au1)){debug("ERROR vertex_format_add_custom: illegal types");return }if((_uc<_ka._Pc)||(_uc>_ka._9u1)){debug("ERROR vertex_format_add_custom: illegal usage");return }_Qe(_vc,_uc,_Cy1);_Cy1=_Cy1<<1};/*@this {yyVertexFormat} */this._vW=function(_br1){
if(_Ey1.length!==_br1._yc.length){return false}for(var _Q7=0;_Q7<_Ey1.length;_Q7++){var _Ly1=_Ey1[_Q7];var _My1=_br1._yc[_Q7];if((_Ly1.offset!==_My1.offset)||(_Ly1.type!==_My1.type)||(_Ly1._Ac!==_My1._Ac)||(_Ly1._Bc!==_My1._Bc)||(_Ly1._7x1!==_My1._7x1)||(_Ly1._6x1!==_My1._6x1)){return false}}return true}}function _Ny1(color){return(((color._J7*255)&0xff)<<0)|(((color._j9*255)&0xff)<<8)|(((color._M7*255)&0xff)<<16)}/*@this {yyPhysicsDebugDraw} */function _Oy1(vertices,vertexCount,color){_hh(_Ny1(color));
var scale=1.0/this._Py1._yK;for(var _r7=0;_r7<vertexCount;++_r7){var _Qy1=vertices[_r7];var _Ry1=vertices[(_r7+1)%vertexCount];_o9(_Qy1.x*scale,_Qy1.y*scale,_Ry1.x*scale,_Ry1.y*scale)}}/*@this {yyPhysicsDebugDraw} */function _Sy1(vertices,vertexCount,color){_hh(_Ny1(color));var scale=1.0/this._Py1._yK;var _Qy1=vertices[0];for(var _r7=2;_r7<vertexCount;++_r7){var _Ry1=vertices[_r7-1];var _Ty1=vertices[_r7];_jy(_Qy1.x*scale,_Qy1.y*scale,_Ry1.x*scale,_Ry1.y*scale,_Ty1.x*scale,_Ty1.y*scale,false)}}/*@this {yyPhysicsDebugDraw} */function _Uy1(_2Y,
_3Y,color){_hh(_Ny1(color));var scale=1.0/this._Py1._yK;_Jy((_2Y.x-_3Y)*scale,(_2Y.y-_3Y)*scale,(_2Y.x+_3Y)*scale,(_2Y.y+_3Y)*scale,true)}/*@this {yyPhysicsDebugDraw} */function _Vy1(_2Y,_3Y,_5Y,color){_hh(_Ny1(color));var scale=1.0/this._Py1._yK;_Jy((_2Y.x-_3Y)*scale,(_2Y.y-_3Y)*scale,(_2Y.x+_3Y)*scale,(_2Y.y+_3Y)*scale,false)}/*@this {yyPhysicsDebugDraw} */function _Wy1(_7Y,_8Y,color){_hh(_Ny1(color));var scale=1.0/this._Py1._yK;_o9(_7Y.x*scale,_7Y.y*scale,_8Y.x*scale,_8Y.y*scale)}/*@this {yyPhysicsDebugDraw} */function _Xy1(_1X){
var _Yy1=0.4;var scale=1.0/this._Py1._yK;var _7Y=_1X._tx,_8Y=new _Zy1.__y1();_8Y.x=_7Y.x+_Yy1*_1X.__v._ZW().x;_8Y.y=_7Y.y+_Yy1*_1X.__v._ZW().y;_hh(_0z1);_o9(_7Y.x*scale,_7Y.y*scale,_8Y.x*scale,_8Y.y*scale);_8Y.x=_7Y.x+_Yy1*_1X.__v.__W().x;_8Y.y=_7Y.y+_Yy1*_1X.__v.__W().y;_hh(_1z1);_o9(_7Y.x*scale,_7Y.y*scale,_8Y.x*scale,_8Y.y*scale)}/*@this {yyPhysicsDebugDraw} */function _2z1(_bY,_3Y,_cY,_H8){for(var _r7=0;_r7<_H8;_r7++){var scale=1.0/this._Py1._yK;_hh(((_cY[_r7]._J7&0xff)<<0)|((_cY[_r7]._j9&0xff)<<8)|((_cY[_r7]._M7&0xff)<<16));
_Jy((_bY[_r7].x-_3Y)*scale,(_bY[_r7].y-_3Y)*scale,(_bY[_r7].x+_3Y)*scale,(_bY[_r7].y+_3Y)*scale,true)}}/*@constructor */function _2K(){this._c71=0;this._d71=0;this._3z1=false;this._4z1=true;this._5z1=false;this._6z1=new _Zy1._7z1();this._eZ=null};_2K.prototype._wK=function(_8z1){this._eZ=null;this._6z1._QY=new _Zy1._9z1();this._6z1._QY._vY=_8z1};_2K.prototype._AK=function(){this._eZ=[];this._6z1._QY=new _Zy1._az1()};_2K.prototype._EK=function(_N6,_O6){var vertexCount=this._eZ.length;this._eZ[vertexCount]=new _Zy1.__y1(_N6,
_O6)};_2K.prototype._bz1=function(){if(this._eZ===null||this._eZ===undefined){return true}if(this._6z1._QY._OC===_Zy1._cz1._LY){if(this._eZ.length>2){this._6z1._QY._Ig(this._eZ,this._eZ.length);return true}}else if(this._6z1._QY._OC===_Zy1._cz1._MY){if(this._5z1){if(this._eZ.length>=3){this._6z1._QY._lZ(this._eZ,this._eZ.length);return true}}else {if(this._eZ.length>=2){this._6z1._QY._mZ(this._eZ,this._eZ.length);return true}}}return false};_2K.prototype._iK=function(_hK){this._6z1._bl._U81=_hK};_2K.prototype._fK=function(_eK){
this._6z1._V81=_eK};_2K.prototype._cK=function(_bK){this._6z1._W81=_bK};_2K.prototype._9K=function(_8K){this._6z1._FY=_8K};_2K.prototype._lK=function(_dz1){this._6z1._X81=_dz1};_2K.prototype._oK=function(_nK){this._c71=_nK};_2K.prototype._qK=function(_nK){this._d71=_nK};_2K.prototype._qK=function(_nK){this._d71=_nK};_2K.prototype._tK=function(_sK){this._4z1=_sK};_2K.prototype._6K=function(){this._3z1=true};var _ez1=0,_fz1=1,_gz1=2,_hz1=3,_iz1=4,_jz1=5,_kz1=6,_lz1=7,_mz1=8,_nz1=9,_oz1=10,_pz1=11,_qz1=12,
_rz1=13,_sz1=14,_tz1=15,_uz1=16,_vz1=17,_wz1=18,_xz1=19,_yz1=20,_zz1=21,_Az1=22,_Bz1=23,_Cz1=24;/*@constructor */function _Dz1(_Ez1){this._Fz1=_Ez1};_Dz1.prototype.__k1=function(_Gz1){if((this._Fz1 instanceof _Zy1._Hz1)||(this._Fz1 instanceof _Zy1._Iz1)||(this._Fz1 instanceof _Zy1._Jz1)){this._Fz1._Qb1()._tK(true);this._Fz1._Rb1()._tK(true);this._Fz1.__k1(_Gz1)}};/*@constructor */function _Kz1(_Lz1,_Mz1,_GK,_HK){this._Nz1=_Lz1;this._Oz1=_Mz1;this._Pz1=new _Zy1.__y1(_GK,_HK);this._Qz1=[]};_Kz1.prototype._081=function(_Rz1,
_Sz1,_Tz1,_Uz1){this._Nz1._081(new _Zy1.__y1(_Tz1,_Uz1),new _Zy1.__y1(_Rz1,_Sz1),true)};_Kz1.prototype._881=function(_Vz1){this._Nz1._881(_Vz1,true)};_Kz1.prototype._481=function(_Wz1){this._Nz1._481(_Wz1,true)};_Kz1.prototype._Xz1=function(_Yz1){var position=this._Nz1._VJ();this._Nz1._T71(position,(_Yz1*Math.PI)/180.0);this._Nz1._tK(true)};_Kz1.prototype._Zz1=function(_ug){var angle=this._Nz1._YW();var _r9=this._Nz1._VJ().y;this._Nz1._T71(new _Zy1.__y1(_ug,_r9),angle);this._Nz1._tK(true)};_Kz1.prototype.__z1=function(_ug){
var angle=this._Nz1._YW();var _q9=this._Nz1._VJ().x;this._Nz1._T71(new _Zy1.__y1(_q9,_ug),angle);this._Nz1._tK(true)};_Kz1.prototype._Z71=function(_0A1){this._Nz1._Z71((_0A1*Math.PI)/180.0);this._Nz1._tK(true)};_Kz1.prototype._1A1=function(_2A1){var _3A1=this._Nz1._Y71();this._Nz1._X71(new _Zy1.__y1(_2A1,_3A1.y));this._Nz1._tK(true)};_Kz1.prototype._4A1=function(_2A1){var _3A1=this._Nz1._Y71();this._Nz1._X71(new _Zy1.__y1(_3A1.x,_2A1));this._Nz1._tK(true)};_Kz1.prototype._w81=function(_5A1){this._Nz1._w81(_5A1)}
;_Kz1.prototype._E81=function(_6A1){this._Nz1._E81(_6A1)};_Kz1.prototype._C81=function(_7A1){this._Nz1._C81(_7A1)};_Kz1.prototype._8A1=function(_9A1){var _5K=this._Nz1._G81();while((_5K!=null)&&(_5K!=undefined)){var _QY=_5K._391();var _aA1=this._Nz1._VJ();if(_QY instanceof _Zy1._9z1){_Jy((_aA1.x-_QY._vY)*_9A1,(_aA1.y-_QY._vY)*_9A1,(_aA1.x+_QY._vY)*_9A1,(_aA1.y+_QY._vY)*_9A1,true)}else if(_QY instanceof _Zy1._az1){var _bA1=Math.sin(this._Nz1._YW());var _cA1=Math.cos(this._Nz1._YW());for(var _r7=0;_r7<_QY._fZ;
++_r7){var _Qy1=_QY._eZ[_r7];var _Ry1=_QY._eZ[(_r7+1)%_QY._fZ];_o9((_aA1.x+((_Qy1.x*_cA1)-(_Qy1.y*_bA1)))*_9A1,(_aA1.y+((_Qy1.x*_bA1)+(_Qy1.y*_cA1)))*_9A1,(_aA1.x+((_Ry1.x*_cA1)-(_Ry1.y*_bA1)))*_9A1,(_aA1.y+((_Ry1.x*_bA1)+(_Ry1.y*_cA1)))*_9A1)}}_5K=_5K._971}};_Kz1.prototype._dA1=function(_9A1){var _O81=this._Nz1._671;while((_O81!=null)&&(_O81!=undefined)){var _P81=_O81._P81;if(_P81 instanceof _Zy1._Hz1){this._eA1(_P81,_9A1)}else if(_P81 instanceof _Zy1._Iz1){this._fA1(_P81,_9A1)}else if(_P81 instanceof _Zy1._gA1){
this._hA1(_P81,_9A1)}else if(_P81 instanceof _Zy1._iA1){this._jA1(_P81,_9A1)}else if(_P81 instanceof _Zy1._kA1){if(_P81._lA1!=null){this._eA1(_P81._lA1,_9A1)}if(_P81._mA1!=null){this._eA1(_P81._mA1,_9A1)}if(_P81._nA1!=null){this._fA1(_P81._nA1,_9A1)}if(_P81._oA1!=null){this._fA1(_P81._oA1,_9A1)}}_O81=_O81._971}};_Kz1.prototype._hA1=function(_pA1,_9A1){var _El1=_pA1._Sb1();var _Fl1=_pA1._Tb1();_o9(_El1.x*_9A1,_El1.y*_9A1,_Fl1.x*_9A1,_Fl1.y*_9A1)};_Kz1.prototype._eA1=function(_pA1,_9A1){var anchor=_pA1._Sb1();
_o9((anchor.x*_9A1)-2,(anchor.y*_9A1)-2,(anchor.x*_9A1)+2,(anchor.y*_9A1)+2);_o9((anchor.x*_9A1)-2,(anchor.y*_9A1)+2,(anchor.x*_9A1)+2,(anchor.y*_9A1)-2)};_Kz1.prototype._fA1=function(_pA1,_9A1){var _El1=_pA1._Sb1();var _Fl1=this._Nz1._VJ();_o9(_El1.x*_9A1,_El1.y*_9A1,_Fl1.x*_9A1,_Fl1.y*_9A1)};_Kz1.prototype._jA1=function(_pA1,_9A1){var anchor,_qA1;if(_pA1._rA1()==this._Nz1){anchor=_pA1._Sb1();_qA1=_pA1._Xb1()}else {anchor=_pA1._Tb1();_qA1=_pA1._Yb1()}_o9(anchor.x*_9A1,anchor.y*_9A1,_qA1.x*_9A1,_qA1.y*_9A1);
_o9(_pA1._Xb1().x*_9A1,_pA1._Xb1().y*_9A1,_pA1._Yb1().x*_9A1,_pA1._Yb1().y*_9A1)};_Kz1.prototype._sA1=function(_tA1){for(var _Q7=0;_Q7<this._Qz1.length;_Q7++){if(this._Qz1[_Q7]==null||this._Qz1[_Q7]==undefined){this._Qz1[_Q7]=_tA1;return _Q7}}return(this._Qz1.push(_tA1)-1)};_Kz1.prototype._uA1=function(_vA1){if(this._Qz1[_vA1]){this._Nz1._L71(this._Qz1[_vA1]);this._Qz1[_vA1]=undefined}};_Kz1.prototype._c91=function(_vA1){if(this._Qz1[_vA1]){return this._Qz1[_vA1]._c91()}return 0.0};_Kz1.prototype._b91=function(_vA1){
if(this._Qz1[_vA1]){return this._Qz1[_vA1]._b91()}return 0.0};_Kz1.prototype._d91=function(_vA1){if(this._Qz1[_vA1]){return this._Qz1[_vA1]._d91()}return 0.0};_Kz1.prototype._fK=function(_vA1,_o6){if(this._Qz1[_vA1]){this._Qz1[_vA1]._fK(_o6)}};_Kz1.prototype._9K=function(_vA1,_o6){if(this._Qz1[_vA1]){this._Qz1[_vA1]._9K(_o6);this._Nz1._I71()}};_Kz1.prototype._cK=function(_vA1,_o6){if(this._Qz1[_vA1]){this._Qz1[_vA1]._cK(_o6)}};var _wA1=10,_xA1=32,_yA1=(1<<0),_zA1=(1<<1),_AA1=(1<<2),_BA1=(1<<3),_CA1=(1<<4),
_DA1=(1<<5),_EA1=(1<<6);var _Zy1=null;function _FA1(){if(_Zy1===null){var _Zu=window["b2"];_Zy1={};_Zy1.version=_Zu["version"];_Zy1.__y1=_Zu["Vec2"];_Zy1._GA1=_Zu["Vec3"];_Zy1._HA1=_Zu["Mat22"];_Zy1._IA1=_Zu["Mat33"];_Zy1._JA1=_Zu["Rot"];_Zy1._KA1=_Zu["Transform"];_Zy1._LA1=_Zu["Sweep"];_Zy1._MA1=_Zu["Dot_v2_v2"];_Zy1._NA1=_Zu["Cross_v2_v2"];_Zy1._OA1=_Zu["Cross_v2_f"];_Zy1._PA1=_Zu["Cross_f_v2"];_Zy1._QA1=_Zu["Mul_m22_v2"];_Zy1._RA1=_Zu["MulT_m22_v2"];_Zy1._SA1=_Zu["Distance"];_Zy1._TA1=_Zu["DistanceSquared"];
_Zy1._UA1=_Zu["Dot_v3_v3"];_Zy1._VA1=_Zu["Cross_v3_v3"];_Zy1._WA1=_Zu["Mul_m22_m22"];_Zy1._XA1=_Zu["MulT_m22_m22"];_Zy1._YA1=_Zu["Mul_m33_v3"];_Zy1._ZA1=_Zu["Mul22_m33_v2"];_Zy1.__A1=_Zu["Mul_r_r"];_Zy1._0B1=_Zu["MulT_r_r"];_Zy1._1B1=_Zu["Mul_r_v2"];_Zy1._2B1=_Zu["MulT_r_v2"];_Zy1._3B1=_Zu["Mul_t_v2"];_Zy1._4B1=_Zu["Min_v2"];_Zy1._5B1=_Zu["Max_v2"];_Zy1._6B1=_Zu["Clamp"];_Zy1._7B1=_Zu["MulT_t_v2"];_Zy1._8B1=_Zu["Mul_t_t"];_Zy1._9B1=_Zu["MulT_t_t"];_Zy1._aB1=_Zu["Clamp_v2"];_Zy1._bB1=_Zu["NextPowerOfTwo"];
_Zy1._cB1=_Zu["Abs_v2"];_Zy1._dB1=_Zu["Abs_m22"];_Zy1._eB1=_Zu["IsPowerOfTwo"];_Zy1._fB1=_Zu["RandomFloat"];_Zy1._gB1=_Zu["Timer"];_Zy1._hB1=_Zu["Color"];_Zy1._a9=_Zu["Draw"];_Zy1._iB1=_Zu["ContactID"];_Zy1._jB1=_Zu["ManifoldPoint"];_Zy1._kB1=_Zu["Manifold"];_Zy1._lB1=_Zu["WorldManifold"];_Zy1._mB1=_Zu["GetPointStates"];_Zy1._nB1=_Zu["ClipVertex"];_Zy1._oB1=_Zu["RayCastInput"];_Zy1._pB1=_Zu["RayCastOutput"];_Zy1._qB1=_Zu["AABB"];_Zy1._rB1=_Zu["CollideCircles"];_Zy1._sB1=_Zu["CollidePolygonAndCircle"];
_Zy1._tB1=_Zu["FindMaxSeparation"];_Zy1._uB1=_Zu["FindIncidentEdge"];_Zy1._vB1=_Zu["CollidePolygons"];_Zy1._wB1=_Zu["CollideEdgeAndCircle"];_Zy1._xB1=_Zu["EPAxis"];_Zy1._yB1=_Zu["TempPolygon"];_Zy1._zB1=_Zu["ReferenceFace"];_Zy1._AB1=_Zu["EPCollider"];_Zy1._BB1=_Zu["CollideEdgeAndPolygon"];_Zy1._CB1=_Zu["ClipSegmentToLine"];_Zy1._DB1=_Zu["TestShapeOverlap"];_Zy1._z_=_Zu["TestOverlap"];_Zy1._cz1=_Zu["Shape"];_Zy1._EB1=_Zu["MassData"];_Zy1._9z1=_Zu["CircleShape"];_Zy1._FB1=_Zu["EdgeShape"];_Zy1._GB1=_Zu["ChainShape"];
_Zy1._az1=_Zu["PolygonShape"];_Zy1._Ie1=_Zu["Pair"];_Zy1._HB1=_Zu["PairLessThan"];_Zy1._IB1=_Zu["BroadPhase"];_Zy1._JB1=_Zu["DistanceProxy"];_Zy1._KB1=_Zu["SimplexCache"];_Zy1._LB1=_Zu["DistanceInput"];_Zy1._MB1=_Zu["DistanceOutput"];_Zy1._NB1=_Zu["SimplexVertex"];_Zy1._OB1=_Zu["Simplex"];_Zy1._PB1=_Zu["DistanceFunc"];_Zy1._QB1=_Zu["TreeNode"];_Zy1._RB1=_Zu["DynamicTree"];_Zy1._SB1=_Zu["TOIInput"];_Zy1._TB1=_Zu["TOIOutput"];_Zy1._UB1=_Zu["SeparationFunction"];_Zy1._VB1=_Zu["TimeOfImpact"];_Zy1._WB1=_Zu["BodyDef"];
_Zy1._XB1=_Zu["Body"];_Zy1._YB1=_Zu["Filter"];_Zy1._7z1=_Zu["FixtureDef"];_Zy1._ZB1=_Zu["Fixture"];_Zy1.__B1=_Zu["DestructionListener"];_Zy1._0C1=_Zu["ContactFilter"];_Zy1._1C1=_Zu["ContactImpulse"];_Zy1._2C1=_Zu["ContactListener"];_Zy1._W_=_Zu["QueryCallback"];_Zy1._951=_Zu["RayCastCallback"];_Zy1._3C1=_Zu["TimeStep"];_Zy1._4C1=_Zu["Position"];_Zy1._5C1=_Zu["Velocity"];_Zy1._6C1=_Zu["SolverData"];_Zy1._7C1=_Zu["World"];_Zy1._8C1=_Zu["MixFriction"];_Zy1._9C1=_Zu["MixRestitution"];_Zy1._aC1=_Zu["ContactRegister"];
_Zy1._bC1=_Zu["ContactEdge"];_Zy1._cC1=_Zu["Contact"];_Zy1._dC1=_Zu["CircleContact"];_Zy1._eC1=_Zu["PolygonContact"];_Zy1._fC1=_Zu["ChainAndCircleContact"];_Zy1._gC1=_Zu["ChainAndPolygonContact"];_Zy1._hC1=_Zu["EdgeAndCircleContact"];_Zy1._iC1=_Zu["EdgeAndPolygonContact"];_Zy1._jC1=_Zu["PolygonAndCircleContact"];_Zy1._kC1=_Zu["defaultFilter"];_Zy1._lC1=_Zu["defaultListener"];_Zy1._mC1=_Zu["ContactManager"];_Zy1._nC1=_Zu["VelocityConstraintPoint"];_Zy1._oC1=_Zu["ContactPositionConstraint"];_Zy1._pC1=_Zu["ContactVelocityConstraint"];
_Zy1._qC1=_Zu["PositionSolverManifold"];_Zy1._rC1=_Zu["ContactSolverDef"];_Zy1._sC1=_Zu["ContactSolver"];_Zy1._tC1=_Zu["Island"];_Zy1._uC1=_Zu["Jacobian"];_Zy1._vC1=_Zu["JointEdge"];_Zy1._wC1=_Zu["JointDef"];_Zy1._xC1=_Zu["Joint"];_Zy1._yC1=_Zu["RevoluteJointDef"];_Zy1._Hz1=_Zu["RevoluteJoint"];_Zy1._zC1=_Zu["MouseJointDef"];_Zy1._AC1=_Zu["MouseJoint"];_Zy1._BC1=_Zu["DistanceJointDef"];_Zy1._gA1=_Zu["DistanceJoint"];_Zy1._CC1=_Zu["PrismaticJointDef"];_Zy1._Iz1=_Zu["PrismaticJoint"];_Zy1._DC1=_Zu["FrictionJointDef"];
_Zy1._EC1=_Zu["FrictionJoint"];_Zy1._FC1=_Zu["WeldJointDef"];_Zy1._GC1=_Zu["WeldJoint"];_Zy1._HC1=_Zu["WheelJointDef"];_Zy1._Jz1=_Zu["WheelJoint"];_Zy1._IC1=_Zu["GearJointDef"];_Zy1._kA1=_Zu["GearJoint"];_Zy1._JC1=_Zu["MotorJointDef"];_Zy1._KC1=_Zu["MotorJoint"];_Zy1._LC1=_Zu["PulleyJointDef"];_Zy1._iA1=_Zu["PulleyJoint"];_Zy1._MC1=_Zu["RopeJointDef"];_Zy1._NC1=_Zu["RopeJoint"];_Zy1._OC1=_Zu["RopeDef"];_Zy1._PC1=_Zu["Rope"];_Zy1._QC1=_Zu["maxManifoldPoints"];_Zy1._RC1=_Zu["maxPolygonVertices"];_Zy1._SC1=_Zu["aabbExtension"];
_Zy1._TC1=_Zu["aabbMultiplier"];_Zy1._UC1=_Zu["linearSlop"];_Zy1._VC1=_Zu["angularSlop"];_Zy1._WC1=_Zu["polygonRadius"];_Zy1._XC1=_Zu["maxSubSteps"];_Zy1._YC1=_Zu["maxTOIContacts"];_Zy1._ZC1=_Zu["velocityThreshold"];_Zy1.__C1=_Zu["maxLinearCorrection"];_Zy1._0D1=_Zu["maxAngularCorrection"];_Zy1._1D1=_Zu["maxTranslation"];_Zy1._2D1=_Zu["maxTranslationSquared"];_Zy1._3D1=_Zu["maxRotation"];_Zy1._4D1=_Zu["maxRotationSquared"];_Zy1._5D1=_Zu["baumgarte"];_Zy1._6D1=_Zu["toiBaugarte"];_Zy1._7D1=_Zu["timeToSleep"];
_Zy1._8D1=_Zu["linearSleepTolerance"];_Zy1._9D1=_Zu["angularSleepTolerance"];_Zy1._aD1=_Zu["epsilon"];_Zy1._bD1=_Zu["JsonSerializer"];_Zy1._cD1=_Zu["RUBELoader"];_Zy1._dD1=_Zu["Profiler"];_Zy1._eD1=_Zu["ParticleDef"];_Zy1._fD1=_Zu["ParticleColor"];_Zy1._gD1=_Zu["ParticleGroupDef"];_Zy1._hD1=_Zu["ParticleGroup"];_Zy1._iD1=_Zu["ParticleSystem"]}}/*@constructor */function _jD1(_kD1){var _lh1=new _Zy1._lB1();_kD1._kh1(_lh1);this._lD1=_kD1._O71();this._mD1=_kD1._Q71();this._nD1=[];this._oD1=[];this._nD1[0]=_kD1._jh1();
this._oD1[0]=_lh1};/*@constructor */function _pD1(_qD1,_rD1,_sD1){this._tD1=_qD1;this._S81=_rD1;this._T81=_sD1};/*@constructor */function _uD1(_vD1,_wD1){_FA1();if(_Zy1===null){_Zy1=window["b2"]}this._yK=_vD1;this._xD1=_wD1;this._yD1=_wA1;this._771=[];this._zD1=[];this._AD1=new _Zy1._gD1();this._sa1=null;this._hw=false;this._BD1=[];for(var _Q7=0;_Q7<_xA1;_Q7++){this._BD1[_Q7]=new _pD1(-1,0,0)}var _W91=new _Zy1.__y1(0,10);this._371=new _Zy1._7C1(_W91);this._CD1();this._DD1();this._aY=_v8?this._ED1:this._FD1;
this._GD1=_v8?this._HD1:this._ID1};_uD1.prototype._CD1=function(){var _Z9=document.getElementById("canvas").getContext("2d");if(_Z9){this._sa1=new _Zy1._a9();this._sa1._UX(_Zy1._a9._dY|_Zy1._a9._eY);this._sa1._Py1=this;this._sa1.__X=_Oy1;this._sa1._0Y=_Sy1;this._sa1._1Y=_Uy1;this._sa1._4Y=_Vy1;this._sa1._6Y=_Wy1;this._sa1._9Y=_Xy1;this._sa1._aY=_2z1;this._371._ra1(this._sa1)}};_uD1.prototype._DD1=function(){var _JD1=new _Zy1._2C1();_JD1._KD1=this;_JD1._w91=function(_M71){if(_M71._O71()._591()||_M71._Q71()._591()){
this._KD1._LD1(_M71)}};_JD1._y91=function(_M71,_z91){};_JD1._x91=function(_M71){};_JD1._A91=function(_M71,_MD1){this._KD1._LD1(_M71)};this._371._pa1(_JD1)};_uD1.prototype._LD1=function(_kD1){for(var _r7=0;_r7<this._771.length;_r7++){var _ND1=this._771[_r7];if((_ND1._lD1==_kD1._O71()&&_ND1._mD1==_kD1._Q71())||(_ND1._lD1==_kD1._Q71()&&_ND1._mD1==_kD1._O71())){var _lh1=new _Zy1._lB1();_kD1._kh1(_lh1);_ND1._nD1[_ND1._nD1.length]=_kD1._jh1();_ND1._oD1[_ND1._oD1.length]=_lh1;return }}this._771[this._771.length]=new _jD1(_kD1)}
;_uD1.prototype._OD1=function(__G){this._xD1=__G};_uD1.prototype._fb1=function(_PD1,_QD1){this._371._7a1.x=_PD1;this._371._7a1.y=_QD1;if((_PD1!=0.0)||(_QD1!=0.0)){var _RD1=this._371._2b1();while((_RD1!=null)&&(_RD1!=undefined)){if(_RD1._wY()===_Zy1._XB1._i71){_RD1._tK(true)}_RD1=_RD1._J81()}}};_uD1.prototype._SD1=function(){var _xg=_h6._vB._xg;for(var index=0;index<_xg.length;index++){var _sB=_xg[index];if(_sB._TD1>=0){var _UD1=_sB._VD1;if(_UD1!==null&&_UD1!==undefined){var _RD1=_UD1._Nz1;if(_RD1._wY()!==_Zy1._XB1._i71){
if(_sB._WD1()){_sB._67(_XD1,0,_sB,_sB)}_RD1._T71(new _Zy1.__y1(_sB.x*this._yK,_sB.y*this._yK),_RD1._YW())}}else {if(_sB._WD1()){_sB._67(_XD1,0,_sB,_sB)}}}}};_uD1.prototype._YD1=function(){var _ZD1=1.0/this._yK;var _RD1=this._371._2b1();while((_RD1!=null)&&(_RD1!=undefined)){var _sB=_RD1._y_();if((_sB!=null)&&(_sB!=undefined)){_sB.__D1(_RD1);var _vg=_RD1._VJ();_sB._0E1=_vg.x*_ZD1;_sB._1E1=_vg.y*_ZD1}_RD1=_RD1._J81()}};_uD1.prototype._7f=function(_2E1){if(_2E1<=0){return }this._SD1();if(this._hw==true){return }
this._YD1();var _3E1=1.0/this._xD1;var _4E1=this._xD1/_2E1;var _5E1=_4E1;while(_5E1>0.0){var _6E1=(_5E1>1.0)?_3E1:(_3E1*_5E1);this._371._Ja1(_6E1,this._yD1,this._yD1);_5E1-=1.0}this._371._Na1();this._7E1();this._8E1()};_uD1.prototype._7E1=function(){var _ZD1=1.0/this._yK;var _RD1=this._371._2b1();while((_RD1!=null)&&(_RD1!=undefined)){var _sB=_RD1._y_();if((_sB!=null)&&(_sB!=undefined)){if(_sB._oB&&_sB._VD1){this._ta1(_sB._VD1);_sB._VD1=null}else {_sB.__D1(_RD1)}}_RD1=_RD1._J81()}};_uD1.prototype._8E1=function(){
var _ZD1=1.0/this._yK;for(var _Q7=0;_Q7<this._771.length;_Q7++){if(this._771[_Q7]._lD1&&this._771[_Q7]._mD1&&this._771[_Q7]._lD1._a91()&&this._771[_Q7]._mD1._a91()){var _9E1=this._771[_Q7]._lD1._a91()._y_();var _aE1=this._771[_Q7]._mD1._a91()._y_();_9E1._bE1=0;_9E1._cE1=[];_9E1._dE1=[];_9E1._eE1=[];_9E1._fE1=[];_aE1._bE1=0;_aE1._cE1=[];_aE1._dE1=[];_aE1._eE1=[];_aE1._fE1=[];var _gE1=0;for(var _hE1=0;_hE1<this._771[_Q7]._nD1.length;_hE1++){var _lh1=this._771[_Q7]._oD1[_hE1];for(var _R7 in _lh1._y11){if(!_lh1._y11.hasOwnProperty(_R7))continue;
_9E1._cE1[_gE1]=_lh1._y11[_R7].x*_ZD1;_9E1._dE1[_gE1]=_lh1._y11[_R7].y*_ZD1;_9E1._eE1[_gE1]=_lh1._IY.x;_9E1._fE1[_gE1]=_lh1._IY.y;_aE1._cE1[_gE1]=_lh1._y11[_R7].x*_ZD1;_aE1._dE1[_gE1]=_lh1._y11[_R7].y*_ZD1;_aE1._eE1[_gE1]=_lh1._IY.x;_aE1._fE1[_gE1]=_lh1._IY.y;_9E1._bE1++;_aE1._bE1++;_gE1++}}if(!_9E1._oB&&!_aE1._oB){_9E1._67(_iE1,_aE1._jE1,_9E1,_aE1);_aE1._67(_iE1,_9E1._jE1,_aE1,_9E1)}_9E1._bE1=0;_9E1._cE1=undefined;_9E1._dE1=undefined;_9E1._eE1=undefined;_9E1._fE1=undefined;_aE1._bE1=0;_aE1._cE1=undefined;
_aE1._dE1=undefined;_aE1._eE1=undefined;_aE1._fE1=undefined}}this._771=[]};_uD1.prototype._MK=function(_tA1,_kE1,_GK,_HK){var _IK=-1;if(!_tA1._bz1()){return }var _lE1=this._mE1(_kE1._jE1);if(_lE1!=-1){_tA1._6z1._bl._S81=this._BD1[_lE1]._S81;_tA1._6z1._bl._T81=this._BD1[_lE1]._T81}else {_tA1._6z1._bl._S81=0;_tA1._6z1._bl._T81=0}var _nE1=(_tA1._6z1._FY==0)?(_tA1._3z1?_Zy1._XB1._q71:_Zy1._XB1._L61):_Zy1._XB1._i71;var _oE1=_kE1._VD1;if(_kE1._VD1){var _RD1=_oE1._Nz1;var _5K=_RD1._G81();if((_5K==null)||(_5K==undefined)){
_RD1._q81(_nE1)}var _5K=_RD1._v71(_tA1._6z1);_IK=_oE1._sA1(_5K)}else {var _pE1=new _Zy1._WB1();_pE1.type=_nE1;_pE1.angle=-_kE1._qE1*_O7/180.0;_pE1._O61=_tA1._c71;_pE1._P61=_tA1._d71;_pE1._R61=_tA1._4z1;var _rE1=_kE1._sE1(_pE1.angle,{x:_GK,y:_HK});_pE1.position.x=(_kE1.x-_rE1.x)*this._yK;_pE1.position.y=(_kE1.y-_rE1.y)*this._yK;_pE1._p_=_kE1;var _RD1=this._371._MK(_pE1);var _5K=_RD1._v71(_tA1._6z1);_oE1=new _Kz1(_RD1,_lE1,_GK,_HK);_kE1._VD1=_oE1;_kE1.__D1(_RD1);_IK=_oE1._sA1(_5K);this._tE1()}return _IK};_uD1.prototype._ta1=function(_uE1){
this._371._ta1(_uE1._Nz1)};_uD1.prototype._wa1=function(_vE1){this._371._wa1(_vE1._Fz1)};;_uD1.prototype._wE1=function(_qD1){for(var _r7=0;_r7<_xA1;_r7++){if(this._BD1[_r7]._tD1==_qD1){return _r7}}return -1};_uD1.prototype._xE1=function(_qD1){var _yE1=this._wE1(_qD1);if(_yE1!=-1){return _yE1}for(var _r7=0;_r7<_xA1;_r7++){if(this._BD1[_r7]._tD1==-1){this._BD1[_r7]._tD1=_qD1;this._BD1[_r7]._S81=(1<<_r7);this._BD1[_r7]._T81=0;return _r7}}return -1};_uD1.prototype._zE1=function(_qD1){var _AE1=[];for(var _BE1 in _CE1){
if(!_CE1.hasOwnProperty(_BE1))continue;for(var _wh1 in _CE1[_BE1]){if(!_CE1[_BE1].hasOwnProperty(_wh1))continue;var _DE1=-1;if(_BE1==_qD1){_DE1=_wh1}else if(_wh1==_qD1){_DE1=_BE1}if(_DE1!==-1){_AE1[_AE1.length]=_DE1}}}return _AE1};_uD1.prototype._EE1=function(_Bg,_FE1){for(var _7u in _26._GE1){if(!_26._GE1.hasOwnProperty(_7u))continue;var _HE1=_26._GE1[_7u];if(_HE1._LB===_Bg._NB){if(this._zE1(_HE1._NB).length!==0){_FE1[_FE1.length]=_HE1._NB}this._EE1(_HE1,_FE1)}}};_uD1.prototype._IE1=function(_qD1){var _AE1=this._zE1(_qD1);
var _JE1=_qD1;var _KE1=_26._8g(_qD1);while((_KE1._LB>=0)&&_26._8g(_KE1._LB)){_KE1=_26._8g(_KE1._LB);_AE1=_AE1.concat(this._zE1(_KE1._NB))}for(var _r7=0;_r7<_AE1.length;_r7++){var _LE1=_AE1[_r7];var _7u=_26._8g(_LE1);this._EE1(_7u,_AE1)}return _AE1};_uD1.prototype._ME1=function(_qD1,_Mz1){var _AE1=this._IE1(_qD1);for(var _NE1=0;_NE1<_AE1.length;++_NE1){for(var _OE1=0;_OE1<_xA1;++_OE1){if(this._BD1[_OE1]._tD1==_AE1[_NE1]){this._BD1[_Mz1]._T81|=this._BD1[_OE1]._S81;this._BD1[_OE1]._T81|=this._BD1[_Mz1]._S81}
}}};_uD1.prototype._mE1=function(_qD1){var _lE1=this._wE1(_qD1);if(_lE1!==-1){return _lE1}var _AE1=this._zE1(_qD1);var _tD1=_qD1;if(_AE1.length===0){var _JE1=_qD1;var _KE1=_26._8g(_qD1);while((_KE1._LB>=0)&&_26._8g(_KE1._LB)){_KE1=_26._8g(_KE1._LB);_tD1=_KE1._NB;_AE1=this._zE1(_tD1);if(_AE1.length!==0){_lE1=this._wE1(_tD1);break }}if(_AE1.length===0){return -1}}if(_lE1===-1){_lE1=this._xE1(_tD1);if(_lE1===-1){return -1}}this._ME1(_qD1,_lE1);return _lE1};_uD1.prototype._tE1=function(){var _RD1=this._371._2b1();
while((_RD1!=null)&&(_RD1!=undefined)){var _sB=_RD1._y_();if((_sB!=null)&&(_sB!=undefined)){var _PE1=_sB._VD1._Oz1;if(_PE1!=-1){var _QE1=new _Zy1._YB1();_QE1._S81=this._BD1[_PE1]._S81;_QE1._T81=this._BD1[_PE1]._T81;var _5K=_RD1._G81();while((_5K!=null)&&(_5K!=undefined)){_QE1._U81=_5K._891()._U81;_5K._691(_QE1);_5K=_5K._971}}}_RD1=_RD1._J81()}};_uD1.prototype._z_=function(_ch,_3v,_N6,_O6,_R6){var _RE1=new _Zy1._KA1();_RE1._Ig(new _Zy1.__y1(_N6,_O6),_R6);if((_ch._VD1===null)||(_ch._VD1===undefined)||(_3v._VD1===null)||(_3v._VD1===undefined)){
return }var _SE1=_ch._VD1._Nz1;var _TE1=_3v._VD1._Nz1;var _UE1;for(_UE1=_SE1._G81();_UE1;_UE1=_UE1._J81()){var _VE1;for(_VE1=_TE1._G81();_VE1;_VE1=_UE1._J81()){if(_Zy1._DB1(_UE1._391(),0,_VE1._391(),0,_RE1,_TE1._8X())){return true}}}return false};_uD1.prototype._ec1=function(_WE1,_N6,_O6,_XE1,_YE1,_ac,_Wb,_ZE1){var _w71=new _Zy1._eD1();_w71._cT=_WE1;_w71.position._Ig(_N6*this._yK,_O6*this._yK);_w71._9M._Ig(_XE1*this._yK,_YE1*this._yK);_w71.color._Ig((_ac&0xff),(_ac&0xff00)>>8,(_ac&0xff0000)>>16,(_Wb*255.0));
_w71._p_=_ZE1;return this._371._ec1(_w71)};_uD1.prototype.__E1=function(){for(var _r7=0;_r7<this._zD1.length;_r7++){var _qO=this._zD1[_r7];if(_qO===null||_qO===undefined){return _r7}}var slot=this._zD1.length;return slot};_uD1.prototype._0F1=function(_1F1){if(_1F1>=0&&_1F1<this._zD1.length){return this._zD1[_1F1]}return null};_uD1.prototype._jc1=function(_2F1,_3F1){var _4F1=this._0F1(_2F1);var _5F1=this._0F1(_3F1);if((_4F1!==null)&&(_5F1!==null)){this._371._jc1(_4F1,_5F1);this._zD1[_3F1]=null}};_uD1.prototype._6F1=function(_RQ,
_7F1,_8F1,_9F1){var _H8=this._371._Jc1();if(_8F1<0||_8F1>=_H8)return;if(_9F1<_8F1)return;if(_9F1>_H8)return;var _cT=this._371._nc1();var _P91=this._371._oc1();var _Q91=this._371._pc1();var _aF1=this._371._qc1();var _p_=this._371._rc1();var _bF1=_RQ._cF1;var _dF1=1.0/this._yK;for(var _r7=_8F1;_r7<_9F1;_r7++){if(_7F1&(1<<0)){_RQ._eF1(_fF1,_cT[_r7])}if(_7F1&(1<<1)){_RQ._eF1(_gF1,_P91[_r7].x*_dF1);_RQ._eF1(_gF1,_P91[_r7].y*_dF1)}if(_7F1&(1<<2)){_RQ._eF1(_gF1,_Q91[_r7].x*_dF1);_RQ._eF1(_gF1,_Q91[_r7].y*_dF1)}
if(_7F1&(1<<3)){_RQ._eF1(_fF1,(_aF1[_r7]._k9<<24)|(_aF1[_r7]._J7<<16)|(_aF1[_r7]._j9<<8)|_aF1[_r7]._M7)}if(_7F1&(1<<4)){_RQ._eF1(_hF1,_p_[_r7])}}_RQ._iF1(_jF1,_bF1)};_uD1.prototype._Wd1=function(_1F1,_WE1){var _qO=this._0F1(_1F1);if(_qO!==null&&_qO!==undefined){_qO._Wd1(_WE1)}};_uD1.prototype._Vd1=function(_1F1){var _qO=this._0F1(_1F1);if(_qO!==null&&_qO!==undefined){return _qO._Vd1()}return 0};_uD1.prototype._FD1=function(_kF1,_ZE1,_D7,_lF1){var _H8=this._371._Jc1();var _cT=this._371._nc1();var _P91=this._371._oc1();
var _aF1=this._371._qc1();var _p_=this._371._rc1();var _dF1=1.0/this._yK;for(var _r7=0;_r7<_H8;_r7++){if(((_cT[_r7]===0)||((_cT[_r7]&_kF1)!==0))&&((_ZE1===0)||(_ZE1===_p_[_r7]))){var _59=(_aF1[_r7]._M7&0xff)|((_aF1[_r7]._j9<<8)&0xff00)|((_aF1[_r7]._J7<<16)&0xff0000);_D7._a9(_r7,_P91[_r7].x*_dF1,_P91[_r7].y*_dF1,1.0,1.0,0,_59,_aF1[_r7]._k9/255.0)}}};_uD1.prototype._ID1=function(_kF1,_ZE1,_D7,_lF1,_4q,_5q,_R6,_ac,_Wb){var _H8=this._371._Jc1();var _cT=this._371._nc1();var _P91=this._371._oc1();var _p_=this._371._rc1();
var _dF1=1.0/this._yK;for(var _r7=0;_r7<_H8;_r7++){if(((_cT[_r7]===0)||((_cT[_r7]&_kF1)!==0))&&((_ZE1===0)||(_ZE1===_p_[_r7]))){_D7._a9(_r7,_P91[_r7].x*_dF1,_P91[_r7].y*_dF1,_4q,_5q,_R6,_ac,_Wb)}}};_uD1.prototype._ED1=function(_kF1,_ZE1,_D7,_lF1){var _Th=_D7._7P[_lF1%_D7._mF1()];if(!_Th){return }if(!_Th._J8.complete){return }if(!_Th._J8._fa){_ga(_Th)}var _H8=this._371._Jc1();var _cT=this._371._nc1();var _P91=this._371._oc1();var _aF1=this._371._qc1();var _p_=this._371._rc1();var _dF1=1.0/this._yK;var _nF1=0;
for(var _r7=0;_r7<_H8;_r7++){if(((_cT[_r7]===0)||((_cT[_r7]&_kF1)!==0))&&((_ZE1===0)||(_ZE1===_p_[_r7]))){_nF1++}}if(_nF1===0){return }var _ia=_v8._ja(_ka._la,_Th._J8._fa,_v8._ma,_nF1*6);var _na=_ia._oa()>>2;var index=_na*_ia._pa;_ia._pa+=_nF1*6;var _qa=_ia._ra;var _sa=_ia._ta;var _ua=_ia._va;var _wa=index;var _xa=_wa+_na;var _ya=_xa+_na;var _za=_ya+_na;var _Aa=_za+_na;var _Ba=_Aa+_na;var _w7=-(_D7._kP-_Th._w4);var _x7=-(_D7._lP-_Th._x4);var _y7=_w7+_Th._y4;var _z7=_x7+_Th._z4;var _oF1=0;for(var _r7=0;_r7<_H8;_r7++){
if(((_cT[_r7]===0)||((_cT[_r7]&_kF1)!==0))&&((_ZE1===0)||(_ZE1===_p_[_r7]))){var x=_P91[_r7].x*_dF1;var y=_P91[_r7].y*_dF1;_qa[_wa+0]=_qa[_Aa+0]=_qa[_Ba+0]=x+_w7;_qa[_wa+1]=_qa[_xa+1]=_qa[_Ba+1]=y+_x7;_qa[_xa+0]=_qa[_ya+0]=_qa[_za+0]=x+_y7;_qa[_ya+1]=_qa[_za+1]=_qa[_Aa+1]=y+_z7;_qa[_wa+2]=_qa[_xa+2]=_qa[_ya+2]=_qa[_za+2]=_qa[_Aa+2]=_qa[_Ba+2]=_Ca;var _59=(_aF1[_r7]._M7&0xff)|((_aF1[_r7]._j9<<8)&0xff00)|((_aF1[_r7]._J7<<16)&0xff0000)|((_aF1[_r7]._k9<<24)&0xff000000);_sa[_wa]=_sa[_xa]=_sa[_ya]=_sa[_za]=_sa[_Aa]=_sa[_Ba]=_59;
_ua[_wa+0]=_ua[_Aa+0]=_ua[_Ba+0]=_Th.x/_Th._J8.width;_ua[_wa+1]=_ua[_xa+1]=_ua[_Ba+1]=_Th.y/_Th._J8.height;_ua[_xa+0]=_ua[_ya+0]=_ua[_za+0]=(_Th.x+_Th._u4)/_Th._J8.width;_ua[_ya+1]=_ua[_za+1]=_ua[_Aa+1]=(_Th.y+_Th._v4)/_Th._J8.height;var _pF1=_na*6;_wa+=_pF1;_xa+=_pF1;_ya+=_pF1;_za+=_pF1;_Aa+=_pF1;_Ba+=_pF1}}};_uD1.prototype._HD1=function(_kF1,_ZE1,_D7,_lF1,_4q,_5q,_R6,_ac,_Wb){_R6=(_R6*Math.PI)/180.0;var _Th=_D7._7P[_lF1%_D7._mF1()];if(!_Th){return }if(!_Th._J8.complete){return }if(!_Th._J8._fa){_ga(_Th)}
var _H8=this._371._Jc1();var _cT=this._371._nc1();var _P91=this._371._oc1();var _p_=this._371._rc1();var _dF1=1.0/this._yK;var _nF1=0;for(var _r7=0;_r7<_H8;_r7++){if(((_cT[_r7]===0)||((_cT[_r7]&_kF1)!==0))&&((_ZE1===0)||(_ZE1===_p_[_r7]))){_nF1++}}if(_nF1===0){return }var _ia=_v8._ja(_ka._la,_Th._J8._fa,_v8._ma,_nF1*6);var _na=_ia._oa()>>2;var index=_na*_ia._pa;_ia._pa+=_nF1*6;var _qa=_ia._ra;var _sa=_ia._ta;var _ua=_ia._va;var _wa=index;var _xa=_wa+_na;var _ya=_xa+_na;var _za=_ya+_na;var _Aa=_za+_na;var _Ba=_Aa+_na;
var _59=_ac|(((_Wb*255)&0xff)<<24);var _w7=-_4q*(_D7._kP-_Th._w4);var _x7=-_5q*(_D7._lP-_Th._x4);var _y7=_w7+(_4q*_Th._y4);var _z7=_x7+(_5q*_Th._z4);var _oF1=0;if(Math.abs(_R6)<0.0001){for(var _r7=0;_r7<_H8;_r7++){if(((_cT[_r7]===0)||((_cT[_r7]&_kF1)!==0))&&((_ZE1===0)||(_ZE1===_p_[_r7]))){var x=_P91[_r7].x*_dF1;var y=_P91[_r7].y*_dF1;_qa[_wa+0]=_qa[_Aa+0]=_qa[_Ba+0]=x+_w7;_qa[_wa+1]=_qa[_xa+1]=_qa[_Ba+1]=y+_x7;_qa[_xa+0]=_qa[_ya+0]=_qa[_za+0]=x+_y7;_qa[_ya+1]=_qa[_za+1]=_qa[_Aa+1]=y+_z7;_qa[_wa+2]=_qa[_xa+2]=_qa[_ya+2]=_qa[_za+2]=_qa[_Aa+2]=_qa[_Ba+2]=_Ca;
_sa[_wa]=_sa[_xa]=_sa[_ya]=_sa[_za]=_sa[_Aa]=_sa[_Ba]=_59;_ua[_wa+0]=_ua[_Aa+0]=_ua[_Ba+0]=_Th.x/_Th._J8.width;_ua[_wa+1]=_ua[_xa+1]=_ua[_Ba+1]=_Th.y/_Th._J8.height;_ua[_xa+0]=_ua[_ya+0]=_ua[_za+0]=(_Th.x+_Th._u4)/_Th._J8.width;_ua[_ya+1]=_ua[_za+1]=_ua[_Aa+1]=(_Th.y+_Th._v4)/_Th._J8.height;var _pF1=_na*6;_wa+=_pF1;_xa+=_pF1;_ya+=_pF1;_za+=_pF1;_Aa+=_pF1;_Ba+=_pF1}}}else {var _c8=Math.sin(_R6);var _d8=Math.cos(_R6);var _qF1=_w7*_d8;var _rF1=_y7*_d8;var _sF1=_x7*_d8;var _tF1=_z7*_d8;var _uF1=_w7*_c8;var _vF1=_y7*_c8;
var _wF1=_x7*_c8;var _xF1=_z7*_c8;for(var _r7=0;_r7<_H8;_r7++){if(((_cT[_r7]===0)||((_cT[_r7]&_kF1)!==0))&&((_ZE1===0)||(_ZE1===_p_[_r7]))){var x=_P91[_r7].x*_dF1;var y=_P91[_r7].y*_dF1;_qa[_wa+0]=_qa[_Ba+0]=x+_qF1+_wF1;_qa[_wa+1]=_qa[_Ba+1]=y-_uF1+_sF1;_qa[_ya+0]=_qa[_za+0]=x+_rF1+_xF1;_qa[_ya+1]=_qa[_za+1]=y-_vF1+_tF1;_qa[_xa+1]=y-_vF1+_sF1;_qa[_xa+0]=x+_rF1+_wF1;_qa[_Aa+0]=x+_qF1+_xF1;_qa[_Aa+1]=y-_uF1+_tF1;_sa[_wa]=_sa[_xa]=_sa[_ya]=_sa[_za]=_sa[_Aa]=_sa[_Ba]=_59;_ua[_wa+0]=_ua[_Aa+0]=_ua[_Ba+0]=_Th.x/_Th._J8.width;
_ua[_wa+1]=_ua[_xa+1]=_ua[_Ba+1]=_Th.y/_Th._J8.height;_ua[_xa+0]=_ua[_ya+0]=_ua[_za+0]=(_Th.x+_Th._u4)/_Th._J8.width;_ua[_ya+1]=_ua[_za+1]=_ua[_Aa+1]=(_Th.y+_Th._v4)/_Th._J8.height;var _pF1=_na*6;_wa+=_pF1;_xa+=_pF1;_ya+=_pF1;_za+=_pF1;_Aa+=_pF1;_Ba+=_pF1}}}};_uD1.prototype._Jc1=function(){return this._371._Jc1()};_uD1.prototype._3c1=function(){return this._371._3c1()};_uD1.prototype._dc1=function(){return this._371._dc1()*(1.0/this._yK)};_uD1.prototype._6c1=function(){return this._371._6c1()};_uD1.prototype._bc1=function(){
return this._371._bc1()};_uD1.prototype._8c1=function(){return this._371._8c1()};_uD1.prototype._4c1=function(_md){this._371._4c1(_md)};_uD1.prototype._cc1=function(_8z1){this._371._cc1(_8z1*this._yK)};_uD1.prototype._5c1=function(_8K){this._371._5c1(_8K)};_uD1.prototype._9c1=function(_nK){this._371._9c1(_nK)};_uD1.prototype._7c1=function(_9A1){this._371._7c1(_9A1)};var _yF1=(this&&this._yF1)||function(_si,_M7){for(var _tx in _M7)if(_M7.hasOwnProperty(_tx))_si[_tx]=_M7[_tx];function _zF1(){this.constructor=_si}
_si.prototype=_M7===null?Object._jV(_M7):(_zF1.prototype=_M7.prototype,new _zF1())};var spine;(function(spine){var _AF1=(function(){function _AF1(name,_17,duration){if(name==null)throw new Error("name cannot be null.");if(_17==null)throw new Error("timelines cannot be null.");this.name=name;this._17=_17;this.duration=duration}_AF1.prototype.apply=function(skeleton,_BF1,time,loop,events){if(skeleton==null)throw new Error("skeleton cannot be null.");if(loop&&this.duration!=0){time%=this.duration;if(_BF1>0)_BF1%=this.duration}
var _17=this._17;for(var _Q7=0,_r7=_17.length;_Q7<_r7;_Q7++)_17[_Q7].apply(skeleton,_BF1,time,events,1)};_AF1.prototype.mix=function(skeleton,_BF1,time,loop,events,alpha){if(skeleton==null)throw new Error("skeleton cannot be null.");if(loop&&this.duration!=0){time%=this.duration;if(_BF1>0)_BF1%=this.duration}var _17=this._17;for(var _Q7=0,_r7=_17.length;_Q7<_r7;_Q7++)_17[_Q7].apply(skeleton,_BF1,time,events,alpha)};_AF1._CF1=function(_DF1,target,_3V){if(_3V===void 0){_3V=1}var _JX=0;var _KX=_DF1.length/_3V-2;
if(_KX==0)return _3V;var current=_KX>>>1;while(!0){if(_DF1[(current+1)*_3V]<=target)_JX=current+1;else _KX=current;if(_JX==_KX)return(_JX+1)*_3V;current=(_JX+_KX)>>>1}};_AF1._EF1=function(_DF1,target,_3V){for(var _Q7=0,_2V=_DF1.length-_3V;_Q7<=_2V;_Q7+=_3V)if(_DF1[_Q7]>target)return _Q7;return -1};return _AF1}());spine._AF1=_AF1;var _FF1=(function(){function _FF1(_Y6){if(_Y6<=0)throw new Error("frameCount must be > 0: "+_Y6);this._GF1=spine._HF1._IF1((_Y6-1)*_FF1._JF1)}_FF1.prototype._KF1=function(){return this._GF1.length/_FF1._JF1+1}
;_FF1.prototype._LF1=function(_MF1){this._GF1[_MF1*_FF1._JF1]=_FF1.LINEAR;};_FF1.prototype._NF1=function(_MF1){this._GF1[_MF1*_FF1._JF1]=_FF1._OF1};_FF1.prototype._PF1=function(_MF1){var index=_MF1*_FF1._JF1;if(index==this._GF1.length)return _FF1.LINEAR;var type=this._GF1[index];if(type==_FF1.LINEAR)return _FF1.LINEAR;if(type==_FF1._OF1)return _FF1._OF1;return _FF1._QF1};_FF1.prototype._RF1=function(_MF1,_SF1,_TF1,_UF1,_VF1){var _WF1=(-_SF1*2+_UF1)*0.03,_XF1=(-_TF1*2+_VF1)*0.03;var _YF1=((_SF1-_UF1)*3+1)*0.006,
_ZF1=((_TF1-_VF1)*3+1)*0.006;var __F1=_WF1*2+_YF1,_0G1=_XF1*2+_ZF1;var _1G1=_SF1*0.3+_WF1+_YF1*0.16666667,_2G1=_TF1*0.3+_XF1+_ZF1*0.16666667;var _Q7=_MF1*_FF1._JF1;var _GF1=this._GF1;_GF1[_Q7++]=_FF1._QF1;var x=_1G1,y=_2G1;for(var _r7=_Q7+_FF1._JF1-1;_Q7<_r7;_Q7+=2){_GF1[_Q7]=x;_GF1[_Q7+1]=y;_1G1+=__F1;_2G1+=_0G1;__F1+=_YF1;_0G1+=_ZF1;x+=_1G1;y+=_2G1}};_FF1.prototype._3G1=function(_MF1,_4G1){_4G1=spine._5G1._yG(_4G1,0,1);var _GF1=this._GF1;var _Q7=_MF1*_FF1._JF1;var type=_GF1[_Q7];if(type==_FF1.LINEAR)return _4G1;
if(type==_FF1._OF1)return 0;_Q7++;var x=0;for(var start=_Q7,_r7=_Q7+_FF1._JF1-1;_Q7<_r7;_Q7+=2){x=_GF1[_Q7];if(x>=_4G1){var _6G1=void 0,_7G1=void 0;if(_Q7==start){_6G1=0;_7G1=0}else {_6G1=_GF1[_Q7-2];_7G1=_GF1[_Q7-1]}return _7G1+(_GF1[_Q7+1]-_7G1)*(_4G1-_6G1)/(x-_6G1)}}var y=_GF1[_Q7-1];return y+(1-y)*(_4G1-x)/(1-x)};_FF1.LINEAR=0;_FF1._OF1=1;_FF1._QF1=2;_FF1._JF1=10*2-1;return _FF1}());spine._FF1=_FF1;var _8G1=(function(_9G1){_yF1(_8G1,_9G1);function _8G1(_Y6){_9G1.call(this,_Y6);this.frames=spine._HF1._IF1(_Y6<<1)}
_8G1.prototype._aG1=function(_MF1,time,_bG1){_MF1<<=1;this.frames[_MF1]=time;this.frames[_MF1+_8G1._cG1]=_bG1};_8G1.prototype.apply=function(skeleton,_BF1,time,events,alpha){var frames=this.frames;if(time<frames[0])return;var bone=skeleton.bones[this._dG1];if(time>=frames[frames.length-_8G1._eG1]){var _fG1=bone.data.rotation+frames[frames.length+_8G1._gG1]-bone.rotation;while(_fG1>180)_fG1-=360;while(_fG1<-180)_fG1+=360;bone.rotation+=_fG1*alpha;return }var _a7=_AF1._CF1(frames,time,_8G1._eG1);var _hG1=frames[_a7+_8G1._gG1];
var _iG1=frames[_a7];var _4G1=this._3G1((_a7>>1)-1,1-(time-_iG1)/(frames[_a7+_8G1._jG1]-_iG1));var _kG1=frames[_a7+_8G1._cG1]-_hG1;while(_kG1>180)_kG1-=360;while(_kG1<-180)_kG1+=360;_kG1=bone.data.rotation+(_hG1+_kG1*_4G1)-bone.rotation;while(_kG1>180)_kG1-=360;while(_kG1<-180)_kG1+=360;bone.rotation+=_kG1*alpha};_8G1._eG1=2;_8G1._jG1=-2;_8G1._gG1=-1;_8G1._cG1=1;return _8G1}(_FF1));spine._8G1=_8G1;var _lG1=(function(_9G1){_yF1(_lG1,_9G1);function _lG1(_Y6){_9G1.call(this,_Y6);this.frames=spine._HF1._IF1(_Y6*_lG1._eG1)}
_lG1.prototype._aG1=function(_MF1,time,x,y){_MF1*=_lG1._eG1;this.frames[_MF1]=time;this.frames[_MF1+_lG1._Wo]=x;this.frames[_MF1+_lG1._Xo]=y};_lG1.prototype.apply=function(skeleton,_BF1,time,events,alpha){var frames=this.frames;if(time<frames[0])return;var bone=skeleton.bones[this._dG1];if(time>=frames[frames.length-_lG1._eG1]){bone.x+=(bone.data.x+frames[frames.length+_lG1._mG1]-bone.x)*alpha;bone.y+=(bone.data.y+frames[frames.length+_lG1._nG1]-bone.y)*alpha;return }var _a7=_AF1._CF1(frames,time,_lG1._eG1);
var _6G1=frames[_a7+_lG1._mG1];var _7G1=frames[_a7+_lG1._nG1];var _iG1=frames[_a7];var _4G1=this._3G1(_a7/_lG1._eG1-1,1-(time-_iG1)/(frames[_a7+_lG1._jG1]-_iG1));bone.x+=(bone.data.x+_6G1+(frames[_a7+_lG1._Wo]-_6G1)*_4G1-bone.x)*alpha;bone.y+=(bone.data.y+_7G1+(frames[_a7+_lG1._Xo]-_7G1)*_4G1-bone.y)*alpha};_lG1._eG1=3;_lG1._jG1=-3;_lG1._mG1=-2;_lG1._nG1=-1;_lG1._Wo=1;_lG1._Xo=2;return _lG1}(_FF1));spine._lG1=_lG1;var _oG1=(function(_9G1){_yF1(_oG1,_9G1);function _oG1(_Y6){_9G1.call(this,_Y6)}_oG1.prototype.apply=function(skeleton,
_BF1,time,events,alpha){var frames=this.frames;if(time<frames[0])return;var bone=skeleton.bones[this._dG1];if(time>=frames[frames.length-_oG1._eG1]){bone.scaleX+=(bone.data.scaleX*frames[frames.length+_oG1._mG1]-bone.scaleX)*alpha;bone.scaleY+=(bone.data.scaleY*frames[frames.length+_oG1._nG1]-bone.scaleY)*alpha;return }var _a7=_AF1._CF1(frames,time,_oG1._eG1);var _6G1=frames[_a7+_oG1._mG1];var _7G1=frames[_a7+_oG1._nG1];var _iG1=frames[_a7];var _4G1=this._3G1(_a7/_oG1._eG1-1,1-(time-_iG1)/(frames[_a7+_oG1._jG1]-_iG1));
bone.scaleX+=(bone.data.scaleX*(_6G1+(frames[_a7+_oG1._Wo]-_6G1)*_4G1)-bone.scaleX)*alpha;bone.scaleY+=(bone.data.scaleY*(_7G1+(frames[_a7+_oG1._Xo]-_7G1)*_4G1)-bone.scaleY)*alpha};return _oG1}(_lG1));spine._oG1=_oG1;var _pG1=(function(_9G1){_yF1(_pG1,_9G1);function _pG1(_Y6){_9G1.call(this,_Y6)}_pG1.prototype.apply=function(skeleton,_BF1,time,events,alpha){var frames=this.frames;if(time<frames[0])return;var bone=skeleton.bones[this._dG1];if(time>=frames[frames.length-_pG1._eG1]){bone.shearX+=(bone.data.shearX+frames[frames.length+_pG1._mG1]-bone.shearX)*alpha;
bone.shearY+=(bone.data.shearY+frames[frames.length+_pG1._nG1]-bone.shearY)*alpha;return }var _a7=_AF1._CF1(frames,time,_pG1._eG1);var _6G1=frames[_a7+_pG1._mG1];var _7G1=frames[_a7+_pG1._nG1];var _iG1=frames[_a7];var _4G1=this._3G1(_a7/_pG1._eG1-1,1-(time-_iG1)/(frames[_a7+_pG1._jG1]-_iG1));bone.shearX+=(bone.data.shearX+(_6G1+(frames[_a7+_pG1._Wo]-_6G1)*_4G1)-bone.shearX)*alpha;bone.shearY+=(bone.data.shearY+(_7G1+(frames[_a7+_pG1._Xo]-_7G1)*_4G1)-bone.shearY)*alpha};return _pG1}(_lG1));spine._pG1=_pG1;
var _qG1=(function(_9G1){_yF1(_qG1,_9G1);function _qG1(_Y6){_9G1.call(this,_Y6);this.frames=spine._HF1._IF1(_Y6*_qG1._eG1)}_qG1.prototype._aG1=function(_MF1,time,_J7,_j9,_M7,_k9){_MF1*=_qG1._eG1;this.frames[_MF1]=time;this.frames[_MF1+_qG1._rG1]=_J7;this.frames[_MF1+_qG1._P51]=_j9;this.frames[_MF1+_qG1._DW]=_M7;this.frames[_MF1+_qG1._rV]=_k9};_qG1.prototype.apply=function(skeleton,_BF1,time,events,alpha){var frames=this.frames;if(time<frames[0])return;var _J7=0,_j9=0,_M7=0,_k9=0;if(time>=frames[frames.length-_qG1._eG1]){
var _Q7=frames.length;_J7=frames[_Q7+_qG1._sG1];_j9=frames[_Q7+_qG1._tG1];_M7=frames[_Q7+_qG1._uG1];_k9=frames[_Q7+_qG1._vG1]}else {var _a7=_AF1._CF1(frames,time,_qG1._eG1);_J7=frames[_a7+_qG1._sG1];_j9=frames[_a7+_qG1._tG1];_M7=frames[_a7+_qG1._uG1];_k9=frames[_a7+_qG1._vG1];var _iG1=frames[_a7];var _4G1=this._3G1(_a7/_qG1._eG1-1,1-(time-_iG1)/(frames[_a7+_qG1._jG1]-_iG1));_J7+=(frames[_a7+_qG1._rG1]-_J7)*_4G1;_j9+=(frames[_a7+_qG1._P51]-_j9)*_4G1;_M7+=(frames[_a7+_qG1._DW]-_M7)*_4G1;_k9+=(frames[_a7+_qG1._rV]-_k9)*_4G1}
var color=skeleton.slots[this._G6].color;if(alpha<1)color.add((_J7-color._J7)*alpha,(_j9-color._j9)*alpha,(_M7-color._M7)*alpha,(_k9-color._k9)*alpha);else color.set(_J7,_j9,_M7,_k9)};_qG1._eG1=5;_qG1._jG1=-5;_qG1._sG1=-4;_qG1._tG1=-3;_qG1._uG1=-2;_qG1._vG1=-1;_qG1._rG1=1;_qG1._P51=2;_qG1._DW=3;_qG1._rV=4;return _qG1}(_FF1));spine._qG1=_qG1;var _wG1=(function(){function _wG1(_Y6){this.frames=spine._HF1._IF1(_Y6);this._xG1=new Array(_Y6)}_wG1.prototype._KF1=function(){return this.frames.length};_wG1.prototype._aG1=function(_MF1,
time,_yG1){this.frames[_MF1]=time;this._xG1[_MF1]=_yG1};_wG1.prototype.apply=function(skeleton,_BF1,time,events,alpha){var frames=this.frames;if(time<frames[0])return;var _MF1=0;if(time>=frames[frames.length-1])_MF1=frames.length-1;else _MF1=_AF1._CF1(frames,time,1)-1;var _yG1=this._xG1[_MF1];skeleton.slots[this._G6]._F6(_yG1==null?null:skeleton._J6(this._G6,_yG1))};return _wG1}());spine._wG1=_wG1;var _zG1=(function(){function _zG1(_Y6){this.frames=spine._HF1._IF1(_Y6);this.events=new Array(_Y6)}_zG1.prototype._KF1=function(){
return this.frames.length};_zG1.prototype._aG1=function(_MF1,event){this.frames[_MF1]=event.time;this.events[_MF1]=event};_zG1.prototype.apply=function(skeleton,_BF1,time,_AG1,alpha){if(_AG1==null)return;var frames=this.frames;var _Y6=this.frames.length;if(_BF1>time){this.apply(skeleton,_BF1,Number.MAX_VALUE,_AG1,alpha);_BF1=-1}else if(_BF1>=frames[_Y6-1])return;if(time<frames[0])return;var _a7=0;if(_BF1<frames[0])_a7=0;else {_a7=_AF1._CF1(frames,_BF1);var _iG1=frames[_a7];while(_a7>0){if(frames[_a7-1]!=_iG1)break;
_a7--}}for(;_a7<_Y6&&time>=frames[_a7];_a7++)_AG1.push(this.events[_a7]);};return _zG1}());spine._zG1=_zG1;var _BG1=(function(){function _BG1(_Y6){this.frames=spine._HF1._IF1(_Y6);this._CG1=new Array(_Y6)}_BG1.prototype._KF1=function(){return this.frames.length};_BG1.prototype._aG1=function(_MF1,time,_i9){this.frames[_MF1]=time;this._CG1[_MF1]=_i9};_BG1.prototype.apply=function(skeleton,_BF1,time,_AG1,alpha){var frames=this.frames;if(time<frames[0])return;var _a7=0;if(time>=frames[frames.length-1])_a7=frames.length-1;
else _a7=_AF1._CF1(frames,time)-1;var _i9=skeleton._i9;var slots=skeleton.slots;var _DG1=this._CG1[_a7];if(_DG1==null)spine._HF1._EG1(slots,0,_i9,0,slots.length);else {for(var _Q7=0,_r7=_DG1.length;_Q7<_r7;_Q7++)_i9[_Q7]=slots[_DG1[_Q7]]}};return _BG1}());spine._BG1=_BG1;var _FG1=(function(_9G1){_yF1(_FG1,_9G1);function _FG1(_Y6){_9G1.call(this,_Y6);this.frames=spine._HF1._IF1(_Y6);this._GG1=new Array(_Y6)}_FG1.prototype._aG1=function(_MF1,time,vertices){this.frames[_MF1]=time;this._GG1[_MF1]=vertices};_FG1.prototype.apply=function(skeleton,
_BF1,time,_AG1,alpha){var slot=skeleton.slots[this._G6];var _HG1=slot._J6();if(!(_HG1 instanceof spine._IG1)||!_HG1._JG1(this.attachment))return;var frames=this.frames;if(time<frames[0])return;var _GG1=this._GG1;var vertexCount=_GG1[0].length;var _KG1=slot._LG1;if(_KG1.length!=vertexCount)alpha=1;var vertices=spine._HF1._MG1(_KG1,vertexCount);if(time>=frames[frames.length-1]){var _NG1=_GG1[frames.length-1];if(alpha<1){for(var _Q7=0;_Q7<vertexCount;_Q7++)vertices[_Q7]+=(_NG1[_Q7]-vertices[_Q7])*alpha}else spine._HF1._EG1(_NG1,
0,vertices,0,vertexCount);return }var _a7=_AF1._CF1(frames,time);var _OG1=_GG1[_a7-1];var _PG1=_GG1[_a7];var _iG1=frames[_a7];var _4G1=this._3G1(_a7-1,1-(time-_iG1)/(frames[_a7-1]-_iG1));if(alpha<1){for(var _Q7=0;_Q7<vertexCount;_Q7++){var _Da1=_OG1[_Q7];vertices[_Q7]+=(_Da1+(_PG1[_Q7]-_Da1)*_4G1-vertices[_Q7])*alpha}}else {for(var _Q7=0;_Q7<vertexCount;_Q7++){var _Da1=_OG1[_Q7];vertices[_Q7]=_Da1+(_PG1[_Q7]-_Da1)*_4G1}}};return _FG1}(_FF1));spine._FG1=_FG1;var _QG1=(function(_9G1){_yF1(_QG1,_9G1);function _QG1(_Y6){
_9G1.call(this,_Y6);this.frames=spine._HF1._IF1(_Y6*_QG1._eG1)}_QG1.prototype._aG1=function(_MF1,time,mix,_RG1){_MF1*=_QG1._eG1;this.frames[_MF1]=time;this.frames[_MF1+_QG1._SG1]=mix;this.frames[_MF1+_QG1._TG1]=_RG1};_QG1.prototype.apply=function(skeleton,_BF1,time,_AG1,alpha){var frames=this.frames;if(time<frames[0])return;var _UG1=skeleton._VG1[this._WG1];if(time>=frames[frames.length-_QG1._eG1]){_UG1.mix+=(frames[frames.length+_QG1._XG1]-_UG1.mix)*alpha;_UG1._RG1=Math.floor(frames[frames.length+_QG1._YG1]);
return }var _a7=_AF1._CF1(frames,time,_QG1._eG1);var mix=frames[_a7+_QG1._XG1];var _iG1=frames[_a7];var _4G1=this._3G1(_a7/_QG1._eG1-1,1-(time-_iG1)/(frames[_a7+_QG1._jG1]-_iG1));_UG1.mix+=(mix+(frames[_a7+_QG1._SG1]-mix)*_4G1-_UG1.mix)*alpha;_UG1._RG1=Math.floor(frames[_a7+_QG1._YG1])};_QG1._eG1=3;_QG1._jG1=-3;_QG1._XG1=-2;_QG1._YG1=-1;_QG1._SG1=1;_QG1._TG1=2;return _QG1}(_FF1));spine._QG1=_QG1;var _ZG1=(function(_9G1){_yF1(_ZG1,_9G1);function _ZG1(_Y6){_9G1.call(this,_Y6);this.frames=spine._HF1._IF1(_Y6*_ZG1._eG1)}
_ZG1.prototype._aG1=function(_MF1,time,rotateMix,__G1,scaleMix,_0H1){_MF1*=_ZG1._eG1;this.frames[_MF1]=time;this.frames[_MF1+_ZG1._1H1]=rotateMix;this.frames[_MF1+_ZG1._2H1]=__G1;this.frames[_MF1+_ZG1._3H1]=scaleMix;this.frames[_MF1+_ZG1._4H1]=_0H1};_ZG1.prototype.apply=function(skeleton,_BF1,time,_AG1,alpha){var frames=this.frames;if(time<frames[0])return;var _UG1=skeleton._5H1[this._6H1];if(time>=frames[frames.length-_ZG1._eG1]){var _Q7=frames.length;_UG1.rotateMix+=(frames[_Q7+_ZG1._7H1]-_UG1.rotateMix)*alpha;
_UG1.__G1+=(frames[_Q7+_ZG1._8H1]-_UG1.__G1)*alpha;_UG1.scaleMix+=(frames[_Q7+_ZG1._9H1]-_UG1.scaleMix)*alpha;_UG1._0H1+=(frames[_Q7+_ZG1._aH1]-_UG1._0H1)*alpha;return }var _a7=_AF1._CF1(frames,time,_ZG1._eG1);var _iG1=frames[_a7];var _4G1=this._3G1(_a7/_ZG1._eG1-1,1-(time-_iG1)/(frames[_a7+_ZG1._jG1]-_iG1));var rotate=frames[_a7+_ZG1._7H1];var translate=frames[_a7+_ZG1._8H1];var scale=frames[_a7+_ZG1._9H1];var _bH1=frames[_a7+_ZG1._aH1];_UG1.rotateMix+=(rotate+(frames[_a7+_ZG1._1H1]-rotate)*_4G1-_UG1.rotateMix)*alpha;
_UG1.__G1+=(translate+(frames[_a7+_ZG1._2H1]-translate)*_4G1-_UG1.__G1)*alpha;_UG1.scaleMix+=(scale+(frames[_a7+_ZG1._3H1]-scale)*_4G1-_UG1.scaleMix)*alpha;_UG1._0H1+=(_bH1+(frames[_a7+_ZG1._4H1]-_bH1)*_4G1-_UG1._0H1)*alpha};_ZG1._eG1=5;_ZG1._jG1=-5;_ZG1._7H1=-4;_ZG1._8H1=-3;_ZG1._9H1=-2;_ZG1._aH1=-1;_ZG1._1H1=1;_ZG1._2H1=2;_ZG1._3H1=3;_ZG1._4H1=4;return _ZG1}(_FF1));spine._ZG1=_ZG1;var _cH1=(function(_9G1){_yF1(_cH1,_9G1);function _cH1(_Y6){_9G1.call(this,_Y6);this.frames=spine._HF1._IF1(_Y6*_cH1._eG1)}
_cH1.prototype._aG1=function(_MF1,time,value){_MF1*=_cH1._eG1;this.frames[_MF1]=time;this.frames[_MF1+_cH1._dH1]=value};_cH1.prototype.apply=function(skeleton,_BF1,time,_AG1,alpha){var frames=this.frames;if(time<frames[0])return;var _UG1=skeleton._eH1[this._fH1];if(time>=frames[frames.length-_cH1._eG1]){var _Q7=frames.length;_UG1.position+=(frames[_Q7+_cH1._gH1]-_UG1.position)*alpha;return }var _a7=_AF1._CF1(frames,time,_cH1._eG1);var position=frames[_a7+_cH1._gH1];var _iG1=frames[_a7];var _4G1=this._3G1(_a7/_cH1._eG1-1,
1-(time-_iG1)/(frames[_a7+_cH1._jG1]-_iG1));_UG1.position+=(position+(frames[_a7+_cH1._dH1]-position)*_4G1-_UG1.position)*alpha};_cH1._eG1=2;_cH1._jG1=-2;_cH1._gH1=-1;_cH1._dH1=1;return _cH1}(_FF1));spine._cH1=_cH1;var _hH1=(function(_9G1){_yF1(_hH1,_9G1);function _hH1(_Y6){_9G1.call(this,_Y6)}_hH1.prototype.apply=function(skeleton,_BF1,time,_AG1,alpha){var frames=this.frames;if(time<frames[0])return;var _UG1=skeleton._eH1[this._fH1];if(time>=frames[frames.length-_hH1._eG1]){var _Q7=frames.length;_UG1.spacing+=(frames[_Q7+_hH1._gH1]-_UG1.spacing)*alpha;
return }var _a7=_AF1._CF1(frames,time,_hH1._eG1);var spacing=frames[_a7+_hH1._gH1];var _iG1=frames[_a7];var _4G1=this._3G1(_a7/_hH1._eG1-1,1-(time-_iG1)/(frames[_a7+_hH1._jG1]-_iG1));_UG1.spacing+=(spacing+(frames[_a7+_hH1._dH1]-spacing)*_4G1-_UG1.spacing)*alpha};return _hH1}(_cH1));spine._hH1=_hH1;var _iH1=(function(_9G1){_yF1(_iH1,_9G1);function _iH1(_Y6){_9G1.call(this,_Y6);this.frames=spine._HF1._IF1(_Y6*_iH1._eG1)}_iH1.prototype._aG1=function(_MF1,time,rotateMix,__G1){_MF1*=_iH1._eG1;this.frames[_MF1]=time;
this.frames[_MF1+_iH1._1H1]=rotateMix;this.frames[_MF1+_iH1._2H1]=__G1};_iH1.prototype.apply=function(skeleton,_BF1,time,_AG1,alpha){var frames=this.frames;if(time<frames[0])return;var _UG1=skeleton._eH1[this._fH1];if(time>=frames[frames.length-_iH1._eG1]){var _Q7=frames.length;_UG1.rotateMix+=(frames[_Q7+_iH1._7H1]-_UG1.rotateMix)*alpha;_UG1.__G1+=(frames[_Q7+_iH1._8H1]-_UG1.__G1)*alpha;return }var _a7=_AF1._CF1(frames,time,_iH1._eG1);var rotate=frames[_a7+_iH1._7H1];var translate=frames[_a7+_iH1._8H1];
var _iG1=frames[_a7];var _4G1=this._3G1(_a7/_iH1._eG1-1,1-(time-_iG1)/(frames[_a7+_iH1._jG1]-_iG1));_UG1.rotateMix+=(rotate+(frames[_a7+_iH1._1H1]-rotate)*_4G1-_UG1.rotateMix)*alpha;_UG1.__G1+=(translate+(frames[_a7+_iH1._2H1]-translate)*_4G1-_UG1.__G1)*alpha};_iH1._eG1=3;_iH1._jG1=-3;_iH1._7H1=-2;_iH1._8H1=-1;_iH1._1H1=1;_iH1._2H1=2;return _iH1}(_FF1));spine._iH1=_iH1})(spine||(spine={}));(function(spine){var _S5=(function(){function _S5(data){if(data===void 0){data=null}this._f6=new Array();this.events=new Array();
this._jH1=new Array();this._kH1=1;if(data==null)throw new Error("data cannot be null.");this.data=data}_S5.prototype._37=function(_lH1){_lH1*=this._kH1;for(var _Q7=0;_Q7<this._f6.length;_Q7++){var current=this._f6[_Q7];if(current==null)continue;var _Qg=current._Qg;if(_Qg!=null){var _mH1=current._BF1-_Qg._nH1;if(_mH1>=0){var _oH1=_lH1*_Qg._kH1;_Qg.time=_mH1+_oH1;current.time+=_lH1*current._kH1;this._pH1(_Q7,_Qg);_Qg.time-=_oH1;current=_Qg}}else if(!current.loop&&current._BF1>=current._qH1){this._rH1(_Q7);
continue }current.time+=_lH1*current._kH1;if(current._sH1!=null){var _tH1=_lH1*current._sH1._kH1;current._sH1.time+=_tH1;current._uH1+=_tH1}}};_S5.prototype.apply=function(skeleton){var events=this.events;var _vH1=this._jH1.length;for(var _Q7=0;_Q7<this._f6.length;_Q7++){var current=this._f6[_Q7];if(current==null)continue;events.length=0;var time=current.time;var _BF1=current._BF1;var _qH1=current._qH1;var loop=current.loop;if(!loop&&time>_qH1)time=_qH1;var _sH1=current._sH1;if(_sH1==null)current._m6.mix(skeleton,
_BF1,time,loop,events,current.mix);else {var _wH1=_sH1.time;if(!_sH1.loop&&_wH1>_sH1._qH1)_wH1=_sH1._qH1;_sH1._m6.apply(skeleton,_wH1,_wH1,_sH1.loop,null);var alpha=current._uH1/current._xH1*current.mix;if(alpha>=1){alpha=1;current._sH1=null}current._m6.mix(skeleton,_BF1,time,loop,events,alpha)}for(var _yH1=0,_zH1=events.length;_yH1<_zH1;_yH1++){var _AH1=events[_yH1];if(current.listener!=null&&current.listener.event!=null)current.listener.event(_Q7,_AH1);for(var _BH1=0;_BH1<_vH1;_BH1++)if(this._jH1[_BH1].event)this._jH1[_BH1].event(_Q7,
_AH1)}if(loop?(_BF1%_qH1>time%_qH1):(_BF1<_qH1&&time>=_qH1)){var _H8=spine._5G1._CH1(time/_qH1);if(current.listener!=null&&current.listener.complete)current.listener.complete(_Q7,_H8);for(var _yH1=0,_zH1=this._jH1.length;_yH1<_zH1;_yH1++)if(this._jH1[_yH1].complete)this._jH1[_yH1].complete(_Q7,_H8)}current._BF1=current.time}};_S5.prototype._DH1=function(){for(var _Q7=0,_r7=this._f6.length;_Q7<_r7;_Q7++)this._rH1(_Q7);this._f6.length=0};_S5.prototype._rH1=function(_EH1){if(_EH1>=this._f6.length)return;
var current=this._f6[_EH1];if(current==null)return;if(current.listener!=null&&current.listener.end!=null)current.listener.end(_EH1);for(var _Q7=0,_r7=this._jH1.length;_Q7<_r7;_Q7++)if(this._jH1[_Q7].end)this._jH1[_Q7].end(_EH1);this._f6[_EH1]=null;this._FH1(current)};_S5.prototype._FH1=function(_Og){while(_Og!=null){var _Qg=_Og._Qg;_Og=_Qg}};_S5.prototype._GH1=function(index){if(index<this._f6.length)return this._f6[index];spine._HF1._MG1(this._f6,index-this._f6.length+1,null);this._f6.length=index+1;
return null};_S5.prototype._pH1=function(index,_Og){var current=this._GH1(index);if(current!=null){var _sH1=current._sH1;current._sH1=null;if(current.listener!=null&&current.listener.end!=null)current.listener.end(index);for(var _Q7=0,_r7=this._jH1.length;_Q7<_r7;_Q7++)if(this._jH1[_Q7].end)this._jH1[_Q7].end(index);_Og._xH1=this.data._HH1(current._m6,_Og._m6);if(_Og._xH1>0){_Og._uH1=0;if(_sH1!=null&&current._uH1/current._xH1<0.5){_Og._sH1=_sH1;_sH1=current}else _Og._sH1=current}}this._f6[index]=_Og;
if(_Og.listener!=null&&_Og.listener.start!=null)_Og.listener.start(index);for(var _Q7=0,_r7=this._jH1.length;_Q7<_r7;_Q7++)if(this._jH1[_Q7].start)this._jH1[_Q7].start(index)};_S5.prototype._w6=function(_EH1,_IH1,loop){var _m6=this.data._JH1._v6(_IH1);if(_m6==null)throw new Error("Animation not found: "+_IH1);return this._KH1(_EH1,_m6,loop)};_S5.prototype._KH1=function(_EH1,_m6,loop){var current=this._GH1(_EH1);if(current!=null)this._FH1(current._Qg);var _Og=new _LH1();_Og._m6=_m6;_Og.loop=loop;_Og._qH1=_m6.duration;
this._pH1(_EH1,_Og);return _Og};_S5.prototype._MH1=function(_EH1,_IH1,loop,_nH1){var _m6=this.data._JH1._v6(_IH1);if(_m6==null)throw new Error("Animation not found: "+_IH1);return this._NH1(_EH1,_m6,loop,_nH1)};_S5.prototype._NH1=function(_EH1,_m6,loop,_nH1){var _Og=new _LH1();_Og._m6=_m6;_Og.loop=loop;_Og._qH1=_m6.duration;var _2V=this._GH1(_EH1);if(_2V!=null){while(_2V._Qg!=null)_2V=_2V._Qg;_2V._Qg=_Og}else this._f6[_EH1]=_Og;if(_nH1<=0){if(_2V!=null)_nH1+=_2V._qH1-this.data._HH1(_2V._m6,_m6);else _nH1=0}
_Og._nH1=_nH1;return _Og};_S5.prototype._OH1=function(_EH1){if(_EH1>=this._f6.length)return null;return this._f6[_EH1]};_S5.prototype._66=function(listener){if(listener==null)throw new Error("listener cannot be null.");this._jH1.push(listener);};_S5.prototype._PH1=function(listener){var index=this._jH1.indexOf(listener);if(index>=0)this._jH1.splice(index,1)};_S5.prototype._QH1=function(){this._jH1.length=0};return _S5}());spine._S5=_S5;var _LH1=(function(){function _LH1(){this.loop=!1;this._nH1=0;this.time=0;
this._BF1=-1;this._qH1=0;this._kH1=1;this._uH1=0;this._xH1=0;this.mix=1}_LH1.prototype._gV=function(){this._Qg=null;this._sH1=null;this._m6=null;this.listener=null;this._kH1=1;this._BF1=-1;this.time=0};_LH1.prototype._RH1=function(){return this.time>=this._qH1};return _LH1}());spine._LH1=_LH1;var _SH1=(function(){function _SH1(){}_SH1.prototype.event=function(_EH1,event){};_SH1.prototype.complete=function(_EH1,_TH1){};_SH1.prototype.start=function(_EH1){};_SH1.prototype.end=function(_EH1){};return _SH1}
());spine._SH1=_SH1})(spine||(spine={}));(function(spine){var _R5=(function(){function _R5(_JH1){this._UH1={};this._VH1=0;if(_JH1==null)throw new Error("skeletonData cannot be null.");this._JH1=_JH1}_R5.prototype._WH1=function(_XH1,_YH1,duration){var _ZH1=this._JH1._v6(_XH1);if(_ZH1==null)throw new Error("Animation not found: "+_XH1);var __H1=this._JH1._v6(_YH1);if(__H1==null)throw new Error("Animation not found: "+_YH1);this._0I1(_ZH1,__H1,duration)};_R5.prototype._0I1=function(_ZH1,__H1,duration){if(_ZH1==null)throw new Error("from cannot be null.");
if(__H1==null)throw new Error("to cannot be null.");var key=_ZH1.name+__H1.name;this._UH1[key]=duration};_R5.prototype._HH1=function(_ZH1,__H1){var key=_ZH1.name+__H1.name;var value=this._UH1[key];return value===undefined?this._VH1:value;};return _R5}());spine._R5=_R5})(spine||(spine={}));(function(spine){var _1I1=(function(){function _1I1(_2I1,_3I1){if(_3I1===void 0){_3I1=""}this._xF={};this._4I1={};this._5I1=0;this._lO=0;this._2I1=_2I1;this._3I1=_3I1}_1I1.prototype._6I1=function(path,_7I1,error){var _8I1=this;
if(_7I1===void 0){_7I1=null}if(error===void 0){error=null}path=this._3I1+path;this._5I1++;var _6B=new XMLHttpRequest();_6B.onreadystatechange=function(){if(_6B.readyState==XMLHttpRequest._9I1){if(_6B.status>=200&&_6B.status<300){if(_7I1)_7I1(path,_6B.responseText);_8I1._xF[path]=_6B.responseText}else {if(error)error(path,"Couldn't load text "+path+": status "+_6B.status+", "+_6B.responseText);_8I1._4I1[path]="Couldn't load text "+path+": status "+_6B.status+", "+_6B.responseText}_8I1._5I1--;_8I1._lO++}
};_6B.open("GET",path,!0);_6B.send()};_1I1.prototype._P8=function(path,_7I1,error){var _8I1=this;if(_7I1===void 0){_7I1=null}if(error===void 0){error=null}path=this._3I1+path;this._5I1++;var img=new Image();img.crossOrigin=_aI1;img.src=_gN(null,null,path);img.onload=function(_8B){if(_7I1)_7I1(path,img);var _J8=_8I1._2I1(img);_8I1._xF[path]=_J8;_8I1._5I1--;_8I1._lO++};img.onerror=function(_8B){if(error)error(path,"Couldn't load image "+path);_8I1._4I1[path]="Couldn't load image "+path;_8I1._5I1--;_8I1._lO++}
};_1I1.prototype.get=function(path){path=this._3I1+path;return this._xF[path]};_1I1.prototype.remove=function(path){path=this._3I1+path;var _bI1=this._xF[path];if(_bI1._p8)_bI1._p8();this._xF[path]=null};_1I1.prototype._cI1=function(){for(var key in this._xF){var _bI1=this._xF[key];if(_bI1._p8)_bI1._p8()}this._xF={}};_1I1.prototype._dI1=function(){return this._5I1==0};_1I1.prototype._eI1=function(){return this._5I1};_1I1.prototype._fI1=function(){return this._lO};_1I1.prototype._p8=function(){this._cI1()}
;_1I1.prototype._gI1=function(){return Object._hI1(this._4I1).length>0};_1I1.prototype._iI1=function(){return this._4I1};return _1I1}());spine._1I1=_1I1})(spine||(spine={}));(function(spine){var _jI1=(function(){function _jI1(name){if(name==null)throw new Error("name cannot be null.");this.name=name}return _jI1}());spine._jI1=_jI1;var _IG1=(function(_9G1){_yF1(_IG1,_9G1);function _IG1(name){_9G1.call(this,name);this._kI1=0}_IG1.prototype._lI1=function(slot,_mI1){this._nI1(slot,0,this._kI1,_mI1,0)};_IG1.prototype._nI1=function(slot,
start,_H8,_mI1,offset){_H8+=offset;var skeleton=slot.bone.skeleton;var x=skeleton.x,y=skeleton.y;var _oI1=slot._LG1;var vertices=this.vertices;var bones=this.bones;if(bones==null){if(_oI1.length>0)vertices=_oI1;var bone=slot.bone;x+=bone._pI1;y+=bone._qI1;var _k9=bone._k9,_M7=bone._M7,_Qt=bone._Qt,_si=bone._si;for(var _rI1=start,_u4=offset;_u4<_H8;_rI1+=2,_u4+=2){var _MZ=vertices[_rI1],_NZ=vertices[_rI1+1];_mI1[_u4]=_MZ*_k9+_NZ*_M7+x;_mI1[_u4+1]=_MZ*_Qt+_NZ*_si+y}return }var _y9=0,_sI1=0;for(var _Q7=0;_Q7<start;
_Q7+=2){var _r7=bones[_y9];_y9+=_r7+1;_sI1+=_r7}var _tI1=skeleton.bones;if(_oI1.length==0){for(var _u4=offset,_M7=_sI1*3;_u4<_H8;_u4+=2){var _uI1=x,_vI1=y;var _r7=bones[_y9++];_r7+=_y9;for(;_y9<_r7;_y9++,_M7+=3){var bone=_tI1[bones[_y9]];var _MZ=vertices[_M7],_NZ=vertices[_M7+1],_3e1=vertices[_M7+2];_uI1+=(_MZ*bone._k9+_NZ*bone._M7+bone._pI1)*_3e1;_vI1+=(_MZ*bone._Qt+_NZ*bone._si+bone._qI1)*_3e1}_mI1[_u4]=_uI1;_mI1[_u4+1]=_vI1}}else {var deform=_oI1;for(var _u4=offset,_M7=_sI1*3,_1t=_sI1<<1;_u4<_H8;_u4+=2){
var _uI1=x,_vI1=y;var _r7=bones[_y9++];_r7+=_y9;for(;_y9<_r7;_y9++,_M7+=3,_1t+=2){var bone=_tI1[bones[_y9]];var _MZ=vertices[_M7]+deform[_1t],_NZ=vertices[_M7+1]+deform[_1t+1],_3e1=vertices[_M7+2];_uI1+=(_MZ*bone._k9+_NZ*bone._M7+bone._pI1)*_3e1;_vI1+=(_MZ*bone._Qt+_NZ*bone._si+bone._qI1)*_3e1}_mI1[_u4]=_uI1;_mI1[_u4+1]=_vI1}}};_IG1.prototype._JG1=function(_wI1){return this==_wI1};return _IG1}(_jI1));spine._IG1=_IG1})(spine||(spine={}));(function(spine){(function(_xI1){_xI1[_xI1["Region"]=0]="Region";
_xI1[_xI1["BoundingBox"]=1]="BoundingBox";_xI1[_xI1["Mesh"]=2]="Mesh";_xI1[_xI1["LinkedMesh"]=3]="LinkedMesh";_xI1[_xI1["Path"]=4]="Path"})(spine._xI1||(spine._xI1={}));var _xI1=spine._xI1})(spine||(spine={}));(function(spine){var _yI1=(function(_9G1){_yF1(_yI1,_9G1);function _yI1(name){_9G1.call(this,name);this.color=new spine._hB1(1,1,1,1)}return _yI1}(spine._IG1));spine._yI1=_yI1})(spine||(spine={}));(function(spine){var _m9=(function(_9G1){_yF1(_m9,_9G1);function _m9(name){_9G1.call(this,name);this.color=new spine._hB1(1,
1,1,1);this._zI1=!1;this._AI1=new spine._hB1(0,0,0,0)}_m9.prototype._BI1=function(){var _CI1=this._CI1;var _DI1=_CI1.length;var _kI1=(_DI1>>1)*8;if(this._mI1==null||this._mI1.length!=_kI1)this._mI1=spine._HF1._IF1(_kI1);var _w9=0,_y9=0,width=0,height=0;if(this._p9==null){_w9=_y9=0;width=height=1}else {_w9=this._p9._w9;_y9=this._p9._y9;width=this._p9._E21-_w9;height=this._p9._ya-_y9}if(this._p9.rotate){for(var _Q7=0,_u4=6;_Q7<_DI1;_Q7+=2,_u4+=8){this._mI1[_u4]=_w9+_CI1[_Q7+1]*width;this._mI1[_u4+1]=_y9+height-_CI1[_Q7]*height}
}else {for(var _Q7=0,_u4=6;_Q7<_DI1;_Q7+=2,_u4+=8){this._mI1[_u4]=_w9+_CI1[_Q7]*width;this._mI1[_u4+1]=_y9+_CI1[_Q7+1]*height}}};_m9.prototype._s9=function(slot,premultipliedAlpha){var skeleton=slot.bone.skeleton;var _EI1=skeleton.color,_FI1=slot.color,_GI1=this.color;var alpha=_EI1._k9*_FI1._k9*_GI1._k9;var _HI1=premultipliedAlpha?alpha:1;var color=this._AI1;color.set(_EI1._J7*_FI1._J7*_GI1._J7*_HI1,_EI1._j9*_FI1._j9*_GI1._j9*_HI1,_EI1._M7*_FI1._M7*_GI1._M7*_HI1,alpha);var x=skeleton.x,y=skeleton.y;var _oI1=slot._LG1;
var vertices=this.vertices,_mI1=this._mI1;var bones=this.bones;if(bones==null){var _DI1=vertices.length;if(_oI1.length>0)vertices=_oI1;var bone=slot.bone;x+=bone._pI1;y+=bone._qI1;var _k9=bone._k9,_M7=bone._M7,_Qt=bone._Qt,_si=bone._si;for(var _y9=0,_u4=0;_y9<_DI1;_y9+=2,_u4+=8){var _MZ=vertices[_y9],_NZ=vertices[_y9+1];_mI1[_u4]=_MZ*_k9+_NZ*_M7+x;_mI1[_u4+1]=_MZ*_Qt+_NZ*_si+y;_mI1[_u4+2]=color._J7;_mI1[_u4+3]=color._j9;_mI1[_u4+4]=color._M7;_mI1[_u4+5]=color._k9}return _mI1}var _tI1=skeleton.bones;if(_oI1.length==0){
for(var _u4=0,_y9=0,_M7=0,_r7=bones.length;_y9<_r7;_u4+=8){var _uI1=x,_vI1=y;var _zH1=bones[_y9++]+_y9;for(;_y9<_zH1;_y9++,_M7+=3){var bone=_tI1[bones[_y9]];var _MZ=vertices[_M7],_NZ=vertices[_M7+1],_3e1=vertices[_M7+2];_uI1+=(_MZ*bone._k9+_NZ*bone._M7+bone._pI1)*_3e1;_vI1+=(_MZ*bone._Qt+_NZ*bone._si+bone._qI1)*_3e1}_mI1[_u4]=_uI1;_mI1[_u4+1]=_vI1;_mI1[_u4+2]=color._J7;_mI1[_u4+3]=color._j9;_mI1[_u4+4]=color._M7;_mI1[_u4+5]=color._k9}}else {var deform=_oI1;for(var _u4=0,_y9=0,_M7=0,_1t=0,_r7=bones.length;
_y9<_r7;_u4+=8){var _uI1=x,_vI1=y;var _zH1=bones[_y9++]+_y9;for(;_y9<_zH1;_y9++,_M7+=3,_1t+=2){var bone=_tI1[bones[_y9]];var _MZ=vertices[_M7]+deform[_1t],_NZ=vertices[_M7+1]+deform[_1t+1],_3e1=vertices[_M7+2];_uI1+=(_MZ*bone._k9+_NZ*bone._M7+bone._pI1)*_3e1;_vI1+=(_MZ*bone._Qt+_NZ*bone._si+bone._qI1)*_3e1;}_mI1[_u4]=_uI1;_mI1[_u4+1]=_vI1;_mI1[_u4+2]=color._J7;_mI1[_u4+3]=color._j9;_mI1[_u4+4]=color._M7;_mI1[_u4+5]=color._k9}}return _mI1};_m9.prototype._JG1=function(_wI1){return this==_wI1||(this._zI1&&this._II1==_wI1)}
;_m9.prototype._JI1=function(){return this._II1};_m9.prototype._KI1=function(_II1){this._II1=_II1;if(_II1!=null){this.bones=_II1.bones;this.vertices=_II1.vertices;this._CI1=_II1._CI1;this.triangles=_II1.triangles;this._LI1=_II1._LI1}};return _m9}(spine._IG1));spine._m9=_m9})(spine||(spine={}));(function(spine){var _MI1=(function(_9G1){_yF1(_MI1,_9G1);function _MI1(name){_9G1.call(this,name);this._1j=!1;this._NI1=!1;this.color=new spine._hB1(1,1,1,1)}return _MI1}(spine._IG1));spine._MI1=_MI1})(spine||(spine={
}));(function(spine){var _l9=(function(_9G1){_yF1(_l9,_9G1);function _l9(name){_9G1.call(this,name);this.x=0;this.y=0;this.scaleX=1;this.scaleY=1;this.rotation=0;this.width=0;this.height=0;this.color=new spine._hB1(1,1,1,1);this.offset=spine._HF1._IF1(8);this.vertices=spine._HF1._IF1(8*4);this._AI1=new spine._hB1(1,1,1,1)}_l9.prototype._OI1=function(_p9){var vertices=this.vertices;if(_p9.rotate){vertices[_l9._x9]=_p9._w9;vertices[_l9._z9]=_p9._ya;vertices[_l9._C9]=_p9._w9;vertices[_l9._D9]=_p9._y9;vertices[_l9._G9]=_p9._E21;
vertices[_l9._H9]=_p9._y9;vertices[_l9._K9]=_p9._E21;vertices[_l9._L9]=_p9._ya}else {vertices[_l9._K9]=_p9._w9;vertices[_l9._L9]=_p9._ya;vertices[_l9._x9]=_p9._w9;vertices[_l9._z9]=_p9._y9;vertices[_l9._C9]=_p9._E21;vertices[_l9._D9]=_p9._y9;vertices[_l9._G9]=_p9._E21;vertices[_l9._H9]=_p9._ya}this._p9=_p9};_l9.prototype._PI1=function(){var _QI1=this.width/this._p9._RI1*this.scaleX;var _SI1=this.height/this._p9._TI1*this.scaleY;var _UI1=-this.width/2*this.scaleX+this._p9._VI1*_QI1;var _WI1=-this.height/2*this.scaleY+this._p9._XI1*_SI1;
var _YI1=_UI1+this._p9.width*_QI1;var _ZI1=_WI1+this._p9.height*_SI1;var __I1=this.rotation*Math.PI/180;var cos=Math.cos(__I1);var sin=Math.sin(__I1);var _0J1=_UI1*cos+this.x;var _1J1=_UI1*sin;var _2J1=_WI1*cos+this.y;var _3J1=_WI1*sin;var _4J1=_YI1*cos+this.x;var _5J1=_YI1*sin;var _6J1=_ZI1*cos+this.y;var _7J1=_ZI1*sin;var offset=this.offset;offset[_l9._8J1]=_0J1-_3J1;offset[_l9._9J1]=_2J1+_1J1;offset[_l9._aJ1]=_0J1-_7J1;offset[_l9._bJ1]=_6J1+_1J1;offset[_l9._cJ1]=_4J1-_7J1;offset[_l9._dJ1]=_6J1+_5J1;offset[_l9._eJ1]=_4J1-_3J1;
offset[_l9._fJ1]=_2J1+_5J1};_l9.prototype._s9=function(slot,premultipliedAlpha){var skeleton=slot.bone.skeleton;var _EI1=skeleton.color;var _FI1=slot.color;var _gJ1=this.color;var alpha=_EI1._k9*_FI1._k9*_gJ1._k9;var _HI1=premultipliedAlpha?alpha:1;var color=this._AI1;color.set(_EI1._J7*_FI1._J7*_gJ1._J7*_HI1,_EI1._j9*_FI1._j9*_gJ1._j9*_HI1,_EI1._M7*_FI1._M7*_gJ1._M7*_HI1,alpha);var vertices=this.vertices;var offset=this.offset;var bone=slot.bone;var x=skeleton.x+bone._pI1,y=skeleton.y+bone._qI1;var _k9=bone._k9,
_M7=bone._M7,_Qt=bone._Qt,_si=bone._si;var _VI1=0,_XI1=0;_VI1=offset[_l9._8J1];_XI1=offset[_l9._9J1];vertices[_l9._I9]=_VI1*_k9+_XI1*_M7+x;vertices[_l9._J9]=_VI1*_Qt+_XI1*_si+y;vertices[_l9._hJ1]=color._J7;vertices[_l9._iJ1]=color._j9;vertices[_l9._jJ1]=color._M7;vertices[_l9._kJ1]=color._k9;_VI1=offset[_l9._aJ1];_XI1=offset[_l9._bJ1];vertices[_l9._u9]=_VI1*_k9+_XI1*_M7+x;vertices[_l9._v9]=_VI1*_Qt+_XI1*_si+y;vertices[_l9._lJ1]=color._J7;vertices[_l9._mJ1]=color._j9;vertices[_l9._nJ1]=color._M7;vertices[_l9._oJ1]=color._k9;
_VI1=offset[_l9._cJ1];_XI1=offset[_l9._dJ1];vertices[_l9._A9]=_VI1*_k9+_XI1*_M7+x;vertices[_l9._B9]=_VI1*_Qt+_XI1*_si+y;vertices[_l9._pJ1]=color._J7;vertices[_l9._qJ1]=color._j9;vertices[_l9._rJ1]=color._M7;vertices[_l9._sJ1]=color._k9;_VI1=offset[_l9._eJ1];_XI1=offset[_l9._fJ1];vertices[_l9._E9]=_VI1*_k9+_XI1*_M7+x;vertices[_l9._F9]=_VI1*_Qt+_XI1*_si+y;vertices[_l9._tJ1]=color._J7;vertices[_l9._uJ1]=color._j9;vertices[_l9._vJ1]=color._M7;vertices[_l9._wJ1]=color._k9;return vertices};_l9._8J1=0;_l9._9J1=1;
_l9._aJ1=2;_l9._bJ1=3;_l9._cJ1=4;_l9._dJ1=5;_l9._eJ1=6;_l9._fJ1=7;_l9._I9=0;_l9._J9=1;_l9._hJ1=2;_l9._iJ1=3;_l9._jJ1=4;_l9._kJ1=5;_l9._K9=6;_l9._L9=7;_l9._u9=8;_l9._v9=9;_l9._lJ1=10;_l9._mJ1=11;_l9._nJ1=12;_l9._oJ1=13;_l9._x9=14;_l9._z9=15;_l9._A9=16;_l9._B9=17;_l9._pJ1=18;_l9._qJ1=19;_l9._rJ1=20;_l9._sJ1=21;_l9._C9=22;_l9._D9=23;_l9._E9=24;_l9._F9=25;_l9._tJ1=26;_l9._uJ1=27;_l9._vJ1=28;_l9._wJ1=29;_l9._G9=30;_l9._H9=31;return _l9}(spine._jI1));spine._l9=_l9})(spine||(spine={}));(function(spine){
(function(_xJ1){_xJ1[_xJ1["Normal"]=0]="Normal";_xJ1[_xJ1["Additive"]=1]="Additive";_xJ1[_xJ1["Multiply"]=2]="Multiply";_xJ1[_xJ1["Screen"]=3]="Screen"})(spine._xJ1||(spine._xJ1={}));var _xJ1=spine._xJ1})(spine||(spine={}));(function(spine){var _69=(function(){function _69(data,skeleton,parent){this._bV=new Array();this.x=0;this.y=0;this.rotation=0;this.scaleX=0;this.scaleY=0;this.shearX=0;this.shearY=0;this._yJ1=0;this._k9=0;this._M7=0;this._pI1=0;this._Qt=0;this._si=0;this._qI1=0;this._zJ1=0;this._AJ1=0;
this._BJ1=!1;if(data==null)throw new Error("data cannot be null.");if(skeleton==null)throw new Error("skeleton cannot be null.");this.data=data;this.skeleton=skeleton;this.parent=parent;this._CJ1()}_69.prototype._37=function(){this._DJ1(this.x,this.y,this.rotation,this.scaleX,this.scaleY,this.shearX,this.shearY)};_69.prototype._V6=function(){this._DJ1(this.x,this.y,this.rotation,this.scaleX,this.scaleY,this.shearX,this.shearY)};_69.prototype._DJ1=function(x,y,rotation,scaleX,scaleY,shearX,shearY){this._yJ1=rotation;
var _EJ1=rotation+90+shearY;var _FJ1=spine._5G1._GJ1(rotation+shearX)*scaleX,_HJ1=spine._5G1._GJ1(_EJ1)*scaleY;var _IJ1=spine._5G1._JJ1(rotation+shearX)*scaleX,_KJ1=spine._5G1._JJ1(_EJ1)*scaleY;var parent=this.parent;if(parent==null){var skeleton=this.skeleton;if(skeleton._47){x=-x;_FJ1=-_FJ1;_HJ1=-_HJ1}if(skeleton._57){y=-y;_IJ1=-_IJ1;_KJ1=-_KJ1}this._k9=_FJ1;this._M7=_HJ1;this._Qt=_IJ1;this._si=_KJ1;this._pI1=x;this._qI1=y;this._zJ1=spine._5G1._LJ1(scaleX);this._AJ1=spine._5G1._LJ1(scaleY);return }var _Le1=parent._k9,
_Me1=parent._M7,_qd1=parent._Qt,_MJ1=parent._si;this._pI1=_Le1*x+_Me1*y+parent._pI1;this._qI1=_qd1*x+_MJ1*y+parent._qI1;this._zJ1=parent._zJ1*spine._5G1._LJ1(scaleX);this._AJ1=parent._AJ1*spine._5G1._LJ1(scaleY);if(this.data.inheritRotation&&this.data.inheritScale){this._k9=_Le1*_FJ1+_Me1*_IJ1;this._M7=_Le1*_HJ1+_Me1*_KJ1;this._Qt=_qd1*_FJ1+_MJ1*_IJ1;this._si=_qd1*_HJ1+_MJ1*_KJ1}else {if(this.data.inheritRotation){_Le1=1;_Me1=0;_qd1=0;_MJ1=1;do {var cos=spine._5G1._GJ1(parent._yJ1),sin=spine._5G1._JJ1(parent._yJ1);
var _Lx=_Le1*cos+_Me1*sin;_Me1=_Me1*cos-_Le1*sin;_Le1=_Lx;_Lx=_qd1*cos+_MJ1*sin;_MJ1=_MJ1*cos-_qd1*sin;_qd1=_Lx;if(!parent.data.inheritRotation)break;parent=parent.parent}while(parent!=null);this._k9=_Le1*_FJ1+_Me1*_IJ1;this._M7=_Le1*_HJ1+_Me1*_KJ1;this._Qt=_qd1*_FJ1+_MJ1*_IJ1;this._si=_qd1*_HJ1+_MJ1*_KJ1}else if(this.data.inheritScale){_Le1=1;_Me1=0;_qd1=0;_MJ1=1;do {var cos=spine._5G1._GJ1(parent._yJ1),sin=spine._5G1._JJ1(parent._yJ1);var _NJ1=parent.scaleX,_OJ1=parent.scaleY;var _Zj=cos*_NJ1,_PJ1=sin*_OJ1,
_QJ1=sin*_NJ1,_RJ1=cos*_OJ1;var _Lx=_Le1*_Zj+_Me1*_QJ1;_Me1=_Me1*_RJ1-_Le1*_PJ1;_Le1=_Lx;_Lx=_qd1*_Zj+_MJ1*_QJ1;_MJ1=_MJ1*_RJ1-_qd1*_PJ1;_qd1=_Lx;if(_NJ1>=0)sin=-sin;_Lx=_Le1*cos+_Me1*sin;_Me1=_Me1*cos-_Le1*sin;_Le1=_Lx;_Lx=_qd1*cos+_MJ1*sin;_MJ1=_MJ1*cos-_qd1*sin;_qd1=_Lx;if(!parent.data.inheritScale)break;parent=parent.parent}while(parent!=null);this._k9=_Le1*_FJ1+_Me1*_IJ1;this._M7=_Le1*_HJ1+_Me1*_KJ1;this._Qt=_qd1*_FJ1+_MJ1*_IJ1;this._si=_qd1*_HJ1+_MJ1*_KJ1}else {this._k9=_FJ1;this._M7=_HJ1;this._Qt=_IJ1;
this._si=_KJ1}if(this.skeleton._47){this._k9=-this._k9;this._M7=-this._M7}if(this.skeleton._57){this._Qt=-this._Qt;this._si=-this._si}}};_69.prototype._CJ1=function(){var data=this.data;this.x=data.x;this.y=data.y;this.rotation=data.rotation;this.scaleX=data.scaleX;this.scaleY=data.scaleY;this.shearX=data.shearX;this.shearY=data.shearY};_69.prototype._SJ1=function(){return Math.atan2(this._Qt,this._k9)*spine._5G1._TJ1};_69.prototype._UJ1=function(){return Math.atan2(this._si,this._M7)*spine._5G1._TJ1}
;_69.prototype._VJ1=function(){return Math.sqrt(this._k9*this._k9+this._M7*this._M7)*this._zJ1};_69.prototype._WJ1=function(){return Math.sqrt(this._Qt*this._Qt+this._si*this._si)*this._AJ1};_69.prototype._XJ1=function(){var parent=this.parent;if(parent==null)return this.rotation;var _Le1=parent._k9,_Me1=parent._M7,_qd1=parent._Qt,_MJ1=parent._si,_k9=this._k9,_Qt=this._Qt;return Math.atan2(_Le1*_Qt-_qd1*_k9,_MJ1*_k9-_Me1*_Qt)*spine._5G1._TJ1};_69.prototype._YJ1=function(){var parent=this.parent;if(parent==null)return this.rotation;
var _Le1=parent._k9,_Me1=parent._M7,_qd1=parent._Qt,_MJ1=parent._si,_M7=this._M7,_si=this._si;return Math.atan2(_Le1*_si-_qd1*_M7,_MJ1*_M7-_Me1*_si)*spine._5G1._TJ1};_69.prototype._ZJ1=function(_bG1){var _k9=this._k9,_M7=this._M7,_Qt=this._Qt,_si=this._si;var cos=spine._5G1._GJ1(_bG1),sin=spine._5G1._JJ1(_bG1);this._k9=cos*_k9-sin*_Qt;this._M7=cos*_M7-sin*_si;this._Qt=sin*_k9+cos*_Qt;this._si=sin*_M7+cos*_si};_69.prototype.__J1=function(){var parent=this.parent;if(parent==null){this.x=this._pI1;this.y=this._qI1;
this.rotation=Math.atan2(this._Qt,this._k9)*spine._5G1._TJ1;this.scaleX=Math.sqrt(this._k9*this._k9+this._Qt*this._Qt);this.scaleY=Math.sqrt(this._M7*this._M7+this._si*this._si);var _EW=this._k9*this._si-this._M7*this._Qt;this.shearX=0;this.shearY=Math.atan2(this._k9*this._M7+this._Qt*this._si,_EW)*spine._5G1._TJ1;return }var _Le1=parent._k9,_Me1=parent._M7,_qd1=parent._Qt,_MJ1=parent._si;var _0K1=1/(_Le1*_MJ1-_Me1*_qd1);var _da=this._pI1-parent._pI1,_ea=this._qI1-parent._qI1;this.x=(_da*_MJ1*_0K1-_ea*_Me1*_0K1);
this.y=(_ea*_Le1*_0K1-_da*_qd1*_0K1);var _1K1=_0K1*_MJ1;var id=_0K1*_Le1;var _2K1=_0K1*_Me1;var _3K1=_0K1*_qd1;var _4K1=_1K1*this._k9-_2K1*this._Qt;var _5K1=_1K1*this._M7-_2K1*this._si;var _6K1=id*this._Qt-_3K1*this._k9;var _7K1=id*this._si-_3K1*this._M7;this.shearX=0;this.scaleX=Math.sqrt(_4K1*_4K1+_6K1*_6K1);if(this.scaleX>0.0001){var _EW=_4K1*_7K1-_5K1*_6K1;this.scaleY=_EW/this.scaleX;this.shearY=Math.atan2(_4K1*_5K1+_6K1*_7K1,_EW)*spine._5G1._TJ1;this.rotation=Math.atan2(_6K1,_4K1)*spine._5G1._TJ1}else {
this.scaleX=0;this.scaleY=Math.sqrt(_5K1*_5K1+_7K1*_7K1);this.shearY=0;this.rotation=90-Math.atan2(_7K1,_5K1)*spine._5G1._TJ1}this._yJ1=this.rotation};_69.prototype._8K1=function(_W61){var _k9=this._k9,_M7=this._M7,_Qt=this._Qt,_si=this._si;var _9K1=1/(_k9*_si-_M7*_Qt);var x=_W61.x-this._pI1,y=_W61.y-this._qI1;_W61.x=(x*_si*_9K1-y*_M7*_9K1);_W61.y=(y*_k9*_9K1-x*_Qt*_9K1);return _W61};_69.prototype._aK1=function(_bK1){var x=_bK1.x,y=_bK1.y;_bK1.x=x*this._k9+y*this._M7+this._pI1;_bK1.y=x*this._Qt+y*this._si+this._qI1;
return _bK1};return _69}());spine._69=_69})(spine||(spine={}));(function(spine){var _cK1=(function(){function _cK1(index,name,parent){this.x=0;this.y=0;this.rotation=0;this.scaleX=1;this.scaleY=1;this.shearX=0;this.shearY=0;this.inheritRotation=!0;this.inheritScale=!0;if(index<0)throw new Error("index must be >= 0.");if(name==null)throw new Error("name cannot be null.");this.index=index;this.name=name;this.parent=parent}return _cK1}());spine._cK1=_cK1})(spine||(spine={}));(function(spine){var _av=(function(){
function _av(time,data){if(data==null)throw new Error("data cannot be null.");this.time=time;this.data=data}return _av}());spine._av=_av})(spine||(spine={}));(function(spine){var _dK1=(function(){function _dK1(name){this.name=name}return _dK1}());spine._dK1=_dK1})(spine||(spine={}));(function(spine){var _eK1=(function(){function _eK1(data,skeleton){this.mix=1;this._RG1=0;this._VN=0;if(data==null)throw new Error("data cannot be null.");if(skeleton==null)throw new Error("skeleton cannot be null.");this.data=data;
this.mix=data.mix;this._RG1=data._RG1;this.bones=new Array();for(var _Q7=0;_Q7<data.bones.length;_Q7++)this.bones.push(skeleton._fK1(data.bones[_Q7].name));this.target=skeleton._fK1(data.target.name)}_eK1.prototype.apply=function(){this._37()};_eK1.prototype._37=function(){var target=this.target;var bones=this.bones;switch(bones.length){case 1:this._gK1(bones[0],target._pI1,target._qI1,this.mix);break;case 2:this._hK1(bones[0],bones[1],target._pI1,target._qI1,this._RG1,this.mix);break }};_eK1.prototype._gK1=function(bone,
_iK1,_jK1,alpha){var _kK1=bone.parent;var id=1/(_kK1._k9*_kK1._si-_kK1._M7*_kK1._Qt);var x=_iK1-_kK1._pI1,y=_jK1-_kK1._qI1;var _lK1=(x*_kK1._si-y*_kK1._M7)*id-bone.x,_mK1=(y*_kK1._k9-x*_kK1._Qt)*id-bone.y;var _nK1=Math.atan2(_mK1,_lK1)*spine._5G1._TJ1-bone.shearX-bone.rotation;if(bone.scaleX<0)_nK1+=180;if(_nK1>180)_nK1-=360;else if(_nK1<-180)_nK1+=360;bone._DJ1(bone.x,bone.y,bone.rotation+_nK1*alpha,bone.scaleX,bone.scaleY,bone.shearX,bone.shearY)};_eK1.prototype._hK1=function(parent,_oK1,_iK1,_jK1,_pK1,
alpha){if(alpha==0){_oK1._V6();return }var _6i=parent.x,_7i=parent.y,_NJ1=parent.scaleX,_OJ1=parent.scaleY,_qK1=_oK1.scaleX;var _rK1=0,_sK1=0,_cq=0;if(_NJ1<0){_NJ1=-_NJ1;_rK1=180;_cq=-1}else {_rK1=0;_cq=1}if(_OJ1<0){_OJ1=-_OJ1;_cq=-_cq}if(_qK1<0){_qK1=-_qK1;_sK1=180}else _sK1=0;var _U11=_oK1.x,_V11=0,_tK1=0,_uK1=0,_k9=parent._k9,_M7=parent._M7,_Qt=parent._Qt,_si=parent._si;var _w9=Math.abs(_NJ1-_OJ1)<=0.0001;if(!_w9){_V11=0;_tK1=_k9*_U11+parent._pI1;_uK1=_Qt*_U11+parent._qI1}else {_V11=_oK1.y;_tK1=_k9*_U11+_M7*_V11+parent._pI1;
_uK1=_Qt*_U11+_si*_V11+parent._qI1}var _kK1=parent.parent;_k9=_kK1._k9;_M7=_kK1._M7;_Qt=_kK1._Qt;_si=_kK1._si;var id=1/(_k9*_si-_M7*_Qt),x=_iK1-_kK1._pI1,y=_jK1-_kK1._qI1;var _lK1=(x*_si-y*_M7)*id-_6i,_mK1=(y*_k9-x*_Qt)*id-_7i;x=_tK1-_kK1._pI1;y=_uK1-_kK1._qI1;var _da=(x*_si-y*_M7)*id-_6i,_ea=(y*_k9-x*_Qt)*id-_7i;var _vK1=Math.sqrt(_da*_da+_ea*_ea),_Rs1=_oK1.data.length*_qK1,_UQ=0,_VQ=0;_wK1:if(_w9){_Rs1*=_NJ1;var cos=(_lK1*_lK1+_mK1*_mK1-_vK1*_vK1-_Rs1*_Rs1)/(2*_vK1*_Rs1);if(cos<-1)cos=-1;else if(cos>1)cos=1;
_VQ=Math.acos(cos)*_pK1;_k9=_vK1+_Rs1*cos;_M7=_Rs1*Math.sin(_VQ);_UQ=Math.atan2(_mK1*_k9-_lK1*_M7,_lK1*_k9+_mK1*_M7)}else {_k9=_NJ1*_Rs1;_M7=_OJ1*_Rs1;var _xK1=_k9*_k9,_cx=_M7*_M7,_Iy=_lK1*_lK1+_mK1*_mK1,_yK1=Math.atan2(_mK1,_lK1);_Qt=_cx*_vK1*_vK1+_xK1*_Iy-_xK1*_cx;var _zW=-2*_cx*_vK1,_AW=_cx-_xK1;_si=_zW*_zW-4*_AW*_Qt;if(_si>=0){var __v=Math.sqrt(_si);if(_zW<0)__v=-__v;__v=-(_zW+__v)/2;var _wg1=__v/_AW,_Uu=_Qt/__v;var _J7=Math.abs(_wg1)<Math.abs(_Uu)?_wg1:_Uu;if(_J7*_J7<=_Iy){y=Math.sqrt(_Iy-_J7*_J7)*_pK1;
_UQ=_yK1-Math.atan2(y,_J7);_VQ=Math.atan2(y/_OJ1,(_J7-_vK1)/_NJ1);break _wK1}}var _zK1=0,_AK1=Number.MAX_VALUE,_f7=0,_h7=0;var _BK1=0,_CK1=0,_g7=0,_i7=0;x=_vK1+_k9;_si=x*x;if(_si>_CK1){_BK1=0;_CK1=_si;_g7=x}x=_vK1-_k9;_si=x*x;if(_si<_AK1){_zK1=spine._5G1.PI;_AK1=_si;_f7=x}var angle=Math.acos(-_k9*_vK1/(_xK1-_cx));x=_k9*Math.cos(angle)+_vK1;y=_M7*Math.sin(angle);_si=x*x+y*y;if(_si<_AK1){_zK1=angle;_AK1=_si;_f7=x;_h7=y}if(_si>_CK1){_BK1=angle;_CK1=_si;_g7=x;_i7=y}if(_Iy<=(_AK1+_CK1)/2){_UQ=_yK1-Math.atan2(_h7*_pK1,
_f7);_VQ=_zK1*_pK1}else {_UQ=_yK1-Math.atan2(_i7*_pK1,_g7);_VQ=_BK1*_pK1}}var _DK1=Math.atan2(_V11,_U11)*_cq;var rotation=parent.rotation;_UQ=(_UQ-_DK1)*spine._5G1._TJ1+_rK1-rotation;if(_UQ>180)_UQ-=360;else if(_UQ<-180)_UQ+=360;parent._DJ1(_6i,_7i,rotation+_UQ*alpha,parent.scaleX,parent.scaleY,0,0);rotation=_oK1.rotation;_VQ=((_VQ+_DK1)*spine._5G1._TJ1-_oK1.shearX)*_cq+_sK1-rotation;if(_VQ>180)_VQ-=360;else if(_VQ<-180)_VQ+=360;_oK1._DJ1(_U11,_V11,rotation+_VQ*alpha,_oK1.scaleX,_oK1.scaleY,_oK1.shearX,
_oK1.shearY)};return _eK1}());spine._eK1=_eK1})(spine||(spine={}));(function(spine){var _EK1=(function(){function _EK1(name){this.bones=new Array();this._RG1=1;this.mix=1;this.name=name}return _EK1}());spine._EK1=_EK1})(spine||(spine={}));(function(spine){var _FK1=(function(){function _FK1(data,skeleton){this.position=0;this.spacing=0;this.rotateMix=0;this.__G1=0;this._GK1=new Array();this._P91=new Array();this._W61=new Array();this._GF1=new Array();this.lengths=new Array();this._HK1=new Array();if(data==null)throw new Error("data cannot be null.");
if(skeleton==null)throw new Error("skeleton cannot be null.");this.data=data;this.bones=new Array();for(var _Q7=0,_r7=data.bones.length;_Q7<_r7;_Q7++)this.bones.push(skeleton._fK1(data.bones[_Q7].name));this.target=skeleton._E6(data.target.name);this.position=data.position;this.spacing=data.spacing;this.rotateMix=data.rotateMix;this.__G1=data.__G1}_FK1.prototype.apply=function(){this._37()};_FK1.prototype._37=function(){var attachment=this.target._J6();if(!(attachment instanceof spine._MI1))return;var rotateMix=this.rotateMix,
__G1=this.__G1;var translate=__G1>0,rotate=rotateMix>0;if(!translate&&!rotate)return;var data=this.data;var spacingMode=data.spacingMode;var _IK1=spacingMode==spine._JK1.Length;var rotateMode=data.rotateMode;var _KK1=rotateMode==spine._LK1.Tangent,scale=rotateMode==spine._LK1.ChainScale;var _MK1=this.bones.length,_NK1=_KK1?_MK1:_MK1+1;var bones=this.bones;var _GK1=spine._HF1._MG1(this._GK1,_NK1),lengths=null;var spacing=this.spacing;if(scale||_IK1){if(scale)lengths=spine._HF1._MG1(this.lengths,_MK1);for(var _Q7=0,
_r7=_NK1-1;_Q7<_r7;){var bone=bones[_Q7];var _OK1=bone.data.length,x=_OK1*bone._k9,y=_OK1*bone._Qt;_OK1=Math.sqrt(x*x+y*y);if(scale)lengths[_Q7]=_OK1;_GK1[++_Q7]=_IK1?Math.max(0,_OK1+spacing):spacing}}else {for(var _Q7=1;_Q7<_NK1;_Q7++)_GK1[_Q7]=spacing}var _P91=this._PK1(attachment,_NK1,_KK1,data._QK1==spine._RK1.Percent,spacingMode==spine._JK1.Percent);var skeleton=this.target.bone.skeleton;var _SK1=skeleton.x,_TK1=skeleton.y;var _UK1=_P91[0],_VK1=_P91[1],_WK1=data._WK1;var _XK1=rotateMode==spine._LK1.Chain&&_WK1==0;
for(var _Q7=0,_tx=3;_Q7<_MK1;_Q7++,_tx+=3){var bone=bones[_Q7];bone._pI1+=(_UK1-_SK1-bone._pI1)*__G1;bone._qI1+=(_VK1-_TK1-bone._qI1)*__G1;var x=_P91[_tx],y=_P91[_tx+1],_da=x-_UK1,_ea=y-_VK1;if(scale){var _YK1=lengths[_Q7];if(_YK1!=0){var _ps=(Math.sqrt(_da*_da+_ea*_ea)/_YK1-1)*rotateMix+1;bone._k9*=_ps;bone._Qt*=_ps}}_UK1=x;_VK1=y;if(rotate){var _k9=bone._k9,_M7=bone._M7,_Qt=bone._Qt,_si=bone._si,_J7=0,cos=0,sin=0;if(_KK1)_J7=_P91[_tx-1];else if(_GK1[_Q7+1]==0)_J7=_P91[_tx+2];else _J7=Math.atan2(_ea,_da);
_J7-=Math.atan2(_Qt,_k9)-_WK1*spine._5G1._ZK1;if(_XK1){cos=Math.cos(_J7);sin=Math.sin(_J7);var __K1=bone.data.length;_UK1+=(__K1*(cos*_k9-sin*_Qt)-_da)*rotateMix;_VK1+=(__K1*(sin*_k9+cos*_Qt)-_ea)*rotateMix}if(_J7>spine._5G1.PI)_J7-=spine._5G1._0L1;else if(_J7<-spine._5G1.PI)_J7+=spine._5G1._0L1;_J7*=rotateMix;cos=Math.cos(_J7);sin=Math.sin(_J7);bone._k9=cos*_k9-sin*_Qt;bone._M7=cos*_M7-sin*_si;bone._Qt=sin*_k9+cos*_Qt;bone._si=sin*_M7+cos*_si;}}};_FK1.prototype._PK1=function(path,_NK1,_KK1,_1L1,_2L1){
var target=this.target;var position=this.position;var _GK1=this._GK1,_tW=spine._HF1._MG1(this._P91,_NK1*3+2),_W61=null;var _1j=path._1j;var _DI1=path._kI1,_3L1=_DI1/6,_4L1=_FK1._5L1;if(!path._NI1){var lengths=path.lengths;_3L1-=_1j?1:2;var _6L1=lengths[_3L1];if(_1L1)position*=_6L1;if(_2L1){for(var _Q7=0;_Q7<_NK1;_Q7++)_GK1[_Q7]*=_6L1}_W61=spine._HF1._MG1(this._W61,8);for(var _Q7=0,_7u=0,curve=0;_Q7<_NK1;_Q7++,_7u+=3){var _7L1=_GK1[_Q7];position+=_7L1;var _tx=position;if(_1j){_tx%=_6L1;if(_tx<0)_tx+=_6L1;curve=0}
else if(_tx<0){if(_4L1!=_FK1._8L1){_4L1=_FK1._8L1;path._nI1(target,2,4,_W61,0)}this._9L1(_tx,_W61,0,_tW,_7u);continue }else if(_tx>_6L1){if(_4L1!=_FK1._aL1){_4L1=_FK1._aL1;path._nI1(target,_DI1-6,4,_W61,0)}this._bL1(_tx-_6L1,_W61,0,_tW,_7u);continue }for(;;curve++){var _cL1=lengths[curve];if(_tx>_cL1)continue;if(curve==0)_tx/=_cL1;else {var _Da1=lengths[curve-1];_tx=(_tx-_Da1)/(_cL1-_Da1)}break }if(curve!=_4L1){_4L1=curve;if(_1j&&curve==_3L1){path._nI1(target,_DI1-4,4,_W61,0);path._nI1(target,0,4,_W61,4)}
else path._nI1(target,curve*6+2,8,_W61,0)}this._dL1(_tx,_W61[0],_W61[1],_W61[2],_W61[3],_W61[4],_W61[5],_W61[6],_W61[7],_tW,_7u,_KK1||(_Q7>0&&_7L1==0))}return _tW}if(_1j){_DI1+=2;_W61=spine._HF1._MG1(this._W61,_DI1);path._nI1(target,2,_DI1-4,_W61,0);path._nI1(target,0,2,_W61,_DI1-4);_W61[_DI1-2]=_W61[0];_W61[_DI1-1]=_W61[1]}else {_3L1--;_DI1-=4;_W61=spine._HF1._MG1(this._W61,_DI1);path._nI1(target,2,_DI1,_W61,0)}var _GF1=spine._HF1._MG1(this._GF1,_3L1);var _eL1=0;var _w7=_W61[0],_x7=_W61[1],_SF1=0,_TF1=0,
_UF1=0,_VF1=0,_y7=0,_z7=0;var _WF1=0,_XF1=0,_YF1=0,_ZF1=0,__F1=0,_0G1=0,_1G1=0,_2G1=0;for(var _Q7=0,_u4=2;_Q7<_3L1;_Q7++,_u4+=6){_SF1=_W61[_u4];_TF1=_W61[_u4+1];_UF1=_W61[_u4+2];_VF1=_W61[_u4+3];_y7=_W61[_u4+4];_z7=_W61[_u4+5];_WF1=(_w7-_SF1*2+_UF1)*0.1875;_XF1=(_x7-_TF1*2+_VF1)*0.1875;_YF1=((_SF1-_UF1)*3-_w7+_y7)*0.09375;_ZF1=((_TF1-_VF1)*3-_x7+_z7)*0.09375;__F1=_WF1*2+_YF1;_0G1=_XF1*2+_ZF1;_1G1=(_SF1-_w7)*0.75+_WF1+_YF1*0.16666667;_2G1=(_TF1-_x7)*0.75+_XF1+_ZF1*0.16666667;_eL1+=Math.sqrt(_1G1*_1G1+_2G1*_2G1);
_1G1+=__F1;_2G1+=_0G1;__F1+=_YF1;_0G1+=_ZF1;_eL1+=Math.sqrt(_1G1*_1G1+_2G1*_2G1);_1G1+=__F1;_2G1+=_0G1;_eL1+=Math.sqrt(_1G1*_1G1+_2G1*_2G1);_1G1+=__F1+_YF1;_2G1+=_0G1+_ZF1;_eL1+=Math.sqrt(_1G1*_1G1+_2G1*_2G1);_GF1[_Q7]=_eL1;_w7=_y7;_x7=_z7}if(_1L1)position*=_eL1;if(_2L1){for(var _Q7=0;_Q7<_NK1;_Q7++)_GK1[_Q7]*=_eL1}var _HK1=this._HK1;var _fL1=0;for(var _Q7=0,_7u=0,curve=0,_gL1=0;_Q7<_NK1;_Q7++,_7u+=3){var _7L1=_GK1[_Q7];position+=_7L1;var _tx=position;if(_1j){_tx%=_eL1;if(_tx<0)_tx+=_eL1;curve=0}else if(_tx<0){
this._9L1(_tx,_W61,0,_tW,_7u);continue }else if(_tx>_eL1){this._bL1(_tx-_eL1,_W61,_DI1-4,_tW,_7u);continue }for(;;curve++){var _hL1=_GF1[curve];if(_tx>_hL1)continue;if(curve==0)_tx/=_hL1;else {var _Da1=_GF1[curve-1];_tx=(_tx-_Da1)/(_hL1-_Da1)}break }if(curve!=_4L1){_4L1=curve;var _yH1=curve*6;_w7=_W61[_yH1];_x7=_W61[_yH1+1];_SF1=_W61[_yH1+2];_TF1=_W61[_yH1+3];_UF1=_W61[_yH1+4];_VF1=_W61[_yH1+5];_y7=_W61[_yH1+6];_z7=_W61[_yH1+7];_WF1=(_w7-_SF1*2+_UF1)*0.03;_XF1=(_x7-_TF1*2+_VF1)*0.03;_YF1=((_SF1-_UF1)*3-_w7+_y7)*0.006;
_ZF1=((_TF1-_VF1)*3-_x7+_z7)*0.006;__F1=_WF1*2+_YF1;_0G1=_XF1*2+_ZF1;_1G1=(_SF1-_w7)*0.3+_WF1+_YF1*0.16666667;_2G1=(_TF1-_x7)*0.3+_XF1+_ZF1*0.16666667;_fL1=Math.sqrt(_1G1*_1G1+_2G1*_2G1);_HK1[0]=_fL1;for(_yH1=1;_yH1<8;_yH1++){_1G1+=__F1;_2G1+=_0G1;__F1+=_YF1;_0G1+=_ZF1;_fL1+=Math.sqrt(_1G1*_1G1+_2G1*_2G1);_HK1[_yH1]=_fL1}_1G1+=__F1;_2G1+=_0G1;_fL1+=Math.sqrt(_1G1*_1G1+_2G1*_2G1);_HK1[8]=_fL1;_1G1+=__F1+_YF1;_2G1+=_0G1+_ZF1;_fL1+=Math.sqrt(_1G1*_1G1+_2G1*_2G1);_HK1[9]=_fL1;_gL1=0}_tx*=_fL1;for(;;
_gL1++){var _iL1=_HK1[_gL1];if(_tx>_iL1)continue;if(_gL1==0)_tx/=_iL1;else {var _Da1=_HK1[_gL1-1];_tx=_gL1+(_tx-_Da1)/(_iL1-_Da1)}break }this._dL1(_tx*0.1,_w7,_x7,_SF1,_TF1,_UF1,_VF1,_y7,_z7,_tW,_7u,_KK1||(_Q7>0&&_7L1==0))}return _tW};_FK1.prototype._9L1=function(_tx,_Lx,_Q7,_tW,_7u){var _w7=_Lx[_Q7],_x7=_Lx[_Q7+1],_da=_Lx[_Q7+2]-_w7,_ea=_Lx[_Q7+3]-_x7,_J7=Math.atan2(_ea,_da);_tW[_7u]=_w7+_tx*Math.cos(_J7);_tW[_7u+1]=_x7+_tx*Math.sin(_J7);_tW[_7u+2]=_J7};_FK1.prototype._bL1=function(_tx,_Lx,_Q7,_tW,_7u){
var _w7=_Lx[_Q7+2],_x7=_Lx[_Q7+3],_da=_w7-_Lx[_Q7],_ea=_x7-_Lx[_Q7+1],_J7=Math.atan2(_ea,_da);_tW[_7u]=_w7+_tx*Math.cos(_J7);_tW[_7u+1]=_x7+_tx*Math.sin(_J7);_tW[_7u+2]=_J7};_FK1.prototype._dL1=function(_tx,_w7,_x7,_SF1,_TF1,_UF1,_VF1,_y7,_z7,_tW,_7u,_KK1){if(_tx==0)_tx=0.0001;var _jL1=_tx*_tx,_kL1=_jL1*_tx,_w9=1-_tx,_lL1=_w9*_w9,_mL1=_lL1*_w9;var _nL1=_w9*_tx,_oL1=_nL1*3,_pL1=_w9*_oL1,_qL1=_oL1*_tx;var x=_w7*_mL1+_SF1*_pL1+_UF1*_qL1+_y7*_kL1,y=_x7*_mL1+_TF1*_pL1+_VF1*_qL1+_z7*_kL1;_tW[_7u]=x;_tW[_7u+1]=y;
if(_KK1)_tW[_7u+2]=Math.atan2(y-(_x7*_lL1+_TF1*_nL1*2+_VF1*_jL1),x-(_w7*_lL1+_SF1*_nL1*2+_UF1*_jL1))};_FK1._5L1=-1;_FK1._8L1=-2;_FK1._aL1=-3;return _FK1}());spine._FK1=_FK1})(spine||(spine={}));(function(spine){var _rL1=(function(){function _rL1(name){this.bones=new Array();this.name=name}return _rL1}());spine._rL1=_rL1;(function(_RK1){_RK1[_RK1["Fixed"]=0]="Fixed";_RK1[_RK1["Percent"]=1]="Percent"})(spine._RK1||(spine._RK1={}));var _RK1=spine._RK1;(function(_JK1){_JK1[_JK1["Length"]=0]="Length";_JK1[_JK1["Fixed"]=1]="Fixed";
_JK1[_JK1["Percent"]=2]="Percent";})(spine._JK1||(spine._JK1={}));var _JK1=spine._JK1;(function(_LK1){_LK1[_LK1["Tangent"]=0]="Tangent";_LK1[_LK1["Chain"]=1]="Chain";_LK1[_LK1["ChainScale"]=2]="ChainScale"})(spine._LK1||(spine._LK1={}));var _LK1=spine._LK1})(spine||(spine={}));(function(spine){var _sL1=(function(){function _sL1(_tL1){this._5I1=new Array();this._xF={};this._tL1=_tL1}_sL1.prototype._lO=function(){var _Q7=0;for(var _y9 in this._xF)_Q7++;return _Q7};return _sL1}());var _uL1=(function(){function _uL1(_3I1){
if(_3I1===void 0){_3I1="";}this._vL1={};this._wL1={};this._xL1={};this._4I1={};this._3I1=_3I1}_uL1.prototype._yL1=function(_tL1,_2I1,path){var _vL1=this._vL1[_tL1];if(_vL1===null||_vL1===undefined){_vL1=new _sL1(_tL1);this._vL1[_tL1]=_vL1}if(_2I1!==null)_vL1._2I1=_2I1;_vL1._5I1.push(path);if(this._wL1[path]===path){return !1}else {this._wL1[path]=path;return !0}};_uL1.prototype._6I1=function(_tL1,path){var _8I1=this;path=this._3I1+path;if(!this._yL1(_tL1,null,path))return;var _6B=new XMLHttpRequest();_6B.onreadystatechange=function(){
if(_6B.readyState==XMLHttpRequest._9I1){if(_6B.status>=200&&_6B.status<300){_8I1._xL1[path]=_6B.responseText}else {_8I1._4I1[path]="Couldn't load text "+path+": status "+_6B.status+", "+_6B.responseText}}};_6B.open("GET",path,!0);_6B.send()};_uL1.prototype._zL1=function(_tL1,path){var _8I1=this;path=this._3I1+path;if(!this._yL1(_tL1,null,path))return;var _6B=new XMLHttpRequest();_6B.onreadystatechange=function(){if(_6B.readyState==XMLHttpRequest._9I1){if(_6B.status>=200&&_6B.status<300){_8I1._xL1[path]=JSON.parse(_6B.responseText);
}else {_8I1._4I1[path]="Couldn't load text "+path+": status "+_6B.status+", "+_6B.responseText}}};_6B.open("GET",path,!0);_6B.send()};_uL1.prototype._P8=function(_tL1,_2I1,path){var _8I1=this;path=this._3I1+path;if(!this._yL1(_tL1,_2I1,path))return;var img=new Image();img.crossOrigin=_aI1;img.src=_gN(null,null,path);img.onload=function(_8B){_8I1._xL1[path]=img};img.onerror=function(_8B){_8I1._4I1[path]="Couldn't load image "+path}};_uL1.prototype.get=function(_tL1,path){path=this._3I1+path;var _vL1=this._vL1[_tL1];
if(_vL1===null||_vL1===undefined)return !0;return _vL1._xF[path]};_uL1.prototype._AL1=function(_vL1){for(var _Q7=0;_Q7<_vL1._5I1.length;_Q7++){var path=_vL1._5I1[_Q7];var _bI1=_vL1._xF[path];if(_bI1===null||_bI1===undefined){var _BL1=this._xL1[path];if(_BL1===null||_BL1===undefined)continue;if(_BL1 instanceof HTMLImageElement){_vL1._xF[path]=_vL1._2I1(_BL1)}else {_vL1._xF[path]=_BL1}}}};_uL1.prototype._dI1=function(_tL1){var _vL1=this._vL1[_tL1];if(_vL1===null||_vL1===undefined)return !0;this._AL1(_vL1);return _vL1._5I1.length==_vL1._lO()}
;_uL1.prototype._p8=function(){};_uL1.prototype._gI1=function(){return Object._hI1(this._4I1).length>0};_uL1.prototype._iI1=function(){return this._4I1};return _uL1}());spine._uL1=_uL1})(spine||(spine={}));(function(spine){var _Q5=(function(){function _Q5(data){this._CL1=new Array();this.time=0;this._47=!1;this._57=!1;this.x=0;this.y=0;if(data==null)throw new Error("data cannot be null.");this.data=data;this.bones=new Array();for(var _Q7=0;_Q7<data.bones.length;_Q7++){var _DL1=data.bones[_Q7];var bone=void 0;
if(_DL1.parent==null)bone=new spine._69(_DL1,this,null);else {var _EL1=this.bones[_DL1.parent.index];bone=new spine._69(_DL1,this,_EL1);_EL1._bV.push(bone)}this.bones.push(bone)}this.slots=new Array();this._i9=new Array();for(var _Q7=0;_Q7<data.slots.length;_Q7++){var _FL1=data.slots[_Q7];var bone=this.bones[_FL1._DL1.index];var slot=new spine._GL1(_FL1,bone);this.slots.push(slot);this._i9.push(slot)}this._VG1=new Array();this._HL1=new Array();for(var _Q7=0;_Q7<data._VG1.length;_Q7++){var _IL1=data._VG1[_Q7];this._VG1.push(new spine._eK1(_IL1,
this))}this._5H1=new Array();for(var _Q7=0;_Q7<data._5H1.length;_Q7++){var _JL1=data._5H1[_Q7];this._5H1.push(new spine._KL1(_JL1,this))}this._eH1=new Array();for(var _Q7=0;_Q7<data._eH1.length;_Q7++){var _LL1=data._eH1[_Q7];this._eH1.push(new spine._FK1(_LL1,this))}this.color=new spine._hB1(1,1,1,1);this._ML1()}_Q5.prototype._ML1=function(){var _ML1=this._CL1;_ML1.length=0;var bones=this.bones;for(var _Q7=0,_r7=bones.length;_Q7<_r7;_Q7++)bones[_Q7]._BJ1=!1;var _VG1=this._HL1;_VG1.length=0;for(var _Q7=0;_Q7<this._VG1.length;
_Q7++)_VG1.push(this._VG1[_Q7]);var _NL1=_VG1.length;for(var _Q7=0,_VN=0,_r7=_NL1;_Q7<_r7;_Q7++){var ik=_VG1[_Q7];var bone=ik.bones[0].parent;for(_VN=0;bone!=null;_VN++)bone=bone.parent;ik._VN=_VN}for(var _Q7=1,_yH1=0;_Q7<_NL1;_Q7++){var ik=_VG1[_Q7];var _VN=ik._VN;for(_yH1=_Q7-1;_yH1>=0;_yH1--){var _c21=_VG1[_yH1];if(_c21._VN<_VN)break;_VG1[_yH1+1]=_c21}_VG1[_yH1+1]=ik}for(var _Q7=0,_r7=_VG1.length;_Q7<_r7;_Q7++){var _UG1=_VG1[_Q7];var target=_UG1.target;this._OL1(target);var _PL1=_UG1.bones;var _QL1=_PL1[0];
this._OL1(_QL1);_ML1.push(_UG1);this._RL1(_QL1._bV);_PL1[_PL1.length-1]._BJ1=!0}var _eH1=this._eH1;for(var _Q7=0,_r7=_eH1.length;_Q7<_r7;_Q7++){var _UG1=_eH1[_Q7];var slot=_UG1.target;var _G6=slot.data.index;var _SL1=slot.bone;if(this.skin!=null)this._TL1(this.skin,_G6,_SL1);if(this.data._y6!=null&&this.data._y6!=this.skin)this._TL1(this.data._y6,_G6,_SL1);for(var _yH1=0,_zH1=this.data.skins.length;_yH1<_zH1;_yH1++)this._TL1(this.data.skins[_yH1],_G6,_SL1);var attachment=slot._J6();if(attachment instanceof spine._MI1)this._UL1(attachment,
_SL1);var _PL1=_UG1.bones;var _MK1=_PL1.length;for(var _yH1=0;_yH1<_MK1;_yH1++)this._OL1(_PL1[_yH1]);_ML1.push(_UG1);for(var _yH1=0;_yH1<_MK1;_yH1++)this._RL1(_PL1[_yH1]._bV);for(var _yH1=0;_yH1<_MK1;_yH1++)_PL1[_yH1]._BJ1=!0}var _5H1=this._5H1;for(var _Q7=0,_r7=_5H1.length;_Q7<_r7;_Q7++){var _UG1=_5H1[_Q7];this._OL1(_UG1.target);var _PL1=_UG1.bones;var _MK1=_PL1.length;for(var _yH1=0;_yH1<_MK1;_yH1++)this._OL1(_PL1[_yH1]);_ML1.push(_UG1);for(var _yH1=0;_yH1<_MK1;_yH1++)this._RL1(_PL1[_yH1]._bV);for(var _yH1=0;
_yH1<_MK1;_yH1++)_PL1[_yH1]._BJ1=!0;}for(var _Q7=0,_r7=bones.length;_Q7<_r7;_Q7++)this._OL1(bones[_Q7])};_Q5.prototype._TL1=function(skin,_G6,_SL1){var _VL1=skin._VL1[_G6];if(!_VL1)return;for(var key in _VL1){this._UL1(_VL1[key],_SL1)}};_Q5.prototype._UL1=function(attachment,_SL1){if(!(attachment instanceof spine._MI1))return;var _WL1=attachment.bones;if(_WL1==null)this._OL1(_SL1);else {var bones=this.bones;var _Q7=0;while(_Q7<_WL1.length){var _MK1=_WL1[_Q7++];for(var _r7=_Q7+_MK1;_Q7<_r7;_Q7++){var _dG1=_WL1[_Q7];
this._OL1(bones[_dG1])}}}};_Q5.prototype._OL1=function(bone){if(bone._BJ1)return;var parent=bone.parent;if(parent!=null)this._OL1(parent);bone._BJ1=!0;this._CL1.push(bone)};_Q5.prototype._RL1=function(bones){for(var _Q7=0,_r7=bones.length;_Q7<_r7;_Q7++){var bone=bones[_Q7];if(bone._BJ1)this._RL1(bone._bV);bone._BJ1=!1}};_Q5.prototype._V6=function(){var _ML1=this._CL1;for(var _Q7=0,_r7=_ML1.length;_Q7<_r7;_Q7++)_ML1[_Q7]._37()};_Q5.prototype._CJ1=function(){this._XL1();this._A6()};_Q5.prototype._XL1=function(){
var bones=this.bones;for(var _Q7=0,_r7=bones.length;_Q7<_r7;_Q7++)bones[_Q7]._CJ1();var _VG1=this._VG1;for(var _Q7=0,_r7=_VG1.length;_Q7<_r7;_Q7++){var _UG1=_VG1[_Q7];_UG1._RG1=_UG1.data._RG1;_UG1.mix=_UG1.data.mix}var _5H1=this._5H1;for(var _Q7=0,_r7=_5H1.length;_Q7<_r7;_Q7++){var _UG1=_5H1[_Q7];var data=_UG1.data;_UG1.rotateMix=data.rotateMix;_UG1.__G1=data.__G1;_UG1.scaleMix=data.scaleMix;_UG1._0H1=data._0H1}var _eH1=this._eH1;for(var _Q7=0,_r7=_eH1.length;_Q7<_r7;_Q7++){var _UG1=_eH1[_Q7];var data=_UG1.data;
_UG1.position=data.position;_UG1.spacing=data.spacing;_UG1.rotateMix=data.rotateMix;_UG1.__G1=data.__G1;}};_Q5.prototype._A6=function(){var slots=this.slots;spine._HF1._EG1(slots,0,this._i9,0,slots.length);for(var _Q7=0,_r7=slots.length;_Q7<_r7;_Q7++)slots[_Q7]._CJ1()};_Q5.prototype._b6=function(){if(this.bones.length==0)return null;return this.bones[0]};_Q5.prototype._fK1=function(_YL1){if(_YL1==null)throw new Error("boneName cannot be null.");var bones=this.bones;for(var _Q7=0,_r7=bones.length;_Q7<_r7;
_Q7++){var bone=bones[_Q7];if(bone.data.name==_YL1)return bone}return null};_Q5.prototype._ZL1=function(_YL1){if(_YL1==null)throw new Error("boneName cannot be null.");var bones=this.bones;for(var _Q7=0,_r7=bones.length;_Q7<_r7;_Q7++)if(bones[_Q7].data.name==_YL1)return _Q7;return -1};_Q5.prototype._E6=function(__L1){if(__L1==null)throw new Error("slotName cannot be null.");var slots=this.slots;for(var _Q7=0,_r7=slots.length;_Q7<_r7;_Q7++){var slot=slots[_Q7];if(slot.data.name==__L1)return slot}return null};_Q5.prototype._H6=function(__L1){
if(__L1==null)throw new Error("slotName cannot be null.");var slots=this.slots;for(var _Q7=0,_r7=slots.length;_Q7<_r7;_Q7++)if(slots[_Q7].data.name==__L1)return _Q7;return -1};_Q5.prototype._z6=function(_0M1){var skin=this.data._1M1(_0M1);if(skin==null)throw new Error("Skin not found: "+_0M1);this._2M1(skin)};_Q5.prototype._2M1=function(_3M1){if(_3M1!=null){if(this.skin!=null)_3M1._4M1(this,this.skin);else {var slots=this.slots;for(var _Q7=0,_r7=slots.length;_Q7<_r7;_Q7++){var slot=slots[_Q7];var _5M1=slot.data._yG1;
if(_5M1!=null){var attachment=_3M1._J6(_Q7,_5M1);if(attachment!=null)slot._F6(attachment)}}}}this.skin=_3M1};_Q5.prototype._6M1=function(__L1,_yG1){return this._J6(this.data._H6(__L1),_yG1)};_Q5.prototype._J6=function(_G6,_yG1){if(_yG1==null)throw new Error("attachmentName cannot be null.");if(this.skin!=null){var attachment=this.skin._J6(_G6,_yG1);if(attachment!=null)return attachment}if(this.data._y6!=null)return this.data._y6._J6(_G6,_yG1);return null};_Q5.prototype._F6=function(__L1,_yG1){if(__L1==null)throw new Error("slotName cannot be null.");
var slots=this.slots;for(var _Q7=0,_r7=slots.length;_Q7<_r7;_Q7++){var slot=slots[_Q7];if(slot.data.name==__L1){var attachment=null;if(_yG1!=null){attachment=this._J6(_Q7,_yG1);if(attachment==null)throw new Error("Attachment not found: "+_yG1+", for slot: "+__L1)}slot._F6(attachment);return }}throw new Error("Slot not found: "+__L1)};_Q5.prototype._7M1=function(_8M1){if(_8M1==null)throw new Error("constraintName cannot be null.");var _VG1=this._VG1;for(var _Q7=0,_r7=_VG1.length;_Q7<_r7;_Q7++){var _9M1=_VG1[_Q7];
if(_9M1.data.name==_8M1)return _9M1}return null};_Q5.prototype._aM1=function(_8M1){if(_8M1==null)throw new Error("constraintName cannot be null.");var _5H1=this._5H1;for(var _Q7=0,_r7=_5H1.length;_Q7<_r7;_Q7++){var _UG1=_5H1[_Q7];if(_UG1.data.name==_8M1)return _UG1}return null};_Q5.prototype._bM1=function(_8M1){if(_8M1==null)throw new Error("constraintName cannot be null.");var _eH1=this._eH1;for(var _Q7=0,_r7=_eH1.length;_Q7<_r7;_Q7++){var _UG1=_eH1[_Q7];if(_UG1.data.name==_8M1)return _UG1}return null};_Q5.prototype.getBounds=function(offset,
_u7){if(offset==null)throw new Error("offset cannot be null.");if(_u7==null)throw new Error("size cannot be null.");var _i9=this._i9;var _f7=Number.POSITIVE_INFINITY,_h7=Number.POSITIVE_INFINITY,_g7=Number.NEGATIVE_INFINITY,_i7=Number.NEGATIVE_INFINITY;for(var _Q7=0,_r7=_i9.length;_Q7<_r7;_Q7++){var slot=_i9[_Q7];var vertices=null;var attachment=slot._J6();if(attachment instanceof spine._l9)vertices=attachment._s9(slot,!1);else if(attachment instanceof spine._m9)vertices=attachment._s9(slot,!0);if(vertices!=null){
for(var _yH1=0,_zH1=vertices.length;_yH1<_zH1;_yH1+=8){var x=vertices[_yH1],y=vertices[_yH1+1];_f7=Math.min(_f7,x);_h7=Math.min(_h7,y);_g7=Math.max(_g7,x);_i7=Math.max(_i7,y)}}}offset.set(_f7,_h7);_u7.set(_g7-_f7,_i7-_h7)};_Q5.prototype._37=function(_lH1){this.time+=_lH1};return _Q5}());spine._Q5=_Q5})(spine||(spine={}));(function(spine){var _96=(function(){function _96(){this._f7=0;this._h7=0;this._g7=0;this._i7=0;this._e7=new Array();this._s7=new Array();this._cM1=new spine._dM1(function(){return spine._HF1._IF1(16)}
)}_96.prototype._37=function(skeleton,_eM1){if(skeleton==null)throw new Error("skeleton cannot be null.");var _e7=this._e7;var _s7=this._s7;var _cM1=this._cM1;var slots=skeleton.slots;var _fM1=slots.length;_e7.length=0;_cM1._FH1(_s7);_s7.length=0;for(var _Q7=0;_Q7<_fM1;_Q7++){var slot=slots[_Q7];var attachment=slot._J6();if(attachment instanceof spine._yI1){var _gM1=attachment;_e7.push(_gM1);var _Z_=_cM1._hM1();if(_Z_.length!=_gM1._kI1){_Z_=spine._HF1._IF1(_gM1._kI1)}_s7.push(_Z_);_gM1._lI1(slot,_Z_)}}if(_eM1)this._iM1()}
;_96.prototype._iM1=function(){var _f7=Number.POSITIVE_INFINITY,_h7=Number.POSITIVE_INFINITY,_g7=Number.NEGATIVE_INFINITY,_i7=Number.NEGATIVE_INFINITY;var _s7=this._s7;for(var _Q7=0,_r7=_s7.length;_Q7<_r7;_Q7++){var _Z_=_s7[_Q7];var vertices=_Z_;for(var _yH1=0,_zH1=_Z_.length;_yH1<_zH1;_yH1+=2){var x=vertices[_yH1];var y=vertices[_yH1+1];_f7=Math.min(_f7,x);_h7=Math.min(_h7,y);_g7=Math.max(_g7,x);_i7=Math.max(_i7,y)}}this._f7=_f7;this._h7=_h7;this._g7=_g7;this._i7=_i7};_96.prototype._jM1=function(x,y){return x>=this._f7&&x<=this._g7&&y>=this._h7&&y<=this._i7}
;_96.prototype._kM1=function(_w7,_x7,_y7,_z7){var _f7=this._f7;var _h7=this._h7;var _g7=this._g7;var _i7=this._i7;if((_w7<=_f7&&_y7<=_f7)||(_x7<=_h7&&_z7<=_h7)||(_w7>=_g7&&_y7>=_g7)||(_x7>=_i7&&_z7>=_i7))return !1;var _v7=(_z7-_x7)/(_y7-_w7);var y=_v7*(_f7-_w7)+_x7;if(y>_h7&&y<_i7)return !0;y=_v7*(_g7-_w7)+_x7;if(y>_h7&&y<_i7)return !0;var x=(_h7-_x7)/_v7+_w7;if(x>_f7&&x<_g7)return !0;x=(_i7-_x7)/_v7+_w7;if(x>_f7&&x<_g7)return !0;return !1};_96.prototype._lM1=function(_mM1){return this._f7<_mM1._g7&&this._g7>_mM1._f7&&this._h7<_mM1._i7&&this._i7>_mM1._h7}
;_96.prototype.__7=function(x,y){var _s7=this._s7;for(var _Q7=0,_r7=_s7.length;_Q7<_r7;_Q7++)if(this._nM1(_s7[_Q7],x,y))return this._e7[_Q7];return null};_96.prototype._nM1=function(_Z_,x,y){var vertices=_Z_;var _zH1=_Z_.length;var _oM1=_zH1-2;var _pM1=!1;for(var _yH1=0;_yH1<_zH1;_yH1+=2){var _qM1=vertices[_yH1+1];var _7G1=vertices[_oM1+1];if((_qM1<y&&_7G1>=y)||(_7G1<y&&_qM1>=y)){var _rM1=vertices[_yH1];if(_rM1+(y-_qM1)/(_7G1-_qM1)*(vertices[_oM1]-_rM1)<x)_pM1=!_pM1}_oM1=_yH1}return _pM1};_96.prototype._B7=function(_w7,
_x7,_y7,_z7){var _s7=this._s7;for(var _Q7=0,_r7=_s7.length;_Q7<_r7;_Q7++)if(this._sM1(_s7[_Q7],_w7,_x7,_y7,_z7))return this._e7[_Q7];return null};_96.prototype._sM1=function(_Z_,_w7,_x7,_y7,_z7){var vertices=_Z_;var _zH1=_Z_.length;var _tM1=_w7-_y7,_uM1=_x7-_z7;var _vM1=_w7*_z7-_x7*_y7;var _8i=vertices[_zH1-2],_9i=vertices[_zH1-1];for(var _yH1=0;_yH1<_zH1;_yH1+=2){var _wM1=vertices[_yH1],_xM1=vertices[_yH1+1];var _yM1=_8i*_xM1-_9i*_wM1;var _zM1=_8i-_wM1,_AM1=_9i-_xM1;var _BM1=_tM1*_AM1-_uM1*_zM1;var x=(_vM1*_zM1-_tM1*_yM1)/_BM1;
if(((x>=_8i&&x<=_wM1)||(x>=_wM1&&x<=_8i))&&((x>=_w7&&x<=_y7)||(x>=_y7&&x<=_w7))){var y=(_vM1*_AM1-_uM1*_yM1)/_BM1;if(((y>=_9i&&y<=_xM1)||(y>=_xM1&&y<=_9i))&&((y>=_x7&&y<=_z7)||(y>=_z7&&y<=_x7)))return !0}_8i=_wM1;_9i=_xM1}return !1};_96.prototype._CM1=function(_gM1){if(_gM1==null)throw new Error("boundingBox cannot be null.");var index=this._e7.indexOf(_gM1);return index==-1?null:this._s7[index]};_96.prototype._DM1=function(){return this._g7-this._f7};_96.prototype._EM1=function(){return this._i7-this._h7}
;return _96}());spine._96=_96})(spine||(spine={}));(function(spine){var _FM1=(function(){function _FM1(){this.bones=new Array();this.slots=new Array();this.skins=new Array();this.events=new Array();this.animations=new Array();this._VG1=new Array();this._5H1=new Array();this._eH1=new Array()}_FM1.prototype._fK1=function(_YL1){if(_YL1==null)throw new Error("boneName cannot be null.");var bones=this.bones;for(var _Q7=0,_r7=bones.length;_Q7<_r7;_Q7++){var bone=bones[_Q7];if(bone.name==_YL1)return bone}return null};_FM1.prototype._ZL1=function(_YL1){
if(_YL1==null)throw new Error("boneName cannot be null.");var bones=this.bones;for(var _Q7=0,_r7=bones.length;_Q7<_r7;_Q7++)if(bones[_Q7].name==_YL1)return _Q7;return -1};_FM1.prototype._E6=function(__L1){if(__L1==null)throw new Error("slotName cannot be null.");var slots=this.slots;for(var _Q7=0,_r7=slots.length;_Q7<_r7;_Q7++){var slot=slots[_Q7];if(slot.name==__L1)return slot}return null};_FM1.prototype._H6=function(__L1){if(__L1==null)throw new Error("slotName cannot be null.");var slots=this.slots;for(var _Q7=0,
_r7=slots.length;_Q7<_r7;_Q7++)if(slots[_Q7].name==__L1)return _Q7;return -1};_FM1.prototype._1M1=function(_0M1){if(_0M1==null)throw new Error("skinName cannot be null.");var skins=this.skins;for(var _Q7=0,_r7=skins.length;_Q7<_r7;_Q7++){var skin=skins[_Q7];if(skin.name==_0M1)return skin}return null};_FM1.prototype._GM1=function(_HM1){if(_HM1==null)throw new Error("eventDataName cannot be null.");var events=this.events;for(var _Q7=0,_r7=events.length;_Q7<_r7;_Q7++){var _IM1=events[_Q7];if(_IM1.name==_HM1)return _IM1}
return null};_FM1.prototype._v6=function(_IH1){if(_IH1==null)throw new Error("animationName cannot be null.");var animations=this.animations;for(var _Q7=0,_r7=animations.length;_Q7<_r7;_Q7++){var _m6=animations[_Q7];if(_m6.name==_IH1)return _m6}return null};_FM1.prototype._7M1=function(_8M1){if(_8M1==null)throw new Error("constraintName cannot be null.");var _VG1=this._VG1;for(var _Q7=0,_r7=_VG1.length;_Q7<_r7;_Q7++){var _UG1=_VG1[_Q7];if(_UG1.name==_8M1)return _UG1}return null};_FM1.prototype._aM1=function(_8M1){
if(_8M1==null)throw new Error("constraintName cannot be null.");var _5H1=this._5H1;for(var _Q7=0,_r7=_5H1.length;_Q7<_r7;_Q7++){var _UG1=_5H1[_Q7];if(_UG1.name==_8M1)return _UG1}return null};_FM1.prototype._bM1=function(_8M1){if(_8M1==null)throw new Error("constraintName cannot be null.");var _eH1=this._eH1;for(var _Q7=0,_r7=_eH1.length;_Q7<_r7;_Q7++){var _UG1=_eH1[_Q7];if(_UG1.name==_8M1)return _UG1}return null};_FM1.prototype._JM1=function(_KM1){if(_KM1==null)throw new Error("pathConstraintName cannot be null.");
var _eH1=this._eH1;for(var _Q7=0,_r7=_eH1.length;_Q7<_r7;_Q7++)if(_eH1[_Q7].name==_KM1)return _Q7;return -1};return _FM1}());spine._FM1=_FM1;})(spine||(spine={}));(function(spine){var _X8=(function(){function _X8(_LM1){this.scale=1;this._MM1=new Array();this._LM1=_LM1}_X8.prototype._Z8=function(_YA){var scale=this.scale;var _JH1=new spine._FM1();var _a6=typeof(_YA)==="string"?JSON.parse(_YA):_YA;var _NM1=_a6.skeleton;if(_NM1!=null){_JH1.hash=_NM1.hash;_JH1.version=_NM1.spine;_JH1.width=_NM1.width;_JH1.height=_NM1.height;
_JH1._OM1=_NM1.images}if(_a6.bones){for(var _Q7=0;_Q7<_a6.bones.length;_Q7++){var _PM1=_a6.bones[_Q7];var _QM1=null;var _RM1=this._SM1(_PM1,"parent",null);if(_RM1!=null){_QM1=_JH1._fK1(_RM1);if(_QM1==null)throw new Error("Parent bone not found: "+_RM1)}var data=new spine._cK1(_JH1.bones.length,_PM1.name,_QM1);data.length=this._SM1(_PM1,"length",0)*scale;data.x=this._SM1(_PM1,"x",0)*scale;data.y=this._SM1(_PM1,"y",0)*scale;data.rotation=this._SM1(_PM1,"rotation",0);data.scaleX=this._SM1(_PM1,"scaleX",1);
data.scaleY=this._SM1(_PM1,"scaleY",1);data.shearX=this._SM1(_PM1,"shearX",0);data.shearY=this._SM1(_PM1,"shearY",0);data.inheritRotation=this._SM1(_PM1,"inheritRotation",!0);data.inheritScale=this._SM1(_PM1,"inheritScale",!0);_JH1.bones.push(data)}}if(_a6.slots){for(var _Q7=0;_Q7<_a6.slots.length;_Q7++){var _TM1=_a6.slots[_Q7];var __L1=_TM1.name;var _YL1=_TM1.bone;var _DL1=_JH1._fK1(_YL1);if(_DL1==null)throw new Error("Slot bone not found: "+_YL1);var data=new spine._UM1(_JH1.slots.length,__L1,_DL1);var color=this._SM1(_TM1,
"color",null);if(color!=null)data.color._VM1(color);data._yG1=this._SM1(_TM1,"attachment",null);data._WM1=_X8._XM1(this._SM1(_TM1,"blend","normal"));_JH1.slots.push(data)}}if(_a6.ik){for(var _Q7=0;_Q7<_a6.ik.length;_Q7++){var _YM1=_a6.ik[_Q7];var data=new spine._EK1(_YM1.name);for(var _R7=0;_R7<_YM1.bones.length;_R7++){var _YL1=_YM1.bones[_R7];var bone=_JH1._fK1(_YL1);if(bone==null)throw new Error("IK bone not found: "+_YL1);data.bones.push(bone)}var _ZM1=_YM1.target;data.target=_JH1._fK1(_ZM1);if(data.target==null)throw new Error("IK target bone not found: "+_ZM1);
data._RG1=this._SM1(_YM1,"bendPositive",!0)?1:-1;data.mix=this._SM1(_YM1,"mix",1);_JH1._VG1.push(data);}}if(_a6.transform){for(var _Q7=0;_Q7<_a6.transform.length;_Q7++){var _YM1=_a6.transform[_Q7];var data=new spine.__M1(_YM1.name);for(var _R7=0;_R7<_YM1.bones.length;_R7++){var _YL1=_YM1.bones[_R7];var bone=_JH1._fK1(_YL1);if(bone==null)throw new Error("Transform constraint bone not found: "+_YL1);data.bones.push(bone)}var _ZM1=_YM1.target;data.target=_JH1._fK1(_ZM1);if(data.target==null)throw new Error("Transform constraint target bone not found: "+_ZM1);
data._WK1=this._SM1(_YM1,"rotation",0);data._VI1=this._SM1(_YM1,"x",0)*scale;data._XI1=this._SM1(_YM1,"y",0)*scale;data._0N1=this._SM1(_YM1,"scaleX",0);data._1N1=this._SM1(_YM1,"scaleY",0);data._2N1=this._SM1(_YM1,"shearY",0);data.rotateMix=this._SM1(_YM1,"rotateMix",1);data.__G1=this._SM1(_YM1,"translateMix",1);data.scaleMix=this._SM1(_YM1,"scaleMix",1);data._0H1=this._SM1(_YM1,"shearMix",1);_JH1._5H1.push(data)}}if(_a6.path){for(var _Q7=0;_Q7<_a6.path.length;_Q7++){var _YM1=_a6.path[_Q7];var data=new spine._rL1(_YM1.name);
for(var _R7=0;_R7<_YM1.bones.length;_R7++){var _YL1=_YM1.bones[_R7];var bone=_JH1._fK1(_YL1);if(bone==null)throw new Error("Transform constraint bone not found: "+_YL1);data.bones.push(bone)}var _ZM1=_YM1.target;data.target=_JH1._E6(_ZM1);if(data.target==null)throw new Error("Path target slot not found: "+_ZM1);data._QK1=_X8._3N1(this._SM1(_YM1,"positionMode","percent"));data.spacingMode=_X8._4N1(this._SM1(_YM1,"spacingMode","length"));data.rotateMode=_X8._5N1(this._SM1(_YM1,"rotateMode","tangent"));data._WK1=this._SM1(_YM1,
"rotation",0);data.position=this._SM1(_YM1,"position",0);if(data._QK1==spine._RK1.Fixed)data.position*=scale;data.spacing=this._SM1(_YM1,"spacing",0);if(data.spacingMode==spine._JK1.Length||data.spacingMode==spine._JK1.Fixed)data.spacing*=scale;data.rotateMix=this._SM1(_YM1,"rotateMix",1);data.__G1=this._SM1(_YM1,"translateMix",1);_JH1._eH1.push(data)}}if(_a6.skins){for(var _0M1 in _a6.skins){var _6N1=_a6.skins[_0M1];var skin=new spine._7N1(_0M1);for(var __L1 in _6N1){var _G6=_JH1._H6(__L1);if(_G6==-1)throw new Error("Slot not found: "+__L1);
var _TM1=_6N1[__L1];for(var _8N1 in _TM1){var attachment=this._9N1(_TM1[_8N1],skin,_G6,_8N1);if(attachment!=null)skin._aN1(_G6,_8N1,attachment)}}_JH1.skins.push(skin);if(skin.name=="default")_JH1._y6=skin}}for(var _Q7=0,_r7=this._MM1.length;_Q7<_r7;_Q7++){var _bN1=this._MM1[_Q7];var skin=_bN1.skin==null?_JH1._y6:_JH1._1M1(_bN1.skin);if(skin==null)throw new Error("Skin not found: "+_bN1.skin);var _cN1=skin._J6(_bN1._G6,_bN1.parent);if(_cN1==null)throw new Error("Parent mesh not found: "+_bN1.parent);_bN1._U9._KI1(_cN1);
_bN1._U9._BI1();}this._MM1.length=0;if(_a6.events){for(var _dN1 in _a6.events){var _eN1=_a6.events[_dN1];var data=new spine._dK1(_dN1);data.__5=this._SM1(_eN1,"int",0);data._06=this._SM1(_eN1,"float",0);data._16=this._SM1(_eN1,"string",null);_JH1.events.push(data)}}if(_a6.animations){for(var _IH1 in _a6.animations){var _fN1=_a6.animations[_IH1];this._gN1(_fN1,_IH1,_JH1)}}return _JH1};_X8.prototype._9N1=function(map,skin,_G6,name){var scale=this.scale;name=this._SM1(map,"name",name);var type=this._SM1(map,"type",
"region");switch(type){case "region":{var path=this._SM1(map,"path",name);var _p9=this._LM1._hN1(skin,name,path);if(_p9==null)return null;_p9.path=path;_p9.x=this._SM1(map,"x",0)*scale;_p9.y=this._SM1(map,"y",0)*scale;_p9.scaleX=this._SM1(map,"scaleX",1);_p9.scaleY=this._SM1(map,"scaleY",1);_p9.rotation=this._SM1(map,"rotation",0);_p9.width=map.width*scale;_p9.height=map.height*scale;var color=this._SM1(map,"color",null);if(color!=null)_p9.color._VM1(color);_p9._PI1();return _p9}case "boundingbox":{var _iN1=this._LM1._jN1(skin,
name);if(_iN1==null)return null;this._kN1(map,_iN1,map.vertexCount<<1);var color=this._SM1(map,"color",null);if(color!=null)_iN1.color._VM1(color);return _iN1}case "mesh":case "linkedmesh":{var path=this._SM1(map,"path",name);var _U9=this._LM1._lN1(skin,name,path);if(_U9==null)return null;_U9.path=path;var color=this._SM1(map,"color",null);if(color!=null)_U9.color._VM1(color);var _mN1=this._SM1(map,"parent",null);if(_mN1!=null){_U9._zI1=this._SM1(map,"deform",!0);this._MM1.push(new LinkedMesh(_U9,this._SM1(map,
"skin",null),_G6,_mN1));return _U9}var uvs=map.uvs;this._kN1(map,_U9,uvs.length);_U9.triangles=map.triangles;_U9._CI1=uvs;_U9._BI1();_U9._LI1=this._SM1(map,"hull",0)*2;return _U9}case "path":{var path=this._LM1._nN1(skin,name);if(path==null)return null;path._1j=this._SM1(map,"closed",!1);path._NI1=this._SM1(map,"constantSpeed",!0);var vertexCount=map.vertexCount;this._kN1(map,path,vertexCount<<1);var lengths=spine._HF1._oN1(vertexCount/3,0);for(var _Q7=0;_Q7<map.lengths.length;_Q7++)lengths[_Q7++]=map.lengths[_Q7]*scale;
path.lengths=lengths;var color=this._SM1(map,"color",null);if(color!=null)path.color._VM1(color);return path}}return null};_X8.prototype._kN1=function(map,attachment,_DI1){var scale=this.scale;attachment._kI1=_DI1;var vertices=map.vertices;if(_DI1==vertices.length){if(scale!=1){for(var _Q7=0,_r7=vertices.length;_Q7<_r7;_Q7++)vertices[_Q7]*=scale}attachment.vertices=spine._HF1._pN1(vertices);return }var _qN1=new Array();var bones=new Array();for(var _Q7=0,_r7=vertices.length;_Q7<_r7;){var _MK1=vertices[_Q7++];
bones.push(_MK1);for(var _zH1=_Q7+_MK1*4;_Q7<_zH1;_Q7+=4){bones.push(vertices[_Q7]);_qN1.push(vertices[_Q7+1]*scale);_qN1.push(vertices[_Q7+2]*scale);_qN1.push(vertices[_Q7+3])}}attachment.bones=bones;attachment.vertices=spine._HF1._pN1(_qN1)};_X8.prototype._gN1=function(map,name,_JH1){var scale=this.scale;var _17=new Array();var duration=0;if(map.slots){for(var __L1 in map.slots){var _TM1=map.slots[__L1];var _G6=_JH1._H6(__L1);if(_G6==-1)throw new Error("Slot not found: "+__L1);for(var _rN1 in _TM1){var _sN1=_TM1[_rN1];
if(_rN1=="color"){var _6v=new spine._qG1(_sN1.length);_6v._G6=_G6;var _MF1=0;for(var _Q7=0;_Q7<_sN1.length;_Q7++){var _tN1=_sN1[_Q7];var color=new spine._hB1();color._VM1(_tN1.color);_6v._aG1(_MF1,_tN1.time,color._J7,color._j9,color._M7,color._k9);this._uN1(_tN1,_6v,_MF1);_MF1++}_17.push(_6v);duration=Math.max(duration,_6v.frames[(_6v._KF1()-1)*spine._qG1._eG1])}else if(_rN1="attachment"){var _6v=new spine._wG1(_sN1.length);_6v._G6=_G6;var _MF1=0;for(var _Q7=0;_Q7<_sN1.length;_Q7++){var _tN1=_sN1[_Q7];_6v._aG1(_MF1++,
_tN1.time,_tN1.name)}_17.push(_6v);duration=Math.max(duration,_6v.frames[_6v._KF1()-1])}else throw new Error("Invalid timeline type for a slot: "+_rN1+" ("+__L1+")")}}}if(map.bones){for(var _YL1 in map.bones){var _PM1=map.bones[_YL1];var _dG1=_JH1._ZL1(_YL1);if(_dG1==-1)throw new Error("Bone not found: "+_YL1);for(var _rN1 in _PM1){var _sN1=_PM1[_rN1];if(_rN1==="rotate"){var _6v=new spine._8G1(_sN1.length);_6v._dG1=_dG1;var _MF1=0;for(var _Q7=0;_Q7<_sN1.length;_Q7++){var _tN1=_sN1[_Q7];_6v._aG1(_MF1,_tN1.time,_tN1.angle);
this._uN1(_tN1,_6v,_MF1);_MF1++}_17.push(_6v);duration=Math.max(duration,_6v.frames[(_6v._KF1()-1)*spine._8G1._eG1])}else if(_rN1==="translate"||_rN1==="scale"||_rN1==="shear"){var _6v=null;var _vN1=1;if(_rN1==="scale")_6v=new spine._oG1(_sN1.length);else if(_rN1==="shear")_6v=new spine._pG1(_sN1.length);else {_6v=new spine._lG1(_sN1.length);_vN1=scale}_6v._dG1=_dG1;var _MF1=0;for(var _Q7=0;_Q7<_sN1.length;_Q7++){var _tN1=_sN1[_Q7];var x=this._SM1(_tN1,"x",0),y=this._SM1(_tN1,"y",0);_6v._aG1(_MF1,_tN1.time,
x*_vN1,y*_vN1);this._uN1(_tN1,_6v,_MF1);_MF1++}_17.push(_6v);duration=Math.max(duration,_6v.frames[(_6v._KF1()-1)*spine._lG1._eG1])}else throw new Error("Invalid timeline type for a bone: "+_rN1+" ("+_YL1+")")}}}if(map.ik){for(var _8M1 in map.ik){var _YM1=map.ik[_8M1];var _UG1=_JH1._7M1(_8M1);var _6v=new spine._QG1(_YM1.length);_6v._WG1=_JH1._VG1.indexOf(_UG1);var _MF1=0;for(var _Q7=0;_Q7<_YM1.length;_Q7++){var _tN1=_YM1[_Q7];_6v._aG1(_MF1,_tN1.time,this._SM1(_tN1,"mix",1),this._SM1(_tN1,"bendPositive",!0)?1:-1);
this._uN1(_tN1,_6v,_MF1);_MF1++}_17.push(_6v);duration=Math.max(duration,_6v.frames[(_6v._KF1()-1)*spine._QG1._eG1]);}}if(map.transform){for(var _8M1 in map.transform){var _YM1=map.transform[_8M1];var _UG1=_JH1._aM1(_8M1);var _6v=new spine._ZG1(_YM1.length);_6v._6H1=_JH1._5H1.indexOf(_UG1);var _MF1=0;for(var _Q7=0;_Q7<_YM1.length;_Q7++){var _tN1=_YM1[_Q7];_6v._aG1(_MF1,_tN1.time,this._SM1(_tN1,"rotateMix",1),this._SM1(_tN1,"translateMix",1),this._SM1(_tN1,"scaleMix",1),this._SM1(_tN1,"shearMix",1));this._uN1(_tN1,
_6v,_MF1);_MF1++}_17.push(_6v);duration=Math.max(duration,_6v.frames[(_6v._KF1()-1)*spine._ZG1._eG1])}}if(map.paths){for(var _8M1 in map.paths){var _YM1=map.paths[_8M1];var index=_JH1._JM1(_8M1);if(index==-1)throw new Error("Path constraint not found: "+_8M1);var data=_JH1._eH1[index];for(var _rN1 in _YM1){var _sN1=_YM1[_rN1];if(_rN1==="position"||_rN1==="spacing"){var _6v=null;var _vN1=1;if(_rN1==="spacing"){_6v=new spine._hH1(_sN1.length);if(data.spacingMode==spine._JK1.Length||data.spacingMode==spine._JK1.Fixed)_vN1=scale}
else {_6v=new spine._cH1(_sN1.length);if(data._QK1==spine._RK1.Fixed)_vN1=scale}_6v._fH1=index;var _MF1=0;for(var _Q7=0;_Q7<_sN1.length;_Q7++){var _tN1=_sN1[_Q7];_6v._aG1(_MF1,_tN1.time,this._SM1(_tN1,_rN1,0)*_vN1);this._uN1(_tN1,_6v,_MF1);_MF1++}_17.push(_6v);duration=Math.max(duration,_6v.frames[(_6v._KF1()-1)*spine._cH1._eG1])}else if(_rN1==="mix"){var _6v=new spine._iH1(_sN1.length);_6v._fH1=index;var _MF1=0;for(var _Q7=0;_Q7<_sN1.length;_Q7++){var _tN1=_sN1[_Q7];_6v._aG1(_MF1,_tN1.time,this._SM1(_tN1,
"rotateMix",1),this._SM1(_tN1,"translateMix",1));this._uN1(_tN1,_6v,_MF1);_MF1++}_17.push(_6v);duration=Math.max(duration,_6v.frames[(_6v._KF1()-1)*spine._iH1._eG1]);}}}}if(map.deform){for(var _wN1 in map.deform){var _xN1=map.deform[_wN1];var skin=_JH1._1M1(_wN1);if(skin==null)throw new Error("Skin not found: "+_wN1);for(var __L1 in _xN1){var _TM1=_xN1[__L1];var _G6=_JH1._H6(__L1);if(_G6==-1)throw new Error("Slot not found: "+_TM1.name);for(var _rN1 in _TM1){var _sN1=_TM1[_rN1];var attachment=skin._J6(_G6,_rN1);if(attachment==null)throw new Error("Deform attachment not found: "+_sN1.name);
var _yN1=attachment.bones!=null;var vertices=attachment.vertices;var _zN1=_yN1?vertices.length/3*2:vertices.length;var _6v=new spine._FG1(_sN1.length);_6v._G6=_G6;_6v.attachment=attachment;var _MF1=0;for(var _R7=0;_R7<_sN1.length;_R7++){var _tN1=_sN1[_R7];var deform=void 0;var _AN1=this._SM1(_tN1,"vertices",null);if(_AN1==null)deform=_yN1?spine._HF1._IF1(_zN1):vertices;else {deform=spine._HF1._IF1(_zN1);var start=this._SM1(_tN1,"offset",0);spine._HF1._EG1(_AN1,0,deform,start,_AN1.length);if(scale!=1){for(var _Q7=start,
_r7=_Q7+_AN1.length;_Q7<_r7;_Q7++)deform[_Q7]*=scale}if(!_yN1){for(var _Q7=0;_Q7<_zN1;_Q7++)deform[_Q7]+=vertices[_Q7]}}_6v._aG1(_MF1,_tN1.time,deform);this._uN1(_tN1,_6v,_MF1);_MF1++}_17.push(_6v);duration=Math.max(duration,_6v.frames[_6v._KF1()-1])}}}}var _BN1=map._i9;if(_BN1==null)_BN1=map.draworder;if(_BN1!=null){var _6v=new spine._BG1(_BN1.length);var _fM1=_JH1.slots.length;var _MF1=0;for(var _R7=0;_R7<_BN1.length;_R7++){var _CN1=_BN1[_R7];var _i9=null;var _DN1=this._SM1(_CN1,"offsets",null);if(_DN1!=null){
_i9=spine._HF1._oN1(_fM1,-1);var _EN1=spine._HF1._oN1(_fM1-_DN1.length,0);var _FN1=0,_GN1=0;for(var _Q7=0;_Q7<_DN1.length;_Q7++){var _HN1=_DN1[_Q7];var _G6=_JH1._H6(_HN1.slot);if(_G6==-1)throw new Error("Slot not found: "+_HN1.slot);while(_FN1!=_G6)_EN1[_GN1++]=_FN1++;_i9[_FN1+_HN1.offset]=_FN1++}while(_FN1<_fM1)_EN1[_GN1++]=_FN1++;for(var _Q7=_fM1-1;_Q7>=0;_Q7--)if(_i9[_Q7]==-1)_i9[_Q7]=_EN1[--_GN1]}_6v._aG1(_MF1++,_CN1.time,_i9)}_17.push(_6v);duration=Math.max(duration,_6v.frames[_6v._KF1()-1])}if(map.events){
var _6v=new spine._zG1(map.events.length);var _MF1=0;for(var _Q7=0;_Q7<map.events.length;_Q7++){var _eN1=map.events[_Q7];var _8v=_JH1._GM1(_eN1.name);if(_8v==null)throw new Error("Event not found: "+_eN1.name);var _IN1=new spine._av(_eN1.time,_8v);_IN1.__5=this._SM1(_eN1,"int",_8v.__5);_IN1._06=this._SM1(_eN1,"float",_8v._06);_IN1._16=this._SM1(_eN1,"string",_8v._16);_6v._aG1(_MF1++,_IN1)}_17.push(_6v);duration=Math.max(duration,_6v.frames[_6v._KF1()-1])}if(isNaN(duration)){throw new Error("Error while parsing animation, duration is NaN")}
_JH1.animations.push(new spine._AF1(name,_17,duration))};_X8.prototype._uN1=function(map,_6v,_MF1){if(!map.curve)return;if(map.curve==="stepped")_6v._NF1(_MF1);else if(Object.prototype.toString.call(map.curve)==='[object Array]'){var curve=map.curve;_6v._RF1(_MF1,curve[0],curve[1],curve[2],curve[3])}};_X8.prototype._SM1=function(map,prop,_JN1){return map[prop]!==undefined?map[prop]:_JN1};_X8._XM1=function(_2t){_2t=_2t.toLowerCase();if(_2t=="normal")return spine._xJ1.Normal;if(_2t=="additive")return spine._xJ1.Additive;
if(_2t=="multiply")return spine._xJ1.Multiply;if(_2t=="screen")return spine._xJ1.Screen;throw new Error("Unknown blend mode: "+_2t)};_X8._3N1=function(_2t){_2t=_2t.toLowerCase();if(_2t=="fixed")return spine._RK1.Fixed;if(_2t=="percent")return spine._RK1.Percent;throw new Error("Unknown position mode: "+_2t)};_X8._4N1=function(_2t){_2t=_2t.toLowerCase();if(_2t=="length")return spine._JK1.Length;if(_2t=="fixed")return spine._JK1.Fixed;if(_2t=="percent")return spine._JK1.Percent;throw new Error("Unknown position mode: "+_2t)}
;_X8._5N1=function(_2t){_2t=_2t.toLowerCase();if(_2t=="tangent")return spine._LK1.Tangent;if(_2t=="chain")return spine._LK1.Chain;if(_2t=="chainscale")return spine._LK1.ChainScale;throw new Error("Unknown rotate mode: "+_2t);};return _X8}());spine._X8=_X8;var LinkedMesh=(function(){function LinkedMesh(_U9,skin,_G6,parent){this._U9=_U9;this.skin=skin;this._G6=_G6;this.parent=parent}return LinkedMesh}())})(spine||(spine={}));(function(spine){var _7N1=(function(){function _7N1(name){this._VL1=new Array();if(name==null)throw new Error("name cannot be null.");
this.name=name}_7N1.prototype._aN1=function(_G6,name,attachment){if(attachment==null)throw new Error("attachment cannot be null.");var _VL1=this._VL1;if(_G6>=_VL1.length)_VL1.length=_G6+1;if(!_VL1[_G6])_VL1[_G6]={};_VL1[_G6][name]=attachment};_7N1.prototype._J6=function(_G6,name){var _KN1=this._VL1[_G6];return _KN1?_KN1[name]:null};_7N1.prototype._4M1=function(skeleton,_LN1){var _G6=0;for(var _Q7=0;_Q7<skeleton.slots.length;_Q7++){var slot=skeleton.slots[_Q7];var _HG1=slot._J6();if(_HG1&&_G6<_LN1._VL1.length){
var _KN1=_LN1._VL1[_G6];for(var key in _KN1){var _MN1=_KN1[key];if(_HG1==_MN1){var attachment=this._J6(_G6,key);if(attachment!=null)slot._F6(attachment);break }}}_G6++}};return _7N1}());spine._7N1=_7N1;})(spine||(spine={}));(function(spine){var _GL1=(function(){function _GL1(data,bone){this._LG1=new Array();if(data==null)throw new Error("data cannot be null.");if(bone==null)throw new Error("bone cannot be null.");this.data=data;this.bone=bone;this.color=new spine._hB1();this._CJ1()}_GL1.prototype._J6=function(){
return this.attachment};_GL1.prototype._F6=function(attachment){if(this.attachment==attachment)return;this.attachment=attachment;this._NN1=this.bone.skeleton.time;this._LG1.length=0};_GL1.prototype._ON1=function(time){this._NN1=this.bone.skeleton.time-time};_GL1.prototype._PN1=function(){return this.bone.skeleton.time-this._NN1};_GL1.prototype._CJ1=function(){this.color._QN1(this.data.color);if(this.data._yG1==null)this.attachment=null;else {this.attachment=null;this._F6(this.bone.skeleton._J6(this.data.index,
this.data._yG1))}};return _GL1}());spine._GL1=_GL1})(spine||(spine={}));(function(spine){var _UM1=(function(){function _UM1(index,name,_DL1){this.color=new spine._hB1(1,1,1,1);if(index<0)throw new Error("index must be >= 0.");if(name==null)throw new Error("name cannot be null.");if(_DL1==null)throw new Error("boneData cannot be null.");this.index=index;this.name=name;this._DL1=_DL1}return _UM1}());spine._UM1=_UM1})(spine||(spine={}));(function(spine){var _9t1=(function(){function _9t1(_h8){this._3t1=_h8}_9t1.prototype._i8=function(){
return this._3t1};_9t1._RN1=function(text){switch(text.toLowerCase()){case "nearest":return _SN1.Nearest;case "linear":return _SN1.Linear;case "mipmap":return _SN1.MipMap;case "mipmapnearestnearest":return _SN1.MipMapNearestNearest;case "mipmaplinearnearest":return _SN1.MipMapLinearNearest;case "mipmapnearestlinear":return _SN1.MipMapNearestLinear;case "mipmaplinearlinear":return _SN1.MipMapLinearLinear;default :throw new Error("Unknown texture filter "+text)}};_9t1._TN1=function(text){switch(text.toLowerCase()){
case "mirroredtepeat":return _UN1.MirroredRepeat;case "clamptoedge":return _UN1.ClampToEdge;case "repeat":return _UN1.Repeat;default :throw new Error("Unknown texture wrap "+text)}};return _9t1}());spine._9t1=_9t1;(function(_SN1){_SN1[_SN1["Nearest"]=9728]="Nearest";_SN1[_SN1["Linear"]=9729]="Linear";_SN1[_SN1["MipMap"]=9987]="MipMap";_SN1[_SN1["MipMapNearestNearest"]=9984]="MipMapNearestNearest";_SN1[_SN1["MipMapLinearNearest"]=9985]="MipMapLinearNearest";_SN1[_SN1["MipMapNearestLinear"]=9986]="MipMapNearestLinear";
_SN1[_SN1["MipMapLinearLinear"]=9987]="MipMapLinearLinear"})(spine._SN1||(spine._SN1={}));var _SN1=spine._SN1;(function(_UN1){_UN1[_UN1["MirroredRepeat"]=33648]="MirroredRepeat";_UN1[_UN1["ClampToEdge"]=33071]="ClampToEdge";_UN1[_UN1["Repeat"]=10497]="Repeat"})(spine._UN1||(spine._UN1={}));var _UN1=spine._UN1;var _VN1=(function(){function _VN1(){this._w9=0;this._y9=0;this._E21=0;this._ya=0;this.width=0;this.height=0;this.rotate=!1;this._VI1=0;this._XI1=0;this._RI1=0;this._TI1=0}return _VN1}());spine._VN1=_VN1}
)(spine||(spine={}));(function(spine){var _W8=(function(){function _W8(_WN1,_2I1){this._09=new Array();this._XN1=new Array();this.load(_WN1,_2I1)}_W8.prototype.load=function(_WN1,_2I1){if(_WN1===null||_WN1===undefined)return;if(_2I1===null||_2I1===undefined)return;var _YN1=new _ZN1(_WN1);var __N1=new Array(4);var _Q9=null;while(!0){var _0O1=_YN1._1O1();if(_0O1==null)break;_0O1=_0O1.trim();if(_0O1.length==0)_Q9=null;else if(!_Q9){_Q9=new _2O1();_Q9.name=_0O1;if(_YN1._3O1(__N1)==2){_Q9.width=parseInt(__N1[0]);
_Q9.height=parseInt(__N1[1]);_YN1._3O1(__N1)}_YN1._3O1(__N1);_Q9._k8=spine._9t1._RN1(__N1[0]);_Q9._l8=spine._9t1._RN1(__N1[1]);var _2H=_YN1._4O1();_Q9._n8=spine._UN1.ClampToEdge;_Q9._o8=spine._UN1.ClampToEdge;if(_2H=="x")_Q9._n8=spine._UN1.Repeat;else if(_2H=="y")_Q9._o8=spine._UN1.Repeat;else if(_2H=="xy")_Q9._n8=_Q9._o8=spine._UN1.Repeat;_Q9._J8=_2I1(_0O1);_Q9._J8._j8(_Q9._k8,_Q9._l8);_Q9._J8._m8(_Q9._n8,_Q9._o8);_Q9.width=_Q9._J8._i8().width;_Q9.height=_Q9._J8._i8().height;this._09.push(_Q9)}else {
var _p9=new _5O1();_p9.name=_0O1;_p9._Q9=_Q9;_p9.rotate=_YN1._4O1()=="true";_YN1._3O1(__N1);var x=parseInt(__N1[0]);var y=parseInt(__N1[1]);_YN1._3O1(__N1);var width=parseInt(__N1[0]);var height=parseInt(__N1[1]);_p9._w9=x/_Q9.width;_p9._y9=y/_Q9.height;if(_p9.rotate){_p9._E21=(x+height)/_Q9.width;_p9._ya=(y+width)/_Q9.height}else {_p9._E21=(x+width)/_Q9.width;_p9._ya=(y+height)/_Q9.height}_p9.x=x;_p9.y=y;_p9.width=Math.abs(width);_p9.height=Math.abs(height);if(_YN1._3O1(__N1)==4){if(_YN1._3O1(__N1)==4){
_YN1._3O1(__N1)}}_p9._RI1=parseInt(__N1[0]);_p9._TI1=parseInt(__N1[1]);_YN1._3O1(__N1);_p9._VI1=parseInt(__N1[0]);_p9._XI1=parseInt(__N1[1]);_p9.index=parseInt(_YN1._4O1());_p9._J8=_Q9._J8;this._XN1.push(_p9)}}};_W8.prototype._6O1=function(name){for(var _Q7=0;_Q7<this._XN1.length;_Q7++){if(this._XN1[_Q7].name==name){return this._XN1[_Q7]}}return null};_W8.prototype._p8=function(){for(var _Q7=0;_Q7<this._09.length;_Q7++){this._09[_Q7]._J8._p8()}};return _W8}());spine._W8=_W8;var _ZN1=(function(){function _ZN1(text){
this.index=0;var _hs=text.replace("\r\n","\n");_hs=_hs.replace("\r","\n");this._7O1=text.split("\n")}_ZN1.prototype._1O1=function(){if(this.index>=this._7O1.length)return null;return this._7O1[this.index++]};_ZN1.prototype._4O1=function(){var _0O1=this._1O1();var _8O1=_0O1.indexOf(":");if(_8O1==-1)throw new Error("Invalid line: "+_0O1);return _0O1.substring(_8O1+1).trim()};_ZN1.prototype._3O1=function(__N1){var _0O1=this._1O1();var _8O1=_0O1.indexOf(":");if(_8O1==-1)throw new Error("Invalid line: "+_0O1);var _Q7=0,
_9O1=_8O1+1;for(;_Q7<3;_Q7++){var _aO1=_0O1.indexOf(",",_9O1);if(_aO1==-1)break;__N1[_Q7]=_0O1.substr(_9O1,_aO1-_9O1).trim();_9O1=_aO1+1}__N1[_Q7]=_0O1.substring(_9O1).trim();return _Q7+1};return _ZN1}());var _2O1=(function(){function _2O1(){}return _2O1}());spine._2O1=_2O1;var _5O1=(function(_9G1){_yF1(_5O1,_9G1);function _5O1(){_9G1.apply(this,arguments);}return _5O1}(spine._VN1));spine._5O1=_5O1})(spine||(spine={}));(function(spine){var _Y8=(function(){function _Y8(_bO1){this._bO1=_bO1}_Y8.prototype._hN1=function(skin,
name,path){var _p9=this._bO1._6O1(path);if(_p9==null)throw new Error("Region not found in atlas: "+path+" (region attachment: "+name+")");_p9._O9=_p9;var attachment=new spine._l9(name);attachment._OI1(_p9);return attachment};_Y8.prototype._lN1=function(skin,name,path){var _p9=this._bO1._6O1(path);if(_p9==null)throw new Error("Region not found in atlas: "+path+" (mesh attachment: "+name+")");_p9._O9=_p9;var attachment=new spine._m9(name);attachment._p9=_p9;return attachment};_Y8.prototype._jN1=function(skin,
name){return new spine._yI1(name)};_Y8.prototype._nN1=function(skin,name){return new spine._MI1(name)};return _Y8}());spine._Y8=_Y8})(spine||(spine={}));(function(spine){var _KL1=(function(){function _KL1(data,skeleton){this.rotateMix=0;this.__G1=0;this.scaleMix=0;this._0H1=0;this._Lx=new spine._cO1();if(data==null)throw new Error("data cannot be null.");if(skeleton==null)throw new Error("skeleton cannot be null.");this.data=data;this.rotateMix=data.rotateMix;this.__G1=data.__G1;this.scaleMix=data.scaleMix;
this._0H1=data._0H1;this.bones=new Array();for(var _Q7=0;_Q7<data.bones.length;_Q7++)this.bones.push(skeleton._fK1(data.bones[_Q7].name));this.target=skeleton._fK1(data.target.name)}_KL1.prototype.apply=function(){this._37()};_KL1.prototype._37=function(){var rotateMix=this.rotateMix,__G1=this.__G1,scaleMix=this.scaleMix,_0H1=this._0H1;var target=this.target;var _yK1=target._k9,_dO1=target._M7,_eO1=target._Qt,_fO1=target._si;var bones=this.bones;for(var _Q7=0,_r7=bones.length;_Q7<_r7;_Q7++){var bone=bones[_Q7];
if(rotateMix>0){var _k9=bone._k9,_M7=bone._M7,_Qt=bone._Qt,_si=bone._si;var _J7=Math.atan2(_eO1,_yK1)-Math.atan2(_Qt,_k9)+this.data._WK1*spine._5G1._ZK1;if(_J7>spine._5G1.PI)_J7-=spine._5G1._0L1;else if(_J7<-spine._5G1.PI)_J7+=spine._5G1._0L1;_J7*=rotateMix;var cos=Math.cos(_J7),sin=Math.sin(_J7);bone._k9=cos*_k9-sin*_Qt;bone._M7=cos*_M7-sin*_si;bone._Qt=sin*_k9+cos*_Qt;bone._si=sin*_M7+cos*_si}if(__G1>0){var _Lx=this._Lx;target._aK1(_Lx.set(this.data._VI1,this.data._XI1));bone._pI1+=(_Lx.x-bone._pI1)*__G1;
bone._qI1+=(_Lx.y-bone._qI1)*__G1}if(scaleMix>0){var _gO1=Math.sqrt(bone._k9*bone._k9+bone._Qt*bone._Qt);var _hO1=Math.sqrt(_yK1*_yK1+_eO1*_eO1);var _ps=_gO1>0.00001?(_gO1+(_hO1-_gO1+this.data._0N1)*scaleMix)/_gO1:0;bone._k9*=_ps;bone._Qt*=_ps;_gO1=Math.sqrt(bone._M7*bone._M7+bone._si*bone._si);_hO1=Math.sqrt(_dO1*_dO1+_fO1*_fO1);_ps=_gO1>0.00001?(_gO1+(_hO1-_gO1+this.data._1N1)*scaleMix)/_gO1:0;bone._M7*=_ps;bone._si*=_ps}if(_0H1>0){var _M7=bone._M7,_si=bone._si;var _hd1=Math.atan2(_si,_M7);var _J7=Math.atan2(_fO1,
_dO1)-Math.atan2(_eO1,_yK1)-(_hd1-Math.atan2(bone._Qt,bone._k9));if(_J7>spine._5G1.PI)_J7-=spine._5G1._0L1;else if(_J7<-spine._5G1.PI)_J7+=spine._5G1._0L1;_J7=_hd1+(_J7+this.data._2N1*spine._5G1._ZK1)*_0H1;var _ps=Math.sqrt(_M7*_M7+_si*_si);bone._M7=Math.cos(_J7)*_ps;bone._si=Math.sin(_J7)*_ps}}};return _KL1}());spine._KL1=_KL1})(spine||(spine={}));(function(spine){var __M1=(function(){function __M1(name){this.bones=new Array();this.rotateMix=0;this.__G1=0;this.scaleMix=0;this._0H1=0;this._WK1=0;this._VI1=0;
this._XI1=0;this._0N1=0;this._1N1=0;this._2N1=0;if(name==null)throw new Error("name cannot be null.");this.name=name}return __M1}());spine.__M1=__M1})(spine||(spine={}));(function(spine){var _hB1=(function(){function _hB1(_J7,_j9,_M7,_k9){if(_J7===void 0){_J7=0}if(_j9===void 0){_j9=0}if(_M7===void 0){_M7=0}if(_k9===void 0){_k9=0}this._J7=_J7;this._j9=_j9;this._M7=_M7;this._k9=_k9}_hB1.prototype.set=function(_J7,_j9,_M7,_k9){this._J7=_J7;this._j9=_j9;this._M7=_M7;this._k9=_k9;this._yG();return this};_hB1.prototype._QN1=function(_Qt){
this._J7=_Qt._J7;this._j9=_Qt._j9;this._M7=_Qt._M7;this._k9=_Qt._k9;return this};_hB1.prototype._VM1=function(_iO1){_iO1=_iO1.charAt(0)=='#'?_iO1.substr(1):_iO1;this._J7=parseInt(_iO1.substr(0,2),16)/255.0;this._j9=parseInt(_iO1.substr(2,2),16)/255.0;this._M7=parseInt(_iO1.substr(4,2),16)/255.0;this._k9=(_iO1.length!=8?255:parseInt(_iO1.substr(6,2),16))/255.0;return this};_hB1.prototype.add=function(_J7,_j9,_M7,_k9){this._J7+=_J7;this._j9+=_j9;this._M7+=_M7;this._k9+=_k9;this._yG();return this};_hB1.prototype._yG=function(){
if(this._J7<0)this._J7=0;else if(this._J7>1)this._J7=1;if(this._j9<0)this._j9=0;else if(this._j9>1)this._j9=1;if(this._M7<0)this._M7=0;else if(this._M7>1)this._M7=1;if(this._k9<0)this._k9=0;else if(this._k9>1)this._k9=1;return this};_hB1._jO1=new _hB1(1,1,1,1);_hB1._kO1=new _hB1(1,0,0,1);_hB1._lO1=new _hB1(0,1,0,1);_hB1._mO1=new _hB1(0,0,1,1);_hB1._nO1=new _hB1(1,0,1,1);return _hB1}());spine._hB1=_hB1;var _5G1=(function(){function _5G1(){}_5G1._yG=function(value,min,max){if(value<min)return min;if(value>max)return max;
return value};_5G1._GJ1=function(_bG1){return Math.cos(_bG1*_5G1._ZK1)};_5G1._JJ1=function(_bG1){return Math.sin(_bG1*_5G1._ZK1)};_5G1._LJ1=function(value){return value>=0?1:-1};_5G1._CH1=function(x){return x>0?Math.floor(x):Math.ceil(x)};_5G1._oO1=function(x){var y=Math.pow(Math.abs(x),1/3);return x<0?-y:y};_5G1.PI=3.1415927;_5G1._0L1=_5G1.PI*2;_5G1._pO1=180/_5G1.PI;_5G1._TJ1=_5G1._pO1;_5G1._qO1=_5G1.PI/180;_5G1._ZK1=_5G1._qO1;return _5G1}());spine._5G1=_5G1;var _HF1=(function(){function _HF1(){}_HF1._EG1=function(source,
_rO1,_Sk,_sO1,_tO1){for(var _Q7=_rO1,_R7=_sO1;_Q7<_rO1+_tO1;_Q7++,_R7++){_Sk[_R7]=source[_Q7]}};_HF1._MG1=function(_uO1,_u7,value){if(value===void 0){value=0}var _vO1=_uO1.length;if(_vO1==_u7)return _uO1;_uO1.length=_u7;if(_vO1<_u7){for(var _Q7=_vO1;_Q7<_u7;_Q7++)_uO1[_Q7]=value}return _uO1};_HF1._oN1=function(_u7,_JN1){var _uO1=new Array(_u7);for(var _Q7=0;_Q7<_u7;_Q7++)_uO1[_Q7]=_JN1;return _uO1};_HF1._IF1=function(_u7){if(_HF1._wO1){return new Float32Array(_u7)}else {var _uO1=new Array(_u7);for(var _Q7=0;_Q7<_uO1.length;
_Q7++)_uO1[_Q7]=0;return _uO1}};_HF1._pN1=function(_uO1){return _HF1._wO1?new Float32Array(_uO1):_uO1};_HF1._wO1=typeof(Float32Array)!=="undefined";return _HF1}());spine._HF1=_HF1;var _xO1=(function(){function _xO1(){}_xO1._yO1=function(skeleton){for(var _Q7=0;_Q7<skeleton.bones.length;_Q7++){var bone=skeleton.bones[_Q7];console.log(bone.data.name+", "+bone._k9+", "+bone._M7+", "+bone._Qt+", "+bone._si+", "+bone._pI1+", "+bone._qI1);}};return _xO1}());spine._xO1=_xO1;var _dM1=(function(){function _dM1(_zO1){
this._AO1=new Array();this._zO1=_zO1}_dM1.prototype._hM1=function(){return this._AO1.length>0?this._AO1.pop():this._zO1()};_dM1.prototype._BO1=function(_Rg){this._AO1.push(_Rg)};_dM1.prototype._FH1=function(_AO1){for(var _Q7=0;_Q7<_AO1.length;_Q7++)this._AO1[_Q7]=_AO1[_Q7]};_dM1.prototype.clear=function(){this._AO1.length=0};return _dM1}());spine._dM1=_dM1;var _cO1=(function(){function _cO1(x,y){if(x===void 0){x=0}if(y===void 0){y=0;}this.x=x;this.y=y}_cO1.prototype.set=function(x,y){this.x=x;this.y=y;return this}
;_cO1.prototype.length=function(){var x=this.x;var y=this.y;return Math.sqrt(x*x+y*y)};_cO1.prototype._CO1=function(){var _9s=this.length();if(_9s!=0){this.x/=_9s;this.y/=_9s}return this};return _cO1}());spine._cO1=_cO1;var _DO1=(function(){function _DO1(){this._EO1=0.064;this._FO1=0;this._lH1=0;this._dV=0;this._BF1=Date.now()/1000;this._Y6=0;this._iG1=0}_DO1.prototype._37=function(){var now=Date.now()/1000;this._lH1=now-this._BF1;this._iG1+=this._lH1;this._dV+=this._lH1;if(this._lH1>this._EO1)this._lH1=this._EO1;
this._BF1=now;this._Y6++;if(this._iG1>1){this._FO1=this._Y6/this._iG1;this._iG1=0;this._Y6=0}};return _DO1}());spine._DO1=_DO1})(spine||(spine={}));var _GO1=0,_HO1=1,_IO1=2,_JO1=3,_KO1=4,_LO1=5,_MO1=6,_NO1=7,_OO1=8,_PO1=9;var _QO1=0,_RO1=1,_SO1=2,_TO1=3;/*@constructor */function _UO1(_vc,_5g){this.type=_vc;this.id=_5g;this._Ay1=null;this._VO1=-1};_UO1.prototype._WO1=function(_hy1,_XO1,_YO1,_ZO1,__O1){var _0P1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;var width=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;var height=_XO1.getInt32(_YO1,
_ZO1);_YO1+=4;this._VO1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;return _YO1};_UO1.prototype._1P1=function(_8G,_0x){var _M7=new ArrayBuffer(4);var _k9=new Uint32Array(_M7);var _Qt=new Uint8Array(_M7);_k9[0]=0xdeadbeef;if(_Qt[0]==0xef){return(((_8G&0xff)<<8)|(_0x&0xff))}if(_Qt[0]==0xde){return(((_0x&0xff)<<8)|(_8G&0xff))}};_UO1.prototype._2P1=function(_3P1){try{do {if(_3P1[1]==0xd9){_3P1=_3P1.subarray(2)}else if(_3P1[1]==0xd8){if((_3P1[6]===0x4a)&&(_3P1[7]===0x46)&&(_3P1[8]===0x49)&&(_3P1[9]===0x46)){var _u4=this._1P1(_3P1[14],
_3P1[15]);var _v4=this._1P1(_3P1[16],_3P1[17]);var _4P1={width:_u4,height:_v4,body:_3P1};return _4P1}_3P1=_3P1.subarray(4+this._1P1(_3P1[4],_3P1[5]))}else {_3P1=_3P1.subarray(2+this._1P1(_3P1[2],_3P1[3]))}}while((_3P1.byteLength>=0)&&(_3P1[0]==0xff))}catch(e){debug(e.message)}var _4P1={width:_u4,height:_v4,body:_3P1};return _4P1};_UO1.prototype._5P1=function(_D8,_E8,_3P1,_6P1,_yz,_7P1){var _8P1=new Uint16Array(_3P1);var _9P1="";for(var _Q7=0,_H7=_8P1.length;_Q7<_H7;_Q7++){_9P1+=String.fromCharCode(_8P1[_Q7])}
var _aP1=window.btoa(_9P1);var _bP1="data:image/"+_6P1+";base64,"+_aP1;var img=new Image();img.onload=function(){var _Th={_J8:img};_ga(_Th);if(_yz){_yz(_Th)}};img.onerror=function(e){debug(e);if(_7P1){_7P1(e)}};img.src=_gN(null,null,_bP1);return img};function _zt1(_BP,_Wb){var _4c=_v8._zt1(_BP._J8._fa,_Wb);_BP._J8._fa=_4c;_BP._J8._6c=_4c._7t1;_BP._J8._7c=_4c._8t1;return _BP._J8}var _cP1=0,_dP1=1,_eP1=2;var _fP1=0,_gP1=1,_hP1=2,_iP1=3;var _jP1=0,_kP1=1;var _lP1={_0W:0,_1W:0,version:1};/*@constructor */function _mP1(_vc,
_5g){this.type=_vc;this.id=_5g};_mP1.prototype._nP1=function(_XO1,_YO1,_ZO1,_oP1){this._f7=_XO1.getFloat32(_YO1,_ZO1);_YO1+=4;this._g7=_XO1.getFloat32(_YO1,_ZO1);_YO1+=4;this._h7=_XO1.getFloat32(_YO1,_ZO1);_YO1+=4;this._i7=_XO1.getFloat32(_YO1,_ZO1);_YO1+=4;var _pP1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;this._qP1=[];for(var _Q7=0;_Q7<_pP1;_Q7++){var _rP1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;var _sP1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;var _tP1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;var _uP1={_rP1:_rP1,_sP1:_sP1,_tP1:_tP1}
;_uP1._vP1=(_rP1>0)?[]:null;_uP1._wP1=(_sP1>0)?[]:null;_uP1._xP1=(_tP1>0)?[]:null;_YO1=this._yP1(_uP1,_XO1,_YO1,_ZO1,_oP1);_YO1=this._zP1(_uP1,_XO1,_YO1,_ZO1);_YO1=this._AP1(_uP1,_XO1,_YO1,_ZO1);this._qP1.push(_uP1);}return _YO1};_mP1.prototype._yP1=function(_BP1,_XO1,_YO1,_ZO1,_oP1){_BP1._vP1=[];for(var _Q7=0;_Q7<_BP1._rP1;_Q7++){var _CP1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;var _DP1=null;switch(_CP1){case _gP1:{_DP1={type:_gP1};var _Ei=_XO1.getUint8(_YO1,_ZO1);_YO1++;var _Fi=_XO1.getUint8(_YO1,_ZO1);_YO1++;
var _Gi=_XO1.getUint8(_YO1,_ZO1);_YO1++;var alpha=_XO1.getUint8(_YO1,_ZO1);_YO1++;_DP1._59=(_Ei|(_Fi<<8)|(_Gi<<16)|(alpha<<24))}break;case _hP1:{_DP1={type:_hP1};_DP1._EP1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;_DP1._VO1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;var _FP1=[];for(var _v7=0;_v7<9;_v7++){_FP1[_v7]=_XO1.getFloat32(_YO1,_ZO1);_YO1+=4}_DP1._FP1=new _4o();_DP1._FP1._v7[_Ep]=_FP1[0];_DP1._FP1._v7[_Fp]=_FP1[1];_DP1._FP1._v7[_Hp]=_FP1[2];_DP1._FP1._v7[_Ip]=_FP1[3];_DP1._FP1._v7[_xo]=_FP1[4];_DP1._FP1._v7[_Kp]=_FP1[5];
_DP1._GP1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;_DP1._HP1=[];for(var _v7=0;_v7<_DP1._GP1;_v7++){var _Ej1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;var _Ei=_XO1.getUint8(_YO1,_ZO1);_YO1++;var _Fi=_XO1.getUint8(_YO1,_ZO1);_YO1++;var _Gi=_XO1.getUint8(_YO1,_ZO1);_YO1++;var alpha=_XO1.getUint8(_YO1,_ZO1);_YO1++;_DP1._HP1.push({_Ej1:_Ej1,_59:(_Ei|(_Fi<<8)|(_Gi<<16)|(alpha<<24))})}_DP1._Ob=null}break;case _iP1:{_DP1={type:_iP1};_DP1._IP1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;_DP1._JP1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;_DP1._KP1=-1;
for(var index=0;index<_oP1.length;index++){if(_oP1[index].id===_DP1._JP1){_DP1._KP1=index;break }}var _FP1=[];for(var _v7=0;_v7<9;_v7++){_FP1[_v7]=_XO1.getFloat32(_YO1,_ZO1);_YO1+=4}_DP1._FP1=new _4o();_DP1._FP1._v7[_Ep]=_FP1[0];_DP1._FP1._v7[_Fp]=_FP1[1];_DP1._FP1._v7[_Hp]=_FP1[2];_DP1._FP1._v7[_Ip]=_FP1[3];_DP1._FP1._v7[_xo]=_FP1[4];_DP1._FP1._v7[_Kp]=_FP1[5]}break }_BP1._vP1.push(_DP1)}return _YO1};function _LP1(_Zf,__f,_wt1){var _2P=document.createElement(_us);var _3P=_2P.getContext('2d');_4P(_3P);var _4c=_v8._xt1(_2P,
_wt1,_Zf,__f);var _Th=new _Uh();_Th.x=0;_Th.y=0;_Th._u4=_4c._7t1;_Th._v4=_4c._8t1;_Th._w4=0;_Th._x4=0;_Th._y4=_Th._u4;_Th._z4=_Th._v4;_Th._A4=_Zf;_Th._B4=__f;_Th._C4=_8P(_2P);_Th._J8=_K8[_Th._C4];_Th._J8._fa=_4c;_Th._J8._6c=_2P.width;_Th._J8._7c=_2P.height;return _Th}_mP1.prototype._MP1=function(_NP1,_OP1){if(_NP1._GP1<=0){return 0}_OP1=(_OP1<0)?0:(_OP1>255)?255:_OP1;if(_OP1<_NP1._HP1[0]._Ej1){return _NP1._HP1[0]._59}for(var _Q7=1;_Q7<_NP1._GP1;_Q7++){var _PP1=_NP1._HP1[_Q7];if(_PP1._Ej1>=_OP1){var _QP1=_NP1._HP1[_Q7-1];
var _RP1=0;if(_PP1._Ej1!=_QP1._Ej1){_RP1=((_OP1-_QP1._Ej1)<<8)/(_PP1._Ej1-_QP1._Ej1)}var _SP1=256-_RP1;var _59=_PP1._59;var _TP1=_QP1._59;var _UP1=[];_UP1[0]=((_59&0xff)*_RP1)>>8;_UP1[1]=(((_59>>8)&0xff)*_RP1)>>8;_UP1[2]=(((_59>>16)&0xff)*_RP1)>>8;_UP1[3]=(((_59>>24)&0xff)*_RP1)>>8;_UP1[0]+=((_TP1&0xff)*_SP1)>>8;_UP1[1]+=(((_TP1>>8)&0xff)*_SP1)>>8;_UP1[2]+=(((_TP1>>16)&0xff)*_SP1)>>8;_UP1[3]+=(((_TP1>>24)&0xff)*_SP1)>>8;var _VP1=_UP1[0]|(_UP1[1]<<8)|(_UP1[2]<<16)|(_UP1[3]<<24);return _VP1}}return _NP1._HP1[_NP1._GP1-1]._59}
;_mP1.prototype._zP1=function(_BP1,_XO1,_YO1,_ZO1){_BP1._wP1=[];for(var _Q7=0;_Q7<_BP1._sP1;_Q7++){var _Ei=_XO1.getUint8(_YO1,_ZO1);_YO1++;var _Fi=_XO1.getUint8(_YO1,_ZO1);_YO1++;var _Gi=_XO1.getUint8(_YO1,_ZO1);_YO1++;var alpha=_XO1.getUint8(_YO1,_ZO1);_YO1++;_BP1._wP1.push({_59:(_Ei|(_Fi<<8)|(_Gi<<16)|(alpha<<24))})}return _YO1};_mP1.prototype._AP1=function(_BP1,_XO1,_YO1,_ZO1){var _Q7,_v7;_BP1._xP1=[];for(_Q7=0;_Q7<_BP1._tP1;_Q7++){var _WP1={};_BP1._xP1.push(_WP1);_WP1._XP1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;
_WP1._YP1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;_WP1._ZP1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;_WP1.__P1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;_WP1._0Q1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;_WP1._1Q1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;_WP1._2Q1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;_WP1._3Q1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;if(_lP1.version>=2){_WP1._4Q1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;_WP1._5Q1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4}if(_lP1.version>=3){_WP1._6Q1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;_WP1._7Q1=_XO1.getInt32(_YO1,_ZO1);
_YO1+=4}_WP1._8Q1=(_WP1.__P1>0)?[]:null;_WP1._9Q1=(_WP1._0Q1>0)?[]:null;_WP1._aQ1=(_WP1._1Q1>0)?[]:null;_WP1._bQ1=(_WP1._2Q1>0)?[]:null;_WP1._cQ1=(_WP1._3Q1>0)?[]:null;_WP1._dQ1=(_WP1._4Q1)?[]:null;_WP1._eQ1=(_WP1._5Q1)?[]:null;_WP1._fQ1=(_WP1._6Q1)?[]:null;_WP1._gQ1=(_WP1._7Q1)?[]:null;for(_v7=0;_v7<_WP1.__P1*2;_v7++){_WP1._8Q1[_v7]=_XO1.getFloat32(_YO1,_ZO1);_YO1+=4}for(_v7=0;_v7<_WP1._0Q1*2;_v7++){_WP1._hQ1[_v7]=_XO1.getInt32(_YO1,_ZO1);_YO1+=4}for(_v7=0;_v7<_WP1._1Q1*3;_v7++){_WP1._aQ1[_v7]=_XO1.getUint32(_YO1,
_ZO1);_YO1+=4}for(_v7=0;_v7<_WP1._2Q1*2;_v7++){_WP1._bQ1[_v7]=_XO1.getFloat32(_YO1,_ZO1);_YO1+=4}for(_v7=0;_v7<_WP1._3Q1*3;_v7++){_WP1._cQ1[_v7]=_XO1.getUint32(_YO1,_ZO1);_YO1+=4}if(_lP1.version>=2){for(_v7=0;_v7<_WP1._4Q1*2;_v7++){_WP1._dQ1[_v7]=_XO1.getInt32(_YO1,_ZO1);_YO1+=4}for(_v7=0;_v7<_WP1._5Q1*2;_v7++){_WP1._eQ1[_v7]=_XO1.getFloat32(_YO1,_ZO1);_YO1+=4}}if(_lP1.version>=3){for(_v7=0;_v7<_WP1._6Q1*2;_v7++){_WP1._fQ1[_v7]=_XO1.getInt32(_YO1,_ZO1);_YO1+=4}for(_v7=0;_v7<_WP1._7Q1*2;_v7++){_WP1._gQ1[_v7]=_XO1.getFloat32(_YO1,
_ZO1);_YO1+=4}}}return _YO1};var _iQ1=1.0/20.0;/*@constructor */function _jQ1(){this._kQ1=0;this._lQ1=0;this._f7=0;this._g7=0;this._h7=0;this._i7=0;this._mQ1=null};_jQ1.prototype._nQ1=function(_XO1,_YO1,_ZO1){this._kQ1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;this._lQ1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;this._f7=_XO1.getFloat32(_YO1,_ZO1)*_iQ1;_YO1+=4;this._g7=_XO1.getFloat32(_YO1,_ZO1)*_iQ1;_YO1+=4;this._h7=_XO1.getFloat32(_YO1,_ZO1)*_iQ1;_YO1+=4;this._i7=_XO1.getFloat32(_YO1,_ZO1)*_iQ1;_YO1+=4;var _oQ1,_pQ1,
_qQ1;_oQ1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;_pQ1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;_qQ1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;this._mQ1={_oQ1:_oQ1,_pQ1:_pQ1,_qQ1:_qQ1};this._rQ1=[];for(var _Q7=0;_Q7<this._lQ1;_Q7++){var _sQ1={};this._rQ1.push(_sQ1);_sQ1._tQ1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;_sQ1._f7=_XO1.getFloat32(_YO1,_ZO1)*_iQ1;_YO1+=4;_sQ1._g7=_XO1.getFloat32(_YO1,_ZO1)*_iQ1;_YO1+=4;_sQ1._h7=_XO1.getFloat32(_YO1,_ZO1)*_iQ1;_YO1+=4;_sQ1._i7=_XO1.getFloat32(_YO1,_ZO1)*_iQ1;_YO1+=4;_sQ1._uQ1=[];for(var _R7=0;
_R7<_sQ1._tQ1;_R7++){var _CB={};_sQ1._uQ1.push(_CB);_CB._NB=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;_CB.index=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;_CB._n4=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;_CB._vQ1=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;var _wQ1=[];for(var _Kg=0;_Kg<4;_Kg++){_wQ1[_Kg]=_XO1.getInt32(_YO1,_ZO1);_YO1+=4}var _xQ1=[];for(var _Kg=0;_Kg<4;_Kg++){_xQ1[_Kg]=_XO1.getInt32(_YO1,_ZO1);_YO1+=4}_CB._yQ1=[];_CB._zQ1=[];_CB._AQ1=[];_CB._yQ1[0]=_wQ1[2];_CB._zQ1[0]=_xQ1[2];_CB._AQ1[0]=0;_CB._yQ1[1]=_wQ1[1];_CB._zQ1[1]=_xQ1[1];
_CB._AQ1[1]=_xQ1[1];_CB._yQ1[2]=_wQ1[0];_CB._zQ1[2]=_xQ1[0];_CB._AQ1[2]=_xQ1[0];_CB._yQ1[3]=_wQ1[3];_CB._zQ1[3]=_xQ1[3];_CB._AQ1[3]=_xQ1[3];_CB._f7=_XO1.getFloat32(_YO1,_ZO1)*_iQ1;_YO1+=4;_CB._g7=_XO1.getFloat32(_YO1,_ZO1)*_iQ1;_YO1+=4;_CB._h7=_XO1.getFloat32(_YO1,_ZO1)*_iQ1;_YO1+=4;_CB._i7=_XO1.getFloat32(_YO1,_ZO1)*_iQ1;_YO1+=4;var _FP1=[];for(var _Kg=0;_Kg<9;_Kg++){_FP1[_Kg]=_XO1.getFloat32(_YO1,_ZO1);_YO1+=4}_CB._FP1=new _4o();_CB._FP1._v7[_Ep]=_FP1[0];_CB._FP1._v7[_Fp]=_FP1[1];_CB._FP1._v7[_Hp]=_FP1[2];
_CB._FP1._v7[_Ip]=_FP1[3];_CB._FP1._v7[_xo]=_FP1[4];_CB._FP1._v7[_Kp]=_FP1[5]}}return _YO1};/*@license zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License */(function(){'use strict';var _r7=void 0,_u4=!0,_xK1=this;function _BQ1(_1t,_si){var _Qt=_1t.split("."),e=_xK1;!(_Qt[0] in e)&&e._CQ1&&e._CQ1("var "+_Qt[0]);for(var _M7;_Qt.length&&(_M7=_Qt.shift());)!_Qt.length&&_si!==_r7?e[_M7]=_si:e=e[_M7]?e[_M7]:e[_M7]={}};var _xX="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Uint32Array&&"undefined"!==typeof DataView;
function _ai1(_1t,_si){this.index="number"===typeof _si?_si:0;this.e=0;this.buffer=_1t instanceof(_xX?Uint8Array:Array)?_1t:new(_xX?Uint8Array:Array)(32768);if(2*this.buffer.length<=this.index)throw Error("invalid index");this.buffer.length<=this.index&&_DQ1(this)}function _DQ1(_1t){var _si=_1t.buffer,_Qt,e=_si.length,_M7=new(_xX?Uint8Array:Array)(e<<1);if(_xX)_M7.set(_si);else for(_Qt=0;_Qt<e;++_Qt)_M7[_Qt]=_si[_Qt];return _1t.buffer=_M7}_ai1.prototype._M7=function(_1t,_si,_Qt){var e=this.buffer,_M7=this.index,
_k9=this.e,_j9=e[_M7],_v7;_Qt&&1<_si&&(_1t=8<_si?(_Cn1[_1t&255]<<24|_Cn1[_1t>>>8&255]<<16|_Cn1[_1t>>>16&255]<<8|_Cn1[_1t>>>24&255])>>32-_si:_Cn1[_1t]>>8-_si);if(8>_si+_k9)_j9=_j9<<_si|_1t,_k9+=_si;else for(_v7=0;_v7<_si;++_v7)_j9=_j9<<1|_1t>>_si-_v7-1&1,8===++_k9&&(_k9=0,e[_M7++]=_Cn1[_j9],_j9=0,_M7===e.length&&(e=_DQ1(this)));e[_M7]=_j9;this.buffer=e;this.e=_k9;this.index=_M7};_ai1.prototype._EQ1=function(){var _1t=this.buffer,_si=this.index,_Qt;0<this.e&&(_1t[_si]<<=8-this.e,_1t[_si]=_Cn1[_1t[_si]],
_si++);_xX?_Qt=_1t.subarray(0,_si):(_1t.length=_si,_Qt=_1t);return _Qt};var _Lg1=new(_xX?Uint8Array:Array)(256),_SW;for(_SW=0;256>_SW;++_SW){for(var _FQ1=_SW,_GQ1=_FQ1,_HQ1=7,_FQ1=_FQ1>>>1;_FQ1;_FQ1>>>=1)_GQ1<<=1,_GQ1|=_FQ1&1,--_HQ1;_Lg1[_SW]=(_GQ1<<_HQ1&255)>>>0}var _Cn1=_Lg1;function _1K1(_1t){this.buffer=new(_xX?Uint16Array:Array)(2*_1t);this.length=0}_1K1.prototype._IQ1=function(_1t){return 2*((_1t-2)/4|0)};_1K1.prototype.push=function(_1t,_si){var _Qt,e,_M7=this.buffer,_k9;_Qt=this.length;_M7[this.length++]=_si;
for(_M7[this.length++]=_1t;0<_Qt;)if(e=this._IQ1(_Qt),_M7[_Qt]>_M7[e])_k9=_M7[_Qt],_M7[_Qt]=_M7[e],_M7[e]=_k9,_k9=_M7[_Qt+1],_M7[_Qt+1]=_M7[e+1],_M7[e+1]=_k9,_Qt=e;else break;return this.length};_1K1.prototype.pop=function(){var _1t,_si,_Qt=this.buffer,e,_M7,_k9;_si=_Qt[0];_1t=_Qt[1];this.length-=2;_Qt[0]=_Qt[this.length];_Qt[1]=_Qt[this.length+1];for(_k9=0;;){_M7=2*_k9+2;if(_M7>=this.length)break;_M7+2<this.length&&_Qt[_M7+2]>_Qt[_M7]&&(_M7+=2);if(_Qt[_M7]>_Qt[_k9])e=_Qt[_k9],_Qt[_k9]=_Qt[_M7],_Qt[_M7]=e,
e=_Qt[_k9+1],_Qt[_k9+1]=_Qt[_M7+1],_Qt[_M7+1]=e;else break;_k9=_M7}return({index:_1t,value:_si,length:this.length})};function _Ne1(_1t,_si){this._si=_FJ1;this._Q7=0;this._Nv=_xX&&_1t instanceof Array?new Uint8Array(_1t):_1t;this._Qt=0;_si&&(_si._JQ1&&(this._Q7=_si._JQ1),"number"===typeof _si._KQ1&&(this._si=_si._KQ1),_si.outputBuffer&&(this._k9=_xX&&_si.outputBuffer instanceof Array?new Uint8Array(_si.outputBuffer):_si.outputBuffer),"number"===typeof _si._LQ1&&(this._Qt=_si._LQ1));this._k9||(this._k9=new(_xX?Uint8Array:Array)(32768))}
var _FJ1=2,_MQ1={_5L1:0,_v4:1,_j9:_FJ1,_r7:3},_uX=[],_NQ1;for(_NQ1=0;288>_NQ1;_NQ1++)switch(_u4){case 143>=_NQ1:_uX.push([_NQ1+48,8]);break;case 255>=_NQ1:_uX.push([_NQ1-144+400,9]);break;case 279>=_NQ1:_uX.push([_NQ1-256+0,7]);break;case 287>=_NQ1:_uX.push([_NQ1-280+192,8]);break;default :throw "invalid literal: "+_NQ1}_Ne1.prototype._1t=function(){var _1t,_si,_Qt,e,_M7=this._Nv;switch(this._si){case 0:_Qt=0;for(e=_M7.length;_Qt<e;){_si=_xX?_M7.subarray(_Qt,_Qt+65535):_M7.slice(_Qt,_Qt+65535);_Qt+=_si.length;
var _k9=_si,_j9=_Qt===e,_v7=_r7,_Kg=_r7,_tx=_r7,_L7=_r7,_w9=_r7,_H7=this._k9,_v4=this._Qt;if(_xX){for(_H7=new Uint8Array(this._k9.buffer);_H7.length<=_v4+_k9.length+5;)_H7=new Uint8Array(_H7.length<<1);_H7.set(this._k9)}_v7=_j9?1:0;_H7[_v4++]=_v7|0;_Kg=_k9.length;_tx=~_Kg+65536&65535;_H7[_v4++]=_Kg&255;_H7[_v4++]=_Kg>>>8&255;_H7[_v4++]=_tx&255;_H7[_v4++]=_tx>>>8&255;if(_xX)_H7.set(_k9,_v4),_v4+=_k9.length,_H7=_H7.subarray(0,_v4);else {_L7=0;for(_w9=_k9.length;_L7<_w9;++_L7)_H7[_v4++]=_k9[_L7];_H7.length=_v4}
this._Qt=_v4;this._k9=_H7}break;case 1:var __v=new _ai1(_xX?new Uint8Array(this._k9.buffer):this._k9,this._Qt);__v._M7(1,1,_u4);__v._M7(1,2,_u4);var _ps=_pf1(this,_M7),x,_OQ1,_Ua;x=0;for(_OQ1=_ps.length;x<_OQ1;x++)if(_Ua=_ps[x],_ai1.prototype._M7.apply(__v,_uX[_Ua]),256<_Ua)__v._M7(_ps[++x],_ps[++x],_u4),__v._M7(_ps[++x],5),__v._M7(_ps[++x],_ps[++x],_u4);else if(256===_Ua)break;this._k9=__v._EQ1();this._Qt=this._k9.length;break;case _FJ1:var _DW=new _ai1(_xX?new Uint8Array(this._k9.buffer):this._k9,this._Qt),
_yK1,_PQ1,_QQ1,_D31,_C31,_RQ1=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],_Wo,_SQ1,_Xo,_TQ1,_UQ1,_VQ1=Array(19),_WQ1,_rG1,_XQ1,y,_Xj;_yK1=_FJ1;_DW._M7(1,1,_u4);_DW._M7(_yK1,2,_u4);_PQ1=_pf1(this,_M7);_Wo=_Le1(this._v7,15);_SQ1=_YQ1(_Wo);_Xo=_Le1(this._H7,7);_TQ1=_YQ1(_Xo);for(_QQ1=286;257<_QQ1&&0===_Wo[_QQ1-1];_QQ1--);for(_D31=30;1<_D31&&0===_Xo[_D31-1];_D31--);var _Yj=_QQ1,_Zj=_D31,_O51=new(_xX?Uint32Array:Array)(_Yj+_Zj),_J7,_P51,_y9,_Yo,_S51=new(_xX?Uint32Array:Array)(316),_SZ,_rV,_ZQ1=new(_xX?Uint8Array:Array)(19);
for(_J7=_P51=0;_J7<_Yj;_J7++)_O51[_P51++]=_Wo[_J7];for(_J7=0;_J7<_Zj;_J7++)_O51[_P51++]=_Xo[_J7];if(!_xX){_J7=0;for(_Yo=_ZQ1.length;_J7<_Yo;++_J7)_ZQ1[_J7]=0}_J7=_SZ=0;for(_Yo=_O51.length;_J7<_Yo;_J7+=_P51){for(_P51=1;_J7+_P51<_Yo&&_O51[_J7+_P51]===_O51[_J7];++_P51);_y9=_P51;if(0===_O51[_J7])if(3>_y9)for(;0<_y9--;)_S51[_SZ++]=0,_ZQ1[0]++;else for(;0<_y9;)_rV=138>_y9?_y9:138,_rV>_y9-3&&_rV<_y9&&(_rV=_y9-3),10>=_rV?(_S51[_SZ++]=17,_S51[_SZ++]=_rV-3,_ZQ1[17]++):(_S51[_SZ++]=18,_S51[_SZ++]=_rV-11,_ZQ1[18]++),
_y9-=_rV;else if(_S51[_SZ++]=_O51[_J7],_ZQ1[_O51[_J7]]++,_y9--,3>_y9)for(;0<_y9--;)_S51[_SZ++]=_O51[_J7],_ZQ1[_O51[_J7]]++;else for(;0<_y9;)_rV=6>_y9?_y9:6,_rV>_y9-3&&_rV<_y9&&(_rV=_y9-3),_S51[_SZ++]=16,_S51[_SZ++]=_rV-3,_ZQ1[16]++,_y9-=_rV}_1t=_xX?_S51.subarray(0,_SZ):_S51.slice(0,_SZ);_UQ1=_Le1(_ZQ1,7);for(y=0;19>y;y++)_VQ1[y]=_UQ1[_RQ1[y]];for(_C31=19;4<_C31&&0===_VQ1[_C31-1];_C31--);_WQ1=_YQ1(_UQ1);_DW._M7(_QQ1-257,5,_u4);_DW._M7(_D31-1,5,_u4);_DW._M7(_C31-4,4,_u4);for(y=0;y<_C31;y++)_DW._M7(_VQ1[y],
3,_u4);y=0;for(_Xj=_1t.length;y<_Xj;y++)if(_rG1=_1t[y],_DW._M7(_WQ1[_rG1],_UQ1[_rG1],_u4),16<=_rG1){y++;switch(_rG1){case 16:_XQ1=2;break;case 17:_XQ1=3;break;case 18:_XQ1=7;break;default :throw "invalid code: "+_rG1}_DW._M7(_1t[y],_XQ1,_u4)}var __Q1=[_SQ1,_Wo],_0R1=[_TQ1,_Xo],_tY,_1R1,$,_YV,_2R1,_3R1,_4R1,_5R1;_2R1=__Q1[0];_3R1=__Q1[1];_4R1=_0R1[0];_5R1=_0R1[1];_tY=0;for(_1R1=_PQ1.length;_tY<_1R1;++_tY)if($=_PQ1[_tY],_DW._M7(_2R1[$],_3R1[$],_u4),256<$)_DW._M7(_PQ1[++_tY],_PQ1[++_tY],_u4),_YV=_PQ1[++_tY],
_DW._M7(_4R1[_YV],_5R1[_YV],_u4),_DW._M7(_PQ1[++_tY],_PQ1[++_tY],_u4);else if(256===$)break;this._k9=_DW._EQ1();this._Qt=this._k9.length;break;default :throw "invalid compression type"}return this._k9};function _4K1(_1t,_si){this.length=_1t;this._Kg=_si}var _6R1=function(){function _1t(_M7){switch(_u4){case 3===_M7:return [257,_M7-3,0];case 4===_M7:return [258,_M7-4,0];case 5===_M7:return [259,_M7-5,0];case 6===_M7:return [260,_M7-6,0];case 7===_M7:return [261,_M7-7,0];case 8===_M7:return [262,_M7-8,0];case 9===_M7:return [263,
_M7-9,0];case 10===_M7:return [264,_M7-10,0];case 12>=_M7:return [265,_M7-11,1];case 14>=_M7:return [266,_M7-13,1];case 16>=_M7:return [267,_M7-15,1];case 18>=_M7:return [268,_M7-17,1];case 22>=_M7:return [269,_M7-19,2];case 26>=_M7:return [270,_M7-23,2];case 30>=_M7:return [271,_M7-27,2];case 34>=_M7:return [272,_M7-31,2];case 42>=_M7:return [273,_M7-35,3];case 50>=_M7:return [274,_M7-43,3];case 58>=_M7:return [275,_M7-51,3];case 66>=_M7:return [276,_M7-59,3];case 82>=_M7:return [277,_M7-67,4];case 98>=_M7:return [278,_M7-83,
4];case 114>=_M7:return [279,_M7-99,4];case 130>=_M7:return [280,_M7-115,4];case 162>=_M7:return [281,_M7-131,5];case 194>=_M7:return [282,_M7-163,5];case 226>=_M7:return [283,_M7-195,5];case 257>=_M7:return [284,_M7-227,5];case 258===_M7:return [285,_M7-258,0];default :throw "invalid length: "+_M7}}var _si=[],_Qt,e;for(_Qt=3;258>=_Qt;_Qt++)e=_1t(_Qt),_si[_Qt]=e[2]<<24|e[1]<<16|e[0];return _si}(),_7R1=_xX?new Uint32Array(_6R1):_6R1;function _pf1(_1t,_si){function _Qt(_M7,_Qt){var _k9=_M7._Kg,_si=[],e=0,_1t;_1t=_7R1[_M7.length];
_si[e++]=_1t&65535;_si[e++]=_1t>>16&255;_si[e++]=_1t>>24;var _j9;switch(_u4){case 1===_k9:_j9=[0,_k9-1,0];break;case 2===_k9:_j9=[1,_k9-2,0];break;case 3===_k9:_j9=[2,_k9-3,0];break;case 4===_k9:_j9=[3,_k9-4,0];break;case 6>=_k9:_j9=[4,_k9-5,1];break;case 8>=_k9:_j9=[5,_k9-7,1];break;case 12>=_k9:_j9=[6,_k9-9,2];break;case 16>=_k9:_j9=[7,_k9-13,2];break;case 24>=_k9:_j9=[8,_k9-17,3];break;case 32>=_k9:_j9=[9,_k9-25,3];break;case 48>=_k9:_j9=[10,_k9-33,4];break;case 64>=_k9:_j9=[11,_k9-49,4];break;case 96>=_k9:_j9=[12,
_k9-65,5];break;case 128>=_k9:_j9=[13,_k9-97,5];break;case 192>=_k9:_j9=[14,_k9-129,6];break;case 256>=_k9:_j9=[15,_k9-193,6];break;case 384>=_k9:_j9=[16,_k9-257,7];break;case 512>=_k9:_j9=[17,_k9-385,7];break;case 768>=_k9:_j9=[18,_k9-513,8];break;case 1024>=_k9:_j9=[19,_k9-769,8];break;case 1536>=_k9:_j9=[20,_k9-1025,9];break;case 2048>=_k9:_j9=[21,_k9-1537,9];break;case 3072>=_k9:_j9=[22,_k9-2049,10];break;case 4096>=_k9:_j9=[23,_k9-3073,10];break;case 6144>=_k9:_j9=[24,_k9-4097,11];break;case 8192>=_k9:_j9=[25,
_k9-6145,11];break;case 12288>=_k9:_j9=[26,_k9-8193,12];break;case 16384>=_k9:_j9=[27,_k9-12289,12];break;case 24576>=_k9:_j9=[28,_k9-16385,13];break;case 32768>=_k9:_j9=[29,_k9-24577,13];break;default :throw "invalid distance";}_1t=_j9;_si[e++]=_1t[0];_si[e++]=_1t[1];_si[e++]=_1t[2];var _Kg,_v7;_Kg=0;for(_v7=_si.length;_Kg<_v7;++_Kg)_H7[_v4++]=_si[_Kg];_ps[_si[0]]++;x[_si[3]]++;__v=_M7.length+_Qt-1;_w9=null}var e,_M7,_k9,_j9,_v7,_Kg={},_tx,_L7,_w9,_H7=_xX?new Uint16Array(2*_si.length):[],_v4=0,__v=0,_ps=new(_xX?Uint32Array:Array)(286),
x=new(_xX?Uint32Array:Array)(30),_OQ1=_1t._Q7,_Ua;if(!_xX){for(_k9=0;285>=_k9;)_ps[_k9++]=0;for(_k9=0;29>=_k9;)x[_k9++]=0}_ps[256]=1;e=0;for(_M7=_si.length;e<_M7;++e){_k9=_v7=0;for(_j9=3;_k9<_j9&&e+_k9!==_M7;++_k9)_v7=_v7<<8|_si[e+_k9];_Kg[_v7]===_r7&&(_Kg[_v7]=[]);_tx=_Kg[_v7];if(!(0<__v--)){for(;0<_tx.length&&32768<e-_tx[0];)_tx.shift();if(e+3>=_M7){_w9&&_Qt(_w9,-1);_k9=0;for(_j9=_M7-e;_k9<_j9;++_k9)_Ua=_si[e+_k9],_H7[_v4++]=_Ua,++_ps[_Ua];break }0<_tx.length?(_L7=_8R1(_si,e,_tx),_w9?_w9.length<_L7.length?(_Ua=_si[e-1],
_H7[_v4++]=_Ua,++_ps[_Ua],_Qt(_L7,0)):_Qt(_w9,-1):_L7.length<_OQ1?_w9=_L7:_Qt(_L7,0)):_w9?_Qt(_w9,-1):(_Ua=_si[e],_H7[_v4++]=_Ua,++_ps[_Ua])}_tx.push(e)}_H7[_v4++]=256;_ps[256]++;_1t._v7=_ps;_1t._H7=x;return _xX?_H7.subarray(0,_v4):_H7}function _8R1(_1t,_si,_Qt){var e,_M7,_k9=0,_j9,_v7,_Kg,_tx,_L7=_1t.length;_v7=0;_tx=_Qt.length;_k9:for(;_v7<_tx;_v7++){e=_Qt[_tx-_v7-1];_j9=3;if(3<_k9){for(_Kg=_k9;3<_Kg;_Kg--)if(_1t[e+_Kg-1]!==_1t[_si+_Kg-1])continue _k9;_j9=_k9}for(;258>_j9&&_si+_j9<_L7&&_1t[e+_j9]===_1t[_si+_j9];
)++_j9;_j9>_k9&&(_M7=e,_k9=_j9);if(258===_j9)break }return new _4K1(_k9,_si-_M7)}function _Le1(_1t,_si){var _Qt=_1t.length,e=new _1K1(572),_M7=new(_xX?Uint8Array:Array)(_Qt),_k9,_j9,_v7,_Kg,_tx;if(!_xX)for(_Kg=0;_Kg<_Qt;_Kg++)_M7[_Kg]=0;for(_Kg=0;_Kg<_Qt;++_Kg)0<_1t[_Kg]&&e.push(_Kg,_1t[_Kg]);_k9=Array(e.length/2);_j9=new(_xX?Uint32Array:Array)(e.length/2);if(1===_k9.length)return _M7[e.pop().index]=1,_M7;_Kg=0;for(_tx=e.length/2;_Kg<_tx;++_Kg)_k9[_Kg]=e.pop(),_j9[_Kg]=_k9[_Kg].value;_v7=_9R1(_j9,_j9.length,
_si);_Kg=0;for(_tx=_k9.length;_Kg<_tx;++_Kg)_M7[_k9[_Kg].index]=_v7[_Kg];return _M7}function _9R1(_1t,_si,_Qt){function e(_k9){var _M7=_Kg[_k9][_tx[_k9]];_M7===_si?(e(_k9+1),e(_k9+1)):--_j9[_M7];++_tx[_k9]}var _M7=new(_xX?Uint16Array:Array)(_Qt),_k9=new(_xX?Uint8Array:Array)(_Qt),_j9=new(_xX?Uint8Array:Array)(_si),_v7=Array(_Qt),_Kg=Array(_Qt),_tx=Array(_Qt),_L7=(1<<_Qt)-_si,_w9=1<<_Qt-1,_H7,_v4,__v,_ps,x;_M7[_Qt-1]=_si;for(_v4=0;_v4<_Qt;++_v4)_L7<_w9?_k9[_v4]=0:(_k9[_v4]=1,_L7-=_w9),_L7<<=1,_M7[_Qt-2-_v4]=(_M7[_Qt-1-_v4]/2|0)+_si;
_M7[0]=_k9[0];_v7[0]=Array(_M7[0]);_Kg[0]=Array(_M7[0]);for(_v4=1;_v4<_Qt;++_v4)_M7[_v4]>2*_M7[_v4-1]+_k9[_v4]&&(_M7[_v4]=2*_M7[_v4-1]+_k9[_v4]),_v7[_v4]=Array(_M7[_v4]),_Kg[_v4]=Array(_M7[_v4]);for(_H7=0;_H7<_si;++_H7)_j9[_H7]=_Qt;for(__v=0;__v<_M7[_Qt-1];++__v)_v7[_Qt-1][__v]=_1t[__v],_Kg[_Qt-1][__v]=__v;for(_H7=0;_H7<_Qt;++_H7)_tx[_H7]=0;1===_k9[_Qt-1]&&(--_j9[0],++_tx[_Qt-1]);for(_v4=_Qt-2;0<=_v4;--_v4){_ps=_H7=0;x=_tx[_v4+1];for(__v=0;__v<_M7[_v4];__v++)_ps=_v7[_v4+1][x]+_v7[_v4+1][x+1],_ps>_1t[_H7]?(_v7[_v4][__v]=_ps,
_Kg[_v4][__v]=_si,x+=2):(_v7[_v4][__v]=_1t[_H7],_Kg[_v4][__v]=_H7,++_H7);_tx[_v4]=0;1===_k9[_v4]&&e(_v4)}return _j9}function _YQ1(_1t){var _si=new(_xX?Uint16Array:Array)(_1t.length),_Qt=[],e=[],_M7=0,_k9,_j9,_v7,_Kg;_k9=0;for(_j9=_1t.length;_k9<_j9;_k9++)_Qt[_1t[_k9]]=(_Qt[_1t[_k9]]|0)+1;_k9=1;for(_j9=16;_k9<=_j9;_k9++)e[_k9]=_M7,_M7+=_Qt[_k9]|0,_M7<<=1;_k9=0;for(_j9=_1t.length;_k9<_j9;_k9++){_M7=e[_1t[_k9]];e[_1t[_k9]]+=1;_v7=_si[_k9]=0;for(_Kg=_1t[_k9];_v7<_Kg;_v7++)_si[_k9]=_si[_k9]<<1|_M7&1,_M7>>>=1}
return _si};function _aR1(_1t,_si){this._Nv=_1t;this._k9=new(_xX?Uint8Array:Array)(32768);this._si=_bR1._j9;var _Qt={},e;if((_si||!(_si={}))&&"number"===typeof _si._KQ1)this._si=_si._KQ1;for(e in _si)_Qt[e]=_si[e];_Qt.outputBuffer=this._k9;this._R7=new _Ne1(this._Nv,_Qt)}var _bR1=_MQ1;_aR1.prototype._1t=function(){var _1t,_si,_Qt,e,_M7,_k9,_j9=0;_k9=this._k9;switch(8){case 8:_1t=Math.LOG2E*Math.log(32768)-8;break;default :throw Error("invalid compression method")}_si=_1t<<4|8;_k9[_j9++]=_si;switch(8){case 8:switch(this._si){
case _bR1._5L1:e=0;break;case _bR1._v4:e=1;break;case _bR1._j9:e=2;break;default :throw Error("unsupported compression type")}break;default :throw Error("invalid compression method")}_Qt=e<<6|0;_k9[_j9++]=_Qt|31-(256*_si+_Qt)%31;var _v7=this._Nv;if("string"===typeof _v7){var _Kg=_v7.split(""),_tx,_L7;_tx=0;for(_L7=_Kg.length;_tx<_L7;_tx++)_Kg[_tx]=(_Kg[_tx].charCodeAt(0)&255)>>>0;_v7=_Kg}for(var _w9=1,_H7=0,_v4=_v7.length,__v,_ps=0;0<_v4;){__v=1024<_v4?1024:_v4;_v4-=__v;do _w9+=_v7[_ps++],_H7+=_w9;while(--__v);
_w9%=65521;_H7%=65521}_M7=(_H7<<16|_w9)>>>0;this._R7._Qt=_j9;_k9=this._R7._1t();_j9=_k9.length;_xX&&(_k9=new Uint8Array(_k9.buffer),_k9.length<=_j9+4&&(this._k9=new Uint8Array(_k9.length+4),this._k9.set(_k9),_k9=this._k9),_k9=_k9.subarray(0,_j9+4));_k9[_j9++]=_M7>>24&255;_k9[_j9++]=_M7>>16&255;_k9[_j9++]=_M7>>8&255;_k9[_j9++]=_M7&255;return _k9};_BQ1("Zlib.Deflate",_aR1);_BQ1("Zlib.Deflate.compress",function(_1t,_si){return(new _aR1(_1t,_si))._1t()});_BQ1("Zlib.Deflate.prototype.compress",_aR1.prototype._1t);
var _cR1={_5L1:_bR1._5L1,FIXED:_bR1._v4,_dR1:_bR1._j9},_eR1,_fR1,_gR1,_hR1;if(Object._hI1)_eR1=Object._hI1(_cR1);else for(_fR1 in _eR1=[],_gR1=0,_cR1)_eR1[_gR1++]=_fR1;_gR1=0;for(_hR1=_eR1.length;_gR1<_hR1;++_gR1)_fR1=_eR1[_gR1],_BQ1("Zlib.Deflate.CompressionType."+_fR1,_cR1[_fR1])}).call(this);//@ sourceMappingURL=deflate.min.js.map
;/** fingerprintJS 0.5.4 - Fast browser fingerprint library
* https://github.com/Valve/fingerprintjs
* Copyright (c) 2013 Valentin Vasilyev (valentin.vasilyev@outlook.com)
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
*
* 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 <COPYRIGHT HOLDER> 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.
*/;
(function(name,context,_iR1){if(typeof module!=='undefined'&&module._7q1){module._7q1=_iR1()}else if(typeof define==='function'&&define._jR1){define(_iR1)}else {context[name]=_iR1()}})('Fingerprint',this,function(){'use strict';var Fingerprint=function(options){var _kR1,_lR1;_kR1=Array.prototype._mR1;_lR1=Array.prototype.map;this._nR1=function(_Ct,_oR1,context){if(_Ct===null){return }if(_kR1&&_Ct._mR1===_kR1){_Ct._mR1(_oR1,context)}else if(_Ct.length===+_Ct.length){for(var _Q7=0,_H7=_Ct.length;_Q7<_H7;_Q7++){
if(_oR1.call(context,_Ct[_Q7],_Q7,_Ct)==={})return }}else {for(var key in _Ct){if(_Ct.hasOwnProperty(key)){if(_oR1.call(context,_Ct[key],key,_Ct)==={})return }}}};this.map=function(_Ct,_oR1,context){var _pR1=[];if(_Ct==null)return _pR1;if(_lR1&&_Ct.map===_lR1)return _Ct.map(_oR1,context);this._nR1(_Ct,function(value,index,_pg){_pR1[_pR1.length]=_oR1.call(context,value,index,_pg)});return _pR1};if(typeof options=='object'){this._qR1=options._qR1;this._rR1=options._rR1;this._sR1=options._sR1;this.canvas=options.canvas;
this._tR1=options._tR1}else if(typeof options=='function'){this._qR1=options}};Fingerprint.prototype={get:function(){var _hI1=[];_hI1.push(navigator.userAgent);_hI1.push(navigator.language);_hI1.push(screen.colorDepth);if(this._rR1){var _uR1=this._vR1();if(typeof _uR1!=='undefined'){_hI1.push(_uR1.join('x'))}}_hI1.push(new Date().getTimezoneOffset());_hI1.push(this.hasSessionStorage());_hI1.push(this.hasLocalStorage());_hI1.push(!!window.indexedDB);if(document.body){_hI1.push(typeof(document.body.addBehavior));
}else {_hI1.push(typeof undefined)}_hI1.push(typeof(window.openDatabase));_hI1.push(navigator.cpuClass);_hI1.push(navigator.platform);_hI1.push(navigator.doNotTrack);_hI1.push(this._wR1());if(this.canvas&&this._xR1()){_hI1.push(this._yR1())}if(this._qR1){return this._qR1(_hI1.join('###'),31)}else {return this._zR1(_hI1.join('###'),31)}},/*
     * JS Implementation of MurmurHash3 (r136) (as of May 20, 2011)
     *
     * @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
     * @see http://github.com/garycourt/murmurhash-js
     * @author <a href="mailto:aappleby@gmail.com">Austin Appleby</a>
     * @see http://sites.google.com/site/murmurhash/
     *
     * @param {string} key ASCII only
     * @param {number} seed Positive integer only
     * @return {number} 32-bit positive integer hash
     */_zR1:function(key,
_nb1){var _AR1,_BR1,_lv,_CR1,_zW,_AW,_DR1,_Q7;_AR1=key.length&3;_BR1=key.length-_AR1;_lv=_nb1;_zW=0xcc9e2d51;_AW=0x1b873593;_Q7=0;while(_Q7<_BR1){_DR1=((key.charCodeAt(_Q7)&0xff))|((key.charCodeAt(++_Q7)&0xff)<<8)|((key.charCodeAt(++_Q7)&0xff)<<16)|((key.charCodeAt(++_Q7)&0xff)<<24);++_Q7;_DR1=((((_DR1&0xffff)*_zW)+((((_DR1>>>16)*_zW)&0xffff)<<16)))&0xffffffff;_DR1=(_DR1<<15)|(_DR1>>>17);_DR1=((((_DR1&0xffff)*_AW)+((((_DR1>>>16)*_AW)&0xffff)<<16)))&0xffffffff;_lv^=_DR1;_lv=(_lv<<13)|(_lv>>>19);_CR1=((((_lv&0xffff)*5)+((((_lv>>>16)*5)&0xffff)<<16)))&0xffffffff;
_lv=(((_CR1&0xffff)+0x6b64)+((((_CR1>>>16)+0xe654)&0xffff)<<16))}_DR1=0;switch(_AR1){case 3:_DR1^=(key.charCodeAt(_Q7+2)&0xff)<<16;case 2:_DR1^=(key.charCodeAt(_Q7+1)&0xff)<<8;case 1:_DR1^=(key.charCodeAt(_Q7)&0xff);_DR1=(((_DR1&0xffff)*_zW)+((((_DR1>>>16)*_zW)&0xffff)<<16))&0xffffffff;_DR1=(_DR1<<15)|(_DR1>>>17);_DR1=(((_DR1&0xffff)*_AW)+((((_DR1>>>16)*_AW)&0xffff)<<16))&0xffffffff;_lv^=_DR1}_lv^=key.length;_lv^=_lv>>>16;_lv=(((_lv&0xffff)*0x85ebca6b)+((((_lv>>>16)*0x85ebca6b)&0xffff)<<16))&0xffffffff;
_lv^=_lv>>>13;_lv=((((_lv&0xffff)*0xc2b2ae35)+((((_lv>>>16)*0xc2b2ae35)&0xffff)<<16)))&0xffffffff;_lv^=_lv>>>16;return _lv>>>0},hasLocalStorage:function(){try{return !!window.localStorage}catch(e){return !0}},hasSessionStorage:function(){try{return !!window._ER1}catch(e){return !0}},_xR1:function(){var _XP=document.createElement('canvas');return !!(_XP.getContext&&_XP.getContext('2d'))},_FR1:function(){if(navigator._GR1==='Microsoft Internet Explorer'){return !0}else if(navigator._GR1==='Netscape'&&/_HR1/.test(navigator.userAgent)){
return !0}return !1},_wR1:function(){if(this._FR1()&&this._tR1){return this._IR1()}else {return this._JR1()}},_JR1:function(){return this.map(navigator._KR1,function(_tx){var _LR1=this.map(_tx,function(_zp){return [_zp.type,_zp._MR1].join('~')}).join(',');return [_tx.name,_tx.description,_LR1].join('::')},this).join(';')},_IR1:function(){if(window.ActiveXObject){var _Tr1=['ShockwaveFlash.ShockwaveFlash','AcroPDF.PDF','PDF.PdfCtrl','QuickTime.QuickTime','rmocx.RealPlayer G2 Control','rmocx.RealPlayer G2 Control.1',
'RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)','RealVideo.RealVideo(tm) ActiveX Control (32-bit)','RealPlayer','SWCtl.SWCtl','WMPlayer.OCX','AgControl.AgControl','Skype.Detection'];return this.map(_Tr1,function(name){try{new ActiveXObject(name);return name}catch(e){return null}}).join(';')}else {return ""}},_vR1:function(){var _uR1;if(this._sR1){_uR1=(screen.height>screen.width)?[screen.height,screen.width]:[screen.width,screen.height]}else {_uR1=[screen.height,screen.width]}return _uR1},_yR1:function(){
var canvas=document.createElement('canvas');var _Z9=canvas.getContext('2d');var _hs='http://valve.github.io';_Z9.textBaseline="top";_Z9.font="14px 'Arial'";_Z9.textBaseline="alphabetic";_Z9.fillStyle="#f60";_Z9.fillRect(125,1,62,20);_Z9.fillStyle="#069";_Z9.fillText(_hs,2,15);_Z9.fillStyle="rgba(102, 204, 0, 0.7)";_Z9.fillText(_hs,4,17);return canvas.toDataURL()}};return Fingerprint});/*@license zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License */(function(){'use strict';function _v7(_M7){
throw _M7}var _r7=void 0,_J7=this;function _ps(_M7,_si){var _k9=_M7.split("."),_Qt=_J7;!(_k9[0] in _Qt)&&_Qt._CQ1&&_Qt._CQ1("var "+_k9[0]);for(var _1t;_k9.length&&(_1t=_k9.shift());)!_k9.length&&_si!==_r7?_Qt[_1t]=_si:_Qt=_Qt[_1t]?_Qt[_1t]:_Qt[_1t]={}};var _w9="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Uint32Array;function _y9(_M7){var _si=_M7.length,_k9=0,_Qt=Number.POSITIVE_INFINITY,_1t,e,_j9,_v4,_Kg,_H7,__v,_tx,_L7;for(_tx=0;_tx<_si;++_tx)_M7[_tx]>_k9&&(_k9=_M7[_tx]),
_M7[_tx]<_Qt&&(_Qt=_M7[_tx]);_1t=1<<_k9;e=new(_w9?Uint32Array:Array)(_1t);_j9=1;_v4=0;for(_Kg=2;_j9<=_k9;){for(_tx=0;_tx<_si;++_tx)if(_M7[_tx]===_j9){_H7=0;__v=_v4;for(_L7=0;_L7<_j9;++_L7)_H7=_H7<<1|__v&1,__v>>=1;for(_L7=_H7;_L7<_1t;_L7+=_Kg)e[_L7]=_j9<<16|_tx;++_v4}++_j9;_v4<<=1;_Kg<<=1}return [e,_k9,_Qt]};function _u4(_M7,_si){this._j9=[];this._v4=32768;this._si=this._1t=this._k9=this._H7=0;this._Nv=_w9?new Uint8Array(_M7):_M7;this._v7=!1;this._Q7=x;this._J7=!1;if(_si||!(_si={}))_si.index&&(this._k9=_si.index),
_si._NR1&&(this._v4=_si._NR1),_si._OR1&&(this._Q7=_si._OR1),_si._PR1&&(this._J7=_si._PR1);switch(this._Q7){case y:this._M7=32768;this._Qt=new(_w9?Uint8Array:Array)(32768+this._v4+258);break;case x:this._M7=0;this._Qt=new(_w9?Uint8Array:Array)(this._v4);this.e=this._Ua;this._r7=this._y9;this._R7=this._u4;break;default :_v7(Error("invalid inflate mode"))}}var y=0,x=1,_Ua={_L7:y,_ps:x};_u4.prototype._Kg=function(){for(;!this._v7;){var _M7=_rV(this,3);_M7&1&&(this._v7=!0);_M7>>>=1;switch(_M7){case 0:var _si=this._Nv,
_k9=this._k9,_Qt=this._Qt,_1t=this._M7,e=_r7,_j9=_r7,_v4=_r7,_Kg=_Qt.length,_H7=_r7;this._si=this._1t=0;e=_si[_k9++];e===_r7&&_v7(Error("invalid uncompressed block header: LEN (first byte)"));_j9=e;e=_si[_k9++];e===_r7&&_v7(Error("invalid uncompressed block header: LEN (second byte)"));_j9|=e<<8;e=_si[_k9++];e===_r7&&_v7(Error("invalid uncompressed block header: NLEN (first byte)"));_v4=e;e=_si[_k9++];e===_r7&&_v7(Error("invalid uncompressed block header: NLEN (second byte)"));_v4|=e<<8;_j9===~_v4&&_v7(Error("invalid uncompressed block header: length verify"));
_k9+_j9>_si.length&&_v7(Error("input buffer is broken"));switch(this._Q7){case y:for(;_1t+_j9>_Qt.length;){_H7=_Kg-_1t;_j9-=_H7;if(_w9)_Qt.set(_si.subarray(_k9,_k9+_H7),_1t),_1t+=_H7,_k9+=_H7;else for(;_H7--;)_Qt[_1t++]=_si[_k9++];this._M7=_1t;_Qt=this.e();_1t=this._M7}break;case x:for(;_1t+_j9>_Qt.length;)_Qt=this.e({_tx:2});break;default :_v7(Error("invalid inflate mode"))}if(_w9)_Qt.set(_si.subarray(_k9,_k9+_j9),_1t),_1t+=_j9,_k9+=_j9;else for(;_j9--;)_Qt[_1t++]=_si[_k9++];this._k9=_k9;this._M7=_1t;
this._Qt=_Qt;break;case 1:this._R7(_DW,_xX);break;case 2:_xK1(this);break;default :_v7(Error("unknown BTYPE: "+_M7))}}return this._r7()};var _SZ=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],_S51=_w9?new Uint16Array(_SZ):_SZ,_O51=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,258,258],_P51=_w9?new Uint16Array(_O51):_O51,_ZQ1=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0],_tY=_w9?new Uint8Array(_ZQ1):_ZQ1,_PQ1=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,
129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],_ai1=_w9?new Uint16Array(_PQ1):_PQ1,_Cn1=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],_SW=_w9?new Uint8Array(_Cn1):_Cn1,_FQ1=new(_w9?Uint8Array:Array)(288),_QQ1,_D31;_QQ1=0;for(_D31=_FQ1.length;_QQ1<_D31;++_QQ1)_FQ1[_QQ1]=143>=_QQ1?8:255>=_QQ1?9:279>=_QQ1?7:8;var _DW=_y9(_FQ1),_C31=new(_w9?Uint8Array:Array)(30),_rG1,_GQ1;_rG1=0;for(_GQ1=_C31.length;_rG1<_GQ1;++_rG1)_C31[_rG1]=5;var _xX=_y9(_C31);function _rV(_M7,
_si){for(var _k9=_M7._1t,_Qt=_M7._si,_1t=_M7._Nv,e=_M7._k9,_j9;_Qt<_si;)_j9=_1t[e++],_j9===_r7&&_v7(Error("input buffer is broken")),_k9|=_j9<<_Qt,_Qt+=8;_j9=_k9&(1<<_si)-1;_M7._1t=_k9>>>_si;_M7._si=_Qt-_si;_M7._k9=e;return _j9}function _uX(_M7,_si){for(var _k9=_M7._1t,_Qt=_M7._si,_1t=_M7._Nv,e=_M7._k9,_j9=_si[0],_v4=_si[1],_Kg,_H7,__v;_Qt<_v4;){_Kg=_1t[e++];if(_Kg===_r7)break;_k9|=_Kg<<_Qt;_Qt+=8}_H7=_j9[_k9&(1<<_v4)-1];__v=_H7>>>16;_M7._1t=_k9>>__v;_M7._si=_Qt-__v;_M7._k9=e;return _H7&65535}function _xK1(_M7){
function _si(_k9,_M7,_Qt){var _si,e,_1t,_j9;for(_j9=0;_j9<_k9;)switch(_si=_uX(this,_M7),_si){case 16:for(_1t=3+_rV(this,2);_1t--;)_Qt[_j9++]=e;break;case 17:for(_1t=3+_rV(this,3);_1t--;)_Qt[_j9++]=0;e=0;break;case 18:for(_1t=11+_rV(this,7);_1t--;)_Qt[_j9++]=0;e=0;break;default :e=_Qt[_j9++]=_si}return _Qt}var _k9=_rV(_M7,5)+257,_Qt=_rV(_M7,5)+1,_1t=_rV(_M7,4)+4,e=new(_w9?Uint8Array:Array)(_S51.length),_j9,_v4,_Kg,_H7;for(_H7=0;_H7<_1t;++_H7)e[_S51[_H7]]=_rV(_M7,3);_j9=_y9(e);_v4=new(_w9?Uint8Array:Array)(_k9);
_Kg=new(_w9?Uint8Array:Array)(_Qt);_M7._R7(_y9(_si.call(_M7,_k9,_j9,_v4)),_y9(_si.call(_M7,_Qt,_j9,_Kg)))}_u4.prototype._R7=function(_M7,_si){var _k9=this._Qt,_Qt=this._M7;this._7u=_M7;for(var _1t=_k9.length-258,e,_j9,_v4,_Kg;256!==(e=_uX(this,_M7));)if(256>e)_Qt>=_1t&&(this._M7=_Qt,_k9=this.e(),_Qt=this._M7),_k9[_Qt++]=e;else {_j9=e-257;_Kg=_P51[_j9];0<_tY[_j9]&&(_Kg+=_rV(this,_tY[_j9]));e=_uX(this,_si);_v4=_ai1[e];0<_SW[e]&&(_v4+=_rV(this,_SW[e]));_Qt>=_1t&&(this._M7=_Qt,_k9=this.e(),_Qt=this._M7);
for(;_Kg--;)_k9[_Qt]=_k9[_Qt++-_v4]}for(;8<=this._si;)this._si-=8,this._k9--;this._M7=_Qt};_u4.prototype._u4=function(_M7,_si){var _k9=this._Qt,_Qt=this._M7;this._7u=_M7;for(var _1t=_k9.length,e,_j9,_v4,_Kg;256!==(e=_uX(this,_M7));)if(256>e)_Qt>=_1t&&(_k9=this.e(),_1t=_k9.length),_k9[_Qt++]=e;else {_j9=e-257;_Kg=_P51[_j9];0<_tY[_j9]&&(_Kg+=_rV(this,_tY[_j9]));e=_uX(this,_si);_v4=_ai1[e];0<_SW[e]&&(_v4+=_rV(this,_SW[e]));_Qt+_Kg>_1t&&(_k9=this.e(),_1t=_k9.length);for(;_Kg--;)_k9[_Qt]=_k9[_Qt++-_v4]}
for(;8<=this._si;)this._si-=8,this._k9--;this._M7=_Qt};_u4.prototype.e=function(){var _M7=new(_w9?Uint8Array:Array)(this._M7-32768),_si=this._M7-32768,_k9,_Qt,_1t=this._Qt;if(_w9)_M7.set(_1t.subarray(32768,_M7.length));else {_k9=0;for(_Qt=_M7.length;_k9<_Qt;++_k9)_M7[_k9]=_1t[_k9+32768]}this._j9.push(_M7);this._H7+=_M7.length;if(_w9)_1t.set(_1t.subarray(_si,_si+32768));else for(_k9=0;32768>_k9;++_k9)_1t[_k9]=_1t[_si+_k9];this._M7=32768;return _1t};_u4.prototype._Ua=function(_M7){var _si,_k9=this._Nv.length/this._k9+1|0,
_Qt,_1t,e,_j9=this._Nv,_v4=this._Qt;_M7&&("number"===typeof _M7._tx&&(_k9=_M7._tx),"number"===typeof _M7._w9&&(_k9+=_M7._w9));2>_k9?(_Qt=(_j9.length-this._k9)/this._7u[2],e=258*(_Qt/2)|0,_1t=e<_v4.length?_v4.length+e:_v4.length<<1):_1t=_v4.length*_k9;_w9?(_si=new Uint8Array(_1t),_si.set(_v4)):_si=_v4;return this._Qt=_si};_u4.prototype._r7=function(){var _M7=0,_si=this._Qt,_k9=this._j9,_Qt,_1t=new(_w9?Uint8Array:Array)(this._H7+(this._M7-32768)),e,_j9,_v4,_Kg;if(0===_k9.length)return _w9?this._Qt.subarray(32768,
this._M7):this._Qt.slice(32768,this._M7);e=0;for(_j9=_k9.length;e<_j9;++e){_Qt=_k9[e];_v4=0;for(_Kg=_Qt.length;_v4<_Kg;++_v4)_1t[_M7++]=_Qt[_v4]}e=32768;for(_j9=this._M7;e<_j9;++e)_1t[_M7++]=_si[e];this._j9=[];return this.buffer=_1t};_u4.prototype._y9=function(){var _M7,_si=this._M7;_w9?this._J7?(_M7=new Uint8Array(_si),_M7.set(this._Qt.subarray(0,_si))):_M7=this._Qt.subarray(0,_si):(this._Qt.length>_si&&(this._Qt.length=_si),_M7=this._Qt);return this.buffer=_M7};function _NQ1(_M7,_si){var _k9,_Qt;this._Nv=_M7;
this._k9=0;if(_si||!(_si={}))_si.index&&(this._k9=_si.index),_si._QR1&&(this._rV=_si._QR1);_k9=_M7[this._k9++];_Qt=_M7[this._k9++];switch(_k9&15){case _bR1:this.method=_bR1;break;default :_v7(Error("unsupported compression method"))}0!==((_k9<<8)+_Qt)%31&&_v7(Error("invalid fcheck flag:"+((_k9<<8)+_Qt)%31));_Qt&32&&_v7(Error("fdict flag is not supported"));this.__v=new _u4(_M7,{index:this._k9,_NR1:_si._NR1,_OR1:_si._OR1,_PR1:_si._PR1})}_NQ1.prototype._Kg=function(){var _M7=this._Nv,_si,_k9;_si=this.__v._Kg();
this._k9=this.__v._k9;if(this._rV){_k9=(_M7[this._k9++]<<24|_M7[this._k9++]<<16|_M7[this._k9++]<<8|_M7[this._k9++])>>>0;var _Qt=_si;if("string"===typeof _Qt){var _1t=_Qt.split(""),e,_j9;e=0;for(_j9=_1t.length;e<_j9;e++)_1t[e]=(_1t[e].charCodeAt(0)&255)>>>0;_Qt=_1t}for(var _v4=1,_Kg=0,_H7=_Qt.length,__v,_tx=0;0<_H7;){__v=1024<_H7?1024:_H7;_H7-=__v;do _v4+=_Qt[_tx++],_Kg+=_v4;while(--__v);_v4%=65521;_Kg%=65521}_k9!==(_Kg<<16|_v4)>>>0&&_v7(Error("invalid adler-32 checksum"))}return _si};var _bR1=8;_ps("Zlib.Inflate",
_NQ1);_ps("Zlib.Inflate.prototype.decompress",_NQ1.prototype._Kg);var _gR1={_RR1:_Ua._ps,_SR1:_Ua._L7},_Wo,_Xo,_Yo,$;if(Object._hI1)_Wo=Object._hI1(_gR1);else for(_Xo in _Wo=[],_Yo=0,_gR1)_Wo[_Yo++]=_Xo;_Yo=0;for($=_Wo.length;_Yo<$;++_Yo)_Xo=_Wo[_Yo],_ps("Zlib.Inflate.BufferType."+_Xo,_gR1[_Xo])}).call(this);//@ sourceMappingURL=inflate.min.js.map
/*@constructor */function _TR1(){this._UR1=0;this._VR1=null;this._WR1=0;this._XR1=null;this._YR1=new _ig()};/*@constructor */function _ZR1(){this._yC=0;this.__R1=new _4o();
this._0S1=new _4o();this._1S1=new _4o();this._2S1=new _4o();this._3S1=new _4o();this._4S1=new _4o();this._5S1=0;this._6S1=0;this._7S1=0;this._8S1=0;this._9S1=0;this._aS1=0;this._bS1=0;this._cS1=0;this._dS1=0;this._eS1=-1;this._fS1=-1;this._gS1=-1;this._hS1=-1;this._iS1=true;this._jS1=false;this._kS1=false};_ZR1.prototype._lS1=function(_mS1){this._jS1=_mS1};_ZR1.prototype._nS1=function(){return this._jS1};_ZR1.prototype._oS1=function(_pS1){this._kS1=_pS1};_ZR1.prototype._qS1=function(){return this._kS1}
;_TR1.prototype._rS1=function(_5g){var _sS1=this._tS1(_5g);if(!_sS1)return -1;var _uS1=this._vS1();var _wS1=this._tS1(_uS1);_wS1._5S1=_sS1._5S1;_wS1._6S1=_sS1._5S1;_wS1._7S1=_sS1._7S1;_wS1._8S1=_sS1._8S1;_wS1._9S1=_sS1._9S1;_wS1._aS1=_sS1._aS1;_wS1._bS1=_sS1._bS1;_wS1._cS1=_sS1._cS1;_wS1._dS1=_sS1._dS1;_wS1._eS1=_sS1._eS1;_wS1._fS1=_sS1._fS1;_wS1._gS1=_sS1._gS1;_wS1._hS1=_sS1._hS1;var _xS1=new _4o(_sS1._0S1);var _yS1=new _4o(_sS1.__R1);var _zS1=new _4o(_sS1._1S1);var _AS1=new _4o(_sS1._2S1);var _BS1=new _4o(_sS1._3S1);
var _CS1=new _4o(_sS1._4S1);_wS1.__R1=_yS1;_wS1._0S1=_xS1;_wS1._1S1=_zS1;_wS1._2S1=_AS1;_wS1._3S1=_BS1;_wS1._4S1=_CS1;_wS1._kS1=_sS1._kS1;_wS1._lS1(true);return _uS1};_ZR1.prototype._DS1=function(){if(this.__R1._v7[11]==0)return true;return false};_ZR1.prototype._ES1=function(){if(this._DS1()){if((this.__R1._v7[4]==0.0)&&(this.__R1._v7[8]==0.0)&&(this.__R1._v7[1]==0.0)&&(this.__R1._v7[9]==0.0)&&(this.__R1._v7[2]==0.0)&&(this.__R1._v7[6]==0.0)){if((this._0S1._v7[2]==0.0)&&(this._0S1._v7[6]==0.0)){this._iS1=true;
return }}}this._iS1=false};_ZR1.prototype._FS1=function(_GS1){this._0S1=_GS1;this._3S1._lz(_GS1);this._1S1.Multiply(this._0S1,this.__R1);this._4S1._lz(this._1S1);this._ES1()};_ZR1.prototype._HS1=function(_GS1){this.__R1=_GS1;this._2S1._lz(_GS1);this._1S1.Multiply(this._0S1,this.__R1);this._4S1._lz(this._1S1);this._ES1()};_TR1.prototype._IS1=function(){this._UR1=this._YR1.length};_TR1.prototype._vS1=function(){var _JS1=new _ZR1();_JS1._yC=this._WR1;this._WR1++;this._YR1._Qe(_JS1);return _JS1._yC};_TR1.prototype._tS1=function(_KS1){
for(var _Q7=0;_Q7<this._YR1.length;_Q7++){if(this._YR1._8g(_Q7)!=null)if(this._YR1._8g(_Q7)._yC==_KS1)return this._YR1._8g(_Q7)}return null};_TR1.prototype._LS1=function(_KS1){for(var _Q7=0;_Q7<this._YR1.length;_Q7++){var _MS1=this._YR1._8g(_Q7);if(_MS1){if(_MS1._yC===_KS1){this._YR1._DD(_MS1);return }}}return };_TR1.prototype._NS1=function(){this._YR1._6f();_UR1=0};_TR1.prototype._OS1=function(_PS1){if(_PS1==null)return null;var _QS1=this._vS1();var _wS1=this._tS1(_QS1);if(_wS1!=null){_wS1._RS1(_PS1._uQ);
_wS1._SS1(_PS1._wQ);_wS1._TS1(_PS1._yQ);_wS1._US1(_PS1._AQ);_wS1._VS1(_PS1._o4);_wS1._WS1(_PS1._p4);_wS1._XS1(_PS1._YS1);_wS1._ZS1(_PS1.__S1);_wS1._0T1(0.0);_wS1._1T1(_PS1._2T1);_wS1._3T1(_wS1._4T1()+_wS1._5T1()*0.5,_wS1._6T1()+_wS1._7T1()*0.5)}return _wS1};_TR1.prototype._8T1=function(){if(this._VR1===null){this._VR1=new _9T1(0,0,0,0,false,true)}};_TR1.prototype._aT1=function(){if(this._VR1!=null){this._VR1=null;}for(var _Q7=this._UR1;_Q7<this._YR1.length;_Q7++){var _bT1=this._YR1._8g(_Q7);if(_bT1!==null){
if(_bT1._nS1()&&!_bT1._qS1()){this._LS1(_bT1._yC)}}}};_TR1.prototype._cT1=function(){this._dT1=0;this._XR1=null;this._eT1=0;this._fT1=0};_TR1.prototype._gT1=function(){return this._XR1};_TR1.prototype._hT1=function(_lw){if(typeof(_lw)==_ZR1){this._XR1=_lw}else {this._XR1=this._tS1(_lw)}};_ZR1.prototype._1T1=function(_lw){this._eS1=_lw};_ZR1.prototype._iT1=function(){return this._4S1};_ZR1.prototype._RS1=function(_lw){this._5S1=_lw};_ZR1.prototype._4T1=function(){return this._5S1};_ZR1.prototype._SS1=function(_lw){
this._6S1=_lw};_ZR1.prototype._6T1=function(){return this._6S1};_ZR1.prototype._jT1=function(){return this._yC};_ZR1.prototype._TS1=function(_lw){this._7S1=_lw};_ZR1.prototype._5T1=function(){return this._7S1};_ZR1.prototype._US1=function(_lw){this._8S1=_lw};_ZR1.prototype._7T1=function(){return this._8S1};_ZR1.prototype._VS1=function(_lw){this._9S1=_lw};_ZR1.prototype._WS1=function(_lw){this._aS1=_lw};_ZR1.prototype._XS1=function(_lw){this._bS1=_lw};_ZR1.prototype._ZS1=function(_lw){this._cS1=_lw};
_ZR1.prototype._0T1=function(_lw){this._dS1=_lw};_ZR1.prototype._Jc=function(){if(this._fS1!=-1){_D3._N3[this._fS1](this._VR1,this._VR1)}};_ZR1.prototype._Lc=function(){if(this._gS1!=-1){_D3._N3[this._gS1](this._VR1,this._VR1)}};_ZR1.prototype._kT1=function(){var _lT1=new _oo();_lT1._Wo=this._3S1._v7[_Hp];_lT1._Xo=this._3S1._v7[_Kp];_lT1._Yo=this._3S1._v7[_Pp];return _lT1};_ZR1.prototype._mT1=function(){if(this._DS1()){var _nT1=this._kT1();var _oT1,_pT1,_qT1,_rT1;_oT1=this._4S1._sT1(new _oo(-1.0,0.0,0.0));
_pT1=this._4S1._sT1(new _oo(1.0,0.0,0.0));_qT1=this._4S1._sT1(new _oo(0.0,1.0,0.0));_rT1=this._4S1._sT1(new _oo(0.0,-1.0,0.0));var _tT1=_pT1._uT1(_oT1);var _vT1=_qT1._uT1(_rT1);_zQ=_tT1.Length();_BQ=_vT1.Length();_vQ=_nT1._Wo-(_zQ*0.5);_xQ=_nT1._Xo-(_BQ*0.5);var _wT1=_vT1;_wT1._To();var angle=Math.acos(_wT1._Xo);if(_wT1._Wo<0.0){angle=(2.0*Math.PI)-angle}var _xT1=(angle/(2.0*Math.PI))*360.0;_bz(_vQ,_xQ,_zQ,_BQ,_xT1)}else {_vQ=0;_xQ=0;_zQ=_h6!=null?_h6._yT1():1;_BQ=_h6!=null?_h6._P_():1;_bz(_vQ,_xQ,_zQ,_BQ,
0)}if(_v8!=null){_rp(_zT1,this._0S1)}else {_rp(_zT1,this._0S1);var _AT1=_Uw/_zQ;var _BT1=_Vw/_BQ;_CT1[0]=this._0S1._v7[_Ep]*_AT1;_CT1[1]=this._0S1._v7[_Fp]*_AT1;_CT1[2]=(this._0S1._v7[_Hp]+(_zQ*0.5))*_AT1+_Sw;_CT1[3]=this._0S1._v7[_Ip]*_BT1;_CT1[4]=this._0S1._v7[_xo]*_BT1;_CT1[5]=(this._0S1._v7[_Kp]+(_BQ*0.5))*_BT1+_Tw;_M9._Rw(_CT1[0],_CT1[3],_CT1[1],_CT1[4],_CT1[2],_CT1[5])}if(_yo==-1){_rp(_DT1,this.__R1)}else {var _ET1=new _4o();_ET1._v7[_xo]=-1;var _vo=new _4o();_vo.Multiply(this.__R1,_ET1);_rp(_DT1,
_vo)}};_ZR1.prototype._7f=function(){if(this._hS1!=-1){_D3._N3[this._hS1](_FT1,_FT1)}else {if((this._eS1>=0)&&(this._iS1)){var _rB=null;if(this._eS1<10000){var _pB=_26._8g(this._eS1);var _xg=_pB._NK();for(var _yH1=0;_yH1<_xg.length;_yH1++){var _sB=_xg[_yH1];if(_sB._oB)continue;if(!_sB._tB)continue;_rB=_sB;break }}else {_rB=_aB._8g(this._eS1);if(_rB!=null){if(_rB._oB||(!_rB._tB))_rB=null}}if(_rB!=null){var _GT1=this._7S1*0.5;var _HT1=this._8S1*0.5;var _H7,_L7;var _IT1,_JT1;_H7=this._5S1;_L7=this._6S1;if(_rB._KT1)_rB._LT1();
_IT1=Math.floor(_rB.x);_JT1=Math.floor(_rB.y);if(2*this._bS1>=this._7S1){_H7=_IT1-_GT1}else if(_IT1-this._bS1<this._5S1){_H7=_IT1-this._bS1}else if(_IT1+this._bS1>(this._5S1+this._7S1)){_H7=_IT1+this._bS1-this._7S1}if(2*this._cS1>=this._8S1){_L7=_JT1-_HT1}else if(_JT1-this._cS1<this._6S1){_L7=_JT1-this._cS1}else if(_JT1+this._cS1>(this._6S1+this._8S1)){_L7=_JT1+this._cS1-this._8S1}if(_H7<0)_H7=0;if(_H7+this._7S1>_h6._yT1())_H7=_h6._yT1()-this._7S1;if(_L7<0)_L7=0;if(_L7+this._8S1>_h6._P_())_L7=_h6._P_()-this._8S1;
if(this._9S1>=0){if((_H7<this._5S1)&&(this._5S1-_H7>this._9S1))_H7=this._5S1-this._9S1;if((_H7>this._5S1)&&(_H7-this._5S1>this._9S1))_H7=this._5S1+this._9S1}if(this._aS1>=0){if((_L7<this._6S1)&&(this._6S1-_L7>this._aS1))_L7=this._6S1-this._aS1;if((_L7>this._6S1)&&(_L7-this._6S1>this._aS1))_L7=this._6S1+this._aS1}this._5S1=_H7;this._6S1=_L7;this._3T1(_H7+_GT1,_L7+_HT1)}}}};_ZR1.prototype._3T1=function(_lw,_MT1){var _L9=new _oo();var _z9=new _oo();var _D9=new _oo();_L9._Wo=_lw;_L9._Xo=_MT1;_L9._Yo=-16000.0;
_z9._Wo=_lw;_z9._Xo=_MT1;_z9._Yo=0.0;_D9._Wo=Math.sin(-this._dS1*(Math.PI/180.0));_D9._Xo=Math.cos(-this._dS1*(Math.PI/180.0));_D9._Yo=0.0;var _NT1=new _4o();_NT1._ro(_L9,_z9,_D9);var _OT1=new _4o();_OT1._Bo(this._7S1,this._8S1,1,32000.0);this._FS1(_NT1);this._HS1(_OT1)};_ZR1.prototype._PT1=function(_lw,_MT1){var _L9=new _oo();var _z9=new _oo();var _D9=new _oo();_L9._Wo=_lw;_L9._Xo=_MT1;_L9._Yo=-(this._7S1);_z9._Wo=_lw;_z9._Xo=_MT1;_z9._Yo=0.0;_D9._Wo=Math.sin(-this._dS1*(Math.PI/180.0));_D9._Xo=Math.cos(-this._dS1*(Math.PI/180.0));
_D9._Yo=0.0;var _NT1=new _4o();_NT1._ro(_L9,_z9,_D9);var _OT1=new _4o();_OT1._Co(1.0,-(this._8S1)/(this._7S1),1,32000.0);this._FS1(_NT1);this._HS1(_OT1)};;;;;;;;;;;;;;;;;;;;;;;;;;;;;;var _QT1=!1,_RT1=-1,_ST1=-1,_TT1=0,_UT1=1,_VT1=2,_WT1=3,_XT1=4,_YT1=5,_ZT1=6,__T1=7,_0U1=8,_1U1=9,_2U1=10,_3U1=11,_4U1=[0,0,0],_5U1=[0,0,0],_6U1=[0,0,0,0,0,0],_7U1=[0,0,0],_8U1=[0,0,0],_9U1=[0,0,0],_aU1=[0,0,0],_bU1=[0,0,0],_cU1=[0,0,0],_dU1=[0,0,0],_eU1=0,_fU1=0;function _gU1(){if(_j6){if((_k6._l6()<=30)||(_hU1<=30)){return 1.0}
if((_k6._l6()/_hU1)<1.2){return 30.0/_k6._l6();}else {return 30.0/_hU1}}else {if((_h6._i6()<=30)||(_hU1<=30)){return 1.0}if((_h6._i6()/_hU1)<1.2){return 30.0/_h6._i6()}else {return 30.0/_hU1}}}function _iU1(){if(!_eI(_RT1)){_RT1=_sh();if(_j6){_kI(_RT1,50)}else {_kI(_RT1,100000)}}if(!_eI(_ST1)){_ST1=_sh();if(_j6){_kI(_ST1,-15000)}else {_kI(_ST1,-100000)}}if(!_QT1){_jU1()}}function _jU1(){var _Q7;_QT1=true;for(_Q7=0;_Q7<=5;_Q7++){_6U1[_Q7]=_th()}for(_Q7=0;_Q7<=2;_Q7++){_7U1[_Q7]=_th();_4U1[_Q7]=_th();_8U1[_Q7]=_th();
_5U1[_Q7]=_th();_9U1[_Q7]=_th();_aU1[_Q7]=_th();_bU1[_Q7]=_th();_cU1[_Q7]=_th();_dU1[_Q7]=_th()}_eU1=_th();_fU1=_th()}function _kU1(_lU1,_N6,_O6,_hc,_ac){var _1t=_gU1();if(_hc===0){_MI(_6U1[0],_mU1);_QI(_6U1[0],0.1,0.1,0.05*_1t,0);_oJ(_6U1[0],0,360,0,0,false);_sJ(_6U1[0],0,360,0,0);_qJ(_6U1[0],2*_1t,2*_1t,-0.1*_1t,0);_xh(_6U1[0],0.6,0);_iJ(_6U1[0],_wg(10.0/_1t),_wg(15.0/_1t));_yI(_lU1,_N6,_O6,_6U1[0],_ac,20);_MI(_6U1[1],_mU1);_QI(_6U1[1],0.1,0.1,0.1*_1t,0);_oJ(_6U1[1],0,360,0,0,false);_xh(_6U1[1],
0.8,0);_iJ(_6U1[1],_wg(15/_1t),_wg(15/_1t));_yI(_lU1,_N6,_O6,_6U1[1],_nU1,1);}else if(_hc==2){_MI(_6U1[4],_mU1);_QI(_6U1[4],0.4,0.4,0.2*_1t,0);_oJ(_6U1[4],0,360,0,0,false);_sJ(_6U1[4],0,360,0,0);_qJ(_6U1[4],7*_1t,7*_1t,-0.2*_1t,0);_xh(_6U1[4],0.6,0);_iJ(_6U1[4],_wg(15/_1t),_wg(20/_1t));_yI(_lU1,_N6,_O6,_6U1[4],_ac,20);_MI(_6U1[5],_mU1);_QI(_6U1[5],0.4,0.4,0.4*_1t,0);_oJ(_6U1[5],0,360,0,0,false);_xh(_6U1[5],0.8,0);_iJ(_6U1[5],_wg(20/_1t),_wg(20/_1t));_yI(_lU1,_N6,_O6,_6U1[5],_nU1,1)}else {_MI(_6U1[2],
_mU1);_QI(_6U1[2],0.3,0.3,0.1*_1t,0);_oJ(_6U1[2],0,360,0,0,false);_sJ(_6U1[2],0,360,0,0);_qJ(_6U1[2],4*_1t,4*_1t,-0.18*_1t,0);_xh(_6U1[2],0.6,0);_iJ(_6U1[2],_wg(12/_1t),_wg(17/_1t));_yI(_lU1,_N6,_O6,_6U1[2],_ac,20);_MI(_6U1[3],_mU1);_QI(_6U1[3],0.3,0.3,0.2*_1t,0);_oJ(_6U1[3],0,360,0,0,false);_xh(_6U1[3],0.8,0);_iJ(_6U1[3],_wg(17/_1t),_wg(17/_1t));_yI(_lU1,_N6,_O6,_6U1[3],_nU1,1)}}function _oU1(_lU1,_N6,_O6,_hc,_ac){var _1t=_gU1();if(_hc===0){_MI(_7U1[0],_pU1);_xh(_7U1[0],1,0);_QI(_7U1[0],0.0,0.0,0.15*_1t,
0.0);_iJ(_7U1[0],_wg(10.0/_1t),_wg(12.0/_1t));_yI(_lU1,_N6,_O6,_7U1[0],_ac,1)}else if(_hc==2){_MI(_7U1[2],_pU1);_xh(_7U1[2],1,0);_QI(_7U1[2],0,0,0.4*_1t,0);_iJ(_7U1[2],_wg(18.0/_1t),_wg(20.0/_1t));_yI(_lU1,_N6,_O6,_7U1[2],_ac,1)}else {_MI(_7U1[1],_pU1);_xh(_7U1[1],1,0);_QI(_7U1[1],0,0,0.25*_1t,0);_iJ(_7U1[1],_wg(13.0/_1t),_wg(15.0/_1t));_yI(_lU1,_N6,_O6,_7U1[1],_ac,1)}}function _qU1(_lU1,_N6,_O6,_hc,_ac){var _1t=_gU1();if(_hc===0){_MI(_4U1[0],_pU1);_xh(_4U1[0],1,0);_QI(_4U1[0],0,0,0.2*_1t,0);_SI(_4U1[0],
1,0.5);_iJ(_4U1[0],_wg(10.0/_1t),_wg(12.0/_1t));_yI(_lU1,_N6,_O6,_4U1[0],_ac,1)}else if(_hc==2){_MI(_4U1[2],_pU1);_xh(_4U1[2],1,0);_QI(_4U1[2],0,0,0.6*_1t,0);_SI(_4U1[2],1,0.5);_iJ(_4U1[2],_wg(18.0/_1t),_wg(20.0/_1t));_yI(_lU1,_N6,_O6,_4U1[2],_ac,1)}else {_MI(_4U1[1],_pU1);_xh(_4U1[1],1,0);_QI(_4U1[1],0,0,0.35*_1t,0);_SI(_4U1[1],1,0.5);_iJ(_4U1[1],_wg(13.0/_1t),_wg(15.0/_1t));_yI(_lU1,_N6,_O6,_4U1[1],_ac,1)}}function _rU1(_lU1,_N6,_O6,_hc,_ac){var _1t=_gU1();if(_hc===0){_MI(_8U1[1],_sU1);_QI(_8U1[1],
0.1,0.2,0,0);_qJ(_8U1[1],0.5*_1t,3.0*_1t,0.0,0.0);_sJ(_8U1[1],0,360,0,0);_xh(_8U1[1],1,0.4);_iJ(_8U1[1],_wg(15.0/_1t),_wg(25.0/_1t));_uJ(_8U1[1],0.10*_1t,270);_yI(_lU1,_N6,_O6,_8U1[1],_ac,75)}else if(_hc==2){_MI(_8U1[1],_sU1);_QI(_8U1[1],0.1,0.2,0,0);_qJ(_8U1[1],0.5*_1t,8.0*_1t,0.0,0.0);_sJ(_8U1[1],0,360,0,0);_xh(_8U1[1],1,0.4);_iJ(_8U1[1],_wg(30.0/_1t),_wg(40.0/_1t));_uJ(_8U1[1],0.17*_1t,270);_yI(_lU1,_N6,_O6,_8U1[1],_ac,250)}else {_MI(_8U1[1],_sU1);_QI(_8U1[1],0.1,0.2,0,0);_qJ(_8U1[1],0.5*_1t,6.0*_1t,
0.0,0.0);_sJ(_8U1[1],0,360,0,0);_xh(_8U1[1],1,0.4);_iJ(_8U1[1],_wg(20.0/_1t),_wg(30.0/_1t));_uJ(_8U1[1],0.15*_1t,270);_yI(_lU1,_N6,_O6,_8U1[1],_ac,150)}}function _tU1(_lU1,_N6,_O6,_hc,_ac){var _Q7;var _1t=_gU1();if(_hc===0){_MI(_5U1[0],_mU1);_QI(_5U1[0],0.2,0.4,-0.01*_1t,0);_xh(_5U1[0],0.4,0);_iJ(_5U1[0],_wg(25.0/_1t),_wg(25.0/_1t));for(_Q7=0;_Q7<=5;_Q7++){_yI(_lU1,_N6-5+_uU1(10),_O6-5+_uU1(10),_5U1[0],_ac,1)}}else if(_hc===2){_MI(_5U1[2],_mU1);_QI(_5U1[2],0.4,1,-0.01*_1t,0);_xh(_5U1[2],0.4,0);_iJ(_5U1[2],
_wg(50.0/_1t),_wg(50.0/_1t));for(_Q7=0;_Q7<=15;_Q7++){_yI(_lU1,_N6-30+_uU1(60),_O6-30+_uU1(60),_5U1[2],_ac,1)}}else {_MI(_5U1[1],_mU1);_QI(_5U1[1],0.4,0.7,-0.01*_1t,0);_xh(_5U1[1],0.4,0);_iJ(_5U1[1],_wg(30.0/_1t),_wg(30.0/_1t));for(_Q7=0;_Q7<=10;_Q7++){_yI(_lU1,_N6-15+_uU1(30),_O6-15+_uU1(30),_5U1[1],_ac,1)}}}function _vU1(_lU1,_N6,_O6,_hc,_ac){var _Q7;var _1t=_gU1();if(_hc===0){_MI(_9U1[0],_mU1);_QI(_9U1[0],0.2,0.4,-0.01*_1t,0);_xh(_9U1[0],0.4,0);_qJ(_9U1[0],3.0*_1t,4.0*_1t,0,0);_sJ(_9U1[0],90,90,0,
0);_iJ(_9U1[0],_wg(25.0/_1t),_wg(25.0/_1t));for(_Q7=0;_Q7<=5;_Q7++){_yI(_lU1,_N6-5+_uU1(10),_O6-5+_uU1(10),_9U1[0],_ac,1)}}else if(_hc===2){_MI(_9U1[2],_mU1);_QI(_9U1[2],0.4,1,-0.01*_1t,0);_xh(_9U1[2],0.4,0);_qJ(_9U1[2],6.0*_1t,7.0*_1t,0,0);_sJ(_9U1[2],90,90,0,0);_iJ(_9U1[2],_wg(50.0/_1t),_wg(50.0/_1t));for(_Q7=0;_Q7<=15;_Q7++){_yI(_lU1,_N6-30+_uU1(60),_O6-30+_uU1(60),_9U1[2],_ac,1)}}else {_MI(_9U1[1],_mU1);_QI(_9U1[1],0.4,0.7,-0.01*_1t,0);_xh(_9U1[1],0.4,0);_qJ(_9U1[1],5.0*_1t,6.0*_1t,0,0);_sJ(_9U1[1],
90,90,0,0);_iJ(_9U1[1],_wg(30.0/_1t),_wg(30.0/_1t));for(_Q7=0;_Q7<=10;_Q7++){_yI(_lU1,_N6-15+_uU1(30),_O6-15+_uU1(30),_9U1[1],_ac,1)}}}function _wU1(_lU1,_N6,_O6,_hc,_ac){var _1t=_gU1();if(_hc===0){_MI(_aU1[0],_xU1);_QI(_aU1[0],0.4,0.3,-0.02*_1t,0);_oJ(_aU1[0],0,360,0,0,false);_iJ(_aU1[0],_wg(20/_1t),_wg(20/_1t));_yI(_lU1,_N6,_O6,_aU1[0],_ac,1)}else if(_hc===2){_MI(_aU1[2],_xU1);_QI(_aU1[2],1.2,1.2,-0.04*_1t,0);_oJ(_aU1[2],0,360,0,0,false);_iJ(_aU1[2],_wg(30/_1t),_wg(30/_1t));_yI(_lU1,_N6,_O6,_aU1[2],
_ac,1)}else {_MI(_aU1[1],_xU1);_QI(_aU1[1],0.75,0.75,-0.03*_1t,0);_oJ(_aU1[1],0,360,0,0,false);_iJ(_aU1[1],_wg(25/_1t),_wg(25/_1t));_yI(_lU1,_N6,_O6,_aU1[1],_ac,1)}}function _yU1(_lU1,_N6,_O6,_hc,_ac){var _1t=_gU1();if(_hc===0){_MI(_bU1[0],_zU1);_QI(_bU1[0],0.4,0.4,-0.02*_1t,0);_oJ(_bU1[0],0,360,0,0,false);_iJ(_bU1[0],_wg(20/_1t),_wg(20/_1t));_yI(_lU1,_N6,_O6,_bU1[0],_ac,1)}else if(_hc===2){_MI(_bU1[2],_zU1);_QI(_bU1[2],1.2,1.2,-0.04*_1t,0);_oJ(_bU1[2],0,360,0,0,false);_iJ(_bU1[2],_wg(30/_1t),_wg(30/_1t));
_yI(_lU1,_N6,_O6,_bU1[2],_ac,1)}else {_MI(_bU1[1],_zU1);_QI(_bU1[1],0.75,0.75,-0.03*_1t,0);_oJ(_bU1[1],0,360,0,0,false);_iJ(_bU1[1],_wg(25/_1t),_wg(25/_1t));_yI(_lU1,_N6,_O6,_bU1[1],_ac,1)}}function _AU1(_lU1,_N6,_O6,_hc,_ac){var _1t=_gU1();if(_hc===0){_MI(_cU1[0],_sU1);_QI(_cU1[0],0.4,0.4,-0.02*_1t,0);_oJ(_cU1[0],0,360,0,0,false);_iJ(_cU1[0],_wg(20/_1t),_wg(20/_1t));_yI(_lU1,_N6,_O6,_cU1[0],_ac,1)}else if(_hc===2){_MI(_cU1[2],_sU1);_QI(_cU1[2],1.2,1.2,-0.04*_1t,0);_oJ(_cU1[2],0,360,0,0,false);_iJ(_cU1[2],
_wg(30/_1t),_wg(30/_1t));_yI(_lU1,_N6,_O6,_cU1[2],_ac,1)}else {_MI(_cU1[1],_sU1);_QI(_cU1[1],0.75,0.75,-0.03*_1t,0);_oJ(_cU1[1],0,360,0,0,false);_iJ(_cU1[1],_wg(25/_1t),_wg(25/_1t));_yI(_lU1,_N6,_O6,_cU1[1],_ac,1)}}function _BU1(_lU1,_N6,_O6,_hc,_ac){var _1t=_gU1();if(_hc===0){_MI(_dU1[0],_mU1);_QI(_dU1[0],2,2,0,0);_SI(_dU1[0],1,0.5);_gJ(_dU1[0],0,0.3,0);_iJ(_dU1[0],_wg(100.0/_1t),_wg(100.0/_1t));_yI(_lU1,_N6,_O6,_dU1[0],_ac,1)}else if(_hc===2){_MI(_dU1[2],_mU1);_QI(_dU1[2],8,8,0,0);_SI(_dU1[2],1,0.5);
_gJ(_dU1[2],0,0.3,0);_iJ(_dU1[2],_wg(100.0/_1t),_wg(100.0/_1t));_yI(_lU1,_N6,_O6,_dU1[2],_ac,1)}else {_MI(_dU1[1],_mU1);_QI(_dU1[1],4,4,0,0);_SI(_dU1[1],1,0.5);_gJ(_dU1[1],0,0.3,0);_iJ(_dU1[1],_wg(100.0/_1t),_wg(100.0/_1t));_yI(_lU1,_N6,_O6,_dU1[1],_ac,1)}}function _CU1(_lU1,_N6,_O6,_hc,_ac){var _Q7;var _1t=_gU1();_MI(_eU1,_DU1);_QI(_eU1,0.2,0.3,0.0,0.0);_oJ(_eU1,0,0,0,0,true);_qJ(_eU1,7*_1t,7*_1t,0,0);_sJ(_eU1,260,260,0,0);_dJ(_eU1,0.4);_iJ(_eU1,_wg(0.2*_h6._P_()/_1t),_wg(0.2*_h6._P_()/_1t));if(_hc===0){
for(_Q7=0;_Q7<=1;_Q7++){_yI(_lU1,_uU1(1)*1.2*_h6._yT1(),-30.0+_uU1(20),_eU1,_ac,1)}}else if(_hc==2){for(_Q7=0;_Q7<=8;_Q7++){_yI(_lU1,_uU1(1)*1.2*_h6._yT1(),-30.0+_uU1(20),_eU1,_ac,1)}}else {for(_Q7=0;_Q7<=4;_Q7++){_yI(_lU1,_uU1(1)*1.2*_h6._yT1(),-30.0+_uU1(20),_eU1,_ac,1)}}}function _EU1(_lU1,_N6,_O6,_hc,_ac){var _Q7;var _1t=_gU1();_MI(_fU1,_FU1);_QI(_fU1,0.1,0.25,0.0,0.0);_dJ(_fU1,0.6);_oJ(_fU1,0,360,0,0,false);_qJ(_fU1,2.5*_1t,3.0*_1t,0.0,0.0);_sJ(_fU1,240,300,0,20);_iJ(_fU1,_wg(0.5*_h6._P_()/_1t),
_wg(0.5*_h6._P_()/_1t));if(_hc===0){for(_Q7=0;_Q7<=0;_Q7++){_yI(_lU1,_uU1(1)*1.2*_h6._yT1()-60,-30.0+_uU1(20),_fU1,_ac,1)}}else if(_hc===2){for(_Q7=0;_Q7<=6;_Q7++){_yI(_lU1,_uU1(1)*1.2*_h6._yT1()-60,-30.0+_uU1(20),_fU1,_ac,1)}}else {for(_Q7=0;_Q7<=2;_Q7++){_yI(_lU1,_uU1(1)*1.2*_h6._yT1()-60,-30.0+_uU1(20),_fU1,_ac,1)}}}function _GU1(_HU1,_Mb,_N6,_O6,_hc,_ac){var _zZ;_iU1();if(_HU1){_zZ=_RT1}else {_zZ=_ST1}switch(_Mb){case _TT1:_kU1(_zZ,_N6,_O6,_hc,_ac);break;case _UT1:_oU1(_zZ,_N6,_O6,_hc,_ac);break;case _VT1:_qU1(_zZ,
_N6,_O6,_hc,_ac);break;case _WT1:_rU1(_zZ,_N6,_O6,_hc,_ac);break;case _XT1:_tU1(_zZ,_N6,_O6,_hc,_ac);break;case _YT1:_vU1(_zZ,_N6,_O6,_hc,_ac);break;case _ZT1:_wU1(_zZ,_N6,_O6,_hc,_ac);break;case __T1:_yU1(_zZ,_N6,_O6,_hc,_ac);break;case _0U1:_AU1(_zZ,_N6,_O6,_hc,_ac);break;case _1U1:_BU1(_zZ,_N6,_O6,_hc,_ac);break;case _2U1:_CU1(_zZ,_N6,_O6,_hc,_ac);break;case _3U1:_EU1(_zZ,_N6,_O6,_hc,_ac);break }}var _IU1=!1,_BU=!1,_JU1=!0;function _KU1(_LU1){if(_LU1){_IU1=true}else {_BU=false;_IU1=false;if(_JU1){_MU1=false}
}}function _NU1(){if(window["page"]===undefined){_JU1=false;window.addEventListener("focus",function(){_KU1(false)});window.addEventListener("blur",function(){_KU1(true)});window.addEventListener("click",function(){_KU1(false)})}}function _OU1(){if(_IU1){_BU=true;_IU1=false}else if(_BU){_BU=false;if(_JU1){_MU1=true}}}function _PU1(){var _gP,_Q7,_QU1;var _gf=null;if(_h6._hf){_gf=_h6._jf}var _xg=_h6._vB._xg;var _H8=_RU1++;for(var _SU1=0;_SU1<_xg.length;_SU1++){var _rB=_xg[_SU1];var _CB=_rB._CB;if(!_rB._oB&&(_rB._TU1<=_H8)){
if(_CB._UU1[_VU1]){var _WU1=false;if(_qF(_rB._XU1)||_qF(_rB._YU1)){_gP=_rB._ZU1();_WU1=((_gP.right<0)||(_gP.left>_h6._yT1())||(_gP.bottom<0)||(_gP.top>_h6._P_()))}else {_WU1=((_rB.x<0)||(_rB.x>_h6._yT1())||(_rB.y<0)||(_rB.y>_h6._P_()))}if(_WU1){if(!_rB.__U1){_rB._67(_VU1,_0V1,_rB,_rB)}}_rB.__U1=_WU1}if(_CB._UU1[_1V1]){if(_qF(_rB._XU1)||_qF(_rB._YU1)){_gP=_rB._ZU1();if((_gP.left<0)||(_gP.right>_h6._yT1())||(_gP.top<0)||(_gP.bottom>_h6._P_())){_rB._67(_1V1,_0V1,_rB,_rB)}}else {if((_rB.x<0)||(_rB.x>_h6._yT1())||(_rB.y<0)||(_rB.y>_h6._P_())){
_rB._67(_1V1,_0V1,_rB,_rB)}}}if(_gf){for(_QU1=0;_QU1<_gf.length;_QU1++){var _2V1=_gf[_QU1];if(_2V1._W3){var _3V1=_2V1._uQ;var _4V1=_2V1._wQ;var _5V1=_2V1._uQ+_2V1._yQ;var _6V1=_2V1._wQ+_2V1._AQ;var _MS1=_7V1._tS1(_2V1._8V1);if(_MS1!=null){_3V1=_MS1._4T1();_4V1=_MS1._6T1();_5V1=_MS1._4T1()+_MS1._5T1();_6V1=_MS1._6T1()+_MS1._7T1()}if(_CB._UU1[_9V1+_QU1]){if(_qF(_rB._XU1)||_qF(_rB._YU1)){_gP=_rB._ZU1();if((_gP.right<_3V1)||(_gP.left>_5V1)||(_gP.bottom<_4V1)||(_gP.top>_6V1)){_rB._67(_9V1+_QU1,_0V1,_rB,_rB)}
}else {if((_rB.x<_3V1)||(_rB.x>_5V1)||(_rB.y<_4V1)||(_rB.y>_6V1)){_rB._67(_9V1+_QU1,_0V1,_rB,_rB)}}}if(_CB._UU1[_aV1+_QU1]){if(_qF(_rB._XU1)||_qF(_rB._YU1)){_gP=_rB._ZU1();if((_gP.left<_3V1)||(_gP.right>_5V1)||(_gP.top<_4V1)||(_gP.bottom>_6V1)){_rB._67(_aV1+_QU1,_0V1,_rB,_rB)}}else {if((_rB.x<_3V1)||(_rB.x>_5V1)||(_rB.y<_4V1)||(_rB.y>_6V1)){_rB._67(_aV1+_QU1,_0V1,_rB,_rB)}}}}}}}}}function _bV1(){for(var _BE1 in _CE1){if(!_CE1.hasOwnProperty(_BE1))continue;var _cV1=_26._8g(_BE1);var _dV1=_cV1._NK();var _H8=_RU1++;
for(var _9E1=0;_9E1<_dV1.length;_9E1++){var _eV1=_dV1[_9E1];if(!_eV1._oB&&_eV1._tB&&(_eV1._TU1<=_H8)){var _fV1=_CE1[_BE1];for(var _gV1 in _fV1){if(!_fV1.hasOwnProperty(_gV1))continue;var _wh1=_fV1[_gV1];var _hV1=_26._8g(_wh1);var _iV1=_hV1._NK();for(var _aE1=0;_aE1<_iV1.length;_aE1++){var _jV1=_iV1[_aE1];if(!_jV1._oB&&_jV1._tB&&(_jV1._TU1<=_H8)){if((_eV1._CB==_jV1._CB)&&(_aE1<_9E1))continue;if(_eV1._jB(_jV1,true)){if((_eV1._sH)||(_jV1._sH)){_eV1.x=_eV1._kV1;_eV1.y=_eV1._lV1;_eV1._KT1=true;_eV1._mV1=_eV1._nV1;
_jV1.x=_jV1._kV1;_jV1.y=_jV1._lV1;_jV1._KT1=true;_jV1._mV1=_jV1._nV1}_eV1._67(_iE1,_jV1._CB._NB,_eV1,_jV1);_jV1._67(_iE1,_eV1._CB._NB,_jV1,_eV1);if((_eV1._sH)||(_jV1._sH)){_eV1._WD1();_jV1._WD1();_eV1._Oc(_eV1.x+_eV1._o4,_eV1.y+_eV1._p4);_jV1._Oc(_jV1.x+_jV1._o4,_jV1.y+_jV1._p4);if(_eV1._jB(_jV1,true)){_eV1.x=_eV1._kV1;_eV1.y=_eV1._lV1;_eV1._KT1=true;_eV1._mV1=_eV1._nV1;_jV1.x=_jV1._kV1;_jV1.y=_jV1._lV1;_jV1._KT1=true;_jV1._mV1=_jV1._nV1}}}}}}}}}}function _oV1(){if(_h6){var _gf,_Ki,_pV1,_qV1;if(!_h6._hf){
_gf=_if}else {_gf=_h6._jf}var _H8=_RU1++;for(var _y9=0;_y9<_gf.length;_y9++){var _kf=_gf[_y9];if(_kf._W3){_lf(canvas,_mf);_pV1=_Hf._zR-_mf.left;_qV1=_Hf._AR-_mf.top;if((_pV1>=_kf._nf)&&(_pV1<_kf._of)&&(_qV1>=_kf._pf)&&(_qV1<_kf._qf)){var _S7=_X5._yR;var _U7=_X5._CR;var _rV1=_26._rH();for(var _7u=0;_7u<_rV1.length;_7u++){var _pB=_rV1[_7u];var _sV1=_pB._UU1;if(_sV1[_tV1]||_sV1[_uV1]||_sV1[_vV1]||_sV1[_wV1]||_sV1[_xV1]||_sV1[_yV1]||_sV1[_zV1]||_sV1[_AV1]||_sV1[_BV1]||_sV1[_CV1]||_sV1[_DV1]||_sV1[_EV1]||_sV1[_FV1]||_sV1[_GV1]){
if(_pB._HV1.length>0){var _IV1=_pB._HV1._xg.slice(0);for(var _Q7=_IV1.length-1;_Q7>=0;_Q7--){var _sB=_IV1[_Q7];if(!_sB._oB&&(_sB._TU1<=_H8)){{if(_sB._KT1)_sB._LT1();if(_sB._wB(_S7,_U7,true)){var _JV1=true;for(_Ki=0;_Ki<3;_Ki++){if(_Hf._Nd[_Ki]){if(_sV1[_tV1+_Ki]){_sB._67(_tV1+_Ki,0,_sB,_sB)}_JV1=false}}for(_Ki=0;_Ki<3;_Ki++){if(_Hf._Id[_Ki]===1){if(_sV1[_wV1+_Ki]){_sB._67(_wV1+_Ki,0,_sB,_sB)}_JV1=false}}for(_Ki=0;_Ki<3;_Ki++){if(_Hf._Md[_Ki]===1){if(_sV1[_zV1+_Ki]){_sB._67(_zV1+_Ki,0,_sB,_sB)}}}if(_JV1){
_sB._67(_CV1,0,_sB,_sB)}if(!_sB._KV1){_sB._67(_DV1,0,_sB,_sB);_sB._KV1=true}}else {if(_sB._KV1){_sB._67(_EV1,0,_sB,_sB);_sB._KV1=false}}}}}}}}for(_Ki=0;_Ki<3;_Ki++){if(_Hf._Nd[_Ki]){_aB._67(_LV1+_Ki,0)}}for(_Ki=0;_Ki<3;_Ki++){if(_Hf._Id[_Ki]===1){_aB._67(_MV1+_Ki,0)}}for(_Ki=0;_Ki<3;_Ki++){if(_Hf._Md[_Ki]===1){_aB._67(_NV1+_Ki,0)}}if(_OV1){_aB._67(_FV1,0)}if(_PV1){_aB._67(_GV1,0)}}}}}}function _QV1(){var _X9,_Y9,_R7;var _xg=_h6._vB._xg;var _H8=_RU1++;for(var _rB=0;_rB<_xg.length;_rB++){var _sB=_xg[_rB];
if(!_sB._oB&&(_sB._RV1>=0)&&(_sB._TU1<=_H8)){if(!_sB._SV1){var _6v=_7v._8g(_sB._RV1);if((_6v!==null)&&(_6v!==undefined)){if(_sB._TV1>0){_X9=_6v._UV1(_sB._VV1);_sB._VV1+=_sB._TV1;_Y9=_6v._UV1(_sB._VV1);for(_R7=_X9;_R7<_Y9;_R7++){_1v(_sB,_sB,_sB._RV1,_R7)}if(_sB._WV1&&(_sB._VV1>_6v._XV1())){_sB._VV1=0}}else {_X9=_6v._YV1(_sB._VV1);_sB._VV1+=_sB._TV1;_Y9=_6v._YV1(_sB._VV1);for(_R7=_X9;_R7>_Y9;_R7--){_1v(_sB,_sB,_sB._RV1,_R7)}if(_sB._WV1&&(_sB._VV1<0)){_sB._VV1=_6v._XV1()}}}}}}}function _ZV1(){var _xg=_h6._vB._xg;
var _H8=_RU1++;for(var _rB=0;_rB<_xg.length;_rB++){var _sB=_xg[_rB];if(!_sB._oB&&(_sB._TU1<=_H8)){for(var _k9=0;_k9<__V1;_k9++){var event=_0W1|(_k9+1);var _pB=_sB._CB;if(_pB._UU1[event]){var _1W1;_1W1=~~(_sB._v5[_k9]);if(_1W1>=0){_1W1--;_sB._v5[_k9]=_1W1}if(_1W1===0){_sB._67(_0W1|(_k9+1),0,_sB,_sB)}}}}}}(function(window){if(!Object.defineProperty){throw("Font.js requires Object.defineProperty, which this browser does not support.")}if(!document.createElement("canvas").getContext){throw("Font.js requires <canvas> and the Canvas2D API, which this browser does not support.")}
(function(window){try{var _k9=new Uint8Array(1);return }catch(e){}function subarray(start,end){return this.slice(start,end)}function _2W1(_uO1,offset){var _Q7,_r7=_uO1.length;if(arguments.length<2){offset=0}for(_Q7=0;_Q7<_r7;++_Q7,++offset){this[offset]=_uO1[_Q7]&0xFF}}function _3W1(_MT1){var _Hs,_Q7;if(typeof _MT1==="number"){_Hs=new Array(_MT1);for(_Q7=0;_Q7<_MT1;++_Q7){_Hs[_Q7]=0}}else {_Hs=_MT1.slice(0)}_Hs.subarray=subarray;_Hs.buffer=_Hs;_Hs.byteLength=_Hs.length;_Hs.set=_2W1;if(typeof _MT1==="object"&&_MT1.buffer){
_Hs.buffer=_MT1.buffer}return _Hs}window.Uint8Array=_3W1;window.Uint32Array=_3W1;window.Int32Array=_3W1}(window));(function(window){if(window.opera)return;if("response" in XMLHttpRequest.prototype||"mozResponseArrayBuffer" in XMLHttpRequest.prototype||"mozResponse" in XMLHttpRequest.prototype||"responseArrayBuffer" in XMLHttpRequest.prototype){return }var getter;if(window.VBArray){getter=function(){return new Uint8Array(new window.VBArray(this.responseBody)._4W1())}}else {getter=function(){return this.responseBody}
}Object.defineProperty(XMLHttpRequest.prototype,"response",{get:getter})}(window));if(!window.btoa){window.btoa=function(data){var _hv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var _iv,_jv,_kv,_lv,_mv,_nv,_ov,_pv,_Q7=0,_qv=0,_rv="",_sv=[];if(!data){return data}do {_iv=data.charCodeAt(_Q7++);_jv=data.charCodeAt(_Q7++);_kv=data.charCodeAt(_Q7++);_pv=_iv<<16|_jv<<8|_kv;_lv=_pv>>18&0x3f;_mv=_pv>>12&0x3f;_nv=_pv>>6&0x3f;_ov=_pv&0x3f;_sv[_qv++]=_hv.charAt(_lv)+_hv.charAt(_mv)+_hv.charAt(_nv)+_hv.charAt(_ov)}
while(_Q7<data.length);_rv=_sv.join('');var _J7=data.length%3;return(_J7?_rv.slice(0,_J7-3):_rv)+'==='.slice(_J7||3)}}function Font(){this._5W1="fjs"+(999999*Math.random()|0)}Font.prototype._OM="";Font.prototype._6W1="";Font.prototype.data="";Font.prototype._7W1="AAEAAAAKAIAAAwAgT1MvMgAAAAAAAACsAAAAWGNtYXAA"+"AAAAAAABBAAAACxnbHlmAAAAAAAAATAAAAAQaGVhZAAAA"+"AAAAAFAAAAAOGhoZWEAAAAAAAABeAAAACRobXR4AAAAAA"+"AAAZwAAAAIbG9jYQAAAAAAAAGkAAAACG1heHAAAAAAAAA"+"BrAAAACBuYW1lAAAAAAAAAcwAAAAgcG9zdAAAAAAAAAHs"+"AAAAEAAEAAEAZAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"+"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"+"AAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAABAAMAAQA"+"AAAwABAAgAAAABAAEAAEAAABB//8AAABB////wAABAAAA"+"AAABAAAAAAAAAAAAAAAAMQAAAQAAAAAAAAAAAABfDzz1A"+"AAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAEAAg"+"AAAAAAAAABAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAA"+"AAAAAAAAAAQAAAAAAAAAAAAAAAAAIAAAAAQAAAAIAAQAB"+"AAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIAHgADAAEEC"+"QABAAAAAAADAAEECQACAAIAAAAAAAEAAAAAAAAAAAAAAA"+"AAAA==";
Font.prototype._8W1={_9W1:0,_aW1:0,_bW1:0,_cW1:0,_dW1:400};Font.prototype._eW1=!1;Font.prototype._lO=!1;Font.prototype.onload=function(){};Font.prototype.onerror=function(){};Font.prototype.canvas=!1;Font.prototype.context=!1;Font.prototype.validate=function(target,_rd1,_fW1,font,_gW1){if(_gW1!==!1&&_gW1<0){this.onerror("Requested system font '"+this._5W1+"' could not be loaded (it may not be installed).");return }var _hW1=document._iW1.getComputedStyle(target,'');var width=_hW1.getPropertyValue("width").replace("px",
'');if(width>0){document._jW1.removeChild(_rd1);document.body.removeChild(target);this._lO=!0;this.onload()}else {setTimeout(function(){font.validate(target,_rd1,_fW1,font,_gW1===!1?!1:_gW1-50)},50)}};Font.prototype._kW1=function(){var _Ip1=this;var _wv=function(_Cd){return String.fromCharCode(_Cd)};var _lW1=function(_Cd){if(_Cd<256){return _wv(0)+_wv(_Cd)}var _Yu=_Cd>>8;var _Zu=_Cd&0xFF;return _wv(_Yu)+_wv(_Zu)};var _mW1=function(_Cd){if(_Cd<0){_Cd=0xFFFFFFFF+_Cd+1}return parseInt(_Cd,10).toString(16);};var _nW1=function(_Yu,
_Zu){return 256*_Yu+_Zu};var _oW1=function(_Yu,_Zu){var _pW1=_Yu>>7===1,_Cd;_Yu=_Yu&0x7F;_Cd=256*_Yu+_Zu;if(!_pW1){return _Cd}return _Cd-0x8000};var _qW1=function(_Yu,_Zu,_rW1,_sW1){return 16777216*_Yu+65536*_Zu+256*_rW1+_sW1};var error=function(_qs){_Ip1.onerror(_qs)};var _tW1=_wv(0)+_wv(1)+_wv(0)+_wv(0);var _uW1="OTTO";var data=this.data;var version=_wv(data[0])+_wv(data[1])+_wv(data[2])+_wv(data[3]);var _vW1=(version===_tW1);var _wW1=(_vW1?!1:version===_uW1);if(_vW1){this._6W1="truetype";}else if(_wW1){this._6W1="opentype"}
else {error("Error: file at "+this._OM+" cannot be interpreted as OpenType font.");return }var _xW1=_nW1(data[4],data[5]),_yW1=12,_zW1,end=_yW1+16*_xW1,_AW1={},_5d1;for(_zW1=_yW1;_zW1<end;_zW1+=16){_5d1=_wv(data[_zW1])+_wv(data[_zW1+1])+_wv(data[_zW1+2])+_wv(data[_zW1+3]);_AW1[_5d1]={name:_5d1,_BW1:_qW1(data[_zW1+4],data[_zW1+5],data[_zW1+6],data[_zW1+7]),offset:_qW1(data[_zW1+8],data[_zW1+9],data[_zW1+10],data[_zW1+11]),length:_qW1(data[_zW1+12],data[_zW1+13],data[_zW1+14],data[_zW1+15])}}var _CW1=function(_5d1){
if(!_AW1[_5d1]){error("Error: font is missing the required OpenType '"+_5d1+"' table.");return !1}return _5d1};_5d1=_CW1("head");if(_5d1===!1){return }_zW1=_AW1[_5d1].offset;_AW1[_5d1].version=""+data[_zW1]+data[_zW1+1]+data[_zW1+2]+data[_zW1+3];var _DW1=_nW1(data[_zW1+18],data[_zW1+19]);this._8W1._9W1=_DW1;_5d1=_CW1("hhea");if(_5d1===!1){return }_zW1=_AW1[_5d1].offset;_AW1[_5d1].version=""+data[_zW1]+data[_zW1+1]+data[_zW1+2]+data[_zW1+3];this._8W1._bW1=_oW1(data[_zW1+4],data[_zW1+5])/_DW1;this._8W1._cW1=_oW1(data[_zW1+6],
data[_zW1+7])/_DW1;this._8W1._aW1=_oW1(data[_zW1+8],data[_zW1+9])/_DW1;_5d1=_CW1("OS/2");if(_5d1===!1){return }_zW1=_AW1[_5d1].offset;_AW1[_5d1].version=""+data[_zW1]+data[_zW1+1];this._8W1._dW1=_nW1(data[_zW1+4],data[_zW1+5]);_5d1=_CW1("cmap");if(_5d1===!1){return }_zW1=_AW1[_5d1].offset;_AW1[_5d1].version=""+data[_zW1]+data[_zW1+1];_xW1=_nW1(data[_zW1+2],data[_zW1+3]);var _EW1,_FW1,_GW1,_HW1,offset,_IW1=!1;for(_EW1=0;_EW1<_xW1;_EW1++){_FW1=_zW1+4+_EW1*8;_GW1=_nW1(data[_FW1],data[_FW1+1]);_HW1=_nW1(data[_FW1+2],
data[_FW1+3]);offset=_qW1(data[_FW1+4],data[_FW1+5],data[_FW1+6],data[_FW1+7]);if(_GW1===3&&_HW1===1){_IW1=offset}}var _JW1="A";this._KW1=[];if(_IW1!==!1){_zW1+=_IW1;version=_nW1(data[_zW1],data[_zW1+1]);if(version===4){var _LW1=_nW1(data[_zW1+6],data[_zW1+7])/2;var _MW1=function(_wv){return [0x0009,0x000A,0x000B,0x000C,0x000D,0x0020,0x0085,0x00A0,0x1680,0x180E,0x2000,0x2001,0x2002,0x2003,0x2004,0x2005,0x2006,0x2007,0x2008,0x2009,0x200A,0x2028,0x2029,0x202F,0x205F,0x3000].indexOf(_wv)===-1};var _Q7=_zW1+14,
e=_zW1+14+2*_LW1,_NW1=!1;for(;_Q7<e;_Q7+=2){_NW1=_nW1(data[_Q7],data[_Q7+1]);if(_MW1(_NW1)){break }_NW1=!1}var _ps=e+2;for(;_Q7<e;_Q7+=2,_ps+=2){var _OW1=_nW1(data[_Q7],data[_Q7+1]);var _PW1=_nW1(data[_ps],data[_ps+1]);if(_OW1!=0xffff){for(var _r7=_PW1;_r7<=_OW1;++_r7){this._KW1.push(_r7)}}}if(_NW1!==!1){_JW1=String.fromCharCode(_NW1);var _lH1=-(_NW1-1)+65536;var _QW1=btoa(_wv(0)+_lW1(_NW1)+_lW1(0xFFFF)+_lW1(0)+_lW1(_NW1)+_lW1(0xFFFF)+_lW1(_lH1)+_lW1(1));this._7W1=this._7W1.substring(0,380)+_QW1+this._7W1.substring(380+_QW1.length)}
}}this._RW1(_JW1,!1)};Font.prototype._RW1=function(_JW1,_gW1){var _SW1=this._5W1+" testfont";var _TW1=document.createElement("style");_TW1.setAttribute("type","text/css");_TW1.innerHTML="@font-face {\n"+"  font-family: '"+_SW1+"';\n"+"  src: url('data:application/x-font-ttf;base64,"+this._7W1+"')\n"+"       format('truetype');}";document._jW1.appendChild(_TW1);var _UW1=!1;if(!this._eW1){_UW1=this._VW1();document._jW1.appendChild(_UW1)}var _WW1=document.createElement("p");_WW1.style.cssText="position: absolute; top: 0; left: 0; opacity: 0;";
_WW1.style._5W1="'"+this._5W1+"', '"+_SW1+"'";_WW1.innerHTML=_JW1+_JW1+_JW1+_JW1+_JW1+_JW1+_JW1+_JW1+_JW1+_JW1;document.body.appendChild(_WW1);if(!document._iW1.getComputedStyle){this.onload();_es("Error: document.defaultView.getComputedStyle is not supported by this browser.\n"+"Consequently, Font.onload() cannot be trusted.")}else {var _XW1=this._eW1?1000:this._8W1._9W1;var canvas=document.createElement("canvas");canvas.width=_XW1;canvas.height=_XW1;this.canvas=canvas;var context=canvas.getContext("2d");
context.font="1em '"+this._5W1+"'";context.fillStyle="white";context.fillRect(-1,-1,_XW1+2,_XW1+2);context.fillStyle="black";context.fillText("test text",50,_XW1/2);this.context=context;var _bK1=this;var _YW1=function(){_bK1.validate(_WW1,_TW1,_UW1,_bK1,_gW1)};setTimeout(_YW1,50)}};Font.prototype._ZW1=function(){this._eW1=!0;this._8W1=!1;this._RW1("A",1000)};Font.prototype.__W1=function(){var font=this;if(this._OM.indexOf(".")===-1){setTimeout(function(){font._ZW1()},10);return }var _0X1=new XMLHttpRequest();
_0X1.open('GET',font._OM,!0);_0X1.responseType="arraybuffer";_0X1.onload=function(_1X1){var _2X1=_0X1.response;if(_2X1){font.data=new Uint8Array(_2X1);font._kW1()}else {font.onerror("Error downloading font resource from "+font._OM)}};_0X1.send(null)};Font.prototype._3X1=!1;Font.prototype._VW1=function(){if(this._3X1){return this._3X1}this._3X1=document.createElement("style");this._3X1.type="text/css";var _4X1="@font-face {\n";_4X1+="  font-family: '"+this._5W1+"';\n";_4X1+="  src: url('"+this._OM+"') format('"+this._6W1+"');\n";
_4X1+="}";this._3X1.innerHTML=_4X1;return this._3X1};Font.prototype.measureText=function(_5X1,_6X1){if(!this._lO){console.log("Error:measureText() was called while the font was not yet loaded");return !1}this.context.font=_6X1+"px '"+this._5W1+"'";var _8W1=this.context.measureText(_5X1);_8W1.fontsize=_6X1;_8W1._bW1=0;_8W1._cW1=0;_8W1._mM1={_7X1:0,_8X1:_8W1.width,_9X1:0,_aX1:0};_8W1.height=0;var _HK1=[],_bX1=_8W1.width/this._8W1._9W1;if(_bX1<=1){_HK1.push(_5X1)}else {_HK1.push(_5X1)}var _cX1=_HK1.length,
_Q7;for(_Q7=0;_Q7<_cX1;_Q7++){this._dX1(_HK1[_Q7],_6X1,_8W1)}return _8W1};Font.prototype._dX1=function(_eX1,_6X1,_8W1){var _fX1=function(_zc,_gX1){return document._iW1.getComputedStyle(_zc,null).getPropertyValue(_gX1)};var _Q7,_R7,_hX1,_9s,_Wg1;var _iX1=document.createElement("div");_iX1.style.position="absolute";_iX1.style.opacity=0;_iX1.style.font=_6X1+"px '"+this._5W1+"'";var _0Q1=10;_iX1.innerHTML=_eX1;for(_Q7=1;_Q7<_0Q1;_Q7++){_iX1.innerHTML+="<br/>"+_eX1}document.body.appendChild(_iX1);_8W1._aW1=1.2*_6X1;
var _jX1=_fX1(_iX1,"height");_jX1=_jX1.replace("px","");if(_jX1>=_6X1*_0Q1){_8W1._aW1=(_jX1/_0Q1)|0}document.body.removeChild(_iX1);if(/^_kX1*$/.test(_eX1)){return _8W1}var canvas=this.canvas,_Z9=this.context,_XW1=this._eW1?1000:this._8W1._9W1,_u4=_XW1,_v4=_XW1,_lX1=_XW1/2,padding=50,_mX1=(_XW1-_8W1.width)/2;if(_mX1!==(_mX1|0)){_mX1=_mX1|0}_Z9.fillStyle="white";_Z9.fillRect(-padding,-padding,_u4+2*padding,_v4+2*padding);_Z9.fillStyle="black";_Z9.fillText(_eX1,_mX1,_lX1);var _nX1=(_8W1.width+padding)|0,
_oX1=4*_6X1,_pX1=_mX1-padding/2,_qX1=_lX1-_oX1/2,_mt1=_Z9.getImageData(_pX1,_qX1,_nX1,_oX1).data;_Q7=0;_R7=0;_hX1=_nX1*4;_9s=_mt1.length;_Wg1=_oX1/2;while(++_Q7<_9s&&_mt1[_Q7]===255){}var _bW1=(_Q7/_hX1)|0;_Q7=_9s-1;while(--_Q7>0&&_mt1[_Q7]===255){}var _cW1=(_Q7/_hX1)|0;for(_Q7=0,_R7=0;_R7<_nX1&&_mt1[_Q7]===255;){_Q7+=_hX1;if(_Q7>=_9s){_R7++;_Q7=(_Q7-_9s)+4}}var _7X1=_R7;var _3V=1;for(_Q7=_9s-3,_R7=0;_R7<_nX1&&_mt1[_Q7]===255;){_Q7-=_hX1;if(_Q7<0){_R7++;_Q7=(_9s-3)-(_3V++)*4}}var _8X1=_nX1-_R7;_8W1._bW1=(_Wg1-_bW1);
_8W1._cW1=(_cW1-_Wg1);_8W1._mM1={_7X1:_7X1-(padding/2),_8X1:_8X1-(padding/2),_9X1:-_8W1._cW1,_aX1:_8W1._bW1};_8W1.height=1+(_cW1-_bW1);return _8W1};Object.defineProperty(Font.prototype,"src",{set:function(_OM){this._OM=_OM;this.__W1()}});window.Font=Font}(window));function _rX1(){}var _O7=3.14159265,_sX1=!0,_tX1=!1,_pO=!0,_GS=0,_uX1=-1,_vX1=0,_wX1=1,_xX1=2,_Uz=0,_yX1=-1,_zX1=0,_Vz=1,_AX1=2,_BX1=3,_CX1=4,_DX1=5,_EX1=6,_FX1=7,_GX1=8,_HX1=9,_IX1=10,_JX1=11,_KM=0,_KX1=-1,_LX1=0,_MX1=0,_NX1=1,_OX1=2,_LM=3,
_MM=4,_PX1=5,_QX1=6,_RX1=7,_SX1=8,_TX1=9,_JS=0,_UX1=-1,_VX1=-100,_WX1=-200,_XX1=-300,_YX1=-400,_KK=-1,_ZX1=-2,_OG=-3,_hB=-4,__X1=-5,_0Y1=-7,_1Y1=-6,_FB=0x000,_mB=0x100,_0W1=0x200,_2Y1=0x300,_iE1=0x400,_3Y1=0x500,_4Y1=0x600,_0V1=0x700,_5Y1=0x800,_6Y1=0x900,_7Y1=0xA00,_8Y1=0xB00,_nB=0xC00,_9Y1=0xD00,_aY1=0xE00,_bY1=_2Y1|1,_cY1=_2Y1|2,_dY1=_2Y1|3,_VU1=_0V1|1,_1V1=_0V1|2,_eY1=_0V1|3,_fY1=_0V1|4,_gY1=_0V1|5,_hY1=_0V1|6,_iY1=_0V1|7,_jY1=_0V1|8,_XD1=_0V1|9,_kY1=_0V1|10,_lY1=_0V1|11,_mY1=_0V1|14,_nY1=_0V1|15,
_oY1=_0V1|16,_pY1=_0V1|17,_qY1=_0V1|18,_rY1=_0V1|19,_sY1=_0V1|20,_tY1=_0V1|21,_uY1=_0V1|22,_vY1=_0V1|23,_wY1=_0V1|24,_xY1=_0V1|25,_yY1=_0V1|26,_zY1=_0V1|27,_AY1=_0V1|28,_BY1=_0V1|29,_9V1=_0V1|30,_CY1=_0V1|31,_DY1=_0V1|32,_EY1=_0V1|33,_FY1=_0V1|34,_GY1=_0V1|35,_HY1=_0V1|36,_IY1=_0V1|37,_aV1=_0V1|40,_JY1=_0V1|41,_KY1=_0V1|42,_LY1=_0V1|43,_MY1=_0V1|44,_NY1=_0V1|45,_OY1=_0V1|46,_PY1=_0V1|47,_77=_0V1|58,_46=_0V1|59,_QY1=_0V1|60,_RY1=_0V1|61,_SY1=_0V1|62,_TY1=_0V1|63,_UY1=_0V1|68,_VY1=_5Y1|64,_WY1=_5Y1|65,
_XY1=_5Y1|72,_YY1=_5Y1|73,_ZY1=_5Y1|74,__Y1=_5Y1|75,_0Z1=_5Y1|76,_1Z1=_5Y1|77,_bB=_0V1|66,_2Z1=_0V1|70,_3Z1=_0V1|71,_KO=_0V1|72,_4Z1=_0V1|73,_5Z1=_0V1|74,_9N=_0V1|75,_tV1=_4Y1|1,_vV1=_4Y1|2,_uV1=_4Y1|3,_wV1=_4Y1|4,_yV1=_4Y1|5,_xV1=_4Y1|6,_zV1=_4Y1|7,_BV1=_4Y1|8,_AV1=_4Y1|9,_LV1=_4Y1|10,_6Z1=_4Y1|11,_7Z1=_4Y1|12,_MV1=_4Y1|13,_8Z1=_4Y1|14,_9Z1=_4Y1|15,_NV1=_4Y1|16,_aZ1=_4Y1|17,_bZ1=_4Y1|18,_CV1=_4Y1|19,_DV1=_4Y1|20,_EV1=_4Y1|21,_FV1=_4Y1|22,_GV1=_4Y1|23,_cZ1=_0W1|1,_dZ1=_0W1|2,_eZ1=_0W1|3,_fZ1=_0W1|4,
_gZ1=_0W1|5,_hZ1=_0W1|6,_iZ1=_0W1|7,_jZ1=_0W1|8,_kZ1=_0W1|9,_lZ1=_0W1|10,_mZ1=_0W1|11,_nZ1=_0W1|12,_oZ1=_9Y1|1,_pZ1=_9Y1|2,_qZ1=_9Y1|3,_rZ1=_9Y1|4,_sZ1=_9Y1|5,_tZ1=_9Y1|6,_uZ1=_9Y1|7,_vZ1=_9Y1|8,_wZ1=_9Y1|9,_xZ1=_9Y1|10,_yZ1=_9Y1|11,_zZ1=_9Y1|12,_AZ1=_9Y1|13,_BZ1=_9Y1|65,_CZ1=_9Y1|66,_DZ1=_9Y1|67,_EZ1=_9Y1|68,_FZ1=_9Y1|69,_GZ1=_9Y1|70,_HZ1=_9Y1|71,_IZ1=_9Y1|72,_JZ1=_9Y1|73,_KZ1=_9Y1|74,_LZ1=_9Y1|75,_MZ1=_9Y1|76,_NZ1=_9Y1|77,_OZ1=0,_PZ1=1,_QZ1=2,_RZ1=3,_SZ1=4,_TZ1=5,_UZ1=6,_VZ1=7,_WZ1=8,_XZ1=9,_YZ1=10,
_ZZ1=11,__Z1=12,_0_1=13,_1_1=14,_2_1=0,_3_1=1,_4_1=2,_5_1=3,_6_1=4,_7_1=5,_8_1=6,_9_1=7,_a_1=8,_b_1=9,_c_1=10,_d_1=11,_e_1=16,_f_1=17,_g_1=18,_h_1=19,_i_1=21,_j_1=22,_k_1=23,_l_1=24,_m_1=25,_n_1=26,_o_1=27,_p_1=28,_q_1=31,_r_1=32,_s_1=33,_t_1=34,_u_1=36,_v_1=37,_w_1=38,_x_1=39,_y_1=40,_z_1=41,_A_1=42,_B_1=43,_C_1=50,_D_1=51,_E_1=52,_F_1=53,_G_1=54,_H_1=55,_I_1=56,_J_1=57,_K_1=58,_L_1=60,_M_1=61,_N_1=0,_O_1=1,_P_1=2,_Q_1=3,_R_1=4,_S_1=5,_T_1=6,_U_1=7,_V_1=8,_W_1=9,_X_1=10,_Y_1=11,_Z_1=12,___1=64,
_002=65,_102=66,_202=67,_302=68,_402=69,_502=70,_602=71,_702=72,_802=73,_902=74,_a02=75,_b02=76,_c02=0,_d02=1,_e02=2,_f02=0,_g02=1,_h02=2,_i02=3,_j02=4,_k02=5,_l02=6,_m02=7,_n02=8,_o02=9,_p02=30,_q02=40,_r02=41,_s02=42,_t02=43,_u02=44,_v02=45,_w02=46,_x02=47,_y02=50,_z02=51,_A02=52,_B02=53,_C02=54,_D02=55,_E02=56,_F02=57,_G02=58,_H02=59,_I02=10,_J02=11,_K02=12,_L02=13,_M02=14,_N02=15,_O02=16,_P02=17,_Q02=18,_R02=19,_S02=20,_T02=21,_U02=22,_V02=23,_W02=24,_X02=25,_Y02=60,_Z02=61,__02=64,_012=65,_112=66,
_212=70,_312=71,_412=72,_512=_6Y1|0,_612=_6Y1|1,_712=_6Y1|1,_812=_6Y1|8,_912=_6Y1|9,_a12=_6Y1|13,_b12=_6Y1|16,_c12=_6Y1|17,_d12=_6Y1|18,_e12=_6Y1|19,_f12=_6Y1|27,_g12=_6Y1|32,_h12=_6Y1|33,_i12=_6Y1|34,_j12=_6Y1|35,_k12=_6Y1|36,_l12=_6Y1|37,_m12=_6Y1|38,_n12=_6Y1|39,_o12=_6Y1|40,_p12=_6Y1|45,_q12=_6Y1|46,_r12=_6Y1|48,_s12=_6Y1|49,_t12=_6Y1|50,_u12=_6Y1|51,_v12=_6Y1|52,_w12=_6Y1|53,_x12=_6Y1|54,_y12=_6Y1|55,_z12=_6Y1|56,_A12=_6Y1|57,_B12=_6Y1|65,_C12=_6Y1|66,_D12=_6Y1|67,_E12=_6Y1|68,_F12=_6Y1|69,
_G12=_6Y1|70,_H12=_6Y1|71,_I12=_6Y1|72,_J12=_6Y1|73,_K12=_6Y1|74,_L12=_6Y1|75,_M12=_6Y1|76,_N12=_6Y1|77,_O12=_6Y1|78,_P12=_6Y1|79,_Q12=_6Y1|80,_R12=_6Y1|81,_S12=_6Y1|82,_T12=_6Y1|83,_U12=_6Y1|84,_V12=_6Y1|85,_W12=_6Y1|86,_X12=_6Y1|87,_Y12=_6Y1|88,_Z12=_6Y1|89,__12=_6Y1|90,_022=_6Y1|112,_122=_6Y1|113,_222=_6Y1|114,_322=_6Y1|115,_422=_6Y1|116,_522=_6Y1|117,_622=_6Y1|118,_722=_6Y1|119,_822=_6Y1|120,_922=_6Y1|121,_a22=_6Y1|122,_b22=_6Y1|123,_c22=_6Y1|145,_d22=_6Y1|186,_e22=_6Y1|187,_f22=_6Y1|188,_g22=_6Y1|189,
_h22=_6Y1|190,_i22=_6Y1|191,_j22=_6Y1|192,_k22=_6Y1|219,_l22=_6Y1|220,_m22=_6Y1|221,_n22=_6Y1|222,_o22=_6Y1|223,_p22=_6Y1|144,_q22=_6Y1|96,_r22=_6Y1|97,_s22=_6Y1|98,_t22=_6Y1|99,_u22=_6Y1|100,_v22=_6Y1|101,_w22=_6Y1|102,_x22=_6Y1|103,_y22=_6Y1|104,_z22=_6Y1|105,_A22=_6Y1|106,_B22=_6Y1|107,_C22=_6Y1|109,_D22=_6Y1|110,_E22=_6Y1|111,_F22=_3Y1|0,_G22=_3Y1|1,_H22=_3Y1|1,_I22=_3Y1|8,_J22=_3Y1|9,_K22=_3Y1|13,_L22=_3Y1|16,_M22=_3Y1|17,_N22=_3Y1|18,_O22=_3Y1|19,_P22=_3Y1|27,_Q22=_3Y1|32,_R22=_3Y1|33,_S22=_3Y1|34,
_T22=_3Y1|35,_U22=_3Y1|36,_V22=_3Y1|37,_W22=_3Y1|38,_X22=_3Y1|39,_Y22=_3Y1|40,_Z22=_3Y1|45,__22=_3Y1|46,_032=_3Y1|48,_132=_3Y1|49,_232=_3Y1|50,_332=_3Y1|51,_432=_3Y1|52,_532=_3Y1|53,_632=_3Y1|54,_732=_3Y1|55,_832=_3Y1|56,_932=_3Y1|57,_a32=_3Y1|65,_b32=_3Y1|66,_c32=_3Y1|67,_d32=_3Y1|68,_e32=_3Y1|69,_f32=_3Y1|70,_g32=_3Y1|71,_h32=_3Y1|72,_i32=_3Y1|73,_j32=_3Y1|74,_k32=_3Y1|75,_l32=_3Y1|76,_m32=_3Y1|77,_n32=_3Y1|78,_o32=_3Y1|79,_p32=_3Y1|80,_q32=_3Y1|81,_r32=_3Y1|82,_s32=_3Y1|83,_t32=_3Y1|84,_u32=_3Y1|85,
_v32=_3Y1|86,_w32=_3Y1|87,_x32=_3Y1|88,_y32=_3Y1|89,_z32=_3Y1|90,_A32=_3Y1|112,_B32=_3Y1|113,_C32=_3Y1|114,_D32=_3Y1|115,_E32=_3Y1|116,_F32=_3Y1|117,_G32=_3Y1|118,_H32=_3Y1|119,_I32=_3Y1|120,_J32=_3Y1|121,_K32=_3Y1|122,_L32=_3Y1|123,_M32=_3Y1|145,_N32=_3Y1|186,_O32=_3Y1|187,_P32=_3Y1|188,_Q32=_3Y1|189,_R32=_3Y1|190,_S32=_3Y1|191,_T32=_3Y1|192,_U32=_3Y1|219,_V32=_3Y1|220,_W32=_3Y1|221,_X32=_3Y1|222,_Y32=_3Y1|223,_Z32=_3Y1|144,__32=_3Y1|96,_042=_3Y1|97,_142=_3Y1|98,_242=_3Y1|99,_342=_3Y1|100,_442=_3Y1|101,
_542=_3Y1|102,_642=_3Y1|103,_742=_3Y1|104,_842=_3Y1|105,_942=_3Y1|106,_a42=_3Y1|107,_b42=_3Y1|109,_c42=_3Y1|110,_d42=_3Y1|111,_e42=_7Y1|0,_f42=_7Y1|1,_g42=_7Y1|1,_h42=_7Y1|8,_i42=_7Y1|9,_j42=_7Y1|13,_k42=_7Y1|16,_l42=_7Y1|17,_m42=_7Y1|18,_n42=_7Y1|19,_o42=_7Y1|27,_p42=_7Y1|32,_q42=_7Y1|33,_r42=_7Y1|34,_s42=_7Y1|35,_t42=_7Y1|36,_u42=_7Y1|37,_v42=_7Y1|38,_w42=_7Y1|39,_x42=_7Y1|40,_y42=_7Y1|45,_z42=_7Y1|46,_A42=_7Y1|48,_B42=_7Y1|49,_C42=_7Y1|50,_D42=_7Y1|51,_E42=_7Y1|52,_F42=_7Y1|53,_G42=_7Y1|54,_H42=_7Y1|55,
_I42=_7Y1|56,_J42=_7Y1|57,_K42=_7Y1|65,_L42=_7Y1|66,_M42=_7Y1|67,_N42=_7Y1|68,_O42=_7Y1|69,_P42=_7Y1|70,_Q42=_7Y1|71,_R42=_7Y1|72,_S42=_7Y1|73,_T42=_7Y1|74,_U42=_7Y1|75,_V42=_7Y1|76,_W42=_7Y1|77,_X42=_7Y1|78,_Y42=_7Y1|79,_Z42=_7Y1|80,__42=_7Y1|81,_052=_7Y1|82,_152=_7Y1|83,_252=_7Y1|84,_352=_7Y1|85,_452=_7Y1|86,_552=_7Y1|87,_652=_7Y1|88,_752=_7Y1|89,_852=_7Y1|90,_952=_7Y1|112,_a52=_7Y1|113,_b52=_7Y1|114,_c52=_7Y1|115,_d52=_7Y1|116,_e52=_7Y1|117,_f52=_7Y1|118,_g52=_7Y1|119,_h52=_7Y1|120,_i52=_7Y1|121,
_j52=_7Y1|122,_k52=_7Y1|123,_l52=_7Y1|145,_m52=_7Y1|186,_n52=_7Y1|187,_o52=_7Y1|188,_p52=_7Y1|189,_q52=_7Y1|190,_r52=_7Y1|191,_s52=_7Y1|192,_t52=_7Y1|219,_u52=_7Y1|220,_v52=_7Y1|221,_w52=_7Y1|222,_x52=_7Y1|223,_y52=_7Y1|144,_z52=_7Y1|96,_A52=_7Y1|97,_B52=_7Y1|98,_C52=_7Y1|99,_D52=_7Y1|100,_E52=_7Y1|101,_F52=_7Y1|102,_G52=_7Y1|103,_H52=_7Y1|104,_I52=_7Y1|105,_J52=_7Y1|106,_K52=_7Y1|107,_L52=_7Y1|109,_M52=_7Y1|110,_N52=_7Y1|111,_O52=0,_P52=1,_Q52=2,_R52=[],__V1=12,_S52=8,_T52=8,_U52=8,_Lu=10,_Ey=0x000000,
_V52=0x000080,_W52=0x008000,_X52=0x008080,_Y52=0x800000,_Z52=0x800080,__52=0x808000,_062=0x808080,_162=0xC0C0C0,_0z1=0x0000FF,_262=0x00FF00,_362=0x00FFFF,_1z1=0xFF0000,_462=0xFF00FF,_562=0xFFFF00,_662=0xC0C0C0,_762=0x808080,_862=0xFFFFFF,_962=0xC0DCC0,_a62=0xF0CAA6,_b62=0xF0FBFF,_c62=0xA4A0A0,_d62=-1,_jN=0,_Df=1,global=null,_26=null,_aB=null,_Hf=null,_ZD=null,_X5=null,_as=null,_e62=null,_f62=null,_ns=null,_Ch=null,_ZO=null,_g62=null,_xE=null,_7V1=null,_CE1=null,_RJ=null,_7v=null,_Pe=null,_h62=null,
_h6=null,_i62=null,_if=null,_j62=null,_k62=null,_l62=null,_m62=null,_7g=null,_Zg=null,_7I=null,_kg=null,_n62=null,_pH=null,_Eg=null,_o62=null,_Oh=null,_p62=null,_jT=null,_Nu=null,_Mu=null,_q62=null,_Qu=null,_r62=null,_s62=null,_t62=null,_u62=null,_v62=null,_w62=null,_U8=null,_Ut=null,_mf=null,_ez=null,_mz=null,_x62=null,_y62=null,_z62=null,_A62=null,_B62=null,_FT1=null,_C62=null,_D62=null,_rQ=null,_mQ=-1,_nQ=[],_E62=null,_8M=null,_F62=null,g_WebAudioContext=null,_Xs=null,_xs=null,_G62=null,_ES=null,
_H62=null,g_GameMakerHTML5Dir=undefined,_I62=undefined,_J62=undefined,gml_Script_gmcallback_html5_set_load_location=undefined,_K62="",g_yyPrePostObject__=undefined,_Cf=_jN,_L62=!0,_M62=!0,_N62=!1,_MU1=!1,_O62=!1,_VM=!1,_UM=!1,_gO=!1,_5s=!1,_P62=!1,_Q62=!1,_R62=!1,_S62=!1,_T62=!1,_U62=!1,_zs=!1,_V62=!1,_W62=!1,_X62=!1,_Y62=0,_YK=0,_Z62=0,__62=0,_072=0,_172=0,_OU=0,_QU=0,_tR=0,_sR=0,_wR=0,_vR=0,_272=0,_372=0,_472=0,_Tb=0,_Ub=0,_nu=0,_Ax=0,_wx=0,_fy=0,_hy=0,_572=0,_672=0,_772=0,_872=0,_972=0,_a72=0,
_b72=0,_c72=0,_d72=0,_e72=0,_f72=0,_g72=0,_ev=0,_fv=0,_h72=0,_i72=0,_j72=0,_Gz=0,_k72=0,_l72=0,_m72=0,_n72=0,_kR=0,_o72=0,_yo=0,_p72=0,_q72=0,_r72=0,_Hw=0,_Iw=0,_Cw=!1,_Dw=-1,_Ew=-1,_Fw=1,_Gw=1,_iz=!0,_s72=0,_t72=0,_u72=0,_v72=0,_w72=0,_x72=0,_y72=0,_z72=0,_A72=0,_B72=0,_C72=0,_D72=0,_E72=0,_F72=0,_G72=0,_H72=0,_I72=0,_J72=0,_K72=0,_L72=0,_M72=0,_N72=0,_nU1=0,_O72=0,_P72=0,_Q72=0,_R72=0,_S72=0,_T72=0,_U72=0,_V72=0,_W72=0,_j6=0,_X72=[],_us='canvas',_Y72='0123456789ABCDEF';function _Z72(){var debug=false;
if((_as._K4)&&(_as._K4._L4)&&(_as._K4._L4===true)){debug=true}}function __72(){_X72=[];var _082=0xEDB88320;for(var _Q7=0;_Q7<256;++_Q7){var _182=~~_Q7;for(var _R7=8;_R7>0;--_R7){if((_182&1)!==0){_182=((_182>>1)&0x7fffffff)^_082}else {_182>>=1;_182&=0x7fffffff}}_X72[_Q7]=_182}}function _282(){__72();_382();if(_Cf!=_d62){try{var _482=new Audio();_482.controls=false;_VM=!!_482.canPlayType&&_482.canPlayType('audio/mpeg')!=="";_UM=!!_482.canPlayType&&_482.canPlayType('audio/ogg; codecs="vorbis"')!=="";_482=null}
catch(e){_VM=false;_UM=false}}if(_VM)debug("Browser CAN play MP3");if(_UM)debug("Browser CAN play OGG");_Z72();_G62=_Y62=0;_h6=null;_MU1=false;_YK=-1;_y62=new _582();_z62=new _582();_i62=new _582();_i62._8V1=0;_H62=new _582();_A62=new _582();_mz=new _Ys();_ez=new _Ys();_x62=new _Ys();_i62._W3=true;_H62._W3=true;_if=[];_if[0]=_i62;_k62=[];_l62=[];_m62=[];_7g=new _YJ(5);_Zg=new _YJ(5);_7I=new _YJ(5);_kg=new _YJ(5);_n62=new _YJ(5);_pH=new _YJ(5);_Eg=new _YJ(5);_Oh=new _YJ(5);_o62=new _YJ(5);_p62=new _Uh();_Ut=new _YJ(5);
_mf=new _Ys();_FT1=new _9T1(0,0,0,0,false,true);_FT1._682="DUMMY INSTANCE";_R52[0]=-1;_R52[1]=0;_R52[2]=0x00000000;_R52[3]=1;_R52[4]=0;_R52[5]=0x00000000;_R52[6]=0;_R52[7]=-1;_R52[8]=0x00000000;_R52[9]=0;_R52[10]=1;_R52[11]=0x00000000;_R52[12]=0;_R52[13]=0;_R52[14]=0xffffffff;_us="canvas";_U8="html5game/";if(typeof(g_GameMakerHTML5Dir)!="undefined"){_U8=g_GameMakerHTML5Dir}else {if(_as._K4&&_as._K4._85){_U8=_as._K4._85+'/'}}_jT=[];_Nu=[];_Mu=[];_q62="Hiscore Table";_Qu="<Nobody>";_r62="Press <ESC> to Continue";
_a72=0x000000;_e72=-1;_b72=0xffff00;_c72=0xffffff;_s62="verdana";_d72=16;_t62="";_L62=true;_Pu();_Hw=-1;_Iw=-1;_Oh._782();_272=0.0000001;_n72=512;_Xs=[];_Q62=_W62=false;_M62=true;_zs=false;_rQ=_g72=null;_ev=_fv=-1;_Gz=0;_472=1.0;_Z62=0;__62=-1;_072=0;_f72=0;_172=0;_972=10000000;_372=100000;_Tb=1.0;if(_j6){_Cx(_as._K4._Q4)}else {_nu=0x00000000;_Ub=0x000000;_Ax=_Bx(_Ub);_wx=_0i(_Ub,_Tb)}_nU1=_Bx(0x000000);_O72=_Bx(0xffffff);_P72=_Bx(0x0000ff);_Q72=_Bx(0x00ff00);_R72=_Bx(0xff0000);_S72=_Bx(0xff000000);
_T72=_Bx(0xffffffff);_U72=_Bx(0xff0000ff);_V72=_Bx(0xff00ff00);_W72=_Bx(0xffff0000);_s72=0;_t72=-1;_u72=-2;_v72=-3;_w72=-4;_x72=-6;_y72=-7;_z72=-8;_A72=-9;_B72=-10;_C72=-11;_D72=-12;_E72=-13;_F72=-14;_G72=-15;_H72=-16;_I72=-17;_J72=-18;_K72=-19;_L72=-20;_M72=-21;_N72=-22;_q72=-1;_p72=_as._K4._X4?_s72:_t72;_r72=0;_882();if(_as._K4&&_as._K4._X4===false){canvas.style.cursor="none"}_S62=false;if(_as._K4&&_as._K4._b5===true){_S62=true}if(typeof gmlGlobalInit=='function'){gmlGlobalInit()}}function _982(_a82){
return _a82*(Math.PI/180.0)}function _b82(_N6,_O6){if(_N6===0)return 0;var _L7=((_N6*0x1000000)%(_O6*0x1000000));_L7=_L7/0x1000000;return _L7}function _Ro(_N6){return _N6*_N6}function _Bx(_ac){var _59="rgb("+((_ac>>16)&0xff).toString()+","+((_ac>>8)&0xff).toString()+","+(_ac&0xff).toString()+")";return _59}function _0i(_ac,_Wb){var _59="rgba("+((_ac>>16)&0xff).toString()+","+((_ac>>8)&0xff).toString()+","+(_ac&0xff).toString()+","+((_Wb*255.0)&0xff).toString()+")";return _59}function _c82(_a82){return _O7*_a82/180.0}
function _Xb(_ac){return(((_ac&0xff)<<16)|(_ac&0xff00)|((_ac&0xff0000)>>16))}function _gB(_2v,_Bg,_d82,_JK){var _xg,_sB,_rB,_J7;var _k9=arguments;var _sg=arguments.length;var _e82=_k9[_sg-1];_Bg=~~_Bg;if(_Bg==_hB)return _JK;if(_Bg==_OG){_xg=_aB._rH();for(_rB=0;_rB<_xg.length;_rB++){_sB=_xg[_rB];if((_d82)&&(_sB==_2v))continue;if(_sB._LK)continue;_J7=_e82(_sB);if(_J7>0)return _J7;}}else if(_Bg<100000){var _pB=_26._8g(_Bg);if(_pB===null){return _JK}_xg=_pB._NK();for(_rB=0;_rB<_xg.length;_rB++){_sB=_xg[_rB];if((_d82)&&(_2v==_sB))continue;
if(_sB._LK)continue;_J7=_e82(_sB);if(_J7>0)return _J7}}else {_sB=_aB._f82(_Bg);if((_d82)&&(_2v==_sB)){return _JK}if(_sB._LK){return _JK}return _e82(_sB)}return _JK}/*@constructor */function _g82(){/*@this {BrowserDetect} */this.init=function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this._Xz=this._h82();this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this._i82=this.searchString(this.dataOS)||"an unknown OS";
this._j82=this._k82()},/*@this {BrowserDetect} */this._h82=function(){var _l82=navigator.userAgent.toString().toLowerCase();if(_l82.indexOf("trident/5")>-1){return 9.0}else if(_l82.indexOf("trident/6")>-1){return 10.0}else if(_l82.indexOf("trident/7")>-1){return 11.0}return -1},/*@this {BrowserDetect} */this._k82=function(){if(navigator.appVersion.indexOf("CPU OS 5_")!=-1){return 5.0}else if(navigator.appVersion.indexOf("CPU OS 4_")!=-1){return 4.0}else if(navigator.appVersion.indexOf("CPU OS 3_")!=-1){return 3.0}
else if(navigator.appVersion.indexOf("Android 4")!=-1){return 4.0}else if(navigator.appVersion.indexOf("Android 3")!=-1){return 3.0}else if(navigator.appVersion.indexOf("Android 2")!=-1){return 2.0}else {return _UX1}},/*@this {BrowserDetect} */this.searchString=function(data){for(var _Q7=0;_Q7<data.length;_Q7++){var _m82=data[_Q7]._Av;var _n82=data[_Q7].prop;this.versionSearchString=data[_Q7].versionSearch||data[_Q7].identity;if(_m82){if(_m82.indexOf(data[_Q7]._o82)!=-1){return data[_Q7].identity}}else if(_n82){
return data[_Q7].identity}}},/*@this {BrowserDetect} */this.searchVersion=function(_m82){var index=_m82.indexOf(this.versionSearchString);if(index==-1)return;return parseFloat(_m82.substring(index+this.versionSearchString.length+1));},this.dataBrowser=[{_Av:navigator.userAgent,_o82:"Tizen",identity:"Tizen"},{_Av:navigator.userAgent,_o82:"Edge",identity:"Edge"},{_Av:navigator.userAgent,_o82:"OPR",versionSearch:"OPR",identity:"Opera"},{_Av:navigator.userAgent,_o82:"Chrome",identity:"Chrome"},{_Av:navigator.userAgent,
_o82:"OmniWeb",versionSearch:"OmniWeb/",identity:"OmniWeb"},{_Av:navigator.vendor,_o82:"Apple",identity:"Safari",versionSearch:"Version"},{_Av:navigator.userAgent,_o82:"KHTML",identity:"KHTML",versionSearch:"Mozilla/"},{_Av:navigator.vendor,_o82:"iCab",identity:"iCab"},{_Av:navigator.vendor,_o82:"KDE",identity:"Konqueror"},{_Av:navigator.userAgent,_o82:"Firefox",identity:"Firefox"},{_Av:navigator.userAgent,_o82:"IceWeasel",identity:"IceWeasel"},{_Av:navigator.vendor,_o82:"Camino",identity:"Camino"}
,{_Av:navigator.userAgent,_o82:"Netscape",identity:"Netscape"},{_Av:navigator.userAgent,_o82:"IEMobile",identity:"IEMobile"},{_Av:navigator.userAgent,_o82:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{_Av:navigator.userAgent,_o82:"Trident/",identity:"Explorer",versionSearch:"rv"},{_Av:navigator.userAgent,_o82:"Gecko",identity:"Mozilla",versionSearch:"rv"}],this.dataOS=[{_Av:navigator.userAgent,_o82:"Phone 8",identity:"WindowsPhone8"},{_Av:navigator.platform,_o82:"Win",identity:"Windows"},{_Av:navigator.platform,
_o82:"Mac",identity:"Mac"},{_Av:navigator.userAgent,_o82:"iPhone",identity:"iPhone"},{_Av:navigator.userAgent,_o82:"iPod",identity:"iPhone"},{_Av:navigator.userAgent,_o82:"iPad",identity:"iPad"},{_Av:navigator.userAgent,_o82:"Android",identity:"Android"},{_Av:navigator.userAgent,_o82:"Tizen",identity:"Tizen"},{_Av:navigator.platform,_o82:"Linux",identity:"Linux"}]};var _Wz=new _g82();function _382(){_Wz.init();if(_Wz._i82=="Windows"){_KM=_LX1}else if(_Wz._i82=="Mac"){_KM=_NX1}else if(_Wz._i82=="iPhone"){
_KM=_LM}else if(_Wz._i82=="iPad"){_KM=_LM}else if(_Wz._i82=="Android"){_KM=_MM}else if(_Wz._i82=="Linux"){_KM=_QX1}else if(_Wz._i82=="Tizen"){_KM=_SX1}else if(_Wz._i82=="WindowsPhone8"){_KM=_RX1}else {_KM=_KX1}if(_Wz._i82!==""){debug(_Wz._i82+" Detected("+_KM+")")}_JS=_Wz._j82;_Uz=_zX1;_GS=_uX1;if(_Wz.browser=="Explorer"){debug("Internet Explorer detected");_Uz=_Vz}else if(_Wz.browser=="Explorer"){debug("Internet Explorer detected");_Uz=_Vz}else if(_Wz.browser=="Edge"){debug("Microsoft Edge detected");_Uz=_JX1}
else if(_Wz.browser=="IEMobile"){debug("IE Mobile detected");_Uz=_IX1}else if(_Wz.browser=="Firefox"){debug("Firefox detected");_Uz=_AX1}else if(_Wz.browser=="Chrome"){debug("Chrome detected");_Uz=_BX1}else if(_Wz.browser=="Safari"){if(_KM==_LM){_Uz=_DX1;_GS=_vX1;if(_Wz._i82=="iPad")_GS=_xX1;debug("Safari mobile detected")}else {debug("Safari detected");_Uz=_CX1}}else if(_Wz.browser=="Opera"){debug("BrowserDetect: "+_g82._i82);debug("Opera detected");_Uz=_EX1}else if(_Wz.browser=="KHTML"){debug("Default Android browser detected");
debug("OS: "+_JS);_Uz=_FX1}else if(_Wz.browser=="Tizen"){_Uz=_yX1}else {debug("Unknown Browser - Please report these strings");debug("----------------------------------------------");if(navigator.userAgent)debug("userAgent: "+navigator.userAgent);debug("---");if(navigator.vendor)debug("vendor: "+navigator.vendor);debug("---");if(navigator.platform)debug("platform: "+navigator.platform);debug("----------------------------------------------")}if(true==_as._K4._e5){if(document.URL.substring(0,5)=="file:"){
alert("WARNING:  Running this via a file and not a web server is not advised as the browser will enable additional security, and things like files and colours won't work correctly. "+_wv(13)+_wv(13)+"Please check the FAQ for more details. "+_wv(13)+_wv(13)+"https://help.yoyogames.com/hc/en-us/articles/360011372851");}}}var _p82=0;var _eO=0;var _q82=0;var _r82=0;var _s82=null;var _t82=null;var _u82=0,_v82=1,_w82=2,_x82=3;function _y82(){global=new _rX1();_X5=new _z82();_Hf=new _A82();_pd=new _Wd();_B82(canvas);
_aB=new _C82();_26=new _D82();_ZD=new _E82();_ZO=new _F82();_g62=new _G82();_Ch=new _H82();_f62=new _I82();_ns=new _J82();_CE1=[];_RJ=new _K82();_7v=new _L82();_Pe=new _M82();_xE=new _kD();_7V1=new _TR1();_282();if(_j6){_7V1._cT1();_N82()}}function _O82(_P82){switch(_P82){case 1:return "MEDIA_ERR_ABORTED";case 2:return "MEDIA_ERR_NETWORK";case 3:return "MEDIA_ERR_DECODE";case 4:return "MEDIA_ERR_SRC_NOT_SUPPORTED"}return "Unknown Error"}function _Q82(_P82){switch(_P82){case _u82:return "NETWORK_EMPTY";case _v82:return "NETWORK_IDLE";
case _w82:return "NETWORK_LOADING";case _x82:return "NETWORK_NO_SOURCE"}return "Unknown Error"}/*@this {XMLHttpRequest} */function _R82(_Zz){debug("ImageLoaded: "+this.src);_eO++}/*@this {XMLHttpRequest} */function _S82(_Zz){debug("ImageError: "+this.src);_eO++}/*@this {XMLHttpRequest} */function _T82(_Zz){_r82++;debug("ExtensionLoaded: ")}/*@this {XMLHttpRequest} */function _U82(_Zz){_r82++;debug("ExtensionError: ")}function ClearEventListeners(_V82){_V82.removeEventListener('canplaythrough',_W82,false);
_V82.removeEventListener('error',_X82,false);_V82.removeEventListener("loadstart",_Y82,false);_V82.removeEventListener("suspend",_Z82,false);_V82.removeEventListener("stalled",__82,false);_V82.removeEventListener("stall",__82,false)}/*@this {XMLHttpRequest} */function _W82(_Zz){this.completed=true;if(_t82[this.URL]!==null){_t82[this.URL]=null;_eO++}ClearEventListeners(this);debug("SoundLoaded: "+this.URL)}/*@this {XMLHttpRequest} */function _X82(_Zz){debug("SoundError: "+this.URL+"   NetworkError: "+_O82(this.error["code"]));
this.completed=false;if(_t82[this.URL]!==null){_t82[this.URL]=null;_eO++}ClearEventListeners(this);}/*@this {XMLHttpRequest} */function _Y82(_Zz){this._092=true}/*@this {XMLHttpRequest} */function _Z82(_Zz){debug("SoundSuspended: "+this.URL);this.completed=true;if(_t82[this.URL]!==null){_t82[this.URL]=null;_eO++}ClearEventListeners(this)}function __82(_Zz){}function _192(_292){debug("Loading: "+_292);var index=_T8(_292);var _Th=new _Uh();_Th.x=0;_Th.y=0;_Th._u4=63;_Th._v4=63;_Th._w4=-32;_Th._x4=-32;_Th._y4=63;
_Th._z4=63;_Th._A4=_Th._u4;_Th._B4=_Th._v4;_Th._C4=index;_Th._J8=_K8[index];_Th._G8=[];_Th._I8=32;_Th._H8=0;var _392=_k62.length;_k62[_392]=_Th;return _392}function _492(_tz){debug("Loading: "+_U8+_tz);var e=window.document.createElement('script');e.setAttribute('src',_U8+_tz);e.setAttribute('type',"text/javascript");e.onload=_T82;e.onerror=_U82;window.document.body.appendChild(e);_q82++}function _592(_692){if(_692._E3!==undefined){for(var _Q7=0;_Q7<_692._E3.length;_Q7++){var _792=_692._E3[_Q7];if(_792._F3){
for(var _nt=0;_nt<_792._F3.length;_nt++){_492(_792._F3[_nt]);}}}}}function _892(_692){_t82=[];_q82=0;_r82=0;_592(_692)}function _992(_292){_p82++;var _6B=new XMLHttpRequest();_6B.open('GET',_QM(_292),true);_6B.send();_6B.onload=function(_8B){_eO++;_ZO._a92(_6B.responseText)};_6B.onerror=function(_8B){_eO++}}function _b92(_292){_p82++;var _6B=new XMLHttpRequest();_6B.open('GET',_QM(_292),true);_6B.responseType='arraybuffer';_6B.send();_6B.onload=function(_8B){_eO++;_ZO._c92(_6B.response||_6B.responseText)}
;_6B.onerror=function(_8B){_eO++}}var _gN;function _d92(_O8,_c21,_e92){return _e92};var _f92=[];function _g92(_692){var _L7,id;if(_692._h92)document.title=_692._h92;if(typeof(gml_Script_gmcallback_html5_set_load_location)!='undefined'){_gN=gml_Script_gmcallback_html5_set_load_location}else _gN=_d92;_s82=document.getElementById('GM4HTML5_loadingscreen');_892(_692);_K62=_i92;_eO=0;for(var index=0;index<_692._D4.length;index++){_p82++;debug("Loading: "+_U8+_692._D4[index]);_L7=_T8(_U8+_692._D4[index]);_K8[_L7].onload=_R82;
_K8[_L7].onerror=_S82;_K8[_L7].URL=_692._D4[index];_f92[index]=_L7}if((_692._j92!==null)&&(_692._j92!==undefined)){_b92(_692._j92)}if((_692._k92!==null)&&(_692._k92!==undefined)){_992(_692._k92)}if(true==_as._K4._c5){for(var _Q7=2;_Q7<16;_Q7++){_p82++;var _tx=_192(_U8+"particles/IDR_GIF"+_Q7+".png");_L7=_k62[_tx]._C4;_K8[_L7].onload=_R82;_K8[_L7].onerror=_S82;_K8[_L7].URL="particles/IDR_GIF"+_Q7+".png"}}if(_Cf==_Df){for(index=0;index<_692._G3.length;index++){if(_692._G3[index]!==null){var _sM=0;if(_692._G3[index]._sM!==undefined){
_sM=_692._G3[index]._sM}if(_sM==0){_p82++;debug("Loading: "+_U8+_692._G3[index]._RM);if((_692._G3[index]._Ea===0)||((_KM==_LM||_KM==_MM)&&_692._G3[index]._Ea>=0&&_692._G3[index]._Ea<=3)){id=_nO(_U8+_692._G3[index]._RM,index,_692._G3[index]._TM);if(id===undefined){_p82--}}else if((_692._G3[index]._Ea==3)||(_692._G3[index]._Ea==1)){_hO(_U8+_692._G3[index]._RM,index,_692._G3[index]._TM);_p82--}else {debug("Attempting to load sound with unknown type: "+_692._G3[index]._Ea);_p82--}}}}}else if(_Cf==_jN){
for(index=0;index<_692._G3.length;index++){if(_692._G3[index]!==null){_p82++;debug("Loading: "+_U8+_692._G3[index]._RM);id=_l92(_U8+_692._G3[index]._RM,_692._G3[index]._U3,_692._G3[index]._TM,_W82,_X82);if((id!==undefined)&&(_uO[id])&&(_uO[id].URL)){_t82[_uO[id].URL]=_uO[id]}else {_p82--}}}}}function _m92(){for(var _Q7 in _t82){if(!_t82.hasOwnProperty(_Q7))continue;var _n92=_t82[_Q7];if(_n92){if((_n92.networkState!==null&&_n92.networkState!==undefined)&&(_n92.readyState!==null&&_n92.readyState!==undefined)){
if((_n92.networkState==_v82||_n92.networkState==_x82)&&(_n92._092)&&(_n92.readyState!=4)){if(_n92.completed!==true){_n92.completed=false;_eO++;_t82[_Q7]=null;ClearEventListeners(_n92);debug("SoundError: "+_n92.URL+"   NetworkState: "+_Q82(_n92.networkState))}}}}}}function _o92(_p92,_pB){if(_pB._q92)return;if(_pB._vs!==null){_o92(_pB._vs._NB,_pB._vs)}for(var _r92 in _pB._s92){if(!_pB._s92.hasOwnProperty(_r92))continue;if(_CE1[_r92]){if(_CE1[_r92][_p92]){continue }}var _wr=false;var _t92=_pB;while(_t92!==null){
var id=_t92._NB;var _u92=_26._8g(_r92);while(_u92!==null){var _v92=_u92._NB;if(_CE1[_v92]&&_CE1[_v92][id]){_wr=true;break }_u92=_u92._vs}_t92=_t92._vs}if(!_wr){if(!_CE1[_p92]){_CE1[_p92]=[]}_CE1[_p92][_r92]=_r92}}_pB._q92=true}function _w92(){var _xg=_26._rH();for(var _p92=0;_p92<_xg.length;_p92++){var _pB=_xg[_p92];if(_pB._vs!==null){_o92(_pB._vs._NB,_pB._vs)}_o92(_p92,_pB)}}function _x92(_692){var index,_TK,_Q7;_372=1000000;_X5._y92=_692._K4._T4;_kR=_692._K4._a5;_P62=_692._K4._Y4;_ES=_692._K4._95;_X5._z92=_A92();
_X5._B92=_692._K4._l5;_X5._C92=_692._K4._l5;_X5._D92=_U8;_X5._E92=_A92();if(_v8)_X5._F92=true;_B62=new _G92(_692._S3);_l72=_692._K4._g5;var id=0;for(var index=0;index<_692._T3.length;index++){var _dw=_692._T3[index];if(_dw!==null){var _CB=_H92(id,_dw);_26._Qe(_CB)}id++}_26._I92();_w92();_J92(_692._t4);for(index=0;index<_692._J3.length;index++){if(_692._J3[index]===null){_ZO._fP(null)}else {var _K92=_L92(_692._J3[index]);_ZO._fP(_K92)}}for(index=0;index<_692._L3.length;index++){var __9=_Ch._M92(_692._L3[index]);
var _xP=_Ch._Dh(__9);if(_xP!==null)_xP._mP=_N92}for(index=0;index<_692._Q3.length;index++){_ns._Qe(_692._Q3[index])}if(_692._O92){for(index=0;index<_692._O92.length;++index){_ns._P92(_692._O92[index])}}for(var index=0;index<_692._84.length;index++){var _Q92=_692._84[index];if(_Q92!==null){_TK=new _R92();_TK._UK=_Q92;_ZD._Qe(_TK)}else {_Y62++;_ZD._Qe(null)}}_l72=_692._K4._f5;_ZD._S92(_692._s4);for(_Q7=0;_Q7<_692._s4.length;_Q7++){_TK=_ZD._T92(_Q7);_TK._U92=_Q7}_X5._V92=_ZD._T92(0).id;_X5._W92=_ZD._T92(_ZD._X92.length-1).id;
_7V1._IS1();for(index=0;index<_692._M3.length;index++){var _QJ=_Y92(_692._M3[index]);_RJ._Qe(_QJ)}for(index=0;index<_692._G3.length;index++){_f62._Qe(_692._G3[index])}if(_692._R3!==undefined){for(index=0;index<_692._R3.length;index++){_7v._Qe(_692._R3[index])}}if(_692._E4!==undefined){for(index=0;index<_692._E4.length;index++){var _Z92=_692._E4[index];var __92=new _0a2();if(_Z92._U3!==undefined)__92._U3=_Z92._U3;if(_Z92._F4!==undefined){for(var _Q7=0;_Q7<_Z92._F4.length;_Q7++){__92._1a2[_Q7]=_f92[_Z92._F4[_Q7]]}
}if(_Z92._G4!==undefined){for(var _Q7=0;_Q7<_Z92._G4.length;_Q7++){__92._PF[_Q7]=_Z92._G4[_Q7]}}if(_Z92._H4!==undefined){for(var _Q7=0;_Q7<_Z92._H4.length;_Q7++){__92._2a2[_Q7]=_Z92._H4[_Q7]}}if(_Z92._I4!==undefined){for(var _Q7=0;_Q7<_Z92._I4.length;_Q7++){__92._3a2[_Q7]=_Z92._I4[_Q7]}}if(_Z92._J4!==undefined){for(var _Q7=0;_Q7<_Z92._J4.length;_Q7++){__92._4a2[_Q7]=_Z92._J4[_Q7]}}if(__92._2a2.length>0){for(var _Q7=0;_Q7<__92._2a2.length;_Q7++){var _5a2=_ZO._J3[__92._2a2[_Q7]];if(_5a2!==null){if(_5a2._6a2){
var _Og=__92._1a2.length;__92._1a2[_Og]=_5a2._6a2.__8()}}}}_g62._7a2(__92)}}_Pu();_Hu();if(typeof gmlConst=='function'){_E62=new gmlConst()}if(typeof _z5=='function'){_z5()}if(_692._E3!==undefined){for(_Q7=0;_Q7<_692._E3.length;_Q7++){var _792=_692._E3[_Q7];if(_792.init!=undefined){try{var _8a2=eval(_792.init);if(_8a2)_8a2()}catch(_Ou){_9g("Error calling extension initialisation function: "+_792.init);_9g("exception: "+_Ou.toString())}}else if(_792.initfuncs!=undefined){for(var _R7=0;_R7<_792.initfuncs.length;
_R7++){try{var _8a2=eval(_792.initfuncs[_R7]);if(_8a2)_8a2()}catch(_Ou){_9g("Error calling extension initialisation function: "+_792.initfuncs[_R7]);_9g("exception: "+_Ou.toString())}}}}}}function _882(){try{if(('localStorage' in window)&&(window['localStorage']!==null)){_N62=true}}catch(e){_N62=false}return _N62}function _A92(){var _9a2="";if(_as._K4._l5!==null&&_as._K4._l5!==undefined){for(var _Q7=0;_Q7<_as._K4._l5.length;_Q7++){var _wv=_as._K4._l5[_Q7];if((_wv>='a'&&_wv<='z')||(_wv>='A'&&_wv<='Z')||(_wv>='0'&&_wv<='9')||(_wv==='_')){
_9a2=_9a2+_as._K4._l5[_Q7]}}}if(_9a2.length===0){_9a2="GameMaker"}return _9a2+"."+_X5._y92+"."}function _aa2(_Xt){return(_X5._E92+_Xt)}var _Ep=0;var _Ip=1;var _Mp=2;var _ba2=3;var _Fp=4;var _xo=5;var _Np=6;var _ca2=7;var _Gp=8;var _Jp=9;var _Op=10;var _da2=11;var _Hp=12;var _Kp=13;var _Pp=14;var _ea2=15;var _fa2=0;var _ga2=1;var _ha2=2;var _ia2=3;var _ja2=4;var _ka2=5;var _la2=6;var _ma2=7;var _na2=8;var _oa2=9;var _pa2=10;var _qa2=11;var _ra2=12;var _sa2=13;var _ta2=14;var _ua2=15;/*@constructor 
  * @param {Object=} _matrix Some value (optional).
*/function _4o(_8k){
this._v7=new Float32Array(16);if(arguments.length>0){var _va2=_8k._v7||_8k;for(var _Q7=0;_Q7<16;_Q7++){this._v7[_Q7]=_va2[_Q7]}}else {this._wa2()}}_4o.prototype.identity=function(_ya){this._v7[1]=this._v7[2]=this._v7[3]=this._v7[4]=this._v7[6]=this._v7[7]=this._v7[8]=this._v7[9]=this._v7[11]=this._v7[12]=this._v7[13]=this._v7[14]=0.0;this._v7[0]=this._v7[5]=this._v7[10]=this._v7[15]=1.0};_4o.prototype._wa2=function(_ya){this._v7[1]=this._v7[2]=this._v7[3]=this._v7[4]=this._v7[6]=this._v7[7]=this._v7[8]=this._v7[9]=this._v7[11]=this._v7[12]=this._v7[13]=this._v7[14]=0.0;
this._v7[0]=this._v7[5]=this._v7[10]=this._v7[15]=1.0};_4o.prototype._ro=function(_xa2,_ya2,_za2){var _Aa2=new _oo(_za2);var _Ba2=new _oo();var _Ca2=_ya2._uT1(_xa2);_Ca2._To();_Aa2._To();_Ba2._Da2(_Aa2,_Ca2);_Ba2._To();_Aa2._Da2(_Ca2,_Ba2);_Aa2._To();var _Wo=_xa2._Ea2(_Ba2);var _Xo=_xa2._Ea2(_Aa2);var _Yo=_xa2._Ea2(_Ca2);this._v7[_Ep]=_Ba2._Wo;this._v7[_Ip]=_Aa2._Wo;this._v7[_Mp]=_Ca2._Wo;this._v7[_ba2]=0.0;this._v7[_Fp]=_Ba2._Xo;this._v7[_xo]=_Aa2._Xo;this._v7[_Np]=_Ca2._Xo;this._v7[_ca2]=0.0;this._v7[_Gp]=_Ba2._Yo;
this._v7[_Jp]=_Aa2._Yo;this._v7[_Op]=_Ca2._Yo;this._v7[_da2]=0.0;this._v7[_Hp]=-_Wo;this._v7[_Kp]=-_Xo;this._v7[_Pp]=-_Yo;this._v7[_ea2]=1};_4o.prototype._wo=function(_Fa2,_Ga2,_Ha2,_Ia2){var _k9=_982(_Fa2);var _Ja2=1.0/Math.tan(_k9*0.5);var _Ze1=_Ja2/_Ga2;this._v7[_Ep]=_Ze1;this._v7[_Ip]=this._v7[_Mp]=this._v7[_ba2]=0.0;this._v7[_xo]=_Ja2;this._v7[_Fp]=this._v7[_Np]=this._v7[_ca2]=0.0;this._v7[_Gp]=this._v7[_Jp]=0.0;this._v7[_da2]=1.0;this._v7[_Op]=_Ia2/(_Ia2-_Ha2);this._v7[_Hp]=this._v7[_Hp]=this._v7[_ea2]=0.0;
this._v7[_Pp]=-_Ha2*_Ia2/(_Ia2-_Ha2)};_4o.prototype._Co=function(_Zf,__f,_Ha2,_Ia2){this._v7[_Ep]=2*_Ha2/_Zf;this._v7[_Ip]=this._v7[_Mp]=this._v7[_ba2]=0.0;this._v7[_xo]=2*_Ha2/__f;this._v7[_Fp]=this._v7[_Np]=this._v7[_ca2]=0.0;this._v7[_Gp]=this._v7[_Jp]=0.0;this._v7[_da2]=1.0;this._v7[_Op]=_Ia2/(_Ia2-_Ha2);this._v7[_Hp]=this._v7[_Kp]=this._v7[_ea2]=0.0;this._v7[_Pp]=-_Ha2*_Ia2/(_Ia2-_Ha2)};_4o.prototype._Bo=function(_Zf,__f,_Ha2,_Ia2){this._v7[_Ep]=2.0/_Zf;this._v7[_Ip]=this._v7[_Mp]=0.0;this._v7[_ba2]=0;
this._v7[_xo]=2.0/__f;this._v7[_Fp]=this._v7[_Np]=0.0;this._v7[_ca2]=0;this._v7[_Gp]=this._v7[_Jp]=0.0;this._v7[_Op]=1.0/(_Ia2-_Ha2);this._v7[_da2]=0;this._v7[_Hp]=this._v7[_Kp]=0.0;this._v7[_Pp]=_Ha2/(_Ha2-_Ia2);this._v7[_ea2]=1.0};_4o.prototype.Multiply=function(_Ka2,_La2){this._v7[_Ep]=(_Ka2._v7[_Ep]*_La2._v7[_Ep])+(_Ka2._v7[_Ip]*_La2._v7[_Fp])+(_Ka2._v7[_Mp]*_La2._v7[_Gp])+(_Ka2._v7[_ba2]*_La2._v7[_Hp]);this._v7[_Ip]=(_Ka2._v7[_Ep]*_La2._v7[_Ip])+(_Ka2._v7[_Ip]*_La2._v7[_xo])+(_Ka2._v7[_Mp]*_La2._v7[_Jp])+(_Ka2._v7[_ba2]*_La2._v7[_Kp]);
this._v7[_Mp]=(_Ka2._v7[_Ep]*_La2._v7[_Mp])+(_Ka2._v7[_Ip]*_La2._v7[_Np])+(_Ka2._v7[_Mp]*_La2._v7[_Op])+(_Ka2._v7[_ba2]*_La2._v7[_Pp]);this._v7[_ba2]=(_Ka2._v7[_Ep]*_La2._v7[_ba2])+(_Ka2._v7[_Ip]*_La2._v7[_ca2])+(_Ka2._v7[_Mp]*_La2._v7[_da2])+(_Ka2._v7[_ba2]*_La2._v7[_ea2]);this._v7[_Fp]=(_Ka2._v7[_Fp]*_La2._v7[_Ep])+(_Ka2._v7[_xo]*_La2._v7[_Fp])+(_Ka2._v7[_Np]*_La2._v7[_Gp])+(_Ka2._v7[_ca2]*_La2._v7[_Hp]);this._v7[_xo]=(_Ka2._v7[_Fp]*_La2._v7[_Ip])+(_Ka2._v7[_xo]*_La2._v7[_xo])+(_Ka2._v7[_Np]*_La2._v7[_Jp])+(_Ka2._v7[_ca2]*_La2._v7[_Kp]);
this._v7[_Np]=(_Ka2._v7[_Fp]*_La2._v7[_Mp])+(_Ka2._v7[_xo]*_La2._v7[_Np])+(_Ka2._v7[_Np]*_La2._v7[_Op])+(_Ka2._v7[_ca2]*_La2._v7[_Pp]);this._v7[_ca2]=(_Ka2._v7[_Fp]*_La2._v7[_ba2])+(_Ka2._v7[_xo]*_La2._v7[_ca2])+(_Ka2._v7[_Np]*_La2._v7[_da2])+(_Ka2._v7[_ca2]*_La2._v7[_ea2]);this._v7[_Gp]=(_Ka2._v7[_Gp]*_La2._v7[_Ep])+(_Ka2._v7[_Jp]*_La2._v7[_Fp])+(_Ka2._v7[_Op]*_La2._v7[_Gp])+(_Ka2._v7[_da2]*_La2._v7[_Hp]);this._v7[_Jp]=(_Ka2._v7[_Gp]*_La2._v7[_Ip])+(_Ka2._v7[_Jp]*_La2._v7[_xo])+(_Ka2._v7[_Op]*_La2._v7[_Jp])+(_Ka2._v7[_da2]*_La2._v7[_Kp]);
this._v7[_Op]=(_Ka2._v7[_Gp]*_La2._v7[_Mp])+(_Ka2._v7[_Jp]*_La2._v7[_Np])+(_Ka2._v7[_Op]*_La2._v7[_Op])+(_Ka2._v7[_da2]*_La2._v7[_Pp]);this._v7[_da2]=(_Ka2._v7[_Gp]*_La2._v7[_ba2])+(_Ka2._v7[_Jp]*_La2._v7[_ca2])+(_Ka2._v7[_Op]*_La2._v7[_da2])+(_Ka2._v7[_da2]*_La2._v7[_ea2]);this._v7[_Hp]=(_Ka2._v7[_Hp]*_La2._v7[_Ep])+(_Ka2._v7[_Kp]*_La2._v7[_Fp])+(_Ka2._v7[_Pp]*_La2._v7[_Gp])+(_Ka2._v7[_ea2]*_La2._v7[_Hp]);this._v7[_Kp]=(_Ka2._v7[_Hp]*_La2._v7[_Ip])+(_Ka2._v7[_Kp]*_La2._v7[_xo])+(_Ka2._v7[_Pp]*_La2._v7[_Jp])+(_Ka2._v7[_ea2]*_La2._v7[_Kp]);
this._v7[_Pp]=(_Ka2._v7[_Hp]*_La2._v7[_Mp])+(_Ka2._v7[_Kp]*_La2._v7[_Np])+(_Ka2._v7[_Pp]*_La2._v7[_Op])+(_Ka2._v7[_ea2]*_La2._v7[_Pp]);this._v7[_ea2]=(_Ka2._v7[_Hp]*_La2._v7[_ba2])+(_Ka2._v7[_Kp]*_La2._v7[_ca2])+(_Ka2._v7[_Pp]*_La2._v7[_da2])+(_Ka2._v7[_ea2]*_La2._v7[_ea2])};_4o.prototype._xp=function(_R6){this._wa2();var _k9=_982(_R6);var _ps=Math.sin(_k9);var _Qt=Math.cos(_k9);this._v7[_Ep]=_Qt;this._v7[_Ip]=-_ps;this._v7[_Fp]=_ps;this._v7[_xo]=_Qt};_4o.prototype._wp=function(_R6){this._wa2();var _k9=_982(_R6);
var _ps=Math.sin(_k9);var _Qt=Math.cos(_k9);this._v7[_Ep]=_Qt;this._v7[_Mp]=_ps;this._v7[_Gp]=-_ps;this._v7[_Op]=_Qt};_4o.prototype._vp=function(_R6){this._wa2();var _k9=_982(_R6);var _ps=Math.sin(_k9);var _Qt=Math.cos(_k9);this._v7[_xo]=_Qt;this._v7[_Np]=-_ps;this._v7[_Jp]=_ps;this._v7[_Op]=_Qt};_4o.prototype._tp=function(_N6,_O6,_8c){this._wa2();this._v7[_Hp]=_N6;this._v7[_Kp]=_O6;this._v7[_Pp]=_8c};_4o.prototype._up=function(_cR,_dR,_Ma2){this._wa2();this._v7[_Ep]=_cR;this._v7[_xo]=_dR;this._v7[_Op]=_Ma2}
;_4o.prototype._yp=function(_Zb,_R6){_Zb._To();var _k9=_982(_R6);var _Qt=Math.cos(_k9);var _ps=Math.sin(_k9);var _Na2=1.0-_Qt;this._wa2();this._v7[0]=(_Na2*_Zb._Wo*_Zb._Wo+_Qt);this._v7[1]=(_Na2*_Zb._Wo*_Zb._Xo+_ps*_Zb._Yo);this._v7[2]=(_Na2*_Zb._Wo*_Zb._Yo-_ps*_Zb._Xo);this._v7[4]=(_Na2*_Zb._Wo*_Zb._Xo-_ps*_Zb._Yo);this._v7[5]=(_Na2*_Zb._Xo*_Zb._Xo+_Qt);this._v7[6]=(_Na2*_Zb._Xo*_Zb._Yo+_ps*_Zb._Wo);this._v7[8]=(_Na2*_Zb._Wo*_Zb._Yo+_ps*_Zb._Xo);this._v7[9]=(_Na2*_Zb._Xo*_Zb._Yo-_ps*_Zb._Wo);this._v7[10]=(_Na2*_Zb._Yo*_Zb._Yo+_Qt);
};_4o.prototype._8q=function(_N6,_O6,_8c,_1q,_2q,_3q,_4q,_5q,_6q){var _Oa2=Math.sin(_1q);var _Pa2=Math.cos(_1q);var _Qa2=Math.sin(_2q);var _Ra2=Math.cos(_2q);var _Sa2=Math.sin(_3q);var _Ta2=Math.cos(_3q);var _Ua2=-_Sa2*-_Oa2;var _Va2=_Ta2*-_Oa2;this._v7[0]=((_Ta2*_Ra2)+(_Ua2*-_Qa2))*_4q;this._v7[4]=(-_Sa2*_Pa2)*_4q;this._v7[8]=((_Ta2*_Qa2)+(_Ua2*_Ra2))*_4q;this._v7[12]=_N6;this._v7[1]=((_Sa2*_Ra2)+(_Va2*-_Qa2))*_5q;this._v7[5]=(_Ta2*_Pa2)*_5q;this._v7[9]=((_Sa2*_Qa2)+(_Va2*_Ra2))*_5q;this._v7[13]=_O6;this._v7[2]=(_Pa2*-_Qa2)*_6q;
this._v7[6]=_Oa2*_6q;this._v7[10]=(_Pa2*_Ra2)*_6q;this._v7[14]=_8c;this._v7[3]=this._v7[7]=this._v7[11]=0.0;this._v7[15]=1.0};_4o.prototype._lz=function(_Wa2){var _Xa2=_Wa2._v7[_fa2]*_Wa2._v7[_ka2]-_Wa2._v7[_ja2]*_Wa2._v7[_ga2];var _bq=_Wa2._v7[_fa2]*_Wa2._v7[_la2]-_Wa2._v7[_ja2]*_Wa2._v7[_ha2];var _cq=_Wa2._v7[_fa2]*_Wa2._v7[_ma2]-_Wa2._v7[_ja2]*_Wa2._v7[_ia2];var _dq=_Wa2._v7[_ga2]*_Wa2._v7[_la2]-_Wa2._v7[_ka2]*_Wa2._v7[_ha2];var _Ya2=_Wa2._v7[_ga2]*_Wa2._v7[_ma2]-_Wa2._v7[_ka2]*_Wa2._v7[_ia2];var _Za2=_Wa2._v7[_ha2]*_Wa2._v7[_ma2]-_Wa2._v7[_la2]*_Wa2._v7[_ia2];
var __a2=_Wa2._v7[_pa2]*_Wa2._v7[_ua2]-_Wa2._v7[_ta2]*_Wa2._v7[_qa2];var _0b2=_Wa2._v7[_oa2]*_Wa2._v7[_ua2]-_Wa2._v7[_sa2]*_Wa2._v7[_qa2];var _LW=_Wa2._v7[_oa2]*_Wa2._v7[_ta2]-_Wa2._v7[_sa2]*_Wa2._v7[_pa2];var _AW=_Wa2._v7[_na2]*_Wa2._v7[_ua2]-_Wa2._v7[_ra2]*_Wa2._v7[_qa2];var _zW=_Wa2._v7[_na2]*_Wa2._v7[_ta2]-_Wa2._v7[_ra2]*_Wa2._v7[_pa2];var _4X=_Wa2._v7[_na2]*_Wa2._v7[_sa2]-_Wa2._v7[_ra2]*_Wa2._v7[_oa2];var _EW=(_Xa2*__a2-_bq*_0b2+_cq*_LW+_dq*_AW-_Ya2*_zW+_Za2*_4X);if(_EW!=0){var _1b2=1.0/_EW;var _M7=new Float32Array(16);
_M7[_fa2]=(_Wa2._v7[_ka2]*__a2-_Wa2._v7[_la2]*_0b2+_Wa2._v7[_ma2]*_LW)*_1b2;_M7[_ga2]=(-_Wa2._v7[_ga2]*__a2+_Wa2._v7[_ha2]*_0b2-_Wa2._v7[_ia2]*_LW)*_1b2;_M7[_ha2]=(_Wa2._v7[_sa2]*_Za2-_Wa2._v7[_ta2]*_Ya2+_Wa2._v7[_ua2]*_dq)*_1b2;_M7[_ia2]=(-_Wa2._v7[_oa2]*_Za2+_Wa2._v7[_pa2]*_Ya2-_Wa2._v7[_qa2]*_dq)*_1b2;_M7[_ja2]=(-_Wa2._v7[_ja2]*__a2+_Wa2._v7[_la2]*_AW-_Wa2._v7[_ma2]*_zW)*_1b2;_M7[_ka2]=(_Wa2._v7[_fa2]*__a2-_Wa2._v7[_ha2]*_AW+_Wa2._v7[_ia2]*_zW)*_1b2;_M7[_la2]=(-_Wa2._v7[_ra2]*_Za2+_Wa2._v7[_ta2]*_cq-_Wa2._v7[_ua2]*_bq)*_1b2;
_M7[_ma2]=(_Wa2._v7[_na2]*_Za2-_Wa2._v7[_pa2]*_cq+_Wa2._v7[_qa2]*_bq)*_1b2;_M7[_na2]=(_Wa2._v7[_ja2]*_0b2-_Wa2._v7[_ka2]*_AW+_Wa2._v7[_ma2]*_4X)*_1b2;_M7[_oa2]=(-_Wa2._v7[_fa2]*_0b2+_Wa2._v7[_ga2]*_AW-_Wa2._v7[_ia2]*_4X)*_1b2;_M7[_pa2]=(_Wa2._v7[_ra2]*_Ya2-_Wa2._v7[_sa2]*_cq+_Wa2._v7[_ua2]*_Xa2)*_1b2;_M7[_qa2]=(-_Wa2._v7[_na2]*_Ya2+_Wa2._v7[_oa2]*_cq-_Wa2._v7[_qa2]*_Xa2)*_1b2;_M7[_ra2]=(-_Wa2._v7[_ja2]*_LW+_Wa2._v7[_ka2]*_zW-_Wa2._v7[_la2]*_4X)*_1b2;_M7[_sa2]=(_Wa2._v7[_fa2]*_LW-_Wa2._v7[_ga2]*_zW+_Wa2._v7[_ha2]*_4X)*_1b2;
_M7[_ta2]=(-_Wa2._v7[_ra2]*_dq+_Wa2._v7[_sa2]*_bq-_Wa2._v7[_ta2]*_Xa2)*_1b2;_M7[_ua2]=(_Wa2._v7[_na2]*_dq-_Wa2._v7[_oa2]*_bq+_Wa2._v7[_pa2]*_Xa2)*_1b2;this._v7=_M7}};_4o.prototype._sT1=function(_2b2){var _3b2=new _oo(0.0,0.0,0.0);if(_2b2!=undefined){_3b2._Wo=(this._v7[_Ep]*_2b2._Wo)+(this._v7[_Fp]*_2b2._Xo)+(this._v7[_Gp]*_2b2._Yo)+this._v7[_Hp];_3b2._Xo=(this._v7[_Ip]*_2b2._Wo)+(this._v7[_xo]*_2b2._Xo)+(this._v7[_Jp]*_2b2._Yo)+this._v7[_Kp];_3b2._Yo=(this._v7[_Mp]*_2b2._Wo)+(this._v7[_Np]*_2b2._Xo)+(this._v7[_Op]*_2b2._Yo)+this._v7[_Pp]}
return _3b2};/*@constructor */function _Uh(){this.x=0;this.y=0;this._u4=0;this._v4=0;this._w4=0;this._x4=0;this._y4=0;this._z4=0;this._A4=0;this._B4=0;this._C4=0;this._mP=_N92}/*@constructor */function _N92(_BP){this.x=_BP.x;this.y=_BP.y;this._u4=_BP._u4;this._v4=_BP._v4;this._w4=_BP._w4;this._x4=_BP._x4;this._y4=_BP._y4;this._z4=_BP._z4;this._A4=_BP._A4;this._B4=_BP._B4;this._C4=_BP._C4}/*@constructor *//*@constructor *//*@constructor *//*@constructor *//*@constructor *//*@constructor *//*@constructor *//*@constructor */function _4b2(_59){
_Fa("splash_set_color()")}var _5b2=_4b2;var _6b2=!0;function _7b2(_Ha){_Fa("texture_get_width()")}function _8b2(_Ha){_Fa("texture_get_height()")}function _9b2(_sC){_Fa("texture_set_blending()")}function _Fo(repeat){_Fa("texture_set_repeat()")}function _Eo(){_Fa("texture_get_repeat()")}function _ab2(repeat){_Fa("texture_set_repeat_ext()")}function _bb2(_Pr1,_1l){_Fa("texture_set_interpolation_ext()")}function _cb2(_F8){_Fa("texture_get_uvs()")}function _db2(){_Fa("draw_set_alpha_test()")}function _eb2(){_Fa("draw_set_alpha_test_ref_value()")}
function _fb2(){_Fa("draw_get_alpha_test()");return 0}function _gb2(){_Fa("draw_get_alpha_test_ref_value()");return 0}/*@constructor */function _oo(_hb2,_ib2,_jb2){if(arguments.length>0){if(arguments.length==3){this._Wo=_hb2;this._Xo=_ib2;this._Yo=_jb2}else {this._Wo=_hb2._Wo;this._Xo=_hb2._Xo;this._Yo=_hb2._Yo}}else {this._Wo=1.0;this._Xo=0.0;this._Yo=0.0}}_oo.prototype._Qe=function(_ya){return new _oo(this._Wo+_ya._Wo,this._Xo+_ya._Xo,this._Yo+_ya._Yo)};_oo.prototype._uT1=function(_ya){return new _oo(this._Wo-_ya._Wo,
this._Xo-_ya._Xo,this._Yo-_ya._Yo)};_oo.prototype._To=function(){var _9s=1.0/Math.sqrt((this._Wo*this._Wo)+(this._Xo*this._Xo)+(this._Yo*this._Yo));this._Wo=this._Wo*_9s;this._Xo=this._Xo*_9s;this._Yo=this._Yo*_9s};_oo.prototype._kb2=function(){var _lb2=(this._Wo*this._Wo)+(this._Xo*this._Xo)+(this._Yo*this._Yo);return _lb2};_oo.prototype.Length=function(){var _lb2=this._kb2();if(_lb2>0.0){return Math.sqrt(_lb2)}else {return 0.0}};_oo.prototype._Da2=function(_mb2,_nb2){this._Wo=(_mb2._Xo*_nb2._Yo)-(_mb2._Yo*_nb2._Xo);
this._Xo=(_mb2._Yo*_nb2._Wo)-(_mb2._Wo*_nb2._Yo);this._Yo=(_mb2._Wo*_nb2._Xo)-(_mb2._Xo*_nb2._Wo)};_oo.prototype._Ea2=function(_ob2){return(this._Wo*_ob2._Wo)+(this._Xo*_ob2._Xo)+(this._Yo*_ob2._Yo)};(function(global,_7q1,_pb2){'use strict';function _qb2(_rb2){if(!_rb2)return;if(!_rb2.setTargetAtTime)_rb2.setTargetAtTime=_rb2.setTargetValueAtTime;}if(window.hasOwnProperty('webkitAudioContext')&&!window.hasOwnProperty('AudioContext')){window.AudioContext=webkitAudioContext;if(!AudioContext.prototype.hasOwnProperty('createGain'))AudioContext.prototype.createGain=AudioContext.prototype.createGainNode;
if(!AudioContext.prototype.hasOwnProperty('createDelay'))AudioContext.prototype.createDelay=AudioContext.prototype._sb2;if(!AudioContext.prototype.hasOwnProperty('createScriptProcessor'))AudioContext.prototype.createScriptProcessor=AudioContext.prototype._tb2;if(!AudioContext.prototype.hasOwnProperty('createPeriodicWave'))AudioContext.prototype.createPeriodicWave=AudioContext.prototype._ub2;AudioContext.prototype._vb2=AudioContext.prototype.createGain;AudioContext.prototype.createGain=function(){
var __g=this._vb2();_qb2(__g.gain);return __g};AudioContext.prototype._wb2=AudioContext.prototype.createDelay;AudioContext.prototype.createDelay=function(_xb2){var __g=_xb2?this._wb2(_xb2):this._wb2();_qb2(__g.delayTime);return __g};AudioContext.prototype._yb2=AudioContext.prototype.createBufferSource;AudioContext.prototype.createBufferSource=function(){var __g=this._yb2();if(!__g.start){__g.start=function(_zb2,offset,duration){if(offset||duration)this.noteGrainOn(_zb2||0,offset,duration);else this.noteOn(_zb2||0)}
}else {__g._Ab2=__g.start;__g.start=function(_zb2,offset,duration){if(typeof duration!=='undefined')__g._Ab2(_zb2||0,offset,duration);else __g._Ab2(_zb2||0,offset||0)}}if(!__g.stop){__g.stop=function(_zb2){this.noteOff(_zb2||0)}}else {__g._Bb2=__g.stop;__g.stop=function(_zb2){__g._Bb2(_zb2||0);}}_qb2(__g.playbackRate);return __g};AudioContext.prototype._Cb2=AudioContext.prototype._Db2;AudioContext.prototype._Db2=function(){var __g=this._Cb2();_qb2(__g._Eb2);_qb2(__g._Fb2);_qb2(__g._Ej1);_qb2(__g._Gb2);
_qb2(__g._Hb2);_qb2(__g._Ib2);return __g};AudioContext.prototype._Jb2=AudioContext.prototype._Kb2;AudioContext.prototype._Kb2=function(){var __g=this._Jb2();_qb2(__g._Wp1);_qb2(__g._Lb2);_qb2(__g._C31);_qb2(__g.gain);return __g};if(AudioContext.prototype.hasOwnProperty('createOscillator')){AudioContext.prototype._Mb2=AudioContext.prototype._Nb2;AudioContext.prototype._Nb2=function(){var __g=this._Mb2();if(!__g.start){__g.start=function(_zb2){this.noteOn(_zb2||0)}}else {__g._Ab2=__g.start;__g.start=function(_zb2){
__g._Ab2(_zb2||0)}}if(!__g.stop){__g.stop=function(_zb2){this.noteOff(_zb2||0)}}else {__g._Bb2=__g.stop;__g.stop=function(_zb2){__g._Bb2(_zb2||0)}}if(!__g._Ob2)__g._Ob2=__g._Pb2;_qb2(__g._Wp1);_qb2(__g._Lb2);return __g}}}if(window.hasOwnProperty('webkitOfflineAudioContext')&&!window.hasOwnProperty('OfflineAudioContext')){window.OfflineAudioContext=webkitOfflineAudioContext}}(window));var _Qb2=0,_Rb2=1,_Sb2=2,_Tb2=3,_Ub2=4,_Vb2=5,_Wb2=6,_Xb2=7,_Yb2=8,_Zb2=9,__b2=10,_0c2=11,_1c2=12,_2c2=13,_3c2=14,_4c2=15;
/*@constructor */function _ap(){this._6f()}_ap.prototype._6f=function(){this._5c2=[];this._6c2=[]};_ap.prototype._7c2=function(){var _8c2="100\n";_8c2+=this._5c2.length.toString()+"\n";for(var _Q7=0;_Q7<this._5c2.length;_Q7++){var _9c2=this._5c2[_Q7];_8c2+=_9c2._ac2.toString()+" ";switch(_9c2._ac2){case _Rb2:break;case _Qb2:_8c2+=_9c2._bc2.toString();break;case _Sb2:_8c2+=_9c2.x.toString()+" ";_8c2+=_9c2.y.toString()+" ";_8c2+=_9c2._Ua.toString()+" ";_8c2+="0.0 0.0 0.0 0.0 0.0 0.0 0.0\n";break;case _Tb2:_8c2+=_9c2.x.toString()+" ";
_8c2+=_9c2.y.toString()+" ";_8c2+=_9c2._Ua.toString()+" ";_8c2+=(_9c2.color*1.0).toString()+" ";_8c2+=_9c2.alpha.toString()+" ";_8c2+="0.0 0.0 0.0 0.0 0.0\n";break;case _Ub2:_8c2+=_9c2.x.toString()+" ";_8c2+=_9c2.y.toString()+" ";_8c2+=_9c2._Ua.toString()+" ";_8c2+=_9c2._w9.toString()+" ";_8c2+=_9c2._y9.toString()+" ";_8c2+="0.0 0.0 0.0 0.0 0.0\n";break;case _Vb2:_8c2+=_9c2.x.toString()+" ";_8c2+=_9c2.y.toString()+" ";_8c2+=_9c2._Ua.toString()+" ";_8c2+=_9c2._w9.toString()+" ";_8c2+=_9c2._y9.toString()+" ";
_8c2+=(_9c2.color*1.0).toString()+" ";_8c2+=_9c2.alpha.toString()+" ";_8c2+="0.0 0.0 0.0\n";break;case _Wb2:_8c2+=_9c2.x.toString()+" ";_8c2+=_9c2.y.toString()+" ";_8c2+=_9c2._Ua.toString()+" ";_8c2+=_9c2._0b.toString()+" ";_8c2+=_9c2._1b.toString()+" ";_8c2+=_9c2._2b.toString()+" ";_8c2+="0.0 0.0 0.0 0.0\n";break;case _Xb2:_8c2+=_9c2.x.toString()+" ";_8c2+=_9c2.y.toString()+" ";_8c2+=_9c2._Ua.toString()+" ";_8c2+=_9c2._0b.toString()+" ";_8c2+=_9c2._1b.toString()+" ";_8c2+=_9c2._2b.toString()+" ";
_8c2+=(_9c2.color*1.0).toString()+" ";_8c2+=_9c2.alpha.toString()+" ";_8c2+="0.0 0.0\n";break;case _Yb2:_8c2+=_9c2.x.toString()+" ";_8c2+=_9c2.y.toString()+" ";_8c2+=_9c2._Ua.toString()+" ";_8c2+=_9c2._0b.toString()+" ";_8c2+=_9c2._1b.toString()+" ";_8c2+=_9c2._2b.toString()+" ";_8c2+=_9c2._w9.toString()+" ";_8c2+=_9c2._y9.toString()+" ";_8c2+="0.0 0.0\n";break;case _Zb2:_8c2+=_9c2.x.toString()+" ";_8c2+=_9c2.y.toString()+" ";_8c2+=_9c2._Ua.toString()+" ";_8c2+=_9c2._0b.toString()+" ";_8c2+=_9c2._1b.toString()+" ";
_8c2+=_9c2._2b.toString()+" ";_8c2+=_9c2._w9.toString()+" ";_8c2+=_9c2._y9.toString()+" ";_8c2+=(_9c2.color*1.0).toString()+" ";_8c2+=_9c2.alpha.toString()+" ";_8c2+="\n";break;case __b2:case _3c2:case _4c2:_8c2+=_9c2._w7.toString()+" ";_8c2+=_9c2._x7.toString()+" ";_8c2+=_9c2._Ui.toString()+" ";_8c2+=_9c2._y7.toString()+" ";_8c2+=_9c2._z7.toString()+" ";_8c2+=_9c2._Vi.toString()+" ";_8c2+=(_9c2._Go?1.0:0.0).toString()+" ";_8c2+=(_9c2._Ho?1.0:0.0).toString()+" ";_8c2+="0.0 0.0\n";break;case _2c2:_8c2+=_9c2._w7.toString()+" ";
_8c2+=_9c2._x7.toString()+" ";_8c2+=_9c2._Ui.toString()+" ";_8c2+=_9c2._y7.toString()+" ";_8c2+=_9c2._z7.toString()+" ";_8c2+=_9c2._Vi.toString()+" ";_8c2+=(_9c2._Go?1.0:0.0).toString()+" ";_8c2+=(_9c2._Ho?1.0:0.0).toString()+" ";_8c2+=(_9c2._Zi*1.0).toString()+" ";_8c2+="0.0\n";break;case _0c2:case _1c2:_8c2+=_9c2._w7.toString()+" ";_8c2+=_9c2._x7.toString()+" ";_8c2+=_9c2._Ui.toString()+" ";_8c2+=_9c2._y7.toString()+" ";_8c2+=_9c2._z7.toString()+" ";_8c2+=_9c2._Vi.toString()+" ";_8c2+=(_9c2._Go?1.0:0.0).toString()+" ";
_8c2+=(_9c2._Ho?1.0:0.0).toString()+" ";_8c2+=(_9c2._1j?1.0:0.0).toString()+" ";_8c2+=(_9c2._Zi*1.0).toString()+" ";_8c2+="\n";break }}return _8c2};_ap.prototype._bp=function(_Xt){if(_N62===true){var _cc2=this._7c2();var _dc2=_Wt(_Xt);_Zt(_dc2,_cc2);_St(_dc2)}else {debug("d3d_model_save() browser does not support local storage\n")}};_ap.prototype._ec2=function(_fc2){var _gc2="";var _7L1=false;for(var _Q7=0;_Q7<_fc2.length;_Q7++){var _hc2=_fc2.charAt(_Q7);if(_hc2==' '){if(!_7L1){_gc2=_gc2+_hc2}_7L1=true}else {
_7L1=false;_gc2=_gc2+_hc2}}return _gc2};_ap.prototype._ic2=function(_jc2){var _kc2=_jc2.split("\n");var version=parseInt(_kc2[0]);if(version==100){var _lc2=parseInt(_kc2[1]);for(var _Q7=2;_Q7<_kc2.length;_Q7++){var _9c2={};var _mc2=this._ec2(_kc2[_Q7]);var _nc2=_mc2.split(" ");_9c2._ac2=parseInt(_nc2[0]);switch(_9c2._ac2){case _Rb2:break;case _Qb2:{_9c2._bc2=parseInt(_nc2[1]);break }case _Sb2:{_9c2.x=parseFloat(_nc2[1]);_9c2.y=parseFloat(_nc2[2]);_9c2._Ua=parseFloat(_nc2[3]);break }case _Tb2:{_9c2.x=parseFloat(_nc2[1]);
_9c2.y=parseFloat(_nc2[2]);_9c2._Ua=parseFloat(_nc2[3]);_9c2.color=parseInt(_nc2[4]);_9c2.alpha=parseFloat(_nc2[5]);break }case _Ub2:{_9c2.x=parseFloat(_nc2[1]);_9c2.y=parseFloat(_nc2[2]);_9c2._Ua=parseFloat(_nc2[3]);_9c2._w9=parseFloat(_nc2[4]);_9c2._y9=parseFloat(_nc2[5]);break }case _Vb2:{_9c2.x=parseFloat(_nc2[1]);_9c2.y=parseFloat(_nc2[2]);_9c2._Ua=parseFloat(_nc2[3]);_9c2._w9=parseFloat(_nc2[4]);_9c2._y9=parseFloat(_nc2[5]);_9c2.color=parseInt(_nc2[6]);_9c2.alpha=parseFloat(_nc2[7]);break }case _Wb2:{
_9c2.x=parseFloat(_nc2[1]);_9c2.y=parseFloat(_nc2[2]);_9c2._Ua=parseFloat(_nc2[3]);_9c2._0b=parseFloat(_nc2[4]);_9c2._1b=parseFloat(_nc2[5]);_9c2._2b=parseFloat(_nc2[6]);break }case _Xb2:{_9c2.x=parseFloat(_nc2[1]);_9c2.y=parseFloat(_nc2[2]);_9c2._Ua=parseFloat(_nc2[3]);_9c2._0b=parseFloat(_nc2[4]);_9c2._1b=parseFloat(_nc2[5]);_9c2._2b=parseFloat(_nc2[6]);_9c2.color=parseInt(_nc2[7]);_9c2.alpha=parseFloat(_nc2[8]);break }case _Yb2:{_9c2.x=parseFloat(_nc2[1]);_9c2.y=parseFloat(_nc2[2]);_9c2._Ua=parseFloat(_nc2[3]);
_9c2._0b=parseFloat(_nc2[4]);_9c2._1b=parseFloat(_nc2[5]);_9c2._2b=parseFloat(_nc2[6]);_9c2._w9=parseFloat(_nc2[7]);_9c2._y9=parseFloat(_nc2[8]);break }case _Zb2:{_9c2.x=parseFloat(_nc2[1]);_9c2.y=parseFloat(_nc2[2]);_9c2._Ua=parseFloat(_nc2[3]);_9c2._0b=parseFloat(_nc2[4]);_9c2._1b=parseFloat(_nc2[5]);_9c2._2b=parseFloat(_nc2[6]);_9c2._w9=parseFloat(_nc2[7]);_9c2._y9=parseFloat(_nc2[8]);_9c2.color=parseInt(_nc2[9]);_9c2.alpha=parseFloat(_nc2[10]);break }case __b2:case _3c2:case _4c2:{_9c2._w7=parseFloat(_nc2[1]);
_9c2._x7=parseFloat(_nc2[2]);_9c2._Ui=parseFloat(_nc2[3]);_9c2._y7=parseFloat(_nc2[4]);_9c2._z7=parseFloat(_nc2[5]);_9c2._Vi=parseFloat(_nc2[6]);_9c2._Go=(parseFloat(_nc2[7])>=0.5)?true:false;_9c2._Ho=(parseFloat(_nc2[8])>=0.5)?true:false;break }case _2c2:{_9c2._w7=parseFloat(_nc2[1]);_9c2._x7=parseFloat(_nc2[2]);_9c2._Ui=parseFloat(_nc2[3]);_9c2._y7=parseFloat(_nc2[4]);_9c2._z7=parseFloat(_nc2[5]);_9c2._Vi=parseFloat(_nc2[6]);_9c2._Go=(parseFloat(_nc2[7])>=0.5)?true:false;_9c2._Ho=(parseFloat(_nc2[8])>=0.5)?true:false;
_9c2._Zi=~~parseFloat(_nc2[9]);break }case _0c2:case _1c2:{_9c2._w7=parseFloat(_nc2[1]);_9c2._x7=parseFloat(_nc2[2]);_9c2._Ui=parseFloat(_nc2[3]);_9c2._y7=parseFloat(_nc2[4]);_9c2._z7=parseFloat(_nc2[5]);_9c2._Vi=parseFloat(_nc2[6]);_9c2._Go=(parseFloat(_nc2[7])>=0.5)?true:false;_9c2._Ho=(parseFloat(_nc2[8])>=0.5)?true:false;_9c2._1j=(parseFloat(_nc2[9])>=0.5)?true:false;_9c2._Zi=~~parseFloat(_nc2[10]);break }}this._5c2.push(_9c2)}}};_ap.prototype._L8=function(_Xt){var _oc2=_Ju(_Xt,true);if(_oc2!==null&&_oc2!==undefined){
this._ic2(_oc2)}else {var _8j=_QM(_Xt);var _O8=this;var _pc2=new XMLHttpRequest();_pc2.open("GET",_8j,false);_pc2.onload=function(){if(_pc2.readyState==4&&_pc2.status==200){_O8._ic2(_pc2.responseText)}};_pc2.send(null);}};_ap.prototype._Jc=function(_Ea){this._5c2.push({_ac2:_Qb2,_bc2:_Ea})};_ap.prototype._Lc=function(){this._5c2.push({_ac2:_Rb2})};_ap.prototype._dp=function(x,y,_Ua){this._5c2.push({_ac2:_Sb2,x:x,y:y,_Ua:_Ua})};_ap.prototype._ep=function(x,y,_Ua,_59,alpha){this._5c2.push({_ac2:_Tb2,x:x,
y:y,_Ua:_Ua,color:_59,alpha:alpha})};_ap.prototype._fp=function(x,y,_Ua,_Ma,_Na){this._5c2.push({_ac2:_Ub2,x:x,y:y,_Ua:_Ua,_w9:_Ma,_y9:_Na})};_ap.prototype._gp=function(x,y,_Ua,_Ma,_Na,_59,alpha){this._5c2.push({_ac2:_Vb2,x:x,y:y,_Ua:_Ua,_w9:_Ma,_y9:_Na,color:_59,alpha:alpha})};_ap.prototype._hp=function(x,y,_Ua,_0b,_1b,_2b){this._5c2.push({_ac2:_Wb2,x:x,y:y,_Ua:_Ua,_0b:_0b,_1b:_1b,_2b:_2b})};_ap.prototype._ip=function(x,y,_Ua,_0b,_1b,_2b,_59,alpha){this._5c2.push({_ac2:_Xb2,x:x,y:y,_Ua:_Ua,_0b:_0b,
_1b:_1b,_2b:_2b,color:_59,alpha:alpha})};_ap.prototype._jp=function(x,y,_Ua,_0b,_1b,_2b,_Ma,_Na){this._5c2.push({_ac2:_Yb2,x:x,y:y,_Ua:_Ua,_0b:_0b,_1b:_1b,_2b:_2b,_w9:_Ma,_y9:_Na})};_ap.prototype._kp=function(x,y,_Ua,_0b,_1b,_2b,_Ma,_Na,_59,alpha){this._5c2.push({_ac2:_Zb2,x:x,y:y,_Ua:_Ua,_0b:_0b,_1b:_1b,_2b:_2b,_w9:_Ma,_y9:_Na,color:_59,alpha:alpha})};_ap.prototype._lp=function(_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi){this._5c2.push({_ac2:__b2,_w7:_w7,_x7:_x7,_Ui:_Ui,_y7:_y7,_z7:_z7,_Vi:_Vi,_Go:_Wi,_Ho:_Xi}
)};_ap.prototype._mp=function(_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi,_1j,_Zi){this._5c2.push({_ac2:_0c2,_w7:_w7,_x7:_x7,_Ui:_Ui,_y7:_y7,_z7:_z7,_Vi:_Vi,_Go:_Wi,_Ho:_Xi,_1j:_1j,_Zi:_Zi})};_ap.prototype._np=function(_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi,_1j,_Zi){this._5c2.push({_ac2:_1c2,_w7:_w7,_x7:_x7,_Ui:_Ui,_y7:_y7,_z7:_z7,_Vi:_Vi,_Go:_Wi,_Ho:_Xi,_1j:_1j,_Zi:_Zi})};_ap.prototype._op=function(_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi,_Zi){this._5c2.push({_ac2:_2c2,_w7:_w7,_x7:_x7,_Ui:_Ui,_y7:_y7,_z7:_z7,_Vi:_Vi,_Go:_Wi,
_Ho:_Xi,_Zi:_Zi})};_ap.prototype._pp=function(_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi){this._5c2.push({_ac2:_3c2,_w7:_w7,_x7:_x7,_Ui:_Ui,_y7:_y7,_z7:_z7,_Vi:_Vi,_Go:_Wi,_Ho:_Xi})};_ap.prototype._qp=function(_w7,_x7,_Ui,_y7,_z7,_Vi,_Wi,_Xi){this._5c2.push({_ac2:_4c2,_w7:_w7,_x7:_x7,_Ui:_Ui,_y7:_y7,_z7:_z7,_Vi:_Vi,_Go:_Wi,_Ho:_Xi})};_ap.prototype._qc2=function(){this._rc2=new _Pb(_Qb,_v8._Rb(_v8._5c),false);this._rc2._bc2=-1;this._rc2._sc2=null};_ap.prototype._tc2=function(_Fb){switch(_Fb){case _eb:case _fb:case _hb:return true}
return false};_ap.prototype._uc2=function(_vc2){var _wc2=this._rc2;if((_wc2._bc2!=-1)&&((_ab!=_wc2._bc2)||(_bb!=_wc2._sc2)||(this._tc2(_wc2._bc2)===false))){_wc2._cd();_vc2.push({_bc2:_Eb(_wc2._bc2),_sc2:_wc2._sc2,_xc2:_wc2});this._qc2();_wc2=this._rc2}_wc2._jy1(_db);_wc2._bc2=_ab;_wc2._sc2=_bb;_Lb()};_ap.prototype._yc2=function(_vc2){var _wc2=this._rc2;_wc2._cd();_vc2.push({_bc2:_Eb(_wc2._bc2),_sc2:_wc2._sc2,_xc2:_wc2});_Lb()};_ap.prototype._Pa1=function(_9c2,_S8,_vc2){var _zc2=_8b;var _O8=this;_8b=function(){
_O8._uc2(_vc2)};switch(_9c2._ac2){case __b2:__i(_9c2._w7,_9c2._x7,_9c2._Ui,_9c2._y7,_9c2._z7,_9c2._Vi,_S8,_9c2._Go,_9c2._Ho);break;case _0c2:_0j(_9c2._w7,_9c2._x7,_9c2._Ui,_9c2._y7,_9c2._z7,_9c2._Vi,_S8,_9c2._Go,_9c2._Ho,_9c2._1j,_9c2._Zi);break;case _1c2:_2j(_9c2._w7,_9c2._x7,_9c2._Ui,_9c2._y7,_9c2._z7,_9c2._Vi,_S8,_9c2._Go,_9c2._Ho,_9c2._1j,_9c2._Zi);break;case _2c2:_Yi(_9c2._w7,_9c2._x7,_9c2._Ui,_9c2._y7,_9c2._z7,_9c2._Vi,_S8,_9c2._Go,_9c2._Ho,_9c2._Zi);break;case _3c2:_3j(_9c2._w7,_9c2._x7,_9c2._Ui,
_9c2._y7,_9c2._z7,_9c2._Vi,_S8,_9c2._Go,_9c2._Ho);break;case _4c2:_Ti(_9c2._w7,_9c2._x7,_9c2._Ui,_9c2._y7,_9c2._z7,_9c2._Vi,_S8,_9c2._Go,_9c2._Ho);break }_8b=_zc2};_ap.prototype._a9=function(x,y,_Ua,_S8){var _Q7,_zp=new _4o();_zp._tp(x,y,_Ua);var _Ap=_Bp(_sp);var _v7=new _4o();_v7.Multiply(_zp,_Ap);_rp(_sp,_v7);var _a4=((_Tb*255.0)<<24)|(_Ub&0x00ffffff);var _Ac2=this._6c2[_a4];if(_Ac2===undefined){_Ac2=[];this._6c2[_a4]=_Ac2}if(_Ac2[_S8]===undefined){_Ac2[_S8]=[];var _G8=_Ac2[_S8];this._qc2();for(var _Q7=0;
_Q7<this._5c2.length;_Q7++){var _9c2=this._5c2[_Q7];switch(_9c2._ac2){case _Qb2:_Sa(_9c2._bc2,_S8);break;case _Rb2:this._uc2(_G8);break;case _Sb2:_Ta(_9c2.x,_9c2.y,_9c2._Ua);break;case _Tb2:_Va(_9c2.x,_9c2.y,_9c2._Ua,_9c2.color,_9c2.alpha);break;case _Ub2:_Xa(_9c2.x,_9c2.y,_9c2._Ua,_9c2._w9,_9c2._y9);break;case _Vb2:_Ya(_9c2.x,_9c2.y,_9c2._Ua,_9c2._w9,_9c2._y9,_9c2.color,_9c2.alpha);break;case _Wb2:__a(_9c2.x,_9c2.y,_9c2._Ua,_9c2._0b,_9c2._1b,_9c2._2b);break;case _Xb2:_3b(_9c2.x,_9c2.y,_9c2._Ua,_9c2._0b,
_9c2._1b,_9c2._2b,_9c2.color,_9c2.alpha);break;case _Yb2:_5b(_9c2.x,_9c2.y,_9c2._Ua,_9c2._0b,_9c2._1b,_9c2._2b,_9c2._w9,_9c2._y9);break;case _Zb2:_6b(_9c2.x,_9c2.y,_9c2._Ua,_9c2._0b,_9c2._1b,_9c2._2b,_9c2._w9,_9c2._y9,_9c2.color,_9c2.alpha);break;case __b2:case _0c2:case _1c2:case _2c2:case _3c2:case _4c2:this._Pa1(_9c2,_S8,_G8);break }}this._yc2(_G8);this._rc2=null}var _Bc2=_Ac2[_S8];for(_Q7=0;_Q7<_Bc2.length;_Q7++){var _Cc2=_Bc2[_Q7];var _4c=_Cc2._sc2?_Cc2._sc2._fa:null;_v8._jd(_Cc2._bc2,_4c,_Cc2._xc2,0)}
_rp(_sp,_Ap)};/*@constructor */function _YJ(_Dc2){var _rg=arguments;var _sg=arguments.length;this._xg=[];this._YU=[];this.length=0;this._H8=0;if(_sg>0){for(var _Q7=0;_Q7<_sg;_Q7++){this._xg[_Q7]=null;this._YU.push(_Q7);}}}_YJ.prototype._782=function(){var _r7;if(this._YU.length===0){_r7=this._xg.length;this._xg[_r7]=null;return _r7}return this._YU.pop()};_YJ.prototype._Qe=function(_Ec2){var index=this._782();this._xg[index]=_Ec2;this._H8++;this.length=this._xg.length;return index};_YJ.prototype._8g=function(_MG){
var _Hg=this._xg[_MG];if(_Hg===undefined)_Hg=null;return _Hg};_YJ.prototype._SE=function(_Fc2){for(var _H7=0;_H7<this._xg.length;_H7++){if(this._xg[_H7]==_Fc2)return _H7}return -1};_YJ.prototype._DD=function(_Fc2){var index=this._SE(_Fc2);if(index<0)return;this._xg[index]=null;this._YU.push(index);this._H8--};_YJ.prototype._ng=function(_MG){if(_MG<0||_MG>=this._xg.length)return;this._xg[_MG]=null;this._YU.push(_MG);this._H8--};_YJ.prototype._6f=function(){this._xg=[];this._YU=[];this._H8=0;this.length=this._xg.length}
;_YJ.prototype._Ig=function(_YO,_o6){if(_YO<0||_YO>=this._xg.length)return;this._xg[_YO]=_o6};var _Gc2=0,_Hc2=1,_Ic2=2,_Jc2=3,_Kc2=4,_Hz=5,_Os=6,_Lc2=7,__H=8,_Mc2=9,_Re=10,_Nc2=0,_Is=1,_Ms=-1,_wz=0,_Oc2=1,_uz=-1;var _Pc2=[];var _Qc2=[];function _Rc2(_Bg,_wt1){_Pc2.push(_Bg);_Qc2.push(_wt1)}function _Gs(_Bg){var _Q7=0;for(_Q7=0;_Q7<_Pc2.length;_Q7++){if(_Pc2[_Q7]==_Bg){var _Oe=_Qc2[_Q7];_Qc2.splice(_Q7,1);_Pc2.splice(_Q7,1);return _Oe}}return undefined}/*@constructor */function _Sc2(){this._Tc2="";this._Uc2=-1;
this._Ue=0;this._Vg=null;this._Vc2=_Gc2;this._Ve=false}/*@constructor */function _M82(){this._xg=new _YJ(5)}_M82.prototype._rH=function(){return this._xg};_M82.prototype._Qe=function(_5g,_292,_vc,_Wc2){var _Oe=new _Sc2();_Oe._Uc2=_5g;_Oe._Tc2=_292;_Oe._Vg=_Wc2;_Oe._Vc2=_vc;this._xg._Qe(_Oe);_Rc2(_Wc2,_Oe);return _Oe};_M82.prototype._Xc2=function(){var map=_W5();_X5._8N=map;var _xg=this._xg._xg;for(var _Q7=0;_Q7<_xg.length;_Q7++){var _Oe=_xg[_Q7];if(_Oe!==null){if(_Oe._Ve){_Gg(map);if(_Oe._Vc2==__H){var _CB=_Oe._Vg;
for(var prop in _CB){if(_CB.hasOwnProperty(prop)){_Z5(map,prop,_CB[prop])}}}else if(_Oe._Vc2==_Lc2){_Z5(map,"filename",_Oe._Tc2);_Z5(map,"url",_Oe._Tc2)}else if(_Oe._Vc2==_Hz){_Z5(map,"filename","");_Z5(map,"url",_Oe._Tc2);_Z5(map,"result",_Oe._vz);_Z5(map,"http_status",_Oe._zz);_Z5(map,"response_headers",_Oe._Az)}else if(_Oe._Vc2==_Os){_Z5(map,"username",_Oe._Ds);_Z5(map,"password",_Oe._Es);_Z5(map,"url","");_Z5(map,"result",_Oe._Hs);_Z5(map,"value",_Oe.value);_Z5(map,"http_status",0)}else if(_Oe._Vc2==_Mc2){
_Z5(map,"queue_id",_Oe._qN);_Z5(map,"buffer_id",_Oe._Yc2);_Z5(map,"queue_shutdown",_Oe._Zc2)}else if(_Oe._Vc2==_Re){_Z5(map,"event_type",_Oe._Se);_Z5(map,"pad_index",_Oe._Te)}else {_Z5(map,"url","");_Z5(map,"result","");_Z5(map,"http_status",0);_Z5(map,"filename",_Oe._Tc2)}if(_Oe._Vc2!=__H){_Z5(map,"id",_Oe._Uc2);_Z5(map,"status",_Oe._Ue)}if(_Oe._Vc2==_Hc2)_26._36(_QY1,0);else if(_Oe._Vc2==_Ic2)_26._36(_QY1,0);else if(_Oe._Vc2==_Jc2)_26._36(_QY1,0);else if(_Oe._Vc2==_Kc2)_26._36(_RY1,0);else if(_Oe._Vc2==_Hz)_26._36(_SY1,
0);else if(_Oe._Vc2==_Os)_26._36(_TY1,0);else if(_Oe._Vc2==_Lc2)_26._36(_KO,0);else if(_Oe._Vc2==__H)_26._36(_UY1,0);else if(_Oe._Vc2==_Mc2)_26._36(_5Z1,0);else if(_Oe._Vc2==_Re)_26._36(_9N,0);this._xg._ng(_Q7);if(_Oe._Vc2==_Hz){_56(_Oe._Az)}if(_Oe._Vc2==__H&&_Oe._Vg.type==_DH){__c2(_Oe._Vg.buffer)}}}}_56(map);_X5._8N=-1};/*@constructor */function _Sh(){this.__type="[Background]";this._U3="";this._hP=false;this._zi=false;this.preload=false;this._Gh=null;this._0d2=0;this._1d2=0;this._2d2=0;this._3d2=0;
this._4d2=0;this.frames=0;this._5d2=0;this._8F=0;this._6d2=[]}function _7d2(_8d2){var _xP=new _Sh();_xP._U3=_8d2._U3;if(_8d2._hP!=undefined)_xP._hP=_8d2._hP;if(_8d2._zi!=undefined)_xP._zi=_8d2._zi;if(_8d2.preload!=undefined)_xP.preload=_8d2.preload;_xP._Gh=_9d2(_8d2._ad2);if(_8d2._0d2!=undefined)_xP._0d2=_8d2._0d2;if(_8d2._1d2!=undefined)_xP._1d2=_8d2._1d2;if(_8d2._2d2!=undefined)_xP._2d2=_8d2._2d2;if(_8d2._3d2!=undefined)_xP._3d2=_8d2._3d2;if(_8d2._4d2!=undefined)_xP._4d2=_8d2._4d2;if(_8d2.frames!=undefined)_xP.frames=_8d2.frames;
if(_8d2._5d2!=undefined)_xP._5d2=_8d2._5d2;if(_8d2._8F!=undefined)_xP._8F=_8d2._8F;for(var _Q7=0;_Q7<_8d2.frames*_8d2._5d2;_Q7++){if(_8d2._6d2[_Q7]!=undefined)_xP._6d2[_Q7]=_8d2._6d2[_Q7]}return _xP}/*@constructor */function _bd2(_8d2){this._6f();if(_8d2._W3!=undefined)this._W3=_8d2._W3;if(_8d2._mC!=undefined)this._mC=_8d2._mC;if(_8d2.index!=undefined)this.index=_8d2.index;if(_8d2.x!=undefined)this.x=_8d2.x;if(_8d2.y!=undefined)this.y=_8d2.y;if(_8d2._nC!=undefined)this._cd2=_8d2._nC;if(_8d2._oC!=undefined)this._dd2=_8d2._oC;
if(_8d2._o4!=undefined)this._ed2=_8d2._o4;if(_8d2._p4!=undefined)this._fd2=_8d2._p4;if(_8d2._rC!=undefined)this._rC=_8d2._rC;if(_8d2.alpha!=undefined)this.alpha=_8d2.alpha;if(_8d2._sC!=undefined)this._sC=_8d2._sC;if(_8d2._0d2!=undefined)this._0d2=_8d2._0d2;if(_8d2._1d2!=undefined)this._1d2=_8d2._1d2;if(_8d2._2d2!=undefined)this._2d2=_8d2._2d2;if(_8d2._3d2!=undefined)this._3d2=_8d2._3d2;if(_8d2._4d2!=undefined)this._4d2=_8d2._4d2;if(_8d2.frames!=undefined)this.frames=_8d2.frames;if(_8d2._5d2!=undefined)this._5d2=_8d2._5d2;
if(_8d2._gd2!=undefined)this._gd2=_8d2._gd2;if(_8d2._hd2!=undefined)this._hd2=_8d2._hd2;}_bd2.prototype._6f=function(){this._W3=false;this._mC=false;this.index=-1;this.x=0;this.y=0;this._cd2=true;this._dd2=true;this._ed2=0;this._fd2=0;this._pC=1;this._qC=1;this._rC=false;this.alpha=1.0;this._sC=0xffffff};/*@constructor */function _H82(){this.images=[];this._Bh=[]}_H82.prototype._Dh=function(_YO){return this.images[_YO]};_H82.prototype._8g=function(_YO){return this._Bh[_YO]};_H82.prototype._6f=function(){
this._Bh=[]};_H82.prototype._M92=function(_8d2){var _Fh=null;if(_8d2!=null){_Fh=_7d2(_8d2)}return this._Vh(_Fh)};_H82.prototype._Vh=function(_id2){var _Q7=this.images.length;this.images[_Q7]=_id2;return _Q7};_H82.prototype._Qe=function(_8d2){var _Fh=null;if(_8d2!=null){_Fh=new _bd2(_8d2)}this._Bh[this._Bh.length]=_Fh};var _jd2=-1,_kd2=-2,_ld2=-3,_md2=-4,_nd2=-5;var _5I=0,_od2=1,_pd2=2,_qd2=3,_rd2=4;var _sd2=0,_td2=1,_ud2=2,_vd2=3,_wd2=4,_fF1=5,_hF1=6,_xd2=7,_gF1=8,_yd2=9,_zd2=10,_Ad2=11,_Bd2=12,_Cd2=13;var _jF1=0,
_Dd2=1,_Ed2=2;function _Fd2(data,_Gd2,_Hd2,_Id2,_Jd2,_Kd2){var _hv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var _iv,_jv,_kv,_lv,_mv,_nv,_ov,_pv;var _Q7=0;var _qv=_Id2;var _yv="";var _Ld2=Math.floor(_Kd2/3);_Q7=_Ld2*4;var _Md2=_Kd2%3;if(!data){return data}data+='';do {_lv=_mv=_nv=_ov=-1;while(_lv<0){_lv=_hv.indexOf(data.charAt(_Q7++))}while(_mv<0){_mv=_hv.indexOf(data.charAt(_Q7++))}while(_nv<0){_nv=_hv.indexOf(data.charAt(_Q7++))}while(_ov<0){_ov=_hv.indexOf(data.charAt(_Q7++))}
var _Nd2=(_lv<<2)|(_mv>>4);var _Od2=((_mv&15)<<4)|(_nv>>2);var _Pd2=((_nv&3)<<6)|_ov;_Hd2[_qv++]=_Nd2;if(_qv>=_Gd2)return _Hd2;if(_nv!=64){_Hd2[_qv++]=_Od2;if(_qv>=_Gd2)return _Hd2}if(_ov!=64){_Hd2[_qv++]=_Pd2;if(_qv>=_Gd2)return _Hd2}}while(_Q7<data.length);var _Qd2=_qv;if(_Jd2&&_Qd2<_Gd2){_Hd2[_Qd2++]='\0'}return _Hd2}function _Rd2(_Nv,length){var _Sd2="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var _Pv="";var _Nd2,_Od2,_Pd2="";var _Td2,_Ud2,_Vd2,_Wd2="";var _Q7=0;do {_Nd2=_Nv.charCodeAt(_Q7++);
_Od2=_Nv.charCodeAt(_Q7++);_Pd2=_Nv.charCodeAt(_Q7++);_Td2=_Nd2>>2;_Ud2=((_Nd2&3)<<4)|(_Od2>>4);_Vd2=((_Od2&15)<<2)|(_Pd2>>6);_Wd2=_Pd2&63;if(isNaN(_Od2)){_Vd2=_Wd2=64}else if(isNaN(_Pd2)){_Wd2=64}_Pv=_Pv+_Sd2.charAt(_Td2)+_Sd2.charAt(_Ud2)+_Sd2.charAt(_Vd2)+_Sd2.charAt(_Wd2);_Nd2=_Od2=_Pd2="";_Td2=_Ud2=_Vd2=_Wd2=""}while(_Q7<length);return _Pv}function _ht1(_hc){var _u7=1;while(_u7<=1024){if(_hc<=_u7)return _u7;_u7=_u7<<1}return 1024}/*@constructor */function _Xd2(_hc,_vc,_Yd2,_Zd2){_Yd2=_ht1(_Yd2&0x1ff);
this.__d2=_hc+_Yd2;this._Vc2=_vc;this._0e2=_hc;this._1e2=_Yd2;this._2e2=0;this._cF1=0;this._3e2=0;this._8I=new ArrayBuffer(_hc);this._4e2=new DataView(this._8I);if(_Zd2!=undefined&&_Zd2.length>0){var _5e2=_K7(_Zd2.length,_hc);this._3e2=_5e2;var _6e2=new Uint8Array(this._8I);for(var _Q7=0;_Q7<_5e2;_Q7++){_6e2[_Q7]=_Zd2[_Q7]}}}_Xd2.prototype._7e2=function(_oy1){var _8e2=new ArrayBuffer(_oy1);var _9e2=new Uint8Array(this._8I);var _ae2=new Uint8Array(_8e2);if(this._8I.byteLength>_oy1){for(var _Q7=0;_Q7<_oy1;_Q7++){
_ae2[_Q7]=_9e2[_Q7]}}else {_ae2.set(_9e2)}this._8I=_8e2;this._4e2=new DataView(this._8I);this._0e2=_oy1;this._be2(-1)};_Xd2.prototype._be2=function(_hc,_ce2){if(_hc==undefined)_hc=-1;if(_ce2==undefined)_ce2=false;var _u7=_hc;if(_u7==-1)_u7=this._cF1;if(_ce2){this._3e2=_u7;}else {this._3e2=_I7(this._3e2,_u7);this._3e2=_K7(this._3e2,this._0e2)}};function _tv(__t){var _hs="";for(var _Q7=0;_Q7<__t.length;_Q7++){var _de2=__t.charCodeAt(_Q7);if(_de2<0x80){_hs+=String.fromCharCode(_de2&0x7f)}else if(_de2<0x0800){
_hs+=String.fromCharCode((((_de2>>6)&0x1f)|0xc0));_hs+=String.fromCharCode((_de2&0x3f)|0x80)}else if(_de2<0x10000){_hs+=String.fromCharCode(((_de2>>12)&0x0f)|0xe0);_hs+=String.fromCharCode(((_de2>>6)&0x3f)|0x80);_hs+=String.fromCharCode((_de2&0x3f)|0x80)}else {_hs+=String.fromCharCode(((_de2>>18)&0x07)|0xf0);_hs+=String.fromCharCode(((_de2>>12)&0x3f)|0x80);_hs+=String.fromCharCode(((_de2>>6)&0x3f)|0x80);_hs+=String.fromCharCode((_de2&0x3f)|0x80)}}return _hs}_Xd2.prototype._ee2=function(_vc){this._cF1=(((this._cF1+this._2e2)+(this._1e2-1))&~(this._1e2-1))-this._2e2;
if(this._cF1>=this._0e2&&this._Vc2==_pd2){while(this._cF1>=this._0e2){this._fe2();this._cF1-=this._0e2}}if(this._cF1>=this._0e2)return(_vc==_Ad2)?"":_ld2;var _fq;switch(_vc){case _zd2:_fq=this._4e2.getUint8(this._cF1++);if(_fq==1){_fq=true}else {_fq=false;}break;case _td2:{_fq=this._4e2.getUint8(this._cF1++)}break;case _Ad2:case _Cd2:{_fq="";var _wv;var _vv=0;while(this._cF1<this._0e2){var _y9=0;_wv=-1;_vv=this._4e2.getUint8(this._cF1++,true);if((_vv&0x80)==0){_y9=_vv}else if((_vv&0xe0)==0xc0){_y9=(_vv&0x1f)<<6;
_vv=this._4e2.getUint8(this._cF1++,true);_y9|=(_vv&0x3f)}else if((_vv&0xf0)==0xe0){_y9=(_vv&0x0f)<<12;_vv=this._4e2.getUint8(this._cF1++,true);_y9|=(_vv&0x3f)<<6;_vv=this._4e2.getUint8(this._cF1++,true);_y9|=(_vv&0x3f)}else {_y9=(_vv&0x07)<<18;_vv=this._4e2.getUint8(this._cF1++,true);_y9|=(_vv&0x3f)<<12;_vv=this._4e2.getUint8(this._cF1++,true);_y9|=(_vv&0x3f)<<6;_vv=this._4e2.getUint8(this._cF1++,true);_y9|=(_vv&0x3f);_wv=String.fromCharCode((_y9>>10)+0xD7C0)+String.fromCharCode((_y9&0x3FF)|0xDC00)}
if(_y9==0x00)break;if(_wv<0)_wv=String.fromCharCode(_y9);_fq+=_wv}}break;case _ud2:_fq=this._4e2.getInt8(this._cF1++);break;case _vd2:_fq=this._4e2.getUint16(this._cF1,true);this._cF1+=2;break;case _wd2:_fq=this._4e2.getInt16(this._cF1,true);this._cF1+=2;break;case _hF1:_fq=this._4e2.getInt32(this._cF1,true);this._cF1+=4;break;case _fF1:_fq=this._4e2.getUint32(this._cF1,true);this._cF1+=4;break;case _gF1:_fq=this._4e2.getFloat32(this._cF1,true);this._cF1+=4;break;case _yd2:_fq=this._4e2.getFloat64(this._cF1,
true);this._cF1+=8;break;case _Bd2:_9g("Error (buffer_read): HTML5 buffers do not support U64 types.");_fq=0;this._cF1+=8;break }return _fq};_Xd2.prototype._fe2=function(){this._2e2=(this._2e2+this._0e2)%this._1e2};function _ge2(_vc){var _he2=0;switch(_vc){case _zd2:case _td2:case _ud2:_he2=1;break;case _vd2:case _wd2:_he2=2;break;case _hF1:case _fF1:case _gF1:_he2=4;break;case _yd2:_he2=8;break }return _he2}function _ie2(){this._Q7=new Uint32Array(2);this._je2=new Uint32Array(4);this._ke2=new Uint8Array(64);this._le2=new Uint8Array(16);
this._Q7[0]=this._Q7[1]=0;this._je2[0]=this._je2[1]=this._je2[2]=this._je2[3]=0;for(var _Q7=0;_Q7<64;_Q7++)this._ke2[_Q7]=0;for(var _Q7=0;_Q7<16;_Q7++)this._le2[_Q7]=0}_ie2.prototype._me2=function(){var _a8="0123456789abcdef";var _ps="";for(var _v4=0;_v4<16;_v4++){var _M7=this._le2[_v4];_ps+=_a8[((_M7>>4)&0xf)];_ps+=_a8[(_M7&0xf)];}return _ps};function _ne2(){var _oe2=new _ie2();_oe2._Q7[0]=_oe2._Q7[1]=0;_oe2._je2[0]=0x67452301;_oe2._je2[1]=0xefcdab89;_oe2._je2[2]=0x98badcfe;_oe2._je2[3]=0x10325476;return _oe2}
var _pe2=new Uint32Array(16);function _qe2(x,y,_Ua){_pe2[0]=x;_pe2[1]=y;_pe2[2]=_Ua;return(((_pe2[0])&(_pe2[1]))|((~_pe2[0])&(_pe2[2])))}function _re2(x,y,_Ua){_pe2[0]=x;_pe2[1]=y;_pe2[2]=_Ua;return(((_pe2[0])&(_pe2[2]))|((_pe2[1])&(~_pe2[2])))}function _se2(x,y,_Ua){_pe2[0]=x;_pe2[1]=y;_pe2[2]=_Ua;return((_pe2[0])^(_pe2[1])^(_pe2[2]));}function _te2(x,y,_Ua){_pe2[0]=x;_pe2[1]=y;_pe2[2]=_Ua;return((_pe2[1])^((_pe2[0])|(~_pe2[2])))}var _ue2=new Uint32Array(2);function _ve2(x,_r7){_ue2[0]=x;_ue2[1]=((_ue2[0]<<_r7)&0xffffffff)|((_ue2[0]>>(32-_r7))&((1<<_r7)-1));
return _ue2[1]}var _we2=new Uint32Array(7);function _xe2(_k9,_M7,_Qt,_si,x,_ps,_qv){_we2[0]=_k9;_we2[1]=_M7;_we2[2]=_Qt;_we2[3]=_si;_we2[4]=x;_we2[5]=_ps;_we2[6]=_qv;_we2[0]+=_qe2(_we2[1],_we2[2],_we2[3])+_we2[4]+(_we2[6]);_we2[0]=_ve2(_we2[0],_we2[5]);_we2[0]+=_we2[1];return _we2[0];}function _ye2(_k9,_M7,_Qt,_si,x,_ps,_qv){_we2[0]=_k9;_we2[1]=_M7;_we2[2]=_Qt;_we2[3]=_si;_we2[4]=x;_we2[5]=_ps;_we2[6]=_qv;_we2[0]+=_re2(_we2[1],_we2[2],_we2[3])+_we2[4]+(_we2[6]);_we2[0]=_ve2(_we2[0],_we2[5]);_we2[0]+=_we2[1];
return _we2[0]}function _ze2(_k9,_M7,_Qt,_si,x,_ps,_qv){_we2[0]=_k9;_we2[1]=_M7;_we2[2]=_Qt;_we2[3]=_si;_we2[4]=x;_we2[5]=_ps;_we2[6]=_qv;_we2[0]+=_se2(_we2[1],_we2[2],_we2[3])+_we2[4]+(_we2[6]);_we2[0]=_ve2(_we2[0],_we2[5]);_we2[0]+=_we2[1];return _we2[0]}function _Ae2(_k9,_M7,_Qt,_si,x,_ps,_qv){_we2[0]=_k9;_we2[1]=_M7;_we2[2]=_Qt;_we2[3]=_si;_we2[4]=x;_we2[5]=_ps;_we2[6]=_qv;_we2[0]+=_te2(_we2[1],_we2[2],_we2[3])+_we2[4]+(_we2[6]);_we2[0]=_ve2(_we2[0],_we2[5]);_we2[0]+=_we2[1];return _we2[0]}function _KA1(_Be2,
_Ce2){var _k9=_Be2[0],_M7=_Be2[1],_Qt=_Be2[2],_si=_Be2[3];var _De2=7;var _Ee2=12;var _Fe2=17;var _Ge2=22;_k9=_xe2(_k9,_M7,_Qt,_si,_Ce2[0],_De2,0xD76AA478);_si=_xe2(_si,_k9,_M7,_Qt,_Ce2[1],_Ee2,0xE8C7B756);_Qt=_xe2(_Qt,_si,_k9,_M7,_Ce2[2],_Fe2,0x242070DB);_M7=_xe2(_M7,_Qt,_si,_k9,_Ce2[3],_Ge2,0xC1BDCEEE);_k9=_xe2(_k9,_M7,_Qt,_si,_Ce2[4],_De2,0xF57C0FAF);_si=_xe2(_si,_k9,_M7,_Qt,_Ce2[5],_Ee2,0x4787C62A);_Qt=_xe2(_Qt,_si,_k9,_M7,_Ce2[6],_Fe2,0xA8304613);_M7=_xe2(_M7,_Qt,_si,_k9,_Ce2[7],_Ge2,0xFD469501);
_k9=_xe2(_k9,_M7,_Qt,_si,_Ce2[8],_De2,0x698098D8);_si=_xe2(_si,_k9,_M7,_Qt,_Ce2[9],_Ee2,0x8B44F7AF);_Qt=_xe2(_Qt,_si,_k9,_M7,_Ce2[10],_Fe2,0xFFFF5BB1);_M7=_xe2(_M7,_Qt,_si,_k9,_Ce2[11],_Ge2,0x895CD7BE);_k9=_xe2(_k9,_M7,_Qt,_si,_Ce2[12],_De2,0x6B901122);_si=_xe2(_si,_k9,_M7,_Qt,_Ce2[13],_Ee2,0xFD987193);_Qt=_xe2(_Qt,_si,_k9,_M7,_Ce2[14],_Fe2,0xA679438E);_M7=_xe2(_M7,_Qt,_si,_k9,_Ce2[15],_Ge2,0x49B40821);var _He2=5;var _Ie2=9;var _Je2=14;var _Ke2=20;_k9=_ye2(_k9,_M7,_Qt,_si,_Ce2[1],_He2,0xF61E2562);_si=_ye2(_si,
_k9,_M7,_Qt,_Ce2[6],_Ie2,0xC040B340);_Qt=_ye2(_Qt,_si,_k9,_M7,_Ce2[11],_Je2,0x265E5A51);_M7=_ye2(_M7,_Qt,_si,_k9,_Ce2[0],_Ke2,0xE9B6C7AA);_k9=_ye2(_k9,_M7,_Qt,_si,_Ce2[5],_He2,0xD62F105D);_si=_ye2(_si,_k9,_M7,_Qt,_Ce2[10],_Ie2,0x02441453);_Qt=_ye2(_Qt,_si,_k9,_M7,_Ce2[15],_Je2,0xD8A1E681);_M7=_ye2(_M7,_Qt,_si,_k9,_Ce2[4],_Ke2,0xE7D3FBC8);_k9=_ye2(_k9,_M7,_Qt,_si,_Ce2[9],_He2,0x21E1CDE6);_si=_ye2(_si,_k9,_M7,_Qt,_Ce2[14],_Ie2,0xC33707D6);_Qt=_ye2(_Qt,_si,_k9,_M7,_Ce2[3],_Je2,0xF4D50D87);_M7=_ye2(_M7,
_Qt,_si,_k9,_Ce2[8],_Ke2,0x455A14ED);_k9=_ye2(_k9,_M7,_Qt,_si,_Ce2[13],_He2,0xA9E3E905);_si=_ye2(_si,_k9,_M7,_Qt,_Ce2[2],_Ie2,0xFCEFA3F8);_Qt=_ye2(_Qt,_si,_k9,_M7,_Ce2[7],_Je2,0x676F02D9);_M7=_ye2(_M7,_Qt,_si,_k9,_Ce2[12],_Ke2,0x8D2A4C8A);var _Le2=4;var _Me2=11;var _Ne2=16;var _Oe2=23;_k9=_ze2(_k9,_M7,_Qt,_si,_Ce2[5],_Le2,0xFFFA3942);_si=_ze2(_si,_k9,_M7,_Qt,_Ce2[8],_Me2,0x8771F681);_Qt=_ze2(_Qt,_si,_k9,_M7,_Ce2[11],_Ne2,0x6D9D6122);_M7=_ze2(_M7,_Qt,_si,_k9,_Ce2[14],_Oe2,0xFDE5380C);_k9=_ze2(_k9,_M7,
_Qt,_si,_Ce2[1],_Le2,0xA4BEEA44);_si=_ze2(_si,_k9,_M7,_Qt,_Ce2[4],_Me2,0x4BDECFA9);_Qt=_ze2(_Qt,_si,_k9,_M7,_Ce2[7],_Ne2,0xF6BB4B60);_M7=_ze2(_M7,_Qt,_si,_k9,_Ce2[10],_Oe2,0xBEBFBC70);_k9=_ze2(_k9,_M7,_Qt,_si,_Ce2[13],_Le2,0x289B7EC6);_si=_ze2(_si,_k9,_M7,_Qt,_Ce2[0],_Me2,0xEAA127FA);_Qt=_ze2(_Qt,_si,_k9,_M7,_Ce2[3],_Ne2,0xD4EF3085);_M7=_ze2(_M7,_Qt,_si,_k9,_Ce2[6],_Oe2,0x04881D05);_k9=_ze2(_k9,_M7,_Qt,_si,_Ce2[9],_Le2,0xD9D4D039);_si=_ze2(_si,_k9,_M7,_Qt,_Ce2[12],_Me2,0xE6DB99E5);_Qt=_ze2(_Qt,_si,
_k9,_M7,_Ce2[15],_Ne2,0x1FA27CF8);_M7=_ze2(_M7,_Qt,_si,_k9,_Ce2[2],_Oe2,0xC4AC5665);var _Pe2=6;var _Qe2=10;var _Re2=15;var _Se2=21;_k9=_Ae2(_k9,_M7,_Qt,_si,_Ce2[0],_Pe2,0xF4292244);_si=_Ae2(_si,_k9,_M7,_Qt,_Ce2[7],_Qe2,0x432AFF97);_Qt=_Ae2(_Qt,_si,_k9,_M7,_Ce2[14],_Re2,0xAB9423A7);_M7=_Ae2(_M7,_Qt,_si,_k9,_Ce2[5],_Se2,0xFC93A039);_k9=_Ae2(_k9,_M7,_Qt,_si,_Ce2[12],_Pe2,0x655B59C3);_si=_Ae2(_si,_k9,_M7,_Qt,_Ce2[3],_Qe2,0x8F0CCC92);_Qt=_Ae2(_Qt,_si,_k9,_M7,_Ce2[10],_Re2,0xFFEFF47D);_M7=_Ae2(_M7,_Qt,_si,
_k9,_Ce2[1],_Se2,0x85845DD1);_k9=_Ae2(_k9,_M7,_Qt,_si,_Ce2[8],_Pe2,0x6FA87E4F);_si=_Ae2(_si,_k9,_M7,_Qt,_Ce2[15],_Qe2,0xFE2CE6E0);_Qt=_Ae2(_Qt,_si,_k9,_M7,_Ce2[6],_Re2,0xA3014314);_M7=_Ae2(_M7,_Qt,_si,_k9,_Ce2[13],_Se2,0x4E0811A1);_k9=_Ae2(_k9,_M7,_Qt,_si,_Ce2[4],_Pe2,0xF7537E82);_si=_Ae2(_si,_k9,_M7,_Qt,_Ce2[11],_Qe2,0xBD3AF235);_Qt=_Ae2(_Qt,_si,_k9,_M7,_Ce2[2],_Re2,0x2AD7D2BB);_M7=_Ae2(_M7,_Qt,_si,_k9,_Ce2[9],_Se2,0xEB86D391);_Be2[0]+=_k9;_Be2[1]+=_M7;_Be2[2]+=_Qt;_Be2[3]+=_si}function _Te2(_Ue2,
_Ve2,_We2,_Xe2){var _Ce2=new Uint32Array(16);var _Ye2;var _Q7,_yH1;var _YO=0;_Ye2=(_Ue2._Q7[0]>>3)&0x3F;if((_Ue2._Q7[0]+((_Xe2<<3)&0xffffffff))<_Ue2._Q7[0]){_Ue2._Q7[1]++}_Ue2._Q7[0]+=(_Xe2<<3)&0xffffffff;_Ue2._Q7[1]+=(_Xe2>>29)&0xffffffff;while(_Xe2--){_Ue2._ke2[_Ye2++]=_Ve2[_YO++];if(_Ye2==0x40){for(_Q7=0,_yH1=0;_Q7<16;_Q7++,_yH1+=4)_Ce2[_Q7]=(((0xffffffff&_Ue2._ke2[_yH1+3])<<24)|((0xffffffff&_Ue2._ke2[_yH1+2])<<16)|((0xffffffff&_Ue2._ke2[_yH1+1])<<8)|(0xffffffff&_Ue2._ke2[_yH1]));_KA1(_Ue2._je2,_Ce2);
_Ye2=0}}}var _Ze2=new Uint8Array(64);function __e2(_Ue2){var _Ce2=new Uint32Array(16);var _Ye2;var _Q7,_yH1;var _0f2;_Ce2[14]=_Ue2._Q7[0];_Ce2[15]=_Ue2._Q7[1];_Ye2=((_Ue2._Q7[0]>>3)&0x3F);_0f2=(_Ye2<56)?(56-_Ye2):(120-_Ye2);_Ze2[0]=0x80;_Te2(_Ue2,_Ze2,0,_0f2);for(_Q7=0,_yH1=0;_Q7<14;_Q7++,_yH1+=4){_Ce2[_Q7]=((~~_Ue2._ke2[_yH1+3])<<24)|((~~_Ue2._ke2[_yH1+2])<<16)|((~~_Ue2._ke2[_yH1+1])<<8)|(~~_Ue2._ke2[_yH1])}_KA1(_Ue2._je2,_Ce2);for(_Q7=0,_yH1=0;_Q7<4;_Q7++,_yH1+=4){_Ue2._le2[_yH1]=(_Ue2._je2[_Q7]&0xFF);
_Ue2._le2[_yH1+1]=((_Ue2._je2[_Q7]>>8)&0xFF);_Ue2._le2[_yH1+2]=((_Ue2._je2[_Q7]>>16)&0xFF);_Ue2._le2[_yH1+3]=((_Ue2._je2[_Q7]>>24)&0xFF)}}function _1f2(_2f2,_hc,_We2){var _oe2=_ne2();var _3f2=_hc;while(_3f2>0){var _4f2=_K7(_3f2,_hc-_We2);_Te2(_oe2,_2f2,_We2,_4f2);_We2=0;_3f2-=_4f2}__e2(_oe2);return _oe2._me2()}_Xd2.prototype._5f2=function(_We2,_hc){if(this._0e2==0)return;if(_hc<0)_hc=this._0e2;if(_hc==0)return "";if(this._Vc2==_pd2){while(_We2<0)_We2+=this._0e2;while(_We2>=this._0e2)_We2-=this._0e2}else {
if(_We2<0)_We2=0;if(_We2>=this._0e2)_We2=this._0e2-1;if((_We2+_hc)>this._0e2)_hc=this._0e2-_We2}if(_hc>this._0e2-_We2){return ""}else {var _6f2=new Uint8Array(this._8I,_We2,_hc);var _9P1=String.fromCharCode.apply(null,_6f2);return _Rd2(_9P1,_hc)}};_Xd2.prototype._eF1=function(_vc,_Zq){var _7f2;var _u7=0;this._cF1=(((this._cF1+this._2e2)+(this._1e2-1))&~(this._1e2-1))-this._2e2;if(this._cF1>=this._0e2&&this._Vc2==_pd2){while(this._cF1>=this._0e2){this._fe2();this._cF1-=this._0e2}}if((this._cF1>=this._0e2)&&(this._Vc2!=_od2)){
return _kd2}var _he2=_ge2(_vc);if((_vc===_Ad2)||(_vc===_Cd2)){_7f2=_tv(_Zq);_he2=_7f2.length;if(_vc===_Ad2)_he2++}if((this._cF1+_he2)>this._0e2){if(this._Vc2==_od2){var _8f2=this._0e2;var _oy1=this._0e2;while((this._cF1+_he2)>_oy1){_oy1=(_oy1<<1)}this._7e2(_oy1)}else {if(this._Vc2!=_pd2){return _kd2}}}switch(_vc){case _zd2:if(_Zq==true){_Zq=1}else {_Zq=0}case _td2:{this._4e2.setUint8(this._cF1,_Zq);this._cF1++}break;case _Ad2:case _Cd2:{for(var _Q7=0;_Q7<_7f2.length;_Q7++){var _de2=_7f2.charCodeAt(_Q7)&0xff;
this._4e2.setUint8(this._cF1++,_de2,true)}if(_vc===_Ad2){this._4e2.setUint8(this._cF1++,0,true)}}break;case _ud2:this._4e2.setInt8(this._cF1,_Zq);this._cF1++;break;case _vd2:this._4e2.setUint16(this._cF1,_Zq,true);this._cF1+=2;break;case _wd2:this._4e2.setInt16(this._cF1,_Zq,true);this._cF1+=2;break;case _hF1:this._4e2.setInt32(this._cF1,_Zq,true);this._cF1+=4;break;case _fF1:this._4e2.setUint32(this._cF1,_Zq,true);this._cF1+=4;break;case _gF1:this._4e2.setFloat32(this._cF1,_Zq,true);this._cF1+=4;break;
case _yd2:this._4e2.setFloat64(this._cF1,_Zq,true);this._cF1+=8;break;case _Bd2:_9g("Error (buffer_write): HTML5 buffers do not support U64 types.");this._cF1+=8;break }this._be2(-1)};_Xd2.prototype._9f2=function(_vc,_We2){var _u7=_ge2(_vc);if(_We2<0)return 0;if(this._Vc2!=_pd2){if(_We2>(this._0e2-_u7))return 0;}else {while(_We2>=this._0e2){_We2-=this._0e2}}var _fq;switch(_vc){case _zd2:_fq=this._4e2.getUint8(_We2);if(_fq==1){_fq=true}else {_fq=false}break;case _td2:{_fq=this._4e2.getUint8(_We2)}break;case _ud2:_fq=this._4e2.getInt8(_We2);
break;case _vd2:_fq=this._4e2.getUint16(_We2,true);break;case _wd2:_fq=this._4e2.getInt16(_We2,true);break;case _hF1:_fq=this._4e2.getInt32(_We2,true);break;case _fF1:_fq=this._4e2.getUint32(_We2,true);break;case _gF1:_fq=this._4e2.getFloat32(_We2,true);break;case _yd2:_fq=this._4e2.getFloat64(_We2,true);break;case _Bd2:_9g("Error (buffer_peek): HTML5 buffers do not support U64 types.");_fq=0;break }return _fq};_Xd2.prototype._af2=function(_vc,_We2,_Zq){if(_We2<0)return;var _u7=_ge2(_vc);if(this._Vc2!=_pd2){
if(_We2>(this._0e2-_u7))return 0}else {while(_We2>=this._0e2){_We2-=this._0e2}}switch(_vc){case _zd2:if(_Zq==true){_Zq=1}else {_Zq=0}case _td2:this._4e2.setUint8(_We2,_Zq);this._be2(_We2+1);return;break;case _ud2:this._4e2.setInt8(_We2,_Zq);this._be2(_We2+1);return;break;case _vd2:this._4e2.setUint16(_We2,_Zq,true);break;case _wd2:this._4e2.setInt16(_We2,_Zq,true);break;case _hF1:this._4e2.setInt32(_We2,_Zq,true);break;case _fF1:this._4e2.setUint32(_We2,_Zq,true);break;case _gF1:this._4e2.setFloat32(_We2,_Zq,
true);break;case _yd2:this._4e2.setFloat64(_We2,_Zq,true);break;case _Bd2:_9g("Error (buffer_poke): HTML5 buffers do not support U64 types.");break }this._be2(_We2+_u7)};_Xd2.prototype._iF1=function(_bf2,_We2){switch(_bf2){case _jF1:if(_We2<0)_We2=0;this._cF1=_We2;break;case _Dd2:this._cF1+=_We2;if(this._cF1<0)this._cF1=0;break;case _Ed2:this._cF1=this._0e2-_We2;if(this._cF1>this._0e2)this._cF1=this._0e2;break }return this._cF1};function _cf2(buffer,type){var _ia=_7I._8g(buffer);if(!_ia)return 0;return _ia._ee2(type)}
function _4I(_hc,_vc,_Yd2){try{return _7I._Qe(new _Xd2(_hc,_vc,_Yd2))}catch(e){alert("ArrayBuffer Error : This functionality requires at least IE10");return -1}}function _df2(_YO,_vc,_Zq){var _ia=_7I._8g(_YO);if(!_ia)return _nd2;return _ia._eF1(_vc,_Zq)}function __c2(_YO){var _ia=_7I._8g(_YO);if(!_ia)return _nd2;_ia._8I=null;_ia._4e2=null;_7I._ng(_YO);return 0}var _ef2=-1;function _ff2(_RQ,_gf2,_xq,_We2,_hf2){var _ia=_7I._8g(_RQ);var __h=_Oh._8g(_gf2);if(!_ia||!__h)return false;var data=null;var _Ph=__h._M9;try{data=_Ph._SQ(0,
0,__h._6c,__h._7c)}catch(_Ou){return false}var _if2=data.data;for(var _Q7=0;_Q7<_if2.length;_Q7++){_ia._af2(_td2,_Q7,_if2[_Q7])}return true}function _jf2(_RQ,_gf2,_xq,_We2,_hf2){var _ia=_7I._8g(_RQ);var __h=_Oh._8g(_gf2);if(!_ia||!__h)return false;var data=null;var _Ph=__h._M9;try{var _kf2=_Ph.createImageData(__h._6c,__h._7c);var data=_kf2.data;var _9s=__h._6c*__h._7c*4;for(var _Q7=0;_Q7<_9s;_Q7++){data[_Q7]=_ia._9f2(_td2,_Q7)}_Ph._lf2(_kf2,0,0)}catch(_Ou){return false}return true}var _mf2=function(){_Fa("vertex_create_buffer")}
;var _nf2=function(_u7){_Fa("vertex_create_buffer_ext")};var _of2=function(buffer){_Fa("vertex_delete_buffer")};var _pf2=function(buffer,_6W1){_Fa("vertex_begin")};var _qf2=function(buffer){_Fa("vertex_end")};var _rf2=function(buffer,x,y){_Fa("vertex_position")};var _sf2=function(buffer,x,y,_Ua){_Fa("vertex_position_3d")};var _tf2=function(buffer,_59,alpha){_Fa("vertex_colour")};var _uf2=function(buffer,_59,alpha){_Fa("vertex_color")};var _vf2=function(buffer,_J7,_j9,_M7,_k9){_Fa("vertex_rgba")};var _wf2=function(buffer,
_J7,_j9,_M7,_k9){_Fa("vertex_argb")};var _xf2=function(buffer,_w9,_y9){_Fa("vertex_texcoord")};var _yf2=function(buffer,x,y,_Ua){_Fa("vertex_normal")};var _zf2=function(buffer,x){_Fa("vertex_float1")};var _Af2=function(buffer,x,y){_Fa("vertex_float2")};var _Bf2=function(buffer,x,y,_Ua){_Fa("vertex_float3")};var _Cf2=function(buffer,x,y,_Ua,_u4){_Fa("vertex_float4")};var _Df2=function(buffer,x,y,_Ua,_u4){_Fa("vertex_ubyte4")};var _Ef2=function(buffer){_Fa("vertex_freeze")};var _Ff2=function(buffer){_Fa("vertex_submit")}
;var _Gf2=function(buffer){_Fa("vertex_get_number")};var _Hf2=function(buffer){_Fa("vertex_get_buffer_size")};var _If2=function(buffer){_Fa("vertex_create_buffer_from_buffer")};var _Jf2=function(buffer){_Fa("vertex_create_buffer_from_buffer_ext")};var _Kf2=function(){};var _Lf2=8*1024;var _Mf2=[];function _Nf2(){_mf2=_Of2;_nf2=_Pf2;_If2=_Qf2;_Jf2=_Rf2;_of2=_Sf2;_pf2=_Tf2;_qf2=_Uf2;_rf2=_Vf2;_sf2=_Wf2;_tf2=_Xf2;_uf2=_Xf2;_vf2=_Yf2;_wf2=_Zf2;_xf2=__f2;_yf2=_0g2;_zf2=_1g2;_Af2=_2g2;_Bf2=_3g2;_Cf2=_4g2;_Df2=_5g2;
_Ef2=_6g2;_Ff2=_7g2;_Gf2=_8g2;_Hf2=_9g2;_Kf2=_ag2}function _Rf2(_RQ,_br1,_bg2,_cg2){var _mO=0;var _4x1=_v8._Rb(_br1);var _ia=_7I._8g(_RQ);if(!_ia||!_4x1)return -1;if(_cg2==-1){_bg2=0;_mO=_ia._3e2;_cg2=_mO/_4x1._Ec}else {_mO=_cg2*_4x1._Ec;if((_mO+_bg2)>_ia._3e2){_mO=(_ia._3e2-_bg2);_cg2=~~(_mO/_4x1._Ec);_mO=_cg2*_4x1._Ec}}var _dg2=_nf2(_mO);var _eg2=_Mf2[_dg2];var _fg2=new Uint8Array(_ia._8I);var _6e2=new Uint8Array(_eg2._od());_eg2._Jc(_br1);var src=_bg2;for(var _Q7=0;_Q7<_mO;_Q7++){_6e2[_Q7]=_fg2[src++]}_eg2._ld(_cg2);
_eg2._Lc();return _dg2}function _Qf2(_RQ,_br1){return _Rf2(_RQ,_br1,0,-1)}function _Of2(){return _nf2(_Lf2)}function _Pf2(_hc){var _gg2=new _gc(_hc);var _hg2=_Mf2.length;for(var _Q7=0;_Q7<_Mf2;_Q7++){if((_Mf2[_Q7]===null)||(_Mf2[_Q7]===undefined)){_hg2=_Q7;break }}_Mf2[_hg2]=_gg2;return _hg2}function _Sf2(_RQ){_Mf2[_RQ]=null}function _Tf2(_RQ,_br1){_Mf2[_RQ]._Jc(_br1)}function _Uf2(_RQ){_Mf2[_RQ]._Lc()}function _Vf2(_RQ,x,y){_Mf2[_RQ]._Oc(x,y)}function _Wf2(_RQ,x,y,_Ua){_Mf2[_RQ]._Rc(x,y,_Ua)}function _Xf2(_RQ,_59,
alpha){_Mf2[_RQ]._Tc(_59,alpha)}function _Yf2(_RQ,_Yc){_Mf2[_RQ]._Xc(_Yc);}function _Zf2(_RQ,__c){_Mf2[_RQ]._Zc(__c)}function __f2(_RQ,_w9,_y9){_Mf2[_RQ]._0d(_w9,_y9)}function _0g2(_RQ,x,y,_Ua){_Mf2[_RQ]._2d(x,y,_Ua)}function _1g2(_RQ,x){_Mf2[_RQ]._4d(x)}function _2g2(_RQ,x,y){_Mf2[_RQ]._6d(x,y)}function _3g2(_RQ,x,y,_Ua){_Mf2[_RQ]._7d(x,y,_Ua)}function _4g2(_RQ,x,y,_Ua,_u4){_Mf2[_RQ]._8d(x,y,_Ua,_u4)}function _5g2(_RQ,x,y,_Ua,_u4){_Mf2[_RQ]._ad(x,y,_Ua,_u4)}function _6g2(_RQ){var _gg2=_Mf2[_RQ];if(_gg2){_gg2._cd()}
}function _ag2(){_v8._NQ()}function _7g2(_RQ,_hd,_id){_v8._NQ();var _1c,_gg2=_Mf2[_RQ];if(_gg2){if(_cL!=-1){var _Kr1=_ig2[_cL]._Lr1;var _3x1=_gg2._Nc();if(_3x1._yc.length<_Kr1._xr1.length){_es("Trying to use a vertex buffer with to few inputs for the seleted shader.")}}_gg2._gd(_Eb(_hd),_id)}}function _8g2(_RQ){var _gg2=_Mf2[_RQ];if(_gg2){return _gg2._nd()}return 0}function _9g2(_RQ){var _gg2=_Mf2[_RQ];if(_gg2){return _gg2._od().byteLength}return 0}/*@constructor */function _z82(){this.__type="[BuiltIn]";this._YD=0;
this._V92=0;this._W92=0;this._jg2=0;this._kg2=0;this._lg2=0;this._mg2=0;this._ng2=100;this._y92=0;this._D92="/";this._og2="/";this._pg2="/";this._qg2=0;this._rg2=0;this._sg2=0;this._tg2=0;this._ug2="room";this._vg2=30;this._wg2=false;this._xg2=0x00000000;this._yg2=false;this._zg2=false;this._Ag2=false;this._Bg2=0;this._Cg2=0;this._Dg2=0;this._Eg2=0;this._Fg2=0;this._Gg2=0;this._Hg2=0;this._Ig2=1.0;this._Jg2=1.0;this._Kg2=0;this._Lg2=0;this._Mg2=0;this._Ng2=1.0;this._Og2=false;this._Pg2=0;this._Qg2=0;
this._Rg2=0;this._Sg2=0;this._Tg2=0;this._Ug2=0;this._Vg2=0;this._Wg2=0;this._Xg2=0;this._Yg2=0;this._Zg2=0;this.__g2=0;this._0h2=0;this._1h2=0;this._2h2=0;this._3h2=0;this._yR=0;this._CR=0;this._4h2=0;this._5h2=0;this._6h2=0;this._7h2=0;this._8h2="";this._9h2="";this._F92=false;this._ah2=false;this._bh2=false;this._ch2=false;this._dh2="score";this._eh2="lives";this._fh2="health";this._6F=0;this._gh2=0;this._hh2=0;this._ih2=0;this._jh2=0;this._kh2=0;this._lh2=0;this._mh2=0;this._nh2=0;this._oh2=0;
this._ph2=0;this._6b2=0;this._qh2=0;this._rh2=0;this._sh2=true;this._th2=true;this._uh2=8.2;this._8N=-1;this._Y5=-1;this._9B=-1;this._vh2=false;this._wh2=-1;this._Qg2=[];this._Rg2=[];this._Sg2=[];this._Tg2=[];this._Ug2=[];this._Vg2=[];this._Wg2=[];this._Xg2=[];this._Yg2=[];this._Zg2=[];this.__g2=[];this._0h2=[];this._1h2=[];this._2h2=[];this._3h2=[];this._xh2=[];this._yh2=[];this._zg2=[];this._Ag2=[];this._Bg2=[];this._Cg2=[];this._Dg2=[];this._Eg2=[];this._Fg2=[];this._Gg2=[];this._Hg2=[];this._Ig2=[];
this._Jg2=[];this._Kg2=[];this._Lg2=[];this._Mg2=[];this._Ng2=[]};_z82.prototype._1g=function(_zh2){for(var _y9=0;_y9<_zh2.length;_y9++){var _tx=_zh2[_y9];this[_y9]=_tx}};/*@constructor */function _Ah2(){this.__type="[Font]";this._Bh2=false;this._Ch2=false;this._U3="";this._Dh2="";this._u7=12;this._Eh2=0;this.bold=false;this._Fh2=false;this._WJ=32;this._2V=127;this._Gh2="";this.prop=false;this._Hh2=0;this._Ih2=null;this._Jh2=null;this.antialias=0;this._Kh2=0;this._W6=1;this._X6=1;this._Lh2=0.5;this._Mh2=null;
this._Gh=null;this._Nh2=null}_Ah2.prototype._Oh2=function(_8d2){this._Jh2=null;this._U3=_8d2._U3;this._Dh2=_8d2._Ph2;this._u7=_8d2._u7;this.bold=_8d2.bold;this._Fh2=_8d2._Fh2;this._WJ=_8d2._WJ&0xffff;this._Bh2=false;this._Eh2=_8d2._Eh2;this.antialias=0;this._Kh2=0;if(((_8d2._WJ>>16)&0xff)!==0)this._Kh2=(_8d2._WJ>>16)&0xff;if(((_8d2._WJ>>24)&0xff)!==0)this.antialias=((_8d2._WJ>>24)&0xff)-1;this._2V=_8d2._2V;this._W6=_8d2.scaleX;this._X6=_8d2.scaleY;this._Mh2=[];var _1t=99999999;var _H7=-99999999;var maxHeight=0;
for(var _Qh2=0;_Qh2<_8d2._Mh2.length;_Qh2++){var index=-2;var _Rh2=_8d2._Mh2[_Qh2];if(_Rh2._Qt!=undefined)index=_Rh2._Qt.charCodeAt(0);else if(_Rh2._Q7!=undefined)index=_Rh2._Q7;this._Mh2[index]=_Rh2;if(index<_1t)_1t=index;if(index>_H7)_H7=index;if(_Rh2._v4>maxHeight)maxHeight=_Rh2._v4}this._Sh2=maxHeight;this._WJ=_1t;this._2V=_H7;this._Gh=_9d2(_8d2._Th2)};_Ah2.prototype._Uh2=function(){var height=0;for(var _r7=0;_r7<this._Nh2._7P.length;_r7++){var _Th=this._Nh2._7P[_r7];height=_I7(height,_Th._B4)}this._u7=height}
;_Ah2.prototype._Vh2=function(__t){if((!__t)||(0===__t.length))return 0;if(this._Bh2){return this._u7*this._W6}else {return this._Sh2*this._W6}};_Ah2.prototype._Wh2=function(__t,_Xh2){if((!__t)||(0===__t.length))return 0;var _7O1;if(_Xh2){_7O1=[__t]}else {_7O1=_ns._os(__t,-1,this)}if(this._Bh2){if(this._Ch2){var _ex=0;for(var _Q7=0;_Q7<_7O1.length;_Q7++){var _Yh2=0;var _0O1=_7O1[_Q7];for(var _R7=0;_R7<_0O1.length;_R7++){_Yh2+=this._Zh2(_0O1.charCodeAt(_R7))}_ex=_I7(_ex,_Yh2)}return _ex}else {var _ex=0;_M9.font=this._Gh2;
if(_M9.measureText){for(var _Q7=0;_Q7<_7O1.length;_Q7++){var _8W1=_M9.measureText(_7O1[_Q7]);_ex=_I7(_ex,_8W1.width)}}return _ex}}else {var _ex=0;for(var _Q7=0;_Q7<_7O1.length;_Q7++){var _Yh2=0;var _0O1=_7O1[_Q7];for(var _R7=0;_R7<_0O1.length;_R7++){var _Qt=_0O1.charCodeAt(_R7);var _Rh2=this._Mh2[_Qt];if(!_Rh2){_Rh2=this._Mh2[this._WJ]}_Yh2+=_Rh2.shift*this._W6}_ex=_I7(_ex,_Yh2)}return _ex}};_Ah2.prototype._Zh2=function(_PU){if(this._Bh2){if(this._Ch2){var _ex=this._Hh2;if((_PU>=this._WJ)&&(_PU<this._2V)){var __h2=this._Jh2[_PU];
var _Th=this._Nh2._7P[__h2];if(!_Th){_Hs=this._0i2}else if(this.prop){_ex+=_Th._y4;}else {_ex+=_Th._A4}}else if(_PU===32){_ex+=this._0i2}return _ex}else {_M9.font=this._Gh2;if(_M9.measureText){var _8W1=_M9.measureText(String.fromCharCode(_PU));return _8W1.width}return 0}}var _Rh2=this._Mh2[_PU];if(_Rh2){return _Rh2.shift*this._W6}else if(0x20>=this._WJ&&0x20<=this._2V){return this._Mh2[0x20].shift*this._W6}else {return this._Mh2[this._WJ].shift*this._W6}};_Ah2.prototype._1i2=function(_N6,_O6,_2i2,_4q,_5q,_R6,_Su,
_Tu,_Vx,_Wx){var _3i2=this._Gh;if(!_3i2._J8.complete)return;var _9s=_2i2.length;for(var _Q7=0;_Q7<_9s;_Q7++){var _PU=_2i2.charCodeAt(_Q7);var _Rh2=this._Mh2[_PU];if(_Rh2){var _39=_Rh2.x;var _49=_Rh2.y;var _ey=_Rh2._u4;var _gy=_Rh2._v4;if(Math.abs(_R6)<0.001){_M9._6P(_3i2,_39+_3i2.x,_49+_3i2.y,_ey,_gy,_N6+(_Rh2.offset*_4q),_O6,_ey*this._W6*_4q,_gy*this._X6*_5q,_Su,_Tu,_Vx,_Wx)}else {_M9._6P(_3i2,_39+_3i2.x,_49+_3i2.y,_ey,_gy,_N6+(_Rh2.offset*_4q),_O6,_ey,_gy,_Su,_Tu,_Vx,_Wx)}_N6+=_4q*this._W6*this._Zh2(_PU)}
}};_Ah2.prototype._4i2=function(_N6,_O6,_R6){var _zp=new _4o();_zp._tp(-_N6,-_O6,0);var _Dp=new _4o();_Dp._xp(_R6);var _ZV=new _4o();_ZV.Multiply(_zp,_Dp);_zp._tp(_N6,_O6,0);var _5i2=new _4o();_5i2.Multiply(_ZV,_zp);return _5i2};_Ah2.prototype._6i2=function(_N6,_O6,_2i2,_4q,_5q,_R6,_Su,_Tu,_Vx,_Wx){if(this._Bh2){this._1i2(_N6,_O6,_2i2,_4q,_5q,_R6,_Su,_Tu,_Vx,_Wx)}var _7i2;var _3i2=this._Gh;if(!_3i2._J8.complete)return;var _9s=_2i2.length;if(_8i2){_Su&=0xfffefffe;_Tu&=0xfffefffe;_Vx&=0xfffefffe;_Wx&=0xfffefffe;
_Tu|=0x00010000;_Vx|=0x00000001;_Wx|=0x00010001}var _ia,_qa,_sa,_ua;if(!_3i2._J8._fa)_ga(_3i2);var _9i2;if(Math.abs(_R6)>0.001){_9i2=_Bp(_sp);_rp(_sp,this._4i2(_N6,_O6,_R6))}var _ha=_9s*6;_ia=_v8._ja(_ka._la,_3i2._J8._fa,_v8._ma,_ha);var _na=_ia._oa()>>2;var index=_na*_ia._pa;_ia._pa+=_ha;var _wa=index,_xa=_wa+_na,_ya=_xa+_na,_za=_ya+_na,_Aa=_za+_na,_Ba=_Aa+_na;_qa=_ia._ra;_sa=_ia._ta;_ua=_ia._va;var scaleX,scaleY;scaleX=this._W6*_4q;scaleY=this._X6*_5q;var _sI1=0;var _ai2=this._Lh2,_bi2=1.0/_3i2._J8.width,
_ci2=1.0/_3i2._J8.height;var _di2=false;if((_Su!=_Tu)||(_Vx!=_Wx)){var _ei2=this._Wh2(_2i2,true);var _fi2=1/_ei2;var alpha=_Su&0xff000000;_di2=true}for(var _Q7=0;_Q7<_9s;_Q7++){var _PU=_2i2.charCodeAt(_Q7);var _Rh2=this._Mh2[_PU];if(_Rh2){var _39=_Rh2.x,_49=_Rh2.y,_ey=_Rh2._u4,_gy=_Rh2._v4;var x=_N6+(_Rh2.offset*_4q);_qa[_wa+0]=_qa[_Aa+0]=_qa[_Ba+0]=x-_ai2;_qa[_wa+1]=_qa[_xa+1]=_qa[_Ba+1]=_O6-_ai2;_qa[_xa+0]=_qa[_ya+0]=_qa[_za+0]=x+_ai2+(_ey*scaleX);_qa[_ya+1]=_qa[_za+1]=_qa[_Aa+1]=_O6+_ai2+(_gy*scaleY);
_qa[_wa+2]=_qa[_xa+2]=_qa[_ya+2]=_qa[_za+2]=_qa[_Aa+2]=_qa[_Ba+2]=_Ca;_ua[_wa+0]=_ua[_Aa+0]=_ua[_Ba+0]=(_3i2.x+_39-_ai2)*_bi2;_ua[_wa+1]=_ua[_xa+1]=_ua[_Ba+1]=(_3i2.y+_49-_ai2)*_ci2;_ua[_xa+0]=_ua[_ya+0]=_ua[_za+0]=(_3i2.x+_39+_ey+_ai2)*_bi2;_ua[_ya+1]=_ua[_za+1]=_ua[_Aa+1]=(_3i2.y+_49+_gy+_ai2)*_ci2;if(_di2){var _0a=_qa[index];var _Uu=Math.min(Math.abs((_qa[_wa]-_0a))*_fi2,1);var _Vu=Math.min(Math.abs((_qa[_xa]-_0a))*_fi2,1);var _zW=_mx(_Su,_Tu,_Uu)|alpha;var _AW=_mx(_Su,_Tu,_Vu)|alpha;var _LW=_mx(_Wx,
_Vx,_Vu)|alpha;var _0b2=_mx(_Wx,_Vx,_Uu)|alpha;_sa[_wa]=_sa[_Ba]=_zW;_sa[_xa]=_AW;_sa[_ya]=_sa[_za]=_LW;_sa[_Aa]=_0b2}else {_sa[_wa]=_sa[_Ba]=_Su;_sa[_xa]=_Tu;_sa[_ya]=_sa[_za]=_Vx;_sa[_Aa]=_Wx}_wa+=(_na*6);_xa+=(_na*6);_ya+=(_na*6);_za+=(_na*6);_Aa+=(_na*6);_Ba+=(_na*6);_N6+=scaleX*_Rh2.shift}else {_sI1++}}_ia._pa-=_sI1*6;if(_9i2!=undefined){_rp(_sp,_9i2)}};_Ah2.prototype._gi2=function(_N6,_O6,_2i2,_4q,_5q,_R6,_Su,_Tu,_Vx,_Wx){var _7i2=null;var _PU;var _3i2=_K8[this._Gh._C4];if(!_3i2.complete)return;
var _FJ1=_M9.globalAlpha;_M9.globalAlpha=((_Su>>24)&0xff)/255.0;var _9s=_2i2.length;_Su=_Su&0xffffff;_R6=_c82(_R6);if(Math.abs(_R6)>0.00001){_hi2(_N6,_O6,this._W6*_4q,this._X6*_5q,-_R6);_N6=0;_O6=0;if(_Su!=0xffffff){for(var _Q7=0;_Q7<_9s;_Q7++){_PU=_2i2.charCodeAt(_Q7);var _Rh2=this._Mh2[_PU];if(_Rh2){var _ey=_Rh2._u4;if(_ey!=99999){var _gy=_Rh2._v4;_7i2=_ii2(_3i2,_Rh2,_Rh2.x,_Rh2.y,_ey+2,_gy+2,_Su);_M9._6P(_7i2,0,0,_ey,_gy,_N6+_Rh2.offset,_O6,_ey,_gy);_N6+=this._Zh2(_PU)}}}}else {for(var _Q7=0;_Q7<_9s;
_Q7++){_PU=_2i2.charCodeAt(_Q7);var _Rh2=this._Mh2[_PU];if(_Rh2){var _ey=_Rh2._u4;if(_ey!=99999){var _gy=_Rh2._v4;_M9._6P(_3i2,_Rh2.x+this._Gh.x,_Rh2.y+this._Gh.y,_ey,_gy,_N6+_Rh2.offset,_O6,_ey,_gy);_N6+=this._Zh2(_PU)}}}}_ji2()}else {_N6=~~(_N6+0.5);_O6=~~(_O6+0.5);var _ki2=this._W6*_4q;var _li2=this._X6*_5q;if(_Su!=0xffffff){for(var _Q7=0;_Q7<_9s;_Q7++){_PU=_2i2.charCodeAt(_Q7);var _Rh2=this._Mh2[_PU];if(_Rh2){var _ey=_Rh2._u4;if(_ey!=99999){var _gy=_Rh2._v4;_7i2=_ii2(_3i2,_Rh2,_Rh2.x+this._Gh.x,_Rh2.y+this._Gh.y,
_ey+2,_gy+2,_Su);_M9._6P(_7i2,0,0,_ey+1,_gy+1,_N6+(_Rh2.offset*_ki2),_O6,(_ey+1)*_ki2,(_gy+1)*_li2);_N6+=_ki2*this._Zh2(_PU);}}}}else {for(var _Q7=0;_Q7<_9s;_Q7++){_PU=_2i2.charCodeAt(_Q7);var _Rh2=this._Mh2[_PU];if(_Rh2){var _ey=_Rh2._u4;if(_ey!=99999){var _gy=_Rh2._v4;_M9._6P(_3i2,_Rh2.x+this._Gh.x,_Rh2.y+this._Gh.y,_ey,_gy,_N6+(_Rh2.offset*_ki2),_O6,_ey*_ki2,_gy*_li2);_N6+=_ki2*this._Zh2(_PU)}}}}}_M9.globalAlpha=_FJ1};_Ah2.prototype._mi2=function(_N6,_O6,_2i2,_4q,_5q,_R6,_Su,_Tu,_Vx,_Wx){if(this._Nh2==null)return;
var _k9=((_Su>>24)&0xff)/255.0;var _FJ1=_M9.globalAlpha;_M9.globalAlpha=_k9;_Su&=0xffffff;var _ki2=this._W6*_4q;var _li2=this._X6*_5q;if(Math.abs(_R6)>=0.001){_hi2(_N6,_O6,1,1,-_c82(_R6));_O6=_N6=0}var _9s=_2i2.length;for(var _Q7=0;_Q7<_9s;_Q7++){var _PU=_2i2.charCodeAt(_Q7);if(_PU!=0x20){if(_PU<this._WJ||_PU>=this._2V){}else {var __h2=this._Jh2[_PU];if(__h2!==undefined){var _Th=this._Nh2._7P[__h2];var _3i2=_K8[_Th._C4];if(_3i2.complete){var _Py=_Th._w4+this._Nh2._kP;var _Qy=_Th._x4+this._Nh2._lP;if(this.prop)_Py=0;
if(_Su!=0xffffff){var _7i2=_R9(_Th,_Su);_M9._6P(_7i2,0,0,_Th._y4,_Th._z4,_N6+(_Py*_ki2),_O6+(_Qy*_li2),_Th._y4*_ki2,_Th._z4*_li2)}else {_M9._6P(_3i2,_Th.x,_Th.y,_Th._u4,_Th._v4,_N6+(_Py*_ki2),_O6+(_Qy*_li2),_Th._y4*_ki2,_Th._z4*_li2)}}}}}_N6=_N6+_ki2*this._Zh2(_PU)}if(Math.abs(_R6)>=0.001)_ji2();_M9.globalAlpha=_FJ1};_Ah2.prototype._ni2=function(_N6,_O6,_2i2,_4q,_5q,_R6,_hu,_iu,_ju,_ku){if(this._Nh2==null)return;var _9s=_2i2.length;var _ki2=this._W6*_4q;var _li2=this._X6*_5q;var _oi2=undefined;if(Math.abs(_R6)>=0.001){
_oi2=_Bp(_sp);_rp(_sp,this._4i2(_N6,_O6,_R6))}var alpha=(_hu&0xff000000);var _pi2=((_iu&0xff0000)-(_hu&0xff0000))/_9s;var _qi2=((((_iu&0xff00)<<8)-((_hu&0xff00)<<8)))/_9s;var _ri2=((((_iu&0xff)<<16)-((_hu&0xff)<<16)))/_9s;var _si2=((_ju&0xff0000)-(_ku&0xff0000))/_9s;var _ti2=((((_ju&0xff00)<<8)-((_ku&0xff00)<<8)))/_9s;var _ui2=((((_ju&0xff)<<16)-((_ku&0xff)<<16)))/_9s;var _vi2=_pi2;var _wi2=_qi2;var _xi2=_ri2;var _yi2=_si2;var _zi2=_ti2;var _Ai2=_ui2;var _zW=_hu;var _0b2=_ku;for(var _Q7=0;_Q7<_9s;_Q7++){var _AW=((_hu&0xff0000)+(_vi2&0xff0000))&0xff0000;
_AW|=((_hu&0xff00)+(_wi2>>8)&0xff00)&0xff00;_AW|=((_hu&0xff)+(_xi2>>16))&0xff;_AW|=alpha;var _LW=((_ku&0xff0000)+(_yi2&0xff0000))&0xff0000;_LW|=((_ku&0xff00)+(_zi2>>8)&0xff00)&0xff00;_LW|=((_ku&0xff)+(_Ai2>>16))&0xff;_LW|=alpha;_vi2+=_pi2;_wi2+=_qi2;_xi2+=_ri2;_yi2+=_si2;_zi2+=_ti2;_Ai2+=_ui2;var _PU=_2i2.charCodeAt(_Q7);if(_PU!=0x20){if(_PU<this._WJ||_PU>this._2V){}else {var __h2=this._Jh2[_PU];if(__h2!==undefined){var _Th=this._Nh2._7P[__h2];var _3i2=_K8[_Th._C4];if(_3i2.complete){var _Py=_Th._w4+this._Nh2._kP;
var _Qy=_Th._x4+this._Nh2._lP;if(this.prop)_Py=0;_M9._6P(_Th,_Th.x,_Th.y,_Th._u4,_Th._v4,_N6+(_Py*_ki2),_O6+(_Qy*_li2),_Th._y4*_ki2,_Th._z4*_li2,_zW,_AW,_LW,_0b2)}}}}_0b2=_LW;_zW=_AW;_N6+=_ki2*this._Zh2(_PU)}if(_oi2!==undefined){_rp(_sp,_oi2)}};/*@constructor */function _J82(){this._Q3=[];this.length=0;this._Bi2=null;this._Ci2=0;this._Di2=0;this._Ei2=0;_o72=-1;this._Ci2=_o72}_J82.prototype._6f=function(){this._Q3=[];this._Q3.length=0};_J82.prototype._Qe=function(_8d2){var _Fi2=null;if(_8d2!=null){_Fi2=new _Ah2();
_Fi2._Oh2(_8d2)}this._Q3[this._Q3.length]=_Fi2;return this._Q3.length-1};_J82.prototype._P92=function(_8d2){var _Fi2=null;if(_8d2!=null){_Fi2=new _Ah2();_Fi2._Oh2(_8d2)}this._Q3[-1]=_Fi2};_J82.prototype._Gi2=function(){if(this._Ci2>=0&&this._Ci2<=this._Q3.length&&this._Q3[this._Ci2]!=null){this._Bi2=this._Q3[this._Ci2]}else {this._Bi2=this._Q3[-1];if(!this._Bi2)_es("Error: Failed to set font. Built-in fonts disabled with no current font set.");}};_J82.prototype._8g=function(_5g){if(_5g>=0&&_5g<=this._Q3.length&&this._Q3[_5g]){
return this._Q3[_5g]}return null};function _Hi2(_2t,_Bi2,_Ii2){if(_Ii2===undefined)_Ii2=false;if(_Ii2==false&&_j6)return _2t;if(_2t==null)return 0;var _Ji2=_2t;var _fn1="";var _Q7=0;var _U21=0;while(_U21<_Ji2.length){var _ps=_Ji2[_U21];if(_ps=="#"){if((_Q7>0)&&(_Ji2[_U21-1]=='\\')){_fn1=_fn1.substring(0,_fn1.length-1)+'#'}else {_fn1+=String.fromCharCode(0x0a);_Q7++}}else {_fn1+=_ps;_Q7++}_U21++}return _fn1}_J82.prototype._os=function(_2i2,_Ki2,_Bi2){if(_2i2==null)return;if(_Ki2<0)_Ki2=10000000;var _Li2=" ";var _7s=String.fromCharCode(0x0a);
var _Mi2=String.fromCharCode(0x0d);var _ms=[];var _Ni2=0;if(!_j6)_2i2=_Hi2(_2i2,_Bi2);var _9s=_2i2.length;var _Rh=_2i2;var _Oi2=_Rh[0];var start=0;var end=0;while(start<_9s){var _mO=0;if(_Ki2==10000000){while(end<_9s&&_Rh[end]!=_7s&&_Rh[end]!=_Mi2){end++;if(end<_9s)_Oi2=_Rh[end];else _Oi2=String.fromCharCode(0x0)}var _Qt;if(end<_9s)_Qt=_Rh[end];else _Qt=String.fromCharCode(0x0);if((_7s==_Oi2)&&(_Mi2==_Rh[end])){end++;continue }if((_Mi2==_Oi2)&&(_7s==_Rh[end])){end++;continue }_Oi2=_Rh[end];_ms[_Ni2++]=_Rh.substring(start,
end)}else {while(end<_9s){if(_Rh[end]!=_Li2)break;end++}start=end;while(end<_9s&&_mO<_Ki2){_Qt=_Rh[end];if(_Qt==_7s)break;_mO+=this._Bi2._Zh2(_Qt.charCodeAt(0));end++}if(_mO>_Ki2){end--;_mO-=this._Bi2._Zh2(_Rh.charCodeAt(end))}if(_Rh[end]==_7s){_ms[_Ni2++]=_Rh.substring(start,end)}else {if(end==start)return _ms;if(end!=_9s){if((_Rh[end]!=_Li2)||(_Rh[end]!=_Li2&&_Rh[end+1]!=_Li2)){while(end>start){if(_Rh[--end]==_Li2)break }}}if(end>start){while(_Rh[end-1]==_Li2){end--}}else if(end==start){while(_Rh[end]!=_Li2&&end<_9s){
end++}}_ms[_Ni2++]=_Rh.substring(start,end)}}start=++end}return _ms};_J82.prototype._eu=function(__t,x,y,_Pi2,_Ki2,_R6,_4q,_5q,_hu,_iu,_ju,_ku){var _pC=_4q;var _qC=_5q;var _Qi2=0.0;var _Ri2=0.0;var _ms=[];var _Q7=0;this._Gi2();var _Bi2=this._Bi2;if(_hu===undefined){_hu=_Ub|((_Tb*255.0)<<24);_iu=_Ub|((_Tb*255.0)<<24);_ju=_Ub|((_Tb*255.0)<<24);_ku=_Ub|((_Tb*255.0)<<24)}else if(_iu===undefined){_iu=_hu;_ju=_hu;_ku=_hu}var _2t=__t;_ms=this._os(_2t,_Ki2,_Bi2);var _Si2=_c82(_R6);var _c8=Math.sin(_Si2);var _d8=Math.cos(_Si2);
if(_Pi2<0){_Pi2=_Bi2?_Bi2._Vh2('M'):20}var _Ti2=_c8*_qC*_Pi2;var _Ui2=_d8*_qC*_Pi2;if(this._Di2==1){y=y-Math.round((_ms.length*_Ui2)/2.0);x=x-Math.round((_ms.length*_Ti2)/2.0)}if(this._Di2==2){y=y-Math.round(_ms.length*_Ui2);x=x-Math.round(_ms.length*_Ti2)}if(!_Bi2){if(!_v8){_M9.fillStyle=_wx;_M9.globalAlpha=_Tb;for(_Q7=0;_Q7<=_ms.length-1;_Q7++){var _Vi2=_ms[_Q7];if(_Vi2!=null){_M9.fillText(_Vi2,x,y+13);y=y+_Ui2;x=x+_Ti2}}}else {if(this._Ci2!=-1)_es("Error: Runtime canvas fonts are not supported in WebGL.")}
}else {for(_Q7=0;_Q7<=_ms.length-1;_Q7++){_Qi2=0;_Ri2=0;if(_Bi2._Eh2!=undefined){_Ri2-=_Bi2._Eh2*_qC}var _Vi2=_ms[_Q7];if(_Vi2!=null){if(this._Ei2==1)_Qi2=-(_pC*_Bi2._Wh2(_Vi2,true)/2);if(this._Ei2==2)_Qi2=-(_pC*_Bi2._Wh2(_Vi2,true));if(_Bi2._Ch2){_Qi2-=(_pC*_Bi2._Nh2._kP);_Ri2-=(_qC*_Bi2._Nh2._lP)}var _S7=x+(_d8*_Qi2)+(_c8*_Ri2);var _U7=y-(_c8*_Qi2)+(_d8*_Ri2);if(_Bi2._Bh2){if(_Bi2._Ch2){if(!_v8){_Bi2._mi2(_S7,_U7,_Vi2,_pC,_qC,_R6,_hu,_iu,_ju,_ku)}else {_Bi2._ni2(_S7,_U7,_Vi2,_pC,_qC,_R6,_hu,_iu,_ju,
_ku)}}else {if(_Bi2._lO){_Wi2(_Bi2._Gh2,_Vi2,_S7,_U7,1,1,_Si2,_hu,_iu,_ju,_ku)}}}else {if(_v8){_Bi2._6i2(_S7,_U7,_Vi2,_pC,_qC,_R6,_hu,_iu,_ju,_ku)}else {_Bi2._gi2(_S7,_U7,_Vi2,_pC,_qC,_R6,_hu,_iu,_ju,_ku)}}}y=y+_Ui2;x=x+_Ti2}}};var _Xi2;var _K8;var _Yi2=null;var _Zi2=1024;var __i2=768;var _0j2=1;var _1j2=1;var _Sw=0;var _Tw=0;var _Uw=0;var _Vw=0;var _vQ=0;var _xQ=0;var _zQ=0;var _BQ=0;var _CT1=[];var _2j2=0;var _P9=0xffffff;var _3j2;var _4j2;var _KQ;var _MQ;var _ji2;var _5j2;var _hi2;var _6j2;var _7j2;var _8j2;var _Ww;var _Pw;var _9j2;
var _aj2;var _bj2;var _cj2;var _dj2;var _Wi2;var _ej2=!0;function _4P(_fj2){if(!_fj2)return;_fj2._gj2=_fj2.transform;_fj2._Rw=_fj2.setTransform;_fj2._hj2=_fj2.save;_fj2._ij2=_fj2.restore;_fj2._Rx=_fj2.fillRect;_fj2._Qx=_fj2.strokeRect;_fj2._5y=_fj2.beginPath;_fj2._Yy=_fj2.arc;_fj2._9y=_fj2.stroke;_fj2._8y=_fj2.closePath;_fj2.lineWidth=_fj2.lineWidth;_fj2._6y=_fj2.moveTo;_fj2._7y=_fj2.lineTo;_fj2._ny=_fj2.fill;_fj2._6P=_fj2.drawImage;_fj2._SQ=_fj2.getImageData;_fj2._jj2=_fj2.createImageData;_fj2._lf2=_fj2.putImageData;
_fj2._kj2=_fj2.clip;_fj2._lj2=_fj2.rect}function _mj2(_fj2,_io){if(_fj2.imageSmoothingEnabled==_io)return;_fj2.imageSmoothingEnabled=_io;_fj2.webkitImageSmoothingEnabled=_io;_fj2.mozImageSmoothingEnabled=_io;_fj2.msImageSmoothingEnabled=_io;_fj2.oImageSmoothingEnabled=_io}function _HQ(_fj2){if(!_v8)_mj2(_fj2,_ej2)}function _nj2(_1r){_1r=_1r>0.5;if(_ej2!=_1r){_ej2=_1r;_mj2(_M9,_1r)}}function _B82(_gq1){_K8=[];_Yi2=null;_Sw=0;_Tw=0;_Uw=0;_Vw=0;_vQ=0;_xQ=0;_zQ=0;_BQ=0;_CT1=[];_CT1[0]=1;_CT1[1]=0;_CT1[2]=0;
_CT1[3]=0;_CT1[4]=1;_CT1[5]=0;if(!_v8){if(_sX1){_3j2=_oj2}else {_3j2=_pj2}_4j2=_qj2;_aj2=_rj2;_KQ=_sj2;_MQ=_tj2;_9j2=_uj2;_ji2=_vj2;_5j2=_wj2;_hi2=_xj2;_6j2=_yj2;_Pw=_zj2;_Ww=_Aj2;_Wi2=_Bj2;_8j2=_Cj2;_bj2=_Dj2;_7j2=_Ej2;_cj2=function(){};_dj2=function(){};_ej2=!(_as._K4&&!_as._K4._W4);if(_tX1){if(_sX1){_P9=0x1ffffff;_3j2=_Fj2}else {_3j2=_Gj2}_4j2=_qj2;_aj2=_Hj2}}else {_Ij2()}_KQ(0,0,_OU,_QU);_MQ(0,0,_OU,_QU,0)}var _Jj2=[];var _Kj2=0;function _zj2(){_M9._hj2();_Jj2.push({_Lj2:_Kj2++,_Mj2:_Sw,_Nj2:_Tw,_Oj2:_Uw,
_Pj2:_Vw})}function _Aj2(){_M9._ij2();var _j9=_Jj2.pop();_Sw=_j9._Mj2;_Tw=_j9._Nj2;_Uw=_j9._Oj2;_Vw=_j9._Pj2;--_Kj2}function _rP(_BP){_BP._G8=[];_BP._H8=0;_BP._I8=4;_BP._fQ=0;_BP._gQ=null;_BP._2P=null;_BP._J8=_K8[_BP._C4]}function _J92(_Qj2){_Yi2=_Qj2;for(var _Q7=0;_Q7<_Qj2.length;_Q7++){var _Th=_Qj2[_Q7];_rP(_Th)}}/*@constructor */function _Rj2(){this._xP=null;this._Sj2=0}function _ii2(_id,_Tj2,_N6,_O6,_Zf,__f,_Vb){var _Uj2=null;if(_Tj2._G8!=undefined){_Uj2=_Tj2._G8[_Vb]}else {_Tj2._G8=[];_Tj2._I8=4;_Tj2._H8=0}
if(_Uj2!=null){_Uj2._Sj2=_2j2;return _Uj2._xP}var _Vj2=-9999999999;_Uj2=null;if(_Tj2._H8<_Tj2._I8){_Uj2=new _Rj2();_Tj2._H8++}else {var _Wj2=-1;for(var _Q7 in _Tj2._G8){if(!_Tj2._G8.hasOwnProperty(_Q7))continue;var _Xj2=_Tj2._G8[_Q7];if(_Xj2!=null){var _L7=_2j2-_Xj2._Sj2;if(_L7>_Vj2){_Wj2=_Q7;_Uj2=_Xj2;_Vj2=_L7}}}if(_Wj2>=0)delete _Tj2._G8[_Wj2]}_Tj2._G8[_Vb]=_Uj2;_Uj2._Sj2=_2j2;_Uj2._xP=_Yj2(_id,_N6,_O6,_Zf,__f,_Vb);return _Uj2._xP}function _R9(_BP,_Vb){return _ii2(_BP._J8,_BP,_BP.x,_BP.y,_BP._u4,_BP._v4,_Vb)}
function _9d2(_YO){return _Yi2[_YO]}function _vj2(){_M9._Rw(_CT1[0],_CT1[3],_CT1[1],_CT1[4],_CT1[2],_CT1[5])}function _wj2(_ac){_Pw();var _Qw=[];_Qw[0]=1;_Qw[1]=0;_Qw[2]=0;_Qw[3]=1;_Qw[4]=0;_Qw[5]=0;_M9._Rw(_Qw[0],_Qw[1],_Qw[2],_Qw[3],_Qw[4],_Qw[5]);_M9.fillStyle=_Bx(_ac|0xff000000);_M9._Rx(_Sw,_Tw,_Uw,_Vw);_Ww()}function _sj2(_hr1,_ir1,_jr1,_kr1){_Sw=_hr1;_Tw=_ir1;_Uw=_jr1;_Vw=_kr1;if(_j6){if((_Sw===0&&_Tw===0)&&(_Uw==_M9.canvas.width&&_Vw===_M9.canvas.height)){}else {_CT1[0]=1;_CT1[1]=0;_CT1[2]=0;_CT1[3]=1;
_CT1[4]=0;_CT1[5]=0;_M9._Rw(_CT1[0],_CT1[1],_CT1[2],_CT1[3],_CT1[4],_CT1[5]);_M9.beginPath();_M9.moveTo(_Sw,_Tw);_M9.lineTo(_Sw+_Uw,_Tw);_M9.lineTo(_Sw+_Uw,_Tw+_Vw);_M9.lineTo(_Sw,_Tw+_Vw);if(!(_Uz==_FX1&&_JS==4.0)){_M9.clip()}}}}function _Zj2(_N6,_O6,_Zf,__f,_R6){var _L9=new _oo((_N6+_Zf/2.0),(_O6+__f/2.0),-16000.0);var _z9=new _oo((_N6+_Zf/2.0),(_O6+__f/2.0),0.0);var _D9=new _oo(Math.sin(-_R6*(Math.PI/180.0)),Math.cos(-_R6*(Math.PI/180.0)),0.0);_D62._ro(_L9,_z9,_D9);_C62._Bo(_Zf,-__f*_yo,1.0,32000.0)}
function _xj2(_N6,_O6,_cR,_dR,_R6){var _Qw=[];_Qw[0]=Math.cos(_R6);_Qw[3]=Math.sin(_R6);_Qw[1]=-_Qw[3];_Qw[4]=_Qw[0];_Qw[0]*=_cR;_Qw[3]*=_cR;_Qw[1]*=_dR;_Qw[4]*=_dR;_Qw[2]=_N6;_Qw[5]=_O6;_M9._gj2(_Qw[0],_Qw[3],_Qw[1],_Qw[4],_Qw[2],_Qw[5])}function _uj2(__j2,_0k2,_1k2,_2k2){if((_Sw===0&&_Tw===0)&&(_Uw==_M9.canvas.width&&_Vw===_M9.canvas.height)){}else {_CT1[0]=1;_CT1[1]=0;_CT1[2]=0;_CT1[3]=1;_CT1[4]=0;_CT1[5]=0;_M9._Rw(_CT1[0],_CT1[1],_CT1[2],_CT1[3],_CT1[4],_CT1[5]);_M9.moveTo(_Sw,_Tw);_M9.lineTo(_Sw+_Uw,
_Tw);_M9.lineTo(_Sw+_Uw,_Tw+_Vw);_M9.lineTo(_Sw,_Tw+_Vw);if(!(_Uz==_FX1&&_JS==4.0)){_M9.clip()}}_CT1[0]=__j2;_CT1[1]=0;_CT1[2]=_1k2;_CT1[3]=0;_CT1[4]=_0k2;_CT1[5]=_2k2;_M9._Rw(_CT1[0],_CT1[3],_CT1[1],_CT1[4],_CT1[2],_CT1[5])}function _tj2(_3k2,_4k2,_5k2,_6k2,_R6){if((_Sw===0&&_Tw===0)&&(_Uw==_M9.canvas.width&&_Vw===_M9.canvas.height)){}else {_CT1[0]=1;_CT1[1]=0;_CT1[2]=0;_CT1[3]=1;_CT1[4]=0;_CT1[5]=0;_M9._Rw(_CT1[0],_CT1[1],_CT1[2],_CT1[3],_CT1[4],_CT1[5]);_M9.beginPath();_M9.moveTo(_Sw,_Tw);_M9.lineTo(_Sw+_Uw,
_Tw);_M9.lineTo(_Sw+_Uw,_Tw+_Vw);_M9.lineTo(_Sw,_Tw+_Vw);if(!(_Uz==_FX1&&_JS==4.0)){_M9.clip()}}var _u4=_Uw/_5k2;var _v4=_Vw/_6k2;_vQ=_3k2;_xQ=_4k2;_zQ=_5k2;_BQ=_6k2;_CT1[0]=_u4;_CT1[1]=0;_CT1[2]=-(_3k2*_u4)+_Sw;_CT1[3]=0;_CT1[4]=_v4;_CT1[5]=-(_4k2*_v4)+_Tw;_M9._Rw(_CT1[0],_CT1[3],_CT1[1],_CT1[4],_CT1[2],_CT1[5])}function _T8(_t6){var _Q7=_K8.length;var _J8=new Image();_t6=_QM(_t6);_J8.crossOrigin=_aI1;_J8.src=_gN(null,null,_t6);_K8[_Q7]=_J8;return _Q7}function _7k2(_D8,_E8){var _Qt=document.createElement("canvas");
_Qt.width=_D8;_Qt.height=_E8;var _Q7=_K8.length;var _J8=new Image(_D8,_E8);_J8.src=_gN(null,null,_Qt.toDataURL());_K8[_Q7]=_J8;return _Q7}function _8k2(_id,_N6,_O6,_Zf,__f,_gq1){var context=_id.getContext('2d');context.globalCompositeOperation='copy';context.drawImage(_gq1,_N6,_O6)}function _8P(_9k2){var _Q7=_K8.length;_K8[_Q7]=_9k2;return _Q7}function _Cj2(){_2j2++}function _Dj2(){}function _yP(_BP){var _2P=document.createElement(_us);var _Ph=_2P.getContext('2d');_4P(_Ph);_2P.width=_BP._u4;_2P.height=_BP._v4;
_Ph._6P(_BP._J8,_BP.x,_BP.y,_BP._u4,_BP._v4,0,0,_BP._u4,_BP._v4);_2P.complete=true;return _2P}function _IP(_BP){var _GP=[];var _lH=_BP._A4*_BP._B4*4;var _ak2;for(var _Q7=0;_Q7<_lH;_Q7++)_GP[_Q7]=0;if(_BP._J8._fa)_ak2=_v8._Xt1(_BP);else {var _2P=document.createElement(_us);var _Ph=_2P.getContext('2d');_4P(_Ph);_2P.width=_BP._u4;_2P.height=_BP._v4;_Ph._6P(_BP._J8,_BP.x,_BP.y,_BP._u4,_BP._v4,0,0,_BP._u4,_BP._v4);_2P.complete=true;var data,_TQ,_bk2,_ck2;try{data=_Ph.getImageData(0,0,_BP._u4,_BP._v4)}catch(_Ou){
return _GP}_ak2=data.data}var _dk2=(_BP._w4+(_BP._x4*_BP._A4))*4;var _98=_BP._u4*4;var x,y;for(y=0;y<_BP._v4;y++){var _kF=_dk2;var _ek2=y*_98;for(x=0;x<_98;x++){_GP[_kF++]=_ak2[_ek2++]}_dk2+=_BP._A4*4}return _GP}function _oj2(_BP,_N6,_O6,_Wb){if(!_BP)return;if(!_BP._J8)return;if(!_BP._J8.complete)return;if(_BP._2P==null)_BP._2P=_yP(_BP);_N6+=_BP._w4;_O6+=_BP._x4;_M9.globalAlpha=_Wb;_M9._6P(_BP._2P,~~_N6,~~_O6)}function _Fj2(_BP,_N6,_O6,_Wb){_oj2(_BP,_N6,_O6,_Wb)}function _pj2(_BP,_N6,_O6,_Wb){if(!_BP)return;
if(!_BP._J8)return;if(!_BP._J8.complete)return;_M9.globalAlpha=_Wb;_M9._6P(_BP._J8,~~_BP.x,~~_BP.y,_BP._u4,_BP._v4,Math.floor(_N6)+_BP._w4,Math.floor(_O6)+_BP._x4,_BP._y4,_BP._z4)}function _Gj2(_BP,_N6,_O6,_Wb){_pj2(_BP,_N6,_O6,_Wb)}function _fk2(_gq1){try{_M9._6P(_gq1,0,0,_gq1.width,_gq1.height,canvas.width,canvas.height,0,0)}catch(e){return false}var _Z9=_gq1.getContext('2d');_Z9.fillStyle="white";_Z9.fillRect(0,0,1,1);var _kf2=_Z9.getImageData(0,0,1,1);return(_kf2.data[0]===255)}function _qj2(_BP,_N6,
_O6,_gk2,_hk2,_ik2,_jk2,_ac,_Wb){var _Ay1=_BP._J8;if(!_Ay1)return;if(!_Ay1.complete)return;if(_BP._u4==0||_BP._v4==0)return;var _Q7=0;if(_ik2)_Q7=1;if(_jk2)_Q7|=2;if(_Q7===0){_M9.globalAlpha=_Wb;_M9._6P(_Ay1,_BP.x,_BP.y,_BP._u4,_BP._v4,_N6+_BP._w4,_O6+_BP._x4,(_BP._y4*_gk2),(_BP._z4*_hk2));return }var _u4=_BP._A4;var _v4=_BP._B4;if(_jk2){_u4=(((((_A62._yQ+(_BP._A4-1))/_BP._A4)&0xffffffff)+2)*_BP._A4);_N6=_vQ+(((_N6-_vQ)%_BP._A4)-_BP._A4);}if(_ik2){_v4=(((((_A62._AQ+(_BP._B4-1))/_BP._B4)&0xffffffff)+2)*_BP._B4);
_O6=_xQ+(((_O6-_xQ)%_BP._B4)-_BP._B4)}if((_BP._gQ!=null)&&(_BP._gQ.width<(_u4*_BP._kk2)||_BP._gQ.height<(_v4*_BP._kk2))){_BP._gQ=null;_BP._lk2=0}if((_BP._fQ!=_Q7)||(!_BP._gQ)){_BP._fQ=_Q7;var buffer=document.createElement(_us);var _Ph=buffer.getContext('2d');_4P(_Ph);buffer.width=_u4;buffer.height=_v4;_M9.globalAlpha=1;var _mk2=1;while((_fk2(buffer)===false)&&(buffer.width>=64)&&(buffer.height>=64)){debug("WARNING: Tiled image quality reduction");buffer.width/=2;buffer.height/=2;_mk2/=2}var _nk2=_BP.x;
var _ok2=_BP.y;if(_ac!=_P9){_Ay1=_R9(_BP,_ac);_nk2=0;_ok2=0}var _U11=_u4/_BP._A4;var _V11=_v4/_BP._B4;for(var y=0;y<_V11;y++){for(var x=0;x<_U11;x++){_Ph._6P(_Ay1,_nk2,_ok2,_BP._u4,_BP._v4,_BP._w4+((x*_BP._A4)*_mk2),_BP._x4+((y*_BP._B4)*_mk2),_BP._y4*_mk2,_BP._z4*_mk2)}}_BP._kk2=_mk2;_BP._gQ=buffer}_M9.globalAlpha=_Wb;_M9._6P(_BP._gQ,_N6,_O6,_BP._gQ.width/_BP._kk2,_BP._gQ.height/_BP._kk2)}function _rj2(_BP,_bP,_cP,_N6,_O6,_gk2,_hk2,_pk2,_Su,_Tu,_Vx,_Wx,_Wb){if(!_BP._J8)return;if(!_BP._J8.complete)return;
if((abs(_gk2)<=0.0001)||(abs(_hk2)<=0.0001)||(_Wb<=0)){return }_Su&=0xffffff;var _Py=-(_bP-_BP._w4);var _Qy=-(_cP-_BP._x4);var _FJ1=_M9.globalAlpha;_M9.globalAlpha=_Wb;if(_Su!=_P9){var _7i2=_R9(_BP,_Su);var _J7=Math.abs(_pk2);if((_J7<0.0001)&&(_gk2==1)&&(_hk2==1)&&(_BP._u4===_BP._y4)&&(_BP._v4===_BP._z4)){_M9._6P(_7i2,_N6+_Py,_O6+_Qy)}else {if((_gk2<0)||(_hk2<0)||(_J7>0.0001)){_hi2(_N6,_O6,_gk2,_hk2,-_pk2);_M9._6P(_7i2,0,0,_BP._u4,_BP._v4,_Py,_Qy,_BP._y4,_BP._z4);_ji2()}else {_M9._6P(_7i2,0,0,_BP._u4,_BP._v4,
_N6+(_Py*_gk2),_O6+(_Qy*_hk2),_BP._y4*_gk2,_BP._z4*_hk2)}}}else {var _J7=Math.abs(_pk2);if((_J7<0.0001)&&(_gk2==1)&&(_hk2==1)&&(_BP._u4===_BP._y4)&&(_BP._v4===_BP._z4)){if(_BP._2P==null){_BP._2P=_yP(_BP)}_M9._6P(_BP._2P,_N6+_Py,_O6+_Qy)}else {if(_gk2<0||_hk2<0||_J7>0.001){_hi2(_N6,_O6,_gk2,_hk2,-_pk2);_M9._6P(_BP._J8,_BP.x,_BP.y,_BP._u4,_BP._v4,_Py,_Qy,_BP._y4,_BP._z4);_ji2()}else {_M9._6P(_BP._J8,_BP.x,_BP.y,_BP._u4,_BP._v4,_N6+(_Py*_gk2),_O6+(_Qy*_hk2),_BP._y4*_gk2,_BP._z4*_hk2)}}}_M9.globalAlpha=_FJ1}
function _Hj2(_BP,_bP,_cP,_N6,_O6,_gk2,_hk2,_pk2,_Su,_Tu,_Vx,_Wx,_Wb){try{_rj2(_BP._J8,_bP,_cP,_N6,_O6,_gk2,_hk2,_pk2,_Su,_Tu,_Vx,_Wx,_Wb)}catch(_Ou){debug("error drawing image")}}function _Yj2(_id,_N6,_O6,_Zf,__f,_ac){var buffer=document.createElement(_us);var _Ph=buffer.getContext('2d');_4P(_Ph);buffer.width=_Zf;buffer.height=__f;_Ph._6P(_id,_N6,_O6,_Zf,__f,0,0,_Zf,__f);if(~~_ac!=0xffffff){var data,_TQ,_bk2,_ck2;data=_Ph._SQ(0,0,buffer.width,buffer.height);_TQ=data.data;var _qk2=_Ph._jj2(buffer.width,
buffer.height);_ck2=_qk2.data;var _J7=((_ac>>16)&0xff)/255;var _j9=((_ac>>8)&0xff)/255;var _M7=(_ac&0xff)/255;var _mO=(data.height*data.width*4);for(var _Q7=_mO-4;_Q7>=0;_Q7-=4){_ck2[_Q7]=(_TQ[_Q7]*_J7)|0;_ck2[_Q7+1]=(_TQ[_Q7+1]*_j9)|0;_ck2[_Q7+2]=(_TQ[_Q7+2]*_M7)|0;_ck2[_Q7+3]=(_TQ[_Q7+3])}_qk2.data=_ck2;_Ph._lf2(_qk2,0,0)}return buffer}function _rk2(_BP,_18,_28,_m7,_n7,_ly,_my,_sk2,_tk2,_Wb){var _Ay1=_BP._J8;if(!_Ay1)return;if(!_Ay1.complete)return;_M9.globalAlpha=_Wb;_uk2(_Ay1,_18,_28,_m7,_n7,_ly,_my,
_BP.x,_BP.y,_BP.x+_BP._u4,_BP.y,_BP.x+_BP._u4,_BP.y+_BP._v4);_uk2(_Ay1,_ly,_my,_sk2,_tk2,_18,_28,_BP.x+_BP._u4,_BP.y+_BP._v4,_BP.x,_BP.y+_BP._v4,_BP.x,_BP.y)}function _uk2(__9,_0a,_1a,_w7,_x7,_y7,_z7,_2a,_3a,_4a,_5a,_6a,_7a){_Pw();_M9._5y();_M9._6y(_0a,_1a);_M9._7y(_w7,_x7);_M9._7y(_y7,_z7);_M9._8y();_M9._kj2();var _8a=_2a*(_7a-_5a)-_4a*_7a+_6a*_5a+(_4a-_6a)*_3a;if(_8a==0)return;var _9a=-(_3a*(_y7-_w7)-_5a*_y7+_7a*_w7+(_5a-_7a)*_0a)/_8a;var _aa=(_5a*_z7+_3a*(_x7-_z7)-_7a*_x7+(_7a-_5a)*_1a)/_8a;var _ba=(_2a*(_y7-_w7)-_4a*_y7+_6a*_w7+(_4a-_6a)*_0a)/_8a;
var _ca=-(_4a*_z7+_2a*(_x7-_z7)-_6a*_x7+(_6a-_4a)*_1a)/_8a;var _da=(_2a*(_7a*_w7-_5a*_y7)+_3a*(_4a*_y7-_6a*_w7)+(_6a*_5a-_4a*_7a)*_0a)/_8a;var _ea=(_2a*(_7a*_x7-_5a*_z7)+_3a*(_4a*_z7-_6a*_x7)+(_6a*_5a-_4a*_7a)*_1a)/_8a;_M9._gj2(_9a,_aa,_ba,_ca,_da,_ea);_M9._6P(__9,0,0);_Ww()}function _yj2(_BP,_8H,_9H,_D8,_E8,_N6,_O6,_4q,_5q,_7R,_Wb){if(!_BP)return;if(!_BP._J8)return;if(!_BP._J8.complete)return;_7R&=0xffffff;_M9.globalAlpha=_Wb;if(_8H<_BP._w4){var _vk2=_BP._w4-_8H;_N6+=_vk2;_D8-=_vk2;_8H=0}else {_8H-=_BP._w4}
if(_9H<_BP._x4){var _vk2=_BP._x4-_9H;_O6+=_vk2;_E8-=_vk2;_9H=0}else {_9H-=_BP._x4}if(_D8>(_BP._y4-_8H))_D8=_BP._y4-_8H;if(_E8>(_BP._z4-_9H))_E8=_BP._z4-_9H;if(_D8<=0||_E8<=0)return;_N6=~~_N6;_O6=~~_O6;if(_7R!=_P9){var _7i2=_R9(_BP,_7R);if(_4q<0||_5q<0){_hi2(_N6,_O6,_4q,_5q,0);_M9._6P(_7i2,_8H,_9H,_D8,_E8,0,0,_D8,_E8);_ji2()}else {_M9._6P(_7i2,_8H,_9H,_D8,_E8,_N6,_O6,_D8*_4q,_E8*_5q)}}else {if(_4q<0||_5q<0){_hi2(_N6,_O6,_4q,_5q,0);_M9._6P(_BP._J8,_8H+_BP.x,_9H+_BP.y,_D8,_E8,0,0,_D8,_E8);_ji2()}else {_M9._6P(_BP._J8,
_8H+_BP.x,_9H+_BP.y,_D8,_E8,_N6,_O6,_D8*_4q,_E8*_5q)}}}function _4R(_BP,_N6,_O6,_Zf,__f,_7R,_Wb){if(!_BP)return;if(!_BP._J8)return;if((_BP._J8 instanceof HTMLImageElement)&&(!_BP._J8.complete))return;_N6=~~_N6;_O6=~~_O6;var _nk2=_Zf/_BP._A4;var _ok2=__f/_BP._B4;_aj2(_BP,0,0,_N6,_O6,_nk2,_ok2,0,_7R,_7R,_7R,_7R,_Wb)}var _wk2=_xk2;function _xk2(_yk2,_zk2){if(_v8)return false;var buffer=document.createElement(_us);var _Ph=buffer.getContext('2d');_4P(_Ph);buffer.width=_yk2._u4;buffer.height=_yk2._v4;_Ph.drawImage(_zk2._J8,
_zk2.x,_zk2.y,_zk2._u4,_zk2._v4,0,0,_yk2._u4,_yk2._v4);var _Ak2,_Bk2,_Ck2,_Dk2,_Ek2;try{_Bk2=_Ph.getImageData(0,0,_yk2._u4,_yk2._v4);_Ek2=_yk2._J8.getContext('2d');_4P(_Ek2);_Ck2=_Ek2.getImageData(_yk2.x,_yk2.y,_yk2._u4,_yk2._v4)}catch(_Ou){return false}_Ak2=_Bk2.data;_Dk2=_Ck2.data;var _mO=(_Ck2.height*_Ck2.width*4);for(var _Q7=_mO-4;_Q7>=0;_Q7-=4){var _Qt=~~((_Ak2[_Q7]+_Ak2[_Q7+1]+_Ak2[_Q7+2])/3);_Dk2[_Q7+3]=_Qt}_Ck2.data=_Dk2;_Ek2.putImageData(_Ck2,0,0);return true}function _Bj2(_Fk2,__t,_N6,_O6,_4q,
_5q,_R6,_ac,_Wb){_M9.globalAlpha=_Wb;_M9.fillStyle=_0i(_ac,1.0);_M9.font=_Fk2;_M9.textBaseline="top";_hi2(_N6,_O6,_4q,_5q,-_R6);_M9.fillText(__t,0,0);_ji2()}function _Qh(_Gk2,_Zf,__f){try{var data,_TQ,_bk2,_ck2;data=_Gk2._SQ(0,0,_Zf,__f);_TQ=_ck2=data.data;var _Hk2=(__f-1)*_Zf*4;var _J7=_TQ[_Hk2+0];var _j9=_TQ[_Hk2+1];var _M7=_TQ[_Hk2+2];var _k9=_TQ[_Hk2+3];var _mO=(data.height*data.width*4);for(var _Q7=_mO-4;_Q7>=0;_Q7-=4){_ck2[_Q7+0]=_TQ[_Q7+0];_ck2[_Q7+1]=_TQ[_Q7+1];_ck2[_Q7+2]=_TQ[_Q7+2];if((_ck2[_Q7+0]==_J7)&&(_ck2[_Q7+1]==_j9)&&(_ck2[_Q7+2]==_M7)){
_ck2[_Q7+3]=0x0}else {_ck2[_Q7+3]=_TQ[_Q7+3]}}_Gk2._lf2(data,0,0)}catch(_Ou){return false}return true}function _Ej2(_fs){}var _Ik2=0,_Jk2=0;function _Kk2(_Lk2){this._Mk2=false;this._Nk2=[];this._Ok2=_Lk2;this._Pk2="";this._Qk2=0;this._Rk2=0}function _Sk2(_Tk2,_Uk2){var _Oe=_Ju(_Tk2,_Uk2);var _Vk2=new _Kk2(_Tk2);_Vk2._Pk2=_Oe;_Vk2._Wk2();var _H8=0;for(var _Q7 in _Vk2._Nk2){if(!_Vk2._Nk2.hasOwnProperty(_Q7))continue;_H8++;break }if(_H8==0)return null;return _Vk2}_Kk2.prototype._Pt=function(){while((this._Pk2.charCodeAt(this._Qk2)!=0x0a)&&(this._Pk2.charCodeAt(this._Qk2)!=0x0d)&&(this._Qk2<this._0e2)){
this._Qk2++}this._Rk2++;this._Qk2++;if(this._Qk2>=this._0e2)return;if((this._Pk2.charCodeAt(this._Qk2)==0x0a)&&(this._Pk2.charCodeAt(this._Qk2)==0x0d)){this._Qk2++}};_Kk2.prototype._Xk2=function(){{if(this._Qk2>=this._0e2)return false;var _Qt=this._Pk2.charCodeAt(this._Qk2);if(_Qt==0x20||_Qt==0x09||_Qt==0x0a||_Qt==0x0d||_Qt==_OP('#')||_Qt==_OP(';')){return true}else {return false}}};_Kk2.prototype._Rt=function(){{while(this._Xk2()&&(this._Qk2<this._0e2)){var _Qt=this._Pk2.charCodeAt(this._Qk2);if(_Qt=='#'||_Qt==';'){
this._Pt()}else if(_Qt==0x0a){this._Rk2++}this._Qk2++}if(this._Qk2>=this._0e2)return;}};_Kk2.prototype._Yk2=function(){{this._Rt();while((this._Pk2.charAt(this._Qk2)!='[')&&(this._Qk2<this._0e2)){this._Qk2++}if(this._Qk2>=this._0e2)return null;this._Qk2++;var _Zk2=this._Qk2;while((this._Pk2.charAt(this._Qk2)!=']')&&(this._Qk2<this._0e2)){this._Qk2++}if(this._Qk2>=this._0e2)return null;var _9s=this._Qk2-_Zk2;var __k2=[];__k2.__m_pIniFileName__=this._Pk2.substr(_Zk2,_9s);this._Qk2++;return __k2}};_Kk2.prototype._0l2=function(_1l2){
{this._Rt();if(this._Qk2>=this._0e2||this._Pk2.charAt(this._Qk2)=='[')return false;var _Zk2=this._Qk2;var _2l2=-1;while((this._Pk2.charAt(this._Qk2)!='=')&&(this._Qk2<this._0e2)){if(this._Xk2()){if(_2l2<0)_2l2=this._Qk2}else {_2l2=-1}this._Qk2++}if(this._Qk2>=this._0e2)return false;if(_2l2<0)_2l2=this._Qk2;var _9s=_2l2-_Zk2;var _kT=this._Pk2.substr(_Zk2,_9s);while((this._Pk2.charAt(this._Qk2)!='=')&&(this._Qk2<this._0e2)){this._Qk2++}if(this._Qk2>=this._0e2)return false;this._Qk2++;var _0O1=this._Rk2;this._Rt();
if(_0O1!=this._Rk2)return false;var _3l2=_OP('#');var _4l2=_OP(';');var _5l2=false;var _d8=this._Pk2.charCodeAt(this._Qk2);switch(_d8){case 34:case 39:_3l2=_d8;_4l2=_d8;_5l2=true;this._Qk2++;break;case 91:case 123:_3l2=-1;_4l2=-1;break }_Zk2=this._Qk2;var _6l2=-1;var _Qt=this._Pk2.charCodeAt(this._Qk2);while((_Qt!=0x0a)&&(_Qt!=0x0d)&&(_Qt!=_3l2)&&(_Qt!=_4l2)&&(this._Qk2<this._0e2)){if(_Qt==0x20||_Qt==0x09){if(_6l2<0)_6l2=this._Qk2}else {_6l2=-1}if(_Qt==_OP('\\'))this._Qk2++;this._Qk2++;_Qt=this._Pk2.charCodeAt(this._Qk2)}
if(_6l2>=0&&!_5l2){_9s=_6l2-_Zk2}else {_9s=this._Qk2-_Zk2}var _7l2=this._Pk2.substr(_Zk2,_9s);_1l2[_kT]=_7l2;if(_5l2){_d8=this._Pk2.charCodeAt(this._Qk2);if((_d8==_3l2)&&(_d8==_4l2)){while((this._Pk2.charCodeAt(this._Qk2)!=0x0a)&&(this._Pk2.charCodeAt(this._Qk2)!=0x0d)&&(this._Qk2<this._0e2)){this._Qk2++}}}return true}};_Kk2.prototype._Wk2=function(){{if(this._Pk2==null)return false;this._0e2=this._Pk2.length;this._Qk2=0;this._Rk2=0;var __k2=this._Yk2();if(__k2==null){this._Pk2=null;return false}this._Nk2[__k2.__m_pIniFileName__]=__k2;
while(this._Qk2<this._0e2){var _wr=this._0l2(__k2);if(!_wr){if(this._Qk2<this._0e2){if(this._Pk2.charAt(this._Qk2)=='['){__k2=this._Yk2();if(__k2==null){this._Pk2=null;return true}this._Nk2[__k2.__m_pIniFileName__]=__k2}}}}this._Pk2=null;return true}};_Kk2.prototype._8l2=function(_9l2,_al2){{var __k2=this._Nk2[_9l2];if(__k2!=null&&__k2!=undefined){var _7l2=__k2[_al2];if(_7l2!=undefined)return _7l2}return null}};function _QM(_Tk2){if(_Tk2.substring(0,5)=="file:")return _Tk2;if((_Tk2.substring(0,7)=="http://")||(_Tk2.substring(0,
8)=="https://"))return _Tk2;if(_Tk2.substring(0,_U8.length)==_U8)return _gN(null,null,_Tk2);return _gN(null,null,_U8+_Tk2)}function _bl2(_Tk2){if(_Tk2.substring(0,5)=="file:")return false;if(_Tk2.substring(0,4)=="ftp:")return false;if(_Tk2.substring(0,7)=="gopher:")return false;if(_Tk2.substring(0,7)=="mailto:")return false;if(_Tk2.substring(0,5)=="news:")return false;if(_Tk2.substring(0,5)=="nntp:")return false;if(_Tk2.substring(0,7)=="telnet:")return false;if(_Tk2.substring(0,5)=="wais:")return false;if(_Tk2.substring(0,
5)=="news:")return false;if(_Tk2.substring(1,1)==":")return false;return true}function _cl2(_Ez){try{var _dl2=new XMLHttpRequest();_dl2.open('HEAD',_Ez,false);_dl2.send();_Jk2=_dl2.status;var _el2=(_dl2.status!=404&&_dl2.status!=0);return _el2}catch(e){return false}}function _fl2(_NQ1,_bR1){try{var _Wo=!window.XMLHttpRequest?new ActiveXObject('Microsoft.XMLHTTP'):new XMLHttpRequest();_Wo.open(_bR1?'PUT':'GET',_NQ1,false);_Wo.setRequestHeader('Content-Type','text/html');_Wo.send(_bR1?_bR1:'');_Jk2=_Wo.status;
return _Wo.responseText}catch(e){return null}}function _Vt(_292,_tz){if(_gl2){return false}else if(_N62){try{window.localStorage[_aa2(_292)]=_tz;return true}catch(_Ou){return false}}}function _Ju(_Tk2,_Uk2){var _Oe=null;if(_Tk2.substring(0,5)=="file:")return null;if(_Uk2){if((_Tk2.substring(0,7)=="http://")||(_Tk2.substring(0,8)=="https://"))return;if(_gl2){return null}else if(_N62){try{_Oe=window.localStorage[_aa2(_Tk2)]}catch(_Ou){return null}if((_Oe==undefined)||(_Oe==null))return null;}}else {if(!_bl2(_Tk2))return null;
_Tk2=_QM(_Tk2);_Oe=_fl2(_Tk2,false);if((_Oe==null)||(_Oe==undefined))return null;if(_Jk2==404)return null}return _Oe}function _2u(_Tk2,_Uk2){var _Oe=null;if(_Tk2.substring(0,5)=="file:")return null;if(_Uk2){if(_gl2){return false}else if(_N62){try{var name=_aa2(_Tk2);if(window.localStorage[name]&&(window.localStorage[name]!==undefined)){return true}return false}catch(_Ou){return false}}}else {if(!_bl2(_Tk2)){return false}_Tk2=_QM(_Tk2);return _cl2(_Tk2)}}var _hl2=new _Ys(0,0,0,0);var _il2=null;var _jl2=-1;var _kl2=-1;
var _RU1=0;function _9T1(_ll2,_ml2,_5g,_nl2,_ol2,_pl2){this.__type="[instance]";this.x=_ll2;this.y=_ml2;this._kV1=_ll2;this._lV1=_ml2;this._ql2=_ll2;this._rl2=_ml2;this._o4=0;this._p4=0;this._2H=0;this._94=0;this._V81=0;this._W91=0;this._sl2=270;this._jE1=_nl2;this.id=_5g;this._tB=true;this._v5=[];for(var _Q7=0;_Q7<=(__V1-1);_Q7++){this._v5[_Q7]=-1}this._sH=true;this._W3=true;this._tl2=false;this._n4=0;this._gP=new _Ys(0,0,0,0);this._XU1=0;this._wC=0;this._ul2=0;this._vl2=0;this._wl2=0;this._xl2=0;this._yl2=0;
this._zl2=1.0;this._Al2=1.0;this._qE1=0;this._eh=1.0;this._Bl2=0xffffff;this._vC=1;this._YU1=-1;this._TD1=-1;this._mV1=0;this._nV1=0;this._Cl2=0;this._Dl2=1;this._El2=0;this._Fl2=0;this._Gl2=0;this._Hl2=0;this._RV1=-1;this._VV1=0;this._TV1=1;this._SV1=true;this._WV1=false;this._Il2=-1;this._Jl2=false;this._oB=false;this._Kl2=null;this._Ll2=false;this._KT1=true;this._KV1=false;this._CB=null;this._Ml2=null;this._VD1=null;this._6a2=null;this.__U1=false;if(!_pl2){this._TU1=_RU1;this._AB(_nl2,_ol2,true);
this._BB(this._CB._DB)}else {this._TU1=0;this._jE1=0;this._XU1=0;this._Nl2=null}this._1E=-1;this._2E=false}_9T1.prototype._dh=function(_ac){this._Bl2=_ac};_9T1.prototype._Ol2=function(){return _Xb(this._Bl2)};_9T1.prototype._s5=function(_Ug){if(this._n4!=_Ug){this._n4=_Ug;_h6._Pl2[_h6._Pl2.length]=this}};_9T1.prototype._Oc=function(_Ql2,_ib2){if((this.x==_Ql2)&&(this.y==_ib2))return;this.x=_Ql2;this.y=_ib2;this._KT1=true};_9T1.prototype._AB=function(_yB,_Rl2,_Sl2){this._jE1=_yB;if(this._CB!=null){
this._CB._GE(this);this._CB=null;this._Ml2=null}if(_yB==-1)_yB=0;this._Ml2=this._CB=_26._8g(_yB);if(this._CB!=null){if(_Rl2){this._CB._zE(this)}this._UU1=this._CB._UU1;this._YU1=this._CB._Tl2;if(!_j6){if(_Sl2){this._n4=this._CB._Ul2}else {this._s5(this._CB._Ul2)}}this._sH=this._CB._Vl2;this._W3=this._CB._Wl2;this._tl2=this._CB._Xl2;this._KT1=true}};_9T1.prototype._BB=function(_YO){var _K92=_ZO._8g(_YO);if(_K92){this._gP.left=_K92._gP.left;this._gP.right=_K92._gP.right;this._gP.top=_K92._gP.top;this._gP.bottom=_K92._gP.bottom}
this._XU1=_YO;this._Nl2=null;if(this._CB!==null){this._b9()}};_9T1.prototype._EB=function(_ND){if(_ND&&this._VD1){_ND._xK._ta1(this._VD1)}this._VD1=null;if(this._CB._Yl2._UD1){this._Zl2();this._KT1=true}};_9T1.prototype._Zl2=function(){if(!this._CB._Yl2._UD1){return }if(!_qF(this._XU1)){return }var _MP=_ZO._8g(this._XU1);if(!_h6._xK){return }var _1K=_0K();var __l2=this._CB._Yl2,_0m2=0.0,_1m2=0.0;switch(__l2._2m2){case _3m2:{var _4m2=1.0;if(Math.abs(this._zl2-this._Al2)<0.0001){_4m2=this._zl2}else {debug("Image scale for physics object using circle collision should not vary across axes: "+this._CB._h92)}
_0m2=-__l2._5m2[0]*_4m2;_1m2=-__l2._5m2[1]*_4m2;var _3Y=__l2._5m2[2]*_4m2;_uK(_1K,_3Y)}break;case _6m2:case _7m2:{_zK(_1K);if((this._zl2*this._Al2)<0){for(var _r7=__l2._5m2.length-2;_r7>=0;_r7-=2){_BK(_1K,__l2._5m2[_r7+0]*this._zl2,__l2._5m2[_r7+1]*this._Al2)}}else {for(var _r7=0;_r7<__l2._5m2.length;_r7+=2){_BK(_1K,__l2._5m2[_r7+0]*this._zl2,__l2._5m2[_r7+1]*this._Al2)}}}break }_pK(_1K,__l2._8m2);_mK(_1K,__l2._9m2);_jK(_1K,__l2._am2);_gK(_1K,__l2._bm2);_7K(_1K,__l2._cm2);_aK(_1K,__l2._dm2);if(__l2._em2!=undefined){
_dK(_1K,__l2._em2);}if(__l2._fm2!=undefined){_rK(_1K,__l2._fm2)}if(__l2._gm2!=undefined){_3K(_1K,__l2._gm2)}_OK(this,_1K,this.id,_0m2,_1m2)};_9T1.prototype._hm2=function(){with(this){if(this._o4==0){if(this._p4>0){this._2H=270}else if(this._p4<0){this._2H=90}else {this._2H=0}}else {var _Iy=_im2(180*(Math.atan2(this._p4,this._o4))/_O7);if(_Iy<=0){this._2H=-_Iy}else {this._2H=360.0-_Iy;}}if(Math.abs(this._2H-_wg(this._2H))<0.0001){this._2H=_wg(this._2H)}this._2H=_b82(this._2H,360.0);this._94=Math.sqrt(_Ro(this._o4)+_Ro(this._p4));
if(Math.abs(this._94-_wg(this._94))<0.0001)this._94=_wg(this._94)}};_9T1.prototype._jm2=function(){this._o4=this._94*_im2(Math.cos(this._2H*0.0174532925));this._p4=-this._94*_im2(Math.sin(this._2H*0.0174532925));if(Math.abs(this._o4-_wg(this._o4))<0.0001){this._o4=_wg(this._o4);}if(Math.abs(this._p4-_wg(this._p4))<0.0001){this._p4=_wg(this._p4)}};function _im2(_km2){return(~~(_km2*1000000))/1000000.0}_9T1.prototype._lm2=function(_ZG,_nx){this._o4+=_nx*_im2(Math.cos(_ZG*0.0174532925));this._p4-=_nx*_im2(Math.sin(_ZG*0.0174532925));
this._hm2()};_9T1.prototype._mm2=function(){if(this._V81!=0.0){var _nm2;if(this._94>0){_nm2=this._94-this._V81}else {_nm2=this._94+this._V81}if((this._94>0)&&(_nm2<0)){this._xH(0)}else if((this._94<0)&&(_nm2>0)){this._xH(0)}else if(this._94!=0){this._xH(_nm2)}}if(this._W91!=0){this._lm2(this._sl2,this._W91)}};_9T1.prototype._om2=function(){var _pm2=this._b9();if(_pm2){return _pm2._d6()}return _ZO._qm2(this._XU1)};_9T1.prototype._67=function(_Zz,_YO,_2v,_cv,_rm2){if(_rm2==undefined){_rm2=_2v._CB}var _sm2=_il2;
var _tm2=_jl2;var _um2=_kl2;var _Hs=false;var _vm2=false;if(_Zz==_iE1){var _wm2=_26._8g(_YO);while(_wm2!=null&&!_vm2){var _pB=_rm2;while(_pB!=null&&!_vm2){if(_pB._av[_Zz]){if(_pB._s92[_wm2._NB]){_il2=_pB;_jl2=_Zz;_kl2=_wm2._NB;_Hs=_pB._67(_Zz,_wm2._NB,_2v,_cv);_vm2=true;break }}_pB=_pB._vs}_wm2=_wm2._vs}}else {var _pB=_rm2;var _xm2=_Zz|_YO;while(_pB!=null){if(_pB._av[_xm2]){_il2=_pB;_jl2=_Zz;_kl2=_YO;_Hs=_pB._67(_Zz,_YO,_2v,_cv);break }_pB=_pB._vs}}_il2=_sm2;_jl2=_tm2;_kl2=_um2;return _Hs};_9T1.prototype._dv=function(_Zz,
_YO,_cv){if(_il2!=null){if(_il2._vs!=null){this._67(_Zz,_YO,this,_cv,_il2._vs)}}};_9T1.prototype._vH=function(_o6){if(this._o4==_o6)return;this._o4=_o6;this._hm2()};_9T1.prototype._wH=function(_o6){if(this._p4==_o6)return;this._p4=_o6;this._hm2()};_9T1.prototype._WG=function(_o6){while(_o6<0.0){_o6+=360.0}while(_o6>360.0){_o6-=360.0}this._2H=_b82(_o6,360.0);this._jm2()};_9T1.prototype._xH=function(_o6){if(this._94==_o6)return;this._94=_o6;this._jm2()};_9T1.prototype._LT1=function(){var _MP,_L7;var _IT1=(this._YU1>=0)?this._YU1:this._XU1;
if(_IT1<0||_IT1>_ZO._J3.length){if(!this._gP){this._gP=new _Ys(0,0,0,0)}this._gP.left=this.x;this._gP.top=this.y;this._gP.right=this.x;this._gP.bottom=this.y;this._Ll2=false}else {var _gP=this._gP;_MP=_ZO._J3[_IT1];if(this._qE1==0){var _ym2=_MP._gP;var width=(_ym2.right+1)-_ym2.left;var height=(_ym2.bottom+1)-_ym2.top;_gP.left=_wg(this.x+this._zl2*(_ym2.left-_MP._kP));_gP.right=_wg(_gP.left+(this._zl2*width));if(_gP.left>_gP.right){_L7=_gP.left;_gP.left=_gP.right;_gP.right=_L7}_gP.top=_wg(this.y+this._Al2*(_ym2.top-_MP._lP));
_gP.bottom=_wg(_gP.top+(this._Al2*height));if(_gP.top>_gP.bottom){_L7=_gP.top;_gP.top=_gP.bottom;_gP.bottom=_L7}_gP.right-=1;_gP.bottom-=1;this._Ll2=_MP._zm2();this._Am2=_MP._Am2}else {var _ym2=_MP._gP;var _Bm2,_Cm2;_Bm2=this._zl2*(_ym2.left-_MP._kP);_Cm2=this._zl2*(_ym2.right-_MP._kP+1);var _Dm2,_Em2;_Dm2=this._Al2*(_ym2.top-_MP._lP);_Em2=this._Al2*(_ym2.bottom-_MP._lP+1);var _d8,_c8;_d8=Math.cos(this._qE1*_O7/180.0);_c8=Math.sin(this._qE1*_O7/180.0);var _Fm2=_d8*_Cm2;var _Gm2=_d8*_Bm2;var _Hm2=_c8*_Em2;
var _Im2=_c8*_Dm2;var _L7;if(_Fm2<_Gm2){_L7=_Gm2;_Gm2=_Fm2;_Fm2=_L7}if(_Hm2<_Im2){_L7=_Im2;_Im2=_Hm2;_Hm2=_L7}_gP.left=Math.floor((this.x+_Gm2+_Im2)+0.5);_gP.right=Math.floor((this.x+_Fm2+_Hm2)-0.5);var _Jm2=_d8*_Em2;var _Km2=_d8*_Dm2;var _Lm2=_c8*_Cm2;var _Mm2=_c8*_Bm2;if(_Jm2<_Km2){_L7=_Km2;_Km2=_Jm2;_Jm2=_L7}if(_Lm2<_Mm2){_L7=_Mm2;_Mm2=_Lm2;_Lm2=_L7}_gP.top=Math.floor((this.y+_Km2-_Lm2)+0.5);_gP.bottom=Math.floor((this.y+_Jm2-_Mm2)-0.5);this._Ll2=_MP._zm2();this._Am2=_MP._Am2}this._gP=_gP}this._KT1=false}
;_9T1.prototype._wB=function(_N6,_O6,_Nm2){if(this._oB)return false;var _pm2=this._b9();if(_pm2){var _Om2=_e8;_e8=this;if(_pm2._b7(this._gP,this._wC,this.x,this.y,this._zl2,this._Al2,this._qE1)){this._Ll2=true;this._KT1=false}_e8=_Om2}if(this._KT1)this._LT1();var _gP=this._gP;if(_N6>=_gP.right+1)return false;if(_N6<_gP.left)return false;if(_O6>=_gP.bottom+1)return false;if(_O6<_gP.top)return false;if(this._Am2){if(!_Pm2(this,_N6,_O6)){return false}}var __O;if(this._YU1<0){__O=_ZO._8g(this._XU1)}else {__O=_ZO._8g(this._YU1)}
if((__O===null)||(__O._F7===0))return false;if((!_Nm2)||(!this._Ll2))return true;var _ex=false;if(_pm2){_ex=_pm2._08(this._wC,this.x,this.y,this._zl2,this._Al2,this._qE1,_N6,_O6)}else {_ex=__O._Qm2(Math.floor(this._wC),_gP,_wg(this.x),_wg(this.y),this._zl2,this._Al2,this._qE1,_wg(_N6),_wg(_O6))}return _ex};_9T1.prototype._Rm2=function(_18,_28,_m7,_n7,_Nm2){if(this._oB)return false;var _pm2=this._b9();if(_pm2){var _Om2=_e8;_e8=this;if(_pm2._b7(this._gP,this._wC,this.x,this.y,this._zl2,this._Al2,this._qE1)){
this._Ll2=true;this._KT1=false}_e8=_Om2}if(this._KT1)this._LT1();var _gP=this._gP;if(_K7(_18,_m7)>=_gP.right+1)return false;if(_I7(_18,_m7)<_gP.left)return false;if(_K7(_28,_n7)>=_gP.bottom+1)return false;if(_I7(_28,_n7)<_gP.top)return false;var __O;if(this._YU1<0){__O=_ZO._8g(this._XU1)}else {__O=_ZO._8g(this._YU1);}if((__O===null)||(__O._F7==0))return false;if(this._Am2){if(!_Sm2(this,_18,_28,_m7,_n7))return false}if((!_Nm2)||(!this._Ll2))return true;var _ex=false;if(_pm2){_ex=_pm2._48(this._wC,this.x,this.y,
this._zl2,this._Al2,this._qE1,_18,_28,_m7,_n7)}else {_hl2.left=_wg(_K7(_18,_m7));_hl2.top=_wg(_K7(_28,_n7));_hl2.right=_wg(_I7(_18,_m7));_hl2.bottom=_wg(_I7(_28,_n7));_ex=__O._Tm2(Math.floor(this._wC),_gP,_wg(this.x),_wg(this.y),this._zl2,this._Al2,this._qE1,_hl2)}return _ex};function _Um2(_18,_28,_m7,_n7,_ni,_oi){var _78=(_18+_m7)*0.5;var _88=(_28+_n7)*0.5;var _98=(_m7-_18)*0.5;var _a8=(_n7-_28)*0.5;var _k9=(_ni-_78)/_98;var _M7=(_oi-_88)/_a8;return((_k9*_k9)+(_M7*_M7)<=1)?true:false}_9T1.prototype._Vm2=function(_rB,
_Wm2){var _Xm2=this._b9();var _Ym2=_rB._b9();var _Zm2=_ZO._8g(this._XU1);var _Om2=_e8;_e8=this;if(_Xm2._b7(this._gP,this._wC,this.x,this.y,this._zl2,this._Al2,this._qE1)){this._KT1=false}_e8=_rB;if(_Ym2){if(_Ym2._b7(_rB._gP,_rB._wC,_rB.x,_rB.y,_rB._zl2,_rB._Al2,_rB._qE1)){_rB._KT1=false}}_e8=_Om2;if(this._KT1)this._LT1();if(_rB._KT1)_rB._LT1();if(_rB._gP.left>=this._gP.right+1)return false;if(_rB._gP.right+1<=this._gP.left)return false;if(_rB._gP.top>=this._gP.bottom+1)return false;if(_rB._gP.bottom+1<=this._gP.top)return false;
var _Zm2=_ZO._8g(this._XU1);var __m2=(_rB._YU1<0)?_ZO._8g(_rB._XU1):_ZO._8g(_rB._YU1);if(__m2===null)return false;if(!_Wm2||(!this._Ll2&&!_rB._Ll2))return true;if(_Ym2){return _Xm2._j7(this._wC,this.x,this.y,this._zl2,this._Al2,this._qE1,_Ym2,_rB._wC,_rB.x,_rB.y,_rB._zl2,_rB._Al2,_rB._qE1)}else {return _Xm2._C7(this._wC,this.x,this.y,this._zl2,this._Al2,this._qE1,__m2,_rB._gP,_rB._wC,_rB.x,_rB.y,_rB._zl2,_rB._Al2,_rB._qE1)}};_9T1.prototype._0n2=function(){if(_j6){var _xP=_ZO._8g(this._XU1);if(_xP!=null){
if(_xP._tC==1){this._wC+=this._vC*_xP._uC}else {var _6F=_k6._l6();this._wC+=this._vC*_xP._uC/_6F}}}else {this._wC+=this._vC}};function _1n2(_y11){var _2n2=[];for(var _Q7=0;_Q7<2;++_Q7){var x=_y11[_Q7+1].x-_y11[_Q7].x;var y=_y11[_Q7+1].y-_y11[_Q7].y;var length=sqrt(x*x+y*y);x=x/length;y=y/length;_2n2[_Q7]={"x":-y,"y":x}}return _2n2}function _3n2(_7Y,_8Y){var _4n2=_1n2(_7Y);var _5n2=_1n2(_8Y);for(var _Q7=0;_Q7<2;++_Q7){var _6n2=_7n2(_7Y,_4n2[_Q7]);var _8n2=_7n2(_8Y,_4n2[_Q7]);var _9n2=((_6n2.max<=_8n2.min)||(_8n2.max<=_6n2.min));
if(_9n2)return false}for(var _Q7=0;_Q7<2;++_Q7){var _6n2=_7n2(_7Y,_5n2[_Q7]);var _8n2=_7n2(_8Y,_5n2[_Q7]);var _9n2=((_6n2.max<=_8n2.min)||(_8n2.max<=_6n2.min));if(_9n2)return false}return true}function _7n2(_y11,_5Y){var _an2=_y11[0].x*_5Y.x+_y11[0].y*_5Y.y;var _Hs={"min":_an2,"max":_an2};for(var _Q7=1;_Q7<4;++_Q7){_an2=_y11[_Q7].x*_5Y.x+_5Y.y*_y11[_Q7].y;if(_an2<_Hs.min)_Hs.min=_an2;else if(_an2>_Hs.max)_Hs.max=_an2}return _Hs}function _bn2(_tZ){var _IT1=(_tZ._YU1>=0)?_tZ._YU1:_tZ._XU1;var _MP=_ZO._J3[_IT1];var _ym2=_MP._gP;
var _Bm2,_Cm2;_Bm2=_tZ._zl2*(_ym2.left-_MP._kP);_Cm2=_tZ._zl2*(_ym2.right-_MP._kP+1);var _Dm2,_Em2;_Dm2=_tZ._Al2*(_ym2.top-_MP._lP);_Em2=_tZ._Al2*(_ym2.bottom-_MP._lP+1);var _d8,_c8;_d8=Math.cos(-_tZ._qE1*_O7/180.0);_c8=Math.sin(-_tZ._qE1*_O7/180.0);var _Fm2=_d8*_Cm2;var _Gm2=_d8*_Bm2;var _Hm2=_c8*_Em2;var _Im2=_c8*_Dm2;var _Jm2=_d8*_Em2;var _Km2=_d8*_Dm2;var _Lm2=_c8*_Cm2;var _Mm2=_c8*_Bm2;var _2n2=[];var _IT1=_tZ.x-0.5;var _JT1=_tZ.y-0.5;_2n2[0]={"x":(_IT1+_Gm2-_Im2),"y":(_JT1+_Km2+_Mm2)};_2n2[1]={"x":(_IT1+_Fm2-_Im2),
"y":(_JT1+_Km2+_Lm2)};_2n2[2]={"x":(_IT1+_Fm2-_Hm2),"y":(_JT1+_Jm2+_Lm2)};_2n2[3]={"x":(_IT1+_Gm2-_Hm2),"y":(_JT1+_Jm2+_Mm2)};return _2n2}function _cn2(_tZ,_uZ){var _7Y=_bn2(_tZ);var _8Y=_bn2(_uZ);return _3n2(_7Y,_8Y)}function _dn2(_y11){var x=_y11[1].x-_y11[0].x;var y=_y11[1].y-_y11[0].y;var length=sqrt(x*x+y*y);x=x/length;y=y/length;_2n2={"x":-y,"y":x};return _2n2}function _en2(_7Y,_8Y){var _4n2=_1n2(_7Y);for(var _Q7=0;_Q7<2;++_Q7){var _6n2=_7n2(_7Y,_4n2[_Q7]);var _8n2=_8Y.x*_4n2[_Q7].x+_8Y.y*_4n2[_Q7].y;var _9n2=((_6n2.max<=_8n2)||(_8n2<=_6n2.min));
if(_9n2)return false}return true}function _fn2(_7Y,_gn2,_Jo,_Ko){var _nk2=Math.abs(_Ko/_Jo);for(var _Q7=0;_Q7<4;++_Q7)_7Y[_Q7].x*=_nk2;_gn2.x*=_nk2;var _J7=Math.abs(_Ko);var _4n2=_1n2(_7Y);for(var _Q7=0;_Q7<2;++_Q7){var _6n2=_7n2(_7Y,_4n2[_Q7]);var _hn2=_gn2.x*_4n2[_Q7].x+_gn2.y*_4n2[_Q7].y;var _8n2={"min":_hn2-_J7,"max":_hn2+_J7};var _9n2=((_6n2.max<=_8n2.min)||(_8n2.max<=_6n2.min));if(_9n2)return false}return true}function _in2(_7Y,_8Y){var _4n2=_1n2(_7Y);var _jn2=_dn2(_8Y);for(var _Q7=0;_Q7<2;++_Q7){var _6n2=_7n2(_7Y,
_4n2[_Q7]);var _8n2=_kn2(_8Y,_4n2[_Q7]);var _9n2=((_6n2.max<=_8n2.min)||(_8n2.max<=_6n2.min));if(_9n2)return false}{var _6n2=_7n2(_7Y,_jn2);var _8n2=_kn2(_8Y,_jn2);var _9n2=((_6n2.max<=_8n2.min)||(_8n2.max<=_6n2.min));if(_9n2)return false}return true}function _kn2(_y11,_5Y){var _an2=_y11[0].x*_5Y.x+_y11[0].y*_5Y.y;var _Hs={"min":_an2,"max":_an2};for(var _Q7=1;_Q7<2;++_Q7){_an2=_y11[_Q7].x*_5Y.x+_5Y.y*_y11[_Q7].y;if(_an2<_Hs.min)_Hs.min=_an2;else if(_an2>_Hs.max)_Hs.max=_an2}return _Hs}function _ln2(_18,_28,_m7,
_n7){_2n2=[];_2n2[0]={"x":_18,"y":_28};_2n2[1]={"x":_m7,"y":_n7};return _2n2}function _mn2(_tZ,_18,_28,_m7,_n7){var _7Y=_bn2(_tZ);var _8Y=_ln2(_18,_28,_m7,_n7);return _in2(_7Y,_8Y)}function _Pm2(_tZ,_18,_28){var _7Y=_bn2(_tZ);var _8Y={"x":_18,"y":_28};return _en2(_7Y,_8Y)}function _nn2(_tZ,_18,_28,_m7,_n7){var _7Y=_bn2(_tZ);var _gn2={"x":(_18+_m7)*0.5,"y":(_28+_n7)*0.5};var _Jo=Math.abs(_18-_m7)*0.5;var _Ko=Math.abs(_28-_n7)*0.5;return _fn2(_7Y,_gn2,_Jo,_Ko)}function _Sm2(_tZ,_18,_28,_m7,_n7){var _7Y=_bn2(_tZ);var _8Y=[];
_8Y[0]={"x":_18,"y":_28};_8Y[1]={"x":_m7,"y":_28};_8Y[2]={"x":_18,"y":_n7};_8Y[3]={"x":_m7,"y":_n7};return _3n2(_7Y,_8Y)}_9T1.prototype._jB=function(_2v,_Nm2){if(this!=_2v&&!this._oB&&!_2v._oB){if(this._b9()){return this._Vm2(_2v,_Nm2)}if(_2v._b9()){return _2v._Vm2(this,_Nm2)}if(this._KT1)this._LT1();if(_2v._KT1)_2v._LT1();var _on2=_2v._gP;var _pn2=this._gP;if(_on2.left>=(_pn2.right+1))return false;if((_on2.right+1)<=_pn2.left)return false;if(_on2.top>=(_pn2.bottom+1))return false;if((_on2.bottom+1)<=_pn2.top)return false;
if(this._Am2||_2v._Am2){if(!_cn2(this,_2v)){return false;}}var _qn2=null;var _rn2=null;if(this._YU1<0){_qn2=_ZO._8g(this._XU1)}else {_qn2=_ZO._8g(this._YU1)}if((_qn2==null)||(_qn2._F7==0))return false;if(_2v._YU1<0){_rn2=_ZO._8g(_2v._XU1)}else {_rn2=_ZO._8g(_2v._YU1)}if((_rn2==null)||(_rn2._F7==0))return false;if(!_Nm2||(!this._Ll2&&!_2v._Ll2))return true;return _qn2._sn2(this._wC|0,this._gP,_wg(this.x),_wg(this.y),this._zl2,this._Al2,this._qE1,_rn2,_2v._wC|0,_2v._gP,_wg(_2v.x),_wg(_2v.y),_2v._zl2,_2v._Al2,
_2v._qE1)}return false};_9T1.prototype._WD1=function(){var _SJ,_S7,_U7;if(this._TD1<0)return false;var _QJ=_RJ._M3[this._TD1];if(!_QJ)return;if(_QJ.length<=0)return;var _tn2=false;var _un2=this._El2*Math.PI/180.0;var _vn2=_QJ._VJ(this._mV1);_S7=_vn2.x;_U7=_vn2.y;_SJ=_vn2._94;_vn2=null;_SJ=_SJ/(100*this._Dl2);this._mV1=this._mV1+this._Cl2*_SJ/_QJ.length;var _wn2=_QJ._VJ(0);if((this._mV1>=1)||(this._mV1<=0)){_tn2=(this._Cl2==0)?false:true;switch(this._Fl2){case 0:{if(this._Cl2!=0){this._mV1=1;this._TD1=-1}
break }case 1:{if(this._mV1<0){this._mV1++}else {this._mV1--}break }case 2:{var _xn2=_QJ._VJ(1);_S7=_xn2.x-_wn2.x;_U7=_xn2.y-_wn2.y;var _yn2=this._Dl2*(_S7*Math.cos(_un2)+_U7*Math.sin(_un2));var _zn2=this._Dl2*(_U7*Math.cos(_un2)-_S7*Math.sin(_un2));if(this._mV1<0){this._Gl2=this._Gl2-_yn2;this._Hl2=this._Hl2-_zn2;this._mV1++}else {this._Gl2=this._Gl2+_yn2;this._Hl2=this._Hl2+_zn2;this._mV1--}break }case 3:{if(this._mV1<0){this._mV1=-this._mV1;this._Cl2=Math.abs(this._Cl2)}else {this._mV1=2-this._mV1;this._Cl2=-Math.abs(this._Cl2)}
break }default :{this._mV1=1;this._TD1=-1}}}_vn2=_QJ._VJ(this._mV1);_S7=_vn2.x-_wn2.x;_U7=_vn2.y-_wn2.y;var _UG=this._Gl2+this._Dl2*(_S7*Math.cos(_un2)+_U7*Math.sin(_un2));var _VG=this._Hl2+this._Dl2*(_U7*Math.cos(_un2)-_S7*Math.sin(_un2));this._vH(_UG-this.x);this._wH(_VG-this.y);this._xH(0);this._Oc(_UG,_VG);return _tn2};_9T1.prototype._6T=function(_YO){var _ex=-1;if((_YO>=0)&&(_YO<__V1)){_ex=this._v5[_YO]}return _ex};_9T1.prototype._An2=function(_YO,_o6){if((_YO>=0)&&(_YO<__V1)){this._v5[_YO]=_o6}};
_9T1.prototype._ZU1=function(){if(this._KT1){this._LT1()}return this._gP};_9T1.prototype._YH=function(_Bn2,_Zx){var _u4,_v4;if(!_qF(this._XU1)){_u4=_v4=0}else {var __O=_ZO._8g(this._XU1);_u4=__O.width*this._zl2;_v4=__O.height*this._Al2}if(_Bn2){if((this._o4<0)&&(this.x<0)){this._Oc(this.x+_h6._yT1()+_u4,this.y)}if((this._o4>0)&&(this.x>=_h6._yT1())){this._Oc(this.x-_h6._yT1()-_u4,this.y)}}if(_Zx){if((this._p4<0)&&(this.y<0)){this._Oc(this.x,this.y+_h6._P_()+_v4)}if((this._p4>0)&&(this.y>=_h6._P_())){
this._Oc(this.x,this.y-_h6._P_()-_v4)}}};_9T1.prototype._sE1=function(_R6,_Cn2){var _Dn2={};if((_Cn2.x!=0.0)||(_Cn2.y!=0.0)){var _rV=_R6;var _En2=Math.cos(_rV);var _Fn2=Math.sin(_rV);_Dn2.x=((_Cn2.x*_En2)-(_Cn2.y*_Fn2));_Dn2.y=((_Cn2.y*_En2)+(_Cn2.x*_Fn2))}else {_Dn2.x=_Cn2.x;_Dn2.y=_Cn2.y}return _Dn2};_9T1.prototype.__D1=function(_Gn2){var _Hn2=_h6._i6();if(_j6)_Hn2=_k6._l6();var _ZD1=1.0/_h6._xK._yK;var _rE1=this._sE1(_Gn2._YW(),this._VD1._Pz1);this.x=(_Gn2._VJ().x*_ZD1)+_rE1.x;this.y=(_Gn2._VJ().y*_ZD1)+_rE1.y;
this._qE1=(-_Gn2._YW()*180.0)/_O7;this._KT1=true;this._In2=(_Gn2._YW()*180.0)/Math.PI;this._Jn2=this.x;this._Kn2=this.y;this._Ln2=(_Gn2.__71()*180.0)/Math.PI;this._Mn2=_Gn2._Y71().x*_ZD1;this._Nn2=_Gn2._Y71().y*_ZD1;this._On2=this._Mn2/_Hn2;this._Pn2=this._Nn2/_Hn2;this._Qn2=_Gn2._y81();this._Rn2=_Gn2._981();this._Sn2=_Gn2._a81();this._Tn2=_Gn2._V71().x*_ZD1;this._Un2=_Gn2._V71().y*_ZD1;this._Vn2=(_Gn2._OC===_Zy1._XB1._i71);this._Wn2=(_Gn2._OC===_Zy1._XB1._q71);this._Xn2=!_Gn2._B81();this._Yn2=_Gn2._F81();
this._Zn2=_Gn2._D81();this.__n2=Math.sqrt((this._On2*this._On2)+(this._Pn2*this._Pn2));this._0o2=_Gn2._n81();this._1o2=_Gn2._m81();if(this._0E1===undefined){this._0E1=_Gn2._VJ().x*_ZD1}if(this._1E1===undefined){this._1E1=_Gn2._VJ().y*_ZD1}};_9T1.prototype._b9=function(){if(_qF(this._XU1)){var _MP=_ZO._8g(this._XU1);if(_MP._6a2){if(!this._Nl2){this._Nl2=new _A5(_MP._6a2)}}}return this._Nl2};_9T1.prototype._2o2=function(){return this._1E};_9T1.prototype._FE=function(_JE){this._1E=_JE};_9T1.prototype._AE=function(){
return this._2E};_9T1.prototype._GD=function(_3o2){this._2E=_3o2};function _C82(){this._4o2=new _ig();this._4o2._jg=true;this._5o2=[]}_C82.prototype._6f=function(){this._5o2=[];this._4o2._6f()};_C82.prototype._rH=function(){return this._4o2._xg};_C82.prototype._Qe=function(_sB){this._5o2[_sB.id]=_sB;this._4o2._Qe(_sB)};_C82.prototype._f82=function(_5g){return this._5o2[_5g]};_C82.prototype._8g=function(_5g){var _sB=this._5o2[_5g];if(_sB!=undefined&&_sB!=null)return _sB;var _pB=_26._8g(_5g);if(_pB!=undefined&&_pB!=null){
_sB=_pB._6o2._xg[0];if(_sB!=undefined&&_sB!=null)return _sB}return null};_C82.prototype._7o2=function(_2v){this._4o2._DD(_2v);var id=_2v.id;this._5o2[id]=null};_C82.prototype._8o2=function(){var _xg=_h6._vB._xg;var _YD=_xE._XD();for(var index=0;index<_xg.length;index++){var _sB=_xg[index];_sB._kV1=_sB.x;_sB._lV1=_sB.y;_sB._nV1=_sB._mV1;_sB._0n2()}};_C82.prototype._9o2=function(){var _xg=_h6._vB._xg;for(var index=0;index<_xg.length;index++){var _sB=_xg[index];_sB._mm2();if(_sB._WD1()){_sB._67(_XD1,0,_sB,_sB)}
if(_sB._o4!==0||_sB._p4!==0){_sB.x+=_sB._o4;_sB.y+=_sB._p4;_sB._KT1=true}}};_C82.prototype._ao2=function(){var _xg=_h6._vB._xg;for(var index=0;index<_xg.length;index++){var _sB=_xg[index];var _Ar=_sB._om2();if(_sB._wC>=_Ar){_sB._wC-=_Ar;var _CB=_sB._CB;if(_CB._UU1[_jY1]){_sB._67(_jY1,0,_sB,_sB)}}else if(_sB._wC<0){_sB._wC+=_Ar;var _CB=_sB._CB;if(_CB._UU1[_jY1]){_sB._67(_jY1,0,_sB,_sB)}}}};_C82.prototype._67=function(_Zz,_YO){var _A61=true;if(_h6){var _xm2=_Zz;if(_xm2!=_iE1)_xm2|=_YO;var _xg=_h6._vB._xg;for(var index=0;
index<_xg.length;index++){var _sB=_xg[index];if(!_sB._oB){var _CB=_sB._CB;if(_CB._UU1[_xm2]){_A61=_sB._67(_Zz,_YO,_sB,_sB)}}}}return _A61};var _bo2=_co2;function _co2(_ch,_3v,_5g){if(_5g==-1)return _ch;if(_5g==-2)return _3v;if(_5g==-3)return _ch;var _sB=_aB._8g(_5g);if(!_sB){_sB=_26._8g(_5g);if(!_sB){_es("Unknown instance ID: "+_5g);debug(_gs());return undefined}_sB=_sB._HV1._8g(0)}return _sB}var _do2=256;var _eo2=3;var _fo2=1024;var _dT=1;var _lT=2;var _go2=4;var _Pf=1;var _Nf=2;var _Of=0x80000000;var _ho2=128;var _io2=0,
_Kf=0,_If=0,_Jf=0,_jo2=-1,_ko2=0,_lo2=0,_mo2=0,_no2=0,_oo2=0,_EU=(typeof(document.hasFocus)=="function"?document.hasFocus():!0),_OV1=0,_PV1=0,_po2=!1,_qo2=0;var _ro2=[];var _so2=[];var _to2=[];var _gT=[];var _uU=[];var _Lf=[];var _uo2=0;var _xf=[];var _vo2={8:String.fromCharCode(8),9:0,13:0,16:0,17:0,18:0,19:0,20:0,27:0,22:0,32:" ",34:0,35:0,36:0,37:0,38:0,39:0,40:0,45:0,46:0,47:0,48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",58:"0",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",
70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",91:0,92:0,93:0,96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:0,113:0,114:0,115:0,116:0,117:0,118:0,119:0,120:0,121:0,122:0,123:0,144:0,145:0,173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"'",219:"[",220:"\\",221:"]",222:"#",223:"`"};var _wo2={8:String.fromCharCode(8),
9:0,13:0,16:0,17:0,18:0,19:0,20:0,27:0,22:0,32:" ",34:0,35:0,36:0,37:0,38:0,39:0,40:0,45:0,46:0,47:0,48:")",49:"!",50:"\"",51:"£",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",58:")",59:":",61:"+",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",91:0,92:0,93:0,96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",
112:0,113:0,114:0,115:0,116:0,117:0,118:0,119:0,120:0,121:0,122:0,123:0,144:0,145:0,173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"@",219:"{",220:"|",221:"}",222:"~",223:"¬"};function _xo2(){_EU=true}function _yo2(){_EU=false;_zo2()}function _Ao2(_Bo2,_Co2){try{if(_Bo2){if(_Bo2._D3){if(_Bo2._D3._K4){if(_Bo2._D3._K4._U4){if(_Bo2._D3._K4._U4==_D3._K4._U4){_Bo2.focus();_Co2.focus();return true}}}}}}catch(err){}return false}function _Do2(){var _qR=document.getElementById(_us);var _Eo2;if((_Uz==_BX1)||(_Uz==_AX1)||(_Uz==_CX1)||(_Uz==_DX1)){
_Eo2=_qR.parentNode.frames;if(!_Eo2){_Ao2(this,_qR)}else {for(var _Fo2=0;_Fo2<_Eo2.length;_Fo2++){var _Go2=_Eo2[_Fo2];if(_Ao2(_Go2,_qR))break }}}else {if(!_qR._Ho2||_qR._Ho2.document||_qR.parentNode.document.getElementsByTagName("IFRAME")){_Ao2(this,_qR)}else {_Eo2=_qR.parentNode.document.getElementsByTagName("IFRAME");for(var _Fo2 in _Eo2){var _Go2=_Eo2[_Fo2].contentWindow;if(_Ao2(_Go2,_qR))break }}}}var _Io2;var _Jo2;var _Ko2;var _Lo2;var _Mo2;var _No2;var _Oo2;var _Po2;var _Qo2;var _Ro2;var _So2;function _To2(){var _XP=document.getElementById("gm4html5_div_id");
if(_XP){_Jo2=_XP.style.left;_Ko2=_XP.style.top;_Lo2=_XP.style.margin;var top=window.parent;if(top!=null){if(top.chrome!=null&&top.chrome.app!=null&&top.chrome.app.window!=null){var _Uo2=top.chrome.app.window.current();if(_Uo2!=null){var _Vo2=window.parent.document.getElementById("container");var _Wo2=window.parent.document.getElementById("game");if(_Vo2!=null){_Mo2=_Vo2.style.width;_No2=_Vo2.style.height;_Qo2=_Vo2.style.left;_Oo2=_Vo2.style.margin;_Po2=_Vo2.style.position}if(_Wo2!=null){_Ro2=_Wo2.style.width;
_So2=_Wo2.style.height}_Uo2.fullscreen();var _Xo2=_Uo2.getBounds();if(_Vo2!=null){_Vo2.style.width="100%";_Vo2.style.height="100%";_Vo2.style.left="0";_Vo2.style.margin='auto';_Vo2.style.position='relative';}if(_Wo2!=null){_Wo2.style.width="100%";_Wo2.style.height="100%";canvas.style.width="100%";canvas.style.height="100%"}}}}_XP.style.margin="0px";_XP.style.top="0";_XP.style.left="0";_XP.style._Yo2="0px";_XP.style._Zo2="0px";if(_XP.mozRequestFullScreen){document.__o2=function(event){document.__o2=_0p2}
;_XP.mozRequestFullScreen()}else if(_XP.webkitRequestFullScreen){_XP.onwebkitfullscreenchange=function(e){_XP.onwebkitfullscreenchange=_0p2};if(_Uz==_CX1){_XP.webkitRequestFullScreen();}else {_XP.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)}}else if(document.documentElement.requestFullScreen){document.documentElement.requestFullScreen()}_X62=true;return }if(canvas.mozRequestFullScreen){canvas.style.margin="0px";canvas.style.top="";canvas.style.left="";canvas.style._Yo2="0px";canvas.style._Zo2="0px";
canvas.mozRequestFullScreen()}else if(canvas.webkitRequestFullScreen){canvas.style.margin="0px";canvas.style.top="";canvas.style.left="";canvas.style._Yo2="0px";canvas.style._Zo2="0px";canvas.onwebkitfullscreenchange=function(e){canvas.onwebkitfullscreenchange=_0p2};if(_Uz==_CX1){canvas.webkitRequestFullScreen()}else {canvas.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)}}else if(document.documentElement.requestFullScreen){canvas.style.margin="0px";canvas.style.top="";canvas.style.left="";canvas.style._Yo2="0px";
canvas.style._Zo2="0px";document.documentElement.requestFullScreen()}_X62=true}function _0p2(){if(_O62){var _XP=document.getElementById("gm4html5_div_id");if(_XP){_XP.style.left=_Jo2;_XP.style.top=_Ko2;_XP.style.margin=_Lo2}var top=window.parent;if(top!=null){if(top.chrome!=null&&top.chrome.app!=null&&top.chrome.app.window!=null){var _Uo2=top.chrome.app.window.current();if(_Uo2!=null)_Uo2.restore()}}_X62=true}}function _1p2(){var top=window.parent;if(top!=null){if(top.chrome!=null&&top.chrome.app!=null&&top.chrome.app.window!=null){
var _Uo2=top.chrome.app.window.current();if(_Uo2!=null){_Uo2.restore();_X62=true;var _Vo2=window.parent.document.getElementById("container");if(_Vo2!=null){_Vo2.style.width=_Mo2;_Vo2.style.height=_No2;_Vo2.style.left=_Qo2;_Vo2.style.margin=_Oo2;_Vo2.style.position=_Po2}var _Wo2=window.parent.document.getElementById("game");if(_Wo2!=null){_Wo2.style.width=_Ro2;_Wo2.style.height=_So2;canvas.style.width=_Ro2;canvas.style.height=_So2}}}}if(document.webkitCancelFullScreen){document.webkitCancelFullScreen()}
else if(document.mozCancelFullScreen){document.mozCancelFullScreen();_0p2()}else {_X62=true}}function _Js(){if(_U62)return;window.onkeyup=function(){_2p2(arguments[0]||window.event)};window.onkeydown=function(){var _1X1=arguments[0]||window.event;if((_P62)&&(_1X1!=null)&&(_1X1.which==121)&&(!_1X1.repeat)&&(canvas.mozRequestFullScreen)){if(!document.mozFullScreen){_3p2();_To2()}else {_1p2()}_1X1.preventDefault();return false}if(_4p2(_1X1)==false){_1X1.preventDefault();return false}};window.onmouseup=_5p2;
_U62=true}function _ys(){if(_U62==false)return;window.onkeydown=null;window.onkeyup=null;window.onmouseup=null;_U62=false}function _6p2(_7p2){if(_7p2==121){return true}if(window.chrome&&window.chrome.app){if(_7p2==183)return true}return false}function _4p2(_1X1){var _7p2;if(_1X1==null){_7p2=window.event.which;if(_7p2==122)return true;if(_7p2!=121)window.event.preventDefault();else _X62=true;window.event.preventDefault()}else {_7p2=_1X1.which;if(_7p2==122)return true;if(_7p2==120){}else if(!_6p2(_7p2)){_1X1.preventDefault()}
else {if(_P62){if(!_O62){_3p2();_To2()}else {_1p2()}}}_1X1.preventDefault()}_ro2[_7p2]=1;_so2[_7p2]=1;_oo2=_7p2;if(_Uz==_Vz){_no2=_1X1.char}else if(_1X1.key){if(_1X1.key.length==1){_no2=_1X1.key}else if(_7p2==8){_no2=String.fromCharCode(8)}else if(_7p2==13){_no2=String.fromCharCode(13)}else {_no2=""}}else {if(_1X1.shiftKey){_no2=_wo2[_7p2]}else {_no2=_vo2[_7p2]}}if(!_no2)_no2="";return false}function _2p2(_1X1){var _7p2;if(_1X1==null){_7p2=window.event.which;if(_7p2==122)return;window.event.preventDefault()}
else {_7p2=_1X1.which;if(_7p2==122)return;_1X1.preventDefault()}_to2[_7p2]=1;_ro2[_7p2]=0;return false}function _8p2(_9p2){_If=_9p2.pageX;_Jf=_9p2.pageY;_Lf[_9p2.button].x=_If;_Lf[_9p2.button].y=_Jf;}var _yf=!1;function _ap2(_9p2){if(!_EU){_Do2()}if(!_yf){if(_Uz==_CX1)_kN();_yf=true}_io2=_9p2.button;if(_io2==2)_io2=1;else if(_io2==1)_io2=2;_lo2=_jo2;_jo2=_io2;_Kf|=(1<<_io2);_Lf[_9p2.button]._Mf=_Nf|_Of|_Pf;_Lf[_9p2.button].x=_9p2.pageX;_Lf[_9p2.button].y=_9p2.pageY;return _9p2}function _5p2(_9p2){_io2=_9p2.button;
if(_io2==2)_io2=1;else if(_io2==1)_io2=2;_mo2=_ko2;_ko2=_io2;_Kf&=~(1<<_io2);_jo2=-1;_Lf[_9p2.button]._Mf=0;return false}function _bp2(_9p2){if(_9p2.detail){_qo2=-_9p2.detail}else {_qo2=_9p2.wheelDelta}}function _cp2(){_aB._67(_fY1,0);return undefined}function _A82(){this._dp2="a";this._ep2=[];this._fp2=this._gp2=-1;this._hp2=[];this._ip2=[];this._jp2=[];this._kp2=this._lp2=0;this._Nd=[];this._Md=[];this._Id=[];this._mp2=this._np2=false;this._op2=[];this._pp2=this._qp2=this._rp2=this._sp2=this._zR=this._AR=this._d6=0;
for(var _H7=0;_H7<_fo2;_H7++){this._ep2[_H7]=""}for(var _H7=0;_H7<_do2;_H7++){this._hp2[_H7]=this._ip2[_H7]=this._jp2[_H7]=false;this._op2[_H7]=_H7}for(var _H7=0;_H7<_eo2;_H7++){this._Nd[_H7]=this._Md[_H7]=this._Id[_H7]=false}this._7f=_tp2;this._up2=_vp2;this._wp2=_wp2;this._xp2=_xp2;this._yp2=_yp2;this._zp2=_zp2;this._Ap2=_Ap2;this._Bp2=_Bp2;this._Cp2=_Cp2;this._Dp2=_Dp2;this._Ep2=_Ep2;this._Fp2=_Fp2;this._Gp2=_Gp2;this._Hp2=_Hp2;this._Ip2=_Ip2;this._Jp2=_Jp2;this._Kp2=_Kp2;this._Lp2=_Lp2;this._Mp2=_Mp2;
this._Np2=_Np2;this._Op2=_Op2;this._Pp2=_Qp2;this._Rp2=_Sp2;this._Tp2=_Up2;this._Vp2=_Vp2;for(var _H7=0;_H7<_do2;_H7++){_ro2[_H7]=_to2[_H7]=false}if(!_gl2){window.onbeforeunload=_cp2;}_uU=new Array(_ho2);_Lf=new Array(_ho2);for(var _Wp2=0;_Wp2<_ho2;_Wp2++){_uU[_Wp2]=new _Xp2();_Lf[_Wp2]=new _Xp2()}_Yp2(true)}function _Yp2(_io){if(_po2==_io)return;_zo2();_po2=_io;if(_io){canvas.onmousemove=_8p2;canvas.onmousedown=_ap2;window.onmouseup=_5p2;canvas.onmousewheel=_bp2;canvas.onselectstart=function(){return false}
;canvas.addEventListener("DOMMouseScroll",_bp2,false);var _H7=document.getElementById("loading_screen");if(_H7){_H7.onmousemove=_8p2;_H7.onmousedown=_ap2;_H7.onmouseup=_5p2;_H7.onmousewheel=_bp2;_H7.addEventListener("DOMMouseScroll",_bp2,false)}document.body.onfocusin=_xo2;document.onfocusin=_xo2;window.onfocus=_xo2;document.body.addEventListener("focusout",_yo2);document.addEventListener("focusout",_yo2);window.addEventListener("onblur",_yo2);_Js()}else {canvas.onmousemove=null;canvas.onmousedown=null;
window.onmouseup=null;canvas.onmousewheel=null;canvas.onselectstart=null;canvas.removeEventListener("DOMMouseScroll",_bp2);var _H7=document.getElementById("loading_screen");if(_H7){_H7.onmousemove=null;_H7.onmousedown=null;_H7.onmouseup=null;_H7.onmousewheel=null;_H7.removeEventListener("DOMMouseScroll",_bp2)}document.body.onfocusin=null;document.body.onfocusout=null;document.onfocusin=null;document.onfocusout=null;window.onfocus=null;window.onblur=null;_ys()}}function _Xp2(){this._Mf=0;this.x=0;this.y=0}
function _zo2(){_Zp2();__p2();_X5._6h2=0;_X5._6h2="";_oo2=0;_no2=""}_A82.prototype._6f=function(){this._0q2();this._Op2();_X5._6h2=0;_X5._7h2=0;_X5._6h2="";_oo2=0;_no2="";_X5._8h2="";_X5._9h2=""};/*@this {yyIOManager} */function _wp2(){return this._dp2}/*@this {yyIOManager} */function _xp2(_1q2){this._dp2=_1q2}/*@this {yyIOManager} */function _yp2(){return this._gp2}/*@this {yyIOManager} */function _zp2(){return this._fp2}/*@this {yyIOManager} */function _Ap2(_Mg){if(_Mg<0||_Mg>255)return false;this._gp2=_Mg}
/*@this {yyIOManager} */function _Bp2(_Mg){if(_Mg<0||_Mg>255)return false;this._fp2=_Mg}/*@this {yyIOManager} */function _Cp2(_Mg){if(_Mg<0||_Mg>255)return false;return this._hp2[_Mg]}/*@this {yyIOManager} */function _Dp2(_Mg){if(_Mg<0||_Mg>255)return false;return this._jp2[_Mg]}/*@this {yyIOManager} */function _Ep2(_Mg){if(_Mg<0||_Mg>255)return false;return this._ip2[_Mg]}/*@this {yyIOManager} */function _Fp2(_Mg){if(_Mg<0||_Mg>255)return;this._hp2[_Mg]=0;this._jp2[_Mg]=0;this._ip2[_Mg]=0}_A82.prototype._0q2=function(){
this._gp2=0;this._fp2=0;this._dp2=0;for(var _Q7=0;_Q7<=_do2;_Q7++){this._hp2[_Q7]=0;this._jp2[_Q7]=0;this._ip2[_Q7]=0}};function _Zp2(){for(var _Q7=0;_Q7<_do2;_Q7++){_so2[_Q7]=0;_to2[_Q7]=0;_ro2[_Q7]=0}}/*@this {yyIOManager} */function _Gp2(){return this._kp2}/*@this {yyIOManager} */function _Hp2(){return this._lp2}/*@this {yyIOManager} */function _Ip2(_TB){if((_TB<1)||(_TB>3))return;this._kp2=_TB}/*@this {yyIOManager} */function _Jp2(_TB){if((_TB<1)||(_TB>3))return;this._lp2=_TB}/*@this {yyIOManager} */function _Kp2(_TB){
_TB--;if(_TB>=0&&_TB<_eo2){return this._Nd[_TB];}return false}/*@this {yyIOManager} */function _Lp2(_TB){_TB--;if(_TB>=0&&_TB<_eo2){return this._Id[_TB]}}/*@this {yyIOManager} */function _Mp2(_TB){_TB--;if(_TB>=0&&_TB<_eo2){return this._Md[_TB]}return false}/*@this {yyIOManager} */function _Np2(_TB){_TB--;if(_TB>=0&&_TB<_eo2){this._Nd[_TB]=false;this._Id[_TB]=false;this._Md[_TB]=false}}/*@this {yyIOManager} */function _Op2(){this._kp2=0;this._lp2=0;for(var _Q7=0;_Q7<=_eo2;_Q7++){this._Nd[_Q7]=false;this._Id[_Q7]=false;
this._Md[_Q7]=false}this._np2=false;this._mp2=false;for(var _Af=0;_Af<_xf.length;_Af++){_xf[_Af]._6f()}}function __p2(){_mo2=-1;_ko2=-1;_jo2=-1;_Kf=0;_Lf[0]._Mf=0;_Lf[0].x=0;_Lf[0].y=0;_io2=-1}/*@this {yyIOManager} */function _tp2(){for(var _Af=0;_Af<_xf.length;_Af++){var _Bf=_xf[_Af];if(_Bf._Nd){_Bf._Md=0;_Bf._Id=_Bf._ef^_Bf._Nd}else {_Bf._Md=_Bf._ef^_Bf._Nd;_Bf._Id=0}_Bf._ef=_Bf._Nd}for(var _Wp2=0;_Wp2<_Lf.length;_Wp2++){_uU[_Wp2]._Mf=_Lf[_Wp2]._Mf;_uU[_Wp2].x=_Lf[_Wp2].x;_uU[_Wp2].y=_Lf[_Wp2].y;_Lf[_Wp2]._Mf&=~_Pf}
if(_oo2){if(_no2){if(_oo2==13){}else if(_oo2==8){_X5._8h2=_no2;if(_X5._9h2.length>0){_X5._9h2=_X5._9h2.substring(0,_X5._9h2.length-1)}}else {_X5._8h2=_no2;_X5._9h2+=_X5._8h2;if(_X5._9h2.length>1024){_X5._9h2=_X5._9h2.substring(1,_X5._9h2.length-1)}}}if(_X5._6h2!=0){_X5._7h2=_X5._6h2;}_X5._6h2=_oo2;_oo2=0}else if(!_Hf._hp2[_X5._6h2]){_X5._7h2=_X5._6h2;_X5._6h2=0}this._zR=_If;this._AR=_Jf;this._qp2=_Kf;if((this._qp2&1)!=0){this._Nd[0]=1;if(((this._rp2^this._qp2)&0x1)!=0){this._Id[0]=1}}else {this._Nd[0]=0;
if(((this._rp2^this._qp2)&0x1)!=0){this._Md[0]=1}}if((this._qp2&2)!=0){this._Nd[1]=1;if(((this._rp2^this._qp2)&0x2)!=0){this._Id[1]=1}}else {this._Nd[1]=0;if(((this._rp2^this._qp2)&0x2)!=0){this._Md[1]=1;}}if((this._qp2&4)!=0){this._Nd[2]=1;if(((this._rp2^this._qp2)&0x4)!=0){this._Id[2]=1}}else {this._Nd[2]=0;if(((this._rp2^this._qp2)&0x4)!=0){this._Md[2]=1}}this._rp2=this._qp2;_X5._yR=this._zR;_X5._CR=this._AR;_X5._4h2=_jo2+1;_X5._5h2=_lo2;this._Vp2()}/*@this {yyIOManager} */function _Vp2(){var _2q2=0;
var _Bc=0;var _u4=_Hw;var _v4=_Iw;var _98=_rR();var _FP=_uR();if(_u4<0)_u4=_98;if(_v4<0)_v4=_FP;for(var _Wp2=0;_Wp2<_uU.length;_Wp2++){var _3q2=_uU[_Wp2];if((_3q2._Mf&_Of)!=0){_Bc=1;for(var _4q2=0;_4q2<_gT.length;_4q2++){var _aT=_gT[_4q2];if((_aT._cT&_dT)!=0){var x=(_u4*(_3q2.x-_mf.left))/_98;var y=(_v4*(_3q2.y-_mf.top))/_FP;if((x>=_aT.x)&&(x<_aT._y7)&&(y>=_aT.y)&&(y<_aT._z7)){_2q2|=_Bc}}_Bc<<=1}_3q2._Mf=0}}_Bc=1;var _5q2=_uo2^_2q2;for(var _4q2=0;_4q2<_gT.length;_4q2++){var _aT=_gT[_4q2];if((_aT._cT&_dT)!=0){
var _6q2=_2q2&_Bc;var _8s=_5q2&_Bc;if(_aT.key!=0){this._jp2[_aT.key]|=(_6q2&&_8s);this._hp2[_aT.key]|=(_6q2&&!_8s);this._ip2[_aT.key]|=(!_6q2&&_8s)}else {this._Id[_aT.button-1]|=(_6q2&&_8s);this._Nd[_aT.button-1]|=(_6q2&&!_8s);this._Md[_aT.button-1]|=(!_6q2&&_8s)}}_Bc<<=1}_uo2=_2q2}function _Pp2(_7q2){var _1X1=_3Y1|_7q2;var _xg=_h6._vB._xg;var _8q2=_xg.length;for(var _7u=0;_7u<_8q2;_7u++){var _sB=_xg[_7u];var _pB=_sB._CB;if(_pB._UU1[_1X1]){_sB._67(_3Y1,_7q2,_sB,_sB)}}}function _9q2(_aq2){var _1X1=_6Y1|_aq2;
var _xg=_h6._vB._xg;var _8q2=_xg.length;for(var _7u=0;_7u<_8q2;_7u++){var _sB=_xg[_7u];if(_sB._oB){continue }var _pB=_sB._CB;if(_pB._UU1[_1X1]){_sB._67(_6Y1,_aq2,_sB,_sB)}}}function _Tp2(_bq2){var _1X1=_7Y1|_bq2;var _xg=_h6._vB._xg;var _8q2=_xg.length;for(var _7u=0;_7u<_8q2;_7u++){var _sB=_xg[_7u];var _pB=_sB._CB;if(_pB._UU1[_1X1]){_sB._67(_7Y1,_bq2,_sB,_sB)}}}/*@this {yyIOManager} */function _Qp2(){var _cq2=0;for(var _Q7=2;_Q7<_do2;_Q7++){if(this._hp2[_Q7]){_cq2=1;_Pp2(_Q7)}}_Pp2(_cq2)}/*@this {yyIOManager} */function _Sp2(){
var _dq2=0;for(var _Q7=2;_Q7<_do2;_Q7++){if(this._jp2[_Q7]){_dq2=1;_9q2(_Q7)}}_9q2(_dq2)}/*@this {yyIOManager} */function _Up2(){var _eq2=0;for(var _Q7=2;_Q7<_do2;_Q7++){if(this._ip2[_Q7]){_eq2=1;_Tp2(_Q7)}}_Tp2(_eq2)}/*@this {yyIOManager} */function _vp2(){var _fq2=0,_gq2=0,_hq2=0;this._d6++;for(var _Q7=0;_Q7<_do2;_Q7++){this._jp2[_Q7]=this._ip2[_Q7]=this._hp2[_Q7]=0}for(var _Q7=0;_Q7<_do2;_Q7++){var key=this._op2[_Q7];this._jp2[key]|=_so2[_Q7];this._ip2[key]|=_to2[_Q7];this._hp2[key]|=_ro2[_Q7];_fq2|=_so2[_Q7];
_gq2|=_ro2[_Q7];_hq2|=_to2[_Q7];_so2[_Q7]=0;_to2[_Q7]=0}this._jp2[1]=_fq2;this._hp2[1]=_gq2;this._ip2[1]=_hq2;this._jp2[0]=_fq2^1;this._hp2[0]=_gq2^1;this._ip2[0]=_hq2^1;_OV1=_PV1=0;if(_qo2>0){_OV1=1}else if(_qo2<0){_PV1=1}_qo2=0;for(var _Q7=0;_Q7<=_eo2;_Q7++){this._Id[_Q7]=false;this._Md[_Q7]=false}this._np2=false;this._mp2=false;this._7f();var _gf;if(!_h6._hf){_gf=_if}else {_gf=_h6._jf}var _kf;for(var _y9=0;_y9<=7;++_y9){_kf=_gf[_y9];if(_kf&&_kf._W3){_X5._yR=_kf._rf(_Hf._zR,_Hf._AR);_X5._CR=_kf._sf(_Hf._zR,
_Hf._AR);break }}for(var _y9=7;_y9>=0;_y9--){_kf=_gf[_y9];if(_kf&&_kf._W3){_lf(canvas,_mf);if(((this._zR-_mf.left)>=_kf._nf)&&((this._zR-_mf.left)<_kf._of)&&((this._AR-_mf.top)>=_kf._pf)&&((this._AR-_mf.top)<_kf._qf)){_X5._yR=_kf._rf(_Hf._zR,_Hf._AR);_X5._CR=_kf._sf(_Hf._zR,_Hf._AR);break }}}}function _iq2(){_Hf._Pp2();_Hf._Rp2();_Hf._Tp2()}function _jq2(index){this._cT=0;this.index=index;this.x=0;this.y=0;this._y7=0;this._z7=0;this._u4=0;this._v4=0;this._w9=0;this._y9=0;this.key=0;this.button=0}function _bT(){
for(var _H7=0;_H7<_gT.length;++_H7){if(_gT[_H7]._cT==0){return _gT[_H7]}}var _Q7=_gT.length;_gT[_Q7]=new _jq2(_Q7);return _gT[_Q7]}function _hT(_kq2){_gT[_kq2]._cT=0}function _lq2(){for(var _H7=0;_H7<_gT.length;++_H7){_gT[_H7]._cT=0}}_A82.prototype._mq2=function(){_Ns();_Pw();var _Qw=[];_Qw[0]=1;_Qw[1]=0;_Qw[2]=0;_Qw[3]=1;_Qw[4]=0;_Qw[5]=0;_ji2(_Qw);var _lu=_xx();var _nq2=_yx();_hh(0xffffff);for(var _H7=0;_H7<_jT.length;++_H7){var _kT=_jT[_H7];_Ox(_kT.x,_kT.y,_kT.x+_kT._u4-1,_kT.y+_kT._v4-1,true)}_hh(_nq2);_vx(_lu);
_Ww()};function _ig(){this._oq2=[];this._xg=[];this._jg=false;this.length=0;this._H8=0;}_ig.prototype._782=function(){if(this._oq2.length==0){return this._xg.length}return this._oq2.pop()};_ig.prototype._Qe=function(_Ec2){var index;if(this._jg){index=this._xg.length}else {index=this._782()}this._xg[index]=_Ec2;this._H8++;this.length=this._xg.length;return index};_ig.prototype._8g=function(_MG){if(_MG<0||_MG>=this._xg.length)return null;return this._xg[_MG]};_ig.prototype._SE=function(_Fc2){for(var _H7=0;
_H7<this._xg.length;_H7++){if(this._xg[_H7]==_Fc2)return _H7}};_ig.prototype._DD=function(_Fc2){for(var _H7=0;_H7<this._xg.length;_H7++){if(this._xg[_H7]==_Fc2){if(this._jg){this._xg.splice(_H7,1)}else {this._xg[_H7]=null;this._oq2.push(_H7)}this._H8--;this.length=this._xg.length;return true}}return false};_ig.prototype._ng=function(_MG){if(_MG<0||_MG>=this._xg.length)return false;if(this._jg){this._xg.splice(_MG,1)}else {this._xg[_MG]=null;this._oq2.push(_MG)}this._H8--;this.length=this._xg.length;return true}
;_ig.prototype._6f=function(){var _xg=this._xg;for(var _Q7=0;_Q7<_xg.length;_Q7++){var _y9=_xg[_Q7];if(_y9!=null&&_y9.Object!==undefined)switch(_y9._Cg){case _yg:_56(_y9.Object);break;case _zg:_lg(_y9.Object);break }}this._xg=[];this._oq2=[];this._H8=0;this.length=this._xg.length};_ig.prototype._Ig=function(_YO,_o6){if(_YO<0||_YO>=this._xg.length)return;this._xg[_YO]=_o6;};_ig.prototype._pq2=function(_qq2){if(_qq2){this._xg.sort(function(_k9,_M7){return _k9-_M7})}else {this._xg.sort(function(_k9,_M7){return _M7-_k9}
)}this._oq2=[];for(var _Q7=0;_Q7<this._xg.length;_Q7++){if(this._xg[_Q7]==null||this._xg[_Q7]==undefined){this._oq2.push(_Q7)}}};_ig.prototype._1g=function(_2g){this._xg=_2g._xg.slice();this._oq2=_2g._oq2.slice();this._jg=_2g._jg;this.length=_2g.length;this._H8=_2g._H8};var _3m2=0,_6m2=1,_7m2=2;function _rq2(){this._sq2=null;this._tq2=0;this._uq2=null}function _vq2(){this._sq2=null;this._wq2=false;this._Vg=null}function _xq2(){this._UD1=false}function _oE1(_yq2,_t6){this.__type="[Object]";this._Mf=0;this._NB=_yq2;
this._h92=_t6;this._Tl2=-1;this._DB=0;this._Ul2=0;this._Vl2=false;this._Wl2=false;this._Xl2=false;this._LB=0;this._vs=null;this._zq2=-1;this._q92=false;this._HV1=new _ig();this._6o2=new _ig();this._HV1._jg=true;this._6o2._jg=true;this._Aq2=[];for(var _k9=0;_k9<__V1;_k9++){this._Aq2[_k9]=null}this._Bq2=[];this._Cq2=[];this._Dq2=[];this._s92=[];this._S3=[];this._av=[];this._UU1=[];this._Yl2=new _xq2()}_oE1.prototype._rH=function(){return this._HV1._xg};_oE1.prototype._NK=function(){return this._6o2._xg}
;function _H92(_Eq2,_Fq2){var _pB=new _oE1(_Eq2,_Fq2._U3);{if(_Fq2._V3!=undefined)_pB._DB=_Fq2._V3;if(_Fq2._W3!=undefined)_pB._Wl2=_Fq2._W3;if(_Fq2._sH!=undefined)_pB._Vl2=_Fq2._sH;if(_Fq2._n4!=undefined)_pB._Ul2=_Fq2._n4;if(_Fq2._tl2!=undefined)_pB._Xl2=_Fq2._tl2;if(_Fq2.parent!=undefined)_pB._LB=_Fq2.parent;if(_Fq2._Gq2!=undefined)_pB._Tl2=_Fq2._Gq2;if(_Fq2._44){_pB._44=_Fq2._44;_pB._av[_aY1]=true}if(_Fq2._X3){_pB._X3=_Fq2._X3;_pB._av[_FB]=true}if(_Fq2._Hq2){_pB._Hq2=_Fq2._Hq2;_pB._av[_mB]=true}if(_Fq2._Iq2){
_pB._Iq2=_Fq2._Iq2;_pB._av[_nB]=true}if(_Fq2._Jq2){_pB._Jq2=_Fq2._Jq2;_pB._av[_cY1]=true}if(_Fq2._Kq2){_pB._Kq2=_Fq2._Kq2;_pB._av[_bY1]=true}if(_Fq2._Lq2){_pB._Lq2=_Fq2._Lq2;_pB._av[_dY1]=true}if(_Fq2._24){_pB._24=_Fq2._24;_pB._av[_5Y1]=true}if(_Fq2._Mq2){_pB._Mq2=_Fq2._Mq2;_pB._av[_VY1]=true}if(_Fq2._Nq2){_pB._Nq2=_Fq2._Nq2;_pB._av[_XY1]=true}if(_Fq2._Oq2){_pB._Oq2=_Fq2._Oq2;_pB._av[_YY1]=true}if(_Fq2._Pq2){_pB._Pq2=_Fq2._Pq2;_pB._av[_ZY1]=true}if(_Fq2._Qq2){_pB._Qq2=_Fq2._Qq2;_pB._av[__Y1]=true}
if(_Fq2._04){_pB._04=_Fq2._04;_pB._av[_0Z1]=true}if(_Fq2._Rq2){_pB._Rq2=_Fq2._Rq2;_pB._av[_1Z1]=true}if(_Fq2._Sq2){_pB._Sq2=_Fq2._Sq2;_pB._av[_WY1]=true}if(_Fq2._Tq2){_pB._Tq2=_Fq2._Tq2;_pB._av[_CV1]=true}if(_Fq2._Uq2){_pB._Uq2=_Fq2._Uq2;_pB._av[_tV1]=true}if(_Fq2._Vq2){_pB._Vq2=_Fq2._Vq2;_pB._av[_vV1]=true}if(_Fq2._Wq2){_pB._Wq2=_Fq2._Wq2;_pB._av[_uV1]=true}if(_Fq2._Xq2){_pB._Xq2=_Fq2._Xq2;_pB._av[_wV1]=true}if(_Fq2._Yq2){_pB._Yq2=_Fq2._Yq2;_pB._av[_yV1]=true}if(_Fq2._Zq2){_pB._Zq2=_Fq2._Zq2;_pB._av[_xV1]=true}
if(_Fq2.__q2){_pB.__q2=_Fq2.__q2;_pB._av[_zV1]=true}if(_Fq2._0r2){_pB._0r2=_Fq2._0r2;_pB._av[_BV1]=true}if(_Fq2._1r2){_pB._1r2=_Fq2._1r2;_pB._av[_AV1]=true}if(_Fq2._2r2){_pB._2r2=_Fq2._2r2;_pB._av[_FV1]=true}if(_Fq2._3r2){_pB._3r2=_Fq2._3r2;_pB._av[_GV1]=true}if(_Fq2._4r2){_pB._4r2=_Fq2._4r2;_pB._av[_LV1]=true}if(_Fq2._5r2){_pB._5r2=_Fq2._5r2;_pB._av[_6Z1]=true}if(_Fq2._6r2){_pB._6r2=_Fq2._6r2;_pB._av[_7Z1]=true}if(_Fq2._7r2){_pB._7r2=_Fq2._7r2;_pB._av[_MV1]=true}if(_Fq2._8r2){_pB._8r2=_Fq2._8r2;
_pB._av[_8Z1]=true}if(_Fq2._9r2){_pB._9r2=_Fq2._9r2;_pB._av[_9Z1]=true}if(_Fq2._ar2){_pB._ar2=_Fq2._ar2;_pB._av[_NV1]=true}if(_Fq2._br2){_pB._br2=_Fq2._br2;_pB._av[_aZ1]=true}if(_Fq2._cr2){_pB._cr2=_Fq2._cr2;_pB._av[_bZ1]=true}if(_Fq2._dr2){_pB._dr2=_Fq2._dr2;_pB._av[_DV1]=true}if(_Fq2._er2){_pB._er2=_Fq2._er2;_pB._av[_EV1]=true}if(_Fq2._fr2){_pB._fr2=_Fq2._fr2;_pB._av[_oZ1]=true}if(_Fq2._gr2){_pB._gr2=_Fq2._gr2;_pB._av[_pZ1]=true}if(_Fq2._hr2){_pB._hr2=_Fq2._hr2;_pB._av[_qZ1]=true}if(_Fq2._ir2){
_pB._ir2=_Fq2._ir2;_pB._av[_rZ1]=true}if(_Fq2._jr2){_pB._jr2=_Fq2._jr2;_pB._av[_sZ1]=true}if(_Fq2._kr2){_pB._kr2=_Fq2._kr2;_pB._av[_tZ1]=true}if(_Fq2._lr2){_pB._lr2=_Fq2._lr2;_pB._av[_BZ1]=true}if(_Fq2._mr2){_pB._mr2=_Fq2._mr2;_pB._av[_CZ1]=true}if(_Fq2._nr2){_pB._nr2=_Fq2._nr2;_pB._av[_DZ1]=true}if(_Fq2._or2){_pB._or2=_Fq2._or2;_pB._av[_EZ1]=true}if(_Fq2._pr2){_pB._pr2=_Fq2._pr2;_pB._av[_FZ1]=true}if(_Fq2._qr2){_pB._qr2=_Fq2._qr2;_pB._av[_GZ1]=true}if(_Fq2._rr2){_pB._rr2=_Fq2._rr2;_pB._av[_VU1]=true}
if(_Fq2._sr2){_pB._sr2=_Fq2._sr2;_pB._av[_1V1]=true}if(_Fq2._tr2){_pB._tr2=_Fq2._tr2;_pB._av[_eY1]=true}if(_Fq2._ur2){_pB._ur2=_Fq2._ur2;_pB._av[_fY1]=true}if(_Fq2._vr2){_pB._vr2=_Fq2._vr2;_pB._av[_gY1]=true}if(_Fq2._wr2){_pB._wr2=_Fq2._wr2;_pB._av[_hY1]=true}if(_Fq2._xr2){_pB._xr2=_Fq2._xr2;_pB._av[_iY1]=true}if(_Fq2._yr2){_pB._yr2=_Fq2._yr2;_pB._av[_jY1]=true}if(_Fq2._zr2){_pB._zr2=_Fq2._zr2;_pB._av[_XD1]=true}if(_Fq2._Ar2){_pB._Ar2=_Fq2._Ar2;_pB._av[_kY1]=true}if(_Fq2._Br2){_pB._Br2=_Fq2._Br2;
_pB._av[_lY1]=true}if(_Fq2._Cr2){_pB._Cr2=_Fq2._Cr2;_pB._av[_9V1]=true}if(_Fq2._Dr2){_pB._Dr2=_Fq2._Dr2;_pB._av[_CY1]=true}if(_Fq2._Er2){_pB._Er2=_Fq2._Er2;_pB._av[_DY1]=true}if(_Fq2._Fr2){_pB._Fr2=_Fq2._Fr2;_pB._av[_EY1]=true}if(_Fq2._Gr2){_pB._Gr2=_Fq2._Gr2;_pB._av[_FY1]=true}if(_Fq2._Hr2){_pB._Hr2=_Fq2._Hr2;_pB._av[_GY1]=true}if(_Fq2._Ir2){_pB._Ir2=_Fq2._Ir2;_pB._av[_HY1]=true}if(_Fq2._Jr2){_pB._Jr2=_Fq2._Jr2;_pB._av[_IY1]=true}if(_Fq2._Kr2){_pB._Kr2=_Fq2._Kr2;_pB._av[_aV1]=true}if(_Fq2._Lr2){
_pB._Lr2=_Fq2._Lr2;_pB._av[_JY1]=true}if(_Fq2._Mr2){_pB._Mr2=_Fq2._Mr2;_pB._av[_KY1]=true}if(_Fq2._Nr2){_pB._Nr2=_Fq2._Nr2;_pB._av[_LY1]=true}if(_Fq2._Or2){_pB._Or2=_Fq2._Or2;_pB._av[_MY1]=true}if(_Fq2._Pr2){_pB._Pr2=_Fq2._Pr2;_pB._av[_NY1]=true}if(_Fq2._Qr2){_pB._Qr2=_Fq2._Qr2;_pB._av[_OY1]=true}if(_Fq2._Rr2){_pB._Rr2=_Fq2._Rr2;_pB._av[_PY1]=true;}if(_Fq2._Sr2){_pB._Sr2=_Fq2._Sr2;_pB._av[_77]=true}if(_Fq2._Tr2){_pB._Tr2=_Fq2._Tr2;_pB._av[_mY1]=true}if(_Fq2._Ur2){_pB._Ur2=_Fq2._Ur2;_pB._av[_nY1]=true}
if(_Fq2._Vr2){_pB._Vr2=_Fq2._Vr2;_pB._av[_oY1]=true}if(_Fq2._Wr2){_pB._Wr2=_Fq2._Wr2;_pB._av[_pY1]=true}if(_Fq2._Xr2){_pB._Xr2=_Fq2._Xr2;_pB._av[_qY1]=true}if(_Fq2._Yr2){_pB._Yr2=_Fq2._Yr2;_pB._av[_rY1]=true}if(_Fq2._Zr2){_pB._Zr2=_Fq2._Zr2;_pB._av[_sY1]=true}if(_Fq2.__r2){_pB.__r2=_Fq2.__r2;_pB._av[_tY1]=true}if(_Fq2._0s2){_pB._0s2=_Fq2._0s2;_pB._av[_uY1]=true}if(_Fq2._1s2){_pB._1s2=_Fq2._1s2;_pB._av[_vY1]=true}if(_Fq2._2s2){_pB._2s2=_Fq2._2s2;_pB._av[_wY1]=true}if(_Fq2._3s2){_pB._3s2=_Fq2._3s2;
_pB._av[_xY1]=true}if(_Fq2._4s2){_pB._4s2=_Fq2._4s2;_pB._av[_yY1]=true}if(_Fq2._5s2){_pB._5s2=_Fq2._5s2;_pB._av[_zY1]=true}if(_Fq2._6s2){_pB._6s2=_Fq2._6s2;_pB._av[_AY1]=true}if(_Fq2._7s2){_pB._7s2=_Fq2._7s2;_pB._av[_BY1]=true}if(_Fq2._8s2){_pB._8s2=_Fq2._8s2;_pB._av[_QY1]=true}if(_Fq2._9s2){_pB._9s2=_Fq2._9s2;_pB._av[_RY1]=true}if(_Fq2._as2){_pB._as2=_Fq2._as2;_pB._av[_SY1]=true}if(_Fq2._bs2){_pB._bs2=_Fq2._bs2;_pB._av[_TY1]=true}if(_Fq2._cs2){_pB._cs2=_Fq2._cs2;_pB._av[_bB]=true}if(_Fq2._ds2){
_pB._ds2=_Fq2._ds2;_pB._av[_2Z1]=true}if(_Fq2._es2){_pB._es2=_Fq2._es2;_pB._av[_3Z1]=true}if(_Fq2._fs2){_pB._fs2=_Fq2._fs2;_pB._av[_KO]=true}if(_Fq2._gs2){_pB._gs2=_Fq2._gs2;_pB._av[_UY1]=true}if(_Fq2._hs2){_pB._hs2=_Fq2._hs2;_pB._av[_5Z1]=true}if(_Fq2._is2){_pB._is2=_Fq2._is2;_pB._av[_4Z1]=true}if(_Fq2._js2){_pB._js2=_Fq2._js2;_pB._av[_46]=true}if(_Fq2._ks2){_pB._ks2=_Fq2._ks2;_pB._av[_9N]=true}if(_Fq2._Z3){_pB._Aq2[0]=_Fq2._Z3;_pB._av[_cZ1]=true}if(_Fq2._ls2){_pB._Aq2[1]=_Fq2._ls2;_pB._av[_dZ1]=true}
if(_Fq2._ms2){_pB._Aq2[2]=_Fq2._ms2;_pB._av[_eZ1]=true}if(_Fq2._ns2){_pB._Aq2[3]=_Fq2._ns2;_pB._av[_fZ1]=true}if(_Fq2._os2){_pB._Aq2[4]=_Fq2._os2;_pB._av[_gZ1]=true}if(_Fq2._ps2){_pB._Aq2[5]=_Fq2._ps2;_pB._av[_hZ1]=true}if(_Fq2._qs2){_pB._Aq2[6]=_Fq2._qs2;_pB._av[_iZ1]=true}if(_Fq2._rs2){_pB._Aq2[7]=_Fq2._rs2;_pB._av[_jZ1]=true}if(_Fq2._ss2){_pB._Aq2[8]=_Fq2._ss2;_pB._av[_kZ1]=true}if(_Fq2._ts2){_pB._Aq2[9]=_Fq2._ts2;_pB._av[_lZ1]=true}if(_Fq2._us2){_pB._Aq2[10]=_Fq2._us2;_pB._av[_mZ1]=true}if(_Fq2._vs2){
_pB._Aq2[11]=_Fq2._vs2;_pB._av[_nZ1]=true}if(_Fq2._ws2){_pB._Cq2[_512]=_Fq2._ws2;_pB._av[_512]=true}if(_Fq2._xs2){_pB._Cq2[_712]=_Fq2._xs2;_pB._av[_712]=true}if(_Fq2._ys2){_pB._Cq2[_812]=_Fq2._ys2;_pB._av[_812]=true}if(_Fq2._zs2){_pB._Cq2[_912]=_Fq2._zs2;_pB._av[_912]=true}if(_Fq2._As2){_pB._Cq2[_a12]=_Fq2._As2;_pB._av[_a12]=true}if(_Fq2._Bs2){_pB._Cq2[_b12]=_Fq2._Bs2;_pB._av[_b12]=true}if(_Fq2._Cs2){_pB._Cq2[_c12]=_Fq2._Cs2;_pB._av[_c12]=true}if(_Fq2._Ds2){_pB._Cq2[_d12]=_Fq2._Ds2;_pB._av[_d12]=true}
if(_Fq2._Es2){_pB._Cq2[_e12]=_Fq2._Es2;_pB._av[_e12]=true}if(_Fq2._Fs2){_pB._Cq2[_f12]=_Fq2._Fs2;_pB._av[_f12]=true}if(_Fq2._Gs2){_pB._Cq2[_g12]=_Fq2._Gs2;_pB._av[_g12]=true}if(_Fq2._Hs2){_pB._Cq2[_h12]=_Fq2._Hs2;_pB._av[_h12]=true}if(_Fq2._Is2){_pB._Cq2[_i12]=_Fq2._Is2;_pB._av[_i12]=true}if(_Fq2._Js2){_pB._Cq2[_j12]=_Fq2._Js2;_pB._av[_j12]=true}if(_Fq2._Ks2){_pB._Cq2[_k12]=_Fq2._Ks2;_pB._av[_k12]=true}if(_Fq2._Ls2){_pB._Cq2[_l12]=_Fq2._Ls2;_pB._av[_l12]=true}if(_Fq2._Ms2){_pB._Cq2[_m12]=_Fq2._Ms2;
_pB._av[_m12]=true}if(_Fq2._Ns2){_pB._Cq2[_n12]=_Fq2._Ns2;_pB._av[_n12]=true}if(_Fq2._Os2){_pB._Cq2[_o12]=_Fq2._Os2;_pB._av[_o12]=true}if(_Fq2._Ps2){_pB._Cq2[_p12]=_Fq2._Ps2;_pB._av[_p12]=true}if(_Fq2._Qs2){_pB._Cq2[_q12]=_Fq2._Qs2;_pB._av[_q12]=true}if(_Fq2._Rs2){_pB._Cq2[_r12]=(_Fq2._Rs2);_pB._av[_r12]=true}if(_Fq2._Ss2){_pB._Cq2[_s12]=(_Fq2._Ss2);_pB._av[_s12]=true}if(_Fq2._Ts2){_pB._Cq2[_t12]=(_Fq2._Ts2);_pB._av[_t12]=true}if(_Fq2._Us2){_pB._Cq2[_u12]=(_Fq2._Us2);_pB._av[_u12]=true}if(_Fq2._Vs2){
_pB._Cq2[_v12]=(_Fq2._Vs2);_pB._av[_v12]=true}if(_Fq2._Ws2){_pB._Cq2[_w12]=(_Fq2._Ws2);_pB._av[_w12]=true}if(_Fq2._Xs2){_pB._Cq2[_x12]=(_Fq2._Xs2);_pB._av[_x12]=true}if(_Fq2._Ys2){_pB._Cq2[_y12]=(_Fq2._Ys2);_pB._av[_y12]=true}if(_Fq2._Zs2){_pB._Cq2[_z12]=(_Fq2._Zs2);_pB._av[_z12]=true}if(_Fq2.__s2){_pB._Cq2[_A12]=(_Fq2.__s2);_pB._av[_A12]=true}if(_Fq2._0t2){_pB._Cq2[_B12]=(_Fq2._0t2);_pB._av[_B12]=true}if(_Fq2._1t2){_pB._Cq2[_C12]=(_Fq2._1t2);_pB._av[_C12]=true}if(_Fq2._2t2){_pB._Cq2[_D12]=(_Fq2._2t2);
_pB._av[_D12]=true}if(_Fq2._3t2){_pB._Cq2[_E12]=(_Fq2._3t2);_pB._av[_E12]=true}if(_Fq2._4t2){_pB._Cq2[_F12]=(_Fq2._4t2);_pB._av[_F12]=true}if(_Fq2._5t2){_pB._Cq2[_G12]=(_Fq2._5t2);_pB._av[_G12]=true}if(_Fq2._6t2){_pB._Cq2[_H12]=(_Fq2._6t2);_pB._av[_H12]=true}if(_Fq2._7t2){_pB._Cq2[_I12]=(_Fq2._7t2);_pB._av[_I12]=true}if(_Fq2._8t2){_pB._Cq2[_J12]=(_Fq2._8t2);_pB._av[_J12]=true}if(_Fq2._9t2){_pB._Cq2[_K12]=(_Fq2._9t2);_pB._av[_K12]=true}if(_Fq2._at2){_pB._Cq2[_L12]=(_Fq2._at2);_pB._av[_L12]=true}if(_Fq2._bt2){
_pB._Cq2[_M12]=(_Fq2._bt2);_pB._av[_M12]=true}if(_Fq2._ct2){_pB._Cq2[_N12]=(_Fq2._ct2);_pB._av[_N12]=true}if(_Fq2._dt2){_pB._Cq2[_O12]=(_Fq2._dt2);_pB._av[_O12]=true}if(_Fq2._et2){_pB._Cq2[_P12]=(_Fq2._et2);_pB._av[_P12]=true}if(_Fq2._ft2){_pB._Cq2[_Q12]=(_Fq2._ft2);_pB._av[_Q12]=true}if(_Fq2._gt2){_pB._Cq2[_R12]=(_Fq2._gt2);_pB._av[_R12]=true}if(_Fq2._ht2){_pB._Cq2[_S12]=(_Fq2._ht2);_pB._av[_S12]=true}if(_Fq2._it2){_pB._Cq2[_T12]=(_Fq2._it2);_pB._av[_T12]=true}if(_Fq2._jt2){_pB._Cq2[_U12]=(_Fq2._jt2);
_pB._av[_U12]=true}if(_Fq2._kt2){_pB._Cq2[_V12]=(_Fq2._kt2);_pB._av[_V12]=true}if(_Fq2._lt2){_pB._Cq2[_W12]=(_Fq2._lt2);_pB._av[_W12]=true}if(_Fq2._mt2){_pB._Cq2[_X12]=(_Fq2._mt2);_pB._av[_X12]=true}if(_Fq2._nt2){_pB._Cq2[_Y12]=(_Fq2._nt2);_pB._av[_Y12]=true}if(_Fq2._ot2){_pB._Cq2[_Z12]=(_Fq2._ot2);_pB._av[_Z12]=true}if(_Fq2._pt2){_pB._Cq2[__12]=(_Fq2._pt2);_pB._av[__12]=true}if(_Fq2._qt2){_pB._Cq2[_022]=(_Fq2._qt2);_pB._av[_022]=true}if(_Fq2._rt2){_pB._Cq2[_122]=(_Fq2._rt2);_pB._av[_122]=true}if(_Fq2._st2){
_pB._Cq2[_222]=(_Fq2._st2);_pB._av[_222]=true}if(_Fq2._tt2){_pB._Cq2[_322]=(_Fq2._tt2);_pB._av[_322]=true}if(_Fq2._ut2){_pB._Cq2[_422]=(_Fq2._ut2);_pB._av[_422]=true}if(_Fq2._vt2){_pB._Cq2[_522]=(_Fq2._vt2);_pB._av[_522]=true}if(_Fq2._wt2){_pB._Cq2[_622]=(_Fq2._wt2);_pB._av[_622]=true}if(_Fq2._xt2){_pB._Cq2[_722]=(_Fq2._xt2);_pB._av[_722]=true}if(_Fq2._yt2){_pB._Cq2[_822]=(_Fq2._yt2);_pB._av[_822]=true}if(_Fq2._zt2){_pB._Cq2[_922]=(_Fq2._zt2);_pB._av[_922]=true;}if(_Fq2._At2){_pB._Cq2[_a22]=(_Fq2._At2);
_pB._av[_a22]=true}if(_Fq2._Bt2){_pB._Cq2[_b22]=(_Fq2._Bt2);_pB._av[_b22]=true}if(_Fq2._Ct2){_pB._Cq2[_p22]=(_Fq2._Ct2);_pB._av[_p22]=true}if(_Fq2._Dt2){_pB._Cq2[_q22]=(_Fq2._Dt2);_pB._av[_q22]=true}if(_Fq2._Et2){_pB._Cq2[_r22]=(_Fq2._Et2);_pB._av[_r22]=true}if(_Fq2._Ft2){_pB._Cq2[_s22]=(_Fq2._Ft2);_pB._av[_s22]=true;}if(_Fq2._Gt2){_pB._Cq2[_t22]=(_Fq2._Gt2);_pB._av[_t22]=true}if(_Fq2._Ht2){_pB._Cq2[_u22]=(_Fq2._Ht2);_pB._av[_u22]=true}if(_Fq2._It2){_pB._Cq2[_v22]=(_Fq2._It2);_pB._av[_v22]=true}
if(_Fq2._Jt2){_pB._Cq2[_w22]=(_Fq2._Jt2);_pB._av[_w22]=true}if(_Fq2._Kt2){_pB._Cq2[_x22]=(_Fq2._Kt2);_pB._av[_x22]=true}if(_Fq2._Lt2){_pB._Cq2[_y22]=(_Fq2._Lt2);_pB._av[_y22]=true}if(_Fq2._Mt2){_pB._Cq2[_z22]=(_Fq2._Mt2);_pB._av[_z22]=true}if(_Fq2._Nt2){_pB._Cq2[_A22]=(_Fq2._Nt2);_pB._av[_A22]=true}if(_Fq2._Ot2){_pB._Cq2[_B22]=(_Fq2._Ot2);_pB._av[_B22]=true}if(_Fq2._Pt2){_pB._Cq2[_C22]=(_Fq2._Pt2);_pB._av[_C22]=true}if(_Fq2._Qt2){_pB._Cq2[_D22]=(_Fq2._Qt2);_pB._av[_D22]=true}if(_Fq2._Rt2){_pB._Cq2[_E22]=(_Fq2._Rt2);
_pB._av[_E22]=true}if(_Fq2._St2){_pB._Bq2[_F22]=(_Fq2._St2);_pB._av[_F22]=true}if(_Fq2._Tt2){_pB._Bq2[_H22]=(_Fq2._Tt2);_pB._av[_H22]=true}if(_Fq2._Ut2){_pB._Bq2[_I22]=(_Fq2._Ut2);_pB._av[_I22]=true}if(_Fq2._Vt2){_pB._Bq2[_J22]=(_Fq2._Vt2);_pB._av[_J22]=true}if(_Fq2._Wt2){_pB._Bq2[_K22]=(_Fq2._Wt2);_pB._av[_K22]=true}if(_Fq2._Xt2){_pB._Bq2[_L22]=(_Fq2._Xt2);_pB._av[_L22]=true;}if(_Fq2._Yt2){_pB._Bq2[_M22]=(_Fq2._Yt2);_pB._av[_M22]=true}if(_Fq2._Zt2){_pB._Bq2[_N22]=(_Fq2._Zt2);_pB._av[_N22]=true}
if(_Fq2.__t2){_pB._Bq2[_O22]=(_Fq2.__t2);_pB._av[_O22]=true}if(_Fq2._0u2){_pB._Bq2[_P22]=(_Fq2._0u2);_pB._av[_P22]=true}if(_Fq2._1u2){_pB._Bq2[_Q22]=(_Fq2._1u2);_pB._av[_Q22]=true}if(_Fq2._2u2){_pB._Bq2[_R22]=(_Fq2._2u2);_pB._av[_R22]=true}if(_Fq2._3u2){_pB._Bq2[_S22]=(_Fq2._3u2);_pB._av[_S22]=true;}if(_Fq2._4u2){_pB._Bq2[_T22]=(_Fq2._4u2);_pB._av[_T22]=true}if(_Fq2._5u2){_pB._Bq2[_U22]=(_Fq2._5u2);_pB._av[_U22]=true}if(_Fq2._6u2){_pB._Bq2[_V22]=(_Fq2._6u2);_pB._av[_V22]=true}if(_Fq2._7u2){_pB._Bq2[_W22]=(_Fq2._7u2);
_pB._av[_W22]=true}if(_Fq2._8u2){_pB._Bq2[_X22]=(_Fq2._8u2);_pB._av[_X22]=true}if(_Fq2._9u2){_pB._Bq2[_Y22]=(_Fq2._9u2);_pB._av[_Y22]=true}if(_Fq2._au2){_pB._Bq2[_Z22]=(_Fq2._au2);_pB._av[_Z22]=true}if(_Fq2._bu2){_pB._Bq2[__22]=(_Fq2._bu2);_pB._av[__22]=true}if(_Fq2._cu2){_pB._Bq2[_032]=(_Fq2._cu2);_pB._av[_032]=true}if(_Fq2._du2){_pB._Bq2[_132]=(_Fq2._du2);_pB._av[_132]=true}if(_Fq2._eu2){_pB._Bq2[_232]=(_Fq2._eu2);_pB._av[_232]=true}if(_Fq2._fu2){_pB._Bq2[_332]=(_Fq2._fu2);_pB._av[_332]=true}if(_Fq2._gu2){
_pB._Bq2[_432]=(_Fq2._gu2);_pB._av[_432]=true}if(_Fq2._hu2){_pB._Bq2[_532]=(_Fq2._hu2);_pB._av[_532]=true}if(_Fq2._iu2){_pB._Bq2[_632]=(_Fq2._iu2);_pB._av[_632]=true;}if(_Fq2._ju2){_pB._Bq2[_732]=(_Fq2._ju2);_pB._av[_732]=true}if(_Fq2._ku2){_pB._Bq2[_832]=(_Fq2._ku2);_pB._av[_832]=true}if(_Fq2._lu2){_pB._Bq2[_932]=(_Fq2._lu2);_pB._av[_932]=true}if(_Fq2._mu2){_pB._Bq2[_a32]=(_Fq2._mu2);_pB._av[_a32]=true}if(_Fq2._nu2){_pB._Bq2[_b32]=(_Fq2._nu2);_pB._av[_b32]=true}if(_Fq2._ou2){_pB._Bq2[_c32]=(_Fq2._ou2);
_pB._av[_c32]=true}if(_Fq2._pu2){_pB._Bq2[_d32]=(_Fq2._pu2);_pB._av[_d32]=true}if(_Fq2._qu2){_pB._Bq2[_e32]=(_Fq2._qu2);_pB._av[_e32]=true;}if(_Fq2._ru2){_pB._Bq2[_f32]=(_Fq2._ru2);_pB._av[_f32]=true}if(_Fq2._su2){_pB._Bq2[_g32]=(_Fq2._su2);_pB._av[_g32]=true}if(_Fq2._tu2){_pB._Bq2[_h32]=(_Fq2._tu2);_pB._av[_h32]=true}if(_Fq2._uu2){_pB._Bq2[_i32]=(_Fq2._uu2);_pB._av[_i32]=true}if(_Fq2._vu2){_pB._Bq2[_j32]=(_Fq2._vu2);_pB._av[_j32]=true}if(_Fq2._wu2){_pB._Bq2[_k32]=(_Fq2._wu2);_pB._av[_k32]=true}
if(_Fq2._xu2){_pB._Bq2[_l32]=(_Fq2._xu2);_pB._av[_l32]=true}if(_Fq2._yu2){_pB._Bq2[_m32]=(_Fq2._yu2);_pB._av[_m32]=true;}if(_Fq2._zu2){_pB._Bq2[_n32]=(_Fq2._zu2);_pB._av[_n32]=true}if(_Fq2._Au2){_pB._Bq2[_o32]=(_Fq2._Au2);_pB._av[_o32]=true}if(_Fq2._Bu2){_pB._Bq2[_p32]=(_Fq2._Bu2);_pB._av[_p32]=true}if(_Fq2._Cu2){_pB._Bq2[_q32]=(_Fq2._Cu2);_pB._av[_q32]=true}if(_Fq2._Du2){_pB._Bq2[_r32]=(_Fq2._Du2);_pB._av[_r32]=true}if(_Fq2._Eu2){_pB._Bq2[_s32]=(_Fq2._Eu2);_pB._av[_s32]=true}if(_Fq2._Fu2){_pB._Bq2[_t32]=(_Fq2._Fu2);
_pB._av[_t32]=true}if(_Fq2._Gu2){_pB._Bq2[_u32]=(_Fq2._Gu2);_pB._av[_u32]=true;}if(_Fq2._Hu2){_pB._Bq2[_v32]=(_Fq2._Hu2);_pB._av[_v32]=true}if(_Fq2._Iu2){_pB._Bq2[_w32]=(_Fq2._Iu2);_pB._av[_w32]=true}if(_Fq2._Ju2){_pB._Bq2[_x32]=(_Fq2._Ju2);_pB._av[_x32]=true}if(_Fq2._Ku2){_pB._Bq2[_y32]=(_Fq2._Ku2);_pB._av[_y32]=true}if(_Fq2._Lu2){_pB._Bq2[_z32]=(_Fq2._Lu2);_pB._av[_z32]=true}if(_Fq2._Mu2){_pB._Bq2[_A32]=(_Fq2._Mu2);_pB._av[_A32]=true}if(_Fq2._Nu2){_pB._Bq2[_B32]=(_Fq2._Nu2);_pB._av[_B32]=true}
if(_Fq2._Ou2){_pB._Bq2[_C32]=(_Fq2._Ou2);_pB._av[_C32]=true}if(_Fq2._Pu2){_pB._Bq2[_D32]=(_Fq2._Pu2);_pB._av[_D32]=true}if(_Fq2._Qu2){_pB._Bq2[_E32]=(_Fq2._Qu2);_pB._av[_E32]=true}if(_Fq2._Ru2){_pB._Bq2[_F32]=(_Fq2._Ru2);_pB._av[_F32]=true}if(_Fq2._Su2){_pB._Bq2[_G32]=(_Fq2._Su2);_pB._av[_G32]=true}if(_Fq2._Tu2){_pB._Bq2[_H32]=(_Fq2._Tu2);_pB._av[_H32]=true}if(_Fq2._Uu2){_pB._Bq2[_I32]=(_Fq2._Uu2);_pB._av[_I32]=true}if(_Fq2._Vu2){_pB._Bq2[_J32]=(_Fq2._Vu2);_pB._av[_J32]=true}if(_Fq2._Wu2){_pB._Bq2[_K32]=(_Fq2._Wu2);
_pB._av[_K32]=true}if(_Fq2._Xu2){_pB._Bq2[_L32]=(_Fq2._Xu2);_pB._av[_L32]=true}if(_Fq2._Yu2){_pB._Bq2[_Z32]=(_Fq2._Yu2);_pB._av[_Z32]=true}if(_Fq2._Zu2){_pB._Bq2[__32]=(_Fq2._Zu2);_pB._av[__32]=true}if(_Fq2.__u2){_pB._Bq2[_042]=(_Fq2.__u2);_pB._av[_042]=true}if(_Fq2._0v2){_pB._Bq2[_142]=(_Fq2._0v2);_pB._av[_142]=true}if(_Fq2._1v2){_pB._Bq2[_242]=(_Fq2._1v2);_pB._av[_242]=true}if(_Fq2._2v2){_pB._Bq2[_342]=(_Fq2._2v2);_pB._av[_342]=true}if(_Fq2._3v2){_pB._Bq2[_442]=(_Fq2._3v2);_pB._av[_442]=true}if(_Fq2._4v2){
_pB._Bq2[_542]=(_Fq2._4v2);_pB._av[_542]=true}if(_Fq2._5v2){_pB._Bq2[_642]=(_Fq2._5v2);_pB._av[_642]=true}if(_Fq2._6v2){_pB._Bq2[_742]=(_Fq2._6v2);_pB._av[_742]=true}if(_Fq2._7v2){_pB._Bq2[_842]=(_Fq2._7v2);_pB._av[_842]=true}if(_Fq2._8v2){_pB._Bq2[_942]=(_Fq2._8v2);_pB._av[_942]=true}if(_Fq2._9v2){_pB._Bq2[_a42]=(_Fq2._9v2);_pB._av[_a42]=true}if(_Fq2._av2){_pB._Bq2[_b42]=(_Fq2._av2);_pB._av[_b42]=true}if(_Fq2._bv2){_pB._Bq2[_c42]=(_Fq2._bv2);_pB._av[_c42]=true}if(_Fq2._cv2){_pB._Bq2[_d42]=(_Fq2._cv2);
_pB._av[_d42]=true}if(_Fq2._dv2){_pB._Dq2[_e42]=(_Fq2._dv2);_pB._av[_e42]=true}if(_Fq2._ev2){_pB._Dq2[_g42]=(_Fq2._ev2);_pB._av[_g42]=true}if(_Fq2._fv2){_pB._Dq2[_h42]=(_Fq2._fv2);_pB._av[_h42]=true}if(_Fq2._gv2){_pB._Dq2[_i42]=(_Fq2._gv2);_pB._av[_i42]=true}if(_Fq2._hv2){_pB._Dq2[_j42]=(_Fq2._hv2);_pB._av[_j42]=true}if(_Fq2._iv2){_pB._Dq2[_k42]=(_Fq2._iv2);_pB._av[_k42]=true}if(_Fq2._jv2){_pB._Dq2[_l42]=(_Fq2._jv2);_pB._av[_l42]=true}if(_Fq2._kv2){_pB._Dq2[_m42]=(_Fq2._kv2);_pB._av[_m42]=true;}
if(_Fq2._lv2){_pB._Dq2[_n42]=(_Fq2._lv2);_pB._av[_n42]=true}if(_Fq2._mv2){_pB._Dq2[_o42]=(_Fq2._mv2);_pB._av[_o42]=true}if(_Fq2._nv2){_pB._Dq2[_p42]=(_Fq2._nv2);_pB._av[_p42]=true}if(_Fq2._ov2){_pB._Dq2[_q42]=(_Fq2._ov2);_pB._av[_q42]=true}if(_Fq2._pv2){_pB._Dq2[_r42]=(_Fq2._pv2);_pB._av[_r42]=true}if(_Fq2._qv2){_pB._Dq2[_s42]=(_Fq2._qv2);_pB._av[_s42]=true}if(_Fq2._rv2){_pB._Dq2[_t42]=(_Fq2._rv2);_pB._av[_t42]=true}if(_Fq2._sv2){_pB._Dq2[_u42]=(_Fq2._sv2);_pB._av[_u42]=true}if(_Fq2._tv2){_pB._Dq2[_v42]=(_Fq2._tv2);
_pB._av[_v42]=true}if(_Fq2._uv2){_pB._Dq2[_w42]=(_Fq2._uv2);_pB._av[_w42]=true}if(_Fq2._vv2){_pB._Dq2[_x42]=(_Fq2._vv2);_pB._av[_x42]=true}if(_Fq2._wv2){_pB._Dq2[_y42]=(_Fq2._wv2);_pB._av[_y42]=true}if(_Fq2._xv2){_pB._Dq2[_z42]=(_Fq2._xv2);_pB._av[_z42]=true}if(_Fq2._yv2){_pB._Dq2[_A42]=(_Fq2._yv2);_pB._av[_A42]=true}if(_Fq2._zv2){_pB._Dq2[_B42]=(_Fq2._zv2);_pB._av[_B42]=true}if(_Fq2._Av2){_pB._Dq2[_C42]=(_Fq2._Av2);_pB._av[_C42]=true}if(_Fq2._Bv2){_pB._Dq2[_D42]=(_Fq2._Bv2);_pB._av[_D42]=true}if(_Fq2._Cv2){
_pB._Dq2[_E42]=(_Fq2._Cv2);_pB._av[_E42]=true;}if(_Fq2._Dv2){_pB._Dq2[_F42]=(_Fq2._Dv2);_pB._av[_F42]=true}if(_Fq2._Ev2){_pB._Dq2[_G42]=(_Fq2._Ev2);_pB._av[_G42]=true}if(_Fq2._Fv2){_pB._Dq2[_H42]=(_Fq2._Fv2);_pB._av[_H42]=true}if(_Fq2._Gv2){_pB._Dq2[_I42]=(_Fq2._Gv2);_pB._av[_I42]=true}if(_Fq2._Hv2){_pB._Dq2[_J42]=(_Fq2._Hv2);_pB._av[_J42]=true}if(_Fq2._Iv2){_pB._Dq2[_K42]=(_Fq2._Iv2);_pB._av[_K42]=true}if(_Fq2._Jv2){_pB._Dq2[_L42]=(_Fq2._Jv2);_pB._av[_L42]=true}if(_Fq2._Kv2){_pB._Dq2[_M42]=(_Fq2._Kv2);
_pB._av[_M42]=true}if(_Fq2._Lv2){_pB._Dq2[_N42]=(_Fq2._Lv2);_pB._av[_N42]=true}if(_Fq2._Mv2){_pB._Dq2[_O42]=(_Fq2._Mv2);_pB._av[_O42]=true}if(_Fq2._Nv2){_pB._Dq2[_P42]=(_Fq2._Nv2);_pB._av[_P42]=true}if(_Fq2._Ov2){_pB._Dq2[_Q42]=(_Fq2._Ov2);_pB._av[_Q42]=true}if(_Fq2._Pv2){_pB._Dq2[_R42]=(_Fq2._Pv2);_pB._av[_R42]=true}if(_Fq2._Qv2){_pB._Dq2[_S42]=(_Fq2._Qv2);_pB._av[_S42]=true}if(_Fq2._Rv2){_pB._Dq2[_T42]=(_Fq2._Rv2);_pB._av[_T42]=true}if(_Fq2._Sv2){_pB._Dq2[_U42]=(_Fq2._Sv2);_pB._av[_U42]=true}if(_Fq2._Tv2){
_pB._Dq2[_V42]=(_Fq2._Tv2);_pB._av[_V42]=true}if(_Fq2._Uv2){_pB._Dq2[_W42]=(_Fq2._Uv2);_pB._av[_W42]=true}if(_Fq2._Vv2){_pB._Dq2[_X42]=(_Fq2._Vv2);_pB._av[_X42]=true;}if(_Fq2._Wv2){_pB._Dq2[_Y42]=(_Fq2._Wv2);_pB._av[_Y42]=true}if(_Fq2._Xv2){_pB._Dq2[_Z42]=(_Fq2._Xv2);_pB._av[_Z42]=true}if(_Fq2._Yv2){_pB._Dq2[__42]=(_Fq2._Yv2);_pB._av[__42]=true}if(_Fq2._Zv2){_pB._Dq2[_052]=(_Fq2._Zv2);_pB._av[_052]=true}if(_Fq2.__v2){_pB._Dq2[_152]=(_Fq2.__v2);_pB._av[_152]=true}if(_Fq2._0w2){_pB._Dq2[_252]=(_Fq2._0w2);
_pB._av[_252]=true}if(_Fq2._1w2){_pB._Dq2[_352]=(_Fq2._1w2);_pB._av[_352]=true}if(_Fq2._2w2){_pB._Dq2[_452]=(_Fq2._2w2);_pB._av[_452]=true}if(_Fq2._3w2){_pB._Dq2[_552]=(_Fq2._3w2);_pB._av[_552]=true}if(_Fq2._4w2){_pB._Dq2[_652]=(_Fq2._4w2);_pB._av[_652]=true}if(_Fq2._5w2){_pB._Dq2[_752]=(_Fq2._5w2);_pB._av[_752]=true}if(_Fq2._6w2){_pB._Dq2[_852]=(_Fq2._6w2);_pB._av[_852]=true}if(_Fq2._7w2){_pB._Dq2[_952]=(_Fq2._7w2);_pB._av[_952]=true}if(_Fq2._8w2){_pB._Dq2[_a52]=(_Fq2._8w2);_pB._av[_a52]=true}if(_Fq2._9w2){
_pB._Dq2[_b52]=(_Fq2._9w2);_pB._av[_b52]=true}if(_Fq2._aw2){_pB._Dq2[_c52]=(_Fq2._aw2);_pB._av[_c52]=true}if(_Fq2._bw2){_pB._Dq2[_d52]=(_Fq2._bw2);_pB._av[_d52]=true}if(_Fq2._cw2){_pB._Dq2[_e52]=(_Fq2._cw2);_pB._av[_e52]=true}if(_Fq2._dw2){_pB._Dq2[_f52]=(_Fq2._dw2);_pB._av[_f52]=true;}if(_Fq2._ew2){_pB._Dq2[_g52]=(_Fq2._ew2);_pB._av[_g52]=true}if(_Fq2._fw2){_pB._Dq2[_h52]=(_Fq2._fw2);_pB._av[_h52]=true}if(_Fq2._gw2){_pB._Dq2[_i52]=(_Fq2._gw2);_pB._av[_i52]=true}if(_Fq2._hw2){_pB._Dq2[_j52]=(_Fq2._hw2);
_pB._av[_j52]=true}if(_Fq2._iw2){_pB._Dq2[_k52]=(_Fq2._iw2);_pB._av[_k52]=true}if(_Fq2._jw2){_pB._Dq2[_y52]=(_Fq2._jw2);_pB._av[_y52]=true;}if(_Fq2._kw2){_pB._Dq2[_z52]=(_Fq2._kw2);_pB._av[_z52]=true}if(_Fq2._lw2){_pB._Dq2[_A52]=(_Fq2._lw2);_pB._av[_A52]=true}if(_Fq2._mw2){_pB._Dq2[_B52]=(_Fq2._mw2);_pB._av[_B52]=true}if(_Fq2._nw2){_pB._Dq2[_C52]=(_Fq2._nw2);_pB._av[_C52]=true}if(_Fq2._ow2){_pB._Dq2[_D52]=(_Fq2._ow2);_pB._av[_D52]=true}if(_Fq2._pw2){_pB._Dq2[_E52]=(_Fq2._pw2);_pB._av[_E52]=true}
if(_Fq2._qw2){_pB._Dq2[_F52]=(_Fq2._qw2);_pB._av[_F52]=true}if(_Fq2._rw2){_pB._Dq2[_G52]=(_Fq2._rw2);_pB._av[_G52]=true}if(_Fq2._sw2){_pB._Dq2[_H52]=(_Fq2._sw2);_pB._av[_H52]=true}if(_Fq2._tw2){_pB._Dq2[_I52]=(_Fq2._tw2);_pB._av[_I52]=true}if(_Fq2._uw2){_pB._Dq2[_J52]=(_Fq2._uw2);_pB._av[_J52]=true}if(_Fq2._vw2){_pB._Dq2[_K52]=(_Fq2._vw2);_pB._av[_K52]=true}if(_Fq2._ww2){_pB._Dq2[_L52]=(_Fq2._ww2);_pB._av[_L52]=true}if(_Fq2._xw2){_pB._Dq2[_M52]=(_Fq2._xw2);_pB._av[_M52]=true}if(_Fq2._yw2){_pB._Dq2[_N52]=(_Fq2._yw2);
_pB._av[_N52]=true}var _Q7=0;if(_Fq2._64!=undefined){while(_Q7<_Fq2._64.length){var key=parseInt(_Fq2._64[_Q7])+1;var _8a2=_Fq2._64[_Q7+1];var _zw2=_B62._8g(key);_pB._av[_8Y1]=true;_pB._av[_8Y1|key]=true;var _Aw2=new _rq2();_Aw2._sq2=_8a2;_Aw2._uq2=_zw2;_Aw2._tq2=key;_pB._S3[_8Y1|key]=_Aw2;_Q7+=2}}_Q7=0;if(_Fq2._74!=undefined){while(_Q7<_Fq2._74.length){_pB._av[_iE1]=true;var key=parseInt(_Fq2._74[_Q7]);var _hw1=_Fq2._74[_Q7+1];var _Bw2=new _vq2();_Bw2._sq2=_hw1;_Bw2._Cw2=false;_Bw2._Vg=this;_pB._s92[key]=_Bw2;
_Q7+=2}}if(_Fq2._UD1!=undefined){_pB._Yl2._UD1=_Fq2._UD1;_pB._Yl2._am2=_Fq2._am2;_pB._Yl2._2m2=_Fq2._2m2;_pB._Yl2._cm2=_Fq2._cm2;_pB._Yl2._dm2=_Fq2._dm2;_pB._Yl2._bm2=_Fq2._bm2;_pB._Yl2._9m2=_Fq2._9m2;_pB._Yl2._8m2=_Fq2._8m2;_pB._Yl2._em2=_Fq2._em2;_pB._Yl2._fm2=_Fq2._fm2;_pB._Yl2._gm2=_Fq2._gm2;_pB._Yl2._5m2=_Fq2._5m2}}return _pB}_oE1.prototype._67=function(_Zz,index,_2v,_cv){if((_Zz!=_nB)&&_YK!=-1&&!((_2v._tl2||_h6._Dw2)&&((_Zz==_FB)||(_Zz==_aY1)||(_Zz==_mB)||(_Zz==_0W1)||(_Zz==_0V1)))){return }
var _Ew2=_ev;var _Fw2=_fv;var _Gw2=_g72;var _Hw2=_0h;_g72=this;_ev=_Zz;_fv=index;_0h=false;var _A61=true;switch(_Zz){case _aY1:if(this._44)this._44(_2v,_cv);else _A61=false;break;case _FB:if(this._X3)this._X3(_2v,_cv);else _A61=false;break;case _mB:if(this._Hq2)this._Hq2(_2v,_cv);else _A61=false;break;case _nB:if(this._Iq2)this._Iq2(_2v,_cv);else _A61=false;break;case _0W1:_A61=false;break;case _2Y1:_A61=false;break;case _iE1:if(this._s92[index])this._s92[index]._sq2(_2v,_cv);break;case _3Y1:if(this._Bq2[_Zz|index])this._Bq2[_Zz|index](_2v,
_cv);else _A61=false;break;case _4Y1:_A61=false;break;case _0V1:_A61=false;break;case _5Y1:if(this._24)this._24(_2v,_cv);else _A61=false;break;case _6Y1:if(this._Cq2[_Zz|index])this._Cq2[_Zz|index](_2v,_cv);else _A61=false;break;case _7Y1:if(this._Dq2[_Zz|index])this._Dq2[_Zz|index](_2v,_cv);else _A61=false;break;case _8Y1:if(this._S3[_Zz|index]){var _Iw2=this._S3[_Zz|index];var _Aw2=_Iw2._uq2;var _Hs=_Aw2._8a2(_2v,_cv);if(_Hs|_T62){_Iw2._sq2(_2v,_cv)}}break;case _VY1:if(this._Mq2)this._Mq2(_2v,_cv);else _A61=false;
break;case _XY1:if(this._Nq2)this._Nq2(_2v,_cv);else _A61=false;break;case _YY1:if(this._Oq2)this._Oq2(_2v,_cv);else _A61=false;break;case _ZY1:if(this._Pq2)this._Pq2(_2v,_cv);else _A61=false;break;case __Y1:if(this._Qq2)this._Qq2(_2v,_cv);else _A61=false;break;case _0Z1:if(this._04)this._04(_2v,_cv);else _A61=false;break;case _1Z1:if(this._Rq2)this._Rq2(_2v,_cv);else _A61=false;break;case _WY1:if(this._Sq2)this._Sq2(_2v,_cv);else _A61=false;break;case _cY1:if(this._Jq2)this._Jq2(_2v,_cv);else _A61=false;break;
case _bY1:if(this._Kq2)this._Kq2(_2v,_cv);else _A61=false;break;case _dY1:if(this._Lq2)this._Lq2(_2v,_cv);else _A61=false;break;case _VU1:if(this._rr2)this._rr2(_2v,_cv);else _A61=false;break;case _1V1:if(this._sr2)this._sr2(_2v,_cv);else _A61=false;break;case _eY1:if(this._tr2)this._tr2(_2v,_cv);else _A61=false;break;case _fY1:if(this._ur2)this._ur2(_2v,_cv);else _A61=false;break;case _gY1:if(this._vr2)this._vr2(_2v,_cv);else _A61=false;break;case _hY1:if(this._wr2)this._wr2(_2v,_cv);else _A61=false;break;case _iY1:if(this._xr2)this._xr2(_2v,
_cv);else _A61=false;break;case _jY1:if(this._yr2)this._yr2(_2v,_cv);else _A61=false;break;case _XD1:if(this._zr2)this._zr2(_2v,_cv);else _A61=false;break;case _kY1:if(this._Ar2)this._Ar2(_2v,_cv);else _A61=false;break;case _lY1:if(this._Br2)this._Br2(_2v,_cv);else _A61=false;break;case _9V1:if(this._Cr2)this._Cr2(_2v,_cv);else _A61=false;break;case _CY1:if(this._Dr2)this._Dr2(_2v,_cv);else _A61=false;break;case _DY1:if(this._Er2)this._Er2(_2v,_cv);else _A61=false;break;case _EY1:if(this._Fr2)this._Fr2(_2v,_cv);
else _A61=false;break;case _FY1:if(this._Gr2)this._Gr2(_2v,_cv);else _A61=false;break;case _GY1:if(this._Hr2)this._Hr2(_2v,_cv);else _A61=false;break;case _HY1:if(this._Ir2)this._Ir2(_2v,_cv);else _A61=false;break;case _IY1:if(this._Jr2)this._Jr2(_2v,_cv);else _A61=false;break;case _aV1:if(this._Kr2)this._Kr2(_2v,_cv);else _A61=false;break;case _JY1:if(this._Lr2)this._Lr2(_2v,_cv);else _A61=false;break;case _KY1:if(this._Mr2)this._Mr2(_2v,_cv);else _A61=false;break;case _LY1:if(this._Nr2)this._Nr2(_2v,_cv);else _A61=false;
break;case _MY1:if(this._Or2)this._Or2(_2v,_cv);else _A61=false;break;case _NY1:if(this._Pr2)this._Pr2(_2v,_cv);else _A61=false;break;case _OY1:if(this._Qr2)this._Qr2(_2v,_cv);else _A61=false;break;case _PY1:if(this._Rr2)this._Rr2(_2v,_cv);else _A61=false;break;case _77:if(this._Sr2)this._Sr2(_2v,_cv);else _A61=false;break;case _46:if(this._js2)this._js2(_2v,_cv);else _A61=false;break;case _QY1:if(this._8s2)this._8s2(_2v,_cv);else _A61=false;break;case _RY1:if(this._9s2)this._9s2(_2v,_cv);else _A61=false;break;
case _SY1:if(this._as2)this._as2(_2v,_cv);else _A61=false;break;case _TY1:if(this._bs2)this._bs2(_2v,_cv);else _A61=false;break;case _bB:if(this._cs2)this._cs2(_2v,_cv);else _A61=false;break;case _2Z1:if(this._ds2)this._ds2(_2v,_cv);else _A61=false;break;case _3Z1:if(this._es2)this._es2(_2v,_cv);else _A61=false;break;case _KO:if(this._fs2)this._fs2(_2v,_cv);else _A61=false;break;case _UY1:if(this._gs2)this._gs2(_2v,_cv);else _A61=false;break;case _5Z1:if(this._hs2)this._hs2(_2v,_cv);else _A61=false;break;case _4Z1:if(this._is2)this._is2(_2v,
_cv);else _A61=false;break;case _9N:if(this._ks2)this._ks2(_2v,_cv);else _A61=false;break;case _mY1:if(this._Tr2)this._Tr2(_2v,_cv);else _A61=false;break;case _nY1:if(this._Ur2)this._Ur2(_2v,_cv);else _A61=false;break;case _oY1:if(this._Vr2)this._Vr2(_2v,_cv);else _A61=false;break;case _pY1:if(this._Wr2)this._Wr2(_2v,_cv);else _A61=false;break;case _qY1:if(this._Xr2)this._Xr2(_2v,_cv);else _A61=false;break;case _rY1:if(this._Yr2)this._Yr2(_2v,_cv);else _A61=false;break;case _sY1:if(this._Zr2)this._Zr2(_2v,_cv);
else _A61=false;break;case _tY1:if(this.__r2)this.__r2(_2v,_cv);else _A61=false;break;case _uY1:if(this._0s2)this._0s2(_2v,_cv);else _A61=false;break;case _vY1:if(this._1s2)this._1s2(_2v,_cv);else _A61=false;break;case _wY1:if(this._2s2)this._2s2(_2v,_cv);else _A61=false;break;case _xY1:if(this._3s2)this._3s2(_2v,_cv);else _A61=false;break;case _yY1:if(this._4s2)this._4s2(_2v,_cv);else _A61=false;break;case _zY1:if(this._5s2)this._5s2(_2v,_cv);else _A61=false;break;case _AY1:if(this._6s2)this._6s2(_2v,_cv);else _A61=false;
break;case _BY1:if(this._7s2)this._7s2(_2v,_cv);else _A61=false;break;case _CV1:if(this._Tq2)this._Tq2(_2v,_cv);else _A61=false;break;case _tV1:if(this._Uq2)this._Uq2(_2v,_cv);else _A61=false;break;case _vV1:if(this._Vq2)this._Vq2(_2v,_cv);else _A61=false;break;case _uV1:if(this._Wq2)this._Wq2(_2v,_cv);else _A61=false;break;case _wV1:if(this._Xq2)this._Xq2(_2v,_cv);else _A61=false;break;case _yV1:if(this._Yq2)this._Yq2(_2v,_cv);else _A61=false;break;case _xV1:if(this._Zq2)this._Zq2(_2v,_cv);else _A61=false;break;
case _zV1:if(this.__q2)this.__q2(_2v,_cv);else _A61=false;break;case _BV1:if(this._0r2)this._0r2(_2v,_cv);else _A61=false;break;case _AV1:if(this._1r2)this._1r2(_2v,_cv);else _A61=false;break;case _FV1:if(this._2r2)this._2r2(_2v,_cv);else _A61=false;break;case _GV1:if(this._3r2)this._3r2(_2v,_cv);else _A61=false;break;case _LV1:if(this._4r2)this._4r2(_2v,_cv);else _A61=false;break;case _6Z1:if(this._5r2)this._5r2(_2v,_cv);else _A61=false;break;case _7Z1:if(this._6r2)this._6r2(_2v,_cv);else _A61=false;break;case _MV1:if(this._7r2)this._7r2(_2v,
_cv);else _A61=false;break;case _8Z1:if(this._8r2)this._8r2(_2v,_cv);else _A61=false;break;case _9Z1:if(this._9r2)this._9r2(_2v,_cv);else _A61=false;break;case _NV1:if(this._ar2)this._ar2(_2v,_cv);else _A61=false;break;case _aZ1:if(this._br2)this._br2(_2v,_cv);else _A61=false;break;case _bZ1:if(this._cr2)this._cr2(_2v,_cv);else _A61=false;break;case _DV1:if(this._dr2)this._dr2(_2v,_cv);else _A61=false;break;case _EV1:if(this._er2)this._er2(_2v,_cv);else _A61=false;break;case _oZ1:if(this._fr2)this._fr2(_2v,_cv);
else _A61=false;break;case _pZ1:if(this._gr2)this._gr2(_2v,_cv);else _A61=false;break;case _qZ1:if(this._hr2)this._hr2(_2v,_cv);else _A61=false;break;case _rZ1:if(this._ir2)this._ir2(_2v,_cv);else _A61=false;break;case _sZ1:if(this._jr2)this._jr2(_2v,_cv);else _A61=false;break;case _tZ1:if(this._kr2)this._kr2(_2v,_cv);else _A61=false;break;case _BZ1:if(this._lr2)this._lr2(_2v,_cv);else _A61=false;break;case _CZ1:if(this._mr2)this._mr2(_2v,_cv);else _A61=false;break;case _DZ1:if(this._nr2)this._nr2(_2v,_cv);else _A61=false;
break;case _EZ1:if(this._or2)this._or2(_2v,_cv);else _A61=false;break;case _FZ1:if(this._pr2)this._pr2(_2v,_cv);else _A61=false;break;case _GZ1:if(this._qr2)this._qr2(_2v,_cv);else _A61=false;break;case _cZ1:if(this._Aq2[0]!=null)this._Aq2[0](_2v,_cv);else _A61=false;break;case _dZ1:if(this._Aq2[1]!=null)this._Aq2[1](_2v,_cv);else _A61=false;break;case _eZ1:if(this._Aq2[2]!=null)this._Aq2[2](_2v,_cv);else _A61=false;break;case _fZ1:if(this._Aq2[3]!=null)this._Aq2[3](_2v,_cv);else _A61=false;break;case _gZ1:if(this._Aq2[4]!=null)this._Aq2[4](_2v,
_cv);else _A61=false;break;case _hZ1:if(this._Aq2[5]!=null)this._Aq2[5](_2v,_cv);else _A61=false;break;case _iZ1:if(this._Aq2[6]!=null)this._Aq2[6](_2v,_cv);else _A61=false;break;case _jZ1:if(this._Aq2[7]!=null)this._Aq2[7](_2v,_cv);else _A61=false;break;case _kZ1:if(this._Aq2[8]!=null)this._Aq2[8](_2v,_cv);else _A61=false;break;case _lZ1:if(this._Aq2[9]!=null)this._Aq2[9](_2v,_cv);else _A61=false;break;case _mZ1:if(this._Aq2[10]!=null)this._Aq2[10](_2v,_cv);else _A61=false;break;case _nZ1:if(this._Aq2[11]!=null)this._Aq2[11](_2v,
_cv);else _A61=false;break;default :_A61=false}_0h=_Hw2;_ev=_Ew2;_fv=_Fw2;_g72=_Gw2;return _A61};_oE1.prototype._zE=function(_iB){this._HV1._Qe(_iB);var _pB=this;while(_pB!=null){_pB._6o2._Qe(_iB);_pB=_pB._vs}};_oE1.prototype._GE=function(_iB){this._HV1._DD(_iB);var _Jw2=this;while(_Jw2!=null){_Jw2._6o2._DD(_iB);_Jw2=_Jw2._vs}};_oE1.prototype._Kw2=function(_Zz,_YO){if(!this._av[_Zz|_YO])return;var _xg=this._6o2._xg;for(var _Q7=0;_Q7<_xg.length;_Q7++){var _sB=_xg[_Q7];this._67(_Zz,_YO,_sB,_sB)}};function _D82(){
this._Lw2=[];this._GE1=[];this.length=0}_D82.prototype._rH=function(){return this._GE1};_D82.prototype._Qe=function(_Mw2){this.length++;this._Lw2[_Mw2._h92]=_Mw2;this._GE1[_Mw2._NB]=_Mw2};_D82.prototype._8g=function(_Eq2){return this._GE1[_Eq2]};_D82.prototype._HB=function(_5g){if(!this._GE1[_5g])return false;else return true};_D82.prototype._36=function(_Zz,_YO){for(var _7u=0;_7u<_26._GE1.length;_7u++){var _pB=_26._GE1[_7u];if(_pB._av[_Zz|_YO]){_pB._Kw2(_Zz|_YO)}}};_D82.prototype._I92=function(){var _xg=this._GE1;
for(var index=0;index<_xg.length;index++){var _pB=_xg[index];_pB._vs=_26._8g(_pB._LB);if(!_pB._vs)_pB._vs=null;for(var e=0;e<_pB._av.length;e++){var _1X1=_pB._av[e];if(_1X1){_pB._UU1[e]=true}}}for(var index=0;index<_xg.length;index++){var _Ml2=_xg[index];var _pB=_Ml2._vs;while(_pB!=null){for(var e=0;e<_pB._av.length;e++){var _1X1=_pB._av[e];if(_1X1){_Ml2._UU1[e]=true}}_pB=_pB._vs}}};function _qB(_Eq2){if(_Eq2===undefined){_Eq2=0}if(_Eq2===_OG){return _h6._rH().slice(0)}var _pB=_26._8g(_Eq2);if(_pB!=null){return _pB._6o2._xg.slice(0)}
var _sB=_aB._8g(_Eq2);if(_sB!=null){var _L7=[];_L7[0]=_sB;return _L7}return []}function _Nw2(){this._xg=[];this.length=0;this._H8=0;this._Ow2=-1}_Nw2.prototype._8g=function(_YO){return this._xg[_YO]};_Nw2.prototype._Qe=function(_Ec2){for(var _Q7=0;_Q7<this._xg.length;_Q7++){if(_Ec2._n4<this._xg[_Q7]._n4){this._xg.splice(_Q7,0,_Ec2);this._H8++;this.length=this._xg.length;return _Q7}}this._xg[this._xg.length]=_Ec2;this._H8++;this.length=this._xg.length;return this.length-1};_Nw2.prototype._Pw2=function(_Ec2){
if(this._Ow2<0){this._Ow2=this._xg.length}this._xg[this._xg.length]=_Ec2;this._H8++;this.length=this._xg.length;return this.length-1;};_Nw2.prototype._pq2=function(_Ec2){var _Q7=this._Ow2;if(_Q7<0)return;var _pg=[];while(_Q7<this._xg.length){_pg[_pg.length]=this._xg[_Q7];_Q7++}this._xg.splice(this._Ow2,this._xg.length-this._Ow2);for(_Q7=0;_Q7<_pg.length;_Q7++){this._Qe(_pg[_Q7])}this._Ow2=-1};_Nw2.prototype._KE=function(_Ec2){for(var _Q7=0;_Q7<this._xg.length;_Q7++){if(_Ec2==this._xg[_Q7]){this._xg.splice(_Q7,
1);this._H8--;this.length=this._xg.length;return true}}return false};_Nw2.prototype._6f=function(){this._xg=[];this.length=this._H8=0};_Nw2.prototype._8g=function(_YO){return this._xg[_YO]};_Nw2.prototype._SE=function(_Ec2){for(var _Q7=0;_Q7<this._xg.length;_Q7++){if(_Ec2==this._xg[_Q7]){return _Q7}}return -1};_Nw2.prototype._1g=function(_2g){this._xg=_2g._xg.slice();this.length=_2g.length;this._H8=_2g._H8;this._Ow2=_2g._Ow2};var _Qw2=0,_Rw2=1,_Sw2=2,_DU1=3,_xU1=4,_Tw2=5,_pU1=6,_Uw2=7,_sU1=8,_zU1=9,_mU1=10,
_Vw2=11,_Ww2=12,_FU1=13,_Xw2=14,_Yw2=0,_Zw2=1,__w2=2,_0x2=3,_1x2=4,_2x2=5,_3x2=0,_4x2=1,_5x2=2,_6x2=0,_7x2=1,_8x2=2,_9x2=3;function _ax2(){this._mw=_bx2;this._6f=_bx2;this._mw()}function _bx2(){this.__type="[ParticleType]";this.id=-1;this._cx2=true;this._dx2=-1;this._ex2=true;this._fx2=false;this._gx2=false;this._QY=_Qw2;this._hx2=1.0;this._ix2=1.0;this._jx2=0.0;this._kx2=0.0;this._pC=1.0;this._qC=1.0;this._lx2=100;this._mx2=100;this._nx2=0;this._ox2=0;this._px2=0;this._qx2=0;this._rx2=0.0;this._sx2=0.0;
this._tx2=0.0;this._ux2=0.0;this._vx2=0.0;this._wx2=0.0;this._xx2=0.0;this._yx2=0.0;this._zx2=0.0;this._Ax2=0.0;this._Bx2=0.0;this._Cx2=0.0;this._Dx2=0.0;this._Ex2=0.0;this._Fx2=270.0;this._Gx2=_Yw2;this._Hx2=[];this._Hx2[0]=_862;this._Hx2[1]=_862;this._Hx2[2]=_862;this._Ix2=1.0;this._Jx2=1.0;this._Kx2=1.0;this._Lx2=false}function _Mx2(){this._6f=_Nx2;this._mw=_Nx2;this._mw()}function _Nx2(){this._cx2=true;this._Ox2=0;this._Px2=0;this._Bm2=0.0;this._Cm2=0.0;this._Dm2=0.0;this._Em2=0.0;this._QY=_6x2;
this._Qx2=_3x2}function _Rx2(){this._Sx2=false;this._Px2=0;this._Tx2=0;this._Ux2=0;this.x=0;this.y=0;this._94=0;this._Vx2=0;this._Si2=0;this.color=0xffffff;this.alpha=1.0;this._u7=0;this._Wx2=0;this._Xx2=0;this.id=-1}function _Yx2(){this._6f=_Zx2;this._mw=_Zx2;this._mw()}function _Zx2(){this._cx2=false;this.__x2=[];this._0y2=[];this._1y2=true;this._n4=0.0;this._2y2=0.0;this._3y2=0.0;this._4y2=true;this._5y2=true;this._6y2=-1;this._7y2=-1;this._8y2=false}function _uU1(_Zb){var _J7=_gG();return _J7*_Zb}
function _9y2(_ay2,_by2,_cy2){var _Ni=_by2-_ay2;if(_Ni<=0)return _ay2;var _S7=0.0;var _ex=0.0;switch(_cy2){case _3x2:_ex=_ay2+_uU1(1)*_Ni;break;//Gaussian distribution, SD = 1, cutoff @ +/- 3
case _4x2:{do {_S7=(_uU1(1)-0.5)*6.0}while((exp(-(_S7*_S7)*0.5)<=_uU1(1)));_ex=_ay2+((_S7+3.0)*(1.0/6.0))*_Ni}break;//Inverse Gaussian distribution, SD = 1, cutoff @ +/- 3
case _5x2:{do {_S7=(_uU1(1)-0.5)*6.0}while(!(exp(-(_S7*_S7)*0.5)>_uU1(1)));if(_S7<0.0)_S7+=6.0;_ex=_ay2+(_S7*(1.0/6.0))*_Ni}break;default :_ex=_ay2+_uU1(1)*_Ni}
return _ex}function _dy2(__f,_Zb){var _Vx2;if(__f==0){if(_Zb>0){_Vx2=270;}else if(_Zb<0){_Vx2=90}else {_Vx2=0}}else {var _Iy=180.0*(Math.atan2(_Zb,__f))/Math.PI;if(_Iy<=0){_Vx2=-_Iy}else {_Vx2=360.0-_Iy}}return _Vx2-360.0*Math.floor(_Vx2/360.0)}function _ey2(_ZG,_fy2){return _fy2*Math.cos(_ZG*Math.PI/180.0)}function _gy2(_ZG,_fy2){return -_fy2*Math.sin(_ZG*Math.PI/180.0)}function _hy2(_iy2){var _jy2=_l62[_iy2._Px2];{if(_iy2._Tx2<=0||_iy2._Ux2<=0){switch(_jy2._Gx2){case _Yw2:_iy2.color=_jy2._Hx2[0];break;case _Zw2:_iy2.color=_jy2._Hx2[0];
break;case __w2:_iy2.color=_jy2._Hx2[0];break;case _0x2:{var _J7=~~(_9y2(_jy2._Hx2[0],_jy2._Hx2[1],_3x2));var _j9=~~(_9y2(_jy2._Hx2[2],_jy2._Hx2[3],_3x2));var _M7=~~(_9y2(_jy2._Hx2[4],_jy2._Hx2[5],_3x2));_iy2.color=(_J7<<16)+(_j9<<8)+_M7}break;case _1x2:{var _v4=~~(_9y2(_jy2._Hx2[0],_jy2._Hx2[1],_3x2));var _ps=~~(_9y2(_jy2._Hx2[2],_jy2._Hx2[3],_3x2));var _y9=~~(_9y2(_jy2._Hx2[4],_jy2._Hx2[5],_3x2));_iy2.color=0xffffff}break;case _2x2:_iy2.color=_Xb(_0v(_jy2._Hx2[0],_jy2._Hx2[1],_uU1(1)));break }}else {switch(_jy2._Gx2){
case _Zw2:{var _Cd=_iy2._Tx2/_iy2._Ux2;if(_Cd>1)_Cd=1;_iy2.color=_0v((_jy2._Hx2[0]),(_jy2._Hx2[1]),_Cd)}break;case __w2:{var _Cd=2.0*_iy2._Tx2/_iy2._Ux2;if(_Cd>2)_Cd=2;if(_Cd<1){_iy2.color=_0v(_jy2._Hx2[0],_jy2._Hx2[1],_Cd)}else {_iy2.color=_0v(_jy2._Hx2[1],_jy2._Hx2[2],_Cd-1)}}break }}}}function _ec1(_N6,_O6,_ky2){var _ex=new _Rx2;var _ly2=_l62[_ky2];if(_ly2==null||_ly2==undefined)return null;_ex._Sx2=true;_ex._Px2=_ky2;_ex.x=_N6;_ex.y=_O6;_ex._94=_9y2(_ly2._rx2,_ly2._sx2,0);_ex._Vx2=_9y2(_ly2._vx2,_ly2._wx2,
0);_ex._Si2=_9y2(_ly2._zx2,_ly2._Ax2,0);_ex._Ux2=_9y2(_ly2._lx2,_ly2._mx2,0);_ex._Tx2=0;_ex.color=0xffffff;_hy2(_ex);_ex.alpha=_ly2._Ix2;_ex._u7=_9y2(_ly2._hx2,_ly2._ix2,0);_ex._Lx2=_ly2._Lx2;if(_ly2._gx2){_ex._Wx2=_uU1(10000)}else {_ex._Wx2=0}_ex._Xx2=_uU1(100000);return _ex}function _th(){var _Ki=_l62.length;_l62[_Ki]=new _ax2();return _Ki}function _GI(_M6){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return false;_l62[_M6]=null;return true}function _KI(_M6){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return false;
_l62[_M6]._6f();return true}function _II(_M6){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return false;return true}function _MI(_M6,_ny2){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return;_my2._QY=_ny2;_my2._dx2=-1}function _OI(_M6,_oy2,_py2,_qy2,_ry2){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return;_my2._dx2=_oy2;_my2._ex2=_py2;_my2._fx2=_qy2;_my2._gx2=_ry2}function _QI(_M6,_sy2,_ty2,_uy2,_vy2){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return;_my2._hx2=_sy2;_my2._ix2=_ty2;_my2._jx2=_uy2;
_my2._kx2=_vy2;}function _SI(_M6,_4q,_5q){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return;_my2._pC=_4q;_my2._qC=_5q}function _iJ(_M6,_wy2,_xy2){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return;_my2._lx2=_wy2;_my2._mx2=_xy2}function _kJ(_M6,_yy2,_zy2){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return;_my2._ox2=_yy2;_my2._nx2=_zy2}function _mJ(_M6,_Ay2,_By2){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return;_my2._qx2=_Ay2;_my2._px2=_By2}function _qJ(_M6,_Cy2,_Dy2,_Ey2,_Fy2){var _my2=_l62[_M6];
if(_my2==null||_my2==undefined)return;_my2._rx2=_Cy2;_my2._sx2=_Dy2;_my2._tx2=_Ey2;_my2._ux2=_Fy2}function _sJ(_M6,_Gy2,_Hy2,_Iy2,_Jy2){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return;_my2._vx2=_Gy2;_my2._wx2=_Hy2;_my2._xx2=_Iy2;_my2._yx2=_Jy2}function _oJ(_M6,_Ky2,_Ly2,_My2,_Ny2,_Oy2){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return;_my2._zx2=_Ky2;_my2._Ax2=_Ly2;_my2._Bx2=_My2;_my2._Cx2=_Ny2;_my2._Dx2=_Oy2}function _uJ(_M6,_Py2,_Qy2){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return;
_my2._Ex2=_Py2;_my2._Fx2=_Qy2}function _7J(_M6,_Ry2,_Sy2,_Ty2,_Uy2,_Vy2,_Wy2){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return;_my2._Gx2=_0x2;_my2._Hx2[0]=_Ry2;_my2._Hx2[1]=_Sy2;_my2._Hx2[2]=_Ty2;_my2._Hx2[3]=_Uy2;_my2._Hx2[4]=_Vy2;_my2._Hx2[5]=_Wy2}function _vh(_M6,_Su,_Tu){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return;_my2._Gx2=_2x2;_my2._Hx2[0]=_Xb(_Su);_my2._Hx2[1]=_Xb(_Tu)}function _aJ(_M6,_Xy2,_Yy2,_Zy2,__y2,_0z2,_1z2){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return;_my2._Gx2=_1x2;
_my2._Hx2[0]=_Xy2;_my2._Hx2[1]=_Yy2;_my2._Hx2[2]=_Zy2;_my2._Hx2[3]=__y2;_my2._Hx2[4]=_0z2;_my2._Hx2[5]=_1z2}function _WI(_M6,_2z2){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return;_my2._Gx2=_Yw2;_my2._Hx2[0]=_Xb(_2z2)}function _wh(_M6,_2z2,_3z2){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return;_my2._Gx2=_Zw2;_my2._Hx2[0]=_Xb(_2z2);_my2._Hx2[1]=_Xb(_3z2)}function _0J(_M6,_2z2,_4z2,_3z2){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return;_my2._Gx2=(_v8===null)?_Yw2:__w2;_my2._Hx2[0]=_Xb(_2z2);
_my2._Hx2[1]=_Xb(_4z2);_my2._Hx2[2]=_Xb(_3z2)}function _dJ(_M6,_5z2){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return;_my2._Ix2=_5z2;_my2._Jx2=_5z2;_my2._Kx2=_5z2}function _xh(_M6,_5z2,_6z2){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return;_my2._Ix2=_5z2;_my2._Jx2=(_5z2+_6z2)/2.0;_my2._Kx2=_6z2}function _gJ(_M6,_5z2,_7z2,_6z2){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return;_my2._Ix2=_5z2;_my2._Jx2=_7z2;_my2._Kx2=_6z2}function _UI(_M6,_8z2){var _my2=_l62[_M6];if(_my2==null||_my2==undefined)return;
_my2._Lx2=_8z2}function _wJ(_lU1){var _9z2=_m62[_lU1];if(_9z2==null||_9z2==undefined)return -1;var _Ki=_9z2._0y2.length;_9z2._0y2[_Ki]=new _Mx2();return _Ki}function _yJ(_lU1,_M6){var _9z2=_m62[_lU1];if(_9z2==null||_9z2==undefined)return false;var _az2=_9z2._0y2[_M6];if(_az2==null||_az2==undefined)return false;_9z2._0y2[_M6]=null;return true}function _AJ(_lU1){var _9z2=_m62[_lU1];if(_9z2==null||_9z2==undefined)return false;_9z2._0y2=[];return true}function _CJ(_lU1,_M6){var _9z2=_m62[_lU1];if(_9z2==null||_9z2==undefined)return false;
var _az2=_9z2._0y2[_M6];if(_az2==null||_az2==undefined)return false;return true}function _EJ(_lU1,_M6){var _9z2=_m62[_lU1];if(_9z2==null||_9z2==undefined)return false;var _az2=_9z2._0y2[_M6];if(_az2==null||_az2==undefined)return false;_az2._mw()}function _GJ(_lU1,_M6,_bz2,_cz2,_dz2,_ez2,_ny2,_fz2){var _9z2=_m62[_lU1];if(_9z2==null||_9z2==undefined)return;var _az2=_9z2._0y2[_M6];if(_az2==null||_az2==undefined)return;_az2._Bm2=_bz2;_az2._Cm2=_cz2;_az2._Dm2=_dz2;_az2._Em2=_ez2;_az2._QY=_ny2;_az2._Qx2=_fz2}function _IJ(_lU1,
_M6,_gz2,_hz2){if(_hz2<0){var _gG=_uU1(-_hz2)|0;if(_gG==0){_hz2=1}else {return }}var _9z2=_m62[_lU1];if(_9z2==null||_9z2==undefined)return;var _az2=_9z2._0y2[_M6];if(_az2==null||_az2==undefined)return;for(var _Q7=0;_Q7<=_hz2-1;_Q7++){var _S7,_U7;var _iz2=false;while(_iz2==false){_S7=_9y2(0.0,1.0,_az2._Qx2);_U7=_9y2(0.0,1.0,_az2._Qx2);if((_az2._Qx2==_5x2)&&(_az2._QY!=_9x2)){if(_uU1()<0.5){_S7=_9y2(0.0,1.0,0)}else {_U7=_9y2(0.0,1.0,0)}}switch(_az2._QY){case _6x2:_iz2=true;break;case _7x2:{var _da=_S7-0.5;var _ea=_U7-0.5;
if((_da*_da+_ea*_ea)<=0.25)_iz2=true;break }case _8x2:if((Math.abs(_S7-0.5)+Math.abs(_U7-0.5))<=0.5)_iz2=true;break;case _9x2:_iz2=true;break;default :_iz2=true;break }}if(_az2._QY==_9x2){_wI(_lU1,_az2._Bm2+(_az2._Cm2-_az2._Bm2)*_S7,_az2._Dm2+(_az2._Em2-_az2._Dm2)*_S7,_gz2,1)}else {_wI(_lU1,_az2._Bm2+(_az2._Cm2-_az2._Bm2)*_S7,_az2._Dm2+(_az2._Em2-_az2._Dm2)*_U7,_gz2,1)}}}function _KJ(_lU1,_M6,_gz2,_hz2){var _9z2=_m62[_lU1];if(_9z2==null||_9z2==undefined)return;var _az2=_9z2._0y2[_M6];if(_az2==null||_az2==undefined)return;
_az2._Ox2=_hz2;_az2._Px2=_gz2}function _wI(_lU1,_N6,_O6,_ky2,_hz2){_hz2=~~_hz2;_ky2=~~_ky2;var _9z2=_m62[_lU1];if(_9z2==null||_9z2==undefined)return;var _ly2=_l62[_ky2];if(_ly2==null||_ly2==undefined)return false;for(var _Q7=0;_Q7<_hz2;_Q7++){var index=_9z2.__x2.length;_9z2.__x2[index]=_ec1(_N6,_O6,_ky2)}}function _yI(_lU1,_N6,_O6,_ky2,_ac,_hz2){var _9z2=_m62[_lU1];if(_9z2==null||_9z2==undefined)return;var _ly2=_l62[_ky2];if(_ly2==null||_ly2==undefined)return false;for(var _Q7=1;_Q7<=_hz2;_Q7++){var index=_9z2.__x2.length;
_9z2.__x2[index]=_ec1(_N6,_O6,_ky2);_9z2.__x2[index].color=_Xb(_ac)}}function _BI(_lU1){var _9z2=_m62[_lU1];if(_9z2==null||_9z2==undefined)return false;_9z2.__x2=[];return true}function _DI(_lU1){var _9z2=_m62[_lU1];if(_9z2==null||_9z2==undefined)return 0;return _9z2.__x2.length}function _sh(_JE,_pS1){if(_JE==undefined)_JE=-1;if(_pS1==undefined)_pS1=true;if(_j6){var _jz2=null;if(_JE==-1){_jz2=new _cD();_xE._fE(_h6,0,_jz2,true,true)}else {var _YD=_xE._XD();if(_YD!=null){_RD=_xE._CE(_YD,_JE);if(_RD!=null){_jz2=new _cD();
if(_YD==_h6){var _fq=_xE._cE(_h6,_RD,_jz2,true);if(_fq==-1){_xE._TD(_h6,_jz2._yC,true);_jz2=null}}else {_xE._fE(_h6,0,_jz2,true,true)}}}}if(_jz2==null)return -1}var _RD=null;var index=_m62.length;_m62[index]=new _Yx2();_m62[index].id=index;if(_j6){_m62[index]._6y2=-1;_m62[index]._7y2=-1}_m62[index]._6f();if(_j6){_jz2._dD=index;_m62[index]._6y2=_jz2._yC;_m62[index]._8y2=!_pS1;if(_JE!=-1){_RD=_xE._CE(_YD,_JE);_m62[index]._7y2=_JE;_m62[index]._n4=_RD._n4}}return index}function _eI(_lU1){var _9z2=_m62[_lU1];
if(_9z2==null||_9z2==undefined)return false;return true}function _cI(_lU1){var _9z2=_m62[_lU1];if(_9z2==null||_9z2==undefined)return;_gI(_lU1);_m62[_lU1]=null;return true}function _gI(_lU1){var _9z2=_m62[_lU1];if(_9z2==null||_9z2==undefined)return;if(_j6){if(_m62[_lU1]._6y2!==undefined){_xE._TD(_h6,_m62[_lU1]._6y2,true)}_m62[_lU1]._6y2=-1;_m62[_lU1]._7y2=-1;_m62[_lU1]._8y2=false}_9z2._6f()}function _iI(_lU1,_kz2){var _9z2=_m62[_lU1];if(_9z2==null||_9z2==undefined)return;_9z2._1y2=_kz2}function _kI(_lU1,_Ug){
var _9z2=_m62[_lU1];if(_9z2==null||_9z2==undefined)return;_9z2.id=_lU1;_9z2._n4=_Ug;_h6._lz2.push({_mz2:_9z2,type:0})}function _mI(_lU1,_N6,_O6){var _9z2=_m62[_lU1];if(_9z2==null||_9z2==undefined)return;_9z2._2y2=_N6;_9z2._3y2=_O6}function _oI(_lU1,_nz2){var _9z2=_m62[_lU1];if(_9z2==null||_9z2==undefined)return;_9z2._4y2=_nz2}function _qI(_lU1,_nz2){var _9z2=_m62[_lU1];if(_9z2==null||_9z2==undefined)return;_9z2._5y2=_nz2}function _oz2(_lU1){var _Q7=0;var _F7=0;var _Ki=0;var _9z2=_m62[_lU1];var _pz2=_9z2.__x2;
_Q7=0;while(_Q7<_pz2.length){var _qz2=_pz2[_Q7];var _ly2=_l62[_qz2._Px2];_qz2._Tx2++;if(_qz2._Tx2>=_qz2._Ux2){_F7=_ly2._qx2;if(_F7<0){if(_uU1(-_F7)==0)_F7=1}if(_F7>0){_wI(_lU1,_qz2.x,_qz2.y,_ly2._px2,_F7)}_pz2.splice(_Q7,1)}else {_F7=_ly2._ox2;if(_F7<0){if(_uU1(-_F7)==0)_F7=1}if(_F7>0){_wI(_lU1,_qz2.x,_qz2.y,_ly2._nx2,_F7)}_Q7++}}}function _rz2(_lU1){var _Q7=0;var _R7=0;var _o4=0.0;var _p4=0.0;var _mv=0.0;var _ya=0.0;var _sz2=0.0;var _lg1=0.0;var _tz2=0.0;var _uz2=0.0;var _vz2=0.0;var _7K1=0.0;var _wz2=0.0;var _9z2=_m62[_lU1];
var _pz2=_9z2.__x2;for(_Q7=0;_Q7<_pz2.length;_Q7++){var _qz2=_pz2[_Q7];var _ly2=_l62[_qz2._Px2];_qz2._94=_qz2._94+_ly2._tx2;if(_qz2._94<0)_qz2._94=0;_qz2._Vx2=_qz2._Vx2+_ly2._xx2;_qz2._Si2=_qz2._Si2+_ly2._Bx2;_uz2=0;_vz2=0;if((_ly2._Ex2!=0)||(_9z2._vF>0)){_o4=_ey2(_qz2._Vx2,_qz2._94);_p4=_gy2(_qz2._Vx2,_qz2._94);if(_ly2._Ex2!=0){_mv=_ey2(_ly2._Fx2,_ly2._Ex2);_ya=_gy2(_ly2._Fx2,_ly2._Ex2);_o4=_o4+_mv;_p4=_p4+_ya}_qz2._Vx2=_dy2(_o4,_p4);_qz2._94=Math.sqrt(_o4*_o4+_p4*_p4)}_7K1=((_qz2._Tx2+3*_qz2._Xx2)%24)/6.0;
if(_7K1>2.0){_7K1=4.0-_7K1}_7K1=_7K1-1.0;_wz2=((_qz2._Tx2+4*_qz2._Xx2)%20)/5.0;if(_wz2>2.0){_wz2=4.0-_wz2}_wz2=_wz2-1.0;_o4=_ey2(_qz2._Vx2+_7K1*_ly2._yx2,_qz2._94+_wz2*_ly2._ux2);_p4=_gy2(_qz2._Vx2+_7K1*_ly2._yx2,_qz2._94+_wz2*_ly2._ux2);_qz2.x=_qz2.x+_o4+_uz2;_qz2.y=_qz2.y+_p4+_vz2}}function _xz2(_lU1){var _9z2=_m62[_lU1];var _pz2=_9z2.__x2;for(var _Q7=0;_Q7<_pz2.length;_Q7++){var _qz2=_pz2[_Q7];var _ly2=_l62[_qz2._Px2];_qz2._u7=_qz2._u7+_ly2._jx2;if(_qz2._u7<0){_qz2._u7=0}_hy2(_qz2);var _yz2;if(_qz2._Ux2>0){
_yz2=2.0*_qz2._Tx2/_qz2._Ux2}else {_yz2=1}if(_yz2<1){_qz2.alpha=_ly2._Ix2*(1.0-_yz2)+_ly2._Jx2*_yz2}else {_qz2.alpha=_ly2._Jx2*(2.0-_yz2)+_ly2._Kx2*(_yz2-1);}}}function _sI(_lU1){var _9z2=_m62[_lU1];if(_9z2==null||_9z2==undefined)return 0;_oz2(_lU1);_rz2(_lU1);_xz2(_lU1);var _zz2=_9z2._0y2;if(_zz2){for(var _Q7=0;_Q7<_zz2.length;_Q7++){if(_zz2[_Q7]!=null&&_zz2[_Q7]._Ox2!=0){_IJ(_lU1,_Q7,_zz2[_Q7]._Px2,_zz2[_Q7]._Ox2)}}}}function _Az2(){for(var _Q7=0;_Q7<_m62.length;_Q7++){var _9z2=_m62[_Q7];if(_9z2!=null){
if(_9z2._4y2){_sI(_Q7)}}}}function _Bz2(_iy2,_NJ,_OJ){var _MP=null;var _Ay1=null;if(_iy2._Ux2<=0)return;var _ly2=_l62[_iy2._Px2];_MP=_ZO._8g(_ly2._dx2);if(_MP==null){var _QY=_ly2._QY;if((_QY>=0)&&(_QY<_Xw2)){_Ay1=_k62[_QY];if(_Ay1==null){return }}else {return }}var _r7;if(_Ay1!=null){}else {if(_MP._Ar<=0)return;if(!_ly2._ex2){_r7=_iy2._Wx2}else if(_ly2._fx2){_r7=_iy2._Wx2+(_MP._F7*_iy2._Tx2/_iy2._Ux2)}else {_r7=_iy2._Wx2+_iy2._Tx2}}var _J7=((_iy2._Tx2+2*_iy2._Xx2)%16)/4.0;if(_J7>2.0)_J7=4.0-_J7;_J7=_J7-1.0;var _xK1=_iy2._Si2;
if(_ly2._Dx2)_xK1=_xK1+_iy2._Vx2;_xK1=_xK1+_J7*_ly2._Cx2;_J7=((_iy2._Tx2+_iy2._Xx2)%16)/4.0;if(_J7>2.0)_J7=4.0-_J7;_J7=_J7-1.0;_7z(_iy2._Lx2?1:0);var _ps=_iy2._u7+_J7*_ly2._kx2;var _Qt=_iy2.color;if(_Ay1!=null){var _pC,_qC,_Si2;var _ki2=_ly2._pC*_ps;var _li2=_ly2._qC*_ps;var _Cz2=_xK1;var _Dz2=~~(_iy2.x+_NJ);var _Ez2=~~(_iy2.y+_OJ);if(_ki2==1&&_li2==1&&_Cz2==0&&_iy2.color==0xffffff){_3j2(_Ay1,_Dz2,_Ez2,_iy2.alpha)}else {_aj2(_Ay1,0,0,_Dz2,_Ez2,_ki2,_li2,_Cz2*0.017453293,_Qt,_Qt,_Qt,_Qt,_iy2.alpha)}}else {
_MP._a9(_r7,_iy2.x+_NJ,_iy2.y+_OJ,_l62[_iy2._Px2]._pC*_ps,_l62[_iy2._Px2]._qC*_ps,_xK1,_Qt,_iy2.alpha)}}function _uI(_lU1){var _9z2=_m62[_lU1];if(_9z2==null||_9z2==undefined)return;var src,_Sk;if(_v8!=null){src=_Fz2;_Sk=_Gz2}var _pz2=_9z2.__x2;if(_9z2._1y2){for(var _Q7=0;_Q7<_9z2.__x2.length;_Q7++){_Bz2(_pz2[_Q7],_9z2._2y2,_9z2._3y2)}}else {for(var _Q7=_9z2.__x2.length-1;_Q7>=0;_Q7--){_Bz2(_pz2[_Q7],_9z2._2y2,_9z2._3y2)}}if(_v8!=null){_9z(src,_Sk)}else {_7z(0)}}function _Hz2(_Iz2){for(var _Q7=0;_Q7<_m62.length;
_Q7++){var _9z2=_m62[_Q7];if(_9z2!=null){if(_9z2._5y2){if(Math.abs(_9z2._n4-_Iz2)<0.01)_uI(_Q7)}}}}function _Jz2(){if(_j6){for(var _Q7=0;_Q7<_m62.length;_Q7++){var _9z2=_m62[_Q7];if(_9z2!=null){if(_9z2._6y2==-1){var _jz2=new _cD();_jz2._dD=_Q7;if(_9z2._7y2!=-1){var _RD=_xE._CE(_h6,_9z2._7y2);if(_RD!=null){_9z2._6y2=_xE._cE(_h6,_RD,_jz2,true)}}if(_9z2._6y2==-1){_9z2._6y2=_xE._fE(_h6,_9z2._n4,_jz2,true,true)}}}}}};function _Kz2(){if(_j6){for(var _Q7=0;_Q7<_m62.length;_Q7++){var _9z2=_m62[_Q7];if(_9z2!=null){
if(_9z2._6y2!=-1){_xE._TD(_h6,_m62[_Q7]._6y2,true);_9z2._6y2=-1}if(_9z2._8y2==true){_cI(_Q7)}}}}}function _Lz2(_lU1){if(true==_eI(_lU1)){var _9z2=_m62[_lU1];if(_9z2!=null){if(_9z2._5y2){_uI(_lU1)}}}};function _Mz2(){var _ex=-1000000000;for(var _Q7=0;_Q7<_m62.length;_Q7++){var _9z2=_m62[_Q7];if(_9z2!=null&&_9z2.__x2.length>0){if(_9z2._5y2){if(_9z2._n4>_ex)_ex=_9z2._n4}}}return _ex}function _Nz2(_Iz2){var _ex=-1000000000;for(var _Q7=0;_Q7<_m62.length;_Q7++){var _9z2=_m62[_Q7];if(_9z2!=null&&_9z2.__x2.length>0){
if(_9z2._5y2){if((_9z2._n4>_ex)&&(_9z2._n4<_Iz2))_ex=_9z2._n4}}}return _ex}var _Oz2=0,_Pz2=1;var _Qz2=0;function _Rz2(_N6,_O6,__G){this.x=_N6;this.y=_O6;this._94=__G;this._H7=0}function _Sz2(){this.__type="[Path]";this.name="";this.id=_Qz2++;this._Ea=0;this._1j=1;this._Tz2=4;this._6f()}_Sz2.prototype._6f=function(){this._y11=[];this._Uz2=[];this._H8=0;this._Vz2=0;this.length=0};_Sz2.prototype._Wz2=function(){var _Q7=0;this.length=0;if(this._Vz2<=0)return;this._Uz2[0]._H7=0;for(_Q7=1;_Q7<this._Vz2;_Q7++){
this._Uz2[_Q7]._H7=this.length=this.length+sqrt(_Ro(this._Uz2[_Q7].x-this._Uz2[_Q7-1].x)+_Ro(this._Uz2[_Q7].y-this._Uz2[_Q7-1].y))}};_Sz2.prototype._Xz2=function(_ll2,_ml2,_Yz2){this._Vz2++;var _Zz2=new _Rz2();this._Uz2[this._Vz2-1]=_Zz2;_Zz2.x=_ll2;_Zz2.y=_ml2;_Zz2._94=_Yz2};_Sz2.prototype.__z2=function(){this._Vz2=0;if(this._H8<=0)return;for(var _Q7=0;_Q7<this._H8;_Q7++){this._Xz2(this._y11[_Q7].x,this._y11[_Q7].y,this._y11[_Q7]._94)}if(this._1j){this._Xz2(this._y11[0].x,this._y11[0].y,this._y11[0]._94)}
};_Sz2.prototype._0A2=function(_Ug,_18,_28,_9q,_m7,_n7,_aq,_ly,_my,_1A2){if(_Ug==0)return;var _78=(_18+_m7+_m7+_ly)/4.0;var _88=(_28+_n7+_n7+_my)/4.0;var _Cp=(_9q+_aq+_aq+_1A2)/4.0;if(_Ro(_m7-_18)+_Ro(_n7-_28)>16.0){this._0A2(_Ug-1,_18,_28,_9q,(_m7+_18)/2.0,(_n7+_28)/2.0,(_aq+_9q)/2.0,_78,_88,_Cp)}this._Xz2(_78,_88,_Cp);if(_Ro(_m7-_ly)+_Ro(_n7-_my)>16.0){this._0A2(_Ug-1,_78,_88,_Cp,(_ly+_m7)/2.0,(_my+_n7)/2.0,(_1A2+_aq)/2.0,_ly,_my,_1A2)}};_Sz2.prototype._2A2=function(){var _Q7=0;var _r7=0;this._Vz2=0;
if(this._H8<=0)return;if(!this._1j){this._Xz2(this._y11[0].x,this._y11[0].y,this._y11[0]._94)}if(this._1j){_r7=this._H8-1}else {_r7=this._H8-3}for(_Q7=0;_Q7<=_r7;_Q7++){var _0b1=this._y11[_Q7%this._H8];var _1b1=this._y11[(_Q7+1)%this._H8];var _3A2=this._y11[(_Q7+2)%this._H8];this._0A2(this._Tz2,(_0b1.x+_1b1.x)/2.0,(_0b1.y+_1b1.y)/2.0,(_0b1._94+_1b1._94)/2.0,_1b1.x,_1b1.y,_1b1._94,(_1b1.x+_3A2.x)/2.0,(_1b1.y+_3A2.y)/2.0,(_1b1._94+_3A2._94)/2.0)}if(!this._1j){this._Xz2(this._y11[this._H8-1].x,this._y11[this._H8-1].y,
this._y11[this._H8-1]._94)}else {this._Xz2(this._Uz2[0].x,this._Uz2[0].y,this._Uz2[0]._94)}};_Sz2.prototype._4A2=function(){if(this._Ea==1){this._2A2()}else {this.__z2()}this._Wz2()};function _Y92(_8d2){var _QJ=new _Sz2();if((_8d2!=undefined)&&(_8d2!=null)){if(_8d2._Tz2!=undefined){_QJ._Tz2=_8d2._Tz2}if(_8d2._1j!=undefined){_QJ._1j=_8d2._1j}if(_8d2._Ea!=undefined){_QJ._Ea=_8d2._Ea}if(_8d2._U3!=undefined){_QJ.name=_8d2._U3}if(_8d2._y11!=undefined){_QJ._H8=_8d2._y11.length}for(var _tx=0;_tx<_8d2._y11.length;
_tx++){var _5A2=_8d2._y11[_tx];var _6A2=new _Rz2(_5A2.x,_5A2.y,_5A2._94);_QJ._y11[_QJ._y11.length]=_6A2}_QJ._4A2()}return _QJ}var _7A2=new _Rz2(0,0,100);_Sz2.prototype._VJ=function(_M6){var _vg=0;if(this._Vz2<=0){_7A2.x=0;_7A2.y=0;_7A2._94=0;return _7A2}if((this._Vz2==1)||(this.length==0)||(_M6<=0)){return this._Uz2[0]}if(_M6>=1){return this._Uz2[this._Vz2-1]}var _H7=this.length*_M6;_vg=0;while((_vg<this._Vz2-2)&&(_H7>=this._Uz2[_vg+1]._H7)){_vg++}var _vn2=this._Uz2[_vg];_H7=_H7-_vn2._H7;var _u4=this._Uz2[_vg+1]._H7-_vn2._H7;
if(_u4!=0){_vg++;_7A2.x=_vn2.x+_H7*(this._Uz2[_vg].x-_vn2.x)/_u4;_7A2.y=_vn2.y+_H7*(this._Uz2[_vg].y-_vn2.y)/_u4;_7A2._94=_vn2._94+_H7*(this._Uz2[_vg]._94-_vn2._94)/_u4;_vn2=_7A2}return _vn2};_Sz2.prototype._8A2=function(_M6){var _tx=this._VJ(_M6);return _tx.x};_Sz2.prototype._9A2=function(_M6){var _tx=this._VJ(_M6);return _tx.y};_Sz2.prototype._aA2=function(_NJ,_OJ){for(var _Q7=0;_Q7<=this._H8-1;_Q7++){this._y11[_Q7].x+=_NJ;this._y11[_Q7].y+=_OJ}this._4A2()};_Sz2.prototype._bA2=function(){var _Bm2=100000000;
var _Cm2=-100000000;var _Dm2=100000000;var _Em2=-100000000;for(var _Q7=0;_Q7<=this._H8-1;_Q7++){if(this._y11[_Q7].x<_Bm2)_Bm2=this._y11[_Q7].x;if(this._y11[_Q7].x>_Cm2)_Cm2=this._y11[_Q7].x;if(this._y11[_Q7].y<_Dm2)_Dm2=this._y11[_Q7].y;if(this._y11[_Q7].y>_Em2)_Em2=this._y11[_Q7].y}return new _Rz2((_Bm2+_Cm2)/2.0,(_Dm2+_Em2)/2.0,0)};_Sz2.prototype._cA2=function(_ll2,_ml2,_Yz2){var _5A2=new _Rz2(_ll2,_ml2,_Yz2);if(!this._y11)this._y11=[];this._y11[this._y11.length]=_5A2;this._H8++;this._4A2()};function _K82(){
this._M3=[];_Qz2=0}_K82.prototype._Qe=function(_dA2){this._M3[_dA2.id]=_dA2;};_K82.prototype._KE=function(_dA2){this._M3[_dA2.id]=undefined};function _eA2(_Ug){this._n4=_Ug;this._W3=true;this._fA2=new _ig()}_eA2.prototype._Qe=function(_gA2){this._fA2._Qe(_gA2)};_eA2.prototype._KE=function(_gA2){this._fA2._DD(_gA2)};_eA2.prototype._a9=function(_lj2){if(!this._W3){return }var _xg=this._fA2._xg;for(var index=0;index<_xg.length;index++){var _hA2=_xg[index];if(_hA2!=null){var _1o1=_hA2.x+(_hA2._pC*_hA2._u4),
_iA2=_hA2.y+(_hA2._qC*_hA2._v4);var _w7=(_hA2.x<_1o1)?_hA2.x:_1o1,_y7=(_hA2.x>_1o1)?_hA2.x:_1o1,_x7=(_hA2.y<_iA2)?_hA2.y:_iA2,_z7=(_hA2.y>_iA2)?_hA2.y:_iA2;if((_w7<=_lj2.right)&&(_x7<=_lj2.bottom)&&(_y7>=_lj2.left)&&(_z7>=_lj2.top)){_hA2._a9()}}}};_eA2.prototype._rH=function(){return this._fA2._xg};function _jA2(){this._kA2=new _Nw2();this._lA2=-1}_jA2.prototype._8g=function(_Ug){var _mA2;for(var index=0;index<this._kA2._H8;index++){_mA2=this._kA2._8g(index);if(_mA2._n4==_Ug)return _mA2}return null};_jA2.prototype._KE=function(_Ug){
var _mA2=this._8g(_Ug);if(_mA2){this._kA2._KE(_mA2)}};_jA2.prototype._Qe=function(_gA2){var _mA2;_mA2=this._8g(_gA2._n4);if(!_mA2){_mA2=new _eA2(_gA2._n4);this._kA2._Qe(_mA2)}_mA2._Qe(_gA2)};_jA2.prototype._nA2=function(_gA2){var _mA2=this._8g(_gA2._n4);if(_mA2){_mA2._KE(_gA2)}};_jA2.prototype._oA2=function(){this._lA2=this._kA2.length-1;return this._kA2._8g(this._lA2)};_jA2.prototype._J81=function(){this._lA2--;if(this._lA2<0)return null;return this._kA2._8g(this._lA2)};function _pA2(){this._cd1=[];this.offset=0;
this._Vc1=_pA2.prototype._qA2;this._Uc1=_pA2.prototype._rA2};_pA2.prototype.Length=function(){return(this._cd1.length-this.offset)};_pA2.prototype._sA2=function(){return(this._cd1.length==0)};_pA2.prototype._rA2=function(_Fc2){this._cd1.push(_Fc2)};_pA2.prototype._qA2=function(){if(this._sA2())return undefined;var _Rg=this._cd1[this.offset];if((++this.offset*2)>=this._cd1.length){this._cd1=this._cd1.slice(this.offset);this.offset=0}return _Rg};function _R92(){this.id=_Y62++;this._zD()};_R92.prototype._zD=function(){
this.__type="[Room]";this._tA2="";this._uA2="";this._vA2=30;this._cF=1024;this._eF=768;this._Dw2=false;this._wA2=false;this._xA2=0xc0c0c0;this._yA2=true;this._zA2=true;this._AA2=true;this._BA2=[];for(var _L7=0;_L7<_S52;_L7++){this._BA2[_L7]=null}this._hf=false;this._CA2=null;this._vB=new _Nw2();this._DA2=new _ig();this._DA2._jg=true;this._Pl2=[];this._EA2=[];this._lz2=[];this._FA2=0;this._GA2=[];this._HA2=new _jA2();this._jf=[];this._IA2=[];this._UK=null;this._FC="Room";this._xK=null;this._VD=new _Nw2()}
;_R92.prototype._yT1=function(){return this._cF};_R92.prototype._P_=function(){return this._eF};_R92.prototype._i6=function(){return this._vA2};_R92.prototype._qS1=function(){return this._Dw2};_R92.prototype._rH=function(){return this._vB._xg};_R92.prototype._JA2=function(_o6){this._cF=_o6;_X5._sg2=_o6};_R92.prototype._KA2=function(_o6){this._eF=_o6;_X5._tg2=_o6};_R92.prototype._LA2=function(_o6){this._vA2=_o6;_X5._vg2=_o6};_R92.prototype._MA2=function(_t6){this._FC=_t6};_R92.prototype._NA2=function(_OA2){
this._uA2=_OA2;_X5._ug2=_OA2;};_R92.prototype._oS1=function(_o6){this._Dw2=_o6;_X5._wg2=_o6};_R92.prototype._PA2=function(){this._UK={_U3:"room_empty_"+this.id,width:640,height:480,_e4:[{},{},{},{},{},{},{},{}],_f4:[{},{},{},{},{},{},{},{}],_k4:[],_l4:[]};this._QA2(this._UK)};_R92.prototype._RA2=function(_8d2){if(_8d2!=null){this._UK.width=_8d2.width;this._UK.height=_8d2.height;this._UK._a4=_8d2._a4;this._UK._c4=_8d2._c4;this._UK._SA2=_8d2._SA2;this._UK._d4=_8d2._d4;this._UK._TA2=_8d2._TA2;this._UK._94=_8d2._94;
this._UK._tl2=_8d2._tl2;for(var _Q7=0;_Q7<_8d2._e4.length;_Q7++){var _UA2=_8d2._e4[_Q7];if(_UA2!=null){this._UK._e4[_Q7]={_W3:_UA2._W3,index:_UA2.index,_p4:_UA2._p4,_o4:_UA2._o4,_mC:_UA2._mC,x:_UA2.x,y:_UA2.y,_nC:_UA2._nC,_oC:_UA2._oC,_rC:_UA2._rC,alpha:_UA2.alpha,_sC:_UA2._sC}}}for(var _Q7=0;_Q7<_8d2._f4.length;_Q7++){var _VA2=_8d2._f4[_Q7];if(_VA2){this._UK._f4[_Q7]={_W3:_VA2._W3,_cz:_VA2._cz,_dz:_VA2._dz,_g4:_VA2._g4,_h4:_VA2._h4,_WA2:_VA2._WA2,_XA2:_VA2._XA2,_i4:_VA2._i4,_j4:_VA2._j4,_YS1:_VA2._YS1,
__S1:_VA2.__S1,_o4:_VA2._o4,_p4:_VA2._p4,index:_VA2.index}}}this._UK._k4=new Array(_8d2._k4.length);for(var _Q7=0;_Q7<_8d2._k4.length;_Q7++){var _YA2=_8d2._k4[_Q7];if(_YA2){this._UK._k4[_Q7]={x:_YA2.x,y:_YA2.y,index:_YA2.index,id:_YA2.id,rotation:_YA2._qE1,scaleX:_YA2.scaleX,scaleY:_YA2.scaleY,_a4:_YA2._Bl2,_ZA2:_YA2._ZA2}}}this._UK._l4=new Array(_8d2._l4.length);for(var _Q7=0;_Q7<_8d2._l4.length;_Q7++){var __A2=_8d2._l4[_Q7];if(__A2!=null){this._UK._l4[_Q7]={x:__A2.x,y:__A2.y,index:__A2.index,_0B2:__A2._0B2,
_1B2:__A2._1B2,_u4:__A2._u4,_v4:__A2._v4,_n4:__A2._n4,id:__A2.id}}}}};_R92.prototype._QA2=function(_2B2){this._zD();this._UK=_2B2;if(_2B2._U3!=undefined)this._MA2(_2B2._U3);if(_2B2._TA2!=undefined)this._NA2(_2B2._TA2);if(_2B2.width!=undefined)this._JA2(_2B2.width);if(_2B2.height!=undefined)this._KA2(_2B2.height);if(_2B2._94!=undefined)this._LA2(_2B2._94);if(_2B2._tl2!=undefined)this._oS1(_2B2._tl2);if(_2B2._a4!=undefined)this._xA2=_2B2._a4;if(_2B2._c4!=undefined)this._yA2=_2B2._c4;if(_2B2._SA2!=undefined)this._hf=_2B2._SA2;
if(_2B2._d4!=undefined)this._zA2=_2B2._d4;if(_2B2._3B2!=undefined)this._AA2=_2B2._3B2;this._JA2(this._cF);this._KA2(this._eF);this._LA2(this._vA2);this._NA2(this._uA2);this._oS1(this._Dw2);this._jf=[];this._FA2=0;for(var index=0;index<_2B2._l4.length;index++){var _4B2=_2B2._l4[index];if(_4B2!=null){var _hA2=_5B2(_4B2);this._HA2._Qe(_hA2);this._GA2[_hA2.id]=_hA2;this._FA2++}}if(_2B2._ZA2!=undefined)this._CA2=_2B2._ZA2;for(var _y9=0;_y9<_2B2._f4.length;_y9++){this._jf[_y9]=_6B2(_2B2._f4[_y9])}if(_2B2._b4!=undefined){
if(_2B2._b4>0){_xE._9F(this,_2B2._m4)}}};_R92.prototype._7B2=function(){if(this._UK._8B2){if(_j6){this._xK=new _uD1(this._UK._9B2,_k6._l6())}else {this._xK=new _uD1(this._UK._9B2,this._i6())}this._xK._fb1(this._UK._aB2,this._UK._bB2)}};_R92.prototype._cB2=function(_dB2){var _Q7;var _eB2=0;var _fB2=[];for(_Q7=this._vB.length-1;_Q7>=0;_Q7--){var _rB=this._vB._8g(0);if(_dB2){_rB._67(_nB,0,_rB,_rB)}this._gB2(_rB)}for(_Q7=this._DA2.length-1;_Q7>=0;_Q7--){this._gB2(this._DA2._8g(0))}};_R92.prototype._fy1=function(index){
if(this._jf!=undefined){var _no=this._jf[index];if(_no!=undefined)return _no}return undefined};_R92.prototype._hB2=function(_N6,_O6,_iB2){return this._zE(_N6,_O6,_372++,_iB2,false,0)};_R92.prototype._jB2=function(_N6,_O6,_5g,_yB,_kB2,_lB2,_Yz1,_Vb){var _mB2=new _9T1(_N6,_O6,_5g,_yB,true);this._vB._Pw2(_mB2);_aB._Qe(_mB2);if(_kB2!=undefined)_mB2._zl2=_kB2;if(_lB2!=undefined)_mB2._Al2=_lB2;if(_Yz1!=undefined)_mB2._qE1=_Yz1;if(_Vb!=undefined){_mB2._Bl2=_Vb&0xffffff;_mB2._eh=((_Vb>>24)&0xff)/255.0}if(_j6){
var _ZE=_xE._1F(this,_5g);if(_ZE==null){_xE._zE(this,_mB2)}else {_xE._8E(this,_ZE._RD,_ZE._zc)}}_mB2._Zl2();return _mB2};_R92.prototype._zE=function(_N6,_O6,_5g,_yB,_nB2,_Ug){var _mB2=new _9T1(_N6,_O6,_5g,_yB,true);this._vB._Pw2(_mB2);_aB._Qe(_mB2);if(_nB2){_mB2._n4=_Ug}this._EA2.push({_rB:_mB2,type:0});_mB2._Zl2();return _mB2};_R92.prototype._oB2=function(_N6,_O6,_BD,_5g,_yB){var _mB2=new _9T1(_N6,_O6,_5g,_yB,true);_mB2._n4=_BD._n4;this._vB._Pw2(_mB2);_aB._Qe(_mB2);_mB2._Zl2();this._EA2.push({_rB:_mB2,
type:1,_RD:_BD});return _mB2};_R92.prototype._pB2=function(){var index=0;for(var _Q7=0;_Q7<this._jf.length;_Q7++){var _kf=this._jf[_Q7];_X5._Qg2[index]=_kf._W3;_X5._Rg2[index]=_kf._uQ;_X5._Sg2[index]=_kf._wQ;_X5._Tg2[index]=_kf._yQ;_X5._Ug2[index]=_kf._AQ;_X5._Vg2[index]=_kf._qB2;_X5._Wg2[index]=_kf._rB2;_X5._Xg2[index]=_kf._sB2;_X5._Yg2[index]=_kf._tB2;_X5._Zg2[index]=_kf.angle;_X5.__g2[index]=_kf._YS1;_X5._0h2[index]=_kf.__S1;_X5._1h2[index]=_kf._o4;_X5._2h2[index]=_kf._p4;_X5._3h2[index]=_kf._2T1;
_X5._xh2[index]=_kf._uB2;_X5._yh2[index]=_kf._8V1;index++}};_R92.prototype._vB2=function(){var index=0;for(var _Q7=0;_Q7<this._jf.length;_Q7++){var _kf=this._jf[_Q7];_kf._W3=_X5._Qg2[index];_kf._uQ=_X5._Rg2[index];_kf._wQ=_X5._Sg2[index];_kf._yQ=_X5._Tg2[index];_kf._AQ=_X5._Ug2[index];_kf._qB2=_X5._Vg2[index];_kf._rB2=_X5._Wg2[index];_kf._sB2=_X5._Xg2[index];_kf._tB2=_X5._Yg2[index];_kf.angle=_X5._Zg2[index];_kf._YS1=_X5.__g2[index];_kf.__S1=_X5._0h2[index];_kf._o4=_X5._1h2[index];_kf._p4=_X5._2h2[index];
_kf._2T1=_X5._3h2[index];_kf._uB2=_X5._xh2[index];_kf._8V1=_X5._yh2[index];index++}};_R92.prototype._wB2=function(){for(var _Q7=0;_Q7<_Ch._Bh.length;_Q7++){var _Fh=_Ch._8g(_Q7);_Fh._o4=_X5._Kg2[_Q7];_Fh._p4=_X5._Lg2[_Q7];_Fh.x=_X5._Cg2[_Q7];_Fh.y=_X5._Dg2[_Q7];_Fh.x+=_Fh._o4;_Fh.y+=_Fh._p4;_X5._Cg2[_Q7]=_Fh.x;_X5._Dg2[_Q7]=_Fh.y}};_R92.prototype._xB2=function(){var _Q7;var _H7,_L7,_IT1,_JT1;var _kf;var _sB;if(!this._hf)return;this._vB2();for(_Q7=0;_Q7<this._jf.length;_Q7++){_kf=this._jf[_Q7];if(!_kf._W3)continue;
if(_j6&&_v8==null){if(_kf._8V1!=-1){var _MS1=_7V1._tS1(_kf._8V1);if(_MS1!=null){_kf._2T1=_MS1._eS1}}}if(_j6){if(_kf._8V1!=-1){var _MS1=_7V1._tS1(_kf._8V1);if(_MS1!=null){_MS1._7f()}}}else if((_kf._W3)&&(_kf._2T1>=0)){_sB=null;if(_kf._2T1<100000){var _pB=_26._8g(_kf._2T1);if(_pB!=null){var _xg=_pB._NK();for(var _7u=0;_7u<_xg.length;_7u++){_sB=_xg[_7u];if(!_sB._oB)break;_sB=null}}}else {_sB=_aB._8g(_kf._2T1);if(!_sB&&_sB._oB)_sB=null}if(_sB!=null){_H7=_kf._uQ;_L7=_kf._wQ;_IT1=_sB.x;_JT1=_sB.y;if(2*_kf._YS1>=_kf._yQ){
_H7=_IT1-_kf._yQ/2}else if(_IT1-_kf._YS1<_kf._uQ){_H7=_IT1-_kf._YS1}else if(_IT1+_kf._YS1>_kf._uQ+_kf._yQ){_H7=_IT1+_kf._YS1-_kf._yQ}if(2*_kf.__S1>=_kf._AQ){_L7=_JT1-_kf._AQ/2}else if(_JT1-_kf.__S1<_kf._wQ){_L7=_JT1-_kf.__S1;}else if(_JT1+_kf.__S1>_kf._wQ+_kf._AQ){_L7=_JT1+_kf.__S1-_kf._AQ}if(_H7<0)_H7=0;if(_H7+_kf._yQ>this._cF)_H7=this._cF-_kf._yQ;if(_L7<0)_L7=0;if(_L7+_kf._AQ>this._eF)_L7=this._eF-_kf._AQ;if(_kf._o4>=0){if((_H7<_kf._uQ)&&(_kf._uQ-_H7>_kf._o4))_H7=_kf._uQ-_kf._o4;if((_H7>_kf._uQ)&&(_H7-_kf._uQ>_kf._o4))_H7=_kf._uQ+_kf._o4}
if(_kf._p4>=0){if((_L7<_kf._wQ)&&(_kf._wQ-_L7>_kf._p4))_L7=_kf._wQ-_kf._p4;if((_L7>_kf._wQ)&&(_L7-_kf._wQ>_kf._p4))_L7=_kf._wQ+_kf._p4;}_kf._uQ=_H7;_kf._wQ=_L7}}}this._pB2();var left,right,top,bottom;left=999999;right=-999999;top=999999;bottom=-999999;for(var _Q7=0;_Q7<_h6._jf.length;_Q7++){_kf=_h6._jf[_Q7];if(_kf._W3){if(left>_kf._qB2)left=_kf._qB2;if(right<(_kf._qB2+_kf._sB2))right=_kf._qB2+_kf._sB2;if(top>_kf._rB2)top=_kf._rB2;if(bottom<(_kf._rB2+_kf._tB2))bottom=_kf._rB2+_kf._tB2}}_0j2=_HU/(right-left);
_1j2=_JU/(bottom-top)};var _yB2=!1;_R92.prototype._zB2=function(_lj2){var _mA2=this._HA2._oA2();var _AB2=_mA2._n4;for(var _Q7=this._vB.length-1;_Q7>=0;_Q7--){var _sB=this._vB._8g(_Q7);if(_sB._oB||_sB._W3==0)continue;while(_AB2>_sB._n4){_mA2._a9(_lj2);_mA2=this._HA2._J81();if(_mA2){_AB2=_mA2._n4}else {_AB2=-1000000000000}}if(!_sB._UU1[_5Y1]){var _K92=_ZO._8g(_sB._XU1);if(_K92){if((_sB._zl2==1.0)&&(_sB._Al2==1.0)&&(_sB._qE1==0.0)&&(_sB._Bl2==0xffffff)){_K92._BB2(_sB._wC,_sB.x,_sB.y,_sB._eh*_Tb)}else {_K92._a9(_sB._wC,
_sB.x,_sB.y,_sB._zl2,_sB._Al2,_sB._qE1,_sB._Ol2(),_sB._eh*_Tb)}}}else {_e8=_sB;_sB._67(_5Y1,0,_sB,_sB);_e8=null}}while(_mA2){_mA2._a9(_lj2);_mA2=this._HA2._J81()}};_R92.prototype._CB2=function(_lj2){var _K92,_sB,_Q7,_xg,_Nh2;_xg=this._vB._xg;_Nh2=_ZO._J3;for(_Q7=_xg.length-1;_Q7>=0;_Q7--){_sB=_xg[_Q7];if(_sB._oB||!_sB._W3)continue;if(!_sB._UU1[_5Y1]){_K92=_Nh2[_sB._XU1];if(_K92){_e8=_sB;if((_sB._zl2==1.0)&&(_sB._Al2==1.0)&&(_sB._qE1==0.0)&&(_sB._Bl2==0xffffff)){_K92._BB2(_sB._wC,_sB.x,_sB.y,_sB._eh*_Tb)}
else {_K92._a9(_sB._wC,_sB.x,_sB.y,_sB._zl2,_sB._Al2,_sB._qE1,_sB._Ol2(),_sB._eh*_Tb)}_e8=null}}else {_e8=_sB;_sB._67(_5Y1,0,_sB,_sB);_e8=null}}};_R92.prototype._DB2=function(_lj2){var _EB2=_Mz2();for(var _Q7=this._vB.length-1;_Q7>=0;_Q7--){var _sB=this._vB._8g(_Q7);if(_sB._oB||_sB._W3==0)continue;var _FB2=_EB2;while(_EB2>_sB._n4){_Hz2(_EB2);_EB2=_Nz2(_EB2);if(_EB2==_FB2){break }_FB2=_EB2}if(!_sB._UU1[_5Y1]){var _K92=_ZO._8g(_sB._XU1);if(_K92){if((_sB._zl2==1.0)&&(_sB._Al2==1.0)&&(_sB._qE1==0.0)&&(_sB._Bl2==0xffffff)){
_K92._BB2(_sB._wC,_sB.x,_sB.y,_sB._eh*_Tb)}else {_K92._a9(_sB._wC,_sB.x,_sB.y,_sB._zl2,_sB._Al2,_sB._qE1,_sB._Ol2(),_sB._eh*_Tb)}}}else {_e8=_sB;_sB._67(_5Y1,0,_sB,_sB);_e8=null}}while(_EB2>-1000000000){_Hz2(_EB2);_EB2=_Nz2(_EB2)}};_R92.prototype._GB2=function(_lj2){var _EB2=_Mz2();var _mA2=this._HA2._oA2();var _HB2=_mA2._n4;for(var _Q7=this._vB.length-1;_Q7>=0;_Q7--){var _sB=this._vB._8g(_Q7);if(_sB._oB||_sB._W3==0)continue;while(true){if(_HB2>_sB._n4){if(_HB2>_EB2){_mA2._a9(_lj2);_mA2=this._HA2._J81();
if(_mA2){_HB2=_mA2._n4}else {_HB2=-1000000000000}}else {_Hz2(_EB2);_EB2=_Nz2(_EB2)}}else if(_EB2>_sB._n4){_Hz2(_EB2);_EB2=_Nz2(_EB2)}else {break }}if(!_sB._UU1[_5Y1]){var _K92=_ZO._8g(_sB._XU1);if(_K92){if((_sB._zl2==1.0)&&(_sB._Al2==1.0)&&(_sB._qE1==0.0)&&(_sB._Bl2==0xffffff)){_K92._BB2(_sB._wC,_sB.x,_sB.y,_sB._eh*_Tb)}else {_K92._a9(_sB._wC,_sB.x,_sB.y,_sB._zl2,_sB._Al2,_sB._qE1,_sB._Ol2(),_sB._eh*_Tb)}}}else {_e8=_sB;_sB._67(_5Y1,0,_sB,_sB);_e8=null}}while(true){if(_HB2>_EB2){_mA2._a9(_lj2);_mA2=this._HA2._J81();
if(_mA2){_HB2=_mA2._n4}else {_HB2=-1000000000000}}else {if(_EB2<=-1000000000)break;_Hz2(_EB2);_EB2=_Nz2(_EB2)}}};_R92.prototype._IB2=function(_lj2,_BD,_OD){var _rB=_OD._NC;if(_rB!=null){if(!(_rB._oB||(!_rB._tB)||(!_rB._W3))){var _Ct=_26._8g(_rB._jE1);if(_Ct!=null){if(_Ct._UU1[_5Y1]){_e8=_rB;_rB._67(_5Y1,0,_rB,_rB);_e8=null}else {var _xP=_ZO._8g(_rB._XU1);if(_xP!=null){_e8=_rB;if((_rB._zl2===1)&&(_rB._Al2===1)&&(_rB._qE1===0)&&(_rB._Ol2()===0xffffff)&&(_rB._eh===1)){_xP._BB2(_rB._wC,_rB.x,_rB.y,_rB._eh*_Tb)}
else {_xP._a9(_rB._wC,_rB.x,_rB.y,_rB._zl2,_rB._Al2,_rB._qE1,_rB._Ol2(),_rB._eh)}_e8=null}}}}}};_R92.prototype._JB2=function(_lj2,_BD,_OD){for(var _Q7=0;_Q7<_OD._KB2.length();_Q7++){var _LB2=_OD._MB2;for(var _R7=0;_R7<_LB2.length();_R7++){var _NB2=_LB2[_R7]}}};_R92.prototype._OB2=function(_lj2,_BD,_OD){var _7F=_OD._SC;if(!_7F._W3)return;if(_7F._mC)return;var _PB2=_7F._sC;if(_qF(_7F.index)){var _xP=_ZO._8g(_7F.index);if(!_xP)return;var _QB2=(~~_7F._wC)%_xP._7P.length;if(_xP._7P[_QB2]!=undefined){if(_7F._rC){
var _pC=_h6._yT1()/_xP.width;var _qC=_h6._P_()/_xP.height;_aj2(_xP._7P[_QB2],_BD._zC,0,0,_BD._AC,_pC,_qC,0,_PB2,_PB2,_PB2,_PB2,_7F.alpha)}else _4j2(_xP._7P[_QB2],_BD._zC,_BD._AC,_7F._pC,_7F._qC,_7F._oC,_7F._nC,_PB2,_7F.alpha)}}else {var _RB2=_Tb;_Tb=_7F.alpha;if(!_v8)_PB2=_Xb(_7F._sC);_Sx(_ez.left,_ez.top,_ez.right,_ez.bottom,_PB2,_PB2,_PB2,_PB2,false);_Tb=_RB2}};_R92.prototype._SB2=function(_lj2,_BD,_OD){if(_qF(_OD._2D)){var _xP=_ZO._8g(_OD._2D);if(!_xP)return;var _QB2=(~~_OD._6D)%_xP._7P.length;if(_xP._7P[_QB2]!=undefined){
_aj2(_xP._7P[_QB2],_xP._kP,_xP._lP,_OD._VC+_BD._zC,_OD._WC+_BD._AC,_OD._7D,_OD._8D,_OD._9D*0.0174532925,_OD._aD,_OD._aD,_OD._aD,_OD._aD,_OD._bD)}}};var _TB2=-1;function _N82(){_TB2=_7V1._vS1()}function _LQ(_N6,_O6,_Zf,__f,_R6){var _UB2=_7V1._tS1(_TB2);if(_UB2){_UB2._RS1(_N6);_UB2._SS1(_O6);_UB2._TS1(_Zf);_UB2._US1(__f);_UB2._0T1(_R6);if(_UB2._iS1){_UB2._3T1(_UB2._4T1()+(_UB2._5T1()*0.5),_UB2._6T1()+(_UB2._7T1()*0.5));_UB2._mT1()}else {_UB2._PT1(_UB2._4T1()+(_UB2._5T1()*0.5),_UB2._6T1()+(_UB2._7T1()*0.5));
_UB2._mT1();_vQ=_N6;_xQ=_O6;_zQ=_Zf;_BQ=__f;var _xT1=_R6;_bz(_vQ,_xQ,_zQ,_BQ,_xT1)}_7V1._hT1(_TB2);_UB2._mT1()}};;_R92.prototype._VB2=function(_lj2,_BD,_OD,_WB2,_XB2,_Ug){if(_zh(_OD._UC)){var _YB2=_Eh(_OD._UC);var _ZB2=_Hh(_OD._UC);var _Fh=_Ch._Dh(_OD._UC);var __B2=null;var _0C2=1;var _1C2=1;var _2C2=false;var _0d2=0;var _1d2=0;var _3C2=0,_4C2=0;var _5C2=0,_6C2=0;if(_Fh._Gh===null||_Fh._Gh===undefined){}else {var _Ob=_Fh._Gh;var _S8=_Ob._J8;if(!_S8.complete)return;if(_v8)if(!_S8._fa)_ga({_J8:_S8});_0C2=_Ob._u4/_Ob._A4;
_1C2=_Ob._v4/_Ob._B4;if(_Ob._w4!=0||_Ob._x4!=0||_Ob._y4!=_Ob._A4||_Ob._z4!=_Ob._B4){_2C2=false}else {_2C2=true;_0d2=_Fh._0d2*_0C2/_S8.width;_1d2=_Fh._1d2*_1C2/_S8.height;var _2d2=_Fh._2d2*_0C2/_S8.width;var _3d2=_Fh._3d2*_1C2/_S8.height;_5C2=_2d2+_Ob.x/_S8.width;_6C2=_3d2+_Ob.y/_S8.height;_3C2=_0d2+_2d2*2;_4C2=_1d2+_3d2*2;}}var _7C2,_8C2,_n4;if(_BD!=null){_7C2=_BD._zC+_OD._VC;_8C2=_BD._AC+_OD._WC;_n4=_BD._n4}else {_7C2=_WB2;_8C2=_XB2;_n4=_Ug}if(_S8!=null){var _9C2=_xE._yD();_9C2&=_OD._0D;if(_2C2){var _aC2=2048;
var _7X1=Math.floor((_lj2.left-_7C2)/_Fh._0d2);var _8X1=Math.floor(((_lj2.right-_7C2)+_Fh._0d2)/_Fh._0d2);var _9X1=Math.floor((_lj2.top-_8C2)/_Fh._1d2);var _aX1=Math.floor(((_lj2.bottom-_8C2)+_Fh._1d2)/_Fh._1d2);_7X1=_I7(0,_7X1);_8X1=_K7(_OD._XC,_8X1);_9X1=_I7(0,_9X1);_aX1=_K7(_OD._YC,_aX1);var _bC2=_Fh._0d2;var _cC2=_Fh._1d2;var _4d2=_Fh._4d2;var _dC2=(_8X1-_7X1)*(_aX1-_9X1);var _eC2=0;var _fC2=null;var _gC2=null;var _na,_kF,_qa,_sa,_ua,_wa,_xa,_ya,_za,_Aa,_Ba;if(_v8){for(var y=_9X1;y<_aX1;y++){var index=y*_OD._XC+_7X1;
for(var x=_7X1;x<_8X1;x++,index++,_dC2--){var _hC2=_OD.__C[index];_hC2&=_9C2;var _iC2=(_hC2>>_iC)&_kC;if(_iC2===0)continue;_iC2=_Fh._6d2[_iC2*_Fh.frames+_OD._ZC];if(_iC2===0)continue;if(_eC2===0){_eC2=_K7(_dC2,_aC2);_fC2=_v8._ja(_ka._la,_S8._fa,_v8._ma,_eC2*6);_na=_fC2._oa()>>2;_kF=_na*_fC2._pa;_fC2._pa+=_eC2*6;_qa=_fC2._ra;_sa=_fC2._ta;_ua=_fC2._va;_wa=_kF;_xa=_wa+_na;_ya=_xa+_na;_za=_ya+_na;_Aa=_za+_na;_Ba=_Aa+_na}var _mX1=x*_bC2+_7C2;var _jC2=y*_cC2+_8C2;var _0B2=((_iC2%_4d2)*_3C2)+_5C2;var _1B2=(Math.floor(_iC2/_4d2)*_4C2)+_6C2;
var _kC2=_mX1;var _lC2=_jC2;var _mC2=_mX1+_bC2;var _nC2=_jC2;var _oC2=_mX1;var _pC2=_jC2+_cC2;var _qC2=_mX1+_bC2;var _rC2=_jC2+_cC2;var _sC2=_0B2;var _tC2=_1B2;var _uC2=_0B2+_0d2;var _vC2=_1B2;var _wC2=_0B2;var _xC2=_1B2+_1d2;var _yC2=_0B2+_0d2;var _zC2=_1B2+_1d2;if(_hC2&_gC){if(_hC2&_dC){var _Lx;_Lx=_sC2;_sC2=_uC2;_uC2=_Lx;_Lx=_wC2;_wC2=_yC2;_yC2=_Lx}if(_hC2&_cC){var _Lx;_Lx=_tC2;_tC2=_xC2;_xC2=_Lx;_Lx=_vC2;_vC2=_zC2;_zC2=_Lx}if(_hC2&_eC){var _Lx;_Lx=_sC2;_sC2=_wC2;_wC2=_yC2;_yC2=_uC2;_uC2=_Lx;_Lx=_tC2;_tC2=_xC2;
_xC2=_zC2;_zC2=_vC2;_vC2=_Lx}}_qa[_wa+0]=_kC2;_qa[_wa+1]=_lC2;_qa[_wa+2]=_n4;_qa[_xa+0]=_qa[_Aa+0]=_mC2;_qa[_xa+1]=_qa[_Aa+1]=_nC2;_qa[_xa+2]=_qa[_Aa+2]=_n4;_qa[_ya+0]=_qa[_za+0]=_oC2;_qa[_ya+1]=_qa[_za+1]=_pC2;_qa[_ya+2]=_qa[_za+2]=_n4;_qa[_Ba+0]=_qC2;_qa[_Ba+1]=_rC2;_qa[_Ba+2]=_n4;_sa[_wa]=_sa[_xa]=_sa[_ya]=_sa[_za]=_sa[_Aa]=_sa[_Ba]=0xffffffff;_ua[_wa+0]=_sC2;_ua[_wa+1]=_tC2;_ua[_xa+0]=_ua[_Aa+0]=_uC2;_ua[_xa+1]=_ua[_Aa+1]=_vC2;_ua[_ya+0]=_ua[_za+0]=_wC2;_ua[_ya+1]=_ua[_za+1]=_xC2;_ua[_Ba+0]=_yC2;
_ua[_Ba+1]=_zC2;_wa+=_na*6;_xa+=_na*6;_ya+=_na*6;_za+=_na*6;_Aa+=_na*6;_Ba+=_na*6;_eC2--}}if(_eC2>0)_fC2._pa-=_eC2*6}else {for(var y=_9X1;y<_aX1;y++){var index=y*_OD._XC+_7X1;for(var x=_7X1;x<_8X1;x++,index++,_dC2--){var _hC2=_OD.__C[index];var _iC2=(_hC2>>_iC)&_kC;if(_iC2===0)continue;_iC2=_Fh._6d2[_iC2*_Fh.frames+_OD._ZC];if(_iC2===0)continue;var _mX1=x*_bC2+_7C2;var _jC2=y*_cC2+_8C2;var _0B2=((_iC2%_4d2)*_3C2)+_5C2;var _1B2=(Math.floor(_iC2/_4d2)*_4C2)+_6C2;var _kC2=_mX1;var _lC2=_jC2;var _mC2=_mX1+_bC2;var _nC2=_jC2;
var _oC2=_mX1;var _pC2=_jC2+_cC2;var _qC2=_mX1+_bC2;var _rC2=_jC2+_cC2;var _sC2=_0B2;var _tC2=_1B2;var _uC2=_0B2+_0d2;var _vC2=_1B2;var _wC2=_0B2;var _xC2=_1B2+_1d2;var _yC2=_0B2+_0d2;var _zC2=_1B2+_1d2;if(_hC2&_gC){var _gk2=1;var _hk2=1;var _pk2=0;if(_hC2&_dC){_gk2=-_gk2}if(_hC2&_cC){_hk2=-_hk2}if(_hC2&_eC){_pk2=-1.5708}_hi2(Math.floor(_kC2)+_bC2*0.5,Math.floor(_lC2)+_cC2*0.5,_gk2,_hk2,-_pk2);_M9._6P(_S8,Math.floor(_sC2*_S8.width),Math.floor(_tC2*_S8.height),Math.floor(_0d2*_S8.width),Math.floor(_1d2*_S8.height),
-_bC2*0.5,-_bC2*0.5,_bC2,_cC2);_ji2()}else {_M9._6P(_S8,Math.floor(_sC2*_S8.width),Math.floor(_tC2*_S8.height),Math.floor(_0d2*_S8.width),Math.floor(_1d2*_S8.height),Math.floor(_kC2),Math.floor(_lC2),_bC2,_cC2)}}}}}}}};_R92.prototype._AC2=function(_lj2,_BD,_OD){_Lz2(_OD._dD)};_R92.prototype._BC2=function(_lj2,_BD,_OD){if(!_OD._DC)return false;var _xP=_ZO._8g(_OD._Lt);if(_xP!=null){var _Th=_xP._7P[0];if((_Th._J8 instanceof HTMLImageElement)&&(_Th._C4>=_K8.length))return;if((_K8[_Th._C4] instanceof HTMLImageElement)&&(!_K8[_Th._C4].complete))return;
_6j2(_Th,_OD._hD,_OD._iD,_OD._fD,_OD._gD,_OD._VC,_OD._WC,_OD._7D,_OD._8D,_OD._aD,_OD._bD)}};_R92.prototype._CC2=function(_lj2){var _aE,_bE,_Q7,_xg;_xg=this._VD._xg;for(_Q7=_xg.length-1;_Q7>=0;_Q7--){_aE=_xg[_Q7];if(_aE===null||_aE._DC<=0){continue }if(_xE._wD()){_hm(_xE._xD())}else {_hm(_aE._n4)}for(var _R7=0;_R7<_aE._KC.length;_R7++){_bE=_aE._KC._8g(_R7);if(_bE!=null){if(_bE._OC===_0C){this._OB2(_lj2,_aE,_bE)}else if(_bE._OC===_1C){this._IB2(_lj2,_aE,_bE)}else if(_bE._OC===_2C){this._JB2(_lj2,_aE,_bE)}
else if(_bE._OC===_3C){this._SB2(_lj2,_aE,_bE,0,0,0)}else if(_bE._OC===_4C){this._VB2(_lj2,_aE,_bE)}else if(_bE._OC===_5C){this._AC2(_lj2,_aE,_bE);}else if(_bE._OC===_6C){this._BC2(_lj2,_aE,_bE)}}}}};_R92.prototype._DC2=function(_lj2){_ez=_lj2;_hz();if(this._yA2){_5j2(_Xb(_X5._xg2))}this._EC2(_lj2,_XY1);if(this._VD!=null&&this._VD.length>0){this._CC2(_lj2)}else {for(var _Q7=0;_Q7<_Ch._Bh.length;_Q7++){var _Fh=_Ch._8g(_Q7);if(_Fh){_Fh._W3=_X5._zg2[_Q7];_Fh._mC=_X5._Ag2[_Q7];_Fh.x=_X5._Cg2[_Q7];_Fh.y=_X5._Dg2[_Q7];
_Fh.index=_X5._Bg2[_Q7];_Fh._cd2=_X5._Gg2[_Q7];_Fh._dd2=_X5._Hg2[_Q7];_Fh.alpha=_X5._Ng2[_Q7];_Fh._sC=_X5._Mg2[_Q7];_Fh._o4=_X5._Kg2[_Q7];_Fh._p4=_X5._Lg2[_Q7];_Fh._pC=_X5._Ig2[_Q7];_Fh._qC=_X5._Jg2[_Q7];if(_Fh!=null&&_Fh._W3&&!_Fh._mC){var _xP=_Ch._Dh(_Fh.index);if(_xP!=null){if(_Fh._rC){_4R(_xP._Gh,_Fh.x,_Fh.y,this._cF,this._eF,_Fh._sC,_Fh.alpha)}else {_4j2(_xP._Gh,_Fh.x,_Fh.y,_Fh._pC,_Fh._qC,_Fh._dd2,_Fh._cd2,_Fh._sC,_Fh.alpha)}}}}}if(this._HA2._kA2._H8>0){if(_m62.length!=0){this._GB2(_lj2)}else {
this._zB2(_lj2)}}else if(_m62.length!=0){this._DB2(_lj2);}else {this._CB2(_lj2)}for(var _Q7=0;_Q7<_Ch._Bh.length;_Q7++){var _Fh=_Ch._8g(_Q7);if(_Fh!=null&&_Fh._W3&&_Fh._mC){var _xP=_Ch._Dh(_Fh.index);if(_xP!=null){if(_Fh._rC){_4R(_xP._Gh,_Fh.x,_Fh.y,this._cF,this._eF,_Fh._sC,_Fh.alpha)}else {_4j2(_xP._Gh,_Fh.x,_Fh.y,_Fh._pC,_Fh._qC,_Fh._dd2,_Fh._cd2,_Fh._sC,_Fh.alpha)}}}}}this._EC2(_lj2,_YY1)};_R92.prototype._FC2=function(){if(_q72>=0){var __O=_ZO._8g(_q72);if(__O!=null){__O._a9(_r72,_Hf._zR-_mf.left,_Hf._AR-_mf.top,
1.0,1.0,0,0xffffff,1.0)}_r72++;if(_r72>__O._F7)_r72-=__O._F7;}};function _GC2(_HC2,_IC2){if(_IC2!=-1){_D3._N3[_IC2](null,null)}};function _JC2(_KC2){if(_KC2!=-1){_eL(_KC2)}};function _LC2(_KC2){if(_KC2!=-1){_gL()}};_R92.prototype._EC2=function(_lj2,_Zz){var _K92,_sB,_Q7,_xg,_Nh2;_hz();if((this._VD.length>0)){var _aE,_bE;_xg=this._VD._xg;for(_Q7=_xg.length-1;_Q7>=0;_Q7--){_aE=_xg[_Q7];if(_aE==null||_aE._DC==false){continue }_JC2(_aE._IC);_GC2(_aE._yC,_aE._GC);for(var _R7=0;_R7<_aE._KC.length;_R7++){_bE=_aE._KC._8g(_R7);
if(_bE!=null){if(_bE._OC===_1C){_sB=_bE._NC;if(_sB!=null){if(!(_sB._oB||(!_sB._tB)||(!_sB._W3))){if(_sB._UU1[_Zz]){_sB._67(_Zz,0,_sB,_sB)}}}}}}_GC2(_aE._yC,_aE._HC);_LC2(_aE._IC)}}else {_xg=this._vB._xg;_Nh2=_ZO._J3;for(_Q7=_xg.length-1;_Q7>=0;_Q7--){_sB=_xg[_Q7];if(_sB._oB||!_sB._W3)continue;if(_sB._UU1[_Zz]){_sB._67(_Zz,0,_sB,_sB)}}}};_R92.prototype._MC2=function(_J7){_A62=_H62;_A62._nf=0;_A62._pf=0;_A62._NC2=_J7.right;_A62._OC2=_J7.bottom;_A62._of=_J7.right;_A62._qf=_J7.bottom;_A62._PC2=1.0;_A62._QC2=1.0;
_Pw();{_KQ(0,0,_J7.right,_J7.bottom);_MQ(0,0,_J7.right,_J7.bottom,0);if(this._AA2&&_SU){_5j2(_kR)}this._EC2(_J7,_0Z1)}_Ww()};_R92.prototype._RC2=function(){if(_SU){if(_5Q<0){_5Q=_Mh(_HU,_JU);_X5._wh2=_5Q;debug("Application Surface created: w="+_HU+", h="+_JU)}if(_6Q){_6Q=false;_Mh(_7Q,_8Q,_5Q);_HU=_7Q;_JU=_8Q;debug("Application Surface resized: w="+_HU+", h="+_JU);_SC2()}_IQ(_5Q)}};_R92.prototype._TC2=function(_J7){_Pw();var _UC2=new _Ys();_UC2._1g(_ez);if(_j6){_LQ(0,0,_J7.right,_J7.bottom,0)}_0j2=1;
_1j2=1;this._RC2();this._xB2();var _gf;if(!this._hf){_gf=_if;_KQ(0,0,_HU,_JU);if(_j6){_LQ(0,0,_h6._cF,_h6._eF,0)}else {_MQ(0,0,_h6._cF,_h6._eF,0)}}else {_gf=this._jf;if(this._zA2){_KQ(0,0,_HU,_JU);_MQ(0,0,_HU,_JU,0);_5j2(_kR)}}var _VC2=_UC2.right-_UC2.left;var _WC2=_UC2.bottom-_UC2.top;var _XC2=_TU._u4/_HU;var _YC2=_TU._v4/_JU;var _nk2=_HU/_VC2;var _ok2=_JU/_WC2;_G62=0;for(var _Q7=0;_Q7<_gf.length;_Q7++){_A62=_gf[_Q7];if(_A62._W3){var _ZC2=__C2;_Pw();{if(_A62._uB2!=-1){_oQ(_A62._uB2)}_A62._nf=_A62._qB2*_nk2*_XC2+_TU.x;
_A62._pf=_A62._rB2*_ok2*_YC2+_TU.y;_A62._NC2=_A62._sB2*_nk2*_XC2;_A62._OC2=_A62._tB2*_ok2*_YC2;_A62._of=_A62._nf+_A62._NC2;_A62._qf=_A62._pf+_A62._OC2;_A62._PC2=_A62._NC2/_A62._yQ;_A62._QC2=_A62._OC2/_A62._AQ;if(_A62._uB2!=-1){_KQ(0,0,_jQ(_A62._uB2),_kQ(_A62._uB2))}else {_KQ(_A62._qB2*_nk2,_A62._rB2*_ok2,_A62._sB2*_nk2,_A62._tB2*_ok2)}if(_j6){_7V1._hT1(_A62._8V1);var _MS1=_7V1._gT1();if(_MS1!=null){_MS1._Jc();_MS1._mT1()}}else _MQ(_A62._uQ,_A62._wQ,_A62._yQ,_A62._AQ,_A62.angle);if((!_j6)){if(Math.abs(_A62.angle)<0.001){
_J7.left=_A62._uQ;_J7.top=_A62._wQ;_J7.right=_A62._uQ+_A62._yQ;_J7.bottom=_A62._wQ+_A62._AQ}else {var _fz=_A62.angle*(_O7/180);var _ps=Math.abs(Math.sin(_fz));var _Qt=Math.abs(Math.cos(_fz));var _Ou=(_Qt*_A62._yQ)+(_ps*_A62._AQ);var _gz=(_ps*_A62._yQ)+(_Qt*_A62._AQ);_J7.left=_A62._uQ+(_A62._yQ-_Ou)/2;_J7.right=_A62._uQ+(_A62._yQ+_Ou)/2;_J7.top=_A62._wQ+(_A62._AQ-_gz)/2;_J7.bottom=_A62._wQ+(_A62._AQ+_gz)/2}_X5._Pg2=_G62;this._DC2(_J7)}else {_X5._Pg2=_G62;this._DC2(_ez)}if(_A62._uB2!=-1){_OQ()}_G62++;if(_j6){
var _MS1=_7V1._gT1();if(_MS1!=null){_MS1._Lc()}_7V1._hT1(-1)}}_Ww()}}_ez._1g(_UC2);_Ww()};_R92.prototype._0D2=function(_J7){if(_1D2&&_SU){_Pw({_2D2:true,_3D2:true});_J7.left=0;_J7.top=0;_J7.right=_rR();_J7.bottom=_uR();var rect=_TU;var _hq1=_v8;var _4D2=_hq1&&_Hl();if(_hq1)_Yk(false);_KQ(0,0,_J7.right,_J7.bottom);_MQ(0,0,_J7.right,_J7.bottom,0);_3R(_5Q,rect.x,rect.y,rect._u4,rect._v4);if(_hq1)_Yk(_4D2);_Ww({_5D2:true,_6D2:true})}};_R92.prototype._7D2=function(_J7){_J7.left=0;_J7.top=0;_J7.right=_rR();
_J7.bottom=_uR();_A62=_H62;_A62._nf=0;_A62._pf=0;_A62._NC2=_J7.right;_A62._OC2=_J7.bottom;_A62._of=_J7.right;_A62._qf=_J7.bottom;_A62._PC2=1.0;_A62._QC2=1.0;_Pw();{_KQ(0,0,_J7.right,_J7.bottom);_MQ(0,0,_J7.right,_J7.bottom,0);this._EC2(_J7,_1Z1)}_Ww()};_R92.prototype._Mq2=function(_J7){var _8D2=_0j2;var _9D2=_1j2;var _aD2=_Hw;var _bD2=_Iw;if(_aD2<0)_aD2=_rR();if(_bD2<0)_bD2=_uR();_Pw({_2D2:true});{_J7.left=0;_J7.top=0;_J7.right=_rR();_J7.bottom=_uR();_0j2=_J7.right/_aD2;_1j2=_J7.bottom/_bD2;_A62=_H62;
_A62._nf=0;_A62._pf=0;_A62._NC2=_J7.right;_A62._OC2=_J7.bottom;_A62._of=_J7.right;_A62._qf=_J7.bottom;_A62._PC2=_0j2;_A62._QC2=_1j2;_Jw=true;_KQ(0,0,_J7.right,_J7.bottom);_Kw();var _UC2=new _Ys();_UC2._1g(_ez);_ez.left=0;_ez.top=0;_ez.right=_aD2;_ez.bottom=_bD2;this._EC2(_J7,_ZY1);this._EC2(_J7,_VY1);this._EC2(_J7,__Y1);_Jw=false;_ez._1g(_UC2)}_Ww({_5D2:true});_0j2=_8D2;_1j2=_9D2};_R92.prototype._cD2=function(_J7){if(_q72>=0){_Pw();_KQ(0,0,_J7.right,_J7.bottom);_MQ(0,0,_J7.right,_J7.bottom,0);this._FC2();
_Ww()}};_R92.prototype._a9=function(){_Pw();_Sw=0;_Tw=0;_Uw=canvas.width;_Vw=canvas.height;var _J7=new _Ys();if(this._hf){_J7.left=0;_J7.top=0;_J7.right=_rR();_J7.bottom=_uR()}else {_J7._1g(_ez)}this._MC2(_J7);this._TC2(_J7);if(_SU){_OQ()}if(_2Q.length!=0){_9g("Unbalanced surface stack. You MUST use surface_reset_target() for each set.");return }this._7D2(_J7);this._0D2(_J7);this._Mq2(_J7);this._cD2(_J7);_Ww()};function _Kw(){var _aD2=_Hw;var _bD2=_Iw;if(_aD2<0)_aD2=_OU;if(_bD2<0)_bD2=_QU;var _nk2=1;var _ok2=1;
var _lK1=0;var _mK1=0;if(_Cw){_nk2=_Fw;_ok2=_Gw;_lK1=_Dw;_mK1=_Ew;_9j2(_nk2,_ok2,_lK1,_mK1)}else {_lK1=_TU.x;_mK1=_TU.y;if(_Hw>0){_nk2=_TU._u4/_aD2}if(_Iw>0){_ok2=_TU._v4/_bD2}_9j2(_nk2,_ok2,_lK1,_mK1)}_hz()};_R92.prototype._dD2=function(){var _eD2=[];var _fD2=_aB._4o2._xg;for(var _Q7=0;_Q7<_fD2.length;_Q7++){var _sB=_fD2[_Q7];if(_sB._oB){_eD2[_eD2.length]=_sB}}for(var _Q7=0;_Q7<_eD2.length;_Q7++){var _sB=_eD2[_Q7];this._gB2(_sB)}};_R92.prototype._gB2=function(_sB){if(this._xK&&_sB._VD1){this._xK._ta1(_sB._VD1)}
_xE._GE(this,_sB);_aB._7o2(_sB);this._vB._KE(_sB);this._DA2._DD(_sB);_sB._CB._GE(_sB)};_R92.prototype._gD2=function(_2v){if(_2v._tB){this._vB._KE(_2v);_2v._CB._GE(_2v);this._DA2._Qe(_2v);_2v._tB=false}};_R92.prototype._nA2=function(_5g){var _hA2=this._GA2[_5g];if(_hA2){this._HA2._nA2(_hA2);this._GA2[_5g]=undefined;this._FA2--}};_R92.prototype._hD2=function(){if(this._Pl2.length==0)return;var _pg=this._Pl2;var _tB=this._vB;var _iD2;var _jD2;if(_tB._Ow2<0){_jD2=_tB._xg.length}else {_jD2=_tB._Ow2}var _H8=0;
for(var _Q7=0;_Q7<_pg.length;_Q7++){var _sB=_pg[_Q7];for(var _R7=0;_R7<_jD2;_R7++){if(_sB==_tB._xg[_R7]){_tB._xg.splice(_R7,1);_tB._xg[_tB._xg.length]=_sB;_H8+=1;_jD2-=1;break }}if(_j6){var _YD=_h6;if(_YD!=null){var _fF=_xE._CE(_YD,_sB._1E);if(_fF!=null){if(floor(_fF._n4)!=floor(_sB._n4)){if(_fF._EC&&_fF._KC.length==1){_xE._LE(_YD,_fF,_sB._n4,true)}else {_xE._HE(_YD,_fF,_sB);_xE._zE(_YD,_sB)}}}}}}if(_H8>0){if(_tB._Ow2<0){_tB._Ow2=_tB._xg.length-_H8}else {_tB._Ow2-=_H8}}this._Pl2=[]};_R92.prototype._kD2=function(){
if(_j6){var _9s=this._EA2.length;for(var _Q7=0;_Q7<_9s;_Q7++){var _lD2=this._EA2[_Q7];var _mB2=_lD2._rB;var _L7=_lD2.type;var id=_mB2.id;if(_j6){if(_L7==0){var _ZE=_xE._1F(this,id);if(_ZE==null){_xE._zE(this,_mB2)}else {_xE._8E(this,_ZE._RD,_ZE._zc)}}else if(_L7==1){var _RD=_lD2._RD;_xE._BE(this,_RD,_mB2)}}}}if(this._EA2.length!=0)this._EA2=[]};_R92.prototype._mD2=function(){if(_j6){var _9s=this._lz2.length;for(var _Q7=0;_Q7<_9s;_Q7++){var _nD2=this._lz2[_Q7];var _9z2=_nD2._mz2;var type=_nD2.type;var id=_9z2.id;
if(type==0){_xE._TD(_h6,_9z2._6y2,true);var _jz2=new _cD();_jz2._dD=id;_jz2._7y2=-1;_jz2._6y2=_xE._fE(_h6,_9z2._n4,_jz2,true,true)}}}if(this._lz2.length!=0)this._lz2=[]};function _E82(){this._oD2=[];this._X92=[]}_E82.prototype._S92=function(_es1){this._X92=_es1};_E82.prototype._Qe=function(_pD2){return this._oD2[this._oD2.length]=_pD2};_E82.prototype._8g=function(_qD2){if(_qD2<0||_qD2>=this._oD2.length)return null;return this._oD2[_qD2]};_E82.prototype._T92=function(_qD2){return this._oD2[this._X92[_qD2]]}
;_E82.prototype._KE=function(_qD2){this._oD2[_qD2]=null};_E82.prototype._rD2=function(){_7V1._NS1();_N82();for(var _sD2 in this._oD2){if(!this._oD2.hasOwnProperty(_sD2))continue;var _YD=this._oD2[_sD2];for(var _Q7=0;_Q7<8;_Q7++){var _tD2=_YD._fy1(_Q7);if(_tD2){_tD2._8V1=-1}}var _uD2=_YD._UK;if(_uD2){for(var _Q7=0;_Q7<8;_Q7++){var _no=_uD2._f4[_Q7];if(_no){if(_no._8V1!==undefined){delete _uD2._f4[_Q7]._8V1}}else {var _M7=0}}}}_7V1._IS1()};var _uO=[];/*@constructor */function _vD2(){this.__type="[sound]";this._U3="";
this._Ea=0;this._TM="";this._RM="";this._wD2=0;this.volume=1;this._xD2=0;this.preload=true;this._yD2=1.0;this._zD2=0;this._AD2=[]}_vD2.prototype._BD2=function(_8d2){this._U3=_8d2._U3;this._Ea=_8d2._Ea;this._TM=_8d2._TM;this._RM=_8d2._RM;this._wD2=_8d2._wD2;this.volume=_8d2.volume;this._xD2=_8d2._xD2;this.preload=_8d2.preload;this._yD2=this.volume;this._GO(this._U3)};_vD2.prototype._GO=function(_V82){this._zD2=0;this._AD2=[];if((_Uz==_BX1)||(_Uz==_Vz)||(_Uz==_AX1)){_U52=1;this._AD2[0]=_uO[this._U3]}
else {if(_uO[this._U3]!=null){for(var _Q7=0;_Q7<_U52;_Q7++){this._AD2[_Q7]=_uO[this._U3].cloneNode(true)}}}};var _CD2=!1;function _l92(_Ez,_5g,_iO,_yz,_7P1){_Ez=_QM(_Ez);if(_pO==false){return undefined}var _DD2=false;var _SM;var index;index=_Ez.indexOf(_iO);if(index>0){_Ez=_Ez.substr(0,index)}if(_UM){_iO="ogg"}else if(_VM){_iO="mp3"}else {_iO="ogg"}_DD2=true;if(_DD2){_Ez=_Ez+"."+_iO;try{var _ED2=new Audio();_ED2.URL=_Ez;_ED2._yD2=1.0;_ED2.autobuffer=true;if(typeof _ED2.loop=='boolean')_ED2.loop=false;_ED2.preload='auto';
_ED2._092=false;_ED2._FD2=false;var _Xh=document.createElement('source');_Xh.setAttribute("src",_Ez);if(_iO=="ogg"){_Xh.setAttribute("type",'audio/ogg');_Xh.setAttribute("codecs",'vorbis')}else {_Xh.setAttribute("type",'audio/mpeg')}_ED2.setAttribute("networkState",0);_ED2.insertBefore(_Xh,null);document.body.appendChild(_ED2);_uO[_5g]=_ED2;_ED2.addEventListener('canplaythrough',_yz,false);_ED2.addEventListener('error',_7P1,false);_ED2.addEventListener("loadstart",_Y82,false);_ED2.addEventListener("suspend",
_Z82,false);_ED2.addEventListener("stalled",__82,false);_ED2.addEventListener("stall",__82,false);_ED2.load()}catch(e){if(_Uz==_CX1&&_CD2==false){var _GD2=navigator;_CD2=true;var _HD2=_GD2.userAgent.indexOf("Windows");if(_HD2!=-1){alert("Audio Error: Please ensure that quicktime is installed")}}}}return _5g}/*@constructor */function _I82(){this._G3=[];this.length=0}_I82.prototype._KE=function(_YO){if(this._G3[_YO]){this._ID2(_YO);this._G3[_YO]=undefined}};/*@this {yySound} */function _JD2(){this._FD2=false}
_I82.prototype._KD2=function(_YO){try{var _LD2=this._G3[_YO];if(!_LD2)return null;var _MD2=_LD2._AD2[this._G3[_YO]._zD2];this._G3[_YO]._zD2++;if(this._G3[_YO]._zD2>=_U52){this._G3[_YO]._zD2=0}return _MD2}catch(e){debug("Sound buffer unavailable for sound: "+_YO)}return null};_I82.prototype._ID2=function(_vc){{var _ND2=this._G3[_vc];if(!_ND2)return;_ND2=_ND2._AD2;for(var _Q7=0;_Q7<_ND2.length;_Q7++){var _LD2=_ND2[_Q7];if(_LD2!=null){try{_LD2.pause();_LD2._FD2=false}catch(_Ou){if(_gO)debug("Error stopping sound: "+this._G3[_vc]._U3)}
}}}};/*@this {yySound} */function _OD2(){try{this.currentTime=0}catch(_Ou){if(_gO)debug("Error in Repeat_Sound_Callback: "+_Ou.message)}this.play()}_I82.prototype._8g=function(_YO){if(_YO<0||_YO>=this._G3.length)return null;return this._G3[_YO]};_I82.prototype._6f=function(){this._G3=[];this._G3.length=0};_I82.prototype._Qe=function(_8d2){var _Fh=null;if(this._8d2!=null){_Fh=new _vD2();_Fh._BD2(this._8d2)}this._G3[this._G3.length]=_Fh};/*@constructor */function _Ys(){this.left=0;this.top=0;this.right=0;
this.bottom=0}_Ys.prototype._1g=function(_DP){this.left=_DP.left;this.right=_DP.right;this.top=_DP.top;this.bottom=_DP.bottom};/*@constructor */function _dP(){this.__type="[sprite]";this._U3="sprite";this.width=16;this.height=16;this._gP=new _Ys;this._hP=true;this._zi=true;this.preload=true;this._iP=0;this._jP=false;this._Am2=false;this._kP=0;this._lP=0;this._mP=false;this._F7=0;this._wP=8;this._nP=false;this._oP=false;this._G7=[];this._PD2=[];this._7P=[];this._pP=[];this._tC=0;this._uC=30}_dP.prototype._zm2=function(){
return this._jP};_dP.prototype._mF1=function(){return this._F7};_dP.prototype._qP=function(){var _QD2=(this._lP*this._lP);var _RD2=(this._kP*this._kP);var _SD2=(this.width-this._kP)*(this.width-this._kP);var _TD2=(this.height-this._lP)*(this.height-this._lP);var _UD2=~~ceil(sqrt(_RD2+_QD2));var _VD2=~~ceil(sqrt(_SD2+_QD2));var _WD2=~~ceil(sqrt(_RD2+_TD2));var _XD2=~~ceil(sqrt(_SD2+_TD2));this._wP=_I7(_UD2,_I7(_VD2,_I7(_WD2,_XD2)))};_dP.prototype._YD2=function(_ZD2,_GK,_HK){try{if(_ZO.__D2!==undefined){var _0E2=true;
var _3I=0;var _1E2=_ZO.__D2[_ZD2];var _yt1=new DataView(_1E2);if(_yt1!==undefined){var _2E2=_yt1.getInt32(_3I,_0E2);var _3E2=(1<<31);if((_2E2&_3E2)!=0){_2E2&=(~_3E2);_3I+=4}_3I+=4;var _4E2=null;if(_2E2>0){_4E2=new Uint8Array(_1E2,_3I,_2E2);_3I+=((_2E2+3)&~3)}var _5E2=_yt1.getUint32(_3I,_0E2);_3I+=4;this._6E2=[];for(var _Q7=0;_Q7<_5E2;_Q7++){var type=_yt1.getInt32(_3I,_0E2);_3I+=4;var id=_yt1.getInt32(_3I,_0E2);_3I+=4;var _7E2=null;if(type===_dP1){_7E2=new _mP1(type,id);_3I=_7E2._nP1(_yt1,_3I,_0E2,this._6E2)}else if(type===_eP1){
_7E2=new _UO1(type,id);_3I=_7E2._WO1(_1E2,_yt1,_3I,_0E2,_4E2)}else {_7E2={type:_cP1,id:id}}this._6E2.push(_7E2)}this._8E2=new _jQ1();_3I=this._8E2._nQ1(_yt1,_3I,_0E2);if(this._8E2._mQ1._oQ1>0){_3I=this._9E2(_yt1,_3I,_0E2)}else {this.width=this._8E2._g7;this.height=this._8E2._i7;this._jP=false}this._iP=0;this.preload=true;if(!this._jP){this._gP.left=this._8E2._f7;this._gP.right=this._8E2._g7;this._gP.top=this._8E2._h7;this._gP.bottom=this._8E2._i7;this._kP=_GK;this._lP=_HK}this._qP();this._aE2()}}}catch(e){
debug("Cannot build SWF data "+e.message)}};_dP.prototype._9E2=function(_XO1,_YO1,_ZO1){if(true!=this._jP){return }this._G7=[];this.width=this._8E2._mQ1._pQ1;this.height=this._8E2._mQ1._qQ1;var _oQ1=this._8E2._mQ1._oQ1;for(var _Q7=0;_Q7<_oQ1;_Q7++){var _bE2=_XO1.getInt32(_YO1,_ZO1);_YO1+=4;var _cE2=_YO1;var _dE2=0;var _fw1=[];for(var _R7=0;_R7<_bE2;_R7++){var _eE2=_XO1.getUint8(_YO1,_ZO1);_YO1+=1;var _fE2=((_eE2)&0x80)!=0?true:false;var _gE2=((_eE2)&0x7f)+1;for(var _Kg=0;_Kg<_gE2;_Kg++){_fw1[_dE2++]=_fE2}}var _hE2=new Uint8Array(_fw1.length);
for(var _Q7=0;_Q7<_fw1.length;++_Q7)_hE2[_Q7]=_fw1[_Q7];this._G7[_Q7]=_hE2;_YO1=_cE2+((_bE2+3)&~3)}this._nP=true;return _YO1};_dP.prototype._aE2=function(){this._a9=function(_M6,_N6,_O6,_4q,_5q,_R6,_Vb,_Wb){_cj2(this._6E2,this._8E2,_M6,this._kP,this._lP,_N6,_O6,_4q,_5q,_R6,_Vb,_Wb,this._7P)};this._BB2=function(_iE2,_N6,_O6,_Wb){_cj2(this._6E2,this._8E2,_iE2,this._kP,this._lP,_N6,_O6,1.0,1.0,0.0,0xffffffff,_Wb,this._7P)}};_dP.prototype._jE2=function(_kE2){if(_kE2>=0){if(_ZO._FM1!==undefined){var _JH1=_ZO._FM1[_kE2];
this._6a2=new _r8();this._6a2._L8(_JH1._YA,_JH1._bO1,_JH1.width,_JH1.height)}this._a9=function(_M6,_N6,_O6,_4q,_5q,_R6,_Vb,_Wb){this._6a2._a9(_M6,_N6,_O6,_4q,_5q,_R6,_Vb,_Wb)};this._BB2=function(_M6,_N6,_O6,_Wb){this._6a2._a9(_M6,_N6,_O6,1,1,0,0xffffff,_Wb)}}};function _lE2(_mE2,_ww1){if(_mE2._pP[_ww1]!=null){var _v7=[];var src=0;var _Sk=0;var _si;while(src<_mE2._pP[_ww1].length){var _nE2=_mE2._pP[_ww1][src++];if(_nE2&0x80){_nE2=(_nE2&0x7f)+1;_si=_mE2._pP[_ww1][src++];for(var _y9=0;_y9<_nE2;_y9++){_v7[_Sk++]=_si}
}else {_nE2++;for(var _y9=0;_y9<_nE2;_y9++){_v7[_Sk++]=_mE2._pP[_ww1][src++]}}}}_mE2._pP[_ww1]=_v7}function _L92(_oE2){var _K92=new _dP();if(_oE2._U3!==undefined)_K92._U3=_oE2._U3;if(_oE2.width!==undefined)_K92.width=_oE2.width;if(_oE2.height!==undefined)_K92.height=_oE2.height;if(_oE2._pE2!==undefined)_K92._gP.left=_oE2._pE2;if(_oE2._qE2!==undefined)_K92._gP.right=_oE2._qE2;if(_oE2._rE2!==undefined)_K92._gP.top=_oE2._rE2;if(_oE2._sE2!==undefined)_K92._gP.bottom=_oE2._sE2;if(_oE2._hP!==undefined)_K92._hP=_oE2._hP;
if(_oE2._zi!==undefined)_K92._zi=_oE2._zi;if(_oE2.preload!==undefined)_K92.preload=_oE2.preload;if(_oE2._tE2!==undefined)_K92._iP=_oE2._tE2;if(_oE2._uE2!==undefined)_K92._jP=_oE2._uE2==1;if(_oE2._uE2!==undefined)_K92._Am2=_oE2._uE2==2;if(_oE2._kP!==undefined)_K92._kP=_oE2._kP;if(_oE2._lP!==undefined)_K92._lP=_oE2._lP;if(_oE2._tC!==undefined)_K92._tC=_oE2._tC;if(_oE2._uC!==undefined)_K92._uC=_oE2._uC;_K92._pP=null;if(_oE2._vE2!==undefined){_K92._YD2(_oE2._vE2,_K92._kP,_K92._lP)}if(_oE2._wE2!==undefined){
_K92._jE2(_oE2._wE2)}if(_oE2._pP!==undefined)_K92._pP=_oE2._pP;_K92._7P=[];for(var _Q7=_oE2._ad2.length-1;_Q7>=0;_Q7--){_K92._7P[_Q7]=_oE2._ad2[_Q7]}_K92._F7=_K92._7P.length;_K92._qP();for(var _Q7=0;_Q7<_K92._7P.length;_Q7++){_K92._7P[_Q7]=_9d2(_K92._7P[_Q7]);if(_K92._7P[_Q7]!=null){if(_K92._7P[_Q7]._y4==0)_K92._7P[_Q7]._y4=1;if(_K92._7P[_Q7]._z4==0)_K92._7P[_Q7]._z4=1}}if(_K92._pP){for(var _Q7=0;_Q7<_oE2._pP.length;_Q7++){if(!_oE2._xE2)_lE2(_K92,_Q7);_K92._nP=true;var _u7=_K92.width*_K92.height;var _fw1=new Uint8Array(_u7);
var _yE2=((_K92.width+7)>>3);var _Dn2=0;for(var y=0;y<_K92.height;++y,_Dn2+=_yE2){var _v7=0x80;var _zE2=_Dn2;for(var x=0;x<_K92.width;++x,_v7>>=1){if(_v7==0){_v7=0x80;++_zE2}_fw1[x+(y*_K92.width)]=((_K92._pP[_Q7][_zE2]&_v7)!=0)}}_K92._G7[_Q7]=_fw1}}_oE2._xE2=true;return _K92}_dP.prototype._BB2=function(_iE2,_N6,_O6,_Wb){if(this._F7<=0)return;if(_iz){_jz()}var _wP=this._wP;if(((_mz.top-_O6)<=_wP)&&((_O6-_mz.bottom)<=_wP)&&((_mz.left-_N6)<=_wP)&&((_N6-_mz.right)<=_wP)||((_j6)&&(_7V1._gT1()!=null)&&(_7V1._gT1()._iS1==false))){
_iE2=(~~_iE2)%this._F7;if(_iE2<0)_iE2=_iE2+this._F7;if(!this._7P)return;var _Th=this._7P[_iE2];if(!_Th)return;if((_Th._u4==_Th._y4)&&(_Th._v4==_Th._z4)){_3j2(_Th,_N6-this._kP,_O6-this._lP,_Wb)}else {var _59=0xffffffff;_aj2(_Th,0,0,_N6-this._kP,_O6-this._lP,1,1,0,_59,_59,_59,_59,1)}}};_dP.prototype._a9=function(_M6,_N6,_O6,_4q,_5q,_R6,_Vb,_Wb){if(this._F7<=0)return;if(_iz){_jz()}if(!this._7P)return;var _AE2=abs(this._wP*_4q);var _BE2=abs(this._wP*_5q);var _wP;if(_AE2>_BE2){_wP=_AE2}else {_wP=_BE2}if(((_mz.top-_O6)<=_wP)&&((_O6-_mz.bottom)<=_wP)&&((_mz.left-_N6)<=_wP)&&((_N6-_mz.right)<=_wP)||((_j6)&&(_7V1._gT1()!=null)&&(_7V1._gT1()._iS1==false))){
_M6=(~~_M6)%this._F7;if(_M6<0)_M6+=this._F7;_R6=_b82(_R6,360.0);_aj2(this._7P[_M6],this._kP,this._lP,_N6,_O6,_4q,_5q,_R6*Math.PI/180.0,_Vb,undefined,undefined,undefined,_Wb)}};_dP.prototype._Qm2=function(_CE2,_DE2,_18,_28,_P6,_Q6,_R6,_N6,_O6){var _S7,_U7;if(!this._nP)return true;if(this._F7<=0)return false;_CE2=_CE2%this._G7.length;if(_CE2<0)_CE2=_CE2+this._G7.length;_18-=0.5;_28-=0.5;if(Math.abs(_R6)<0.0001){_S7=Math.floor((_N6-_18)/_P6+this._kP);_U7=Math.floor((_O6-_28)/_Q6+this._lP)}else {var _c8=Math.sin(-_R6*Math.PI/180.0);
var _d8=Math.cos(-_R6*Math.PI/180.0);_S7=Math.floor((_d8*(_N6-_18)+_c8*(_O6-_28))/_P6+this._kP);_U7=Math.floor((_d8*(_O6-_28)-_c8*(_N6-_18))/_Q6+this._lP)}if((_S7<0)||(_S7>=this.width))return false;if((_U7<0)||(_U7>=this.height))return false;return this._G7[_CE2][_S7+(_U7*this.width)]};_dP.prototype._Tm2=function(_CE2,_DE2,_18,_28,_P6,_Q6,_R6,_68){if(!this._nP)return true;if(this._F7<=0)return false;_CE2=_CE2%this._G7.length;if(_CE2<0){_CE2=_CE2+this._G7.length}var _H7=_I7(_DE2.left,_68.left);var _J7=_K7(_DE2.right,
_68.right);var _L7=_I7(_DE2.top,_68.top);var _M7=_K7(_DE2.bottom,_68.bottom);_18-=0.5;_28-=0.5;if((_P6==1)&&(_Q6==1)&&(Math.abs(_R6)<0.0001)){for(var _Q7=_H7;_Q7<=_J7;_Q7++){for(var _R7=_L7;_R7<=_M7;_R7++){var _S7=~~(_Q7-_18+this._kP);var _U7=~~(_R7-_28+this._lP);if((_S7<0)||(_S7>=this.width))continue;if((_U7<0)||(_U7>=this.height))continue;if(this._G7[_CE2][_S7+(_U7*this.width)]==true)return true}}}else {var _c8=Math.sin(-_R6*_O7/180.0);var _d8=Math.cos(-_R6*_O7/180.0);var _EE2=1.0/_P6;var _FE2=1.0/_Q6;for(var _Q7=_H7;
_Q7<=_J7;_Q7++){for(var _R7=_L7;_R7<=_M7;_R7++){var _S7=Math.floor((_d8*(_Q7-_18)+_c8*(_R7-_28))*_EE2+this._kP);var _U7=Math.floor((_d8*(_R7-_28)-_c8*(_Q7-_18))*_FE2+this._lP);if((_S7<0)||(_S7>=this.width))continue;if((_U7<0)||(_U7>=this.height))continue;if(this._G7[_CE2][_S7+(_U7*this.width)])return true}}}return false};_dP.prototype._GE2=function(_CE2,_DE2,_18,_28,_P6,_Q6,_R6,_68){var _Q7,_R7;if(!this._nP)return true;if(this._F7<=0)return false;_CE2=_CE2%this._G7.length;if(_CE2<0)_CE2=_CE2+this._G7.length;
var _H7=_I7(_DE2.left,_68.left);var _J7=_K7(_DE2.right,_68.right);var _L7=_I7(_DE2.top,_68.top);var _M7=_K7(_DE2.bottom,_68.bottom);var _78=((_68.right+_68.left)/2);var _88=((_68.bottom+_68.top)/2);var _98=1.0/((_68.right-_68.left)/2);var _a8=1.0/((_68.bottom-_68.top)/2);var _HE2=this._G7[_CE2];var _eD2;if((_P6==1)&&(_Q6==1)&&(Math.abs(_R6)<0.0001)){for(_Q7=_H7;_Q7<=_J7;_Q7++){_eD2=(_Q7-_78)*_98;var _IE2=_eD2*_eD2;var _S7=_Q7-_18+this._kP;if((_S7<0)||(_S7>=this.width))continue;for(_R7=_L7;_R7<=_M7;_R7++){_eD2=(_R7-_88)*_a8;
if(_IE2+(_eD2*_eD2)>1)continue;var _U7=_R7-_28+this._lP;if((_U7<0)||(_U7>=this.height))continue;if(_HE2[_S7+(_U7*this.width)])return true}}}else {var _c8=Math.sin(-_R6*Math.PI/180.0);var _d8=Math.cos(-_R6*Math.PI/180.0);var _EE2=1.0/_P6;var _FE2=1.0/_Q6;for(_Q7=_H7;_Q7<=_J7;_Q7++){var _JE2=(_Q7-_18);var _KE2=_d8*_JE2;var _LE2=_c8*_JE2;var _eD2=(_Q7-_78)*_98;var _ME2=_eD2*_eD2;for(_R7=_L7;_R7<=_M7;_R7++){var _NE2=(_R7-_88)*_a8;if((_ME2+(_NE2*_NE2))>1)continue;var _OE2=_R7-_28;var _S7=~~(((_KE2+_c8*_OE2)*_EE2)+this._kP);
if((_S7<0)||(_S7>=this.width))continue;var _U7=~~(((_d8*_OE2-_LE2)*_FE2)+this._lP);if((_U7<0)||(_U7>=this.height))continue;if(_HE2[_S7+(_U7*this.width)])return true}}}return false};_dP.prototype._sn2=function(_CE2,_DE2,_18,_28,_PE2,_QE2,_RE2,_SE2,_TE2,_E7,_m7,_n7,_o7,_p7,_q7){if(_SE2==null)return false;if(this._F7<=0)return false;if(_SE2._F7<=0)return false;if(this._G7.length>0)_CE2=_CE2%this._G7.length;if(_CE2<0){_CE2=_CE2+this._G7.length;}if(_SE2._G7.length>0)_TE2=_TE2%_SE2._G7.length;if(_TE2<0){_TE2=_TE2+_SE2._G7.length}
_PE2=1.0/_PE2;_QE2=1.0/_QE2;_o7=1.0/_o7;_p7=1.0/_p7;var _H7=_I7(_DE2.left,_E7.left);var _J7=_K7(_DE2.right,_E7.right);var _L7=_I7(_DE2.top,_E7.top);var _M7=_K7(_DE2.bottom,_E7.bottom);if((_PE2==1)&&(_o7==1)&&(_QE2==1)&&(_p7==1)&&(_RE2==0)&&(_q7==0)){for(var _Q7=_H7;_Q7<=_J7;_Q7++){for(var _R7=_L7;_R7<=_M7;_R7++){var _S7=_Q7-_18+this._kP;var _U7=_R7-_28+this._lP;if((_S7<0)||(_S7>=this.width))continue;if((_U7<0)||(_U7>=this.height))continue;if(this._nP){if(!this._G7[_CE2][_S7+(_U7*this.width)])continue }_S7=_Q7-_m7+_SE2._kP;
_U7=_R7-_n7+_SE2._lP;if((_S7<0)||(_S7>=_SE2.width))continue;if((_U7<0)||(_U7>=_SE2.height))continue;if(_SE2._nP){if(!_SE2._G7[_TE2][_S7+(_U7*_SE2.width)])continue }return true}}}else if((_RE2==0)&&(_q7==0)){for(var _Q7=_H7;_Q7<=_J7;_Q7++){for(var _R7=_L7;_R7<=_M7;_R7++){var _S7=Math.floor(((_Q7-_18)*_PE2+this._kP));var _U7=Math.floor(((_R7-_28)*_QE2+this._lP));if((_S7<0)||(_S7>=this.width))continue;if((_U7<0)||(_U7>=this.height))continue;if(this._nP){if(!this._G7[_CE2][_S7+(_U7*this.width)])continue }_S7=Math.floor(((_Q7-_m7)*_o7+_SE2._kP));
_U7=Math.floor(((_R7-_n7)*_p7+_SE2._lP));if((_S7<0)||(_S7>=_SE2.width))continue;if((_U7<0)||(_U7>=_SE2.height))continue;if(_SE2._nP){if(!_SE2._G7[_TE2][_S7+(_U7*_SE2.width)])continue;}return true}}}else {var _UE2=Math.sin(-_RE2*_O7/180);var _VE2=Math.cos(-_RE2*_O7/180);var _N7=Math.sin(-_q7*_O7/180);var _P7=Math.cos(-_q7*_O7/180);for(var _Q7=_H7;_Q7<=_J7;_Q7++){for(var _R7=_L7;_R7<=_M7;_R7++){var _S7=Math.floor(((_VE2*(_Q7-_18)+_UE2*(_R7-_28))*_PE2+this._kP));var _U7=Math.floor(((_VE2*(_R7-_28)-_UE2*(_Q7-_18))*_QE2+this._lP));
if((_S7<0)||(_S7>=this.width))continue;if((_U7<0)||(_U7>=this.height))continue;if(this._nP){if(!this._G7[_CE2][_S7+(_U7*this.width)])continue }_S7=Math.floor(((_P7*(_Q7-_m7)+_N7*(_R7-_n7))*_o7+_SE2._kP));_U7=Math.floor(((_P7*(_R7-_n7)-_N7*(_Q7-_m7))*_p7+_SE2._lP));if((_S7<0)||(_S7>=_SE2.width))continue;if((_U7<0)||(_U7>=_SE2.height))continue;if(_SE2._nP){if(!_SE2._G7[_TE2][_S7+(_U7*_SE2.width)])continue }return true}}}return false};_dP.prototype._WE2=function(_CE2,_DE2,_18,_28,_P6,_Q6,_R6,_XE2,_YE2,
_ZE2,__E2){if(!this._nP){return true}if(this._F7<=0){return false}_CE2=_CE2%this._G7.length;if(_CE2<0){_CE2=_CE2+this._G7.length}if((_XE2==_ZE2)||(_YE2==__E2)){var _6K1=new _Ys();_6K1.left=_XE2;_6K1.top=_K7(_YE2,__E2);_6K1.right=_ZE2;_6K1.bottom=_I7(_YE2,__E2);return this._Tm2(_CE2,_DE2,_18,_28,_P6,_Q6,_R6,_6K1)}var _c8=Math.sin(-_R6*Math.PI/180.0);var _d8=Math.cos(-_R6*Math.PI/180.0);_18-=0.5;_28-=0.5;if(Math.abs(_ZE2-_XE2)>=Math.abs(__E2-_YE2)){if(_ZE2<_XE2){var _Cd=_ZE2;_ZE2=_XE2;_XE2=_Cd;_Cd=__E2;__E2=_YE2;
_YE2=_Cd}var _Iy=(__E2-_YE2)/(_ZE2-_XE2);for(var _Q7=_I7(_DE2.left,_XE2);_Q7<=_K7(_DE2.right,_ZE2);_Q7++){var _S7=Math.floor((_d8*(_Q7-_18)+_c8*(_YE2+(_Q7-_XE2)*_Iy-_28))/_P6+this._kP);var _U7=Math.floor((_d8*(_YE2+(_Q7-_XE2)*_Iy-_28)-_c8*(_Q7-_18))/_Q6+this._lP);if((_S7<0)||(_S7>=this.width))continue;if((_U7<0)||(_U7>=this.height))continue;if(this._G7[_CE2][_S7+(_U7*this.width)])return true}}else {if(__E2<_YE2){var _Cd=__E2;__E2=_YE2;_YE2=_Cd;_Cd=_ZE2;_ZE2=_XE2;_XE2=_Cd}var _Iy=(_ZE2-_XE2)/(__E2-_YE2);
for(var _Q7=_I7(_DE2.top,_YE2);_Q7<=_K7(_DE2.bottom,__E2);_Q7++){var _S7=Math.floor((_d8*(_XE2+(_Q7-_YE2)*_Iy-_18)+_c8*(_Q7-_28))/_P6+this._kP);var _U7=Math.floor((_d8*(_Q7-_28)-_c8*(_XE2+(_Q7-_YE2)*_Iy-_18))/_Q6+this._lP);if((_S7<0)||(_S7>=this.width))continue;if((_U7<0)||(_U7>=this.height))continue;if(this._G7[_CE2][_S7+(_U7*this.width)])return true}}return false};_dP.prototype._NP=function(_M6){if(this._F7<=0){return null}_M6=_M6%this._F7;if(_M6<0){_M6=_M6+this._F7}if(this._7P){return this._7P[_M6]}
return null};/*@constructor */function _F82(){this._J3=[]}_F82.prototype._fP=function(_mE2){var _r7=this._J3.length;this._J3[_r7]=_mE2;return _r7};_F82.prototype._qm2=function(_0F2){var _dx2=this._J3[_0F2];if(!_dx2)return null;if((_dx2._8E2!==null)&&(_dx2._8E2!==undefined)){return _dx2._8E2._lQ1;}return _dx2._7P.length};_F82.prototype._8g=function(_0F2){if(_0F2<0||_0F2>this._J3.length)return null;return this._J3[_0F2]};_F82.prototype._KE=function(_5g){var _K92=this._J3[_5g];if(_K92!=undefined){var _1F2=true;
for(var _Q7=0;_Q7<_K92._7P.length;_Q7++){var _Th=_K92._7P[_Q7];if(!_Th||!_Th._J8)continue;var _Ay1=_Th._J8;if(!_Ay1||!_Ay1._fa)continue;if(_1F2){_v8._7s1();_1F2=false}_v8._Pt1(_Ay1._fa._9t1);_Ay1._fa=null}this._J3[_5g]=undefined}};_F82.prototype._c92=function(_wt1){try{var _2F2={data:new Uint8Array(_wt1),offset:0};function _3F2(_4F2){var _5F2=";";var _2t="";while(_2F2.offset<_4F2.data.byteLength){if(_4F2.data[_2F2.offset]===_5F2.charCodeAt(0)){_2F2.offset++;break }_2t=_2t+String.fromCharCode(_4F2.data[_2F2.offset]);
_2F2.offset++}return _2t};var type=_3F2(_2F2);if(type=="rswf"){var version=_3F2(_2F2),_6F2=version.split('.',3);_lP1._0W=parseInt(_6F2[0]);_lP1._1W=parseInt(_6F2[1]);_lP1.version=parseInt(_6F2[2]);var _7F2=parseInt(_3F2(_2F2)),_8F2=parseInt(_3F2(_2F2));this.__D2=[];var _Cc=_7F2;for(var _Q7=0;_Q7<_8F2;_Q7++){var _9F2=parseInt(_3F2(_2F2));this.__D2[_Q7]=_wt1.slice(_Cc,_Cc+_9F2);_Cc+=_9F2}}}catch(e){debug("Cannot parse SWF data "+e.message)}};_F82.prototype._a92=function(_aF2){function _bF2(_k9,_M7){var _sz2=(_k9>>16)&0xffff,
_1W1=_k9&0xffff;var _cF2=(_M7>>16)&0xffff,_4q1=_M7&0xffff;var _KX=((_sz2*_4q1)+(_1W1*_cF2))&0xffff;return((_KX<<16)>>>0)+(_1W1*_4q1)};function _dF2(_wt1){var _eF2=Math.pow(2,32);var _fF2=6*7;var _gF2="";for(var _R7=0;_R7<_wt1.length;_R7++){_gF2+=String.fromCharCode((_wt1.charCodeAt(_R7)-(_fF2&0xff))&0xff);_fF2=_bF2(_fF2,(_fF2+1)%_eF2)%_eF2}return _gF2};this._FM1=[];try{var _hF2=_aF2.split(';',4);if(_hF2[0]=="skel"){var version=_hF2[1];var _Cc=parseInt(_hF2[2]);var _iF2=parseInt(_hF2[3]);var _jF2=4+_iF2;_hF2=_aF2.split(';',
_jF2);for(var _Q7=0;_Q7<_iF2;_Q7++){var _kF2=parseInt(_hF2[4+_Q7]);var _lF2=_aF2.substr(_Cc,_kF2);var _mF2=_lF2.split(';',4);var _Ki=0;var _nF2=parseInt(_mF2[_Ki++]);var _oF2=parseInt(_mF2[_Ki++]);var _pF2=parseInt(_mF2[_Ki++]);var _qF2=_mF2[_Ki].substr(0,_nF2);var _rF2=_mF2[_Ki].substr(_nF2,_mF2[_Ki].length-_nF2);this._FM1.push({_YA:_dF2(_xv(_qF2)),_bO1:_dF2(_xv(_rF2)),width:_oF2,height:_pF2});_Cc+=_kF2}}}catch(e){debug("Cannot parse Spine data "+e.message)}};/*@constructor */function _0a2(){this.__type="[TextureGroupInfo]";
this._U3="unknowntexturegroup";this._1a2=[];this._PF=[];this._2a2=[];this._3a2=[];this._4a2=[]}/*@constructor */function _G82(){this._E4=[]}_G82.prototype._7a2=function(_sF2){var _r7=this._E4.length;this._E4[_r7]=_sF2;return _r7};_G82.prototype._tF2=function(_uF2){for(var _Q7=0;_Q7<this._E4.length;_Q7++){var __92=this._E4[_Q7];for(var _R7=0;_R7<__92._1a2.length;_R7++){if(_K8[__92._1a2[_R7]]){var _S8=_K8[__92._1a2[_R7]];if(_S8._fa){if(_S8._fa===_uF2){return __92}}}}}return null};function _vF2(_wF2){if(_K8[_wF2]){
if(_K8[_wF2]._fa){return _K8[_wF2]._fa}}return null}var _xF2=0;function _yF2(_uF2){if(_xF2>0){var _Ha=-1;for(var _Q7=0;_Q7<_K8.length;_Q7++){if(_K8[_Q7]){if(_K8[_Q7]._fa){if(_K8[_Q7]._fa===_uF2){_Ha=0;break }}}}var __92=_g62._tF2(_uF2);if(__92!=null){_r5("Texture unpacked - Group: "+__92._U3+", Texture ID: "+String(_Ha)+", Width: "+_uF2._7t1+", Height "+_uF2._8t1)}else if(_xF2>1){_r5("Texture unpacked - Group: None, Texture ID: "+String(_Ha)+", Width: "+_uF2._7t1+", Height "+_uF2._8t1);}}}function _zF2(_uF2){
if(_xF2>0){var _Ha=-1;for(var _Q7=0;_Q7<_K8.length;_Q7++){if(_K8[_Q7]){if(_K8[_Q7]._fa){if(_K8[_Q7]._fa===_uF2){_Ha=0;break }}}}var __92=_g62._tF2(_uF2);if(__92!=null){_r5("Texture flushed - Group: "+__92._U3+", Texture ID: "+String(_Ha)+", Width: "+_uF2._7t1+", Height "+_uF2._8t1)}else if(_xF2>1){_r5("Texture flushed - Group: None, Texture ID: "+String(_Ha)+", Width: "+_uF2._7t1+", Height "+_uF2._8t1)}}}/*@constructor */function _AF2(){this.__type="[Tile]";this.x=0;this.y=0;this.index=0;this._0B2=0;this._1B2=0;
this._u4=0;this._v4=0;this._n4=0.0;this.id=_972++;this._pC=1.0;this._qC=1.0;this._sC=0xffffff;this.alpha=1.0;this._W3=true;this._BF2=false}_AF2.prototype._CF2=function(){var _xP=_Ch._Dh(this.index);if(_xP!=null){var _Th=_xP._Gh;if(_Th._C4>=_K8.length)return;if(!_K8[_Th._C4].complete)return;if(this._0B2<0){this._u4+=this._0B2;this._0B2=0}if(this._1B2<0){this._v4+=this._1B2;this._1B2=0}if(_Th!=null){if((this._0B2+this._u4)>=_Th._u4){this._u4=_Th._u4-this._0B2}if((this._1B2+this._v4)>=_Th._v4){this._v4=_Th._v4-this._1B2}
}}};function _5B2(_DF2){var _hA2=new _AF2();if(_DF2.x!=undefined)_hA2.x=_DF2.x;if(_DF2.y!=undefined)_hA2.y=_DF2.y;if(_DF2.index!=undefined)_hA2.index=_DF2.index;if(_DF2._0B2!=undefined)_hA2._0B2=_DF2._0B2;if(_DF2._1B2!=undefined)_hA2._1B2=_DF2._1B2;if(_DF2._u4!=undefined)_hA2._u4=_DF2._u4;if(_DF2._v4!=undefined)_hA2._v4=_DF2._v4;if(_DF2._n4!=undefined)_hA2._n4=_DF2._n4;if(_DF2.id!=undefined)_hA2.id=_DF2.id;if(_DF2.scaleX!=undefined)_hA2._pC=_DF2.scaleX;if(_DF2.scaleY!=undefined)_hA2._qC=_DF2.scaleY;
if(_DF2._a4!=undefined){_hA2._sC=(_DF2._a4&0xffffff);_hA2.alpha=((_DF2._a4>>24)&0xff)/255.0}_hA2._CF2();if(_972<_DF2.id)_972=_DF2.id+1;return _hA2}_AF2.prototype._a9=function(){if(!this._W3)return false;var _xP=_Ch._Dh(this.index);if(_xP!=null){var _Th=_xP._Gh;if((_Th._J8 instanceof HTMLImageElement)&&(_Th._C4>=_K8.length))return;if((_K8[_Th._C4] instanceof HTMLImageElement)&&(!_K8[_Th._C4].complete))return;var _W6=_Th._u4/_Th._A4;var _X6=_Th._v4/_Th._B4;if(!_v8){_M9.globalAlpha=this.alpha;if(this._sC!=0xffffff){
var _7i2=_R9(_Th,this._sC);if(this._pC<=0||this._qC<=0){_hi2(this.x,this.y,this._pC,this._qC,0.0);_M9._6P(_7i2,(this._0B2*_W6),(this._1B2*_X6),this._u4*_W6,this._v4*_X6,0,0,this._u4,this._v4);_ji2()}else {_M9._6P(_7i2,(this._0B2*_W6),(this._1B2*_X6),(this._u4*_W6),(this._v4*_X6),this.x,this.y,this._u4*this._pC,this._v4*this._qC)}}else {var _Ay1=-1;if(_Th._J8 instanceof HTMLImageElement)_Ay1=_K8[_Th._C4];else _Ay1=_Th._J8;if(this._pC<=0||this._qC<=0){_hi2(this.x,this.y,this._pC,this._qC,0.0);_M9._6P(_Ay1,
_Th.x+(this._0B2*_W6),_Th.y+(this._1B2*_W6),this._u4*_W6,this._v4*_X6,0,0,this._u4,this._v4);_ji2()}else {_M9._6P(_Ay1,_Th.x+(this._0B2*_W6),_Th.y+(this._1B2*_W6),this._u4*_W6,this._v4*_X6,this.x,this.y,this._u4*this._pC,this._v4*this._qC)}}}else {var _59=this._sC|((this.alpha*255)<<24);_M9._6P(_Th,_Th.x+(this._0B2*_W6),_Th.y+(this._1B2*_W6),this._u4*_W6,this._v4*_W6,this.x,this.y,this._u4*this._pC,this._v4*this._qC,_59)}}};/*@constructor */function _EF2(_8d2){this.__type="[Timeline]";if((_8d2!=null)&&(_8d2!=undefined)){
this._U3=_8d2._U3;this._9v=_8d2._9v}else {this._U3="";this._9v=[]}}_EF2.prototype._UV1=function(_FF2){if(this._9v.length==0){return 0}if(_FF2>this._9v[this._9v.length-1]._GF2){return this._9v.length}for(var _Q7=0;_Q7<this._9v.length;_Q7++){if(this._9v[_Q7]._GF2>=_FF2){return _Q7}}return this._9v.length};_EF2.prototype._YV1=function(_FF2){if(this._9v.length==0){return 0}if(_FF2<this._9v[0]._GF2){return -1}for(var _Q7=this._9v.length-1;_Q7>=0;_Q7--){if(this._9v[_Q7]._GF2<=_FF2){return _Q7}}return -1};_EF2.prototype._XV1=function(){
return this._9v[this._9v.length-1]._GF2};/*@constructor */function _L82(){this._R3=[]}_L82.prototype._Qe=function(_8d2){var _Fh=null;if(_8d2!=null){_Fh=new _EF2(_8d2)}this._R3[this._R3.length]=_Fh};_L82.prototype._8g=function(_M6){if((_M6<0)||(_M6>=this._R3.length)){return undefined}return this._R3[_M6]};_L82.prototype._6f=function(_M6){if((_M6>=0)||(_M6<this._R3.length)){this._R3[_M6]._9v._6f()}};_L82.prototype._KE=function(_M6){if((_M6>=0)||(_M6<this._R3.length)){this._R3[_M6]=null}};/*@constructor *//*@constructor */function _G92(_HF2){
if(!_HF2){this._xg=[]}else {this._xg=_HF2}}_G92.prototype._8g=function(_YO){return this._xg[_YO]};_G92.prototype._Xc2=function(_IF2){for(var _Q7=1;_Q7<this._xg.length;_Q7++){var _zw2=this._xg[_Q7];if(_zw2._JF2==_IF2){_aB._67(_8Y1,_Q7)}}};var _KF2=0;var _LF2=1;var _MF2=2;var _NF2=6;var _OF2=7;var _PF2=5;var _QF2=3;var _RF2=4;var _SF2=8;var _TF2=9;var _UF2=10;var _VF2=11;var _WF2=12;var _XF2=13;var _YF2=14;var _ZF2=15;/*@constructor */function __F2(_8G,_0G2,_1G2,_Zb){if(!(_8G instanceof Array))_Fa("array_set_2D() : argument 0 must be an array");
if(!(_8G[_0G2] instanceof Array))_8G[_0G2]=[];_8G._2G2=2;_8G[_0G2][_1G2]=_Zb}function _3G2(_Hd2,_o6){if(typeof(_o6)=="boolean"){_df2(_Hd2,_fF1,_XF2);var _Q7=0;if(_o6)_Q7=1;_df2(_Hd2,_yd2,_Q7)}else if(typeof(_o6)=="number"){_df2(_Hd2,_fF1,_KF2);_df2(_Hd2,_yd2,_o6)}else if(typeof(_o6)=="string"){_df2(_Hd2,_fF1,_LF2);var _4G2=_tv(_o6);_df2(_Hd2,_fF1,_4G2.length);_df2(_Hd2,_Cd2,_o6)}else if(_o6 instanceof Array){_df2(_Hd2,_fF1,_MF2);if(_o6._2G2!=2){_df2(_Hd2,_fF1,1);var _9s=_o6.length;_df2(_Hd2,_fF1,_9s);for(var _Q7=0;
_Q7<_9s;_Q7++){var _5G2=_o6[_Q7];_3G2(_Hd2,_5G2)}}else {var _9s=_o6.length;_df2(_Hd2,_fF1,_9s);for(var _Q7=0;_Q7<_9s;_Q7++){var _6G2=_o6[_Q7];var _7G2=_6G2.length;_df2(_Hd2,_fF1,_7G2);for(var _tx=0;_tx<_7G2;_tx++){var _5G2=_6G2[_tx];_3G2(_Hd2,_5G2)}}}}else {_df2(_Hd2,_fF1,_PF2)}}function _8G2(_GT){return((_GT>='0')&&(_GT<='9'))||((_GT>='A')&&(_GT<='F'))||((_GT>='a')&&(_GT<='f'))}function _9G2(_GT){var _M7=(_GT&0x40)>>6;return(_GT&0x0f)+(_M7*9)}function _aG2(_Hd2){var _L7=_cf2(_Hd2,_fF1);if(_L7===_XF2){var _M7=_cf2(_Hd2,
_yd2);var _bG2=false;if(_M7!=0)_bG2=true;return _bG2}else if(_L7===_KF2){var _M7=_cf2(_Hd2,_yd2);return _M7}else if(_L7===_OF2){var _y9=_cf2(_Hd2,_hF1);return _y9}else if(_L7===_UF2||_L7===_QF2){var _y9=_cf2(_Hd2,_fF1);var _ya=_cf2(_Hd2,_hF1);return(_ya<<32)|_y9}else if(_L7===_LF2){var _H7=_cf2(_Hd2,_fF1);_ps="";for(var _Q7=0;_Q7<_H7;_Q7++){_ps+=String.fromCharCode(_cf2(_Hd2,_td2))}return _uv(_ps)}else if(_L7===_MF2){var _cG2=_cf2(_Hd2,_fF1);var _Z7=[];if(_cG2===1){var _9s=_cf2(_Hd2,_fF1);for(var _Q7=0;_Q7<_9s;_Q7++){
_Z7[_Q7]=_aG2(_Hd2)}}else {for(var _7u=0;_7u<_cG2;_7u++){var _9s=_cf2(_Hd2,_fF1);for(var _Q7=0;_Q7<_9s;_Q7++){var _M7=_aG2(_Hd2);__F2(_Z7,_7u,_Q7,_M7)}}}return _Z7}else {return undefined}}var _dG2={"room":[!0,!0,!0,"set_current_room","get_current_room"],"room_first":[!0,!1,!1,null,null],"room_last":[!0,!1,!1,null,null],"transition_kind":[!0,!0,!0,null,null],"transition_steps":[!0,!0,!0,null,null],"score":[!0,!0,!0,null,null],"lives":[!0,!0,!0,"set_lives_function",null],"health":[!0,!0,!0,"set_health_function",
null],"game_id":[!0,!1,!1,null,null],"game_display_name":[!0,!1,!0,null,null],"game_project_name":[!0,!1,!0,null,null],"game_save_id":[!0,!1,!0,null,null],"working_directory":[!0,!1,!1,null,null],"temp_directory":[!0,!1,!1,null,null],"program_directory":[!0,!1,!1,null,null],"instance_count":[!0,!1,!1,null,"get_instance_count"],"instance_id":[!0,!1,!1,null,null],"room_width":[!0,!0,!1,"set_room_width",null],"room_height":[!0,!0,!1,"set_room_height",null],"room_caption":[!0,!0,!0,"set_room_caption",
null],"room_speed":[!0,!0,!0,"set_room_speed","get_room_speed"],"room_persistent":[!0,!0,!0,"set_room_persistent",null],"background_color":[!0,!0,!0,"setbackground_color","getbackground_color"],"background_showcolor":[!0,!0,!0,"setbackground_showcolor","getbackground_showcolor"],"background_colour":[!0,!0,!0,"setbackground_color","getbackground_color"],"background_showcolour":[!0,!0,!0,"setbackground_showcolor","getbackground_showcolor"],"background_visible":[!0,!0,!0,null,null],"background_foreground":[!0,
!0,!0,null,null],"background_index":[!0,!0,!0,null,null],"background_x":[!0,!0,!0,null,null],"background_y":[!0,!0,!0,null,null],"background_width":[!0,!1,!1,null,null],"background_height":[!0,!1,!1,null,null],"background_htiled":[!0,!0,!0,null,null],"background_vtiled":[!0,!0,!0,null,null],"background_xscale":[!0,!0,!0,null,null],"background_yscale":[!0,!0,!0,null,null],"background_hspeed":[!0,!0,!0,null,null],"background_vspeed":[!0,!0,!0,null,null],"background_blend":[!0,!0,!0,null,null],"background_alpha":[!0,
!0,!0,null,null],"view_enabled":[!0,!0,!0,"set_view_enable","get_view_enable"],"view_current":[!0,!1,!1,null,null],"view_visible":[!0,!0,!0,null,null],"view_xview":[!0,!0,!0,null,null],"view_yview":[!0,!0,!0,null,null],"view_wview":[!0,!0,!0,null,null],"view_hview":[!0,!0,!0,null,null],"view_angle":[!0,!0,!0,null,null],"view_hborder":[!0,!0,!0,null,null],"view_vborder":[!0,!0,!0,null,null],"view_hspeed":[!0,!0,!0,null,null],"view_vspeed":[!0,!0,!0,null,null],"view_object":[!0,!0,!0,null,null],"view_xport":[!0,
!0,!0,null,null],"view_yport":[!0,!0,!0,null,null],"view_wport":[!0,!0,!0,null,null],"view_hport":[!0,!0,!0,null,null],"view_surface_id":[!0,!0,!0,null,null],"view_camera":[!0,!0,!0,null,null],"mouse_x":[!0,!1,!1,null,"get_mouse_x"],"mouse_y":[!0,!1,!1,null,"get_mouse_y"],"mouse_button":[!0,!0,!0,null,null],"mouse_lastbutton":[!0,!0,!0,null,null],"keyboard_key":[!0,!0,!0,null,null],"keyboard_lastkey":[!0,!0,!0,null,null],"keyboard_lastchar":[!0,!0,!0,null,null],"keyboard_string":[!0,!0,!0,null,null],
"show_score":[!0,!0,!0,null,null],"show_lives":[!0,!0,!0,null,null],"show_health":[!0,!0,!0,null,null],"caption_score":[!0,!0,!0,null,null],"caption_lives":[!0,!0,!0,null,null],"caption_health":[!0,!0,!0,null,null],"fps":[!0,!1,!1,null,null],"fps_real":[!0,!1,!1,null,null],"current_time":[!0,!1,!1,null,"get_current_time"],"current_year":[!0,!1,!1,null,"get_current_year"],"current_month":[!0,!1,!1,null,"get_current_month"],"current_day":[!0,!1,!1,null,"get_current_day"],"current_weekday":[!0,!1,!1,
null,"get_current_weekday"],"current_hour":[!0,!1,!1,null,"get_current_hour"],"current_minute":[!0,!1,!1,null,"get_current_minute"],"current_second":[!0,!1,!1,null,"get_current_second"],"event_type":[!0,!1,!1,null,"get_current_event_type"],"event_number":[!0,!1,!1,null,"get_current_event_number"],"event_object":[!0,!1,!1,null,"get_current_event_object"],"event_action":[!0,!1,!1,null,null],"error_occurred":[!0,!0,!0,null,null],"error_last":[!0,!0,!0,null,null],"gamemaker_registered":[!0,!1,!1,null,
null],"gamemaker_pro":[!0,!1,!1,null,null],"application_surface":[!0,!1,!1,null,null],"os_type":[!0,!1,!1,null,"get_os_type"],"os_device":[!0,!1,!1,null,"get_os_device"],"os_browser":[!0,!1,!1,null,"get_os_browser"],"os_version":[!0,!1,!1,null,"get_os_version"],"browser_width":[!0,!1,!1,null,"get_browser_width"],"browser_height":[!0,!1,!1,null,"get_browser_height"],"async_load":[!0,!1,!1,null,"get_async_load"],"event_data":[!0,!1,!1,null,"get_event_data"],"display_aa":[!0,!1,!1,null,"get_display_aa"],
"iap_data":[!0,!1,!1,null,"get_iap_data"],"cursor_sprite":[!0,!0,!1,"set_cursor_sprite","get_cursor_sprite"],"delta_time":[!0,!0,!1,null,"get_delta_time"],"webgl_enabled":[!0,!1,!1,null,null],};var _eG2={"x":[!0,!0,!0,"setx",null],"y":[!0,!0,!0,"sety",null],"xprevious":[!0,!0,!0,null,null],"yprevious":[!0,!0,!0,null,null],"xstart":[!0,!0,!0,null,null],"ystart":[!0,!0,!0,null,null],"hspeed":[!0,!0,!0,"sethspeed",null],"vspeed":[!0,!0,!0,"setvspeed",null],"direction":[!0,!0,!0,"setdirection",null],
"speed":[!0,!0,!0,"setspeed",null],"friction":[!0,!0,!0,null,null],"gravity":[!0,!0,!0,null,null],"gravity_direction":[!0,!0,!0,null,null],"object_index":[!0,!1,!1,null,null],"id":[!0,!1,!1,null,null],"alarm":[!0,!0,!0,null,null],"solid":[!0,!0,!0,null,null],"visible":[!0,!0,!0,null,null],"persistent":[!0,!0,!0,null,null],"depth":[!0,!0,!0,"setdepth","getdepth"],"bbox_left":[!0,!1,!1,null,"get_bbox_left"],"bbox_right":[!0,!1,!1,null,"get_bbox_right"],"bbox_top":[!0,!1,!1,null,"get_bbox_top"],"bbox_bottom":[!0,
!1,!1,null,"get_bbox_bottom"],"sprite_index":[!0,!0,!0,"set_sprite_index",null],"image_index":[!0,!0,!0,"set_image_index",null],"image_single":[!0,!0,!0,"set_image_single","get_image_single"],"image_number":[!0,!1,!1,null,"get_image_number"],"sprite_width":[!0,!1,!1,null,"get_sprite_width"],"sprite_height":[!0,!1,!1,null,"get_sprite_height"],"sprite_xoffset":[!0,!1,!1,null,"get_sprite_xoffset"],"sprite_yoffset":[!0,!1,!1,null,"get_sprite_yoffset"],"image_xscale":[!0,!0,!0,"setxscale",null],"image_yscale":[!0,
!0,!0,"setyscale",null],"image_angle":[!0,!0,!0,"setangle",null],"image_alpha":[!0,!0,!0,null,null],"image_blend":[!0,!0,!0,"set_imageblend","get_imageblend"],"image_speed":[!0,!0,!0,null,null],"mask_index":[!0,!0,!0,"set_mask_index",null],"path_index":[!0,!1,!1,null,null],"path_position":[!0,!0,!0,null,null],"path_positionprevious":[!0,!0,!0,null,null],"path_speed":[!0,!0,!0,null,null],"path_scale":[!0,!0,!0,null,null],"path_orientation":[!0,!0,!0,null,null],"path_endaction":[!0,!0,!0,null,null],
"timeline_index":[!0,!0,!0,null,null],"timeline_position":[!0,!0,!0,null,null],"timeline_speed":[!0,!0,!0,null,null],"timeline_running":[!0,!0,!0,"set_timeline_running","get_timeline_running"],"timeline_loop":[!0,!0,!0,"set_timeline_loop","get_timeline_loop"],"phy_rotation":[!0,!0,!0,"set_physics_rotation",null],"phy_position_x":[!0,!0,!0,"set_physics_position_x",null],"phy_position_y":[!0,!0,!0,"set_physics_position_y",null],"phy_angular_velocity":[!0,!0,!0,"set_physics_omega",null],"phy_linear_velocity_x":[!0,
!0,!0,"set_physics_linear_velocity_x",null],"phy_linear_velocity_y":[!0,!0,!0,"set_physics_linear_velocity_y",null],"phy_speed_x":[!0,!0,!0,"set_physics_speed_x",null],"phy_speed_y":[!0,!0,!0,"set_physics_speed_y",null],"phy_speed":[!0,!1,!0,null,null],"phy_angular_damping":[!0,!0,!0,"set_physics_angular_damping",null],"phy_linear_damping":[!0,!0,!0,"set_physics_linear_damping",null],"phy_bullet":[!0,!0,!0,"set_physics_bullet",null],"phy_fixed_rotation":[!0,!0,!0,"set_physics_fixed_rotation",null],
"phy_active":[!0,!0,!0,"set_physics_active",null],"phy_mass":[!0,!1,!0,null,null],"phy_inertia":[!0,!1,!0,null,null],"phy_com_x":[!0,!1,!0,null,null],"phy_com_y":[!0,!1,!0,null,null],"phy_dynamic":[!0,!1,!0,null,null],"phy_kinematic":[!0,!1,!0,null,null],"phy_sleeping":[!0,!1,!0,null,null],"phy_position_xprevious":[!0,!0,!0,null,null],"phy_position_yprevious":[!0,!0,!0,null,null],"phy_collision_points":[!0,!1,!0,null,null],"phy_collision_x":[!0,!1,!0,null,null],"phy_collision_y":[!0,!1,!0,null,null],
"phy_col_normal_x":[!0,!1,!0,null,null],"phy_col_normal_y":[!0,!1,!0,null,null],"layer":[!0,!0,!0,"SetLayerID","GetLayerID"],};function _fG2(){_Fa("vertex_format_begin")}function _gG2(){_Fa("vertex_format_end")}function _hG2(_iG2){_Fa("vertex_format_delete")}function _jG2(){_Fa("vertex_format_add_position")}function _kG2(){_Fa("vertex_format_add_position_3d")}function _lG2(){_Fa("vertex_format_add_colour")}function _mG2(){_Fa("vertex_format_add_color")}function _nG2(){_Fa("vertex_format_add_normal")}function _oG2(){
_Fa("vertex_format_add_texcoord")}function _pG2(){_Fa("vertex_format_add_textcoord")}function _qG2(type,_Ac){_Fa("vertex_format_add_custom")}var _rG2=null;function _sG2(){_fG2=_tG2;_gG2=_uG2;_hG2=_vG2;_jG2=_wG2;_kG2=_xG2;_lG2=_yG2;_mG2=_yG2;_nG2=_zG2;_oG2=_AG2;_pG2=_AG2;_qG2=_BG2}function _tG2(){if(_rG2!=null){debug("ERROR vertex_format_begin: Vertex format is already under construction")}else {_rG2=new _Uq1()}}function _wG2(){if(_rG2==null){debug("ERROR vertex_format_add_position: No vertex format is under construction")}
else {_rG2._Jy1()}}function _xG2(){if(_rG2==null){debug("ERROR vertex_format_add_position_3d: No vertex format is under construction")}else {_rG2._4r1()}}function _yG2(){if(_rG2==null){debug("ERROR vertex_format_add_colour: No vertex format is under construction")}else {_rG2._5r1()}}function _zG2(){if(_rG2==null){debug("ERROR vertex_format_add_normal: No vertex format is under construction");}else {_rG2._7r1()}}function _AG2(){if(_rG2==null){debug("ERROR vertex_format_add_textcoord: No vertex format is under construction")}
else {_rG2._6r1()}}function _BG2(_vc,_uc){if(_rG2==null){debug("ERROR vertex_format_add_normal: No vertex format is under construction")}else {_rG2._Ky1(_vc,_uc)}}function _uG2(){if(_rG2==null){debug("ERROR vertex_format_end: No vertex format under construction");return -1}var _0x1=_v8._ar1(_rG2);_rG2=null;return _0x1}function _vG2(_CG2){debug("WARNING vertex_format_delete not implemented on HTML5 (System shares vertex formats but doesn't reference count)");}/*@constructor */function _582(){this.__type="[View]";
this._W3=false;this._uQ=0;this._wQ=0;this._yQ=640;this._AQ=480;this._qB2=0;this._rB2=0;this._sB2=640;this._tB2=480;this.angle=0;this._nf=0;this._pf=0;this._of=0;this._qf=0;this._NC2=0;this._OC2=0;this._PC2=1;this._QC2=1;this._YS1=32;this.__S1=32;this._o4=-1;this._p4=-1;this._2T1=-1;this._uB2=-1;this._8V1=-1;this._eS1=-1}_582.prototype._1g=function(_2g){this._W3=_2g._W3;this._uQ=_2g._uQ;this._wQ=_2g._wQ;this._yQ=_2g._yQ;this._AQ=_2g._AQ;this._qB2=_2g._qB2;this._rB2=_2g._rB2;this._sB2=_2g._sB2;this._tB2=_2g._tB2;
this.angle=_2g.angle;this._nf=_2g._nf;this._pf=_2g._pf;this._of=_2g._of;this._qf=_2g._qf;this._NC2=_2g._NC2;this._OC2=_2g._OC2;this._PC2=_2g._PC2;this._QC2=_2g._QC2;this._YS1=_2g._YS1;this.__S1=_2g.__S1;this._o4=_2g._o4;this._p4=_2g._p4;this._2T1=_2g._2T1;this._uB2=_2g._uB2;this._8V1=_2g._8V1};_582.prototype._DG2=function(_N6,_O6,_EG2){var _ym2=_mf;_N6=(_N6-_ym2.left-this._nf)/(_ym2.scaleX||1);_O6=(_O6-_ym2.top-this._pf)/(_ym2.scaleY||1);if(_j6){var _FG2=_7V1._tS1(this._8V1);if(_FG2==null)return 0;
var _GG2=_N6/this._NC2;var _HG2=_O6/this._OC2;_GG2=_GG2*2.0-1.0;_HG2=_HG2*2.0-1.0;var _IG2=_FG2._iT1();var _tW;if(_EG2){_tW=((_GG2*_IG2._v7[_Ep])+(_HG2*_IG2._v7[_Fp])+_IG2._v7[_Hp])}else {_tW=((_GG2*_IG2._v7[_Ip])+(_HG2*_IG2._v7[_xo])+_IG2._v7[_Kp])}return Math.floor(_tW)}else {if(_EG2){_N6/=this._PC2;return _N6+this._uQ}else {_O6/=this._QC2;return _O6+this._wQ}}};_582.prototype._rf=function(_N6,_O6){return this._DG2(_N6,_O6,true)};_582.prototype._sf=function(_N6,_O6){return this._DG2(_N6,_O6,false)};function _6B2(_JG2){
var _no=new _582();if(_JG2._W3!=undefined)_no._W3=_JG2._W3;if(_JG2._cz!=undefined)_no._uQ=_JG2._cz;if(_JG2._dz!=undefined)_no._wQ=_JG2._dz;if(_JG2._g4!=undefined)_no._yQ=_JG2._g4;if(_JG2._h4!=undefined)_no._AQ=_JG2._h4;if(_JG2._WA2!=undefined)_no._qB2=_JG2._WA2;if(_JG2._XA2!=undefined)_no._rB2=_JG2._XA2;if(_JG2._i4!=undefined)_no._sB2=_JG2._i4;if(_JG2._j4!=undefined)_no._tB2=_JG2._j4;if(_JG2.angle!=undefined)_no._tB2=_JG2.angle;if(_JG2._YS1!=undefined)_no._YS1=_JG2._YS1;if(_JG2.__S1!=undefined)_no.__S1=_JG2.__S1;
if(_JG2._o4!=undefined)_no._o4=_JG2._o4;if(_JG2._p4!=undefined)_no._p4=_JG2._p4;if(_JG2.index!=undefined)_no._2T1=_JG2.index;if(_j6){if(_JG2._8V1!==undefined&&_JG2._8V1>=0){_no._8V1=_7V1._rS1(_JG2._8V1)}else {var _MS1=_7V1._OS1(_no);_MS1._lS1(true);_no._8V1=_MS1._jT1()}}return _no}var _v8=null;var _KG2=null;var _LG2=null;var _jo=!0;var _5o=!1,_ko=!1,_Fz2=_ka._zq,_Gz2=_ka._Hq,_MG2=0,_NG2=0.0,_OG2=[],_go={_Ei:!0,_Fi:!0,_Gi:!0,alpha:!0};var _Ca=0.0,_7o=!0,_9o=!0,_bo=!0,_PG2=_ka._Uu1;var _Vo=null,_1p=null,_Zo=null,
_3p=null,_8p=null,__o=[],_4p=[];var _0p=0;var _5p=1;var _8i2=!1,_QG2=!1,_RG2=1.0;var _ig2=[];var _Xp=null,_SG2=null,_TG2=0;var _zT1=0,_DT1=1,_sp=2,_UG2=16;var _Qb=16384;var _VG2=36,_WG2=[],_XG2=[];var _YG2=0.5;function _Ij2(){_bm();_sG2();_Nf2();_lb();_ZG2(_VG2);_Xb=__G2;_MQ=_0H2;_KQ=_1H2;_ji2=_2H2;_9j2=_3H2;_5j2=_4H2;_hi2=_5H2;_Pw=_6H2;_Ww=_7H2;_Wi2=_8H2;_8j2=_9H2;_bj2=_aH2;_7j2=_bH2;_8k2=_cH2;_3j2=_dH2;_4j2=_eH2;_aj2=_fH2;_rk2=_gH2;_cj2=_hH2;_dj2=_iH2;_6j2=_jH2;_Ox=_kH2;_Fx=_lH2;_Sx=_mH2;_Ix=_lH2;_Ux=_mH2;
_Xx=_nH2;_2y=_oH2;_ay=_pH2;_cy=_qH2;_jy=_rH2;_oy=_sH2;_Ky=_tH2;_Vy=_uH2;_Zy=_vH2;_qy=_sH2;_My=_tH2;_Xy=_uH2;_0z=_vH2;_o9=_wH2;_4y=_xH2;_1z=_yH2;_3z=_yH2;_w5=_zH2;_hh=_AH2;_Cx=_AH2;_vx=_BH2;_9z=_CH2;_4S=_DH2;_1R=_EH2;_LJ=_FH2;_mH=_GH2;_v8._6P=_HH2;_Mh=_IH2;_hQ=_JH2;_YQ=_KH2;__Q=_LH2;_8R=_MH2;_bR=_NH2;_Ih=_OH2;_Wh=_PH2;_0P=_QH2;_9P=_RH2;_sP=_SH2;_wk2=_TH2;_ZK=_UH2;__K=_VH2;_0L=_WH2;_1L=_XH2;_2L=_YH2;_3L=_ZH2;_4L=__H2;_5L=_0I2;_6L=_1I2;_7L=_2I2;_8L=_3I2;_9L=_4I2;_aL=_5I2;_bL=_6I2;_dL=_7I2;_9b2=_8I2;
_Fo=_9I2;_ab2=_aI2;_nj2=_bI2;_bb2=_cI2;_Eo=_dI2;_7b2=_eI2;_8b2=_fI2;_cb2=_gI2;_db2=_hI2;_eb2=_iI2;_fb2=_jI2;_gb2=_kI2;_ff2=_lI2;_jf2=_mI2;_nI2()}function _oI2(_gq1){var options={_0r1:((_as._j92!==undefined)?true:false),_1r1:(_as._K4._pI2?true:false),_Mq1:_V62};_v8=new _fq1(_gq1,options);if(!_v8._Aq1){_v8=null;return false}if(!_qI2())return false;if(!_rI2())return false;if(!_sI2())return false;_SG2=[];for(var _Q7=0;_Q7<_UG2;_Q7++){_SG2[_Q7]=new _4o()}_TG2=-1;_yo=1;_C62=new _4o();_D62=new _4o();var _tI2=_v8._xs1();
for(var _Q7=0;_Q7<_tI2;_Q7++){_OG2[_Q7]=false}return true}function _ZG2(_hz2){var _r7=_hz2;if(_r7<4)_r7=4;if(_r7>64)_r7=64;_r7=4*((_r7/4)|0);_VG2=_r7;_WG2[0]=1;_XG2[0]=0;for(var _Q7=1;_Q7<_r7;_Q7++){_WG2[_Q7]=Math.cos(_Q7*2*Math.PI/_r7);_XG2[_Q7]=Math.sin(_Q7*2*Math.PI/_r7)}_WG2[_r7]=1;_XG2[_r7]=0}function _nI2(){_Qi(0,0xff000000,0,0);_db2(0);_gb2(0);_uI2()}function _qI2(){return _vI2()}function _rI2(){var _wI2=document.createElement(_us);_wI2._6c=_wI2.width=16;_wI2._7c=_wI2.height=16;_wI2.complete=true;_wI2._dQ=false;
_wI2.name="";_wI2._M9=_wI2.getContext('2d');_wI2._M9.save();_wI2._M9.setTransform(1,0,0,1,0,0);_wI2._M9.globalAlpha=1;_wI2._M9.fillStyle='#ffffff';_wI2._M9.fillRect(0,0,16,16);_wI2._M9.restore();var _Th=new _Uh();_Th.x=0;_Th.y=0;_Th._u4=15;_Th._v4=15;_Th._w4=0;_Th._x4=0;_Th._y4=15;_Th._z4=15;_Th._A4=_Th._u4;_Th._B4=_Th._v4;_Th._C4=-1;_Th._J8=_wI2;_Th._G8=[];_Th._I8=1;_Th._H8=0;_ga(_Th);_v8._Rt1(_Th._J8._fa);return true}function _sI2(){_Vo=new Float32Array(_ka._Yt1*4);_1p=new Float32Array(_ka._Yt1*4);_Zo=new Float32Array(_ka._Yt1*4);
_3p=new Float32Array(4);var _Uo;for(var _Q7=0;_Q7<_ka._Yt1;_Q7++){_Zo[_Q7]=0;_Uo=_Q7*4;_Vo[_Uo+0]=0;_Vo[_Uo+1]=0;_Vo[_Uo+2]=0;_Vo[_Uo+3]=0;_1p[_Uo+0]=0;_1p[_Uo+1]=0;_1p[_Uo+2]=0;_1p[_Uo+3]=0;_4p[_Q7]=false}return true}function _uI2(){var _xI2=_JP;_JP=function(_KP,_yI2){var _J8=_xI2(_KP,_yI2);if(_J8&&!_J8._Nb._fa){_ga(_J8._Ob)}return _J8};var _zI2=_2i;_2i=function(_M6){var _J8=_zI2(_M6);if(_J8&&!_J8._Nb._fa){_ga(_J8._Ob)}return _J8};_9H2()}function _9H2(){_v8._4s1();_v8._lo(_mo());_v8._qs1(_MG2,_NG2);_v8._9p(_8p);
_v8._7p(_3p);_v8._ho(_go._Ei,_go._Fi,_go._Gi,_go.alpha);for(var _Q7=0;_Q7<_ka._Yt1;_Q7++){_v8._2p(_Q7,_1p.subarray(_Q7*4,(_Q7+1)*4),_Vo.subarray(_Q7*4,(_Q7+1)*4),_Zo.subarray(_Q7*4,(_Q7+1)*4))}}function _aH2(){_v8._5s1()}function _6H2(_AI2){if(_AI2){_KG2={};if(_AI2._2D2){_KG2._5o=_5o;_KG2._ko=_ko;_KG2._8p=new Float32Array(_8p);if(_j6){_KG2._bo=_xl();_KG2._7o=_tl();_KG2._9o=_vl()}_5o=false;_ko=false;_Qi(0,0xff000000,0,0);_v8._6o(false);_v8._ao(false);_v8._8o(false);_v8._lo(_mo())}if(_AI2._3D2){_KG2._BI2=_v8._hq._fr(_ka._yq);
_KG2._CI2=_v8._hq._fr(_ka._Aq);_v8._8s1(_ka._Bq,_ka._Gq)}}}function _7H2(_DI2){if(_KG2&&_DI2){if(_DI2._5D2){_5o=_KG2._5o;_ko=_KG2._ko;_8p=new Float32Array(_KG2._8p);_v8._9p(_8p);if(_5o||_j6){if(_j6){_v8._ao(_KG2._bo);_v8._6o(_KG2._7o);_v8._8o(_KG2._9o)}else {_v8._6o(_7o);_v8._8o(_9o);_v8._ao(_bo)}}_v8._lo(_mo())}if(_DI2._6D2){_v8._8s1(_KG2._BI2,_KG2._CI2)}_KG2=null}}function _mo(){var _nr1=undefined;if(_ko){_nr1=_v8._Cq1}else {_nr1=_v8._Bq1}return _nr1}function _3H2(__j2,_0k2,_1k2,_2k2){var _EI2=_OU;var _FI2=_QU;
_D62._wa2();var _u4=_OU/__j2;var _v4=_QU/_0k2;_D62._tp((_EI2*-0.5+_1k2)/__j2,(_FI2*-0.5+_2k2)/_0k2,16000);_C62._Bo(_u4,-_v4*_yo,1.0,32000.0);_rp(_zT1,_D62);_rp(_DT1,_C62)}function _0H2(_3k2,_4k2,_5k2,_6k2,_R6){if(!_5o){_Zj2(_3k2,_4k2,_5k2,_6k2,_R6)}else {var angle=-_R6*(Math.PI/180.0);var _L9=new _oo((_3k2+_5k2/2.0),(_4k2+_6k2/2.0),-_5k2);var _z9=new _oo((_3k2+_5k2/2.0),(_4k2+_6k2/2.0),0.0);var _D9=new _oo(Math.sin(angle),Math.cos(angle),0.0);_D62._ro(_L9,_z9,_D9);if(false==_jo){_C62._Bo(_5k2,-_6k2*_yo,1.0,
32000.0)}else {_C62._Co(1.0,_6k2/_5k2,1.0,32000.0)}_C62._v7[_xo]*=_yo}_rp(_zT1,_D62);_rp(_DT1,_C62);_rp(_sp,_Xp[_sp]);_vQ=_3k2;_xQ=_4k2;_zQ=_5k2;_BQ=_6k2}function _1H2(_hr1,_ir1,_jr1,_kr1){_Sw=_hr1;_Tw=_ir1;_Uw=_jr1;_Vw=_kr1;var _U7=_ir1;if(_yo==1){_U7=_uR()-(_kr1+_ir1)}_v8._gr1(_hr1,_U7,_jr1,_kr1);_v8._NQ()}function _4H2(_ac){_v8._NQ();_v8._ct1(true,true,false,_Xb(_ac)|0xff000000)}function _zH2(_ac,_Wb){_v8._NQ();var _59=((_Wb*255.0)<<24)|_Xb(_ac);_v8._ct1(true,true,false,_59)}function __G2(_ac){return(_ac&0x00ffffff)}
function _BH2(_Wb){if(_Wb<0){_Wb=0}if(_Wb>1){_Wb=1}_Tb=_Wb;}function _2H2(_GI2){if(arguments.length>0){var _Qw=arguments[0]}else {}}function _5H2(_N6,_O6,_cR,_dR,_R6){}function _8H2(_Fk2,__t,_N6,_O6,_4q,_5q,_R6,_ac,_Wb){if(!_LG2){var _98=1024;var _a8=1024;var _h8=_7k2(_98,_a8);var _Th=new _Uh();_Th.x=0;_Th.y=0;_Th._u4=_98;_Th._v4=_a8;_Th._w4=0;_Th._x4=0;_Th._y4=_Th._u4;_Th._z4=_Th._v4;_Th._A4=_Th._u4;_Th._B4=_Th._v4;_Th._C4=_h8;_Th._J8=_K8[_Th._C4];_LG2=_Th}var _Qt=document.createElement("canvas");var _Z9=_Qt.getContext("2d");
_Fk2="20px arial";_Z9.font=_Fk2;_Z9.textBaseline="top";_Z9.textAlign="left";var _HI2=_Z9.measureText(__t);var width=_HI2.width;var height=20;_Qt.width=width;_Qt.height=height;_Z9.globalAlpha=0.0;_Z9.globalCompositeOperation="copy";_Z9.fillStyle="black";_Z9.fillRect(0,0,_Qt.width,_Qt.height);_Z9.globalAlpha=1.0;_Z9.globalCompositeOperation="source-over";_Z9.fillStyle="white";_Z9.fillText(__t,0,0)}function _Sp(_8k){if(_TG2>=_UG2){return false}_TG2++;if(_TG2==0){_SG2[_TG2]=new _4o(_8k)}else {_SG2[_TG2].Multiply(_SG2[_TG2-1],
_8k)}return true}function _Tp(_8k){if(_TG2<0){return false}_rp(_sp,_SG2[_TG2]);_TG2--;return true}function _Qp(){_TG2=-1}function _Rp(){if(_TG2<0){return true}return false}function _Up(){if(_TG2<0){return false}_rp(_sp,_SG2[_TG2]);return true}function _Vp(){if(_TG2<0){return false}_TG2--;return true}function _dH2(_BP,_N6,_O6,_Wb){var _ia,_6q2,_II2,_qa,_sa,_ua,_59;if(!_BP._J8._fa){if(_BP._u4==0||_BP._v4==0)return;_ga(_BP)}_ia=_v8._ja(_ka._la,_BP._J8._fa,_v8._ma,6);var _na=_ia._oa()>>2;var index=_na*_ia._pa;_ia._pa+=6;
var _wa=index;var _xa=_wa+_na;var _ya=_xa+_na;var _za=_ya+_na;var _Aa=_za+_na;var _Ba=_Aa+_na;_qa=_ia._ra;_sa=_ia._ta;_ua=_ia._va;_N6=_N6+_BP._w4;_O6=_O6+_BP._x4;_qa[_wa+0]=_qa[_Aa+0]=_qa[_Ba+0]=_N6;_qa[_wa+1]=_qa[_xa+1]=_qa[_Ba+1]=_O6;_qa[_xa+0]=_qa[_ya+0]=_qa[_za+0]=_N6+_BP._y4;_qa[_ya+1]=_qa[_za+1]=_qa[_Aa+1]=_O6+_BP._z4;_qa[_wa+2]=_qa[_xa+2]=_qa[_ya+2]=_qa[_za+2]=_qa[_Aa+2]=_qa[_Ba+2]=_Ca;_ua[_wa+0]=_ua[_Aa+0]=_ua[_Ba+0]=_BP.x/_BP._J8.width;_ua[_wa+1]=_ua[_xa+1]=_ua[_Ba+1]=_BP.y/_BP._J8.height;_ua[_xa+0]=_ua[_ya+0]=_ua[_za+0]=(_BP.x+_BP._u4)/_BP._J8.width;
_ua[_ya+1]=_ua[_za+1]=_ua[_Aa+1]=(_BP.y+_BP._v4)/_BP._J8.height;_59=((_Wb*255.0)<<24)|0xffffff;var __x=_59,_0y=_59,_JI2=_59,_KI2=_59;if(_8i2){__x&=0xfffefffe;_0y&=0xfffefffe;_JI2&=0xfffefffe;_KI2&=0xfffefffe;_0y|=0x00010000;_JI2|=0x00000001;_KI2|=0x00010001}_sa[_wa]=_sa[_Ba]=__x;_sa[_xa]=_0y;_sa[_ya]=_sa[_za]=_JI2;_sa[_Aa]=_KI2}function _HH2(_BP,_1k2,_2k2,_LI2,_MI2,_N6,_O6,_Zf,__f,_Su,_Tu,_Vx,_Wx){var _ia,_6q2,_II2,_qa,_sa,_ua,_59;if(!_BP._J8._fa){if(_BP._u4==0||_BP._v4==0)return;_ga(_BP)}if(_Su==undefined){
_Su=_Tu=_Vx=_Wx=0xffffffff}if(_Tu==undefined){_Tu=_Vx=_Wx=_Su}_ia=_v8._ja(_ka._la,_BP._J8._fa,_v8._ma,6);var _na=_ia._oa()>>2;var index=_na*_ia._pa;_ia._pa+=6;var _wa=index;var _xa=_wa+_na;var _ya=_xa+_na;var _za=_ya+_na;var _Aa=_za+_na;var _Ba=_Aa+_na;_qa=_ia._ra;_sa=_ia._ta;_ua=_ia._va;_qa[_wa+0]=_qa[_Aa+0]=_qa[_Ba+0]=_N6;_qa[_wa+1]=_qa[_xa+1]=_qa[_Ba+1]=_O6;_qa[_xa+0]=_qa[_ya+0]=_qa[_za+0]=_N6+_Zf;_qa[_ya+1]=_qa[_za+1]=_qa[_Aa+1]=_O6+__f;_qa[_wa+2]=_qa[_xa+2]=_qa[_ya+2]=_qa[_za+2]=_qa[_Aa+2]=_qa[_Ba+2]=_Ca;
_ua[_wa+0]=_ua[_Aa+0]=_ua[_Ba+0]=_1k2/_BP._J8.width;_ua[_wa+1]=_ua[_xa+1]=_ua[_Ba+1]=_2k2/_BP._J8.height;_ua[_xa+0]=_ua[_ya+0]=_ua[_za+0]=(_1k2+_LI2)/_BP._J8.width;_ua[_ya+1]=_ua[_za+1]=_ua[_Aa+1]=(_2k2+_MI2)/_BP._J8.height;if(_8i2){_Su&=0xfffefffe;_Tu&=0xfffefffe;_Vx&=0xfffefffe;_Wx&=0xfffefffe;_Tu|=0x00010000;_Vx|=0x00000001;_Wx|=0x00010001}_sa[_wa]=_sa[_Ba]=_Su;_sa[_xa]=_Tu;_sa[_ya]=_sa[_za]=_Vx;_sa[_Aa]=_Wx}function _eH2(_BP,_N6,_O6,_gk2,_hk2,_oC,_nC,_ac,_Wb){var _ia,_6q2,_II2,_qa,_sa,_ua,_u4,
_v4;if(!_BP._J8._fa){if(_BP._u4==0||_BP._v4==0)return;_ga(_BP)}var _NI2=_gk2*_BP._A4+~~_N6;var _OI2=_hk2*_BP._B4+~~_O6;var _98=~~(_gk2*_BP._A4);var _a8=~~(_hk2*_BP._B4);var _PI2=_ez.right-_ez.left;var _QI2=_ez.bottom-_ez.top;if(_nC){_N6=(((~~(_ez.left/_98))*_98)+(~~_N6)%_98)-_98;_NI2=(((((_PI2+(_98-1))/_98)&0xffffffff)+2)*_98)+~~_N6+1}if(_oC){_O6=(((~~(_ez.top/_a8))*_a8)+(~~_O6)%_a8)-_a8;_OI2=(((((_QI2+(_a8-1))/_a8)&0xffffffff)+2)*_a8)+~~_O6+1}_N6=~~_N6;_O6=~~_O6;var _bP=0;var _cP=0;if((_98<=0)||(_a8<=0))return;
var _a4=_Xb(_ac)|(~~((_Wb*255.0)<<24));var __x=_a4,_0y=_a4,_JI2=_a4,_KI2=_a4;if(_8i2){__x&=0xfffefffe;_0y&=0xfffefffe;_JI2&=0xfffefffe;_KI2&=0xfffefffe;_0y|=0x00010000;_JI2|=0x00000001;_KI2|=0x00010001}var _w7=(-_gk2*(_bP-_BP._w4));var _x7=(-_hk2*(_cP-_BP._x4));var _RI2=_gk2*_BP._y4;var _SI2=_hk2*_BP._z4;var _S7=_N6+_w7;var _U7=~~_O6+_x7;var _w9=_BP.x;var _E21=_w9+_BP._u4;var _y9=_BP.y;var _ya=_BP.y+_BP._v4;_w9/=_BP._J8.width;_E21/=_BP._J8.width;_y9/=_BP._J8.height;_ya/=_BP._J8.height;var _Qy=_U7;while(_S7<_NI2){
_U7=_Qy;var _By=_S7+_RI2;while(_U7<_OI2){_ia=_v8._ja(_ka._la,_BP._J8._fa,_v8._ma,6);var _na=_ia._oa()>>2;var index=_na*_ia._pa;_ia._pa+=6;_qa=_ia._ra;_sa=_ia._ta;_ua=_ia._va;var _Dy=_U7+_SI2;_sa[index]=_KI2;_qa[index+0]=_S7;_qa[index+1]=_U7;_qa[index+2]=_Ca;_ua[index+0]=_w9;_ua[index+1]=_y9;index+=_na;_sa[index]=__x;_qa[index+0]=_By;_qa[index+1]=_U7;_qa[index+2]=_Ca;_ua[index+0]=_E21;_ua[index+1]=_y9;index+=_na;_sa[index]=_0y;_qa[index+0]=_By;_qa[index+1]=_Dy;_qa[index+2]=_Ca;_ua[index+0]=_E21;_ua[index+1]=_ya;
index+=_na;_sa[index]=_0y;_qa[index+0]=_By;_qa[index+1]=_Dy;_qa[index+2]=_Ca;_ua[index+0]=_E21;_ua[index+1]=_ya;index+=_na;_sa[index]=_JI2;_qa[index+0]=_S7;_qa[index+1]=_Dy;_qa[index+2]=_Ca;_ua[index+0]=_w9;_ua[index+1]=_ya;index+=_na;_sa[index]=__x;_qa[index+0]=_S7;_qa[index+1]=_U7;_qa[index+2]=_Ca;_ua[index+0]=_w9;_ua[index+1]=_y9;if(!_oC){break }_U7=_U7+_a8}if(!_nC){break }_S7=_S7+_98}}function _hH2(_TI2,_8E2,_Ki,_UI2,_VI2,x,y,_pC,_qC,angle,color,alpha,_WI2){var _XI2=_go;var _YI2=_5o;_Ki=~~_Ki%(_8E2._lQ1);
if(_Ki<0){_Ki=_Ki+(_8E2._lQ1)}var _ZI2=[];_ZI2[0]=color&0xff;_ZI2[1]=(color>>8)&0xff;_ZI2[2]=(color>>16)&0xff;_ZI2[3]=(alpha*255)&0xff;var __I2=new _4o();__I2._tp(x,y,0.0);var _0J2=new _4o();_0J2._xp(angle);var _1J2=new _4o();_1J2._tp(-_UI2/_iQ1,-_VI2/_iQ1,0.0);var _2J2=new _4o();_2J2._up(_iQ1*_pC,_iQ1*_qC,1.0);var _3J2=new _4o();_3J2.Multiply(_1J2,_2J2);var _4J2=new _4o();_4J2.Multiply(_3J2,_0J2);var _5J2=new _4o();_5J2.Multiply(_4J2,__I2);var translate=new _4o();translate._tp(0.5,0.5,0.0);var scale=new _4o();scale._up(1.0/32768.0,
1.0/32768.0,1.0);var _6J2=new _4o();_6J2.Multiply(scale,translate);var _sQ1=_8E2._rQ1[_Ki];var _7J2=[],_8J2=0,_9J2=0,_aJ2=true;for(var _Q7=0;_Q7<_sQ1._tQ1;_Q7++){var _CB=_sQ1._uQ1[_Q7];for(var _R7=0;_R7<_8J2;){var _bJ2=_7J2[_R7];if(_bJ2._vQ1<_CB._n4){_v8._As1(_ka._Su1);_v8._Cs1(_ka._Ku1);_v8._ho(false,false,false,false);_v8._8o(false);_9J2+=_dj2(_TI2,_bJ2,_5J2,_6J2,color,_ZI2,false,_WI2);_v8._Fs1(_8J2-1);_v8._As1(_ka._Nu1);_v8._Cs1(_ka._Du1);_v8._ho(_XI2._Ei,_XI2._Fi,_XI2._Gi,_XI2.alpha);_v8._8o(_YI2);_aJ2=true;
_8J2--;for(var _Kg=_R7;_Kg<_8J2;_Kg++){_7J2[_Kg]=_7J2[_Kg+1]}}else {_R7++}}if(_CB._vQ1>0){_7J2[_8J2++]=_CB;_v8._ys1(true);_v8._As1(_ka._Su1);_v8._Cs1(_ka._Ju1);_v8._ho(false,false,false,false);_v8._8o(false);_aJ2=false}if(_8J2==0){_v8._ys1(false);_aJ2=true}_9J2+=_dj2(_TI2,_CB,_5J2,_6J2,color,_ZI2,_aJ2?_QG2:false,_WI2);if(_CB._vQ1>0){_v8._Fs1(_8J2);_v8._As1(_ka._Nu1);_v8._Cs1(_ka._Du1);_v8._ho(_XI2._Ei,_XI2._Fi,_XI2._Gi,_XI2.alpha);_v8._8o(_YI2);_aJ2=true;}}if(_8J2>0){_v8._As1(_ka._Su1);_v8._Cs1(_ka._Ku1);
_v8._ho(false,false,false,false);_v8._8o(false);for(var _R7=0;_R7<_8J2;_R7++){var _bJ2=_7J2[_R7];_9J2+=_dj2(_TI2,_bJ2,_5J2,_6J2,color,_ZI2,false,_WI2)}}_v8._ys1(false);_v8._ho(_XI2._Ei,_XI2._Fi,_XI2._Gi,_XI2.alpha);_v8._8o(_YI2)}function _iH2(_6E2,_cJ2,_dJ2,_eJ2,_fJ2,_gJ2,_hJ2,_WI2){var _iJ2=[];_iJ2[0]=_gJ2[0],_iJ2[1]=_gJ2[1],_iJ2[2]=_gJ2[2],_iJ2[3]=0;var _jJ2=new _4o();_jJ2.Multiply(_cJ2._FP1,_dJ2);var _kJ2=1.0;if(_hJ2){_kJ2=_lJ2(_cJ2,_jJ2)*_RG2}var _wQ1=[],_xQ1=[],_mJ2=[];for(var _Q7=0;_Q7<4;_Q7++){_wQ1[_Q7]=_cJ2._yQ1[_Q7];
_xQ1[_Q7]=_cJ2._zQ1[_Q7];_mJ2[_Q7]=_cJ2._AQ1[_Q7]}var _nJ2=0;if(_cJ2._NB!==0){var _oJ2=_6E2[_cJ2.index];if(_oJ2.type===_dP1){var _7E2=_oJ2;for(var _R7=0;_R7<_7E2._qP1.length;_R7++){var _LO=_7E2._qP1[_R7];for(var _Kg=0;_Kg<_LO._tP1;_Kg++){var _WP1=_LO._xP1[_Kg];if((_WP1._YP1>=0)&&(_WP1._1Q1>0)){var _pJ2=_LO._vP1[_WP1._YP1];if((_pJ2!==null)&&(_pJ2!==undefined)){var _CP1=_pJ2.type;if(_CP1===_gP1){_nJ2+=_qJ2(_cJ2,_pJ2,_WP1,_jJ2,_gJ2,_iJ2,_wQ1,_xQ1,_mJ2,_hJ2);}else if((_CP1==_hP1)||(_CP1==_iP1)){_nJ2+=_rJ2(_6E2,
_cJ2,_CP1,_pJ2,_WP1,_eJ2,_jJ2,_gJ2,_iJ2,_fJ2,_wQ1,_xQ1,_mJ2,_hJ2,_WI2)}}}if((_WP1._ZP1>=0)&&(_WP1._3Q1>0)){var _59=_LO._wP1[_WP1._ZP1]._59;var _UP1=[];_UP1[0]=((_59&0xff)*_gJ2[0])>>8;_UP1[1]=(((_59>>8)&0xff)*_gJ2[1])>>8;_UP1[2]=(((_59>>16)&0xff)*_gJ2[2])>>8;_UP1[3]=(((_59>>24)&0xff)*_gJ2[3])>>8;for(var _L7=0;_L7<4;_L7++){_UP1[_L7]=((_UP1[_L7]*_wQ1[_L7])>>8)+_xQ1[_L7];_UP1[_L7]=Math.max(0,Math.min(_UP1[_L7],255))}var _sJ2=_UP1[0]|(_UP1[1]<<8)|(_UP1[2]<<16)|(_UP1[3]<<24);var _tJ2=[];_tJ2[0]=((_59&0xff)*_iJ2[0])>>8;
_tJ2[1]=(((_59>>8)&0xff)*_iJ2[1])>>8;_tJ2[2]=(((_59>>16)&0xff)*_iJ2[2])>>8;_tJ2[3]=(((_59>>24)&0xff)*_iJ2[3])>>8;for(var _L7=0;_L7<4;_L7++){_tJ2[_L7]=((_tJ2[_L7]*_wQ1[_L7])>>8)+_mJ2[_L7];_tJ2[_L7]=_I7(0,_K7(_tJ2[_L7],255))}var _uJ2=_tJ2[0]|(_tJ2[1]<<8)|(_tJ2[2]<<16)|(_tJ2[3]<<24);if(_hJ2&&(_WP1._6Q1>0)){var _ha=_WP1._6Q1*6;var _ia=_v8._ja(_ka._la,null,_v8._ma,_ha);var _na=_ia._oa()>>2;var _vJ2=_na*_ia._pa;_ia._pa+=_ha;var _qa=_ia._ra;var _sa=_ia._ta;var _ua=_ia._va;_nJ2+=_WP1._6Q1*2;for(var _L7=0;_L7<_WP1._6Q1;
_L7++){var _r51=_WP1._fQ1[(_L7*2)+0],_s51=_WP1._fQ1[(_L7*2)+1];var _wJ2=_WP1._bQ1[(_r51*2)+0],_xJ2=_WP1._bQ1[(_r51*2)+1];var _yJ2=_WP1._gQ1[(_r51*2)+0],_zJ2=_WP1._gQ1[(_r51*2)+1];var _AJ2=_WP1._bQ1[(_s51*2)+0],_BJ2=_WP1._bQ1[(_s51*2)+1];var _CJ2=_WP1._gQ1[(_s51*2)+0],_DJ2=_WP1._gQ1[(_s51*2)+1];var _w7=(_wJ2*_jJ2._v7[_Ep])+(_xJ2*_jJ2._v7[_Fp])+_jJ2._v7[_Hp],_x7=(_wJ2*_jJ2._v7[_Ip])+(_xJ2*_jJ2._v7[_xo])+_jJ2._v7[_Kp],_y7=(_AJ2*_jJ2._v7[_Ep])+(_BJ2*_jJ2._v7[_Fp])+_jJ2._v7[_Hp],_z7=(_AJ2*_jJ2._v7[_Ip])+(_BJ2*_jJ2._v7[_xo])+_jJ2._v7[_Kp];
_yJ2*=_kJ2;_zJ2*=_kJ2;_CJ2*=_kJ2;_DJ2*=_kJ2;var _8i=(_yJ2*_jJ2._v7[_Ep])+(_zJ2*_jJ2._v7[_Fp])+_w7,_9i=(_yJ2*_jJ2._v7[_Ip])+(_zJ2*_jJ2._v7[_xo])+_x7,_wM1=(_CJ2*_jJ2._v7[_Ep])+(_DJ2*_jJ2._v7[_Fp])+_y7,_xM1=(_CJ2*_jJ2._v7[_Ip])+(_DJ2*_jJ2._v7[_xo])+_z7;_qa[_vJ2+0]=_w7;_qa[_vJ2+1]=_x7;_qa[_vJ2+2]=_Ca;_sa[_vJ2]=_sJ2;_vJ2+=_na;_qa[_vJ2+0]=_y7;_qa[_vJ2+1]=_z7;_qa[_vJ2+2]=_Ca;_sa[_vJ2]=_sJ2;_vJ2+=_na;_qa[_vJ2+0]=_8i;_qa[_vJ2+1]=_9i;_qa[_vJ2+2]=_Ca;_sa[_vJ2]=_uJ2;_vJ2+=_na;_qa[_vJ2+0]=_8i;_qa[_vJ2+1]=_9i;
_qa[_vJ2+2]=_Ca;_sa[_vJ2]=_uJ2;_vJ2+=_na;_qa[_vJ2+0]=_y7;_qa[_vJ2+1]=_z7;_qa[_vJ2+2]=_Ca;_sa[_vJ2]=_sJ2;_vJ2+=_na;_qa[_vJ2+0]=_wM1;_qa[_vJ2+1]=_xM1;_qa[_vJ2+2]=_Ca;_sa[_vJ2]=_uJ2;_vJ2+=_na}}var _ha=_WP1._3Q1*3;var _ia=_v8._ja(_ka._la,null,_v8._ma,_ha);var _na=_ia._oa()>>2;var _vJ2=_na*_ia._pa;_ia._pa+=_ha;_qa=_ia._ra;_sa=_ia._ta;_ua=_ia._va;_nJ2+=_WP1._3Q1;var _EJ2=0;for(var _L7=_WP1._3Q1*3;_L7>0;--_L7){var index=_WP1._cQ1[_EJ2++];var _FJ2=_WP1._bQ1[index*2];var _GJ2=_WP1._bQ1[(index*2)+1];var x=(_FJ2*_jJ2._v7[_Ep])+(_GJ2*_jJ2._v7[_Fp])+_jJ2._v7[_Hp];
var y=(_FJ2*_jJ2._v7[_Ip])+(_GJ2*_jJ2._v7[_xo])+_jJ2._v7[_Kp];_qa[_vJ2+0]=x;_qa[_vJ2+1]=y;_qa[_vJ2+2]=_Ca;_sa[_vJ2]=_sJ2;_vJ2+=_na}}}}}}return _nJ2}function _rJ2(_6E2,_cJ2,_HJ2,_IJ2,_JJ2,_eJ2,_KJ2,_gJ2,_LJ2,_fJ2,_MJ2,_NJ2,_OJ2,_hJ2,_WI2){var _qa,_sa,_ua,_Th=null,_kJ2=1.0,_PJ2=new _4o();if(_hJ2){_kJ2=_lJ2(_cJ2,_KJ2)*_RG2}if(_HJ2===_hP1){var _QJ2=_IJ2;if(_QJ2._VO1>-1){_Th=_WI2[_QJ2._VO1];var _RJ2=new _4o();var _SJ2=new _4o();var _TJ2=new _4o();var _UJ2=new _4o();_SJ2._tp(_Th.x/_Th._J8.width,_Th.y/_Th._J8.height,
0);_RJ2._up(_Th._u4/_Th._J8.width,_Th._v4/_Th._J8.height,1.0);_TJ2.Multiply(_RJ2,_SJ2);_UJ2.Multiply(_eJ2,_TJ2);_PJ2.Multiply(_QJ2._FP1,_UJ2)}else {_Th=_QJ2._Ob;_PJ2.Multiply(_QJ2._FP1,_eJ2)}}else if(_HJ2===_iP1){var _QJ2=_IJ2;if(_QJ2._KP1!==-1){var _VJ2=_6E2[_QJ2._KP1];if(_VJ2._VO1>-1){_Th=_WI2[_VJ2._VO1];var _W6=_Th._u4/_Th._A4;var _X6=_Th._v4/_Th._B4;var _SJ2=new _4o();var _RJ2=new _4o();var _TJ2=new _4o();_SJ2._tp(_Th.x/_W6,_Th.y/_X6,0);_RJ2._up((1.0/_Th._J8.width)*_W6,(1.0/_Th._J8.height)*_X6,1.0);_TJ2.Multiply(_SJ2,
_RJ2);_PJ2.Multiply(_QJ2._FP1,_TJ2);if((_QJ2._IP1===_QO1)||(_QJ2._IP1===_SO1)){_v8._ss1(0,true)}else {_v8._ss1(0,false)}}else {var _Ay1=_VJ2._Ay1;_Th={_J8:_Ay1};if(_Ay1!==null){var _RJ2=new _4o();_RJ2._up(1.0/_Ay1.width,1.0/_Ay1.height,1.0);_PJ2.Multiply(_QJ2._FP1,_RJ2);if((_QJ2._IP1===_QO1)||(_QJ2._IP1===_SO1)){_v8._ss1(0,true)}else {_v8._ss1(0,false)}}}}}var _nJ2=0;if(_Th!==null){if(!_Th._J8._fa){if(_Th._u4==0||_Th._v4==0)return;_ga(_Th)}_nJ2+=_JJ2._1Q1;if(_hJ2&&(_JJ2._4Q1>0)){_nJ2+=_JJ2._4Q1*2;var _UP1=[];
for(var _L7=0;_L7<4;_L7++){_UP1[_L7]=((_gJ2[_L7]*_MJ2[_L7])>>8)+_NJ2[_L7];_UP1[_L7]=Math.max(0,Math.min(_UP1[_L7],255))}var _sJ2=_UP1[0]|(_UP1[1]<<8)|(_UP1[2]<<16)|(_UP1[3]<<24);var _tJ2=[];for(var _L7=0;_L7<4;_L7++){_tJ2[_L7]=((_LJ2[_L7]*_MJ2[_L7])>>8)+_OJ2[_L7];_tJ2[_L7]=Math.max(0,Math.min(_tJ2[_L7],255))}var _uJ2=_tJ2[0]|(_tJ2[1]<<8)|(_tJ2[2]<<16)|(_tJ2[3]<<24);var _ha=_JJ2._4Q1*6;var _ia=_v8._ja(_ka._la,_Th._J8._fa,_v8._ma,_ha);var _na=_ia._oa()>>2;var _vJ2=_na*_ia._pa;_ia._pa+=_ha;var _qa=_ia._ra;var _sa=_ia._ta;
var _ua=_ia._va;var _WJ2=0;for(_L7=_JJ2._4Q1;_L7>0;_L7--){var _r51=_JJ2._dQ1[_WJ2++],_s51=_JJ2._dQ1[_WJ2++];var _XJ2=_r51*2,_YJ2=_r51*2;var _wJ2=_JJ2._8Q1[_XJ2];_XJ2++;var _xJ2=_JJ2._8Q1[_XJ2];var _yJ2=_JJ2._eQ1[_YJ2];_YJ2++;var _zJ2=_JJ2._eQ1[_YJ2];_XJ2=_s51*2;_YJ2=_s51*2;var _AJ2=_JJ2._8Q1[_XJ2];_XJ2++;var _BJ2=_JJ2._8Q1[_XJ2];var _CJ2=_JJ2._eQ1[_YJ2];_YJ2++;var _DJ2=_JJ2._eQ1[_YJ2];var _w7=(_wJ2*_KJ2._v7[_Ep])+(_xJ2*_KJ2._v7[_Fp])+_KJ2._v7[_Hp],_x7=(_wJ2*_KJ2._v7[_Ip])+(_xJ2*_KJ2._v7[_xo])+_KJ2._v7[_Kp],_y7=(_AJ2*_KJ2._v7[_Ep])+(_BJ2*_KJ2._v7[_Fp])+_KJ2._v7[_Hp],
_z7=(_AJ2*_KJ2._v7[_Ip])+(_BJ2*_KJ2._v7[_xo])+_KJ2._v7[_Kp];_yJ2*=_kJ2;_zJ2*=_kJ2;_CJ2*=_kJ2;_DJ2*=_kJ2;var _8i=(_yJ2*_KJ2._v7[_Ep])+(_zJ2*_KJ2._v7[_Fp])+_w7,_9i=(_yJ2*_KJ2._v7[_Ip])+(_zJ2*_KJ2._v7[_xo])+_x7,_wM1=(_CJ2*_KJ2._v7[_Ep])+(_DJ2*_KJ2._v7[_Fp])+_y7,_xM1=(_CJ2*_KJ2._v7[_Ip])+(_DJ2*_KJ2._v7[_xo])+_z7;_yJ2+=_wJ2;_zJ2+=_xJ2;_CJ2+=_AJ2;_DJ2+=_BJ2;_qa[_vJ2+0]=_w7;_qa[_vJ2+1]=_x7;_qa[_vJ2+2]=_Ca;_ua[_vJ2+0]=(_wJ2*_PJ2._v7[_Ep])+(_xJ2*_PJ2._v7[_Fp])+_PJ2._v7[_Hp];_ua[_vJ2+1]=(_wJ2*_PJ2._v7[_Ip])+(_xJ2*_PJ2._v7[_xo])+_PJ2._v7[_Kp];
_sa[_vJ2]=_sJ2;_vJ2+=_na;_qa[_vJ2+0]=_y7;_qa[_vJ2+1]=_z7;_qa[_vJ2+2]=_Ca;_ua[_vJ2+0]=(_AJ2*_PJ2._v7[_Ep])+(_BJ2*_PJ2._v7[_Fp])+_PJ2._v7[_Hp];_ua[_vJ2+1]=(_AJ2*_PJ2._v7[_Ip])+(_BJ2*_PJ2._v7[_xo])+_PJ2._v7[_Kp];_sa[_vJ2]=_sJ2;_vJ2+=_na;_qa[_vJ2+0]=_8i;_qa[_vJ2+1]=_9i;_qa[_vJ2+2]=_Ca;_ua[_vJ2+0]=(_yJ2*_PJ2._v7[_Ep])+(_zJ2*_PJ2._v7[_Fp])+_PJ2._v7[_Hp];_ua[_vJ2+1]=(_yJ2*_PJ2._v7[_Ip])+(_zJ2*_PJ2._v7[_xo])+_PJ2._v7[_Kp];_sa[_vJ2]=_uJ2;_vJ2+=_na;_qa[_vJ2+0]=_8i;_qa[_vJ2+1]=_9i;_qa[_vJ2+2]=_Ca;_ua[_vJ2+0]=(_yJ2*_PJ2._v7[_Ep])+(_zJ2*_PJ2._v7[_Fp])+_PJ2._v7[_Hp];
_ua[_vJ2+1]=(_yJ2*_PJ2._v7[_Ip])+(_zJ2*_PJ2._v7[_xo])+_PJ2._v7[_Kp];_sa[_vJ2]=_uJ2;_vJ2+=_na;_qa[_vJ2+0]=_y7;_qa[_vJ2+1]=_z7;_qa[_vJ2+2]=_Ca;_ua[_vJ2+0]=(_AJ2*_PJ2._v7[_Ep])+(_BJ2*_PJ2._v7[_Fp])+_PJ2._v7[_Hp];_ua[_vJ2+1]=(_AJ2*_PJ2._v7[_Ip])+(_BJ2*_PJ2._v7[_xo])+_PJ2._v7[_Kp];_sa[_vJ2]=_sJ2;_vJ2+=_na;_qa[_vJ2+0]=_wM1;_qa[_vJ2+1]=_xM1;_qa[_vJ2+2]=_Ca;_ua[_vJ2+0]=(_CJ2*_PJ2._v7[_Ep])+(_DJ2*_PJ2._v7[_Fp])+_PJ2._v7[_Hp];_ua[_vJ2+1]=(_CJ2*_PJ2._v7[_Ip])+(_DJ2*_PJ2._v7[_xo])+_PJ2._v7[_Kp];_sa[_vJ2]=_uJ2;
_vJ2+=_na}}var _ha=_JJ2._1Q1*3;var _ia=_v8._ja(_ka._la,_Th._J8._fa,_v8._ma,_ha);var _na=_ia._oa()>>2;var _vJ2=_na*_ia._pa;_ia._pa+=_ha;_qa=_ia._ra,_sa=_ia._ta,_ua=_ia._va;var _EJ2=0;for(var _L7=_JJ2._1Q1*3;_L7>0;--_L7){var index=_JJ2._aQ1[_EJ2++];var _FJ2=_JJ2._8Q1[index*2];var _GJ2=_JJ2._8Q1[(index*2)+1];var x=(_FJ2*_KJ2._v7[_Ep])+(_GJ2*_KJ2._v7[_Fp])+_KJ2._v7[_Hp];var y=(_FJ2*_KJ2._v7[_Ip])+(_GJ2*_KJ2._v7[_xo])+_KJ2._v7[_Kp];_qa[_vJ2+0]=x;_qa[_vJ2+1]=y;_qa[_vJ2+2]=_Ca;_sa[_vJ2]=_fJ2;_ua[_vJ2+0]=(_FJ2*_PJ2._v7[_Ep])+(_GJ2*_PJ2._v7[_Fp])+_PJ2._v7[_Hp];
_ua[_vJ2+1]=(_FJ2*_PJ2._v7[_Ip])+(_GJ2*_PJ2._v7[_xo])+_PJ2._v7[_Kp];_vJ2+=_na}}return _nJ2}function _qJ2(_cJ2,_IJ2,_JJ2,_KJ2,_gJ2,_LJ2,_MJ2,_NJ2,_OJ2,_hJ2){var _kJ2=1.0;if(_hJ2){_kJ2=_lJ2(_cJ2,_KJ2)*_RG2}var _ZJ2=false;var _QJ2=_IJ2,_59=_QJ2._59,_nJ2=0,_L7=0;var _UP1=[];var _J7=(_59&0xff),_j9=((_59>>8)&0xff),_M7=((_59>>16)&0xff),_k9=((_59>>24)&0xff);_UP1[0]=(_J7*_gJ2[0])>>8;_UP1[1]=(_j9*_gJ2[1])>>8;_UP1[2]=(_M7*_gJ2[2])>>8;_UP1[3]=(_k9*_gJ2[3])>>8;for(_L7=0;_L7<4;_L7++){_UP1[_L7]=((_UP1[_L7]*_MJ2[_L7])>>8)+_NJ2[_L7];
_UP1[_L7]=_I7(0,_K7(_UP1[_L7],255))}var _sJ2=_UP1[0]|(_UP1[1]<<8)|(_UP1[2]<<16)|(_UP1[3]<<24);var _tJ2=[];_tJ2[0]=((_59&0xff)*_LJ2[0])>>8;_tJ2[1]=(((_59>>8)&0xff)*_LJ2[1])>>8;_tJ2[2]=(((_59>>16)&0xff)*_LJ2[2])>>8;_tJ2[3]=(((_59>>24)&0xff)*_LJ2[3])>>8;for(_L7=0;_L7<4;_L7++){_tJ2[_L7]=((_tJ2[_L7]*_MJ2[_L7])>>8)+_OJ2[_L7];_tJ2[_L7]=_I7(0,_K7(_tJ2[_L7],255))}var _uJ2=_tJ2[0]|(_tJ2[1]<<8)|(_tJ2[2]<<16)|(_tJ2[3]<<24);if(_ZJ2){}else if(_hJ2&&(_JJ2._4Q1>0)){_nJ2+=_JJ2._4Q1*2;var _ha=_JJ2._4Q1*6;var _ia=_v8._ja(_ka._la,
null,_v8._ma,_ha);var _na=_ia._oa()>>2;var _vJ2=_na*_ia._pa;_ia._pa+=_ha;var _qa=_ia._ra;var _sa=_ia._ta;var _WJ2=0;for(_L7=_JJ2._4Q1;_L7>0;_L7--){var _r51=_JJ2._dQ1[_WJ2++],_s51=_JJ2._dQ1[_WJ2++];var _XJ2=_r51*2,_YJ2=_r51*2;var _wJ2=_JJ2._8Q1[_XJ2];_XJ2++;var _xJ2=_JJ2._8Q1[_XJ2];var _yJ2=_JJ2._eQ1[_YJ2];_YJ2++;var _zJ2=_JJ2._eQ1[_YJ2];_XJ2=_s51*2;_YJ2=_s51*2;var _AJ2=_JJ2._8Q1[_XJ2];_XJ2++;var _BJ2=_JJ2._8Q1[_XJ2];var _CJ2=_JJ2._eQ1[_YJ2];_YJ2++;var _DJ2=_JJ2._eQ1[_YJ2];var _w7=(_wJ2*_KJ2._v7[_Ep])+(_xJ2*_KJ2._v7[_Fp])+_KJ2._v7[_Hp],
_x7=(_wJ2*_KJ2._v7[_Ip])+(_xJ2*_KJ2._v7[_xo])+_KJ2._v7[_Kp],_y7=(_AJ2*_KJ2._v7[_Ep])+(_BJ2*_KJ2._v7[_Fp])+_KJ2._v7[_Hp],_z7=(_AJ2*_KJ2._v7[_Ip])+(_BJ2*_KJ2._v7[_xo])+_KJ2._v7[_Kp];_yJ2*=_kJ2;_zJ2*=_kJ2;_CJ2*=_kJ2;_DJ2*=_kJ2;var _8i=(_yJ2*_KJ2._v7[_Ep])+(_zJ2*_KJ2._v7[_Fp])+_w7,_9i=(_yJ2*_KJ2._v7[_Ip])+(_zJ2*_KJ2._v7[_xo])+_x7,_wM1=(_CJ2*_KJ2._v7[_Ep])+(_DJ2*_KJ2._v7[_Fp])+_y7,_xM1=(_CJ2*_KJ2._v7[_Ip])+(_DJ2*_KJ2._v7[_xo])+_z7;_qa[_vJ2+0]=_w7;_qa[_vJ2+1]=_x7;_qa[_vJ2+2]=_Ca;_sa[_vJ2]=_sJ2;_vJ2+=_na;
_qa[_vJ2+0]=_y7;_qa[_vJ2+1]=_z7;_qa[_vJ2+2]=_Ca;_sa[_vJ2]=_sJ2;_vJ2+=_na;_qa[_vJ2+0]=_8i;_qa[_vJ2+1]=_9i;_qa[_vJ2+2]=_Ca;_sa[_vJ2]=_uJ2;_vJ2+=_na;_qa[_vJ2+0]=_8i;_qa[_vJ2+1]=_9i;_qa[_vJ2+2]=_Ca;_sa[_vJ2]=_uJ2;_vJ2+=_na;_qa[_vJ2+0]=_y7;_qa[_vJ2+1]=_z7;_qa[_vJ2+2]=_Ca;_sa[_vJ2]=_sJ2;_vJ2+=_na;_qa[_vJ2+0]=_wM1;_qa[_vJ2+1]=_xM1;_qa[_vJ2+2]=_Ca;_sa[_vJ2]=_uJ2;_vJ2+=_na}}var _ha=_JJ2._1Q1*3;var _ia=_v8._ja(_ka._la,null,_v8._ma,_ha);var _na=_ia._oa()>>2;var _vJ2=_na*_ia._pa;_ia._pa+=_ha;_qa=_ia._ra;_sa=_ia._ta;
_nJ2+=_JJ2._1Q1;var _EJ2=0;for(var _L7=_JJ2._1Q1*3;_L7>0;--_L7){var index=_JJ2._aQ1[_EJ2++];var _FJ2=_JJ2._8Q1[index*2];var _GJ2=_JJ2._8Q1[(index*2)+1];var x=(_FJ2*_KJ2._v7[_Ep])+(_GJ2*_KJ2._v7[_Fp])+_KJ2._v7[_Hp];var y=(_FJ2*_KJ2._v7[_Ip])+(_GJ2*_KJ2._v7[_xo])+_KJ2._v7[_Kp];_qa[_vJ2+0]=x;_qa[_vJ2+1]=y;_qa[_vJ2+2]=_Ca;_sa[_vJ2]=_sJ2;_vJ2+=_na}return _nJ2}function _lJ2(_cJ2,_KJ2){if(_QG2){if(_cJ2._kJ2!==undefined){return _cJ2._kJ2}var _oi2=_Bp(_sp);var _xS1=_Bp(_zT1);var _yS1=_Bp(_DT1);var __J2=new _4o();__J2.Multiply(_oi2,
_xS1);var _0K2=new _4o();_0K2.Multiply(__J2,_yS1);var _1K2=new _4o();_1K2.Multiply(_KJ2,_0K2);var _2K2=_v8._Dq1,_3K2=_v8._Eq1;var _4K2=[];_4K2[0]=0.0;_4K2[1]=0.0;_4K2[2]=1.0;_4K2[3]=0.0;_4K2[4]=0.0;_4K2[5]=1.0;var _5K2=[];for(var _Q7=0;_Q7<3;_Q7++){var _gR1=(_4K2[_Q7*2]*_1K2._v7[_ba2])+(_4K2[(_Q7*2)+1]*_1K2._v7[_ca2])+(_Ca*_1K2._v7[_da2])+_1K2._v7[_ea2];var index=(_Q7*2)+0;_5K2[index]=(_4K2[_Q7*2]*_1K2._v7[_Ep])+(_4K2[(_Q7*2)+1]*_1K2._v7[_Fp])+(_Ca*_1K2._v7[_Gp])+_1K2._v7[_Hp];_5K2[index]=_5K2[index]/_gR1;
_5K2[index]=_5K2[index]*_2K2;index++;_5K2[index]=(_4K2[_Q7*2]*_1K2._v7[_Ip])+(_4K2[(_Q7*2)+1]*_1K2._v7[_xo])+(_Ca*_1K2._v7[_Jp])+_1K2._v7[_Kp];_5K2[index]=_5K2[index]/_gR1;_5K2[index]=_5K2[index]*_3K2}var _6K2=[];_6K2[0]=_5K2[2]-_5K2[0];_6K2[1]=_5K2[3]-_5K2[1];_6K2[2]=_5K2[4]-_5K2[0];_6K2[3]=_5K2[5]-_5K2[1];var _7K2=0.0,_kJ2=1.0,index=0;for(var _Q7=0;_Q7<2;_Q7++){var length=_6K2[index]*_6K2[index];index++;length+=_6K2[index]*_6K2[index];index++;if(length>0.0){length=Math.sqrt(length)}_7K2=Math.max(length,
_7K2)}_7K2*=0.5;if(_7K2>0.0){_kJ2=1.0/_7K2}_cJ2._kJ2=_kJ2;return _kJ2}return 1.0}function _fH2(_BP,_bP,_cP,_N6,_O6,_gk2,_hk2,_pk2,_ac,_Tu,_Vx,_Wx,_Wb){var _ia,_6q2,_II2,_qa,_sa,_ua;if(_BP===undefined){debug("Attempting to draw texture that is not loaded");return }if(!_BP._J8._fa){if(_BP._u4==0||_BP._v4==0)return;_ga(_BP)}_ia=_v8._ja(_ka._la,_BP._J8._fa,_v8._ma,6);var _na=_ia._oa()>>2;var index=_na*_ia._pa;_ia._pa+=6;var _wa=index;var _xa=_wa+_na;var _ya=_xa+_na;var _za=_ya+_na;var _Aa=_za+_na;var _Ba=_Aa+_na;
_qa=_ia._ra;_sa=_ia._ta;_ua=_ia._va;var _w7=-_gk2*(_bP-_BP._w4);var _x7=-_hk2*(_cP-_BP._x4);var _y7=_w7+(_gk2*_BP._y4);var _z7=_x7+(_hk2*_BP._z4);if(Math.abs(_pk2)<0.001){_qa[_wa+0]=_qa[_Aa+0]=_qa[_Ba+0]=_N6+_w7;_qa[_wa+1]=_qa[_xa+1]=_qa[_Ba+1]=_O6+_x7;_qa[_xa+0]=_qa[_ya+0]=_qa[_za+0]=_N6+_y7;_qa[_ya+1]=_qa[_za+1]=_qa[_Aa+1]=_O6+_z7;_qa[_wa+2]=_qa[_xa+2]=_qa[_ya+2]=_qa[_za+2]=_qa[_Aa+2]=_qa[_Ba+2]=_Ca}else {var _c8=Math.sin(_pk2);var _d8=Math.cos(_pk2);var _qF1=_w7*_d8;var _rF1=_y7*_d8;var _sF1=_x7*_d8;var _tF1=_z7*_d8;
var _uF1=_w7*_c8;var _vF1=_y7*_c8;var _wF1=_x7*_c8;var _xF1=_z7*_c8;_qa[_wa+0]=_qa[_Ba+0]=_N6+_qF1+_wF1;_qa[_wa+1]=_qa[_Ba+1]=_O6-_uF1+_sF1;_qa[_ya+0]=_qa[_za+0]=_N6+_rF1+_xF1;_qa[_ya+1]=_qa[_za+1]=_O6-_vF1+_tF1;_qa[_xa+1]=_O6-_vF1+_sF1;_qa[_xa+0]=_N6+_rF1+_wF1;_qa[_Aa+0]=_N6+_qF1+_xF1;_qa[_Aa+1]=_O6-_uF1+_tF1;_qa[_wa+2]=_qa[_xa+2]=_qa[_ya+2]=_qa[_za+2]=_qa[_Aa+2]=_qa[_Ba+2]=_Ca;}_ua[_wa+0]=_ua[_Aa+0]=_ua[_Ba+0]=_BP.x/_BP._J8.width;_ua[_wa+1]=_ua[_xa+1]=_ua[_Ba+1]=_BP.y/_BP._J8.height;_ua[_xa+0]=_ua[_ya+0]=_ua[_za+0]=(_BP.x+_BP._u4)/_BP._J8.width;
_ua[_ya+1]=_ua[_za+1]=_ua[_Aa+1]=(_BP.y+_BP._v4)/_BP._J8.height;var _k9=~~(_Wb*255.0);_k9=_k9-((_k9-255)&((255-_k9)>>31));_k9=_k9-(_k9&(_k9>>31));_k9=(_k9<<24);_ac=_k9|(_ac&0xffffff);if(_Tu==undefined){_Tu=_ac;_Vx=_ac;_Wx=_ac}else {_Tu=_Tu|_k9;_Vx=_Vx|_k9;_Wx=_Wx|_k9}if(_8i2){_ac&=0xfffefffe;_Tu&=0xfffefffe;_Vx&=0xfffefffe;_Wx&=0xfffefffe;_Tu|=0x00010000;_Vx|=0x00000001;_Wx|=0x00010001}_sa[_wa]=_sa[_Ba]=_ac;_sa[_xa]=_Tu;_sa[_ya]=_sa[_za]=_Vx;_sa[_Aa]=_Wx}function _gH2(_BP,_18,_28,_m7,_n7,_ly,_my,_sk2,
_tk2,_Wb){var _59=~~((_Wb*255.0)<<24)|0xffffff;var _0y=_59;var _JI2=_59;var _KI2=_59;var _ia,_6q2,_II2,_qa,_sa,_ua;if(!_BP._J8._fa){if(_BP._u4==0||_BP._v4==0)return;_ga(_BP)}_ia=_v8._ja(_ka._la,_BP._J8._fa,_v8._ma,6);var _na=_ia._oa()>>2;var index=_na*_ia._pa;_ia._pa+=6;var _wa=index,_xa=_wa+_na,_ya=_xa+_na,_za=_ya+_na,_Aa=_za+_na,_Ba=_Aa+_na;_qa=_ia._ra;_sa=_ia._ta;_ua=_ia._va;_qa[_wa+0]=_qa[_Ba+0]=_18;_qa[_wa+1]=_qa[_Ba+1]=_28;_qa[_xa+0]=_m7;_qa[_xa+1]=_n7;_qa[_ya+0]=_qa[_za+0]=_ly;_qa[_ya+1]=_qa[_za+1]=_my;
_qa[_Aa+0]=_sk2;_qa[_Aa+1]=_tk2;_qa[_wa+2]=_qa[_xa+2]=_qa[_ya+2]=_qa[_za+2]=_qa[_Aa+2]=_qa[_Ba+2]=_Ca;_ua[_wa+0]=_ua[_Aa+0]=_ua[_Ba+0]=_BP.x/_BP._J8.width;_ua[_wa+1]=_ua[_xa+1]=_ua[_Ba+1]=_BP.y/_BP._J8.height;_ua[_xa+0]=_ua[_ya+0]=_ua[_za+0]=(_BP.x+_BP._u4)/_BP._J8.width;_ua[_ya+1]=_ua[_za+1]=_ua[_Aa+1]=(_BP.y+_BP._v4)/_BP._J8.height;if(_8i2){_59&=0xfffefffe;_0y&=0xfffefffe;_JI2&=0xfffefffe;_KI2&=0xfffefffe;_0y|=0x00010000;_JI2|=0x00000001;_KI2|=0x00010001}_sa[_wa]=_sa[_Ba]=_59;_sa[_xa]=_0y;_sa[_ya]=_sa[_za]=_JI2;
_sa[_Aa]=_KI2}function _cH2(_id,_N6,_O6,_Zf,__f,_gq1){_v8._Vs1(_id,_N6,_O6,_Zf,__f,_gq1)}function _jH2(_BP,_8H,_9H,_D8,_E8,_N6,_O6,_4q,_5q,_7R,_Wb){if(!_BP)return;if(!_BP._J8)return;if(!_BP._J8.complete)return;_7R&=0xffffff;_7R|=(_Wb*255)<<24;if(_8H<_BP._w4){var _vk2=_BP._w4-_8H;_N6+=_vk2;_D8-=_vk2;_8H=0}else {_8H-=_BP._w4}if(_9H<_BP._x4){var _vk2=_BP._x4-_9H;_O6+=_vk2;_E8-=_vk2;_9H=0}else {_9H-=_BP._x4}if(_D8>(_BP._y4-_8H))_D8=_BP._y4-_8H;if(_E8>(_BP._z4-_9H))_E8=_BP._z4-_9H;if(_D8<=0||_E8<=0)return;
_HH2(_BP,_8H+_BP.x,_9H+_BP.y,_D8,_E8,_N6,_O6,_D8*_4q,_E8*_5q,_7R)}function _kH2(_18,_28,_m7,_n7,_Ex){var _ia,_6q2,_II2,_qa,_sa,_ua;_18=~~_18;_28=~~_28;_m7=~~_m7;_n7=~~_n7;var _6W1=_ka._la;var _H8=6;if(_Ex){_6W1=_ka._Hb;_H8=8}_ia=_v8._ja(_6W1,null,_v8._ma,_H8);var _na=_ia._oa()>>2;var index=_na*_ia._pa;_ia._pa+=_H8;var _wa=index;var _xa=_wa+_na;var _ya=_xa+_na;var _za=_ya+_na;var _Aa=_za+_na;var _Ba=_Aa+_na;var _8K2=_Ba+_na;var _9K2=_8K2+_na;_qa=_ia._ra;_sa=_ia._ta;var _59=~~((_Tb*255.0)<<24)|(_Ub&0xffffff);if(!_Ex){
if(_YG2!=0.0){_m7+=_YG2;_n7+=_YG2}_qa[_wa+0]=_qa[_Aa+0]=_qa[_Ba+0]=_18;_qa[_wa+1]=_qa[_xa+1]=_qa[_Ba+1]=_28;_qa[_xa+0]=_qa[_ya+0]=_qa[_za+0]=_m7;_qa[_ya+1]=_qa[_za+1]=_qa[_Aa+1]=_n7;_qa[_wa+2]=_qa[_xa+2]=_qa[_ya+2]=_qa[_za+2]=_qa[_Aa+2]=_qa[_Ba+2]=_Ca;_sa[_wa]=_sa[_xa]=_sa[_ya]=_sa[_za]=_sa[_Aa]=_sa[_Ba]=_59}else {if(_YG2!=0.0){_18+=_YG2;_28+=_YG2;_m7+=_YG2;_n7+=_YG2}_sa[_wa]=_sa[_xa]=_sa[_ya]=_sa[_za]=_sa[_Aa]=_sa[_Ba]=_sa[_8K2]=_sa[_9K2]=_59;_qa[_Ba+0]=_qa[_9K2+0]=_qa[_8K2+0]=_qa[_wa+0]=_18;_qa[_9K2+1]=_qa[_ya+1]=_qa[_xa+1]=_qa[_wa+1]=_28;
_qa[_Aa+0]=_qa[_za+0]=_qa[_ya+0]=_qa[_xa+0]=_m7;_qa[_za+1]=_qa[_Aa+1]=_qa[_Ba+1]=_qa[_8K2+1]=_n7;_qa[_9K2+1]=_28;_qa[_wa+2]=_qa[_xa+2]=_qa[_ya+2]=_qa[_za+2]=_qa[_Aa+2]=_qa[_Ba+2]=_qa[_8K2+2]=_qa[_9K2+2]=_Ca}}function _lH2(_18,_28,_m7,_n7,_Jx,_Kx,_Su,_Tu,_Ex){if(_YG2!=0.0){_18+=_YG2;_28+=_YG2;_m7+=_YG2;_n7+=_YG2}var _Q7,_u4,_v4;_u4=_Jx;_v4=_Kx;if(_u4>Math.abs(_m7-_18)){_u4=Math.abs(_m7-_18)}if(_v4>Math.abs(_n7-_28)){_v4=Math.abs(_n7-_28)}var _zW=(_Xb(_Su)&0xffffff)|((_Tb*255.0)<<24);var _AW=(_Xb(_Tu)&0xffffff)|((_Tb*255.0)<<24);
var _aK2=_VG2/4;var _6W1=_ka._Kb;var _H8=((_aK2+1)*4)+2;if(_Ex){_6W1=_ka._Ib}var _Ty=(_18+_m7)*0.5;var _Uy=(_28+_n7)*0.5;var _Jo=Math.abs(_m7-_18)*0.5-_u4*0.5;var _Ko=Math.abs(_n7-_28)*0.5-_v4*0.5;var _ia=_v8._ja(_6W1,null,_v8._ma,_H8);var _na=_ia._oa()>>2;var index=_na*_ia._pa;var _bK2=index;_ia._pa+=_H8;var _qa=_ia._ra;var _sa=_ia._ta;_qa[index]=_Ty;_qa[index+1]=_Uy;_qa[index+2]=_Ca;_sa[index]=_zW;index+=_na;for(_Q7=0;_Q7<=_aK2;_Q7++){_qa[index]=(_Ty+_Jo+_u4*_WG2[_Q7]/2);_qa[index+1]=(_Uy+_Ko+_v4*_XG2[_Q7]/2);
_qa[index+2]=_Ca;_sa[index]=_AW;index+=_na}for(_Q7=_aK2;_Q7<=(_aK2*2);_Q7++){_qa[index]=(_Ty-_Jo+_u4*_WG2[_Q7]/2);_qa[index+1]=(_Uy+_Ko+_v4*_XG2[_Q7]/2);_qa[index+2]=_Ca;_sa[index]=_AW;index+=_na}for(_Q7=(_aK2*2);_Q7<=(_aK2*3);_Q7++){_qa[index]=(_Ty-_Jo+_u4*_WG2[_Q7]/2);_qa[index+1]=(_Uy-_Ko+_v4*_XG2[_Q7]/2);_qa[index+2]=_Ca;_sa[index]=_AW;index+=_na}for(_Q7=(_aK2*3);_Q7<=(_aK2*4);_Q7++){_qa[index]=(_Ty+_Jo+_u4*_WG2[_Q7]/2);_qa[index+1]=(_Uy-_Ko+_v4*_XG2[_Q7]/2);_qa[index+2]=_Ca;_sa[index]=_AW;index+=_na}
_qa[index]=_qa[_bK2+_na];_qa[index+1]=_qa[_bK2+_na+1];_qa[index+2]=_Ca;_sa[index]=_AW;if(_Ex){_qa[_bK2]=_qa[_bK2+_na];_qa[_bK2+1]=_qa[_bK2+_na+1];_qa[_bK2+2]=_Ca;_sa[_bK2]=_sa[_bK2+_na]}}function _mH2(_18,_28,_m7,_n7,_Su,_Tu,_Vx,_Wx,_Ex){var _ia,_6q2,_II2,_qa,_sa,_ua;_18=~~_18;_28=~~_28;_m7=~~_m7;_n7=~~_n7;var _k9=((_Tb*255.0)<<24);_Su=_Xb(_Su)|_k9;_Tu=_Xb(_Tu)|_k9;_Vx=_Xb(_Vx)|_k9;_Wx=_Xb(_Wx)|_k9;var _6W1=_ka._la;var _H8=6;if(_Ex){_6W1=_ka._Hb;_H8=8}_ia=_v8._ja(_6W1,null,_v8._ma,_H8);var _na=_ia._oa()>>2;
var index=_na*_ia._pa;_ia._pa+=_H8;var _wa=index;var _xa=_wa+_na;var _ya=_xa+_na;var _za=_ya+_na;var _Aa=_za+_na;var _Ba=_Aa+_na;var _8K2=_Ba+_na;var _9K2=_8K2+_na;var _qa=_ia._ra;var _sa=_ia._ta;_ua=_ia._va;var _59=~~((_Tb*255.0)<<24)|(_Ub&0xffffff);if(!_Ex){_qa[_wa+0]=_qa[_Aa+0]=_qa[_Ba+0]=_18;_qa[_wa+1]=_qa[_xa+1]=_qa[_Ba+1]=_28;_qa[_xa+0]=_qa[_ya+0]=_qa[_za+0]=_m7+1.0;_qa[_ya+1]=_qa[_za+1]=_qa[_Aa+1]=_n7+1.0;_qa[_wa+2]=_qa[_xa+2]=_qa[_ya+2]=_qa[_za+2]=_qa[_Aa+2]=_qa[_Ba+2]=_Ca;_sa[_wa]=_sa[_Ba]=_Su;_sa[_ya]=_sa[_za]=_Vx;
_sa[_xa]=_Tu;_sa[_Aa]=_Wx}else {if(_YG2!=0.0){_18+=_YG2;_28+=_YG2;_m7+=_YG2;_n7+=_YG2}_sa[_wa]=_sa[_9K2]=_Su;_sa[_xa]=_sa[_ya]=_Tu;_sa[_za]=_sa[_Aa]=_Vx;_sa[_Ba]=_sa[_8K2]=_Wx;_qa[_Ba+0]=_qa[_9K2+0]=_qa[_8K2+0]=_qa[_wa+0]=_18;_qa[_9K2+1]=_qa[_ya+1]=_qa[_xa+1]=_qa[_wa+1]=_28;_qa[_Aa+0]=_qa[_za+0]=_qa[_ya+0]=_qa[_xa+0]=_m7;_qa[_za+1]=_qa[_Aa+1]=_qa[_Ba+1]=_qa[_8K2+1]=_n7;_qa[_9K2+1]=_28;_qa[_wa+2]=_qa[_xa+2]=_qa[_ya+2]=_qa[_za+2]=_qa[_Aa+2]=_qa[_Ba+2]=_qa[_8K2+2]=_qa[_9K2+2]=_Ca}}function _vH2(_N6,_O6,
_ac){if(_YG2!=0.0){_N6+=_YG2;_O6+=_YG2}var _ia,_qa,_sa;_ia=_v8._ja(_ka._Gb,null,_v8._ma,1);var _na=_ia._oa()>>2;var _wa=_na*_ia._pa;_ia._pa++;_qa=_ia._ra;_sa=_ia._ta;var _59=~~((_Tb*255.0)<<24)|_Xb(_ac);_qa[_wa+0]=~~_N6+0.5;_qa[_wa+1]=~~_O6+0.5;_qa[_wa+2]=_Ca;_sa[_wa]=_59}function _rH2(_18,_28,_m7,_n7,_ly,_my,_Ex){if(_YG2!=0.0){_18+=_YG2;_28+=_YG2;_m7+=_YG2;_n7+=_YG2;_ly+=_YG2;_my+=_YG2}var _ia,_qa,_sa,_ua;if(_Ex){_ia=_v8._ja(_ka._Ib,null,_v8._ma,4)}else {_ia=_v8._ja(_ka._la,null,_v8._ma,3)}var _na=_ia._oa()>>2;
var index=_na*_ia._pa;_ia._pa+=3;var _wa=index;var _xa=_wa+_na;var _ya=_xa+_na;var _za=_ya+_na;var _qa=_ia._ra;var _sa=_ia._ta;_qa[_wa+0]=_18;_qa[_wa+1]=_28;_qa[_wa+2]=_Ca;_qa[_xa+0]=_m7;_qa[_xa+1]=_n7;_qa[_xa+2]=_Ca;_qa[_ya+0]=_ly;_qa[_ya+1]=_my;_qa[_ya+2]=_Ca;if(_Ex){_qa[_za+0]=_18;_qa[_za+1]=_28;_qa[_za+2]=_Ca;_ia._pa++}_sa[_wa]=_sa[_xa]=_sa[_ya]=_sa[_za]=((_Tb*255.0)<<24)|_Ub}function _nH2(_18,_28,_m7,_n7,_Su,_Tu,_Zx,_Ex){if(_Zx){_mH2(_18,_28,_m7,_n7,_Su,_Su,_Tu,_Tu,_Ex)}else {_mH2(_18,_28,_m7,_n7,_Su,
_Tu,_Tu,_Su,_Ex);}}function _oH2(_N6,_O6){_vH2(_N6,_O6,_nu)}function _pH2(_N6,_O6){return _qH2(_N6,_O6)&0x00ffffff}function _qH2(_N6,_O6){_N6=~~_N6;_O6=~~_O6;if(_yo<0){_O6=_v8._Gq1-_O6}return _v8._Dt1(_N6,_O6)}function _sH2(_18,_28,_m7,_n7,_ly,_my,_hu,_iu,_ju,_Ex){if(_YG2!=0.0){_18+=_YG2;_28+=_YG2;_m7+=_YG2;_n7+=_YG2;_ly+=_YG2;_my+=_YG2}var _ia,_qa,_sa,_ua;var _k9=((_Tb*255.0)<<24);_hu=_k9|_Xb(_hu);_iu=_k9|_Xb(_iu);_ju=_k9|_Xb(_ju);if(_Ex){_ia=_v8._ja(_ka._Ib,null,_v8._ma,4)}else {_ia=_v8._ja(_ka._la,null,
_v8._ma,3);}var _na=_ia._oa()>>2;var index=_na*_ia._pa;_ia._pa+=3;var _wa=index;var _xa=_wa+_na;var _ya=_xa+_na;var _za=_ya+_na;_qa=_ia._ra;_sa=_ia._ta;_qa[_wa+0]=_18;_qa[_wa+1]=_28;_qa[_wa+2]=_Ca;_qa[_xa+0]=_m7;_qa[_xa+1]=_n7;_qa[_xa+2]=_Ca;_qa[_ya+0]=_ly;_qa[_ya+1]=_my;_qa[_ya+2]=_Ca;if(_Ex){_qa[_za+0]=_18;_qa[_za+1]=_28;_qa[_za+2]=_Ca;_ia._pa++}_sa[_wa]=_hu;_sa[_xa]=_iu;_sa[_ya]=_ju;_sa[_za]=_hu}function _tH2(_18,_28,_m7,_n7,_Su,_Tu,_Ex){if(_YG2!=0.0){_18+=_YG2;_28+=_YG2;_m7+=_YG2;_n7+=_YG2}var _Ty=(_18+_m7)/2;
var _Uy=(_28+_n7)/2;var _Jo=Math.abs((_18-_m7)/2);var _Ko=Math.abs((_28-_n7)/2);var _k9=((_Tb*255.0)<<24);_Su=_k9|_Xb(_Su);_Tu=_k9|_Xb(_Tu);var _fC2,_ia,_qa,_sa;var _y9;if(_Ex){var _cK2=_VG2+1;_ia=_v8._ja(_ka._Ib,null,_v8._ma,_cK2);var _na=_ia._oa()>>2;var index=_na*_ia._pa;_ia._pa+=_cK2;_qa=_ia._ra;_sa=_ia._ta;for(var _Q7=0;_Q7<=_VG2;_Q7++){_qa[index]=(_Ty+(_Jo*_WG2[_Q7]));_qa[index+1]=(_Uy+(_Ko*_XG2[_Q7]));_qa[index+2]=_Ca;_sa[index]=_Tu;index+=_na}}else {var _dK2=_VG2*3;_ia=_v8._ja(_ka._la,null,_v8._ma,_dK2);
var _na=_ia._oa()>>2;var index=_na*_ia._pa;_ia._pa+=_dK2;_qa=_ia._ra;_sa=_ia._ta;for(var _Q7=0;_Q7<_VG2;_Q7++){_qa[index]=_Ty;_qa[index+1]=_Uy;_qa[index+2]=_Ca;_sa[index]=_Su;index+=_na;_qa[index]=(_Ty+_Jo*_WG2[_Q7]);_qa[index+1]=(_Uy+_Ko*_XG2[_Q7]);_qa[index+2]=_Ca;_sa[index]=_Tu;index+=_na;_qa[index]=(_Ty+_Jo*_WG2[_Q7+1]);_qa[index+1]=(_Uy+_Ko*_XG2[_Q7+1]);_qa[index+2]=_Ca;_sa[index]=_Tu;index+=_na}}}function _uH2(_N6,_O6,_Zw,_Su,_Tu,_Ex){_tH2(_N6-_Zw,_O6-_Zw,_N6+_Zw,_O6+_Zw,_Su,_Tu,_Ex)}function _wH2(_18,
_28,_m7,_n7){_yH2(_18,_28,_m7,_n7,1.0,_nu,_nu)}function _xH2(_18,_28,_m7,_n7,_Zf){_yH2(_18,_28,_m7,_n7,_Zf,_nu,_nu)}function _yH2(_18,_28,_m7,_n7,_Zf,_Su,_Tu){if(_YG2!=0.0){_18+=_YG2;_28+=_YG2;_m7+=_YG2;_n7+=_YG2}var _k9=((_Tb*255.0)<<24);_Su=_k9|_Xb(_Su);_Tu=_k9|_Xb(_Tu);var _S7=(_m7-_18);var _U7=(_n7-_28);var _H7=(_S7*_S7)+(_U7*_U7);if(_H7<0.0001)return;_H7=Math.sqrt(_H7);if(_H7<0.0001)return;_S7=0.5*_Zf*_S7/_H7;_U7=0.5*_Zf*_U7/_H7;var _ia=_v8._ja(_ka._la,null,_v8._ma,6);var _na=_ia._oa()>>2;var index=_na*_ia._pa;
_ia._pa+=6;var _wa=index;var _xa=_wa+_na;var _ya=_xa+_na;var _za=_ya+_na;var _Aa=_za+_na;var _Ba=_Aa+_na;var _qa=_ia._ra;var _sa=_ia._ta;_qa[_wa+0]=(_18-_U7);_qa[_wa+1]=(_28+_S7);_qa[_xa+0]=(_m7-_U7);_qa[_xa+1]=(_n7+_S7);_qa[_ya+0]=(_m7+_U7);_qa[_ya+1]=(_n7-_S7);_qa[_za+0]=(_m7+_U7);_qa[_za+1]=(_n7-_S7);_qa[_Aa+0]=(_18+_U7);_qa[_Aa+1]=(_28-_S7);_qa[_Ba+0]=(_18-_U7);_qa[_Ba+1]=(_28+_S7);_qa[_wa+2]=_qa[_xa+2]=_qa[_ya+2]=_qa[_za+2]=_qa[_Aa+2]=_qa[_Ba+2]=_Ca;_sa[_wa]=_sa[_Aa]=_sa[_Ba]=_Su;_sa[_xa]=_sa[_ya]=_sa[_za]=_Tu;
}function _eK2(_BP,_Zf,__f){var _Mt1=_v8._Gt1(_Zf,__f);_BP._fK2=_Mt1;_BP._qQ=_Mt1._qQ;_BP._J8._fa=_Mt1._9t1}function _IH2(_Zf,__f,_cQ){var _Th=new _Uh();_Th._J8=document.createElement("surf");_Th._6c=_Zf;_Th._7c=__f;_Th._J8.width=_Zf;_Th._J8.height=__f;_Th._J8._6c=_Zf;_Th._J8._7c=__f;if(_cQ!=undefined){var __h=_Oh._8g(_cQ);if(__h&&__h._fK2){_v8._Ot1(__h._fK2)}}_eK2(_Th,_Zf,__f);_Th.x=0;_Th.y=0;_Th._u4=_Zf;_Th._v4=__f;_Th._w4=0;_Th._x4=0;_Th._y4=_Th._u4;_Th._z4=_Th._v4;_Th._A4=_Th._u4;_Th._B4=_Th._v4;if(_cQ!=undefined){
_Oh._Ig(_cQ,_Th);_Th._C4=_cQ}else {_Th._C4=_Oh._Qe(_Th)}_Th._eQ=_Th;_Th._J8.complete=true;_Th._G8=[];_Th._H8=0;_Th._I8=4;_Th._fQ=0;_Th._gQ=null;_Th._2P=_Th._J8;return _Th._C4}function _JH2(_5g){var __h=_Oh._8g(_5g);if(__h&&__h._fK2){if(_aQ(_5g)){_es("Error: Surface in use via surface_set_target(). It can not be freed until it has been removed from the surface stack.");return }_v8._7s1();_v8._Ot1(__h._fK2);__h._J8._fa=undefined;_Oh._ng(_5g)}else if(!__h){_9g("Surface does not exist");return 0}}function _KH2(_5g,
_N6,_O6){return _LH2(_5g,_N6,_O6)&0x00ffffff}function _LH2(_5g,_N6,_O6){var _eg=0;var __h=_Oh._8g(_5g);if(__h!=null){_N6=~~_N6;_O6=~~_O6;_eg=_v8._Et1(__h._qQ,_N6,_O6)}return _eg}function _EH2(_5g,_N6,_O6){var __h=_Oh._8g(_5g);if(!__h)return;_N6=~~_N6;_O6=~~_O6;_M9._6P(__h,0,0,__h._6c,__h._7c,_N6,_O6,__h._6c,__h._7c,0xffffffff)}function _gK2(_S8,_w7,_x7,_y7,_z7,_8i,_9i,_wM1,_xM1,_D21,_hK2,_E21,_iK2,_zW,_AW,_LW,_0b2){var _Ua=(_Ca);var _1c=_Eb(_ib);var _jK2=_v8._ja(_1c,_S8,_v8._ma,6);var _na=_jK2._oa()>>2;var index=_na*_jK2._pa;
_jK2._pa+=6;var _qa=_jK2._ra;var _sa=_jK2._ta;var _ua=_jK2._va;var _wa=index;var _xa=_wa+_na;var _ya=_xa+_na;var _za=_ya+_na;var _Aa=_za+_na;var _Ba=_Aa+_na;_qa[_wa+0]=_qa[_Ba+0]=_w7;_qa[_wa+1]=_qa[_Ba+1]=_x7;_qa[_xa+0]=_y7;_qa[_xa+1]=_z7;_qa[_ya+0]=_qa[_za+0]=_8i;_qa[_ya+1]=_qa[_za+1]=_9i;_qa[_Aa+0]=_wM1;_qa[_Aa+1]=_xM1;_qa[_wa+2]=_qa[_xa+2]=_qa[_ya+2]=_qa[_za+2]=_qa[_Aa+2]=_qa[_Ba+2]=_Ua;_sa[_wa]=_sa[_Ba]=_zW;_sa[_xa]=_AW;_sa[_ya]=_sa[_za]=_LW;_sa[_Aa]=_0b2;_ua[_wa+0]=_ua[_Ba+0]=_D21;_ua[_wa+1]=_ua[_Ba+1]=_hK2;
_ua[_xa+0]=_E21;_ua[_xa+1]=_hK2;_ua[_ya+0]=_ua[_za+0]=_E21;_ua[_ya+1]=_ua[_za+1]=_iK2;_ua[_Aa+0]=_D21;_ua[_Aa+1]=_iK2;return true}function _MH2(_9R,_kK2,_lK2,_aR){_v8._NQ();_v8._hq._mr();_JQ(_9R);_nm(0,0,_jQ(_9R),_kQ(_9R),0);var __f=_kQ(_aR);var _Zf=_jQ(_aR);var _N6=0;var _O6=0;var _mK2=_lK2;var _nK2=(_lK2+__f);var _x7=_O6;var _z7=(_O6+__f);var _w9=(1/_Zf);var _y9=(1/__f);_gK2(_lQ(_aR)._Nb._fa,_kK2,_mK2,_kK2+_Zf,_mK2,_kK2+_Zf,_nK2,_kK2,_nK2,_w9*_N6,_y9*_x7,_w9*(_N6+_Zf),_y9*_z7,0xffffffff,0xffffffff,0xffffffff,
0xffffffff);_v8._NQ();_PQ();_v8._hq._nr()}function _NH2(_9R,_kK2,_lK2,_aR,_cR,_dR,_eR,_fR){_v8._7s1();_v8._hq._mr();_JQ(_9R);_nm(0,0,_jQ(_9R),_kQ(_9R),0);var __f=_fR;var _Zf=_eR;var _N6=_cR;var _O6=_dR;var _mK2=_lK2;var _nK2=(_lK2+__f);var _x7=_O6;var _z7=(_O6+__f);var _w9=(1/_jQ(_aR));var _y9=(1/_kQ(_aR));_gK2(_lQ(_aR)._Nb._fa,_kK2,_mK2,_kK2+_Zf,_mK2,_kK2+_Zf,_nK2,_kK2,_nK2,_w9*_N6,_y9*_x7,_w9*(_N6+_Zf),_y9*_z7,0xffffffff,0xffffffff,0xffffffff,0xffffffff);_v8._7s1();_PQ();_v8._hq._nr();_v8._7s1()}function _QH2(_M6,
_N6,_O6,_Zf,__f,_Jh,_Kh){_is("sprite_add_from_screen() (WebGL)");return -1}function _PH2(_5g,_N6,_O6,_Zf,__f,_Jh,_Kh){var __h=_Oh._8g(_5g);if(__h!=null){_N6=~~_N6;_O6=~~_O6;_Zf=~~_Zf;__f=~~__f;var _2P=document.createElement(_us);var _3P=_2P.getContext('2d');_4P(_3P);var _4c=_v8._pt1(_2P,__h._qQ,_N6,_O6,_Zf,__f,_Jh,_Kh);var _Th=new _Uh();_Th.x=0;_Th.y=0;_Th._u4=_4c._7t1;_Th._v4=_4c._8t1;_Th._w4=0;_Th._x4=0;_Th._y4=_Th._u4;_Th._z4=_Th._v4;_Th._A4=_Zf;_Th._B4=__f;_Th._C4=_8P(_2P);_Th._J8=_K8[_Th._C4];_Th._J8._fa=_4c;
_Th._J8._6c=_2P.width;_Th._J8._7c=_2P.height;var _Rh=new _Sh();_Rh._Gh=_Th;return _Ch._Vh(_Rh)}debug("Surface "+_5g+" does not exist");return -1}function _OH2(_N6,_O6,_Zf,__f,_Jh,_Kh){_N6=~~_N6;_O6=~~_O6;var _2P=document.createElement(_us);var _3P=_2P.getContext('2d');_4P(_3P);var _4c=_v8._it1(_2P,_N6,_O6,_Zf,__f,_Jh,_Kh,(_yo>0));var _Th=new _Uh();_Th.x=0;_Th.y=0;_Th._u4=_4c._7t1;_Th._v4=_4c._8t1;_Th._w4=0;_Th._x4=0;_Th._y4=_Th._u4;_Th._z4=_Th._v4;_Th._A4=_Zf;_Th._B4=__f;_Th._C4=_8P(_2P);_Th._J8=_K8[_Th._C4];
_Th._J8._fa=_4c;_Th._J8.width=_Zf;_Th._J8.height=__f;_Th._J8._6c=_Zf;_Th._J8._7c=__f;var _Rh=new _Sh();_Rh._Gh=_Th;return _Ch._Vh(_Rh)}function _RH2(_5g,_N6,_O6,_Zf,__f,_Jh,_Kh,_bP,_cP){var __h=_Oh._8g(_5g);if(__h!=null){_N6=~~_N6;_O6=~~_O6;_Zf=~~_Zf;__f=~~__f;var _2P=document.createElement(_us);var _3P=_2P.getContext('2d');_4P(_3P);var _4c=_v8._pt1(_2P,__h._qQ,_N6,_O6,_Zf,__f,_Jh,_Kh);var _Th=new _Uh();_Th.x=0;_Th.y=0;_Th._u4=_4c._7t1;_Th._v4=_4c._8t1;_Th._w4=0;_Th._x4=0;_Th._y4=_Th._u4;_Th._z4=_Th._v4;_Th._A4=_Zf;
_Th._B4=__f;_Th._C4=_8P(_2P);_Th._J8=_K8[_Th._C4];_Th._J8._fa=_4c;_Th._J8._6c=_2P.width;_Th._J8._7c=_2P.height;var _5P=new _dP();_5P._U3="surface.copy";_5P.width=_Zf;_5P.height=__f;_5P._gP=new _Ys();_5P._gP.right=_5P.width;_5P._gP.bottom=_5P.height;_5P._hP=true;_5P._zi=true;_5P.preload=true;_5P._iP=0;_5P._jP=false;_5P._kP=_bP;_5P._lP=_cP;_5P._mP=true;_5P._F7=1;_5P._wP=0;_5P._nP=false;_5P._oP=false;_5P._G7=[];_5P._7P=[];_5P._pP=[];_5P._qP();_5P._7P[0]=_Th;var _eP=_ZO._fP(_5P);return _eP}debug("Surface "+_5g+" does not exist");
return -1}function _SH2(_M6,_5g,_N6,_O6,_Zf,__f,_Jh,_Kh){var __h=_Oh._8g(_5g);if(__h!=null){_N6=~~_N6;_O6=~~_O6;_Zf=~~_Zf;__f=~~__f;var _2P=document.createElement(_us);var _3P=_2P.getContext('2d');_4P(_3P);var _4c=_v8._pt1(_2P,__h._qQ,_N6,_O6,_Zf,__f,_Jh,_Kh);var _Th=new _Uh();_Th.x=0;_Th.y=0;_Th._u4=_Zf;_Th._v4=__f;_Th._w4=0;_Th._x4=0;_Th._y4=_Th._u4;_Th._z4=_Th._v4;_Th._A4=_Th._u4;_Th._B4=_Th._v4;_Th._C4=_8P(_2P);_Th._J8=_K8[_Th._C4];_Th._J8._fa=_4c;_Th._J8._6c=_2P.width;_Th._J8._7c=_2P.height;var __O=_ZO._8g(_M6);
__O._7P[__O._7P.length]=_Th;__O._F7++;return _M6}debug("Surface "+_5g+" does not exist");return -1}function _TH2(_yk2,_zk2){var _Ak2,_Dk2;_Ak2=_v8._Xt1(_zk2);_Dk2=_v8._Xt1(_yk2);var _mO=(_yk2._v4*_yk2._u4*4);for(var _Q7=_mO-4;_Q7>=0;_Q7-=4){var _Qt=~~((_Ak2[_Q7]+_Ak2[_Q7+1]+_Ak2[_Q7+2])/3);_Dk2[_Q7+3]=_Qt}var _kf2=new Image();_v8._Pt1(_yk2._J8._fa._9t1);_yk2._J8._fa=_v8._vt1(_kf2,_Dk2,_yk2._u4,_yk2._v4);return true}function _GH2(_5g){var _oH=_pH._8g(_5g);if(_oH){var _ia,_na,index,_6q2,_II2,_qa,_sa,_ua,_18,_28,
_m7,_n7;var _Ei=~~((_Tb*255.0)<<24)|0x0000ff;var _Fi=~~((_Tb*255.0)<<24)|0x00ff00;var _H8=6*(_oH._hH*_oH._gH);_ia=_v8._ja(_ka._la,null,_v8._ma,_H8);_na=_ia._oa()>>2;index=_na*_ia._pa;_II2=_ia._pa;_ia._pa+=_H8;var _qa=_ia._ra;var _sa=_ia._ta;for(var y=0;y<_oH._hH;y++){for(var x=0;x<_oH._gH;x++,index+=_na*6){var _59=_Fi;var _wa=index,_xa=_wa+_na,_ya=_xa+_na,_za=_ya+_na,_Aa=_za+_na,_Ba=_Aa+_na;if(_oH._kH[(_oH._hH*x)+y]<0)_59=_Ei;_18=~~(_oH._eH+x*_oH._iH);_28=~~(_oH._fH+y*_oH._jH);_m7=_18+_oH._iH;_n7=_28+_oH._jH;
_qa[_Ba+0]=_qa[_Aa+0]=_qa[_wa+0]=_18;_qa[_Ba+1]=_qa[_xa+1]=_qa[_wa+1]=_28;_qa[_za+0]=_qa[_ya+0]=_qa[_xa+0]=_m7;_qa[_Aa+1]=_qa[_za+1]=_qa[_ya+1]=_n7;_qa[_wa+2]=_qa[_xa+2]=_qa[_ya+2]=_qa[_za+2]=_qa[_Aa+2]=_qa[_Ba+2]=_Ca;_sa[_wa]=_sa[_xa]=_sa[_ya]=_sa[_za]=_sa[_Aa]=_sa[_Ba]=_59}}return }_9g("Error: invalid mp_grid ID (mp_grid_draw)")}function _FH2(_5g,_NJ,_OJ,_PJ){var _QJ=_RJ._M3[_5g];if(!_QJ)return;var _ia,_vJ2,_qa,_sa,_ua,_na;var _59=~~((_Tb*255.0)<<24)|(_Ub&0xffffff);var _S7,_U7,_SJ;var _TJ=0;var _UJ=_QJ._VJ(0);
if(!_PJ){_NJ=_NJ-_UJ.x;_OJ=_OJ-_UJ.y}else {_NJ=0;_OJ=0}_TJ=_wg(_QJ.length/4.0);if(_TJ==0)return;var _H8=_TJ*2;_ia=_v8._ja(_ka._Hb,null,_v8._ma,_H8);_na=_ia._oa()>>2;_vJ2=_na*_ia._pa;_ia._pa+=_H8;var _qa=_ia._ra;var _sa=_ia._ta;for(var _Q7=0;_Q7<_TJ;_Q7++){_UJ=_QJ._VJ(_Q7/_TJ);var _18=~~(_NJ+_UJ.x);var _28=~~(_OJ+_UJ.y);_sa[_vJ2+0]=_59;_qa[_vJ2+0]=_18;_qa[_vJ2+1]=_28;_qa[_vJ2+2]=_Ca;_vJ2+=_na;_UJ=_QJ._VJ((_Q7+1)/_TJ);var _m7=~~(_NJ+_UJ.x);var _n7=~~(_OJ+_UJ.y);_sa[_vJ2+0]=_59;_qa[_vJ2+0]=_m7;_qa[_vJ2+1]=_n7;
_qa[_vJ2+2]=_Ca;_vJ2+=_na}}function _bH2(_fs){_v8._Us1(_fs)}function _CH2(_2g,_Iq){_Fz2=_2g;_Gz2=_Iq;_v8._8s1(_Fz2,_Gz2)}function _DH2(_oK2){if(_oK2){_7z(0)}else {_9z(_ir,_kr)}}function _UH2(_F8){if(_F8){return 1.0/_F8._Nb._6c;}return 1.0}function _VH2(_F8){if(_F8){return 1.0/_F8._Nb._7c}return 1}function _WH2(_ts1,_id){_v8._Ws1(_ts1,_id._Nb._fa)}function _XH2(_fL){if(_ig2[_fL]&&_ig2[_fL]._Lr1){return 1}return 0}function _YH2(_fL){var _nr1=(_fL==-1)?_mo():_ig2[_fL]._Lr1;if(_nr1){_v8._lo(_nr1)}}function _ZH2(_fL,
_pK2){var _nr1=(_fL==-1)?_mo():_ig2[_fL]._Lr1;if(_nr1){return _v8._Js1(_ig2[_fL]._Lr1,_pK2)}return undefined}function __H2(_JM,_Ns1){if(_JM){_v8._Ms1(_JM,_Ns1)}}function _0I2(_JM,_Ns1){if(_JM){_v8._Os1(_JM,_Ns1)}}function _1I2(_JM,_Ns1){if(_JM){var _Ap=_Bp(_sp);_v8._Ps1(_JM,new Float32Array(_Ap._v7))}}function _2I2(_fL,_id){if(_ig2[_fL]){var _nr1=_ig2[_fL];if(_nr1){for(var _Q7=0;_Q7<_nr1._Mr1.length;_Q7++){if(_nr1._Mr1[_Q7]==_id){return Number(_Q7)}}}}return 0}function _3I2(_hR){_8i2=_hR}function _4I2(_JM,_cw){
if(_cw instanceof Array){_v8._Ss1(_JM,_Qr1)}else {alert('ERROR: shader_set_uniform_i_array() Data is not an array')}}function _5I2(_JM,_cw){if(_cw instanceof Array){_v8._Ts1(_JM,_cw)}else {alert('ERROR: shader_set_uniform_f_array() Data is not an array');}}function _6I2(_JM,_cw){if(_cw instanceof Array){var _Qr1=new Float32Array(_cw);_v8._Ps1(_JM,_Qr1)}else {alert('ERROR: shader_set_uniform_matrix_array() Data is not an array')}}function _8I2(_8z){}function _9I2(_qK2){var _2r=_v8._xs1();for(var _Pr1=0;_Pr1<_2r;_Pr1++){
_ab2(_Pr1,_qK2)}}function _aI2(_ts1,_qK2){_OG2[_ts1]=_qK2?true:false;_v8._ss1(_ts1,_OG2[_ts1])}function _bI2(_1r){var _2r=_v8._xs1();for(var _Pr1=0;_Pr1<_2r;_Pr1++){_bb2(_Pr1,_1r)}}function _cI2(_ts1,_1r){_v8._vs1(_ts1,_1r?_ka._6r:_ka._8r)}function _dI2(){return _OG2[0]};function _eI2(_F8){if(typeof(_F8)=="object"){return 1.0}else if((_F8!=-1)&&_K8[_F8]){return 1.0}return 0}function _fI2(_F8){if(typeof(_F8)=="object"){return 1.0}else if((_F8!=-1)&&_K8[_F8]){return 1.0}return 0}function _gI2(_F8){if((_F8==-1)||(_F8===undefined))return [0,
0,1,1];var _Th=_F8._Ob;var _J8=_Th._J8;if(_Th===undefined||_J8===undefined)return [0,0,1,1];var _rK2=1.0/_J8._6c;var _sK2=1.0/_J8._7c;var _tK2=[];_tK2.push(_Th.x*_rK2,_Th.y*_sK2,(_Th.x+_Th._y4)*_rK2,(_Th.y+_Th._z4)*_sK2);return _tK2}function _7I2(){return 1}function _hI2(_io){_MG2=(_io>0.5)?true:false;_v8._qs1(_MG2,_NG2)}function _iI2(_Zq){_NG2=_Zq/255.0;_v8._qs1(_MG2,_NG2)}function _jI2(){return(_MG2?1.0:0.0)}function _kI2(){return _NG2}function _rp(_vc,_8k){_Xp[_vc]=new _4o(_8k);if(_v8==null)return;switch(_vc){
case _DT1:_v8._zo(_Xp[_vc]);break;case _zT1:_v8._so(_Xp[_vc]);break;case _sp:_v8._0t1(_Xp[_vc]);break }_v8._NQ()}function _Bp(_vc){switch(_vc){case _DT1:case _zT1:case _sp:return _Xp[_vc];break }}function _vI2(){if(_as._P3){for(var _Q7=0;_Q7<_as._P3.length;_Q7++){var _Kr1=_as._P3[_Q7];_ig2[_Q7]=_v8._Gr1(_Kr1._dp,_Kr1._uK2,_Kr1._vK2)}}return true}function _AH2(_Vb){_nu=_Vb;_Ub=_Xb(_Vb)}function _ga(_BP){if(!_BP._fa){var _4c=_v8._2t1(_BP._J8);_BP._J8._fa=_4c;_BP._J8._6c=_BP._J8.width;_BP._J8._7c=_BP._J8.height}}function _Bt1(_F8){
if(_F8._9t1)return;_v8._4t1(_F8);_yF2(_F8)}function _wK2(_F8){if(_F8._9t1){_v8._Pt1(_F8._9t1);_F8._9t1=undefined;_zF2(_F8)}}function _At1(_F8){if(_F8._9t1!=undefined){return true}else {return false}}function _lI2(_RQ,_gf2,_xq,_We2,_hf2){var _ia=_7I._8g(_RQ);var __h=_Oh._8g(_gf2);if(!_ia||!__h)return false;var _xK2=_v8._Ft1(__h._qQ,0,0,__h._6c,__h._7c);for(var _Q7=0;_Q7<_xK2.length;_Q7++){_ia._af2(_td2,_Q7,_xK2[_Q7])}_xK2=null}function _mI2(_RQ,_gf2,_xq,_We2,_hf2){var _ia=_7I._8g(_RQ);var __h=_Oh._8g(_gf2);if(!_ia||!__h)return false;
var data=new Uint8Array(_ia._8I);_cH2(__h._J8._fa,0,0,__h._6c,__h._7c,data);data=null}var _yK2=0;var _zK2=100;var canvas=null;var _AK2,_BK2,_CK2,_DK2,_EK2,_FK2,_GK2,_HK2;var _gl2=!1;var _M9=null;var g_CurrentGraphics;var _IK2=null;var __C2=null;var _JK2=0;var _KK2=!1;var _LK2=0;var _MK2=0;var _hU1=60;if(!Date.now)Date.now=function(){return new Date().getTime()};var _NK2=Date.now();var _OK2=_NK2;var _PK2=_NK2;var _aI1="anonymous";var _5Q=-1;var _HU=-1;var _JU=-1;var _1D2=!0;var _FU=!0;var _SU=!0;var _GU=-1;var _IU=-1;var _7Q=-1;
var _8Q=-1;var _6Q=!1;var _RU=!0;var _TU={x:0,y:0,_u4:0,_v4:0};var _Jw=!1;var _QK2=!1;var _RK2=1;var _SK2=1;var _TK2=1;var _UK2=0;var _VK2=0;var _WK2=0;if(window.chrome&&window.chrome.app){_gl2=!0;try{if(window&&window['localStorage']){_gl2=!1}}catch(e){}}window._XK2=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame;if(!window._XK2){window.addEventListener("message",function(e){if(e.source==window&&e.data=="yyRequestAnimationFrame"){
e._YK2();_ZK2()}},!0)}window.requestAnimFrame=(function(){return window._XK2||function(_F_){window.setTimeout(_F_,1000/60)}})();var _6s=null;function __K2(){var _Qt=document.getElementById(_us);var _Ct=_Qt.parentNode;var load=document.createElement('canvas');_lf(canvas,_mf);load.style.position="absolute";load.style.left=_mf.left+"px";load.style.top=_mf.top+"px";load.width=_Qt.width;load.height=_Qt.height;load.setAttribute("id","loading_screen");_Ct.insertBefore(load,_Qt.nextSibling);_IK2=load.getContext('2d');
_4P(_IK2)}function _0L2(){var _Qt=document.getElementById(_us);var _H7=document.getElementById("loading_screen");var _Ct=_Qt.parentNode;if(_H7!=null){_Ct.removeChild(_H7)}_IK2=null;_KK2=false}function _lf(_gq1,_lj2){_lj2.left=0;_lj2.top=0;var _vn2=_gq1;while(_vn2!=null){var rect=_vn2.getBoundingClientRect();_lj2.left+=rect.left;_lj2.top+=rect.top;_vn2=_vn2.offsetParent}_lj2.right=_lj2.left+_OU;_lj2.bottom=_lj2.top+_QU;_lj2.scaleX=(_gq1.clientWidth/_gq1.width)||1;_lj2.scaleY=(_gq1.clientHeight/_gq1.height)||1}
function _1L2(_Ez){_u62=[];_v62=[];_w62=[];_h72=0;var _qq=_Ez.search;var _OM=_Ez.protocol+"//"+_Ez.host+_Ez.pathname;_v62[0]=_OM;_w62[0]=null;if(_qq[0]=="?")_qq=_qq.substring(1,_qq.length);var index=0;var start=0;var _2L2="";var _Cd=null;while(index<_qq.length){var _Qt=_qq[index];if(_Qt=="&"){if(_2L2!=""){if(start!=index)_Cd=_qq.substring(start,index);_v62[_v62.length]=_2L2;_w62[_w62.length]=_Cd;_u62[_2L2]=_Cd;_h72++;_2L2="";_Cd=null}start=index+1}else if(_Qt=="="){_2L2=_qq.substring(start,index);_Cd=null;
start=index+1}index++}if(_2L2!=""){if(start!=index)_Cd=_qq.substring(start,index);_v62[_v62.length]=_2L2;_w62[_w62.length]=_Cd;_u62[_2L2]=_Cd;_h72++;_2L2=_Cd=""}}function _3p2(){_AK2=canvas.style.position;_BK2=canvas.style.left;_CK2=canvas.style.top;_DK2=canvas.style.cssText;_EK2=canvas.parentNode;_FK2=canvas.nextSibling;_GK2=false;_HK2=canvas.margin;if((_EK2==document.body)||(canvas.mozRequestFullScreen)||(canvas.webkitRequestFullScreen)){_GK2=true}}window['GameMaker_Init']=GameMaker_Init;function GameMaker_Init(){
debug('------- GameMaker_Init -------------');if(!document.getElementById||!document.createElement)return;canvas=document.getElementById(_us);_M9=null;if(!canvas)return;_1L2(window.location);_as=_D3;if(_as._K4._bs){var _3L2=document.createElement('div');_3L2.id="yyDebugDiv";_3L2.style.display="none";document.body.appendChild(_3L2);}_382();if((_as._K4!=undefined)&&(_as._K4._M4!=undefined)&&(_as._K4._M4>1)){_j6=true;if(_as._K4._P4!=undefined){_k6._kw(_as._K4._P4)}}_NU1();_R62=false;_Xp=[];_Xp[_DT1]=new _4o();
_Xp[_zT1]=new _4o();_Xp[_sp]=new _4o();if((_as._K4._55)&&(_as._K4._55!=0)){_V62=_as._K4._W4;var _4L2=undefined;if(_Uz!=_EX1){_4L2=_oI2(canvas)}if(_4L2){_M9=_v8}else {if(_as._K4._55==1){_R62=true}_M9=canvas.getContext('2d');}}else {_M9=canvas.getContext('2d')}g_CurrentGraphics=_M9;_772=canvas.width;_872=canvas.height;if((_as._K4._75==true)||_j6){_Cf=_Df}if(_Cf==_Df){try{g_WebAudioContext=new AudioContext()}catch(e){try{g_WebAudioContext=new webkitAudioContext()}catch(e){debug('Web Audio API not supported in this browser');
_Cf=_jN}}g_WebAudioContext.addEventListener("statechange",_6N);_bM()}document.body.style._5L2="hidden";__C2=_M9;_fy=canvas.width;_hy=canvas.height;_OU=_fy;_QU=_hy;_HU=_OU;_JU=_QU;_RU=(_as._K4.scale!=0);_RK2=window.devicePixelRatio||1;_SK2=(_M9.webkitBackingStorePixelRatio||_M9.mozBackingStorePixelRatio||_M9.msBackingStorePixelRatio||_M9.oBackingStorePixelRatio||_M9.backingStorePixelRatio||1);_TK2=_RK2/_SK2;_mf=new _Ys();_lf(canvas,_mf);_wR=_mf.top;_tR=_mf.left;_sR=_mf.right;_vR=_mf.bottom;if(_as._K4._6L2){
_qt(_as._K4._6L2)}else if(_as._K4&&_as._K4._L4&&_as._K4._lt){_as._K4._lt()}_3p2();_4P(_M9);document.body.oncontextmenu=function(){return false};_Qf();_s82=document.getElementById('GM4HTML5_loadingscreen');if((_as._K4&&_as._K4._L4)||(_as._K4&&_as._K4._L4==undefined)){_5s=true}if(_v8&&_5s){debug("WebGL Enabled!");debug("Max Texture Size="+_v8._fr1())}_y82();_XT();if(_R62){_JK2=-2}else {if(_5s)_X5._vh2=_as._K4._L4;_K62="";_I62="";_J62=function(){};{_g92(_as);_JK2=0}}_PK2=Date.now();window.requestAnimFrame(_ZK2)}
function _ZK2(){if(_JK2!=3)window.requestAnimFrame(_ZK2);if(_KK2){_lf(canvas,_mf);var load=document.getElementById("loading_screen");load.style.position="absolute";load.style.left=_mf.left+"px";load.style.top=_mf.top+"px"}var _A61=false;while(!_A61){_A61=true;switch(_JK2){case -2:{if(_KK2)_0L2();_7L2(_M9,_OU,_QU);break }case -1:if(_q82==_r82){_g92(_as);_JK2=0;if(!_KK2){__K2();_KK2=true}_m92();_K62(_IK2,_OU,_QU,_p82,_eO,_s82)}break;case 0:if(!_KK2){__K2();_KK2=true}if(_eO>=_p82){_eO=_p82;_JK2=1;_A61=false}
_m92();if(_as._K4._8L2){if(_q82==_r82){_I62=eval(_as._K4._8L2);_I62(_IK2,_OU,_QU,_p82,_eO,_s82)}}else _K62(_IK2,_OU,_QU,_p82,_eO,_s82);break;case 1:_0L2();_x92(_as);_JK2=2;_A61=false;break;case 2:_J62();debug("Entering main loop...");_9L2();_JK2=3;_X5._rg2=new Date().getTime();_A61=false;break;case 3:_aL2();break }}}function _bL2(_fj2,x,y,_a4,text){_fj2.fillStyle=_a4;_fj2.lineStyle=_a4;_fj2.font="14px Verdana";;_fj2.textAlign="center";_fj2.fillText(text,x,y);_fj2.textAlign="left"}function _7L2(_fj2,_D8,
_E8){_fj2.fillStyle=_0i(0x151515,1.0);_fj2.fillRect(0,0,_D8,_E8);_bL2(_fj2,_D8/2,(_E8/2),_0i(0x8d8f90,1.0),"WebGL is required to run this application.")}function _i92(_M9,_D8,_E8,_cL2,_dL2,_eL2){_M9.globalAlpha=1;if(_eL2){try{_M9.save();_M9.fillStyle=_0i(0,1);_M9.globalCompositeOperation='copy';_M9.fillRect(0,0,_D8,_E8);_M9.restore();_M9.drawImage(_s82,0,0,_D8,_E8)}catch(e){_rs(e.message)}}else {var _fL2=(_D8/100)*50;var _gL2=2;var x=(_D8-_fL2)/2;var y=10+(_E8-_gL2)/2;_M9.fillStyle=_0i(0x151515,1.0);_M9.fillRect(0,
0,_D8,_E8);if(_dL2!=0){var _u4=(_fL2/_cL2)*_dL2;_M9.fillStyle=_0i(0x404040,1.0);_M9.fillRect(x,y,_fL2,_gL2);_M9.fillStyle=_0i(0x8d8f90,1.0);_M9.fillRect(x,y,_u4,_gL2)}_bL2(_M9,_D8/2,(_E8/2),_0i(0x8d8f90,1.0),"Loading")}}function _hL2(_pD2){_Ch._6f();var _iL2=_pD2._UK._e4;for(var _Q7=0;_Q7<_iL2.length;_Q7++){_Ch._Qe(_iL2[_Q7]);var _Fh=_Ch._8g(_Q7);var _jL2=_Ch._Dh(_Q7);_X5._zg2[_Q7]=_Fh._W3;_X5._Ag2[_Q7]=_Fh._mC;_X5._Bg2[_Q7]=_Fh.index;_X5._Cg2[_Q7]=_Fh.x;_X5._Dg2[_Q7]=_Fh.y;if((_jL2!==null)&&(_jL2!==undefined)&&(_jL2._Gh!==null)&&(_jL2._Gh!==undefined)){
_X5._Eg2[_Q7]=_jL2._Gh._u4;_X5._Fg2[_Q7]=_jL2._Gh._v4}else {_X5._Eg2[_Q7]=0;_X5._Fg2[_Q7]=0}_X5._Gg2[_Q7]=_Fh._cd2;_X5._Hg2[_Q7]=_Fh._dd2;_X5._Ig2[_Q7]=_Fh._pC;_X5._Jg2[_Q7]=_Fh._qC;_X5._Lg2[_Q7]=_Fh._fd2;_X5._Kg2[_Q7]=_Fh._ed2;_X5._Mg2[_Q7]=_Fh._sC;_X5._Ng2[_Q7]=_Fh.alpha}_X5._xg2=_pD2._xA2}function _8T1(_hz2,_kL2){if(_h6){_h6._dD2();var _lL2=_h6._qS1();for(var _Q7=0;_Q7<8;_Q7++){var _kf=_h6._fy1(_Q7);if(_kf){var _mL2=_kf._8V1;if(_mL2!=-1){var _MS1=_7V1._tS1(_mL2);if(_MS1){if(_lL2){_MS1._oS1(true)}else {
_MS1._oS1(false);}}}}}if(_j6){if(_7V1!=null){_7V1._aT1()}}}var _nL2=_h6;_YK=-1;_aB._67(_hY1,0);_Kz2();_lq2();var _tl2=[];if(_nL2!=null){for(var _Q7=_nL2._vB.length-1;_Q7>=0;_Q7--){var _sB=_nL2._vB._8g(_Q7);if(_sB._tl2){_tl2[_tl2.length]=_sB;_sB._oL2=true}}for(var _Q7=_tl2.length-1;_Q7>=0;_Q7--){_nL2._vB._KE(_tl2[_Q7])}if(_nL2._Dw2===false){_nL2._cB2(true)}else {for(var _Q7=_nL2._vB.length-1;_Q7>=0;_Q7--){var _sB=_nL2._vB._8g(_Q7);_sB._CB._GE(_sB)}}}_Hf._6f();_pd._6f();if(_h6&&!_h6._Dw2){var _pL2=_h6._UK;
_h6._zD();_h6._UK=_pL2}_h6=_ZD._8g(_hz2);var _qL2=_h6._Dw2;if(_qL2===true&&_h6._wA2===false){_qL2=false}if(_qL2===false){_h6._QA2(_h6._UK);_h6._pB2()}else {_h6._JA2(_h6._cF);_h6._KA2(_h6._eF);_h6._LA2(_h6._vA2);_h6._NA2(_h6._uA2);_h6._oS1(_h6._Dw2);_h6._pB2();for(_Q7=_h6._vB.length-1;_Q7>=0;_Q7--){var _sB=_h6._vB._8g(_Q7);_sB._CB._zE(_sB)}}_X5._YD=_h6.id;_SC2();var _nk2=_TU._u4/(_ez.right-_ez.left);var _ok2=_TU._v4/(_ez.bottom-_ez.top);var _gf=(_h6._hf)?_h6._jf:_if;for(var _Q7=0;_Q7<_gf.length;_Q7++){var _kf=_gf[_Q7];
_kf._nf=_kf._qB2*_nk2+_TU.x;_kf._pf=_kf._rB2*_ok2+_TU.y;_kf._NC2=_kf._sB2*_nk2;_kf._OC2=_kf._tB2*_ok2;_kf._of=_kf._nf+_kf._NC2;_kf._qf=_kf._pf+_kf._OC2}_hL2(_h6);if(_qL2===false){_h6._7B2();_h6._cB2(false);var _rL2=_h6._UK._k4;for(var _H7=0;_H7<_h6._UK._k4.length;_H7++){var _wr=false;var _sL2=_h6._UK._k4[_H7];if(_sL2.index>=0){for(var _w9=_tl2.length-1;_w9>=0;_w9--){if(_sL2.id==_tl2[_w9].id){_wr=true;break }}if(!_wr){var _qH=_h6._jB2(_sL2.x,_sL2.y,_sL2.id,_sL2.index,_sL2.scaleX,_sL2.scaleY,_sL2.rotation,
_sL2._a4);_qH._oL2=false}}}var _rL2=_h6._UK._k4;for(var _H7=0;_H7<_h6._UK._k4.length;_H7++){var _sL2=_h6._UK._k4[_H7];var _qH=_aB._8g(_sL2.id);if(_qH&&(_qH._oL2==false)){_qH._oL2=true;if(!_S62&&!_j6){if(_sL2._ZA2)_sL2._ZA2(_qH,_qH);_qH._67(_aY1,0,_qH,_qH);if(_sL2._tL2)_sL2._tL2(_qH,_qH);_qH._67(_FB,0,_qH,_qH)}else {_qH._67(_aY1,0,_qH,_qH);if(_sL2._tL2)_sL2._tL2(_qH,_qH);_qH._67(_FB,0,_qH,_qH);if(_sL2._ZA2)_sL2._ZA2(_qH,_qH)}}}}for(var _w9=0;_w9<_tl2.length;_w9++){_h6._vB._Qe(_tl2[_w9]);_tl2[_w9]._EB();
if(_j6){_tl2[_w9]._FE(-1);_tl2[_w9]._GD(false);_xE._zE(_h6,_tl2[_w9])}}if(_j6){if(_7V1!=null){_7V1._8T1()}}if(_xE!=null)_xE._9E(_h6);_Jz2();if(_kL2){_aB._67(_eY1,0)}if((_qL2==false)&&(_h6._CA2!=null)){var _uL2=new _9T1(0,0,0,0,false,true);_h6._CA2(_uL2,_uL2);_uL2=null}_aB._67(_gY1,0);_h6._wA2=true}function _vL2(_wL2){_8T1(_wL2,false)}function _9L2(){_X5._lg2=0;_X5._mg2=-1;_Z62=0;__62=-1;_072=0;_172=0;_8T1(_ZD._T92(0).id,true);_PK2=Date.now();_LK2=_PK2;_X5._6F=_hU1;_X5._gh2=_hU1;_0N()}function _xL2(){
_l62=[];_m62=[];_ST1=-1;_RT1=-1;_QT1=0;_h6._vB._6f();_h6._DA2._6f();var _xg=_26._GE1;for(var _Q7=0;_Q7<_xg.length;_Q7++){var _pB=_xg[_Q7];_pB._HV1._6f();_pB._6o2._6f()}_aB._6f()}function _yL2(){_Hf._mq2()}function _zL2(){if(_h6._Pl2.length>0)_h6._hD2();if(_h6._vB._Ow2>=0)_h6._vB._pq2();if(_h6._EA2.length>0)_h6._kD2();if(_h6._lz2.length>0)_h6._mD2()}function _AL2(){if(_h6._xK){if(_j6){_h6._xK._7f(_k6._l6())}else _h6._xK._7f(_h6._vA2)}else {_aB._9o2()}}function _BL2(){if((_h6._xK==null)||(_h6._xK==undefined)){
_bV1()}}function _CL2(){_X5._qg2=(_OK2-_X5._rg2)*1000;_X5._rg2=_OK2;_Hf._up2();_OU1();_pd._7f();_aB._8o2();_aB._ao2();_zL2();if(_YK!=-1)return;_xE._3F();_aB._67(_cY1,0);_zL2();if(_YK!=-1)return;if(_W62){_W62=false;_aB._67(_WY1,0)}_Pe._Xc2();_zL2();if(_YK!=-1)return;_QV1();_zL2();if(_YK!=-1)return;_ZV1();_zL2();if(_YK!=-1)return;_iq2();_zL2();if(_YK!=-1)return;_oV1();_zL2();if(_YK!=-1)return;_aB._67(_bY1,0);_zL2();if(_YK!=-1)return;_AL2();_PU1();_zL2();if(_YK!=-1)return;_7B();_3S();_zL2();if(_YK!=-1)return;
_BL2();_zL2();if(_YK!=-1)return;_aB._67(_dY1,0);_zL2();if(_YK!=-1)return;_Az2();if(_h6!=null){_h6._dD2();if(_M62){_h6._a9();_zL2()}}if(!_QK2){_DL2();_QK2=true}_h6._wB2();_yL2();_RL()}function _SC2(){var left,right,top,bottom;left=0;right=-999999;top=0;bottom=-999999;if(_h6._hf){for(var _Q7=0;_Q7<_h6._jf.length;_Q7++){var _kf=_h6._jf[_Q7];if(_kf._W3){if(right<_kf._qB2+_kf._sB2)right=_kf._qB2+_kf._sB2;if(bottom<_kf._rB2+_kf._tB2)bottom=_kf._rB2+_kf._tB2}}}else {left=0;right=_h6._cF;top=0;bottom=_h6._eF;
_i62._sB2=_i62._yQ=right;_i62._tB2=_i62._AQ=bottom}if(_FU){if(!_SU){_HU=_GU;_JU=_IU}}else {_HU=_OU;_JU=_QU;if(_9Q(_5Q)){_hQ(_5Q);_5Q=-1}}_SU=_FU;_Zi2=_OU;__i2=_QU;_0j2=_HU/(right-left);_1j2=_JU/(bottom-top);var _J7=new _Ys();_J7.left=left;_J7.top=top;_J7.right=right;_J7.bottom=bottom;_ez=_J7;_vQ=_J7.left;_xQ=_J7.top;_zQ=_J7.right-_J7.left;_BQ=_J7.bottom-_J7.top;_KU()}function _EL2(){var _u4=640;if(typeof(window.innerWidth)=='number'){_u4=window.innerWidth}else if(document.documentElement&&document.documentElement.clientWidth){
_u4=document.documentElement.clientWidth}else if(document.body&&document.body.clientWidth){_u4=document.body.clientWidth}return _u4}function _FL2(){var _v4=480;if(typeof(window.innerHeight)=='number'){_v4=window.innerHeight;}else if(document.documentElement&&document.documentElement.clientHeight){_v4=document.documentElement.clientHeight}else if(document.body&&document.body.clientHeight){_v4=document.body.clientHeight}return _v4}function _GL2(){var _HL2=new Fingerprint().get();return _HL2};function _IL2(_je2){
return String.fromCharCode.apply(null,new Uint8Array(_je2))};;function _JL2(_2t){var _je2=new ArrayBuffer(_2t.length*2);var _KL2=new Uint16Array(_je2);for(var _Q7=0,_LL2=_2t.length;_Q7<_LL2;_Q7++){_KL2[_Q7]=_2t.charCodeAt(_Q7)}return _je2};function _DL2(){var _m72=_as._K4._m5;var _mO=(_OK2/1000)-_as._K4._m5;if((_D3._K4._ML2!=undefined)&&(_D3._K4._ML2))try{var _NL2="{";var _OL2=_zv(_GL2());_NL2+="\"mID\" : \"";_NL2+=_OL2;_NL2+="\", ";if(_D3._K4._g5!=undefined){var _PL2="";for(var _Q7=0;_Q7<16;_Q7++)_PL2+=_D3._K4._g5[_Q7].toString(16);
_NL2+="\"mUS\" : \"";_NL2+=_PL2;_NL2+="\", "}if(_D3._K4._U4!=undefined){_NL2+="\"mGM\" : \"";_NL2+=_D3._K4._U4;_NL2+="\", "}if(_D3._K4._l5!=undefined){_NL2+="\"gN\" : \"";_NL2+=_D3._K4._l5;_NL2+="\", "}if((_D3._K4._QL2!=undefined)&&(_D3._K4._RL2!=undefined)&&(_D3._K4._SL2!=undefined)){_NL2+="\"gV\" : \"";_NL2+=_D3._K4._QL2+"."+_D3._K4._RL2+"."+_D3._K4._SL2+".0";_NL2+="\", ";}_NL2+="\"osT\" : \"";_NL2+="19";_NL2+="\", ";_NL2+="\"osV\" : \"";_NL2+=_Wz.browser;_NL2+="\", ";var _TL2=navigator.language;
var _Z7=_TL2.split("-");_NL2+="\"osL\" : \"";_NL2+=_Z7[0];_NL2+="\", ";_NL2+="\"osR\" : \"";_NL2+=_Z7[1];_NL2+="\", ";if(navigator.userAgent){_NL2+="\"navUsrA\" : \"";_NL2+=navigator.userAgent;_NL2+="\", "}if(navigator.vendor){_NL2+="\"navVend\" : \"";_NL2+=navigator.vendor;_NL2+="\", "}if(navigator.platform){_NL2+="\"navPlat\" : \"";_NL2+=navigator.vendor;_NL2+="\", "}if(navigator.cpuClass){_NL2+="\"navCpuC\" : \"";_NL2+=navigator.cpuClass;_NL2+="\", "}if(window.devicePixelRatio){_NL2+="\"winPixR\" : \"";
_NL2+=window.devicePixelRatio;_NL2+="\", "}_NL2+="\"win\" : \"";_NL2+=_EL2()+","+_FL2();_NL2+="\", ";var _fw1=0;var _UL2=_ow();for(var _Q7=0;_Q7<_UL2;_Q7++,_fw1<<=1){if(_pw(_Q7))_fw1|=1}_NL2+="\"gpad\" : \"";_NL2+=_UL2+","+_fw1+",";for(var _Q7=0;_Q7<_UL2;_Q7++){if(_pw(_Q7))_NL2+="("+_qw(_Q7)+","+_rw(_Q7)+"),"}_NL2+="\" ";_NL2+="}";var _VL2=undefined;try{_VL2=new TextEncoder("utf-8")}catch(e){};var _By1;if(_VL2!=undefined){_By1=_VL2._WL2(_NL2)}else _By1=_JL2(_NL2);var _XL2=new Zlib.Deflate(_By1);var _YL2=_XL2.compress();
var _ZL2=_IL2(_YL2);var buffer=_gv(_ZL2);var __L2=_zv("MILES"+buffer+"JAMIE");var _OM="https://ping.yoyogames.com/pingback?data=";var _0M2=encodeURIComponent(buffer);_OM+=_0M2;_OM+="&validate=";var _3w=0;for(var _Q7=_uU1(12);_3w<2&&_Q7<16;++_Q7,++_3w){_OM+=__L2.charAt(_Q7*2)+__L2.charAt(_Q7*2+1)}_3A(_OM);}catch(e){debug("Failed to submit stats: "+e)}}function _1M2(){_lf(canvas,_mf);_wR=_mf.top;_tR=_mf.left;_sR=_mf.right;_vR=_mf.bottom;_HQ(_M9);if((_772!=canvas.width)||(_872!=canvas.height)){_W62=true}_772=canvas.width;
_872=canvas.height;var _u4=_EL2();var _v4=_FL2();if((_O62)&&(!_X62)){if((_572!=_u4)||(_672!=_v4)){_X62=true;_O62=false}}if(_X62){_X62=false;if(_O62){_u4=_fy;_v4=_hy;_O62=false;canvas.style.position=_AK2;canvas.style.left=_BK2;canvas.style.top=_CK2;canvas.style.margin=_HK2;canvas.style.cssText=_DK2;if(!_GK2){if(canvas.parentNode!=_EK2){_EK2.insertBefore(canvas,_FK2)}}}else {_O62=true;_oR(0,0);if(!_GK2){if(canvas.parentNode==_EK2){_EK2.removeChild(canvas);document.body.insertBefore(canvas,null)}}}canvas.width=_u4;
canvas.height=_v4;_OU=canvas.width;_QU=canvas.height;_tR=canvas.offsetLeft;_sR=_tR+_OU;_wR=canvas.offsetTop;_vR=_tR+_QU;_572=_OU;_672=_QU;_Zi2=_u4;__i2=_v4;_0j2=1;_1j2=1;_SC2()}}var _2M2=0;var _3M2=0;function _aL2(){if(_v8){_v8._NQ()}var _Hn2;if(_j6){_k6._7f();_Hn2=_k6._l6();}else {_Hn2=_h6._i6();if(_Hn2<=0){_Hn2=1;_h6._LA2(1)}}_OK2=Date.now();if(_OK2>=_LK2+1000){if(_OK2-_PK2<2000){_hU1=_MK2;_X5._6F=_hU1}_MK2=0;_LK2=_OK2}_MK2++;var _4M2=_PK2+1000/_Hn2;var now=Date.now();var _nH1=_PK2+1000/_Hn2-now;if(_nH1<0)_nH1=0;
_PK2=now+_nH1;if(_nH1>4){setTimeout(function(){if(window._XK2){window._XK2(_ZK2)}else {}},_nH1)}else {if(window._XK2){window._XK2(_ZK2)}else {window._5M2("yyRequestAnimationFrame","*")}}if(!_MU1){_1M2();var _6M2=10;var _A61=false;while(!_A61){_A61=true;if(_h6===null){_i62._of=_i62._NC2=_i62._sB2=_i62._yQ=_OU;_i62._qf=_i62._OC2=_i62._tB2=_i62._AQ=_QU}else {_SC2()}_8j2();_CL2();_bj2();switch(_YK){case -1:break;;case _VX1:case _YX1:return;case _WX1:_xL2();_ZD._rD2();_9L2();break;case _XX1:_x92();break;default :_vL2(_YK);
_A61=false;break }_6M2--;if(_6M2<=0)break }}if(_as._K4&&_as._K4._L4&&_as._K4._7M2){_as._K4._7M2()}}