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.NK="undefined"!==typeof require&&require("fs");b.bN=function(a,c){if(a)if(a instanceof Array)for(var d=0,e=a.length;df)throw"arguments error!";"function"==typeof c&&(c={MF:c});if(void 0!==d)c.ed=d||c.ed;else if(void 0===a)throw"arguments error!"; var g=(f=a instanceof Array)?a.length:Object.keys(a).length;if(0===g)c.ed&&c.ed.call(c.CM,null);else{var h={length:g,count:g,HO:c,dP:f?[]:{}};b.bN(a,function(a,d){if(h.aF)return!1;var f=c.ed?e.zJ.bind({IM:h,index:d}):e.mK;c.MF.call(c.w1,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},Yo:function(a,c,d){if(0==c.indexOf("."))return this.DM(a,c);var e=a.indexOf("?"),f="";d=d?this.bl(a):"";0=e?0:e+1)+c+d+f}}; b.V={TK:{},Fw:{},$W:{},Ml:{},Ly:"",vZ:"",Xf:{},Mx:function(){return window.XMLHttpRequest?new window.XMLHttpRequest:new ActiveXObject("MSXML2.XMLHTTP")},yK: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},d2:function(a, c,d){var e=this,f=e.TK,g=e.yK(arguments);-1=c.length)e&&e();else{var f=this;f.AJ(b.path.join(a,c[d]),!1,function(g){if(g)return e(g);f.ZK(a,c,d+1,e)})}},cX:function(){var a=document,c=a.getElementById("cocos2d_loadJsImg");if(!c){c=b.Ob("img");b.aL&&(c.src=b.aL);a=a.getElementById(b.Ic.Pe.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},sy:function(a,c){if(b.NK)require("fs").Pga(a,function(a,d){a?c(a):c(null,d.toString())});else{var d=this.Mx(),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)}},$K:function(a){if(b.NK)return require("fs").Qga(a).toString();var c=this.Mx();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},AO:function(a,c){this.sy(a,function(d,e){try{d?c(d):c(null,JSON.parse(e))}catch(f){throw"load json ["+a+"] failed : "+f;}})},vJ:function(a){return null!=/(\.png)|(\.jpg)|(\.bmp)|(\.jpeg)|(\.gif)/.exec(a)},Bp:function(a,c,d){var e=!0;void 0!==d?e=null==c.dy?e:c.dy: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},dX: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.bl(f));var g=e.Xf[f];if(g)return d(null,g);g=e.Fw[c.toLowerCase()];if(!g)return b.error("loader for ["+c+"] not exists!"),d();c=e.M0(g.Cx?g.Cx():e.Ly,f);g.load(c,f,a,function(a,c){a?(b.log(a),e.Xf[f]=null,delete e.Xf[f],d()):(e.Xf[f]= c,d(null,c))})},M0:function(a,c){var d=this.$W,e=b.path;if(void 0!==a&&void 0===c){c=a;var f=e.bl(c),f=f?f.toLowerCase():"";a=(f=this.Fw[f])?f.Cx?f.Cx():this.Ly:this.Ly}c=b.path.join(a||"",c);if(c.match(/[\/(\\\\)]lang[\/(\\\\)]/i)){if(d[c])return d[c];e=e.bl(c)||"";c=d[c]=c.substring(0,c.length-e.length)+"_"+b.rb.language+e}return c},load:function(a,c,d){if(void 0!==d)"function"==typeof c&&(c={TG:c});else if(void 0!==c)"function"==typeof c&&(d=c,c={});else if(void 0!==a)c={};else throw"arguments error!"; c.ed=function(a,c){a&&b.log(a);d&&d(c)};a instanceof Array||(a=[a]);c.MF=this.dX;c.w1=this;b.async.map(a,c)},GK:function(a,c){var d=this.Ml,e=[],f;for(f in a){var g=a[f];d[f]=g;e.push(g)}this.load(e,c)},Dfa:function(a,c){var d=this,e=d.Fd(a);e?d.GK(e.filenames,c):d.load(a,function(a){d.GK(a[0].filenames,c)})},Lj:function(a,c){if(a&&c){if("string"==typeof a)return this.Fw[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.aL="data:image/gif;base64,R0lGODlhEAAQALMNAD8/P7+/vyoqKlVVVX9/fxUVFUBAQGBgYMDAwC8vL5CQkP///wAAAP///wAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAANACwAAA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G3dPhQHwV0S1lzBsns3sESR8Crh9WAJGjSOKuU3E+zdZQ3oJh8IArdZXFDmOTpHa3i2+YrI2KtKy4ricBsBuHHgFXSo440+Wa2qqxjvM9uMoy+WvzWpLCWWWE28HxL6e43ojgkeSCBY1Ri5BGIUDT51cl3vm276BBqSEH4WbxV0tlkyXJcxTMb+OW6uY9mGHrCzDQwwAbTp2uKuTZ9N1uYsfRRR8WPhrm419mSSjRyiqxVK7y23B/ftuTm2oSdJyzNVw3BFn7vTlbnqF9dS2fu9OVueon11lZuQ2iLdsGFD05H2dNQGV0ntG5Tz1dWm9N1b2kVq8EVwsI2UaQaQOKhmitZGLOmk68DhSFvY+gfWNSAg7z3Qvo7yKCKIohiaNR5LKxx8qpxvjcqS0VpbxvwOAcRQPZ7D0G9Y0uz2HoH1jUCpLY7zXlpbm3eKO5QuzjrBqZji3x17PvNcyT288VvDBJbMWUovS2hslW7mFQ9nsPQPrGl2ew9A+saCod/WNxtbYsrfb17WBxx5ddD2281xC88klvDcSXEnWuzrqOGGC9zRUPZ7D0G9Y0uzWHoH1jQVCLreq6ntZbaO3it1mGy7RjTs1X2mYy20ZiCq8ZOODcdEdmsPQb1jS7PYegfWNdJuLqnQiSUlRqpFLmryxtH1Ma7Qw2gNNPOdSt0oI27p007s9h6B9Y0uz2HoH1jXX3Z+I4+1b8IJdX89xLHKQFMXQUahpxoiPN5P+onfU+A0/s9h6DesaXZ7D0D6xpG7OLbUtu0StW5JJx2bBsmbtiSiEk+cxoCWWSaVpZOk2vDVo0VYdnsPQb1jSNvZcCH1jSd2c+p1XAmFqEOmOPEfaH+BQd1ueo211IzrgFUYKNAAqI1WztCpUqVCRUqVKgFSpUqAVKlSoBUqVKgFSpUqAVKlSoBUqVKgFSpUqAVKlSoD/9k\x3d";var b=b||{},ba={id:0|998*Math.random(),l1:0|998*Math.random(),GM: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)},n0:function(){return this.id++},o0:function(){return this.l1++}}; ba.GM.c6=ba; (function(){var a=/\b_super\b/,c=b.Ic.Pe[b.Ic.Yg.HZ];c&&console.log("release Mode");b.ja=function(){};b.ja.extend=function(d){function e(){this.wa=ba.o0();this.ctor&&this.ctor.apply(this,arguments)}var f=this.prototype,g=Object.create(f),h=ba.n0();ba[h]=f;var k={writable:!0,enumerable:!1,configurable:!0};g.wa=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.Nt=function(a){return a.x+a.width};b.Vga=function(a){return a.x+a.width/2}; b.Kp=function(a){return a.x};b.Ot=function(a){return a.y+a.height};b.Wga=function(a){return a.y+a.height/2};b.Lp=function(a){return a.y};b.UO=function(a,c){return c.x>=b.Kp(a)&&c.x<=b.Nt(a)&&c.y>=b.Lp(a)&&c.y<=b.Ot(a)};b.R2=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.hW=function(){return this.TB[0]};a.cY=function(a){this.TB[0]=0>a?0:a};a.$V=function(){return this.iB[0]};a.UX=function(a){this.iB[0]=0>a?0:a};a.WV=function(){return this.bB[0]};a.TX=function(a){this.bB[0]=0>a?0:a};b.f(a,"r",a.sW,a.hY);b.f(a,"g",a.hW,a.cY);b.f(a,"b",a.$V,a.UX);b.f(a,"a", a.WV,a.TX);b.Zb=function(a,d,e,f){this.Yc=e||new ArrayBuffer(b.Zb.BYTES_PER_ELEMENT);this.la=f||0;this.vm=new Float32Array(this.Yc,this.la,1);this.wm=new Float32Array(this.Yc,this.la+4,1);this.vm[0]=a||0;this.wm[0]=d||0};b.Zb.BYTES_PER_ELEMENT=8;Object.defineProperties(b.Zb.prototype,{x:{get:function(){return this.vm[0]},set:function(a){this.vm[0]=a},enumerable:!0},y:{get:function(){return this.wm[0]},set:function(a){this.wm[0]=a},enumerable:!0}});b.uc=function(a,d,e,f,g){this.Yc=f||new ArrayBuffer(b.uc.BYTES_PER_ELEMENT); this.la=g||0;f=this.Yc;g=this.la;this.vm=new Float32Array(f,g,1);this.vm[0]=a||0;this.wm=new Float32Array(f,g+Float32Array.BYTES_PER_ELEMENT,1);this.wm[0]=d||0;this.uE=new Float32Array(f,g+2*Float32Array.BYTES_PER_ELEMENT,1);this.uE[0]=e||0};b.uc.BYTES_PER_ELEMENT=12;Object.defineProperties(b.uc.prototype,{x:{get:function(){return this.vm[0]},set:function(a){this.vm[0]=a},enumerable:!0},y:{get:function(){return this.wm[0]},set:function(a){this.wm[0]=a},enumerable:!0},z:{get:function(){return this.uE[0]}, set:function(a){this.uE[0]=a},enumerable:!0}});b.dk=function(a,d,e,f){this.Yc=e||new ArrayBuffer(b.dk.BYTES_PER_ELEMENT);this.la=f||0;this.bE=new Float32Array(this.Yc,this.la,1);this.hE=new Float32Array(this.Yc,this.la+4,1);this.bE[0]=a||0;this.hE[0]=d||0};b.dk.BYTES_PER_ELEMENT=8;Object.defineProperties(b.dk.prototype,{ea:{get:function(){return this.bE[0]},set:function(a){this.bE[0]=a},enumerable:!0},fa:{get:function(){return this.hE[0]},set:function(a){this.hE[0]=a},enumerable:!0}});b.hA=function(a, d,e,f,g,h){this.Yc=g||new ArrayBuffer(b.hA.BYTES_PER_ELEMENT);this.la=h||0;g=this.Yc;h=b.Zb.BYTES_PER_ELEMENT;this.No=a?new b.Zb(a.x,a.y,g,0):new b.Zb(0,0,g,0);this.Qo=d?new b.Zb(d.x,d.y,g,h):new b.Zb(0,0,g,h);this.Hn=e?new b.Zb(e.x,e.y,g,2*h):new b.Zb(0,0,g,2*h);this.Ln=f?new b.Zb(f.x,f.y,g,3*h):new b.Zb(0,0,g,3*h)};b.hA.BYTES_PER_ELEMENT=32;b.Qu=function(a,d,e,f){this.G=a||new b.uc(0,0,0);this.N=d||new b.uc(0,0,0);this.M=e||new b.uc(0,0,0);this.K=f||new b.uc(0,0,0)};Object.defineProperties(b.hA.prototype, {M:{get:function(){return this.No},set:function(a){this.No.x=a.x;this.No.y=a.y},enumerable:!0},K:{get:function(){return this.Qo},set:function(a){this.Qo.x=a.x;this.Qo.y=a.y},enumerable:!0},G:{get:function(){return this.Hn},set:function(a){this.Hn.x=a.x;this.Hn.y=a.y},enumerable:!0},N:{get:function(){return this.Ln},set:function(a){this.Ln.x=a.x;this.Ln.y=a.y},enumerable:!0}});b.ug=function(a,d,e,f,g){this.Yc=f||new ArrayBuffer(b.ug.BYTES_PER_ELEMENT);this.la=g||0;f=this.Yc;g=this.la;var h=b.uc.BYTES_PER_ELEMENT; this.Sa=a?new b.uc(a.x,a.y,a.z,f,g):new b.uc(0,0,0,f,g);this.wr=d?b.color(d.r,d.g,d.b,d.a,f,g+h):b.color(0,0,0,0,f,g+h);this.Vf=e?new b.dk(e.ea,e.fa,f,g+h+b.yf.BYTES_PER_ELEMENT):new b.dk(0,0,f,g+h+b.yf.BYTES_PER_ELEMENT)};b.ug.BYTES_PER_ELEMENT=24;Object.defineProperties(b.ug.prototype,{i:{get:function(){return this.Sa},set:function(a){var d=this.Sa;d.x=a.x;d.y=a.y;d.z=a.z},enumerable:!0},t:{get:function(){return this.wr},set:function(a){var d=this.wr;d.r=a.r;d.g=a.g;d.b=a.b;d.a=a.a},enumerable:!0}, l:{get:function(){return this.Vf},set:function(a){this.Vf.ea=a.ea;this.Vf.fa=a.fa},enumerable:!0}});b.Cb=function(a,d,e,f,g,h){this.Yc=g||new ArrayBuffer(b.Cb.BYTES_PER_ELEMENT);this.la=h||0;g=this.Yc;h=this.la;var k=b.ug.BYTES_PER_ELEMENT;this.No=a?new b.ug(a.i,a.t,a.l,g,h):new b.ug(null,null,null,g,h);this.Hn=d?new b.ug(d.i,d.t,d.l,g,h+k):new b.ug(null,null,null,g,h+k);this.Qo=e?new b.ug(e.i,e.t,e.l,g,h+2*k):new b.ug(null,null,null,g,h+2*k);this.Ln=f?new b.ug(f.i,f.t,f.l,g,h+3*k):new b.ug(null, null,null,g,h+3*k)};b.Cb.BYTES_PER_ELEMENT=96;Object.defineProperties(b.Cb.prototype,{M:{get:function(){return this.No},set:function(a){var d=this.No;d.i=a.i;d.t=a.t;d.l=a.l},enumerable:!0},G:{get:function(){return this.Hn},set:function(a){var d=this.Hn;d.i=a.i;d.t=a.t;d.l=a.l},enumerable:!0},K:{get:function(){return this.Qo},set:function(a){var d=this.Qo;d.i=a.i;d.t=a.t;d.l=a.l},enumerable:!0},N:{get:function(){return this.Ln},set:function(a){var d=this.Ln;d.i=a.i;d.t=a.t;d.l=a.l},enumerable:!0}, lx:{get:function(){return this.Yc},enumerable:!0}});b.aJ=function(){return new b.Cb};b.$I=function(a){if(!a)return b.aJ();var d=a.M,e=a.G,f=a.K;a=a.N;return{M:{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}},G:{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}},K:{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}},N:{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.S7=function(a){if(!a)return[];for(var d=[],e=0;e>16,(a>>8)%256,a%256)};b.H9=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.Xu=0;b.Vq=1;b.Wq=2;b.ir=0;b.HU=1;b.bJ=2; b.X7=b.ja.extend({wo:null,Ms:null,aB:0,ctor:function(){this.wo={};this.Ms={};this.aB=2<<(0|10*Math.random())},SU:function(){this.aB++;return"key_"+this.aB},Lia:function(a,c){if(null!=c){var d=this.SU();this.wo[d]=c;this.Ms[d]=a}},k2:function(a){if(null==a)return null;var c=this.wo,d;for(d in c)if(c[d]===a)return this.Ms[d];return null},Bka:function(a){return this.k2(a)},Z2:function(a){if(null!=a){var c=this.wo,d;for(d in c)if(c[d]===a){delete this.Ms[d];delete c[d];break}}},lha:function(a){if(null!= a)for(var c=0;cMath.abs(a-d)&&(d=a);2>Math.abs(c-e)&&(e=c);a=O(Math.round((a-d)/2),Math.round((c-e)/2),d,e);b.A==b.Da&&b.k.translate(a.x,a.y+e);this.iD.scale=[f,g];this.iD.viewport=a;return this.iD},Wm:function(){},apply:function(){return{scale:[1,1]}},Vm:function(){}}); (function(){var a=b.Tj.extend({apply:function(a){this.ED(a,a.je.width,a.je.height)}}),c=b.Tj.extend({apply:function(a,c){var d=a.je.width,e=a.je.height,f=b.Cm.style,r=c.width,s=c.height,u=d/r,t=e/s,v,w;u>=1}return-1},NX:function(a){0>a||a>=this.AC||(a=~(1<=d.length?d.push(a):(d[this.VC]=a,this.VC=(this.VC+1)%50))},it:function(a,c,d){var e=this.lL;a=this.Ek.NE(a,c,d);c=new b.FA(a.x,a.y);c.Co(e.x,e.y);e.x=a.x;e.y=a.y;return c},pp:function(a,c,d){var e=this.HX;this.Ek.BV(a,c);c=new b.Dc(d);c.K3(a.x,a.y); c.gY(e.x,e.y);e.x=a.x;e.y=a.y;return c},qp: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}},Lx:function(a,c){for(var d=[],e=this.Ek,f,g,h=this.lL,k=a.changedTouches.length,m=0;mthis.pv&&(this.Ll-=this.pv,b.ra.dispatchEvent(new b.nR(this.cB)));this.Ll+=a}};var n=b.hO;n.Kha=function(a){this.ov!==a&&(this.ov=a,a=b.D.cl(),this.ov?(this.Ll=0,a.sG(this)):(this.Ll=0,a.gu(this)))};n.Lha=function(a){this.pv!==a&&(this.pv=a)};n.wL=function(){b.Ja(b.Ya,"keydown",function(a){b.ra.dispatchEvent(new b.rH(a.keyCode,!0));a.stopPropagation();a.preventDefault()},!1);b.Ja(b.Ya,"keyup",function(a){b.ra.dispatchEvent(new b.rH(a.keyCode,!1));a.stopPropagation();a.preventDefault()},!1)}; n.vL=function(){var a=window;this.cB=new b.rQ;this.nv=a.DeviceMotionEvent||a.DeviceOrientationEvent;b.rb.Am==b.rb.gH&&(this.nv=window.DeviceOrientationEvent);b.Ja(a,this.nv==a.DeviceMotionEvent?"devicemotion":"deviceorientation",this.UZ.bind(this),!1)}; n.UZ=function(a){var c=window;if(this.ov){var d=this.cB;if(this.nv==window.DeviceMotionEvent){var e=a.accelerationIncludingGravity;d.x=this.lJ*e.x*0.1;d.y=this.lJ*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.vU?(d.x=-d.y,d.y=a):c.orientation===b.uU?(d.x=d.y,d.y=-a):c.orientation===b.wU&&(d.x=-d.x,d.y=-d.y)}};delete n;b.E5=function(a,c,d,e,f,g){this.a=a;this.b=c;this.C=d;this.J=e;this.La=f;this.Ma=g};b.H5=function(a,c,d,e,f,g){return{a:a,b:c,C:d,J:e,La:f,Ma:g}};b.aI=function(a,c){return{x:c.a*a.x+c.C*a.y+c.La,y:c.b*a.x+c.J*a.y+c.Ma}};b.lk=function(a,c,d){return{x:d.a*a+d.C*c+d.La,y:d.b*a+d.J*c+d.Ma}};b.p7=function(a,c){return{width:c.a*a.width+c.C*a.height,height:c.b*a.width+c.J*a.height}};b.I5=function(){return{a:1,b:0,C:0,J:1,La:0,Ma:0}};b.G5=function(){return{a:1,b:0,C:0,J:1,La:0,Ma:0}}; b.iA=function(a,c){var d=b.Lp(a),e=b.Kp(a),f=b.Nt(a),g=b.Ot(a),h=b.lk(e,d,c),d=b.lk(f,d,c),e=b.lk(e,g,c),k=b.lk(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 O(f,m,g-f,h-m)}; b.QU=function(a,c){var d=b.Lp(a),e=b.Kp(a),f=b.Nt(a),g=b.Ot(a),h=b.lk(e,d,c),d=b.lk(f,d,c),e=b.lk(e,g,c),k=b.lk(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.vQ=function(a,c,d){return{a:a.a,b:a.b,C:a.C,J:a.J,La:a.La+a.a*c+a.C*d,Ma:a.Ma+a.b*c+a.J*d}};b.K5=function(a,c,d){return{a:a.a*c,b:a.b*c,C:a.C*d,J:a.J*d,La:a.La,Ma:a.Ma}}; b.J5=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.J*d,C:a.C*e-a.a*d,J:a.J*e-a.b*d,La:a.La,Ma:a.Ma}};b.sl=function(a,c){return{a:a.a*c.a+a.b*c.C,b:a.a*c.b+a.b*c.J,C:a.C*c.a+a.J*c.C,J:a.C*c.b+a.J*c.J,La:a.La*c.a+a.Ma*c.C+c.La,Ma:a.La*c.b+a.Ma*c.J+c.Ma}};b.F5=function(a,c){return a.a===c.a&&a.b===c.b&&a.C===c.C&&a.J===c.J&&a.La===c.La&&a.Ma===c.Ma}; b.aH=function(a){var c=1/(a.a*a.J-a.b*a.C);return{a:c*a.J,b:-c*a.b,C:-c*a.C,J:c*a.a,La:c*(a.C*a.Ma-a.J*a.La),Ma:c*(a.b*a.La-a.a*a.Ma)}};b.NH=parseFloat("1.192092896e-07F");b.cG=function(a){return C(-a.x,-a.y)};b.Nh=function(a,c){return C(a.x+c.x,a.y+c.y)};b.Hd=function(a,c){return C(a.x-c.x,a.y-c.y)};b.Ii=function(a,c){return C(a.x*c,a.y*c)};b.MO=function(a,c){return b.Ii(b.Nh(a,c),0.5)};b.Hp=function(a,c){return a.x*c.x+a.y*c.y};b.q2=function(a,c){return a.x*c.y-a.y*c.x};b.Dy=function(a){return C(-a.y,a.x)};b.rga=function(a){return C(a.y,-a.x)};b.qga=function(a,c){return b.Ii(c,b.Hp(a,c)/b.Hp(c,c))}; b.sga=function(a,c){return C(a.x*c.x-a.y*c.y,a.x*c.y+a.y*c.x)};b.vga=function(a,c){return C(a.x*c.x+a.y*c.y,a.y*c.x-a.x*c.y)};b.KO=function(a){return b.Hp(a,a)};b.JO=function(a,c){return b.KO(b.Hd(a,c))};b.jl=function(a){return Math.sqrt(b.KO(a))};b.mga=function(a,c){return b.jl(b.Hd(a,c))};b.Mg=function(a){return b.Ii(a,1/b.jl(a))};b.nga=function(a){return C(Math.cos(a),Math.sin(a))};b.u2=function(a){return Math.atan2(a.y,a.x)};b.Tc=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.pga=function(a,c,d,e){var f=C(0,0);return b.bG(a,c,d,e,f)?(d=C(0,0),d.x=a.x+f.x*(c.x-a.x),d.y=a.y+f.x*(c.y-a.y),d):C(0,0)};b.tga=function(a,c){return null!=a&&null!=c?a.x==c.x&&a.y==c.y:!1};b.Ey=function(a){a.x=0;a.y=0};b.Ij=function(a,c){a.x=c.x;a.y=c.y};b.Ip=function(a,c){a.x*=c;a.y*=c};b.NO=function(a,c){a.x-=c.x;a.y-=c.y};b.Cy=function(a,c){a.x+=c.x;a.y+=c.y}; b.s2=function(a){b.Ip(a,1/Math.sqrt(a.x*a.x+a.y*a.y))};b.WG=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.pE(k,!1);else break;null!=h[a.wa]&&(g[a.aj]||(g[a.aj]=[]),g[a.aj].push(a.wa));for(;eg[d].zb)g[d].T();else break;for(this.Y(a);de.zb)e.T(a);else break;for(this.Y(a);ce&&-1E-6f&&-1E-6e||d>e)return b.log(b.e.bU,c,d,e,e),!1;this.wc=!0;return this.LW(a,c,d)},sd:function(a){a&&(this.Zd=b.k.createTexture(),this.Db=a)},a0:function(){return this.Db},r1:function(){return this.wc},Nb:function(){if(b.Gw){if(!this.Db){var a= b.V.Fd(this.url);if(!a)return;this.sd(a)}this.Db.width&&this.Db.height&&(this.wc=!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.oc(b.Rq),b.te(null),a=this.Db.height, this.lj=this.O.width=this.Db.width,this.kj=this.O.height=a,this.oi=b.da.Ti,this.Hi=this.Gi=1,this.no=this.dw=!1,this.Rd())}},td:function(){b.log(b.e.gU);return null},$0:function(){b.log(b.e.$T);return!1},c1:function(){b.log(b.e.dU);return!1},d1:function(){b.log(b.e.fU);return!1},h4:function(a){var c=b.k;b.assert(this.lj==b.Zj(this.lj)&&this.kj==b.Zj(this.kj)||a.k5==c.CLAMP_TO_EDGE&&a.l5==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.Kfa);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MAG_FILTER,a.Gfa);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_S,a.k5);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_T,a.l5)},q3:function(){var a=b.k;b.te(this);this.no?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)},tG:function(){var a=b.k;b.te(this);this.no?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.Zj(this.lj)&&this.kj==b.Zj(this.kj),"Mimpap texture only works in POT textures");b.te(this);b.k.generateMipmap(b.k.TEXTURE_2D);this.no=!0},J4:function(){return b.da.PU[this.oi]},BZ:function(a){a=a||this.oi;var c=b.da.fJ[a];if(null!=c)return c;b.log(b.e.XT,a);return-1},LW:function(a,c, d){var e=b.da,f=a.getData(),g=null,g=null,h=a.bda(),k=H(a.Q0(),a.Z_()),m=e.QM,p=a.saa();h||(8<=p?m=e.Lq:(b.log(b.e.UT),m=e.Kq));var r=c*d;if(m==e.Kq)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.Mu)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.Lu)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.Jq)for(f=new Uint8Array(c*d),g=a.getData(),p=0;p>24&255;if(h&&m==e.Lq)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.pt(f,m,c,d,k);a.getData();this.dw=a.yda();return!0},$d:function(a,c){this.gb||(this.gb=[]); this.gb.push({Ah:a,Zf:c})},Y2:function(a){if(this.gb)for(var c=this.gb,d=0;dthis.yd)b.log(b.e.tI);else{var d=b.Cb.BYTES_PER_ELEMENT,e=c* d,f=(this.Na-1-c)*d;this.Fc[this.Na-1]=new b.Cb(null,null,null,null,this.ad,(this.Na-1)*d);this.Rf.set(this.Rf.subarray(e,e+f),e+d);this.Mw(a,c);this.dirty=!0}},jda:function(a,c,d){d=d||a.length;b.assert(c+d<=this.yd,b.e.mU);var e=b.Cb.BYTES_PER_ELEMENT;this.Na+=d;if(this.Na>this.yd)b.log(b.e.tI);else{var f=c*e,g=(this.Na-1-c-d)*e,h=this.Na-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}},$O:function(a){b.assert(ad){g=[];h=new ArrayBuffer(c*e);for(a=0;ad?(c=new Uint16Array(6*e),c.set(this.lb,0),this.lb=c):this.lb=this.lb.subarray(0,6*e);this.SL(); this.qw();return this.dirty=!0},WN:function(a){this.Na+=a},CO:function(a,c,d){if(void 0===d){if(d=c,c=this.Na-a,b.assert(d+(this.Na-a)<=this.yd,b.e.nU),0===c)return}else if(b.assert(d+c<=this.Na,b.e.oU),b.assert(a=c&&this.fu(this.Ks)}}); b.CH.Gy=function(a,c){var d=b;d.wt||(d.wt=new b.CH,d.wt.F());d.wt.AF(a,c);b.D.ll(d.wt);return d.wt};b.B.Kz=function(){var a=b.Od.prototype;a.yM=function(){};a.dQ=function(){};a.T=b.q.prototype.T}; b.B.VA=function(){var a=b.jd.prototype;a.Pw=null;a.LD=null;a.nE=null;a.yB=null;a.ND=null;a.MD=null;a.ctor=function(a,d,e){this.ND=new ArrayBuffer(32);this.MD=new ArrayBuffer(16);var f=this.ND,g=this.MD,h=b.Zb.BYTES_PER_ELEMENT,k=b.yf.BYTES_PER_ELEMENT;this.Pw=[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.LD=[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.nE=b.k.createBuffer();this.yB=b.k.createBuffer();b.zf.prototype.ctor.call(this); this.o=new b.Sj(b.hc,b.gc);b.jd.prototype.F.call(this,a,d,e)};a.be=function(a,d){var e=this.Pw;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.nB();b.Od.prototype.be.call(this,a,d)};a.qj=function(a){var d=this.Pw;d[1].x=a;d[3].x=a;this.nB();b.Od.prototype.qj.call(this,a)};a.pj=function(a){var d=this.Pw;d[2].y=a;d[3].y=a;this.nB();b.Od.prototype.pj.call(this,a)};a.fc=function(){for(var a=this.Ea,d=this.Ca,e=this.LD,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.sJ()};a.Y=function(a){a=a||b.k;b.yt(this);b.Jc(b.Pd|b.gv);a.bindBuffer(a.ARRAY_BUFFER,this.nE);a.vertexAttribPointer(b.sb,2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.yB);a.vertexAttribPointer(b.ze,4,a.UNSIGNED_BYTE,!0,0,0);b.Ih(this.o.src,this.o.U);a.drawArrays(a.TRIANGLE_STRIP,0,4)};a.nB=function(){var a=b.k;a.bindBuffer(a.ARRAY_BUFFER,this.nE);a.bufferData(a.ARRAY_BUFFER,this.ND,a.STATIC_DRAW)};a.sJ=function(){var a=b.k;a.bindBuffer(a.ARRAY_BUFFER, this.yB);a.bufferData(a.ARRAY_BUFFER,this.MD,a.STATIC_DRAW)}}; b.B.WA=function(){var a=b.zl.prototype;a.Y=b.jd.prototype.Y;a.fc=function(){var a=this.ok,d=b.jl(a);if(0!==d){var e=Math.sqrt(2),a=C(a.x/d,a.y/d);this.Dv&&(a=b.Ii(a,1/(Math.abs(a.x)+Math.abs(a.y))*e));var f=this.Ca/255,d=this.Ea,g=this.Ee,d={r:d.r,g:d.g,b:d.b,a:this.Go*f},f={r:g.r,g:g.g,b:g.b,a:this.Zn*f},h=this.LD,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.sJ()}}};b.B.dA=function(){var a=b.zf.prototype;b.f(a,"opacityModifyRGB",a.ue,a.Jd);b.f(a,"opacity",a.Re,a.Aa);b.f(a,"cascadeOpacity",a.rt,a.Qp);b.f(a,"color",a.Qe,a.$a);b.f(a,"cascadeColor",a.qt,a.Pp)};b.B.bA=function(){var a=b.jd.prototype;b.f(a,"width",a.fh,a.qj);b.f(a,"height",a.Dk,a.pj)};b.B.cA=function(){var a=b.zl.prototype;b.f(a,"startColor",a.Jx,a.Ye);b.f(a,"endColor",a.Ex,a.We);b.f(a,"startOpacity",a.H0,a.e4);b.f(a,"endOpacity",a.S_,a.C3);b.f(a,"vector",a.N0,a.n4)};b.Od=b.q.extend({Vl:!1,vv:null,tb:"Layer",ctor:function(){var a=b.q.prototype;a.ctor.call(this);this.dj=!0;a.ml.call(this,0.5,0.5);a.be.call(this,b.ju)},yM:null,dQ:null,nda:function(){return this.Vl},T:null});b.Od.create=function(){return new b.Od}; if(b.A===b.Da){var ca=b.Od.prototype;ca.yM=function(){if(!this.Vl){this.Vl=this.xg=!0;this.Wi=this;for(var a=this.s,c=0,d=a.length;ch.zb)h.T(g);else break;for(this.Y(g);c=this.ke.length?b.log(b.e.WR):(this.removeChild(this.ke[this.Tl],!0),this.Tl=a,this.I(this.ke[a]))},gka:function(a){a>=this.ke.length?b.log(b.e.XR):(this.removeChild(this.ke[this.Tl],!0),this.ke[this.Tl]=null,this.Tl=a,this.I(this.ke[a]))}, U8:function(a){a?this.ke.push(a):b.log(b.e.UR)}});b.Lz.create=function(){return new b.Lz(arguments)};b.B.XA=function(){var a=b.Q.prototype;a.KD=function(a){this.Ka(!0);this.hb(a.Gh(),a.ne,a.mf);this.Rd()};a.Jd=function(a){this.Qa!==a&&(this.Qa=a,this.hu())};a.Mb=function(a){b.ia.prototype.Mb.call(this,a);this.hu()};a.ctor=function(a,d,e){b.ia.prototype.ctor.call(this);this.Qk=!1;this.Eb=C(0,0);this.wh=C(0,0);this.o={src:b.hc,U:b.gc};this.ha=O(0,0,0,0);this.Ub=new b.Cb;this.Dw=b.k.createBuffer();this.na=this.Ge=!0;this.XL(a,d,e)};a.Ve=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.F=function(){if(0a.width&&b.error(b.e.kA,a.url),g>a.height&& b.error(b.e.jA,a.url));this.texture=a;this.hb(d,e);this.batchNode=null;return this.Ge=!0};a.$w=function(a){if(!this.na){this.na=!0;var d=this.ha;d?b.dD(d)&&(d.width=a.width,d.height=a.height):d=O(0,0,a.width,a.height);this.texture=a;this.hb(d,this.bd);this.batchNode=this.W;this.Ge=!0;this.Rd()}};a.hb=function(a,d,e){this.bd=d||!1;this.be(e||a);this.MG(a);this.PL(a);a=this.wh;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.W)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.G.i={x:a,y:d,z:0};g.N.i={x:e,y:d,z:0};g.M.i={x:a,y:f,z:0};g.K.i={x:e,y:f,z:0};this.Ge=!0}};a.af=function(){if(this.dirty){var a=this.Ub,d=this.Tb;if(!this.Ac||d&&d!=this.W&&d.Qk)a.N.i={x:0,y:0,z:0},a.M.i={x:0,y:0,z:0},a.K.i={x:0,y:0,z:0},a.G.i={x:0,y:0,z:0},this.Qk=!0;else{this.Qk=!1;var e=this.sm=d&&d!=this.W?b.sl(this.Ue(),d.sm):this.Ue(),f=this.ha,d=this.Eb.x,g=this.Eb.y,h=d+f.width,k=g+f.height, m=e.La,p=e.Ma,r=e.a,s=e.b,u=e.J,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.Os;b.pA||(e|=0,f|=0,v|=0,g|=0,w|=0,h|=0,m|=0,d|=0);a.G.i={x:e,y:f,z:k};a.N.i={x:v,y:g,z:k};a.M.i={x:m,y:d,z:k};a.K.i={x:w,y:h,z:k}}this.textureAtlas.hz(a,this.atlasIndex);this.dirty=this.nh=!1}this.hi&&this.wg(this.s,b.q.Df.af);b.$j&&b.De.ae([C(this.Ub.G.i.x,this.Ub.G.i.y),C(this.Ub.N.i.x,this.Ub.N.i.y),C(this.Ub.K.i.x,this.Ub.K.i.y),C(this.Ub.M.i.x,this.Ub.M.i.y)], 4,!0)};a.I=function(a,d,e){b.assert(a,b.e.uT);null==d&&(d=a.zb);null==e&&(e=a.tag);if(this.W){if(!(a instanceof b.Q)){b.log(b.e.sT);return}a.texture.Zd!==this.textureAtlas.texture.Zd&&b.log(b.e.tT);this.W.appendChild(a);this.Xd||this.BD()}b.ia.prototype.I.call(this,a,d,e);this.hi=!0};a.Aa=function(a){b.ia.prototype.Aa.call(this,a);this.hu()};a.$a=function(a){b.ia.prototype.$a.call(this,a);this.hu()};a.Pb=function(a){b.ia.prototype.Pb.call(this,a);this.hu()};a.ol=function(a){var d=this;"string"==typeof a&& (a=b.kg.Hh(a),b.assert(a,b.e.MT));d.Ka(!0);var e=a.la;d.wh.x=e.x;d.wh.y=e.y;e=a.Oa();a.na||(d.na=!1,a.$d(function(a){d.na=!0;var c=a.Oa();c!=d.L&&(d.texture=c);d.hb(a.Gh(),a.ne,a.mf);d.Rd()},d));e!=d.L&&(d.texture=e);d.bd=a.ne;d.hb(a.Gh(),d.bd,a.mf)};a.kO=function(a){return b.VO(a.Gh(),this.ha)&&a.Oa().getName()==this.L.getName()&&b.fG(a.la,this.wh)};a.nl=function(a){if(this.W=a)this.sm={a:1,b:0,C:0,J:1,La:0,Ma:0},this.textureAtlas=this.W.textureAtlas;else{this.atlasIndex=b.Q.Iz;this.textureAtlas= null;this.dirty=this.nh=!1;a=this.Eb.x;var d=this.Eb.y,e=a+this.ha.width,f=d+this.ha.height,g=this.Ub;g.G.i={x:a,y:d,z:0};g.N.i={x:e,y:d,z:0};g.M.i={x:a,y:f,z:0};g.K.i={x:e,y:f,z:0};this.Ge=!0}};a.qb=function(a){a&&"string"===typeof a?(a=b.Ba.nc(a),this.qb(a),a=a.Eh(),this.hb(O(0,0,a.width,a.height))):(b.assert(!a||a instanceof b.da,b.e.OT),this.W&&this.W.texture!=a?b.log(b.e.NT):(this.shaderProgram=a?b.Ld.oc(b.Ui):b.Ld.oc(b.Tu),this.W||this.L==a||(this.L=a,this.Wf())))};a.Y=function(){if(this.na){var a= b.k,d=this.L;d?d.wc&&(this.Hb.Mc(),this.Hb.$e(),b.Ih(this.o.src,this.o.U),b.sF(0,d),b.Jc(b.Kl),a.bindBuffer(a.ARRAY_BUFFER,this.Dw),this.Ge&&(a.bufferData(a.ARRAY_BUFFER,this.Ub.lx,a.DYNAMIC_DRAW),this.Ge=!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.$e(),b.Ih(this.o.src,this.o.U),b.te(null),b.Jc(b.Pd|b.gv),a.bindBuffer(a.ARRAY_BUFFER,this.Dw), this.Ge&&(b.k.bufferData(b.k.ARRAY_BUFFER,this.Ub.lx,b.k.STATIC_DRAW),this.Ge=!1),a.vertexAttribPointer(b.sb,3,a.FLOAT,!1,24,0),a.vertexAttribPointer(b.ze,4,a.UNSIGNED_BYTE,!0,24,12),a.drawArrays(a.TRIANGLE_STRIP,0,4));b.$f++;if(0!==b.$j||this.FD)1===b.$j||this.FD?(a=this.Ub,b.De.ae([C(a.M.i.x,a.M.i.y),C(a.G.i.x,a.G.i.y),C(a.N.i.x,a.N.i.y),C(a.K.i.x,a.K.i.y)],4,!0)):2===b.$j&&(a=this.PN(),d=this.Eb,b.De.ae([C(d.x,d.y),C(d.x+a.width,d.y),C(d.x+a.width,d.y+a.height),C(d.x,d.y+a.height)],4,!0))}};delete a};b.B.eA=function(){var a=b.Q.prototype;b.f(a,"opacityModifyRGB",a.ue,a.Jd);b.f(a,"opacity",a.Re,a.Aa);b.f(a,"color",a.Qe,a.$a);b.f(a,"flippedX",a.n1,a.Ry);b.f(a,"flippedY",a.o1,a.yG);b.f(a,"offsetX",a.pW);b.f(a,"offsetY",a.qW);b.f(a,"texture",a.Oa,a.qb);b.f(a,"textureRectRotated",a.u1);b.f(a,"batchNode",a.cF,a.nl);b.f(a,"quad",a.v0)};b.kp=function(a){function c(){var c=b.kp,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.SG.width=e;c.SG.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.XP.drawImage(a,0,0);for(var r=c.XP.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.QE=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,W:null,nh:null,hi:null,Qk:!1,sm:null,o:null,L:null,ha:null,bd:!1,Eb:null,wh:null,Qa:!1,Qb:!1,Rb:!1,na:!1,gb:null,BC:null,tb:"Sprite",au:function(){return this.na},$d:function(a,c){this.gb||(this.gb=[]);this.gb.push({Ah:a,Zf:c})},Rd:function(){if(this.gb){for(var a=this.gb,c=0,d=a.length;ca.width&&b.error(b.e.kA,a.url),e>a.height&&b.error(b.e.jA,a.url));this.texture=this.le=a;this.hb(c,d);this.batchNode=null;return!0},n.$w=function(a){if(!this.na){this.na=!0;var c=this.ha;c?b.dD(c)&&(c.width=a.width,c.height=a.height):c=O(0,0,a.width,a.height);this.texture=this.le=a;this.hb(c,this.bd);this.batchNode=this.W;this.Rd()}},n.hb=function(a,c,d){this.bd=c||!1;this.be(d||a);this.MG(a);c=this.Lo;d=b.pb();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.bq=!(0===c.width||0===c.height||0>c.x||0>c.y);a=this.wh;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.W&&(this.dirty=!0)},n.af=function(){if(this.dirty){var a=this.Tb;!this.Ac||a&&a!=this.W&&a.Qk?this.Qk=!0:(this.Qk=!1,this.sm=a&&a!=this.W?b.sl(this.Ue(),a.sm):this.Ue());this.dirty=this.nh=!1}this.hi&&this.wg(this.s,b.q.Df.af)},n.I=function(a,c,d){b.assert(a,b.e.IQ);null==c&&(c=a.zb);null==d&&(d=a.tag); b.ia.prototype.I.call(this,a,c,d);this.hi=!0},n.Aa=function(a){b.ia.prototype.Aa.call(this,a);this.rh()},n.$a=function(a){var c=this.color;if(c.r!==a.r||c.g!==a.g||c.b!==a.b)b.ia.prototype.$a.call(this,a),this.qk(),this.rh()},n.Pb=function(a){var c=this.color;b.ia.prototype.Pb.call(this,a);a=this.Ea;if(c.r!==a.r||c.g!==a.g||c.b!==a.b)this.qk(),this.rh()},n.ol=function(a){var c=this;"string"==typeof a&&(a=b.kg.Hh(a),b.assert(a,b.e.NQ));c.Ka(!0);var d=a.la;c.wh.x=d.x;c.wh.y=d.y;c.bd=a.ne;var d=a.Oa(), e=a.na;e||(c.na=!1,a.$d(function(a){c.na=!0;var d=a.Oa();d!=c.L&&(c.texture=d);c.hb(a.Gh(),a.ne,a.mf);c.Rd()},c));d!=c.L&&(c.texture=d);c.bd&&(c.le=d);c.hb(a.Gh(),c.bd,a.mf);c.Bv=!1;e&&(a=c.color,255===a.r&&255===a.g&&255===a.b||c.qk())},n.kO=function(a){return a.Oa()!=this.L?!1:b.VO(a.Gh(),this.ha)},n.nl=function(a){(this.W=a)?(this.sm={a:1,b:0,C:0,J:1,La:0,Ma:0},this.textureAtlas=this.W.textureAtlas):(this.atlasIndex=b.Q.Iz,this.textureAtlas=null,this.dirty=this.nh=!1)},n.qb=function(a){a&&"string"=== typeof a?(a=b.Ba.nc(a),this.qb(a),a=a.Eh(),this.hb(O(0,0,a.width,a.height))):(b.assert(!a||a instanceof b.da,b.e.OQ),this.L!=a&&(a&&a.Db instanceof HTMLImageElement&&(this.le=a),this.L=a))},n.Y=function(a){if(this.na){a=a||b.k;this.to&&(a.globalCompositeOperation="lighter");var c=b.view.qa,d=b.view.Ra;a.globalAlpha=this.Ca/255;var e=this.ha,f=this.O,g=this.Eb,h=this.IB,k=0|g.x,m=-g.y-e.height,p=this.Lo;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.L&&p.bq?(f=this.L.Db,this.Bv?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.L&&p.bq&&(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.$j||this.FD?(a.strokeStyle="rgba(0,255,0,1)",k/=c,m=-(m/d),b.De.ae([C(k,m),C(k+e.width,m),C(k+e.width,m-e.height),C(k,m-e.height)],4,!0)):2===b.$j&&(a.strokeStyle="rgba(0,255,0,1)",c=this.ha, m=-m,b.De.ae([C(k,m),C(k+c.width,m),C(k+c.width,m-c.height),C(k,m-c.height)],4,!0));(this.Qb||this.Rb)&&a.restore();b.$f++}},delete n):(b.assert("function"===typeof b.B.XA,b.e.Nc,"SpritesWebGL.js"),b.B.XA(),delete b.B.XA);b.assert("function"===typeof b.B.eA,b.e.Nc,"SpritesPropertyDefine.js");b.B.eA();delete b.B.eA;b.rz=29; b.ye=b.q.extend({textureAtlas:null,o:null,Ad:null,tb:"SpriteBatchNode",cZ:function(a,c,d){b.assert(a,b.e.lT);if(!(a instanceof b.Q))return b.log(b.e.kT),null;a.atlasIndex=c;var e=0,f=this.Ad;if(f&&0=c&&++e}f.splice(e,0,a);b.q.prototype.I.call(this,a,c,d);this.aP(!1);return this},oF:function(){return this.textureAtlas},IG:function(a){a!=this.textureAtlas&&(this.textureAtlas=a)},P_:function(){return this.Ad},el:function(a,c){var d=b.Ba.en(a); d||(d=b.Ba.nc(a));return this.ta(d,c)},rh:function(){this.xg=!0},F:function(a,c){var d=b.Ba.en(a);d||(d=b.Ba.nc(a));return this.ta(d,c)},Wx:function(){var a=this.textureAtlas.capacity,c=Math.floor(4*(a+1)/3);b.log(b.e.mT,a,c);this.textureAtlas.nG(c)||b.log(b.e.nT)},W2:function(a,c){this.removeChild(this.s[a],c)},TO:function(a,c){var d=a.children;if(d&&0f.zIndex&&(c=this.TO(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.xF(g)+1:d.atlasIndex+1},aP:function(a){this.Xd=a},Ve:function(a,c){this.o= void 0===c?a:{src:a,U:c}},Ch:function(){return this.o},Mp:function(a,c){b.assert(a,b.e.qT);-1===this.s.indexOf(a)?b.log(b.e.pT):c!==a.zIndex&&(b.q.prototype.Mp.call(this,a,c),this.Ka())},removeChild:function(a,c){null!=a&&(-1===this.s.indexOf(a)?b.log(b.e.oT):(this.Xm(a),b.q.prototype.removeChild.call(this,a,c)))},iX:null,Vk:null,N8:!1,le:null,ctor:null,xr:function(a,c){b.q.prototype.ctor.call(this);var d;c=c||b.rz;"string"==typeof a?(d=b.Ba.en(a))||(d=b.Ba.nc(a)):a instanceof b.da&&(d=a);d&&this.ta(d, c)},yr:function(a,c){b.q.prototype.ctor.call(this);this.iX=new b.ca;var d;c=c||b.rz;"string"==typeof a?(d=b.Ba.en(a))||(d=b.Ba.nc(a)):a instanceof b.da&&(d=a);d&&this.ta(d,c)},jQ:null,WY:function(a,c){b.assert(a,b.e.PQ);a instanceof b.Q?(a.batchNode=this,a.atlasIndex=c,a.dirty=!0,a.af()):b.log(b.e.pz)},XY:function(a,c){b.assert(a,b.e.pz);if(a instanceof b.Q){for(var d=this.textureAtlas.capacity;c>=d||d==this.textureAtlas.totalQuads;)this.Wx();a.batchNode=this;a.atlasIndex=c;a.dirty=!0;a.af()}else b.log(b.e.pz)}, Uk:function(a,c){var d=this.Ad,e=this.textureAtlas,f=e.quads,g=d[a],h=b.$I(f[a]);d[c].atlasIndex=a;d[a]=d[c];e.hz(f[c],a);d[c]=g;e.hz(h,c)},ay:null,TW:function(a,c){b.assert(a,b.e.MQ);a instanceof b.Q?(a.batchNode=this,a.atlasIndex=c,a.dirty=!0,a.af(),this.s.splice(c,0,a)):b.log(b.e.LQ)},UW:function(a,c){b.assert(a,b.e.FT);if(a instanceof b.Q){for(var d=this.textureAtlas;c>=d.capacity||d.capacity===d.totalQuads;)this.Wx();a.batchNode=this;a.atlasIndex=c;d.HF(a.quad,c);a.dirty=!0;a.af()}else b.log(b.e.ET)}, kM: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.Uk(f,c),c++;else{f=!0;0<=e[0].zIndex&&(f=a.atlasIndex,a.atlasIndex=c,a.arrivalOrder=0,f!=c&&this.Uk(f,c),c++,f=!1);for(d=0;d=d.capacity&&this.Wx();d.HF(a.quad,c);this.Ad.splice(c,0,a);var d=c+ 1,e=this.Ad;if(e&&0a.width&&b.error(b.e.kA,a.url);h>a.height&&b.error(b.e.jA,a.url)}this.Ie=c;this.ha=b.Kj(c);this.Pf.x=e.x;this.Pf.y=e.y;b.OC(e,this.la);this.Qf.width= f.width;this.Qf.height=f.height;b.WL(f,this.mf);this.ne=d;return!0}});b.Cf.create=function(a,c,d,e,f){return new b.Cf(a,c,d,e,f)};b.Cf.m8=function(a,c,d,e,f){var g=new b.Cf;g.L=a;g.Ie=c;g.ha=b.Kj(c);g.Pf.x=e.x;g.Pf.y=e.y;b.OC(g.Pf,g.la);g.Qf.width=f.width;g.Qf.height=f.height;b.WL(g.Qf,g.mf);g.ne=d;return g};b.kg={gJ:/^\s*\{\s*([\-]?\d+[.]?\d*)\s*,\s*([\-]?\d+[.]?\d*)\s*\}\s*$/,IU:/^\s*\{\s*\{\s*([\-]?\d+[.]?\d*)\s*,\s*([\-]?\d+[.]?\d*)\s*\}\s*,\s*\{\s*([\-]?\d+[.]?\d*)\s*,\s*([\-]?\d+[.]?\d*)\s*\}\s*\}\s*$/,uh:{},sj:{},io:{},uL:function(a){return(a=this.IU.exec(a))?O(parseFloat(a[1]),parseFloat(a[2]),parseFloat(a[3]),parseFloat(a[4])):O(0,0,0,0)},kL:function(a){return(a=this.gJ.exec(a))?C(parseFloat(a[1]),parseFloat(a[2])):C(0,0)},GD:function(a){return(a=this.gJ.exec(a))?H(parseFloat(a[1]),parseFloat(a[2])): H(0,0)},gW:function(a){var c=b.V.Fd(a);b.assert(c,b.e.y4,a);b.V.Ki(a);if(c.po)return this.io[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.W0=e.textureFileName||e.textureFileName||e.image);for(var h in d){var k=d[h];if(k){e={};if(0==g){e.rect=O(k.x,k.y,k.width,k.height);e.Py=!1;e.offset=C(k.offsetX,k.offsetY);var m=k.originalWidth,k=k.originalHeight;m&&k||b.log(b.e.x4);m=Math.abs(m);k=Math.abs(k);e.size=H(m,k)}else if(1==g||2==g)e.rect=this.uL(k.frame), e.Py=k.rotated||!1,e.offset=this.kL(k.offset),e.size=this.GD(k.sourceSize);else if(3==g){var m=this.GD(k.spriteSize),p=this.uL(k.textureRect);m&&(p=O(p.x,p.y,m.width,m.height));e.rect=p;e.Py=k.textureRotated||!1;e.offset=this.kL(k.spriteOffset);e.size=this.GD(k.spriteSourceSize);e.fZ=k.aliases}else m=k.frame,p=k.sourceSize,h=k.filename||h,e.rect=O(m.x,m.y,m.w,m.h),e.Py=k.rotated||!1,e.offset=C(0,0),e.size=H(p.w,p.h);c[h]=e}}return this.io[a]={po:!0,frames:c,g2:f}},jx:function(a,c){b.assert(a,b.e.A4); var d=this.io[a]||b.V.Fd(a);if(d&&d.frames){var e=this.io[a]||this.gW(a),d=e.frames,e=e.g2;c?c instanceof b.da||("string"==typeof c?c=b.Ba.nc(c):b.assert(0,b.e.B4)):c=b.Ba.nc(b.path.Yo(a,e.W0||".png"));var e=this.sj,f=this.uh,g;for(g in d){var h=d[g],k=f[g];if(!k){k=b.Cf.create(c,h.rect,h.Py,h.offset,h.size);if(h=h.fZ)for(var m=0,p=h.length;mthis.R.height?0|this.R.height/320*24:0|this.R.width/320*24;this.Ef= b.$.create("000.0","Arial",a);this.Ff=b.$.create("0.000","Arial",a);this.If=b.$.create("0000","Arial",a);a=b.sz;this.If.P(this.If.width/2+a.x,5*this.If.height/2+a.y);this.Ff.P(this.Ff.width/2+a.x,3*this.Ff.height/2+a.y);this.Ef.P(this.Ef.width/2+a.x,this.Ef.height/2+a.y)};a.NZ=function(a){var d=new b.ca;b.vH(d);var e=new b.ca;b.K1(e,d);var f=this.lh.eF(),g=new b.xb;b.wO(g,new b.xb(2*a.x/f.width-1,1-2*a.y/f.height,d.c[14]/d.c[15]),e);return C(g.x,g.y)};a.PZ=function(a){var d=new b.ca;b.vH(d);var e= new b.xb;b.wO(e,new b.xb(a.x,a.y,0),d);a=this.lh.eF();return C(a.width*(0.5*e.x+0.5),a.height*(0.5*-e.y+0.5))};a.jt=function(){return this.lh.jt()};a.rF=function(){return this.lh.rF()};a.lt=function(){return this.R.height/1.1566};a.MP=function(){var a=this.lh;if(a){var d=this.R;a.q4(-a.se.x/a.qa,-a.se.y/a.Ra,d.width,d.height)}};a.Kba=function(){return this.lh};a.aca=function(){return this.si};a.o3=function(){b.Ih(b.hc,b.gc)};a.sP=function(){this.o3();this.mP(!1);this.bn(this.si);b.k.clearColor(0, 0,0,1)}};b.$f=0;b.vH=function(a){var c=new b.ca;b.gy(b.Si,c);var d=new b.ca;b.gy(b.Ri,d);b.Fi(a,c,d)}; b.Wa=b.ja.extend({v8:!1,ds:!1,lc:!1,Cw:!1,Mk:!1,pr:0,DC:0,si:0,Dn:0,dh:1,Dr:!1,tk:0,RB:0,Ef:null,Ff:null,If:null,R:null,Gk:null,ki:null,sw:null,lh:null,vi:null,aD:null,cd:null,Ud:0,bx:0,nD:0,j8:null,Tf:null,vg:null,Uv:null,LB:null,NB:null,MB:null,ctor:function(){var a=this;a.Gk=Date.now();b.ra.vE(b.Ic.kq,function(){a.Gk=Date.now()})},F:function(){this.DC=this.pr=1/b.TZ;this.vi=[];this.si=b.Wa.IS;this.aD=null;this.RB=this.Dn=0;this.Dr=!1;this.bx=this.Ud=0;this.Gk=Date.now();this.Cw=this.lc=!1;this.R= H(0,0);this.lh=null;this.dh=1;this.Tf=new b.Sq;this.vg=b.ZG?new b.ZG:null;this.Tf.sG(this.vg,b.Sq.Nu,!1);this.LB=new b.Pi(b.Wa.jR);this.LB.setUserData(this);this.NB=new b.Pi(b.Wa.lR);this.NB.setUserData(this);this.MB=new b.Pi(b.Wa.kR);this.MB.setUserData(this);this.Uv=new b.Pi(b.Wa.mR);this.Uv.setUserData(this);return!0},DZ:function(){var a=Date.now();this.ds?(this.tk=0,this.ds=!1):this.tk=(a-this.Gk)/1E3;0b.XQ&&(this.Ff.string=this.nD.toFixed(3),this.RB=this.Ud/this.Dn,this.Dn=this.Ud=0,this.Ef.string=this.RB.toFixed(1),this.If.string=(0|b.$f).toString()),this.Ef.T(),this.Ff.T(),this.If.T()):this.Un();b.$f=0},Dda:function(){return this.Mk},hca:function(){return this.cd},qaa:function(){return this.pr},qda:function(){return this.Dr}, A3:function(a){this.Dr=a},mca:function(){return this.nD},vda:function(){return this.ds},xda:function(){return this.lc},Hca:function(){return this.bx},Hga:function(){this.G2(1)},G2:function(a){b.assert(this.cd,b.e.aR);var c=this.vi,d=c.length;if(0==d)this.end();else if(!(a>d)){for(;d>a;){var e=c.pop();e.running&&(e.bg(),e.ub());e.Oe();d--}this.ki=c[c.length-1];this.Mk=!1}},cl:function(){return this.Tf},GP:function(a){this.Tf!=a&&(this.Tf=a)},Bx:function(){return this.vg},jP:function(a){this.vg!=a&& (this.vg=a)},Laa:function(){return this.tk},Un:null,iV:function(){this.nD=(Date.now()-this.Gk)/1E3}});b.Wa.mR="director_projection_changed";b.Wa.jR="director_after_draw";b.Wa.lR="director_after_visit";b.Wa.kR="director_after_update";b.dR=b.Wa.extend({by:!1,TP:function(){this.ds=!0;this.by=!1},BO:function(){this.Cw?(this.Cw=!1,this.M2()):this.by||this.f_()},VP:function(){this.by=!0},kP:function(a){this.pr=a;this.by||(this.VP(),this.TP())}});b.Wa.NG=null;b.Wa.gN=!0; b.Wa.ZB=function(){b.Wa.gN&&(b.Wa.gN=!1,b.Wa.NG=new b.dR,b.Wa.NG.F());return b.Wa.NG};b.TZ=60;b.Wa.GS=0;b.Wa.OH=1;b.Wa.HS=3;b.Wa.IS=b.Wa.OH; b.A===b.Da?(n=b.Wa.prototype,n.bn=function(a){this.si=a;b.ra.dispatchEvent(this.Uv)},n.mP=function(){},n.BG=function(a){this.R.width=b.Ya.width;this.R.height=b.Ya.height;this.lh=a||b.view;b.ra&&b.ra.Id(!0)},n.rk=function(){var a=this.lh.se;b.k.clearRect(-a.x,a.y,a.width,-a.height)},n.Un=function(){var a=0,a=this.R.width>this.R.height?0|this.R.height/320*24:0|this.R.width/320*24;this.Ef=b.$.create("000.0","Arial",a);this.Ff=b.$.create("0.000","Arial",a);this.If=b.$.create("0000","Arial",a);a=b.sz; this.If.P(this.If.width/2+a.x,5*this.If.height/2+a.y);this.Ff.P(this.Ff.width/2+a.x,3*this.Ff.height/2+a.y);this.Ef.P(this.Ef.width/2+a.x,this.Ef.height/2+a.y)},n.jt=function(){return this.R},n.rF=function(){return C(0,0)}):(b.Wa.ho=new Image,b.Ja(b.Wa.ho,"load",function(){b.Wa.uK=!0}),b.ho&&(b.Wa.ho.src=b.ho),b.assert("function"===typeof b.B.uz,b.e.Nc,"CCDirectorWebGL.js"),b.B.uz(),delete b.B.uz);b.iq=b.ja.extend({Hr:null,Ir:null,Jr:null,Nn:null,On:null,Pn:null,Hs:null,Is:null,Js:null,jb:null,pw:null,ctor:function(){this.pw=new b.ca;this.restore()},description:function(){return"\x3cCCCamera | center \x3d("+this.Nn+","+this.On+","+this.Pn+")\x3e"},nP:function(a){this.jb=a},IF:function(){return this.jb},restore:function(){this.Hr=this.Ir=0;this.Jr=b.iq.lt();this.Hs=this.Nn=this.On=this.Pn=0;this.Is=1;this.Js=0;b.Rm(this.pw);this.jb=!1},xt:function(){if(this.jb){var a=new b.xb,c=new b.xb,d=new b.xb; b.yp(a,this.Hr,this.Ir,this.Jr);b.yp(c,this.Nn,this.On,this.Pn);b.yp(d,this.Hs,this.Is,this.Js);b.mO(this.pw,a,c,d);this.jb=!1}b.wp(this.pw)},kia:function(a,c,d){this.rP(a,c,d)},rP:function(a,c,d){this.Hr=a;this.Ir=c;this.Jr=d;this.jb=!0},Uha:function(a,c,d){this.t3(a,c,d)},t3:function(a,c,d){this.Nn=a;this.On=c;this.Pn=d;this.jb=!0},Kja:function(a,c,d){this.m4(a,c,d)},m4:function(a,c,d){this.Hs=a;this.Is=c;this.Js=d;this.jb=!0},aba:function(){return{x:this.Hr,y:this.Ir,z:this.Jr}},sN:function(){return{x:this.Hr, y:this.Ir,z:this.Jr}},yaa:function(){return{x:this.Nn,y:this.On,z:this.Pn}},nN:function(){return{x:this.Nn,y:this.On,z:this.Pn}},Mca:function(){return{x:this.Hs,y:this.Is,z:this.Js}},L0:function(){return{x:this.Hs,y:this.Is,z:this.Js}},W7:function(){}});b.iq.lt=function(){return b.Hu};b.g7=b.Nu+1;b.Uo=function(a,c){if(a&&0=this.ej&&(c&&d&&this.HB(),this.kb=0):(this.ix?this.kb>=this.Jv&&(c&&d&&this.HB(),this.kb-=this.Jv,this.Mo+=1,this.ix=!1):this.kb>=this.ej&&(c&&d&&this.HB(),this.kb=0,this.Mo+=1),this.Mo>this.fD&&b.D.cl().fQ(c,d))}}}); b.Sq=b.ja.extend({Fs:1,tm:null,cj:null,tv:null,bj:null,b8:null,Pc:null,ei:!1,cx:!1,ctor:function(){this.Fs=1;this.tm=[[],[],[]];this.cj={};this.tv=[];this.bj={};this.qr=[];this.Pc=null;this.cx=this.ei=!1},eD:function(a){delete this.bj[a.target.wa];b.Ne(this.qr,a);a.uI=null;a.target=null},zL:function(a){if(a=this.cj[a.target.wa])b.Ne(a.list,a.Im),delete this.cj[a.target.wa],b.Ne(this.tv,a),a.Im=null,a.target=null},oL:function(a,c,d,e){e=new b.BH(c,d,e);if(a){for(var f=a.length-1,g=0;g<=f&&!(dc?e[0]=this.oL(e[0],a,c,d):e[2]=this.oL(e[2],a,c,d)}},fQ:function(a,c){if(null!=a&&null!=c){var d=this.bj[a.wa];if(d)for(var e=d.Mi,f=0,g=e.length;f=f&&d.Yp--;0==e.length&&(this.Pc==d?this.ei= !0:this.eD(d));break}}}},gu:function(a){null!=a&&(a=this.cj[a.wa],null!=a&&(this.cx?a.Im.uy=!0:this.zL(a.Im)))},eQ:function(a){if(null!=a){var c=this.bj[a.wa];if(c){var d=c.Mi;!c.at&&0<=d.indexOf(c.$s)&&(c.at=!0);d.length=0;this.Pc==c?this.ei=!0:this.eD(c)}this.gu(a)}},fz:function(){this.X4(b.Sq.Nu)},X4:function(a){for(var c=this.qr,d=this.tm,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.qa,h=b.view.Ra;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.bs(s),fc.x||0>c.y);a=this.wh;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.W&&(this.dirty=!0)},n=null):(b.assert("function"===typeof b.B.UA,b.e.Nc,"LabelTTFWebGL.js"),b.B.UA(),delete b.B.UA);b.assert("function"===typeof b.B.aA,b.e.Nc,"LabelTTFPropertyDefine.js");b.B.aA();delete b.B.aA;b.$.LY=["left","center","right"];b.$.MY=["top","middle","bottom"];b.$.oV=/(.+?)([\s\n\r\-\/\\\:]|[\u4E00-\u9FA5]|[\uFE30-\uFFA0])/;b.$.PX=/(.*)([\s\n\r\-\/\\\:]|[\u4E00-\u9FA5]|[\uFE30-\uFFA0])/;b.$.lV=/[\s\-\/\\\:]/;b.$.SV=/^(\d+)px\s+['"]?([\w\s\d]+)['"]?$/; b.$.create=function(a,c,d,e,f,g){return new b.$(a,c,d,e,f,g)};b.$.RU=b.GU?b.Ui:b.mA;b.$.mk=b.Ob("div");b.$.mk.style.fontFamily="Arial";b.$.mk.style.position="absolute";b.$.mk.style.left="-100px";b.$.mk.style.top="-100px";b.$.mk.style.lineHeight="normal";document.body?document.body.appendChild(b.$.mk):b.Ja(window,"load",function(){this.removeEventListener("load",arguments.callee,!1);document.body.appendChild(b.$.mk)},!1); b.$.kr=function(a,c){var d=b.$.hJ[a+"."+c];if(0=a&&c.xm--;0==c.Bc.length&&(this.Pc==c?this.ei=!0:this.BB(c))},BB:function(a){a&&(delete this.hh[a.target.wa],b.Ne(this.Fn,a),a.Bc=null,a.target=null)},UU:function(a){null==a.Bc&&(a.Bc=[])},update:function(a){for(var c=this.Fn,d,e=0;ec?a:c};b.Oda=function(a,c){return a+b.za>c&&a-b.zac.x-b.za&&a.yc.y-b.za};b.xb=function(a,c,d){this.x=a||0;this.y=c||0;this.z=d||0};b.yp=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.uO=function(a){return Math.sqrt(b.Kc(a.x)+b.Kc(a.y)+b.Kc(a.z))};b.vO=function(a){return b.Kc(a.x)+b.Kc(a.y)+b.Kc(a.z)};b.xf=function(a,c){var d=1/b.uO(c);a.x=c.x*d;a.y=c.y*d;a.z=c.z*d};b.hl=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.RF=function(a,c){return a.x*c.x+a.y*c.y+a.z*c.z}; b.tO=function(a,c,d){a.x=c.x+d.x;a.y=c.y+d.y;a.z=c.z+d.z};b.TF=function(a,c,d){a.x=c.x-d.x;a.y=c.y-d.y;a.z=c.z-d.z};b.lfa=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.mfa=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.wO=function(a,c,d){var e=new b.xO,f=new b.xO;b.W1(f,c.x,c.y,c.z);b.yO(e,f,d);a.x=e.x/e.H;a.y=e.y/e.H;a.z=e.z/e.H};b.SF=function(a,c,d){a.x=c.x*d;a.y=c.y*d;a.z=c.z*d;return a};b.hfa=function(a,c){return a.xc.x-b.za&&a.yc.y-b.za&&a.zc.z-b.za?1:0};b.ifa=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.jfa=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.ut=function(a,c){a!=c&&(a.x=c.x,a.y=c.y,a.z=c.z)};b.nfa=function(a){a.x=0;a.y=0;a.z=0;return a};b.kfa=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.xO=function(){this.H=this.z=this.y=this.x=0};b.W1=function(a,c,d,e){a.x=c;a.y=d;a.z=e;a.H=1};b.ofa=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.rfa=function(a,c){return a.x*c.x+a.y*c.y+a.z*c.z+a.H*c.H};b.X1=function(a){return Math.sqrt(b.Kc(a.x)+b.Kc(a.y)+b.Kc(a.z)+b.Kc(a.H))};b.sfa=function(a){return b.Kc(a.x)+b.Kc(a.y)+b.Kc(a.z)+b.Kc(a.H)};b.tfa=function(a){return a};b.Y1=function(a,c){var d=1/b.X1(c);a.x*=d;a.y*=d;a.z*=d;a.H*=d}; b.ufa=function(a,c,d){b.Y1(a,c);a.x*=d;a.y*=d;a.z*=d;a.H*=d;return a};b.vfa=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.yO=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.xfa=function(a,c,d,e,f,g){for(var h=0;hc.x-b.za&&a.yc.y-b.za&&a.zc.z-b.za&&a.Hc.H-b.za};b.qfa=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.wfa=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.Vea=function(a){this.start=a||new b.Kh;this.start=a||new b.Kh};b.Wea=function(a,c,d,e,f){a.start.x=c;a.start.y=d;a.dir.x=e;a.dir.y=f}; b.QF=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.za&&sb.iy(c.x,d.x)+b.za||mb.iy(c.y,d.y)+b.za||kb.iy(f,h)+b.za||mb.iy(g,a)+b.za)return b.un;e.x=k;e.y=m;return b.vn}; b.DE=function(a,c,d){var e=new b.Kh;b.my(e,c,a);d.x=-e.y;d.y=e.x;b.V1(d,d)};b.Yea=function(a,c,d,e,f,g){var h=new b.Kh,k=new b.Kh,m=new b.Kh,p=1E4,r=b.un,s;b.QF(a,c,d,h)&&(s=new b.Kh,r=b.vn,s=b.ly(b.my(s,h,a.start)),sd;d++)a.c[d]=c;return a};b.H1=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.lO=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.Zda=function(a,c,d){var e=new b.hy;if(0===c)return null;c=1/c;b.H1(e,d);b.I1(a,e,c);return a};b.hy.gC=new Float32Array([1,0,0,0,1,0,0,0,1]);b.$da=function(a){for(var c=0;9>c;c++)if(b.hy.gC[c]!==a.c[c])return!1;return!0};b.kea=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.Xda=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.aea=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.I1=function(a,c,d){for(var e=0;9>e;e++)a.c[e]=c.c[e]*d}; b.cea=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.Wda=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.Vda=function(a,c){if(a==c)return!0;for(var d=0;9>d;++d)if(!(a.c[d]+b.za>c.c[d]&&a.c[d]-b.zad;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.Lf(a,g,h))>=k&&(k=Math.abs(b.ca.Lf(a,g,h)),f=g,e=h);++r[e];if(f!=e){for(g=0;4>g;g++)b.ca.Uk(a,f,g,e,g);for(g=0;4>g;g++)b.ca.Uk(c,f,g,e,g)}p[d]=f;m[d]=e;if(0==b.ca.Lf(a,e,e))return b.un;h=1/b.ca.Lf(a,e,e);b.ca.Nk(a,e,e,1);for(g=0;4>g;g++)b.ca.Nk(a,e,g,b.ca.Lf(a,e,g)*h);for(g=0;4>g;g++)b.ca.Nk(c,e,g,b.ca.Lf(c,e,g)*h);for(h=0;4>h;h++)if(h!= e){k=b.ca.Lf(a,h,e);b.ca.Nk(a,h,e,0);for(g=0;4>g;g++)b.ca.Nk(a,h,g,b.ca.Lf(a,h,g)-b.ca.Lf(a,e,g)*k);for(g=0;4>g;g++)b.ca.Nk(c,h,g,b.ca.Lf(a,h,g)-b.ca.Lf(c,e,g)*k)}}for(g=3;0<=g;g--)if(p[g]!=m[g])for(h=0;4>h;h++)b.ca.Uk(a,h,p[g],h,m[g]);return b.vn};b.ca.gC=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);b.K1=function(a,c){var d=new b.ca,e=new b.ca;b.Ej(d,c);b.Rm(e);b.ca.UV(d,e)!=b.un&&b.Ej(a,d)};b.rea=function(a){for(var c=0;16>c;c++)if(b.ca.gC[c]!=a.c[c])return!1;return!0}; b.zea=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.Fi=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],J=d.c[1],E=d.c[2],z=d.c[3],D=d.c[4],x=d.c[5],F=d.c[6],L=d.c[7],M=d.c[8],K=d.c[9],P=d.c[10],T=d.c[11],S=d.c[12],W=d.c[13],N=d.c[14];d=d.c[15];a[0]=G*e+J*k+E*s+z*w;a[1]=G*f+J*m+E*u+z*y;a[2]=G*g+J*p+E*t+z*B;a[3]=G*h+J*r+E*v+z*c;a[4]=D*e+x*k+F*s+L*w;a[5]=D*f+x*m+F*u+L*y;a[6]=D*g+x*p+F*t+L*B;a[7]=D*h+x*r+F*v+L* c;a[8]=M*e+K*k+P*s+T*w;a[9]=M*f+K*m+P*u+T*y;a[10]=M*g+K*p+P*t+T*B;a[11]=M*h+K*r+P*v+T*c;a[12]=S*e+W*k+N*s+d*w;a[13]=S*f+W*m+N*u+d*y;a[14]=S*g+W*p+N*t+d*B;a[15]=S*h+W*r+N*v+d*c}; b.j0=function(){var a=b.kl.top.c,c=b.Hj.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.zba=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.Ej=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.lea=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.za>c.c[d]&&a.c[d]-b.zad?b.DS:b.FS};function da(){this.H=this.z=this.y=this.x=0}b.R1=function(a,c){a.x=-c.x;a.y=-c.y;a.z=-c.z;a.H=c.H;return a};b.S1=function(a,c){return a.H*c.H+a.x*c.x+a.y*c.y+a.z*c.z};b.Lea=function(a){return a};b.T1=function(a){a.x=0;a.y=0;a.z=0;a.H=1};b.Mea=function(a,c){var d=b.oO(c),e=new da;if(Math.abs(d)>b.za)return a.x=0,a.y=0,a.z=0,a.H=0,a;b.ky(a,b.R1(e,c),1/d);return a};b.Nea=function(a){return 0==a.x&&0==a.y&&0==a.z&&1==a.H};b.oO=function(a){return Math.sqrt(b.U1(a))}; b.U1=function(a){return a.x*a.x+a.y*a.y+a.z*a.z+a.H*a.H};b.Oea=function(a){return a};b.Pea=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.pO=function(a,c){var d=b.oO(c);if(Math.abs(d)<=b.za)throw"cc.kmQuaternionNormalize(): pIn is an invalid value";b.ky(a,c,1/d)};b.qO=function(a,c){var d=0.5*b.PF,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.rO=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.za?(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.Sea=function(a,c,d,e){var f,g,h,k,m;f=b.tt(d)/2;g=b.tt(c)/2;h=b.tt(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.pO(a,a);return a}; b.Tea=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.S1(c,d),g=Math.acos(f),f=Math.sqrt(1-b.Kc(f)),h=Math.sin(e*g)/f,k=new da,m=new da;b.ky(k,c,Math.sin((1-e)*g)/f);b.ky(m,d,h);b.Q1(a,k,m);return a};b.sO=function(a,c){var d;d=Math.sqrt(b.Kc(a.x)+b.Kc(a.y)+b.Kc(a.z));d>-b.za&&d2*b.PF-b.za?(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.xf(c,c))};b.ky=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.Kea=function(a,c){a.x=c.x;a.y=c.y;a.z=c.z;a.H=c.H;return a};b.Q1=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.Rea=function(a,c,d,e){var f=new b.xb,g=new b.xb;b.ut(f,c);b.ut(g,d);b.xf(f,f);b.xf(g,g);d=b.RF(f,g);if(1<=d)return b.T1(a),a;-0.999999>d?Math.abs(b.vO(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.vn:b.un};b.Lda=function(a,c){b.ut(a.min,c.min);b.ut(a.max,c.max);return a};b.Nda=function(){b.log("cc.kmAABBScale hasn't been supported.")};b.ny=function(a,c,d,e){this.top=d;this.stack=e};b.ny.B6=30;b.UF=function(a){a.stack=[];a.top=null};b.oy=function(a,c){a.stack.push(a.top);a.top=new b.ca;b.Ej(a.top,c)};b.yfa=function(a){a.top=a.stack.pop()};b.VF=function(a){a.stack=null;a.top=null};b.Ri=5888;b.Si=5889;b.yH=5890;b.Hj=new b.ny;b.kl=new b.ny;b.bu=new b.ny;b.Vb=null;b.FF=!1;b.a2=function(){if(!b.FF){var a=new b.ca;b.UF(b.Hj);b.UF(b.kl);b.UF(b.bu);b.Vb=b.Hj;b.FF=!0;b.Rm(a);b.oy(b.Hj,a);b.oy(b.kl,a);b.oy(b.bu,a)}};b.a2();b.G1=function(){b.VF(b.Hj);b.VF(b.kl);b.VF(b.bu);b.FF=!1;b.Vb=null};b.Qm=function(){b.oy(b.Vb,b.Vb.top)};b.Sda=function(a){b.Vb.stack.push(b.Vb.top);b.Ej(a,b.Vb.top);b.Vb.top=a};b.Pm=function(){b.Vb.top=b.Vb.stack.pop()}; b.Ei=function(a){switch(a){case b.Ri:b.Vb=b.Hj;break;case b.Si:b.Vb=b.kl;break;case b.yH:b.Vb=b.bu;break;default:throw"Invalid matrix mode specified";}};b.vp=function(){b.Rm(b.Vb.top)};b.Rda=function(a){b.Ej(b.Vb.top,a)};b.wp=function(a){b.Fi(b.Vb.top,b.Vb.top,a)};b.xp=function(a,c){var d=new b.ca;b.nO(d,a,c,0);b.Fi(b.Vb.top,b.Vb.top,d)};b.Tda=function(a,c,d,e){c=new b.xb(c,d,e);d=new b.ca;b.M1(d,c,b.tt(a));b.Fi(b.Vb.top,b.Vb.top,d)}; b.Uda=function(a,c,d){var e=new b.ca;b.N1(e,a,c,d);b.Fi(b.Vb.top,b.Vb.top,e)};b.gy=function(a,c){switch(a){case b.Ri:b.Ej(c,b.Hj.top);break;case b.Si:b.Ej(c,b.kl.top);break;case b.yH:b.Ej(c,b.bu.top);break;default:throw"Invalid matrix mode specified";}};b.$S="precision lowp float;\nvarying vec4 v_fragmentColor;\nvoid main() \n{ \n gl_FragColor \x3d v_fragmentColor; \n}\n";b.aT="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.OS="precision lowp float; \nvarying vec4 v_fragmentColor; \nvoid main() \n{ \n gl_FragColor \x3d v_fragmentColor; \n} "; b.RS="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.PS="// #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.QS="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.WS="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.ZS="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.XS="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.YS="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.SS="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.TS="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.VS="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.hI="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.US="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.l7="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={xA:0,yA:1,vA:2,wA:3,AA:4,zA:5,BA:6,sI:7,I7:8,md:{},Sr:function(){this.c2();return!0},Fe:function(a,c){switch(c){case this.xA:a.Di(b.hI,b.VS);a.rd(b.rl,b.sb);a.rd(b.dq,b.ze);a.rd(b.kn,b.xd);break;case this.yA:a.Di(b.hI,b.US);a.rd(b.rl,b.sb);a.rd(b.dq,b.ze);a.rd(b.kn,b.xd);break;case this.vA:a.Di(b.RS,b.OS);a.rd(b.rl,b.sb);a.rd(b.dq,b.ze);break;case this.wA:a.Di(b.ZS,b.WS);a.rd(b.rl,b.sb);a.rd(b.kn,b.xd);break;case this.AA:a.Di(b.YS,b.XS);a.rd(b.rl,b.sb);a.rd(b.kn,b.xd);break;case this.zA:a.Di(b.TS, b.SS);a.rd(b.rl,b.sb);a.rd(b.dq,b.ze);a.rd(b.kn,b.xd);break;case this.BA:a.Di(b.aT,b.$S);a.rd("aVertex",b.sb);break;case this.sI:a.Di(b.QS,b.PS);a.rd(b.rl,b.sb);a.rd(b.kn,b.xd);a.rd(b.dq,b.ze);break;default:b.log("cocos2d: cc.shaderCache._loadDefaultShader, error shader type");return}a.link();a.e5()},c2:function(){var a=new b.Uh;this.Fe(a,this.xA);this.md[b.Ui]=a;this.md.ShaderPositionTextureColor=a;a=new b.Uh;this.Fe(a,this.yA);this.md[b.Uu]=a;this.md.ShaderPositionTextureColorAlphaTest=a;a=new b.Uh; this.Fe(a,this.vA);this.md[b.Tu]=a;this.md.ShaderPositionColor=a;a=new b.Uh;this.Fe(a,this.wA);this.md[b.Rq]=a;this.md.ShaderPositionTexture=a;a=new b.Uh;this.Fe(a,this.AA);this.md[b.nA]=a;this.md.ShaderPositionTextureUColor=a;a=new b.Uh;this.Fe(a,this.zA);this.md[b.mA]=a;this.md.ShaderPositionTextureA8Color=a;a=new b.Uh;this.Fe(a,this.BA);this.md[b.oA]=a;this.md.ShaderPositionUColor=a;a=new b.Uh;this.Fe(a,this.sI);this.md[b.gI]=a;this.md.ShaderPositionLengthTextureColor=a},aha:function(){var a=this.oc(b.Ui); a.reset();this.Fe(a,this.xA);a=this.oc(b.Uu);a.reset();this.Fe(a,this.yA);a=this.oc(b.Tu);a.reset();this.Fe(a,this.vA);a=this.oc(b.Rq);a.reset();this.Fe(a,this.wA);a=this.oc(b.nA);a.reset();this.Fe(a,this.AA);a=this.oc(b.mA);a.reset();this.Fe(a,this.zA);a=this.oc(b.oA);a.reset();this.Fe(a,this.BA)},oc:function(a){return this.md[a]},Nm:function(a){return this.md[a]},X8:function(a,c){this.md[c]=a}};b.zR=function(){this.location=this.value=void 0;this.Qx={}}; b.Uh=b.ja.extend({ga:null,Gb:null,qf:null,Ag:null,Ab:null,gh:null,nM:!1,Le:function(a,c){if(null==a)return!1;for(var d=!0,e=null,f=0;farguments.length))switch(arguments.length){case 2:this.Vt(arguments[0],arguments[1]);break;case 3:this.k4(arguments[0],arguments[1],arguments[2]);break;case 4:this.l4(arguments[0],arguments[1],arguments[2],arguments[3]);break;case 5:this.Wt(arguments[0],arguments[1],arguments[2], arguments[3],arguments[4])}},Xt:function(){var a=new b.ca,c=new b.ca,d=new b.ca;b.gy(b.Si,a);b.gy(b.Ri,c);b.Fi(d,a,c);this.LG(this.Ab[b.LA],a.c,1);this.LG(this.Ab[b.KA],c.c,1);this.LG(this.Ab[b.hr],d.c,1);this.nM&&(a=b.D,a=a.bx*a.pr,this.Wt(this.Ab[b.PA],a/10,a,2*a,4*a),this.Wt(this.Ab[b.OA],a/8,a/4,a/2,Math.sin(a)),this.Wt(this.Ab[b.JA],a/8,a/4,a/2,Math.cos(a)));-1!=this.Ab[b.MA]&&this.Wt(this.Ab[b.MA],Math.random(),Math.random(),Math.random(),Math.random())},xja:function(){this.ga.uniformMatrix4fv(this.Ab[b.hr], !1,b.j0())},yja:function(a){b.Fi(a,b.kl.top,b.Hj.top);this.ga.uniformMatrix4fv(this.Ab[b.hr],!1,a.c)},$e:function(){this.ga.uniformMatrix4fv(this.Ab[b.KA],!1,b.Hj.top.c);this.ga.uniformMatrix4fv(this.Ab[b.LA],!1,b.kl.top.c)},i5:function(){return this.ga.getShaderInfoLog(this.qf)},Qca:function(){return this.ga.getShaderInfoLog(this.qf)},eba:function(){return this.ga.getShaderInfoLog(this.qf)},D_:function(){return this.ga.getShaderInfoLog(this.Ag)},Jga:function(){return this.ga.getProgramInfoLog(this.Gb)}, $ba:function(){return this.ga.getProgramInfoLog(this.Gb)},reset:function(){this.Ag=this.qf=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.xn=b.q.extend({sprite:null,rx:0,IE:0,Vs:!1,de:null,Be:null,Wv:0,Br:0,mi:0,L:null,Es:null,PY:null,oi:b.da.Ti,Yi:null,JE:0,xB:null,tb:"RenderTexture",ctor:null,xr:function(a,c,d,e){b.q.prototype.ctor.call(this);this.Yi=b.color(255,255,255,255);this.xB="rgba(255,255,255,1)";this.de=b.Ob("canvas");this.Be=this.de.getContext("2d");this.anchorY=this.anchorX=0;void 0!==a&&void 0!==c&&(d=d||b.da.Ti,this.$x(a,c,d,e||0))},yr: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.Ti,this.$x(a,c,d,e||0))},Oe:null,qV:function(){b.q.prototype.ub.call(this);this.de=this.Be=null},rV:function(){b.q.prototype.ub.call(this);this.Es=null;var a=b.k;a.deleteFramebuffer(this.Wv);this.Br&&a.deleteRenderbuffer(this.Br);this.PY=null},JN:function(){return this.sprite},Zy:function(a){this.sprite=a},$x:null,PW:function(a,c){var d=this.de,e=b.pb();d.width=0|a*e;d.height=0|c*e;this.Be.translate(0,d.height);e=new b.da;e.sd(d);e.Nb();this.sprite=b.Q.create(e);return!0}, QW:function(a,c,d,e){d==b.da.Jq&&b.log("cc.RenderTexture._initWithWidthAndHeightForWebGL() : only RGB and RGBA formats are valid for a render texture;");var f=b.k,g=b.pb();a=0|a*g;c=0|c*g;this.mi=f.getParameter(f.FRAMEBUFFER_BINDING);var h;b.ap.Zw?(g=a,h=c):(g=b.Zj(a),h=b.Zj(c));for(var k=new Uint8Array(g*h*4),m=0;md.yd&&b.log("cc.LabelAtlas._updateAtlasValues(): Invalid String length");for(var k=d.quads,m=this.Ea,m={r:m.r,g:m.g,b:m.b,a:this.Ca},p=this.ii,r=0;ra&&d.WN(c-a))},Cc:null,uY:function(a){a=String(a);var c=a.length;this.Ib=a;this.width=c*this.ii;this.height=this.jh; if(this.s){a=this.s;for(var c=a.length,d=0;dthis.textureAtlas.totalQuads&&this.textureAtlas.nG(c);this.Ib=a;this.width=c*this.ii;this.height=this.jh;this.$p();this.quadsToDraw=c},Aa:null,xD:function(a){if(this.Ca!==a){b.Oi.prototype.Aa.call(this,a);for(var c=this.s,d=0,e=c.length;d=a)break;var v=this.Ib[f];h||(m=this.aC(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.aC(r),h=!0);k||(k=m,g=!0);f++}else if(b.LF(v))d.push(v),c=c.concat(d),d.length=0,h=!1,m=-1,f++;else if(this.mW(r)-k>this.Qs)if(this.VK){b.kQ(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.aC(r),h=!0);k||(k=m,g=!0);s--}else d.push(v),-1!=c.lastIndexOf(" ")?b.kQ(c):c=[],0r)&&(s=this.Dh(r),null!=s)){s=s.Se()+s.fh()/2;h=0;switch(this.nr){case b.Vq:h=this.width/2-s/2;break;case b.Wq:h=this.width-s}if(0!=h)for(s=0;sr||!(r=this.Dh(r)))||(r.x+= h);f+=g;c++;d.length=0}}else d.push(this.Ib[f])},n3:function(a){this.nr=a;this.mg()},XV:function(){return this.nr},s3:function(a){this.Qs=a;this.mg()},XB:function(){return this.Qs},Cia:function(a){this.VK=a;this.mg()},dn:function(a,c){b.q.prototype.dn.call(this,a,c);this.mg()},St:function(a){b.q.prototype.St.call(this,a);this.mg()},Tt:function(a){b.q.prototype.Tt.call(this,a);this.mg()},mia:function(a){if(null!=a&&a!=this.Zv){var c=b.V.Fd(a);c?(this.Zv=a,this.Gf=c,a=b.Ba.nc(c.uM),this.na=c=a.wc,this.texture= a,b.A===b.Da&&(this.le=this.texture),c?this.xx():a.$d(function(a){this.na=!0;this.texture=a;this.xx();this.qk();this.mg();this.Rd()},this)):b.log("cc.LabelBMFont.setFntFile() : Impossible to create font. Please check file")}},cba:function(){return this.Zv},ml:function(a,c){b.q.prototype.ml.call(this,a,c);this.mg()},LL:function(a){b.q.prototype.LL.call(this,a);this.mg()},pD:function(a){b.q.prototype.pD.call(this,a);this.mg()},qD:function(a){b.q.prototype.qD.call(this,a);this.mg()},c8:function(){}, u8:function(a,c){var d=0;if(this.AV.B1){var e=this.AV.B1[(a<<16|c&65535).toString()];e&&(d=e.h9)}return d},aC:function(a){return a.Se()*this.qa-a.fh()*this.qa*a.Oc.x},mW:function(a){return a.Se()*this.qa+a.fh()*this.qa*a.Oc.x}});n=b.Vj.prototype;b.f(n,"opacityModifyRGB",n.ue,n.Jd);b.f(n,"opacity",n.Re,n.Aa);b.f(n,"cascadeOpacity",n.rt,n.Qp);b.f(n,"color",n.Qe,n.$a);b.f(n,"cascadeColor",n.qt,n.Pp);b.f(n,"string",n.dl,n.vY);b.f(n,"boundingWidth",n.XB,n.s3);b.f(n,"textAlign",n.XV,n.n3); b.Vj.create=function(a,c,d,e,f){return new b.Vj(a,c,d,e,f)};b.LF=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.kQ=function(a){var c=a.length;if(!(0>=c)&&(c-=1,b.LF(a[c]))){for(var d=c-1;0<=d;--d)if(b.LF(a[d]))c=d;else break;b.g5(a,c)}};b.g5=function(a,c){var d=a.length;c>=d||0>c||a.splice(c,d)}; b.QV={BR:/info [^\n]*(\n|$)/gi,RQ:/common [^\n]*(\n|$)/gi,AS:/page [^\n]*(\n|$)/gi,QQ:/char [^\n]*(\n|$)/gi,IR:/kerning [^\n]*(\n|$)/gi,DR:/\w+=[^ \r\n]+/gi,CR:/^[\-]?\d+$/,hs:function(a){a=a.match(this.DR);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.hs(a.match(this.AS)[0]);0!==e.id&&b.log("cc.LabelBMFont._parseImageFileName() : file could not be found");d.uM=b.path.Yo(c,e.file);for(var g=a.match(this.QQ),h=d.C_={},e=0,f=g.length;e=this.Hk||!this.texture||!this.texture.wc||(a=a||b.k,b.yt(this),b.Jc(b.Kl),b.Ih(this.o.src, this.o.U),b.te(this.texture),a.bindBuffer(a.ARRAY_BUFFER,this.dd),a.bufferData(a.ARRAY_BUFFER,this.Sa,a.DYNAMIC_DRAW),a.vertexAttribPointer(b.sb,2,a.FLOAT,!1,0,0),a.bindBuffer(a.ARRAY_BUFFER,this.Io),a.bufferData(a.ARRAY_BUFFER,this.Vf,a.DYNAMIC_DRAW),a.vertexAttribPointer(b.xd,2,a.FLOAT,!1,0,0),a.bindBuffer(a.ARRAY_BUFFER,this.Sn),a.bufferData(a.ARRAY_BUFFER,this.Rn,a.DYNAMIC_DRAW),a.vertexAttribPointer(b.ze,4,a.UNSIGNED_BYTE,!0,0,0),a.drawArrays(a.TRIANGLE_STRIP,0,2*this.Hk),b.$f++)},update:function(a){if(this.Li){a*= this.PB;var c,d,e,f,g=0,h=this.Hk,k=this.RC,m=this.SC,p=this.Sa,r=this.Rn;for(e=0;e=k[e]?g++:(c=e-g,0=this.yC?e=!1:0this.Mn){var d=b.Yb.BYTES_PER_ELEMENT;this.Mn+=Math.max(this.Mn,a);if(null==c||0===c.length)this.cb=[],this.yj=new ArrayBuffer(d*this.Mn),this.cM=new Uint8Array(this.yj); else{a=[];for(var e=new ArrayBuffer(d*this.Mn),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.Zt&&b.log("Stencil buffer is not enabled."),b.Xb.mC=!1);return!0},JW:function(a){this.od=a;this.ym=1;this.Jh=!1},ba:function(){b.q.prototype.ba.call(this);this.od.ba()},Mh:function(){b.q.prototype.Mh.call(this); this.od.Mh()},bg:function(){this.od.bg();b.q.prototype.bg.call(this)},ub:function(){this.od.ub();b.q.prototype.ub.call(this)},T:null,Ps:function(a){var c=a||b.k;if(1>b.Zt)b.q.prototype.T.call(this,a);else if(this.od&&this.od.visible)if(b.Xb.Xr=-1,b.Xb.Xr+1==b.Zt)b.Xb.qE=!0,b.Xb.qE&&(b.log("Nesting more than "+b.Zt+"stencils is not supported. Everything will be drawn without stencil for this node and its childs."),b.Xb.qE=!1),b.q.prototype.T.call(this,a);else{b.Xb.Xr++;var d=1<this.ym){var d=b.Ld.oc(b.Uu),t=c.getUniformLocation(d.Nm(),b.ZI);b.tF(d.Nm());d.Vt(t,this.ym);b.zP(this.od,d)}b.Qm();this.transform();this.od.T();b.Pm();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.Xr--}else this.Jh&&b.q.prototype.T.call(this,a)},um:function(a){if(this.od&&this.od.visible){a= a||b.k;var c=a.canvas;if(this.sB()||this.od instanceof b.Q){var d=b.Xb.yW();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.Jh?"destination-out":"destination-in";this.transform(a);this.od.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.od.T(a);this.Jh&&(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.sB(!0);var f=d.length;if(0e.zb)e.T(a);else break;for(this.Y(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.Sa);a.bindBuffer(a.ARRAY_BUFFER,this.dd);a.bufferData(a.ARRAY_BUFFER, this.Sa,a.DYNAMIC_DRAW);a.bindBuffer(a.ARRAY_BUFFER,this.Uf);a.bufferData(a.ARRAY_BUFFER,this.Hg,a.DYNAMIC_DRAW);a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.Nf);a.bufferData(a.ELEMENT_ARRAY_BUFFER,this.lb,a.STATIC_DRAW);this.jb=!0}});b.Fz.create=function(a,c,d){return new b.Fz(a,c,d)}; b.EA=b.rn.extend({Hg:null,Sa:null,ij:null,lb:null,Uf:null,dd:null,Nf:null,ctor:function(a,c,d){b.rn.prototype.ctor.call(this);this.Nf=this.dd=this.Uf=this.lb=this.ij=this.Sa=this.Hg=null;void 0!==a&&this.Zx(a,c,d)},ZP:function(a){a.x===(0|a.x)&&a.y===(0|a.y)||b.log("cc.TiledGrid3D.tile() : Numbers must be integers");a=12*(this.X.height*a.x+a.y);var c=this.Sa;return new b.Qu(new b.uc(c[a],c[a+1],c[a+2]),new b.uc(c[a+3],c[a+4],c[a+5]),new b.uc(c[a+6],c[a+7],c[a+8]),new b.uc(c[a+9],c[a+10],c[a+11]))}, cg:function(a){a.x===(0|a.x)&&a.y===(0|a.y)||b.log("cc.TiledGrid3D.originalTile() : Numbers must be integers");a=12*(this.X.height*a.x+a.y);var c=this.ij;return new b.Qu(new b.uc(c[a],c[a+1],c[a+2]),new b.uc(c[a+3],c[a+4],c[a+5]),new b.uc(c[a+6],c[a+7],c[a+8]),new b.uc(c[a+9],c[a+10],c[a+11]))},Ze: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.X.height*a.x+a.y),e=this.Sa;e[d]=c.G.x;e[d+1]=c.G.y;e[d+2]=c.G.z;e[d+3]=c.N.x;e[d+ 4]=c.N.y;e[d+5]=c.N.z;e[d+6]=c.M.x;e[d+7]=c.M.y;e[d+8]=c.M.z;e[d+9]=c.K.x;e[d+10]=c.K.y;e[d+11]=c.K.z;this.jb=!0},zE:function(){var a=this.X.width*this.X.height;this.Hb.Mc();this.Hb.Xt();var c=b.k,d=this.jb;b.Jc(b.Pd|b.Cn);c.bindBuffer(c.ARRAY_BUFFER,this.dd);d&&c.bufferData(c.ARRAY_BUFFER,this.Sa,c.DYNAMIC_DRAW);c.vertexAttribPointer(b.sb,3,c.FLOAT,!1,0,this.Sa);c.bindBuffer(c.ARRAY_BUFFER,this.Uf);d&&c.bufferData(c.ARRAY_BUFFER,this.Hg,c.DYNAMIC_DRAW);c.vertexAttribPointer(b.xd,2,c.FLOAT,!1,0,this.Hg); c.bindBuffer(c.ELEMENT_ARRAY_BUFFER,this.Nf);d&&c.bufferData(c.ELEMENT_ARRAY_BUFFER,this.lb,c.STATIC_DRAW);c.drawElements(c.TRIANGLES,6*a,c.UNSIGNED_SHORT,0);d&&(this.jb=!1);b.ag()},pG:function(){if(0=this.n},xa:function(a){a.ns=this.ns;a.oe=this.oe;a.ec=this.ec;a.zg=this.zg;a.ts=this.ts;a.Ao=this.Ao},me:function(a){if(this.zg){a.zg=[];for(var c=0;ca?a:1;this.update(0=a)return b.log("The speed parameter error"),this;this.ts=!0;this.oe*=a;return this},Ix:function(){return this.oe}, Xe:function(a){this.oe=a;return this},repeat:function(a){a=Math.round(a);if(isNaN(a)||1>a)return b.log("The repeat parameter error"),this;this.Ao=!0;this.ec*=a;return this},d3:function(){this.Ao=!0;this.ec=this.MAX_VALUE;this.ns=!0;return this}});b.u.create=function(a){return new b.u(a)}; b.ua=b.u.extend({bi:null,YL:null,Wr:0,ctor:function(a){b.u.prototype.ctor.call(this);this.bi=[];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.Wkf?this.zj=b.ua.Vi(c,b.qc.create(e- f)):ed&&(d+=360);this.us=c;this.GJ=d;this.Fo=a.rotationY%360;a=this.JB-this.Fo;180a&&(a+=360); this.HJ=a},reverse:function(){b.log("cc.RotateTo.reverse(): it should be overridden in subclass.")},update:function(a){a=this.kd(a);this.target&&(this.target.rotationX=this.us+this.GJ*a,this.target.rotationY=this.Fo+this.HJ*a)}});b.Ru.create=function(a,c,d){return new b.Ru(a,c,d)}; b.Fl=b.u.extend({bh:0,us:0,sv:0,Fo: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.bh=c||0,this.sv=d||this.bh,!0):!1},j:function(){var a=new b.Fl;this.xa(a);a.d(this.n,this.bh,this.sv);return a},v:function(a){b.u.prototype.v.call(this,a);this.us=a.rotationX;this.Fo=a.rotationY},update:function(a){a=this.kd(a);this.target&&(this.target.rotationX=this.us+this.bh*a,this.target.rotationY=this.Fo+this.sv*a)},reverse:function(){var a= b.Fl.create(this.n,-this.bh,-this.sv);this.xa(a);this.me(a);return a}});b.Fl.create=function(a,c,d){var e=new b.Fl;e.d(a,c,d);return e}; b.Af=b.u.extend({qi:null,Gc:null,Rc:null,ctor:function(a,c,d){b.u.prototype.ctor.call(this);this.qi=C(0,0);this.Gc=C(0,0);this.Rc=C(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.qi.x=c,this.qi.y=d,!0):!1},j:function(){var a=new b.Af;this.xa(a);a.d(this.n,this.qi);return a},v:function(a){b.u.prototype.v.call(this,a);var c=a.Se();a=a.Kg();this.Rc.x=c;this.Rc.y=a;this.Gc.x=c;this.Gc.y=a},update:function(a){a=this.kd(a);if(this.target){var c= this.qi.x*a;a*=this.qi.y;var d=this.Gc;if(b.ou){var e=this.target.Kg(),f=this.Rc;d.x=d.x+this.target.Se()-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.Af.create(this.n,C(-this.qi.x,-this.qi.y));this.xa(a);this.me(a);return a}});b.Af.create=function(a,c,d){return new b.Af(a,c,d)}; b.Yj=b.Af.extend({Jf:null,ctor:function(a,c,d){b.Af.prototype.ctor.call(this);this.Jf=C(0,0);void 0!==c&&this.d(a,c,d)},d:function(a,c,d){return b.Af.prototype.d.call(this,a,c,d)?(void 0!==c.x&&(d=c.y,c=c.x),this.Jf.x=c,this.Jf.y=d,!0):!1},j:function(){var a=new b.Yj;this.xa(a);a.d(this.n,this.Jf);return a},v:function(a){b.Af.prototype.v.call(this,a);this.qi.x=this.Jf.x-a.Se();this.qi.y=this.Jf.y-a.Kg()}});b.Yj.create=function(a,c,d){return new b.Yj(a,c,d)}; b.ak=b.u.extend({sh:0,th:0,Qw:0,Rw:0,Rv:0,Sv:0,ff:0,gf: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.Rv=c,this.Sv=d,e=!0);return e},j:function(){var a=new b.ak;this.xa(a);a.d(this.n,this.Rv,this.Sv);return a},v:function(a){b.u.prototype.v.call(this,a);this.Qw=a.skewX%180;this.ff=this.Rv-this.Qw;180this.ff&&(this.ff+=360);this.Rw=a.skewY%360;this.gf=this.Sv-this.Rw;180this.gf&&(this.gf+=360)},update:function(a){a=this.kd(a);this.target.skewX=this.Qw+this.ff*a;this.target.skewY=this.Rw+this.gf*a}});b.ak.create=function(a,c,d){return new b.ak(a,c,d)}; b.Tq=b.ak.extend({ctor:function(a,c,d){b.ak.prototype.ctor.call(this);void 0!==d&&this.d(a,c,d)},d:function(a,c,d){var e=!1;b.ak.prototype.d.call(this,a,c,d)&&(this.sh=c,this.th=d,e=!0);return e},j:function(){var a=new b.Tq;this.xa(a);a.d(this.n,this.sh,this.th);return a},v:function(a){b.ak.prototype.v.call(this,a);this.ff=this.sh;this.gf=this.th;this.Rv=this.Qw+this.ff;this.Sv=this.Rw+this.gf},reverse:function(){var a=b.Tq.create(this.n,-this.sh,-this.th);this.xa(a);this.me(a);return a}}); b.Tq.create=function(a,c,d){var e=new b.Tq;e&&e.d(a,c,d);return e}; b.Vh=b.u.extend({Gc:null,fi:null,Rr:0,fj:0,Rc:null,ctor:function(a,c,d,e,f){b.u.prototype.ctor.call(this);this.Gc=C(0,0);this.Rc=C(0,0);this.fi=C(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.fi.x=c,this.fi.y=d,this.Rr=e,this.fj=f,!0):!1},j:function(){var a=new b.Vh;this.xa(a);a.d(this.n,this.fi,this.Rr,this.fj);return a},v:function(a){b.u.prototype.v.call(this,a);var c=a.Se();a=a.Kg();this.Rc.x=c;this.Rc.y=a; this.Gc.x=c;this.Gc.y=a},update:function(a){a=this.kd(a);if(this.target){var c=a*this.fj%1,c=4*this.Rr*c*(1-c),c=c+this.fi.y*a;a*=this.fi.x;var d=this.Gc;if(b.ou){var e=this.target.Kg(),f=this.Rc;d.x=d.x+this.target.Se()-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.Vh.create(this.n,C(-this.fi.x,-this.fi.y),this.Rr,this.fj);this.xa(a);this.me(a);return a}});b.Vh.create=function(a,c,d,e,f){return new b.Vh(a,c,d,e,f)}; b.Ku=b.Vh.extend({Jf:null,ctor:function(a,c,d,e,f){b.Vh.prototype.ctor.call(this);this.Jf=C(0,0);void 0!==e&&this.d(a,c,d,e,f)},d:function(a,c,d,e,f){return b.Vh.prototype.d.call(this,a,c,d,e,f)?(void 0===f&&(d=c.y,c=c.x),this.Jf.x=c,this.Jf.y=d,!0):!1},v:function(a){b.Vh.prototype.v.call(this,a);this.fi.x=this.Jf.x-this.Gc.x;this.fi.y=this.Jf.y-this.Gc.y},j:function(){var a=new b.Ku;this.xa(a);a.d(this.n,this.Jf,this.Rr,this.fj);return a}}); b.Ku.create=function(a,c,d,e,f){return new b.Ku(a,c,d,e,f)};b.zM=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.Rj=b.u.extend({Gf:null,Gc:null,Rc:null,ctor:function(a,c){b.u.prototype.ctor.call(this);this.Gf=[];this.Gc=C(0,0);this.Rc=C(0,0);c&&this.d(a,c)},d:function(a,c){return b.u.prototype.d.call(this,a)?(this.Gf=c,!0):!1},j:function(){var a=new b.Rj;this.xa(a);for(var c=[],d=0;dc/2}},v:function(a){b.u.prototype.v.call(this,a);this.gL=a.visible},stop:function(){this.target.visible=this.gL;b.u.prototype.stop.call(this)},reverse:function(){var a= b.gq.create(this.n,this.ec);this.xa(a);this.me(a);return a}});b.gq.create=function(a,c){var d=new b.gq;d.d(a,c);return d}; b.Uj=b.u.extend({Po:0,aw: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.Po=c,!0):!1},j:function(){var a=new b.Uj;this.xa(a);a.d(this.n,this.Po);return a},update:function(a){a=this.kd(a);if(this.target.yb){var c=void 0!==this.aw?this.aw:255;this.target.opacity=c+(this.Po-c)*a}},v:function(a){b.u.prototype.v.call(this,a);this.target.yb&&(this.aw=a.opacity)}});b.Uj.create=function(a,c){return new b.Uj(a,c)}; b.qn=b.Uj.extend({lD:null,reverse:function(){var a=new b.yl;a.d(this.n,0);this.xa(a);this.me(a);return a},j:function(){var a=new b.qn;this.xa(a);a.d(this.n,this.Po);return a},v:function(a){this.lD&&(this.Po=this.lD.aw);b.Uj.prototype.v.call(this,a)}});b.qn.create=function(a){return new b.qn(a,255)};b.yl=b.Uj.extend({reverse:function(){var a=new b.qn;a.lD=this;a.d(this.n,255);this.xa(a);this.me(a);return a},j:function(){var a=new b.yl;this.xa(a);a.d(this.n,this.Po);return a}}); b.yl.create=function(a){var c=new b.yl;c.d(a,0);return c}; b.fv=b.u.extend({pd:null,Qc:null,ctor:function(a,c,d,e){b.u.prototype.ctor.call(this);this.pd=b.color(0,0,0);this.Qc=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.pd=b.color(c,d,e),!0):!1},j:function(){var a=new b.fv;this.xa(a);var c=this.pd;a.d(this.n,c.r,c.g,c.b);return a},v:function(a){b.u.prototype.v.call(this,a);this.target.yb&&(this.Qc=this.target.color)},update:function(a){a=this.kd(a);var c=this.Qc,d=this.pd;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.fv.create=function(a,c,d,e){return new b.fv(a,c,d,e)}; b.cr=b.u.extend({Mv:0,Lv:0,Kv:0,xK:0,wK:0,vK: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.Mv=c,this.Lv=d,this.Kv=e,!0):!1},j:function(){var a=new b.cr;this.xa(a);a.d(this.n,this.Mv,this.Lv,this.Kv);return a},v:function(a){b.u.prototype.v.call(this,a);a.yb&&(a=a.color,this.xK=a.r,this.wK=a.g,this.vK=a.b)},update:function(a){a=this.kd(a);this.target.yb&&(this.target.color=b.color(this.xK+this.Mv*a,this.wK+ this.Lv*a,this.vK+this.Kv*a))},reverse:function(){var a=b.cr.create(this.n,-this.Mv,-this.Lv,-this.Kv);this.xa(a);this.me(a);return a}});b.cr.create=function(a,c,d,e){return new b.cr(a,c,d,e)};b.qc=b.u.extend({update:function(){},reverse:function(){var a=b.qc.create(this.n);this.xa(a);this.me(a);return a},j:function(){var a=new b.qc;this.xa(a);a.d(this.n);return a}});b.qc.create=function(a){return new b.qc(a)}; b.El=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.n)?(this.jj=a,!0):!1},j:function(){var a=new b.El;this.xa(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.kd(a);this.jj&&this.jj.update(1- a)},reverse:function(){return this.jj.j()},stop:function(){this.jj.stop();b.hd.prototype.stop.call(this)}});b.El.create=function(a){return new b.El(a)}; b.ln=b.u.extend({pk:null,es:0,HC:null,Vv:0,JD:null,ctor:function(a){b.u.prototype.ctor.call(this);this.JD=[];a&&this.YN(a)},kN:function(){return this.pk},p3:function(a){this.pk=a},YN:function(a){if(!a)throw"cc.Animate.initWithAnimation(): animation must be non-NULL";var c=a.op();if(this.d(c*a.gj)){this.es=0;this.p3(a);this.HC=null;this.Vv=0;var d=this.JD,e=d.length=0,f=c/a.xi;a=a.Ud;b.Uo(a,b.pg);for(var g=0;ga&&(a*=this.pk.gj,(0|a)>this.Vv&&(this.es=0,this.Vv++),a%=1);for(var c=this.pk.Ud,d=c.length,e=this.JD,f=this.es;fa?Math.PI-Math.asin(e/f):Math.asin(e/f)}},v:function(a){b.u.prototype.v.call(this,a);a=this.v4();isNaN(this.He)&&(this.He=a.i2);isNaN(this.or)&&(this.or=b.iG(a.n5));isNaN(this.bh)&&(this.bh=b.iG(a.azimuth));this.sL=b.Yf(this.or);this.rL=b.Yf(this.bh)},j:function(){var a=new b.ce;a.d(this.n,this.He,this.CB,this.or,this.EJ,this.bh,this.DJ);return a},update:function(a){a=this.kd(a);var c=(this.He+this.CB*a)*b.iq.lt(), d=this.sL+this.qL*a,e=this.rL+this.pL*a;a=Math.sin(d)*Math.cos(e)*c+this.tB;e=Math.sin(d)*Math.sin(e)*c+this.uB;c=Math.cos(d)*c+this.vB;this.target.Lm().rP(a,e,c)}});b.ce.create=function(a,c,d,e,f,g,h){return new b.ce(a,c,d,e,f,g,h)};b.Pa=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.op())?(this.p=a,!0):!1},j:function(){var a=new b.Pa;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.Pa.create(this.p.reverse())},hF:function(){return this.p}}); b.Pa.create=function(a){return new b.Pa(a)};b.xl=b.Pa.extend({bc:0,ctor:function(a,c){b.Pa.prototype.ctor.call(this);void 0!==c&&this.aa(a,c)},$ia:function(a){this.bc=a},cca:function(){return this.bc},aa:function(a,c){return b.Pa.prototype.aa.call(this,a)?(this.bc=c,!0):!1},j:function(){var a=new b.xl;a.aa(this.p.j(),this.bc);return a},reverse:function(){return b.xl.create(this.p.reverse(),1/this.bc)}});b.xl.create=function(a,c){return new b.xl(a,c)}; b.Du=b.xl.extend({update:function(a){this.p.update(Math.pow(a,this.bc))},reverse:function(){return b.Du.create(this.p.reverse(),1/this.bc)},j:function(){var a=new b.Du;a.aa(this.p.j(),this.bc);return a}});b.Du.create=function(a,c){return new b.Du(a,c)};b.m_=function(a){return{bc:a,Ta:function(a){return Math.pow(a,this.bc)},reverse:function(){return b.m_(1/this.bc)}}}; b.wl=b.xl.extend({update:function(a){this.p.update(Math.pow(a,1/this.bc))},reverse:function(){return b.wl.create(this.p.reverse(),1/this.bc)},j:function(){var a=new b.wl;a.aa(this.p.j(),this.bc);return a}});b.wl.create=function(a,c){return new b.wl(a,c)};b.o_=function(a){return{bc:a,Ta:function(a){return Math.pow(a,1/this.bc)},reverse:function(){return b.o_(1/this.bc)}}}; b.sq=b.xl.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.sq;a.aa(this.p.j(),this.bc);return a},reverse:function(){return b.sq.create(this.p.reverse(),this.bc)}});b.sq.create=function(a,c){return new b.sq(a,c)};b.n_=function(a){return{bc:a,Ta: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.n_(this.bc)}}}; b.Au=b.Pa.extend({update:function(a){this.p.update(0===a?0:Math.pow(2,10*(a-1)))},reverse:function(){return b.Cu.create(this.p.reverse())},j:function(){var a=new b.Au;a.aa(this.p.j());return a}});b.Au.create=function(a){return new b.Au(a)};b.YJ={Ta:function(a){return 0===a?0:Math.pow(2,10*(a-1))},reverse:function(){return b.$J}};b.u$=function(){return b.YJ}; b.Cu=b.Pa.extend({update:function(a){this.p.update(1==a?1:-Math.pow(2,-10*a)+1)},reverse:function(){return b.Au.create(this.p.reverse())},j:function(){var a=new b.Cu;a.aa(this.p.j());return a}});b.Cu.create=function(a){return new b.Cu(a)};b.$J={Ta:function(a){return 1==a?1:-Math.pow(2,-10*a)+1},reverse:function(){return b.YJ}};b.w$=function(){return b.$J}; b.Bu=b.Pa.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.Bu.create(this.p.reverse())},j:function(){var a=new b.Bu;a.aa(this.p.j());return a}});b.Bu.create=function(a){return new b.Bu(a)};b.ZJ={Ta: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.ZJ}};b.v$=function(){return b.ZJ}; b.Eu=b.Pa.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.Gu.create(this.p.reverse())},j:function(){var a=new b.Eu;a.aa(this.p.j());return a}});b.Eu.create=function(a){return new b.Eu(a)};b.jK={Ta:function(a){return 0===a||1===a?a:-1*Math.cos(a*Math.PI/2)+1},reverse:function(){return b.lK}};b.G$=function(){return b.jK}; b.Gu=b.Pa.extend({update:function(a){a=0===a||1===a?a:Math.sin(a*Math.PI/2);this.p.update(a)},reverse:function(){return b.Eu.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.lK={Ta:function(a){return 0===a||1==a?a:Math.sin(a*Math.PI/2)},reverse:function(){return b.jK}};b.I$=function(){return b.lK}; b.Fu=b.Pa.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.Fu;a.aa(this.p.j());return a},reverse:function(){return b.Fu.create(this.p.reverse())}});b.Fu.create=function(a){return new b.Fu(a)};b.kK={Ta:function(a){return 0===a||1===a?a:-0.5*(Math.cos(Math.PI*a)-1)},reverse:function(){return b.kK}};b.H$=function(){return b.kK}; b.nn=b.Pa.extend({Fb:0.3,ctor:function(a,c){b.Pa.prototype.ctor.call(this);a&&this.aa(a,c)},Uba:function(){return this.Fb},Wia:function(a){this.Fb=a},aa:function(a,c){b.Pa.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.nn;a.aa(this.p.j(),this.Fb);return a}});b.nn.create=function(a,c){return new b.nn(a,c)}; b.xu=b.nn.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.zu.create(this.p.reverse(),this.Fb)},j:function(){var a=new b.xu;a.aa(this.p.j(),this.Fb);return a}});b.xu.create=function(a,c){return new b.xu(a,c)};b.WJ={Ta: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.XJ}}; b.j_=function(a){return a&&0.3!==a?{Fb:a,Ta: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.l_(this.Fb)}}:b.WJ};b.zu=b.nn.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.xu.create(this.p.reverse(),this.Fb)},j:function(){var a=new b.zu;a.aa(this.p.j(),this.Fb);return a}}); b.zu.create=function(a,c){return new b.zu(a,c)};b.XJ={Ta: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.WJ}};b.l_=function(a){return a&&0.3!==a?{Fb:a,Ta: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.j_(this.Fb)}}:b.XJ}; b.yu=b.nn.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.yu.create(this.p.reverse(),this.Fb)},j:function(){var a=new b.yu;a.aa(this.p.j(),this.Fb);return a}});b.yu.create=function(a,c){return new b.yu(a,c)}; b.k_=function(a){return{Fb:a||0.3,Ta: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.k_(this.Fb)}}}; b.vl=b.Pa.extend({px: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.vl;a.aa(this.p.j());return a},reverse:function(){return b.vl.create(this.p.reverse())}});b.vl.create=function(a){return new b.vl(a)}; b.uu=b.vl.extend({update:function(a){this.p.update(1-this.px(1-a))},reverse:function(){return b.wu.create(this.p.reverse())},j:function(){var a=new b.uu;a.aa(this.p.j());return a}});b.uu.create=function(a){return new b.uu(a)};b.wv=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.NJ={Ta:function(a){return 1-b.wv(1-a)},reverse:function(){return b.PJ}};b.l$=function(){return b.NJ}; b.wu=b.vl.extend({update:function(a){this.p.update(this.px(a))},reverse:function(){return b.uu.create(this.p.reverse())},j:function(){var a=new b.wu;a.aa(this.p.j());return a}});b.wu.create=function(a){return new b.wu(a)};b.PJ={Ta:function(a){return b.wv(a)},reverse:function(){return b.NJ}};b.n$=function(){return b.PJ};b.vu=b.vl.extend({update:function(a){var c=0,c=0.5>a?0.5*(1-this.px(1-2*a)):0.5*this.px(2*a-1)+0.5;this.p.update(c)},j:function(){var a=new b.vu;a.aa(this.p.j());return a},reverse:function(){return b.vu.create(this.p.reverse())}}); b.vu.create=function(a){return new b.vu(a)};b.OJ={Ta:function(a){return a=0.5>a?0.5*(1-b.wv(1-2*a)):0.5*b.wv(2*a-1)+0.5},reverse:function(){return b.OJ}};b.m$=function(){return b.OJ};b.ru=b.Pa.extend({update:function(a){this.p.update(0===a||1==a?a:a*a*(2.70158*a-1.70158))},reverse:function(){return b.tu.create(this.p.reverse())},j:function(){var a=new b.ru;a.aa(this.p.j());return a}});b.ru.create=function(a){return new b.ru(a)};b.KJ={Ta:function(a){return 0===a||1===a?a:a*a*(2.70158*a-1.70158)},reverse:function(){return b.MJ}}; b.i$=function(){return b.KJ};b.tu=b.Pa.extend({update:function(a){a-=1;this.p.update(a*a*(2.70158*a+1.70158)+1)},reverse:function(){return b.ru.create(this.p.reverse())},j:function(){var a=new b.tu;a.aa(this.p.j());return a}});b.tu.create=function(a){return new b.tu(a)};b.MJ={Ta:function(a){a-=1;return a*a*(2.70158*a+1.70158)+1},reverse:function(){return b.KJ}};b.k$=function(){return b.MJ}; b.su=b.Pa.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.su;a.aa(this.p.j());return a},reverse:function(){return b.su.create(this.p.reverse())}});b.su.create=function(a){return new b.su(a)};b.LJ={Ta: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.LJ}};b.j$=function(){return b.LJ}; b.lq=b.Pa.extend({ww:null,xw:null,yw:null,zw:null,ctor:function(a){b.Pa.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.ww,this.xw,this.yw,this.zw,a))},j:function(){var a=new b.lq;a.aa(this.p.j());a.lP(this.ww,this.xw,this.yw,this.zw);return a},reverse:function(){var a=b.lq.create(this.p.reverse());a.lP(this.zw,this.yw,this.xw,this.ww);return a},lP:function(a,c, d,e){this.ww=a||0;this.xw=c||0;this.yw=d||0;this.zw=e||0}});b.lq.create=function(a){return new b.lq(a)};b.i_=function(a,c,d,e){return{Ta:function(f){return b.lq.prototype.oa(a,c,d,e,f)},reverse:function(){return b.i_(e,d,c,a)}}};b.tq=b.Pa.extend({oa:function(a){return Math.pow(a,2)},update:function(a){this.p.update(this.oa(a))},j:function(){var a=new b.tq;a.aa(this.p.j());return a},reverse:function(){return b.tq.create(this.p.reverse())}});b.tq.create=function(a){return new b.tq(a)}; b.aK={Ta:b.tq.prototype.oa,reverse:function(){return b.aK}};b.x$=function(){return b.aK};b.vq=b.Pa.extend({oa:function(a){return-a*(a-2)},update:function(a){this.p.update(this.oa(a))},j:function(){var a=new b.vq;a.aa();return a},reverse:function(){return b.vq.create(this.p.reverse())}});b.vq.create=function(a){return new b.vq(a)};b.cK={Ta:b.vq.prototype.oa,reverse:function(){return b.cK}};b.z$=function(){return b.cK}; b.uq=b.Pa.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.uq;a.aa(this.p.j());return a},reverse:function(){return b.uq.create(this.p.reverse())}});b.uq.create=function(a){return new b.uq(a)};b.bK={Ta:b.uq.prototype.oa,reverse:function(){return b.bK}};b.y$=function(){return b.bK}; b.wq=b.Pa.extend({oa:function(a){return a*a*a*a},update:function(a){this.p.update(this.oa(a))},j:function(){var a=new b.wq;a.aa(this.p.j());return a},reverse:function(){return b.wq.create(this.p.reverse())}});b.wq.create=function(a){return new b.wq(a)};b.dK={Ta:b.wq.prototype.oa,reverse:function(){return b.dK}};b.A$=function(){return b.dK}; b.yq=b.Pa.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.yq;a.aa(this.p.j());return a},reverse:function(){return b.yq.create(this.p.reverse())}});b.yq.create=function(a){return new b.yq(a)};b.fK={Ta:b.yq.prototype.oa,reverse:function(){return b.fK}};b.C$=function(){return b.fK}; b.xq=b.Pa.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.xq;a.aa(this.p.j());return a},reverse:function(){return b.xq.create(this.p.reverse())}});b.xq.create=function(a){return new b.xq(a)};b.eK={Ta:b.xq.prototype.oa,reverse:function(){return b.eK}};b.B$=function(){return b.eK}; b.zq=b.Pa.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.zq;a.aa(this.p.j());return a},reverse:function(){return b.zq.create(this.p.reverse())}});b.zq.create=function(a){return new b.zq(a)};b.gK={Ta:b.zq.prototype.oa,reverse:function(){return b.gK}};b.D$=function(){return b.gK}; b.Bq=b.Pa.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.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.iK={Ta:b.Bq.prototype.oa,reverse:function(){return b.iK}};b.F$=function(){return b.iK}; b.Aq=b.Pa.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.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.hK={Ta:b.Aq.prototype.oa,reverse:function(){return b.hK}};b.E$=function(){return b.hK}; b.mq=b.Pa.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.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.QJ={Ta:b.mq.prototype.oa,reverse:function(){return b.QJ}};b.o$=function(){return b.QJ}; b.oq=b.Pa.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.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.SJ={Ta:b.oq.prototype.oa,reverse:function(){return b.SJ}};b.q$=function(){return b.SJ}; b.nq=b.Pa.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.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.RJ={Ta:b.nq.prototype.oa,reverse:function(){return b.RJ}};b.p$=function(){return b.RJ}; b.pq=b.Pa.extend({oa:function(a){return a*a*a},update:function(a){this.p.update(this.oa(a))},j:function(){var a=new b.pq;a.aa(this.p.j());return a},reverse:function(){return b.pq.create(this.p.reverse())}});b.pq.create=function(a){return new b.pq(a)};b.TJ={Ta:b.pq.prototype.oa,reverse:function(){return b.TJ}};b.r$=function(){return b.TJ};b.rq=b.Pa.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.rq;a.aa(this.p.j());return a},reverse:function(){return b.rq.create(this.p.reverse())}}); b.rq.create=function(a){return new b.rq(a)};b.VJ={Ta:b.rq.prototype.oa,reverse:function(){return b.VJ}};b.t$=function(){return b.VJ};b.qq=b.Pa.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.qq;a.aa(this.p.j());return a},reverse:function(){return b.qq.create(this.p.reverse())}});b.qq.create=function(a){return new b.qq(a)};b.UJ={Ta:b.qq.prototype.oa,reverse:function(){return b.UJ}};b.s$=function(){return b.UJ};b.HE=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 C(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.eP=function(a){for(var c=[],d=a.length-1;0<=d;d--)c.push(C(a[d].x,a[d].y));return c};b.vx=function(a){for(var c=[],d=0;dh?(f=C(0,0),e=C(0,1),k=C(1,0),m=C(1,1)):(k=C(0, 0),m=C(0,1),f=C(1,0),e=C(1,1),g=h);c.x=g-g*d;c.z=Math.abs(parseFloat(g*a/4));a=this.Lc(f);a.x=c.x;a.z+=c.z;this.Kd(f,a);a=this.Lc(e);a.x=c.x;a.z+=c.z;this.Kd(e,a);a=this.Lc(k);a.x-=c.x;a.z-=c.z;this.Kd(k,a);a=this.Lc(m);a.x-=c.x;a.z-=c.z;this.Kd(m,a)}});b.Ez.create=function(a){return new b.Ez(a)}; b.tH=b.Ez.extend({ctor:function(a){void 0!==a?b.ic.prototype.ctor.call(this,a,H(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.uc,e=C(0,0);e.x=e.y=1;var f=this.Lc(e);e.x=e.y=0;var e=this.Lc(e),g=f.y,h=e.y,k,m;g>h?(f=C(0,0),e=C(0,1),k=C(1,0),m=C(1,1)):(e=C(0,0),f=C(0,1),m=C(1,0),k=C(1,1),g=h);c.y=g-g*d;c.z=Math.abs(parseFloat(g*a)/4);a=this.Lc(f);a.y=c.y;a.z+=c.z;this.Kd(f,a);a=this.Lc(e);a.y-=c.y;a.z-=c.z;this.Kd(e,a);a=this.Lc(k); a.y=c.y;a.z+=c.z;this.Kd(k,a);a=this.Lc(m);a.y-=c.y;a.z-=c.z;this.Kd(m,a)}});b.tH.create=function(a){return new b.tH(a)}; b.zH=b.Vc.extend({ya:null,He:0,mw:0,zV:!1,jb:!1,ctor:function(a,c,d,e){b.ic.prototype.ctor.call(this);this.ya=C(0,0);void 0!==e&&this.d(a,c,d,e)},tba:function(){return this.mw},Bia:function(a){this.mw=a},$ha:function(a){this.zV=a},Fx:function(){return this.ya},P:function(a){b.fG(a,this.ya)||(this.ya.x=a.x,this.ya.y=a.y,this.jb=!0)},d:function(a,c,d,e){return b.Vc.prototype.d.call(this,a,c)?(this.P(d),this.He=e,this.mw=0.7,this.jb=!0):!1},update:function(){if(this.jb){for(var a=this.X.width,c=this.X.height, d=this.He,e=this.mw,f=C(0,0),g=C(0,0),h,k,m,p=0;pf?this.bQ(d,f):this.VG(d)}});b.Cq.create=function(a,c){return new b.Cq(a,c)};b.Cz=b.Cq.extend({cz:function(a,c){return 0==a.width+a.height?1:Math.pow((this.X.width*(1-c)+this.X.height*(1-c))/(a.width+a.height),6)}});b.Cz.create=function(a,c){return new b.Cz(a,c)}; b.Iu=b.Cq.extend({cz:function(a,c){var d=this.X.height*c;return 0==d?1:Math.pow(a.height/d,6)},bQ:function(a,c){var d=this.cg(a),e=this.target.grid.mF();d.G.y+=e.y/2*(1-c);d.N.y+=e.y/2*(1-c);d.M.y-=e.y/2*(1-c);d.K.y-=e.y/2*(1-c);this.Ze(a,d)}});b.Iu.create=function(a,c){return new b.Iu(a,c)};b.Dz=b.Iu.extend({cz:function(a,c){return 0==a.height?1:Math.pow(this.X.height*(1-c)/a.height,6)}});b.Dz.create=function(a,c){return new b.Dz(a,c)}; b.HA=b.tc.extend({oD:null,wj:0,wi:null,ctor:function(a,c,d){b.ic.prototype.ctor.call(this);this.wi=[];void 0!==c&&this.d(a,c,d)},d:function(a,c,d){return b.tc.prototype.d.call(this,a,c)?(this.oD=d||0,this.wi.length=0,!0):!1},OG: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}},VG:function(a){this.Ze(a,this.cg(a))},UG:function(a){this.Ze(a,new b.Qu)},v:function(a){b.tc.prototype.v.call(this,a);this.wj=this.X.width*this.X.height;a=this.wi;for(var c=a.length=0;ck.z&&(k.z=0.5);this.Kd(f,k)}}});b.Ou.create=function(a,c){return new b.Ou(a,c)};b.Xa=b.ia.extend({mc:null,ni:0,dc:null,kh:null,Nl:null,Cd:!1,tb:"ProgressTimer",m0:function(){return C(this.kh.x,this.kh.y)},N3:function(a){this.kh=b.aG(a,C(0,0),C(1,1))},F_:function(){return C(this.Nl.x,this.Nl.y)},r3:function(a){this.Nl=b.aG(a,C(0,0),C(1,1))},qF:function(){return this.mc},s0:function(){return this.ni},JN:function(){return this.dc},R3:function(a){this.ni!=a&&(this.ni=b.Tc(a,0,100),this.eE())},Jd:function(){},ue:function(){return!1},s1:function(){return this.Cd},oB:function(a){if(a< b.Xa.nI){var c=b.Xa.PT;return this.Cd?C(c>>7-(a<<1)&1,c>>7-((a<<1)+1)&1):C(c>>(a<<1)+1&1,c>>(a<<1)&1)}return C(0,0)},vw:null,PD:270,KB:270,He:0,AB:!1,jB:null,qd:0,zc:null,rf:null,lE:null,Ns:!1,ctor:null,xr:function(){b.ia.prototype.ctor.call(this);this.mc=b.Xa.Xh;this.ni=0;this.kh=C(0,0);this.Nl=C(0,0);this.Cd=!1;this.dc=null;this.vw=C(0,0);this.KB=this.PD=270;this.He=0;this.AB=!1;this.jB=O(0,0,0,0)},yr:function(){b.ia.prototype.ctor.call(this);this.mc=b.Xa.Xh;this.ni=0;this.kh=C(0,0);this.Nl=C(0, 0);this.Cd=!1;this.dc=null;this.lE=b.k.createBuffer();this.qd=0;this.rf=this.zc=null;this.Ns=!1},$a:function(a){this.dc.color=a;this.fc()},Aa:function(a){this.dc.opacity=a;this.fc()},Qe:function(){return this.dc.color},Re:function(){return this.dc.opacity},DP:null,kY:function(a){this.Cd!==a&&(this.Cd=a)},lY:function(a){this.Cd!==a&&(this.Cd=a,this.rf=this.zc=null,this.qd=0)},Zy:null,qY:function(a){this.dc!=a&&(this.dc=a,this.width=this.dc.width,this.height=this.dc.height)},rY:function(a){a&&this.dc!= a&&(this.dc=a,this.width=a.width,this.height=a.height,this.zc&&(this.rf=this.zc=null,this.qd=0))},KG:null,yY:function(a){a!==this.mc&&(this.mc=a)},zY:function(a){a!==this.mc&&(this.zc&&(this.rf=this.zc=null,this.qd=0),this.mc=a)},CG:null,iY:function(a){this.Cd!==a&&(this.Cd=a)},jY:function(a){this.Cd!==a&&(this.Cd=a,this.rf=this.zc=null,this.qd=0)},qe:function(a){var c=this.dc;if(!c)return{ea:0,fa:0};var d=c.quad,e=C(d.G.l.ea,d.G.l.fa),d=C(d.K.l.ea,d.K.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=C(c.G.i.x,c.G.i.y),c=C(c.K.i.x,c.K.i.y);return{x:d.x*(1-a.x)+c.x*a.x,y:d.y*(1-a.y)+c.y*a.y}},BF:null,NW:function(a){this.percentage=0;this.anchorY=this.anchorX=0.5;this.mc=b.Xa.Xh;this.Cd=!1;this.midPoint=C(0.5,0.5);this.barChangeRate=C(1,1);this.sprite=a;return!0},OW:function(a){this.percentage=0;this.rf=this.zc=null;this.qd=0;this.anchorY=this.anchorX=0.5;this.mc=b.Xa.Xh;this.Cd= !1;this.midPoint=C(0.5,0.5);this.barChangeRate=C(1,1);this.sprite=a;this.shaderProgram=b.Ld.oc(b.Ui);return!0},Y:null,Rl:function(a){a=a||b.k;var c=this.dc;c.to&&(a.globalCompositeOperation="lighter");var d=b.view.qa,e=b.view.Ra;a.globalAlpha=c.Ca/255;var f=c.ha,g=c.O,h=c.Eb,k=c.IB,m=0|h.x,p=-h.y-f.height,r=c.Lo;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.Xa.Il?(f=this.jB,a.beginPath(),a.rect(f.x*d,f.y*e,f.width* d,f.height*e),a.clip(),a.closePath()):this.mc==b.Xa.Xh&&(f=this.vw.x*d,h=this.vw.y*e,a.beginPath(),a.arc(f,h,this.He*e,Math.PI/180*this.PD,Math.PI/180*this.KB,this.AB),a.lineTo(f,h),a.clip(),a.closePath());c.L&&r.bq?(d=c.L.Db,this.Bv?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.ag()},$i:function(a){a= a||b.k;if(this.zc&&this.dc){b.yt(this);var c=this.dc.Ch();b.Ih(c.src,c.U);b.Jc(b.Kl);b.te(this.dc.texture);a.bindBuffer(a.ARRAY_BUFFER,this.lE);this.Ns&&(a.bufferData(a.ARRAY_BUFFER,this.rf,a.DYNAMIC_DRAW),this.Ns=!1);c=b.wd.BYTES_PER_ELEMENT;a.vertexAttribPointer(b.sb,2,a.FLOAT,!1,c,0);a.vertexAttribPointer(b.ze,4,a.UNSIGNED_BYTE,!0,c,8);a.vertexAttribPointer(b.xd,2,a.FLOAT,!1,c,12);this.mc===b.Xa.Xh?a.drawArrays(a.TRIANGLE_FAN,0,this.qd):this.mc==b.Xa.Il&&(this.Cd?(a.drawArrays(a.TRIANGLE_STRIP, 0,this.qd/2),a.drawArrays(a.TRIANGLE_STRIP,4,this.qd/2),b.$f++):a.drawArrays(a.TRIANGLE_STRIP,0,this.qd));b.$f++}},YY:function(){if(this.dc){var a,c=this.kh;a=this.ni/100;var d=C(c.x,1),e=b.t2(d,c,2*b.PI*(this.Cd?a:1-a)),f=0;if(0==a)e=d,f=0;else if(1==a)e=d,f=4;else{var g=b.sR,h=b.Xa.nI;for(a=0;a<=h;++a){var k=this.oB(a%h),m=this.oB((a+(h-1))%h);0==a?m=b.LO(k,m,1-c.x):4==a&&(k=b.LO(k,m,1-c.x));var p=C(0,0);b.bG(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.wd(null,null,null,this.rf,a*e);f[0].l=this.qe(C(0,1));f[0].i=this.re(C(0,1));f[1].l=this.qe(C(0,0));f[1].i=this.re(C(0,0)); f[6].l=this.qe(C(1,1));f[6].i=this.re(C(1,1));f[7].l=this.qe(C(1,0));f[7].i=this.re(C(1,0));this.zc=f}a=this.zc;a[2].l=this.qe(C(c.x,d.y));a[2].i=this.re(C(c.x,d.y));a[3].l=this.qe(C(c.x,c.y));a[3].i=this.re(C(c.x,c.y));a[4].l=this.qe(C(d.x,d.y));a[4].i=this.re(C(d.x,d.y));a[5].l=this.qe(C(d.x,c.y));a[5].i=this.re(C(d.x,c.y))}else{if(!this.zc)for(this.qd=4,e=b.wd.BYTES_PER_ELEMENT,this.rf=new ArrayBuffer(4*e),this.zc=[],a=0;4>a;a++)this.zc[a]=new b.wd(null,null,null,this.rf,a*e);a=this.zc;a[0].l= this.qe(C(c.x,d.y));a[0].i=this.re(C(c.x,d.y));a[1].l=this.qe(C(c.x,c.y));a[1].i=this.re(C(c.x,c.y));a[2].l=this.qe(C(d.x,d.y));a[2].i=this.re(C(d.x,d.y));a[3].l=this.qe(C(d.x,c.y));a[3].i=this.re(C(d.x,c.y))}this.fc()}},fc:function(){if(this.dc&&this.zc){for(var a=this.dc.quad.M.t,c=this.zc,d=0,e=this.qd;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.So(H(a,c));this.uv?(this.ma.visible=!1,this.ma.Ga(b.ua.create(b.Bf.create(),a,b.wb.create(this.finish,this),b.Gl.create()))):this.eb.Ga(b.ua.create(a,b.wb.create(this.finish,this),b.Gl.create()))}, ui:function(){this.ih=this.uv}});b.GI.create=function(a,c,d){var e=new b.GI;e.d(a,c,d);return e};b.ka={name:"Jacob__Codec"};b.Y4=function(){return b.ka.Ha.Nx.apply(b.ka.Ha,arguments)};b.Z4=function(){var a=b.ka.tl.NM.apply(b.ka.tl,arguments);return b.ka.Ha.Nx.apply(b.ka.Ha,[a])};b.hQ=function(a,c){c=c||1;var d=this.Z4(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.tl.OM=function(a,c){var d=this.NM(a),e=[],f,g,h;f=0;for(h=d.length/c;f>=1;0==a.zi&&(a.zi=a.S(),c=a.zi&1,a.zi=a.zi>>1|128);return c}function Q(a,c){for(var d=0,e=c;e--;)d=d<<1|ga(a);c&&(d=b.ka.Ha.yE[d]>>8-c);return d}function ha(a,c){a.AE[a.yh++]=c;a.Ht.push(String.fromCharCode(c));32768==a.yh&&(a.yh=0)} function ia(a){for(;;){if(a.jp[a.Lh]>=a.jN)return-1;if(a.hN[a.jp[a.Lh]]==a.Lh)return a.jp[a.Lh]++;a.jp[a.Lh]++}}function ja(a){var c=a.Vz[a.eu],d;if(17==a.Lh)return-1;a.eu++;a.Lh++;d=ia(a);if(0<=d)c.mx=d;else if(c.mx=32768,ja(a))return-1;d=ia(a);if(0<=d)c.nx=d,c.NF=null;else if(c.nx=32768,c.NF=a.Vz[a.eu],c.y1=a.eu,ja(a))return-1;a.Lh--;return 0}function ka(a,c,d,e){a.Vz=c;a.eu=0;a.hN=e;a.jN=d;for(c=0;17>c;c++)a.jp[c]=0;a.Lh=0;return ja(a)?-1:0} function ma(a,c){for(var d,e,f=0,g=c[f];;)if(d=ga(a)){if(!(g.nx&32768))return g.nx;g=g.NF;d=c.length;for(e=0;e>1,23e)ha(a,e);else if(256==e)break;else{var h;e-=257;g=Q(a,b.ka.Ha.LM[e])+b.ka.Ha.KM[e];e=b.ka.Ha.yE[Q(a,5)]>>3;8e;e++)k[e]=0;for(e=0;ee)k[f++]=e;else if(16==e){var p;e=3+Q(a,2);if(f+e>g){a.yh=0;return}for(p=f?k[f-1]:0;e--;)k[f++]=p}else{e=17==e?3+Q(a,3):11+Q(a,7);if(f+e>g){a.yh=0;return}for(;e--;)k[f++]= 0}g=a.vt.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.nt=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.Bh()}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.uR,g=[],h=0,k;k=W[c.length];g[h++]=k&65535;g[h++]=k>>16&255;g[h++]=k>>24;var m;switch(J){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.sp=N.ey;var d={},e;!c&&(c={})||"number"!== typeof c.ME||(this.sp=c.ME);for(e in c)d[e]=c[e];d.Ay=this.a;this.z=new h(this.input,d)}function t(c,d){this.fy=[];this.py=32768;this.Jg=this.g=this.C=this.Hy=0;this.input=z?new Uint8Array(c):c;this.qG=!1;this.ty=pa;this.eH=!1;if(d||!(d={}))d.index&&(this.C=d.index),d.BE&&(this.py=d.BE),d.CE&&(this.ty=d.CE),d.resize&&(this.eH=d.resize);switch(this.ty){case Aa:this.b=32768;this.a=new (z?Uint8Array:Array)(32768+this.py+258);break;case pa:this.b=0;this.a=new (z?Uint8Array:Array)(this.py);this.Bh=this.GR; this.RG=this.wR;this.wy=this.AR;break;default:a(Error("invalid inflate mode"))}}function v(c,d){for(var e=c.g,f=c.Jg,g=c.input,h=c.C,k;f>>d;c.Jg=f-d;c.C=h;return e&(1<>>16;c.g=e>>k;c.Jg=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)(Da.length),k;for(k=0;k>>8&255]<<16|K[a>>>16&255]<<8|K[a>>>24&255])>>32-c:K[a]>>8-c);if(8>c+g)h=h<>c-d-1&1,8===++g&&(g=0,e[f++]=K[h],h=0,f===e.length&&(e=this.Bh()));e[f]=h;this.buffer=e;this.nt=g;this.index=f};e.prototype.finish=function(){var a=this.buffer,c=this.index,d; 0x;++x){for(var F=x,L=F,M=7,F=F>>>1;F;F>>>=1)L<<=1,L|=F&1,--M;D[x]=(L<>>0}var K=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,ey:P,T6:3},T=[];for(x=0;288>x;x++)switch(J){case 143>=x:T.push([x+48,8]);break;case 255>=x:T.push([x-144+400,9]);break;case 279>=x:T.push([x-256+0,7]);break;case 287>=x:T.push([x-280+192,8]);break;default:a("invalid literal: "+x)}h.prototype.il=function(){var c,d,f,g,h=this.input;switch(this.sp){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,M>E-3&&M=M?(N[L++]=17,N[L++]=M-3,D[17]++):(N[L++]=18,N[L++]=M-11,D[18]++),E-=M;else if(N[L++]=c[I],D[c[I]]++,E--,3>E)for(;0E?E:6,M>E-3&&MI;I++)m[I]=D[B[I]];for(y=19;4=S;S++)F=m(),x[S]=F[2]<<24|F[1]<<16|F[0];var W=z?new Uint32Array(x):x,N=D;u.prototype.il=function(){var c,e,f,g,h=0;g=this.a;c=la;switch(c){case la:e=Math.LOG2E*Math.log(32768)-8;break;default:a(Error("invalid compression method"))}e=e<<4|c;g[h++]=e;switch(c){case la:switch(this.sp){case N.NONE:f=0;break;case N.r:f=1;break; case N.ey: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.il();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)).il()});c("Zlib.Deflate.CompressionType", N);c("Zlib.Deflate.CompressionType.NONE",N.NONE);c("Zlib.Deflate.CompressionType.FIXED",N.r);c("Zlib.Deflate.CompressionType.DYNAMIC",N.ey);var Aa=0,pa=1,D={UQ:Aa,GQ:pa};t.prototype.By=function(){for(;!this.qG;){var c=v(this,3);c&1&&(this.qG=J);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.Jg=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.ty){case Aa: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.Bh();f=this.b}break;case pa:for(;f+h>e.length;)e=this.Bh({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.wy(La,Ma);break;case 2:y(this);break;default:a(Error("unknown BTYPE: "+c))}}return this.RG()};x=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];var Da=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 Ea=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 qa=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 Fa=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 ra=z?new Uint8Array(x):x;x=new (z?Uint8Array:Array)(288);F=0;for(L=x.length;F=F?8:255>=F?9:279>=F?7:8;var La=g(x);x=new (z?Uint8Array:Array)(30);F=0;for(L=x.length;Fg)e>=f&&(this.b=e,d=this.Bh(),e=this.b),d[e++]=g;else for(g-=257,k=Ea[g],0=f&&(this.b=e,d=this.Bh(),e=this.b);k--;)d[e]=d[e++-h];for(;8<=this.Jg;)this.Jg-=8,this.C--;this.b=e};t.prototype.AR=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.Bh(),f=d.length), d[e++]=g;else for(g-=257,k=Ea[g],0f&&(d=this.Bh(),f=d.length);k--;)d[e]=d[e++-h];for(;8<=this.Jg;)this.Jg-=8,this.C--;this.b=e};t.prototype.Bh=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.GR=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.rR&&(d+=a.rR));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.By=function(){var c=this.input,e,f;e=this.XG.By();this.C=this.XG.C;this.YR&&(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.o5=D.GQ;D.M5=D.UQ;c("Zlib.Inflate.prototype.decompress",B.prototype.By);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.Za++]));a=f.join("");switch(a){case "IHDR":this.width=this.Jj();this.height=this.Jj();this.Vo=this.data[this.Za++];this.KE=this.data[this.Za++];this.Za++;this.Za++;this.Za++;break;case "acTL":this.xE={Xfa:this.Jj(),Yfa:this.Jj()||Infinity,frames:[]};break;case "PLTE":this.dG= this.Lt(c);break;case "fcTL":e&&this.xE.frames.push(e);this.Za+=4;e={width:this.Jj(),height:this.Jj(),oQ:this.Jj(),pQ:this.Jj()};a=this.SO();c=this.SO()||100;e.P9=1E3*a/c;e.c$=this.data[this.Za++];e.s9=this.data[this.Za++];e.data=[];break;case "IDAT":case "fdAT":"fdAT"===a&&(this.Za+=4,c-=4);a=(null!=e?e.data:void 0)||this.Vx;for(f=0;0<=c?fc;0<=c?++f:--f)a.push(this.data[this.Za++]);break;case "tRNS":this.gn={};switch(this.KE){case 3:this.gn.yF=this.Lt(c);c=255-this.gn.yF.length;if(0c;0<=c?++a:--a)this.gn.yF.push(255);break;case 0:this.gn.ada=this.Lt(c)[0];break;case 2:this.gn.yha=this.Lt(c)}break;case "tEXt":f=this.Lt(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.xE.frames.push(e);a:{switch(this.KE){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.UN=4===(d=this.KE)||6===d;d=this.t+(this.UN?1:0);this.B2=this.Vo*d;Uint8Array!= Array&&(this.Vx=new Uint8Array(this.Vx));return;default:this.Za+=c}this.Za+=4;if(this.Za>this.data.length)throw Error("Incomplete or corrupt PNG file");}},Lt:function(a){var c,d;d=[];for(c=0;0<=a?ca;0<=a?++c:--c)d.push(this.data[this.Za++]);return d},Jj:function(){var a,c,d,e;a=this.data[this.Za++]<<24;c=this.data[this.Za++]<<16;d=this.data[this.Za++]<<8;e=this.data[this.Za++];return a|c|d|e},SO:function(){var a,c;a=this.data[this.Za++]<<8;c=this.data[this.Za++];return a|c},SZ:function(a){var c, d,e,f,g,h,k,m,p,r,s,u,t,v,w;null==a&&(a=this.Vx);if(0===a.length)return new Uint8Array(0);a=(new Zlib.sn(a,{index:0,mQ:!1})).PM();m=this.B2/8;u=m*this.width;p=new Uint8Array(u*this.height);h=a.length;for(d=r=s=0;r=f*d)!1===this.WF?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")}},G_: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}},OO:function(a){var c=this.getUint16(a),d=[];a+=2;for(var e=0;e=E?K=E+1:-127<=E&&-1>=E?P=-E+1:z=!0}else{for(var T=this.getUint8(y+G),E=0;Ea?a:200;else{if(a>this.rv){var c=b.Cb.BYTES_PER_ELEMENT;this.lb=new Uint16Array(6*a);var d=new ArrayBuffer(a*c),e=this.Jk;e.length=0;for(var f=this.Fc,g=f.length=0;g=this.ob},b5:function(a,c){var d=null;this.W?(d=this.W.textureAtlas.quads[this.atlasIndex+ a.atlasIndex],this.W.textureAtlas.dirty=!0):d=this.Fc[this.nf];var e,f,g,h;this.Qa?(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.G.t;k.r=e;k.g=f;k.b=g;k.a=h;k=d.N.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.K.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.Yf(a.rotation),p=Math.cos(m),m=Math.sin(m);d.G.i.x=f*p-g*m+h;d.G.i.y=f*m+g*p+k;d.N.i.x= e*p-g*m+h;d.N.i.y=e*m+g*p+k;d.M.i.x=f*p-e*m+h;d.M.i.y=f*m+e*p+k;d.K.i.x=e*p-e*m+h;d.K.i.y=e*m+e*p+k}else d.G.i.x=c.x-e,d.G.i.y=c.y-e,d.N.i.x=c.x+e,d.N.i.y=c.y-e,d.M.i.x=c.x-e,d.M.i.y=c.y+e,d.K.i.x=c.x+e,d.K.i.y=c.y+e},H2:function(){if(b.A===b.Z){var a=b.k;a.bindBuffer(a.ARRAY_BUFFER,this.vc[0]);a.bufferData(a.ARRAY_BUFFER,this.ad,a.DYNAMIC_DRAW)}},update:function(a){if(this.ro&&this.Gm){var c=1/this.Gm;this.udc;)this.bZ(),this.Sl-=c;this.kb+=a; -1!=this.duration&&this.duratione.yd&&(this.HW(f+d),e.fN(e.yd-d,d));a.np()+d!=f&&e.CO(c,c+d);e.WN(d);this.dE()},removeChild:function(a,c){if(null!=a){if(!(a instanceof b.m))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.a3(a.np(),a.ob);d.fN(d.totalQuads,a.ob);a.nl(null);this.dE()}}},Mp:function(a,c){if(!a)throw"cc.ParticleBatchNode.reorderChild(): child should be non-null";if(!(a instanceof b.m))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},dW: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{DO:f+h,EO:g}},XU: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.RX(c);this.s.splice(e,0,a);a.tag=d;a.Lw(c);a.parent=this;this.qh&&(a.ba(),a.Mh());return e}, Wf:function(){this.textureAtlas.texture.Ai()||(this.o.src=b.SRC_ALPHA,this.o.U=b.ONE_MINUS_SRC_ALPHA)},oF:function(){return this.textureAtlas},IG:function(a){this.textureAtlas=a}});n=b.Uz.prototype;b.f(n,"texture",n.Oa,n.qb);b.Uz.create=function(a,c){return new b.Uz(a,c)};b.A6=function(a,c,d){this.zh=a||O(0,0,0,0);this.end=c||O(0,0,0,0);this.duration=d||0};b.z6=b.ja.extend({ctor:function(){b.Bi.sM(this)},Jy:function(){b.Bi.Jy(this)},uZ:function(){return b.Bi.vM(this)},XM:function(){return b.Bi.WM(this)},FE:function(){return!1},VZ:function(){},GE:function(){return!1},WZ:function(){},iO:function(){},TM:function(){},dF:function(){return""},F1:function(){},D1:function(){},E1:function(){},C1:function(){}}); b.Hz=b.ja.extend({kc:null,Ua:null,Zi:"",Yl:null,ctor:function(){this.Ua=new b.Hz.FR;this.Yl=C(0,0)},F:function(){if(!b.rb.Dj){this.kc=b.vb("#imeDispatcherInput");this.kc||(this.kc=b.qQ(),this.kc.setAttribute("type","text"),this.kc.setAttribute("id","imeDispatcherInput"),this.kc.resize(0,0),this.kc.cQ(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.$C(a.kc.value)},!1);b.Ja(this.kc,"keydown",function(c){c.keyCode===b.Fq.K4?(c.stopPropagation(),c.preventDefault()):c.keyCode==b.Fq.dN&&(a.et("\n",1),c.stopPropagation(),c.preventDefault())},!1);/msie/i.test(navigator.userAgent)&&b.Ja(this.kc,"keyup",function(c){c.keyCode==b.Fq.xM&&a.$C(a.kc.value)},!1);b.Ja(window,"mousedown",function(c){var d=c.pageY||0;a.Yl.x=c.pageX||0;a.Yl.y=d},!1)}},$C:function(a){var c,d;c=this.Zi.length=c||this.Ua.he&&this.Ua.he.iO(a,c)},YM:function(){this.Ua&&this.Ua.he&&this.Ua.he.TM()},dF:function(){if(this.Ua&&this.Ua.he){var a=this.Ua.he.dF();return a?a:""}return""},b$:function(){if(this.Ua)for(var a=0;aa?a==b.Fq.xM?this.YM(): a==b.Fq.dN&&this.et("\n",1):255>a&&this.et(String.fromCharCode(a),1)}});b.Hz.FR=b.ja.extend({he:null,yg:null,ctor:function(){this.yg=[]},baa:function(a){for(var c=0;c=a?(this.Of="",this.Av=0,b.$.prototype.Cc.call(this,this.dm)):this.string=this.Of.substring(0,a-1))},Jy:function(){b.Bi.Jy(this)},iO: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)}},e9: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.Ec?(this.Sc==a&&(this.Sc=null),b.q.prototype.removeChild.call(this,a,c)):b.log("cc.Menu.removeChild():Menu only supports MenuItem objects as children"))},pX:function(a,c){var d=c.Pc;if(d.Yd!=b.Iq||!d.Ac||!d.enabled)return!1;for(var e= d.parent;null!=e;e=e.parent)if(!e.Ac)return!1;d.Sc=d.RK(a);return d.Sc?(d.Yd=b.Hq,d.Sc.selected(),!0):!1},rX:function(a,c){var d=c.Pc;d.Yd!==b.Hq?b.log("cc.Menu.onTouchEnded(): invalid state"):(d.Sc&&(d.Sc.Ph(),d.Sc.Ts()),d.Yd=b.Iq)},qX:function(a,c){var d=c.Pc;d.Yd!==b.Hq?b.log("cc.Menu.onTouchCancelled(): invalid state"):(this.Sc&&d.Sc.Ph(),d.Yd=b.Iq)},tX:function(a,c){var d=c.Pc;if(d.Yd!==b.Hq)b.log("cc.Menu.onTouchMoved(): invalid state");else{var e=d.RK(a);e!=d.Sc&&(d.Sc&&d.Sc.Ph(),d.Sc=e,d.Sc&& d.Sc.selected())}},ub:function(){this.Yd==b.Hq&&(this.Sc&&(this.Sc.Ph(),this.Sc=null),this.Yd=b.Iq);b.q.prototype.ub.call(this)},Jd:function(){},ue:function(){return!1},RK:function(a){a=a.ht();var c=this.s,d;if(c&&0c)return!1;a=new b.FQ(a);a.Wy(e);d.type=a.S();e+=10;if(e+4+1>c)return!1;a.Wy(e);d.width=a.Q2();d.height=a.P2();d.pixelDepth=a.S();if(e+5+1>c)return!1;c=a.S();d.iN=0;c&32&&(d.iN=1);return!0};b.lka=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.vf=b.lv(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.lv(a,s,s+e);s+=e;3<=e&&(k=p[0],p[0]=p[2],p[2]=k)}for(k=0;k>3;this.pV(d);var d=Math.pow(2,c-1)-1,f=this.cD(a+c,1,e),g=this.cD(a,c,e),h=0,k=2,m=0;do for(var p=this.Ew(++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)},Ew:function(a,c){return this.Wn[this.la+c-a-1]},Iv:function(a,c){var d=this.cD(0,a,a/8),e=Math.pow(2,a);this.la+=a/8;return c&&d>=e/2?d-e:d},BY:function(a,c){for(++c;--c;a=1073741824==((a%=2147483648)&1073741824)?2*a:2*(a-1073741824)+2147483648);return a},cD: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.Ew(g,d)>>f&(1<<(h?8-f:c))-1;for(h&&e&&(c+=(this.Ew(a++,d)&(1<>>0>=g.Jm)return g}}b.log("cocos2d: Warning: TMX Layer "+a.name+" has no tiles");return null}});n=b.tA.prototype;b.f(n,"mapWidth",n.dC,n.wD);b.f(n,"mapHeight",n.cC,n.vD);b.f(n,"tileWidth",n.Pr,n.rs);b.f(n,"tileHeight",n.Or,n.qs);b.tA.create=function(a,c){return new b.tA(a,c)};b.ST=0;b.B7=1;b.A7=2;b.D7=3;b.C7=4;b.E7=5;b.Zq=2147483648;b.$q=1073741824;b.pI=536870912;b.qI=(b.Zq|b.$q|b.pI)>>>0;b.uA=~b.qI>>>0;b.Hl=b.ja.extend({Lb:null,name:"",sa:null,Ke:null,visible:null,Vd:null,IO:!0,$l:1E5,Zl:0,offset:null,ctor:function(){this.Lb=[];this.name="";this.sa=null;this.Ke=[];this.visible=!0;this.Vd=0;this.IO=!0;this.$l=1E5;this.Zl=0;this.offset=C(0,0)},Hx:function(){return this.Lb},Xy:function(a){this.Lb=a}}); b.RT=b.ja.extend({name:"",Jm:0,Jb:null,Yt:0,margin:0,RP:"",Ux:null,ctor:function(){this.Jb=H(0,0);this.Ux=H(0,0)},Mt:function(a){var c=O(0,0,0,0);c.width=this.Jb.width;c.height=this.Jb.height;a&=b.uA;a-=parseInt(this.Jm,10);var d=parseInt((this.Ux.width-2*this.margin+this.Yt)/(this.Jb.width+this.Yt),10);c.x=parseInt(a%d*(this.Jb.width+this.Yt)+this.margin,10);c.y=parseInt(parseInt(a/d,10)*(this.Jb.height+this.Yt)+this.margin,10);return c}}); b.Yq=b.Su.extend({Lb:null,orientation:null,parentElement:null,Fy:null,qy:0,PG:!1,Zp:null,PE:null,tw:null,$c:null,Jb:null,ke:null,pm:null,vj:null,Hw:"",BJ:0,ctor:function(a,c){b.Su.prototype.ctor.apply(this);this.$c=H(0,0);this.Jb=H(0,0);this.ke=[];this.pm=[];this.tw=[];this.Lb=[];this.vj={};this.BJ=0;void 0!==c?this.EF(a,c):void 0!==a&&this.DF(a)},Mba:function(){return this.orientation},Oia:function(a){this.orientation=a},iF:function(){return H(this.$c.width,this.$c.height)},vP:function(a){this.$c.width= a.width;this.$c.height=a.height},dC:function(){return this.$c.width},wD:function(a){this.$c.width=a},cC:function(){return this.$c.height},vD:function(a){this.$c.height=a},rp:function(){return H(this.Jb.width,this.Jb.height)},KP:function(a){this.Jb.width=a.width;this.Jb.height=a.height},Pr:function(){return this.Jb.width},rs:function(a){this.Jb.width=a},Or:function(){return this.Jb.height},qs:function(a){this.Jb.height=a},sba:function(){return this.ke},J3:function(a){this.ke.push(a)},Eca:function(){return this.pm}, i4:function(a){this.pm.push(a)},uN:function(){return this.tw},wP:function(a){this.tw.push(a)},Rba:function(){return this.parentElement},Tia:function(a){this.parentElement=a},Sba:function(){return this.Fy},Uia:function(a){this.Fy=a},oba:function(){return this.qy},xia:function(a){this.qy=a},uca:function(){return this.PG},kja:function(a){this.PG=a},Hx:function(){return this.Lb},Xy:function(a){this.Lb=a},DF:function(a){this.JK(a,null);return this.eG(a)},EF:function(a,c){this.JK(null,c);return this.x2(a)}, eG:function(a,c){var d=(c=c||!1)?a:b.V.Fd(a);if(!d)throw"Please load the resource first : "+a;var e,f,d=this.KC(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.$u:"isometric"==f?this.orientation=b.Zu:"hexagonal"==f?this.orientation=b.Yu:null!==f&&b.log("cocos2d: TMXFomat: Unsupported orientation:"+f),e=H(0,0),e.width=parseFloat(d.getAttribute("width")), e.height=parseFloat(d.getAttribute("height")),this.vP(e),e=H(0,0),e.width=parseFloat(d.getAttribute("tilewidth")),e.height=parseFloat(d.getAttribute("tileheight")),this.KP(e),f=d.querySelectorAll("map \x3e properties \x3e property"))){var g={};for(e=0;ethis.bL){this.Uw||(this.Uw=[]);this.Vw||(this.Vw=[]);this.Tk=Math.ceil(d/this.bL);d=this.Uw;for(f=0;f=this.sa.width||a.y>=this.sa.height||0>a.x||0>a.y)throw"cc.TMXLayer.getTileAt(): invalid position";if(!this.Md||!this.Qd)return b.log("cc.TMXLayer.getTileAt(): TMXLayer: the tiles map has been released"),null;var d=null,e=this.pF(a);if(0===e)return d;var f=0|a.x+a.y*this.sa.width,d=this.Dh(f);d||(e=this.lg.Mt(e),e=b.Kj(e),d=new b.Q,d.ta(this.texture, e),d.batchNode=this,d.P(this.Gx(a)),d.vertexZ=this.oM(a),d.anchorX=0,d.anchorY=0,d.opacity=this.Vd,e=this.fB(f),this.cZ(d,e,f));return d},pF:function(a,c){if(!a)throw"cc.TMXLayer.getTileGIDAt(): pos should be non-null";void 0!==c&&(a=C(a,c));if(a.x>=this.sa.width||a.y>=this.sa.height||0>a.x||0>a.y)throw"cc.TMXLayer.getTileGIDAt(): invalid position";return this.Md&&this.Qd?(this.Md[0|a.x+a.y*this.sa.width]&b.uA)>>>0:(b.log("cc.TMXLayer.getTileGIDAt(): TMXLayer: the tiles map has been released"),null)}, J0:function(a,c){if(!a)throw"cc.TMXLayer.getTileFlagsAt(): pos should be non-null";void 0!==c&&(a=C(a,c));if(a.x>=this.sa.width||a.y>=this.sa.height||0>a.x||0>a.y)throw"cc.TMXLayer.getTileFlagsAt(): invalid position";return this.Md&&this.Qd?(this.Md[0|a.x+a.y*this.sa.width]&b.qI)>>>0:(b.log("cc.TMXLayer.getTileFlagsAt(): TMXLayer: the tiles map has been released"),null)},rja:function(a,c,d,e){if(!c)throw"cc.TMXLayer.setTileGID(): pos should be non-null";void 0!==e?c=C(c,d):e=d;if(c.x>=this.sa.width|| c.y>=this.sa.height||0>c.x||0>c.y)throw"cc.TMXLayer.setTileGID(): invalid position";if(this.Md&&this.Qd)if(0!==a&&a>>0,0===a)this.b3(c);else if(0===f)this.VW(d,c);else{var f=c.x+c.y*this.sa.width,g=this.Dh(f);g?(a=this.lg.Mt(a),a=b.Kj(a),g.hb(a,!1),null!=e&&this.Nw(g,c,d),this.Md[f]=d):this.ZY(d,c)}}else b.log("cc.TMXLayer.setTileGID(): TMXLayer: the tiles map has been released")}, b3:function(a,c){if(!a)throw"cc.TMXLayer.removeTileAt(): pos should be non-null";void 0!==c&&(a=C(a,c));if(a.x>=this.sa.width||a.y>=this.sa.height||0>a.x||0>a.y)throw"cc.TMXLayer.removeTileAt(): invalid position";if(!this.Md||!this.Qd)b.log("cc.TMXLayer.removeTileAt(): TMXLayer: the tiles map has been released");else if(0!==this.pF(a)){b.A===b.Da&&this.rh();var d=0|a.x+a.y*this.sa.width,e=this.fB(d);this.Md[d]=0;this.Qd.splice(e,1);if(d=this.Dh(d))b.ye.prototype.removeChild.call(this,d,!0);else if(b.A=== b.Z&&this.textureAtlas.$O(e),this.s)for(var d=this.s,f=0,g=d.length;f=e&&(h.atlasIndex=k-1)}}}},Gx:function(a,c){void 0!==c&&(a=C(a,c));var d=C(0,0);switch(this.zp){case b.$u:d=this.FX(a);break;case b.Zu:d=this.EX(a);break;case b.Yu:d=this.DX(a)}return b.gG(d)},kF:function(a){return this.Lb[a]},r4:function(){b.A===b.Da?this.lg.Ux=this.le.O:(this.lg.Ux=this.textureAtlas.texture.O,this.textureAtlas.texture.tG());this.yX();b.A===b.Da&&this.rh();for(var a= this.sa.height,c=this.sa.width,d=0;d=this.lg.Jm&&this.$l>=this.lg.Jm||b.log("cocos2d:TMX: Only 1 tileset per layer is supported")},I: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.Da&&this.rh();var d=a.atlasIndex;this.Md[this.Qd[d]]=0;this.Qd.splice(d,1);b.ye.prototype.removeChild.call(this,a,c)}},pba:function(){return this.ry},yia:function(a){this.ry=a},EX:function(a){return C(this.xc.width/2*(this.sa.width+a.x-a.y-1),this.xc.height/2*(2*this.sa.height-a.x-a.y-2))},FX:function(a){return C(a.x*this.xc.width,(this.sa.height-a.y-1)*this.xc.height)},DX:function(a){return C(a.x*this.xc.width*3/4,(this.sa.height-a.y-1)*this.xc.height+(1==a.x%2?-this.xc.height/2:0))},hV:function(a){var c= C(0,0);switch(this.zp){case b.$u:c=C(a.x*this.xc.width,-a.y*this.xc.height);break;case b.Zu:c=C(this.xc.width/2*(a.x-a.y),this.xc.height/2*(-a.x-a.y));break;case b.Yu:0===a.x&&0===a.y||b.log("offset for hexagonal map not implemented yet")}return c},aV:function(a,c){var d=this.lg.Mt(a),d=b.Kj(d),e=0|c.x+c.y*this.sa.width,d=this.kD(d);this.Nw(d,c,a);var f=this.Qd.length;this.ay(d,f);this.Qd.splice(f,0,e);return d},VW:function(a,c){var d=this.lg.Mt(a),d=b.Kj(d),e=0|c.x+c.y*this.sa.width,d=this.kD(d); this.Nw(d,c,a);var f=this.cV(e);this.ay(d,f);this.Qd.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},ZY:function(a,c){var d=this.lg.Mt(a),e=this.dh,d=O(d.x/e,d.y/e,d.width/e,d.height/e),e=c.x+c.y*this.sa.width,d=this.kD(d);this.Nw(d,c,a);d.atlasIndex=this.fB(e);d.dirty=!0;d.af();this.Md[e]=a;return d},yX:function(){var a=this.kF("cc_vertexz");if(a)if("automatic"==a){this.gE=!0;var c=this.kF("cc_alpha_func"), a=0;c&&(a=parseFloat(c));b.A===b.Z&&(this.shaderProgram=b.Ld.oc(b.Uu),c=b.k.getUniformLocation(this.shaderProgram.Nm(),b.ZI),this.shaderProgram.Mc(),this.shaderProgram.Vt(c,a))}else this.mE=parseInt(a,10)},Nw:function(a,c,d){var e=c.x+c.y*this.sa.width;a.P(this.Gx(c));b.A===b.Z?a.vertexZ=this.oM(c):a.tag=e;a.anchorX=0;a.anchorY=0;a.opacity=this.Vd;b.A===b.Z&&(a.rotation=0);a.Ry(!1);a.yG(!1);(d&b.pI)>>>0?(a.anchorX=0.5,a.anchorY=0.5,a.x=this.Gx(c).x+a.width/2,a.y=this.Gx(c).y+a.height/2,c=(d&(b.Zq| b.$q)>>>0)>>>0,c==b.Zq?a.rotation=90:c==b.$q?a.rotation=270:(a.rotation=c==(b.$q|b.Zq)>>>0?90:270,a.Ry(!0))):((d&b.Zq)>>>0&&a.Ry(!0),(d&b.$q)>>>0&&a.yG(!0))},kD:function(a){b.A===b.Z?(this.ph?(this.ph.batchNode=null,this.ph.hb(a,!1)):(this.ph=new b.Q,this.ph.ta(this.texture,a,!1)),this.ph.batchNode=this):(this.ph=new b.Q,this.ph.ta(this.Vk,a,!1),this.ph.batchNode=this,this.ph.parent=this);return this.ph},oM:function(a){var c=0,d=0;if(this.gE)switch(this.zp){case b.Zu:d=this.sa.width+this.sa.height; c=-(d-(a.x+a.y));break;case b.$u:c=-(this.sa.height-a.y);break;case b.Yu:b.log("TMX Hexa zOrder not supported");break;default:b.log("TMX invalid value")}else c=this.mE;return c},fB:function(a){var c;if(this.Qd)for(var d=this.Qd,e=0,f=d.length;e=this.xC)return b.log("Error: "+a+" greater than "+this.xC),null;c=this.VB(a);if(!c)return null;c=c.cloneNode(!0);this.uk&&b.Ja(c, "pause",this.uk);c.volume=this.Qv;d.push(c)}return c},D2:function(a,c){var d=this.zK(a);if(!d)return null;d.loop=c||!1;d.play();var e=this.qJ++;this.ie[e]=d;return e},jia:function(a){a=this.Qv=Math.min(Math.max(a,0),1);var c=this.ie,d;for(d in c)c[d].volume=a},A2:function(a){(a=this.ie[a])&&!a.ended&&a.pause()},y2:function(){var a=this.ie,c;for(c in a){var d=a[c];d.ended||d.pause()}},h3:function(a){this.mj(this.ie[a])},g3:function(){var a=this.ie,c;for(c in a)this.mj(a[c])},G4:function(a){this.Sk(this.ie[a]); delete this.ie[a]},UP:function(){var a=this.ie,c;for(c in a)this.Sk(a[c]),delete a[c]},W4:function(a){var c=b.V,d=this.ie,e=this.YB(a);c.Ki(a);if(0!=e.length){c=e[0].src;delete this.rr[a];for(var f in d)d[f].src==c&&(this.Sk(d[f]),delete d[f])}},end:function(){this.H4();this.UP()},jL:function(){var a=this.ie,c,d;for(d in a)!(c=a[d])||c.ended||c.paused||(this.js.push(c),c.pause());this.KF()&&(this.js.push(this.Sd),this.Sd.pause())},BL:function(){for(var a=this.js,c=0,d=a.length;cb.rb.KY&&(b.dH=b.cH.extend({Zk:[],is:[],Hf:null,xC:2,Pv:{},bm:!1,co:0,oC:!1,MC:function(a){this.QD();this._super(a)},i3:function(){1==this.kf&&(this.QD(),this.bm=!1,this.co=0,this._super())},D2:function(a,c){var d=this.Hf,e=c?this.zK(a):this.zW(a);if(!e)return null;e.loop=c||!1;var f=this.qJ++;this.ie[f]=e;this.KF()&&(this.PO(),this.bm=!0);d?(d!=e&&this.Zk.push(this.Vn),this.Zk.push(f),d.pause()):(this.Hf=e,this.Vn=f,e.play());return f},A2:function(){b.log("pauseEffect not supported in single audio mode!")},y2:function(){var a= this.Zk,c=this.is,d=this.Hf;if(d){for(var e=0,f=a.length;eNa||Math.abs(e-g)>Oa?!1:b.R2(a.sx(d,e),c.sx(f,g))},FZ:function(){this.pi.active||(this.Yd=STATE_GAMEOVER,this.pi=null,X>Ca&&(Ca=X,b.rb.localStorage.setItem("bestScore",Ca)),this.Ga(b.ua.create(b.qc.create(1),b.wb.create(this.l2,this))),dp_submitScore(X))},d5:function(){this.Gs=Ka&&(this.Tn=-1,this.vk.visible=!1);this.Yr.Cc("\u5f97\u5206: "+this.Gs)},FO:function(a){this.vk.Cc(a);this.vk.Kb({visible:!0});a=b.Xc.create(0.2,1.2);var c=b.Xc.create(0.1, 1);a=b.ua.create(a,c);this.vk.Ga(a)},l2:function(){var a=b.df.create();a.I(Pa.create());b.D.ll(b.Jl.create(1.2,a))}});ta.create=function(){var a=new ta;return a&&a.F()?a:null};ta.rG=function(){var a=b.df.create(),c=ta.create();a.I(c,1);return a};var Ka=2,X=0,Ca=0,Na=40,Oa=40,$=0.3,Ia=1E3,Ba=[],wa=[],ya=[],Qa=[{Bn:0,Wu:"Sperm01.png",Wc:1,fI:1,Vu:100}],Ra=[{Bn:0,Wu:"Enemy01.png",Wc:1,Vu:100},{Bn:1,Wu:"Enemy02.png",Wc:1,Vu:300}],Sa=[{mn:4,zn:8,yn:200},{mn:8,zn:8,yn:1E3},{mn:16,zn:8,yn:4E3},{mn:32,zn:8,yn:12E3},{mn:48,zn:8,yn:0}],xa=0,za=0;var Ha=b.Q.extend({cq:3E3,active:!0,Wc:1,ctor:function(){this._super("#Player01.png");this.tag=this.cq;this.x=V.width/2;this.y=V.height/2},update:function(){0>=this.Wc&&(this.active=!1,this.al())},Sx:function(){this.Wc--},al:function(){this.visible=!1;Z.wN(this.x,this.y)},sx:function(a,c){return O(a,c,this.width,this.height)}});var Y=b.Q.extend({active:!0,SP:1,speed:200,Wc:1,Rh:0,Sh:0,Qt:1,cq:2E3,direction:1,ctor:function(a){this._super("#"+a.Wu);this.Qt=a.fI;this.SP=a.Bn;this.Wc=a.Wc;this.speed=a.Vu},update:function(a){if(this.active){var c=this.x,d=this.y;this.x=c-this.Rh*a;this.y=d-this.Sh*a;(0>c||c>V.width||dV.height||0>=this.Wc)&&this.al()}},Sx:function(){this.Wc--},al:function(){0==this.Wc&&(X+=this.Qt+(0c;c++)a=Y.create(Qa[0]),a.visible=!1,a.active=!1};var Ja=b.Q.extend({active:!0,cN:1,speed:200,Wc:1,Rh:0,Sh:0,Qt:1,cq:1E3,direction:1,ctor:function(a){this._super("#"+a.Wu);this.Qt=a.fI;this.cN=a.Bn;this.Wc=a.Wc;this.speed=a.Vu},update:function(a){if(this.active){var c=this.x,d=this.y;this.x=c-this.Rh*a;this.y=d-this.Sh*a;(0>c||c>V.width||dV.height||0>=this.Wc)&&this.al()}},Sx:function(){this.Wc--},al:function(){this.visible=this.active=!1;this.$t();za--},sx:function(a,c){return O(a,c,this.width,this.height)}}); Ja.q0=function(a){for(var c=null,d=0;dc;c++)a=Ja.create(Ra[0]),a.visible=!1,a.active=!1};var Ga=b.ja.extend({sk:null,UB:null,nw:0,ctor:function(a){if(!a)throw"gameLayer must be non-nil";this.sk=Sa[this.nw];this.UB=a},e2:function(){0!=this.sk.yn&&this.UB.Gs>this.sk.yn&&(this.nw+=1,this.sk=Sa[this.nw],this.UB.FO("\u5347\u7ea7!!!"));if(xac;c++)a=Z.create(),a.active=!1};var Pa=b.Od.extend({Qja:null,Jfa:null,F:function(){var a=!1;if(this._super()){a=b.Vj.create("\u4f60\u62ef\u6551\u7cbe\u5b50\u6570\u91cf: "+X,"./vapp/60/font-24.fnt");a.x=V.width/2;a.y=V.height/2+100;this.I(a);a=b.Vj.create("\u4f60\u6700\u9ad8\u62ef\u6551\u7cbe\u5b50\u6570\u91cf: "+Ca,"./vapp/60/font-24.fnt");a.x=V.width/2;a.y=V.height/2+50;this.I(a);a=b.Xj.create("#Again01.png","#Again02.png",function(){this.o2()},this);a.Kb({x:V.width/2,y:V.height/2});var c=b.Xj.create("#Share01.png","#Share02.png", function(){this.GO()},this);c.Kb({x:V.width/2,y:V.height/2-50});var d=b.Xj.create("#MoreGame01.png","#MoreGame02.png",function(){this.YF()},this);d.Kb({x:V.width/2,y:V.height/2-100});menu=b.Wj.create(a,c,d);menu.x=0;menu.y=0;this.I(menu);shareBgSprite=b.Q.create();shareBgSprite.hb(O(0,0,V.width,V.height));shareBgSprite.color=b.color(0,0,0);shareBgSprite.opacity=200;shareBgSprite.Kb({x:0,y:0,anchorX:0,anchorY:0});shareBgSprite.visible=!1;a=b.Q.create("#Share03.png");a.Kb({anchorX:1,anchorY:1,x:V.width, y:V.height});shareBgSprite.I(a);this.I(shareBgSprite,10);a=b.pa.create({event:b.pa.ar,Xp:!0,Tm:function(a,c){var d=c.Pc;if(d.visible){var h=b.wb.create(function(){d.visible=!1;menu.Id(!0)},this),h=b.ua.create(b.yl.create(0.7),h);d.Ga(h)}}});b.ra.addListener(a,shareBgSprite);a=!0}return a},o2:function(){var a=b.df.create();a.I(ta.create());a.I(ua.create());b.D.ll(b.Jl.create(1.2,a))},GO:function(){dp_share();},YF:function(){clickMore();}});Pa.create=function(){var a=new Pa;return a&&a.F()?a:null};Pa.rG=function(){var a=b.df.create(),c=Pa.create();a.I(c);return a};logoData=""; Loading=b.df.extend({ej:null,Zr:0,Pl:0,ac:null,tb:"Loading",F:function(){var a=this,c=200,d=a.mB=b.jd.create(b.color(0,0,0,255));d.P(b.Ni.ox);a.I(d,0);var e=24,f=-c/2+100;b.uC&&(b.V.Bp(logoData,{dy:!1},function(d,e){c=e.height;a.jC(e,b.Ni.Xo)}),e=14,f=-c/2-10);e=a.ac=b.$.create("Loading... 0%","Arial",e);e.P(b.Nh(b.Ni.Xo,C(0,f)));e.$a(b.color(180,180,180));d.I(this.ac,10);return!0},jC:function(a,c){var d=new b.da;d.sd(a);d.Nb();d=b.Q.create(d);d.dn(b.pb());d.x=c.x;d.y=c.y;this.mB.I(d,10)},ba:function(){b.q.prototype.ba.call(this); this.Zm(this.vs,0.3)},ub:function(){b.q.prototype.ub.call(this);this.ac.Cc("Loading... 0%")},AF:function(a,c){"string"==typeof a&&(a=[a]);this.oG=a||[];this.ed=c},vs:function(){var a=this;a.fu(a.vs);var c=a.oG;a.Zr=c.length;a.Pl=0;b.V.load(c,function(c,e){a.Pl=e},function(){a.ed&&a.ed()});a.Zm(a.Ks)},Ks:function(){var a=this.Pl,c=this.Zr,d;d=Math.min(a/c*100|0,100);this.ac.Cc("Loading... "+d+"%");a>=c&&this.fu(this.Ks)}}); Loading.Gy=function(a,c){var d=b;d.Gq||(d.Gq=new Loading,d.Gq.F());d.Gq.AF(a,c);b.D.ll(d.Gq);return d.Gq};b.Ic.ZF=function(){b.view.dZ(!0);b.view.wG(320,480,b.cf.SHOW_ALL);b.view.f3(!0);Loading.Gy(sa,function(){this.Ga(b.ua.create(b.qc.create(1),b.wb.create(function(){b.D.ll(b.Jl.create(1.2,new va.rG))},this)))},this)};b.Ic.k3();