12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070 |
- var b=b||{};b.F=b.F||{};b.e={};n=window;n=Object.prototype;delete window._p;b.Sb=function(a){return document.createElement(a)};b.Fa=function(a,c,d,e){a.addEventListener(c,d,e)};b.pK="undefined"!==typeof require&&require("fs");b.HM=function(a,c){if(a)if(a instanceof Array)for(var d=0,e=a.length;d<e&&!1!==c.call(void 0,a[d],d);d++);else for(d in a)if(!1===c.call(void 0,a[d],d))break};
- b.mx=function(a){if(!a)return b.log("invalid URL"),!1;var c=a.indexOf("://");if(-1==c)return!1;c=a.indexOf("/",c+3);return(-1==c?a:a.substring(0,c))!=location.origin};
- b.async={YI:function(a){var c=this.nM;if(!c.wE){var d=c.length,e=c.LO,f=c.lO,g=f.dd,h=f.iM,k=f.pG,f=f.Ika;if(a){if(c.wE=a,g)return g.call(h,a)}else{var m=Array.apply(null,arguments).slice(1),p=m.length;0==p?m=null:1==p&&(m=m[0]);e[this.index]=m;c.count--;k&&k.call(f,m,d-c.count,d);0==c.count&&g&&g.apply(h,[null,e])}}},LJ:function(){},cha:function(a,c,d){var e=b.async;if(void 0!==d)"function"==typeof c&&(c={pG:c}),c.dd=d||c.dd;else if(void 0!==c)"function"==typeof c&&(c={dd:c});else if(void 0!==a)c=
- {};else throw"arguments error!";var f=(d=a instanceof Array)?a.length:Object.keys(a).length;if(0==f)c.dd&&c.dd.call(c.iM,null);else{var g={length:f,count:f,lO:c,LO:d?[]:{}};b.HM(a,function(a,d){if(g.wE)return!1;var f=c.dd||c.pG?e.YI.bind({nM:g,index:d}):e.LJ;a(f,d)})}},map:function(a,c,d){var e=this,f=arguments.length;"function"==typeof c&&(c={jF:c});if(3===f)c.dd=d||c.dd;else if(2>f)throw"arguments error!";"function"==typeof c&&(c={jF:c});if(void 0!==d)c.dd=d||c.dd;else if(void 0===a)throw"arguments error!";
- var g=(f=a instanceof Array)?a.length:Object.keys(a).length;if(0===g)c.dd&&c.dd.call(c.iM,null);else{var h={length:g,count:g,lO:c,LO:f?[]:{}};b.HM(a,function(a,d){if(h.wE)return!1;var f=c.dd?e.YI.bind({nM:h,index:d}):e.LJ;c.jF.call(c.O1,a,d,f)})}}};
- b.path={join:function(){for(var a=arguments.length,c="",d=0;d<a;d++)c=(c+(""==c?"":"/")+arguments[d]).replace(/(\/|\\\\)$/,"");return c},Vk:function(a){return(a=/(\.[^\.\/\?\\]*)(\?.*)?$/.exec(a))?a[1]:null},mga:function(a){if(a){var c=a.lastIndexOf(".");if(-1!==c)return a.substring(0,c)}return a},vZ:function(a,c){var d=a.indexOf("?");0<d&&(a=a.substring(0,d));d=/(\/|\\\\)([^(\/|\\\\)]+)$/g.exec(a.replace(/(\/|\\\\)$/,""));if(!d)return null;d=d[2];return c&&a.substring(a.length-c.length).toLowerCase()==
- c.toLowerCase()?d.substring(0,d.length-c.length):d},dirname:function(a){return a.replace(/((.*)(\/|\\|\\\\))?(.*?\..*$)?/,"$2")},jM:function(a,c){c=c||"";var d=a.indexOf("?"),e="";0<d&&(e=a.substring(d),a=a.substring(0,d));d=a.lastIndexOf(".");return 0>d?a+c+e:a.substring(0,d)+c+e},Oo:function(a,c,d){if(0==c.indexOf("."))return this.jM(a,c);var e=a.indexOf("?"),f="";d=d?this.Vk(a):"";0<e&&(f=a.substring(e),a=a.substring(0,e));e=a.lastIndexOf("/");return a.substring(0,0>=e?0:e+1)+c+d+f}};
- b.U={vK:{},Kv:{},PW:{},Cl:{},Xx:"",sZ:"",Nf:{},Ww:function(){return window.XMLHttpRequest?new window.XMLHttpRequest:new ActiveXObject("MSXML2.XMLHTTP")},ZJ: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},z2:function(a,
- c,d){var e=this,f=e.vK,g=e.ZJ(arguments);-1<navigator.userAgent.indexOf("Trident/5")?e.AK(g[0],g[1],0,g[2]):b.async.map(g[1],function(a,c,d){a=b.path.join(g[0],a);if(f[a])return d(null);e.ZI(a,!1,d)},g[2])},gO:function(a,c,d){var e=this.UW(),f=this.ZJ(arguments);this.z2(f[0],f[1],function(a){if(a)throw a;e.parentNode.removeChild(e);if(f[2])f[2]()})},ZI:function(a,c,d){var e=document,f=b.Sb("script");f.async=c;f.src=a;this.vK[a]=!0;b.Fa(f,"load",function(){this.removeEventListener("load",arguments.callee,
- !1);d()},!1);b.Fa(f,"error",function(){d("Load "+a+" failed!")},!1);e.body.appendChild(f)},AK:function(a,c,d,e){if(d>=c.length)e&&e();else{var f=this;f.ZI(b.path.join(a,c[d]),!1,function(g){if(g)return e(g);f.AK(a,c,d+1,e)})}},UW:function(){var a=document,c=a.getElementById("cocos2d_loadJsImg");if(!c){c=b.Sb("img");b.CK&&(c.src=b.CK);a=a.getElementById(b.Kb.ne.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},Bx:function(a,c){if(b.pK)require("fs").sha(a,function(a,d){a?c(a):c(null,d.toString())});else{var d=this.Ww(),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)}},BK:function(a){if(b.pK)return require("fs").tha(a).toString();var c=this.Ww();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},hO:function(a,c){this.Bx(a,function(d,e){try{d?c(d):c(null,JSON.parse(e))}catch(f){throw"load json ["+a+"] failed : "+f;}})},UI:function(a){return null!=/(\.png)|(\.jpg)|(\.bmp)|(\.jpeg)|(\.gif)/.exec(a)},mp:function(a,c,d){var e=!0;void 0!==d?e=null==c.mx?e:c.mx:void 0!==c&&(d=c);var f=new Image;e&&"file://"!=location.origin&&(f.crossOrigin="Anonymous");b.Fa(f,"load",function(){this.removeEventListener("load",arguments.callee,!1);this.removeEventListener("error",
- arguments.callee,!1);d&&d(null,f)});b.Fa(f,"error",function(){this.removeEventListener("error",arguments.callee,!1);d&&d("load image failed")});f.src=a;return f},VW: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.Vk(f));var g=e.Nf[f];if(g)return d(null,g);g=e.Kv[c.toLowerCase()];if(!g)return b.error("loader for ["+c+"] not exists!"),d();c=e.b1(g.Mw?g.Mw():e.Xx,f);g.load(c,f,a,function(a,c){a?(b.log(a),e.Nf[f]=null,delete e.Nf[f],d()):(e.Nf[f]=
- c,d(null,c))})},b1:function(a,c){var d=this.PW,e=b.path;if(void 0!==a&&void 0===c){c=a;var f=e.Vk(c),f=f?f.toLowerCase():"";a=(f=this.Kv[f])?f.Mw?f.Mw():this.Xx:this.Xx}c=b.path.join(a||"",c);if(c.match(/[\/(\\\\)]lang[\/(\\\\)]/i)){if(d[c])return d[c];e=e.Vk(c)||"";c=d[c]=c.substring(0,c.length-e.length)+"_"+b.ob.language+e}return c},load:function(a,c,d){if(void 0!==d)"function"==typeof c&&(c={pG:c});else if(void 0!==c)"function"==typeof c&&(d=c,c={});else if(void 0!==a)c={};else throw"arguments error!";
- c.dd=function(a,c){a&&b.log(a);d&&d(c)};a instanceof Array||(a=[a]);c.jF=this.VW;c.O1=this;b.async.map(a,c)},gK:function(a,c){var d=this.Cl,e=[],f;for(f in a){var g=a[f];d[f]=g;e.push(g)}this.load(e,c)},iga:function(a,c){var d=this,e=d.Dd(a);e?d.gK(e.filenames,c):d.load(a,function(a){d.gK(a[0].filenames,c)})},Oj:function(a,c){if(a&&c){if("string"==typeof a)return this.Kv[a.trim().toLowerCase()]=c;for(var d=0,e=a.length;d<e;d++)this.Kv["."+a[d].trim().toLowerCase()]=c}},Dd:function(a){return this.Nf[a]||
- this.Nf[this.Cl[a]]},Ki:function(a){var c=this.Nf,d=this.Cl;delete c[a];delete c[d[a]];delete d[a]},Dha:function(){var a=this.Nf,c=this.Cl,d;for(d in a)delete a[d];for(d in c)delete c[d]}};
- (function(){function a(){b.na&&b.Kb.rk&&b.na.dispatchEvent(b.Kb.rk);b.Kb.mr&&(window.cancelAnimationFrame(b.Kb.mr),b.Kb.Pv())}function c(){b.na&&b.Kb.qk&&b.na.dispatchEvent(b.Kb.qk)}var d=window,e,f;"undefined"!==typeof document.hidden?(e="hidden",f="visibilitychange"):"undefined"!==typeof document.mozHidden?(e="mozHidden",f="mozvisibilitychange"):"undefined"!==typeof document.msHidden?(e="msHidden",f="msvisibilitychange"):"undefined"!==typeof document.webkitHidden&&(e="webkitHidden",f="webkitvisibilitychange");
- e?b.Fa(document,f,function(){document[e]?c():a()},!1):(b.Fa(d,"blur",c,!1),b.Fa(d,"focus",a,!1));-1<navigator.userAgent.indexOf("MicroMessenger")&&(d.onfocus=function(){a()});"onpageshow"in window&&"onpagehide"in window&&(b.Fa(d,"pagehide",c,!1),b.Fa(d,"pageshow",a,!1));f=d=null})();b.log=b.warn=b.error=b.assert=function(){};b.rM=function(a,c){for(var d=["webgl","experimental-webgl","webkit-3d","moz-webgl"],e=null,f=0;f<d.length;++f){try{e=a.getContext(d[f],c)}catch(g){}if(e)break}return e};
- b.DW=function(a,c){b.Aa=0;b.V=1;b.ob={};var d=b.ob;d.BR="en";d.s7="zh";d.t7="fr";d.w7="it";d.u7="de";d.D7="es";d.C7="ru";d.y7="ko";d.x7="ja";d.v7="hu";d.B7="pt";d.r7="ar";d.z7="no";d.A7="pl";d.iS="Windows";d.fH="iOS";d.gH="OS X";d.gS="UNIX";d.fS="Linux";d.eS="Android";d.hS="Unknown";d.M8=0;d.E7=1;d.F7=2;d.k6=3;d.p7=4;d.o7=5;d.t6=6;d.J7=7;d.Z6=8;d.r8=9;d.N8=10;d.O8=11;d.JR=100;d.EQ=101;d.kQ="wechat";d.gQ="androidbrowser";d.Cy="ie";d.hQ="qqbrowser";d.DG="mqqbrowser";d.iQ="ucbrowser";d.w6="360browser";
- d.x6="baiduboxapp";d.CG="baidubrowser";d.y6="maxthon";d.Dy="opera";d.z6="miuibrowser";d.Kp="firefox";d.Ey="safari";d.By="chrome";d.jQ="unknown";d.bea=!1;var e=[d.CG,d.Dy,d.Kp,d.By,d.Ey],f=[d.CG,d.Dy,d.Kp,d.By,d.Ey,d.iQ,d.hQ,d.DG,d.Cy],g=window,h=g.navigator,k=document.documentElement,m=h.userAgent.toLowerCase();d.Di=-1!=m.indexOf("mobile")||-1!=m.indexOf("android");d.platform=d.Di?d.JR:d.EQ;var p=h.language,p=(p=p?p:h.browserLanguage)?p.split("-")[0]:d.BR;d.language=p;var p=d.jQ,r=m.match(/micromessenger|qqbrowser|mqqbrowser|ucbrowser|360browser|baiduboxapp|baidubrowser|maxthon|trident|opera|miuibrowser|firefox/i)||
- m.match(/chrome|safari/i);r&&0<r.length&&(p=r[0].toLowerCase(),"micromessenger"==p?p=d.kQ:"safari"===p&&m.match(/android.*applewebkit/)?p=d.gQ:"trident"==p&&(p=d.Cy));d.tm=p;d.AY=-1<f.indexOf(d.tm);f=parseInt(a[c.Ws]);p=b.V;r=b.Sb("Canvas");b.Qr=!0;e=-1==e.indexOf(d.tm);if(1===f||0===f&&(d.Di||e)||"file://"==location.origin)p=b.Aa;d.ZU=function(){var a=document.createElement("canvas");a.width=1;a.height=1;a=a.getContext("2d");a.fillStyle="#000";a.fillRect(0,0,1,1);a.globalCompositeOperation="multiply";
- a.fillStyle="#fff";a.fillRect(0,0,1,1);return 0===a.getImageData(0,0,1,1).data[0]};d.ew=d.ZU();p!=b.V||g.WebGLRenderingContext&&b.rM(r,{stencil:!0,preserveDrawingBuffer:!0})||(0==f?p=b.Aa:b.Qr=!1);if(p==b.Aa)try{r.getContext("2d")}catch(s){b.Qr=!1}b.A=p;try{d.fw=!!new (g.AudioContext||g.webkitAudioContext||g.mozAudioContext)}catch(u){d.fw=!1}try{var t=d.localStorage=g.localStorage;t.setItem("storage","");t.removeItem("storage");t=null}catch(v){"SECURITY_ERR"!==v.name&&"QuotaExceededError"!==v.name||
- b.warn("Warning: localStorage isn't enabled. Please confirm browser cookie or privacy option"),d.localStorage=function(){}}t=d.aE={canvas:!0};b.A==b.V&&(t.opengl=!0);void 0!==k.ontouchstart||h.msPointerEnabled?t.touches=!0:void 0!==k.onmouseup&&(t.mouse=!0);void 0!==k.onkeyup&&(t.keyboard=!0);if(g.DeviceMotionEvent||g.DeviceOrientationEvent)t.accelerometer=!0;g=m.match(/(iPad|iPhone|iPod)/i)?!0:!1;m=m.match(/android/i)||h.platform.match(/android/i)?!0:!1;k=d.hS;-1!=h.appVersion.indexOf("Win")?k=d.iS:
- g?k=d.fH:-1!=h.appVersion.indexOf("Mac")?k=d.gH:-1!=h.appVersion.indexOf("X11")?k=d.gS:-1!=h.appVersion.indexOf("Linux")?k=d.fS:m&&(k=d.eS);d.wF=k;d.$aa=function(){};d.daa=function(){};d.Yha=function(){};d.baa=function(){var a;a=""+("isMobile : "+this.Di+"\r\n");a+="language : "+this.language+"\r\n";a+="browserType : "+this.tm+"\r\n";a+="capabilities : "+JSON.stringify(this.aE)+"\r\n";a+="os : "+this.wF+"\r\n";a+="platform : "+this.platform+"\r\n";b.log(a)}};b.U7=0;b.V7=1;b.S7=2;b.T7=3;b.ye=null;
- b.l=null;b.Va=null;b.JV=null;b.Lv=!1;b.rL=!1;
- b.qL=function(a){var c,d;if(!b.rL){b.rL=!0;var e=window,f=new Date,g=1E3/b.Kb.ne[b.Kb.hg.Iw];e.IO=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(a){var c=(new Date).getTime(),d=Math.max(0,g-(c-f)),e=window.setTimeout(function(){a()},d);f=c+d;return e};e.cancelAnimationFrame=window.cancelAnimationFrame||window.cancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||
- window.oCancelRequestAnimationFrame||window.webkitCancelRequestAnimationFrame||window.msCancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.oCancelAnimationFrame||function(a){clearTimeout(a)};var h=b.tb(a)||b.tb("#"+a),k;"CANVAS"==h.tagName?(c=c||h.width,d=d||h.height,k=b.vm=b.Sb("DIV"),a=b.Va=h,a.parentNode.insertBefore(k,a),a.YL(k),k.setAttribute("id","Cocos2dGameContainer")):("DIV"!=h.tagName&&b.log("Warning: target element is not a DIV or CANVAS"),c=
- c||h.clientWidth,d=d||h.clientHeight,k=b.vm=h,a=b.Va=b.tb(b.Sb("CANVAS")),h.appendChild(a));a.TL("gameCanvas");a.setAttribute("width",c||480);a.setAttribute("height",d||320);a.setAttribute("tabindex",99);a.style.outline="none";h=k.style;h.width=(c||480)+"px";h.height=(d||320)+"px";h.margin="0 auto";h.position="relative";h.overflow="hidden";k.top="100%";b.A==b.V&&(b.l=b.Uka=b.rM(a,{stencil:!0,preserveDrawingBuffer:!0,antialias:!b.ob.Di,alpha:!1}));b.l?(e.gl=b.l,b.ye=new b.QQ(b.l),b.Lv=!0,b.Ca.GW(),
- b.Id.kr()):(b.l=a.getContext("2d"),b.XW=b.l,b.l.translate(0,a.height),b.ye=b.NG?new b.NG(b.l):null);b.JV=k;b.log(b.Sy);b.RX();b.ob.Di&&(c=b.Sb("style"),c.type="text/css",document.body.appendChild(c),c.textContent="body,canvas,div{ -moz-user-select: none;-webkit-user-select: none;-ms-user-select: none;-khtml-user-select: none;-webkit-tap-highlight-color:rgba(0,0,0,0);}");b.view=b.Qy.uB();b.MN.l3(b.Va);b.K=b.Ta.uB();b.K.YF&&b.K.YF(b.view);b.Tg=b.K.za();b.dia=new b.Xt;b.X2=new b.uS}};
- b.VA=function(){if(b.A!==b.V)throw"This feature supports WebGL render mode only.";};b.oK=!1;b.RX=function(){b.oK=!1;b.Va.oncontextmenu=function(){if(!b.oK)return!1}};
- b.Kb={GG:0,DQ:1,M6:2,CQ:3,Ly:4,HG:5,FG:6,qt:"game_on_hide",Pp:"game_on_show",qk:null,rk:null,u9:[],hg:{vE:"engineDir",N$:"dependencies",ms:"debugMode",T4:"showFPS",Iw:"frameRate",id:"id",Ws:"renderMode",P1:"jsList",FZ:"classReleaseMode"},QK:!1,pC:!1,kc:!0,mr:null,ne:null,vF:null,Gga:null,Nia:function(a){this.ne[this.hg.Iw]=a;this.mr&&window.cancelAnimationFrame(this.mr);this.kc=!0;this.Pv()},Pv:function(){var a=this,c,d=b.K;d.X3(a.ne[a.hg.T4]);c=function(){a.kc||(d.B2(),a.mr=window.IO(c))};window.IO(c);
- a.kc=!1},F3:function(a){function c(){a&&(d.ne[d.hg.id]=a);d.QK?b.Qr&&(d.$U=setInterval(function(){d.pC&&(b.qL(d.ne[d.hg.id]),d.Pv(),d.qk=d.qk||new b.Ui(d.qt),d.qk.setUserData(d),d.rk=d.rk||new b.Ui(d.Pp),d.rk.setUserData(d),d.vF(),clearInterval(d.$U))},10)):d.b3(function(){b.Qr&&(b.qL(d.ne[d.hg.id]),d.Pv(),d.qk=d.qk||new b.Ui(d.qt),d.qk.setUserData(d),d.rk=d.rk||new b.Ui(d.Pp),d.rk.setUserData(d),d.vF())})}var d=this;document.body?c():b.Fa(window,"load",function(){this.removeEventListener("load",
- arguments.callee,!1);c()},!1)},yW:function(){function a(a){a[c.vE]=a[c.vE]||"frameworks/cocos2d-html5";null==a[c.ms]&&(a[c.ms]=0);a[c.Iw]=a[c.Iw]||60;null==a[c.Ws]&&(a[c.Ws]=1);return a}var c=this.hg;if(document.ccConfig)this.ne=a(document.ccConfig);else try{for(var d=document.getElementsByTagName("script"),e=0;e<d.length;e++){var f=d[e].getAttribute("cocos");if(""==f||f)break}var g,h,k;if(e<d.length){if(g=d[e].src)k=/(.*)\//.exec(g)[0],b.U.Xx=k,g=b.path.join(k,"project.json");h=b.U.BK(g)}h||(h=b.U.BK("project.json"));
- var m=JSON.parse(h);this.ne=a(m||{})}catch(p){b.log("Failed to read or parse project.json"),this.ne=a({})}b.DW(this.ne,c)},NW:{},aK:function(a,c,d){var e=this.NW;if(e[c])return null;d=d||"";var f=[],g=a[c];if(!g)throw"can not find module ["+c+"]";c=b.path;for(var h=0,k=g.length;h<k;h++){var m=g[h];if(!e[m]){var p=c.Vk(m);p?".js"==p.toLowerCase()&&f.push(c.join(d,m)):(p=this.aK(a,m,d))&&(f=f.concat(p));e[m]=1}}return f},b3:function(a){var c=this,d=c.ne,e=c.hg,f=d[e.vE],g=b.U;if(!b.Qr)throw"The renderer doesn't support the renderMode "+
- d[e.Ws];c.QK=!0;var h=d[e.P1]||[];b.oa?g.gO("",h,function(d){if(d)throw d;c.pC=!0;a&&a()}):(e=b.path.join(f,"moduleConfig.json"),g.hO(e,function(e,g){if(e)throw e;var p=d.modules||[],r=g.module,s=[];b.A==b.V?p.splice(0,0,"shaders"):0>p.indexOf("core")&&p.splice(0,0,"core");for(var u=0,t=p.length;u<t;u++){var v=c.aK(r,p[u],f);v&&(s=s.concat(v))}s=s.concat(h);b.U.gO(s,function(d){if(d)throw d;c.pC=!0;a&&a()})}))}};b.Kb.yW();
- Function.prototype.bind=Function.prototype.bind||function(a){var c=this;return function(){var d=Array.prototype.slice.call(arguments);return c.apply(a||null,d)}};b.e={xG:"cc.ActionManager.addAction(): action must be non-null",dQ:"cocos2d: removeAction: Target not found",o6:"cc.ActionManager.removeActionByTag(): an invalid tag",p6:"cc.ActionManager.removeActionByTag(): target must be non-null",bQ:"cc.ActionManager.getActionByTag(): an invalid tag",cQ:"cocos2d : getActionByTag(tag \x3d %s): Action not found",IZ:"cocos2d: **** WARNING **** CC_ENABLE_PROFILERS is defined. Disable it when you finish profiling (from ccConfig.js)",JZ:"Expected 'data' dict, but not found. Config file: %s",
- KZ:"Please load the resource first : %s",LQ:"cocos2d: Director: Error in gettimeofday",MQ:"cocos2d: Director: unrecognized projection",Y6:"cocos2d: Director: unrecognized projection",KQ:"cocos2d: Director: Error in gettimeofday",JQ:"running scene should not null",MG:"the scene should not null",Ko:"element type is wrong!",RS:"CCSheduler#scheduleCallback. Callback already scheduled. Updating interval from:%s to %s",SS:"cc.scheduler.scheduleCallbackForTarget(): callback_fn should be non-null.",TS:"cc.scheduler.scheduleCallbackForTarget(): target should be non-null.",
- PS:"cc.Scheduler.pauseTarget():target should be non-null",QS:"cc.Scheduler.resumeTarget():target should be non-null",OS:"cc.Scheduler.isTargetPaused():target should be non-null",RR:"getZOrder is deprecated. Please use getLocalZOrder instead.",bS:"setZOrder is deprecated. Please use setLocalZOrder instead.",PR:"RotationX !\x3d RotationY. Don't know which one to return",QR:"ScaleX !\x3d ScaleY. Don't know which one to return",K7:"An Node can't be added as a child of itself.",L7:"child already added. It can't be added again",
- MR:"child must be non-null",WR:"removeFromParentAndCleanup is deprecated. Use removeFromParent instead",NR:"boundingBox is deprecated. Use getBoundingBox instead",UR:"argument tag is an invalid tag",VR:"cocos2d: removeChildByTag(tag \x3d %s): child not found!",TR:"removeAllChildrenWithCleanup is deprecated. Use removeAllChildren instead",cS:"cc.Node.stopActionBy(): argument tag an invalid tag",OR:"cc.Node.getActionByTag(): argument tag is an invalid tag",YR:"resumeSchedulerAndActions is deprecated, please use resume instead.",
- SR:"pauseSchedulerAndActions is deprecated, please use pause instead.",LR:"Unknown callback function",XR:"child must be non-null",ZR:"cc.Node.runAction(): action must be non-null",$R:"callback function must be non-null",aS:"interval must be positive",M7:"cocos2d: Could not initialize cc.AtlasNode. Invalid Texture.",eQ:"cc.AtlasNode.updateAtlasValues(): Shall be overridden in subclasses",s6:"",yG:"cocos2d: Could not initialize cc.AtlasNode. Invalid Texture.",vU:"cc._EventListenerKeyboard.checkAvailable(): Invalid EventListenerKeyboard!",
- xU:"cc._EventListenerTouchOneByOne.checkAvailable(): Invalid EventListenerTouchOneByOne!",wU:"cc._EventListenerTouchAllAtOnce.checkAvailable(): Invalid EventListenerTouchAllAtOnce!",uU:"cc._EventListenerAcceleration.checkAvailable(): _onAccelerationEvent must be non-nil",YQ:"Invalid parameter.",pu:"Don't call this method if the event is for touch.",r_:"Invalid scene graph priority!",s_:"0 priority is forbidden for fixed priority since it's used for scene graph based priority.",w_:"Invalid listener type!",
- x_:"Can't set fixed priority with scene graph based listener.",t_:"Invalid parameters.",u_:"listener must be a cc.EventListener object when adding a fixed priority listener",v_:"The listener has been registered, please don't register it again.",ER:"parameters should not be ending with null in Javascript",FR:"Invalid index in MultiplexLayer switchTo message",GR:"Invalid index in MultiplexLayer switchTo message",DR:"cc.Layer.addLayer(): layer should be non-null",RQ:"Resolution not valid",SQ:"should set resolutionPolicy",
- C1:"The touches is more than MAX_TOUCHES, nUnusedIndex \x3d %s",EP:"cc.swap is being modified from original macro, please check usage",Qo:"WebGL error %s",gZ:"cocos2d: cc.AnimationCache: No animations were found in provided dictionary.",hZ:"cc.AnimationCache. Invalid animation format",oZ:"cc.AnimationCache.addAnimations(): File could not be found",iZ:"cocos2d: cc.AnimationCache: Animation '%s' found in dictionary without any frames - cannot add to animation cache.",jZ:"cocos2d: cc.AnimationCache: Animation '%s' refers to frame '%s' which is not currently in the cc.SpriteFrameCache. This frame will not be added to the animation.",
- kZ:"cocos2d: cc.AnimationCache: None of the frames for animation '%s' were found in the cc.SpriteFrameCache. Animation is not being added to the Animation Cache.",lZ:"cocos2d: cc.AnimationCache: An animation in your dictionary refers to a frame which is not in the cc.SpriteFrameCache. Some or all of the frames for the animation '%s' may be missing.",mZ:"cocos2d: CCAnimationCache: Animation '%s' found in dictionary without any frames - cannot add to animation cache.",nZ:"cocos2d: cc.AnimationCache: Animation '%s' refers to frame '%s' which is not currently in the cc.SpriteFrameCache. This frame will not be added to the animation.",
- pZ:"cc.AnimationCache.addAnimations(): Invalid texture file name",qT:"cc.Sprite.reorderChild(): this child is not in children list",iT:"cc.Sprite.ignoreAnchorPointForPosition(): it is invalid in cc.Sprite when using SpriteBatchNode",tT:"cc.Sprite.setDisplayFrameWithAnimationName(): Frame not found",uT:"cc.Sprite.setDisplayFrameWithAnimationName(): Invalid frame index",sT:"setDisplayFrame is deprecated, please use setSpriteFrame instead.",bT:"cc.Sprite._updateBlendFunc(): _updateBlendFunc doesn't work when the sprite is rendered using a cc.CCSpriteBatchNode",
- kT:"cc.Sprite.initWithSpriteFrame(): spriteFrame should be non-null",lT:"cc.Sprite.initWithSpriteFrameName(): spriteFrameName should be non-null",mT:" is null, please check.",jT:"cc.Sprite.initWithFile(): filename should be non-null",vT:"cc.Sprite.setDisplayFrameWithAnimationName(): animationName must be non-null",rT:"cc.Sprite.reorderChild(): child should be non-null",cT:"cc.Sprite.addChild(): cc.Sprite only supports cc.Sprites as children when using cc.SpriteBatchNode",dT:"cc.Sprite.addChild(): cc.Sprite only supports a sprite using same texture as children when using cc.SpriteBatchNode",
- eT:"cc.Sprite.addChild(): child should be non-null",xT:"cc.Sprite.texture setter: Batched sprites should use the same texture as the batchnode",h8:"cc.SpriteBatchNode.updateQuadFromSprite(): cc.SpriteBatchNode only supports cc.Sprites as children",oT:"cc.SpriteBatchNode.insertQuadFromSprite(): cc.SpriteBatchNode only supports cc.Sprites as children",fT:"cc.SpriteBatchNode.addChild(): cc.SpriteBatchNode only supports cc.Sprites as children",gT:"cc.SpriteBatchNode.addChild(): cc.Sprite is not using the same texture",
- nT:"Sprite.initWithTexture(): Argument must be non-nil ",wT:"Invalid spriteFrameName",yT:"Invalid argument: cc.Sprite.texture setter expects a CCTexture2D.",i8:"cc.SpriteBatchNode.updateQuadFromSprite(): sprite should be non-null",pT:"cc.SpriteBatchNode.insertQuadFromSprite(): sprite should be non-null",hT:"cc.SpriteBatchNode.addChild(): child should be non-null",VS:"cc.SpriteBatchNode.addQuadFromSprite(): SpriteBatchNode only supports cc.Sprites as children",XS:"cocos2d: CCSpriteBatchNode: resizing TextureAtlas capacity from %s to %s.",
- YS:"cocos2d: WARNING: Not enough memory to resize the atlas",$S:"cc.SpriteBatchNode.addChild(): Child doesn't belong to Sprite",ZS:"cc.SpriteBatchNode.addChild(): sprite batch node should contain the child",WS:"cc.SpriteBatchNode.addQuadFromSprite(): child should be non-null",aT:"cc.SpriteBatchNode.addChild():child should be non-null",c5:"cocos2d: WARNING: originalWidth/Height not found on the cc.SpriteFrame. AnchorPoint won't work as expected. Regenrate the .plist",e5:"cocos2d: WARNING: an alias with name %s already exists",
- b5:"cocos2d: WARNING: Sprite frame: %s has already been added by another source, please fix name conflit",h5:"cocos2d: cc.SpriteFrameCahce: Frame %s not found",d5:"Please load the resource first : %s",f5:"cc.SpriteFrameCache.addSpriteFrames(): plist should be non-null",g5:"Argument must be non-nil",Iy:"cc.SpriteBatchNode.updateQuadFromSprite(): cc.SpriteBatchNode only supports cc.Sprites as children",sQ:"cc.SpriteBatchNode.insertQuadFromSprite(): cc.SpriteBatchNode only supports cc.Sprites as children",
- oQ:"cc.SpriteBatchNode.addChild(): cc.SpriteBatchNode only supports cc.Sprites as children",rQ:"Sprite.initWithTexture(): Argument must be non-nil ",pQ:"cc.Sprite.addChild(): child should be non-null",uQ:"Invalid spriteFrameName",vQ:"Invalid argument: cc.Sprite texture setter expects a CCTexture2D.",wQ:"cc.SpriteBatchNode.updateQuadFromSprite(): sprite should be non-null",tQ:"cc.SpriteBatchNode.insertQuadFromSprite(): sprite should be non-null",qQ:"cc.SpriteBatchNode.addChild(): child should be non-null",
- TT:"cocos2d: Could not open file: %s",QH:"cc.TextureAtlas.insertQuad(): invalid totalQuads",UT:"cc.TextureAtlas.initWithTexture():texture should be non-null",dU:"cc.TextureAtlas.updateQuad(): quad should be non-null",eU:"cc.TextureAtlas.updateQuad(): Invalid index",XT:"cc.TextureAtlas.insertQuad(): Invalid index",YT:"cc.TextureAtlas.insertQuad(): Invalid index + amount",VT:"cc.TextureAtlas.insertQuadFromIndex(): Invalid newIndex",WT:"cc.TextureAtlas.insertQuadFromIndex(): Invalid fromIndex",bU:"cc.TextureAtlas.removeQuadAtIndex(): Invalid index",
- cU:"cc.TextureAtlas.removeQuadsAtIndex(): index + amount out of bounds",ZT:"cc.TextureAtlas.moveQuadsFromIndex(): move is out of bounds",$T:"cc.TextureAtlas.moveQuadsFromIndex(): Invalid newIndex",aU:"cc.TextureAtlas.moveQuadsFromIndex(): Invalid oldIndex",u5:"TextureCache:addPVRTCImage does not support on HTML5",s5:"TextureCache:addPVRTCImage does not support on HTML5",t5:"addPVRImage does not support on HTML5",v5:"cocos2d: Couldn't add UIImage in TextureCache",x5:"cocos2d: '%s' id\x3d%s %s x %s",
- GP:"cocos2d: '%s' id\x3d HTMLCanvasElement %s x %s",y5:"cocos2d: TextureCache dumpDebugInfo: %s textures, HTMLCanvasElement for %s KB (%s MB)",w5:"cc.Texture.addUIImage(): image should be non-null",KT:"initWithETCFile does not support on HTML5",OT:"initWithPVRFile does not support on HTML5",QT:"initWithPVRTCData does not support on HTML5",GT:"cc.Texture.addImage(): path should be non-null",MT:"cocos2d: cc.Texture2D. Can't create Texture. UIImage is nil",NT:"cocos2d: WARNING: Image (%s x %s) is bigger than the supported %s x %s",
- ST:"initWithString isn't supported on cocos2d-html5",LT:"initWithETCFile does not support on HTML5",PT:"initWithPVRFile does not support on HTML5",RT:"initWithPVRTCData does not support on HTML5",IT:"bitsPerPixelForFormat: %s, cannot give useful result, it's a illegal pixel format",FT:"cocos2d: cc.Texture2D: Using RGB565 texture since image has no alpha",HT:"cc.Texture.addImage(): path should be non-null",JT:"NSInternalInconsistencyException",fd:"Missing file: %s",xO:"cc.radiansToDegress() should be called cc.radiansToDegrees()",
- Fz:"Rect width exceeds maximum margin: %s",Ez:"Rect height exceeds maximum margin: %s",ZQ:"If program goes here, there should be event in dispatch.",$Q:"_inDispatch should be 1 here."};
- b.rv=function(a){if(b.Va){var c=b.WW,d=document;if(!c){var e=d.createElement("Div"),c=e.style;e.setAttribute("id","logInfoDiv");b.Va.parentNode.appendChild(e);e.setAttribute("width","200");e.setAttribute("height",b.Va.height);c.zIndex="99999";c.position="absolute";c.top="0";c.left="0";c=b.WW=d.createElement("textarea");d=c.style;c.setAttribute("rows","20");c.setAttribute("cols","30");c.setAttribute("disabled",!0);e.appendChild(c);d.backgroundColor="transparent";d.borderBottom="1px solid #cccccc";
- d.borderRightWidth="0px";d.borderLeftWidth="0px";d.borderTopWidth="0px";d.borderTopStyle="none";d.borderRightStyle="none";d.borderLeftStyle="none";d.padding="0px";d.margin=0}a="string"==typeof a?a:JSON.stringify(a);c.value=c.value+a+"\r\n";c.scrollTop=c.scrollHeight}};b.cv=function(a){if("object"===typeof a)try{return JSON.stringify(a)}catch(c){return""}else return a};
- console.log&&(b.log=function(a){for(var c=1;c<arguments.length;c++)a=a.replace(/(%s)|(%d)/,b.cv(arguments[c]));console.log(a)},b.warn=console.warn?function(a){for(var c=1;c<arguments.length;c++)a=a.replace(/(%s)|(%d)/,b.cv(arguments[c]));console.warn(a)}:b.log,b.error=console.error?function(a){for(var c=1;c<arguments.length;c++)a=a.replace(/(%s)|(%d)/,b.cv(arguments[c]));console.error(a)}:b.log,b.assert=function(a,c){if(!a&&c){for(var d=2;d<arguments.length;d++)c=c.replace(/(%s)|(%d)/,b.cv(arguments[d]));
- throw c;}});var q=b.Kb.ne[b.Kb.hg.ms],z=b.Kb;console.log&&q===z.DQ||(b.log=q==z.Ly?b.rv.bind(b):function(){});q&&q!=z.GG&&q!=z.CQ&&q!=z.FG||(b.warn=function(){});q!=z.Ly&&q!=z.HG&&console.warn||(b.warn=b.rv.bind(b));q&&q!=z.GG?q!=z.Ly&&q!=z.HG&&q!=z.FG&&console.error||(b.error=b.rv.bind(b),b.assert=function(a,c){if(!a&&c){for(var d=2;d<arguments.length;d++)c=c.replace("%s",arguments[d]);b.rv(c)}}):(b.error=function(){},b.assert=function(){});b.U.x2=function(a,c){var d=this,e=this.Ww(),f="load "+a+" failed!";e.open("GET",a,!0);/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent)?(e.setRequestHeader("Accept-Charset","x-user-defined"),e.onreadystatechange=function(){if(4==e.readyState&&200==e.status){var a=b.WI(e.responseBody);c(null,d.$v(a))}else c(f)}):(e.overrideMimeType&&e.overrideMimeType("text/plain; charset\x3dx-user-defined"),e.onload=function(){4==e.readyState&&200==e.status?c(null,d.$v(e.responseText)):c(f)});
- e.send(null)};b.U.$v=function(a){if(!a)return null;for(var c=new Uint8Array(a.length),d=0;d<a.length;d++)c[d]=a.charCodeAt(d)&255;return c};
- b.U.jga=function(a){var c=this.Ww(),d="load "+a+" failed!";c.open("GET",a,!1);a=null;if(/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent)){c.setRequestHeader("Accept-Charset","x-user-defined");c.send(null);if(200!=c.status)return b.log(d),null;(c=b.WI(c.responseBody))&&(a=this.$v(c))}else{c.overrideMimeType&&c.overrideMimeType("text/plain; charset\x3dx-user-defined");c.send(null);if(200!=c.status)return b.log(d),null;a=this.$v(c.responseText)}return a};
- var Uint8Array=Uint8Array||Array;
- if(/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent)){var aa=b.Sb("script");aa.type="text/vbscript";aa.textContent='\x3c!-- IEBinaryToArray_ByteStr --\x3e\r\nFunction IEBinaryToArray_ByteStr(Binary)\r\n IEBinaryToArray_ByteStr \x3d CStr(Binary)\r\nEnd Function\r\nFunction IEBinaryToArray_ByteStr_Last(Binary)\r\n Dim lastIndex\r\n lastIndex \x3d LenB(Binary)\r\n if lastIndex mod 2 Then\r\n IEBinaryToArray_ByteStr_Last \x3d Chr( AscB( MidB( Binary, lastIndex, 1 ) ) )\r\n Else\r\n IEBinaryToArray_ByteStr_Last \x3d ""\r\n End If\r\nEnd Function\r\n';document.body.appendChild(aa);
- b.WI=function(a){for(var c={},d=0;256>d;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.CK="data:image/gif;base64,R0lGODlhEAAQALMNAD8/P7+/vyoqKlVVVX9/fxUVFUBAQGBgYMDAwC8vL5CQkP///wAAAP///wAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAANACwAAAAAEAAQAAAEO5DJSau9OOvNex0IMnDIsiCkiW6g6BmKYlBFkhSUEgQKlQCARG6nEBwOgl+QApMdCIRD7YZ5RjlGpCUCACH5BAUAAA0ALAAAAgAOAA4AAAQ6kLGB0JA4M7QW0hrngRllkYyhKAYqKUGguAws0ypLS8JxCLQDgXAIDg+FRKIA6v0SAECCBpXSkstMBAAh+QQFAAANACwAAAAACgAQAAAEOJDJORAac6K1kDSKYmydpASBUl0mqmRfaGTCcQgwcxDEke+9XO2WkxQSiUIuAQAkls0n7JgsWq8RACH5BAUAAA0ALAAAAAAOAA4AAAQ6kMlplDIzTxWC0oxwHALnDQgySAdBHNWFLAvCukc215JIZihVIZEogDIJACBxnCSXTcmwGK1ar1hrBAAh+QQFAAANACwAAAAAEAAKAAAEN5DJKc4RM+tDyNFTkSQF5xmKYmQJACTVpQSBwrpJNteZSGYoFWjIGCAQA2IGsVgglBOmEyoxIiMAIfkEBQAADQAsAgAAAA4ADgAABDmQSVZSKjPPBEDSGucJxyGA1XUQxAFma/tOpDlnhqIYN6MEAUXvF+zldrMBAjHoIRYLhBMqvSmZkggAIfkEBQAADQAsBgAAAAoAEAAABDeQyUmrnSWlYhMASfeFVbZdjHAcgnUQxOHCcqWylKEohqUEAYVkgE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qw2gNNPOdSt0oI27p007s9h6B9Y0uz2HoH1jXX3Z+I4+1b8IJdX89xLHKQFMXQUahpxoiPN5P+onfU+A0/s9h6DesaXZ7D0D6xpG7OLbUtu0StW5JJx2bBsmbtiSiEk+cxoCWWSaVpZOk2vDVo0VYdnsPQb1jSNvZcCH1jSd2c+p1XAmFqEOmOPEfaH+BQd1ueo211IzrgFUYKNAAqI1WztCpUqVCRUqVKgFSpUqAVKlSoBUqVKgFSpUqAVKlSoBUqVKgFSpUqAVKlSoD/9k\x3d";var b=b||{},ba={id:0|998*Math.random(),D1:0|998*Math.random(),lM: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)},C0:function(){return this.id++},D0:function(){return this.D1++}};
- ba.lM.L6=ba;
- (function(){var a=/\b_super\b/,c=b.Kb.ne[b.Kb.hg.FZ];c&&console.log("release Mode");b.oa=function(){};b.oa.extend=function(d){function e(){this.sa=ba.D0();this.ctor&&this.ctor.apply(this,arguments)}var f=this.prototype,g=Object.create(f),h=ba.C0();ba[h]=f;var k={writable:!0,enumerable:!1,configurable:!0};g.sa=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.Wh&&(e.Wh=b.j(this.Wh));this.Xh&&(e.Xh=b.j(this.Xh));for(var m=
- 0,p=arguments.length;m<p;++m){var r=arguments[m],s;for(s in r){var u="function"===typeof r[s],t="function"===typeof f[s],v=a.test(r[s]);c&&u&&t&&v?(k.value=ba.lM(r[s],s,h),Object.defineProperty(g,s,k)):u&&t&&v?(k.value=function(a,c){return function(){var d=this._super;this._super=f[a];var e=c.apply(this,arguments);this._super=d;return e}}(s,r[s]),Object.defineProperty(g,s,k)):u?(k.value=r[s],Object.defineProperty(g,s,k)):g[s]=r[s];if(u){var w,y;if(this.Wh&&this.Wh[s]){var u=this.Wh[s],B;for(B in this.Xh)if(this.Xh[B]==
- u){y=B;break}b.i(g,u,r[s],r[y]?r[y]:g[y],s,y)}if(this.Xh&&this.Xh[s]){u=this.Xh[s];for(B in this.Wh)if(this.Wh[B]==u){w=B;break}b.i(g,u,r[w]?r[w]:g[w],r[s],w,s)}}}}e.extend=b.oa.extend;e.Lda=function(a){for(var c in a)g[c]=a[c]};return e}})();
- b.i=function(a,c,d,e,f,g){if(a.__defineGetter__)d&&a.__defineGetter__(c,d),e&&a.__defineSetter__(c,e);else if(Object.defineProperty){var h={enumerable:!1,configurable:!0};d&&(h.get=d);e&&(h.set=e);Object.defineProperty(a,c,h)}else throw Error("browser does not support getters");if(!f&&!g)for(var h=null!=d,k=void 0!=e,m=Object.getOwnPropertyNames(a),p=0;p<m.length;p++){var r=m[p];if((a.__lookupGetter__?!a.__lookupGetter__(r):!Object.getOwnPropertyDescriptor(a,r))&&"function"===typeof a[r]){var s=a[r];
- if(h&&s===d&&(f=r,!k||g))break;if(k&&s===e&&(g=r,!h||f))break}}a=a.constructor;f&&(a.Wh||(a.Wh={}),a.Wh[f]=c);g&&(a.Xh||(a.Xh={}),a.Xh[g]=c)};b.j=function(a){var c=a.constructor?new a.constructor:{},d;for(d in a){var e=a[d];c[d]="object"!=typeof e||!e||e instanceof b.k||e instanceof HTMLElement?e:b.j(e)}return c};b=b||{};b.F=b.F||{};b.j$=function(){};
- b.jq={aM:8,q5:9,IM:13,shift:16,K$:17,alt:18,pause:19,s$:20,escape:27,bha:33,aha:34,end:35,home:36,left:37,Kka:38,right:39,$$:40,Pda:45,W6:46,0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,a:65,b:66,B:67,J:68,Dg:69,Ah:70,g:71,fp:72,ys:73,nx:74,ox:75,yx:76,Cx:77,bl:78,Gx:79,Mx:80,Tx:81,r:82,LF:83,nG:84,ea:85,fa:86,D:87,x:88,y:89,z:90,rga:96,sga:97,tga:98,uga:99,vga:100,wga:101,xga:102,yga:103,zga:104,Aga:105,"*":106,"+":107,"-":109,numdel:110,"/":111,Jaa:112,Naa:113,Oaa:114,Paa:115,Qaa:116,Raa:117,
- Saa:118,Taa:119,Uaa:120,Kaa:121,Laa:122,Maa:123,Dga:144,fia:145,hia:186,",":186,Haa:187,"\x3d":187,";":188,A$:188,L$:189,".":190,hha:190,Yaa:191,Ida:192,"[":219,Lga:219,"]":221,x$:221,k$:220,quote:222,oka:32};b.c7=0;b.Wy=1;b.PG=2;b.d7=3;b.e7=4;b.cR=5;b.q0=function(a){return 8<a.length&&137==a[0]&&80==a[1]&&78==a[2]&&71==a[3]&&13==a[4]&&10==a[5]&&26==a[6]&&10==a[7]?b.Wy:2<a.length&&(73==a[0]&&73==a[1]||77==a[0]&&77==a[1]||255==a[0]&&216==a[1])?b.PG:b.cR};
- b.Mda=function(a,c){function d(){}d.prototype=c.prototype;a.ry=c.prototype;a.prototype=new d;a.prototype.constructor=a};
- b.l$=function(a,c,d){var e=arguments.callee.caller;if(e.ry)return ret=e.ry.constructor.apply(a,Array.prototype.slice.call(arguments,1));for(var f=Array.prototype.slice.call(arguments,2),g=!1,h=a.constructor;h;h=h.ry&&h.ry.constructor)if(h.prototype[c]===e)g=!0;else if(g)return h.prototype[c].apply(a,f);if(a[c]===e)return a.constructor.prototype[c].apply(a,f);throw Error("cc.base called from a method of one name to a method of a different name");};b.a8=function(a,c){this.x=a||0;this.y=c||0};function C(a,c){return void 0==a?{x:0,y:0}:void 0==c?{x:a.x,y:a.y}:{x:a,y:c}}b.BF=function(a,c){return a&&c&&a.x===c.x&&a.y===c.y};b.g8=function(a,c){this.width=a||0;this.height=c||0};function N(a,c){return void 0===a?{width:0,height:0}:void 0===c?{width:a.width,height:a.height}:{width:a,height:c}}b.nka=function(a,c){return a&&c&&a.width==c.width&&a.height==c.height};b.yH=function(a,c,d,e){this.x=a||0;this.y=c||0;this.width=d||0;this.height=e||0};
- function P(a,c,d,e){return void 0===a?{x:0,y:0,width:0,height:0}:void 0===c?{x:a.x,y:a.y,width:a.width,height:a.height}:{x:a,y:c,width:d,height:e}}b.BO=function(a,c){return a&&c&&a.x===c.x&&a.y===c.y&&a.width===c.width&&a.height===c.height};b.xC=function(a){return a&&0===a.x&&0===a.y&&0===a.width&&0===a.height};b.xha=function(a,c){return a&&c?!(a.x>=c.x||a.y>=c.y||a.x+a.width<=c.x+c.width||a.y+a.height<=c.y+c.height):!1};b.Ts=function(a){return a.x+a.width};b.yha=function(a){return a.x+a.width/2};
- b.up=function(a){return a.x};b.Us=function(a){return a.y+a.height};b.zha=function(a){return a.y+a.height/2};b.vp=function(a){return a.y};b.AO=function(a,c){return c.x>=b.up(a)&&c.x<=b.Ts(a)&&c.y>=b.vp(a)&&c.y<=b.Us(a)};b.Bha=function(a,c){var d=a.y+a.height,e=c.x+c.width,f=c.y+c.height;return!(a.x+a.width<c.x||e<a.x||d<c.y||f<a.y)};b.Cha=function(a,c){return!(a.x+a.width<c.x||c.x+c.width<a.x||a.y+a.height<c.y||c.y+c.height<a.y)};
- b.Ux=function(a,c){var d=P(0,0,0,0);d.x=Math.min(a.x,c.x);d.y=Math.min(a.y,c.y);d.width=Math.max(a.x+a.width,c.x+c.width)-d.x;d.height=Math.max(a.y+a.height,c.y+c.height)-d.y;return d};b.Aha=function(a,c){var d=P(Math.max(b.up(a),b.up(c)),Math.max(b.vp(a),b.vp(c)),0,0);d.width=Math.min(b.Ts(a),b.Ts(c))-b.up(d);d.height=Math.min(b.Us(a),b.Us(c))-b.vp(d);return d};b.Xt=b.oa.extend({LK:null,KB:null,ctor:function(){window.DOMParser?(this.KB=!0,this.LK=new DOMParser):this.KB=!1},parse:function(a){return this.dC(a)},dC:function(a){var c;this.KB?c=this.LK.parseFromString(a,"text/xml"):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(a));return c}});
- b.uS=b.Xt.extend({parse:function(a){a=this.dC(a).documentElement;if("plist"!=a.tagName)throw"Not a plist file!";for(var c=null,d=0,e=a.childNodes.length;d<e&&(c=a.childNodes[d],1!=c.nodeType);d++);return this.cC(c)},cC:function(a){var c=null,d=a.tagName;if("dict"==d)c=this.nX(a);else if("array"==d)c=this.mX(a);else if("string"==d)if(1==a.childNodes.length)c=a.firstChild.nodeValue;else for(c="",d=0;d<a.childNodes.length;d++)c+=a.childNodes[d].nodeValue;else"false"==d?c=!1:"true"==d?c=!0:"real"==d?
- c=parseFloat(a.firstChild.nodeValue):"integer"==d&&(c=parseInt(a.firstChild.nodeValue,10));return c},mX:function(a){for(var c=[],d=0,e=a.childNodes.length;d<e;d++){var f=a.childNodes[d];1==f.nodeType&&c.push(this.cC(f))}return c},nX:function(a){for(var c={},d=null,e=0,f=a.childNodes.length;e<f;e++){var g=a.childNodes[e];1==g.nodeType&&("key"==g.tagName?d=g.firstChild.nodeValue:c[d]=this.cC(g))}return c}});b.FL={load:function(a,c,d,e){b.U.Bx(a,e)}};b.U.Oj(["txt","xml","vsh","fsh","atlas"],b.FL);b.OW={load:function(a,c,d,e){b.U.hO(a,e)}};b.U.Oj(["json","ExportJson"],b.OW);b.wW={load:function(a,c,d,e){b.U.Nf[c]=b.U.mp(a,function(a,d){if(a)return e(a);b.Ca.qb(c);e(null,d)})}};b.U.Oj("png jpg bmp jpeg gif ico".split(" "),b.wW);b.IX={load:function(a,c,d,e){b.U.Nf[c]=b.U.mp(d.src,function(a,d){if(a)return e(a);b.Ca.qb(c);e(null,d)})}};b.U.Oj(["serverImg"],b.IX);
- b.sX={load:function(a,c,d,e){b.U.Bx(a,function(a,c){if(a)return e(a);e(null,b.X2.parse(c))})}};b.U.Oj(["plist"],b.sX);
- b.HV={DT:{".eot":"embedded-opentype",".ttf":"truetype",".woff":"woff",".svg":"svg"},zK:function(a,c,d){var e=document,f=b.path,g=this.DT,h=b.Sb("style");h.type="text/css";e.body.appendChild(h);var k="@font-face { font-family:"+a+"; src:";if(c instanceof Array)for(var m=0,p=c.length;m<p;m++)d=f.Vk(c[m]).toLowerCase(),k+="url('"+c[m]+"') format('"+g[d]+"')",k+=m==p-1?";":",";else k+="url('"+c+"') format('"+g[d]+"');";h.textContent+=k+"};";c=b.Sb("div");d=c.style;d.fontFamily=a;c.innerHTML=".";d.position=
- "absolute";d.left="-100px";d.top="-100px";e.body.appendChild(c)},load:function(a,c,d,e){c=d.type;a=d.name;c=d.pka;"string"==typeof d?(c=b.path.Vk(d),a=b.path.vZ(d,c),this.zK(a,d,c)):this.zK(a,c);e(null,!0)}};b.U.Oj(["font","eot","ttf","woff","svg"],b.HV);b.X8={load:function(a,c,d,e){b.U.x2(a,e)}};window.CocosEngine=b.Sy="Cocos2d-JS v3.0 RC2";b.hn=0;b.Ny=C(0,0);b.FQ=0.5;b.K6=1;b.Mz=1;b.dS=0;b.IH=0;b.Qz=0;b.k8=0;b.c8=1;b.b8="-hd";b.rU=1;b.Vj=0;b.e8=0;b.AR=0;b.zR=0;b.ez=1;b.N6=b.Sy+"-canvas";b.ot=1;b.Ug=1;b.tb=function(a){var c=this==b?document:this;if(a=a instanceof HTMLElement?a:c.querySelector(a))a.find=a.find||b.tb,a.UE=a.UE||function(a){return this.className.match(RegExp("(\\s|^)"+a+"(\\s|$)"))},a.TL=a.TL||function(a){this.UE(a)||(this.className&&(this.className+=" "),this.className+=a);return this},a.p3=a.p3||function(a){this.UE(a)&&(this.className=this.className.replace(a,""));return this},a.remove=a.remove||function(){this.parentNode&&this.parentNode.removeChild(this);return this},a.YL=a.YL||
- function(a){a.appendChild(this);return this},a.c3=a.c3||function(a){a.childNodes[0]?a.insertBefore(this,a.childNodes[0]):a.appendChild(this);return this},a.ht=a.ht||function(){this.style[b.tb.D5]=b.tb.translate(this.position)+b.tb.rotate(this.rotation)+b.tb.scale(this.scale)+b.tb.Ap(this.Ap);return this},a.position=a.position||{x:0,y:0},a.rotation=a.rotation||0,a.scale=a.scale||{x:1,y:1},a.Ap=a.Ap||{x:0,y:0},a.MP=function(a,c){this.position.x=a;this.position.y=c;this.ht()},a.rotate=function(a){this.rotation=
- a;this.ht();return this},a.resize=function(a,c){this.scale.x=a;this.scale.y=c;this.ht();return this},a.Eja=function(a,c){this.Ap.x=a;this.Ap.y=c;this.ht();return this};return a};switch(b.ob.tm){case b.ob.Kp:b.tb.Ps="Moz";b.tb.gp=!0;break;case b.ob.By:case b.ob.Ey:b.tb.Ps="webkit";b.tb.gp=!0;break;case b.ob.Dy:b.tb.Ps="O";b.tb.gp=!1;break;case b.ob.Cy:b.tb.Ps="ms";b.tb.gp=!1;break;default:b.tb.Ps="webkit",b.tb.gp=!0}b.tb.D5=b.tb.Ps+"Transform";
- b.tb.translate=b.tb.gp?function(a){return"translate3d("+a.x+"px, "+a.y+"px, 0) "}:function(a){return"translate("+a.x+"px, "+a.y+"px) "};b.tb.rotate=b.tb.gp?function(a){return"rotateZ("+a+"deg) "}:function(a){return"rotate("+a+"deg) "};b.tb.scale=function(a){return"scale("+a.x+", "+a.y+") "};b.tb.Ap=function(a){return"skewX("+-a.x+"deg) skewY("+a.y+"deg)"};b.$P=function(){return b.tb(document.createElement("input"))};
- b.tb.Waa=function(a){var c=0,d=0;do c+=a.offsetLeft,d+=a.offsetTop;while(a=a.offsetParent);return{x:c,y:d}};b.n7=-1;b.PI=Math.PI;b.bR=parseFloat("3.402823466e+38F");b.b7=parseFloat("1.175494351e-38F");b.vS=b.PI/180;b.JG=180/b.PI;b.uI=4294967295;b.EP=function(a,c,d){if("object"==typeof d&&"undefined"!=typeof d.x&&"undefined"!=typeof d.y){var e=d[a];d[a]=d[c];d[c]=e}else b.log(b.e.EP)};b.ega=function(a,c,d){return a+(c-a)*d};b.xb=function(){return 16777215*Math.random()};b.i3=function(){return 2*(Math.random()-0.5)};b.qha=Math.random;b.Of=function(a){return a*b.vS};b.DF=function(a){return a*b.JG};
- b.xO=function(a){b.log(b.e.xO);return a*b.JG};b.qq=Number.MAX_VALUE-1;b.ec=b.dS?1:770;b.dc=771;b.Hs=function(a){a.Eb&&(a.Eb.Nc(),a.Eb.Se())};b.Gaa=function(){};b.R$=function(){};b.Sf=function(){b.of+=1};b.Ht=1.192092896E-7;b.nb=b.ez?function(){return b.K.$g}:function(){return 1};b.Y2=function(a){var c=b.nb();return C(a.x*c,a.y*c)};b.CF=function(a){var c=b.nb();return C(a.x/c,a.y/c)};b.hC=function(a,c){var d=b.nb();c.x=a.x/d;c.y=a.y/d};b.V4=function(a){var c=b.nb();return N(a.width*c,a.height*c)};
- b.zP=function(a){var c=b.nb();return N(a.width/c,a.height/c)};b.wL=function(a,c){var d=b.nb();c.width=a.width/d;c.height=a.height/d};b.hl=b.ez?function(a){var c=b.nb();return P(a.x/c,a.y/c,a.width/c,a.height/c)}:function(a){return a};b.Vs=b.ez?function(a){var c=b.nb();return P(a.x*c,a.y*c,a.width*c,a.height*c)}:function(a){return a};b.ONE=1;b.ZERO=0;b.SRC_ALPHA=770;b.SRC_ALPHA_SATURATE=776;b.SRC_COLOR=768;b.DST_ALPHA=772;b.DST_COLOR=774;b.ONE_MINUS_SRC_ALPHA=771;b.ONE_MINUS_SRC_COLOR=769;
- b.ONE_MINUS_DST_ALPHA=773;b.DST_COLOR=775;b.ONE_MINUS_DST_COLOR=775;b.ONE_MINUS_CONSTANT_ALPHA=32772;b.ONE_MINUS_CONSTANT_COLOR=32770;b.Qo=function(){if(b.Ws==b.V){var a=b.l.getError();a&&b.log(b.e.Qo,a)}};b.R6=0;b.P6=1;b.S6=2;b.Q6=3;b.O6=2;b.K8=0;b.Md=1;b.lu=2;b.sn=4;b.Al=b.Md|b.lu|b.sn;b.g7=0;b.pb=0;b.ve=1;b.wd=2;b.L8=3;b.kA=0;b.jA=1;b.Bq=2;b.oA=3;b.nA=4;b.iA=5;b.lA=6;b.mA=7;b.H8=8;b.Yi="ShaderPositionTextureColor";b.Zt="ShaderPositionTextureColorAlphaTest";b.Yt="ShaderPositionColor";b.tq="ShaderPositionTexture";
- b.Kz="ShaderPositionTexture_uColor";b.Jz="ShaderPositionTextureA8Color";b.Lz="ShaderPosition_uColor";b.CH="ShaderPositionLengthTextureColor";b.lU="CC_PMatrix";b.jU="CC_MVMatrix";b.kU="CC_MVPMatrix";b.pU="CC_Time";b.oU="CC_SinTime";b.iU="CC_CosTime";b.mU="CC_Random01";b.nU="CC_Texture0";b.vI="CC_alpha_value";b.Jp="a_color";b.nl="a_position";b.dn="a_texCoord";b.nR=32;b.EG=3233828865;b.mu=3233828866;b.KR=8801;b.wS=8802;b.GQ=8803;b=b||{};b.F=b.F||{};
- b.F.sA=function(){b.color=function(a,d,e,f,g,h){return void 0===a?new b.uf(0,0,0,255,g,h):"string"===typeof a?(a=b.yN(a),new b.uf(a.r,a.g,a.b,a.a)):"object"===typeof a?new b.uf(a.r,a.g,a.b,a.a,a.uw,a.offset):new b.uf(a,d,e,f,g,h)};b.uf=function(a,d,e,f,g,h){this.Yc=g||new ArrayBuffer(b.uf.BYTES_PER_ELEMENT);this.ua=h||0;g=this.Yc;h=this.ua;var k=Uint8Array.BYTES_PER_ELEMENT;this.vC=new Uint8Array(g,h,1);this.pB=new Uint8Array(g,h+k,1);this.IA=new Uint8Array(g,h+2*k,1);this.BA=new Uint8Array(g,h+3*
- k,1);this.vC[0]=a||0;this.pB[0]=d||0;this.IA[0]=e||0;this.BA[0]=f||255;void 0===f&&(this.QL=!0)};b.uf.BYTES_PER_ELEMENT=4;var a=b.uf.prototype;a.jW=function(){return this.vC[0]};a.YX=function(a){this.vC[0]=0>a?0:a};a.YV=function(){return this.pB[0]};a.TX=function(a){this.pB[0]=0>a?0:a};a.QV=function(){return this.IA[0]};a.KX=function(a){this.IA[0]=0>a?0:a};a.MV=function(){return this.BA[0]};a.JX=function(a){this.BA[0]=0>a?0:a};b.i(a,"r",a.jW,a.YX);b.i(a,"g",a.YV,a.TX);b.i(a,"b",a.QV,a.KX);b.i(a,"a",
- a.MV,a.JX);b.Vb=function(a,d,e,f){this.Yc=e||new ArrayBuffer(b.Vb.BYTES_PER_ELEMENT);this.ua=f||0;this.mm=new Float32Array(this.Yc,this.ua,1);this.nm=new Float32Array(this.Yc,this.ua+4,1);this.mm[0]=a||0;this.nm[0]=d||0};b.Vb.BYTES_PER_ELEMENT=8;Object.defineProperties(b.Vb.prototype,{x:{get:function(){return this.mm[0]},set:function(a){this.mm[0]=a},enumerable:!0},y:{get:function(){return this.nm[0]},set:function(a){this.nm[0]=a},enumerable:!0}});b.tc=function(a,d,e,f,g){this.Yc=f||new ArrayBuffer(b.tc.BYTES_PER_ELEMENT);
- this.ua=g||0;f=this.Yc;g=this.ua;this.mm=new Float32Array(f,g,1);this.mm[0]=a||0;this.nm=new Float32Array(f,g+Float32Array.BYTES_PER_ELEMENT,1);this.nm[0]=d||0;this.MD=new Float32Array(f,g+2*Float32Array.BYTES_PER_ELEMENT,1);this.MD[0]=e||0};b.tc.BYTES_PER_ELEMENT=12;Object.defineProperties(b.tc.prototype,{x:{get:function(){return this.mm[0]},set:function(a){this.mm[0]=a},enumerable:!0},y:{get:function(){return this.nm[0]},set:function(a){this.nm[0]=a},enumerable:!0},z:{get:function(){return this.MD[0]},
- set:function(a){this.MD[0]=a},enumerable:!0}});b.Zj=function(a,d,e,f){this.Yc=e||new ArrayBuffer(b.Zj.BYTES_PER_ELEMENT);this.ua=f||0;this.tD=new Float32Array(this.Yc,this.ua,1);this.zD=new Float32Array(this.Yc,this.ua+4,1);this.tD[0]=a||0;this.zD[0]=d||0};b.Zj.BYTES_PER_ELEMENT=8;Object.defineProperties(b.Zj.prototype,{ea:{get:function(){return this.tD[0]},set:function(a){this.tD[0]=a},enumerable:!0},fa:{get:function(){return this.zD[0]},set:function(a){this.zD[0]=a},enumerable:!0}});b.Dz=function(a,
- d,e,f,g,h){this.Yc=g||new ArrayBuffer(b.Dz.BYTES_PER_ELEMENT);this.ua=h||0;g=this.Yc;h=b.Vb.BYTES_PER_ELEMENT;this.Do=a?new b.Vb(a.x,a.y,g,0):new b.Vb(0,0,g,0);this.Go=d?new b.Vb(d.x,d.y,g,h):new b.Vb(0,0,g,h);this.xn=e?new b.Vb(e.x,e.y,g,2*h):new b.Vb(0,0,g,2*h);this.Bn=f?new b.Vb(f.x,f.y,g,3*h):new b.Vb(0,0,g,3*h)};b.Dz.BYTES_PER_ELEMENT=32;b.Tt=function(a,d,e,f){this.C=a||new b.tc(0,0,0);this.N=d||new b.tc(0,0,0);this.M=e||new b.tc(0,0,0);this.L=f||new b.tc(0,0,0)};Object.defineProperties(b.Dz.prototype,
- {M:{get:function(){return this.Do},set:function(a){this.Do.x=a.x;this.Do.y=a.y},enumerable:!0},L:{get:function(){return this.Go},set:function(a){this.Go.x=a.x;this.Go.y=a.y},enumerable:!0},C:{get:function(){return this.xn},set:function(a){this.xn.x=a.x;this.xn.y=a.y},enumerable:!0},N:{get:function(){return this.Bn},set:function(a){this.Bn.x=a.x;this.Bn.y=a.y},enumerable:!0}});b.ng=function(a,d,e,f,g){this.Yc=f||new ArrayBuffer(b.ng.BYTES_PER_ELEMENT);this.ua=g||0;f=this.Yc;g=this.ua;var h=b.tc.BYTES_PER_ELEMENT;
- this.Oa=a?new b.tc(a.x,a.y,a.z,f,g):new b.tc(0,0,0,f,g);this.Rq=d?b.color(d.r,d.g,d.b,d.a,f,g+h):b.color(0,0,0,0,f,g+h);this.Lf=e?new b.Zj(e.ea,e.fa,f,g+h+b.uf.BYTES_PER_ELEMENT):new b.Zj(0,0,f,g+h+b.uf.BYTES_PER_ELEMENT)};b.ng.BYTES_PER_ELEMENT=24;Object.defineProperties(b.ng.prototype,{f:{get:function(){return this.Oa},set:function(a){var d=this.Oa;d.x=a.x;d.y=a.y;d.z=a.z},enumerable:!0},s:{get:function(){return this.Rq},set:function(a){var d=this.Rq;d.r=a.r;d.g=a.g;d.b=a.b;d.a=a.a},enumerable:!0},
- m:{get:function(){return this.Lf},set:function(a){this.Lf.ea=a.ea;this.Lf.fa=a.fa},enumerable:!0}});b.zb=function(a,d,e,f,g,h){this.Yc=g||new ArrayBuffer(b.zb.BYTES_PER_ELEMENT);this.ua=h||0;g=this.Yc;h=this.ua;var k=b.ng.BYTES_PER_ELEMENT;this.Do=a?new b.ng(a.f,a.s,a.m,g,h):new b.ng(null,null,null,g,h);this.xn=d?new b.ng(d.f,d.s,d.m,g,h+k):new b.ng(null,null,null,g,h+k);this.Go=e?new b.ng(e.f,e.s,e.m,g,h+2*k):new b.ng(null,null,null,g,h+2*k);this.Bn=f?new b.ng(f.f,f.s,f.m,g,h+3*k):new b.ng(null,
- null,null,g,h+3*k)};b.zb.BYTES_PER_ELEMENT=96;Object.defineProperties(b.zb.prototype,{M:{get:function(){return this.Do},set:function(a){var d=this.Do;d.f=a.f;d.s=a.s;d.m=a.m},enumerable:!0},C:{get:function(){return this.xn},set:function(a){var d=this.xn;d.f=a.f;d.s=a.s;d.m=a.m},enumerable:!0},L:{get:function(){return this.Go},set:function(a){var d=this.Go;d.f=a.f;d.s=a.s;d.m=a.m},enumerable:!0},N:{get:function(){return this.Bn},set:function(a){var d=this.Bn;d.f=a.f;d.s=a.s;d.m=a.m},enumerable:!0},
- uw:{get:function(){return this.Yc},enumerable:!0}});b.xI=function(){return new b.zb};b.wI=function(a){if(!a)return b.xI();var d=a.M,e=a.C,f=a.L;a=a.N;return{M:{f:{x:d.f.x,y:d.f.y,z:d.f.z},s:{r:d.s.r,g:d.s.g,b:d.s.b,a:d.s.a},m:{ea:d.m.ea,fa:d.m.fa}},C:{f:{x:e.f.x,y:e.f.y,z:e.f.z},s:{r:e.s.r,g:e.s.g,b:e.s.b,a:e.s.a},m:{ea:e.m.ea,fa:e.m.fa}},L:{f:{x:f.f.x,y:f.f.y,z:f.f.z},s:{r:f.s.r,g:f.s.g,b:f.s.b,a:f.s.a},m:{ea:f.m.ea,fa:f.m.fa}},N:{f:{x:a.f.x,y:a.f.y,z:a.f.z},s:{r:a.s.r,g:a.s.g,b:a.s.b,a:a.s.a},m:{ea:a.m.ea,
- fa:a.m.fa}}}};b.J8=function(a){if(!a)return[];for(var d=[],e=0;e<a.length;e++)d.push(b.wI(a[e]));return d};b.vd=function(a,d,e,f,g){this.Yc=f||new ArrayBuffer(b.vd.BYTES_PER_ELEMENT);this.ua=g||0;f=this.Yc;g=this.ua;var h=b.Vb.BYTES_PER_ELEMENT;this.Oa=a?new b.Vb(a.x,a.y,f,g):new b.Vb(0,0,f,g);this.Rq=d?b.color(d.r,d.g,d.b,d.a,f,g+h):b.color(0,0,0,0,f,g+h);this.Lf=e?new b.Zj(e.ea,e.fa,f,g+h+b.uf.BYTES_PER_ELEMENT):new b.Zj(0,0,f,g+h+b.uf.BYTES_PER_ELEMENT)};b.vd.BYTES_PER_ELEMENT=20;Object.defineProperties(b.vd.prototype,
- {f:{get:function(){return this.Oa},set:function(a){this.Oa.x=a.x;this.Oa.y=a.y},enumerable:!0},s:{get:function(){return this.Rq},set:function(a){var d=this.Rq;d.r=a.r;d.g=a.g;d.b=a.b;d.a=a.a},enumerable:!0},m:{get:function(){return this.Lf},set:function(a){this.Lf.ea=a.ea;this.Lf.fa=a.fa},enumerable:!0}});b.Ub=function(a,d,e,f,g){this.Yc=f||new ArrayBuffer(b.Ub.BYTES_PER_ELEMENT);this.ua=g||0;f=this.Yc;g=this.ua;var h=b.vd.BYTES_PER_ELEMENT;this.GI=a?new b.vd(a.f,a.s,a.m,f,g):new b.vd(null,null,null,
- f,g);this.OI=d?new b.vd(d.f,d.s,d.m,f,g+h):new b.vd(null,null,null,f,g+h);this.TI=e?new b.vd(e.f,e.s,e.m,f,g+2*h):new b.vd(null,null,null,f,g+2*h)};b.Ub.BYTES_PER_ELEMENT=60;Object.defineProperties(b.Ub.prototype,{a:{get:function(){return this.GI},set:function(a){var d=this.GI;d.f=a.f;d.s=a.s;d.m=a.m},enumerable:!0},b:{get:function(){return this.OI},set:function(a){var d=this.OI;d.f=a.f;d.s=a.s;d.m=a.m},enumerable:!0},B:{get:function(){return this.TI},set:function(a){var d=this.TI;d.f=a.f;d.s=a.s;
- d.m=a.m},enumerable:!0}})};b.F.wz=function(){var a=b.color;a.uW=function(){return a(255,255,255)};a.vW=function(){return a(255,255,0)};a.SV=function(){return a(0,0,255)};a.$V=function(){return a(0,255,0)};a.kW=function(){return a(255,0,0)};a.eW=function(){return a(255,0,255)};a.RV=function(){return a(0,0,0)};a.iW=function(){return a(255,127,0)};a.ZV=function(){return a(166,166,166)};b.i(a,"WHITE",a.uW);b.i(a,"YELLOW",a.vW);b.i(a,"BLUE",a.SV);b.i(a,"GREEN",a.$V);b.i(a,"RED",a.kW);b.i(a,"MAGENTA",a.eW);b.i(a,"BLACK",a.RV);b.i(a,
- "ORANGE",a.iW);b.i(a,"GRAY",a.ZV);b.fc.tV=function(){return new b.fc(b.ONE,b.ZERO)};b.fc.KU=function(){return new b.fc(b.ONE,b.ONE_MINUS_SRC_ALPHA)};b.fc.JU=function(){return new b.fc(b.SRC_ALPHA,b.ONE_MINUS_SRC_ALPHA)};b.fc.IU=function(){return new b.fc(b.SRC_ALPHA,b.ONE)};b.i(b.fc,"DISABLE",b.fc.tV);b.i(b.fc,"ALPHA_PREMULTIPLIED",b.fc.KU);b.i(b.fc,"ALPHA_NON_PREMULTIPLIED",b.fc.JU);b.i(b.fc,"ADDITIVE",b.fc.IU)};b.uf=function(a,c,d,e){this.r=a||0;this.g=c||0;this.b=d||0;this.a=e||255};b.color=function(a,c,d,e){return void 0===a?{r:0,g:0,b:0,a:255}:"string"===typeof a?b.yN(a):"object"===typeof a?{r:a.r,g:a.g,b:a.b,a:a.a||255}:{r:a,g:c,b:d,a:e||255}};b.y$=function(a,c){return a.r===c.r&&a.g===c.g&&a.b===c.b};b.aQ=function(){this.timestamp=this.z=this.y=this.x=0};b.Vb=function(a,c){this.x=a||0;this.y=c||0};b.tc=function(a,c,d){this.x=a||0;this.y=c||0;this.z=d||0};b.Zj=function(a,c){this.ea=a||0;this.fa=c||0};
- b.fc=function(a,c){this.src=a;this.S=c};b.n$=function(){return new b.fc(b.ONE,b.ZERO)};b.yN=function(a){a=a.replace(/^#?/,"0x");a=parseInt(a);return b.color(a>>16,(a>>8)%256,a%256)};b.z$=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.bu=0;b.vq=1;b.LH=2;b.Cq=0;b.sU=1;b.yI=2;
- b.R8=b.oa.extend({mo:null,Zr:null,AA:0,ctor:function(){this.mo={};this.Zr={};this.AA=2<<(0|10*Math.random())},CU:function(){this.AA++;return"key_"+this.AA},ija:function(a,c){if(null!=c){var d=this.CU();this.mo[d]=c;this.Zr[d]=a}},G2:function(a){if(null==a)return null;var c=this.mo,d;for(d in c)if(c[d]===a)return this.Zr[d];return null},Rka:function(a){return this.G2(a)},r3:function(a){if(null!=a){var c=this.mo,d;for(d in c)if(c[d]===a){delete this.Zr[d];delete c[d];break}}},Rha:function(a){if(null!=
- a)for(var c=0;c<a.length;c++)this.r3(a[c])},fZ:function(){var a=[],c=this.mo,d;for(d in c)a.push(c[d]);return a},Lha:function(){this.mo={};this.Zr={}},count:function(){return this.fZ().length}});
- b.RG=function(){this.fontName="Arial";this.fontSize=12;this.textAlign=b.vq;this.verticalAlign=b.Cq;this.fillStyle=b.color(255,255,255,255);this.boundingHeight=this.boundingWidth=0;this.mG=!1;this.strokeStyle=b.color(255,255,255,255);this.lineWidth=1;this.yP=!1;this.shadowBlur=this.shadowOffsetY=this.shadowOffsetX=0;this.shadowOpacity=1};b.A===b.V&&(b.assert("function"===typeof b.F.sA,b.e.fd,"CCTypesWebGL.js"),b.F.sA(),delete b.F.sA);b.assert("function"===typeof b.F.wz,b.e.fd,"CCTypesPropertyDefine.js");
- b.F.wz();delete b.F.wz;b.E8=[];b.F8={};
- b.Qy=b.oa.extend({b9:null,ee:null,Nn:null,Ak:null,me:null,vi:null,DC:!1,HA:!0,Gl:1,GD:"",AC:null,ja:1,HK:1,Ka:1,IK:1,co:0,VB:5,mh:null,eL:null,iL:null,hL:null,fL:null,gL:null,lr:!1,Y8:!1,J9:null,eK:null,fK:null,F9:!1,YA:null,uk:null,oB:1,ru:!1,nK:!0,ctor:function(){var a=document,c=b.Sj,d=b.ig;this.uk=b.vm.parentNode===a.body?a.documentElement:b.vm.parentNode;this.ee=N(0,0);this.DB();var a=b.Va.width,e=b.Va.height;this.Nn=N(a,e);this.Ak=N(a,e);this.me=P(0,0,a,e);this.vi=P(0,0,a,e);this.YA={left:0,
- top:0};this.GD="Cocos2dHTML5";a=b.ob;this.o_(a.wF==a.fH||a.wF==a.gH);b.Ri&&b.Ri.da(this.vi);this.eL=new b.We(c.pt,d.Ty);this.iL=new b.We(c.sS,d.SHOW_ALL);this.hL=new b.We(c.pt,d.mz);this.fL=new b.We(c.pt,d.Uy);this.gL=new b.We(c.pt,d.Vy);this.eK=b.Va;this.fK=b.l},BC:function(){var a=this.Ak.width,c=this.Ak.height;this.AC&&(this.DB(),this.AC.call());0<a&&this.SF(a,c,this.mh)},x3:function(a){a?this.ru||(this.ru=!0,a=this.BC.bind(this),b.Fa(window,"resize",a,!1)):this.ru&&(this.ru=!0,a=this.BC.bind(this),
- window.removeEventListener("resize",a,!1))},zja:function(a){if("function"==typeof a||null==a)this.AC=a},DB:function(){var a=this.ee;a.width=this.uk.clientWidth;a.height=this.uk.clientHeight},S8:function(){var a=this.Ak.width,c=this.Ak.height;0<a&&this.SF(a,c,this.mh)},qY:function(){if(this.nK){var a={"user-scalable":"no","maximum-scale":"1.0","initial-scale":"1.0"},c=document.getElementsByName("viewport"),d;0==c.length?(c=b.Sb("meta"),c.name="viewport",c.content="",document.head.appendChild(c)):c=
- c[0];if(b.ob.Di&&b.ob.tm==b.ob.Kp)c.content="initial-scale:1";else{d=c.content;for(var e in a)RegExp(e).test(d)||(d+=(""==d?"":",")+e+"\x3d"+a[e]);c.content=d}}},Uv:function(){var a=b.nb();this.Ka=this.ja=a},Mv:function(){this.ja=this.HK;this.Ka=this.IK},T8:function(){},B1:function(){this.lr=!0},$Y:function(a){this.nK=a},o_:function(a){this.DC=a?!0:!1},gea:function(){return this.DC},Faa:function(a){this.HA=a?!0:!1},Tda:function(){return this.HA},end:function(){},dea:function(){return null!=this.eK&&
- null!=this.fK},Pia:function(a){this.oB=a;b.K.Vm(b.K.ni)},yka:function(){},Uia:function(){},Aia:function(a,c){this.YA={left:a,top:c}},tba:function(){return this.YA},Tba:function(){return N(this.ee.width,this.ee.height)},Oia:function(a,c){this.ee.width=a;this.ee.height=c;this.uk.style.width=a+"px";this.uk.style.height=c+"px";this.BC();b.K.Vm(b.K.ni)},t$:function(){},us:function(){return N(this.vi.width,this.vi.height)},PE:function(){return C(this.vi.x,this.vi.y)},q$:function(){return!0},Oca:function(){return this.mh},
- u4:function(a){if(a instanceof b.We)this.mh=a;else{var c=b.We;a===c.Ty&&(this.mh=this.eL);a===c.SHOW_ALL&&(this.mh=this.iL);a===c.mz&&(this.mh=this.hL);a===c.Uy&&(this.mh=this.fL);a===c.Vy&&(this.mh=this.gL)}},SF:function(a,c,d){if(isNaN(a)||0==a||isNaN(c)||0==c)b.log(b.e.RQ);else{this.u4(d);var e=this.mh;if(e){e.Pm(this);var f=this.ee.width,g=this.ee.height;b.ob.Di&&this.qY(this.ee.width,this.ee.height);this.DB();if(d!=this.mh||a!=this.Ak.width||c!=this.Ak.height||f!=this.ee.width||g!=this.ee.height)this.Nn=
- N(a,c),this.Ak=N(a,c),a=e.apply(this,this.Nn),a.scale&&2==a.scale.length&&(this.ja=a.scale[0],this.Ka=a.scale[1]),a.viewport&&(a=this.me=a.viewport,c=this.vi,c.width=b.Va.width/this.ja,c.height=b.Va.height/this.Ka,c.x=-a.x/this.ja,c.y=-a.y/this.Ka),a=b.K,b.Tg.width=a.mc.width=this.vi.width,b.Tg.height=a.mc.height=this.vi.height,e.Om(this),b.A==b.V&&(a.Kn(),a.cP()),this.HK=this.ja,this.IK=this.Ka,b.HQ&&b.HQ.x9(),b.Ri&&b.Ri.da(this.vi)}else b.log(b.e.SQ)}},BE:function(){return N(this.Nn.width,this.Nn.height)},
- O4:function(a,c,d,e){var f=this.oB,g=this.ja,h=this.Ka;b.l.viewport(a*g*f+this.me.x*f,c*h*f+this.me.y*f,d*g*f,e*h*f)},Bja:function(a,c,d,e){var f=this.oB,g=this.ja,h=this.Ka;b.l.scissor(a*g*f+this.me.x*f,c*h*f+this.me.y*f,d*g*f,e*h*f)},iea:function(){var a=b.l;return a.isEnabled(a.SCISSOR_TEST)},Tca:function(){var a=b.l,c=this.ja,d=this.Ka,a=a.getParameter(a.SCISSOR_BOX);return P((a[0]-this.me.x)/c,(a[1]-this.me.y)/d,a[2]/c,a[3]/d)},kka:function(a){null!=a&&0<a.length&&(this.GD=a)},Ada:function(){return this.GD},
- Bda:function(){return this.me},hN:function(){return this.ja},iN:function(){return this.Ka},Bba:function(){return this.Gl},hE:function(a,c,d){return{x:this.Gl*(a-d.left),y:this.Gl*(d.top+d.height-c)}},nV:function(a,c){var d=this.me;a.x=(this.Gl*(a.x-c.left)-d.x)/this.ja;a.y=(this.Gl*(c.top+c.height-a.y)-d.y)/this.Ka},Ju:function(a){for(var c=this.me,d=this.ja,e=this.Ka,f,g,h,k=0;k<a.length;k++)f=a[k],g=f.zd,h=f.mi,f.TC((g.x-c.x)/d,(g.y-c.y)/e),f.to((h.x-c.x)/d,(h.y-c.y)/e)}});
- b.Qy.uB=function(){this.jv||(this.jv=this.jv||new b.Qy,this.jv.B1());return this.jv};
- b.Sj=b.oa.extend({Pm:function(){},apply:function(){},Om:function(){},XC:function(a,c,d){var e=a.uk;b.view.HA&&b.ob.Di&&e==document.documentElement&&b.screen.uZ(e);var e=b.Va,f=b.vm;f.style.width=e.style.width=c+"px";f.style.height=e.style.height=d+"px";f=a.Gl=1;a.DC&&(f=a.Gl=window.devicePixelRatio||1);e.width=c*f;e.height=d*f;a=document.body;var g;a&&(g=a.style)&&(g.paddingTop=g.paddingTop||"0px",g.paddingRight=g.paddingRight||"0px",g.paddingBottom=g.paddingBottom||"0px",g.paddingLeft=g.paddingLeft||
- "0px",g.borderTop=g.borderTop||"0px",g.borderRight=g.borderRight||"0px",g.borderBottom=g.borderBottom||"0px",g.borderLeft=g.borderLeft||"0px",g.marginTop=g.marginTop||"0px",g.marginRight=g.marginRight||"0px",g.marginBottom=g.marginBottom||"0px",g.marginLeft=g.marginLeft||"0px")},SJ:function(){document.body.insertBefore(b.vm,document.body.firstChild);var a=document.body.style;a.width=window.innerWidth+"px";a.height=window.innerHeight+"px";a.overflow="hidden";a=b.vm.style;a.position="fixed";a.left=
- a.top="0px";document.body.scrollTop=0}});b.ig=b.oa.extend({CC:{scale:[1,1],viewport:null},Mq:function(a,c,d,e,f,g){2>Math.abs(a-d)&&(d=a);2>Math.abs(c-e)&&(e=c);a=P(Math.round((a-d)/2),Math.round((c-e)/2),d,e);b.A==b.Aa&&b.l.translate(a.x,a.y+e);this.CC.scale=[f,g];this.CC.viewport=a;return this.CC},Pm:function(){},apply:function(){return{scale:[1,1]}},Om:function(){}});
- (function(){var a=b.Sj.extend({apply:function(a){this.XC(a,a.ee.width,a.ee.height)}}),c=b.Sj.extend({apply:function(a,c){var d=a.ee.width,e=a.ee.height,f=b.vm.style,r=c.width,s=c.height,u=d/r,t=e/s,v,w;u<t?(v=d,w=s*u):(v=r*t,w=e);r=Math.round((d-v)/2);w=Math.round((e-w)/2);this.XC(a,d-2*r,e-2*w);f.marginLeft=r+"px";f.marginRight=r+"px";f.marginTop=w+"px";f.marginBottom=w+"px"}});a.extend({Pm:function(a){this._super(a);a.uk=document.documentElement},apply:function(a){this._super(a);this.SJ()}});c.extend({Pm:function(a){this._super(a);
- a.uk=document.documentElement},apply:function(a,c){this._super(a,c);this.SJ()}});var d=b.Sj.extend({apply:function(a){this.XC(a,b.Va.width,b.Va.height)}});b.Sj.pt=new a;b.Sj.sS=new c;b.Sj.W7=new d;var a=b.ig.extend({apply:function(a,c){var d=b.Va.width,e=b.Va.height;return this.Mq(d,e,d,e,d/c.width,e/c.height)}}),c=b.ig.extend({apply:function(a,c){var d=b.Va.width,e=b.Va.height,f=c.width,r=c.height,s=d/f,u=e/r,t=0,v,w;s<u?(t=s,v=d,w=r*t):(t=u,v=f*t,w=e);return this.Mq(d,e,v,w,t,t)}}),d=b.ig.extend({apply:function(a,
- c){var d=b.Va.width,e=b.Va.height,f=c.width,r=c.height,s=d/f,u=e/r,t,v,w;s<u?(t=u,v=f*t,w=e):(t=s,v=d,w=r*t);return this.Mq(d,e,v,w,t,t)}}),e=b.ig.extend({apply:function(a,c){var d=b.Va.width,e=b.Va.height,f=e/c.height;return this.Mq(d,e,d,e,f,f)},Om:function(a){b.K.mc=a.us()}}),f=b.ig.extend({apply:function(a,c){var d=b.Va.width,e=b.Va.height,f=d/c.width;return this.Mq(d,e,d,e,f,f)},Om:function(a){b.K.mc=a.us()}});b.ig.Ty=new a;b.ig.SHOW_ALL=new c;b.ig.mz=new d;b.ig.Uy=new e;b.ig.Vy=new f})();
- b.We=b.oa.extend({Hu:null,Iu:null,ctor:function(a,c){this.S3(a);this.T3(c)},Pm:function(a){this.Hu.Pm(a);this.Iu.Pm(a)},apply:function(a,c){this.Hu.apply(a,c);return this.Iu.apply(a,c)},Om:function(a){this.Hu.Om(a);this.Iu.Om(a)},S3:function(a){a instanceof b.Sj&&(this.Hu=a)},T3:function(a){a instanceof b.ig&&(this.Iu=a)}});b.We.Ty=0;b.We.mz=1;b.We.SHOW_ALL=2;b.We.Uy=3;b.We.Vy=4;b.We.qU=5;b.screen={hw:!1,nC:null,qD:"",tk:null,FV:[["requestFullscreen","exitFullscreen","fullscreenchange","fullscreenEnabled","fullscreenElement"],["requestFullScreen","exitFullScreen","fullScreenchange","fullScreenEnabled","fullScreenElement"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitfullscreenchange","webkitIsFullScreen","webkitCurrentFullScreenElement"],["mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozFullScreen","mozFullScreenElement"],["msRequestFullscreen",
- "msExitFullscreen","MSFullscreenChange","msFullscreenEnabled","msFullscreenElement"]],da:function(){this.tk={};var a,c,d=this.FV,e;a=0;for(l=d.length;a<l;a++)if((c=d[a])&&c[1]in document){a=0;for(e=c.length;a<e;a++)this.tk[d[0][a]]=c[a];break}this.hw=void 0!=this.tk.requestFullscreen;this.qD="ontouchstart"in window?"touchstart":"mousedown"},fullScreen:function(){return this.hw&&document[this.tk.fullscreenEnabled]},JO:function(a,c){if(this.hw){a=a||document.documentElement;a[this.tk.requestFullscreen]();
- if(c){var d=this.tk.Zaa;this.nC&&document.removeEventListener(d,this.nC);this.nC=c;b.Fa(document,d,c,!1)}return a[this.tk.requestFullscreen]()}},Iaa:function(){return this.hw?document[this.tk.exitFullscreen]():!0},uZ:function(a,c){function d(){f.JO(a,c);e.removeEventListener(f.qD,d)}a=a||document.body;var e=b.Va||a,f=this;this.JO(a,c);b.Fa(e,this.qD,d)}};b.screen.da();b.Ri={JP:C(0,0),KP:C(0,0),top:C(0,0),xw:C(0,0),eM:C(0,0),bottom:C(0,0),No:C(0,0),left:C(0,0),right:C(0,0),width:0,height:0,da:function(a){var c=this.width=a.width,d=this.height=a.height,e=a.x;a=a.y;var f=a+d,g=e+c;this.JP.x=e;this.JP.y=f;this.KP.x=g;this.KP.y=f;this.top.x=e+c/2;this.top.y=f;this.xw.x=e;this.xw.y=a;this.eM.x=g;this.eM.y=a;this.bottom.x=e+c/2;this.bottom.y=a;this.No.x=e+c/2;this.No.y=a+d/2;this.left.x=e;this.left.y=a+d/2;this.right.x=g;this.right.y=a+d/2}};b.fU=-90;b.gU=90;b.hU=180;b.G8=0;
- b.MN={oo:!1,rK:!1,OK:C(0,0),xX:C(0,0),PK:[],oC:0,Rk:[],rD:{},co:0,VB:5,tu:!1,uu:1/30,II:1,Bl:0,CA:null,su:null,sW:function(){for(var a=this.co,c=0;c<this.VB;c++){if(!(a&1))return this.co|=1<<c,c;a>>=1}return-1},EX:function(a){0>a||a>=this.VB||(a=~(1<<a),this.co&=a)},wk:null,SE:function(a){for(var c,d,e,f=[],g=this.rD,h=0,k=a.length;h<k;h++)c=a[h],e=c.fh,d=g[e],null==d&&(d=this.sW(),-1==d?b.log(b.e.C1,d):(c=this.Rk[d]=c,g[e]=d,f.push(c)));0<f.length&&(this.wk.Ju(f),a=new b.jg(f),a.pk=b.jg.gn.Ay,b.na.dispatchEvent(a))},
- TE:function(a){for(var c,d,e=[],f=this.Rk,g=0,h=a.length;g<h;g++)c=a[g],d=c.fh,d=this.rD[d],null!=d&&f[d]&&(f[d].TC(c.zd),f[d].to(c.mi),e.push(f[d]));0<e.length&&(this.wk.Ju(e),a=new b.jg(e),a.pk=b.jg.gn.iz,b.na.dispatchEvent(a))},Yw:function(a){a=this.jN(a);0<a.length&&(this.wk.Ju(a),a=new b.jg(a),a.pk=b.jg.gn.Ry,b.na.dispatchEvent(a))},wN:function(a){a=this.jN(a);0<a.length&&(this.wk.Ju(a),a=new b.jg(a),a.pk=b.jg.gn.Hy,b.na.dispatchEvent(a))},jN:function(a){for(var c,d,e,f=[],g=this.Rk,h=this.rD,
- k=0,m=a.length;k<m;k++)c=a[k],e=c.fh,d=h[e],null!=d&&g[d]&&(g[d].TC(c.zd),g[d].to(c.mi),f.push(g[d]),this.EX(d),delete h[e]);return f},Dh:function(a){var c=document.documentElement,d=window,e=null,e="function"===typeof a.getBoundingClientRect?a.getBoundingClientRect():a instanceof HTMLCanvasElement?{left:0,top:0,width:a.width,height:a.height}:{left:0,top:0,width:parseInt(a.style.width),height:parseInt(a.style.height)};return{left:e.left+d.pageXOffset-c.clientLeft,top:e.top+d.pageYOffset-c.clientTop,
- width:e.width,height:e.height}},K0:function(a){for(var c=null,d=this.PK,e=a.fh,f=d.length-1;0<=f;f--)if(d[f].fh==e){c=d[f];break}c||(c=a);return c},t4:function(a){for(var c=!1,d=this.PK,e=a.fh,f=d.length-1;0<=f;f--)if(d[f].fh==e){d[f]=a;c=!0;break}c||(50>=d.length?d.push(a):(d[this.oC]=a,this.oC=(this.oC+1)%50))},ts:function(a,c,d){var e=this.OK;a=this.wk.hE(a,c,d);c=new b.fA(a.x,a.y);c.to(e.x,e.y);e.x=a.x;e.y=a.y;return c},bp:function(a,c,d){var e=this.xX;this.wk.nV(a,c);c=new b.Oc(d);c.h4(a.x,a.y);
- c.XX(e.x,e.y);e.x=a.x;e.y=a.y;return c},dp: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}},Vw:function(a,c){for(var d=[],e=this.wk,f,g,h=this.OK,k=a.changedTouches.length,m=0;m<k;m++)if(f=a.changedTouches[m]){var p;p=b.ob.Kp===b.ob.tm?e.hE(f.pageX,f.pageY,c):e.hE(f.clientX,f.clientY,c);null!=f.identifier?(f=new b.fA(p.x,p.y,f.identifier),g=this.K0(f).ss(),f.to(g.x,g.y),this.t4(f)):(f=new b.fA(p.x,
- p.y),f.to(h.x,h.y));h.x=p.x;h.y=p.y;d.push(f)}return d},l3:function(a){if(!this.rK){var c=this.wk=b.view,d=this,e="touches"in b.ob.aE;"mouse"in b.ob.aE&&(b.Fa(window,"mousedown",function(){d.oo=!0},!1),b.Fa(window,"mouseup",function(c){var f=d.oo;d.oo=!1;if(f){var f=d.Dh(a),g=d.dp(c,f);b.AO(new b.yH(f.left,f.top,f.width,f.height),g)||(e||d.Yw([d.ts(g.x,g.y,f)]),f=d.bp(g,f,b.Oc.pA),f.Um(c.button),b.na.dispatchEvent(f))}},!1),b.Fa(a,"mousedown",function(c){d.oo=!0;var f=d.Dh(a),g=d.dp(c,f);e||d.SE([d.ts(g.x,
- g.y,f)]);f=d.bp(g,f,b.Oc.KG);f.Um(c.button);b.na.dispatchEvent(f);c.stopPropagation();c.preventDefault();a.focus()},!1),b.Fa(a,"mouseup",function(c){d.oo=!1;var f=d.Dh(a),g=d.dp(c,f);e||d.Yw([d.ts(g.x,g.y,f)]);f=d.bp(g,f,b.Oc.pA);f.Um(c.button);b.na.dispatchEvent(f);c.stopPropagation();c.preventDefault()},!1),b.Fa(a,"mousemove",function(c){var f=d.Dh(a),g=d.dp(c,f);e||d.TE([d.ts(g.x,g.y,f)]);f=d.bp(g,f,b.Oc.aH);d.oo?f.Um(c.button):f.Um(null);b.na.dispatchEvent(f);c.stopPropagation();c.preventDefault()},
- !1),b.Fa(a,"mousewheel",function(c){var e=d.Dh(a),f=d.dp(c,e),e=d.bp(f,e,b.Oc.Iz);e.Um(c.button);e.sP(0,c.wheelDelta);b.na.dispatchEvent(e);c.stopPropagation();c.preventDefault()},!1),b.Fa(a,"DOMMouseScroll",function(c){var e=d.Dh(a),f=d.dp(c,e),e=d.bp(f,e,b.Oc.Iz);e.Um(c.button);e.sP(0,-120*c.detail);b.na.dispatchEvent(e);c.stopPropagation();c.preventDefault()},!1));if(window.navigator.msPointerEnabled){var f={MSPointerDown:d.SE,MSPointerMove:d.TE,MSPointerUp:d.Yw,MSPointerCancel:d.wN},g;for(g in f)(function(c,
- e){b.Fa(a,c,function(c){var f=d.Dh(a);f.left-=document.documentElement.scrollLeft;f.top-=document.documentElement.scrollTop;e.call(d,[d.ts(c.clientX,c.clientY,f)]);c.stopPropagation()},!1)})(g,f[g])}e&&(b.Fa(a,"touchstart",function(c){if(c.changedTouches){var e=d.Dh(a);e.left-=document.body.scrollLeft;e.top-=document.body.scrollTop;d.SE(d.Vw(c,e));c.stopPropagation();c.preventDefault();a.focus()}},!1),b.Fa(a,"touchmove",function(c){if(c.changedTouches){var e=d.Dh(a);e.left-=document.body.scrollLeft;
- e.top-=document.body.scrollTop;d.TE(d.Vw(c,e));c.stopPropagation();c.preventDefault()}},!1),b.Fa(a,"touchend",function(c){if(c.changedTouches){var e=d.Dh(a);e.left-=document.body.scrollLeft;e.top-=document.body.scrollTop;d.Yw(d.Vw(c,e));c.stopPropagation();c.preventDefault()}},!1),b.Fa(a,"touchcancel",function(e){if(e.changedTouches){var f=d.Dh(a);f.left-=document.body.scrollLeft;f.top-=document.body.scrollTop;c.wN(d.Vw(e,f));e.stopPropagation();e.preventDefault()}},!1));this.ZK();this.YK();this.rK=
- !0}},ZK:function(){},YK:function(){},update:function(a){this.Bl>this.uu&&(this.Bl-=this.uu,b.na.dispatchEvent(new b.XQ(this.CA)));this.Bl+=a}};var n=b.MN;n.iia=function(a){this.tu!==a&&(this.tu=a,a=b.K.Wk(),this.tu?(this.Bl=0,a.NF(this)):(this.Bl=0,a.jt(this)))};n.jia=function(a){this.uu!==a&&(this.uu=a)};n.ZK=function(){b.Fa(b.Va,"keydown",function(a){b.na.dispatchEvent(new b.OG(a.keyCode,!0));a.stopPropagation();a.preventDefault()},!1);b.Fa(b.Va,"keyup",function(a){b.na.dispatchEvent(new b.OG(a.keyCode,!1));a.stopPropagation();a.preventDefault()},!1)};
- n.YK=function(){var a=window;this.CA=new b.aQ;this.su=a.DeviceMotionEvent||a.DeviceOrientationEvent;b.ob.tm==b.ob.DG&&(this.su=window.DeviceOrientationEvent);b.Fa(a,this.su==a.DeviceMotionEvent?"devicemotion":"deviceorientation",this.SZ.bind(this),!1)};
- n.SZ=function(a){var c=window;if(this.tu){var d=this.CA;if(this.su==window.DeviceMotionEvent){var e=a.accelerationIncludingGravity;d.x=this.II*e.x*0.1;d.y=this.II*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.gU?(d.x=-d.y,d.y=a):c.orientation===b.fU?(d.x=d.y,d.y=-a):c.orientation===b.hU&&(d.x=-d.x,d.y=-d.y)}};delete n;b.r6=function(a,c,d,e,f,g){this.a=a;this.b=c;this.B=d;this.J=e;this.Ha=f;this.Ia=g};b.X9=function(a,c,d,e,f,g){return{a:a,b:c,B:d,J:e,Ha:f,Ia:g}};b.vO=function(a,c){return{x:c.a*a.x+c.B*a.y+c.Ha,y:c.b*a.x+c.J*a.y+c.Ia}};b.Dk=function(a,c,d){return{x:d.a*a+d.B*c+d.Ha,y:d.b*a+d.J*c+d.Ia}};b.mka=function(a,c){return{width:c.a*a.width+c.B*a.height,height:c.b*a.width+c.J*a.height}};b.Y9=function(){return{a:1,b:0,B:0,J:1,Ha:0,Ia:0}};b.W9=function(){return{a:1,b:0,B:0,J:1,Ha:0,Ia:0}};
- b.EF=function(a,c){var d=b.vp(a),e=b.up(a),f=b.Ts(a),g=b.Us(a),h=b.Dk(e,d,c),d=b.Dk(f,d,c),e=b.Dk(e,g,c),k=b.Dk(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 P(f,m,g-f,h-m)};
- b.yX=function(a,c){var d=b.vp(a),e=b.up(a),f=b.Ts(a),g=b.Us(a),h=b.Dk(e,d,c),d=b.Dk(f,d,c),e=b.Dk(e,g,c),k=b.Dk(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.aZ=function(a,c,d){return{a:a.a,b:a.b,B:a.B,J:a.J,Ha:a.Ha+a.a*c+a.B*d,Ia:a.Ia+a.b*c+a.J*d}};b.a$=function(a,c,d){return{a:a.a*c,b:a.b*c,B:a.B*d,J:a.J*d,Ha:a.Ha,Ia:a.Ia}};
- b.Z9=function(a,c){var d=Math.sin(c),e=Math.cos(c);return{a:a.a*e+a.B*d,b:a.b*e+a.J*d,B:a.B*e-a.a*d,J:a.J*e-a.b*d,Ha:a.Ha,Ia:a.Ia}};b.pm=function(a,c){return{a:a.a*c.a+a.b*c.B,b:a.a*c.b+a.b*c.J,B:a.B*c.a+a.J*c.B,J:a.B*c.b+a.J*c.J,Ha:a.Ha*c.a+a.Ia*c.B+c.Ha,Ia:a.Ha*c.b+a.Ia*c.J+c.Ia}};b.V9=function(a,c){return a.a===c.a&&a.b===c.b&&a.B===c.B&&a.J===c.J&&a.Ha===c.Ha&&a.Ia===c.Ia};
- b.WL=function(a){var c=1/(a.a*a.J-a.b*a.B);return{a:c*a.J,b:-c*a.b,B:-c*a.B,J:c*a.a,Ha:c*(a.B*a.Ia-a.J*a.Ha),Ia:c*(a.b*a.Ha-a.a*a.Ia)}};b.kH=parseFloat("1.192092896e-07F");b.yF=function(a){return C(-a.x,-a.y)};b.Hi=function(a,c){return C(a.x+c.x,a.y+c.y)};b.Fd=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.rO=function(a,c){return b.Ii(b.Hi(a,c),0.5)};b.sp=function(a,c){return a.x*c.x+a.y*c.y};b.J2=function(a,c){return a.x*c.y-a.y*c.x};b.Ox=function(a){return C(-a.y,a.x)};b.Wga=function(a){return C(a.y,-a.x)};b.Vga=function(a,c){return b.Ii(c,b.sp(a,c)/b.sp(c,c))};
- b.Xga=function(a,c){return C(a.x*c.x-a.y*c.y,a.x*c.y+a.y*c.x)};b.$ga=function(a,c){return C(a.x*c.x+a.y*c.y,a.y*c.x-a.x*c.y)};b.pO=function(a){return b.sp(a,a)};b.oO=function(a,c){return b.pO(b.Fd(a,c))};b.dl=function(a){return Math.sqrt(b.pO(a))};b.Qga=function(a,c){return b.dl(b.Fd(a,c))};b.Hg=function(a){return b.Ii(a,1/b.dl(a))};b.Rga=function(a){return C(Math.cos(a),Math.sin(a))};b.M2=function(a){return Math.atan2(a.y,a.x)};b.Uc=function(a,c,d){if(c>d){var e=c;c=d;d=e}return a<c?c:a<d?a:d};
- b.nO=function(a){var c=C(0,0),d=C(1,1);return C(b.Uc(a.x,c.x,d.x),b.Uc(a.y,c.y,d.y))};b.Sga=function(a){return C(a.width,a.height)};b.Pga=function(a,c){return C(c(a.x),c(a.y))};b.qO=function(a,c,d){return b.Hi(b.Ii(a,1-d),b.Ii(c,d))};b.Tga=function(a,c,d){return a.x-d<=c.x&&c.x<=a.x+d&&a.y-d<=c.y&&c.y<=a.y+d?!0:!1};b.Oga=function(a,c){return C(a.x*c.x,a.y*c.y)};b.Nga=function(a,c){var d=b.Hg(a),e=b.Hg(c),d=Math.atan2(d.x*e.y-d.y*e.x,b.sp(d,e));return Math.abs(d)<b.kH?0:d};
- b.Mga=function(a,c){var d=Math.acos(b.sp(b.Hg(a),b.Hg(c)));return Math.abs(d)<b.kH?0:d};b.L2=function(a,c,d){a=b.Fd(a,c);var e=Math.cos(d);d=Math.sin(d);var f=a.x;a.x=f*e-a.y*d+c.x;a.y=f*d+a.y*e+c.y;return a};b.xF=function(a,c,d,e,f){if(a.x==c.x&&a.y==c.y||d.x==e.x&&d.y==e.y)return!1;var g=c.x-a.x;c=c.y-a.y;var h=e.x-d.x;e=e.y-d.y;var k=a.x-d.x;a=a.y-d.y;d=e*g-h*c;f.x=h*a-e*k;f.y=g*a-c*k;if(0==d)return 0==f.x||0==f.y?!0:!1;f.x/=d;f.y/=d;return!0};
- b.Zga=function(a,c,d,e){var f=C(0,0);return b.xF(a,c,d,e,f)&&0<=f.x&&1>=f.x&&0<=f.y&&1>=f.y?!0:!1};b.Uga=function(a,c,d,e){var f=C(0,0);return b.xF(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.Yga=function(a,c){return null!=a&&null!=c?a.x==c.x&&a.y==c.y:!1};b.Px=function(a){a.x=0;a.y=0};b.Mj=function(a,c){a.x=c.x;a.y=c.y};b.tp=function(a,c){a.x*=c;a.y*=c};b.sO=function(a,c){a.x-=c.x;a.y-=c.y};b.Nx=function(a,c){a.x+=c.x;a.y+=c.y};
- b.K2=function(a){b.tp(a,1/Math.sqrt(a.x*a.x+a.y*a.y))};b.tG=function(a,c,d,e,f){f+=e;if(!(1>=f)){c*=0.5;for(var g,h=f-1,k=e;k<f;k++){g=2*k;var m=C(a[2*k],a[2*k+1]),p;if(0===k)p=b.Ox(b.Hg(b.Fd(m,C(a[2*(k+1)],a[2*(k+1)+1]))));else if(k===h)p=b.Ox(b.Hg(b.Fd(C(a[2*(k-1)],a[2*(k-1)+1]),m)));else{p=C(a[2*(k-1)],a[2*(k-1)+1]);var r=C(a[2*(k+1)],a[2*(k+1)+1]),s=b.Hg(b.Fd(r,m)),u=b.Hg(b.Fd(p,m)),t=Math.acos(b.sp(s,u));p=t<b.Of(70)?b.Ox(b.Hg(b.rO(s,u))):t<b.Of(170)?b.Hg(b.rO(s,u)):b.Ox(b.Hg(b.Fd(r,p)))}p=b.Ii(p,c);d[2*g]=m.x+p.x;d[2*g+1]=m.y+p.y;d[2*(g+1)]=m.x-
- p.x;d[2*(g+1)+1]=m.y-p.y}for(k=0==e?0:e-1;k<h;k++)g=2*k,a=g+2,c=new b.Vb(d[2*g],d[2*g+1]),f=new b.Vb(d[2*(g+1)],d[2*(g+1)+1]),g=new b.Vb(d[2*a],d[2*a]),e=new b.Vb(d[2*(a+1)],d[2*(a+1)+1]),c=!b.Q5(c.x,c.y,e.x,e.y,f.x,f.y,g.x,g.y),!c.Bs&&(0>c.value||1<c.value)&&(c.Bs=!0),c.Bs&&(d[2*a]=e.x,d[2*a+1]=e.y,d[2*(a+1)]=g.x,d[2*(a+1)+1]=g.y)}};
- b.Q5=function(a,c,d,e,f,g,h,k){if(a==d&&c==e||f==h&&g==k)return{Bs:!1,value:0};d-=a;e-=c;f-=a;g-=c;h-=a;k-=c;a=Math.sqrt(d*d+e*e);d/=a;e/=a;c=f*d+g*e;g=g*d-f*e;f=c;c=h*d+k*e;k=k*d-h*e;h=c;return g==k?{Bs:!1,value:0}:{Bs:!0,value:(h+(f-h)*k/(k-g))/a}};b.Ska=function(a){for(var c=0,d=a.length;c<d;c++){var e=a[(c+1)%d];if(0<b.J2(b.Fd(e,a[c]),b.Fd(a[(c+2)%d],e)))return!1}return!0};b.J6=function(a,c){c[2]=c[3]=c[6]=c[7]=c[8]=c[9]=c[11]=c[14]=0;c[10]=c[15]=1;c[0]=a.a;c[4]=a.B;c[12]=a.Ha;c[1]=a.b;c[5]=a.J;c[13]=a.Ia};b.f7=function(a,c){c.a=a[0];c.B=a[4];c.Ha=a[12];c.b=a[1];c.J=a[5];c.Ia=a[13]};b.fA=b.oa.extend({zd:null,mi:null,fh:0,zL:!1,Mr:null,ctor:function(a,c,d){this.zd=C(a||0,c||0);this.fh=d||0},ss:function(){return{x:this.zd.x,y:this.zd.y}},w0:function(){return this.zd.x},x0:function(){return this.zd.y},Hca:function(){return{x:this.mi.x,y:this.mi.y}},Yca:function(){return{x:this.Mr.x,y:this.Mr.y}},AE:function(){return b.Fd(this.zd,this.mi)},v0:function(){return{x:this.zd.x,y:this.zd.y}},Ica:function(){return{x:this.mi.x,y:this.mi.y}},Zca:function(){return{x:this.Mr.x,y:this.Mr.y}},
- Xba:function(){return this.fh},Yba:function(){return this.fh},Tja:function(a,c,d){this.mi=this.zd;this.zd=C(c||0,d||0);this.fh=a;this.zL||(this.Mr=C(this.zd),this.zL=!0)},TC:function(a,c){void 0===c?(this.zd.x=a.x,this.zd.y=a.y):(this.zd.x=a,this.zd.y=c)},to:function(a,c){this.mi=void 0===c?C(a.x,a.y):C(a||0,c||0)}});b.pc=b.oa.extend({lc:0,Ml:!1,vc:null,LC:function(a){this.vc=a},ctor:function(a){this.lc=a},OE:function(){return this.lc},stopPropagation:function(){this.Ml=!0},mea:function(){return this.Ml},vba:function(){return this.vc}});b.pc.eu=0;b.pc.ln=1;b.pc.bn=2;b.pc.on=3;b.pc.Lp=4;b.Ui=b.pc.extend({kB:null,ML:null,ctor:function(a){b.pc.prototype.ctor.call(this,b.pc.Lp);this.kB=a},setUserData:function(a){this.ML=a},getUserData:function(){return this.ML},Nba:function(){return this.kB}});
- b.Oc=b.pc.extend({OJ:0,SI:0,wh:0,He:0,qC:0,rC:0,kL:0,lL:0,ctor:function(a){b.pc.prototype.ctor.call(this,b.pc.on);this.OJ=a},sP:function(a,c){this.kL=a;this.lL=c},Uca:function(){return this.kL},Vca:function(){return this.lL},h4:function(a,c){this.wh=a;this.He=c},ss:function(){return{x:this.wh,y:this.He}},v0:function(){return{x:this.wh,y:b.view.Nn.height-this.He}},XX:function(a,c){this.qC=a;this.rC=c},AE:function(){return{x:this.wh-this.qC,y:this.He-this.rC}},zba:function(){return this.wh-this.qC},
- Aba:function(){return this.He-this.rC},Um:function(a){this.SI=a},hba:function(){return this.SI},w0:function(){return this.wh},x0:function(){return this.He}});b.Oc.NONE=0;b.Oc.KG=1;b.Oc.pA=2;b.Oc.aH=3;b.Oc.Iz=4;b.Oc.F6=0;b.Oc.H6=2;b.Oc.G6=1;b.Oc.A6=3;b.Oc.B6=4;b.Oc.C6=5;b.Oc.D6=6;b.Oc.E6=7;
- b.jg=b.pc.extend({pk:0,Rk:null,ctor:function(a){b.pc.prototype.ctor.call(this,b.pc.eu);this.Rk=a||[]},Mba:function(){return this.pk},rda:function(){return this.Rk},B9:function(a){this.pk=a},D9:function(a){this.Rk=a}});b.jg.G7=5;b.jg.gn={Ay:0,iz:1,Ry:2,Hy:3};b.ra=b.oa.extend({YB:null,lc:0,fi:null,hf:!1,sk:0,ff:null,kc:!1,io:!0,ctor:function(a,c,d){this.YB=d;this.lc=a||0;this.fi=c||""},SC:function(a){this.kc=a},o9:function(){return this.kc},Er:function(a){this.hf=a},MW:function(){return this.hf},m9:function(){return this.lc},j9:function(){return this.fi},MC:function(a){this.sk=a},i9:function(){return this.sk},Fr:function(a){this.ff=a},k9:function(){return this.ff},Uk:function(){return null!=this.YB},j:function(){return null},pe:function(a){this.io=a},
- isEnabled:function(){return this.io},Yx:function(){},Ki:function(){}});b.ra.qU=0;b.ra.gu=1;b.ra.fu=2;b.ra.ln=3;b.ra.on=4;b.ra.bn=5;b.ra.Lp=6;b.Dq=b.ra.extend({vr:null,ctor:function(a,c){this.vr=c;var d=this;b.ra.prototype.ctor.call(this,b.ra.Lp,a,function(a){null!=d.vr&&d.vr(a)})},Uk:function(){return b.ra.prototype.Uk.call(this)&&null!=this.vr},j:function(){return new b.Dq(this.fi,this.vr)}});b.Dq.create=function(a,c){return new b.Dq(a,c)};
- b.fk=b.ra.extend({Hx:null,Kx:null,Ix:null,Jx:null,ctor:function(){var a=this;b.ra.prototype.ctor.call(this,b.ra.on,b.fk.qc,function(c){var d=b.Oc;switch(c.OJ){case d.KG:a.Hx&&a.Hx(c);break;case d.pA:a.Kx&&a.Kx(c);break;case d.aH:a.Ix&&a.Ix(c);break;case d.Iz:a.Jx&&a.Jx(c)}})},j:function(){var a=new b.fk;a.Hx=this.Hx;a.Kx=this.Kx;a.Ix=this.Ix;a.Jx=this.Jx;return a},Uk:function(){return!0}});b.fk.qc="__cc_mouse";b.fk.create=function(){return new b.fk};
- b.Vh=b.ra.extend({Hn:null,et:!1,cl:null,Ls:null,Mm:null,Ks:null,ctor:function(){b.ra.prototype.ctor.call(this,b.ra.gu,b.Vh.qc,null);this.Hn=[]},Jja:function(a){this.et=a},j:function(){var a=new b.Vh;a.cl=this.cl;a.Ls=this.Ls;a.Mm=this.Mm;a.Ks=this.Ks;a.et=this.et;return a},Uk:function(){return this.cl?!0:(b.log(b.e.xU),!1)}});b.Vh.qc="__cc_touch_one_by_one";b.Vh.create=function(){return new b.Vh};
- b.Uh=b.ra.extend({qp:null,Ns:null,rp:null,Ms:null,ctor:function(){b.ra.prototype.ctor.call(this,b.ra.fu,b.Uh.qc,null)},j:function(){var a=new b.Uh;a.qp=this.qp;a.Ns=this.Ns;a.rp=this.rp;a.Ms=this.Ms;return a},Uk:function(){return null==this.qp&&null==this.Ns&&null==this.rp&&null==this.Ms?(b.log(b.e.wU),!1):!0}});b.Uh.qc="__cc_touch_all_at_once";b.Uh.create=function(){return new b.Uh};
- b.ra.create=function(a){b.assert(a&&a.event,b.e.YQ);var c=a.event;delete a.event;var d=null;c===b.ra.gu?d=new b.Vh:c===b.ra.fu?d=new b.Uh:c===b.ra.on?d=new b.fk:c===b.ra.Lp?(d=new b.Dq(a.y_,a.YD),delete a.y_,delete a.YD):c===b.ra.ln?d=new b.ek:c===b.ra.bn&&(d=new b.dk(a.YD),delete a.YD);for(var e in a)d[e]=a[e];return d};b.mM=function(a){var c,d=a.length,e=Array(d);for(c=0;c<d;c+=1)e[c]=a[c];return e};b.yU=b.oa.extend({Cf:null,If:null,vN:0,ctor:function(){this.Cf=[];this.If=[]},size:function(){return this.Cf.length+this.If.length},empty:function(){return 0===this.Cf.length&&0===this.If.length},push:function(a){0==a.sk?this.If.push(a):this.Cf.push(a)},HZ:function(){this.If.length=0},GZ:function(){this.Cf.length=0},clear:function(){this.If.length=0;this.Cf.length=0},Pba:function(){return this.Cf},Sca:function(){return this.If}});
- b.pu=function(a){var c=b.pc,d=a.lc;if(d===c.bn)return b.dk.qc;if(d===c.Lp)return a.kB;if(d===c.ln)return b.ek.qc;if(d===c.on)return b.fk.qc;d===c.eu&&b.log(b.e.pu);return""};
- b.na={Oy:0,nt:1,Op:2,T6:3,ug:{},Br:{},hi:{},vv:{},cK:{},Eo:[],Xq:[],Kl:0,io:!1,EK:0,LW:[b.Kb.qt,b.Kb.Pp],Rv:function(a){null!=this.hi[a.sa]&&this.Xq.push(a);a=a.t;for(var c=0,d=a.length;c<d;c++)this.Rv(a[c])},el:function(a,c){var d=this.hi[a.sa],e,f;if(d)for(e=0,f=d.length;e<f;e++)d[e].SC(!0);if(!0===c)for(d=a.t,e=0,f=d.length;e<f;e++)this.el(d[e],!0)},Li:function(a,c){var d=this.hi[a.sa],e,f;if(d)for(e=0,f=d.length;e<f;e++)d[e].SC(!1);this.Rv(a);if(!0===c)for(d=a.t,e=0,f=d.length;e<f;e++)this.Li(d[e],
- !0)},LI:function(a){0===this.Kl?this.UJ(a):this.Eo.push(a)},UJ:function(a){var c=a.fi,d=this.ug[c];d||(d=new b.yU,this.ug[c]=d);d.push(a);0==a.sk?(this.Ik(c,this.Op),c=a.ff,null==c&&b.log(b.e.r_),this.PU(c,a),c.oh&&this.Li(c)):this.Ik(c,this.nt)},xB:function(a){return this.ug[a]},KY:function(){if(0!=this.Xq.length){for(var a=this.Xq,c,d,e=this.hi,f=0,g=a.length;f<g;f++)if(c=e[a[f].sa])for(var h=0,k=c.length;h<k;h++)(d=c[h])&&this.Ik(d.fi,this.Op);this.Xq.length=0}},$K:function(a){if(a)for(var c,d=
- 0;d<a.length;)c=a[d],c.Er(!1),null!=c.ff&&(this.gJ(c.ff,c),c.Fr(null)),0===this.Kl?b.Ie(a,c):++d},Xl:function(a){var c=this.ug[a];if(c){var d=c.Cf;this.$K(c.If);this.$K(d);delete this.Br[a];this.Kl||(c.clear(),delete this.ug[a])}for(var d=this.Eo,e,c=0;c<d.length;)(e=d[c])&&e.fi==a?b.Ie(d,e):++c},$C:function(a){var c=this.Oy,d=this.Br;d[a]&&(c=d[a]);c!=this.Oy&&(d[a]=this.Oy,c&this.nt&&this.wY(a),c&this.Op&&((c=b.K.bd)?this.yY(a,c):d[a]=this.Op))},yY:function(a,c){var d=this.xB(a);if(d){var e=d.If;
- e&&0!==e.length&&(this.EK=0,this.vv={},this.HD(c,!0),d.If.sort(this.vY))}},vY:function(a,c){var d=b.na.vv;return d[c.ff.sa]-d[a.ff.sa]},wY:function(a){if(a=this.ug[a]){var c=a.Cf;if(c&&0!==c.length){c.sort(this.xY);for(var d=0,e=c.length;d<e&&!(0<=c[d].sk);)++d;a.vN=d}}},xY:function(a,c){return a.sk-c.sk},ZB:function(a){if(a=this.ug[a]){var c=a.Cf,d=a.If,e,f;if(d)for(e=0;e<d.length;)f=d[e],f.hf?++e:b.Ie(d,f);if(c)for(e=0;e<c.length;)f=c[e],f.hf?++e:b.Ie(c,f);d&&0===d.length&&a.HZ();c&&0===c.length&&
- a.GZ()}},ow:function(a){var c=this.Kl;b.assert(0<c,b.e.ZQ);a.lc==b.pc.eu?(this.ZB(b.Vh.qc),this.ZB(b.Uh.qc)):this.ZB(b.pu(a));if(!(1<c)){b.assert(1==c,b.e.$Q);a=this.ug;var c=this.Br,d;for(d in a)a[d].empty()&&(delete c[d],delete a[d]);d=this.Eo;if(0!==d.length){a=0;for(c=d.length;a<c;a++)this.UJ(d[a]);this.Eo.length=0}}},iX:function(a,c){if(!a.MW)return!1;var d=c.event,e=c.SO;d.LC(a.ff);var f=!1,g,h=d.pk,k=b.jg.gn;h==k.Ay?a.cl&&(f=a.cl(e,d))&&a.hf&&a.Hn.push(e):0<a.Hn.length&&-1!=(g=a.Hn.indexOf(e))&&
- (f=!0,h===k.iz&&a.Ls?a.Ls(e,d):h===k.Ry?(a.Mm&&a.Mm(e,d),a.hf&&a.Hn.splice(g,1)):h===k.Hy&&(a.Ks&&a.Ks(e,d),a.hf&&a.Hn.splice(g,1)));return d.Ml?(b.na.ow(d),!0):f&&a.hf&&a.et?(c.D2&&c.touches.splice(e,1),!0):!1},wV:function(a){this.$C(b.Vh.qc);this.$C(b.Uh.qc);var c=this.xB(b.Vh.qc),d=this.xB(b.Uh.qc);if(null!=c||null!=d){var e=a.Rk,f=b.mM(e),g={event:a,D2:c&&d,touches:f,SO:null};if(c)for(var h=0;h<e.length;h++)if(g.SO=e[h],this.cB(c,this.iX,g),a.Ml)return;if(d&&0<f.length&&(this.cB(d,this.kX,{event:a,
- touches:f}),a.Ml))return;this.ow(a)}},kX:function(a,c){if(!a.hf)return!1;var d=b.jg.gn,e=c.event,f=c.touches,g=e.pk;e.LC(a.ff);g==d.Ay&&a.qp?a.qp(f,e):g==d.iz&&a.Ns?a.Ns(f,e):g==d.Ry&&a.rp?a.rp(f,e):g==d.Hy&&a.Ms&&a.Ms(f,e);return e.Ml?(b.na.ow(e),!0):!1},PU:function(a,c){var d=this.hi[a.sa];d||(d=[],this.hi[a.sa]=d);d.push(c)},gJ:function(a,c){var d=this.hi[a.sa];d&&(b.Ie(d,c),0===d.length&&delete this.hi[a.sa])},cB:function(a,c,d){var e=!1,f=a.Cf,g=a.If,h=0,k;if(f&&0!==f.length)for(;h<a.vN;++h)if(k=
- f[h],k.isEnabled()&&!k.kc&&k.hf&&c(k,d)){e=!0;break}if(g&&!e)for(a=0;a<g.length;a++)if(k=g[a],k.isEnabled()&&!k.kc&&k.hf&&c(k,d)){e=!0;break}if(f&&!e)for(;h<f.length&&(k=f[h],!k.isEnabled()||k.kc||!k.hf||!c(k,d));++h);},Ik:function(a,c){var d=this.Br;d[a]=null==d[a]?c:c|d[a]},HD:function(a,c){var d=a.t,e=0,f=d.length,g=this.cK,h=this.hi;if(0<f){for(var k;e<f;e++)if((k=d[e])&&0>k.Bb)this.HD(k,!1);else break;null!=h[a.sa]&&(g[a.dj]||(g[a.dj]=[]),g[a.dj].push(a.sa));for(;e<f;e++)(k=d[e])&&this.HD(k,
- !1)}else null!=h[a.sa]&&(g[a.dj]||(g[a.dj]=[]),g[a.dj].push(a.sa));if(c){var d=[],m;for(m in g)d.push(m);d.sort(this.zY);m=d.length;k=this.vv;for(e=0;e<m;e++)for(f=g[d[e]],h=0;h<f.length;h++)k[f[h]]=++this.EK;this.cK={}}},zY:function(a,c){return a-c},addListener:function(a,c){b.assert(a&&c,b.e.t_);if(!(a instanceof b.ra))b.assert("number"!==typeof c,b.e.u_),a=b.ra.create(a);else if(a.hf){b.log(b.e.v_);return}a.Uk()&&("number"==typeof c?0==c?b.log(b.e.s_):(a.Fr(null),a.MC(c),a.Er(!0),a.SC(!1),this.LI(a)):
- (a.Fr(c),a.MC(0),a.Er(!0),this.LI(a)))},ND:function(a,c){var d=b.Dq.create(a,c);this.addListener(d,1);return d},removeListener:function(a){if(null!=a){var c,d=this.ug,e;for(e in d){var f=d[e],g=f.Cf;(c=this.aL(f.If,a))?this.Ik(a.fi,this.Op):(c=this.aL(g,a))&&this.Ik(a.fi,this.nt);f.empty()&&(delete this.Br[a.fi],delete d[e]);if(c)break}if(!c)for(c=this.Eo,d=0,e=c.length;d<e;d++)if(f=c[d],f==a){b.Ie(c,f);break}}},aL:function(a,c){if(null==a)return!1;for(var d=0,e=a.length;d<e;d++){var f=a[d];if(f==
- c)return f.Er(!1),null!=f.ff&&(this.gJ(f.ff,f),f.Fr(null)),0==this.Kl&&b.Ie(a,f),!0}return!1},FO:function(a,c){if(a instanceof b.k){delete this.vv[a.sa];b.Ie(this.Xq,a);var d=this.hi[a.sa];if(d){for(var e=b.mM(d),d=0;d<e.length;d++)this.removeListener(e[d]);e.length=0;e=this.Eo;for(d=0;d<e.length;){var f=e[d];f.ff==a?(f.Fr(null),f.Er(!1),e.splice(d,1)):++d}if(!0===c)for(e=a.t,d=0,f=e.length;d<f;d++)this.FO(e[d],!0)}}else a==b.ra.gu?this.Xl(b.Vh.qc):a==b.ra.fu?this.Xl(b.Uh.qc):a==b.ra.on?this.Xl(b.fk.qc):
- a==b.ra.bn?this.Xl(b.dk.qc):a==b.ra.ln?this.Xl(b.ek.qc):b.log(b.e.w_)},Pha:function(a){this.Xl(a)},Kha:function(){var a=this.ug,c=this.LW,d;for(d in a)-1===c.indexOf(d)&&this.Xl(d)},uja:function(a,c){if(null!=a){var d=this.ug,e;for(e in d){var f=d[e].Cf;if(f&&-1!=f.indexOf(a)){null!=a.ff&&b.log(b.e.x_);a.sk!==c&&(a.MC(c),this.Ik(a.fi,this.nt));break}}}},pe:function(a){this.io=a},isEnabled:function(){return this.io},dispatchEvent:function(a){if(this.io){this.KY();this.Kl++;if(!a||!a.OE)throw"event is undefined";
- if(a.lc==b.pc.eu)this.wV(a);else{var c=b.pu(a);this.$C(c);c=this.ug[c];null!=c&&this.cB(c,this.cX,a);this.ow(a)}this.Kl--}},cX:function(a,c){c.LC(a.ff);a.YB(c);return c.Ml},U$:function(a,c){var d=new b.Ui(a);d.setUserData(c);this.dispatchEvent(d)}};b.XQ=b.pc.extend({HI:null,ctor:function(a){b.pc.prototype.ctor.call(this,b.pc.bn);this.HI=a}});b.OG=b.pc.extend({MB:0,qK:!1,ctor:function(a,c){b.pc.prototype.ctor.call(this,b.pc.ln);this.MB=a;this.qK=c}});b.dk=b.ra.extend({yv:null,ctor:function(a){this.yv=a;var c=this;b.ra.prototype.ctor.call(this,b.ra.bn,b.dk.qc,function(a){c.yv(a.HI,a)})},Uk:function(){b.assert(this.yv,b.e.uU);return!0},j:function(){return new b.dk(this.yv)}});b.dk.qc="__cc_acceleration";b.dk.create=function(a){return new b.dk(a)};
- b.ek=b.ra.extend({Is:null,Js:null,ctor:function(){var a=this;b.ra.prototype.ctor.call(this,b.ra.ln,b.ek.qc,function(c){c.qK?a.Is&&a.Is(c.MB,c):a.Js&&a.Js(c.MB,c)})},j:function(){var a=new b.ek;a.Is=this.Is;a.Js=this.Js;return a},Uk:function(){return null==this.Is&&null==this.Js?(b.log(b.e.vU),!1):!0}});b.ek.qc="__cc_keyboard";b.ek.create=function(){return new b.ek};b.F.rA=function(){var a=b.k.prototype;a.sD=null;a.gD=null;a.BB=null;a.$i=null;a.ctor=function(){this.EB();var a=new b.ba;a.c[2]=a.c[3]=a.c[6]=a.c[7]=a.c[8]=a.c[9]=a.c[11]=a.c[14]=0;a.c[10]=a.c[15]=1;this.sD=a;this.BB=0;this.gD=new b.ba};a.Ga=function(){!1===this.zj&&(this.zj=this.kv=!0)};a.R=function(){if(this.cc){var a=b.l,d,e=b.Pb;e.stack.push(e.top);b.Hj(this.gD,e.top);e.top=this.gD;var f=this.grid;f&&f.hk&&f.is();this.transform();var g=this.t;if(g&&0<g.length){var h=g.length;this.Vc();for(d=0;d<
- h;d++)if(g[d]&&0>g[d].Bb)g[d].R();else break;for(this.Y(a);d<h;d++)g[d]&&g[d].R()}else this.Y(a);this.arrivalOrder=0;f&&f.hk&&f.fs(this);e.top=e.stack.pop()}};a.transform=function(){var a=this.sD,d=b.Pb.top,e=this.op(),f=a.c;f[0]=e.a;f[4]=e.B;f[12]=e.Ha;f[1]=e.b;f[5]=e.J;f[13]=e.Ia;f[14]=this.as;b.Ei(d,d,a);null==this.$i||null!=this.grid&&this.grid.rf()||(a=this.Ab.x,d=this.Ab.y,0!==a||0!==d?(b.Mz||(a|=0,d|=0),b.jp(a,d),this.$i.Gs(),b.jp(-a,-d)):this.$i.Gs())};a.xi=a.fW};b.F.vz=function(){var a=b.k.prototype;b.i(a,"x",a.Ke,a.iP);b.i(a,"y",a.pf,a.jP);b.i(a,"width",a.bh,a.tj);b.i(a,"height",a.vk,a.sj);b.i(a,"anchorX",a.OV,a.IC);b.i(a,"anchorY",a.PV,a.JC);b.i(a,"skewX",a.U0,a.z4);b.i(a,"skewY",a.V0,a.A4);b.i(a,"zIndex",a.u0,a.eP);b.i(a,"vertexZ",a.d1,a.M4);b.i(a,"rotation",a.N0,a.$F);b.i(a,"rotationX",a.P0,a.x4);b.i(a,"rotationY",a.Q0,a.y4);b.i(a,"scale",a.R0,a.Wm);b.i(a,"scaleX",a.hN,a.Ys);b.i(a,"scaleY",a.iN,a.Zs);b.i(a,"children",a.X_);b.i(a,"childrenCount",a.Y_);
- b.i(a,"parent",a.getParent,a.hP);b.i(a,"visible",a.N1,a.Te);b.i(a,"running",a.L1);b.i(a,"ignoreAnchor",a.I1,a.bx);b.i(a,"actionManager",a.Kw,a.TO);b.i(a,"scheduler",a.Wk,a.rP);b.i(a,"shaderProgram",a.JE,a.bG);b.i(a,"glServerState",a.l0,a.d4);b.i(a,"opacity",a.Fg,a.Sa);b.i(a,"opacityModifyRGB",a.Tf,a.Oe);b.i(a,"cascadeOpacity",a.PN,a.XO);b.i(a,"color",a.Eg,a.cb);b.i(a,"cascadeColor",a.ON,a.WO)};b.eH=-1;b.MF=1;
- b.k=b.oa.extend({Bb:0,dj:0,as:0,qj:0,Zl:0,ja:1,Ka:1,va:null,qh:0,rh:0,t:null,cc:!0,Pc:null,Ab:null,O:null,oh:!1,Rc:null,gj:!1,tag:b.eH,userData:null,userObject:null,zj:!0,kv:!0,qg:!0,Dn:null,G9:null,hm:null,mK:null,Ud:!1,Eb:null,arrivalOrder:0,og:null,Jf:null,f9:null,kK:!1,Gq:!1,vu:null,lk:null,LB:!1,so:0,Ov:0,ub:"Node",YC:!1,po:"",fb:255,yg:255,xa:null,Td:null,Zg:!1,Zh:!1,I9:!1,n9:0,EB:function(){this.Pc=C(0,0);this.Ab=C(0,0);this.O=N(0,0);this.va=C(0,0);this.t=[];this.hm={a:1,b:0,B:0,J:1,Ha:0,Ia:0};
- var a=b.K;this.og=a.Kw();this.Jf=a.Wk();this.kK=!0;this.vu={a:1,b:0,B:0,J:1,Ha:0,Ia:0};b.AQ&&(this.lk=new b.AQ(this));this.yg=this.fb=255;this.xa=b.color(255,255,255,255);this.Td=b.color(255,255,255,255);this.Zh=this.Zg=!1},da:function(){!1===this.kK&&this.EB();return!0},pg:function(a,c){if(a&&0!==a.length){var d,e=a.length,f;d=b.k.vf;switch(c){case d.Z:for(d=0;d<e;d++)(f=a[d])&&f.Z();break;case d.rb:for(d=0;d<e;d++)(f=a[d])&&f.rb();break;case d.Jh:for(d=0;d<e;d++)(f=a[d])&&f.Jh();break;case d.Je:for(d=
- 0;d<e;d++)(f=a[d])&&f.Je();break;case d.Ue:for(d=0;d<e;d++)(f=a[d])&&f.Ue();break;case d.Uf:for(d=0;d<e;d++)(f=a[d])&&f.Uf();break;case d.Vc:for(d=0;d<e;d++)(f=a[d])&&f.Vc();break;default:b.assert(0,b.e.LR)}}},Ga:null,Jb:function(a){for(var c in a)this[c]=a[c]},U0:function(){return this.qh},z4:function(a){this.qh=a;this.Ga()},V0:function(){return this.rh},A4:function(a){this.rh=a;this.Ga()},eP:function(a){this.Bb=a;this.Rc&&this.Rc.wp(this,a);b.na.Rv(this)},Sv:function(a){this.Bb=a},u0:function(){return this.Bb},
- Cda:function(){b.log(b.e.RR);return this.Bb},lka:function(a){b.log(b.e.bS);this.eP(a)},Ria:function(a){this.dj!=a&&(this.dj=a,b.na.Rv(this))},Vba:function(){return this.dj},d1:function(){return this.as},M4:function(a){this.as=a},N0:function(){this.qj!==this.Zl&&b.log(b.e.PR);return this.qj},$F:function(a){this.qj=this.Zl=a;this.so=0.017453292519943295*this.qj;this.Ov=0.017453292519943295*this.Zl;this.Ga()},P0:function(){return this.qj},x4:function(a){this.qj=a;this.so=0.017453292519943295*this.qj;
- this.Ga()},Q0:function(){return this.Zl},y4:function(a){this.Zl=a;this.Ov=0.017453292519943295*this.Zl;this.Ga()},R0:function(){this.ja!==this.Ka&&b.log(b.e.QR);return this.ja},Wm:function(a,c){this.ja=a;this.Ka=c||0===c?c:a;this.Ga()},hN:function(){return this.ja},Ys:function(a){this.ja=a;this.Ga()},iN:function(){return this.Ka},Zs:function(a){this.Ka=a;this.Ga()},H:function(a,c){var d=this.va;void 0===c?(d.x=a.x,d.y=a.y):(d.x=a,d.y=c);this.Ga()},Pw:function(){return C(this.va)},Ke:function(){return this.va.x},
- iP:function(a){this.va.x=a;this.Ga()},pf:function(){return this.va.y},jP:function(a){this.va.y=a;this.Ga()},Y_:function(){return this.t.length},X_:function(){return this.t},N1:function(){return this.cc},Te:function(a){this.cc!=a&&(this.cc=a)&&this.Ga()},bba:function(){return C(this.Pc)},il:function(a,c){var d=this.Pc;if(void 0===c){if(a.x===d.x&&a.y===d.y)return;d.x=a.x;d.y=a.y}else{if(a===d.x&&c===d.y)return;d.x=a;d.y=c}var e=this.Ab,f=this.O;e.x=f.width*d.x;e.y=f.height*d.y;this.Ga()},h9:function(){return this.Pc},
- mL:function(a){var c=a.x;a=a.y;this.Pc.x!==c&&(this.Pc.x=c,this.Ab.x=this.O.width*c);this.Pc.y!==a&&(this.Pc.y=a,this.Ab.y=this.O.height*a);this.Ga()},OV:function(){return this.Pc.x},IC:function(a){this.Pc.x!==a&&(this.Pc.x=a,this.Ab.x=this.O.width*a,this.Ga())},PV:function(){return this.Pc.y},JC:function(a){this.Pc.y!==a&&(this.Pc.y=a,this.Ab.y=this.O.height*a,this.Ga())},Lw:function(){return C(this.Ab)},bh:function(){return this.O.width},tj:function(a){this.O.width=a;this.Ab.x=a*this.Pc.x;this.Ga()},
- vk:function(){return this.O.height},sj:function(a){this.O.height=a;this.Ab.y=a*this.Pc.y;this.Ga()},Rf:function(){return N(this.O)},Gd:function(a,c){var d=this.O;if(void 0===c){if(a.width===d.width&&a.height===d.height)return;d.width=a.width;d.height=a.height}else{if(a===d.width&&c===d.height)return;d.width=a;d.height=c}var e=this.Ab,f=this.Pc;e.x=d.width*f.x;e.y=d.height*f.y;this.Ga()},L1:function(){return this.oh},getParent:function(){return this.Rc},hP:function(a){this.Rc=a},I1:function(){return this.gj},
- bx:function(a){a!=this.gj&&(this.gj=a,this.Ga())},LE:function(){return this.tag},ny:function(a){this.tag=a},l4:function(a){this.po=a},getName:function(){return this.po},getUserData:function(){return this.userData},setUserData:function(a){this.userData=a},xda:function(){return this.userObject},ika:function(a){this.userObject!=a&&(this.userObject=a)},wca:function(){return this.arrivalOrder},o4:function(a){if(NaN==this.arrivalOrder)debugger;this.arrivalOrder=a},Kw:function(){this.og||(this.og=b.K.Kw());
- return this.og},TO:function(a){this.og!=a&&(this.Oi(),this.og=a)},Wk:function(){this.Jf||(this.Jf=b.K.Wk());return this.Jf},rP:function(a){this.Jf!=a&&(this.vy(),this.Jf=a)},p$:function(){b.log(b.e.NR);return this.U_()},U_:function(){return b.yX(P(0,0,this.O.width,this.O.height),this.xi())},Je:function(){this.Oi();this.vy();b.na.FO(this);this.pg(this.t,b.k.vf.Je)},Ch:function(a){var c=this.t;if(null!=c)for(var d=0;d<c.length;d++){var e=c[d];if(e&&e.tag==a)return e}return null},nba:function(a){if(!a)return b.log("Invalid name"),
- null;for(var c=this.t,d=0,e=c.length;d<e;d++)if(c[d].po==a)return c[d];return null},T:function(a,c,d){c=void 0===c?a.Bb:c;var e,f=!1;switch(typeof d){case "undefined":d=void 0;e=a.po;break;case "string":e=d;d=void 0;break;case "number":f=!0,e=""}b.assert(a,b.e.MR);b.assert(null===a.Rc,"child already added. It can't be added again");this.WY(a,c,d,e,f)},WY:function(a,c,d,e,f){this.t||(this.t=[]);this.HW(a,c);f?a.ny(d):a.l4(e);a.hP(this);a.o4(b.MF++);this.oh&&(a.Z(),this.LB&&a.Jh());this.Zg&&this.MJ();
- this.Zh&&this.NJ()},GF:function(a){this.Rc&&(null==a&&(a=!0),this.Rc.removeChild(this,a))},Qha:function(a){b.log(b.e.WR);this.GF(a)},removeChild:function(a,c){0!==this.t.length&&(null==c&&(c=!0),-1<this.t.indexOf(a)&&this.sV(a,c),this.Ga())},Vx:function(a,c){a===b.eH&&b.log(b.e.UR);var d=this.Ch(a);null==d?b.log(b.e.VR,a):this.removeChild(d,c)},Iha:function(a){b.log(b.e.TR);this.Ig(a)},Ig:function(a){var c=this.t;if(null!=c){null==a&&(a=!0);for(var d=0;d<c.length;d++){var e=c[d];e&&(this.oh&&(e.Uf(),
- e.rb()),a&&e.Je(),e.parent=null)}this.t.length=0}},sV:function(a,c){this.oh&&(a.Uf(),a.rb());c&&a.Je();a.parent=null;b.Ie(this.t,a)},HW:function(a,c){this.Ud=!0;this.t.push(a);a.Sv(c)},wp:function(a,c){b.assert(a,b.e.XR);this.Ud=!0;a.arrivalOrder=b.MF;b.MF++;a.Sv(c);this.Ga()},Vc:function(){if(this.Ud){var a=this.t,c=a.length,d,e,f;for(d=1;d<c;d++){f=a[d];for(e=d-1;0<=e;){if(f.Bb<a[e].Bb)a[e+1]=a[e];else if(f.Bb===a[e].Bb&&f.arrivalOrder<a[e].arrivalOrder)a[e+1]=a[e];else break;e--}a[e+1]=f}this.Ud=
- !1}},Y:function(){},uy:function(){null!=this.Rc&&(this.Rc.uy(),this.Rc.transform())},Z:function(){this.LB=!1;this.oh=!0;this.pg(this.t,b.k.vf.Z);this.xp()},Jh:function(){this.LB=!0;this.pg(this.t,b.k.vf.Jh)},Uf:function(){this.pg(this.t,b.k.vf.Uf)},rb:function(){this.oh=!1;this.pause();this.pg(this.t,b.k.vf.rb)},Ra:function(a){b.assert(a,b.e.ZR);this.actionManager.VY(a,this,!this.oh);return a},Oi:function(){this.actionManager&&this.actionManager.DO(this)},j5:function(a){this.actionManager.CO(a)},
- k5:function(a){a===b.cn?b.log(b.e.cS):this.actionManager.n3(a,this)},xE:function(a){return a===b.cn?(b.log(b.e.OR),null):this.actionManager.xE(a,this)},sca:function(){return this.actionManager.F2(this)},I3:function(){this.RO(0)},RO:function(a){this.scheduler.NF(this,a,!this.oh)},QP:function(){this.scheduler.jt(this)},Sm:function(a,c,d,e){c=c||0;b.assert(a,b.e.$R);b.assert(0<=c,b.e.aS);d=null==d?b.qq:d;this.scheduler.H3(this,a,c,d,e||0,!this.oh)},eia:function(a,c){this.Sm(a,0,0,c)},$m:function(a){a&&
- this.scheduler.PP(this,a)},vy:function(){this.scheduler.OP(this)},Zha:function(){b.log(b.e.YR);this.xp()},xp:function(){this.scheduler.Li(this);this.actionManager&&this.actionManager.Li(this);b.na.Li(this)},gha:function(){b.log(b.e.SR);this.pause()},pause:function(){this.scheduler.el(this);this.actionManager&&this.actionManager.el(this);b.na.el(this)},kia:function(a){this.vu=a;this.Gq=this.zj=!0},H0:function(){this.kv&&(this.mK=b.WL(this.xi()),this.kv=!1);return this.mK},dha:function(){return this.H0()},
- GE:function(){for(var a=this.xi(),c=this.Rc;null!=c;c=c.parent)a=b.pm(a,c.xi());return a},Fx:function(){return this.GE()},tN:function(){return b.WL(this.GE())},Wka:function(){return this.tN()},iE:function(a){return b.vO(a,this.tN())},Cw:function(a){a=a||C(0,0);return b.vO(a,this.GE())},MZ:function(a){return b.Fd(this.iE(a),this.Ab)},C$:function(a){a=a||C(0,0);return this.Cw(b.Hi(a,this.Ab))},a9:function(a){a=this.Cw(a);return b.K.NZ(a)},D$:function(a){return this.iE(a.ss())},E$:function(a){a=a.ss();
- a=b.K.LZ(a);return this.MZ(a)},update:function(a){this.lk&&!this.lk.Zda()&&this.lk.R(a)},Ue:function(){this.pg(this.t,b.k.vf.Ue)},Yx:function(){},Ki:function(){},$_:function(a){return this.lk.$_(a)},L9:function(a){this.lk.add(a)},Oha:function(a){return this.lk.remove(a)},Jha:function(){this.lk.Gha()},grid:null,ctor:null,R:null,transform:null,op:function(){return this.xi()},xi:null,ri:function(){if(!1===this.qg){this.qg=!0;var a=this.Dn;a&&a!=this&&a.ri()}},KC:function(a){if(this.Dn!=a){this.Dn=a;
- for(var c=this.t,d=0,e=c.length;d<e;d++)c[d].KC(a)}},Gm:function(){this.$i||(this.$i=new b.Mp);return this.$i},rs:function(){return this.grid},e4:function(a){this.grid=a},JE:function(){return this.Eb},bG:function(a){this.Eb=a},l0:function(){return this.BB},d4:function(a){this.BB=a},V_:function(){var a=P(0,0,this.O.width,this.O.height),c=this.Fx(),a=b.EF(a,this.Fx());if(!this.t)return a;for(var d=this.t,e=0;e<d.length;e++){var f=d[e];f&&f.cc&&(f=f.er(c))&&(a=b.Ux(a,f))}return a},er:function(a){var c=
- P(0,0,this.O.width,this.O.height);a=null==a?this.xi():b.pm(this.xi(),a);c=b.EF(c,a);if(!this.t)return c;for(var d=this.t,e=0;e<d.length;e++){var f=d[e];f&&f.cc&&(f=f.er(a))&&(c=b.Ux(c,f))}return c},fW:function(){if(this.zj){var a=this.va.x,c=this.va.y,d=this.Ab.x,e=-d,f=this.Ab.y,g=-f,h=this.ja,k=this.Ka;this.gj&&(a+=d,c+=f);var m=1,p=0,r=1,s=0;if(0!==this.qj||0!==this.Zl)m=Math.cos(-this.so),p=Math.sin(-this.so),r=Math.cos(-this.Ov),s=Math.sin(-this.Ov);var u=this.qh||this.rh;u||0===d&&0===f||(a+=
- r*e*h+-p*g*k,c+=s*e*h+m*g*k);var t=this.hm;t.a=r*h;t.b=s*h;t.B=-p*k;t.J=m*k;t.Ha=a;t.Ia=c;u&&(t=b.pm({a:1,b:Math.tan(b.Of(this.rh)),B:Math.tan(b.Of(this.qh)),J:1,Ha:0,Ia:0},t),0!==d||0!==f)&&(t=b.aZ(t,e,g));this.Gq&&(t=b.pm(t,this.vu),this.Gq=!1);this.hm=t;this.zj=!1}return this.hm},bc:function(){},Fg:function(){return this.yg},f0:function(){return this.fb},Sa:function(a){this.fb=this.yg=a;var c=255,d=this.Rc;d&&d.cascadeOpacity&&(c=d.fb);this.Bc(c);this.xa.a=this.Td.a=a},Bc:function(a){this.fb=this.yg*
- a/255;if(this.Zh){a=this.t;for(var c=0;c<a.length;c++){var d=a[c];d&&d.Bc(this.fb)}}},PN:function(){return this.Zh},XO:function(a){this.Zh!==a&&((this.Zh=a)?this.NJ():this.vV())},NJ:function(){var a=255,c=this.Rc;c&&c.cascadeOpacity&&(a=c.fb);this.Bc(a)},vV:function(){this.fb=this.yg;for(var a=this.t,c=0;c<a.length;c++){var d=a[c];d&&d.Bc(255)}},Eg:function(){var a=this.Td;return b.color(a.r,a.g,a.b,a.a)},Nw:function(){var a=this.xa;return b.color(a.r,a.g,a.b,a.a)},cb:function(a){var c=this.xa,d=
- this.Td;c.r=d.r=a.r;c.g=d.g=a.g;c.b=d.b=a.b;a=(a=this.Rc)&&a.cascadeColor?a.Nw():b.color.WHITE;this.Mc(a)},Mc:function(a){var c=this.xa,d=this.Td;c.r=0|d.r*a.r/255;c.g=0|d.g*a.g/255;c.b=0|d.b*a.b/255;if(this.Zg)for(a=this.t,d=0;d<a.length;d++){var e=a[d];e&&e.Mc(c)}},ON:function(){return this.Zg},WO:function(a){this.Zg!==a&&((this.Zg=a)?this.MJ():this.uV())},MJ:function(){var a;a=(a=this.Rc)&&a.cascadeColor?a.Nw():b.color.WHITE;this.Mc(a)},uV:function(){var a=this.xa,c=this.Td;a.r=c.r;a.g=c.g;a.b=
- c.b;for(var a=this.t,c=b.color.WHITE,d=0;d<a.length;d++){var e=a[d];e&&e.Mc(c)}},Oe:function(){},Tf:function(){return!1}});b.k.create=function(){return new b.k};b.k.vf={Z:1,rb:2,Je:3,Jh:4,Ue:5,Uf:6,Vc:7};
- b.A===b.Aa?(n=b.k.prototype,n.ctor=function(){this.EB()},n.Ga=function(){this.ri();!1===this.zj&&(this.zj=this.kv=!0)},n.R=function(a){if(this.cc){a=a||b.l;var c,d=this.t,e;a.save();this.transform(a);var f=d.length;if(0<f){this.Vc();for(c=0;c<f;c++)if(e=d[c],0>e.Bb)e.R(a);else break;for(this.Y(a);c<f;c++)d[c].R(a)}else this.Y(a);this.qg=!1;this.arrivalOrder=0;a.restore()}},n.transform=function(a){a=a||b.l;var c=b.view,d=this.xi();a.transform(d.a,d.B,d.b,d.J,d.Ha*c.ja,-d.Ia*c.Ka)},n.xi=function(){if(this.zj){var a=
- this.hm;a.Ha=this.va.x;a.Ia=this.va.y;var c=1,d=0;this.qj&&(c=Math.cos(this.so),d=Math.sin(this.so));a.a=a.J=c;a.b=-d;a.B=d;var e=this.ja,f=this.Ka,g=this.Ab.x,h=this.Ab.y,k=1E-6>e&&-1E-6<e?1E-6:e,m=1E-6>f&&-1E-6<f?1E-6:f;if(this.qh||this.rh){var p=Math.tan(-this.qh*Math.PI/180),r=Math.tan(-this.rh*Math.PI/180);Infinity===p&&(p=99999999);Infinity===r&&(r=99999999);var s=h*p*k,u=g*r*m;a.a=c+-d*r;a.b=c*p+-d;a.B=d+c*r;a.J=d*p+c;a.Ha+=c*s+-d*u;a.Ia+=d*s+c*u}if(1!==e||1!==f)a.a*=k,a.B*=k,a.b*=m,a.J*=m;
- a.Ha+=c*-g*k+-d*h*m;a.Ia-=d*-g*k+c*h*m;this.gj&&(a.Ha+=g,a.Ia+=h);this.Gq&&(this.hm=b.pm(a,this.vu),this.Gq=!1);this.zj=!1}return this.hm},n=null):(b.assert("function"===typeof b.F.rA,b.e.fd,"BaseNodesWebGL.js"),b.F.rA(),delete b.F.rA);b.assert("function"===typeof b.F.vz,b.e.fd,"BaseNodesPropertyDefine.js");b.F.vz();delete b.F.vz;b.k.O7=0;b.k.Q7=1;b.k.P7=2;b.k.R7=3;b.k.N7=4;b.Si=b.k.extend({textureAtlas:null,quadsToDraw:0,lo:0,uK:0,ei:0,hh:0,El:null,Na:!1,p:null,hv:!1,ub:"AtlasNode",ctor:function(a,c,d,e){b.k.prototype.ctor.call(this);this.El=b.color.WHITE;this.p={src:b.ec,S:b.dc};this.hv=!1;void 0!==e&&this.x1(a,c,d,e)},Hp:function(){b.log(b.e.eQ)},Eg:function(){return this.Na?this.El:b.k.prototype.Eg.call(this)},Oe:function(a){var c=this.color;this.Na=a;this.color=c},Tf:function(){return this.Na},Bh:function(){return this.p},Me:function(a,c){this.p=void 0===c?a:{src:a,
- S:c}},eG:function(a){this.textureAtlas=a},ME:function(){return this.textureAtlas},Lca:function(){return this.quadsToDraw},vja:function(a){this.quadsToDraw=a},Pk:null,xc:null,uD:null,Pq:null,x1:function(a,c,d,e){if(!a)throw"cc.AtlasNode.initWithTileFile(): title should not be null";a=b.Ca.Hc(a);return this.qa(a,c,d,e)},qa:null,GB:function(a,c,d,e){this.ei=c;this.hh=d;this.Na=!0;this.xc=a;if(!this.xc)return b.log(b.e.yG),!1;this.Pk=this.xc;this.Du();this.quadsToDraw=e;return!0},HB:function(a,c,d,e){this.ei=
- c;this.hh=d;this.El=b.color.WHITE;this.Na=!0;this.p.src=b.ec;this.p.S=b.dc;c=this.Td;this.Pq=new Float32Array([c.r/255,c.g/255,c.b/255,this.yg/255]);this.textureAtlas=new b.Th;this.textureAtlas.qa(a,e);if(!this.textureAtlas)return b.log(b.e.yG),!1;this.Mf();this.LL();this.Du();this.quadsToDraw=e;this.shaderProgram=b.Id.nc(b.Kz);this.uD=b.l.getUniformLocation(this.shaderProgram.Im(),"u_color");return!0},Y:null,cj:function(a){a=a||b.l;b.Hs(this);b.Fh(this.p.src,this.p.S);this.uD&&this.Pq&&(a.uniform4fv(this.uD,
- this.Pq),this.textureAtlas.EM(this.quadsToDraw))},cb:null,PX:function(a){var c=this.Td;if(c.r!=a.r||c.g!=a.g||c.b!=a.b){c=b.color(a.r,a.g,a.b);this.El=a;if(this.Na){var d=this.fb;c.r=c.r*d/255;c.g=c.g*d/255;c.b=c.b*d/255}b.k.prototype.cb.call(this,a);this.ae()}},ae:function(){var a=this.ya();if(a&&this.xc){var c=this.xc.Wa;if(c){var d=a.Wa,a=P(0,0,c.width,c.height);d instanceof HTMLCanvasElement?b.Em(c,this.xa,a,d):(d=b.Em(c,this.xa,a),a=new b.aa,a.Jc(d),a.qb(),this.Ya(a))}}},QX:function(a){var c=
- b.color(a.r,a.g,a.b);this.El=a;var d=this.fb;this.Na&&(c.r=c.r*d/255,c.g=c.g*d/255,c.b=c.b*d/255);b.k.prototype.cb.call(this,a);a=this.xa;this.Pq=new Float32Array([a.r/255,a.g/255,a.b/255,d/255])},Sa:function(){},QC:function(a){b.k.prototype.Sa.call(this,a);this.Na&&(this.color=this.El)},RC:function(a){b.k.prototype.Sa.call(this,a);this.Na?this.color=this.El:(a=this.xa,this.Pq=new Float32Array([a.r/255,a.g/255,a.b/255,this.fb/255]))},ya:null,fr:function(){return this.Pk},AB:function(){return this.textureAtlas.texture},
- Ya:null,VC:function(a){this.Pk=a},WC:function(a){this.textureAtlas.texture=a;this.Mf();this.LL()},Du:null,XU:function(){var a=this.texture.Rf();this.uK=0|a.height/this.hh;this.lo=0|a.width/this.ei},YU:function(){var a=this.texture,c=a.Rf();this.hv&&(c=a.O);this.uK=0|c.height/this.hh;this.lo=0|c.width/this.ei},Mf:function(){this.textureAtlas.texture.zi()||(this.p.src=b.SRC_ALPHA,this.p.S=b.ONE_MINUS_SRC_ALPHA)},LL:function(){this.Na=this.textureAtlas.texture.zi()},NC:function(a){this.hv=a}});n=b.Si.prototype;
- b.A===b.V?(n.qa=n.HB,n.Y=n.cj,n.cb=n.QX,n.Sa=n.RC,n.ya=n.AB,n.Ya=n.WC,n.Du=n.YU):(n.qa=n.GB,n.Y=b.k.prototype.Y,n.cb=n.PX,n.Sa=n.QC,n.ya=n.fr,n.Ya=n.VC,n.Du=n.XU,b.ob.ew||(n.ae=function(){var a,c=this.ya();if(c&&this.xc&&(a=c.Wa)){var d=this.xc.Wa;if(c=b.Ca.Uw(d))d=P(0,0,d.width,d.height),a instanceof HTMLCanvasElement?b.Dm(a,c,this.xa,d,a):(a=b.Dm(a,c,this.xa,d),c=new b.aa,c.Jc(a),c.qb(),this.Ya(c))}}));b.i(n,"opacity",n.Fg,n.Sa);b.i(n,"color",n.Eg,n.cb);b.i(n,"texture",n.ya,n.Ya);
- b.Si.create=function(a,c,d,e){return new b.Si(a,c,d,e)};b.F.xA=function(){b.aa=b.oa.extend({v9:!0,ki:null,oj:0,nj:0,po:"",O:null,Fi:0,Gi:0,gv:!1,bo:!1,shaderProgram:null,wc:!1,Wa:null,Vd:null,url:null,gb:null,ctor:function(){this.O=N(0,0);this.ki=b.aa.vM},FF:function(){this.Vd&&b.l.deleteTexture(this.Vd);b.U.Ki(this.url)},ZM:function(){return this.ki},aN:function(){return this.oj},$M:function(){return this.nj},getName:function(){return this.Vd},Rf:function(){return N(this.O.width/b.nb(),this.O.height/b.nb())},bh:function(){return this.O.width/b.nb()},
- vk:function(){return this.O.height/b.nb()},a0:function(){return this.O},z0:function(){return this.Fi},i4:function(a){this.Fi=a},A0:function(){return this.Gi},j4:function(a){this.Gi=a},JE:function(){return this.shaderProgram},bG:function(a){this.shaderProgram=a},zi:function(){return this.gv},l1:function(){return this.bo},description:function(){return"\x3ccc.Texture2D | Name \x3d "+this.po+" | Dimensions \x3d "+this.oj+" x "+this.nj+" | Coordinates \x3d ("+this.Fi+", "+this.Gi+")\x3e"},m3:function(){},
- T1:function(a){return a},As:function(a,c,d,e,f){var g=b.aa,h=b.l,k=h.RGBA,m=h.UNSIGNED_BYTE,p=d*b.aa.CI[c]/8;0===p%8?h.pixelStorei(h.UNPACK_ALIGNMENT,8):0===p%4?h.pixelStorei(h.UNPACK_ALIGNMENT,4):0===p%2?h.pixelStorei(h.UNPACK_ALIGNMENT,2):h.pixelStorei(h.UNPACK_ALIGNMENT,1);this.Vd=h.createTexture();b.oe(this);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MIN_FILTER,h.LINEAR);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MAG_FILTER,h.LINEAR);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_S,h.CLAMP_TO_EDGE);h.texParameteri(h.TEXTURE_2D,
- h.TEXTURE_WRAP_T,h.CLAMP_TO_EDGE);switch(c){case g.Xi:k=h.RGBA;break;case g.pq:k=h.RGB;break;case g.Pt:m=h.UNSIGNED_SHORT_4_4_4_4;break;case g.Ot:m=h.UNSIGNED_SHORT_5_5_5_1;break;case g.oq:m=h.UNSIGNED_SHORT_5_6_5;break;case g.oz:k=h.LUMINANCE_ALPHA;break;case g.nq:k=h.ALPHA;break;case g.pz:k=h.LUMINANCE;break;default:b.assert(0,b.e.JT)}h.texImage2D(h.TEXTURE_2D,0,k,d,e,0,k,m,a);this.O.width=f.width;this.O.height=f.height;this.oj=d;this.nj=e;this.ki=c;this.Fi=f.width/d;this.Gi=f.height/e;this.bo=
- this.gv=!1;this.shaderProgram=b.Id.nc(b.tq);return this.wc=!0},XZ:function(a){var c=[0,this.Gi,this.Fi,this.Gi,0,0,this.Fi,0],d=this.oj*this.Fi,e=this.nj*this.Gi;a=[a.x,a.y,0,d+a.x,a.y,0,a.x,e+a.y,0,d+a.x,e+a.y,0];b.Ic(b.Md|b.sn);this.Eb.Nc();this.Eb.bt();b.oe(this);d=b.l;d.vertexAttribPointer(b.pb,2,d.FLOAT,!1,0,a);d.vertexAttribPointer(b.wd,2,d.FLOAT,!1,0,c);d.drawArrays(d.TRIANGLE_STRIP,0,4)},$Z:function(a){var c=[0,this.Gi,this.Fi,this.Gi,0,0,this.Fi,0];a=[a.x,a.y,a.x+a.width,a.y,a.x,a.y+a.height,
- a.x+a.width,a.y+a.height];b.Ic(b.Md|b.sn);this.Eb.Nc();this.Eb.bt();b.oe(this);var d=b.l;d.vertexAttribPointer(b.pb,2,d.FLOAT,!1,0,a);d.vertexAttribPointer(b.wd,2,d.FLOAT,!1,0,c);d.drawArrays(d.TRIANGLE_STRIP,0,4)},FN:function(a){if(null==a)return b.log(b.e.MT),!1;var c=a.f1(),d=a.n0(),e=b.Ro.sr;if(c>e||d>e)return b.log(b.e.NT,c,d,e,e),!1;this.wc=!0;return this.BW(a,c,d)},Jc:function(a){a&&(this.Vd=b.l.createTexture(),this.Wa=a)},p0:function(){return this.Wa},J1:function(){return this.wc},qb:function(){if(b.Lv){if(!this.Wa){var a=
- b.U.Dd(this.url);if(!a)return;this.Jc(a)}this.Wa.width&&this.Wa.height&&(this.wc=!0,a=b.l,b.oe(this),a.pixelStorei(a.UNPACK_ALIGNMENT,4),a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,this.Wa),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.Id.nc(b.tq),b.oe(null),a=this.Wa.height,
- this.oj=this.O.width=this.Wa.width,this.nj=this.O.height=a,this.ki=b.aa.Xi,this.Gi=this.Fi=1,this.bo=this.gv=!1,this.Od())}},pd:function(){b.log(b.e.ST);return null},s1:function(){b.log(b.e.LT);return!1},u1:function(){b.log(b.e.PT);return!1},v1:function(){b.log(b.e.RT);return!1},F4:function(a){var c=b.l;b.assert(this.oj==b.Uj(this.oj)&&this.nj==b.Uj(this.nj)||a.W5==c.CLAMP_TO_EDGE&&a.X5==c.CLAMP_TO_EDGE,"WebGLRenderingContext.CLAMP_TO_EDGE should be used in NPOT textures");b.oe(this);c.texParameteri(c.TEXTURE_2D,
- c.TEXTURE_MIN_FILTER,a.oga);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MAG_FILTER,a.lga);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_S,a.W5);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_T,a.X5)},N3:function(){var a=b.l;b.oe(this);this.bo?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)},PF:function(){var a=b.l;b.oe(this);this.bo?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.oj==b.Uj(this.oj)&&this.nj==b.Uj(this.nj),"Mimpap texture only works in POT textures");b.oe(this);b.l.generateMipmap(b.l.TEXTURE_2D);this.bo=!0},p5:function(){return b.aa.AU[this.ki]},zZ:function(a){a=a||this.ki;var c=b.aa.CI[a];if(null!=c)return c;b.log(b.e.IT,a);return-1},BW:function(a,c,
- d){var e=b.aa,f=a.getData(),g=null,g=null,h=a.Kda(),k=N(a.f1(),a.n0()),m=e.vM,p=a.gba();h||(8<=p?m=e.pq:(b.log(b.e.FT),m=e.oq));var r=c*d;if(m==e.oq)if(h)for(f=new Uint16Array(c*d),g=a.getData(),p=0;p<r;++p)f[p]=(g[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<r;++p)f[p]=(g[p]&255)>>3<<11|(g[p]&255)>>2<<5|(g[p]&255)>>3<<0;else if(m==e.Pt)for(f=new Uint16Array(c*d),g=a.getData(),p=0;p<r;++p)f[p]=(g[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.Ot)for(f=new Uint16Array(c*d),g=a.getData(),p=0;p<r;++p)f[p]=(g[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.nq)for(f=new Uint8Array(c*d),g=a.getData(),p=0;p<r;++p)f[p]=g>>24&255;if(h&&m==e.pq)for(g=a.getData(),f=new Uint8Array(c*d*3),p=0;p<r;++p)f[3*p]=g>>0&255,f[3*p+1]=g>>8&255,f[3*p+2]=g>>16&255;this.As(f,m,c,d,k);a.getData();this.gv=a.fea();return!0},Wd:function(a,c){this.gb||(this.gb=[]);
- this.gb.push({zh:a,Qf:c})},q3:function(a){if(this.gb)for(var c=this.gb,d=0;d<c.length;d++)c[d].Qf==a&&c.splice(d,1)},Od:function(){if(this.gb){for(var a=this.gb,c=0,d=a.length;c<d;c++){var e=a[c];e.zh.call(e.Qf,this)}a.length=0}}})};
- b.F.yA=function(){var a=b.Th.prototype;a.am=function(){var a=b.l;this.uc[0]=a.createBuffer();this.uc[1]=a.createBuffer();this.Wl=a.createBuffer();this.tv()};a.tv=function(){var a=b.l;a.bindBuffer(a.ARRAY_BUFFER,this.Wl);a.bufferData(a.ARRAY_BUFFER,this.ad,a.DYNAMIC_DRAW);a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.uc[1]);a.bufferData(a.ELEMENT_ARRAY_BUFFER,this.jb,a.STATIC_DRAW)};a.EM=function(a){var d;d=0;if(0!==a&&this.texture&&this.texture.wc){var e=b.l;b.oe(this.texture);b.Ic(b.Al);e.bindBuffer(e.ARRAY_BUFFER,
- this.Wl);this.dirty&&e.bufferData(e.ARRAY_BUFFER,this.ad,e.DYNAMIC_DRAW);e.vertexAttribPointer(b.pb,3,e.FLOAT,!1,24,0);e.vertexAttribPointer(b.ve,4,e.UNSIGNED_BYTE,!0,24,12);e.vertexAttribPointer(b.wd,2,e.FLOAT,!1,24,16);this.dirty&&(this.dirty=!1);e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,this.uc[1]);b.IH?e.drawElements(e.TRIANGLE_STRIP,6*a,e.UNSIGNED_SHORT,6*d*this.jb.BYTES_PER_ELEMENT):e.drawElements(e.TRIANGLES,6*a,e.UNSIGNED_SHORT,6*d*this.jb.BYTES_PER_ELEMENT);b.of++}}};
- b.F.zA=function(){var a=b.Ca;a.qb=function(a){var d=this.Gc;b.Lv||(d=this.rr);var e=d[a];e||(e=d[a]=new b.aa,e.url=a);e.qb()};a.Hc=function(a,d,e){b.assert(a,b.e.HT);var f=this.Gc;b.Lv||(f=this.rr);var g=f[a]||f[b.U.Cl[a]];if(g)return d&&d.call(e),g;b.U.Dd(a)||(b.U.UI(a)?b.U.load(a,function(){d&&d.call(e)}):b.U.Nf[a]=b.U.mp(a,function(e,f){if(e)return d?d(e):e;b.Ca.qb(a);d&&d(null,f)}));g=f[a]=new b.aa;g.url=a;return g};delete a};b.F.Bz=function(){var a=b.aa;a.Z7=function(a){b.tS=a};a.Xi=2;a.pq=3;a.oq=4;a.nq=5;a.pz=6;a.oz=7;a.Pt=8;a.Ot=7;a.jH=9;a.iH=10;a.kS=a.Xi;var c=b.aa.AU={};c[a.Xi]="RGBA8888";c[a.pq]="RGB888";c[a.oq]="RGB565";c[a.nq]="A8";c[a.pz]="I8";c[a.oz]="AI88";c[a.Pt]="RGBA4444";c[a.Ot]="RGB5A1";c[a.jH]="PVRTC4";c[a.iH]="PVRTC2";c=b.aa.CI={};c[a.Xi]=32;c[a.pq]=24;c[a.oq]=16;c[a.nq]=8;c[a.pz]=8;c[a.oz]=16;c[a.Pt]=16;c[a.Ot]=16;c[a.jH]=4;c[a.iH]=3;c=b.aa.prototype;b.i(c,"name",c.getName);b.i(c,"pixelFormat",c.ZM);
- b.i(c,"pixelsWidth",c.aN);b.i(c,"pixelsHeight",c.$M);b.i(c,"width",c.bh);b.i(c,"height",c.vk);a.vM=a.kS};b.F.Cz=function(){var a=b.Th.prototype;b.i(a,"totalQuads",a.sN);b.i(a,"capacity",a.RM);b.i(a,"quads",a.cN,a.mP)};b.e6=51;b.h6=19;b.j6=18;b.g6=50;b.d6=34;b.b6=35;b.c6=33;b.f6=49;b.i6=17;b.tS=!1;
- b.A===b.Aa?b.aa=b.oa.extend({O:null,wc:!1,Wa:null,gb:null,url:null,ctor:function(){this.O=N(0,0);this.wc=!1;this.Wa=null},aN:function(){return this.O.width},$M:function(){return this.O.height},Rf:function(){var a=b.nb();return N(this.O.width/a,this.O.height/a)},bh:function(){return this.O.width/b.nb()},vk:function(){return this.O.height/b.nb()},a0:function(){return this.O},Jc:function(a){a&&(this.Wa=a)},p0:function(){return this.Wa},J1:function(){return this.wc},qb:function(){if(!this.wc){if(!this.Wa){var a=
- b.U.Dd(this.url);if(!a)return;this.Jc(a)}this.wc=!0;a=this.Wa;this.O.width=a.width;this.O.height=a.height;this.Od()}},description:function(){return"\x3ccc.Texture2D | width \x3d "+this.O.width+" height "+this.O.height+"\x3e"},As:function(){return!1},FN:function(){return!1},pd:function(){return!1},FF:function(){},getName:function(){return null},z0:function(){return 1},i4:function(){},A0:function(){return 1},j4:function(){},ZM:function(){return null},JE:function(){return null},bG:function(){},zi:function(){return!1},
- l1:function(){return!1},m3:function(){},T1:function(a){return a},XZ:function(){},$Z:function(){},s1:function(){b.log(b.e.KT);return!1},u1:function(){b.log(b.e.OT);return!1},v1:function(){b.log(b.e.QT);return!1},F4:function(){},N3:function(){},PF:function(){},generateMipmap:function(){},p5:function(){return""},zZ:function(){return-1},Wd:function(a,c){this.gb||(this.gb=[]);this.gb.push({zh:a,Qf:c})},q3:function(a){if(this.gb)for(var c=this.gb,d=0;d<c.length;d++)c[d].Qf==a&&c.splice(d,1)},Od:function(){if(this.gb){for(var a=
- this.gb,c=0,d=a.length;c<d;c++){var e=a[c];e.zh.call(e.Qf,this)}a.length=0}}}):(b.assert("function"===typeof b.F.xA,b.e.fd,"TexturesWebGL.js"),b.F.xA(),delete b.F.xA);b.assert("function"===typeof b.F.Bz,b.e.fd,"TexturesPropertyDefine.js");b.F.Bz();delete b.F.Bz;b.Ca={Gc:{},Rr:{},pD:0|1E3*Math.random(),rr:{},GW:function(){var a,c=this.rr,d=this.Gc;for(a in c){var e=c[a];e.qb();d[a]=e}this.rr={}},P9:function(){b.log(b.e.u5)},M9:function(){b.log(b.e.s5)},description:function(){return"\x3cTextureCache | Number of textures \x3d "+this.Gc.length+"\x3e"},Xm:function(a){return this.Gc[a]||this.Gc[b.U.Cl[a]]},r0:function(a){for(var c in this.Gc)if(this.Gc[c]==a)return c;return null},LV:function(){this.pD++;return"_textureKey_"+this.pD},Uw:function(a){var c=this.r0(a);
- c||(c=a instanceof HTMLImageElement?a.src:this.LV());this.Rr[c]||(this.Rr[c]=b.Yo(a));return this.Rr[c]},O9:function(){b.log(b.e.t5)},Mha:function(){var a=this.Gc,c;for(c in a)a[c]&&a[c].FF();this.Gc={}},Wha:function(a){if(a){var c=this.Gc,d;for(d in c)c[d]==a&&(c[d].FF(),delete c[d])}},Xha:function(a){null!=a&&this.Gc[a]&&delete this.Gc[a]},AZ:function(a,c){if(c instanceof b.aa)this.Gc[a]=c;else{var d=new b.aa;d.Jc(c);d.qb();this.Gc[a]=d}},U9:function(a,c){b.assert(a,b.e.w5);if(c&&this.Gc[c])return this.Gc[c];
- var d=new b.aa;d.FN(a);null!=c&&null!=d?this.Gc[c]=d:b.log(b.e.v5);return d},caa:function(){var a=0,c=0,d=this.Gc,e;for(e in d){var f=d[e];a++;f.Wa instanceof HTMLImageElement?b.log(b.e.x5,e,f.Wa.src,f.pixelsWidth,f.pixelsHeight):b.log(b.e.GP,e,f.pixelsWidth,f.pixelsHeight);c+=f.pixelsWidth*f.pixelsHeight*4}d=this.Rr;for(e in d){var f=d[e],g;for(g in f){var h=f[g];a++;b.log(b.e.GP,e,h.width,h.height);c+=h.width*h.height*4}}b.log(b.e.y5,a,c/1024,(c/1048576).toFixed(2))},kk:function(){this.Gc={};this.Rr=
- {};this.pD=0|1E3*Math.random();this.rr={}}};b.A===b.Aa?(n=b.Ca,n.qb=function(a){var c=this.Gc,d=c[a];d||(d=c[a]=new b.aa,d.url=a);d.qb()},n.Hc=function(a,c,d){b.assert(a,b.e.GT);var e=this.Gc,f=e[a]||e[b.U.Cl[a]];if(f)return c&&c.call(d),f;f=e[a]=new b.aa;f.url=a;b.U.Dd(a)?f.qb():b.U.UI(a)?b.U.load(a,function(){c&&c.call(d)}):b.U.Nf[a]=b.U.mp(a,function(d,e){if(d)return c?c(d):d;b.Ca.qb(a);c&&c(null,e)});return f},n=null):(b.assert("function"===typeof b.F.zA,b.e.fd,"TexturesWebGL.js"),b.F.zA(),delete b.F.zA);b.Th=b.oa.extend({dirty:!1,texture:null,jb:null,uc:null,xd:0,Dc:null,ad:null,Wl:null,Hf:null,ctor:function(a,c){this.uc=[];"string"==typeof a?this.Yk(a,c):a instanceof b.aa&&this.qa(a,c)},sN:function(){return this.La},RM:function(){return this.xd},ya:function(){return this.texture},Ya:function(a){this.texture=a},ZO:function(a){this.dirty=a},fF:function(){return this.dirty},cN:function(){return this.Dc},mP:function(a){this.Dc=a},oV:function(a,c){if(a)for(var d=0;d<a.length;d++)this.Tv(a[d],c+d)},Tv:function(a,
- c){var d=this.Dc;d[c]?(d[c].C=a.C,d[c].N=a.N,d[c].M=a.M,d[c].L=a.L):d[c]=new b.zb(a.M,a.C,a.L,a.N,this.ad,c*b.zb.BYTES_PER_ELEMENT)},description:function(){return"\x3ccc.TextureAtlas | totalQuads \x3d"+this.La+"\x3e"},sL:function(){if(0!==this.xd)for(var a=this.jb,c=this.xd,d=0;d<c;d++)b.IH?(a[6*d+0]=4*d+0,a[6*d+1]=4*d+0,a[6*d+2]=4*d+2,a[6*d+3]=4*d+1,a[6*d+4]=4*d+3,a[6*d+5]=4*d+3):(a[6*d+0]=4*d+0,a[6*d+1]=4*d+1,a[6*d+2]=4*d+2,a[6*d+3]=4*d+3,a[6*d+4]=4*d+2,a[6*d+5]=4*d+1)},am:function(){var a=b.l;
- this.uc[0]=a.createBuffer();this.uc[1]=a.createBuffer();this.Wl=a.createBuffer();this.tv()},tv:function(){var a=b.l;a.bindBuffer(a.ARRAY_BUFFER,this.Wl);a.bufferData(a.ARRAY_BUFFER,this.ad,a.DYNAMIC_DRAW);a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.uc[1]);a.bufferData(a.ELEMENT_ARRAY_BUFFER,this.jb,a.STATIC_DRAW)},Yk:function(a,c){var d=b.Ca.Hc(a);if(d)return this.qa(d,c);b.log(b.e.TT,a);return!1},qa:function(a,c){b.assert(a,b.e.UT);this.xd=c|=0;this.La=0;this.texture=a;this.Dc=[];this.jb=new Uint16Array(6*
- c);var d=b.zb.BYTES_PER_ELEMENT;this.ad=new ArrayBuffer(d*c);this.Hf=new Uint8Array(this.ad);if((!this.Dc||!this.jb)&&0<c)return!1;for(var e=this.Dc,f=0;f<c;f++)e[f]=new b.zb(null,null,null,null,this.ad,f*d);this.sL();this.am();return this.dirty=!0},xy:function(a,c){b.assert(a,b.e.dU);b.assert(0<=c&&c<this.xd,b.e.eU);this.La=Math.max(c+1,this.La);this.Tv(a,c);this.dirty=!0},eF:function(a,c){b.assert(c<this.xd,b.e.XT);this.La++;if(this.La>this.xd)b.log(b.e.QH);else{var d=b.zb.BYTES_PER_ELEMENT,e=c*
- d,f=(this.La-1-c)*d;this.Dc[this.La-1]=new b.zb(null,null,null,null,this.ad,(this.La-1)*d);this.Hf.set(this.Hf.subarray(e,e+f),e+d);this.Tv(a,c);this.dirty=!0}},Rda:function(a,c,d){d=d||a.length;b.assert(c+d<=this.xd,b.e.YT);var e=b.zb.BYTES_PER_ELEMENT;this.La+=d;if(this.La>this.xd)b.log(b.e.QH);else{var f=c*e,g=(this.La-1-c-d)*e,h=this.La-1-d,k;for(k=0;k<d;k++)this.Dc[h+k]=new b.zb(null,null,null,null,this.ad,(this.La-1)*e);this.Hf.set(this.Hf.subarray(f,f+g),f+e*d);for(k=0;k<d;k++)this.Tv(a[k],
- c+k);this.dirty=!0}},Qda:function(a,c){if(a!==c){b.assert(0<=c||c<this.La,b.e.VT);b.assert(0<=a||a<this.La,b.e.WT);var d=b.zb.BYTES_PER_ELEMENT,e=this.Hf,f=e.subarray(a*d,d),g;a>c?(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}},GO:function(a){b.assert(a<this.La,b.e.bU);var c=b.zb.BYTES_PER_ELEMENT;this.La--;this.Dc.length=this.La;if(a!==this.La){var d=(a+1)*c;this.Hf.set(this.Hf.subarray(d,d+(this.La-a)*c),d-c)}this.dirty=
- !0},s3:function(a,c){b.assert(a+c<=this.La,b.e.cU);this.La-=c;if(a!==this.La){var d=b.zb.BYTES_PER_ELEMENT,e=(a+c)*d;this.Hf.set(this.Hf.subarray(e,e+(this.La-a)*d),a*d)}this.dirty=!0},EO:function(){this.La=this.Dc.length=0},Ik:function(a){this.dirty=a},IF:function(a){if(a==this.xd)return!0;var c=b.zb.BYTES_PER_ELEMENT,d=this.xd;this.La=Math.min(this.La,a);var e=this.xd=0|a,f=this.La;if(null==this.Dc)for(this.Dc=[],this.ad=new ArrayBuffer(c*e),this.Hf=new Uint8Array(this.ad),a=0;a<e;a++)this.Dc=new b.zb(null,
- null,null,null,this.ad,a*c);else{var g,h,k=this.Dc;if(e>d){g=[];h=new ArrayBuffer(c*e);for(a=0;a<f;a++)g[a]=new b.zb(k[a].M,k[a].C,k[a].L,k[a].N,h,a*c);for(;a<e;a++)g[a]=new b.zb(null,null,null,null,h,a*c)}else for(f=Math.max(f,e),g=[],h=new ArrayBuffer(c*e),a=0;a<f;a++)g[a]=new b.zb(k[a].M,k[a].C,k[a].L,k[a].N,h,a*c);this.Hf=new Uint8Array(h);this.Dc=g;this.ad=h}null==this.jb?this.jb=new Uint16Array(6*e):e>d?(c=new Uint16Array(6*e),c.set(this.jb,0),this.jb=c):this.jb=this.jb.subarray(0,6*e);this.sL();
- this.tv();return this.dirty=!0},zN:function(a){this.La+=a},iO:function(a,c,d){if(void 0===d){if(d=c,c=this.La-a,b.assert(d+(this.La-a)<=this.xd,b.e.ZT),0===c)return}else if(b.assert(d+c<=this.La,b.e.$T),b.assert(a<this.La,b.e.aU),a==d)return;var e=b.zb.BYTES_PER_ELEMENT,f=a*e,g=c*e,h=this.Hf,k=h.subarray(f,f+g),m=d*e;d<a?(c=d*e,h.set(h.subarray(c,c+(a-d)*e),c+g)):(c=(a+c)*e,h.set(h.subarray(c,c+(d-a)*e),f));h.set(k,m);this.dirty=!0},KM:function(a,c){for(var d=c*b.zb.BYTES_PER_ELEMENT,e=new Uint8Array(this.ad,
- a*b.zb.BYTES_PER_ELEMENT,d),f=0;f<d;f++)e[f]=0},FM:function(){this.EM(this.La)},w9:function(){var a=b.l;this.uc&&(this.uc[0]&&a.deleteBuffer(this.uc[0]),this.uc[1]&&a.deleteBuffer(this.uc[1]));this.Wl&&a.deleteBuffer(this.Wl)}});n=b.Th.prototype;b.i(n,"totalQuads",n.sN);b.i(n,"capacity",n.RM);b.i(n,"quads",n.cN,n.mP);b.Th.create=function(a,c){return new b.Th(a,c)};b.Th.jE=b.Th.create;b.A===b.V&&(b.assert("function"===typeof b.F.yA,b.e.fd,"TexturesWebGL.js"),b.F.yA(),delete b.F.yA);
- b.assert("function"===typeof b.F.Cz,b.e.fd,"TexturesPropertyDefine.js");b.F.Cz();delete b.F.Cz;b.Wj=b.k.extend({ub:"Scene",ctor:function(){b.k.prototype.ctor.call(this);this.gj=!0;this.il(0.5,0.5);this.Gd(b.K.za())}});b.Wj.create=function(){return new b.Wj};b.$G=b.Wj.extend({hj:null,qr:0,Fl:0,Xb:null,ub:"LoaderScene",da:function(){var a=this,c=200,d=a.MA=b.Xc.create(b.color(32,32,32,255));d.H(b.Ri.xw);a.T(d,0);var e=24,f=-c/2+100;b.PB&&(b.U.mp(b.PB,{mx:!1},function(d,e){c=e.height;a.FB(e,b.Ri.No)}),e=14,f=-c/2-10);e=a.Xb=b.P.create("Loading... 0%","Arial",e);e.H(b.Hi(b.Ri.No,C(0,f)));e.cb(b.color(180,180,180));d.T(this.Xb,10);return!0},FB:function(a,c){var d=new b.aa;d.Jc(a);d.qb();d=b.I.create(d);d.Wm(b.nb());d.x=c.x;d.y=c.y;this.MA.T(d,10)},Z:function(){b.k.prototype.Z.call(this);
- this.Sm(this.Lr,0.3)},rb:function(){b.k.prototype.rb.call(this);this.Xb.yb("Loading... 0%")},ZE:function(a,c){"string"==typeof a&&(a=[a]);this.JF=a||[];this.dd=c},Lr:function(){var a=this;a.$m(a.Lr);var c=a.JF;a.qr=c.length;a.Fl=0;b.U.load(c,function(c,e){a.Fl=e},function(){a.dd&&a.dd()});a.Sm(a.Xr)},Xr:function(){var a=this.Fl,c=this.qr,d;d=Math.min(a/c*100|0,100);this.Xb.yb("Loading... "+d+"%");a>=c&&this.$m(this.Xr)}});
- b.$G.Sx=function(a,c){var d=b;d.Fs||(d.Fs=new b.$G,d.Fs.da());d.Fs.ZE(a,c);b.K.by(d.Fs);return d.Fs};b.F.hz=function(){var a=b.rc.prototype;a.bM=function(){};a.NP=function(){};a.R=b.k.prototype.R};
- b.F.uA=function(){var a=b.Xc.prototype;a.Xv=null;a.dD=null;a.FD=null;a.XA=null;a.fD=null;a.eD=null;a.ctor=function(a,d,e){this.fD=new ArrayBuffer(32);this.eD=new ArrayBuffer(16);var f=this.fD,g=this.eD,h=b.Vb.BYTES_PER_ELEMENT,k=b.uf.BYTES_PER_ELEMENT;this.Xv=[new b.Vb(0,0,f,0),new b.Vb(0,0,f,h),new b.Vb(0,0,f,2*h),new b.Vb(0,0,f,3*h)];this.dD=[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.FD=b.l.createBuffer();this.XA=b.l.createBuffer();b.rc.prototype.ctor.call(this);
- this.p=new b.fc(b.ec,b.dc);b.Xc.prototype.da.call(this,a,d,e)};a.Gd=function(a,d){var e=this.Xv;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.NA();b.rc.prototype.Gd.call(this,a,d)};a.tj=function(a){var d=this.Xv;d[1].x=a;d[3].x=a;this.NA();b.rc.prototype.tj.call(this,a)};a.sj=function(a){var d=this.Xv;d[2].y=a;d[3].y=a;this.NA();b.rc.prototype.sj.call(this,a)};a.bc=function(){for(var a=this.xa,d=this.fb,e=this.dD,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.QI()};a.Y=function(a){a=a||b.l;b.Hs(this);b.Ic(b.Md|b.lu);a.bindBuffer(a.ARRAY_BUFFER,this.FD);a.vertexAttribPointer(b.pb,2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.XA);a.vertexAttribPointer(b.ve,4,a.UNSIGNED_BYTE,!0,0,0);b.Fh(this.p.src,this.p.S);a.drawArrays(a.TRIANGLE_STRIP,0,4)};a.NA=function(){var a=b.l;a.bindBuffer(a.ARRAY_BUFFER,this.FD);a.bufferData(a.ARRAY_BUFFER,this.fD,a.STATIC_DRAW)};a.QI=function(){var a=b.l;a.bindBuffer(a.ARRAY_BUFFER,
- this.XA);a.bufferData(a.ARRAY_BUFFER,this.eD,a.STATIC_DRAW)}};
- b.F.vA=function(){var a=b.sl.prototype;a.Y=b.Xc.prototype.Y;a.bc=function(){var a=this.ik,d=b.dl(a);if(0!==d){var e=Math.sqrt(2),a=C(a.x/d,a.y/d);this.Gu&&(a=b.Ii(a,1/(Math.abs(a.x)+Math.abs(a.y))*e));var f=this.fb/255,d=this.xa,g=this.ze,d={r:d.r,g:d.g,b:d.b,a:this.xo*f},f={r:g.r,g:g.g,b:g.b,a:this.Pn*f},h=this.dD,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.QI()}}};b.F.yz=function(){var a=b.Xc.prototype;b.i(a,"width",a.bh,a.tj);b.i(a,"height",a.vk,a.sj)};b.F.zz=function(){var a=b.sl.prototype;b.i(a,"startColor",a.Tw,a.Qe);b.i(a,"endColor",a.Ow,a.Ne);b.i(a,"startOpacity",a.X0,a.C4);b.i(a,"endOpacity",a.g0,a.Z3);b.i(a,"vector",a.c1,a.L4)};b.rc=b.k.extend({Ll:!1,Au:null,ub:"Layer",ctor:function(){var a=b.k.prototype;a.ctor.call(this);this.gj=!0;a.il.call(this,0.5,0.5);a.Gd.call(this,b.Tg)},da:function(){this.gj=!0;this.il(0.5,0.5);this.Gd(b.Tg);this.cascadeColor=this.cascadeOpacity=!1;return!0},bM:null,NP:null,Vda:function(){return this.Ll},R:null});b.rc.create=function(){return new b.rc};
- if(b.A===b.Aa){var ca=b.rc.prototype;ca.bM=function(){if(!this.Ll){this.Ll=this.qg=!0;this.Dn=this;for(var a=this.t,c=0,d=a.length;c<d;c++)a[c].KC(this);this.Au||(this.Au=new b.lQ)}};ca.NP=function(){if(this.Ll){this.Ll=!1;this.qg=!0;this.Dn=null;for(var a=this.t,c=0,d=a.length;c<d;c++)a[c].KC(null)}};ca.R=function(a){if(this.Ll){a=a||b.l;var c,d=this.t,e=d.length;if(this.cc&&0!==e){var f=this.Au;a.save();this.transform(a);if(this.qg){c=this.rB();c.width|=0;c.height|=0;var g=f.Zd;f.KO(c.width,c.height);
- g.translate(0-c.x,c.height+c.y);var h=f.Lw();f.H(h.x+c.x,h.y+c.y);this.Vc();b.view.Uv();for(c=0;c<e;c++)d[c].R(g);b.view.Mv();this.qg=!1}f.R(a);this.arrivalOrder=0;a.restore()}}else b.k.prototype.R.call(this,a)};ca.rB=function(){var a=null;if(!this.t||0===this.t.length)return P(0,0,10,10);for(var c=this.t,d=0;d<c.length;d++){var e=c[d];e&&e.cc&&(a?(e=e.er())&&(a=b.Ux(a,e)):a=e.er())}return a};ca=null}else b.assert("function"===typeof b.F.hz,b.e.fd,"CCLayerWebGL.js"),b.F.hz(),delete b.F.hz;
- b.Xc=b.rc.extend({p:null,ub:"LayerColor",Bh:function(){return this.p},w$:function(a,c){this.width=a;this.height=c},v$:function(a){this.width=a},u$:function(a){this.height=a},Oe:function(){},Tf:function(){return!1},cb:function(a){b.rc.prototype.cb.call(this,a);this.bc()},Sa:function(a){b.rc.prototype.Sa.call(this,a);this.bc()},jo:!1,ctor:null,da:function(a,c,d){b.A!==b.Aa&&(this.shaderProgram=b.Id.nc(b.Yt));var e=b.K.za();a=a||b.color(0,0,0,255);c=void 0===c?e.width:c;d=void 0===d?e.height:d;e=this.xa;
- e.r=a.r;e.g=a.g;e.b=a.b;e=this.Td;e.r=a.r;e.g=a.g;e.b=a.b;this.yg=this.fb=a.a;a=b.Xc.prototype;a.Gd.call(this,c,d);a.bc.call(this);return!0},Me:function(a,c){this.p=void 0===c?a:{src:a,S:c};b.A===b.Aa&&(this.jo=this.p&&1==this.p.src&&771==this.p.S)},tj:null,sj:null,bc:null,Mc:function(a){b.rc.prototype.Mc.call(this,a);this.bc()},Bc:function(a){b.rc.prototype.Bc.call(this,a);this.bc()},Y:null});b.Xc.create=function(a,c,d){return new b.Xc(a,c,d)};
- b.A===b.Aa?(n=b.Xc.prototype,n.ctor=function(a,c,d){b.rc.prototype.ctor.call(this);this.p=new b.fc(b.ec,b.dc);b.Xc.prototype.da.call(this,a,c,d)},n.tj=b.rc.prototype.tj,n.sj=b.rc.prototype.sj,n.bc=function(){},n.Y=function(a){a=a||b.l;var c=b.view,d=this.xa;a.fillStyle="rgba("+(0|d.r)+","+(0|d.g)+","+(0|d.b)+","+this.fb/255+")";a.fillRect(0,0,this.width*c.ja,-this.height*c.Ka);b.of++},n.R=function(a){if(this.Ll){a=a||b.l;var c,d=this.t,e=d.length;if(this.cc){var f=this.Au;a.save();this.transform(a);
- if(this.qg){c=this.rB();c.width|=0;c.height|=0;var g=f.Zd;f.KO(c.width,c.height);var h=f.Lw(),k=this.va;if(this.gj)g.translate(0-c.x+k.x,c.height+c.y-k.y),f.H(h.x+c.x-k.x,h.y+c.y-k.y);else{var m=this.Lw(),p=k.x-m.x,k=k.y-m.y;g.translate(0-c.x+p,c.height+c.y-k);f.H(h.x+c.x-p,h.y+c.y-k)}b.view.Uv();if(0<e){this.Vc();for(c=0;c<e;c++)if(h=d[c],0>h.Bb)h.R(g);else break;for(this.Y(g);c<e;c++)d[c].R(g)}else this.Y(g);b.view.Mv();this.qg=!1}f.R(a);this.arrivalOrder=0;a.restore()}}else b.k.prototype.R.call(this,
- a)},n.rB=function(){var a=P(0,0,this.O.width,this.O.height),c=this.Fx(),a=b.EF(a,this.Fx());if(!this.t||0===this.t.length)return a;for(var d=this.t,e=0;e<d.length;e++){var f=d[e];f&&f.cc&&(f=f.er(c),a=b.Ux(a,f))}return a},n=null):(b.assert("function"===typeof b.F.uA,b.e.fd,"CCLayerWebGL.js"),b.F.uA(),delete b.F.uA);b.assert("function"===typeof b.F.yz,b.e.fd,"CCLayerPropertyDefine.js");b.F.yz();delete b.F.yz;
- b.sl=b.Xc.extend({th:null,ze:null,xo:255,Pn:255,ik:null,Gu:!1,ao:null,$n:null,ub:"LayerGradient",ctor:function(a,c,d){b.Xc.prototype.ctor.call(this);this.th=b.color(0,0,0,255);this.ze=b.color(0,0,0,255);this.ik=C(0,-1);this.Pn=this.xo=255;this.ao=C(0,0);this.$n=C(0,0);b.sl.prototype.da.call(this,a,c,d)},da:function(a,c,d){a=a||b.color(0,0,0,255);c=c||b.color(0,0,0,255);d=d||C(0,-1);var e=this.th,f=this.ze;e.r=a.r;e.g=a.g;e.b=a.b;this.xo=a.a;f.r=c.r;f.g=c.g;f.b=c.b;this.Pn=c.a;this.ik=d;this.Gu=!0;
- this.ao=C(0,0);this.$n=C(0,0);b.Xc.prototype.da.call(this,b.color(a.r,a.g,a.b,255));b.sl.prototype.bc.call(this);return!0},Gd:function(a,c){b.Xc.prototype.Gd.call(this,a,c);this.bc()},tj:function(a){b.Xc.prototype.tj.call(this,a);this.bc()},sj:function(a){b.Xc.prototype.sj.call(this,a);this.bc()},Tw:function(){return this.Td},Qe:function(a){this.color=a},Ne:function(a){this.ze=a;this.bc()},Ow:function(){return this.ze},C4:function(a){this.xo=a;this.bc()},X0:function(){return this.xo},Z3:function(a){this.Pn=
- a;this.bc()},g0:function(){return this.Pn},L4:function(a){this.ik.x=a.x;this.ik.y=a.y;this.bc()},c1:function(){return C(this.ik.x,this.ik.y)},Xda:function(){return this.Gu},xia:function(a){this.Gu=a;this.bc()},e9:null,bc:null});b.sl.create=function(a,c,d){return new b.sl(a,c,d)};
- b.A===b.Aa?(n=b.sl.prototype,n.Y=function(a){a=a||b.l;this.jo&&(a.globalCompositeOperation="lighter");a.save();var c=this.fb/255,d=b.view.ja,e=b.view.Ka,f=this.width*d,g=this.height*e,d=a.createLinearGradient(this.ao.x*d,this.ao.y*e,this.$n.x*d,this.$n.y*e),e=this.xa,h=this.ze;d.addColorStop(0,"rgba("+Math.round(e.r)+","+Math.round(e.g)+","+Math.round(e.b)+","+(this.xo/255*c).toFixed(4)+")");d.addColorStop(1,"rgba("+Math.round(h.r)+","+Math.round(h.g)+","+Math.round(h.b)+","+(this.Pn/255*c).toFixed(4)+
- ")");a.fillStyle=d;a.fillRect(0,0,f,-g);0!=this.y9&&a.rotate(this.z9);a.restore();b.of++},n.bc=function(){var a=this.ik,c=0.5*this.width,d=0.5*this.height;this.ao.x=c*-a.x+c;this.ao.y=d*a.y-d;this.$n.x=c*a.x+c;this.$n.y=d*-a.y-d},n=null):(b.assert("function"===typeof b.F.vA,b.e.fd,"CCLayerWebGL.js"),b.F.vA(),delete b.F.vA);b.assert("function"===typeof b.F.zz,b.e.fd,"CCLayerPropertyDefine.js");b.F.zz();delete b.F.zz;
- b.Lt=b.rc.extend({Jl:0,fe:null,ub:"LayerMultiplex",ctor:function(a){b.rc.prototype.ctor.call(this);a instanceof Array?b.Lt.prototype.HN.call(this,a):b.Lt.prototype.HN.call(this,Array.prototype.slice.call(arguments))},HN:function(a){0<a.length&&null==a[a.length-1]&&b.log(b.e.ER);this.fe=a;this.Jl=0;this.T(this.fe[this.Jl]);return!0},zka:function(a){a>=this.fe.length?b.log(b.e.FR):(this.removeChild(this.fe[this.Jl],!0),this.Jl=a,this.T(this.fe[a]))},Aka:function(a){a>=this.fe.length?b.log(b.e.GR):(this.removeChild(this.fe[this.Jl],
- !0),this.fe[this.Jl]=null,this.Jl=a,this.T(this.fe[a]))},N9:function(a){a?this.fe.push(a):b.log(b.e.DR)}});b.Lt.create=function(){return new b.Lt(Array.prototype.slice.call(arguments))};b.F.wA=function(){var a=b.I.prototype;a.cD=function(a){this.Ga(!0);this.sb(a.Eh(),a.he,a.cp());this.Od()};a.Oe=function(a){this.Na!==a&&(this.Na=a,this.kt())};a.Bc=function(a){b.k.prototype.Bc.call(this,a);this.kt()};a.ctor=function(a,d,e){b.k.prototype.ctor.call(this);this.Kk=!1;this.Hb=C(0,0);this.vh=C(0,0);this.p={src:b.ec,S:b.dc};this.ha=P(0,0,0,0);this.Ob=new b.zb;this.Iv=b.l.createBuffer();this.la=this.Be=!0;this.xL(a,d,e)};a.Me=function(a,d){var e=this.p;void 0===d?(e.src=a.src,e.S=a.S):(e.src=
- a,e.S=d)};a.da=function(){if(0<arguments.length)return this.Yk(arguments[0],arguments[1]);b.k.prototype.da.call(this);this.dirty=this.lh=!1;this.Na=!0;this.p.src=b.ec;this.p.S=b.dc;this.texture=null;this.la=!0;this.Lb=this.Mb=!1;this.anchorY=this.anchorX=0.5;this.Hb.x=0;this.Hb.y=0;this.di=!1;var a={r:255,g:255,b:255,a:255};this.Ob.C.s=a;this.Ob.N.s=a;this.Ob.M.s=a;this.Ob.L.s=a;this.Be=!0;this.sb(P(0,0,0,0),!1,N(0,0));return!0};a.qa=function(a,d,e){b.assert(0!=arguments.length,b.e.nT);e=e||!1;if(!b.k.prototype.da.call(this))return!1;
- this.W=null;this.dirty=this.lh=!1;this.Na=!0;this.p.src=b.ec;this.p.S=b.dc;this.Lb=this.Mb=!1;this.anchorY=this.anchorX=0.5;this.Hb.x=0;this.Hb.y=0;this.di=!1;var f=b.color(255,255,255,255),g=this.Ob;g.C.s=f;g.N.s=f;g.M.s=f;g.L.s=f;this.la=f=a.wc;if(!f)return this.Ec=e||!1,d&&(f=this.ha,f.x=d.x,f.y=d.y,f.width=d.width,f.height=d.height),a.Wd(this.jw,this),!0;d||(d=P(0,0,a.width,a.height));a&&a.url&&(e?(f=d.x+d.height,g=d.y+d.width):(f=d.x+d.width,g=d.y+d.height),f>a.width&&b.error(b.e.Fz,a.url),g>
- a.height&&b.error(b.e.Ez,a.url));this.texture=a;this.sb(d,e);this.batchNode=null;return this.Be=!0};a.jw=function(a){if(!this.la){this.la=!0;var d=this.ha;d?b.xC(d)&&(d.width=a.width,d.height=a.height):d=P(0,0,a.width,a.height);this.texture=a;this.sb(d,this.Ec);this.batchNode=this.W;this.Be=!0;this.Od()}};a.sb=function(a,d,e){this.Ec=d||!1;this.Gd(e||a);this.iG(a);this.pL(a);a=this.vh;this.Lb&&(a.x=-a.x);this.Mb&&(a.y=-a.y);var f=this.ha;this.Hb.x=a.x+(this.O.width-f.width)/2;this.Hb.y=a.y+(this.O.height-
- f.height)/2;if(this.W)this.dirty=!0;else{a=0+this.Hb.x;d=0+this.Hb.y;e=a+f.width;var f=d+f.height,g=this.Ob;g.C.f={x:a,y:d,z:0};g.N.f={x:e,y:d,z:0};g.M.f={x:a,y:f,z:0};g.L.f={x:e,y:f,z:0};this.Be=!0}};a.Ue=function(){if(this.dirty){var a=this.Ob,d=this.Rc;if(!this.cc||d&&d!=this.W&&d.Kk)a.N.f=a.M.f=a.L.f=a.C.f={x:0,y:0,z:0},this.Kk=!0;else{this.Kk=!1;var e=this.jm=d&&d!=this.W?b.pm(this.op(),d.jm):this.op(),f=this.ha,d=this.Hb.x,g=this.Hb.y,h=d+f.width,k=g+f.height,m=e.Ha,p=e.Ia,r=e.a,s=e.b,u=e.J,
- t=-e.B,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.as;b.Mz||(e|=0,f|=0,v|=0,g|=0,w|=0,h|=0,m|=0,d|=0);a.C.f={x:e,y:f,z:k};a.N.f={x:v,y:g,z:k};a.M.f={x:m,y:d,z:k};a.L.f={x:w,y:h,z:k}}this.textureAtlas.xy(a,this.atlasIndex);this.dirty=this.lh=!1}this.di&&this.pg(this.t,b.k.vf.Ue);b.Vj&&b.ye.Xd([C(this.Ob.C.f.x,this.Ob.C.f.y),C(this.Ob.N.f.x,this.Ob.N.f.y),C(this.Ob.L.f.x,this.Ob.L.f.y),C(this.Ob.M.f.x,this.Ob.M.f.y)],4,!0)};a.T=function(a,d,
- e){b.assert(a,b.e.eT);null==d&&(d=a.Bb);null==e&&(e=a.tag);if(this.W){if(!(a instanceof b.I)){b.log(b.e.cT);return}a.texture.Vd!==this.textureAtlas.texture.Vd&&b.log(b.e.dT);this.W.appendChild(a);this.Ud||this.UC()}b.k.prototype.T.call(this,a,d,e);this.di=!0};a.Sa=function(a){b.k.prototype.Sa.call(this,a);this.kt()};a.cb=function(a){b.k.prototype.cb.call(this,a);this.kt()};a.Mc=function(a){b.k.prototype.Mc.call(this,a);this.kt()};a.kl=function(a){var d=this;"string"==typeof a&&(a=b.Mi.yi(a),b.assert(a,
- b.e.wT));d.Ga(!0);var e=a.Hm();d.vh.x=e.x;d.vh.y=e.y;e=a.ya();a.la||(d.la=!1,a.Wd(function(a){d.la=!0;var c=a.ya();c!=d.G&&(d.texture=c);d.sb(a.Eh(),a.he,a.cp());d.Od()},d));e!=d.G&&(d.texture=e);d.Ec=a.he;d.sb(a.Eh(),d.Ec,a.cp())};a.RN=function(a){return b.BO(a.Eh(),this.ha)&&a.ya().getName()==this.G.getName()&&b.BF(a.Hm(),this.vh)};a.jl=function(a){if(this.W=a)this.jm={a:1,b:0,B:0,J:1,Ha:0,Ia:0},this.textureAtlas=this.W.textureAtlas;else{this.atlasIndex=b.I.dz;this.textureAtlas=null;this.dirty=
- this.lh=!1;a=this.Hb.x;var d=this.Hb.y,e=a+this.ha.width,f=d+this.ha.height,g=this.Ob;g.C.f={x:a,y:d,z:0};g.N.f={x:e,y:d,z:0};g.M.f={x:a,y:f,z:0};g.L.f={x:e,y:f,z:0};this.Be=!0}};a.Ya=function(a){a&&"string"===typeof a?(a=b.Ca.Hc(a),this.Ya(a),a=a.Rf(),this.sb(P(0,0,a.width,a.height))):(b.assert(!a||a instanceof b.aa,b.e.yT),this.W&&this.W.texture!=a?b.log(b.e.xT):(this.shaderProgram=a?b.Id.nc(b.Yi):b.Id.nc(b.Yt),this.W||this.G==a||(this.G=a,this.Mf())))};a.Y=function(){if(this.la){var a=b.l,d=this.G;
- d?d.wc&&(this.Eb.Nc(),this.Eb.Se(),b.Fh(this.p.src,this.p.S),b.QE(0,d),b.Ic(b.Al),a.bindBuffer(a.ARRAY_BUFFER,this.Iv),this.Be&&(a.bufferData(a.ARRAY_BUFFER,this.Ob.uw,a.DYNAMIC_DRAW),this.Be=!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.Eb.Nc(),this.Eb.Se(),b.Fh(this.p.src,this.p.S),b.oe(null),b.Ic(b.Md|b.lu),a.bindBuffer(a.ARRAY_BUFFER,this.Iv),this.Be&&(b.l.bufferData(b.l.ARRAY_BUFFER,
- this.Ob.uw,b.l.STATIC_DRAW),this.Be=!1),a.vertexAttribPointer(b.pb,3,a.FLOAT,!1,24,0),a.vertexAttribPointer(b.ve,4,a.UNSIGNED_BYTE,!0,24,12),a.drawArrays(a.TRIANGLE_STRIP,0,4));b.of++;if(0!==b.Vj||this.YC)1===b.Vj||this.YC?(a=this.Ob,b.ye.Xd([C(a.M.f.x,a.M.f.y),C(a.C.f.x,a.C.f.y),C(a.N.f.x,a.N.f.y),C(a.L.f.x,a.L.f.y)],4,!0)):2===b.Vj&&(a=this.rN(),d=this.G0(),b.ye.Xd([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.F.Az=function(){var a=b.I.prototype;b.i(a,"opacityModifyRGB",a.Tf,a.Oe);b.i(a,"opacity",a.Fg,a.Sa);b.i(a,"color",a.Eg,a.cb);b.i(a,"flippedX",a.F1,a.dy);b.i(a,"flippedY",a.G1,a.VF);b.i(a,"offsetX",a.gW);b.i(a,"offsetY",a.hW);b.i(a,"texture",a.ya,a.Ya);b.i(a,"textureRectRotated",a.M1);b.i(a,"batchNode",a.yE,a.jl);b.i(a,"quad",a.L0)};b.Em=function(a,c,d,e){e=e||b.Sb("canvas");d=d||P(0,0,a.width,a.height);var f=e.getContext("2d");e.width!=d.width||e.height!=d.height?(e.width=d.width,e.height=d.height):f.globalCompositeOperation="source-over";f.fillStyle="rgb("+c.r+","+c.g+","+c.b+")";f.fillRect(0,0,d.width,d.height);f.globalCompositeOperation="multiply";f.drawImage(a,d.x,d.y,d.width,d.height,0,0,d.width,d.height);f.globalCompositeOperation="destination-atop";f.drawImage(a,d.x,d.y,d.width,d.height,0,0,d.width,d.height);return e};
- b.Dm=function(a,c,d,e,f){e||(e=P(0,0,a.width,a.height));a=d.r/255;var g=d.g/255;d=d.b/255;var h=Math.min(e.width,c[0].width),k=Math.min(e.height,c[0].height),m;f?(m=f.getContext("2d"),m.clearRect(0,0,h,k)):(f=b.Sb("canvas"),f.width=h,f.height=k,m=f.getContext("2d"));m.save();m.globalCompositeOperation="lighter";var p=m.globalAlpha;0<a&&(m.globalAlpha=a*p,m.drawImage(c[0],e.x,e.y,h,k,0,0,h,k));0<g&&(m.globalAlpha=g*p,m.drawImage(c[1],e.x,e.y,h,k,0,0,h,k));0<d&&(m.globalAlpha=d*p,m.drawImage(c[2],e.x,
- e.y,h,k,0,0,h,k));1>a+g+d&&(m.globalAlpha=p,m.drawImage(c[3],e.x,e.y,h,k,0,0,h,k));m.restore();return f};
- b.Yo=function(a){function c(){var c=b.Yo,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.oG.width=e;c.oG.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.FP.drawImage(a,0,0);for(var r=c.FP.getImageData(0,0,e,h),s=r.data,u=0;u<k.length;u+=4)s[u]=0===m?k[u]:0,s[u+
- 1]=1===m?k[u+1]:0,s[u+2]=2===m?k[u+2]:0,s[u+3]=k[u+3];p.putImageData(r,0,0)}a.onload=null}if(a.kM)return a.kM;var d=[b.Sb("canvas"),b.Sb("canvas"),b.Sb("canvas"),b.Sb("canvas")];try{c()}catch(e){a.onload=c}return a.kM=d};b.Yo.canvas=b.Sb("canvas");b.Yo.oG=b.Sb("canvas");b.Yo.FP=b.Yo.oG.getContext("2d");
- b.lE=function(a,c){if(!a)return null;if(!c)return a;var d=b.Sb("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.I=b.k.extend({dirty:!1,atlasIndex:0,textureAtlas:null,W:null,lh:null,di:null,Kk:!1,jm:null,p:null,G:null,ha:null,Ec:!1,Hb:null,vh:null,Na:!1,Lb:!1,Mb:!1,la:!1,gb:null,uv:null,ub:"Sprite",GK:b.color.WHITE,ft:function(){return this.la},Wd:function(a,c){this.gb||(this.gb=[]);this.gb.push({zh:a,Qf:c})},Od:function(){if(this.gb){for(var a=this.gb,c=0,d=a.length;c<d;c++){var e=a[c];e.zh.call(e.Qf,this)}a.length=0}},fF:function(){return this.dirty},ZO:function(a){this.dirty=a},M1:function(){return this.Ec},
- $o:function(){return this.atlasIndex},QF:function(a){this.atlasIndex=a},rN:function(){return P(this.ha.x,this.ha.y,this.ha.width,this.ha.height)},ME:function(){return this.textureAtlas},eG:function(a){this.textureAtlas=a},G0:function(){return C(this.Hb)},gW:function(){return this.Hb.x},hW:function(){return this.Hb.y},Bh:function(){return this.p},Bi:function(a){b.assert(a,b.e.kT);a.la||(this.la=!1,a.Wd(this.cD,this));var c=b.A===b.Aa?!1:a.he,c=this.qa(a.ya(),a.Eh(),c);this.kl(a);return c},cD:null,
- Oda:function(a){b.assert(a,b.e.lT);var c=b.Mi.yi(a);b.assert(c,a+b.e.mT);return this.Bi(c)},Oka:function(a){this.textureAtlas=a.textureAtlas;this.W=a},iG:function(a){this.ha.x=a.x;this.ha.y=a.y;this.ha.width=a.width;this.ha.height=a.height},Vc:function(){if(this.Ud){var a=this.t,c=a.length,d,e,f;for(d=1;d<c;d++){f=a[d];for(e=d-1;0<=e;){if(f.Bb<a[e].Bb)a[e+1]=a[e];else if(f.Bb===a[e].Bb&&f.arrivalOrder<a[e].arrivalOrder)a[e+1]=a[e];else break;e--}a[e+1]=f}this.W&&this.pg(a,b.k.vf.Vc);this.Ud=!1}},
- wp:function(a,c){b.assert(a,b.e.rT);-1===this.t.indexOf(a)?b.log(b.e.qT):c!==a.zIndex&&(this.W&&!this.Ud&&(this.UC(),this.W.HO(!0)),b.k.prototype.wp.call(this,a,c))},removeChild:function(a,c){this.W&&this.W.Qm(a);b.k.prototype.removeChild.call(this,a,c)},Te:function(a){b.k.prototype.Te.call(this,a);this.TF(!0)},Ig:function(a){var c=this.t,d=this.W;if(d&&null!=c)for(var e=0,f=c.length;e<f;e++)d.Qm(c[e]);b.k.prototype.Ig.call(this,a);this.di=!1},TF:function(a){this.dirty=this.lh=a;a=this.t;for(var c,
- d=a?a.length:0,e=0;e<d;e++)c=a[e],c instanceof b.I&&c.TF(!0)},Ga:function(a){b.k.prototype.Ga.call(this);a||!this.W||this.lh||(this.di?this.TF(!0):this.dirty=this.lh=!0)},bx:function(a){this.W?b.log(b.e.iT):b.k.prototype.bx.call(this,a)},dy:function(a){this.Lb!=a&&(this.Lb=a,this.sb(this.ha,this.Ec,this.O),this.Ga(!0))},VF:function(a){this.Mb!=a&&(this.Mb=a,this.sb(this.ha,this.Ec,this.O),this.Ga(!0))},F1:function(){return this.Lb},G1:function(){return this.Mb},Oe:null,Tf:function(){return this.Na},
- Bc:null,Hia:function(a,c){b.assert(a,b.e.vT);var d=b.tw.PM(a);d?(d=d.Rd[c])?this.kl(d.yi()):b.log(b.e.uT):b.log(b.e.tT)},yE:function(){return this.W},UC:function(){if(!this.Ud){this.Ud=!0;for(var a=this.Rc;a&&a!=this.W;)a.UC(),a=a.parent}},ya:function(){return this.G},Ob:null,Iv:null,Be:!1,Qq:!1,jo:!1,xc:null,em:null,eB:null,ctor:null,xL:function(a,c,d){if(void 0===a)b.I.prototype.da.call(this);else if("string"===typeof a)"#"===a[0]?(a=b.Mi.yi(a.substr(1,a.length-1)),this.Bi(a)):b.I.prototype.da.call(this,
- a,c);else if("object"===typeof a)if(a instanceof b.aa)this.qa(a,c,d);else if(a instanceof b.ue)this.Bi(a);else if(a instanceof HTMLImageElement||a instanceof HTMLCanvasElement)c=new b.aa,c.Jc(a),c.qb(),this.qa(c)},L0:function(){return this.Ob},Me:null,da:null,Yk:function(a,c){b.assert(a,b.e.jT);var d=b.Ca.Xm(a);if(d){if(!c){var e=d.Rf();c=P(0,0,e.width,e.height)}return this.qa(d,c)}d=b.Ca.Hc(a);return this.qa(d,c||P(0,0,d.O.width,d.O.height))},qa:null,jw:null,sb:null,Ue:null,T:null,kt:function(){var a=
- this.xa,c=this.fb,a={r:a.r,g:a.g,b:a.b,a:c};this.Na&&(a.r*=c/255,a.g*=c/255,a.b*=c/255);c=this.Ob;c.C.s=a;c.N.s=a;c.M.s=a;c.L.s=a;this.W&&(this.atlasIndex!=b.I.dz?this.textureAtlas.xy(c,this.atlasIndex):this.dirty=!0);this.Be=!0},Sa:null,cb:null,Mc:null,kl:null,W3:function(a){b.log(b.e.sT);this.kl(a)},RN:null,WZ:function(){return b.ue.create(this.G,b.Vs(this.ha),this.Ec,b.Y2(this.vh),b.V4(this.O))},jl:null,Ya:null,Mf:function(){this.W?b.log(b.e.bT):this.G&&this.G.zi()?(this.p.src=b.ec,this.p.S=b.dc,
- this.opacityModifyRGB=!0):(this.p.src=b.SRC_ALPHA,this.p.S=b.ONE_MINUS_SRC_ALPHA,this.opacityModifyRGB=!1)},ae:function(){var a,c=this.G,d=this.em;c&&d.an&&this.xc&&(a=c.Wa)&&(this.Qq=!0,a instanceof HTMLCanvasElement&&!this.Ec&&!this.uv?b.Em(this.xc.Wa,this.xa,d,a):(a=b.Em(this.xc.Wa,this.xa,d),c=new b.aa,c.Jc(a),c.qb(),this.texture=c))},pL:function(a){a=b.Vs(a);var c=this.W?this.textureAtlas.texture:this.G;if(c){var d=c.pixelsWidth,e=c.pixelsHeight,f,g=this.Ob;this.Ec?(b.hn?(c=(2*a.x+1)/(2*d),d=
- c+(2*a.height-2)/(2*d),f=(2*a.y+1)/(2*e),a=f+(2*a.width-2)/(2*e)):(c=a.x/d,d=(a.x+a.height)/d,f=a.y/e,a=(a.y+a.width)/e),this.Lb&&(e=f,f=a,a=e),this.Mb&&(e=c,c=d,d=e),g.C.m.ea=c,g.C.m.fa=f,g.N.m.ea=c,g.N.m.fa=a,g.M.m.ea=d,g.M.m.fa=f,g.L.m.ea=d,g.L.m.fa=a):(b.hn?(c=(2*a.x+1)/(2*d),d=c+(2*a.width-2)/(2*d),f=(2*a.y+1)/(2*e),a=f+(2*a.height-2)/(2*e)):(c=a.x/d,d=(a.x+a.width)/d,f=a.y/e,a=(a.y+a.height)/e),this.Lb&&(e=c,c=d,d=e),this.Mb&&(e=f,f=a,a=e),g.C.m.ea=c,g.C.m.fa=a,g.N.m.ea=d,g.N.m.fa=a,g.M.m.ea=
- c,g.M.m.fa=f,g.L.m.ea=d,g.L.m.fa=f);this.Be=!0}},Y:null});b.I.create=function(a,c,d){return new b.I(a,c,d)};b.I.jE=b.I.create;b.I.I$=b.I.create;b.I.H$=b.I.create;b.I.dz=-1;
- b.A===b.Aa?(n=b.I.prototype,n.cD=function(a){this.Ga(!0);this.sb(a.Eh(),a.he,a.cp());a=this.color;255===a.r&&255===a.g&&255===a.b||this.ae();this.Od()},n.Oe=function(a){this.Na!==a&&(this.Na=a,this.Ga(!0))},n.Bc=function(a){b.k.prototype.Bc.call(this,a);this.ri()},n.ctor=function(a,c,d){b.k.prototype.ctor.call(this);this.Kk=!1;this.Hb=C(0,0);this.vh=C(0,0);this.p={src:b.ec,S:b.dc};this.ha=P(0,0,0,0);this.uv=!1;this.la=!0;this.em={x:0,y:0,width:0,height:0,an:!1};this.eB=N(0,0);this.xL(a,c,d)},n.Me=
- function(a,c){var d=this.p;void 0===c?(d.src=a.src,d.S=a.S):(d.src=a,d.S=c);this.jo=d&&(d.src==b.SRC_ALPHA&&d.S==b.ONE||d.src==b.ONE&&d.S==b.ONE)},n.da=function(){if(0<arguments.length)return this.Yk(arguments[0],arguments[1]);b.k.prototype.da.call(this);this.dirty=this.lh=!1;this.Na=!0;this.p.src=b.ec;this.p.S=b.dc;this.texture=null;this.la=!0;this.Lb=this.Mb=!1;this.anchorY=this.anchorX=0.5;this.Hb.x=0;this.Hb.y=0;this.di=!1;this.sb(P(0,0,0,0),!1,N(0,0));return!0},n.qa=function(a,c,d){b.assert(0!=
- arguments.length,b.e.rQ);if((d=d||!1)&&a.wc){var e=a.Wa,e=b.lE(e,c),f=new b.aa;f.Jc(e);f.qb();a=f;this.ha=P(0,0,c.width,c.height)}if(!b.k.prototype.da.call(this))return!1;this.W=null;this.dirty=this.lh=!1;this.Na=!0;this.p.src=b.ec;this.p.S=b.dc;this.Lb=this.Mb=!1;this.anchorY=this.anchorX=0.5;this.Hb.x=0;this.Hb.y=0;this.di=!1;this.la=e=a.wc;if(!e)return this.Ec=d,c&&(this.ha.x=c.x,this.ha.y=c.y,this.ha.width=c.width,this.ha.height=c.height),a.Wd(this.jw,this),!0;c||(c=P(0,0,a.width,a.height));a&&
- a.url&&(e=c.y+c.height,c.x+c.width>a.width&&b.error(b.e.Fz,a.url),e>a.height&&b.error(b.e.Ez,a.url));this.texture=this.xc=a;this.sb(c,d);this.batchNode=null;return!0},n.jw=function(a){if(!this.la){this.la=!0;var c=this.ha;c?b.xC(c)&&(c.width=a.width,c.height=a.height):c=P(0,0,a.width,a.height);this.texture=this.xc=a;this.sb(c,this.Ec);a=this.xa;255==a.r&&255==a.g&&255==a.b||this.ae();this.batchNode=this.W;this.Od()}},n.sb=function(a,c,d){this.Ec=c||!1;this.Gd(d||a);this.iG(a);c=this.em;d=b.nb();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.an=!(0===c.width||0===c.height||0>c.x||0>c.y);a=this.vh;this.Lb&&(a.x=-a.x);this.Mb&&(a.y=-a.y);this.Hb.x=a.x+(this.O.width-this.ha.width)/2;this.Hb.y=a.y+(this.O.height-this.ha.height)/2;this.W&&(this.dirty=!0)},n.Ue=function(){if(this.dirty){var a=this.Rc;!this.cc||a&&a!=this.W&&a.Kk?this.Kk=!0:(this.Kk=!1,this.jm=a&&a!=this.W?b.pm(this.op(),a.jm):this.op());this.dirty=this.lh=!1}this.di&&this.pg(this.t,b.k.vf.Ue)},n.T=function(a,c,
- d){b.assert(a,b.e.pQ);null==c&&(c=a.Bb);null==d&&(d=a.tag);b.k.prototype.T.call(this,a,c,d);this.di=!0},n.Sa=function(a){b.k.prototype.Sa.call(this,a);this.ri()},n.cb=function(a){var c=this.color;this.GK=c;c.r===a.r&&c.g===a.g&&c.b===a.b||b.k.prototype.cb.call(this,a)},n.Mc=function(a){b.k.prototype.Mc.call(this,a);a=this.GK;var c=this.xa;if(a.r!==c.r||a.g!==c.g||a.b!==c.b)this.ae(),this.ri()},n.kl=function(a){var c=this;"string"==typeof a&&(a=b.Mi.yi(a),b.assert(a,b.e.uQ));c.Ga(!0);var d=a.Hm();
- c.vh.x=d.x;c.vh.y=d.y;c.Ec=a.he;var d=a.ya(),e=a.la;e||(c.la=!1,a.Wd(function(a){c.la=!0;var d=a.ya();d!=c.G&&(c.texture=d);c.sb(a.Eh(),a.he,a.cp());c.Od()},c));d!=c.G&&(c.texture=d);c.Ec&&(c.xc=d);c.sb(a.Eh(),c.Ec,a.cp());c.Qq=!1;e&&(a=c.color,255===a.r&&255===a.g&&255===a.b||c.ae())},n.RN=function(a){return a.ya()!=this.G?!1:b.BO(a.Eh(),this.ha)},n.jl=function(a){(this.W=a)?(this.jm={a:1,b:0,B:0,J:1,Ha:0,Ia:0},this.textureAtlas=this.W.textureAtlas):(this.atlasIndex=b.I.dz,this.textureAtlas=null,
- this.dirty=this.lh=!1)},n.Ya=function(a){a&&"string"===typeof a?(a=b.Ca.Hc(a),this.Ya(a),a=a.Rf(),this.sb(P(0,0,a.width,a.height))):(b.assert(!a||a instanceof b.aa,b.e.vQ),this.G!=a&&(a&&a.Wa instanceof HTMLImageElement&&(this.xc=a),this.G=a))},n.Y=function(a){if(this.la){a=a||b.l;this.jo&&(a.globalCompositeOperation="lighter");var c=b.view.ja,d=b.view.Ka;a.globalAlpha=this.fb/255;var e=this.ha,f=this.O,g=this.Hb,h=this.eB,k=0|g.x,m=-g.y-e.height,p=this.em;h.width=e.width*c;h.height=e.height*d;if(this.Lb||
- this.Mb)a.save(),this.Lb&&(k=-g.x-e.width,a.scale(-1,1)),this.Mb&&(m=g.y,a.scale(1,-1));k*=c;m*=d;this.G&&p.an?(f=this.G.Wa,this.Qq?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.G&&p.an&&(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.Vj||this.YC?(a.strokeStyle="rgba(0,255,0,1)",k/=c,m=-(m/d),b.ye.Xd([C(k,m),C(k+e.width,m),C(k+e.width,m-e.height),C(k,m-e.height)],
- 4,!0)):2===b.Vj&&(a.strokeStyle="rgba(0,255,0,1)",c=this.ha,m=-m,b.ye.Xd([C(k,m),C(k+c.width,m),C(k+c.width,m-c.height),C(k,m-c.height)],4,!0));(this.Lb||this.Mb)&&a.restore();b.of++}},b.ob.ew||(n.ae=function(){var a,c=this.G,d=this.em;c&&d.an&&this.xc&&(a=c.Wa)&&(c=b.Ca.Uw(this.xc.Wa))&&(this.Qq=!0,a instanceof HTMLCanvasElement&&!this.Ec&&!this.uv?b.Dm(a,c,this.xa,d,a):(a=b.Dm(a,c,this.xa,d),c=new b.aa,c.Jc(a),c.qb(),this.texture=c))}),delete n):(b.assert("function"===typeof b.F.wA,b.e.fd,"SpritesWebGL.js"),
- b.F.wA(),delete b.F.wA);b.assert("function"===typeof b.F.Az,b.e.fd,"SpritesPropertyDefine.js");b.F.Az();delete b.F.Az;b.My=29;
- b.te=b.k.extend({textureAtlas:null,p:null,yd:null,ub:"SpriteBatchNode",YY:function(a,c,d){b.assert(a,b.e.WS);if(!(a instanceof b.I))return b.log(b.e.VS),null;a.atlasIndex=c;var e=0,f=this.yd;if(f&&0<f.length)for(var g=0;g<f.length;g++){var h=f[g];h&&h.atlasIndex>=c&&++e}f.splice(e,0,a);b.k.prototype.T.call(this,a,c,d);this.HO(!1);return this},ME:function(){return this.textureAtlas},eG:function(a){a!=this.textureAtlas&&(this.textureAtlas=a)},c0:function(){return this.yd},Yk:function(a,c){var d=b.Ca.Xm(a);
- d||(d=b.Ca.Hc(a));return this.qa(d,c)},ri:function(){this.qg=!0},da:function(a,c){var d=b.Ca.Xm(a);d||(d=b.Ca.Hc(a));return this.qa(d,c)},ex:function(){var a=this.textureAtlas.capacity,c=Math.floor(4*(a+1)/3);b.log(b.e.XS,a,c);this.textureAtlas.IF(c)||b.log(b.e.YS)},o3:function(a,c){this.removeChild(this.t[a],c)},zO:function(a,c){var d=a.children;if(d&&0<d.length)for(var e=0;e<d.length;e++){var f=d[e];f&&0>f.zIndex&&(c=this.zO(f,c))}!a==this&&(a.atlasIndex=c,c++);if(d&&0<d.length)for(e=0;e<d.length;e++)(f=
- d[e])&&0<=f.zIndex&&(c=this.zO(f,c));return c},VE:function(a){var c=a.children;return c&&0!=c.length?this.VE(c[c.length-1]):a.atlasIndex},A2:function(a){var c=a.children;return c&&0!=c.length?this.A2(c[c.length-1]):a.atlasIndex},qZ:function(a,c){var d=a.parent,e=d.children,f=e.indexOf(a),g=null;0<f&&f<b.uI&&(g=e[f-1]);return d==this?0==f?0:this.VE(g)+1:0==f?0>c?d.atlasIndex:d.atlasIndex+1:0>g.zIndex&&0>c||0<=g.zIndex&&0<=c?this.VE(g)+1:d.atlasIndex+1},HO:function(a){this.Ud=a},Me:function(a,c){this.p=
- void 0===c?a:{src:a,S:c}},Bh:function(){return this.p},wp:function(a,c){b.assert(a,b.e.aT);-1===this.t.indexOf(a)?b.log(b.e.$S):c!==a.zIndex&&(b.k.prototype.wp.call(this,a,c),this.Ga())},removeChild:function(a,c){null!=a&&(-1===this.t.indexOf(a)?b.log(b.e.ZS):(this.Qm(a),b.k.prototype.removeChild.call(this,a,c)))},$W:null,Pk:null,H9:!1,xc:null,ctor:null,Sq:function(a,c){b.k.prototype.ctor.call(this);var d;c=c||b.My;"string"==typeof a?(d=b.Ca.Xm(a))||(d=b.Ca.Hc(a)):a instanceof b.aa&&(d=a);d&&this.qa(d,
- c)},Tq:function(a,c){b.k.prototype.ctor.call(this);this.$W=new b.ba;var d;c=c||b.My;"string"==typeof a?(d=b.Ca.Xm(a))||(d=b.Ca.Hc(a)):a instanceof b.aa&&(d=a);d&&this.qa(d,c)},TP:null,NY:function(a,c){b.assert(a,b.e.wQ);a instanceof b.I?(a.batchNode=this,a.atlasIndex=c,a.dirty=!0,a.Ue()):b.log(b.e.Iy)},OY:function(a,c){b.assert(a,b.e.Iy);if(a instanceof b.I){for(var d=this.textureAtlas.capacity;c>=d||d==this.textureAtlas.totalQuads;)this.ex();a.batchNode=this;a.atlasIndex=c;a.dirty=!0;a.Ue()}else b.log(b.e.Iy)},
- Ok:function(a,c){var d=this.yd,e=this.textureAtlas,f=e.quads,g=d[a],h=b.wI(f[a]);d[c].atlasIndex=a;d[a]=d[c];e.xy(f[c],a);d[c]=g;e.xy(h,c)},jx:null,IW:function(a,c){b.assert(a,b.e.tQ);a instanceof b.I?(a.batchNode=this,a.atlasIndex=c,a.dirty=!0,a.Ue(),this.t.splice(c,0,a)):b.log(b.e.sQ)},JW:function(a,c){b.assert(a,b.e.pT);if(a instanceof b.I){for(var d=this.textureAtlas;c>=d.capacity||d.capacity===d.totalQuads;)this.ex();a.batchNode=this;a.atlasIndex=c;d.eF(a.quad,c);a.dirty=!0;a.Ue()}else b.log(b.e.oT)},
- KL: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.Ok(f,c),c++;else{f=!0;0<=e[0].zIndex&&(f=a.atlasIndex,a.atlasIndex=c,a.arrivalOrder=0,f!=c&&this.Ok(f,c),c++,f=!1);for(d=0;d<e.length;d++){var g=e[d];f&&0<=g.zIndex&&(f=a.atlasIndex,a.atlasIndex=c,a.arrivalOrder=0,f!=c&&this.Ok(f,c),c++,f=!1);c=this.KL(g,c)}f&&(f=a.atlasIndex,a.atlasIndex=c,a.arrivalOrder=0,f!=c&&this.Ok(f,c),c++)}return c},Mf:function(){this.textureAtlas.texture.zi()||
- (this.p.src=b.SRC_ALPHA,this.p.S=b.ONE_MINUS_SRC_ALPHA)},qa:null,GB:function(a){this.t=[];this.yd=[];this.p=new b.fc(b.ec,b.dc);this.Pk=this.xc=a;return!0},HB:function(a,c){this.t=[];this.yd=[];this.p=new b.fc(b.ec,b.dc);c=c||b.My;this.textureAtlas=new b.Th;this.textureAtlas.qa(a,c);this.Mf();this.shaderProgram=b.Id.nc(b.Yi);return!0},dF:function(a,c){a.batchNode=this;a.atlasIndex=c;a.dirty=!0;var d=this.textureAtlas;d.totalQuads>=d.capacity&&this.ex();d.eF(a.quad,c);this.yd.splice(c,0,a);var d=c+
- 1,e=this.yd;if(e&&0<e.length)for(;d<e.length;d++)e[d].atlasIndex++;var e=a.children,f;if(e)for(d=0,l=e.length||0;d<l;d++)(f=e[d])&&this.dF(f,this.qZ(f,f.zIndex))},appendChild:null,LU:function(a){this.Ud=!0;a.batchNode=this;a.dirty=!0;this.yd.push(a);a.atlasIndex=this.yd.length-1;a=a.children;for(var c=0,d=a.length||0;c<d;c++)this.appendChild(a[c])},MU:function(a){this.Ud=!0;a.batchNode=this;a.dirty=!0;this.yd.push(a);var c=this.yd.length-1;a.atlasIndex=c;var d=this.textureAtlas;d.totalQuads==d.capacity&&
- this.ex();d.eF(a.quad,c);a=a.children;c=0;for(d=a.length||0;c<d;c++)this.appendChild(a[c])},Qm:null,CX:function(a){a.batchNode=null;var c=this.yd,d=c.indexOf(a);if(-1!=d){c.splice(d,1);for(var e=c.length;d<e;++d)c[d].atlasIndex--}if(a=a.children)for(c=0,d=a.length||0;c<d;c++)a[c]&&this.Qm(a[c])},DX:function(a){this.textureAtlas.GO(a.atlasIndex);a.batchNode=null;var c=this.yd,d=c.indexOf(a);if(-1!=d){c.splice(d,1);for(var e=c.length;d<e;++d)c[d].atlasIndex--}if(a=a.children)for(c=0,d=a.length||0;c<
- d;c++)a[c]&&this.Qm(a[c])},ya:null,fr:function(){return this.Pk},AB:function(){return this.textureAtlas.texture},Ya:null,VC:function(a){this.Pk=a;for(var c=this.t,d=0;d<c.length;d++)c[d].texture=a},WC:function(a){this.textureAtlas.texture=a;this.Mf()},R:null,lm:function(a){var c=a||b.l;if(this.cc){c.save();this.transform(a);var d=this.t;if(d)for(this.Vc(),a=0;a<d.length;a++)d[a]&&d[a].R(c);c.restore()}},bs:function(a){a=a||b.l;if(this.cc){b.Gj();var c=this.grid;c&&c.rf()&&(c.is(),this.uy());this.Vc();
- this.transform(a);this.Y(a);c&&c.rf()&&c.fs(this);b.Fj();this.arrivalOrder=0}},T:null,DA:function(a,c,d){b.assert(null!=a,b.e.qQ);a instanceof b.I?(c=null==c?a.zIndex:c,d=null==d?a.tag:d,b.k.prototype.T.call(this,a,c,d),this.appendChild(a),this.Ga()):b.log(b.e.oQ)},GU:function(a,c,d){b.assert(null!=a,b.e.hT);a instanceof b.I?a.texture!=this.textureAtlas.texture?b.log(b.e.gT):(c=null==c?a.zIndex:c,d=null==d?a.tag:d,b.k.prototype.T.call(this,a,c,d),this.appendChild(a),this.Ga()):b.log(b.e.fT)},Ig:null,
- AX:function(a){var c=this.yd;if(c&&0<c.length)for(var d=0,e=c.length;d<e;d++)c[d]&&(c[d].batchNode=null);b.k.prototype.Ig.call(this,a);this.yd.length=0},BX:function(a){var c=this.yd;if(c&&0<c.length)for(var d=0,e=c.length;d<e;d++)c[d]&&(c[d].batchNode=null);b.k.prototype.Ig.call(this,a);this.yd.length=0;this.textureAtlas.EO()},Vc:null,tY:function(){if(this.Ud){var a,c=0,d=this.t,e=d.length,f;for(a=1;a<e;a++){var g=d[a],c=a-1;for(f=d[c];0<=c&&(g.Bb<f.Bb||g.Bb==f.Bb&&g.arrivalOrder<f.arrivalOrder);)d[c+
- 1]=f,c-=1,f=d[c];d[c+1]=g}0<d.length&&this.pg(d,b.k.vf.Vc);this.Ud=!1}},uY:function(){if(this.Ud){var a=this.t,c,d=0,e=a.length,f;for(c=1;c<e;c++){var g=a[c],d=c-1;for(f=a[d];0<=d&&(g.Bb<f.Bb||g.Bb==f.Bb&&g.arrivalOrder<f.arrivalOrder);)a[d+1]=f,d-=1,f=a[d];a[d+1]=g}if(0<a.length)for(this.pg(a,b.k.vf.Vc),c=d=0;c<a.length;c++)d=this.KL(a[c],d);this.Ud=!1}},Y:null,cj:function(){0!==this.textureAtlas.totalQuads&&(this.Eb.Nc(),this.Eb.Se(),this.pg(this.t,b.k.vf.Ue),b.Fh(this.p.src,this.p.S),this.textureAtlas.FM())}});
- n=b.te.prototype;b.A===b.V?(n.ctor=n.Tq,n.TP=n.OY,n.jx=n.JW,n.qa=n.HB,n.appendChild=n.MU,n.Qm=n.DX,n.ya=n.AB,n.Ya=n.WC,n.R=n.bs,n.T=n.GU,n.Ig=n.BX,n.Vc=n.uY,n.Y=n.cj):(n.ctor=n.Sq,n.TP=n.NY,n.jx=n.IW,n.qa=n.GB,n.appendChild=n.LU,n.Qm=n.CX,n.ya=n.fr,n.Ya=n.VC,n.R=n.lm,n.Ig=n.AX,n.T=n.DA,n.Vc=n.tY,n.Y=b.k.prototype.Y);b.i(n,"texture",n.ya,n.Ya);b.i(n,"descendants",n.c0);b.te.create=function(a,c){return new b.te(a,c)};b.te.jE=b.te.create;b.lQ=b.I.extend({Yd:null,Zd:null,ctor:function(){b.I.prototype.ctor.call(this);var a=document.createElement("canvas");a.width=a.height=10;this.Yd=a;this.Zd=a.getContext("2d");var c=new b.aa;c.Jc(a);c.qb();this.Ya(c)},jba:function(){return this.Zd},iba:function(){return this.Yd},KO:function(a,c){void 0===c&&(c=a.height,a=a.width);var d=this.Yd;d.width=a;d.height=c;this.ya().qb();this.sb(P(0,0,a,c),!1)}});b.gg=b.oa.extend({vo:null,Qd:0,Ho:null,ctor:function(a,c,d){this.vo=a||null;this.Qd=c||0;this.Ho=d||null},j:function(){var a=new b.gg;a.Bi(this.vo.j(),this.Qd,this.Ho);return a},Ew:function(){return b.j(this)},copy:function(){var a=new b.gg;a.Bi(this.vo.j(),this.Qd,this.Ho);return a},Bi:function(a,c,d){this.vo=a;this.Qd=c;this.Ho=d;return!0},yi:function(){return this.vo},kl:function(a){this.vo=a},xba:function(){return this.Qd},Eia:function(a){this.Qd=a},wda:function(){return this.Ho},hka:function(a){this.Ho=
- a}});b.gg.create=function(a,c,d){return new b.gg(a,c,d)};
- b.Nh=b.oa.extend({Rd:null,jj:0,Yl:!1,o:0,Qd:0,ui:0,ctor:function(a,c,d){this.Rd=[];if(void 0===a)this.LN(null,0);else{var e=a[0];e&&(e instanceof b.ue?this.LN(a,c,d):e instanceof b.gg&&this.fx(a,c,d))}},Uba:function(){return this.Rd},Qia:function(a){this.Rd=a},OD:function(a){var c=new b.gg;c.Bi(a,1,null);this.Rd.push(c);this.ui++},R9:function(a){a=b.Ca.Hc(a);var c=P(0,0,0,0);c.width=a.width;c.height=a.height;a=b.ue.create(a,c);this.OD(a)},S9:function(a,c){var d=b.ue.create(a,c);this.OD(d)},fx:function(a,
- c,d){b.Ko(a,b.gg);this.Qd=c;this.jj=void 0===d?1:d;this.ui=0;c=this.Rd;for(d=c.length=0;d<a.length;d++){var e=a[d];c.push(e);this.ui+=e.Qd}return!0},j:function(){var a=new b.Nh;a.fx(this.XI(),this.Qd,this.jj);a.ky(this.Yl);return a},Ew:function(){var a=new b.Nh;a.fx(this.XI(),this.Qd,this.jj);a.ky(this.Yl);return a},XI:function(){for(var a=[],c=0;c<this.Rd.length;c++)a.push(this.Rd[c].j());return a},copy:function(){return this.Ew(null)},jca:function(){return this.jj},bja:function(a){this.jj=a},ky:function(a){this.Yl=
- a},Pca:function(){return this.Yl},ap:function(){return this.ui*this.Qd},wba:function(){return this.Qd},Dia:function(a){this.Qd=a},pda:function(){return this.ui},LN:function(a,c,d){b.Ko(a,b.ue);this.jj=void 0===d?1:d;this.Qd=c||0;this.ui=0;c=this.Rd;c.length=0;if(a){for(d=0;d<a.length;d++){var e=a[d],f=new b.gg;f.Bi(e,1,null);c.push(f)}this.ui+=a.length}return!0},Yx:function(){},Ki:function(){}});b.Nh.create=function(a,c,d){return new b.Nh(a,c,d)};b.Nh.F$=b.Nh.create;b.tw={un:{},SL:function(a,c){this.un[c]=a},Nha:function(a){a&&this.un[a]&&delete this.un[a]},PM:function(a){return this.un[a]?this.un[a]:null},FU:function(a,c){var d=a.animations;if(d){var e=1,f=a.properties;if(f)for(var e=null!=f.format?parseInt(f.format):e,f=f.spritesheets,g=b.Mi,h=b.path,k=0;k<f.length;k++)g.VL(h.Oo(c,f[k]));switch(e){case 1:this.qX(d);break;case 2:this.rX(d);break;default:b.log(b.e.hZ)}}else b.log(b.e.gZ)},K9:function(a){b.assert(a,b.e.pZ);var c=b.U.Dd(a);c?this.FU(c,a):b.log(b.e.oZ)},
- qX:function(a){var c=b.Mi,d;for(d in a){var e=a[d],f=e.frames,e=parseFloat(e.delay)||0,g=null;if(f){for(var g=[],h=0;h<f.length;h++){var k=c.yi(f[h]);if(k){var m=new b.gg;m.Bi(k,1,null);g.push(m)}else b.log(b.e.jZ,d,f[h])}0===g.length?b.log(b.e.kZ,d):(g.length!=f.length&&b.log(b.e.lZ,d),g=b.Nh.create(g,e,1),b.tw.SL(g,d))}else b.log(b.e.iZ,d)}},rX:function(a){var c=b.Mi,d;for(d in a){var e=a[d],f=parseInt(e.loops),f=e.loop?b.qq:isNaN(f)?1:f,g=e.restoreOriginalFrame&&!0==e.restoreOriginalFrame?!0:!1,
- h=e.frames;if(h){for(var k=[],m=0;m<h.length;m++){var p=h[m],r=p.spriteframe,s=c.yi(r);if(s){var r=parseFloat(p.delayUnits)||0,p=p.notification,u=new b.gg;u.Bi(s,r,p);k.push(u)}else b.log(b.e.nZ,d,r)}e=parseFloat(e.delayPerUnit)||0;h=new b.Nh;h.fx(k,e,f);h.ky(g);b.tw.SL(h,d)}else b.log(b.e.mZ,d)}},kk:function(){this.un={}}};b.ue=b.oa.extend({ua:null,Bk:null,De:null,he:!1,ha:null,wg:null,Gf:null,G:null,Bo:"",la:!1,Wu:null,ctor:function(a,c,d,e,f){this.ua=C(0,0);this.wg=C(0,0);this.Bk=N(0,0);this.he=!1;this.Gf=N(0,0);this.Bo="";this.G=null;this.la=!1;void 0!==a&&void 0!==c&&(void 0===d||void 0===e||void 0===f?this.qa(a,c):this.qa(a,c,d,e,f))},ft:function(){return this.la},Wd:function(a,c){null==this.Wu&&(this.Wu=[]);this.Wu.push({zh:a,Qf:c})},Od:function(){var a=this.Wu;if(a){for(var c=0,d=a.length;c<d;c++){var e=a[c];
- e.zh.call(e.Qf,this)}a.length=0}},M0:function(){var a=this.De;return P(a.x,a.y,a.width,a.height)},yja:function(a){this.De||(this.De=P(0,0,0,0));this.De.x=a.x;this.De.y=a.y;this.De.width=a.width;this.De.height=a.height;this.ha=b.hl(a)},hea:function(){return this.he},Aja:function(a){this.he=a},Eh:function(){var a=this.ha;return P(a.x,a.y,a.width,a.height)},nP:function(a){this.ha||(this.ha=P(0,0,0,0));this.ha.x=a.x;this.ha.y=a.y;this.ha.width=a.width;this.ha.height=a.height;this.De=b.Vs(this.ha)},F0:function(){return C(this.wg)},
- jja:function(a){this.wg.x=a.x;this.wg.y=a.y;b.hC(this.wg,this.ua)},yca:function(){return N(this.Gf)},mja:function(a){this.Gf.width=a.width;this.Gf.height=a.height},cp:function(){return N(this.Bk)},lja:function(a){this.Bk.width=a.width;this.Bk.height=a.height},ya:function(){if(this.G)return this.G;if(""!==this.Bo){var a=b.Ca.Hc(this.Bo);a&&(this.la=a.wc);return a}return null},Ya:function(a){if(this.G!=a){var c=a.wc;this.la=c;this.G=a;c||a.Wd(function(a){this.la=!0;if(this.he&&b.A===b.Aa){var c=a.Wa,
- c=b.lE(c,this.Eh()),f=new b.aa;f.Jc(c);f.qb();this.Ya(f);c=this.Eh();this.nP(P(0,0,c.width,c.height))}c=this.ha;0===c.width&&0===c.height&&(c=a.width,a=a.height,this.ha.width=c,this.ha.height=a,this.De=b.Vs(this.ha),this.Gf.width=this.De.width,this.Gf.height=this.De.height,this.Bk.width=c,this.Bk.height=a);this.Od()},this)}},Hm:function(){return C(this.ua)},iy:function(a){this.ua.x=a.x;this.ua.y=a.y},j:function(){var a=new b.ue;a.qa(this.Bo,this.De,this.he,this.wg,this.Gf);a.Ya(this.G);return a},
- Ew:function(){var a=new b.ue;a.qa(this.Bo,this.De,this.he,this.wg,this.Gf);a.Ya(this.G);return a},copy:function(){return this.Ew()},qa:function(a,c,d,e,f){2===arguments.length&&(c=b.Vs(c));e=e||C(0,0);f=f||c;d=d||!1;"string"==typeof a?(this.G=null,this.Bo=a):a instanceof b.aa&&this.Ya(a);if((a=this.ya())&&a.url){var g,h;d?(g=c.x+c.height,h=c.y+c.width):(g=c.x+c.width,h=c.y+c.height);g>a.width&&b.error(b.e.Fz,a.url);h>a.height&&b.error(b.e.Ez,a.url)}this.De=c;this.ha=b.hl(c);this.wg.x=e.x;this.wg.y=
- e.y;b.hC(e,this.ua);this.Gf.width=f.width;this.Gf.height=f.height;b.wL(f,this.Bk);this.he=d;return!0}});b.ue.create=function(a,c,d,e,f){return new b.ue(a,c,d,e,f)};b.ue.jE=b.ue.create;b.ue.g9=function(a,c,d,e,f){var g=new b.ue;g.G=a;g.De=c;g.ha=b.hl(c);g.wg.x=e.x;g.wg.y=e.y;b.hC(g.wg,g.ua);g.Gf.width=f.width;g.Gf.height=f.height;b.wL(g.Gf,g.Bk);g.he=d;return g};b.Mi={DI:/^\s*\{\s*([\-]?\d+[.]?\d*)\s*,\s*([\-]?\d+[.]?\d*)\s*\}\s*$/,tU:/^\s*\{\s*\{\s*([\-]?\d+[.]?\d*)\s*,\s*([\-]?\d+[.]?\d*)\s*\}\s*,\s*\{\s*([\-]?\d+[.]?\d*)\s*,\s*([\-]?\d+[.]?\d*)\s*\}\s*\}\s*$/,sh:{},vj:{},Xn:{},XK:function(a){return(a=this.tU.exec(a))?P(parseFloat(a[1]),parseFloat(a[2]),parseFloat(a[3]),parseFloat(a[4])):P(0,0,0,0)},NK:function(a){return(a=this.DI.exec(a))?C(parseFloat(a[1]),parseFloat(a[2])):C(0,0)},ZC:function(a){return(a=this.DI.exec(a))?N(parseFloat(a[1]),parseFloat(a[2])):
- N(0,0)},XV:function(a){var c=b.U.Dd(a);b.assert(c,b.e.d5,a);b.U.Ki(a);if(c.eo)return this.Xn[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.o1=e.textureFileName||e.textureFileName||e.image);for(var h in d){var k=d[h];if(k){e={};if(0==g){e.rect=P(k.x,k.y,k.width,k.height);e.ay=!1;e.offset=C(k.offsetX,k.offsetY);var m=k.originalWidth,k=k.originalHeight;m&&k||b.log(b.e.c5);m=Math.abs(m);k=Math.abs(k);e.size=N(m,k)}else if(1==g||2==g)e.rect=this.XK(k.frame),
- e.ay=k.rotated||!1,e.offset=this.NK(k.offset),e.size=this.ZC(k.sourceSize);else if(3==g){var m=this.ZC(k.spriteSize),p=this.XK(k.textureRect);m&&(p=P(p.x,p.y,m.width,m.height));e.rect=p;e.ay=k.textureRotated||!1;e.offset=this.NK(k.spriteOffset);e.size=this.ZC(k.spriteSourceSize);e.cZ=k.aliases}else m=k.frame,p=k.sourceSize,h=k.filename||h,e.rect=P(m.x,m.y,m.w,m.h),e.ay=k.rotated||!1,e.offset=C(0,0),e.size=N(p.w,p.h);c[h]=e}}return this.Xn[a]={eo:!0,frames:c,C2:f}},VL:function(a,c){b.assert(a,b.e.f5);
- var d=this.Xn[a]||b.U.Dd(a);if(d&&d.frames){var e=this.Xn[a]||this.XV(a),d=e.frames,e=e.C2;c?c instanceof b.aa||("string"==typeof c?c=b.Ca.Hc(c):b.assert(0,b.e.g5)):c=b.Ca.Hc(b.path.Oo(a,e.o1||".png"));var e=this.vj,f=this.sh,g;for(g in d){var h=d[g],k=f[g];if(!k){k=b.ue.create(c,h.rect,h.ay,h.offset,h.size);if(h=h.cZ)for(var m=0,p=h.length;m<p;m++){var r=h[m];e[r]&&b.log(b.e.e5,r);e[r]=g}b.A===b.Aa&&k.he&&k.ya().wc&&(h=k.ya().Wa,h=b.lE(h,k.M0()),m=new b.aa,m.Jc(h),m.qb(),k.Ya(m),h=k.ha,k.nP(P(0,
- 0,h.width,h.height)));f[g]=k}}}},Z8:function(a){a=a.frames;for(var c in a)this.sh[c]&&b.log(b.e.b5,c)},OD:function(a,c){this.sh[c]=a},Tha:function(){this.sh={};this.vj={}},Sha:function(a){a&&(this.vj[a]&&delete this.vj[a],this.sh[a]&&delete this.sh[a])},Uha:function(a){var c=this.sh,d=this.vj;if(a=this.Xn[a]){a=a.frames;for(var e in a)if(c[e]){delete c[e];for(var f in d)d[f]==e&&delete d[f]}}},Vha:function(a){var c=this.sh,d=this.vj,e;for(e in c){var f=c[e];if(f&&f.ya()==a){delete c[e];for(var g in d)d[g]==
- e&&delete d[g]}}},yi:function(a){var c=this.sh[a];if(!c){var d=this.vj[a];d&&((c=this.sh[d.toString()])||delete this.vj[a])}c||b.log(b.e.h5,a);return c},kk:function(){this.sh={};this.vj={};this.Xn={}}};b.Ro={a7:0,f8:1,INT:2,U6:3,v6:4,sr:0,YW:0,nD:!1,iw:!1,lD:!1,mD:!1,oD:!1,s9:0,UB:0,ou:"",Yr:{},eo:!1,kr:function(){var a=this.Yr;a["cocos2d.x.version"]=b.Sy;a["cocos2d.x.compiled_with_profiler"]=!1;a["cocos2d.x.compiled_with_gl_state_cache"]=b.Ug;this.eo=!0},oca:function(){return this.sr},nca:function(){return this.YW},pca:function(){return this.UB},uka:function(){return this.iw},vka:function(){return this.nD},tka:function(){return!1},wka:function(){return!1},qka:function(){return!1},rka:function(){return this.lD},
- ska:function(){return this.mD},xka:function(){return this.oD},Po:function(a){return-1<this.ou.indexOf(a)},yda:function(a,c){this.eo||this.kr();var d=this.Yr;return d[a]?d[a]:c},jka:function(a,c){this.Yr[a]=c},f_:function(){0===b.Ug&&(b.log(""),b.log(b.e.IZ),b.log(""))},R_:function(){if(b.A!==b.Aa){this.eo||this.kr();var a=b.l,c=this.Yr;c["gl.vendor"]=a.getParameter(a.VENDOR);c["gl.renderer"]=a.getParameter(a.RENDERER);c["gl.version"]=a.getParameter(a.VERSION);this.ou="";for(var d=a.getSupportedExtensions(),
- e=0;e<d.length;e++)this.ou+=d[e]+" ";this.sr=a.getParameter(a.MAX_TEXTURE_SIZE);c["gl.max_texture_size"]=this.sr;this.UB=a.getParameter(a.MAX_COMBINED_TEXTURE_IMAGE_UNITS);c["gl.max_texture_units"]=this.UB;this.nD=this.Po("GL_IMG_texture_compression_pvrtc");c["gl.supports_PVRTC"]=this.nD;this.iw=!1;c["gl.supports_NPOT"]=this.iw;this.lD=this.Po("GL_IMG_texture_format_BGRA888");c["gl.supports_BGRA8888"]=this.lD;this.mD=this.Po("GL_EXT_discard_framebuffer");c["gl.supports_discard_framebuffer"]=this.mD;
- this.oD=this.Po("vertex_array_object");c["gl.supports_vertex_array_object"]=this.oD;b.Qo()}},kga:function(a){this.eo||this.kr();var c=b.U.Dd(a);if(!c)throw"Please load the resource first : "+a;b.assert(c,b.e.KZ,a);if(c=c.data)for(var d in c)this.Yr[d]=c[d];else b.log(b.e.JZ,a)}};b.F.Py=function(){b.X6=b.oa.extend({Mka:function(){}});var a=b.Ta.prototype;a.Vm=function(a){var d=this.mc;this.xP();var e=this.jh,f=e.me.x/e.ja,e=e.me.y/e.Ka;switch(a){case b.Ta.pS:b.sf(b.Wg);b.$k();f=new b.ba;b.lF(f,0,d.width,0,d.height,-1024,1024);b.ip(f);b.sf(b.Vg);b.$k();break;case b.Ta.lH:var g=this.ws(),h=new b.ba,k=new b.ba;b.sf(b.Wg);b.$k();b.f2(h,d.width/d.height,2*g);b.ip(h);b.sf(b.Vg);b.$k();g=b.kp(null,-f+d.width/2,-e+d.height/2,g);b.UN(k,g,b.kp(null,-f+d.width/2,-e+d.height/2,0),b.kp(null,
- 0,1,0));b.ip(k);break;case b.Ta.qS:break;default:b.log(b.e.MQ)}this.ni=a;b.na.dispatchEvent(this.Xu);b.lP()};a.YO=function(a){var d=b.l;a?(d.clearDepth(1),d.enable(d.DEPTH_TEST),d.depthFunc(d.LEQUAL)):d.disable(d.DEPTH_TEST)};a.YF=function(a){this.mc.width=b.Va.width;this.mc.height=b.Va.height;this.jh=a||b.view;a=b.Ro;a.R_();a.f_();this.Kn();this.cP();b.na&&b.na.pe(!0)};a.kk=function(){var a=b.l;a.clear(a.COLOR_BUFFER_BIT|a.DEPTH_BUFFER_BIT)};a.KA=function(){b.Gj()};a.EA=function(){b.Fj()};a.Kn=function(){if(!b.Rh)this.pV();
- else if(null!=b.Ta.VJ&&!1!=b.Ta.VJ){var a=new b.aa;a.Jc(b.Ta.Wn);a.qb();var d=b.view.BE().height/320;0===d&&(d=this.mc.height/320);var e=new b.Rh;e.NC(!0);e.pd("00.0",a,12,32,".");e.scale=d;this.wf=e;e=new b.Rh;e.NC(!0);e.pd("0.000",a,12,32,".");e.scale=d;this.xf=e;e=new b.Rh;e.NC(!0);e.pd("000",a,12,32,".");e.scale=d;this.Af=e;a=b.Ny;this.Af.H(a.x,34*d+a.y);this.xf.H(a.x,17*d+a.y);this.wf.H(a)}};a.pV=function(){var a=0,a=this.mc.width>this.mc.height?0|this.mc.height/320*24:0|this.mc.width/320*24;
- this.wf=b.P.create("000.0","Arial",a);this.xf=b.P.create("0.000","Arial",a);this.Af=b.P.create("0000","Arial",a);a=b.Ny;this.Af.H(this.Af.width/2+a.x,5*this.Af.height/2+a.y);this.xf.H(this.xf.width/2+a.x,3*this.xf.height/2+a.y);this.wf.H(this.wf.width/2+a.x,this.wf.height/2+a.y)};a.LZ=function(a){var d=new b.ba;b.SG(d);var e=new b.ba;b.e2(e,d);var f=this.jh.BE(),g=new b.vb;b.dO(g,new b.vb(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.NZ=function(a){var d=new b.ba;b.SG(d);
- var e=new b.vb;b.dO(e,new b.vb(a.x,a.y,0),d);a=this.jh.BE();return C(a.width*(0.5*e.x+0.5),a.height*(0.5*-e.y+0.5))};a.us=function(){return this.jh.us()};a.PE=function(){return this.jh.PE()};a.ws=function(){return this.mc.height/1.1566};a.xP=function(){var a=this.jh;if(a){var d=this.mc;a.O4(-a.me.x/a.ja,-a.me.y/a.Ka,d.width,d.height)}};a.vca=function(){return this.jh};a.Kca=function(){return this.ni};a.L3=function(){b.Fh(b.ec,b.dc)};a.cP=function(){this.L3();this.YO(!1);this.Vm(this.ni);b.l.clearColor(0,
- 0,0,1)}};b.of=0;b.SG=function(a){var c=new b.ba;b.px(b.Wg,c);var d=new b.ba;b.px(b.Vg,d);b.Ei(a,c,d)};
- b.Ta=b.oa.extend({q9:!1,tr:!1,kc:!1,Hv:!1,Gk:!1,Jq:0,XB:0,ni:0,tn:0,$g:1,Yq:!1,mk:0,nB:0,wf:null,xf:null,Af:null,mc:null,yk:null,gi:null,wv:null,jh:null,qi:null,uC:null,bd:null,Rd:0,lw:0,GC:0,d9:null,Jf:null,og:null,Xu:null,hB:null,jB:null,iB:null,ctor:function(){var a=this;a.yk=Date.now();b.na.ND(b.Kb.Pp,function(){a.yk=Date.now()})},da:function(){this.XB=this.Jq=1/b.RZ;this.qi=[];this.ni=b.Ta.rS;this.uC=null;this.nB=this.tn=0;this.Yq=!1;this.lw=this.Rd=0;this.yk=Date.now();this.Hv=this.kc=!1;this.mc=
- N(0,0);this.jh=null;this.$g=1;this.Jf=new b.uq;this.og=b.wG?new b.wG:null;this.Jf.NF(this.og,b.uq.Qt,!1);this.hB=new b.Ui(b.Ta.TQ);this.hB.setUserData(this);this.jB=new b.Ui(b.Ta.VQ);this.jB.setUserData(this);this.iB=new b.Ui(b.Ta.UQ);this.iB.setUserData(this);this.Xu=new b.Ui(b.Ta.WQ);this.Xu.setUserData(this);return!0},BZ:function(){var a=Date.now();this.tr?(this.mk=0,this.tr=!1):this.mk=(a-this.yk)/1E3;0<b.Kb.ne[b.Kb.hg.ms]&&0.2<this.mk&&(this.mk=1/60);this.yk=a},d_:function(){this.BZ();this.kc||
- (this.Jf.update(this.mk),b.na.dispatchEvent(this.iB));this.kk();this.gi&&this.m4();this.KA&&this.KA();this.bd&&(this.bd.R(),b.na.dispatchEvent(this.jB));this.wv&&this.wv.R();this.Yq&&this.sY();this.EA&&this.EA();b.na.dispatchEvent(this.hB);this.lw++;this.Yq&&this.WU()},KA:null,EA:null,end:function(){this.Hv=!0},sba:function(){return this.$g},rca:function(){return this.wv},za:function(){return N(this.mc)},vs:function(){return N(this.mc.width*this.$g,this.mc.height*this.$g)},pause:function(){this.kc||
- (this.XB=this.Jq,this.UO(0.25),this.kc=!0)},jha:function(){b.assert(this.bd,b.e.JQ);this.qi.pop();var a=this.qi.length;0==a?this.end():(this.Gk=!0,this.gi=this.qi[a-1])},f3:function(){b.tw.kk();b.Mi.kk();b.Ca.kk()},g3:function(){this.Wk().vy();b.na&&b.na.pe(!1);this.bd&&(this.bd.Uf(),this.bd.rb(),this.bd.Je());this.gi=this.bd=null;this.qi.length=0;this.DP();this.f3();b.Qo()},h3:function(a){b.assert(a,b.e.MG);this.Gk=!1;this.qi.push(a);this.gi=a},by:function(a){b.assert(a,b.e.MG);if(this.bd){var c=
- this.qi.length;0===c?(this.Gk=!0,this.qi[c]=a):(this.Gk=!0,this.qi[c-1]=a);this.gi=a}else this.h3(a),this.CP()},xp:function(){this.kc&&(this.UO(this.XB),(this.yk=Date.now())||b.log(b.e.LQ),this.kc=!1,this.mk=0)},zia:function(a){a!=this.$g&&(this.$g=a,this.Kn())},Cia:function(){},fja:function(a){this.tr=a},m4:function(){var a=!1,c=!1;b.ca&&(a=this.bd?this.bd instanceof b.ca:!1,c=this.gi?this.gi instanceof b.ca:!1);if(!c){if(c=this.bd)c.Uf(),c.rb();this.Gk&&c&&c.Je()}this.bd=this.gi;this.gi=null;a||
- null==this.bd||(this.bd.Z(),this.bd.Jh())},hja:function(a){this.wv=a},b0:function(){return this.uC},U3:function(a){this.uC=a},sY:function(){this.Rd++;this.tn+=this.mk;this.wf&&this.xf&&this.Af?(this.tn>b.FQ&&(this.xf.string=this.GC.toFixed(3),this.nB=this.Rd/this.tn,this.tn=this.Rd=0,this.wf.string=this.nB.toFixed(1),this.Af.string=(0|b.of).toString()),this.wf.R(),this.xf.R(),this.Af.R()):this.Kn();b.of=0},kea:function(){return this.Gk},Rca:function(){return this.bd},eba:function(){return this.Jq},
- Yda:function(){return this.Yq},X3:function(a){this.Yq=a},Wca:function(){return this.GC},cea:function(){return this.tr},eea:function(){return this.kc},qda:function(){return this.lw},kha:function(){this.Z2(1)},Z2:function(a){b.assert(this.bd,b.e.KQ);var c=this.qi,d=c.length;if(0==d)this.end();else if(!(a>d)){for(;d>a;){var e=c.pop();e.running&&(e.Uf(),e.rb());e.Je();d--}this.gi=c[c.length-1];this.Gk=!1}},Wk:function(){return this.Jf},rP:function(a){this.Jf!=a&&(this.Jf=a)},Kw:function(){return this.og},
- TO:function(a){this.og!=a&&(this.og=a)},yba:function(){return this.mk},Kn:null,WU:function(){this.GC=(Date.now()-this.yk)/1E3}});b.Ta.WQ="director_projection_changed";b.Ta.TQ="director_after_draw";b.Ta.VQ="director_after_visit";b.Ta.UQ="director_after_update";b.NQ=b.Ta.extend({kx:!1,CP:function(){this.tr=!0;this.kx=!1},B2:function(){this.Hv?(this.Hv=!1,this.g3()):this.kx||this.d_()},DP:function(){this.kx=!0},UO:function(a){this.Jq=a;this.kx||(this.DP(),this.CP())}});b.Ta.jG=null;b.Ta.LM=!0;
- b.Ta.uB=function(){b.Ta.LM&&(b.Ta.LM=!1,b.Ta.jG=new b.NQ,b.Ta.jG.da());return b.Ta.jG};b.RZ=60;b.Ta.pS=0;b.Ta.lH=1;b.Ta.qS=3;b.Ta.rS=b.Ta.lH;
- b.A===b.Aa?(n=b.Ta.prototype,n.Vm=function(a){this.ni=a;b.na.dispatchEvent(this.Xu)},n.YO=function(){},n.YF=function(a){this.mc.width=b.Va.width;this.mc.height=b.Va.height;this.jh=a||b.view;b.na&&b.na.pe(!0)},n.kk=function(){var a=this.jh.me;b.l.clearRect(-a.x,a.y,a.width,-a.height)},n.Kn=function(){var a=0,a=this.mc.width>this.mc.height?0|this.mc.height/320*24:0|this.mc.width/320*24;this.wf=b.P.create("000.0","Arial",a);this.xf=b.P.create("0.000","Arial",a);this.Af=b.P.create("0000","Arial",a);a=
- b.Ny;this.Af.H(this.Af.width/2+a.x,5*this.Af.height/2+a.y);this.xf.H(this.xf.width/2+a.x,3*this.xf.height/2+a.y);this.wf.H(this.wf.width/2+a.x,this.wf.height/2+a.y)},n.us=function(){return this.za()},n.PE=function(){return C(0,0)}):(b.Ta.Wn=new Image,b.Fa(b.Ta.Wn,"load",function(){b.Ta.VJ=!0}),b.Wn&&(b.Ta.Wn.src=b.Wn),b.assert("function"===typeof b.F.Py,b.e.fd,"CCDirectorWebGL.js"),b.F.Py(),delete b.F.Py);b.Mp=b.oa.extend({$q:null,ar:null,br:null,En:null,Fn:null,Gn:null,Ur:null,Vr:null,Wr:null,hb:null,sv:null,ctor:function(){this.sv=new b.ba;this.restore()},description:function(){return"\x3cCCCamera | center \x3d("+this.En+","+this.Fn+","+this.Gn+")\x3e"},ZO:function(a){this.hb=a},fF:function(){return this.hb},restore:function(){this.$q=this.ar=0;this.br=b.Mp.ws();this.Ur=this.En=this.Fn=this.Gn=0;this.Vr=1;this.Wr=0;b.Km(this.sv);this.hb=!1},Gs:function(){if(this.hb){var a=new b.vb,c=new b.vb,d=new b.vb;
- b.kp(a,this.$q,this.ar,this.br);b.kp(c,this.En,this.Fn,this.Gn);b.kp(d,this.Ur,this.Vr,this.Wr);b.UN(this.sv,a,c,d);this.hb=!1}b.ip(this.sv)},Jia:function(a,c,d){this.bP(a,c,d)},bP:function(a,c,d){this.$q=a;this.ar=c;this.br=d;this.hb=!0},sia:function(a,c,d){this.Q3(a,c,d)},Q3:function(a,c,d){this.En=a;this.Fn=c;this.Gn=d;this.hb=!0},gka:function(a,c,d){this.K4(a,c,d)},K4:function(a,c,d){this.Ur=a;this.Vr=c;this.Wr=d;this.hb=!0},Oba:function(){return{x:this.$q,y:this.ar,z:this.br}},WM:function(){return{x:this.$q,
- y:this.ar,z:this.br}},lba:function(){return{x:this.En,y:this.Fn,z:this.Gn}},SM:function(){return{x:this.En,y:this.Fn,z:this.Gn}},vda:function(){return{x:this.Ur,y:this.Vr,z:this.Wr}},a1:function(){return{x:this.Ur,y:this.Vr,z:this.Wr}},Q8:function(){}});b.Mp.ws=function(){return b.Ht};b.Y7=b.Qt+1;b.Ko=function(a,c){if(a&&0<a.length)for(var d=0;d<a.length;d++)if(!(a[d]instanceof c))return b.log(b.e.Ko),!1;return!0};b.Ie=function(a,c){for(var d=0,e=a.length;d<e;d++)if(a[d]==c){a.splice(d,1);break}};b.i$=function(a,c){for(var d=0,e=c.length;d<e;d++)b.Ie(a,c[d])};b.h$=function(a,c,d){a.splice.apply(a,[d,0].concat(c));return a};b.ZG=function(a,c,d){this.next=null;this.target=a;this.d3=c;this.paused=d;this.Dx=!1};b.UG=function(a,c,d){this.list=a;this.Bm=c;this.target=d;this.$w=null};
- b.hR=function(a,c){this.Pi=null;this.target=a;this.Fp=0;this.ls=this.ks=null;this.paused=c;this.$w=null};
- b.RH=b.oa.extend({hj:0,$d:null,je:null,ib:0,jL:!1,sw:!1,Co:0,zC:0,Mu:0,$ba:function(){return this.hj},setInterval:function(a){this.hj=a},kba:function(){return this.$d},ctor:function(a,c,d,e,f){this.je=a;this.$d=c;this.ib=-1;this.hj=d||0;this.Mu=f||0;this.sw=0<this.Mu;this.zC=null==e?b.qq:e;this.jL=this.zC==b.qq},dB:function(){if("string"==typeof this.$d)this.je[this.$d](this.ib);else this.$d.call(this.je,this.ib)},update:function(a){if(-1==this.ib)this.Co=this.ib=0;else{var c=this.je,d=this.$d;this.ib+=
- a;this.jL&&!this.sw?this.ib>=this.hj&&(c&&d&&this.dB(),this.ib=0):(this.sw?this.ib>=this.Mu&&(c&&d&&this.dB(),this.ib-=this.Mu,this.Co+=1,this.sw=!1):this.ib>=this.hj&&(c&&d&&this.dB(),this.ib=0,this.Co+=1),this.Co>this.zC&&b.K.Wk().PP(c,d))}}});
- b.uq=b.oa.extend({Tr:1,km:null,fj:null,yu:null,ej:null,V8:null,vc:null,ai:!1,mw:!1,ctor:function(){this.Tr=1;this.km=[[],[],[]];this.fj={};this.yu=[];this.ej={};this.Kq=[];this.vc=null;this.mw=this.ai=!1},yC:function(a){delete this.ej[a.target.sa];b.Ie(this.Kq,a);a.RH=null;a.target=null},bL:function(a){if(a=this.fj[a.target.sa])b.Ie(a.list,a.Bm),delete this.fj[a.target.sa],b.Ie(this.yu,a),a.Bm=null,a.target=null},RK:function(a,c,d,e){e=new b.ZG(c,d,e);if(a){for(var f=a.length-1,g=0;g<=f&&!(d<a[g].d3);g++);
- a.splice(g,0,e)}else a=[],a.push(e);d=new b.UG(a,e,c);this.yu.push(d);this.fj[c.sa]=d;return a},NU:function(a,c,d){d=new b.ZG(c,0,d);a.push(d);a=new b.UG(a,d,c);this.yu.push(a);this.fj[c.sa]=a},Sja:function(a){this.Tr=a},oda:function(){return this.Tr},update:function(a){var c=this.km,d=this.Kq,e,f,g;this.mw=!0;1!=this.Tr&&(a*=this.Tr);f=0;for(g=c.length;f<g&&0<=f;f++)for(var h=this.km[f],k=0,m=h.length;k<m;k++)e=h[k],e.paused||e.Dx||e.target.update(a);f=0;for(g=d.length;f<g;f++){e=d[f];if(!e)break;
- this.vc=e;this.ai=!1;if(!e.paused)for(e.Fp=0;e.Fp<e.Pi.length;e.Fp++)e.ks=e.Pi[e.Fp],e.ls=!1,e.ks.update(a),e.ks=null;this.ai&&0==e.Pi.length&&(this.yC(e),f--)}f=0;for(g=c.length;f<g;f++)for(h=this.km[f],k=0,m=h.length;k<m;){e=h[k];if(!e)break;e.Dx?this.bL(e):k++}this.mw=!1;this.vc=null},H3:function(a,c,d,e,f,g){b.assert(c,b.e.SS);b.assert(a,b.e.TS);d=d||0;e=null==e?b.qq:e;f=f||0;g=g||!1;var h=this.ej[a.sa];h||(h=new b.hR(a,g),this.Kq.push(h),this.ej[a.sa]=h);if(null==h.Pi)h.Pi=[];else for(var k=
- 0;k<h.Pi.length;k++)if(g=h.Pi[k],c==g.$d){b.log(b.e.RS,g.hj.toFixed(4),d.toFixed(4));g.hj=d;return}g=new b.RH(a,c,d,e,f);h.Pi.push(g)},NF:function(a,c,d){if(null!==a){var e=this.km,f=this.fj[a.sa];f?f.Bm.Dx=!1:0==c?this.NU(e[1],a,d):0>c?e[0]=this.RK(e[0],a,c,d):e[2]=this.RK(e[2],a,c,d)}},PP:function(a,c){if(null!=a&&null!=c){var d=this.ej[a.sa];if(d)for(var e=d.Pi,f=0,g=e.length;f<g;f++){var h=e[f];if(c==h.$d){h!=d.ks||d.ls||(d.ls=!0);e.splice(f,1);d.Fp>=f&&d.Fp--;0==e.length&&(this.vc==d?this.ai=
- !0:this.yC(d));break}}}},jt:function(a){null!=a&&(a=this.fj[a.sa],null!=a&&(this.mw?a.Bm.Dx=!0:this.bL(a.Bm)))},OP:function(a){if(null!=a){var c=this.ej[a.sa];if(c){var d=c.Pi;!c.ls&&0<=d.indexOf(c.ks)&&(c.ls=!0);d.length=0;this.vc==c?this.ai=!0:this.yC(c)}this.jt(a)}},vy:function(){this.I5(b.uq.Qt)},I5:function(a){for(var c=this.Kq,d=this.km,e=0,f=c.length;e<f;e++)this.OP(c[e].target);for(e=2;0<=e;e--)if(!(1==e&&0<a||0==e&&0<=a))for(var c=d[e],f=0,g=c.length;f<g;f++)this.jt(c[f].target)},fha:function(){return this.S2(b.uq.Qt)},
- S2:function(){for(var a=[],c,d=this.Kq,e=this.km,f=0,g=d.length;f<g;f++)if(c=d[f])c.paused=!0,a.push(c.target);f=0;for(g=e.length;f<g;f++)for(var d=e[f],h=0,k=d.length;h<k;h++)if(c=d[h])c.paused=!0,a.push(c.target);return a},B3:function(a){if(a)for(var c=0;c<a.length;c++)this.Li(a[c])},el:function(a){b.assert(a,b.e.PS);var c=this.ej[a.sa];c&&(c.paused=!0);(a=this.fj[a.sa])&&(a.Bm.paused=!0)},Li:function(a){b.assert(a,b.e.QS);var c=this.ej[a.sa];c&&(c.paused=!1);(a=this.fj[a.sa])&&(a.Bm.paused=!1)},
- nea:function(a){b.assert(a,b.e.OS);return(a=this.ej[a.sa])?a.paused:!1}});b.uq.Qt=-2147483648;b.hH=2*Math.PI;
- b.NG=b.oa.extend({PA:[],l:null,ctor:function(a){this.l=a},a_:function(a,c){c||(c=1);var d=b.view.ja,e=C(a.x*d,a.y*b.view.Ka);this.l.beginPath();this.l.arc(e.x,-e.y,c*d,0,2*Math.PI,!1);this.l.closePath();this.l.fill()},b_:function(a,c,d){if(null!=a){d||(d=1);c=this.l;var e=b.view.ja,f=b.view.Ka;c.beginPath();for(var g=0,h=a.length;g<h;g++)c.arc(a[g].x*e,-a[g].y*f,d*e,0,2*Math.PI,!1);c.closePath();c.fill()}},Cj:function(a,c){var d=this.l,e=b.view.ja,f=b.view.Ka;d.beginPath();d.moveTo(a.x*e,-a.y*f);
- d.lineTo(c.x*e,-c.y*f);d.closePath();d.stroke()},sE:function(a,c){this.Cj(C(a.x,a.y),C(c.x,a.y));this.Cj(C(c.x,a.y),C(c.x,c.y));this.Cj(C(c.x,c.y),C(a.x,c.y));this.Cj(C(a.x,c.y),C(a.x,a.y))},GM:function(a,c,d){this.uE([a,C(c.x,a.y),c,C(a.x,c.y)],4,d)},Xd:function(a,c,d,e){e=e||!1;if(null!=a){if(3>a.length)throw Error("Polygon's point must greater than 2");var f=a[0];c=this.l;var g=b.view.ja,h=b.view.Ka;c.beginPath();c.moveTo(f.x*g,-f.y*h);for(var f=1,k=a.length;f<k;f++)c.lineTo(a[f].x*g,-a[f].y*h);
- d&&c.closePath();e?c.fill():c.stroke()}},uE:function(a,c,d){this.zp(d.r,d.g,d.b,d.a);this.Xd(a,c,!0,!0)},oE:function(a,c,d,e,f){f=f||!1;e=this.l;var g=b.view.ja,h=b.view.Ka;e.beginPath();e.arc(0|a.x*g,0|-(a.y*h),c*g,-d,-(d-2*Math.PI),!1);f&&e.lineTo(0|a.x*g,0|-(a.y*h));e.stroke()},rE:function(a,c,d,e){for(var f=this.PA,g=f.length=0,h=0;h<e;h++)f.push(C(Math.pow(1-g,2)*a.x+2*(1-g)*g*c.x+g*g*d.x,Math.pow(1-g,2)*a.y+2*(1-g)*g*c.y+g*g*d.y)),g+=1/e;f.push(C(d.x,d.y));this.Xd(f,e+1,!1,!1)},pE:function(a,
- c,d,e,f){for(var g=this.PA,h=g.length=0,k=0;k<f;k++)g.push(C(Math.pow(1-h,3)*a.x+3*Math.pow(1-h,2)*h*c.x+3*(1-h)*h*h*d.x+h*h*h*e.x,Math.pow(1-h,3)*a.y+3*Math.pow(1-h,2)*h*c.y+3*(1-h)*h*h*d.y+h*h*h*e.y)),h+=1/f;g.push(C(e.x,e.y));this.Xd(g,f+1,!1,!1)},nE:function(a,c){this.ym(a,0.5,c)},ym:function(a,c,d){b.l.strokeStyle="rgba(255,255,255,1)";var e=this.PA;e.length=0;for(var f,g,h=1/a.length,k=0;k<d+1;k++)g=k/d,1==g?(f=a.length-1,g=1):(f=0|g/h,g=(g-h*f)/h),f=b.zQ(b.ed(a,f-1),b.ed(a,f-0),b.ed(a,f+1),
- b.ed(a,f+2),c,g),e.push(f);this.Xd(e,d+1,!1,!1)},drawImage:function(a,c,d,e,f){switch(arguments.length){case 2:this.l.drawImage(a,c.x,-(c.y+a.height));break;case 3:this.l.drawImage(a,c.x,-(c.y+d.height),d.width,d.height);break;case 5:this.l.drawImage(a,c.x,c.y,d.width,d.height,e.x,-(e.y+f.height),f.width,f.height);break;default:throw Error("Argument must be non-nil");}},e_:function(a,c,d){a=a||this.l;c*=b.view.ja;d="rgba("+(0|d.r)+","+(0|d.g)+","+(0|d.b);a.fillStyle=d+",1)";var e=c/10;a.beginPath();
- a.moveTo(-c,c);a.lineTo(0,e);a.lineTo(c,c);a.lineTo(e,0);a.lineTo(c,-c);a.lineTo(0,-e);a.lineTo(-c,-c);a.lineTo(-e,0);a.lineTo(-c,c);a.closePath();a.fill();var f=a.createRadialGradient(0,0,e,0,0,c);f.addColorStop(0,d+", 1)");f.addColorStop(0.3,d+", 0.8)");f.addColorStop(1,d+", 0.0)");a.fillStyle=f;a.beginPath();a.arc(0,0,c-e,0,b.hH,!1);a.closePath();a.fill()},YZ:function(a,c,d){a=a||this.l;c*=b.view.ja;d="rgba("+(0|d.r)+","+(0|d.g)+","+(0|d.b);var e=a.createRadialGradient(0,0,c/10,0,0,c);e.addColorStop(0,
- d+", 1)");e.addColorStop(0.3,d+", 0.8)");e.addColorStop(0.6,d+", 0.4)");e.addColorStop(1,d+", 0.0)");a.fillStyle=e;a.beginPath();a.arc(0,0,c,0,b.hH,!1);a.closePath();a.fill()},fillText:function(a,c,d){this.l.fillText(a,c,-d)},zp:function(a,c,d,e){this.l.fillStyle="rgba("+a+","+c+","+d+","+e/255+")";this.l.strokeStyle="rgba("+a+","+c+","+d+","+e/255+")"},q4:function(){},WF:function(a){this.l.lineWidth=a*b.view.ja}});b.QQ=b.oa.extend({l:null,lr:!1,yc:null,$h:-1,$e:null,jC:-1,iC:-1,ctor:function(a){null==a&&(a=b.l);if(!a instanceof WebGLRenderingContext)throw"Can't initialise DrawingPrimitiveWebGL. context need is WebGLRenderingContext";this.l=a;this.$e=new Float32Array([1,1,1,1])},Jj:function(){this.lr||(this.yc=b.Id.nc(b.Lz),this.$h=this.l.getUniformLocation(this.yc.Im(),"u_color"),this.jC=this.l.getUniformLocation(this.yc.Im(),"u_pointSize"),this.lr=!0)},aaa:function(){this.lr=!1},a_:function(a){this.Jj();var c=
- this.l;this.yc.Nc();this.yc.Se();b.Ic(b.Md);c.uniform4fv(this.$h,this.$e);this.yc.$s(this.jC,this.iC);var d=c.createBuffer();c.bindBuffer(c.ARRAY_BUFFER,d);c.bufferData(c.ARRAY_BUFFER,new Float32Array([a.x,a.y]),c.STATIC_DRAW);c.vertexAttribPointer(b.pb,2,c.FLOAT,!1,0,0);c.drawArrays(c.POINTS,0,1);c.deleteBuffer(d);b.Sf()},b_:function(a){if(a&&0!=a.length){this.Jj();var c=this.l;this.yc.Nc();this.yc.Se();b.Ic(b.Md);c.uniform4fv(this.$h,this.$e);this.yc.$s(this.jC,this.iC);var d=c.createBuffer();c.bindBuffer(c.ARRAY_BUFFER,
- d);c.bufferData(c.ARRAY_BUFFER,this.Fv(a),c.STATIC_DRAW);c.vertexAttribPointer(b.pb,2,c.FLOAT,!1,0,0);c.drawArrays(c.POINTS,0,a.length);c.deleteBuffer(d);b.Sf()}},Fv:function(a){for(var c=new Float32Array(2*a.length),d=0;d<a.length;d++)c[2*d]=a[d].x,c[2*d+1]=a[d].y;return c},Cj:function(a,c){this.Jj();var d=this.l;this.yc.Nc();this.yc.Se();b.Ic(b.Md);d.uniform4fv(this.$h,this.$e);var e=d.createBuffer();d.bindBuffer(d.ARRAY_BUFFER,e);d.bufferData(d.ARRAY_BUFFER,this.Fv([a,c]),d.STATIC_DRAW);d.vertexAttribPointer(b.pb,
- 2,d.FLOAT,!1,0,0);d.drawArrays(d.LINES,0,2);d.deleteBuffer(e);b.Sf()},sE:function(a,c){this.Cj(C(a.x,a.y),C(c.x,a.y));this.Cj(C(c.x,a.y),C(c.x,c.y));this.Cj(C(c.x,c.y),C(a.x,c.y));this.Cj(C(a.x,c.y),C(a.x,a.y))},GM:function(a,c,d){this.uE([a,C(c.x,a.y),c,C(a.x,c.y)],4,d)},Xd:function(a,c,d){this.Jj();c=this.l;this.yc.Nc();this.yc.Se();b.Ic(b.Md);c.uniform4fv(this.$h,this.$e);var e=c.createBuffer();c.bindBuffer(c.ARRAY_BUFFER,e);c.bufferData(c.ARRAY_BUFFER,this.Fv(a),c.STATIC_DRAW);c.vertexAttribPointer(b.pb,
- 2,c.FLOAT,!1,0,0);d?c.drawArrays(c.LINE_LOOP,0,a.length):c.drawArrays(c.LINE_STRIP,0,a.length);c.deleteBuffer(e);b.Sf()},uE:function(a,c,d){this.Jj();d&&this.zp(d.r,d.g,d.b,d.a);c=this.l;this.yc.Nc();this.yc.Se();b.Ic(b.Md);c.uniform4fv(this.$h,this.$e);d=c.createBuffer();c.bindBuffer(c.ARRAY_BUFFER,d);c.bufferData(c.ARRAY_BUFFER,this.Fv(a),c.STATIC_DRAW);c.vertexAttribPointer(b.pb,2,c.FLOAT,!1,0,0);c.drawArrays(c.TRIANGLE_FAN,0,a.length);c.deleteBuffer(d);b.Sf()},oE:function(a,c,d,e,f){this.Jj();
- var g=1;f&&g++;var h=2*Math.PI/e;if(f=new Float32Array(2*(e+2))){for(var k=0;k<=e;k++){var m=k*h,p=c*Math.sin(m+d)+a.y;f[2*k]=c*Math.cos(m+d)+a.x;f[2*k+1]=p}f[2*(e+1)]=a.x;f[2*(e+1)+1]=a.y;a=this.l;this.yc.Nc();this.yc.Se();b.Ic(b.Md);a.uniform4fv(this.$h,this.$e);c=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,c);a.bufferData(a.ARRAY_BUFFER,f,a.STATIC_DRAW);a.vertexAttribPointer(b.pb,2,a.FLOAT,!1,0,0);a.drawArrays(a.LINE_STRIP,0,e+g);a.deleteBuffer(c);b.Sf()}},rE:function(a,c,d,e){this.Jj();for(var f=
- new Float32Array(2*(e+1)),g=0,h=0;h<e;h++)f[2*h]=Math.pow(1-g,2)*a.x+2*(1-g)*g*c.x+g*g*d.x,f[2*h+1]=Math.pow(1-g,2)*a.y+2*(1-g)*g*c.y+g*g*d.y,g+=1/e;f[2*e]=d.x;f[2*e+1]=d.y;a=this.l;this.yc.Nc();this.yc.Se();b.Ic(b.Md);a.uniform4fv(this.$h,this.$e);c=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,c);a.bufferData(a.ARRAY_BUFFER,f,a.STATIC_DRAW);a.vertexAttribPointer(b.pb,2,a.FLOAT,!1,0,0);a.drawArrays(a.LINE_STRIP,0,e+1);a.deleteBuffer(c);b.Sf()},pE:function(a,c,d,e,f){this.Jj();for(var g=new Float32Array(2*
- (f+1)),h=0,k=0;k<f;k++)g[2*k]=Math.pow(1-h,3)*a.x+3*Math.pow(1-h,2)*h*c.x+3*(1-h)*h*h*d.x+h*h*h*e.x,g[2*k+1]=Math.pow(1-h,3)*a.y+3*Math.pow(1-h,2)*h*c.y+3*(1-h)*h*h*d.y+h*h*h*e.y,h+=1/f;g[2*f]=e.x;g[2*f+1]=e.y;a=this.l;this.yc.Nc();this.yc.Se();b.Ic(b.Md);a.uniform4fv(this.$h,this.$e);c=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,c);a.bufferData(a.ARRAY_BUFFER,g,a.STATIC_DRAW);a.vertexAttribPointer(b.pb,2,a.FLOAT,!1,0,0);a.drawArrays(a.LINE_STRIP,0,f+1);a.deleteBuffer(c);b.Sf()},nE:function(a,c){this.ym(a,
- 0.5,c)},ym:function(a,c,d){this.Jj();for(var e=new Float32Array(2*(d+1)),f,g,h=1/a.length,k=0;k<d+1;k++)g=k/d,1==g?(f=a.length-1,g=1):(f=0|g/h,g=(g-h*f)/h),f=b.zQ(b.ed(a,f-1),b.ed(a,f),b.ed(a,f+1),b.ed(a,f+2),c,g),e[2*k]=f.x,e[2*k+1]=f.y;a=this.l;this.yc.Nc();this.yc.Se();b.Ic(b.Md);a.uniform4fv(this.$h,this.$e);c=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,c);a.bufferData(a.ARRAY_BUFFER,e,a.STATIC_DRAW);a.vertexAttribPointer(b.pb,2,a.FLOAT,!1,0,0);a.drawArrays(a.LINE_STRIP,0,d+1);a.deleteBuffer(c);
- b.Sf()},zp:function(a,c,d,e){this.$e[0]=a/255;this.$e[1]=c/255;this.$e[2]=d/255;this.$e[3]=e/255},q4:function(a){this.iC=a*b.nb()},WF:function(a){this.l.lineWidth&&this.l.lineWidth(a)}});b.F.tA=function(){var a=b.P.prototype;a.cb=b.I.prototype.cb;a.jf=function(){this.lb=!0;var a=this.cm,d=this.dm;this.Wv="rgba(128,128,128,"+this.uj+")";this.$u="rgba("+(0|d.r)+","+(0|d.g)+","+(0|d.b)+", 1)";this.aw="rgba("+(0|a.r)+","+(0|a.g)+","+(0|a.b)+", 1)"};a.Mc=b.I.prototype.Mc;a.Sa=b.I.prototype.Sa;a.Bc=b.I.prototype.Bc;a.$E=function(a,d){if(!b.I.prototype.da.call(this))return!1;this.shaderProgram=b.Id.nc(b.P.BU);this.xD(d,!1);this.string=a;return!0};a.ey=function(a){var d=this.dm;if(d.r!=a.r||
- d.g!=a.g||d.b!=a.b)d.r=a.r,d.g=a.g,d.b=a.b,this.jf(),this.lb=!0};a.Y=function(a){if(this.Ib&&""!=this.Ib){a=a||b.l;var d=this.G;d&&d.wc&&(this.Eb.Nc(),this.Eb.Se(),b.Fh(this.p.src,this.p.S),b.oe(d),b.Ic(b.Al),a.bindBuffer(a.ARRAY_BUFFER,this.Iv),this.Be&&(a.bufferData(a.ARRAY_BUFFER,this.Ob.uw,a.STATIC_DRAW),this.Be=!1),a.vertexAttribPointer(b.pb,3,a.FLOAT,!1,24,0),a.vertexAttribPointer(b.wd,2,a.FLOAT,!1,24,16),a.vertexAttribPointer(b.ve,4,a.UNSIGNED_BYTE,!0,24,12),a.drawArrays(a.TRIANGLE_STRIP,0,
- 4));if(1===b.Vj)a=this.Ob,b.ye.Xd([C(a.M.f.x,a.M.f.y),C(a.C.f.x,a.C.f.y),C(a.N.f.x,a.N.f.y),C(a.L.f.x,a.L.f.y)],4,!0);else if(2===b.Vj){a=this.rN();var d=this.offsetX,e=this.offsetY;b.ye.Xd([C(d,e),C(d+a.width,e),C(d+a.width,e+a.height),C(d,e+a.height)],4,!0)}b.of++}};a.sb=b.I.prototype.sb};b.F.xz=function(){var a=b.P.prototype;b.i(a,"color",a.Eg,a.cb);b.i(a,"opacity",a.Fg,a.Sa);b.i(a,"string",a.Xk,a.yb);b.i(a,"textAlign",a.o0,a.f4);b.i(a,"verticalAlign",a.e1,a.N4);b.i(a,"fontSize",a.DE,a.gy);b.i(a,"fontName",a.CE,a.fy);b.i(a,"font",a.WV,a.SX);b.i(a,"boundingWidth",a.sB,a.MX);b.i(a,"boundingHeight",a.TV,a.LX);b.i(a,"fillStyle",a.VV,a.ey);b.i(a,"strokeStyle",a.rW,a.nY);b.i(a,"lineWidth",a.dW,a.WX);b.i(a,"shadowOffsetX",a.mW,a.dY);b.i(a,"shadowOffsetY",a.nW,a.eY);b.i(a,"shadowOpacity",
- a.oW,a.fY);b.i(a,"shadowBlur",a.lW,a.cY)};b.P=b.I.extend({ic:null,xk:b.vq,Sk:b.Cq,Wb:null,Nb:0,Ib:"",bC:null,ko:!1,ah:null,kd:!1,Bd:null,uj:0,Jk:0,Wv:null,Ag:!1,cm:null,wj:0,aw:null,dm:null,$u:null,jD:0,kD:0,lb:!1,nv:null,ov:null,xK:null,ub:"LabelTTF",ctor:function(a,c,d,e,f,g){b.I.prototype.ctor.call(this);this.ic=N(0,0);this.xk=b.bu;this.Sk=b.Cq;this.Na=!1;this.ah="";this.Wb="Arial";this.kd=this.ko=!1;this.Bd=C(0,0);this.Jk=this.uj=0;this.Wv="rgba(128, 128, 128, 0.5)";this.Ag=!1;this.cm=b.color(255,255,255,255);this.wj=0;this.aw="";this.dm=
- b.color(255,255,255,255);this.$u="rgba(255,255,255,1)";this.kD=this.jD=0;this.lb=!1;this.xK=[];this.jf();c&&c instanceof b.RG?this.$E(a,c):b.P.prototype.pd.call(this,a,c,d,e,f,g)},da:function(){return this.pd(" ",this.Wb,this.Nb)},ZW:function(){this.vB().font=this.ah},no:function(a){return this.vB().measureText(a).width},description:function(){return"\x3ccc.LabelTTF | FontName \x3d"+this.Wb+" FontSize \x3d "+this.Nb.toFixed(1)+"\x3e"},cb:null,jf:null,Mc:null,Sa:null,Bc:null,Lka:function(a){b.k.prototype.Bc.call(this,
- a);this.jf()},Xk:function(){return this.Ib},o0:function(){return this.xk},e1:function(){return this.Sk},Cba:function(){return N(this.ic)},DE:function(){return this.Nb},CE:function(){return this.Wb},pd:function(a,c,d,e,f,g){a=a?a+"":"";d=d||16;e=e||N(0,d);f=f||b.bu;g=g||b.Cq;this.Na=!1;this.ic=N(e.width,e.height);this.Wb=c||"Arial";this.xk=f;this.Sk=g;this.Nb=d;this.ah=this.Nb+"px '"+c+"'";this.ci=b.P.Eq(c,this.Nb);this.string=a;this.jf();this.rw();this.lb=!1;return!0},$E:null,Mja:function(a){a&&this.xD(a,
- !0)},ida:function(){return this.wX(!1)},p_:function(a,c,d,e){d=d||0.5;!1===this.kd&&(this.kd=!0);var f=this.Bd;if(f&&f.x!=a||f.He!=c)f.x=a,f.y=c;this.uj!=d&&(this.uj=d);this.jf();this.Jk!=e&&(this.Jk=e);this.lb=!0},mW:function(){return this.Bd.x},dY:function(a){!1===this.kd&&(this.kd=!0);this.Bd.x!=a&&(this.Bd.x=a,this.lb=!0)},nW:function(){return this.Bd.He},eY:function(a){!1===this.kd&&(this.kd=!0);this.Bd.He!=a&&(this.Bd.He=a,this.lb=!0)},l9:function(){return C(this.Bd.x,this.Bd.y)},C9:function(a){!1===
- this.kd&&(this.kd=!0);if(this.Bd.x!=a.x||this.Bd.y!=a.y)this.Bd.x=a.x,this.Bd.y=a.y,this.lb=!0},oW:function(){return this.uj},fY:function(a){!1===this.kd&&(this.kd=!0);this.uj!=a&&(this.uj=a,this.jf(),this.lb=!0)},lW:function(){return this.Jk},cY:function(a){!1===this.kd&&(this.kd=!0);this.Jk!=a&&(this.Jk=a,this.lb=!0)},S$:function(){this.kd&&(this.kd=!1,this.lb=!0)},q_:function(a,c){!1===this.Ag&&(this.Ag=!0);var d=this.cm;if(d.r!==a.r||d.g!==a.g||d.b!==a.b)d.r=a.r,d.g=a.g,d.b=a.b,this.jf();this.wj!==
- c&&(this.wj=c||0);this.lb=!0},rW:function(){return this.cm},nY:function(a){!1===this.Ag&&(this.Ag=!0);var c=this.cm;if(c.r!==a.r||c.g!==a.g||c.b!==a.b)c.r=a.r,c.g=a.g,c.b=a.b,this.jf(),this.lb=!0},dW:function(){return this.wj},WX:function(a){!1===this.Ag&&(this.Ag=!0);this.wj!==a&&(this.wj=a||0,this.lb=!0)},T$:function(){this.Ag&&(this.Ag=!1,this.lb=!0)},ey:null,VV:function(){return this.dm},xD:function(a,c){a.Xaa?(this.ic.width=a.boundingWidth,this.ic.height=a.boundingHeight):(this.ic.width=0,this.ic.height=
- 0);this.xk=a.textAlign;this.Sk=a.verticalAlign;this.Wb=a.fontName;this.Nb=a.fontSize||12;this.ah=this.Nb+"px '"+this.Wb+"'";this.ci=b.P.Eq(this.Wb,this.Nb);a.yP&&this.p_(a.shadowOffsetX,a.shadowOffsetY,a.shadowOpacity,a.shadowBlur);a.mG&&this.q_(a.strokeStyle,a.lineWidth);this.ey(a.fillStyle);c&&this.rw()},wX:function(a){var c=new b.RG;a?(c.fontSize=this.Nb,c.boundingWidth=b.nb()*this.ic.width,c.boundingHeight=b.nb()*this.ic.height):(c.fontSize=this.Nb,c.boundingWidth=this.ic.width,c.boundingHeight=
- this.ic.height);c.fontName=this.Wb;c.textAlign=this.xk;c.verticalAlign=this.Sk;if(this.Ag){c.mG=!0;var d=this.cm;c.strokeStyle=b.color(d.r,d.g,d.b);c.lineWidth=this.wj}else c.mG=!1;this.kd?(c.yP=!0,c.shadowBlur=this.Jk,c.shadowOpacity=this.uj,c.shadowOffsetX=(a?b.nb():1)*this.Bd.x,c.shadowOffsetY=(a?b.nb():1)*this.Bd.y):c.kd=!1;a=this.dm;c.fillStyle=b.color(a.r,a.g,a.b);return c},ci:18,yb:function(a){a=String(a);this.bC!=a&&(this.bC=a+"",this.pw(),this.lb=!0)},pw:function(){this.Ib=this.bC},f4:function(a){a!==
- this.xk&&(this.xk=a,this.lb=!0)},N4:function(a){a!=this.Sk&&(this.Sk=a,this.lb=!0)},Fia:function(a,c){var d;void 0===c?(d=a.width,c=a.height):d=a;if(d!=this.ic.width||c!=this.ic.height)this.ic.width=d,this.ic.height=c,this.pw(),this.lb=!0},sB:function(){return this.ic.width},MX:function(a){a!=this.ic.width&&(this.ic.width=a,this.pw(),this.lb=!0)},TV:function(){return this.ic.height},LX:function(a){a!=this.ic.height&&(this.ic.height=a,this.pw(),this.lb=!0)},gy:function(a){this.Nb!==a&&(this.Nb=a,this.ah=
- a+"px '"+this.Wb+"'",this.ci=b.P.Eq(this.Wb,a),this.lb=!0)},fy:function(a){this.Wb&&this.Wb!=a&&(this.Wb=a,this.ah=this.Nb+"px '"+a+"'",this.ci=b.P.Eq(a,this.Nb),this.lb=!0)},WV:function(){return this.ah},SX:function(a){var c=b.P.IV.exec(a);c&&(this.Nb=parseInt(c[1]),this.Wb=c[2],this.ah=a,this.ci=b.P.Eq(this.Wb,this.Nb),this.lb=!0)},BV:function(a){if(a){var c=this.jD,d=this.kD,e=this.O.height-d,f=this.Sk,g=this.xk,h=this.ci,k=this.wj;a.setTransform(1,0,0,1,0+0.5*c,e+0.5*d);a.font!=this.ah&&(a.font=
- this.ah);a.fillStyle=this.$u;var m=d=0,p=this.Ag;p&&(a.lineWidth=2*k,a.strokeStyle=this.aw);this.kd&&(k=this.Bd,a.shadowColor=this.Wv,a.shadowOffsetX=k.x,a.shadowOffsetY=-k.y,a.shadowBlur=this.Jk);a.textBaseline=b.P.DY[f];a.textAlign=b.P.CY[g];c=this.O.width-c;d=g===b.LH?d+c:g===b.vq?d+c/2:d+0;if(this.ko)for(g=this.si.length,f===b.yI?m=h+e-h*g:f===b.sU&&(m=h/2+(e-h*g)/2),f=0;f<g;f++)c=this.si[f],k=-e+h*f+m,p&&a.strokeText(c,d,k),a.fillText(c,d,k);else f!==b.yI&&(m=f===b.Cq?m-e:m-0.5*e),p&&a.strokeText(this.Ib,
- d,m),a.fillText(this.Ib,d,m)}},vB:function(){if(this.ov)return this.ov;if(!this.nv){var a=b.Sb("canvas"),c=new b.aa;c.Jc(a);this.texture=c;this.nv=a}return this.ov=this.nv.getContext("2d")},bV:function(a,c,d){var e=a[c],f=this.no(e);if(f>d&&1<e.length){for(var g=d/f*e.length|0,h=e.substr(g),k=f-this.no(h),m,p=0,r=0;k>d&&100>r++;)g*=d/k,g|=0,h=e.substr(g),k=f-this.no(h);for(r=0;k<d&&100>r++;)h&&(p=(m=b.P.SY.exec(h))?m[0].length:1,m=h),g+=p,h=e.substr(g),k=f-this.no(h);g-=p;d=e.substr(0,g);b.P.V5&&
- b.P.BY.test(m||h)&&(f=b.P.RW.exec(d),g-=f?f[0].length:0,m=e.substr(g),d=e.substr(0,g));b.P.EV.test(m)&&(f=b.P.QW.exec(d))&&d!==f[0]&&(g-=f[0].length,m=e.substr(g),d=e.substr(0,g));a[c]=m||h;a.splice(c,0,d)}},qw:function(){var a=this.ic.width,c,d,e=this.xK;e.length=0;this.ko=!1;this.ZW();if(0!==a)for(this.si=this.Ib.split("\n"),c=0;c<this.si.length;c++)this.bV(this.si,c,a);else for(this.si=this.Ib.split("\n"),c=0,d=this.si.length;c<d;c++)e.push(this.no(this.si[c]));0<this.si.length&&(this.ko=!0);d=
- c=0;this.Ag&&(c=d=2*this.wj);if(this.kd){var f=this.Bd;c+=2*Math.abs(f.x);d+=2*Math.abs(f.y)}a=0===a?this.ko?N(0|Math.max.apply(Math,e)+c,0|this.ci*this.si.length+d):N(0|this.no(this.Ib)+c,0|this.ci+d):0===this.ic.height?this.ko?N(0|a+c,0|this.ci*this.si.length+d):N(0|a+c,0|this.ci+d):N(0|a+c,0|this.ic.height+d);this.Gd(a);this.jD=c;this.kD=d;e=this.Pc;this.Ab.x=0.5*c+(a.width-c)*e.x;this.Ab.y=0.5*d+(a.height-d)*e.y},Rf:function(){this.lb&&this.qw();return b.I.prototype.Rf.call(this)},bh:function(){this.lb&&
- this.qw();return b.I.prototype.bh.call(this)},vk:function(){this.lb&&this.qw();return b.I.prototype.vk.call(this)},rw:function(){var a=this.vB(),c=this.nv,d=this.O;if(0===this.Ib.length)return c.width=1,c.height=d.height||1,this.G&&this.G.qb(),this.sb(P(0,0,1,d.height)),!0;a.font=this.ah;this.qw();var e=d.width,d=d.height,f=c.width==e&&c.height==d;c.width=e;c.height=d;f&&a.clearRect(0,0,e,d);this.BV(a);this.G&&this.G.qb();this.sb(P(0,0,e,d));return!0},R:function(a){this.Ib&&""!=this.Ib&&(this.lb&&
- (this.lb=!1,this.rw()),b.I.prototype.R.call(this,a||b.l))},Y:null,pL:function(a){var c=this.W?this.textureAtlas.texture:this.G;if(c){var d=c.pixelsWidth,e=c.pixelsHeight,f,g=this.Ob;this.Ec?(b.hn?(c=(2*a.x+1)/(2*d),d=c+(2*a.height-2)/(2*d),f=(2*a.y+1)/(2*e),a=f+(2*a.width-2)/(2*e)):(c=a.x/d,d=(a.x+a.height)/d,f=a.y/e,a=(a.y+a.width)/e),this.Lb&&(e=f,f=a,a=e),this.Mb&&(e=c,c=d,d=e),g.C.m.ea=c,g.C.m.fa=f,g.N.m.ea=c,g.N.m.fa=a,g.M.m.ea=d,g.M.m.fa=f,g.L.m.ea=d,g.L.m.fa=a):(b.hn?(c=(2*a.x+1)/(2*d),d=c+
- (2*a.width-2)/(2*d),f=(2*a.y+1)/(2*e),a=f+(2*a.height-2)/(2*e)):(c=a.x/d,d=(a.x+a.width)/d,f=a.y/e,a=(a.y+a.height)/e),this.Lb&&(e=c,c=d,d=e),this.Mb&&(e=f,f=a,a=e),g.C.m.ea=c,g.C.m.fa=a,g.N.m.ea=d,g.N.m.fa=a,g.M.m.ea=c,g.M.m.fa=f,g.L.m.ea=d,g.L.m.fa=f);this.Be=!0}}});
- b.A===b.Aa?(n=b.P.prototype,n.cb=function(a){b.k.prototype.cb.call(this,a);this.jf()},n.jf=function(){this.lb=!0;var a=this.xa,c=this.fb,d=this.cm,e=this.dm;this.Wv="rgba("+(0|0.5*a.r)+","+(0|0.5*a.g)+","+(0|0.5*a.b)+","+this.uj+")";this.$u="rgba("+(0|a.r/255*e.r)+","+(0|a.g/255*e.g)+","+(0|a.b/255*e.b)+", "+c/255+")";this.aw="rgba("+(0|a.r/255*d.r)+","+(0|a.g/255*d.g)+","+(0|a.b/255*d.b)+", "+c/255+")"},n.Mc=function(a){b.k.prototype.Mc.call(this,a);this.jf()},n.Sa=function(a){this.Sd!==a&&(b.I.prototype.Sa.call(this,
- a),this.jf(),this.lb=!0)},n.Bc=b.I.prototype.Bc,n.$E=function(a,c){this.xD(c,!1);this.string=a;return!0},n.ey=function(a){var c=this.dm;if(c.r!=a.r||c.g!=a.g||c.b!=a.b)c.r=a.r,c.g=a.g,c.b=a.b,this.jf(),this.lb=!0},n.Y=b.I.prototype.Y,n.sb=function(a,c,d){this.Ec=c||!1;this.Gd(d||a);this.iG(a);c=this.em;c.x=a.x;c.y=a.y;c.width=a.width;c.height=a.height;c.an=!(0===c.width||0===c.height||0>c.x||0>c.y);a=this.vh;this.Lb&&(a.x=-a.x);this.Mb&&(a.y=-a.y);this.Hb.x=a.x+(this.O.width-this.ha.width)/2;this.Hb.y=
- a.y+(this.O.height-this.ha.height)/2;this.W&&(this.dirty=!0)},n=null):(b.assert("function"===typeof b.F.tA,b.e.fd,"LabelTTFWebGL.js"),b.F.tA(),delete b.F.tA);b.assert("function"===typeof b.F.xz,b.e.fd,"LabelTTFPropertyDefine.js");b.F.xz();delete b.F.xz;b.P.CY=["left","center","right"];b.P.DY=["top","middle","bottom"];b.P.V5=!0;b.P.SY=/([a-zA-Z0-9\u00c4\u00d6\u00dc\u00e4\u00f6\u00fc\u00df\u00e9\u00e8\u00e7\u00e0\u00f9\u00ea\u00e2\u00ee\u00f4\u00fb]+|\S)/;b.P.BY=/^[!,.:;}\]%\?>\u3001\u2018\u201c\u300b\uff1f\u3002\uff0c\uff01]/;
- b.P.RW=/([a-zA-Z0-9\u00c4\u00d6\u00dc\u00e4\u00f6\u00fc\u00df\u00e9\u00e8\u00e7\u00e0\u00f9\u00ea\u00e2\u00ee\u00f4\u00fb]+|\S)$/;b.P.QW=/[a-zA-Z0-9\u00c4\u00d6\u00dc\u00e4\u00f6\u00fc\u00df\u00e9\u00e8\u00e7\u00e0\u00f9\u00ea\u00e2\u00ee\u00f4\u00fb]+$/;b.P.EV=/^[a-zA-Z0-9\u00c4\u00d6\u00dc\u00e4\u00f6\u00fc\u00df\u00e9\u00e8\u00e7\u00e0\u00f9\u00ea\u00e2\u00ee\u00f4\u00fb]/;b.P.IV=/^(\d+)px\s+['"]?([\w\s\d]+)['"]?$/;b.P.create=function(a,c,d,e,f,g){return new b.P(a,c,d,e,f,g)};b.P.G$=b.P.create;
- b.P.BU=b.rU?b.Yi:b.Jz;b.P.gk=b.Sb("div");b.P.gk.style.fontFamily="Arial";b.P.gk.style.position="absolute";b.P.gk.style.left="-100px";b.P.gk.style.top="-100px";b.P.gk.style.lineHeight="normal";document.body?document.body.appendChild(b.P.gk):b.Fa(window,"load",function(){this.removeEventListener("load",arguments.callee,!1);document.body.appendChild(b.P.gk)},!1);
- b.P.Eq=function(a,c){var d=b.P.EI[a+"."+c];if(0<d)return d;var e=b.P.gk;e.innerHTML="ajghl~!";e.style.fontFamily=a;e.style.fontSize=c+"px";d=e.clientHeight;b.P.EI[a+"."+c]=d;e.innerHTML="";return d};b.P.EI={};b.gR=b.oa.extend({Ac:null,target:null,om:0,nf:null,wm:!1,paused:!1,$w:null,ctor:function(){this.Ac=[];this.target=null;this.om=0;this.nf=null;this.paused=this.wm=!1;this.$w=null}});
- b.wG=b.oa.extend({eh:null,vn:null,vc:null,ai:!1,A9:function(a,c){for(var d=0;d<a.length;d++)if(c==a[d].target)return a[d];return null},ctor:function(){this.eh={};this.vn=[];this.vc=null;this.ai=!1},VY:function(a,c,d){if(!a)throw"cc.ActionManager.addAction(): action must be non-null";if(!c)throw"cc.ActionManager.addAction(): action must be non-null";var e=this.eh[c.sa];e||(e=new b.gR,e.paused=d,e.target=c,this.eh[c.sa]=e,this.vn.push(e));this.EU(e);e.Ac.push(a);a.v(c)},Hha:function(){for(var a=this.vn,
- c=0;c<a.length;c++){var d=a[c];d&&this.DO(d.target,!0)}},DO:function(a,c){if(null!=a){var d=this.eh[a.sa];d&&(-1===d.Ac.indexOf(d.nf)||d.wm||(d.wm=!0),d.Ac.length=0,this.vc!=d||c?this.$A(d):this.ai=!0)}},CO:function(a){if(null!=a){var c=this.eh[a.originalTarget.sa];if(c)for(var d=0;d<c.Ac.length;d++){if(c.Ac[d]==a){c.Ac.splice(d,1);break}}else b.log(b.e.dQ)}},n3:function(a,c){a==b.cn&&b.log(b.e.xG);b.assert(c,b.e.xG);var d=this.eh[c.sa];if(d)for(var e=d.Ac.length,f=0;f<e;++f){var g=d.Ac[f];if(g&&
- g.LE()===a&&g.originalTarget==c){this.zX(f,d);break}}},xE:function(a,c){a==b.cn&&b.log(b.e.bQ);var d=this.eh[c.sa];if(d){if(null!=d.Ac)for(var e=0;e<d.Ac.length;++e){var f=d.Ac[e];if(f&&f.LE()===a)return f}b.log(b.e.cQ,a)}return null},F2:function(a){return(a=this.eh[a.sa])?a.Ac?a.Ac.length:0:0},el:function(a){(a=this.eh[a.sa])&&(a.paused=!0)},Li:function(a){(a=this.eh[a.sa])&&(a.paused=!1)},eha:function(){for(var a=[],c=this.vn,d=0;d<c.length;d++){var e=c[d];e&&!e.paused&&(e.paused=!0,a.push(e.target))}return a},
- B3:function(a){if(a)for(var c=0;c<a.length;c++)a[c]&&this.Li(a[c])},pha:function(){b.K.Wk().jt(this)},zX:function(a,c){c.Ac[a]!=c.nf||c.wm||(c.wm=!0);c.Ac.splice(a,1);c.om>=a&&c.om--;0==c.Ac.length&&(this.vc==c?this.ai=!0:this.$A(c))},$A:function(a){a&&(delete this.eh[a.target.sa],b.Ie(this.vn,a),a.Ac=null,a.target=null)},EU:function(a){null==a.Ac&&(a.Ac=[])},update:function(a){for(var c=this.vn,d,e=0;e<c.length;e++){d=this.vc=c[e];if(!d.paused)for(d.om=0;d.om<d.Ac.length;d.om++)if(d.nf=d.Ac[d.om],
- d.nf){d.wm=!1;d.nf.step(a*(d.nf.Jr?d.nf.ie:1));if(d.wm)d.nf=null;else if(d.nf.Gg()){d.nf.stop();var f=d.nf;d.nf=null;this.CO(f)}d.nf=null}this.ai&&0===d.Ac.length&&this.$A(d)}}});b.Efa=Number;b.uea=Number;b.vea=Number;b.mn=0;b.nn=1;b.mF=3.141592;b.i2=0.017453;b.j2=57.295779;b.wa=0.015625;b.Kc=function(a){return a*a};b.Cs=function(a){return a*b.i2};b.zfa=function(a){return a*b.j2};b.sx=function(a,c){return a<c?a:c};b.rx=function(a,c){return a>c?a:c};b.tea=function(a,c){return a+b.wa>c&&a-b.wa<c};b.Hh=function(){this.y=this.x=0};b.Ifa=function(a,c,d){a.x=c;a.y=d;return a};b.ux=function(a){return Math.sqrt(b.Kc(a.x)+b.Kc(a.y))};b.Jfa=function(a){return b.Kc(a.x)+b.Kc(a.y)};b.p2=function(a,c){var d=1/b.ux(c),e=new b.Hh;e.x=c.x*d;e.y=c.y*d;a.x=e.x;a.y=e.y};b.Ffa=function(a,c,d){a.x=c.x+d.x;a.y=c.y+d.y;return a};b.Hfa=function(a,c){return a.x*c.x+a.y*c.y};b.vx=function(a,c,d){a.x=c.x-d.x;a.y=c.y-d.y;return a};
- b.Lfa=function(a,c,d){var e=new b.Hh;e.x=c.x*d.c[0]+c.y*d.c[3]+d.c[6];e.y=c.x*d.c[1]+c.y*d.c[4]+d.c[7];a.x=e.x;a.y=e.y;return a};b.Mfa=function(){return null};b.Kfa=function(a,c,d){a.x=c.x*d;a.y=c.y*d;return a};b.Gfa=function(a,c){return a.x<c.x+b.wa&&a.x>c.x-b.wa&&a.y<c.y+b.wa&&a.y>c.y-b.wa};b.vb=function(a,c,d){this.x=a||0;this.y=c||0;this.z=d||0};b.kp=function(a,c,d,e){if(!a)return new b.vb(c,d,e);a.x=c;a.y=d;a.z=e;return a};b.bO=function(a){return Math.sqrt(b.Kc(a.x)+b.Kc(a.y)+b.Kc(a.z))};b.cO=function(a){return b.Kc(a.x)+b.Kc(a.y)+b.Kc(a.z)};b.tf=function(a,c){var d=1/b.bO(c);a.x=c.x*d;a.y=c.y*d;a.z=c.z*d};b.al=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.oF=function(a,c){return a.x*c.x+a.y*c.y+a.z*c.z};
- b.aO=function(a,c,d){a.x=c.x+d.x;a.y=c.y+d.y;a.z=c.z+d.z};b.qF=function(a,c,d){a.x=c.x-d.x;a.y=c.y-d.y;a.z=c.z-d.z};b.Rfa=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.Sfa=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.dO=function(a,c,d){var e=new b.eO,f=new b.eO;b.q2(f,c.x,c.y,c.z);b.fO(e,f,d);a.x=e.x/e.D;a.y=e.y/e.D;a.z=e.z/e.D};b.pF=function(a,c,d){a.x=c.x*d;a.y=c.y*d;a.z=c.z*d;return a};b.Nfa=function(a,c){return a.x<c.x+b.wa&&a.x>c.x-b.wa&&a.y<c.y+b.wa&&a.y>c.y-b.wa&&a.z<c.z+b.wa&&a.z>c.z-b.wa?1:0};b.Ofa=function(a,c,d){c=new b.vb(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.Pfa=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.Ds=function(a,c){a!=c&&(a.x=c.x,a.y=c.y,a.z=c.z)};b.Tfa=function(a){a.x=0;a.y=0;a.z=0;return a};b.Qfa=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.eO=function(){this.D=this.z=this.y=this.x=0};b.q2=function(a,c,d,e){a.x=c;a.y=d;a.z=e;a.D=1};b.Ufa=function(a,c,d){a.x=c.x+d.x;a.y=c.y+d.y;a.z=c.z+d.z;a.D=c.D+d.D;return a};b.Xfa=function(a,c){return a.x*c.x+a.y*c.y+a.z*c.z+a.D*c.D};b.r2=function(a){return Math.sqrt(b.Kc(a.x)+b.Kc(a.y)+b.Kc(a.z)+b.Kc(a.D))};b.Yfa=function(a){return b.Kc(a.x)+b.Kc(a.y)+b.Kc(a.z)+b.Kc(a.D)};b.Zfa=function(a){return a};b.s2=function(a,c){var d=1/b.r2(c);a.x*=d;a.y*=d;a.z*=d;a.D*=d};
- b.$fa=function(a,c,d){b.s2(a,c);a.x*=d;a.y*=d;a.z*=d;a.D*=d;return a};b.aga=function(a,c,d){a.x=c.x-d.x;a.y=c.y-d.y;a.z=c.z-d.z;a.D=c.D-d.D;return a};b.fO=function(a,c,d){a.x=c.x*d.c[0]+c.y*d.c[4]+c.z*d.c[8]+c.D*d.c[12];a.y=c.x*d.c[1]+c.y*d.c[5]+c.z*d.c[9]+c.D*d.c[13];a.z=c.x*d.c[2]+c.y*d.c[6]+c.z*d.c[10]+c.D*d.c[14];a.D=c.x*d.c[3]+c.y*d.c[7]+c.z*d.c[11]+c.D*d.c[15]};b.cga=function(a,c,d,e,f,g){for(var h=0;h<g;)b.fO(a+h*c,d+h*e,f),++h;return a};
- b.Vfa=function(a,c){return a.x<c.x+b.wa&&a.x>c.x-b.wa&&a.y<c.y+b.wa&&a.y>c.y-b.wa&&a.z<c.z+b.wa&&a.z>c.z-b.wa&&a.D<c.D+b.wa&&a.D>c.D-b.wa};b.Wfa=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.D=c.D;return a};b.bga=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.D;return c};b.Afa=function(a){this.start=a||new b.Hh;this.start=a||new b.Hh};b.Bfa=function(a,c,d,e,f){a.start.x=c;a.start.y=d;a.dir.x=e;a.dir.y=f};
- b.nF=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.wa&&s<b.wa)return b.mn;m=((p-k)*(g-m)-(r-m)*(f-k))/s;k=f+m*(h-f);m=g+m*(a-g);if(k<b.sx(c.x,d.x)-b.wa||k>b.rx(c.x,d.x)+b.wa||m<b.sx(c.y,d.y)-b.wa||m>b.rx(c.y,d.y)+b.wa||k<b.sx(f,h)-b.wa||k>b.rx(f,h)+b.wa||m<b.sx(g,a)-b.wa||m>b.rx(g,a)+b.wa)return b.mn;e.x=k;e.y=m;return b.nn};
- b.WD=function(a,c,d){var e=new b.Hh;b.vx(e,c,a);d.x=-e.y;d.y=e.x;b.p2(d,d)};b.Dfa=function(a,c,d,e,f,g){var h=new b.Hh,k=new b.Hh,m=new b.Hh,p=1E4,r=b.mn,s;b.nF(a,c,d,h)&&(s=new b.Hh,r=b.nn,s=b.ux(b.vx(s,h,a.start)),s<p&&(k.x=h.x,k.y=h.y,p=s,b.WD(c,d,m)));b.nF(a,d,e,h)&&(s=new b.Hh,r=b.nn,s=b.ux(b.vx(s,h,a.start)),s<p&&(k.x=h.x,k.y=h.y,p=s,b.WD(d,e,m)));b.nF(a,e,c,h)&&(s=new b.Hh,r=b.nn,s=b.ux(b.vx(s,h,a.start)),s<p&&(k.x=h.x,k.y=h.y,b.WD(e,c,m)));r&&(f.x=k.x,f.y=k.y,g&&(g.x=m.x,g.y=m.y));return r};
- b.Cfa=function(){b.log("cc.kmRay2IntersectCircle() has not been implemented.")};var Float32Array=Float32Array||Array;b.qx=function(){this.c=new Float32Array([0,0,0,0,0,0,0,0,0])};b.Dea=function(a,c){for(var d=0;9>d;d++)a.c[d]=c;return a};b.b2=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.TN=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.Eea=function(a,c,d){var e=new b.qx;if(0===c)return null;c=1/c;b.b2(e,d);b.c2(a,e,c);return a};b.qx.CB=new Float32Array([1,0,0,0,1,0,0,0,1]);b.Fea=function(a){for(var c=0;9>c;c++)if(b.qx.CB[c]!==a.c[c])return!1;return!0};b.Qea=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.Cea=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.Gea=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.c2=function(a,c,d){for(var e=0;9>e;e++)a.c[e]=c.c[e]*d};
- b.Iea=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.Bea=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.Aea=function(a,c){if(a==c)return!0;for(var d=0;9>d;++d)if(!(a.c[d]+b.wa>c.c[d]&&a.c[d]-b.wa<c.c[d]))return!1;return!0};b.Lea=function(a,c){a.c[0]=1;a.c[1]=0;a.c[2]=0;a.c[3]=0;a.c[4]=Math.cos(c);a.c[5]=Math.sin(c);a.c[6]=0;a.c[7]=-Math.sin(c);a.c[8]=Math.cos(c);return a};b.Mea=function(a,c){a.c[0]=Math.cos(c);a.c[1]=0;a.c[2]=-Math.sin(c);a.c[3]=0;a.c[4]=1;a.c[5]=0;a.c[6]=Math.sin(c);a.c[7]=0;a.c[8]=Math.cos(c);return a};
- b.Nea=function(a,c){a.c[0]=Math.cos(c);a.c[1]=-Math.sin(c);a.c[2]=0;a.c[3]=Math.sin(c);a.c[4]=Math.cos(c);a.c[5]=0;a.c[6]=0;a.c[7]=0;a.c[8]=1;return a};b.Hea=function(a,c){a.c[0]=Math.cos(c);a.c[1]=Math.sin(c);a.c[2]=0;a.c[3]=-Math.sin(c);a.c[4]=Math.cos(c);a.c[5]=0;a.c[6]=0;a.c[7]=0;a.c[8]=1;return a};b.Oea=function(a,c,d){b.TN(a);a.c[0]=c;a.c[4]=d;return a};b.Pea=function(a,c,d){b.TN(a);a.c[6]=c;a.c[7]=d;return a};
- b.Jea=function(a,c){if(!c||!a)return null;a.c[0]=1-2*(c.y*c.y+c.z*c.z);a.c[1]=2*(c.x*c.y-c.D*c.z);a.c[2]=2*(c.x*c.z+c.D*c.y);a.c[3]=2*(c.x*c.y+c.D*c.z);a.c[4]=1-2*(c.x*c.x+c.z*c.z);a.c[5]=2*(c.y*c.z-c.D*c.x);a.c[6]=2*(c.x*c.z-c.D*c.y);a.c[7]=2*(c.y*c.z+c.D*c.x);a.c[8]=1-2*(c.x*c.x+c.y*c.y);return a};b.Kea=function(a,c,d){b.ZN(void 0,d);b.$N(void 0,a);return a};b.ba=function(){this.c=new Float32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])};b.Tea=function(a,c){a.c[0]=a.c[1]=a.c[2]=a.c[3]=a.c[4]=a.c[5]=a.c[6]=a.c[7]=a.c[8]=a.c[9]=a.c[10]=a.c[11]=a.c[12]=a.c[13]=a.c[14]=a.c[15]=c};b.Km=function(a){a.c[1]=a.c[2]=a.c[3]=a.c[4]=a.c[6]=a.c[7]=a.c[8]=a.c[9]=a.c[11]=a.c[12]=a.c[13]=a.c[14]=0;a.c[0]=a.c[5]=a.c[10]=a.c[15]=1};b.ba.Df=function(a,c,d){return a.c[c+4*d]};b.ba.Hk=function(a,c,d,e){a.c[c+4*d]=e};
- b.ba.Ok=function(a,c,d,e,f){var g=b.ba.Df(a,c,d);b.ba.Hk(a,c,d,b.ba.Df(a,e,f));b.ba.Hk(a,e,f,g)};
- b.ba.KV=function(a,c){var d,e=0,f=0,g,h,k,m=[0,0,0,0],p=[0,0,0,0],r=[0,0,0,0];for(d=0;4>d;d++){for(g=k=0;4>g;g++)if(1!=r[g])for(h=0;4>h;h++)0==r[h]&&Math.abs(b.ba.Df(a,g,h))>=k&&(k=Math.abs(b.ba.Df(a,g,h)),f=g,e=h);++r[e];if(f!=e){for(g=0;4>g;g++)b.ba.Ok(a,f,g,e,g);for(g=0;4>g;g++)b.ba.Ok(c,f,g,e,g)}p[d]=f;m[d]=e;if(0==b.ba.Df(a,e,e))return b.mn;h=1/b.ba.Df(a,e,e);b.ba.Hk(a,e,e,1);for(g=0;4>g;g++)b.ba.Hk(a,e,g,b.ba.Df(a,e,g)*h);for(g=0;4>g;g++)b.ba.Hk(c,e,g,b.ba.Df(c,e,g)*h);for(h=0;4>h;h++)if(h!=
- e){k=b.ba.Df(a,h,e);b.ba.Hk(a,h,e,0);for(g=0;4>g;g++)b.ba.Hk(a,h,g,b.ba.Df(a,h,g)-b.ba.Df(a,e,g)*k);for(g=0;4>g;g++)b.ba.Hk(c,h,g,b.ba.Df(a,h,g)-b.ba.Df(c,e,g)*k)}}for(g=3;0<=g;g--)if(p[g]!=m[g])for(h=0;4>h;h++)b.ba.Ok(a,h,p[g],h,m[g]);return b.nn};b.ba.CB=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);b.e2=function(a,c){var d=new b.ba,e=new b.ba;b.Hj(d,c);b.Km(e);b.ba.KV(d,e)!=b.mn&&b.Hj(a,d)};b.Xea=function(a){for(var c=0;16>c;c++)if(b.ba.CB[c]!=a.c[c])return!1;return!0};
- b.efa=function(a,c){var d,e,f=a.c,g=c.c;for(e=0;4>e;++e)for(d=0;4>d;++d)f[4*e+d]=g[4*d+e];return a};
- b.Ei=function(a,c,d){a=a.c;var e=c.c[0],f=c.c[1],g=c.c[2],h=c.c[3],k=c.c[4],m=c.c[5],p=c.c[6],r=c.c[7],s=c.c[8],u=c.c[9],t=c.c[10],v=c.c[11],w=c.c[12],y=c.c[13],B=c.c[14];c=c.c[15];var G=d.c[0],I=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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.mca=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.Hj=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.Rea=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.wa>c.c[d]&&a.c[d]-b.wa<c.c[d]))return!1;return!0};
- b.bfa=function(a,c){a.c[0]=1;a.c[1]=0;a.c[2]=0;a.c[3]=0;a.c[4]=0;a.c[5]=Math.cos(c);a.c[6]=Math.sin(c);a.c[7]=0;a.c[8]=0;a.c[9]=-Math.sin(c);a.c[10]=Math.cos(c);a.c[11]=0;a.c[12]=0;a.c[13]=0;a.c[14]=0;a.c[15]=1;return a};b.cfa=function(a,c){a.c[0]=Math.cos(c);a.c[1]=0;a.c[2]=-Math.sin(c);a.c[3]=0;a.c[4]=0;a.c[5]=1;a.c[6]=0;a.c[7]=0;a.c[8]=Math.sin(c);a.c[9]=0;a.c[10]=Math.cos(c);a.c[11]=0;a.c[12]=0;a.c[13]=0;a.c[14]=0;a.c[15]=1;return a};
- b.dfa=function(a,c){a.c[0]=Math.cos(c);a.c[1]=Math.sin(c);a.c[2]=0;a.c[3]=0;a.c[4]=-Math.sin(c);a.c[5]=Math.cos(c);a.c[6]=0;a.c[7]=0;a.c[8]=0;a.c[9]=0;a.c[10]=1;a.c[11]=0;a.c[12]=0;a.c[13]=0;a.c[14]=0;a.c[15]=1;return a};
- b.Yea=function(a,c,d,e){var f=Math.cos(c);c=Math.sin(c);var g=Math.cos(d);d=Math.sin(d);var h=Math.cos(e);e=Math.sin(e);var k=c*d,m=f*d;a.c[0]=g*h;a.c[4]=g*e;a.c[8]=-d;a.c[1]=k*h-f*e;a.c[5]=k*e+f*h;a.c[9]=c*g;a.c[2]=m*h+c*e;a.c[6]=m*e-c*h;a.c[10]=f*g;a.c[3]=a.c[7]=a.c[11]=0;a.c[15]=1;return a};
- b.Zea=function(a,c){a.c[0]=1-2*(c.y*c.y+c.z*c.z);a.c[1]=2*(c.x*c.y+c.z*c.D);a.c[2]=2*(c.x*c.z-c.y*c.D);a.c[3]=0;a.c[4]=2*(c.x*c.y-c.z*c.D);a.c[5]=1-2*(c.x*c.x+c.z*c.z);a.c[6]=2*(c.z*c.y+c.x*c.D);a.c[7]=0;a.c[8]=2*(c.x*c.z+c.y*c.D);a.c[9]=2*(c.y*c.z-c.x*c.D);a.c[10]=1-2*(c.x*c.x+c.y*c.y);a.c[11]=0;a.c[12]=0;a.c[13]=0;a.c[14]=0;a.c[15]=1;return a};
- b.afa=function(a,c,d){a.c[0]=c.c[0];a.c[1]=c.c[1];a.c[2]=c.c[2];a.c[3]=0;a.c[4]=c.c[3];a.c[5]=c.c[4];a.c[6]=c.c[5];a.c[7]=0;a.c[8]=c.c[6];a.c[9]=c.c[7];a.c[10]=c.c[8];a.c[11]=0;a.c[12]=d.x;a.c[13]=d.y;a.c[14]=d.z;a.c[15]=1;return a};b.h2=function(a,c,d,e){a.c[0]=c;a.c[5]=d;a.c[10]=e;a.c[15]=1;a.c[1]=a.c[2]=a.c[3]=a.c[4]=a.c[6]=a.c[7]=a.c[8]=a.c[9]=a.c[11]=a.c[12]=a.c[13]=a.c[14]=0};
- b.VN=function(a,c,d,e){a.c[0]=a.c[5]=a.c[10]=a.c[15]=1;a.c[1]=a.c[2]=a.c[3]=a.c[4]=a.c[6]=a.c[7]=a.c[8]=a.c[9]=a.c[11]=0;a.c[12]=c;a.c[13]=d;a.c[14]=e};b.Wea=function(a,c){a.x=c.c[4];a.y=c.c[5];a.z=c.c[6];b.tf(a,a);return a};b.Vea=function(a,c){a.x=c.c[0];a.y=c.c[1];a.z=c.c[2];b.tf(a,a);return a};b.Uea=function(a,c){a.x=c.c[8];a.y=c.c[9];a.z=c.c[10];b.tf(a,a);return a};
- b.f2=function(a,c,d){var e=b.Cs(30),f=d-0.1,g=Math.sin(e);0!=f&&0!=g&&0!=c&&(e=Math.cos(e)/g,b.Km(a),a.c[0]=e/c,a.c[5]=e,a.c[10]=-(d+0.1)/f,a.c[11]=-1,a.c[14]=-0.2*d/f,a.c[15]=0)};b.lF=function(a,c,d,e,f,g,h){b.Km(a);a.c[0]=2/(d-c);a.c[5]=2/(f-e);a.c[10]=-2/(h-g);a.c[12]=-((d+c)/(d-c));a.c[13]=-((f+e)/(f-e));a.c[14]=-((h+g)/(h-g))};
- b.UN=function(a,c,d,e){var f=new b.vb,g=new b.vb,h=new b.vb,k=new b.vb,m=new b.ba;b.qF(f,d,c);b.tf(f,f);b.Ds(g,e);b.tf(g,g);b.al(h,f,g);b.tf(h,h);b.al(k,h,f);b.tf(h,h);b.Km(a);a.c[0]=h.x;a.c[4]=h.y;a.c[8]=h.z;a.c[1]=k.x;a.c[5]=k.y;a.c[9]=k.z;a.c[2]=-f.x;a.c[6]=-f.y;a.c[10]=-f.z;b.VN(m,-c.x,-c.y,-c.z);b.Ei(a,a,m)};
- b.g2=function(a,c,d){var e=Math.cos(d);d=Math.sin(d);var f=new b.vb;b.tf(f,c);a.c[0]=e+f.x*f.x*(1-e);a.c[1]=f.z*d+f.y*f.x*(1-e);a.c[2]=-f.y*d+f.z*f.x*(1-e);a.c[3]=0;a.c[4]=-f.z*d+f.x*f.y*(1-e);a.c[5]=e+f.y*f.y*(1-e);a.c[6]=f.x*d+f.z*f.y*(1-e);a.c[7]=0;a.c[8]=f.y*d+f.x*f.z*(1-e);a.c[9]=-f.x*d+f.y*f.z*(1-e);a.c[10]=e+f.z*f.z*(1-e);a.c[11]=0;a.c[12]=0;a.c[13]=0;a.c[14]=0;a.c[15]=1};
- b.d2=function(a,c){a.c[0]=c.c[0];a.c[1]=c.c[1];a.c[2]=c.c[2];a.c[3]=c.c[4];a.c[4]=c.c[5];a.c[5]=c.c[6];a.c[6]=c.c[8];a.c[7]=c.c[9];a.c[8]=c.c[10]};
- b.Sea=function(a,c,d){switch(d){case b.wR:a.a=c.c[3]-c.c[0];a.b=c.c[7]-c.c[4];a.B=c.c[11]-c.c[8];a.J=c.c[15]-c.c[12];break;case b.uR:a.a=c.c[3]+c.c[0];a.b=c.c[7]+c.c[4];a.B=c.c[11]+c.c[8];a.J=c.c[15]+c.c[12];break;case b.sR:a.a=c.c[3]+c.c[1];a.b=c.c[7]+c.c[5];a.B=c.c[11]+c.c[9];a.J=c.c[15]+c.c[13];break;case b.xR:a.a=c.c[3]-c.c[1];a.b=c.c[7]-c.c[5];a.B=c.c[11]-c.c[9];a.J=c.c[15]-c.c[13];break;case b.tR:a.a=c.c[3]-c.c[2];a.b=c.c[7]-c.c[6];a.B=c.c[11]-c.c[10];a.J=c.c[15]-c.c[14];break;case b.vR:a.a=
- c.c[3]+c.c[2];a.b=c.c[7]+c.c[6];a.B=c.c[11]+c.c[10];a.J=c.c[15]+c.c[14];break;default:b.log("cc.kmMat4ExtractPlane(): Invalid plane index")}c=Math.sqrt(a.a*a.a+a.b*a.b+a.B*a.B);a.a/=c;a.b/=c;a.B/=c;a.J/=c;return a};b.$ea=function(a,c,d){c=new da;var e=new b.qx;b.d2(e,d);b.ZN(c,e);b.$N(c,a);return a};b.uR=0;b.wR=1;b.sR=2;b.xR=3;b.vR=4;b.tR=5;b.ffa=function(a,c,d,e){this.a=a||0;this.b=c||0;this.B=d||0;this.J=e||0};b.nS=0;b.mS=1;b.oS=2;b.hfa=function(a,c){return a.a*c.x+a.b*c.y+a.B*c.z+a.J*c.D};b.ifa=function(a,c){return a.a*c.x+a.b*c.y+a.B*c.z+a.J};b.jfa=function(a,c){return a.a*c.x+a.b*c.y+a.B*c.z};b.kfa=function(a,c,d){a.a=d.x;a.b=d.y;a.B=d.z;a.J=-b.oF(d,c);return a};
- b.lfa=function(a,c,d,e){var f=new b.vb,g=new b.vb,h=new b.vb;b.qF(g,d,c);b.qF(h,e,c);b.al(f,g,h);b.tf(f,f);a.a=f.x;a.b=f.y;a.B=f.z;a.J=b.oF(b.pF(f,f,-1),c);return a};b.mfa=function(){throw"cc.kmPlaneIntersectLine() hasn't been implemented.";};b.nfa=function(a,c){var d=new b.vb;d.x=c.a;d.y=c.b;d.z=c.B;var e=1/b.bO(d);b.tf(d,d);a.a=d.x;a.b=d.y;a.B=d.z;a.J=c.J*e;return a};b.ofa=function(){b.log("cc.kmPlaneScale() has not been implemented.")};
- b.gfa=function(a,c){var d=a.a*c.x+a.b*c.y+a.B*c.z+a.J;return 0.001<d?b.nS:-0.001>d?b.mS:b.oS};function da(){this.D=this.z=this.y=this.x=0}b.l2=function(a,c){a.x=-c.x;a.y=-c.y;a.z=-c.z;a.D=c.D;return a};b.m2=function(a,c){return a.D*c.D+a.x*c.x+a.y*c.y+a.z*c.z};b.qfa=function(a){return a};b.n2=function(a){a.x=0;a.y=0;a.z=0;a.D=1};b.rfa=function(a,c){var d=b.WN(c),e=new da;if(Math.abs(d)>b.wa)return a.x=0,a.y=0,a.z=0,a.D=0,a;b.tx(a,b.l2(e,c),1/d);return a};b.sfa=function(a){return 0==a.x&&0==a.y&&0==a.z&&1==a.D};b.WN=function(a){return Math.sqrt(b.o2(a))};
- b.o2=function(a){return a.x*a.x+a.y*a.y+a.z*a.z+a.D*a.D};b.tfa=function(a){return a};b.ufa=function(a,c,d){a.D=c.D*d.D-c.x*d.x-c.y*d.y-c.z*d.z;a.x=c.D*d.x+c.x*d.D+c.y*d.z-c.z*d.y;a.y=c.D*d.y+c.y*d.D+c.z*d.x-c.x*d.z;a.z=c.D*d.z+c.z*d.D+c.x*d.y-c.y*d.x;return a};b.XN=function(a,c){var d=b.WN(c);if(Math.abs(d)<=b.wa)throw"cc.kmQuaternionNormalize(): pIn is an invalid value";b.tx(a,c,1/d)};b.YN=function(a,c){var d=0.5*b.mF,e=Math.sin(d);a.D=Math.cos(d);a.x=c.x*e;a.y=c.y*e;a.z=c.z*e};
- b.ZN=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.wa?(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.D=g}};b.xfa=function(a,c,d,e){var f,g,h,k,m;f=b.Cs(d)/2;g=b.Cs(c)/2;h=b.Cs(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.D=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.XN(a,a);return a};
- b.yfa=function(a,c,d,e){if(c.x==d.x&&c.y==d.y&&c.z==d.z&&c.D==d.D)return a.x=c.x,a.y=c.y,a.z=c.z,a.D=c.D,a;var f=b.m2(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.tx(k,c,Math.sin((1-e)*g)/f);b.tx(m,d,h);b.k2(a,k,m);return a};b.$N=function(a,c){var d;d=Math.sqrt(b.Kc(a.x)+b.Kc(a.y)+b.Kc(a.z));d>-b.wa&&d<b.wa||d<2*b.mF+b.wa&&d>2*b.mF-b.wa?(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.tf(c,c))};b.tx=function(a,c,d){a.x=c.x*d;a.y=c.y*d;a.z=c.z*d;a.D=c.D*d};
- b.pfa=function(a,c){a.x=c.x;a.y=c.y;a.z=c.z;a.D=c.D;return a};b.k2=function(a,c,d){a.x=c.x+d.x;a.y=c.y+d.y;a.z=c.z+d.z;a.D=c.D+d.D};
- b.wfa=function(a,c,d,e){var f=new b.vb,g=new b.vb;b.Ds(f,c);b.Ds(g,d);b.tf(f,f);b.tf(g,g);d=b.oF(f,g);if(1<=d)return b.n2(a),a;-0.999999>d?Math.abs(b.cO(e))<b.wa?b.YN(a,e):(f=new b.vb,g=new b.vb,g.x=1,g.y=0,g.z=0,b.al(f,g,c),Math.abs(b.cO(f))<b.wa&&(g=new b.vb,g.x=0,g.y=1,g.z=0,b.al(f,g,c)),b.tf(f,f),b.YN(a,f)):(c=Math.sqrt(2*(1+d)),e=1/c,d=new b.vb,b.al(d,f,g),a.x=d.x*e,a.y=d.y*e,a.z=d.z*e,a.D=0.5*c,b.XN(a,a));return a};
- b.vfa=function(a,c,d){var e=new b.vb,f=new b.vb,g=new b.vb;g.x=c.x;g.y=c.y;g.z=c.z;b.al(e,g,d);b.al(f,g,e);b.pF(e,e,2*c.D);b.pF(f,f,2);b.aO(a,d,e);b.aO(a,a,f);return a};b.pea=function(a,c){this.min=a||new b.vb;this.max=c||new b.vb};b.rea=function(a,c){return a.x>=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.nn:b.mn};b.qea=function(a,c){b.Ds(a.min,c.min);b.Ds(a.max,c.max);return a};b.sea=function(){b.log("cc.kmAABBScale hasn't been supported.")};b.wx=function(a,c,d,e){this.top=d;this.stack=e};b.wx.m7=30;b.rF=function(a){a.stack=[];a.top=null};b.xx=function(a,c){a.stack.push(a.top);a.top=new b.ba;b.Hj(a.top,c)};b.dga=function(a){a.top=a.stack.pop()};b.sF=function(a){a.stack=null;a.top=null};b.Vg=5888;b.Wg=5889;b.WG=5890;b.Lj=new b.wx;b.fl=new b.wx;b.gt=new b.wx;b.Pb=null;b.cF=!1;b.u2=function(){if(!b.cF){var a=new b.ba;b.rF(b.Lj);b.rF(b.fl);b.rF(b.gt);b.Pb=b.Lj;b.cF=!0;b.Km(a);b.xx(b.Lj,a);b.xx(b.fl,a);b.xx(b.gt,a)}};b.u2();b.a2=function(){b.sF(b.Lj);b.sF(b.fl);b.sF(b.gt);b.cF=!1;b.Pb=null};b.Gj=function(){b.xx(b.Pb,b.Pb.top)};b.xea=function(a){b.Pb.stack.push(b.Pb.top);b.Hj(a,b.Pb.top);b.Pb.top=a};b.Fj=function(){b.Pb.top=b.Pb.stack.pop()};
- b.sf=function(a){switch(a){case b.Vg:b.Pb=b.Lj;break;case b.Wg:b.Pb=b.fl;break;case b.WG:b.Pb=b.gt;break;default:throw"Invalid matrix mode specified";}};b.$k=function(){b.Km(b.Pb.top)};b.wea=function(a){b.Hj(b.Pb.top,a)};b.ip=function(a){b.Ei(b.Pb.top,b.Pb.top,a)};b.jp=function(a,c){var d=new b.ba;b.VN(d,a,c,0);b.Ei(b.Pb.top,b.Pb.top,d)};b.yea=function(a,c,d,e){c=new b.vb(c,d,e);d=new b.ba;b.g2(d,c,b.Cs(a));b.Ei(b.Pb.top,b.Pb.top,d)};
- b.zea=function(a,c,d){var e=new b.ba;b.h2(e,a,c,d);b.Ei(b.Pb.top,b.Pb.top,e)};b.px=function(a,c){switch(a){case b.Vg:b.Hj(c,b.Lj.top);break;case b.Wg:b.Hj(c,b.fl.top);break;case b.WG:b.Hj(c,b.gt.top);break;default:throw"Invalid matrix mode specified";}};b.JS="precision lowp float;\nvarying vec4 v_fragmentColor;\nvoid main() \n{ \n gl_FragColor \x3d v_fragmentColor; \n}\n";b.KS="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.xS="precision lowp float; \nvarying vec4 v_fragmentColor; \nvoid main() \n{ \n gl_FragColor \x3d v_fragmentColor; \n} ";
- b.AS="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.yS="// #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.zS="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.FS="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.IS="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.GS="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.HS="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.BS="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.CS="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.ES="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.DH="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.DS="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.d8="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.Id={Vz:0,Wz:1,Tz:2,Uz:3,Yz:4,Xz:5,Zz:6,PH:7,A8:8,jd:{},kr:function(){this.y2();return!0},Ae:function(a,c){switch(c){case this.Vz:a.Ci(b.DH,b.ES);a.od(b.nl,b.pb);a.od(b.Jp,b.ve);a.od(b.dn,b.wd);break;case this.Wz:a.Ci(b.DH,b.DS);a.od(b.nl,b.pb);a.od(b.Jp,b.ve);a.od(b.dn,b.wd);break;case this.Tz:a.Ci(b.AS,b.xS);a.od(b.nl,b.pb);a.od(b.Jp,b.ve);break;case this.Uz:a.Ci(b.IS,b.FS);a.od(b.nl,b.pb);a.od(b.dn,b.wd);break;case this.Yz:a.Ci(b.HS,b.GS);a.od(b.nl,b.pb);a.od(b.dn,b.wd);break;case this.Xz:a.Ci(b.CS,
- b.BS);a.od(b.nl,b.pb);a.od(b.Jp,b.ve);a.od(b.dn,b.wd);break;case this.Zz:a.Ci(b.KS,b.JS);a.od("aVertex",b.pb);break;case this.PH:a.Ci(b.zS,b.yS);a.od(b.nl,b.pb);a.od(b.dn,b.wd);a.od(b.Jp,b.ve);break;default:b.log("cocos2d: cc.shaderCache._loadDefaultShader, error shader type");return}a.link();a.N5()},y2:function(){var a=new b.Ph;this.Ae(a,this.Vz);this.jd[b.Yi]=a;this.jd.ShaderPositionTextureColor=a;a=new b.Ph;this.Ae(a,this.Wz);this.jd[b.Zt]=a;this.jd.ShaderPositionTextureColorAlphaTest=a;a=new b.Ph;
- this.Ae(a,this.Tz);this.jd[b.Yt]=a;this.jd.ShaderPositionColor=a;a=new b.Ph;this.Ae(a,this.Uz);this.jd[b.tq]=a;this.jd.ShaderPositionTexture=a;a=new b.Ph;this.Ae(a,this.Yz);this.jd[b.Kz]=a;this.jd.ShaderPositionTextureUColor=a;a=new b.Ph;this.Ae(a,this.Xz);this.jd[b.Jz]=a;this.jd.ShaderPositionTextureA8Color=a;a=new b.Ph;this.Ae(a,this.Zz);this.jd[b.Lz]=a;this.jd.ShaderPositionUColor=a;a=new b.Ph;this.Ae(a,this.PH);this.jd[b.CH]=a;this.jd.ShaderPositionLengthTextureColor=a},Fha:function(){var a=this.nc(b.Yi);
- a.reset();this.Ae(a,this.Vz);a=this.nc(b.Zt);a.reset();this.Ae(a,this.Wz);a=this.nc(b.Yt);a.reset();this.Ae(a,this.Tz);a=this.nc(b.tq);a.reset();this.Ae(a,this.Uz);a=this.nc(b.Kz);a.reset();this.Ae(a,this.Yz);a=this.nc(b.Jz);a.reset();this.Ae(a,this.Xz);a=this.nc(b.Lz);a.reset();this.Ae(a,this.Zz)},nc:function(a){return this.jd[a]},Im:function(a){return this.jd[a]},Q9:function(a,c){this.jd[c]=a}};b.iR=function(){this.location=this.value=void 0;this.$w={}};
- b.Ph=b.oa.extend({ga:null,Db:null,kf:null,tg:null,wb:null,dh:null,NL:!1,Ge:function(a,c){if(null==a)return!1;for(var d=!0,e=null,f=0;f<this.dh.length;f++)this.dh[f].location==a&&(e=this.dh[f]);e?e.value==c?d=!1:e.value=c:(e=new b.iR,e.location=a,e.value=c,this.dh.push(e));return d},c9:function(){return"\x3cCCGLProgram \x3d "+this.toString()+" | Program \x3d "+this.Db.toString()+", VertexShader \x3d "+this.kf.toString()+", FragmentShader \x3d "+this.tg.toString()+"\x3e"},VI:function(a,c,d){if(!d||
- !a)return!1;this.ga.shaderSource(a,"precision highp float; \nuniform mat4 CC_PMatrix; \nuniform mat4 CC_MVMatrix; \nuniform mat4 CC_MVPMatrix; \nuniform vec4 CC_Time; \nuniform vec4 CC_SinTime; \nuniform vec4 CC_CosTime; \nuniform vec4 CC_Random01; \n//CC INCLUDES END \n"+d);this.ga.compileShader(a);d=this.ga.getShaderParameter(a,this.ga.COMPILE_STATUS);d||(b.log("cocos2d: ERROR: Failed to compile shader:\n"+this.ga.getShaderSource(a)),
- c==this.ga.VERTEX_SHADER?b.log("cocos2d: \n"+this.R5()):b.log("cocos2d: \n"+this.O_()));return 1==d},ctor:function(a,c,d){this.wb=[];this.dh=[];this.ga=d||b.l;a&&c&&this.da(a,c)},Q$:function(){this.dh=this.wb=this.tg=this.kf=null;this.ga.deleteProgram(this.Db)},Ci:function(a,c){var d=this.ga;this.Db=d.createProgram();this.tg=this.kf=null;a&&(this.kf=d.createShader(d.VERTEX_SHADER),this.VI(this.kf,d.VERTEX_SHADER,a)||b.log("cocos2d: ERROR: Failed to compile vertex shader"));c&&(this.tg=d.createShader(d.FRAGMENT_SHADER),
- this.VI(this.tg,d.FRAGMENT_SHADER,c)||b.log("cocos2d: ERROR: Failed to compile fragment shader"));this.kf&&d.attachShader(this.Db,this.kf);b.Qo();this.tg&&d.attachShader(this.Db,this.tg);this.dh.length=0;b.Qo();return!0},pd:function(a,c){return this.Ci(a,c)},A1:function(a,c){var d=b.U.Dd(a);if(!d)throw"Please load the resource firset : "+a;var e=b.U.Dd(c);if(!e)throw"Please load the resource firset : "+c;return this.Ci(d,e)},da:function(a,c){return this.A1(a,c)},od:function(a,c){this.ga.bindAttribLocation(this.Db,
- c,a)},link:function(){if(!this.Db)return b.log("cc.GLProgram.link(): Cannot link invalid program"),!1;this.ga.linkProgram(this.Db);this.kf&&this.ga.deleteShader(this.kf);this.tg&&this.ga.deleteShader(this.tg);this.tg=this.kf=null;return b.Kb.ne[b.Kb.hg.ms]&&!this.ga.getProgramParameter(this.Db,this.ga.LINK_STATUS)?(b.log("cocos2d: ERROR: Failed to link program: "+this.ga.getProgramInfoLog(this.Db)),b.g1(this.Db),this.Db=null,!1):!0},Nc:function(){b.RE(this.Db)},N5:function(){this.wb[b.kA]=this.ga.getUniformLocation(this.Db,
- b.lU);this.wb[b.jA]=this.ga.getUniformLocation(this.Db,b.jU);this.wb[b.Bq]=this.ga.getUniformLocation(this.Db,b.kU);this.wb[b.oA]=this.ga.getUniformLocation(this.Db,b.pU);this.wb[b.nA]=this.ga.getUniformLocation(this.Db,b.oU);this.wb[b.iA]=this.ga.getUniformLocation(this.Db,b.iU);this.NL=null!=this.wb[b.oA]||null!=this.wb[b.nA]||null!=this.wb[b.iA];this.wb[b.lA]=this.ga.getUniformLocation(this.Db,b.mU);this.wb[b.mA]=this.ga.getUniformLocation(this.Db,b.nU);this.Nc();this.wP(this.wb[b.mA],0)},sda:function(a){if(!a)throw"cc.GLProgram.getUniformLocationForName(): uniform name should be non-null";
- if(!this.Db)throw"cc.GLProgram.getUniformLocationForName(): Invalid operation. Cannot get uniform location when program is not initialized";return this.ga.getUniformLocation(this.Db,a)},tda:function(){return this.wb[b.Bq]},uda:function(){return this.wb[b.mA]},wP:function(a,c){this.Ge(a,c)&&this.ga.uniform1i(a,c)},Zja:function(a,c,d){this.Ge(a,[c,d])&&this.ga.uniform2i(a,c,d)},bka:function(a,c,d,e){this.Ge(a,[c,d,e])&&this.ga.uniform3i(a,c,d,e)},eka:function(a,c,d,e,f){this.Ge(a,[c,d,e,f])&&this.ga.uniform4i(a,
- c,d,e,f)},$ja:function(a,c){this.Ge(a,c)&&this.ga.uniform2iv(a,c)},cka:function(a,c){this.Ge(a,c)&&this.ga.uniform3iv(a,c)},fka:function(a,c){this.Ge(a,c)&&this.ga.uniform4iv(a,c)},Xja:function(a,c){this.wP(a,c)},$s:function(a,c){this.Ge(a,c)&&this.ga.uniform1f(a,c)},I4:function(a,c,d){this.Ge(a,[c,d])&&this.ga.uniform2f(a,c,d)},J4:function(a,c,d,e){this.Ge(a,[c,d,e])&&this.ga.uniform3f(a,c,d,e)},at:function(a,c,d,e,f){this.Ge(a,[c,d,e,f])&&this.ga.uniform4f(a,c,d,e,f)},Yja:function(a,c){this.Ge(a,
- c)&&this.ga.uniform2fv(a,c)},aka:function(a,c){this.Ge(a,c)&&this.ga.uniform3fv(a,c)},dka:function(a,c){this.Ge(a,c)&&this.ga.uniform4fv(a,c)},hG:function(a,c){this.Ge(a,c)&&this.ga.uniformMatrix4fv(a,!1,c)},Wja:function(){if(!(2>arguments.length))switch(arguments.length){case 2:this.$s(arguments[0],arguments[1]);break;case 3:this.I4(arguments[0],arguments[1],arguments[2]);break;case 4:this.J4(arguments[0],arguments[1],arguments[2],arguments[3]);break;case 5:this.at(arguments[0],arguments[1],arguments[2],
- arguments[3],arguments[4])}},bt:function(){var a=new b.ba,c=new b.ba,d=new b.ba;b.px(b.Wg,a);b.px(b.Vg,c);b.Ei(d,a,c);this.hG(this.wb[b.kA],a.c,1);this.hG(this.wb[b.jA],c.c,1);this.hG(this.wb[b.Bq],d.c,1);this.NL&&(a=b.K,a=a.lw*a.Jq,this.at(this.wb[b.oA],a/10,a,2*a,4*a),this.at(this.wb[b.nA],a/8,a/4,a/2,Math.sin(a)),this.at(this.wb[b.iA],a/8,a/4,a/2,Math.cos(a)));-1!=this.wb[b.lA]&&this.at(this.wb[b.lA],Math.random(),Math.random(),Math.random(),Math.random())},Uja:function(){this.ga.uniformMatrix4fv(this.wb[b.Bq],
- !1,b.y0())},Vja:function(a){b.Ei(a,b.fl.top,b.Lj.top);this.ga.uniformMatrix4fv(this.wb[b.Bq],!1,a.c)},Se:function(){this.ga.uniformMatrix4fv(this.wb[b.jA],!1,b.Lj.top.c);this.ga.uniformMatrix4fv(this.wb[b.kA],!1,b.fl.top.c)},R5:function(){return this.ga.getShaderInfoLog(this.kf)},zda:function(){return this.ga.getShaderInfoLog(this.kf)},Sba:function(){return this.ga.getShaderInfoLog(this.kf)},O_:function(){return this.ga.getShaderInfoLog(this.tg)},mha:function(){return this.ga.getProgramInfoLog(this.Db)},
- Jca:function(){return this.ga.getProgramInfoLog(this.Db)},reset:function(){this.tg=this.kf=null;this.wb.length=0;this.ga.deleteProgram(this.Db);this.Db=null;for(var a=0;a<this.dh.length;a++)this.dh[a].value=null,this.dh[a]=null;this.dh.length=0},Im:function(){return this.Db},Yx:function(){},Ki:function(){}});b.Ph.create=function(a,c){return new b.Ph(a,c)};b.aJ=-1;b.BD=!1;b.AD=!1;b.CD=!1;b.Ug&&(b.IR=16,b.Vq=-1,b.Uq=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],b.zn=-1,b.yn=-1,b.zU=0,b.Qz&&(b.GL=0));b.Hda=function(){b.a2();b.aJ=-1;b.BD=!1;b.AD=!1;b.CD=!1;if(b.Ug){b.Vq=-1;for(var a=0;a<b.IR;a++)b.Uq[a]=-1;b.zn=-1;b.yn=-1;b.zU=0}};b.RE=function(a){a!==b.Vq&&(b.Vq=a,b.l.useProgram(a))};b.Ug||(b.RE=function(a){b.l.useProgram(a)});b.g1=function(a){b.Ug&&a===b.Vq&&(b.Vq=-1);gl.deleteProgram(a)};
- b.Fh=function(a,c){if(a!==b.zn||c!==b.yn)b.zn=a,b.yn=c,b.cy(a,c)};b.cy=function(a,c){var d=b.l;a===d.ONE&&c===d.ZERO?d.disable(d.BLEND):(d.enable(d.BLEND),b.l.blendFunc(a,c))};b.uN=function(a,c){if(a!==b.zn||c!==b.yn){b.zn=a;b.yn=c;var d=b.l;a===d.ONE&&c===d.ZERO?d.disable(d.BLEND):(d.enable(d.BLEND),d.blendFuncSeparate(d.SRC_ALPHA,c,a,c))}};b.Ug||(b.Fh=b.cy);b.Eda=function(){var a=b.l;a.blendEquation(a.FUNC_ADD);b.Ug?b.cy(b.zn,b.yn):b.cy(a.ec,a.dc)};b.lP=function(){b.aJ=-1};
- b.Ic=function(a){var c=b.l,d=a&b.Md;d!==b.BD&&(d?c.enableVertexAttribArray(b.pb):c.disableVertexAttribArray(b.pb),b.BD=d);d=a&b.lu;d!==b.AD&&(d?c.enableVertexAttribArray(b.ve):c.disableVertexAttribArray(b.ve),b.AD=d);a&=b.sn;a!==b.CD&&(a?c.enableVertexAttribArray(b.wd):c.disableVertexAttribArray(b.wd),b.CD=a)};b.oe=function(a){b.QE(0,a)};b.QE=function(a,c){if(b.Uq[a]!=c){b.Uq[a]=c;var d=b.l;d.activeTexture(d.TEXTURE0+a);c?d.bindTexture(d.TEXTURE_2D,c.Vd):d.bindTexture(d.TEXTURE_2D,null)}};
- b.Ug||(b.QE=function(a,c){var d=b.l;d.activeTexture(d.TEXTURE0+a);c?d.bindTexture(d.TEXTURE_2D,c.Vd):d.bindTexture(d.TEXTURE_2D,null)});b.Fda=function(a){b.h1(a)};b.h1=function(a){b.Ug&&a==b.Uq[0]&&(b.Uq[0]=-1);b.l.deleteTexture(a)};b.Dda=function(a){b.Qz&&b.Ug&&b.GL!=a&&(b.GL=a)};b.Gda=function(){};b.h7=0;b.i7=1;b.j7=9;b.Uj=function(a){a-=1;a|=a>>1;a|=a>>2;a|=a>>4;a|=a>>8;return(a|a>>16)+1};
- b.rn=b.k.extend({sprite:null,Aw:0,cE:0,gs:!1,Yd:null,Zd:null,Zu:0,Wq:0,ii:0,G:null,Sr:null,GY:null,ki:b.aa.Xi,aj:null,dE:0,WA:null,ub:"RenderTexture",ctor:null,Sq:function(a,c,d,e){b.k.prototype.ctor.call(this);this.aj=b.color(255,255,255,255);this.WA="rgba(255,255,255,1)";this.Yd=b.Sb("canvas");this.Zd=this.Yd.getContext("2d");this.anchorY=this.anchorX=0;void 0!==a&&void 0!==c&&(d=d||b.aa.Xi,this.ix(a,c,d,e||0))},Tq:function(a,c,d,e){b.k.prototype.ctor.call(this);this.aj=b.color(0,0,0,0);void 0!==
- a&&void 0!==c&&(d=d||b.aa.Xi,this.ix(a,c,d,e||0))},Je:null,cV:function(){b.k.prototype.rb.call(this);this.Yd=this.Zd=null},dV:function(){b.k.prototype.rb.call(this);this.Sr=null;var a=b.l;a.deleteFramebuffer(this.Zu);this.Wq&&a.deleteRenderbuffer(this.Wq);this.GY=null},lN:function(){return this.sprite},my:function(a){this.sprite=a},ix:null,EW:function(a,c){var d=this.Yd,e=b.nb();d.width=0|a*e;d.height=0|c*e;this.Zd.translate(0,d.height);e=new b.aa;e.Jc(d);e.qb();this.sprite=b.I.create(e);return!0},
- FW:function(a,c,d,e){d==b.aa.nq&&b.log("cc.RenderTexture._initWithWidthAndHeightForWebGL() : only RGB and RGBA formats are valid for a render texture;");var f=b.l,g=b.nb();a=0|a*g;c=0|c*g;this.ii=f.getParameter(f.FRAMEBUFFER_BINDING);var h;b.Ro.iw?(g=a,h=c):(g=b.Uj(a),h=b.Uj(c));for(var k=new Uint8Array(g*h*4),m=0;m<g*h*4;m++)k[m]=0;this.ki=d;this.G=new b.aa;if(!this.G)return!1;m=this.G;m.As(k,this.ki,g,h,N(a,c));d=f.getParameter(f.RENDERBUFFER_BINDING);if(b.Ro.Po("GL_QCOM")){this.Sr=new b.aa;if(!this.Sr)return!1;
- this.Sr.As(k,this.ki,g,h,N(a,c))}this.Zu=f.createFramebuffer();f.bindFramebuffer(f.FRAMEBUFFER,this.Zu);f.framebufferTexture2D(f.FRAMEBUFFER,f.COLOR_ATTACHMENT0,f.TEXTURE_2D,m.Vd,0);0!=e&&(this.Wq=f.createRenderbuffer(),f.bindRenderbuffer(f.RENDERBUFFER,this.Wq),f.renderbufferStorage(f.RENDERBUFFER,e,g,h),f.framebufferRenderbuffer(f.FRAMEBUFFER,f.DEPTH_ATTACHMENT,f.RENDERBUFFER,this.Wq));f.checkFramebufferStatus(f.FRAMEBUFFER)!==f.FRAMEBUFFER_COMPLETE&&b.log("Could not attach texture to the framebuffer");
- m.PF();a=this.sprite=b.I.create(m);a.scaleY=-1;a.Me(f.ONE,f.ONE_MINUS_SRC_ALPHA);f.bindRenderbuffer(f.RENDERBUFFER,d);f.bindFramebuffer(f.FRAMEBUFFER,this.ii);this.gs=!1;this.T(a);return!0},yh:null,RU:function(){b.l=this.Zd;b.view.Uv()},SU:function(){b.sf(b.Wg);b.Gj();b.sf(b.Vg);b.Gj();var a=b.K;a.Vm(a.ni);var c=this.G.O,d=b.K.vs(),a=d.width/c.width,d=d.height/c.height,e=b.l;e.viewport(0,0,c.width,c.height);c=new b.ba;b.lF(c,-1/a,1/a,-1/d,1/d,-1,1);b.ip(c);this.ii=e.getParameter(e.FRAMEBUFFER_BINDING);
- e.bindFramebuffer(e.FRAMEBUFFER,this.Zu);b.Ro.Po("GL_QCOM")&&(e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.Sr.Vd,0),e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.G.Vd,0))},xZ:function(a,c,d,e,f,g){var h=b.l;f=f||h.COLOR_BUFFER_BIT;g=g||h.COLOR_BUFFER_BIT|h.DEPTH_BUFFER_BIT;this.LA(a/255,c/255,d/255,e/255,f,g,h.COLOR_BUFFER_BIT|h.DEPTH_BUFFER_BIT|h.STENCIL_BUFFER_BIT)},LA:null,TU:function(a,c,
- d,e){this.yh();a=a||0;c=c||0;d=d||0;e=isNaN(e)?1:e;var f=this.Zd,g=this.Yd;f.save();f.fillStyle="rgba("+(0|a)+","+(0|c)+","+(0|d)+","+e/255+")";f.clearRect(0,0,g.width,-g.height);f.fillRect(0,0,g.width,-g.height);f.restore()},UU:function(a,c,d,e,f,g,h){this.yh();var k=b.l,m=[0,0,0,0],p=0,r=0;h&k.COLOR_BUFFER_BIT&&(m=k.getParameter(k.COLOR_CLEAR_VALUE),k.clearColor(a,c,d,e));h&k.DEPTH_BUFFER_BIT&&(p=k.getParameter(k.DEPTH_CLEAR_VALUE),k.clearDepth(f));h&k.STENCIL_BUFFER_BIT&&(r=k.getParameter(k.STENCIL_CLEAR_VALUE),
- k.clearStencil(g));k.clear(h);h&k.COLOR_BUFFER_BIT&&k.clearColor(m[0],m[1],m[2],m[3]);h&k.DEPTH_BUFFER_BIT&&k.clearDepth(p);h&k.STENCIL_BUFFER_BIT&&k.clearStencil(r)},end:null,CV:function(){b.l=b.XW;b.view.Mv()},DV:function(){var a=b.l,c=b.K;a.bindFramebuffer(a.FRAMEBUFFER,this.ii);c.xP();b.sf(b.Wg);b.Fj();b.sf(b.Vg);b.Fj()},clear:function(a,c,d,e){this.xZ(a,c,d,e);this.end()},clearRect:null,gV:function(a,c,d,e){this.Zd.clearRect(a,c,d,-e)},hV:function(){},clearDepth:null,eV:function(){b.log("clearDepth isn't supported on Cocos2d-Html5")},
- fV:function(a){this.yh();var c=b.l,d=c.getParameter(c.DEPTH_CLEAR_VALUE);c.clearDepth(a);c.clear(c.DEPTH_BUFFER_BIT);c.clearDepth(d);this.end()},clearStencil:null,iV:function(){b.log("clearDepth isn't supported on Cocos2d-Html5")},jV:function(a){var c=b.l,d=c.getParameter(c.STENCIL_CLEAR_VALUE);c.clearStencil(a);c.clear(c.STENCIL_BUFFER_BIT);c.clearStencil(d)},R:null,lm:function(a){this.cc&&(a=a||b.l,a.save(),this.Y(a),this.transform(a),this.sprite.R(),a.restore(),this.arrivalOrder=0)},bs:function(a){if(this.cc){b.Gj();
- var c=this.grid;c&&c.rf()&&(c.is(),this.uy());this.transform(a);this.sprite.R();this.Y(a);c&&c.rf()&&c.fs(this);b.Fj();this.arrivalOrder=0}},Y:null,Hl:function(a){a=a||b.l;if(this.gs){this.yh();if(this.Aw){var c=this.Yd;a.save();a.fillStyle=this.WA;a.clearRect(0,0,c.width,-c.height);a.fillRect(0,0,c.width,-c.height);a.restore()}this.Vc();a=this.t;for(var c=a.length,d=this.sprite,e=0;e<c;e++){var f=a[e];f!=d&&f.R()}this.end()}},cj:function(){var a=b.l;if(this.gs){this.yh();var c=this.Aw;if(c){var d=
- [0,0,0,0],e=0,f=0;c&a.COLOR_BUFFER_BIT&&(d=a.getParameter(a.COLOR_CLEAR_VALUE),a.clearColor(this.aj.r/255,this.aj.g/255,this.aj.b/255,this.aj.a/255));c&a.DEPTH_BUFFER_BIT&&(e=a.getParameter(a.DEPTH_CLEAR_VALUE),a.clearDepth(this.cE));c&a.STENCIL_BUFFER_BIT&&(f=a.getParameter(a.STENCIL_CLEAR_VALUE),a.clearStencil(this.dE));a.clear(c);c&a.COLOR_BUFFER_BIT&&a.clearColor(d[0],d[1],d[2],d[3]);c&a.DEPTH_BUFFER_BIT&&a.clearDepth(e);c&a.STENCIL_BUFFER_BIT&&a.clearStencil(f)}this.Vc();a=this.t;for(c=0;c<a.length;c++)d=
- a[c],d!=this.sprite&&d.R();this.end()}},pga:function(){b.log("saveToFile isn't supported on cocos2d-html5");return null},t9:function(a,c,d,e,f){for(var g=0;g<f;g++)a[c+g]=d[e+g]},cia:function(){b.log("saveToFile isn't supported on Cocos2d-Html5")},gga:function(){b.log("listenToBackground isn't supported on Cocos2d-Html5")},hga:function(){b.log("listenToForeground isn't supported on Cocos2d-Html5")},pba:function(){return this.Aw},uia:function(a){this.Aw=a},Z_:function(){return this.aj},RF:null,NX:function(a){var c=
- this.aj;c.r=a.r;c.g=a.g;c.b=a.b;c.a=a.a;this.WA="rgba("+(0|a.r)+","+(0|a.g)+","+(0|a.b)+","+a.a/255+")"},OX:function(a){var c=this.aj;c.r=a.r;c.g=a.g;c.b=a.b;c.a=a.a},oba:function(){return this.cE},tia:function(a){this.cE=a},qba:function(){return this.dE},via:function(a){this.dE=a},Sda:function(){return this.gs},mia:function(a){this.gs=a}});n=b.rn.prototype;
- b.A==b.V?(n.ctor=n.Tq,n.Je=n.dV,n.ix=n.FW,n.yh=n.SU,n.LA=n.UU,n.end=n.DV,n.clearRect=n.hV,n.clearDepth=n.fV,n.clearStencil=n.jV,n.R=n.bs,n.Y=n.cj,n.RF=n.OX):(n.ctor=n.Sq,n.Je=n.cV,n.ix=n.EW,n.yh=n.RU,n.LA=n.TU,n.end=n.CV,n.clearRect=n.gV,n.clearDepth=n.eV,n.clearStencil=n.iV,n.R=n.lm,n.Y=n.Hl,n.RF=n.NX);b.i(n,"clearColorVal",n.Z_,n.RF);b.rn.create=function(a,c,d,e){return new b.rn(a,c,d,e)};b.Rh=b.Si.extend({Ib:null,RB:null,la:!1,gb:null,ub:"LabelAtlas",ctor:function(a,c,d,e,f){b.Si.prototype.ctor.call(this);c&&b.Rh.prototype.pd.call(this,a,c,d,e,f)},ft:function(){return this.la},Wd:function(a,c){this.gb||(this.gb=[]);this.gb.push({zh:a,Qf:c})},Od:function(){if(this.gb){this.la=!0;for(var a=this.gb,c=0,d=a.length;c<d;c++){var e=a[c];e.zh.call(e.Qf,this)}a.length=0}},pd:function(a,c,d,e,f){var g=a+"",h,k;if(void 0===d){d=b.U.Dd(c);if(1!==parseInt(d.version,10))return b.log("cc.LabelAtlas.initWithString(): Unsupported version. Upgrade cocos2d version"),
- !1;c=b.path.Oo(c,d.textureFilename);e=b.nb();h=parseInt(d.itemWidth,10)/e;k=parseInt(d.itemHeight,10)/e;d=String.fromCharCode(parseInt(d.firstChar,10))}else h=d||0,k=e||0,d=f||" ";var m=null,m=c instanceof b.aa?c:b.Ca.Hc(c);(this.la=c=m.wc)||m.Wd(function(){this.qa(m,h,k,g.length);this.string=g;this.Od()},this);return this.qa(m,h,k,g.length)?(this.RB=d,this.string=g,!0):!1},cb:function(a){b.Si.prototype.cb.call(this,a);this.Hp()},Xk:function(){return this.Ib},Y:function(a){b.Si.prototype.Y.call(this,
- a);b.zR&&(a=this.size,b.ye.Xd([C(0,0),C(a.width,0),C(a.width,a.height),C(0,a.height)],4,!0))},DA:function(a,c,d){a.SW=!0;b.k.prototype.T.call(this,a,c,d)},Hp:null,HY:function(){for(var a=this.Ib||"",c=a.length,d=this.texture,e=this.ei,f=this.hh,g=0;g<c;g++){var h=a.charCodeAt(g)-this.RB.charCodeAt(0),h=P(parseInt(h%this.lo,10)*e,parseInt(h/this.lo,10)*f,e,f),k=a.charCodeAt(g),m=this.Ch(g);m?32==k?(m.da(),m.sb(P(0,0,10,10),!1,N(0,0))):(m.qa(d,h),m.visible=!0,m.opacity=this.fb):(m=new b.I,32==k?(m.da(),
- m.sb(P(0,0,10,10),!1,N(0,0))):m.qa(d,h),b.k.prototype.T.call(this,m,0,g));m.H(g*e+e/2,f/2)}},IY:function(){var a=this.Ib,c=a.length,d=this.textureAtlas,e=d.texture,f=e.pixelsWidth,e=e.pixelsHeight,g=this.ei,h=this.hh;this.hv||(g=this.ei*b.nb(),h=this.hh*b.nb());c>d.xd&&b.log("cc.LabelAtlas._updateAtlasValues(): Invalid String length");for(var k=d.quads,m=this.xa,m={r:m.r,g:m.g,b:m.b,a:this.fb},p=this.ei,r=0;r<c;r++){var s=a.charCodeAt(r)-this.RB.charCodeAt(0),u=s%this.lo,t=0|s/this.lo,v;b.hn?(u=(2*
- u*g+1)/(2*f),s=u+(2*g-2)/(2*f),t=(2*t*h+1)/(2*e),v=t+(2*h-2)/(2*e)):(u=u*g/f,s=u+g/f,t=t*h/e,v=t+h/e);var w=k[r],y=w.M,B=w.L,G=w.C,w=w.N;y.m.ea=u;y.m.fa=t;B.m.ea=s;B.m.fa=t;G.m.ea=u;G.m.fa=v;w.m.ea=s;w.m.fa=v;G.f.x=r*p;G.f.y=0;G.f.z=0;w.f.x=r*p+p;w.f.y=0;w.f.z=0;y.f.x=r*p;y.f.y=this.hh;y.f.z=0;B.f.x=r*p+p;B.f.y=this.hh;B.f.z=0;y.s=m;B.s=m;G.s=m;w.s=m}0<c&&(d.dirty=!0,a=d.totalQuads,c>a&&d.zN(c-a))},yb:null,kY:function(a){a=String(a);var c=a.length;this.Ib=a;this.width=c*this.ei;this.height=this.hh;
- if(this.t){a=this.t;for(var c=a.length,d=0;d<c;d++){var e=a[d];e&&!e.SW&&(e.visible=!1)}}this.Hp();this.quadsToDraw=c},mY:function(a){a=String(a);var c=a.length;c>this.textureAtlas.totalQuads&&this.textureAtlas.IF(c);this.Ib=a;this.width=c*this.ei;this.height=this.hh;this.Hp();this.quadsToDraw=c},Sa:null,QC:function(a){if(this.fb!==a){b.Si.prototype.Sa.call(this,a);for(var c=this.t,d=0,e=c.length;d<e;d++)c[d]&&(c[d].opacity=a)}},RC:function(a){this.Sd!==a&&b.Si.prototype.Sa.call(this,a)}});n=b.Rh.prototype;
- b.A===b.V?(n.Hp=n.IY,n.yb=n.mY,n.Sa=n.RC):(n.Hp=n.HY,n.yb=n.kY,n.Sa=n.QC,n.T=n.DA);b.i(n,"opacity",n.Fg,n.Sa);b.i(n,"string",n.Xk,n.yb);b.Rh.create=function(a,c,d,e,f){return new b.Rh(a,c,d,e,f)};b.q7=-1;
- b.gz=b.te.extend({Na:!1,Ib:"",yf:null,bv:"",fo:"",Hq:b.vq,cs:-1,wK:!1,iv:null,dL:null,fb:255,yg:255,xa:null,Td:null,Zg:!0,Zh:!0,la:!1,gb:null,ub:"LabelBMFont",oL:function(a,c){c?this.fo=a:this.Ib=a;var d=this.t;if(d)for(var e=0;e<d.length;e++){var f=d[e];f&&f.Te(!1)}this.la&&(this.Fw(),c&&this.dg())},ctor:function(a,c,d,e,f){b.te.prototype.ctor.call(this);this.iv=C(0,0);this.xa=b.color(255,255,255,255);this.Td=b.color(255,255,255,255);this.dL=[];this.pd(a,c,d,e,f)},ft:function(){return this.la},Wd:function(a,
- c){this.gb||(this.gb=[]);this.gb.push({zh:a,Qf:c})},Od:function(){if(this.gb){for(var a=this.gb,c=0,d=a.length;c<d;c++){var e=a[c];e.zh.call(e.Qf,this)}a.length=0}},Y:function(a){b.te.prototype.Y.call(this,a);if(b.AR){a=this.Rf();var c=C(0|-this.Ab.x,0|-this.Ab.y);a=[C(c.x,c.y),C(c.x+a.width,c.y),C(c.x+a.width,c.y+a.height),C(c.x,c.y+a.height)];b.ye.zp(0,255,0,255);b.ye.Xd(a,4,!0)}},cb:function(a){var c=this.xa,d=this.Td;if(d.r!=a.r||d.g!=a.g||d.b!=a.b||d.a!=a.a)c.r=d.r=a.r,c.g=d.g=a.g,c.b=d.b=a.b,
- this.la&&this.Zg&&(a=b.color.WHITE,(c=this.Rc)&&c.cascadeColor&&(a=c.Nw()),this.Mc(a))},Tf:function(){return this.Na},Oe:function(a){this.Na=a;if(a=this.t)for(var c=0;c<a.length;c++){var d=a[c];d&&(d.opacityModifyRGB=this.Na)}},Fg:function(){return this.yg},f0:function(){return this.fb},Sa:function(a){this.fb=this.yg=a;if(this.Zh){var c=255,d=this.Rc;d&&d.cascadeOpacity&&(c=d.fb);this.Bc(c)}this.xa.a=this.Td.a=a},Bc:function(a){this.fb=this.yg*a/255;a=this.t;for(var c=0;c<a.length;c++){var d=a[c];
- b.A==b.V?d.Bc(this.fb):(b.k.prototype.Bc.call(d,this.fb),d.Ga())}this.ae()},PN:function(){return!1},XO:function(a){this.Zh=a},Eg:function(){var a=this.Td;return b.color(a.r,a.g,a.b,a.a)},Nw:function(){return this.xa},Mc:function(a){var c=this.xa,d=this.Td;c.r=d.r*a.r/255;c.g=d.g*a.g/255;c.b=d.b*a.b/255;a=this.t;for(c=0;c<a.length;c++)d=a[c],b.A==b.V?d.Mc(this.xa):(b.k.prototype.Mc.call(d,this.xa),d.Ga());this.ae()},ae:function(){if(b.A!=b.V){var a=this.ya();if(a&&0<a.Rf().width){var c=this.xc.Wa;
- if(c){var d=a.Wa,e=P(0,0,c.width,c.height);d instanceof HTMLCanvasElement&&!this.Ec?b.Em(c,this.xa,e,d):(d=b.Em(c,this.xa,e),a=new b.aa,a.Jc(d),a.qb());this.Ya(a)}}}},ON:function(){return!1},WO:function(a){this.Zg=a},da:function(){return this.pd(null,null,null,null,null)},pd:function(a,c,d,e,f){a=a||"";this.yf&&b.log("cc.LabelBMFont.initWithString(): re-init is no longer supported");if(c){var g=b.U.Dd(c);if(!g)return b.log("cc.LabelBMFont.initWithString(): Impossible to create font. Please check file"),
- !1;this.yf=g;this.bv=c;c=b.Ca.Hc(g.ZL);(this.la=g=c.wc)||c.Wd(function(a){this.la=!0;this.qa(a,this.fo.length);this.yb(this.fo,!0);this.Od()},this)}else c=new b.aa,g=new Image,c.Jc(g),this.la=!1;return this.qa(c,a.length)?(this.Hq=e||b.bu,this.iv=f||C(0,0),this.cs=null==d?-1:d,this.fb=this.yg=255,this.xa=b.color(255,255,255,255),this.Td=b.color(255,255,255,255),this.Zg=this.Zh=!0,this.O.width=0,this.O.height=0,this.il(0.5,0.5),b.A===b.V&&(d=this.textureAtlas.texture,this.Na=d.zi(),e=this.dL=new b.I,
- e.qa(d,P(0,0,0,0),!1),e.batchNode=this),this.yb(a,!0),!0):!1},Fw:function(){var a=b.A,c=a===b.Aa?this.texture:this.textureAtlas.texture,d=0,e=N(0,0),f=0,g=1,h=this.Ib,k=h?h.length:0;if(0!==k){var m,p=this.yf,r=p.U1,s=p.fE,u=p.N_;for(m=0;m<k-1;m++)10==h.charCodeAt(m)&&g++;var t=s*g,g=-(s-s*g),v=-1;for(m=0;m<k;m++)if(s=h.charCodeAt(m),0!=s)if(10===s)d=0,g-=p.fE;else{var w=r[v<<16|s&65535]||0,y=u[s];if(y){var B=P(y.rect.x,y.rect.y,y.rect.width,y.rect.height),B=b.hl(B);B.x+=this.iv.x;B.y+=this.iv.y;(v=
- this.Ch(m))?32===s&&a===b.Aa?v.sb(B,!1,N(0,0)):(v.sb(B,!1),v.visible=!0):(v=new b.I,32===s&&a===b.Aa&&(B=P(0,0,0,0)),v.qa(c,B,!1),v.uv=!0,this.T(v,0,m));v.opacityModifyRGB=this.Na;b.A==b.V?(v.Mc(this.xa),v.Bc(this.fb)):(b.k.prototype.Mc.call(v,this.xa),b.k.prototype.Bc.call(v,this.fb),v.Ga());B=C(d+y.YP+0.5*y.rect.width+w,g+(p.fE-y.ZP)-0.5*B.height*b.nb());v.H(b.CF(B));d+=y.Y5+w;v=s;f<d&&(f=d)}else b.log("cocos2d: LabelBMFont: character not found "+h[m])}e.width=f;e.height=t;this.Gd(b.zP(e))}},Nka:function(a){var c=
- this.t;if(c)for(var d=0,e=c.length;d<e;d++){var f=c[d];f&&(f.visible=!1)}this.yf&&this.Fw();a||this.dg()},Xk:function(){return this.fo},yb:function(a,c){a=String(a);null==c&&(c=!0);if(null==a||"string"!=typeof a)a+="";this.fo=a;this.oL(a,c)},lY:function(a){this.yb(a,!1)},qia:function(a){this.yb(a,!0)},dg:function(){this.string=this.fo;if(0<this.cs){for(var a=this.Ib.length,c=[],d=[],e=1,f=0,g=!1,h=!1,k=-1,m=-1,p=0,r,s=0,u=this.t.length;s<u;s++){for(var t=0;!(r=this.Ch(s+p+t));)t++;p+=t;if(f>=a)break;
- var v=this.Ib[f];h||(m=this.wB(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.wB(r),h=!0);k||(k=m,g=!0);f++}else if(b.iF(v))d.push(v),c=c.concat(d),d.length=0,h=!1,m=-1,f++;else if(this.cW(r)-k>this.cs)if(this.wK){b.UP(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.wB(r),h=!0);k||(k=m,g=!0);s--}else d.push(v),-1!=c.lastIndexOf(" ")?b.UP(c):c=[],0<c.length&&c.push("\n"),e++,
- g=!1,k=-1,f++;else d.push(v),f++}c=c.concat(d);s=c.length;r="";for(f=0;f<s;++f)r+=c[f];r+=String.fromCharCode(0);this.oL(r,!1)}if(this.Hq!=b.bu)for(c=f=0,a=this.Ib.length,d=[],e=0;e<a;e++)if(10==this.Ib[e].charCodeAt(0)||0==this.Ib[e].charCodeAt(0))if(s=0,g=d.length,0==g)c++;else{if(r=f+g-1+c,!(0>r)&&(s=this.Ch(r),null!=s)){s=s.Ke()+s.bh()/2;h=0;switch(this.Hq){case b.vq:h=this.width/2-s/2;break;case b.LH:h=this.width-s}if(0!=h)for(s=0;s<g;s++)(r=f+s+c,0>r||!(r=this.Ch(r)))||(r.x+=h);f+=g;c++;d.length=
- 0}}else d.push(this.Ib[f])},K3:function(a){this.Hq=a;this.dg()},NV:function(){return this.Hq},P3:function(a){this.cs=a;this.dg()},sB:function(){return this.cs},aja:function(a){this.wK=a;this.dg()},Wm:function(a,c){b.k.prototype.Wm.call(this,a,c);this.dg()},Ys:function(a){b.k.prototype.Ys.call(this,a);this.dg()},Zs:function(a){b.k.prototype.Zs.call(this,a);this.dg()},Lia:function(a){if(null!=a&&a!=this.bv){var c=b.U.Dd(a);c?(this.bv=a,this.yf=c,a=b.Ca.Hc(c.ZL),this.la=c=a.wc,this.texture=a,b.A===b.Aa&&
- (this.xc=this.texture),c?this.Fw():a.Wd(function(a){this.la=!0;this.texture=a;this.Fw();this.ae();this.dg();this.Od()},this)):b.log("cc.LabelBMFont.setFntFile() : Impossible to create font. Please check file")}},Qba:function(){return this.bv},il:function(a,c){b.k.prototype.il.call(this,a,c);this.dg()},mL:function(a){b.k.prototype.mL.call(this,a);this.dg()},IC:function(a){b.k.prototype.IC.call(this,a);this.dg()},JC:function(a){b.k.prototype.JC.call(this,a);this.dg()},W8:function(){},p9:function(a,
- c){var d=0;if(this.mV.V1){var e=this.mV.V1[(a<<16|c&65535).toString()];e&&(d=e.g$)}return d},wB:function(a){return a.Ke()*this.ja-a.bh()*this.ja*a.Pc.x},cW:function(a){return a.Ke()*this.ja+a.bh()*this.ja*a.Pc.x}});n=b.gz.prototype;b.A!==b.Aa||b.ob.ew||(n.ae=function(){if(b.A!=b.V){var a,c=this.ya();c&&0<c.Rf().width&&(a=c.Wa)&&(c=b.Ca.Uw(this.xc.Wa))&&(a instanceof HTMLCanvasElement&&!this.Ec?b.Dm(a,c,this.xa,null,a):(a=b.Dm(a,c,this.xa),c=new b.aa,c.Jc(a),c.qb(),this.Ya(c)))}});
- b.i(n,"string",n.Xk,n.lY);b.i(n,"boundingWidth",n.sB,n.P3);b.i(n,"textAlign",n.NV,n.K3);b.gz.create=function(a,c,d,e,f){return new b.gz(a,c,d,e,f)};b.iF=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.UP=function(a){var c=a.length;if(!(0>=c)&&(c-=1,b.iF(a[c]))){for(var d=c-1;0<=d;--d)if(b.iF(a[d]))c=d;else break;b.P5(a,c)}};b.P5=function(a,c){var d=a.length;c>=d||0>c||a.splice(c,d)};
- b.GV={kR:/info [^\n]*(\n|$)/gi,yQ:/common [^\n]*(\n|$)/gi,jS:/page [^\n]*(\n|$)/gi,xQ:/char [^\n]*(\n|$)/gi,rR:/kerning [^\n]*(\n|$)/gi,mR:/\w+=[^ \r\n]+/gi,lR:/^[\-]?\d+$/,xr:function(a){a=a.match(this.mR);var c={};if(a)for(var d=0,e=a.length;d<e;d++){var f=a[d],g=f.indexOf("\x3d"),h=f.substring(0,g),f=f.substring(g+1);f.match(this.lR)?f=parseInt(f):'"'==f[0]&&(f=f.substring(1,f.length-1));c[h]=f}return c},O2:function(a,c){var d={};this.xr(a.match(this.kR)[0]);var e=this.xr(a.match(this.yQ)[0]);
- d.fE=e.lineHeight;if(b.A===b.V){var f=b.Ro.sr;(e.scaleW>f.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.xr(a.match(this.jS)[0]);0!==e.id&&b.log("cc.LabelBMFont._parseImageFileName() : file could not be found");d.ZL=b.path.Oo(c,e.file);for(var g=a.match(this.xQ),h=d.N_={},e=0,f=g.length;e<f;e++){var k=this.xr(g[e]);h[k.id]={rect:{x:k.x,y:k.y,width:k.width,
- height:k.height},YP:k.xoffset,ZP:k.yoffset,Y5:k.xadvance}}g=d.U1={};if(h=a.match(this.rR))for(e=0,f=h.length;e<f;e++)k=this.xr(h[e]),g[k.first<<16|k.second&65535]=k.amount;return d},load:function(a,c,d,e){var f=this;b.U.Bx(a,function(a,d){if(a)return e(a);e(null,f.O2(d,c))})}};b.U.Oj(["fnt"],b.GV);b.cH=b.k.extend({texture:null,Wo:!1,Ni:!1,p:null,Pr:0,lB:0,Rl:0,TB:0,zk:0,sC:0,lC:null,kC:null,Oa:null,In:null,Lf:null,cd:null,Jn:null,Ao:null,ub:"MotionStreak",ctor:function(a,c,d,e,f){b.k.prototype.ctor.call(this);this.xg=C(0,0);this.p=new b.fc(b.SRC_ALPHA,b.ONE_MINUS_SRC_ALPHA);this.DD=b.l.createBuffer();this.Ni=this.Wo=!1;this.texture=null;this.sC=this.zk=this.TB=this.Rl=this.lB=this.Pr=0;this.Ao=this.Jn=this.cd=this.Lf=this.In=this.Oa=this.kC=this.lC=null;void 0!==f&&this.t1(a,c,d,e,f)},ya:function(){return this.texture},
- Ya:function(a){this.texture!=a&&(this.texture=a)},Bh:function(){return this.p},Me:function(a,c){void 0===c?this.p=a:(this.p.src=a,this.p.S=c)},Fg:function(){b.log("cc.MotionStreak.getOpacity has not been supported.");return 0},Sa:function(){b.log("cc.MotionStreak.setOpacity has not been supported.")},Oe:function(){},Tf:function(){return!1},rb:function(){b.k.prototype.rb.call(this);this.cd&&b.l.deleteBuffer(this.cd);this.Ao&&b.l.deleteBuffer(this.Ao);this.Jn&&b.l.deleteBuffer(this.Jn)},$da:function(){return this.Wo},
- Kia:function(a){this.Wo=a},lea:function(){return this.Ni},Fja:function(a){this.Ni=a},t1:function(a,c,d,e,f){if(!f)throw"cc.MotionStreak.initWithFade(): Invalid filename or texture";"string"===typeof f&&(f=b.Ca.Hc(f));b.k.prototype.H.call(this,C(0,0));this.anchorY=this.anchorX=0;this.ignoreAnchor=!0;this.Ni=!1;this.Wo=!0;this.Rl=-1==c?d/5:c;this.Rl*=this.Rl;this.Pr=d;this.lB=1/a;a=(0|60*a)+2;this.zk=0;this.kC=new Float32Array(a);this.lC=new Float32Array(2*a);this.Oa=new Float32Array(4*a);this.Lf=new Float32Array(4*
- a);this.In=new Uint8Array(8*a);this.TB=a;a=b.l;this.cd=a.createBuffer();this.Ao=a.createBuffer();this.Jn=a.createBuffer();this.p.src=a.SRC_ALPHA;this.p.S=a.ONE_MINUS_SRC_ALPHA;this.shaderProgram=b.Id.nc(b.Yi);this.texture=f;this.color=e;this.I3();a.bindBuffer(a.ARRAY_BUFFER,this.cd);a.bufferData(a.ARRAY_BUFFER,this.Oa,a.DYNAMIC_DRAW);a.bindBuffer(a.ARRAY_BUFFER,this.Ao);a.bufferData(a.ARRAY_BUFFER,this.Lf,a.DYNAMIC_DRAW);a.bindBuffer(a.ARRAY_BUFFER,this.Jn);a.bufferData(a.ARRAY_BUFFER,this.In,a.DYNAMIC_DRAW);
- return!0},Hka:function(a){this.color=a;for(var c=this.In,d=0,e=2*this.zk;d<e;d++)c[4*d]=a.r,c[4*d+1]=a.g,c[4*d+2]=a.b},reset:function(){this.zk=0},H:function(a,c){this.Ni=!0;void 0===c?(this.xg.x=a.x,this.xg.y=a.y):(this.xg.x=a,this.xg.y=c)},Ke:function(){return this.xg.x},iP:function(a){this.xg.x=a;this.Ni||(this.Ni=!0)},pf:function(){return this.xg.y},jP:function(a){this.xg.y=a;this.Ni||(this.Ni=!0)},Y:function(a){1>=this.zk||!this.texture||!this.texture.wc||(a=a||b.l,b.Hs(this),b.Ic(b.Al),b.Fh(this.p.src,
- this.p.S),b.oe(this.texture),a.bindBuffer(a.ARRAY_BUFFER,this.cd),a.bufferData(a.ARRAY_BUFFER,this.Oa,a.DYNAMIC_DRAW),a.vertexAttribPointer(b.pb,2,a.FLOAT,!1,0,0),a.bindBuffer(a.ARRAY_BUFFER,this.Ao),a.bufferData(a.ARRAY_BUFFER,this.Lf,a.DYNAMIC_DRAW),a.vertexAttribPointer(b.wd,2,a.FLOAT,!1,0,0),a.bindBuffer(a.ARRAY_BUFFER,this.Jn),a.bufferData(a.ARRAY_BUFFER,this.In,a.DYNAMIC_DRAW),a.vertexAttribPointer(b.ve,4,a.UNSIGNED_BYTE,!0,0,0),a.drawArrays(a.TRIANGLE_STRIP,0,2*this.zk),b.of++)},update:function(a){if(this.Ni){a*=
- this.lB;var c,d,e,f,g=0,h=this.zk,k=this.kC,m=this.lC,p=this.Oa,r=this.In;for(e=0;e<h;e++)k[e]-=a,0>=k[e]?g++:(c=e-g,0<g?(k[c]=k[e],m[2*c]=m[2*e],m[2*c+1]=m[2*e+1],f=2*e,d=2*c,p[2*d]=p[2*f],p[2*d+1]=p[2*f+1],p[2*(d+1)]=p[2*(f+1)],p[2*(d+1)+1]=p[2*(f+1)+1],f*=4,d*=4,r[d+0]=r[f+0],r[d+1]=r[f+1],r[d+2]=r[f+2],r[d+4]=r[f+4],r[d+5]=r[f+5],r[d+6]=r[f+6]):d=8*c,c=255*k[c],r[d+3]=c,r[d+7]=c);h-=g;e=!0;h>=this.TB?e=!1:0<h&&(a=1==h?!1:b.oO(C(m[2*(h-2)],m[2*(h-2)+1]),this.xg)<2*this.Rl,b.oO(C(m[2*(h-1)],m[2*
- (h-1)+1]),this.xg)<this.Rl||a)&&(e=!1);e&&(m[2*h]=this.xg.x,m[2*h+1]=this.xg.y,k[h]=1,e=8*h,k=this.xa,r[e]=k.r,r[e+1]=k.g,r[e+2]=k.b,r[e+4]=k.r,r[e+5]=k.g,r[e+6]=k.b,r[e+3]=255,r[e+7]=255,0<h&&this.Wo&&(1<h?b.tG(m,this.Pr,this.Oa,h,1):b.tG(m,this.Pr,this.Oa,0,2)),h++);this.Wo||b.tG(m,this.Pr,this.Oa,0,h);if(h&&this.sC!=h){m=1/h;r=this.Lf;for(e=0;e<h;e++)r[4*e]=0,r[4*e+1]=m*e,r[2*(2*e+1)]=1,r[2*(2*e+1)+1]=m*e;this.sC=h}this.zk=h}}});b.cH.create=function(a,c,d,e,f){return new b.cH(a,c,d,e,f)};b.nz=b.k.extend({grid:null,je:null,rs:function(){return this.grid},e4:function(a){this.grid=a},dG:function(a){this.je=a},T:function(a,c,d){b.k.prototype.T.call(this,a,c,d);a&&!this.je&&(this.je=a)},R:function(){if(this.cc){var a=b.A==b.V,c=this.grid;a&&c&&c.hk&&c.is();this.transform();var d=this.t;if(d&&0<d.length){var e=d.length;this.Vc();for(Q=0;Q<e;Q++){var f=d[Q];f&&f.R()}}a&&c&&c.hk&&c.fs(this.je)}},FY:function(){var a=this.sD,c=b.Pb.top,d=this.op(),e=a.c;e[0]=d.a;e[4]=d.B;e[12]=d.Ha;e[1]=d.b;
- e[5]=d.J;e[13]=d.Ia;e[14]=this.as;b.Ei(c,c,a);null==this.$i||this.grid&&this.grid.rf()||(a=this.Ab.x,c=this.Ab.y,0!==a||0!==c?(b.Mz||(a|=0,c|=0),b.jp(a,c),this.$i.Gs(),b.jp(-a,-c)):this.$i.Gs())}});n=b.nz.prototype;b.A===b.V&&(n.transform=n.FY);b.i(n,"target",null,n.dG);b.nz.create=function(){return new b.nz};b.Qka=function(){return{x:0,y:0}};b.ml=function(a,c){return{x:a,y:c}};b.qe=function(a,c){return b.ml(a.x+c.x,a.y+c.y)};b.oc=function(a,c){return b.ml(a.x-c.x,a.y-c.y)};b.sd=function(a,c){return b.ml(a.x*c,a.y*c)};b.Ip=function(a){return b.ml(-a.y,a.x)};b.eg=function(a){return b.ml(-a.x,-a.y)};b.VP=function(a,c){return a.x*c.x+a.y*c.y};b.Pka=function(a){return b.ml(Math.cos(a),Math.sin(a))};b.lt=function(a){a=b.Hg(C(a.x,a.y));return b.ml(a.x,a.y)};b.we=function(a){return b.ml(a.x,a.y)};
- b.Ea=function(a){return{ea:a.x,fa:a.y}};
- b.OQ=b.k.extend({ab:null,p:null,Zc:1,cf:null,ub:"DrawNodeCanvas",ctor:function(){b.k.prototype.ctor.call(this);this.ab=[];this.cf=b.color(255,255,255,255);this.p=new b.fc(b.ec,b.dc);this.da()},Bh:function(){return this.p},Me:function(a,c){void 0===c?(this.p.src=a.src,this.p.S=a.S):(this.p.src=a,this.p.S=c)},WF:function(a){this.Zc=a},t0:function(){return this.Zc},zp:function(a){var c=this.cf;c.r=a.r;c.g=a.g;c.b=a.b;c.a=null==a.a?255:a.a},Cd:function(){return b.color(this.cf.r,this.cf.g,this.cf.b,this.cf.a)},
- sE:function(a,c,d,e,f){e=e||this.Zc;f=f||this.Cd();null==f.a&&(f.a=255);a=[a,C(c.x,a.y),c,C(a.x,c.y)];c=new b.ck(b.Kd.Yj);c.fg=a;c.lineWidth=e;c.Kj=f;c.lx=!0;c.Zk=!0;c.lineCap="butt";if(c.fillColor=d)null==d.a&&(d.a=255),c.gF=!0;this.ab.push(c)},oE:function(a,c,d,e,f,g,h){g=g||this.Zc;h=h||this.Cd();null==h.a&&(h.a=255);for(var k=2*Math.PI/e,m=[],p=0;p<=e;p++){var r=p*k;m.push(C(c*Math.cos(r+d)+a.x,c*Math.sin(r+d)+a.y))}f&&m.push(C(a.x,a.y));a=new b.ck(b.Kd.Yj);a.fg=m;a.lineWidth=g;a.Kj=h;a.lx=!0;
- a.Zk=!0;this.ab.push(a)},rE:function(a,c,d,e,f,g){f=f||this.Zc;g=g||this.Cd();null==g.a&&(g.a=255);for(var h=[],k=0,m=0;m<e;m++)h.push(C(Math.pow(1-k,2)*a.x+2*(1-k)*k*c.x+k*k*d.x,Math.pow(1-k,2)*a.y+2*(1-k)*k*c.y+k*k*d.y)),k+=1/e;h.push(C(d.x,d.y));a=new b.ck(b.Kd.Yj);a.fg=h;a.lineWidth=f;a.Kj=g;a.Zk=!0;a.lineCap="round";this.ab.push(a)},pE:function(a,c,d,e,f,g,h){g=g||this.Zc;h=h||this.Cd();null==h.a&&(h.a=255);for(var k=[],m=0,p=0;p<f;p++)k.push(C(Math.pow(1-m,3)*a.x+3*Math.pow(1-m,2)*m*c.x+3*(1-
- m)*m*m*d.x+m*m*m*e.x,Math.pow(1-m,3)*a.y+3*Math.pow(1-m,2)*m*c.y+3*(1-m)*m*m*d.y+m*m*m*e.y)),m+=1/f;k.push(C(e.x,e.y));a=new b.ck(b.Kd.Yj);a.fg=k;a.lineWidth=g;a.Kj=h;a.Zk=!0;a.lineCap="round";this.ab.push(a)},nE:function(a,c,d,e){this.ym(a,0.5,c,d,e)},ym:function(a,c,d,e,f){e=e||this.Zc;f=f||this.Cd();null==f.a&&(f.a=255);for(var g=[],h,k,m=1/a.length,p=0;p<d+1;p++)k=p/d,1==k?(h=a.length-1,k=1):(h=0|k/m,k=(k-m*h)/m),h=b.bE(b.ed(a,h-1),b.ed(a,h-0),b.ed(a,h+1),b.ed(a,h+2),c,k),g.push(h);a=new b.ck(b.Kd.Yj);
- a.fg=g;a.lineWidth=e;a.Kj=f;a.Zk=!0;a.lineCap="round";this.ab.push(a)},qE:function(a,c,d){d=d||this.Cd();null==d.a&&(d.a=255);var e=new b.ck(b.Kd.OH);e.fg=[a];e.lineWidth=c;e.fillColor=d;this.ab.push(e)},ZZ:function(a,c,d){if(a&&0!=a.length){d=d||this.Cd();null==d.a&&(d.a=255);for(var e=0,f=a.length;e<f;e++)this.qE(a[e],c,d)}},tE:function(a,c,d,e){d=d||this.Zc;e=e||this.Cd();null==e.a&&(e.a=255);var f=new b.ck(b.Kd.Yj);f.fg=[a,c];f.lineWidth=2*d;f.Kj=e;f.Zk=!0;f.lineCap="round";this.ab.push(f)},c_:function(a,
- c,d,e){d=d||this.Zc;e=e||this.Cd();null==e.a&&(e.a=255);var f=new b.ck(b.Kd.Yj);f.fg=a;f.fillColor=c;f.lineWidth=d;f.Kj=e;f.lx=!0;f.Zk=!0;f.lineCap="round";c&&(f.gF=!0);this.ab.push(f)},Xd:function(a,c,d,e){for(var f=[],g=0;g<a.length;g++)f.push(C(a[g].x,a[g].y));return this.c_(f,c,d,e)},Y:function(a){a=a||b.l;this.p&&this.p.src==b.SRC_ALPHA&&this.p.S==b.ONE&&(a.globalCompositeOperation="lighter");for(var c=0;c<this.ab.length;c++){var d=this.ab[c];switch(d.type){case b.Kd.OH:this.yV(a,d);break;case b.Kd.ET:this.AV(a,
- d);break;case b.Kd.Yj:this.zV(a,d)}}},yV:function(a,c){var d=c.fillColor,e=c.fg[0],f=c.lineWidth,g=b.view.ja,h=b.view.Ka;a.fillStyle="rgba("+(0|d.r)+","+(0|d.g)+","+(0|d.b)+","+d.a/255+")";a.beginPath();a.arc(e.x*g,-e.y*h,f*g,0,2*Math.PI,!1);a.closePath();a.fill()},AV:function(a,c){var d=c.Kj,e=c.fg[0],f=c.fg[1],g=c.lineWidth,h=c.lineCap,k=b.view.ja,m=b.view.Ka;a.strokeStyle="rgba("+(0|d.r)+","+(0|d.g)+","+(0|d.b)+","+d.a/255+")";a.lineWidth=g*k;a.beginPath();a.lineCap=h;a.moveTo(e.x*k,-e.y*m);a.lineTo(f.x*
- k,-f.y*m);a.stroke()},zV:function(a,c){var d=c.fg,e=c.lineCap,f=c.fillColor,g=c.lineWidth,h=c.Kj,k=c.lx,m=c.gF,p=c.Zk;if(null!=d){var r=d[0],s=b.view.ja,u=b.view.Ka;a.lineCap=e;f&&(a.fillStyle="rgba("+(0|f.r)+","+(0|f.g)+","+(0|f.b)+","+f.a/255+")");g&&(a.lineWidth=g*s);h&&(a.strokeStyle="rgba("+(0|h.r)+","+(0|h.g)+","+(0|h.b)+","+h.a/255+")");a.beginPath();a.moveTo(r.x*s,-r.y*u);e=1;for(f=d.length;e<f;e++)a.lineTo(d[e].x*s,-d[e].y*u);k&&a.closePath();m&&a.fill();p&&a.stroke()}},clear:function(){this.ab.length=
- 0}});
- b.PQ=b.k.extend({Cn:0,ab:null,Aj:null,DL:null,CL:null,Zc:1,cf:null,p:null,hb:!1,ub:"DrawNodeWebGL",Bh:function(){return this.p},Me:function(a,c){void 0===c?(this.p.src=a.src,this.p.S=a.S):(this.p.src=a,this.p.S=c)},ctor:function(){b.k.prototype.ctor.call(this);this.ab=[];this.p=new b.fc(b.ec,b.dc);this.cf=b.color(255,255,255,255);this.da()},da:function(){return b.k.prototype.da.call(this)?(this.shaderProgram=b.Id.nc(b.CH),this.Zq(64),this.DL=b.l.createBuffer(),this.hb=!0):!1},WF:function(a){this.Zc=a},
- t0:function(){return this.Zc},zp:function(a){var c=this.cf;c.r=a.r;c.g=a.g;c.b=a.b;c.a=a.a},Cd:function(){return b.color(this.cf.r,this.cf.g,this.cf.b,this.cf.a)},sE:function(a,c,d,e,f){e=e||this.Zc;f=f||this.Cd();null==f.a&&(f.a=255);a=[a,C(c.x,a.y),c,C(a.x,c.y)];null==d?this.Qu(a,e,f,!0):this.Xd(a,d,e,f)},oE:function(a,c,d,e,f,g,h){g=g||this.Zc;h=h||this.Cd();null==h.a&&(h.a=255);var k=2*Math.PI/e,m=[],p;for(p=0;p<=e;p++){var r=p*k;m.push(C(c*Math.cos(r+d)+a.x,c*Math.sin(r+d)+a.y))}f&&m.push(C(a.x,
- a.y));g*=0.5;p=0;for(a=m.length;p<a-1;p++)this.tE(m[p],m[p+1],g,h)},rE:function(a,c,d,e,f,g){f=f||this.Zc;g=g||this.Cd();null==g.a&&(g.a=255);for(var h=[],k=0,m=0;m<e;m++)h.push(C(Math.pow(1-k,2)*a.x+2*(1-k)*k*c.x+k*k*d.x,Math.pow(1-k,2)*a.y+2*(1-k)*k*c.y+k*k*d.y)),k+=1/e;h.push(C(d.x,d.y));this.Qu(h,f,g,!1)},pE:function(a,c,d,e,f,g,h){g=g||this.Zc;h=h||this.Cd();null==h.a&&(h.a=255);for(var k=[],m=0,p=0;p<f;p++)k.push(C(Math.pow(1-m,3)*a.x+3*Math.pow(1-m,2)*m*c.x+3*(1-m)*m*m*d.x+m*m*m*e.x,Math.pow(1-
- m,3)*a.y+3*Math.pow(1-m,2)*m*c.y+3*(1-m)*m*m*d.y+m*m*m*e.y)),m+=1/f;k.push(C(e.x,e.y));this.Qu(k,g,h,!1)},nE:function(a,c,d,e){this.ym(a,0.5,c,d,e)},ym:function(a,c,d,e,f){e=e||this.Zc;f=f||this.Cd();null==f.a&&(f.a=255);for(var g=[],h,k,m=1/a.length,p=0;p<d+1;p++)k=p/d,1==k?(h=a.length-1,k=1):(h=0|k/m,k=(k-m*h)/m),h=b.bE(b.ed(a,h-1),b.ed(a,h-0),b.ed(a,h+1),b.ed(a,h+2),c,k),g.push(h);e*=0.5;a=0;for(c=g.length;a<c-1;a++)this.tE(g[a],g[a+1],e,f)},FX:function(){var a=b.l;b.Ic(b.Al);a.bindBuffer(a.ARRAY_BUFFER,
- this.DL);this.hb&&(a.bufferData(a.ARRAY_BUFFER,this.Aj,a.STREAM_DRAW),this.hb=!1);var c=b.vd.BYTES_PER_ELEMENT;a.vertexAttribPointer(b.pb,2,a.FLOAT,!1,c,0);a.vertexAttribPointer(b.ve,4,a.UNSIGNED_BYTE,!0,c,8);a.vertexAttribPointer(b.wd,2,a.FLOAT,!1,c,12);a.drawArrays(a.TRIANGLES,0,3*this.ab.length);b.Sf()},Zq:function(a){var c=this.ab;if(c.length+a>this.Cn){var d=b.Ub.BYTES_PER_ELEMENT;this.Cn+=Math.max(this.Cn,a);if(null==c||0===c.length)this.ab=[],this.Aj=new ArrayBuffer(d*this.Cn),this.CL=new Uint8Array(this.Aj);
- else{a=[];for(var e=new ArrayBuffer(d*this.Cn),f=0;f<c.length;f++)a[f]=new b.Ub(c[f].a,c[f].b,c[f].B,e,f*d);this.CL=new Uint8Array(e);this.Aj=e;this.ab=a}}},Y:function(){b.Fh(this.p.src,this.p.S);this.Eb.Nc();this.Eb.bt();this.FX()},qE:function(a,c,d){d=d||this.Cd();null==d.a&&(d.a=255);var e={r:0|d.r,g:0|d.g,b:0|d.b,a:0|d.a};d={f:{x:a.x-c,y:a.y-c},s:e,m:{ea:-1,fa:-1}};var f={f:{x:a.x-c,y:a.y+c},s:e,m:{ea:-1,fa:1}},g={f:{x:a.x+c,y:a.y+c},s:e,m:{ea:1,fa:1}};a={f:{x:a.x+c,y:a.y-c},s:e,m:{ea:1,fa:-1}};
- this.Zq(6);this.ab.push(new b.Ub(d,f,g,this.Aj,this.ab.length*b.Ub.BYTES_PER_ELEMENT));this.ab.push(new b.Ub(d,g,a,this.Aj,this.ab.length*b.Ub.BYTES_PER_ELEMENT));this.hb=!0},ZZ:function(a,c,d){if(a&&0!=a.length){d=d||this.Cd();null==d.a&&(d.a=255);for(var e=0,f=a.length;e<f;e++)this.qE(a[e],c,d)}},tE:function(a,c,d,e){e=e||this.Cd();null==e.a&&(e.a=255);d=d||0.5*this.Zc;this.Zq(18);e={r:0|e.r,g:0|e.g,b:0|e.b,a:0|e.a};var f=b.we(a);c=b.we(c);a=b.lt(b.Ip(b.oc(c,f)));var g=b.Ip(a),h=b.sd(a,d);d=b.sd(g,
- d);var k=b.qe(c,b.oc(h,d)),m=b.oc(c,h),p=b.qe(c,h),r=b.oc(f,h),s=b.qe(f,h),u=b.oc(f,b.oc(h,d)),f=b.qe(f,b.qe(h,d)),t=b.Ub.BYTES_PER_ELEMENT,v=this.Aj,w=this.ab;w.push(new b.Ub({f:b.oc(c,b.qe(h,d)),s:e,m:b.Ea(b.eg(b.qe(a,g)))},{f:k,s:e,m:b.Ea(b.oc(a,g))},{f:m,s:e,m:b.Ea(b.eg(a))},v,w.length*t));w.push(new b.Ub({f:p,s:e,m:b.Ea(a)},{f:k,s:e,m:b.Ea(b.oc(a,g))},{f:m,s:e,m:b.Ea(b.eg(a))},v,w.length*t));w.push(new b.Ub({f:p,s:e,m:b.Ea(a)},{f:r,s:e,m:b.Ea(b.eg(a))},{f:m,s:e,m:b.Ea(b.eg(a))},v,w.length*t));
- w.push(new b.Ub({f:p,s:e,m:b.Ea(a)},{f:r,s:e,m:b.Ea(b.eg(a))},{f:s,s:e,m:b.Ea(a)},v,w.length*t));w.push(new b.Ub({f:u,s:e,m:b.Ea(b.oc(g,a))},{f:r,s:e,m:b.Ea(b.eg(a))},{f:s,s:e,m:b.Ea(a)},v,w.length*t));w.push(new b.Ub({f:u,s:e,m:b.Ea(b.oc(g,a))},{f:f,s:e,m:b.Ea(b.qe(a,g))},{f:s,s:e,m:b.Ea(a)},v,w.length*t));this.hb=!0},Xd:function(a,c,d,e){if(null==c)this.Qu(a,d,e,!0);else{null==c.a&&(c.a=255);null==e.a&&(e.a=255);d=d||this.Zc;d*=0.5;c={r:0|c.r,g:0|c.g,b:0|c.b,a:0|c.a};e={r:0|e.r,g:0|e.g,b:0|e.b,
- a:0|e.a};var f=[],g,h,k,m,p=a.length;for(g=0;g<p;g++){h=b.we(a[(g-1+p)%p]);k=b.we(a[g]);m=b.we(a[(g+1)%p]);var r=b.lt(b.Ip(b.oc(k,h)));k=b.lt(b.Ip(b.oc(m,k)));f[g]={offset:b.sd(b.qe(r,k),1/(b.VP(r,k)+1)),bl:k}}r=0<d;this.Zq(3*(3*p-2));var s=b.Ub.BYTES_PER_ELEMENT,u=this.Aj,t=this.ab,v=!1==r?0.5:0;for(g=0;g<p-2;g++)h=b.oc(b.we(a[0]),b.sd(f[0].offset,v)),k=b.oc(b.we(a[g+1]),b.sd(f[g+1].offset,v)),m=b.oc(b.we(a[g+2]),b.sd(f[g+2].offset,v)),t.push(new b.Ub({f:h,s:c,m:b.Ea({x:0,y:0})},{f:k,s:c,m:b.Ea({x:0,
- y:0})},{f:m,s:c,m:b.Ea({x:0,y:0})},u,t.length*s));for(g=0;g<p;g++){v=(g+1)%p;h=b.we(a[g]);k=b.we(a[v]);m=f[g].bl;var w=f[g].offset,y=f[v].offset,v=r?b.oc(h,b.sd(w,d)):b.oc(h,b.sd(w,0.5)),B=r?b.oc(k,b.sd(y,d)):b.oc(k,b.sd(y,0.5));h=r?b.qe(h,b.sd(w,d)):b.qe(h,b.sd(w,0.5));k=r?b.qe(k,b.sd(y,d)):b.qe(k,b.sd(y,0.5));r?(t.push(new b.Ub({f:v,s:e,m:b.Ea(b.eg(m))},{f:B,s:e,m:b.Ea(b.eg(m))},{f:k,s:e,m:b.Ea(m)},u,t.length*s)),t.push(new b.Ub({f:v,s:e,m:b.Ea(b.eg(m))},{f:h,s:e,m:b.Ea(m)},{f:k,s:e,m:b.Ea(m)},
- u,t.length*s))):(t.push(new b.Ub({f:v,s:c,m:b.Ea({x:0,y:0})},{f:B,s:c,m:b.Ea({x:0,y:0})},{f:k,s:c,m:b.Ea(m)},u,t.length*s)),t.push(new b.Ub({f:v,s:c,m:b.Ea({x:0,y:0})},{f:h,s:c,m:b.Ea(m)},{f:k,s:c,m:b.Ea(m)},u,t.length*s)))}this.hb=!0}},Qu:function(a,c,d,e){c=c||this.Zc;d=d||this.cf;null==d.a&&(d.a=255);c*=0.5;if(!(0>=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<p;g++){h=b.we(a[(g-1+p)%p]);k=b.we(a[g]);m=b.we(a[(g+1)%p]);var r=b.lt(b.Ip(b.oc(k,h)));k=b.lt(b.Ip(b.oc(m,
- k)));f[g]={offset:b.sd(b.qe(r,k),1/(b.VP(r,k)+1)),bl:k}}this.Zq(3*(3*p-2));m=b.Ub.BYTES_PER_ELEMENT;var r=this.Aj,s=this.ab;e=e?p:p-1;for(g=0;g<e;g++){var u=(g+1)%p;h=b.we(a[g]);k=b.we(a[u]);var t=f[g].bl,v=f[g].offset,u=f[u].offset,w=b.oc(h,b.sd(v,c));h=b.qe(h,b.sd(v,c));v=b.qe(k,b.sd(u,c));s.push(new b.Ub({f:w,s:d,m:b.Ea(b.eg(t))},{f:b.oc(k,b.sd(u,c)),s:d,m:b.Ea(b.eg(t))},{f:v,s:d,m:b.Ea(t)},r,s.length*m));s.push(new b.Ub({f:w,s:d,m:b.Ea(b.eg(t))},{f:h,s:d,m:b.Ea(t)},{f:v,s:d,m:b.Ea(t)},r,s.length*
- m))}this.hb=!0}},clear:function(){this.ab.length=0;this.hb=!0}});b.Kd=b.A==b.V?b.PQ:b.OQ;b.Kd.create=function(){return new b.Kd};b.ck=function(a){this.type=a;this.fillColor=this.fg=null;this.lineWidth=0;this.Kj=null;this.lineCap="butt";this.Zk=this.gF=this.lx=!1};b.Kd.OH=0;b.Kd.ET=1;b.Kd.Yj=2;b.dt=-1;b.kP=function(a,c){a.shaderProgram=c;var d=a.children;if(d)for(var e=0;e<d.length;e++)b.kP(d[e],c)};
- b.gc=b.k.extend({qm:0,Gh:!1,ld:null,dK:!1,ctor:function(a){b.k.prototype.ctor.call(this);this.ld=null;this.qm=0;this.Gh=!1;b.gc.prototype.da.call(this,a||null)},da:null,ub:"ClippingNode",AW:function(a){this.ld=a;this.qm=1;this.Gh=!1;b.gc.IB=!0;b.gc.IB&&(b.dt=b.l.getParameter(b.l.STENCIL_BITS),0>=b.dt&&b.log("Stencil buffer is not enabled."),b.gc.IB=!1);return!0},zW:function(a){this.ld=a;this.qm=1;this.Gh=!1},Z:function(){b.k.prototype.Z.call(this);this.ld.Z()},Jh:function(){b.k.prototype.Jh.call(this);
- this.ld.Jh()},Uf:function(){this.ld.Uf();b.k.prototype.Uf.call(this)},rb:function(){this.ld.rb();b.k.prototype.rb.call(this)},R:null,bs:function(a){var c=a||b.l;if(1>b.dt)b.k.prototype.R.call(this,a);else if(this.ld&&this.ld.visible)if(b.gc.pv+1==b.dt)b.gc.ID=!0,b.gc.ID&&(b.log("Nesting more than "+b.dt+"stencils is not supported. Everything will be drawn without stencil for this node and its childs."),b.gc.ID=!1),b.k.prototype.R.call(this,a);else{b.gc.pv++;var d=1<<b.gc.pv,e=d|d-1,f=c.isEnabled(c.STENCIL_TEST),
- g=c.getParameter(c.STENCIL_WRITEMASK),h=c.getParameter(c.STENCIL_FUNC),k=c.getParameter(c.STENCIL_REF),m=c.getParameter(c.STENCIL_VALUE_MASK),p=c.getParameter(c.STENCIL_FAIL),r=c.getParameter(c.STENCIL_PASS_DEPTH_FAIL),s=c.getParameter(c.STENCIL_PASS_DEPTH_PASS);c.enable(c.STENCIL_TEST);c.stencilMask(d);var u=c.getParameter(c.DEPTH_WRITEMASK);c.depthMask(!1);c.stencilFunc(c.NEVER,d,d);c.stencilOp(this.Gh?c.REPLACE:c.ZERO,c.KEEP,c.KEEP);b.sf(b.Wg);b.Gj();b.$k();b.sf(b.Vg);b.Gj();b.$k();b.ye.GM(C(-1,
- -1),C(1,1),b.color(255,255,255,255));b.sf(b.Wg);b.Fj();b.sf(b.Vg);b.Fj();c.stencilFunc(c.NEVER,d,d);c.stencilOp(this.Gh?c.ZERO:c.REPLACE,c.KEEP,c.KEEP);if(1>this.qm){var d=b.Id.nc(b.Zt),t=c.getUniformLocation(d.Im(),b.vI);b.RE(d.Im());d.$s(t,this.qm);b.kP(this.ld,d)}b.Gj();this.transform();this.ld.R();b.Fj();c.depthMask(u);c.stencilFunc(c.EQUAL,e,e);c.stencilOp(c.KEEP,c.KEEP,c.KEEP);b.k.prototype.R.call(this,a);c.stencilFunc(h,k,m);c.stencilOp(p,r,s);c.stencilMask(g);f||c.disable(c.STENCIL_TEST);
- b.gc.pv--}else this.Gh&&b.k.prototype.R.call(this,a)},lm:function(a){if(this.ld&&this.ld.visible){a=a||b.l;var c=a.canvas;if(this.RA()||this.ld instanceof b.I){var d=b.gc.pW();d.width=c.width;d.height=c.height;d.getContext("2d").drawImage(c,0,0);a.save();b.k.prototype.R.call(this,a);a.globalCompositeOperation=this.Gh?"destination-out":"destination-in";this.transform(a);this.ld.R();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.t,e;a.save();this.transform(a);this.ld.R(a);this.Gh&&(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.RA(!0);var f=d.length;if(0<f){this.Vc();for(c=0;c<f;c++)if(e=d[c],0>e.Bb)e.R(a);else break;for(this.Y(a);c<f;c++)d[c].R(a)}else this.Y(a);this.RA(!1)}a.restore()}else this.Gh&&b.k.prototype.R.call(this,a)},Y0:function(){return this.ld},cG:null,jY:function(a){this.ld=a},iY:function(a){this.ld=
- a;var c=b.l;!(a instanceof b.I)&&a instanceof b.Kd&&(a.Y=function(){var d=b.view.ja,e=b.view.Ka;c.beginPath();for(var f=0;f<a.ab.length;f++){var g=a.ab[f].fg,h=g[0];c.moveTo(h.x*d,-h.y*e);for(var h=1,k=g.length;h<k;h++)c.lineTo(g[h].x*d,-g[h].y*e)}})},aba:function(){return this.qm},lia:function(a){this.qm=a},aea:function(){return this.Gh},Via:function(a){this.Gh=a},RA:function(a){if(!0===a||!1===a)b.gc.prototype.dK=a;return b.gc.prototype.dK}});n=b.gc.prototype;
- b.A===b.V?(n.da=n.AW,n.R=n.bs,n.cG=n.jY):(n.da=n.zW,n.R=n.lm,n.cG=n.iY);b.i(n,"stencil",n.Y0,n.cG);b.gc.IB=null;b.gc.ID=null;b.gc.pv=-1;b.gc.uL=null;b.gc.pW=function(){return b.gc.uL||(b.gc.uL=document.createElement("canvas"))};b.gc.create=function(a){return new b.gc(a)};b.jn=b.oa.extend({hk:!1,oi:0,X:null,G:null,zg:null,Zn:null,Nl:!1,Eb:null,bB:0,hb:!1,ctor:function(a,c,d){b.VA();this.hk=!1;this.oi=0;this.G=this.X=null;this.zg=C(0,0);this.Zn=null;this.Nl=!1;this.Eb=null;this.bB=0;this.hb=!1;void 0!==a&&this.hx(a,c,d)},rf:function(){return this.hk},setActive:function(a){this.hk=a;a||(a=b.K,a.Vm(a.ni))},Qca:function(){return this.oi},v4:function(a){this.oi=a},m0:function(){return N(this.X.width,this.X.height)},Sia:function(a){this.X.width=parseInt(a.width);this.X.height=
- parseInt(a.height)},KE:function(){return C(this.zg.x,this.zg.y)},Gja:function(a){this.zg.x=a.x;this.zg.y=a.y},oea:function(){return this.Nl},Nja:function(a){this.Nl!=a&&(this.Nl=a,this.zw())},hx:function(a,c,d){if(!c){var e=b.K.vs(),f=b.Uj(e.width),g=b.Uj(e.height),h=new Uint8Array(f*g*4);if(!h)return b.log("cocos2d: CCGrid: not enough memory."),!1;c=new b.aa;c.As(h,b.aa.Xi,f,g,e);if(!c)return b.log("cocos2d: CCGrid: error creating texture"),!1}this.hk=!1;this.oi=0;this.X=a;this.G=c;this.Nl=d||!1;
- this.zg.x=this.G.width/a.width;this.zg.y=this.G.height/a.height;this.Zn=new b.eR;if(!this.Zn)return!1;this.Zn.i1(this.G);this.Eb=b.Id.nc(b.tq);this.zw();return!0},is:function(){this.bB=b.K.ni;this.J3();this.Zn.wZ(this.G)},fs:function(a){this.Zn.bZ(this.G);b.K.Vm(this.bB);if(a.Gm().fF()){var c=a.Lw();b.jp(c.x,c.y);a.Gm().Gs();b.jp(-c.x,-c.y)}b.oe(this.G);this.SD()},SD:function(){b.log("cc.GridBase.blit(): Shall be overridden in subclass.")},KF:function(){b.log("cc.GridBase.reuse(): Shall be overridden in subclass.")},
- zw:function(){b.log("cc.GridBase.calculateVertexPoints(): Shall be overridden in subclass.")},J3:function(){var a=b.K.vs();b.l.viewport(0,0,a.width,a.height);b.sf(b.Wg);b.$k();var c=new b.ba;b.lF(c,0,a.width,0,a.height,-1,1);b.ip(c);b.sf(b.Vg);b.$k();b.lP()}});b.jn.create=function(a,c,d){return new b.jn(a,c,d)};
- b.az=b.jn.extend({Bg:null,Oa:null,lj:null,jb:null,Kf:null,cd:null,Ef:null,ctor:function(a,c,d){b.jn.prototype.ctor.call(this);this.Ef=this.cd=this.Kf=this.jb=this.lj=this.Oa=this.Bg=null;void 0!==a&&this.hx(a,c,d)},XP:function(a){a.x===(0|a.x)&&a.y===(0|a.y)||b.log("cc.Grid3D.vertex() : Numbers must be integers");a=0|3*(a.x*(this.X.height+1)+a.y);var c=this.Oa;return new b.tc(c[a],c[a+1],c[a+2])},Lc:function(a){a.x===(0|a.x)&&a.y===(0|a.y)||b.log("cc.Grid3D.originalVertex() : Numbers must be integers");
- a=0|3*(a.x*(this.X.height+1)+a.y);var c=this.lj;return new b.tc(c[a],c[a+1],c[a+2])},Hd:function(a,c){a.x===(0|a.x)&&a.y===(0|a.y)||b.log("cc.Grid3D.setVertex() : Numbers must be integers");var d=0|3*(a.x*(this.X.height+1)+a.y),e=this.Oa;e[d]=c.x;e[d+1]=c.y;e[d+2]=c.z;this.hb=!0},SD:function(){var a=this.X.width*this.X.height;b.Ic(b.Md|b.sn);this.Eb.Nc();this.Eb.bt();var c=b.l,d=this.hb;c.bindBuffer(c.ARRAY_BUFFER,this.cd);d&&c.bufferData(c.ARRAY_BUFFER,this.Oa,c.DYNAMIC_DRAW);c.vertexAttribPointer(b.pb,
- 3,c.FLOAT,!1,0,0);c.bindBuffer(c.ARRAY_BUFFER,this.Kf);d&&c.bufferData(c.ARRAY_BUFFER,this.Bg,c.DYNAMIC_DRAW);c.vertexAttribPointer(b.wd,2,c.FLOAT,!1,0,0);c.bindBuffer(c.ELEMENT_ARRAY_BUFFER,this.Ef);d&&c.bufferData(c.ELEMENT_ARRAY_BUFFER,this.jb,c.STATIC_DRAW);c.drawElements(c.TRIANGLES,6*a,c.UNSIGNED_SHORT,0);d&&(this.hb=!1);b.Sf()},KF:function(){if(0<this.oi){for(var a=this.lj,c=this.Oa,d=0,e=this.Oa.length;d<e;d++)a[d]=c[d];--this.oi}},zw:function(){var a=b.l,c=this.G.pixelsWidth,d=this.G.pixelsHeight,
- e=this.G.O.height,f=this.X,g=(f.width+1)*(f.height+1);this.Oa=new Float32Array(3*g);this.Bg=new Float32Array(2*g);this.jb=new Uint16Array(f.width*f.height*6);this.cd&&a.deleteBuffer(this.cd);this.cd=a.createBuffer();this.Kf&&a.deleteBuffer(this.Kf);this.Kf=a.createBuffer();this.Ef&&a.deleteBuffer(this.Ef);this.Ef=a.createBuffer();for(var h,k,m=this.jb,p=this.Bg,r=this.Nl,s=this.Oa,g=0;g<f.width;++g)for(h=0;h<f.height;++h){var u=h*f.width+g;k=g*this.zg.x;var t=k+this.zg.x,v=h*this.zg.y,w=v+this.zg.y,
- y=g*(f.height+1)+h,B=(g+1)*(f.height+1)+h,G=(g+1)*(f.height+1)+(h+1),I=g*(f.height+1)+(h+1);m[6*u]=y;m[6*u+1]=B;m[6*u+2]=I;m[6*u+3]=B;m[6*u+4]=G;m[6*u+5]=I;var u=[3*y,3*B,3*G,3*I],E=[{x:k,y:v,z:0},{x:t,y:v,z:0},{x:t,y:w,z:0},{x:k,y:w,z:0}],y=[2*y,2*B,2*G,2*I],t=[C(k,v),C(t,v),C(t,w),C(k,w)];for(k=0;4>k;++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.lj=new Float32Array(this.Oa);a.bindBuffer(a.ARRAY_BUFFER,this.cd);a.bufferData(a.ARRAY_BUFFER,
- this.Oa,a.DYNAMIC_DRAW);a.bindBuffer(a.ARRAY_BUFFER,this.Kf);a.bufferData(a.ARRAY_BUFFER,this.Bg,a.DYNAMIC_DRAW);a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.Ef);a.bufferData(a.ELEMENT_ARRAY_BUFFER,this.jb,a.STATIC_DRAW);this.hb=!0}});b.az.create=function(a,c,d){return new b.az(a,c,d)};
- b.cA=b.jn.extend({Bg:null,Oa:null,lj:null,jb:null,Kf:null,cd:null,Ef:null,ctor:function(a,c,d){b.jn.prototype.ctor.call(this);this.Ef=this.cd=this.Kf=this.jb=this.lj=this.Oa=this.Bg=null;void 0!==a&&this.hx(a,c,d)},HP: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.Oa;return new b.Tt(new b.tc(c[a],c[a+1],c[a+2]),new b.tc(c[a+3],c[a+4],c[a+5]),new b.tc(c[a+6],c[a+7],c[a+8]),new b.tc(c[a+9],c[a+10],c[a+11]))},
- Vf: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.lj;return new b.Tt(new b.tc(c[a],c[a+1],c[a+2]),new b.tc(c[a+3],c[a+4],c[a+5]),new b.tc(c[a+6],c[a+7],c[a+8]),new b.tc(c[a+9],c[a+10],c[a+11]))},Re: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.Oa;e[d]=c.C.x;e[d+1]=c.C.y;e[d+2]=c.C.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.L.x;e[d+10]=c.L.y;e[d+11]=c.L.z;this.hb=!0},SD:function(){var a=this.X.width*this.X.height;this.Eb.Nc();this.Eb.bt();var c=b.l,d=this.hb;b.Ic(b.Md|b.sn);c.bindBuffer(c.ARRAY_BUFFER,this.cd);d&&c.bufferData(c.ARRAY_BUFFER,this.Oa,c.DYNAMIC_DRAW);c.vertexAttribPointer(b.pb,3,c.FLOAT,!1,0,this.Oa);c.bindBuffer(c.ARRAY_BUFFER,this.Kf);d&&c.bufferData(c.ARRAY_BUFFER,this.Bg,c.DYNAMIC_DRAW);c.vertexAttribPointer(b.wd,2,c.FLOAT,!1,0,this.Bg);
- c.bindBuffer(c.ELEMENT_ARRAY_BUFFER,this.Ef);d&&c.bufferData(c.ELEMENT_ARRAY_BUFFER,this.jb,c.STATIC_DRAW);c.drawElements(c.TRIANGLES,6*a,c.UNSIGNED_SHORT,0);d&&(this.hb=!1);b.Sf()},KF:function(){if(0<this.oi){for(var a=this.Oa,c=this.lj,d=0;d<a.length;d++)c[d]=a[d];--this.oi}},zw:function(){var a=this.G.pixelsWidth,c=this.G.pixelsHeight,d=this.G.O.height,e=this.X,f=e.width*e.height;this.Oa=new Float32Array(12*f);this.Bg=new Float32Array(8*f);this.jb=new Uint16Array(6*f);var g=b.l;this.cd&&g.deleteBuffer(this.cd);
- this.cd=g.createBuffer();this.Kf&&g.deleteBuffer(this.Kf);this.Kf=g.createBuffer();this.Ef&&g.deleteBuffer(this.Ef);this.Ef=g.createBuffer();var h,k,m=0,p=this.zg,r=this.Oa,s=this.Bg,u=this.Nl;for(h=0;h<e.width;h++)for(k=0;k<e.height;k++){var t=h*p.x,v=t+p.x,w=k*p.y,y=w+p.y;r[12*m]=t;r[12*m+1]=w;r[12*m+2]=0;r[12*m+3]=v;r[12*m+4]=w;r[12*m+5]=0;r[12*m+6]=t;r[12*m+7]=y;r[12*m+8]=0;r[12*m+9]=v;r[12*m+10]=y;r[12*m+11]=0;var B=w,G=y;u&&(B=d-w,G=d-y);s[8*m]=t/a;s[8*m+1]=B/c;s[8*m+2]=v/a;s[8*m+3]=B/c;s[8*
- m+4]=t/a;s[8*m+5]=G/c;s[8*m+6]=v/a;s[8*m+7]=G/c;m++}a=this.jb;for(h=0;h<f;h++)a[6*h+0]=4*h+0,a[6*h+1]=4*h+1,a[6*h+2]=4*h+2,a[6*h+3]=4*h+1,a[6*h+4]=4*h+2,a[6*h+5]=4*h+3;this.lj=new Float32Array(this.Oa);g.bindBuffer(g.ARRAY_BUFFER,this.cd);g.bufferData(g.ARRAY_BUFFER,this.Oa,g.DYNAMIC_DRAW);g.bindBuffer(g.ARRAY_BUFFER,this.Kf);g.bufferData(g.ARRAY_BUFFER,this.Bg,g.DYNAMIC_DRAW);g.bindBuffer(g.ELEMENT_ARRAY_BUFFER,this.Ef);g.bufferData(g.ELEMENT_ARRAY_BUFFER,this.jb,g.DYNAMIC_DRAW);this.hb=!0}});
- b.cA.create=function(a,c,d){return new b.cA(a,c,d)};b.eR=b.oa.extend({nu:null,ii:null,FK:null,Yn:null,ctor:function(){b.VA();this.Yn=b.l;this.FK=[0,0,0,0];this.ii=null;this.nu=this.Yn.createFramebuffer()},i1:function(a){var c=this.Yn;this.ii=c.getParameter(c.FRAMEBUFFER_BINDING);c.bindFramebuffer(c.FRAMEBUFFER,this.nu);c.framebufferTexture2D(c.FRAMEBUFFER,c.COLOR_ATTACHMENT0,c.TEXTURE_2D,a.Vd,0);c.checkFramebufferStatus(c.FRAMEBUFFER)!=c.FRAMEBUFFER_COMPLETE&&b.log("Frame Grabber: could not attach texture to frmaebuffer");c.bindFramebuffer(c.FRAMEBUFFER,
- this.ii)},wZ:function(){var a=this.Yn;this.ii=a.getParameter(a.FRAMEBUFFER_BINDING);a.bindFramebuffer(a.FRAMEBUFFER,this.nu);this.FK=a.getParameter(a.COLOR_CLEAR_VALUE);a.clearColor(0,0,0,0);a.clear(a.COLOR_BUFFER_BIT|a.DEPTH_BUFFER_BIT)},bZ:function(){var a=this.Yn;a.bindFramebuffer(a.FRAMEBUFFER,this.ii);a.colorMask(!0,!0,!0,!0)},O$:function(){this.Yn.deleteFramebuffer(this.nu)}});b.cn=-1;
- b.td=b.oa.extend({originalTarget:null,target:null,tag:b.cn,ctor:function(){this.target=this.originalTarget=null;this.tag=b.cn},copy:function(){b.log("copy is deprecated. Please use clone instead.");return this.j()},j:function(){var a=new b.td;a.originalTarget=null;a.target=null;a.tag=this.tag;return a},Gg:function(){return!0},v:function(a){this.target=this.originalTarget=a},stop:function(){this.target=null},step:function(){b.log("[Action step]. override me")},update:function(){b.log("[Action update]. override me")},gda:function(){return this.target},
- dG:function(a){this.target=a},zca:function(){return this.originalTarget},nja:function(a){this.originalTarget=a},LE:function(){return this.tag},ny:function(a){this.tag=a},Yx:function(){},Ki:function(){}});b.action=function(){return new b.td};b.td.create=b.action;b.Wi=b.td.extend({o:0,ctor:function(){b.td.prototype.ctor.call(this);this.o=0},ap:function(){return this.o*(this.ac||1)},Wf:function(a){this.o=a},reverse:function(){b.log("cocos2d: FiniteTimeAction#reverse: Implement me");return null},j:function(){return new b.Wi}});
- b.au=b.td.extend({ie:0,kb:null,ctor:function(a,c){b.td.prototype.ctor.call(this);this.ie=0;this.kb=null;a&&this.$(a,c)},Sw:function(){return this.ie},Pe:function(a){this.ie=a},$:function(a,c){if(!a)throw"cc.Speed.initWithAction(): action must be non nil";this.kb=a;this.ie=c;return!0},j:function(){var a=new b.au;a.$(this.kb.j(),this.ie);return a},v:function(a){b.td.prototype.v.call(this,a);this.kb.v(a)},stop:function(){this.kb.stop();b.td.prototype.stop.call(this)},step:function(a){this.kb.step(a*
- this.ie)},Gg:function(){return this.kb.Gg()},reverse:function(){return b.au.create(this.kb.reverse(),this.ie)},dP:function(a){this.kb!=a&&(this.kb=a)},EE:function(){return this.kb}});b.speed=function(a,c){return new b.au(a,c)};b.au.create=b.speed;
- b.$y=b.td.extend({Un:null,An:!1,Cu:!1,fv:null,cr:null,Lm:0,Rm:0,Ym:0,sm:0,LD:null,ctor:function(a,c){b.td.prototype.ctor.call(this);this.Un=null;this.Cu=this.An=!1;this.cr=this.fv=null;this.sm=this.Ym=this.Rm=this.Lm=0;this.LD=P(0,0,0,0);a&&(c?this.hp(a,c):this.hp(a))},j:function(){var a=new b.$y,c=this.LD;a.hp(this.Un,new b.yH(c.x,c.y,c.width,c.height));return a},Wda:function(){return this.An},pia:function(a){this.An=a},hp:function(a,c){if(!a)throw"cc.Follow.initWithAction(): followedNode must be non nil";
- c=c||P(0,0,0,0);this.Un=a;this.LD=c;this.An=!b.xC(c);this.Cu=!1;var d=b.K.za();this.cr=C(d.width,d.height);this.fv=b.Ii(this.cr,0.5);this.An&&(this.Lm=-(c.x+c.width-this.cr.x),this.Rm=-c.x,this.Ym=-c.y,this.sm=-(c.y+c.height-this.cr.y),this.Rm<this.Lm&&(this.Rm=this.Lm=(this.Lm+this.Rm)/2),this.Ym<this.sm&&(this.Ym=this.sm=(this.Ym+this.sm)/2),this.Ym==this.sm&&this.Lm==this.Rm&&(this.Cu=!0));return!0},step:function(){var a=this.Un.x,c=this.Un.y,a=this.fv.x-a,c=this.fv.y-c;this.An?this.Cu||this.target.H(b.Uc(a,
- this.Lm,this.Rm),b.Uc(c,this.sm,this.Ym)):this.target.H(a,c)},Gg:function(){return!this.Un.running},stop:function(){this.target=null;b.td.prototype.stop.call(this)}});b.M_=function(a,c){return new b.$y(a,c)};b.$y.create=b.M_;b.u=b.Wi.extend({ib:0,av:!1,sg:null,ac:1,Dr:!1,ro:!1,ie:1,Jr:!1,ctor:function(a){this.ac=this.ie=1;this.Dr=!1;this.MAX_VALUE=2;this.Jr=this.ro=!1;b.Wi.prototype.ctor.call(this);void 0!==a&&this.d(a)},Fba:function(){return this.ib},d:function(a){this.o=0===a?b.Ht:a;this.ib=0;return this.av=!0},Gg:function(){return this.ib>=this.o},ta:function(a){a.Dr=this.Dr;a.ie=this.ie;a.ac=this.ac;a.sg=this.sg;a.Jr=this.Jr;a.ro=this.ro},ge:function(a){if(this.sg){a.sg=[];for(var c=0;c<this.sg.length;c++)a.sg.push(this.sg[c].reverse())}},
- j:function(){var a=new b.u(this.o);this.ta(a);return a},Pa:function(a){this.sg?this.sg.length=0:this.sg=[];for(var c=0;c<arguments.length;c++)this.sg.push(arguments[c]);return this},gd:function(a){var c=this.sg;if(!c||0===c.length)return a;for(var d=0,e=c.length;d<e;d++)a=c[d].Pa(a);return a},step:function(a){this.av?(this.av=!1,this.ib=0):this.ib+=a;a=this.ib/(1.192092896E-7<this.o?this.o:1.192092896E-7);a=1>a?a:1;this.update(0<a?a:0);this.ro&&1<this.ac&&this.Gg()&&(this.Dr||this.ac--,this.v(this.target),
- this.step(this.ib-this.o))},v:function(a){b.td.prototype.v.call(this,a);this.ib=0;this.av=!0},reverse:function(){b.log("cc.IntervalAction: reverse not implemented.");return null},Tm:function(){b.log("cc.ActionInterval.setAmplitudeRate(): it should be overridden in subclass.")},Fm:function(){b.log("cc.ActionInterval.getAmplitudeRate(): it should be overridden in subclass.");return 0},speed:function(a){if(0>=a)return b.log("The speed parameter error"),this;this.Jr=!0;this.ie*=a;return this},Sw:function(){return this.ie},
- Pe:function(a){this.ie=a;return this},repeat:function(a){a=Math.round(a);if(isNaN(a)||1>a)return b.log("The repeat parameter error"),this;this.ro=!0;this.ac*=a;return this},HF:function(){this.ro=!0;this.ac=this.MAX_VALUE;this.Dr=!0;return this}});b.UY=function(a){return new b.u(a)};b.u.create=b.UY;
- b.Ja=b.u.extend({Yh:null,yL:null,pr:0,ctor:function(a){b.u.prototype.ctor.call(this);this.Yh=[];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<d;f++)c[f]&&(e=b.Ja.Zi(e,c[f]));this.Jm(e,c[d])}},Jm:function(a,c){if(!a||!c)throw"cc.Sequence.initWithTwoActions(): arguments must all be non nil";this.d(a.o+c.o);this.Yh[0]=a;this.Yh[1]=c;return!0},j:function(){var a=new b.Ja;this.ta(a);a.Jm(this.Yh[0].j(),
- this.Yh[1].j());return a},v:function(a){b.u.prototype.v.call(this,a);this.yL=this.Yh[0].o/this.o;this.pr=-1},stop:function(){-1!==this.pr&&this.Yh[this.pr].stop();b.td.prototype.stop.call(this)},update:function(a){a=this.gd(a);var c=0,d=this.yL,e=this.Yh,f=this.pr;a<d?(a=0!==d?a/d:1,0===c&&1===f&&(e[1].update(0),e[1].stop())):(c=1,a=1===d?1:(a-d)/(1-d),-1===f&&(e[0].v(this.target),e[0].update(1),e[0].stop()),f||(e[0].update(1),e[0].stop()));f===c&&e[c].Gg()||(f!==c&&e[c].v(this.target),e[c].update(a),
- this.pr=c)},reverse:function(){var a=b.Ja.Zi(this.Yh[1].reverse(),this.Yh[0].reverse());this.ta(a);this.ge(a);return a}});b.OF=function(a){var c=a instanceof Array?a:arguments;0<c.length&&null==c[c.length-1]&&b.log("parameters should not be ending with null in Javascript");for(var d=c[0],e=1;e<c.length;e++)c[e]&&(d=b.Ja.Zi(d,c[e]));return d};b.Ja.create=b.OF;b.Ja.Zi=function(a,c){var d=new b.Ja;d.Jm(a,c);return d};
- b.Gz=b.u.extend({ac:0,Qk:0,WB:0,KI:!1,kb:null,ctor:function(a,c){b.u.prototype.ctor.call(this);void 0!==c&&this.$(a,c)},$:function(a,c){return this.d(a.o*c)?(this.ac=c,this.kb=a,a instanceof b.re&&(this.KI=!0,this.ac-=1),this.Qk=0,!0):!1},j:function(){var a=new b.Gz;this.ta(a);a.$(this.kb.j(),this.ac);return a},v:function(a){this.Qk=0;this.WB=this.kb.o/this.o;b.u.prototype.v.call(this,a);this.kb.v(a)},stop:function(){this.kb.stop();b.td.prototype.stop.call(this)},update:function(a){a=this.gd(a);var c=
- this.kb,d=this.o,e=this.ac,f=this.WB;if(a>=f){for(;a>f&&this.Qk<e;)c.update(1),this.Qk++,c.stop(),c.v(this.target),this.WB=f+=c.o/d;1<=a&&this.Qk<e&&this.Qk++;this.KI||(this.Qk===e?(c.update(1),c.stop()):c.update(a-(f-c.o/d)))}else c.update(a*e%1)},Gg:function(){return this.Qk==this.ac},reverse:function(){var a=b.repeat(this.kb.reverse(),this.ac);this.ta(a);this.ge(a);return a},dP:function(a){this.kb!=a&&(this.kb=a)},EE:function(){return this.kb}});b.repeat=function(a,c){return new b.Gz(a,c)};
- b.Gz.create=b.repeat;
- b.Vt=b.u.extend({kb:null,ctor:function(a){b.u.prototype.ctor.call(this);this.kb=null;a&&this.$(a)},$:function(a){if(!a)throw"cc.RepeatForever.initWithAction(): action must be non null";this.kb=a;return!0},j:function(){var a=new b.Vt;this.ta(a);a.$(this.kb.j());return a},v:function(a){b.u.prototype.v.call(this,a);this.kb.v(a)},step:function(a){var c=this.kb;c.step(a);c.Gg()&&(c.v(this.target),c.step(c.ib-c.o))},Gg:function(){return!1},reverse:function(){var a=b.HF(this.kb.reverse());this.ta(a);this.ge(a);
- return a},dP:function(a){this.kb!=a&&(this.kb=a)},EE:function(){return this.kb}});b.HF=function(a){return new b.Vt(a)};b.Vt.create=b.HF;
- b.Xe=b.u.extend({kj:null,Bj:null,ctor:function(a){b.u.prototype.ctor.call(this);this.Bj=this.kj=null;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<d;f++)c[f]&&(e=b.Xe.Zi(e,c[f]));this.Jm(e,c[d])}},Jm:function(a,c){if(!a||!c)throw"cc.Spawn.initWithTwoActions(): arguments must all be non null";var d=!1,e=a.o,f=c.o;this.d(Math.max(e,f))&&(this.kj=a,this.Bj=c,e>f?this.Bj=b.Ja.Zi(c,b.Gw(e-
- f)):e<f&&(this.kj=b.Ja.Zi(a,b.Gw(f-e))),d=!0);return d},j:function(){var a=new b.Xe;this.ta(a);a.Jm(this.kj.j(),this.Bj.j());return a},v:function(a){b.u.prototype.v.call(this,a);this.kj.v(a);this.Bj.v(a)},stop:function(){this.kj.stop();this.Bj.stop();b.td.prototype.stop.call(this)},update:function(a){a=this.gd(a);this.kj&&this.kj.update(a);this.Bj&&this.Bj.update(a)},reverse:function(){var a=b.Xe.Zi(this.kj.reverse(),this.Bj.reverse());this.ta(a);this.ge(a);return a}});
- b.X4=function(a){var c=a instanceof Array?a:arguments;0<c.length&&null==c[c.length-1]&&b.log("parameters should not be ending with null in Javascript");for(var d=c[0],e=1;e<c.length;e++)null!=c[e]&&(d=b.Xe.Zi(d,c[e]));return d};b.Xe.create=b.X4;b.Xe.Zi=function(a,c){var d=new b.Xe;d.Jm(a,c);return d};
- b.Hz=b.u.extend({Ru:0,Kr:0,eJ:0,fB:0,wo:0,fJ: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.Ru=c||0,this.fB=d||this.Ru,!0):!1},j:function(){var a=new b.Hz;this.ta(a);a.d(this.o,this.Ru,this.fB);return a},v:function(a){b.u.prototype.v.call(this,a);var c=a.rotationX%360,d=this.Ru-c;180<d&&(d-=360);-180>d&&(d+=360);this.Kr=c;this.eJ=d;this.wo=a.rotationY%360;a=this.fB-this.wo;180<a&&(a-=360);-180>a&&(a+=360);
- this.fJ=a},reverse:function(){b.log("cc.RotateTo.reverse(): it should be overridden in subclass.")},update:function(a){a=this.gd(a);this.target&&(this.target.rotationX=this.Kr+this.eJ*a,this.target.rotationY=this.wo+this.fJ*a)}});b.E3=function(a,c,d){return new b.Hz(a,c,d)};b.Hz.create=b.E3;
- b.Wt=b.u.extend({Yg:0,Kr:0,xu:0,wo: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.Yg=c||0,this.xu=d||this.Yg,!0):!1},j:function(){var a=new b.Wt;this.ta(a);a.d(this.o,this.Yg,this.xu);return a},v:function(a){b.u.prototype.v.call(this,a);this.Kr=a.rotationX;this.wo=a.rotationY},update:function(a){a=this.gd(a);this.target&&(this.target.rotationX=this.Kr+this.Yg*a,this.target.rotationY=this.wo+this.xu*a)},reverse:function(){var a=
- b.OO(this.o,-this.Yg,-this.xu);this.ta(a);this.ge(a);return a}});b.OO=function(a,c,d){return new b.Wt(a,c,d)};b.Wt.create=b.OO;
- b.Xg=b.u.extend({li:null,Fc:null,Sc:null,ctor:function(a,c,d){b.u.prototype.ctor.call(this);this.li=C(0,0);this.Fc=C(0,0);this.Sc=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.li.x=c,this.li.y=d,!0):!1},j:function(){var a=new b.Xg;this.ta(a);a.d(this.o,this.li);return a},v:function(a){b.u.prototype.v.call(this,a);var c=a.Ke();a=a.pf();this.Sc.x=c;this.Sc.y=a;this.Fc.x=c;this.Fc.y=a},update:function(a){a=this.gd(a);if(this.target){var c=
- this.li.x*a;a*=this.li.y;var d=this.Fc;if(b.ot){var e=this.target.pf(),f=this.Sc;d.x=d.x+this.target.Ke()-f.x;d.y=d.y+e-f.y;c+=d.x;a+=d.y;f.x=c;f.y=a;this.target.H(c,a)}else this.target.H(d.x+c,d.y+a)}},reverse:function(){var a=b.moveBy(this.o,C(-this.li.x,-this.li.y));this.ta(a);this.ge(a);return a}});b.moveBy=function(a,c,d){return new b.Xg(a,c,d)};b.Xg.create=b.moveBy;
- b.Nt=b.Xg.extend({Bf:null,ctor:function(a,c,d){b.Xg.prototype.ctor.call(this);this.Bf=C(0,0);void 0!==c&&this.d(a,c,d)},d:function(a,c,d){return b.Xg.prototype.d.call(this,a,c,d)?(void 0!==c.x&&(d=c.y,c=c.x),this.Bf.x=c,this.Bf.y=d,!0):!1},j:function(){var a=new b.Nt;this.ta(a);a.d(this.o,this.Bf);return a},v:function(a){b.Xg.prototype.v.call(this,a);this.li.x=this.Bf.x-a.Ke();this.li.y=this.Bf.y-a.pf()}});b.moveTo=function(a,c,d){return new b.Nt(a,c,d)};b.Nt.create=b.moveTo;
- b.vl=b.u.extend({qh:0,rh:0,Yv:0,Zv:0,Uu:0,Vu:0,af:0,bf: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.Uu=c,this.Vu=d,e=!0);return e},j:function(){var a=new b.vl;this.ta(a);a.d(this.o,this.Uu,this.Vu);return a},v:function(a){b.u.prototype.v.call(this,a);this.Yv=a.skewX%180;this.af=this.Uu-this.Yv;180<this.af&&(this.af-=360);-180>this.af&&(this.af+=360);this.Zv=a.skewY%360;this.bf=this.Vu-this.Zv;180<this.bf&&
- (this.bf-=360);-180>this.bf&&(this.bf+=360)},update:function(a){a=this.gd(a);this.target.skewX=this.Yv+this.af*a;this.target.skewY=this.Zv+this.bf*a}});b.W4=function(a,c,d){return new b.vl(a,c,d)};b.vl.create=b.W4;
- b.Nz=b.vl.extend({ctor:function(a,c,d){b.vl.prototype.ctor.call(this);void 0!==d&&this.d(a,c,d)},d:function(a,c,d){var e=!1;b.vl.prototype.d.call(this,a,c,d)&&(this.qh=c,this.rh=d,e=!0);return e},j:function(){var a=new b.Nz;this.ta(a);a.d(this.o,this.qh,this.rh);return a},v:function(a){b.vl.prototype.v.call(this,a);this.af=this.qh;this.bf=this.rh;this.Uu=this.Yv+this.af;this.Vu=this.Zv+this.bf},reverse:function(){var a=b.AP(this.o,-this.qh,-this.rh);this.ta(a);this.ge(a);return a}});
- b.AP=function(a,c,d){return new b.Nz(a,c,d)};b.Nz.create=b.AP;
- b.Tj=b.u.extend({Fc:null,bi:null,jr:0,ij:0,Sc:null,ctor:function(a,c,d,e,f){b.u.prototype.ctor.call(this);this.Fc=C(0,0);this.Sc=C(0,0);this.bi=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.bi.x=c,this.bi.y=d,this.jr=e,this.ij=f,!0):!1},j:function(){var a=new b.Tj;this.ta(a);a.d(this.o,this.bi,this.jr,this.ij);return a},v:function(a){b.u.prototype.v.call(this,a);var c=a.Ke();a=a.pf();this.Sc.x=c;this.Sc.y=a;
- this.Fc.x=c;this.Fc.y=a},update:function(a){a=this.gd(a);if(this.target){var c=a*this.ij%1,c=4*this.jr*c*(1-c),c=c+this.bi.y*a;a*=this.bi.x;var d=this.Fc;if(b.ot){var e=this.target.pf(),f=this.Sc;d.x=d.x+this.target.Ke()-f.x;d.y=d.y+e-f.y;a+=d.x;c+=d.y;f.x=a;f.y=c;this.target.H(a,c)}else this.target.H(d.x+a,d.y+c)}},reverse:function(){var a=b.SN(this.o,C(-this.bi.x,-this.bi.y),this.jr,this.ij);this.ta(a);this.ge(a);return a}});b.SN=function(a,c,d,e,f){return new b.Tj(a,c,d,e,f)};b.Tj.create=b.SN;
- b.fz=b.Tj.extend({Bf:null,ctor:function(a,c,d,e,f){b.Tj.prototype.ctor.call(this);this.Bf=C(0,0);void 0!==e&&this.d(a,c,d,e,f)},d:function(a,c,d,e,f){return b.Tj.prototype.d.call(this,a,c,d,e,f)?(void 0===f&&(d=c.y,c=c.x),this.Bf.x=c,this.Bf.y=d,!0):!1},v:function(a){b.Tj.prototype.v.call(this,a);this.bi.x=this.Bf.x-this.Fc.x;this.bi.y=this.Bf.y-this.Fc.y},j:function(){var a=new b.fz;this.ta(a);a.d(this.o,this.Bf,this.jr,this.ij);return a}});b.R1=function(a,c,d,e,f){return new b.fz(a,c,d,e,f)};
- b.fz.create=b.R1;b.cM=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.en=b.u.extend({yf:null,Fc:null,Sc:null,ctor:function(a,c){b.u.prototype.ctor.call(this);this.yf=[];this.Fc=C(0,0);this.Sc=C(0,0);c&&this.d(a,c)},d:function(a,c){return b.u.prototype.d.call(this,a)?(this.yf=c,!0):!1},j:function(){var a=new b.en;this.ta(a);for(var c=[],d=0;d<this.yf.length;d++){var e=this.yf[d];c.push(C(e.x,e.y))}a.d(this.o,c);return a},v:function(a){b.u.prototype.v.call(this,a);var c=a.Ke();a=a.pf();this.Sc.x=c;this.Sc.y=a;this.Fc.x=c;this.Fc.y=a},update:function(a){a=this.gd(a);
- if(this.target){var c=this.yf,d=b.cM(c[0].x,c[1].x,c[2].x,a);a=b.cM(c[0].y,c[1].y,c[2].y,a);c=this.Fc;if(b.ot){var e=this.target.pf(),f=this.Sc;c.x=c.x+this.target.Ke()-f.x;c.y=c.y+e-f.y;d+=c.x;a+=c.y;f.x=d;f.y=a;this.target.H(d,a)}else this.target.H(c.x+d,c.y+a)}},reverse:function(){var a=this.yf,a=b.dM(this.o,[b.Hi(a[1],b.yF(a[2])),b.Hi(a[0],b.yF(a[2])),b.yF(a[2])]);this.ta(a);this.ge(a);return a}});b.dM=function(a,c){return new b.en(a,c)};b.en.create=b.dM;
- b.Fy=b.en.extend({kw:null,ctor:function(a,c){b.en.prototype.ctor.call(this);this.kw=[];c&&this.d(a,c)},d:function(a,c){return b.u.prototype.d.call(this,a)?(this.kw=c,!0):!1},j:function(){var a=new b.Fy;this.ta(a);a.d(this.o,this.kw);return a},v:function(a){b.en.prototype.v.call(this,a);a=this.Fc;var c=this.kw,d=this.yf;d[0]=b.Fd(c[0],a);d[1]=b.Fd(c[1],a);d[2]=b.Fd(c[2],a)}});b.yZ=function(a,c){return new b.Fy(a,c)};b.Fy.create=b.yZ;
- b.Ld=b.u.extend({ja:1,Ka:1,Nr:1,Or:1,Qn:0,Rn:0,af:0,bf: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.Qn=c,this.Rn=null!=d?d:c,!0):!1},j:function(){var a=new b.Ld;this.ta(a);a.d(this.o,this.Qn,this.Rn);return a},v:function(a){b.u.prototype.v.call(this,a);this.Nr=a.scaleX;this.Or=a.scaleY;this.af=this.Qn-this.Nr;this.bf=this.Rn-this.Or},update:function(a){a=this.gd(a);this.target&&(this.target.scaleX=this.Nr+
- this.af*a,this.target.scaleY=this.Or+this.bf*a)}});b.G3=function(a,c,d){return new b.Ld(a,c,d)};b.Ld.create=b.G3;b.$t=b.Ld.extend({v:function(a){b.Ld.prototype.v.call(this,a);this.af=this.Nr*this.Qn-this.Nr;this.bf=this.Or*this.Rn-this.Or},reverse:function(){var a=b.QO(this.o,1/this.Qn,1/this.Rn);this.ta(a);this.ge(a);return a},j:function(){var a=new b.$t;this.ta(a);a.d(this.o,this.Qn,this.Rn);return a}});b.QO=function(a,c,d){return new b.$t(a,c,d)};b.$t.create=b.QO;
- b.Gy=b.u.extend({ac:0,JK:!1,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.ac=c,!0):!1},j:function(){var a=new b.Gy;this.ta(a);a.d(this.o,this.ac);return a},update:function(a){a=this.gd(a);if(this.target&&!this.Gg()){var c=1/this.ac;this.target.visible=a%c>c/2}},v:function(a){b.u.prototype.v.call(this,a);this.JK=a.visible},stop:function(){this.target.visible=this.JK;b.u.prototype.stop.call(this)},reverse:function(){var a=
- b.blink(this.o,this.ac);this.ta(a);this.ge(a);return a}});b.blink=function(a,c){return new b.Gy(a,c)};b.Gy.create=b.blink;
- b.Vi=b.u.extend({Fo:0,dv: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.Fo=c,!0):!1},j:function(){var a=new b.Vi;this.ta(a);a.d(this.o,this.Fo);return a},update:function(a){a=this.gd(a);var c=void 0!==this.dv?this.dv:255;this.target.opacity=c+(this.Fo-c)*a},v:function(a){b.u.prototype.v.call(this,a);this.dv=a.opacity}});b.F_=function(a,c){return new b.Vi(a,c)};b.Vi.create=b.F_;
- b.gq=b.Vi.extend({FC:null,ctor:function(a){b.Vi.prototype.ctor.call(this);a&&this.d(a,255)},reverse:function(){var a=new b.hq;a.d(this.o,0);this.ta(a);this.ge(a);return a},j:function(){var a=new b.gq;this.ta(a);a.d(this.o,this.Fo);return a},v:function(a){this.FC&&(this.Fo=this.FC.dv);b.Vi.prototype.v.call(this,a)}});b.z_=function(a){return new b.gq(a)};b.gq.create=b.z_;
- b.hq=b.Vi.extend({ctor:function(a){b.Vi.prototype.ctor.call(this);a&&this.d(a,0)},reverse:function(){var a=new b.gq;a.FC=this;a.d(this.o,255);this.ta(a);this.ge(a);return a},j:function(){var a=new b.hq;this.ta(a);a.d(this.o,this.Fo);return a}});b.A_=function(a){return new b.hq(a)};b.hq.create=b.A_;
- b.eA=b.u.extend({md:null,Qc:null,ctor:function(a,c,d,e){b.u.prototype.ctor.call(this);this.md=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.md=b.color(c,d,e),!0):!1},j:function(){var a=new b.eA;this.ta(a);var c=this.md;a.d(this.o,c.r,c.g,c.b);return a},v:function(a){b.u.prototype.v.call(this,a);this.Qc=this.target.color},update:function(a){a=this.gd(a);var c=this.Qc,d=this.md;c&&(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.B5=function(a,c,d,e){return new b.eA(a,c,d,e)};b.eA.create=b.B5;
- b.dA=b.u.extend({Pu:0,Ou:0,Nu:0,YJ:0,XJ:0,WJ: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.Pu=c,this.Ou=d,this.Nu=e,!0):!1},j:function(){var a=new b.dA;this.ta(a);a.d(this.o,this.Pu,this.Ou,this.Nu);return a},v:function(a){b.u.prototype.v.call(this,a);a=a.color;this.YJ=a.r;this.XJ=a.g;this.WJ=a.b},update:function(a){a=this.gd(a);this.target.color=b.color(this.YJ+this.Pu*a,this.XJ+this.Ou*a,this.WJ+
- this.Nu*a)},reverse:function(){var a=b.IP(this.o,-this.Pu,-this.Ou,-this.Nu);this.ta(a);this.ge(a);return a}});b.IP=function(a,c,d,e){return new b.dA(a,c,d,e)};b.dA.create=b.IP;b.ud=b.u.extend({update:function(){},reverse:function(){var a=b.Gw(this.o);this.ta(a);this.ge(a);return a},j:function(){var a=new b.ud;this.ta(a);a.d(this.o);return a}});b.Gw=function(a){return new b.ud(a)};b.ud.create=b.Gw;
- b.rq=b.u.extend({mj:null,ctor:function(a){b.u.prototype.ctor.call(this);this.mj=null;a&&this.$(a)},$:function(a){if(!a)throw"cc.ReverseTime.initWithAction(): action must be non null";if(a==this.mj)throw"cc.ReverseTime.initWithAction(): the action was already passed in.";return b.u.prototype.d.call(this,a.o)?(this.mj=a,!0):!1},j:function(){var a=new b.rq;this.ta(a);a.$(this.mj.j());return a},v:function(a){b.u.prototype.v.call(this,a);this.mj.v(a)},update:function(a){a=this.gd(a);this.mj&&this.mj.update(1-
- a)},reverse:function(){return this.mj.j()},stop:function(){this.mj.stop();b.td.prototype.stop.call(this)}});b.NO=function(a){return new b.rq(a)};b.rq.create=b.NO;
- b.mt=b.u.extend({jk:null,ur:0,aC:null,Yu:0,bD:null,ctor:function(a){b.u.prototype.ctor.call(this);this.bD=[];a&&this.BN(a)},PM:function(){return this.jk},M3:function(a){this.jk=a},BN:function(a){if(!a)throw"cc.Animate.initWithAnimation(): animation must be non-NULL";var c=a.ap();if(this.d(c*a.jj)){this.ur=0;this.M3(a);this.aC=null;this.Yu=0;var d=this.bD,e=d.length=0,f=c/a.ui;a=a.Rd;b.Ko(a,b.gg);for(var g=0;g<a.length;g++){var h=e*f/c,e=e+a[g].Qd;d.push(h)}return!0}return!1},j:function(){var a=new b.mt;
- this.ta(a);a.BN(this.jk.j());return a},v:function(a){b.u.prototype.v.call(this,a);this.jk.Yl&&(this.aC=a.WZ());this.Yu=this.ur=0},update:function(a){a=this.gd(a);1>a&&(a*=this.jk.jj,(0|a)>this.Yu&&(this.ur=0,this.Yu++),a%=1);for(var c=this.jk.Rd,d=c.length,e=this.bD,f=this.ur;f<d;f++)if(e[f]<=a)this.target.kl(c[f].yi()),this.ur=f+1;else break},reverse:function(){var a=this.jk,c=a.Rd,d=[];b.Ko(c,b.gg);if(0<c.length)for(var e=c.length-1;0<=e;e--){var f=c[e];if(!f)break;d.push(f.j())}c=b.Nh.create(d,
- a.Qd,a.jj);c.ky(a.Yl);a=b.XL(c);this.ta(a);this.ge(a);return a},stop:function(){this.jk.Yl&&this.target&&this.target.kl(this.aC);b.td.prototype.stop.call(this)}});b.XL=function(a){return new b.mt(a)};b.mt.create=b.XL;
- b.aA=b.u.extend({Fq:null,Vn:null,ctor:function(a,c){b.u.prototype.ctor.call(this);c&&this.hp(a,c)},hp:function(a,c){return this.d(c.o)?(this.Vn=a,this.Fq=c,!0):!1},j:function(){var a=new b.aA;this.ta(a);a.hp(this.Vn,this.Fq.j());return a},v:function(a){b.u.prototype.v.call(this,a);this.Fq.v(this.Vn)},stop:function(){this.Fq.stop()},update:function(a){a=this.gd(a);this.Fq.update(a)},Rba:function(){return this.Vn},Mia:function(a){this.Vn!=a&&(this.Vn=a)}});b.r5=function(a,c){return new b.aA(a,c)};
- b.aA.create=b.r5;b.re=b.Wi.extend({Gg:function(){return!0},step:function(){this.update(1)},update:function(){},reverse:function(){return this.j()},j:function(){return new b.re}});b.mg=b.re.extend({update:function(){this.target.visible=!0},reverse:function(){return b.Qh.create()},j:function(){return new b.mg}});b.show=function(){return new b.mg};b.mg.create=b.show;b.Qh=b.re.extend({update:function(){this.target.visible=!1},reverse:function(){return b.mg.create()},j:function(){return new b.Qh}});b.n1=function(){return new b.Qh};
- b.Qh.create=b.n1;b.ju=b.re.extend({update:function(){this.target.visible=!this.target.visible},reverse:function(){return new b.ju},j:function(){return new b.ju}});b.C5=function(){return new b.ju};b.ju.create=b.C5;b.Ut=b.re.extend({lv:!0,ctor:function(a){b.Wi.prototype.ctor.call(this);void 0!==a&&this.da(a)},update:function(){this.target.GF(this.lv)},da:function(a){this.lv=a;return!0},reverse:function(){return new b.Ut(this.lv)},j:function(){return new b.Ut(this.lv)}});b.t3=function(a){return new b.Ut(a)};
- b.Ut.create=b.t3;b.Jt=b.re.extend({Lb:!1,ctor:function(a){b.Wi.prototype.ctor.call(this);this.Lb=!1;void 0!==a&&this.DN(a)},DN:function(a){this.Lb=a;return!0},update:function(){this.target.flippedX=this.Lb},reverse:function(){return b.Jt.create(!this.Lb)},j:function(){var a=new b.Jt;a.DN(this.Lb);return a}});b.I_=function(a){return new b.Jt(a)};b.Jt.create=b.I_;
- b.Kt=b.re.extend({Mb:!1,ctor:function(a){b.Wi.prototype.ctor.call(this);this.Mb=!1;void 0!==a&&this.EN(a)},EN:function(a){this.Mb=a;return!0},update:function(){this.target.flippedY=this.Mb},reverse:function(){return b.Kt.create(!this.Mb)},j:function(){var a=new b.Kt;a.EN(this.Mb);return a}});b.K_=function(a){return new b.Kt(a)};b.Kt.create=b.K_;
- b.rz=b.re.extend({wh:0,He:0,ctor:function(a,c){b.Wi.prototype.ctor.call(this);this.He=this.wh=0;void 0!==a&&(void 0!==a.x&&(c=a.y,a=a.x),this.JN(a,c))},JN:function(a,c){this.wh=a;this.He=c;return!0},update:function(){this.target.H(this.wh,this.He)},j:function(){var a=new b.rz;a.JN(this.wh,this.He);return a}});b.V2=function(a,c){return new b.rz(a,c)};b.rz.create=b.V2;
- b.Tb=b.re.extend({rj:null,Eu:null,dr:null,Mn:null,ctor:function(a,c,d){b.Wi.prototype.ctor.call(this);void 0!==a&&(void 0===c?this.gx(a):this.gx(a,c,d))},gx:function(a,c,d){c?(this.Mn=d,this.Eu=a,this.rj=c):a&&(this.dr=a);return!0},execute:function(){null!=this.Eu?this.Eu.call(this.rj,this.target,this.Mn):this.dr&&this.dr.call(null,this.target)},update:function(){this.execute()},hda:function(){return this.rj},Lja:function(a){a!=this.rj&&(this.rj&&(this.rj=null),this.rj=a)},j:function(){var a=new b.Tb;
- this.rj?a.gx(this.Eu,this.rj,this.Mn):this.dr&&a.gx(this.dr);return a}});b.XD=function(a,c,d){return new b.Tb(a,c,d)};b.Tb.create=b.XD;b.yy=b.u.extend({SA:0,TA:0,UA:0,PJ:0,QJ:0,RJ:0,HL:0,IL:0,JL:0,ctor:function(){b.u.prototype.ctor.call(this);this.JL=this.IL=this.HL=this.RJ=this.QJ=this.PJ=this.UA=this.TA=this.SA=0},v:function(a){b.u.prototype.v.call(this,a);a=a.Gm();var c=a.SM();this.SA=c.x;this.TA=c.y;this.UA=c.z;c=a.WM();this.PJ=c.x;this.QJ=c.y;this.RJ=c.z;a=a.a1();this.HL=a.x;this.IL=a.y;this.JL=a.z},j:function(){return new b.yy},reverse:function(){return b.NO(this)}});
- b.se=b.yy.extend({Ce:0,aB:0,Iq:0,cJ:0,Yg:0,bJ:0,VK:0,TK:0,UK:0,SK:0,ctor:function(a,c,d,e,f,g,h){b.yy.prototype.ctor.call(this);void 0!==h&&this.d(a,c,d,e,f,g,h)},d:function(a,c,d,e,f,g,h){return b.u.prototype.d.call(this,a)?(this.Ce=c,this.aB=d,this.Iq=e,this.cJ=f,this.Yg=g,this.bJ=h,this.TK=b.Of(f),this.SK=b.Of(h),!0):!1},Y4:function(){var a=this.target.Gm(),c=a.WM(),d=a.SM(),a=c.x-d.x,e=c.y-d.y,c=c.z-d.z,d=Math.sqrt(Math.pow(a,2)+Math.pow(e,2)+Math.pow(c,2)),f=Math.sqrt(Math.pow(a,2)+Math.pow(e,
- 2));0===f&&(f=b.Ht);0===d&&(d=b.Ht);return{E2:d/b.Mp.ws(),Z5:Math.acos(c/d),azimuth:0>a?Math.PI-Math.asin(e/f):Math.asin(e/f)}},v:function(a){b.u.prototype.v.call(this,a);a=this.Y4();isNaN(this.Ce)&&(this.Ce=a.E2);isNaN(this.Iq)&&(this.Iq=b.DF(a.Z5));isNaN(this.Yg)&&(this.Yg=b.DF(a.azimuth));this.VK=b.Of(this.Iq);this.UK=b.Of(this.Yg)},j:function(){var a=new b.se;a.d(this.o,this.Ce,this.aB,this.Iq,this.cJ,this.Yg,this.bJ);return a},update:function(a){a=this.gd(a);var c=(this.Ce+this.aB*a)*b.Mp.ws(),
- d=this.VK+this.TK*a,e=this.UK+this.SK*a;a=Math.sin(d)*Math.cos(e)*c+this.SA;e=Math.sin(d)*Math.sin(e)*c+this.TA;c=Math.cos(d)*c+this.UA;this.target.Gm().bP(a,e,c)}});b.H2=function(a,c,d,e,f,g,h){return new b.se(a,c,d,e,f,g,h)};b.se.create=b.H2;b.Ma=b.u.extend({q:null,ctor:function(a){b.u.prototype.ctor.call(this);a&&this.$(a)},$:function(a){if(!a)throw"cc.ActionEase.initWithAction(): action must be non nil";return this.d(a.ap())?(this.q=a,!0):!1},j:function(){var a=new b.Ma;a.$(this.q.j());return a},v:function(a){b.u.prototype.v.call(this,a);this.q.v(this.target)},stop:function(){this.q.stop();b.u.prototype.stop.call(this)},update:function(a){this.q.update(a)},reverse:function(){return b.Ma.create(this.q.reverse())},EE:function(){return this.q}});
- b.TY=function(a){return new b.Ma(a)};b.Ma.create=b.TY;b.rl=b.Ma.extend({Zb:0,ctor:function(a,c){b.Ma.prototype.ctor.call(this);void 0!==c&&this.$(a,c)},wja:function(a){this.Zb=a},Mca:function(){return this.Zb},$:function(a,c){return b.Ma.prototype.$.call(this,a)?(this.Zb=c,!0):!1},j:function(){var a=new b.rl;a.$(this.q.j(),this.Zb);return a},reverse:function(){return b.rl.create(this.q.reverse(),1/this.Zb)}});b.n_=function(a,c){return new b.rl(a,c)};b.rl.create=b.n_;
- b.Dt=b.rl.extend({update:function(a){this.q.update(Math.pow(a,this.Zb))},reverse:function(){return b.Dt.create(this.q.reverse(),1/this.Zb)},j:function(){var a=new b.Dt;a.$(this.q.j(),this.Zb);return a}});b.Dt.create=function(a,c){return new b.Dt(a,c)};b.k_=function(a){return{Zb:a,Pa:function(a){return Math.pow(a,this.Zb)},reverse:function(){return b.k_(1/this.Zb)}}};
- b.ql=b.rl.extend({update:function(a){this.q.update(Math.pow(a,1/this.Zb))},reverse:function(){return b.ql.create(this.q.reverse(),1/this.Zb)},j:function(){var a=new b.ql;a.$(this.q.j(),this.Zb);return a}});b.ql.create=function(a,c){return new b.ql(a,c)};b.m_=function(a){return{Zb:a,Pa:function(a){return Math.pow(a,1/this.Zb)},reverse:function(){return b.m_(1/this.Zb)}}};
- b.Xp=b.rl.extend({update:function(a){a*=2;1>a?this.q.update(0.5*Math.pow(a,this.Zb)):this.q.update(1-0.5*Math.pow(2-a,this.Zb))},j:function(){var a=new b.Xp;a.$(this.q.j(),this.Zb);return a},reverse:function(){return b.Xp.create(this.q.reverse(),this.Zb)}});b.Xp.create=function(a,c){return new b.Xp(a,c)};b.l_=function(a){return{Zb:a,Pa:function(a){a*=2;return 1>a?0.5*Math.pow(a,this.Zb):1-0.5*Math.pow(2-a,this.Zb)},reverse:function(){return b.l_(this.Zb)}}};
- b.At=b.Ma.extend({update:function(a){this.q.update(0===a?0:Math.pow(2,10*(a-1)))},reverse:function(){return b.Ct.create(this.q.reverse())},j:function(){var a=new b.At;a.$(this.q.j());return a}});b.At.create=function(a){return new b.At(a)};b.wJ={Pa:function(a){return 0===a?0:Math.pow(2,10*(a-1))},reverse:function(){return b.yJ}};b.qaa=function(){return b.wJ};
- b.Ct=b.Ma.extend({update:function(a){this.q.update(1==a?1:-Math.pow(2,-10*a)+1)},reverse:function(){return b.At.create(this.q.reverse())},j:function(){var a=new b.Ct;a.$(this.q.j());return a}});b.Ct.create=function(a){return new b.Ct(a)};b.yJ={Pa:function(a){return 1==a?1:-Math.pow(2,-10*a)+1},reverse:function(){return b.wJ}};b.saa=function(){return b.yJ};
- b.Bt=b.Ma.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.q.update(a)},reverse:function(){return b.Bt.create(this.q.reverse())},j:function(){var a=new b.Bt;a.$(this.q.j());return a}});b.Bt.create=function(a){return new b.Bt(a)};b.xJ={Pa: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.xJ}};b.raa=function(){return b.xJ};
- b.Et=b.Ma.extend({update:function(a){a=0===a||1===a?a:-1*Math.cos(a*Math.PI/2)+1;this.q.update(a)},reverse:function(){return b.Gt.create(this.q.reverse())},j:function(){var a=new b.Et;a.$(this.q.j());return a}});b.Et.create=function(a){return new b.Et(a)};b.IJ={Pa:function(a){return 0===a||1===a?a:-1*Math.cos(a*Math.PI/2)+1},reverse:function(){return b.KJ}};b.Caa=function(){return b.IJ};
- b.Gt=b.Ma.extend({update:function(a){a=0===a||1===a?a:Math.sin(a*Math.PI/2);this.q.update(a)},reverse:function(){return b.Et.create(this.q.reverse())},j:function(){var a=new b.Gt;a.$(this.q.j());return a}});b.Gt.create=function(a){return new b.Gt(a)};b.KJ={Pa:function(a){return 0===a||1==a?a:Math.sin(a*Math.PI/2)},reverse:function(){return b.IJ}};b.Eaa=function(){return b.KJ};
- b.Ft=b.Ma.extend({update:function(a){a=0===a||1===a?a:-0.5*(Math.cos(Math.PI*a)-1);this.q.update(a)},j:function(){var a=new b.Ft;a.$(this.q.j());return a},reverse:function(){return b.Ft.create(this.q.reverse())}});b.Ft.create=function(a){return new b.Ft(a)};b.JJ={Pa:function(a){return 0===a||1===a?a:-0.5*(Math.cos(Math.PI*a)-1)},reverse:function(){return b.JJ}};b.Daa=function(){return b.JJ};
- b.fn=b.Ma.extend({Cb:0.3,ctor:function(a,c){b.Ma.prototype.ctor.call(this);a&&this.$(a,c)},Eca:function(){return this.Cb},sja:function(a){this.Cb=a},$:function(a,c){b.Ma.prototype.$.call(this,a);this.Cb=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.fn;a.$(this.q.j(),this.Cb);return a}});b.fn.create=function(a,c){return new b.fn(a,c)};
- b.xt=b.fn.extend({update:function(a){var c=0;0===a||1===a?c=a:(c=this.Cb/4,a-=1,c=-Math.pow(2,10*a)*Math.sin((a-c)*Math.PI*2/this.Cb));this.q.update(c)},reverse:function(){return b.zt.create(this.q.reverse(),this.Cb)},j:function(){var a=new b.xt;a.$(this.q.j(),this.Cb);return a}});b.xt.create=function(a,c){return new b.xt(a,c)};b.uJ={Pa: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.vJ}};
- b.h_=function(a){return a&&0.3!==a?{Cb:a,Pa:function(a){if(0===a||1===a)return a;a-=1;return-Math.pow(2,10*a)*Math.sin((a-this.Cb/4)*Math.PI*2/this.Cb)},reverse:function(){return b.j_(this.Cb)}}:b.uJ};b.zt=b.fn.extend({update:function(a){var c=0,c=0===a||1==a?a:Math.pow(2,-10*a)*Math.sin((a-this.Cb/4)*Math.PI*2/this.Cb)+1;this.q.update(c)},reverse:function(){return b.xt.create(this.q.reverse(),this.Cb)},j:function(){var a=new b.zt;a.$(this.q.j(),this.Cb);return a}});
- b.zt.create=function(a,c){return new b.zt(a,c)};b.vJ={Pa: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.uJ}};b.j_=function(a){return a&&0.3!==a?{Cb:a,Pa:function(a){return 0===a||1===a?a:Math.pow(2,-10*a)*Math.sin((a-this.Cb/4)*Math.PI*2/this.Cb)+1},reverse:function(){return b.h_(this.Cb)}}:b.vJ};
- b.yt=b.fn.extend({update:function(a){var c=0,c=this.Cb;if(0===a||1==a)c=a;else{c||(c=this.Cb=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.q.update(c)},reverse:function(){return b.yt.create(this.q.reverse(),this.Cb)},j:function(){var a=new b.yt;a.$(this.q.j(),this.Cb);return a}});b.yt.create=function(a,c){return new b.yt(a,c)};
- b.i_=function(a){return{Cb:a||0.3,Pa:function(a){var d=0,d=this.Cb;if(0===a||1===a)d=a;else{d||(d=this.Cb=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.i_(this.Cb)}}};
- b.pl=b.Ma.extend({yw: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.pl;a.$(this.q.j());return a},reverse:function(){return b.pl.create(this.q.reverse())}});b.pl.create=function(a){return new b.pl(a)};
- b.ut=b.pl.extend({update:function(a){this.q.update(1-this.yw(1-a))},reverse:function(){return b.wt.create(this.q.reverse())},j:function(){var a=new b.ut;a.$(this.q.j());return a}});b.ut.create=function(a){return new b.ut(a)};b.Bu=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.lJ={Pa:function(a){return 1-b.Bu(1-a)},reverse:function(){return b.nJ}};b.haa=function(){return b.lJ};
- b.wt=b.pl.extend({update:function(a){this.q.update(this.yw(a))},reverse:function(){return b.ut.create(this.q.reverse())},j:function(){var a=new b.wt;a.$(this.q.j());return a}});b.wt.create=function(a){return new b.wt(a)};b.nJ={Pa:function(a){return b.Bu(a)},reverse:function(){return b.lJ}};b.jaa=function(){return b.nJ};b.vt=b.pl.extend({update:function(a){var c=0,c=0.5>a?0.5*(1-this.yw(1-2*a)):0.5*this.yw(2*a-1)+0.5;this.q.update(c)},j:function(){var a=new b.vt;a.$(this.q.j());return a},reverse:function(){return b.vt.create(this.q.reverse())}});
- b.vt.create=function(a){return new b.vt(a)};b.mJ={Pa:function(a){return a=0.5>a?0.5*(1-b.Bu(1-2*a)):0.5*b.Bu(2*a-1)+0.5},reverse:function(){return b.mJ}};b.iaa=function(){return b.mJ};b.rt=b.Ma.extend({update:function(a){this.q.update(0===a||1==a?a:a*a*(2.70158*a-1.70158))},reverse:function(){return b.tt.create(this.q.reverse())},j:function(){var a=new b.rt;a.$(this.q.j());return a}});b.rt.create=function(a){return new b.rt(a)};b.iJ={Pa:function(a){return 0===a||1===a?a:a*a*(2.70158*a-1.70158)},reverse:function(){return b.kJ}};
- b.eaa=function(){return b.iJ};b.tt=b.Ma.extend({update:function(a){a-=1;this.q.update(a*a*(2.70158*a+1.70158)+1)},reverse:function(){return b.rt.create(this.q.reverse())},j:function(){var a=new b.tt;a.$(this.q.j());return a}});b.tt.create=function(a){return new b.tt(a)};b.kJ={Pa:function(a){a-=1;return a*a*(2.70158*a+1.70158)+1},reverse:function(){return b.iJ}};b.gaa=function(){return b.kJ};
- b.st=b.Ma.extend({update:function(a){a*=2;1>a?this.q.update(a*a*(3.5949095*a-2.5949095)/2):(a-=2,this.q.update(a*a*(3.5949095*a+2.5949095)/2+1))},j:function(){var a=new b.st;a.$(this.q.j());return a},reverse:function(){return b.st.create(this.q.reverse())}});b.st.create=function(a){return new b.st(a)};b.jJ={Pa: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.jJ}};b.faa=function(){return b.jJ};
- b.Qp=b.Ma.extend({Av:null,Bv:null,Cv:null,Dv:null,ctor:function(a){b.Ma.prototype.ctor.call(this,a)},ma: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.q.update(this.ma(this.Av,this.Bv,this.Cv,this.Dv,a))},j:function(){var a=new b.Qp;a.$(this.q.j());a.VO(this.Av,this.Bv,this.Cv,this.Dv);return a},reverse:function(){var a=b.Qp.create(this.q.reverse());a.VO(this.Dv,this.Cv,this.Bv,this.Av);return a},VO:function(a,c,
- d,e){this.Av=a||0;this.Bv=c||0;this.Cv=d||0;this.Dv=e||0}});b.Qp.create=function(a){return new b.Qp(a)};b.g_=function(a,c,d,e){return{Pa:function(f){return b.Qp.prototype.ma(a,c,d,e,f)},reverse:function(){return b.g_(e,d,c,a)}}};b.Yp=b.Ma.extend({ma:function(a){return Math.pow(a,2)},update:function(a){this.q.update(this.ma(a))},j:function(){var a=new b.Yp;a.$(this.q.j());return a},reverse:function(){return b.Yp.create(this.q.reverse())}});b.Yp.create=function(a){return new b.Yp(a)};
- b.zJ={Pa:b.Yp.prototype.ma,reverse:function(){return b.zJ}};b.taa=function(){return b.zJ};b.$p=b.Ma.extend({ma:function(a){return-a*(a-2)},update:function(a){this.q.update(this.ma(a))},j:function(){var a=new b.$p;a.$();return a},reverse:function(){return b.$p.create(this.q.reverse())}});b.$p.create=function(a){return new b.$p(a)};b.BJ={Pa:b.$p.prototype.ma,reverse:function(){return b.BJ}};b.vaa=function(){return b.BJ};
- b.Zp=b.Ma.extend({ma: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.q.update(this.ma(a))},j:function(){var a=new b.Zp;a.$(this.q.j());return a},reverse:function(){return b.Zp.create(this.q.reverse())}});b.Zp.create=function(a){return new b.Zp(a)};b.AJ={Pa:b.Zp.prototype.ma,reverse:function(){return b.AJ}};b.uaa=function(){return b.AJ};
- b.aq=b.Ma.extend({ma:function(a){return a*a*a*a},update:function(a){this.q.update(this.ma(a))},j:function(){var a=new b.aq;a.$(this.q.j());return a},reverse:function(){return b.aq.create(this.q.reverse())}});b.aq.create=function(a){return new b.aq(a)};b.CJ={Pa:b.aq.prototype.ma,reverse:function(){return b.CJ}};b.waa=function(){return b.CJ};b.cq=b.Ma.extend({ma:function(a){a-=1;return-(a*a*a*a-1)},update:function(a){this.q.update(this.ma(a))},j:function(){var a=new b.cq;a.$(this.q.j());return a},reverse:function(){return b.cq.create(this.q.reverse())}});
- b.cq.create=function(a){return new b.cq(a)};b.EJ={Pa:b.cq.prototype.ma,reverse:function(){return b.EJ}};b.yaa=function(){return b.EJ};b.bq=b.Ma.extend({ma: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.q.update(this.ma(a))},j:function(){var a=new b.bq;a.$(this.q.j());return a},reverse:function(){return b.bq.create(this.q.reverse())}});b.bq.create=function(a){return new b.bq(a)};b.DJ={Pa:b.bq.prototype.ma,reverse:function(){return b.DJ}};b.xaa=function(){return b.DJ};
- b.dq=b.Ma.extend({ma:function(a){return a*a*a*a*a},update:function(a){this.q.update(this.ma(a))},j:function(){var a=new b.dq;a.$(this.q.j());return a},reverse:function(){return b.dq.create(this.q.reverse())}});b.dq.create=function(a){return new b.dq(a)};b.FJ={Pa:b.dq.prototype.ma,reverse:function(){return b.FJ}};b.zaa=function(){return b.FJ};
- b.fq=b.Ma.extend({ma:function(a){a-=1;return a*a*a*a*a+1},update:function(a){this.q.update(this.ma(a))},j:function(){var a=new b.fq;a.$(this.q.j());return a},reverse:function(){return b.fq.create(this.q.reverse())}});b.fq.create=function(a){return new b.fq(a)};b.HJ={Pa:b.fq.prototype.ma,reverse:function(){return b.HJ}};b.Baa=function(){return b.HJ};
- b.eq=b.Ma.extend({ma: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.q.update(this.ma(a))},j:function(){var a=new b.eq;a.$(this.q.j());return a},reverse:function(){return b.eq.create(this.q.reverse())}});b.eq.create=function(a){return new b.eq(a)};b.GJ={Pa:b.eq.prototype.ma,reverse:function(){return b.GJ}};b.Aaa=function(){return b.GJ};
- b.Rp=b.Ma.extend({ma:function(a){return-1*(Math.sqrt(1-a*a)-1)},update:function(a){this.q.update(this.ma(a))},j:function(){var a=new b.Rp;a.$(this.q.j());return a},reverse:function(){return b.Rp.create(this.q.reverse())}});b.Rp.create=function(a){return new b.Rp(a)};b.oJ={Pa:b.Rp.prototype.ma,reverse:function(){return b.oJ}};b.kaa=function(){return b.oJ};
- b.Tp=b.Ma.extend({ma:function(a){a-=1;return Math.sqrt(1-a*a)},update:function(a){this.q.update(this.ma(a))},j:function(){var a=new b.Tp;a.$(this.q.j());return a},reverse:function(){return b.Tp.create(this.q.reverse())}});b.Tp.create=function(a){return new b.Tp(a)};b.qJ={Pa:b.Tp.prototype.ma,reverse:function(){return b.qJ}};b.maa=function(){return b.qJ};
- b.Sp=b.Ma.extend({ma: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.q.update(this.ma(a))},j:function(){var a=new b.Sp;a.$(this.q.j());return a},reverse:function(){return b.Sp.create(this.q.reverse())}});b.Sp.create=function(a){return new b.Sp(a)};b.pJ={Pa:b.Sp.prototype.ma,reverse:function(){return b.pJ}};b.laa=function(){return b.pJ};
- b.Up=b.Ma.extend({ma:function(a){return a*a*a},update:function(a){this.q.update(this.ma(a))},j:function(){var a=new b.Up;a.$(this.q.j());return a},reverse:function(){return b.Up.create(this.q.reverse())}});b.Up.create=function(a){return new b.Up(a)};b.rJ={Pa:b.Up.prototype.ma,reverse:function(){return b.rJ}};b.naa=function(){return b.rJ};b.Wp=b.Ma.extend({ma:function(a){a-=1;return a*a*a+1},update:function(a){this.q.update(this.ma(a))},j:function(){var a=new b.Wp;a.$(this.q.j());return a},reverse:function(){return b.Wp.create(this.q.reverse())}});
- b.Wp.create=function(a){return new b.Wp(a)};b.tJ={Pa:b.Wp.prototype.ma,reverse:function(){return b.tJ}};b.paa=function(){return b.tJ};b.Vp=b.Ma.extend({ma: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.q.update(this.ma(a))},j:function(){var a=new b.Vp;a.$(this.q.j());return a},reverse:function(){return b.Vp.create(this.q.reverse())}});b.Vp.create=function(a){return new b.Vp(a)};b.sJ={Pa:b.Vp.prototype.ma,reverse:function(){return b.sJ}};b.oaa=function(){return b.sJ};b.bE=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.MO=function(a){for(var c=[],d=a.length-1;0<=d;d--)c.push(C(a[d].x,a[d].y));return c};b.Dw=function(a){for(var c=[],d=0;d<a.length;d++)c.push(C(a[d].x,a[d].y));return c};b.ed=function(a,c){var d=Math.min(a.length-1,Math.max(c,0));return a[d]};
- b.$ha=function(a){for(var c=a.length,d=0|c/2,e=0;e<d;++e){var f=a[e];a[e]=a[c-e-1];a[c-e-1]=f}};
- b.Ti=b.u.extend({kh:null,dJ:0,zo:0,Sc:null,JI:null,ctor:function(a,c,d){b.u.prototype.ctor.call(this);this.kh=[];void 0!==d&&this.d(a,c,d)},d:function(a,c,d){if(!c||0==c.length)throw"Invalid configuration. It must at least have one control point";return b.u.prototype.d.call(this,a)?(this.r4(c),this.zo=d,!0):!1},j:function(){var a=new b.Ti;a.d(this.o,b.Dw(this.kh),this.zo);return a},v:function(a){b.u.prototype.v.call(this,a);this.dJ=1/(this.kh.length-1);this.Sc=C(this.target.Ke(),this.target.pf());
- this.JI=C(0,0)},update:function(a){a=this.gd(a);var c,d=this.kh;if(1==a)c=d.length-1,a=1;else{var e=this.dJ;c=0|a/e;a=(a-e*c)/e}c=b.bE(b.ed(d,c-1),b.ed(d,c-0),b.ed(d,c+1),b.ed(d,c+2),this.zo,a);b.ot&&(d=this.target.Ke()-this.Sc.x,a=this.target.pf()-this.Sc.y,0!=d||0!=a)&&(e=this.JI,d=e.x+d,a=e.y+a,e.x=d,e.y=a,c.x+=d,c.y+=a);this.SP(c)},reverse:function(){var a=b.MO(this.kh);return b.hM(this.o,a,this.zo)},SP:function(a){this.target.H(a);this.Sc=a},Fca:function(){return this.kh},r4:function(a){this.kh=
- a}});b.hM=function(a,c,d){return new b.Ti(a,c,d)};b.Ti.create=b.hM;
- b.Np=b.Ti.extend({Fc:null,ctor:function(a,c,d){b.Ti.prototype.ctor.call(this);this.Fc=C(0,0);void 0!==d&&this.d(a,c,d)},v:function(a){b.Ti.prototype.v.call(this,a);this.Fc.x=a.Ke();this.Fc.y=a.pf()},reverse:function(){for(var a=this.kh.slice(),c,d=a[0],e=1;e<a.length;++e)c=a[e],a[e]=b.Fd(c,d),d=c;a=b.MO(a);d=a[a.length-1];a.pop();d.x=-d.x;d.y=-d.y;a.unshift(d);for(e=1;e<a.length;++e)c=a[e],c.x=-c.x,c.y=-c.y,c.x+=d.x,c.y+=d.y,d=a[e]=c;return b.gM(this.o,a,this.zo)},SP:function(a){var c=this.Fc,d=a.x+
- c.x;a=a.y+c.y;this.Sc.x=d;this.Sc.y=a;this.target.H(d,a)},j:function(){var a=new b.Np;a.d(this.o,b.Dw(this.kh),this.zo);return a}});b.gM=function(a,c,d){return new b.Np(a,c,d)};b.Np.create=b.gM;b.Ky=b.Ti.extend({ctor:function(a,c){c&&this.d(a,c)},d:function(a,c){return b.Ti.prototype.d.call(this,a,c,0.5)},j:function(){var a=new b.Ky;a.d(this.o,b.Dw(this.kh));return a}});b.DZ=function(a,c){return new b.Ky(a,c)};b.Ky.create=b.DZ;
- b.Jy=b.Np.extend({ctor:function(a,c){b.Np.prototype.ctor.call(this);c&&this.d(a,c)},d:function(a,c){return b.Ti.prototype.d.call(this,a,c,0.5)},j:function(){var a=new b.Jy;a.d(this.o,b.Dw(this.kh));return a}});b.CZ=function(a,c){return new b.Jy(a,c)};b.Jy.create=b.CZ;b.q6=b.oa.extend({M5:function(){}});
- b.zy=b.u.extend({key:"",Jw:0,ty:0,ns:0,ctor:function(a,c,d,e){b.u.prototype.ctor.call(this);this.key="";void 0!==e&&this.d(a,c,d,e)},d:function(a,c,d,e){return b.u.prototype.d.call(this,a)?(this.key=c,this.ty=e,this.Jw=d,!0):!1},v:function(a){if(!a||!a.M5)throw"cc.ActionTween.startWithTarget(): target must be non-null, and target must implement updateTweenAction function";b.u.prototype.v.call(this,a);this.ns=this.ty-this.Jw},update:function(){},reverse:function(){return b.RL(this.duration,this.key,
- this.ty,this.Jw)},j:function(){var a=new b.zy;a.d(this.o,this.key,this.Jw,this.ty);return a}});b.RL=function(a,c,d,e){return new b.zy(a,c,d,e)};b.zy.create=b.RL;b.hc=b.u.extend({X:null,ctor:function(a,c){b.VA();b.u.prototype.ctor.call(this);this.X=N(0,0);c&&this.d(a,c)},j:function(){var a=new b.hc,c=this.X;a.d(this.o,N(c.width,c.height));return a},v:function(a){b.u.prototype.v.call(this,a);var c=this.rs(),d=this.target;(a=d.grid)&&0<a.oi?(c=a.m0(),a.rf()&&c.width==this.X.width&&c.height==this.X.height&&a.KF()):(a&&a.rf()&&a.setActive(!1),d.grid=c,d.grid.setActive(!0))},reverse:function(){return b.rq.create(this)},d:function(a,c){return b.u.prototype.d.call(this,
- a)?(this.X.width=c.width,this.X.height=c.height,!0):!1},rs:function(){b.log("cc.GridAction.getGrid(): it should be overridden in subclass.")}});b.k1=function(a,c){return new b.hc(a,c)};b.hc.create=b.k1;b.Wc=b.hc.extend({rs:function(){return b.az.create(this.X)},XP:function(a){return this.target.grid.XP(a)},Lc:function(a){return this.target.grid.Lc(a)},Hd:function(a,c){this.target.grid.Hd(a,c)}});b.j1=function(a,c){return new b.Wc(a,c)};b.Wc.create=b.j1;
- b.sc=b.hc.extend({HP:function(a){return this.target.grid.HP(a)},Vf:function(a){return this.target.grid.Vf(a)},Re:function(a,c){this.target.grid.Re(a,c)},rs:function(){return b.cA.create(this.X)}});b.A5=function(a,c){return new b.sc(a,c)};b.sc.create=b.A5;b.wl=b.re.extend({v:function(a){b.re.prototype.v.call(this,a);(a=this.target.grid)&&a.rf()&&a.setActive(!1)}});b.m5=function(){return new b.wl};b.wl.create=b.m5;
- b.zH=b.re.extend({ac:null,ctor:function(a){b.re.prototype.ctor.call(this);void 0!==a&&this.z1(a)},z1:function(a){this.ac=a;return!0},v:function(a){b.re.prototype.v.call(this,a);this.target.grid&&this.target.grid.rf()&&this.target.grid.v4(this.target.grid.oi+this.ac)}});b.C3=function(a){return new b.zH(a)};b.zH.create=b.C3;b.AI=b.Wc.extend({mf:0,Za:0,$a:0,ctor:function(a,c,d,e){b.hc.prototype.ctor.call(this);void 0!==e&&this.d(a,c,d,e)},Zo:function(){return this.Za},yp:function(a){this.Za=a},Fm:function(){return this.$a},Tm:function(a){this.$a=a},d:function(a,c,d,e){return b.Wc.prototype.d.call(this,a,c)?(this.mf=d,this.Za=e,this.$a=1,!0):!1},update:function(a){for(var c=this.X,d=this.Za,e=C(0,0),f=this.$a,g=this.mf,h=0;h<c.width+1;++h)for(var k=0;k<c.height+1;++k){e.x=h;e.y=k;var m=this.Lc(e);m.z+=Math.sin(Math.PI*
- a*g*2+0.01*(m.y+m.x))*d*f;this.Hd(e,m)}}});b.T5=function(a,c,d,e){return new b.AI(a,c,d,e)};b.AI.create=b.T5;
- b.Zy=b.Wc.extend({ctor:function(a){void 0!==a?b.hc.prototype.ctor.call(this,a,N(1,1)):b.hc.prototype.ctor.call(this)},d:function(a){return b.Wc.prototype.d.call(this,a,N(1,1))},hx:function(a,c){return 1!=a.width||1!=a.height?(b.log("Grid size must be (1,1)"),!1):b.Wc.prototype.d.call(this,c,a)},update:function(a){var c=Math.PI*a;a=Math.sin(c);var d=Math.cos(c/2),c=new b.tc,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.x,h=e.x,k,m;g>h?(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.Hd(f,a);a=this.Lc(e);a.x=c.x;a.z+=c.z;this.Hd(e,a);a=this.Lc(k);a.x-=c.x;a.z-=c.z;this.Hd(k,a);a=this.Lc(m);a.x-=c.x;a.z-=c.z;this.Hd(m,a)}});b.J_=function(a){return new b.Zy(a)};b.Zy.create=b.J_;
- b.QG=b.Zy.extend({ctor:function(a){void 0!==a?b.hc.prototype.ctor.call(this,a,N(1,1)):b.hc.prototype.ctor.call(this)},update:function(a){var c=Math.PI*a;a=Math.sin(c);var d=Math.cos(c/2),c=new b.tc,e=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.Hd(f,a);a=this.Lc(e);a.y-=c.y;a.z-=c.z;this.Hd(e,a);a=this.Lc(k);
- a.y=c.y;a.z+=c.z;this.Hd(k,a);a=this.Lc(m);a.y-=c.y;a.z-=c.z;this.Hd(m,a)}});b.L_=function(a){return new b.QG(a)};b.QG.create=b.L_;
- b.XG=b.Wc.extend({va:null,Ce:0,qv:0,lV:!1,hb:!1,ctor:function(a,c,d,e){b.hc.prototype.ctor.call(this);this.va=C(0,0);void 0!==e&&this.d(a,c,d,e)},gca:function(){return this.qv},$ia:function(a){this.qv=a},yia:function(a){this.lV=a},Pw:function(){return this.va},H:function(a){b.BF(a,this.va)||(this.va.x=a.x,this.va.y=a.y,this.hb=!0)},d:function(a,c,d,e){return b.Wc.prototype.d.call(this,a,c)?(this.H(d),this.Ce=e,this.qv=0.7,this.hb=!0):!1},update:function(){if(this.hb){for(var a=this.X.width,c=this.X.height,
- d=this.Ce,e=this.qv,f=C(0,0),g=C(0,0),h,k,m,p=0;p<a+1;++p)for(var r=0;r<c+1;++r)f.x=p,f.y=r,h=this.Lc(f),g.x=this.va.x-h.x,g.y=this.va.y-h.y,k=b.dl(g),k<d&&(k=d-k,k/=d,0==k&&(k=0.001),k=Math.log(k)*e,m=Math.exp(k)*d,k=b.dl(g),0<k&&(g.x/=k,g.y/=k,g.x*=m,g.y*=m,h.z+=b.dl(g)*e)),this.Hd(f,h);this.hb=!1}}});b.v2=function(a,c,d,e){return new b.XG(a,c,d,e)};b.XG.create=b.v2;
- b.AH=b.Wc.extend({va:null,Ce:0,mf:0,Za:0,$a:0,ctor:function(a,c,d,e,f,g){b.hc.prototype.ctor.call(this);this.va=C(0,0);void 0!==g&&this.d(a,c,d,e,f,g)},Pw:function(){return this.va},H:function(a){this.va.x=a.x;this.va.y=a.y},Zo:function(){return this.Za},yp:function(a){this.Za=a},Fm:function(){return this.$a},Tm:function(a){this.$a=a},d:function(a,c,d,e,f,g){return b.Wc.prototype.d.call(this,a,c)?(this.H(d),this.Ce=e,this.mf=f,this.Za=g,this.$a=1,!0):!1},update:function(a){for(var c=this.X.width,
- d=this.X.height,e=C(0,0),f=this.Ce,g=this.mf,h=this.Za,k=this.$a,m,p,r=C(0,0),s=0;s<c+1;++s)for(var u=0;u<d+1;++u)e.x=s,e.y=u,m=this.Lc(e),r.x=this.va.x-m.x,r.y=this.va.y-m.y,p=b.dl(r),p<f&&(p=f-p,m.z+=Math.sin(a*Math.PI*g*2+0.1*p)*h*k*Math.pow(p/f,2)),this.Hd(e,m)}});b.D3=function(a,c,d,e,f,g){return new b.AH(a,c,d,e,f,g)};b.AH.create=b.D3;
- b.EH=b.Wc.extend({Fk:0,Ir:!1,ctor:function(a,c,d,e){b.hc.prototype.ctor.call(this);void 0!==e&&this.d(a,c,d,e)},d:function(a,c,d,e){return b.Wc.prototype.d.call(this,a,c)?(this.Fk=d,this.Ir=e,!0):!1},update:function(){for(var a=this.X.width,c=this.X.height,d=this.Fk,e=this.Ir,f=C(0,0),g,h=0;h<a+1;++h)for(var k=0;k<c+1;++k)f.x=h,f.y=k,g=this.Lc(f),g.x+=b.xb()%(2*d)-d,g.y+=b.xb()%(2*d)-d,e&&(g.z+=b.xb()%(2*d)-d),this.Hd(f,g)}});b.Q4=function(a,c,d,e){return new b.EH(a,c,d,e)};b.EH.create=b.Q4;
- b.YG=b.Wc.extend({mf:0,Za:0,$a:0,ctor:function(a,c,d,e){b.hc.prototype.ctor.call(this);void 0!==e&&this.d(a,c,d,e)},Zo:function(){return this.Za},yp:function(a){this.Za=a},Fm:function(){return this.$a},Tm:function(a){this.$a=a},d:function(a,c,d,e){return b.Wc.prototype.d.call(this,a,c)?(this.mf=d,this.Za=e,this.$a=1,!0):!1},update:function(a){for(var c=this.X.width,d=this.X.height,e=C(0,0),f=this.mf,g=this.Za,h=this.$a,k,m=1;m<c;++m)for(var p=1;p<d;++p)e.x=m,e.y=p,k=this.Lc(e),k.x+=Math.sin(a*Math.PI*
- f*2+0.01*k.x)*g*h,k.y+=Math.sin(a*Math.PI*f*2+0.01*k.y)*g*h,this.Hd(e,k)}});b.w2=function(a,c,d,e){return new b.YG(a,c,d,e)};b.YG.create=b.w2;
- b.zI=b.Wc.extend({mf:0,Za:0,$a:0,PL:!1,hK:!1,ctor:function(a,c,d,e,f,g){b.hc.prototype.ctor.call(this);void 0!==g&&this.d(a,c,d,e,f,g)},Zo:function(){return this.Za},yp:function(a){this.Za=a},Fm:function(){return this.$a},Tm:function(a){this.$a=a},d:function(a,c,d,e,f,g){return b.Wc.prototype.d.call(this,a,c)?(this.mf=d,this.Za=e,this.$a=1,this.hK=f,this.PL=g,!0):!1},update:function(a){for(var c=this.X.width,d=this.X.height,e=C(0,0),f=this.PL,g=this.hK,h=this.mf,k=this.Za,m=this.$a,p,r=0;r<c+1;++r)for(var s=
- 0;s<d+1;++s)e.x=r,e.y=s,p=this.Lc(e),f&&(p.x+=Math.sin(a*Math.PI*h*2+0.01*p.y)*k*m),g&&(p.y+=Math.sin(a*Math.PI*h*2+0.01*p.x)*k*m),this.Hd(e,p)}});b.S5=function(a,c,d,e,f,g){return new b.zI(a,c,d,e,f,g)};b.zI.create=b.S5;
- b.tI=b.Wc.extend({va:null,EL:0,Za:0,$a:0,ctor:function(a,c,d,e,f){b.hc.prototype.ctor.call(this);this.va=C(0,0);void 0!==f&&this.d(a,c,d,e,f)},Pw:function(){return this.va},H:function(a){this.va.x=a.x;this.va.y=a.y},Zo:function(){return this.Za},yp:function(a){this.Za=a},Fm:function(){return this.$a},Tm:function(a){this.$a=a},d:function(a,c,d,e,f){return b.Wc.prototype.d.call(this,a,c)?(this.H(d),this.EL=e,this.Za=f,this.$a=1,!0):!1},update:function(a){for(var c=this.va,d=this.X.width,e=this.X.height,
- f=C(0,0),g=0.1*this.Za*this.$a,h=this.EL,k,m,p,r=C(0,0),s=0;s<d+1;++s)for(var u=0;u<e+1;++u)f.x=s,f.y=u,k=this.Lc(f),r.x=s-d/2,r.y=u-e/2,m=b.dl(r)*Math.cos(Math.PI/2+a*Math.PI*h*2)*g,p=Math.sin(m)*(k.y-c.y)+Math.cos(m)*(k.x-c.x),m=Math.cos(m)*(k.y-c.y)-Math.sin(m)*(k.x-c.x),k.x=c.x+p,k.y=c.y+m,this.Hd(f,k)}});b.F5=function(a,c,d,e,f){return new b.tI(a,c,d,e,f)};b.tI.create=b.F5;b.FH=b.sc.extend({Fk:0,Ir:!1,ctor:function(a,c,d,e){b.hc.prototype.ctor.call(this);void 0!==e&&this.d(a,c,d,e)},d:function(a,c,d,e){return b.sc.prototype.d.call(this,a,c)?(this.Fk=d,this.Ir=e,!0):!1},update:function(){for(var a=this.X,c=this.Fk,d=C(0,0),e=0;e<a.width;++e)for(var f=0;f<a.height;++f){d.x=e;d.y=f;var g=this.Vf(d);g.C.x+=b.xb()%(2*c)-c;g.N.x+=b.xb()%(2*c)-c;g.M.x+=b.xb()%(2*c)-c;g.L.x+=b.xb()%(2*c)-c;g.C.y+=b.xb()%(2*c)-c;g.N.y+=b.xb()%(2*c)-c;g.M.y+=b.xb()%(2*c)-c;g.L.y+=b.xb()%(2*c)-
- c;this.Ir&&(g.C.z+=b.xb()%(2*c)-c,g.N.z+=b.xb()%(2*c)-c,g.M.z+=b.xb()%(2*c)-c,g.L.z+=b.xb()%(2*c)-c);this.Re(d,g)}}});b.R4=function(a,c,d,e){return new b.FH(a,c,d,e)};b.FH.create=b.R4;
- b.GH=b.sc.extend({Fk:0,$B:!1,vL:!1,ctor:function(a,c,d,e){b.hc.prototype.ctor.call(this);void 0!==e&&this.d(a,c,d,e)},d:function(a,c,d,e){return b.sc.prototype.d.call(this,a,c)?(this.$B=!1,this.Fk=d,this.vL=e,!0):!1},update:function(){if(!1===this.$B){for(var a=this.X,c=this.Fk,d,e=C(0,0),f=0;f<a.width;++f)for(var g=0;g<a.height;++g)e.x=f,e.y=g,d=this.Vf(e),d.C.x+=b.xb()%(2*c)-c,d.N.x+=b.xb()%(2*c)-c,d.M.x+=b.xb()%(2*c)-c,d.L.x+=b.xb()%(2*c)-c,d.C.y+=b.xb()%(2*c)-c,d.N.y+=b.xb()%(2*c)-c,d.M.y+=b.xb()%
- (2*c)-c,d.L.y+=b.xb()%(2*c)-c,this.vL&&(d.C.z+=b.xb()%(2*c)-c,d.N.z+=b.xb()%(2*c)-c,d.M.z+=b.xb()%(2*c)-c,d.L.z+=b.xb()%(2*c)-c),this.Re(e,d);this.$B=!0}}});b.S4=function(a,c,d,e){return new b.GH(a,c,d,e)};b.GH.create=b.S4;function ea(){this.position=C(0,0);this.i5=C(0,0);this.ns=C(0,0)}
- b.HH=b.sc.extend({HC:0,yj:0,ti:null,Fe:null,ctor:function(a,c,d){b.hc.prototype.ctor.call(this);this.ti=[];this.Fe=[];void 0!==d&&this.d(a,c,d)},d:function(a,c,d){return b.sc.prototype.d.call(this,a,c)?(this.HC=d,this.ti.length=0,this.Fe.length=0,!0):!1},kG:function(a,c){for(var d=c-1;0<=d;d--){var e=0|b.xb()%(d+1),f=a[d];a[d]=a[e];a[e]=f}},AE:function(a){var c=this.X,d=a.width*c.height+a.height;return N(this.ti[d]/c.height-a.width,this.ti[d]%c.height-a.height)},W2:function(a,c){var d=this.Vf(a),
- e=this.target.grid.KE(),f=c.position;d.C.x+=f.x*e.x;d.C.y+=f.y*e.y;d.N.x+=f.x*e.x;d.N.y+=f.y*e.y;d.M.x+=f.x*e.x;d.M.y+=f.y*e.y;d.L.x+=f.x*e.x;d.L.y+=f.y*e.y;this.Re(a,d)},v:function(a){b.sc.prototype.v.call(this,a);a=this.X;this.yj=a.width*a.height;for(var c=this.ti,d=c.length=0;d<this.yj;++d)c[d]=d;this.kG(c,this.yj);for(var c=this.Fe,d=c.length=0,e=N(0,0),f=0;f<a.width;++f)for(var g=0;g<a.height;++g)c[d]=new ea,c[d].position=C(f,g),c[d].i5=C(f,g),e.width=f,e.height=g,c[d].ns=this.AE(e),++d},update:function(a){for(var c=
- 0,d=this.X,e=this.Fe,f,g=C(0,0),h=0;h<d.width;++h)for(var k=0;k<d.height;++k)g.x=h,g.y=k,f=e[c],f.position.x=f.ns.width*a,f.position.y=f.ns.height*a,this.W2(g,f),++c}});b.U4=function(a,c,d){return new b.HH(a,c,d)};b.HH.create=b.U4;
- b.iq=b.sc.extend({sy:function(a,c){var d=this.X.width*c,e=this.X.height*c;return 0==d+e?1:Math.pow((a.width+a.height)/(d+e),6)},rG:function(a){this.Re(a,this.Vf(a))},qG:function(a){this.Re(a,new b.Tt)},LP:function(a,c){var d=this.Vf(a),e=this.target.grid.KE();d.C.x+=e.x/2*(1-c);d.C.y+=e.y/2*(1-c);d.N.x-=e.x/2*(1-c);d.N.y+=e.y/2*(1-c);d.M.x+=e.x/2*(1-c);d.M.y-=e.y/2*(1-c);d.L.x-=e.x/2*(1-c);d.L.y-=e.y/2*(1-c);this.Re(a,d)},update:function(a){for(var c=this.X,d=C(0,0),e=N(0,0),f,g=0;g<c.width;++g)for(var h=
- 0;h<c.height;++h)d.x=g,d.y=h,e.width=g,e.height=h,f=this.sy(e,a),0==f?this.qG(d):1>f?this.LP(d,f):this.rG(d)}});b.D_=function(a,c){return new b.iq(a,c)};b.iq.create=b.D_;b.Xy=b.iq.extend({sy: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.B_=function(a,c){return new b.Xy(a,c)};b.Xy.create=b.B_;
- b.It=b.iq.extend({sy:function(a,c){var d=this.X.height*c;return 0==d?1:Math.pow(a.height/d,6)},LP:function(a,c){var d=this.Vf(a),e=this.target.grid.KE();d.C.y+=e.y/2*(1-c);d.N.y+=e.y/2*(1-c);d.M.y-=e.y/2*(1-c);d.L.y-=e.y/2*(1-c);this.Re(a,d)}});b.E_=function(a,c){return new b.It(a,c)};b.It.create=b.E_;b.Yy=b.It.extend({sy:function(a,c){return 0==a.height?1:Math.pow(this.X.height*(1-c)/a.height,6)}});b.C_=function(a,c){return new b.Yy(a,c)};b.Yy.create=b.C_;
- b.hA=b.sc.extend({HC:null,yj:0,ti:null,ctor:function(a,c,d){b.hc.prototype.ctor.call(this);this.ti=[];void 0!==c&&this.d(a,c,d)},d:function(a,c,d){return b.sc.prototype.d.call(this,a,c)?(this.HC=d||0,this.ti.length=0,!0):!1},kG:function(a,c){for(var d=c-1;0<=d;d--){var e=0|b.xb()%(d+1),f=a[d];a[d]=a[e];a[e]=f}},rG:function(a){this.Re(a,this.Vf(a))},qG:function(a){this.Re(a,new b.Tt)},v:function(a){b.sc.prototype.v.call(this,a);this.yj=this.X.width*this.X.height;a=this.ti;for(var c=a.length=0;c<this.yj;++c)a[c]=
- c;this.kG(a,this.yj)},update:function(a){a=0|a*this.yj;for(var c=this.X,d,e=C(0,0),f=this.ti,g=0;g<this.yj;g++)d=f[g],e.x=0|d/c.height,e.y=d%(0|c.height),g<a?this.qG(e):this.rG(e)}});b.E5=function(a,c,d){return new b.hA(a,c,d)};b.hA.create=b.E5;
- b.BI=b.sc.extend({mf:0,Za:0,$a:0,ctor:function(a,c,d,e){b.hc.prototype.ctor.call(this);void 0!==e&&this.d(a,c,d,e)},Zo:function(){return this.Za},yp:function(a){this.Za=a},Fm:function(){return this.$a},Tm:function(a){this.$a=a},d:function(a,c,d,e){return b.sc.prototype.d.call(this,a,c)?(this.mf=d,this.Za=e,this.$a=1,!0):!1},update:function(a){for(var c=this.X,d=this.mf,e=this.Za,f=this.$a,g=C(0,0),h,k=0;k<c.width;k++)for(var m=0;m<c.height;m++)g.x=k,g.y=m,h=this.Vf(g),h.C.z=Math.sin(a*Math.PI*d*2+
- 0.01*(h.C.y+h.C.x))*e*f,h.N.z=h.C.z,h.M.z=h.C.z,h.L.z=h.C.z,this.Re(g,h)}});b.U5=function(a,c,d,e){return new b.BI(a,c,d,e)};b.BI.create=b.U5;
- b.VG=b.sc.extend({ij:0,Za:0,$a:0,ctor:function(a,c,d,e){b.hc.prototype.ctor.call(this);void 0!==e&&this.d(a,c,d,e)},Zo:function(){return this.Za},yp:function(a){this.Za=a},Fm:function(){return this.$a},Tm:function(a){this.$a=a},d:function(a,c,d,e){return b.sc.prototype.d.call(this,a,c)?(this.ij=d,this.Za=e,this.$a=1,!0):!1},update:function(a){var c=Math.sin(Math.PI*a*this.ij*2)*this.Za*this.$a;a=Math.sin(Math.PI*(a*this.ij*2+1))*this.Za*this.$a;for(var d=this.X,e=this.target.grid,f,g=C(0,0),h=0;h<
- d.width;h++)for(var k=0;k<d.height;k++)g.x=h,g.y=k,f=e.Vf(g),0==(h+k)%2?(f.C.z+=c,f.N.z+=c,f.M.z+=c,f.L.z+=c):(f.C.z+=a,f.N.z+=a,f.M.z+=a,f.L.z+=a),e.Re(g,f)}});b.Q1=function(a,c,d,e){return new b.VG(a,c,d,e)};b.VG.create=b.Q1;
- b.Pz=b.sc.extend({GX:0,ds:null,ctor:function(a,c){b.hc.prototype.ctor.call(this);void 0!==c&&this.d(a,c)},d:function(a,c){this.GX=c;return b.sc.prototype.d.call(this,a,N(1,c))},update:function(a){for(var c=this.X,d=this.ds.width,e,f,g=C(0,0),h=0;h<c.height;++h)g.y=h,e=this.Vf(g),f=1,0==h%2&&(f=-1),e.C.x+=f*d*a,e.N.x+=f*d*a,e.M.x+=f*d*a,e.L.x+=f*d*a,this.Re(g,e)},v:function(a){b.sc.prototype.v.call(this,a);this.ds=b.K.vs()}});b.a5=function(a,c){return new b.Pz(a,c)};b.Pz.create=b.a5;
- b.Oz=b.sc.extend({kV:0,ds:null,ctor:function(a,c){b.hc.prototype.ctor.call(this);void 0!==c&&this.d(a,c)},d:function(a,c){this.kV=c;return b.sc.prototype.d.call(this,a,N(c,1))},update:function(a){for(var c=this.X.width,d=this.ds.height,e,f,g=C(0,0),h=0;h<c;++h)g.x=h,e=this.Vf(g),f=1,0==h%2&&(f=-1),e.C.y+=f*d*a,e.N.y+=f*d*a,e.M.y+=f*d*a,e.L.y+=f*d*a,this.Re(g,e)},v:function(a){b.sc.prototype.v.call(this,a);this.ds=b.K.vs()}});b.Z4=function(a,c){return new b.Oz(a,c)};b.Oz.create=b.Z4;b.Rt=b.Wc.extend({update:function(a){var c=Math.max(0,a-0.25),c=-100-c*c*500,d=+Math.PI/2+-Math.PI/2*Math.sqrt(a);a=Math.sin(d);for(var d=Math.cos(d),e=this.X,f=C(0,0),g=0;g<=e.width;++g)for(var h=0;h<=e.height;++h){f.x=g;f.y=h;var k=this.Lc(f),m=Math.sqrt(k.x*k.x+(k.y-c)*(k.y-c)),p=m*a,r=Math.asin(k.x/m)/a,s=Math.cos(r);k.x=r<=Math.PI?p*Math.sin(r):0;k.y=m+c-p*(1-s)*a;k.z=p*(1-s)*d/7;0.5>k.z&&(k.z=0.5);this.Hd(f,k)}}});b.N2=function(a,c){return new b.Rt(a,c)};b.Rt.create=b.N2;b.Ua=b.k.extend({lc:null,ji:0,$b:null,ih:null,Dl:null,Ad:!1,ub:"ProgressTimer",B0:function(){return C(this.ih.x,this.ih.y)},k4:function(a){this.ih=b.nO(a)},S_:function(){return C(this.Dl.x,this.Dl.y)},O3:function(a){this.Dl=b.nO(a)},OE:function(){return this.lc},I0:function(){return this.ji},lN:function(){return this.$b},p4:function(a){this.ji!=a&&(this.ji=b.Uc(a,0,100),this.wD())},Oe:function(){},Tf:function(){return!1},K1:function(){return this.Ad},OA:function(a){if(a<b.Ua.JH){var c=b.Ua.zT;return this.Ad?
- 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)},zv:null,hD:270,gB:270,Ce:0,ZA:!1,JA:null,nd:0,zc:null,lf:null,DD:null,$r:!1,ctor:null,Sq:function(a){b.k.prototype.ctor.call(this);this.lc=b.Ua.Sh;this.ji=0;this.ih=C(0,0);this.Dl=C(0,0);this.Ad=!1;this.$b=null;this.zv=C(0,0);this.gB=this.hD=270;this.Ce=0;this.ZA=!1;this.JA=P(0,0,0,0);a&&this.iK(a)},Tq:function(a){b.k.prototype.ctor.call(this);this.lc=b.Ua.Sh;this.ji=0;this.ih=C(0,0);this.Dl=C(0,0);this.Ad=!1;this.$b=null;
- this.DD=b.l.createBuffer();this.nd=0;this.lf=this.zc=null;this.$r=!1;a&&this.jK(a)},cb:function(a){this.$b.color=a;this.bc()},Sa:function(a){this.$b.opacity=a;this.bc()},Eg:function(){return this.$b.color},Fg:function(){return this.$b.opacity},oP:null,aY:function(a){this.Ad!==a&&(this.Ad=a)},bY:function(a){this.Ad!==a&&(this.Ad=a,this.lf=this.zc=null,this.nd=0)},my:null,gY:function(a){this.$b!=a&&(this.$b=a,this.width=this.$b.width,this.height=this.$b.height)},hY:function(a){a&&this.$b!=a&&(this.$b=
- a,this.width=a.width,this.height=a.height,this.zc&&(this.lf=this.zc=null,this.nd=0))},gG:null,oY:function(a){a!==this.lc&&(this.lc=a)},pY:function(a){a!==this.lc&&(this.zc&&(this.lf=this.zc=null,this.nd=0),this.lc=a)},ZF:null,ZX:function(a){this.Ad!==a&&(this.Ad=a)},$X:function(a){this.Ad!==a&&(this.Ad=a,this.lf=this.zc=null,this.nd=0)},ke:function(a){var c=this.$b;if(!c)return{ea:0,fa:0};var d=c.quad,e=C(d.C.m.ea,d.C.m.fa),d=C(d.L.m.ea,d.L.m.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}},le:function(a){if(!this.$b)return{x:0,y:0};var c=this.$b.quad,d=C(c.C.f.x,c.C.f.y),c=C(c.L.f.x,c.L.f.y);return{x:d.x*(1-a.x)+c.x*a.x,y:d.y*(1-a.y)+c.y*a.y}},KN:null,iK:function(a){this.percentage=0;this.anchorY=this.anchorX=0.5;this.lc=b.Ua.Sh;this.Ad=!1;this.midPoint=C(0.5,0.5);this.barChangeRate=C(1,1);this.sprite=a;return!0},jK:function(a){this.percentage=0;this.lf=this.zc=null;this.nd=0;this.anchorY=this.anchorX=0.5;this.lc=b.Ua.Sh;this.Ad=!1;this.midPoint=
- C(0.5,0.5);this.barChangeRate=C(1,1);this.sprite=a;this.shaderProgram=b.Id.nc(b.Yi);return!0},Y:null,Hl:function(a){a=a||b.l;var c=this.$b;c.jo&&(a.globalCompositeOperation="lighter");var d=b.view.ja,e=b.view.Ka;a.globalAlpha=c.fb/255;var f=c.ha,g=c.O,h=c.Hb,k=c.eB,m=0|h.x,p=-h.y-f.height,r=c.em;k.width=f.width*d;k.height=f.height*e;a.save();c.Lb&&(m=-h.x-f.width,a.scale(-1,1));c.Mb&&(p=h.y,a.scale(1,-1));m*=d;p*=e;this.lc==b.Ua.zl?(f=this.JA,a.beginPath(),a.rect(f.x*d,f.y*e,f.width*d,f.height*e),
- a.clip(),a.closePath()):this.lc==b.Ua.Sh&&(f=this.zv.x*d,h=this.zv.y*e,a.beginPath(),a.arc(f,h,this.Ce*e,Math.PI/180*this.hD,Math.PI/180*this.gB,this.ZA),a.lineTo(f,h),a.clip(),a.closePath());c.G&&r.an?(d=c.G.Wa,this.Qq?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.Sf()},cj:function(a){a=a||b.l;if(this.zc&&
- this.$b){b.Hs(this);var c=this.$b.Bh();b.Fh(c.src,c.S);b.Ic(b.Al);b.oe(this.$b.texture);a.bindBuffer(a.ARRAY_BUFFER,this.DD);this.$r&&(a.bufferData(a.ARRAY_BUFFER,this.lf,a.DYNAMIC_DRAW),this.$r=!1);c=b.vd.BYTES_PER_ELEMENT;a.vertexAttribPointer(b.pb,2,a.FLOAT,!1,c,0);a.vertexAttribPointer(b.ve,4,a.UNSIGNED_BYTE,!0,c,8);a.vertexAttribPointer(b.wd,2,a.FLOAT,!1,c,12);this.lc===b.Ua.Sh?a.drawArrays(a.TRIANGLE_FAN,0,this.nd):this.lc==b.Ua.zl&&(this.Ad?(a.drawArrays(a.TRIANGLE_STRIP,0,this.nd/2),a.drawArrays(a.TRIANGLE_STRIP,
- 4,this.nd/2),b.of++):a.drawArrays(a.TRIANGLE_STRIP,0,this.nd));b.of++}},PY:function(){if(this.$b){var a,c=this.ih;a=this.ji/100;var d=C(c.x,1),e=b.L2(d,c,2*b.PI*(this.Ad?a:1-a)),f=0;if(0==a)e=d,f=0;else if(1==a)e=d,f=4;else{var g=b.bR,h=b.Ua.JH;for(a=0;a<=h;++a){var k=this.OA(a%h),m=this.OA((a+(h-1))%h);0==a?m=b.qO(k,m,1-c.x):4==a&&(k=b.qO(k,m,1-c.x));var p=C(0,0);b.xF(k,m,c,e,p)&&(0!=a&&4!=a||0<=p.x&&1>=p.x)&&0<=p.y&&p.y<g&&(g=p.y,f=a)}e=b.Hi(c,b.Ii(b.Fd(e,c),g))}g=!0;this.nd!=f+3&&(g=!1,this.lf=
- this.zc=null,this.nd=0);if(!this.zc){h=this.nd=f+3;k=b.vd.BYTES_PER_ELEMENT;this.lf=new ArrayBuffer(h*k);m=[];for(a=0;a<h;a++)m[a]=new b.vd(null,null,null,this.lf,a*k);this.zc=m;if(!this.zc){b.log("cc.ProgressTimer._updateRadial() : Not enough memory");return}}this.bc();h=this.zc;if(!g)for(h[0].m=this.ke(c),h[0].f=this.le(c),h[1].m=this.ke(d),h[1].f=this.le(d),a=0;a<f;a++)c=this.OA(a),h[a+2].m=this.ke(c),h[a+2].f=this.le(c);h[this.nd-1].m=this.ke(e);h[this.nd-1].f=this.le(e)}},JY:function(){if(this.$b){var a,
- c=this.ji/100,d=this.Dl,d=b.Ii(C(1-d.x+c*d.x,1-d.y+c*d.y),0.5),c=b.Fd(this.ih,d),d=b.Hi(this.ih,d);0>c.x&&(d.x+=-c.x,c.x=0);1<d.x&&(c.x-=d.x-1,d.x=1);0>c.y&&(d.y+=-c.y,c.y=0);1<d.y&&(c.y-=d.y-1,d.y=1);if(this.Ad){if(!this.zc){this.nd=8;var e=b.vd.BYTES_PER_ELEMENT;this.lf=new ArrayBuffer(8*e);var f=[];for(a=0;8>a;a++)f[a]=new b.vd(null,null,null,this.lf,a*e);f[0].m=this.ke(C(0,1));f[0].f=this.le(C(0,1));f[1].m=this.ke(C(0,0));f[1].f=this.le(C(0,0));f[6].m=this.ke(C(1,1));f[6].f=this.le(C(1,1));f[7].m=
- this.ke(C(1,0));f[7].f=this.le(C(1,0));this.zc=f}a=this.zc;a[2].m=this.ke(C(c.x,d.y));a[2].f=this.le(C(c.x,d.y));a[3].m=this.ke(C(c.x,c.y));a[3].f=this.le(C(c.x,c.y));a[4].m=this.ke(C(d.x,d.y));a[4].f=this.le(C(d.x,d.y));a[5].m=this.ke(C(d.x,c.y));a[5].f=this.le(C(d.x,c.y))}else{if(!this.zc)for(this.nd=4,e=b.vd.BYTES_PER_ELEMENT,this.lf=new ArrayBuffer(4*e),this.zc=[],a=0;4>a;a++)this.zc[a]=new b.vd(null,null,null,this.lf,a*e);a=this.zc;a[0].m=this.ke(C(c.x,d.y));a[0].f=this.le(C(c.x,d.y));a[1].m=
- this.ke(C(c.x,c.y));a[1].f=this.le(C(c.x,c.y));a[2].m=this.ke(C(d.x,d.y));a[2].f=this.le(C(d.x,d.y));a[3].m=this.ke(C(d.x,c.y));a[3].f=this.le(C(d.x,c.y))}this.bc()}},bc:function(){if(this.$b&&this.zc){for(var a=this.$b.quad.M.s,c=this.zc,d=0,e=this.nd;d<e;++d)c[d].s=a;this.$r=!0}},wD:null,LY:function(){var a=this.$b,c=a.width,d=a.height,e=this.ih;if(this.lc==b.Ua.Sh){this.Ce=Math.round(Math.sqrt(c*c+d*d));var f,g=!1,h=this.zv;h.x=c*e.x;h.y=-d*e.y;this.Ad?(f=270,e=270-3.6*this.ji):(e=-90,f=-90+3.6*
- this.ji);a.Lb&&(h.x-=2*c*this.ih.x,e=-e-180,f=-f-180,g=!g);a.Mb&&(h.y+=2*d*this.ih.y,g=!g,e=-e,f=-f);this.hD=e;this.gB=f;this.ZA=g}else{f=this.Dl;h=this.ji/100;g=this.JA;f=N(c*(1-f.x),d*(1-f.y));var h=N((c-f.width)*h,(d-f.height)*h),h=N(f.width+h.width,f.height+h.height),k=C(c*e.x,d*e.y);f=k.x-h.width/2;0.5<e.x&&h.width/2>=c-k.x&&(f=c-h.width);c=k.y-h.height/2;0.5<e.y&&h.height/2>=d-k.y&&(c=d-h.height);g.x=0;d=1;a.Lb&&(g.x-=h.width,d=-1);0<f&&(g.x+=f*d);g.y=0;d=1;a.Mb&&(g.y+=h.height,d=-1);0<c&&(g.y-=
- c*d);g.width=h.width;g.height=-h.height}},MY:function(){var a=this.lc;a===b.Ua.Sh?this.PY():a===b.Ua.zl&&this.JY();this.$r=!0}});n=b.Ua.prototype;b.A==b.V?(n.ctor=n.Tq,n.oP=n.bY,n.my=n.hY,n.gG=n.pY,n.ZF=n.$X,n.KN=n.jK,n.Y=n.cj,n.wD=n.MY):(n.ctor=n.Sq,n.oP=n.aY,n.my=n.gY,n.gG=n.oY,n.ZF=n.ZX,n.KN=n.iK,n.Y=n.Hl,n.wD=b.Ua.prototype.LY);b.i(n,"midPoint",n.B0,n.k4);b.i(n,"barChangeRate",n.S_,n.O3);b.i(n,"type",n.OE,n.gG);b.i(n,"percentage",n.I0,n.p4);b.i(n,"sprite",n.lN,n.my);b.i(n,"reverseDir",n.K1,n.ZF);
- b.Ua.create=function(a){return new b.Ua(a)};b.Ua.JH=4;b.Ua.zT=75;b.Ua.Sh=0;b.Ua.zl=1;b.uz=b.u.extend({md:0,Qc:0,ctor:function(a,c){b.u.prototype.ctor.call(this);this.Qc=this.md=0;void 0!==c&&this.d(a,c)},d:function(a,c){return b.u.prototype.d.call(this,a)?(this.md=c,!0):!1},j:function(){var a=new b.uz;a.d(this.o,this.md);return a},reverse:function(){b.log("cc.ProgressTo.reverse(): reverse hasn't been supported.");return null},v:function(a){b.u.prototype.v.call(this,a);this.Qc=a.percentage;100==this.Qc&&(this.Qc=0)},update:function(a){this.target instanceof b.Ua&&(this.target.percentage=
- this.Qc+(this.md-this.Qc)*a)}});b.e3=function(a,c){return new b.uz(a,c)};b.uz.create=b.e3;
- b.St=b.u.extend({md:0,Qc:0,ctor:function(a,c,d){b.u.prototype.ctor.call(this);this.Qc=this.md=0;void 0!==d&&this.d(a,c,d)},d:function(a,c,d){return b.u.prototype.d.call(this,a)?(this.md=d,this.Qc=c,!0):!1},j:function(){var a=new b.St;a.d(this.o,this.Qc,this.md);return a},reverse:function(){return b.St.create(this.o,this.md,this.Qc)},v:function(a){b.u.prototype.v.call(this,a)},update:function(a){this.target instanceof b.Ua&&(this.target.percentage=this.Qc+(this.md-this.Qc)*a)}});
- b.wO=function(a,c,d){return new b.St(a,c,d)};b.St.create=b.wO;b.sq=4208917214;b.y8=0;b.Xj=1;b.hu=0;b.x8=1;
- b.ca=b.Wj.extend({ka:null,bb:null,o:null,gh:!1,sK:!1,ub:"TransitionScene",ctor:function(a,c){b.Wj.prototype.ctor.call(this);void 0!==a&&void 0!==c&&this.d(a,c)},nL:function(){this.$m(this.nL);var a=b.K;this.sK=a.Gk;a.by(this.ka);b.na.pe(!0);this.bb.visible=!0},pi:function(){this.gh=!0},Y:function(){this.gh?(this.bb.R(),this.ka.R()):(this.ka.R(),this.bb.R())},Z:function(){b.k.prototype.Z.call(this);b.na.pe(!1);this.bb.Uf();this.ka.Z()},rb:function(){b.k.prototype.rb.call(this);b.na.pe(!0);this.bb.rb();
- this.ka.Jh()},Je:function(){b.k.prototype.Je.call(this);this.sK&&this.bb.Je()},d:function(a,c){if(!c)throw"cc.TransitionScene.initWithDuration(): Argument scene must be non-nil";if(this.da()){this.o=a;this.Jb({x:0,y:0,anchorX:0,anchorY:0});this.ka=c;this.bb=b.K.bd;this.bb||(this.bb=b.Wj.create(),this.bb.da());if(this.ka==this.bb)throw"cc.TransitionScene.initWithDuration(): Incoming scene must be different from the outgoing scene";this.pi();return!0}return!1},finish:function(){this.ka.Jb({visible:!0,
- x:0,y:0,scale:1,rotation:0});b.A===b.V&&this.ka.Gm().restore();this.bb.Jb({visible:!1,x:0,y:0,scale:1,rotation:0});b.A===b.V&&this.bb.Gm().restore();this.Sm(this.nL,0)},ax:function(){this.ka.visible=!0;this.bb.visible=!1}});b.ca.create=function(a,c){return new b.ca(a,c)};b.Ze=b.ca.extend({Tl:0,ctor:function(a,c,d){b.ca.prototype.ctor.call(this);void 0!=d&&this.d(a,c,d)},d:function(a,c,d){b.ca.prototype.d.call(this,a,c)&&(this.Tl=d);return!0}});b.Ze.create=function(a,c,d){return new b.Ze(a,c,d)};
- b.jI=b.ca.extend({ctor:function(a,c){b.ca.prototype.ctor.call(this);c&&this.d(a,c)},Z:function(){b.ca.prototype.Z.call(this);this.ka.Jb({scale:0.001,anchorX:0.5,anchorY:0.5});this.bb.Jb({scale:1,anchorX:0.5,anchorY:0.5});var a=b.Ja.create(b.Xe.create(b.$t.create(this.o/2,0.001),b.Wt.create(this.o/2,720)),b.ud.create(this.o/2));this.bb.Ra(a);this.ka.Ra(b.Ja.create(a.reverse(),b.Tb.create(this.finish,this)))}});b.jI.create=function(a,c){return new b.jI(a,c)};
- b.$H=b.ca.extend({ctor:function(a,c){b.ca.prototype.ctor.call(this);c&&this.d(a,c)},Z:function(){b.ca.prototype.Z.call(this);var a=b.K.za();this.ka.Jb({scale:0.5,x:a.width,y:0,anchorX:0.5,anchorY:0.5});this.bb.anchorX=0.5;this.bb.anchorY=0.5;var c=b.Tj.create(this.o/4,C(-a.width,0),a.width/4,2),d=b.Ld.create(this.o/4,1),a=b.Ld.create(this.o/4,0.5),a=b.Ja.create(a,c),c=b.Ja.create(c,d),d=b.ud.create(this.o/2);this.bb.Ra(a);this.ka.Ra(b.Ja.create(d,c,b.Tb.create(this.finish,this)))}});
- b.$H.create=function(a,c){return new b.$H(a,c)};b.ak=b.ca.extend({ctor:function(a,c){b.ca.prototype.ctor.call(this);c&&this.d(a,c)},Z:function(){b.ca.prototype.Z.call(this);this.Ej();var a=this.action();this.ka.Ra(b.Ja.create(this.Pf(a),b.Tb.create(this.finish,this)))},Ej:function(){this.ka.H(-b.K.za().width,0)},action:function(){return b.Nt.create(this.o,C(0,0))},Pf:function(a){return b.ql.create(a,2)}});b.ak.create=function(a,c){return new b.ak(a,c)};
- b.bI=b.ak.extend({ctor:function(a,c){b.ak.prototype.ctor.call(this);c&&this.d(a,c)},Ej:function(){this.ka.H(b.K.za().width,0)}});b.bI.create=function(a,c){return new b.bI(a,c)};b.cI=b.ak.extend({ctor:function(a,c){b.ak.prototype.ctor.call(this);c&&this.d(a,c)},Ej:function(){this.ka.H(0,b.K.za().height)}});b.cI.create=function(a,c){return new b.cI(a,c)};b.aI=b.ak.extend({ctor:function(a,c){b.ak.prototype.ctor.call(this);c&&this.d(a,c)},Ej:function(){this.ka.H(0,-b.K.za().height)}});
- b.aI.create=function(a,c){return new b.aI(a,c)};b.Rj=0.5;
- b.bk=b.ca.extend({ctor:function(a,c){b.ca.prototype.ctor.call(this);c&&this.d(a,c)},pi:function(){this.gh=!1},Z:function(){b.ca.prototype.Z.call(this);this.Ej();var a=this.action(),c=this.action(),a=this.Pf(a),c=b.Ja.create(this.Pf(c),b.Tb.create(this.finish,this));this.ka.Ra(a);this.bb.Ra(c)},Ej:function(){this.ka.H(-b.K.za().width+b.Rj,0)},action:function(){return b.Xg.create(this.o,C(b.K.za().width-b.Rj,0))},Pf:function(a){return b.ql.create(a,2)}});
- b.bk.create=function(a,c){return new b.bk(a,c)};b.mI=b.bk.extend({ctor:function(a,c){b.bk.prototype.ctor.call(this);c&&this.d(a,c)},pi:function(){this.gh=!0},Ej:function(){this.ka.H(b.K.za().width-b.Rj,0)},action:function(){return b.Xg.create(this.o,C(-(b.K.za().width-b.Rj),0))}});b.mI.create=function(a,c){return new b.mI(a,c)};
- b.lI=b.bk.extend({ctor:function(a,c){b.bk.prototype.ctor.call(this);c&&this.d(a,c)},pi:function(){this.gh=!1},Ej:function(){this.ka.H(0,-(b.K.za().height-b.Rj))},action:function(){return b.Xg.create(this.o,C(0,b.K.za().height-b.Rj))}});b.lI.create=function(a,c){return new b.lI(a,c)};
- b.nI=b.bk.extend({ctor:function(a,c){b.bk.prototype.ctor.call(this);c&&this.d(a,c)},pi:function(){this.gh=!0},Ej:function(){this.ka.H(0,b.K.za().height-b.Rj)},action:function(){return b.Xg.create(this.o,C(0,-(b.K.za().height-b.Rj)))}});b.nI.create=function(a,c){return new b.nI(a,c)};
- b.kI=b.ca.extend({ctor:function(a,c){b.ca.prototype.ctor.call(this);c&&this.d(a,c)},Z:function(){b.ca.prototype.Z.call(this);this.ka.Jb({scale:0.001,anchorX:2/3,anchorY:0.5});this.bb.Jb({scale:1,anchorX:1/3,anchorY:0.5});var a=b.Ld.create(this.o,0.01),c=b.Ld.create(this.o,1);this.ka.Ra(this.Pf(c));this.bb.Ra(b.Ja.create(this.Pf(a),b.Tb.create(this.finish,this)))},Pf:function(a){return b.ql.create(a,2)}});b.kI.create=function(a,c){return new b.kI(a,c)};
- b.YH=b.Ze.extend({ctor:function(a,c,d){b.Ze.prototype.ctor.call(this);d=d||b.Xj;c&&this.d(a,c,d)},Z:function(){b.ca.prototype.Z.call(this);var a,c;this.ka.visible=!1;var d;this.Tl===b.Xj?(a=90,d=270,c=90):(a=-90,d=90,c=-90);a=b.Ja.create(b.ud.create(this.o/2),b.mg.create(),b.se.create(this.o/2,1,0,d,a,0,0),b.Tb.create(this.finish,this));c=b.Ja.create(b.se.create(this.o/2,1,0,0,c,0,0),b.Qh.create(),b.ud.create(this.o/2));this.ka.Ra(a);this.bb.Ra(c)}});
- b.YH.create=function(a,c,d){return new b.YH(a,c,d)};b.ZH=b.Ze.extend({ctor:function(a,c,d){b.Ze.prototype.ctor.call(this);d=d||b.hu;c&&this.d(a,c,d)},Z:function(){b.ca.prototype.Z.call(this);var a,c;this.ka.visible=!1;var d;this.Tl==b.hu?(a=90,d=270,c=90):(a=-90,d=90,c=-90);a=b.Ja.create(b.ud.create(this.o/2),b.mg.create(),b.se.create(this.o/2,1,0,d,a,90,0),b.Tb.create(this.finish,this));c=b.Ja.create(b.se.create(this.o/2,1,0,0,c,90,0),b.Qh.create(),b.ud.create(this.o/2));this.ka.Ra(a);this.bb.Ra(c)}});
- b.ZH.create=function(a,c,d){return new b.ZH(a,c,d)};b.XH=b.Ze.extend({ctor:function(a,c,d){b.Ze.prototype.ctor.call(this);d=d||b.Xj;c&&this.d(a,c,d)},Z:function(){b.ca.prototype.Z.call(this);var a,c;this.ka.visible=!1;var d;this.Tl===b.Xj?(a=90,d=270,c=90):(a=-90,d=90,c=-90);a=b.Ja.create(b.ud.create(this.o/2),b.mg.create(),b.se.create(this.o/2,1,0,d,a,-45,0),b.Tb.create(this.finish,this));c=b.Ja.create(b.se.create(this.o/2,1,0,0,c,45,0),b.Qh.create(),b.ud.create(this.o/2));this.ka.Ra(a);this.bb.Ra(c)}});
- b.XH.create=function(a,c,d){return new b.XH(a,c,d)};
- b.rI=b.Ze.extend({ctor:function(a,c,d){b.Ze.prototype.ctor.call(this);d=d||b.Xj;c&&this.d(a,c,d)},Z:function(){b.ca.prototype.Z.call(this);var a,c;this.ka.visible=!1;var d;this.Tl===b.Xj?(a=90,d=270,c=90):(a=-90,d=90,c=-90);a=b.Ja.create(b.ud.create(this.o/2),b.Xe.create(b.se.create(this.o/2,1,0,d,a,0,0),b.Ld.create(this.o/2,1),b.mg.create()),b.Tb.create(this.finish,this));c=b.Ja.create(b.Xe.create(b.se.create(this.o/2,1,0,0,c,0,0),b.Ld.create(this.o/2,0.5)),b.Qh.create(),b.ud.create(this.o/2));this.ka.scale=
- 0.5;this.ka.Ra(a);this.bb.Ra(c)}});b.rI.create=function(a,c,d){return new b.rI(a,c,d)};
- b.sI=b.Ze.extend({ctor:function(a,c,d){b.Ze.prototype.ctor.call(this);d=d||b.hu;c&&this.d(a,c,d)},Z:function(){b.ca.prototype.Z.call(this);var a,c;this.ka.visible=!1;var d;this.Tl===b.hu?(a=90,d=270,c=90):(a=-90,d=90,c=-90);a=b.Ja.create(b.ud.create(this.o/2),b.Xe.create(b.se.create(this.o/2,1,0,d,a,90,0),b.Ld.create(this.o/2,1),b.mg.create()),b.Tb.create(this.finish,this));c=b.Ja.create(b.Xe.create(b.se.create(this.o/2,1,0,0,c,90,0),b.Ld.create(this.o/2,0.5)),b.Qh.create(),b.ud.create(this.o/2));
- this.ka.scale=0.5;this.ka.Ra(a);this.bb.Ra(c)}});b.sI.create=function(a,c,d){return new b.sI(a,c,d)};
- b.qI=b.Ze.extend({ctor:function(a,c,d){b.Ze.prototype.ctor.call(this);d=d||b.Xj;c&&this.d(a,c,d)},Z:function(){b.ca.prototype.Z.call(this);var a,c;this.ka.visible=!1;var d;this.Tl===b.Xj?(a=90,d=270,c=90):(a=-90,d=90,c=-90);a=b.Ja.create(b.ud.create(this.o/2),b.Xe.create(b.se.create(this.o/2,1,0,d,a,-45,0),b.Ld.create(this.o/2,1),b.mg.create()),b.mg.create(),b.Tb.create(this.finish,this));c=b.Ja.create(b.Xe.create(b.se.create(this.o/2,1,0,0,c,45,0),b.Ld.create(this.o/2,0.5)),b.Qh.create(),b.ud.create(this.o/
- 2));this.ka.scale=0.5;this.ka.Ra(a);this.bb.Ra(c)}});b.qI.create=function(a,c,d){return new b.qI(a,c,d)};
- b.TH=b.ca.extend({be:null,ctor:function(a,c,d){b.ca.prototype.ctor.call(this);this.be=b.color();c&&this.d(a,c,d)},Z:function(){b.ca.prototype.Z.call(this);var a=b.Xc.create(this.be);this.ka.visible=!1;this.T(a,2,b.sq);var a=this.Ch(b.sq),c=b.Ja.create(b.gq.create(this.o/2),b.Tb.create(this.ax,this),b.hq.create(this.o/2),b.Tb.create(this.finish,this));a.Ra(c)},rb:function(){b.ca.prototype.rb.call(this);this.Vx(b.sq,!1)},d:function(a,c,d){d=d||b.color.BLACK;b.ca.prototype.d.call(this,a,c)&&(this.be.r=
- d.r,this.be.g=d.g,this.be.b=d.b,this.be.a=0);return!0}});b.TH.create=function(a,c,d){return new b.TH(a,c,d)};
- b.SH=b.ca.extend({ctor:function(a,c){b.ca.prototype.ctor.call(this);c&&this.d(a,c)},Z:function(){b.ca.prototype.Z.call(this);var a=b.color(0,0,0,0),c=b.K.za(),a=b.Xc.create(a),d=b.rn.create(c.width,c.height);if(null!=d){d.sprite.anchorX=0.5;d.sprite.anchorY=0.5;d.Jb({x:c.width/2,y:c.height/2,anchorX:0.5,anchorY:0.5});d.yh();this.ka.R();d.end();var e=b.rn.create(c.width,c.height);e.H(c.width/2,c.height/2);e.sprite.anchorX=e.anchorX=0.5;e.sprite.anchorY=e.anchorY=0.5;e.yh();this.bb.R();e.end();d.sprite.Me(b.ONE,
- b.ONE);e.sprite.Me(b.SRC_ALPHA,b.ONE_MINUS_SRC_ALPHA);a.T(d);a.T(e);d.sprite.opacity=255;e.sprite.opacity=255;c=b.Ja.create(b.Vi.create(this.o,0),b.Tb.create(this.ax,this),b.Tb.create(this.finish,this));e.sprite.Ra(c);this.T(a,2,b.sq)}},rb:function(){this.Vx(b.sq,!1);b.ca.prototype.rb.call(this)},Y:function(){}});b.SH.create=function(a,c){return new b.SH(a,c)};
- b.pI=b.ca.extend({ctor:function(a,c){b.ca.prototype.ctor.call(this);c&&this.d(a,c)},pi:function(){this.gh=!1},Z:function(){b.ca.prototype.Z.call(this);var a=b.K.za(),a=b.hA.create(this.o,N(0|a.width/a.height*12,12)),a=this.Pf(a);this.bb.Ra(b.Ja.create(a,b.Tb.create(this.finish,this),b.wl.create()))},Pf:function(a){return a}});b.pI.create=function(a,c){return new b.pI(a,c)};
- b.ku=b.ca.extend({ctor:function(a,c){b.ca.prototype.ctor.call(this);c&&this.d(a,c)},Z:function(){b.ca.prototype.Z.call(this);this.ka.visible=!1;var a=this.action(),a=b.Ja.create(a,b.Tb.create(this.ax,this),a.reverse());this.Ra(b.Ja.create(this.Pf(a),b.Tb.create(this.finish,this),b.wl.create()))},Pf:function(a){return b.Xp.create(a,3)},action:function(){return b.Oz.create(this.o/2,3)}});b.ku.create=function(a,c){return new b.ku(a,c)};
- b.oI=b.ku.extend({ctor:function(a,c){b.ku.prototype.ctor.call(this);c&&this.d(a,c)},action:function(){return b.Pz.create(this.o/2,3)}});b.oI.create=function(a,c){return new b.oI(a,c)};
- b.$j=b.ca.extend({ctor:function(a,c){b.ca.prototype.ctor.call(this);c&&this.d(a,c)},pi:function(){this.gh=!1},Z:function(){b.ca.prototype.Z.call(this);var a=b.K.za(),a=this.Io(N(0|a.width/a.height*12,12));this.bb.Ra(b.Ja.create(this.Pf(a),b.Tb.create(this.finish,this),b.wl.create()))},Pf:function(a){return a},Io:function(a){return b.iq.create(this.o,a)}});b.$j.create=function(a,c){return new b.$j(a,c)};
- b.UH=b.$j.extend({ctor:function(a,c){b.$j.prototype.ctor.call(this);c&&this.d(a,c)},Io:function(a){return b.Xy.create(this.o,a)}});b.UH.create=function(a,c){return new b.UH(a,c)};b.WH=b.$j.extend({ctor:function(a,c){b.$j.prototype.ctor.call(this);c&&this.d(a,c)},Io:function(a){return b.It.create(this.o,a)}});b.WH.create=function(a,c){return new b.WH(a,c)};b.VH=b.$j.extend({ctor:function(a,c){b.$j.prototype.ctor.call(this);c&&this.d(a,c)},Io:function(a){return b.Yy.create(this.o,a)}});
- b.VH.create=function(a,c){return new b.VH(a,c)};b.BH=49153;
- b.Ye=b.ca.extend({md:0,Qc:0,Qv:null,ub:"TransitionProgress",ctor:function(a,c){b.ca.prototype.ctor.call(this);c&&this.d(a,c)},$l:function(a,c,d){a.Jb({x:c,y:d,anchorX:0.5,anchorY:0.5})},Z:function(){b.ca.prototype.Z.call(this);this.tL();var a=b.K.za(),c=b.rn.create(a.width,a.height);c.sprite.anchorX=0.5;c.sprite.anchorY=0.5;this.$l(c,a.width/2,a.height/2);c.clear(0,0,0,1);c.yh();this.Qv.R();c.end();this.Qv==this.bb&&this.ax();a=this.Vl(c);c=b.OF(b.wO(this.o,this.Qc,this.md),b.XD(this.finish,this));
- a.Ra(c);this.T(a,2,b.BH)},rb:function(){this.Vx(b.BH,!0);b.ca.prototype.rb.call(this)},tL:function(){this.Qv=this.bb;this.Qc=100;this.md=0},Vl:function(){b.log("cc.TransitionProgress._progressTimerNodeWithRenderTexture(): should be overridden in subclass");return null},pi:function(){this.gh=!1}});b.Ye.create=function(a,c){return new b.Ye(a,c)};
- b.hI=b.Ye.extend({ctor:function(a,c){b.Ye.prototype.ctor.call(this);c&&this.d(a,c)},Vl:function(a){var c=b.K.za();a=b.Ua.create(a.sprite);b.A===b.V&&(a.sprite.flippedY=!0);a.type=b.Ua.Sh;a.reverseDir=!1;a.percentage=100;this.$l(a,c.width/2,c.height/2);return a}});b.hI.create=function(a,c){return new b.hI(a,c)};
- b.gA=b.Ye.extend({ctor:function(a,c){b.Ye.prototype.ctor.call(this);c&&this.d(a,c)},Vl:function(a){var c=b.K.za();a=b.Ua.create(a.sprite);b.A===b.V&&(a.sprite.flippedY=!0);a.type=b.Ua.Sh;a.reverseDir=!0;a.percentage=100;this.$l(a,c.width/2,c.height/2);return a}});b.gA.create=function(a,c){var d=new b.gA;return null!=d&&d.d(a,c)?d:new b.gA(a,c)};
- b.eI=b.Ye.extend({ctor:function(a,c){b.Ye.prototype.ctor.call(this);c&&this.d(a,c)},Vl:function(a){var c=b.K.za();a=b.Ua.create(a.sprite);b.A===b.V&&(a.sprite.flippedY=!0);a.type=b.Ua.zl;a.midPoint=C(1,0);a.barChangeRate=C(1,0);a.percentage=100;this.$l(a,c.width/2,c.height/2);return a}});b.eI.create=function(a,c){return new b.eI(a,c)};
- b.iI=b.Ye.extend({ctor:function(a,c){b.Ye.prototype.ctor.call(this);c&&this.d(a,c)},Vl:function(a){var c=b.K.za();a=b.Ua.create(a.sprite);b.A===b.V&&(a.sprite.flippedY=!0);a.type=b.Ua.zl;a.midPoint=C(0,0);a.barChangeRate=C(0,1);a.percentage=100;this.$l(a,c.width/2,c.height/2);return a}});b.iI.create=function(a,c){return new b.iI(a,c)};
- b.fI=b.Ye.extend({ctor:function(a,c){b.Ye.prototype.ctor.call(this);c&&this.d(a,c)},Vl:function(a){var c=b.K.za();a=b.Ua.create(a.sprite);b.A===b.V&&(a.sprite.flippedY=!0);a.type=b.Ua.zl;a.midPoint=C(0.5,0.5);a.barChangeRate=C(1,1);a.percentage=0;this.$l(a,c.width/2,c.height/2);return a},pi:function(){this.gh=!1},tL:function(){this.Qv=this.ka;this.Qc=0;this.md=100}});b.fI.create=function(a,c){return new b.fI(a,c)};
- b.gI=b.Ye.extend({ctor:function(a,c){b.Ye.prototype.ctor.call(this);c&&this.d(a,c)},Vl:function(a){var c=b.K.za();a=b.Ua.create(a.sprite);b.A===b.V&&(a.sprite.flippedY=!0);a.type=b.Ua.zl;a.midPoint=C(0.5,0.5);a.barChangeRate=C(1,1);a.percentage=100;this.$l(a,c.width/2,c.height/2);return a}});b.gI.create=function(a,c){return new b.gI(a,c)};b.dI=b.ca.extend({ctor:function(a,c,d){b.ca.prototype.ctor.call(this);this.d(a,c,d)},zu:!0,ub:"TransitionPageTurn",d:function(a,c,d){this.zu=d;b.ca.prototype.d.call(this,a,c);return!0},Io:function(a){return this.zu?b.rq.create(b.Rt.create(this.o,a)):b.Rt.create(this.o,a)},Z:function(){b.ca.prototype.Z.call(this);var a=b.K.za(),c;a.width>a.height?(a=16,c=12):(a=12,c=16);a=this.Io(N(a,c));this.zu?(this.ka.visible=!1,this.ka.Ra(b.Ja.create(b.mg.create(),a,b.Tb.create(this.finish,this),b.wl.create()))):
- this.bb.Ra(b.Ja.create(a,b.Tb.create(this.finish,this),b.wl.create()))},pi:function(){this.gh=this.zu}});b.dI.create=function(a,c,d){return new b.dI(a,c,d)};b.ia={name:"Jacob__Codec"};b.J5=function(){return b.ia.Da.Xw.apply(b.ia.Da,arguments)};b.K5=function(){var a=b.ia.ol.sM.apply(b.ia.ol,arguments);return b.ia.Da.Xw.apply(b.ia.Da,[a])};b.RP=function(a,c){c=c||1;var d=this.K5(a),e=[],f,g,h;f=0;for(h=d.length/c;f<h;f++)for(e[f]=0,g=c-1;0<=g;--g)e[f]+=d.charCodeAt(f*c+g)<<8*g;return e};b.Jka=function(a,c){c=c||1;var d=this.J5(a),e=[],f,g,h;f=0;for(h=d.length/c;f<h;f++)for(e[f]=0,g=c-1;0<=g;--g)e[f]+=d.charCodeAt(f*c+g)<<8*g;return e};
- b.j8=function(a){a=a.split(",");var c=[],d;for(d=0;d<a.length;d++)c.push(parseInt(a[d]));return c};b.ia.ol={name:"Jacob__Codec__Base64"};b.ia.ol.mv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d";
- b.ia.ol.sM=function(a){var c=[],d,e,f,g,h,k=0;for(a=a.replace(/[^A-Za-z0-9\+\/\=]/g,"");k<a.length;)d=this.mv.indexOf(a.charAt(k++)),e=this.mv.indexOf(a.charAt(k++)),g=this.mv.indexOf(a.charAt(k++)),h=this.mv.indexOf(a.charAt(k++)),d=d<<2|e>>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.ia.ol.tM=function(a,c){var d=this.sM(a),e=[],f,g,h;f=0;for(h=d.length/c;f<h;f++)for(e[f]=0,g=c-1;0<=g;--g)e[f]+=d.charCodeAt(f*c+g)<<8*g;return e};b.G5=function(a){if(0!=a.length%4)return null;for(var c=a.length/4,d=window.I8?new Uint32Array(c):[],e=0;e<c;e++){var f=4*e;d[e]=a[f]+256*a[f+1]+65536*a[f+2]+16777216*a[f+3]}return d};b.ia.Da=function(a){this.data=a;this.debug=!1;this.Dj=void 0;this.files=0;this.wy=[];this.TD=Array(32768);this.xh=0;this.Ex=!1;this.fM=0;this.wi=1;this.Lo=0;this.np=[];this.JM=void 0;this.Es=Array(b.ia.Da.CR);this.xm=Array(32);this.it=0;this.sz=null;this.Ih=0;this.Xo=Array(17);this.Xo[0]=0;this.OM=this.MM=void 0};b.ia.Da.Xw=function(a){return(new b.ia.Da(a)).Xw()[0][0]};b.ia.Da.bz=function(){this.ww=this.vw=0;this.kF=null;this.S1=-1};b.ia.Da.CR=288;b.ia.Da.dH=256;
- b.ia.Da.RD=[0,128,64,192,32,160,96,224,16,144,80,208,48,176,112,240,8,136,72,200,40,168,104,232,24,152,88,216,56,184,120,248,4,132,68,196,36,164,100,228,20,148,84,212,52,180,116,244,12,140,76,204,44,172,108,236,28,156,92,220,60,188,124,252,2,130,66,194,34,162,98,226,18,146,82,210,50,178,114,242,10,138,74,202,42,170,106,234,26,154,90,218,58,186,122,250,6,134,70,198,38,166,102,230,22,150,86,214,54,182,118,246,14,142,78,206,46,174,110,238,30,158,94,222,62,190,126,254,1,129,65,193,33,161,97,225,17,145,
- 81,209,49,177,113,241,9,137,73,201,41,169,105,233,25,153,89,217,57,185,121,249,5,133,69,197,37,165,101,229,21,149,85,213,53,181,117,245,13,141,77,205,45,173,109,237,29,157,93,221,61,189,125,253,3,131,67,195,35,163,99,227,19,147,83,211,51,179,115,243,11,139,75,203,43,171,107,235,27,155,91,219,59,187,123,251,7,135,71,199,39,167,103,231,23,151,87,215,55,183,119,247,15,143,79,207,47,175,111,239,31,159,95,223,63,191,127,255];
- b.ia.Da.pM=[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,0,0];b.ia.Da.qM=[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,99,99];b.ia.Da.oM=[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];b.ia.Da.So=[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];b.ia.Da.border=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];
- b.ia.Da.prototype.Xw=function(){this.Os=[];fa(this);return this.wy};b.ia.Da.prototype.Q=function(){this.Lo+=8;return this.fM<this.data.length?this.data.charCodeAt(this.fM++):-1};function ha(a){var c;a.Lo++;c=a.wi&1;a.wi>>=1;0==a.wi&&(a.wi=a.Q(),c=a.wi&1,a.wi=a.wi>>1|128);return c}function T(a,c){for(var d=0,e=c;e--;)d=d<<1|ha(a);c&&(d=b.ia.Da.RD[d]>>8-c);return d}function la(a,c){a.TD[a.xh++]=c;a.Os.push(String.fromCharCode(c));32768==a.xh&&(a.xh=0)}
- function ma(a){for(;;){if(a.Xo[a.Ih]>=a.OM)return-1;if(a.MM[a.Xo[a.Ih]]==a.Ih)return a.Xo[a.Ih]++;a.Xo[a.Ih]++}}function na(a){var c=a.sz[a.it],d;if(17==a.Ih)return-1;a.it++;a.Ih++;d=ma(a);if(0<=d)c.vw=d;else if(c.vw=32768,na(a))return-1;d=ma(a);if(0<=d)c.ww=d,c.kF=null;else if(c.ww=32768,c.kF=a.sz[a.it],c.S1=a.it,na(a))return-1;a.Ih--;return 0}function oa(a,c,d,e){a.sz=c;a.it=0;a.MM=e;a.OM=d;for(c=0;17>c;c++)a.Xo[c]=0;a.Ih=0;return na(a)?-1:0}
- function pa(a,c){for(var d,e,f=0,g=c[f];;)if(d=ha(a)){if(!(g.ww&32768))return g.ww;g=g.kF;d=c.length;for(e=0;e<d;e++)if(c[e]===g){f=e;break}}else{if(!(g.vw&32768))return g.vw;f++;g=c[f]}return-1}
- function qa(a){var c,d,e,f,g;do if(c=ha(a),e=T(a,2),0==e)for(a.wi=1,e=a.Q(),e|=a.Q()<<8,d=a.Q(),d|=a.Q()<<8,(e^~d)&65535&&document.write("BlockLen checksum mismatch\n");e--;)d=a.Q(),la(a,d);else if(1==e)for(;;)if(e=b.ia.Da.RD[T(a,7)]>>1,23<e?(e=e<<1|ha(a),199<e?(e-=128,e=e<<1|ha(a)):(e-=48,143<e&&(e+=136))):e+=256,256>e)la(a,e);else if(256==e)break;else{var h;e-=257;g=T(a,b.ia.Da.qM[e])+b.ia.Da.pM[e];e=b.ia.Da.RD[T(a,5)]>>3;8<b.ia.Da.So[e]?(h=T(a,8),h|=T(a,b.ia.Da.So[e]-8)<<8):h=T(a,b.ia.Da.So[e]);
- h+=b.ia.Da.oM[e];for(e=0;e<g;e++)d=a.TD[a.xh-h&32767],la(a,d)}else if(2==e){var k=Array(320);d=257+T(a,5);h=1+T(a,5);f=4+T(a,4);for(e=0;19>e;e++)k[e]=0;for(e=0;e<f;e++)k[b.ia.Da.border[e]]=T(a,3);g=a.xm.length;for(f=0;f<g;f++)a.xm[f]=new b.ia.Da.bz;if(oa(a,a.xm,19,k)){a.xh=0;return}g=d+h;f=0;for(var m=-1;f<g;)if(m++,e=pa(a,a.xm),16>e)k[f++]=e;else if(16==e){var p;e=3+T(a,2);if(f+e>g){a.xh=0;return}for(p=f?k[f-1]:0;e--;)k[f++]=p}else{e=17==e?3+T(a,3):11+T(a,7);if(f+e>g){a.xh=0;return}for(;e--;)k[f++]=
- 0}g=a.Es.length;for(f=0;f<g;f++)a.Es[f]=new b.ia.Da.bz;if(oa(a,a.Es,d,k)){a.xh=0;return}g=a.Es.length;for(f=0;f<g;f++)a.xm[f]=new b.ia.Da.bz;e=[];for(f=d;f<k.length;f++)e[f-d]=k[f];if(oa(a,a.xm,h,e)){a.xh=0;return}for(;;)if(e=pa(a,a.Es),256<=e){e-=256;if(0==e)break;e--;g=T(a,b.ia.Da.qM[e])+b.ia.Da.pM[e];e=pa(a,a.xm);8<b.ia.Da.So[e]?(h=T(a,8),h|=T(a,b.ia.Da.So[e]-8)<<8):h=T(a,b.ia.Da.So[e]);for(h+=b.ia.Da.oM[e];g--;)d=a.TD[a.xh-h&32767],la(a,d)}else la(a,e)}while(!c);a.xh=0;a.wi=1}
- function fa(a){a.Os=[];a.Ex=!1;var c=[];c[0]=a.Q();c[1]=a.Q();120==c[0]&&218==c[1]&&(qa(a),a.wy[a.files]=[a.Os.join(""),"geonext.gxt"],a.files++);31==c[0]&&139==c[1]&&(sa(a),a.wy[a.files]=[a.Os.join(""),"file"],a.files++);if(80==c[0]&&75==c[1]&&(a.Ex=!0,c[2]=a.Q(),c[3]=a.Q(),3==c[2]&&4==c[3])){c[0]=a.Q();c[1]=a.Q();a.Dj=a.Q();a.Dj|=a.Q()<<8;c=a.Q();c|=a.Q()<<8;a.Q();a.Q();a.Q();a.Q();a.Q();a.Q();a.Q();a.Q();a.Q();a.Q();a.Q();a.Q();var d=a.Q(),d=d|a.Q()<<8,e=a.Q(),e=e|a.Q()<<8,f=0;for(a.np=[];d--;){var g=
- a.Q();"/"==g|":"==g?f=0:f<b.ia.Da.dH-1&&(a.np[f++]=String.fromCharCode(g))}a.JM||(a.JM=a.np);for(var f=0;f<e;)a.Q(),f++;8==c&&(qa(a),a.wy[a.files]=[a.Os.join(""),a.np.join("")],a.files++);sa(a)}}
- function sa(a){var c=[],d;a.Dj&8&&(c[0]=a.Q(),c[1]=a.Q(),c[2]=a.Q(),c[3]=a.Q(),a.Q(),a.Q(),a.Q(),a.Q(),a.Q(),a.Q(),a.Q(),a.Q());a.Ex&&fa(a);c[0]=a.Q();if(8==c[0]){a.Dj=a.Q();a.Q();a.Q();a.Q();a.Q();a.Q();a.Q();if(a.Dj&4)for(c[0]=a.Q(),c[2]=a.Q(),a.Ih=c[0]+256*c[1],c=0;c<a.Ih;c++)a.Q();if(a.Dj&8)for(c=0,a.np=[];d=a.Q();){if("7"==d||":"==d)c=0;c<b.ia.Da.dH-1&&(a.np[c++]=d)}if(a.Dj&16)for(;a.Q(););a.Dj&2&&(a.Q(),a.Q());qa(a);a.Q();a.Q();a.Q();a.Q();a.Ex&&fa(a)}};/*
- zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License */
- (function(){function a(a){throw a;}function c(a,c){var d=a.split("."),e=E;d[0]in e||!e.execScript||e.execScript("var "+d[0]);for(var f;d.length&&(f=d.shift());)d.length||c===G?e=e[f]?e[f]:e[f]={}:e[f]=c}function d(a){if("string"===typeof a){a=a.split("");var c,d;c=0;for(d=a.length;c<d;c++)a[c]=(a[c].charCodeAt(0)&255)>>>0}c=1;d=0;for(var e=a.length,f,g=0;0<e;){f=1024<e?1024:e;e-=f;do c+=a[g++],d+=c;while(--f);c%=65521;d%=65521}return(d<<16|c)>>>0}function e(c,d){this.index="number"===typeof d?d:0;
- this.ys=0;this.buffer=c instanceof(A?Uint8Array:Array)?c:new (A?Uint8Array:Array)(32768);2*this.buffer.length<=this.index&&a(Error("invalid index"));this.buffer.length<=this.index&&this.Ah()}function f(a){this.buffer=new (A?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;s<c;++s)a[s]>d&&(d=a[s]),a[s]<e&&(e=a[s]);f=1<<d;g=new (A?Uint32Array:Array)(f);h=1;k=0;for(m=2;h<=d;){for(s=0;s<c;++s)if(a[s]===h){p=0;r=k;for(t=0;t<h;++t)p=
- p<<1|r&1,r>>=1;for(t=p;t<f;t+=m)g[t]=h<<16|s;++k}++h;k<<=1;m<<=1}return[g,d,e]}function h(a,c){this.fp=O;this.D=0;this.input=a;this.b=0;c&&(c.t2&&(this.D=c.t2),"number"===typeof c.gE&&(this.fp=c.gE),c.Lx&&(this.a=A&&c.Lx instanceof Array?new Uint8Array(c.Lx):c.Lx),"number"===typeof c.I2&&(this.b=c.I2));this.a||(this.a=new (A?Uint8Array:Array)(32768))}function k(a,c){this.length=a;this.dR=c}function m(){var c=R;switch(I){case 3===c:return[257,c-3,0];case 4===c:return[258,c-4,0];case 5===c:return[259,
- c-5,0];case 6===c:return[260,c-6,0];case 7===c:return[261,c-7,0];case 8===c:return[262,c-8,0];case 9===c:return[263,c-9,0];case 10===c:return[264,c-10,0];case 12>=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.dR,g=[],h=0,k;k=W[c.length];g[h++]=k&65535;g[h++]=k>>16&255;g[h++]=k>>24;var m;switch(I){case 1===f:m=[0,f-1,0];break;case 2===f:m=[1,f-
- 2,0];break;case 3===f:m=[2,f-3,0];break;case 4===f:m=[3,f-4,0];break;case 6>=f:m=[4,f-5,1];break;case 8>=f:m=[5,f-7,1];break;case 12>=f:m=[6,f-9,2];break;case 16>=f:m=[7,f-13,2];break;case 24>=f:m=[8,f-17,3];break;case 32>=f:m=[9,f-25,3];break;case 48>=f:m=[10,f-33,4];break;case 64>=f:m=[11,f-49,4];break;case 96>=f:m=[12,f-65,5];break;case 128>=f:m=[13,f-97,5];break;case 192>=f:m=[14,f-129,6];break;case 256>=f:m=[15,f-193,6];break;case 384>=f:m=[16,f-257,7];break;case 512>=f:m=[17,f-385,7];break;
- case 768>=f:m=[18,f-513,8];break;case 1024>=f:m=[19,f-769,8];break;case 1536>=f:m=[20,f-1025,9];break;case 2048>=f:m=[21,f-1537,9];break;case 3072>=f:m=[22,f-2049,10];break;case 4096>=f:m=[23,f-3073,10];break;case 6144>=f:m=[24,f-4097,11];break;case 8192>=f:m=[25,f-6145,11];break;case 12288>=f:m=[26,f-8193,12];break;case 16384>=f:m=[27,f-12289,12];break;case 24576>=f:m=[28,f-16385,13];break;case 32768>=f:m=[29,f-24577,13];break;default:a("invalid distance")}k=m;g[h++]=k[0];g[h++]=k[1];g[h++]=k[2];
- f=0;for(h=g.length;f<h;++f)t[u++]=g[f];w[g[0]]++;x[g[3]]++;v=c.length+d-1;s=null}var f,g,h,m,p,r={},s,t=A?new Uint16Array(2*d.length):[],u=0,v=0,w=new (A?Uint32Array:Array)(286),x=new (A?Uint32Array:Array)(30),B=c.D,y;if(!A){for(h=0;285>=h;)w[h++]=0;for(h=0;29>=h;)x[h++]=0}w[256]=1;f=0;for(g=d.length;f<g;++f){h=p=0;for(m=3;h<m&&f+h!==g;++h)p=p<<8|d[f+h];r[p]===G&&(r[p]=[]);h=r[p];if(!(0<v--)){for(;0<h.length&&32768<f-h[0];)h.shift();if(f+3>=g){s&&e(s,-1);h=0;for(m=g-f;h<m;++h)y=d[f+h],t[u++]=y,++w[y];
- break}if(0<h.length){p=m=G;var D=0,F=G,E=G,J=F=G,M=d.length,E=0,J=h.length;a:for(;E<J;E++){m=h[J-E-1];F=3;if(3<D){for(F=D;3<F;F--)if(d[m+F-1]!==d[f+F-1])continue a;F=D}for(;258>F&&f+F<M&&d[m+F]===d[f+F];)++F;F>D&&(p=m,D=F);if(258===F)break}m=new k(D,f-p);s?s.length<m.length?(y=d[f-1],t[u++]=y,++w[y],e(m,0)):e(s,-1):m.length<B?s=m:e(m,0)}else s?e(s,-1):(y=d[f],t[u++]=y,++w[y])}h.push(f)}t[u++]=256;w[256]++;c.yR=w;c.qR=x;return A?t.subarray(0,u):t}function r(a,c){function d(a){var c=t[a][u[a]];c===
- r?(d(a+1),d(a+1)):--s[c];++u[a]}var e=a.length,g=new f(572),h=new (A?Uint8Array:Array)(e),k,m,p;if(!A)for(m=0;m<e;m++)h[m]=0;for(m=0;m<e;++m)0<a[m]&&g.push(m,a[m]);e=Array(g.length/2);k=new (A?Uint32Array:Array)(g.length/2);if(1===e.length)return h[g.pop().index]=1,h;m=0;for(p=g.length/2;m<p;++m)e[m]=g.pop(),k[m]=e[m].value;var r=k.length;m=new (A?Uint16Array:Array)(c);var g=new (A?Uint8Array:Array)(c),s=new (A?Uint8Array:Array)(r);p=Array(c);var t=Array(c),u=Array(c),v=(1<<c)-r,w=1<<c-1,x,y,B;m[c-
- 1]=r;for(x=0;x<c;++x)v<w?g[x]=0:(g[x]=1,v-=w),v<<=1,m[c-2-x]=(m[c-1-x]/2|0)+r;m[0]=g[0];p[0]=Array(m[0]);t[0]=Array(m[0]);for(x=1;x<c;++x)m[x]>2*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;v<r;++v)s[v]=c;for(w=0;w<m[c-1];++w)p[c-1][w]=k[w],t[c-1][w]=w;for(v=0;v<c;++v)u[v]=0;1===g[c-1]&&(--s[0],++u[c-1]);for(x=c-2;0<=x;--x){y=v=0;B=u[x+1];for(w=0;w<m[x];w++)y=p[x+1][B]+p[x+1][B+1],y>k[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;m<p;++m)h[e[m].index]=k[m];return h}function s(c){var d=new (A?Uint16Array:Array)(c.length),e=[],f=[],g=0,h,k,m;h=0;for(k=c.length;h<k;h++)e[c[h]]=(e[c[h]]|0)+1;h=1;for(k=16;h<=k;h++)f[h]=g,g+=e[h]|0,g>1<<h&&a("overcommitted"),g<<=1;65536>g&&a("undercommitted");h=0;for(k=c.length;h<k;h++)for(g=f[c[h]],f[c[h]]+=1,e=d[h]=0,m=c[h];e<m;e++)d[h]=d[h]<<1|g&1,g>>>=1;return d}function u(a,c){this.input=a;this.a=new (A?Uint8Array:Array)(32768);this.fp=M.nx;var d={},e;!c&&(c={})||"number"!==
- typeof c.gE||(this.fp=c.gE);for(e in c)d[e]=c[e];d.Lx=this.a;this.z=new h(this.input,d)}function t(c,d){this.ox=[];this.yx=32768;this.Dg=this.g=this.B=this.Tx=0;this.input=A?new Uint8Array(c):c;this.LF=!1;this.Cx=ia;this.BG=!1;if(d||!(d={}))d.index&&(this.B=d.index),d.UD&&(this.yx=d.UD),d.VD&&(this.Cx=d.VD),d.resize&&(this.BG=d.resize);switch(this.Cx){case ra:this.b=32768;this.a=new (A?Uint8Array:Array)(32768+this.yx+258);break;case ia:this.b=0;this.a=new (A?Uint8Array:Array)(this.yx);this.Ah=this.pR;
- this.nG=this.fR;this.Gx=this.jR;break;default:a(Error("invalid inflate mode"))}}function v(c,d){for(var e=c.g,f=c.Dg,g=c.input,h=c.B,k;f<d;)k=g[h++],k===G&&a(Error("input buffer is broken")),e|=k<<f,f+=8;c.g=e>>>d;c.Dg=f-d;c.B=h;return e&(1<<d)-1}function w(c,d){for(var e=c.g,f=c.Dg,g=c.input,h=c.B,k=d[0],m=d[1],p;f<m;)p=g[h++],p===G&&a(Error("input buffer is broken")),e|=p<<f,f+=8;g=k[e&(1<<m)-1];k=g>>>16;c.g=e>>k;c.Dg=f-k;c.B=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 (A?Uint8Array:Array)(va.length),k;for(k=0;k<f;++k)h[va[k]]=v(a,3);f=g(h);h=new (A?Uint8Array:Array)(d);k=new (A?Uint8Array:Array)(e);a.Gx(g(c.call(a,d,f,h)),g(c.call(a,e,f,k)))}function B(c,d){var e,f;this.input=c;this.B=0;if(d||!(d={}))d.index&&(this.B=d.index),
- d.WP&&(this.HR=d.WP);e=c[this.B++];f=c[this.B++];switch(e&15){case ga:this.method=ga;break;default:a(Error("unsupported compression method"))}0!==((e<<8)+f)%31&&a(Error("invalid fcheck flag:"+((e<<8)+f)%31));f&32&&a(Error("fdict flag is not supported"));this.uG=new t(c,{index:this.B,UD:d.UD,VD:d.VD,resize:d.resize})}var G=void 0,I=!0,E=this,A="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Uint32Array;e.prototype.Ah=function(){var a=this.buffer,c,d=a.length,
- e=new (A?Uint8Array:Array)(d<<1);if(A)e.set(a);else for(c=0;c<d;++c)e[c]=a[c];return this.buffer=e};e.prototype.J=function(a,c,d){var e=this.buffer,f=this.index,g=this.ys,h=e[f];d&&1<c&&(a=8<c?(J[a&255]<<24|J[a>>>8&255]<<16|J[a>>>16&255]<<8|J[a>>>24&255])>>32-c:J[a]>>8-c);if(8>c+g)h=h<<c|a,g+=c;else for(d=0;d<c;++d)h=h<<1|a>>c-d-1&1,8===++g&&(g=0,e[f++]=J[h],h=0,f===e.length&&(e=this.Ah()));e[f]=h;this.buffer=e;this.ys=g;this.index=f};e.prototype.finish=function(){var a=this.buffer,c=this.index,d;
- 0<this.ys&&(a[c]<<=8-this.ys,a[c]=J[a[c]],c++);A?d=a.subarray(0,c):(a.length=c,d=a);return d};var D=new (A?Uint8Array:Array)(256),x;for(x=0;256>x;++x){for(var F=x,K=F,L=7,F=F>>>1;F;F>>>=1)K<<=1,K|=F&1,--L;D[x]=(K<<L&255)>>>0}var J=D,D=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,
- 4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,
- 251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,
- 1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,
- 1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,
- 1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918E3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];A&&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;0<d;)if(e=this.getParent(d),f[d]>f[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+2<this.length&&d[f+2]>d[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 O=2,D={NONE:0,r:1,nx:O,I7:3},S=[];for(x=0;288>x;x++)switch(I){case 143>=x:S.push([x+48,8]);break;case 255>=x:S.push([x-144+400,9]);break;case 279>=x:S.push([x-256+0,7]);break;case 287>=x:S.push([x-280+192,8]);break;default:a("invalid literal: "+x)}h.prototype.bl=function(){var c,d,f,g,h=this.input;switch(this.fp){case 0:f=0;for(g=h.length;f<g;){d=A?h.subarray(f,f+65535):h.slice(f,f+65535);f+=d.length;var k=f===
- g,m=G,t=m=G,t=m=G,u=this.a,v=this.b;if(A){for(u=new Uint8Array(this.a.buffer);u.length<=v+d.length+5;)u=new Uint8Array(u.length<<1);u.set(this.a)}m=k?1:0;u[v++]=m|0;m=d.length;t=~m+65536&65535;u[v++]=m&255;u[v++]=m>>>8&255;u[v++]=t&255;u[v++]=t>>>8&255;if(A)u.set(d,v),v+=d.length,u=u.subarray(0,v);else{m=0;for(t=d.length;m<t;++m)u[v++]=d[m];u.length=v}this.b=v;this.a=u}break;case 1:f=new e(new Uint8Array(this.a.buffer),this.b);f.J(1,1,I);f.J(1,2,I);h=p(this,h);d=0;for(k=h.length;d<k;d++)if(g=h[d],
- e.prototype.J.apply(f,S[g]),256<g)f.J(h[++d],h[++d],I),f.J(h[++d],5),f.J(h[++d],h[++d],I);else if(256===g)break;this.a=f.finish();this.b=this.a.length;break;case O:g=new e(new Uint8Array(this.a),this.b);var w,x,y,B=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],F,D,m=Array(19),H,u=O;g.J(1,1,I);g.J(u,2,I);h=p(this,h);t=r(this.yR,15);F=s(t);u=r(this.qR,7);v=s(u);for(w=286;257<w&&0===t[w-1];w--);for(x=30;1<x&&0===u[x-1];x--);var E=w,J=x;c=new (A?Uint32Array:Array)(E+J);var M=new (A?Uint32Array:Array)(316),
- K,L;D=new (A?Uint8Array:Array)(19);for(H=y=0;H<E;H++)c[y++]=t[H];for(H=0;H<J;H++)c[y++]=u[H];if(!A)for(H=0,J=D.length;H<J;++H)D[H]=0;H=K=0;for(J=c.length;H<J;H+=y){for(y=1;H+y<J&&c[H+y]===c[H];++y);E=y;if(0===c[H])if(3>E)for(;0<E--;)M[K++]=0,D[0]++;else for(;0<E;)L=138>E?E:138,L>E-3&&L<E&&(L=E-3),10>=L?(M[K++]=17,M[K++]=L-3,D[17]++):(M[K++]=18,M[K++]=L-11,D[18]++),E-=L;else if(M[K++]=c[H],D[c[H]]++,E--,3>E)for(;0<E--;)M[K++]=c[H],D[c[H]]++;else for(;0<E;)L=6>E?E:6,L>E-3&&L<E&&(L=E-3),M[K++]=16,M[K++]=
- L-3,D[16]++,E-=L}c=A?M.subarray(0,K):M.slice(0,K);D=r(D,7);for(H=0;19>H;H++)m[H]=D[B[H]];for(y=19;4<y&&0===m[y-1];y--);B=s(D);g.J(w-257,5,I);g.J(x-1,5,I);g.J(y-4,4,I);for(H=0;H<y;H++)g.J(m[H],3,I);H=0;for(m=c.length;H<m;H++)if(d=c[H],g.J(B[d],D[d],I),16<=d){H++;switch(d){case 16:k=2;break;case 17:k=3;break;case 18:k=7;break;default:a("invalid code: "+d)}g.J(c[H],k,I)}k=[F,t];v=[v,u];d=k[0];k=k[1];u=v[0];F=v[1];v=0;for(m=h.length;v<m;++v)if(f=h[v],g.J(d[f],k[f],I),256<f)g.J(h[++v],h[++v],I),t=h[++v],
- g.J(u[t],F[t],I),g.J(h[++v],h[++v],I);else if(256===f)break;this.a=g.finish();this.b=this.a.length;break;default:a("invalid compression type")}return this.a};x=[];var R;for(R=3;258>=R;R++)F=m(),x[R]=F[2]<<24|F[1]<<16|F[0];var W=A?new Uint32Array(x):x,M=D;u.prototype.bl=function(){var c,e,f,g,h=0;g=this.a;c=ga;switch(c){case ga:e=Math.LOG2E*Math.log(32768)-8;break;default:a(Error("invalid compression method"))}e=e<<4|c;g[h++]=e;switch(c){case ga:switch(this.fp){case M.NONE:f=0;break;case M.r:f=1;break;
- case M.nx:f=2;break;default:a(Error("unsupported compression type"))}break;default:a(Error("invalid compression method"))}c=f<<6|0;g[h++]=c|31-(256*e+c)%31;c=d(this.input);this.z.b=h;g=this.z.bl();h=g.length;A&&(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)).bl()});c("Zlib.Deflate.CompressionType",
- M);c("Zlib.Deflate.CompressionType.NONE",M.NONE);c("Zlib.Deflate.CompressionType.FIXED",M.r);c("Zlib.Deflate.CompressionType.DYNAMIC",M.nx);var ra=0,ia=1,D={BQ:ra,nQ:ia};t.prototype.Mx=function(){for(;!this.LF;){var c=v(this,3);c&1&&(this.LF=I);c>>>=1;switch(c){case 0:var c=this.input,d=this.B,e=this.a,f=this.b,g=G,h=G,k=G,m=e.length,g=G;this.Dg=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.Cx){case ra:for(;f+h>e.length;){g=m-f;h-=g;if(A)e.set(c.subarray(d,d+g),f),f+=g,d+=g;else for(;g--;)e[f++]=c[d++];this.b=f;e=this.Ah();f=this.b}break;case ia:for(;f+h>e.length;)e=this.Ah({fa:2});
- break;default:a(Error("invalid inflate mode"))}if(A)e.set(c.subarray(d,d+h),f),f+=h,d+=h;else for(;h--;)e[f++]=c[d++];this.B=d;this.b=f;this.a=e;break;case 1:this.Gx(Aa,Ba);break;case 2:y(this);break;default:a(Error("unknown BTYPE: "+c))}}return this.nG()};x=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];var va=A?new Uint16Array(x):x;x=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,258,258];var wa=A?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 ja=A?new Uint8Array(x):x;x=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];var xa=A?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 ka=A?new Uint8Array(x):x;x=new (A?Uint8Array:Array)(288);F=0;for(K=x.length;F<K;++F)x[F]=143>=F?8:255>=F?9:279>=F?7:8;var Aa=g(x);x=new (A?Uint8Array:Array)(30);F=0;for(K=x.length;F<K;++F)x[F]=5;var Ba=g(x);t.prototype.Gx=
- function(a,c){var d=this.a,e=this.b;this.ea=a;for(var f=d.length-258,g,h,k;256!==(g=w(this,a));)if(256>g)e>=f&&(this.b=e,d=this.Ah(),e=this.b),d[e++]=g;else for(g-=257,k=wa[g],0<ja[g]&&(k+=v(this,ja[g])),g=w(this,c),h=xa[g],0<ka[g]&&(h+=v(this,ka[g])),e>=f&&(this.b=e,d=this.Ah(),e=this.b);k--;)d[e]=d[e++-h];for(;8<=this.Dg;)this.Dg-=8,this.B--;this.b=e};t.prototype.jR=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.Ah(),f=d.length),
- d[e++]=g;else for(g-=257,k=wa[g],0<ja[g]&&(k+=v(this,ja[g])),g=w(this,c),h=xa[g],0<ka[g]&&(h+=v(this,ka[g])),e+k>f&&(d=this.Ah(),f=d.length);k--;)d[e]=d[e++-h];for(;8<=this.Dg;)this.Dg-=8,this.B--;this.b=e};t.prototype.Ah=function(){var a=new (A?Uint8Array:Array)(this.b-32768),c=this.b-32768,d,e,f=this.a;if(A)a.set(f.subarray(32768,a.length));else for(d=0,e=a.length;d<e;++d)a[d]=f[d+32768];this.ox.push(a);this.Tx+=a.length;if(A)f.set(f.subarray(c,c+32768));else for(d=0;32768>d;++d)f[d]=f[c+d];this.b=
- 32768;return f};t.prototype.pR=function(a){var c,d=this.input.length/this.B+1|0,e,f,g,h=this.input,k=this.a;a&&("number"===typeof a.fa&&(d=a.fa),"number"===typeof a.aR&&(d+=a.aR));2>d?(e=(h.length-this.B)/this.ea[2],g=e/2*258|0,f=g<k.length?k.length+g:k.length<<1):f=k.length*d;A?(c=new Uint8Array(f),c.set(k)):c=k;return this.a=c};t.prototype.nG=function(){var a=0,c=this.a,d=this.ox,e,f=new (A?Uint8Array:Array)(this.Tx+(this.b-32768)),g,h,k,m;if(0===d.length)return A?this.a.subarray(32768,this.b):
- this.a.slice(32768,this.b);g=0;for(h=d.length;g<h;++g)for(e=d[g],k=0,m=e.length;k<m;++k)f[a++]=e[k];g=32768;for(h=this.b;g<h;++g)f[a++]=c[g];this.ox=[];return this.buffer=f};t.prototype.fR=function(){var a,c=this.b;A?this.BG?(a=new Uint8Array(c),a.set(this.a.subarray(0,c))):a=this.a.subarray(0,c):(this.a.length>c&&(this.a.length=c),a=this.a);return this.buffer=a};B.prototype.Mx=function(){var c=this.input,e,f;e=this.uG.Mx();this.B=this.uG.B;this.HR&&(f=(c[this.B++]<<24|c[this.B++]<<16|c[this.B++]<<
- 8|c[this.B++])>>>0,f!==d(e)&&a(Error("invalid adler-32 checksum")));return e};c("Zlib.Inflate",B);c("Zlib.Inflate.BufferType",D);D.a6=D.nQ;D.u6=D.BQ;c("Zlib.Inflate.prototype.decompress",B.prototype.Mx);D=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];A&&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];A&&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];A&&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];A&&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];A&&new Uint8Array(D);D=new (A?Uint8Array:Array)(288);x=0;for(F=D.length;x<F;++x)D[x]=143>=x?8:255>=x?9:279>=x?7:8;g(D);D=new (A?Uint8Array:Array)(30);x=0;for(F=D.length;x<F;++x)D[x]=5;g(D);var ga=8}).call(this);n=window;n=n.P8=n.Zlib;n.LG=n.Deflate;n.LG.B$=n.LG.compress;n.kn=n.Inflate;n.kn.I6=n.kn.BufferType;
- n.kn.prototype.uM=n.kn.prototype.decompress;b.lS=b.oa.extend({ctor:function(a){var c,d,e,f;this.data=a;this.Xa=8;this.zF=[];this.dx=[];this.Zm={};this.QD=null;this.text={};for(e=null;;){c=this.Nj();f=a=void 0;f=[];for(a=0;4>a;++a)f.push(String.fromCharCode(this.data[this.Xa++]));a=f.join("");switch(a){case "IHDR":this.width=this.Nj();this.height=this.Nj();this.Lo=this.data[this.Xa++];this.eE=this.data[this.Xa++];this.Xa++;this.Xa++;this.Xa++;break;case "acTL":this.QD={Bga:this.Nj(),Cga:this.Nj()||Infinity,frames:[]};break;case "PLTE":this.zF=
- this.Rs(c);break;case "fcTL":e&&this.QD.frames.push(e);this.Xa+=4;e={width:this.Nj(),height:this.Nj(),YP:this.Nj(),ZP:this.Nj()};a=this.yO();c=this.yO()||100;e.M$=1E3*a/c;e.Z$=this.data[this.Xa++];e.o$=this.data[this.Xa++];e.data=[];break;case "IDAT":case "fdAT":"fdAT"===a&&(this.Xa+=4,c-=4);a=(null!=e?e.data:void 0)||this.dx;for(f=0;0<=c?f<c:f>c;0<=c?++f:--f)a.push(this.data[this.Xa++]);break;case "tRNS":this.Zm={};switch(this.eE){case 3:this.Zm.WE=this.Rs(c);c=255-this.Zm.WE.length;if(0<c)for(a=
- 0;0<=c?a<c:a>c;0<=c?++a:--a)this.Zm.WE.push(255);break;case 0:this.Zm.Jda=this.Rs(c)[0];break;case 2:this.Zm.bia=this.Rs(c)}break;case "tEXt":f=this.Rs(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.QD.frames.push(e);a:{switch(this.eE){case 0:case 3:case 4:e=1;break a;case 2:case 6:e=3;break a}e=void 0}this.s=e;this.xN=4===(d=this.eE)||6===d;d=this.s+(this.xN?1:0);this.U2=this.Lo*d;Uint8Array!=
- Array&&(this.dx=new Uint8Array(this.dx));return;default:this.Xa+=c}this.Xa+=4;if(this.Xa>this.data.length)throw Error("Incomplete or corrupt PNG file");}},Rs:function(a){var c,d;d=[];for(c=0;0<=a?c<a:c>a;0<=a?++c:--c)d.push(this.data[this.Xa++]);return d},Nj:function(){var a,c,d,e;a=this.data[this.Xa++]<<24;c=this.data[this.Xa++]<<16;d=this.data[this.Xa++]<<8;e=this.data[this.Xa++];return a|c|d|e},yO:function(){var a,c;a=this.data[this.Xa++]<<8;c=this.data[this.Xa++];return a|c},QZ:function(a){var c,
- d,e,f,g,h,k,m,p,r,s,u,t,v,w;null==a&&(a=this.dx);if(0===a.length)return new Uint8Array(0);a=(new Zlib.kn(a,{index:0,WP:!1})).uM();m=this.U2/8;u=m*this.width;p=new Uint8Array(u*this.height);h=a.length;for(d=r=s=0;r<h;){switch(a[r++]){case 0:for(c=0;c<u;c+=1)p[d++]=a[r++];break;case 1:for(f=t=0;t<u;f=t+=1)c=a[r++],g=f<m?0:p[d-m],p[d++]=(c+g)%256;break;case 2:for(f=g=0;g<u;f=g+=1)c=a[r++],e=(f-f%m)/m,t=s&&p[(s-1)*u+e*m+f%m],p[d++]=(t+c)%256;break;case 3:for(f=w=0;w<u;f=w+=1)c=a[r++],e=(f-f%m)/m,g=f<
- m?0:p[d-m],t=s&&p[(s-1)*u+e*m+f%m],p[d++]=(c+Math.floor((g+t)/2))%256;break;case 4:for(f=w=0;w<u;f=w+=1)c=a[r++],e=(f-f%m)/m,g=f<m?0:p[d-m],0===s?t=v=0:(t=p[(s-1)*u+e*m+f%m],v=e&&p[(s-1)*u+(e-1)*m+f%m]),k=g+t-v,f=Math.abs(k-g),e=Math.abs(k-t),k=Math.abs(k-v),g=f<=e&&f<=k?g:e<=k?t:v,p[d++]=(c+g)%256;break;default:throw Error("Invalid filter algorithm: "+a[r-1]);}s++}return p},OZ:function(a,c){var d,e,f,g,h,k,m,p;e=this.s;p=null;d=this.xN;this.zF.length&&(p=null!=(f=this.rV)?f:this.rV=this.PZ(),e=4,
- d=!0);f=a.data||a;m=f.length;h=p||c;g=k=0;if(1===e)for(;g<m;)e=p?4*c[g/4]:k,k=h[e++],f[g++]=k,f[g++]=k,f[g++]=k,f[g++]=d?h[e++]:255,k=e;else for(;g<m;)e=p?4*c[g/4]:k,f[g++]=h[e++],f[g++]=h[e++],f[g++]=h[e++],f[g++]=d?h[e++]:255,k=e},PZ:function(){var a,c,d,e,f,g,h,k,m;d=this.zF;g=this.Zm.WE||[];f=new Uint8Array((g.length||0)+d.length);c=h=a=e=0;for(k=d.length;h<k;c=h+=3)f[e++]=d[c],f[e++]=d[c+1],f[e++]=d[c+2],f[e++]=null!=(m=g[a++])?m:255;return f},v3:function(a){var c;a.width=this.width;a.height=
- this.height;a=a.getContext("2d");c=a.createImageData(this.width,this.height);this.OZ(c,this.QZ());return a.putImageData(c,0,0)}});b.z5={yK:!1,fm:null,mB:[],getUint8:function(a){return this.fm[a]},getUint16:function(a){return this.yK?this.fm[a+1]<<8|this.fm[a]:this.fm[a]<<8|this.fm[a+1]},getUint32:function(a){var c=this.fm;return this.yK?c[a+3]<<24|c[a+2]<<16|c[a+1]<<8|c[a]:c[a]<<24|c[a+1]<<16|c[a+2]<<8|c[a+3]},EZ:function(){var a=this.getUint16(0);if(18761===a)this.tF=!0;else if(19789===a)this.tF=!1;else throw console.log(a),TypeError("Invalid byte order value.");return this.tF},m1:function(){if(42!==this.getUint16(2))throw RangeError("You forgot your towel!");
- return!0},j0:function(a){var c=this.H_;return a in c?c[a]:null},h0:function(a){var c=this.G_;if(a in c)return c[a];console.log("Unknown Field Tag:",a);return"Tag"+a},i0:function(a){return-1!==["BYTE","ASCII","SBYTE","UNDEFINED"].indexOf(a)?1:-1!==["SHORT","SSHORT"].indexOf(a)?2:-1!==["LONG","SLONG","FLOAT"].indexOf(a)?4:-1!==["RATIONAL","SRATIONAL","DOUBLE"].indexOf(a)?8:null},k0:function(a,c,d,e){a=[];var f=this.i0(c);if(4>=f*d)!1===this.tF?a.push(e>>>8*(4-f)):a.push(e);else for(var g=0;g<d;g++){var h=
- f*g;8<=f?-1!==["RATIONAL","SRATIONAL"].indexOf(c)?(a.push(this.getUint32(e+h)),a.push(this.getUint32(e+h+4))):b.log("Can't handle this field type or size"):a.push(this.QM(f,e+h))}"ASCII"===c&&a.forEach(function(a,c,d){d[c]=String.fromCharCode(a)});return a},QM:function(a,c){if(0>=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")}},T_: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<<f>>>a,byteOffset:c+Math.floor(e/8),bitOffset:e%8}},tO:function(a){var c=this.getUint16(a),d=[];a+=2;for(var e=0;e<c;a+=12,e++){var f=this.getUint16(a),g=this.getUint16(a+2),h=this.getUint32(a+4),k=this.getUint32(a+8),f=this.h0(f),g=this.j0(g),h=this.k0(f,
- g,h,k);d[f]={type:g,Mh:h}}this.mB.push(d);c=this.getUint32(a);0!==c&&this.tO(c)},um:function(a,c){var d=Math.pow(2,8-c);return Math.floor(a*d+(d-1))},P2:function(a,c){c=c||b.Sb("canvas");this.fm=a;this.canvas=c;this.EZ();if(this.m1()){var d=this.getUint32(4);this.mB.length=0;this.tO(d);var e=this.mB[0],d=e.ImageWidth.Mh[0],f=e.ImageLength.Mh[0];this.canvas.width=d;this.canvas.height=f;var g=[],h=e.Compression?e.Compression.Mh[0]:1,k=e.SamplesPerPixel.Mh[0],m=[],p=0,r=!1;e.BitsPerSample.Mh.forEach(function(a,
- c){m[c]={Mo:a,Zw:!1,js:void 0};0===a%8&&(m[c].Zw=!0,m[c].js=a/8);p+=a},this);if(0===p%8)var r=!0,s=p/8;var u=e.StripOffsets.Mh,t=u.length;if(e.StripByteCounts)var v=e.StripByteCounts.Mh;else if(b.log("Missing StripByteCounts!"),1===t)v=[Math.ceil(d*f*p/8)];else throw Error("Cannot recover from missing StripByteCounts");for(var w=0;w<t;w++){var y=u[w];g[w]=[];for(var B=v[w],G=0,I=0,E=1,A=!0,D=[],x=0,F=0,K=0;G<B;G+=E)switch(h){case 1:E=0;for(D=[];E<k;E++)if(m[E].Zw)D.push(this.QM(m[E].js,y+G+m[E].js*
- E));else{var L=this.T_(m[E].Mo,y+G,I);D.push(L.Lo);G=L.byteOffset-y;I=L.m$;throw RangeError("Cannot handle sub-byte bits per sample");}g[w].push(D);if(r)E=s;else throw E=0,RangeError("Cannot handle sub-byte bits per pixel");break;case 32773:if(A){var A=!1,J=1,O=1,E=this.getInt8(y+G);0<=E&&127>=E?J=E+1:-127<=E&&-1>=E?O=-E+1:A=!0}else{for(var S=this.getUint8(y+G),E=0;E<O;E++){if(m[F].Zw)K=K<<8*x|S,x++,x===m[F].js&&(D.push(K),K=x=0,F++);else throw RangeError("Cannot handle sub-byte bits per sample");
- F===k&&(g[w].push(D),D=[],F=0)}J--;0===J&&(A=!0)}E=1}}if(c.getContext){s=this.canvas.getContext("2d");s.fillStyle="rgba(255, 255, 255, 0)";w=e.RowsPerStrip?e.RowsPerStrip.Mh[0]:f;y=g.length;f%=w;f=0===f?w:f;G=w;h=0;D=e.PhotometricInterpretation.Mh[0];J=[];O=0;e.ExtraSamples&&(J=e.ExtraSamples.Mh,O=J.length);if(e.ColorMap)var L=e.ColorMap.Mh,R=Math.pow(2,m[0].Mo);for(w=0;w<y;w++){w+1===y&&(G=f);e=g[w].length;h*=w;for(r=k=0;k<G,r<e;k++)for(u=0;u<d;u++,r++){v=g[w][r];A=I=B=0;t=1;if(0<O)for(B=0;B<O;B++)if(1===
- J[B]||2===J[B]){t=v[3+B]/256;break}switch(D){case 0:if(m[0].Zw)var W=Math.pow(16,2*m[0].js);v.forEach(function(a,c,d){d[c]=W-a});case 1:B=I=A=this.um(v[0],m[0].Mo);break;case 2:B=this.um(v[0],m[0].Mo);I=this.um(v[1],m[1].Mo);A=this.um(v[2],m[2].Mo);break;case 3:if(void 0===L)throw Error("Palette image missing color map");v=v[0];B=this.um(L[v],16);I=this.um(L[R+v],16);A=this.um(L[2*R+v],16);break;default:throw RangeError("Unknown Photometric Interpretation:",D);}s.fillStyle="rgba("+B+", "+I+", "+A+
- ", "+t+")";s.fillRect(u,h+k,1,1)}h=G}}return this.canvas}},G_:{315:"Artist",258:"BitsPerSample",265:"CellLength",264:"CellWidth",320:"ColorMap",259:"Compression",33432:"Copyright",306:"DateTime",338:"ExtraSamples",266:"FillOrder",289:"FreeByteCounts",288:"FreeOffsets",291:"GrayResponseCurve",290:"GrayResponseUnit",316:"HostComputer",270:"ImageDescription",257:"ImageLength",256:"ImageWidth",271:"Make",281:"MaxSampleValue",280:"MinSampleValue",272:"Model",254:"NewSubfileType",274:"Orientation",262:"PhotometricInterpretation",
- 284:"PlanarConfiguration",296:"ResolutionUnit",278:"RowsPerStrip",277:"SamplesPerPixel",305:"Software",279:"StripByteCounts",273:"StripOffsets",255:"SubfileType",263:"Threshholding",282:"XResolution",283:"YResolution",326:"BadFaxLines",327:"CleanFaxData",343:"ClipPath",328:"ConsecutiveBadFaxLines",433:"Decode",434:"DefaultImageColor",269:"DocumentName",336:"DotRange",321:"HalftoneHints",346:"Indexed",347:"JPEGTables",285:"PageName",297:"PageNumber",317:"Predictor",319:"PrimaryChromaticities",532:"ReferenceBlackWhite",
- 339:"SampleFormat",559:"StripRowCounts",330:"SubIFDs",292:"T4Options",293:"T6Options",325:"TileByteCounts",323:"TileLength",324:"TileOffsets",322:"TileWidth",301:"TransferFunction",318:"WhitePoint",344:"XClipPathUnits",286:"XPosition",529:"YCbCrCoefficients",531:"YCbCrPositioning",530:"YCbCrSubSampling",345:"YClipPathUnits",287:"YPosition",37378:"ApertureValue",40961:"ColorSpace",36868:"DateTimeDigitized",36867:"DateTimeOriginal",34665:"Exif IFD",36864:"ExifVersion",33434:"ExposureTime",41728:"FileSource",
- 37385:"Flash",40960:"FlashpixVersion",33437:"FNumber",42016:"ImageUniqueID",37384:"LightSource",37500:"MakerNote",37377:"ShutterSpeedValue",37510:"UserComment",33723:"IPTC",34675:"ICC Profile",700:"XMP",42112:"GDAL_METADATA",42113:"GDAL_NODATA",34377:"Photoshop"},H_:{1:"BYTE",2:"ASCII",3:"SHORT",4:"LONG",5:"RATIONAL",6:"SBYTE",7:"UNDEFINED",8:"SSHORT",9:"SLONG",10:"SRATIONAL",11:"FLOAT",12:"DOUBLE"}};b.kg=function(a,c,d,e,f,g,h,k,m,p,r,s){this.Xa=a?a:C(0,0);this.py=c?c:C(0,0);this.color=d?d:{r:0,g:0,b:0,a:255};this.os=e?e:{r:0,g:0,b:0,a:255};this.size=f||0;this.mE=g||0;this.rotation=h||0;this.AM=k||0;this.ll=m||0;this.atlasIndex=p||0;this.Rb=r?r:new b.kg.kz;this.Ed=s?s:new b.kg.lz;this.QN=!1;this.qs=C(0,0)};b.kg.kz=function(a,c,d){this.dir=a?a:C(0,0);this.radialAccel=c||0;this.tangentialAccel=d||0};b.kg.lz=function(a,c,d,e){this.Cg=a||0;this.wM=c||0;this.Qs=d||0;this.zM=e||0};
- b.kg.iu=[C(),C(),C(),C()];
- b.n=b.k.extend({gC:"",ib:0,hJ:!1,Rb:null,Ed:null,ub:"ParticleSystem",mC:C(0,0),Ck:null,Il:0,gf:0,W:null,atlasIndex:0,im:!1,wu:0,Hw:null,oy:null,ho:!1,qd:0,duration:0,uo:null,Ek:null,Le:0,lp:0,Cg:0,Jo:0,Bp:0,Cp:0,Am:0,To:0,th:null,Lk:null,ze:null,ok:null,Dp:0,Ep:0,Uo:0,Vo:0,zm:0,mb:0,G:null,p:null,Na:!1,Ji:null,hs:!1,Ba:0,Dc:null,jb:null,uc:null,Ar:null,la:null,ad:null,ctor:function(a){b.k.prototype.ctor.call(this);this.Ba=b.n.eb;this.Rb=new b.n.kz;this.Ed=new b.n.lz;this.p={src:b.ec,S:b.dc};this.Ck=
- [];this.uo=C(0,0);this.Ek=C(0,0);this.th=b.color(255,255,255,255);this.Lk=b.color(255,255,255,255);this.ze=b.color(255,255,255,255);this.ok=b.color(255,255,255,255);this.gC="";this.ib=0;this.hJ=!1;this.mC=C(0,0);this.gf=this.Il=0;this.W=null;this.atlasIndex=0;this.im=!1;this.wu=0;this.Hw=b.n.LS;this.oy=b.n.fQ;this.ho=!1;this.mb=this.zm=this.Vo=this.Uo=this.Ep=this.Dp=this.To=this.Am=this.Cp=this.Bp=this.Jo=this.Cg=this.lp=this.Le=this.duration=this.qd=0;this.G=null;this.Na=!1;this.Ji=b.n.Aq;this.hs=
- !1;this.uc=[0,0];this.Dc=[];this.jb=[];this.Ar=P(0,0,0,0);this.la=!0;b.A===b.V&&(this.ad=null);a&&"number"!==typeof a?a&&this.Yk(a):(a=a||100,this.Y3(b.n.KH),this.Qb(a))},XE:function(){for(var a=this.jb,c=0,d=this.mb;c<d;++c){var e=6*c,f=4*c;a[e+0]=f+0;a[e+1]=f+1;a[e+2]=f+2;a[e+5]=f+1;a[e+4]=f+2;a[e+3]=f+3}},AN:function(a){var c=b.nb(),d=P(a.x*c,a.y*c,a.width*c,a.height*c),e=a.width,f=a.height;this.G&&(e=this.G.pixelsWidth,f=this.G.pixelsHeight);if(b.A!==b.Aa){b.hn?(a=(2*d.x+1)/(2*e),c=(2*d.y+1)/
- (2*f),e=a+(2*d.width-2)/(2*e),d=c+(2*d.height-2)/(2*f)):(a=d.x/e,c=d.y/f,e=a+d.width/e,d=c+d.height/f);var f=d,d=c,c=f,g=0,h=0;this.W?(f=this.W.textureAtlas.quads,g=this.atlasIndex,h=this.atlasIndex+this.mb):(f=this.Dc,g=0,h=this.mb);for(;g<h;g++){f[g]||(f[g]=b.xI());var k=f[g];k.C.m.ea=a;k.C.m.fa=c;k.N.m.ea=e;k.N.m.fa=c;k.M.m.ea=a;k.M.m.fa=d;k.L.m.ea=e;k.L.m.fa=d}}},yE:function(){return this.W},jl:function(a){if(this.W!=a){var c=this.W;if(this.W=a)for(var d=this.Ck,e=0;e<this.mb;e++)d[e].atlasIndex=
- e;a?c||(this.W.textureAtlas.oV(this.Dc,this.atlasIndex),b.l.deleteBuffer(this.uc[1])):(this.MI(),this.XE(),this.Ya(c.ya()),this.am())}},$o:function(){return this.atlasIndex},QF:function(a){this.atlasIndex=a},Dba:function(){return this.Hw},Y3:function(a){this.Hw=a},Xca:function(){return this.oy},Dja:function(a){this.oy=a},rf:function(){return this.ho},Dca:function(){return this.qd},rja:function(a){this.qd=a},ap:function(){return this.duration},Wf:function(a){this.duration=a},W0:function(){return{x:this.uo.x,
- y:this.uo.y}},B4:function(a){this.uo=a},HE:function(){return{x:this.Ek.x,y:this.Ek.y}},Qg:function(a){this.Ek=a},hca:function(){return this.Le},Og:function(a){this.Le=a},ica:function(){return this.lp},Pg:function(a){this.lp=a},cba:function(){return this.Cg},Jg:function(a){this.Cg=a},dba:function(){return this.Jo},Kg:function(a){this.Jo=a},XM:function(){this.Ba!==b.n.eb&&b.log("cc.ParticleBatchNode.getGravity() : Particle Mode should be Gravity");var a=this.Rb.gravity;return C(a.x,a.y)},Yf:function(a){this.Ba!==
- b.n.eb&&b.log("cc.ParticleBatchNode.setGravity() : Particle Mode should be Gravity");this.Rb.gravity=a},Sw:function(){this.Ba!==b.n.eb&&b.log("cc.ParticleBatchNode.getSpeed() : Particle Mode should be Gravity");return this.Rb.speed},Pe:function(a){this.Ba!==b.n.eb&&b.log("cc.ParticleBatchNode.setSpeed() : Particle Mode should be Gravity");this.Rb.speed=a},kN:function(){this.Ba!==b.n.eb&&b.log("cc.ParticleBatchNode.getSpeedVar() : Particle Mode should be Gravity");return this.Rb.speedVar},ag:function(a){this.Ba!==
- b.n.eb&&b.log("cc.ParticleBatchNode.setSpeedVar() : Particle Mode should be Gravity");this.Rb.speedVar=a},pN:function(){this.Ba!==b.n.eb&&b.log("cc.ParticleBatchNode.getTangentialAccel() : Particle Mode should be Gravity");return this.Rb.tangentialAccel},Pj:function(a){this.Ba!==b.n.eb&&b.log("cc.ParticleBatchNode.setTangentialAccel() : Particle Mode should be Gravity");this.Rb.tangentialAccel=a},qN:function(){this.Ba!==b.n.eb&&b.log("cc.ParticleBatchNode.getTangentialAccelVar() : Particle Mode should be Gravity");
- return this.Rb.tangentialAccelVar},Qj:function(a){this.Ba!==b.n.eb&&b.log("cc.ParticleBatchNode.setTangentialAccelVar() : Particle Mode should be Gravity");this.Rb.tangentialAccelVar=a},dN:function(){this.Ba!==b.n.eb&&b.log("cc.ParticleBatchNode.getRadialAccel() : Particle Mode should be Gravity");return this.Rb.radialAccel},Zf:function(a){this.Ba!==b.n.eb&&b.log("cc.ParticleBatchNode.setRadialAccel() : Particle Mode should be Gravity");this.Rb.radialAccel=a},eN:function(){this.Ba!==b.n.eb&&b.log("cc.ParticleBatchNode.getRadialAccelVar() : Particle Mode should be Gravity");
- return this.Rb.radialAccelVar},$f:function(a){this.Ba!==b.n.eb&&b.log("cc.ParticleBatchNode.setRadialAccelVar() : Particle Mode should be Gravity");this.Rb.radialAccelVar=a},O0:function(){this.Ba!==b.n.eb&&b.log("cc.ParticleBatchNode.getRotationIsDir() : Particle Mode should be Gravity");return this.Rb.rotationIsDir},w4:function(a){this.Ba!==b.n.eb&&b.log("cc.ParticleBatchNode.setRotationIsDir() : Particle Mode should be Gravity");this.Rb.rotationIsDir=a},nN:function(){this.Ba!==b.n.Ve&&b.log("cc.ParticleBatchNode.getStartRadius() : Particle Mode should be Radius");
- return this.Ed.startRadius},tP:function(a){this.Ba!==b.n.Ve&&b.log("cc.ParticleBatchNode.setStartRadius() : Particle Mode should be Radius");this.Ed.startRadius=a},oN:function(){this.Ba!==b.n.Ve&&b.log("cc.ParticleBatchNode.getStartRadiusVar() : Particle Mode should be Radius");return this.Ed.startRadiusVar},uP:function(a){this.Ba!==b.n.Ve&&b.log("cc.ParticleBatchNode.setStartRadiusVar() : Particle Mode should be Radius");this.Ed.startRadiusVar=a},UM:function(){this.Ba!==b.n.Ve&&b.log("cc.ParticleBatchNode.getEndRadius() : Particle Mode should be Radius");
- return this.Ed.endRadius},$O:function(a){this.Ba!==b.n.Ve&&b.log("cc.ParticleBatchNode.setEndRadius() : Particle Mode should be Radius");this.Ed.endRadius=a},VM:function(){this.Ba!==b.n.Ve&&b.log("cc.ParticleBatchNode.getEndRadiusVar() : Particle Mode should be Radius");return this.Ed.endRadiusVar},aP:function(a){this.Ba!==b.n.Ve&&b.log("cc.ParticleBatchNode.setEndRadiusVar() : Particle Mode should be Radius");this.Ed.endRadiusVar=a},fN:function(){this.Ba!==b.n.Ve&&b.log("cc.ParticleBatchNode.getRotatePerSecond() : Particle Mode should be Radius");
- return this.Ed.Zx},pP:function(a){this.Ba!==b.n.Ve&&b.log("cc.ParticleBatchNode.setRotatePerSecond() : Particle Mode should be Radius");this.Ed.Zx=a},gN:function(){this.Ba!==b.n.Ve&&b.log("cc.ParticleBatchNode.getRotatePerSecondVar() : Particle Mode should be Radius");return this.Ed.$x},qP:function(a){this.Ba!==b.n.Ve&&b.log("cc.ParticleBatchNode.setRotatePerSecondVar() : Particle Mode should be Radius");this.Ed.$x=a},Wm:function(a,c){this.im=!0;b.k.prototype.Wm.call(this,a,c)},$F:function(a){this.im=
- !0;b.k.prototype.$F.call(this,a)},Ys:function(a){this.im=!0;b.k.prototype.Ys.call(this,a)},Zs:function(a){this.im=!0;b.k.prototype.Zs.call(this,a)},$ca:function(){return this.Bp},Rg:function(a){this.Bp=a},ada:function(){return this.Cp},Sg:function(a){this.Cp=a},Iba:function(){return this.Am},Ng:function(a){this.Am=a},Jba:function(){return this.To},a4:function(a){this.To=a},Tw:function(){return b.color(this.th.r,this.th.g,this.th.b,this.th.a)},Qe:function(a){this.th=b.color(a)},mN:function(){return b.color(this.Lk.r,
- this.Lk.g,this.Lk.b,this.Lk.a)},bg:function(a){this.Lk=b.color(a)},Ow:function(){return b.color(this.ze.r,this.ze.g,this.ze.b,this.ze.a)},Ne:function(a){this.ze=b.color(a)},TM:function(){return b.color(this.ok.r,this.ok.g,this.ok.b,this.ok.a)},Xf:function(a){this.ok=b.color(a)},bda:function(){return this.Dp},D4:function(a){this.Dp=a},cda:function(){return this.Ep},E4:function(a){this.Ep=a},Kba:function(){return this.Uo},b4:function(a){this.Uo=a},Lba:function(){return this.Vo},c4:function(a){this.Vo=
- a},Gba:function(){return this.zm},Lg:function(a){this.zm=a},$0:function(){return this.mb},H4:function(a){if(b.A===b.Aa)this.mb=200>a?a:200;else{if(a>this.wu){var c=b.zb.BYTES_PER_ELEMENT;this.jb=new Uint16Array(6*a);var d=new ArrayBuffer(a*c),e=this.Ck;e.length=0;for(var f=this.Dc,g=f.length=0;g<a;g++)e[g]=new b.kg,f[g]=new b.zb(null,null,null,null,d,g*c);this.mb=this.wu=a;if(this.W)for(c=0;c<a;c++)e[c].atlasIndex=c;this.ad=d;this.XE();this.am();this.G&&this.AN(P(0,0,this.G.width,this.G.height))}else this.mb=
- a;this.w3()}},ya:function(){return this.G},Ya:function(a){a.wc?this.fG(a,P(0,0,a.width,a.height)):(this.la=!1,a.Wd(function(a){this.la=!0;this.fG(a,P(0,0,a.width,a.height))},this))},Bh:function(){return this.p},Me:function(a,c){if(void 0===c)this.p!=a&&(this.p=a,this.Mf());else if(this.p.src!=a||this.p.S!=c)this.p={src:a,S:c},this.Mf()},Tf:function(){return this.Na},Oe:function(a){this.Na=a},E1:function(){return this.p.src==b.SRC_ALPHA&&this.p.S==b.ONE||this.p.src==b.ONE&&this.p.S==b.ONE},Kh:function(a){var c=
- this.p;a?(c.src=b.SRC_ALPHA,c.S=b.ONE):b.A===b.V?this.G&&!this.G.zi()?(c.src=b.SRC_ALPHA,c.S=b.ONE_MINUS_SRC_ALPHA):(c.src=b.ec,c.S=b.dc):(c.src=b.ec,c.S=b.dc)},Gca:function(){return this.Ji},tja:function(a){this.Ji=a},Uda:function(){return this.hs},nia:function(a){this.hs=a},Hba:function(){return this.Ba},Mg:function(a){this.Ba=a},da:function(){return this.Qb(150)},Yk:function(a){this.gC=a;a=b.U.Dd(a);return a?this.r1(a,""):(b.log("cc.ParticleSystem.initWithFile(): Particles: file not found"),!1)},
- V_:function(){return P(0,0,b.Va.width,b.Va.height)},r1:function(a){var c=!1,d=null,d=this.RY,e=parseInt(d("maxParticles",a));if(this.Qb(e)){this.Cg=parseFloat(d("angle",a));this.Jo=parseFloat(d("angleVariance",a));this.duration=parseFloat(d("duration",a));this.p.src=parseInt(d("blendFuncSource",a));this.p.S=parseInt(d("blendFuncDestination",a));c=this.th;c.r=255*parseFloat(d("startColorRed",a));c.g=255*parseFloat(d("startColorGreen",a));c.b=255*parseFloat(d("startColorBlue",a));c.a=255*parseFloat(d("startColorAlpha",
- a));c=this.Lk;c.r=255*parseFloat(d("startColorVarianceRed",a));c.g=255*parseFloat(d("startColorVarianceGreen",a));c.b=255*parseFloat(d("startColorVarianceBlue",a));c.a=255*parseFloat(d("startColorVarianceAlpha",a));c=this.ze;c.r=255*parseFloat(d("finishColorRed",a));c.g=255*parseFloat(d("finishColorGreen",a));c.b=255*parseFloat(d("finishColorBlue",a));c.a=255*parseFloat(d("finishColorAlpha",a));c=this.ok;c.r=255*parseFloat(d("finishColorVarianceRed",a));c.g=255*parseFloat(d("finishColorVarianceGreen",
- a));c.b=255*parseFloat(d("finishColorVarianceBlue",a));c.a=255*parseFloat(d("finishColorVarianceAlpha",a));this.Bp=parseFloat(d("startParticleSize",a));this.Cp=parseFloat(d("startParticleSizeVariance",a));this.Am=parseFloat(d("finishParticleSize",a));this.To=parseFloat(d("finishParticleSizeVariance",a));this.H(parseFloat(d("sourcePositionx",a)),parseFloat(d("sourcePositiony",a)));this.Ek.x=parseFloat(d("sourcePositionVariancex",a));this.Ek.y=parseFloat(d("sourcePositionVariancey",a));this.Dp=parseFloat(d("rotationStart",
- a));this.Ep=parseFloat(d("rotationStartVariance",a));this.Uo=parseFloat(d("rotationEnd",a));this.Vo=parseFloat(d("rotationEndVariance",a));this.Ba=parseInt(d("emitterType",a));if(this.Ba==b.n.eb)c=this.Rb,c.gravity.x=parseFloat(d("gravityx",a)),c.gravity.y=parseFloat(d("gravityy",a)),c.speed=parseFloat(d("speed",a)),c.speedVar=parseFloat(d("speedVariance",a)),e=d("radialAcceleration",a),c.radialAccel=e?parseFloat(e):0,e=d("radialAccelVariance",a),c.radialAccelVar=e?parseFloat(e):0,e=d("tangentialAcceleration",
- a),c.tangentialAccel=e?parseFloat(e):0,e=d("tangentialAccelVariance",a),c.tangentialAccelVar=e?parseFloat(e):0,e=d("rotationIsDir",a).toLowerCase(),c.rotationIsDir=null!=e&&("true"===e||"1"===e);else if(this.Ba==b.n.Ve)c=this.Ed,c.startRadius=parseFloat(d("maxRadius",a)),c.startRadiusVar=parseFloat(d("maxRadiusVariance",a)),c.endRadius=parseFloat(d("minRadius",a)),c.endRadiusVar=0,c.Zx=parseFloat(d("rotatePerSecond",a)),c.$x=parseFloat(d("rotatePerSecondVariance",a));else return b.log("cc.ParticleSystem.initWithDictionary(): Invalid emitterType in config file"),
- !1;this.Le=parseFloat(d("particleLifespan",a));this.lp=parseFloat(d("particleLifespanVariance",a));this.zm=this.mb/this.Le;if(!this.W)if(this.Na=!1,c=d("textureFileName",a),c=b.path.Oo(this.gC,c),e=b.Ca.Xm(c))this.Ya(e);else if((a=d("textureImageData",a))&&0!==a.length){d=b.RP(a,1);if(!d)return b.log("cc.ParticleSystem: error decoding or ungzipping textureImageData"),!1;a=b.q0(d);if(a!==b.PG&&a!==b.Wy)return b.log("cc.ParticleSystem: unknown image format with Data"),!1;e=b.Sb("canvas");a===b.Wy?(new b.lS(d)).v3(e):
- b.z5.P2(d,e);b.Ca.AZ(c,e);(a=b.Ca.Xm(c))||b.log("cc.ParticleSystem.initWithDictionary() : error loading the texture");this.Ya(a)}else{e=b.Ca.Hc(c);if(!e)return!1;this.Ya(e)}c=!0}return c},Qb:function(a){this.mb=a;var c,d=this.Ck;for(c=d.length=0;c<a;c++)d[c]=new b.kg;if(!d)return b.log("Particle system: not enough memory"),!1;this.wu=a;if(this.W)for(c=0;c<this.mb;c++)d[c].atlasIndex=c;this.ho=!0;this.p.src=b.ec;this.p.S=b.dc;this.Ji=b.n.Aq;this.Ba=b.n.eb;this.im=this.hs=!1;this.RO(1);if(b.A===b.V){if(!this.MI())return!1;
- this.XE();this.am();this.shaderProgram=b.Id.nc(b.Yi)}return!0},P$:function(){this.QP()},XY:function(){if(this.H1())return!1;var a,c=this.Ck;b.A===b.Aa?this.qd<c.length?a=c[this.qd]:(a=new b.kg,c.push(a)):a=c[this.qd];this.p1(a);++this.qd;return!0},p1:function(a){var c=b.i3;a.ll=this.Le+this.lp*c();a.ll=Math.max(0,a.ll);a.Xa.x=this.uo.x+this.Ek.x*c();a.Xa.y=this.uo.y+this.Ek.y*c();var d,e;d=this.th;var f=this.Lk,g=this.ze;e=this.ok;b.A===b.Aa?(d=b.color(b.Uc(d.r+f.r*c(),0,255),b.Uc(d.g+f.g*c(),0,255),
- b.Uc(d.b+f.b*c(),0,255),b.Uc(d.a+f.a*c(),0,255)),e=b.color(b.Uc(g.r+e.r*c(),0,255),b.Uc(g.g+e.g*c(),0,255),b.Uc(g.b+e.b*c(),0,255),b.Uc(g.a+e.a*c(),0,255))):(d={r:b.Uc(d.r+f.r*c(),0,255),g:b.Uc(d.g+f.g*c(),0,255),b:b.Uc(d.b+f.b*c(),0,255),a:b.Uc(d.a+f.a*c(),0,255)},e={r:b.Uc(g.r+e.r*c(),0,255),g:b.Uc(g.g+e.g*c(),0,255),b:b.Uc(g.b+e.b*c(),0,255),a:b.Uc(g.a+e.a*c(),0,255)});a.color=d;f=a.os;g=a.ll;f.r=(e.r-d.r)/g;f.g=(e.g-d.g)/g;f.b=(e.b-d.b)/g;f.a=(e.a-d.a)/g;d=this.Bp+this.Cp*c();d=Math.max(0,d);
- a.size=d;this.Am===b.n.lg?a.mE=0:(e=this.Am+this.To*c(),e=Math.max(0,e),a.mE=(e-d)/g);d=this.Dp+this.Ep*c();e=this.Uo+this.Vo*c();a.rotation=d;a.AM=(e-d)/g;this.Ji==b.n.Aq?a.py=this.Cw(this.mC):this.Ji==b.n.$z&&(a.py.x=this.va.x,a.py.y=this.va.y);d=b.Of(this.Cg+this.Jo*c());if(this.Ba===b.n.eb)g=this.Rb,e=a.Rb,f=g.speed+g.speedVar*c(),e.dir.x=Math.cos(d),e.dir.y=Math.sin(d),b.tp(e.dir,f),e.radialAccel=g.radialAccel+g.radialAccelVar*c(),e.tangentialAccel=g.tangentialAccel+g.tangentialAccelVar*c(),
- g.rotationIsDir&&(a.rotation=-b.DF(b.M2(e.dir)));else{e=this.Ed;a=a.Ed;var f=e.startRadius+e.startRadiusVar*c(),h=e.endRadius+e.endRadiusVar*c();a.Qs=f;a.zM=e.endRadius===b.n.MS?0:(h-f)/g;a.Cg=d;a.wM=b.Of(e.Zx+e.$x*c())}},o5:function(){this.ho=!1;this.ib=this.duration;this.Il=0},w3:function(){this.ho=!0;this.ib=0;var a=this.Ck;for(this.gf=0;this.gf<this.qd;++this.gf)a[this.gf].ll=0},H1:function(){return this.qd>=this.mb},L5:function(a,c){var d=null;this.W?(d=this.W.textureAtlas.quads[this.atlasIndex+
- a.atlasIndex],this.W.textureAtlas.dirty=!0):d=this.Dc[this.gf];var e,f,g,h;this.Na?(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.C.s;k.r=e;k.g=f;k.b=g;k.a=h;k=d.N.s;k.r=e;k.g=f;k.b=g;k.a=h;k=d.M.s;k.r=e;k.g=f;k.b=g;k.a=h;k=d.L.s;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.Of(a.rotation),p=Math.cos(m),m=Math.sin(m);d.C.f.x=f*p-g*m+h;d.C.f.y=f*m+g*p+k;d.N.f.x=
- e*p-g*m+h;d.N.f.y=e*m+g*p+k;d.M.f.x=f*p-e*m+h;d.M.f.y=f*m+e*p+k;d.L.f.x=e*p-e*m+h;d.L.f.y=e*m+e*p+k}else d.C.f.x=c.x-e,d.C.f.y=c.y-e,d.N.f.x=c.x+e,d.N.f.y=c.y-e,d.M.f.x=c.x-e,d.M.f.y=c.y+e,d.L.f.x=c.x+e,d.L.f.y=c.y+e},a3:function(){if(b.A===b.V){var a=b.l;a.bindBuffer(a.ARRAY_BUFFER,this.uc[0]);a.bufferData(a.ARRAY_BUFFER,this.ad,a.DYNAMIC_DRAW)}},update:function(a){if(this.ho&&this.zm){var c=1/this.zm;this.qd<this.mb&&(this.Il+=a);for(;this.qd<this.mb&&this.Il>c;)this.XY(),this.Il-=c;this.ib+=a;
- -1!=this.duration&&this.duration<this.ib&&this.o5()}this.gf=0;c=b.kg.iu[0];this.Ji==b.n.Aq?b.Mj(c,this.Cw(this.mC)):this.Ji==b.n.$z&&(c.x=this.va.x,c.y=this.va.y);if(this.cc){for(var d=b.kg.iu[1],e=b.kg.iu[2],f=b.kg.iu[3],g=this.Ck;this.gf<this.qd;){b.Px(d);b.Px(e);b.Px(f);var h=g[this.gf];h.ll-=a;if(0<h.ll){if(this.Ba==b.n.eb){var k=f,m=d,p=e;h.Xa.x||h.Xa.y?(b.Mj(m,h.Xa),b.K2(m)):b.Px(m);b.Mj(p,m);b.tp(m,h.Rb.radialAccel);var r=p.x;p.x=-p.y;p.y=r;b.tp(p,h.Rb.tangentialAccel);b.Mj(k,m);b.Nx(k,p);
- b.Nx(k,this.Rb.gravity);b.tp(k,a);b.Nx(h.Rb.dir,k);b.Mj(k,h.Rb.dir);b.tp(k,a);b.Nx(h.Xa,k)}else k=h.Ed,k.Cg+=k.wM*a,k.Qs+=k.zM*a,h.Xa.x=-Math.cos(k.Cg)*k.Qs,h.Xa.y=-Math.sin(k.Cg)*k.Qs;this.hJ&&b.A!==b.V||(h.color.r+=0|h.os.r*a,h.color.g+=0|h.os.g*a,h.color.b+=0|h.os.b*a,h.color.a+=0|h.os.a*a,h.QN=!0);h.size+=h.mE*a;h.size=Math.max(0,h.size);h.rotation+=h.AM*a;k=d;this.Ji==b.n.Aq||this.Ji==b.n.$z?(m=e,b.Mj(m,c),b.sO(m,h.py),b.Mj(k,h.Xa),b.sO(k,m)):b.Mj(k,h.Xa);this.W&&(k.x+=this.va.x,k.y+=this.va.y);
- b.A==b.V?this.L5(h,k):b.Mj(h.qs,k);++this.gf}else if(h=h.atlasIndex,this.gf!==this.qd-1&&(k=g[this.gf],g[this.gf]=g[this.qd-1],g[this.qd-1]=k),this.W&&(this.W.VZ(this.atlasIndex+h),g[this.qd-1].atlasIndex=h),--this.qd,0==this.qd&&this.hs){this.QP();this.Rc.removeChild(this,!0);return}}this.im=!1}this.W||this.a3()},O5:function(){this.update(0)},RY:function(a,c){if(c){var d=c[a];return null!=d?d:""}return""},Mf:function(){if(this.W)b.log("Can't change blending functions when the particle is being batched");
- else{var a=this.G;if(a&&a instanceof b.aa){this.Na=!1;var c=this.p;c.src==b.ec&&c.S==b.dc&&(a.zi()?this.Na=!0:(c.src=b.SRC_ALPHA,c.S=b.ONE_MINUS_SRC_ALPHA))}}},j:function(){var a=new b.n;if(a.Qb(this.mb)){a.Jg(this.Cg);a.Kg(this.Jo);a.Wf(this.ap());var c=this.Bh();a.Me(c.src,c.S);a.Qe(this.Tw());a.bg(this.mN());a.Ne(this.Ow());a.Xf(this.TM());a.Rg(this.Bp);a.Sg(this.Cp);a.Ng(this.Am);a.a4(this.To);a.H(C(this.x,this.y));a.Qg(C(this.HE().x,this.HE().y));a.D4(this.Dp||0);a.E4(this.Ep||0);a.b4(this.Uo||
- 0);a.c4(this.Vo||0);a.Mg(this.Ba);this.Ba==b.n.eb?(c=this.XM(),a.Yf(C(c.x,c.y)),a.Pe(this.Sw()),a.ag(this.kN()),a.Zf(this.dN()),a.$f(this.eN()),a.Pj(this.pN()),a.Qj(this.qN())):this.Ba==b.n.Ve&&(a.tP(this.nN()),a.uP(this.oN()),a.$O(this.UM()),a.aP(this.VM()),a.pP(this.fN()),a.qP(this.gN()));a.Og(this.Le);a.Pg(this.lp);a.Lg(this.zm);if(!this.W&&(a.Oe(this.Tf()),c=this.ya())){var d=c.Rf();a.fG(c,P(0,0,d.width,d.height))}}return a},W3:function(a){var c=a.F0();0==c.x&&0==c.y||b.log("cc.ParticleSystem.setDisplayFrame(): QuadParticle only supports SpriteFrames with no offsets");
- b.A===b.V&&(this.G&&a.ya().Vd==this.G.Vd||this.Ya(a.ya()))},fG:function(a,c){var d=this.G;b.A===b.V?d&&a.Vd==d.Vd||d==a||(this.G=a,this.Mf()):d&&a==d||d==a||(this.G=a,this.Mf());this.Ar=c;this.AN(c)},Y:function(a){this.la&&!this.W&&(b.A===b.Aa?this.Hl(a):this.cj(a),b.of++)},Hl:function(a){a=a||b.l;a.save();a.globalCompositeOperation=this.E1()?"lighter":"source-over";for(var c=this.G.Wa,d=0;d<this.qd;d++){var e=this.Ck[d],f=0|0.5*e.size;if(this.Hw==b.n.KH){if(c.width&&c.height){a.save();a.globalAlpha=
- e.color.a/255;a.translate(0|e.qs.x,-(0|e.qs.y));var f=4*Math.floor(e.size/4),g=this.Ar.width,h=this.Ar.height;a.scale(Math.max(1/g*f,1E-6),Math.max(1/h*f,1E-6));e.rotation&&a.rotate(b.Of(e.rotation));a.translate(-(0|g/2),-(0|h/2));(e=e.QN?this.ae(c,e.color,this.Ar):c)&&a.drawImage(e,0,0);a.restore()}}else a.save(),a.globalAlpha=e.color.a/255,a.translate(0|e.qs.x,-(0|e.qs.y)),this.oy==b.n.NS?(e.rotation&&a.rotate(b.Of(e.rotation)),b.ye.e_(a,f,e.color)):b.ye.YZ(a,f,e.color),a.restore()}a.restore()},
- ae:function(a,c,d){c.r|=0;c.g|=0;c.b|=0;a.Qi||(a.Qi=document.createElement("canvas"),a.Qi.width=a.width,a.Qi.height=a.height);return b.Em(a,c,d,a.Qi)},cj:function(a){this.G&&(a=a||b.l,this.Eb.Nc(),this.Eb.Se(),b.oe(this.G),b.uN(this.p.src,this.p.S),b.Ic(b.Al),a.bindBuffer(a.ARRAY_BUFFER,this.uc[0]),a.vertexAttribPointer(b.pb,3,a.FLOAT,!1,24,0),a.vertexAttribPointer(b.ve,4,a.UNSIGNED_BYTE,!0,24,12),a.vertexAttribPointer(b.wd,2,a.FLOAT,!1,24,16),a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.uc[1]),a.drawElements(a.TRIANGLES,
- 6*this.gf,a.UNSIGNED_SHORT,0))},fga:function(){b.Qz||this.am()},E9:function(){},am:function(){if(b.A!=b.Aa){var a=b.l;this.uc[0]=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.uc[0]);a.bufferData(a.ARRAY_BUFFER,this.ad,a.DYNAMIC_DRAW);this.uc[1]=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.uc[1]);a.bufferData(a.ELEMENT_ARRAY_BUFFER,this.jb,a.STATIC_DRAW)}},MI:function(){if(b.A===b.Aa)return!0;if(this.W)return b.log("cc.ParticleSystem._allocMemory(): Memory should not be allocated when not using batchNode"),
- !1;var a=b.zb.BYTES_PER_ELEMENT,c=this.mb,d=this.Dc;d.length=0;this.jb=new Uint16Array(6*c);for(var e=new ArrayBuffer(a*c),f=0;f<c;f++)d[f]=new b.zb(null,null,null,null,e,f*a);if(!d||!this.jb)return b.log("cocos2d: Particle system: not enough memory"),!1;this.ad=e;return!0}});n=b.n.prototype;b.A!==b.Aa||b.ob.ew||(n.ae=function(a,c,d){var e=b.Ca.Uw(a);return e?(e.Qi||(e.Qi=document.createElement("canvas"),e.Qi.width=a.width,e.Qi.height=a.height),b.Dm(a,e,c,d,e.Qi),e.Qi):null});
- b.i(n,"opacityModifyRGB",n.Tf,n.Oe);b.i(n,"batchNode",n.yE,n.jl);b.i(n,"active",n.rf);b.i(n,"sourcePos",n.W0,n.B4);b.i(n,"posVar",n.HE,n.Qg);b.i(n,"gravity",n.XM,n.Yf);b.i(n,"speed",n.Sw,n.Pe);b.i(n,"speedVar",n.kN,n.ag);b.i(n,"tangentialAccel",n.pN,n.Pj);b.i(n,"tangentialAccelVar",n.qN,n.Qj);b.i(n,"radialAccel",n.dN,n.Zf);b.i(n,"radialAccelVar",n.eN,n.$f);b.i(n,"rotationIsDir",n.O0,n.w4);b.i(n,"startRadius",n.nN,n.tP);b.i(n,"startRadiusVar",n.oN,n.uP);b.i(n,"endRadius",n.UM,n.$O);
- b.i(n,"endRadiusVar",n.VM,n.aP);b.i(n,"rotatePerS",n.fN,n.pP);b.i(n,"rotatePerSVar",n.gN,n.qP);b.i(n,"startColor",n.Tw,n.Qe);b.i(n,"startColorVar",n.mN,n.bg);b.i(n,"endColor",n.Ow,n.Ne);b.i(n,"endColorVar",n.TM,n.Xf);b.i(n,"totalParticles",n.$0,n.H4);b.i(n,"texture",n.ya,n.Ya);b.n.create=function(a){return new b.n(a)};b.n.J$=b.n.create;
- b.n.kz=function(a,c,d,e,f,g,h,k){this.gravity=a?a:C(0,0);this.speed=c||0;this.speedVar=d||0;this.tangentialAccel=e||0;this.tangentialAccelVar=f||0;this.radialAccel=g||0;this.radialAccelVar=h||0;this.rotationIsDir=k||!1};b.n.lz=function(a,c,d,e,f,g){this.startRadius=a||0;this.startRadiusVar=c||0;this.endRadius=d||0;this.endRadiusVar=e||0;this.Zx=f||0;this.$x=g||0};b.n.LS=0;b.n.KH=1;b.n.NS=0;b.n.fQ=1;b.n.Oh=-1;b.n.lg=-1;b.n.MS=-1;b.n.eb=0;b.n.Ve=1;b.n.Aq=0;b.n.$z=1;b.n.z8=2;b.oH=b.n.extend({ctor:function(){b.n.prototype.ctor.call(this,b.A===b.V?300:150)},Qb:function(a){return b.n.prototype.Qb.call(this,a)?(this.Wf(b.n.Oh),this.Mg(b.n.eb),this.Yf(C(0,0)),this.Zf(0),this.$f(0),this.Pe(60),this.ag(20),this.Jg(90),this.Kg(10),this.H(b.K.za().width/2,60),this.Qg(C(40,20)),this.Og(3),this.Pg(0.25),this.Rg(54),this.Sg(10),this.Ng(b.n.lg),this.Lg(this.mb/this.Le),this.Qe(b.color(194,64,31,255)),this.bg(b.color(0,0,0,0)),this.Ne(b.color(0,0,0,255)),this.Xf(b.color(0,0,0,0)),
- this.Kh(!0),!0):!1}});b.oH.create=function(){return new b.oH};
- b.pH=b.n.extend({ctor:function(){b.n.prototype.ctor.call(this,b.A===b.V?1500:150)},Qb:function(a){return b.n.prototype.Qb.call(this,a)?(this.Wf(b.n.Oh),this.Mg(b.n.eb),this.Yf(C(0,-90)),this.Zf(0),this.$f(0),this.Pe(180),this.ag(50),a=b.K.za(),this.H(a.width/2,a.height/2),this.Jg(90),this.Kg(20),this.Og(3.5),this.Pg(1),this.Lg(this.mb/this.Le),this.Qe(b.color(128,128,128,255)),this.bg(b.color(128,128,128,255)),this.Ne(b.color(26,26,26,51)),this.Xf(b.color(26,26,26,51)),this.Rg(8),this.Sg(2),this.Ng(b.n.lg),
- this.Kh(!1),!0):!1}});b.pH.create=function(){return new b.pH};
- b.xH=b.n.extend({ctor:function(){b.n.prototype.ctor.call(this,b.A===b.V?350:150)},Qb:function(a){return b.n.prototype.Qb.call(this,a)?(this.Kh(!0),this.Wf(b.n.Oh),this.Mg(b.n.eb),this.Yf(C(0,0)),this.Zf(0),this.$f(0),this.Pe(20),this.ag(5),this.Jg(90),this.Kg(360),a=b.K.za(),this.H(a.width/2,a.height/2),this.Qg(C(0,0)),this.Og(1),this.Pg(0.5),this.Rg(30),this.Sg(10),this.Ng(b.n.lg),this.Lg(this.mb/this.Le),this.Qe(b.color(194,64,31,255)),this.bg(b.color(0,0,0,0)),this.Ne(b.color(0,0,0,255)),this.Xf(b.color(0,
- 0,0,0)),!0):!1}});b.xH.create=function(){return new b.xH};
- b.rH=b.n.extend({ctor:function(){b.n.prototype.ctor.call(this,b.A===b.V?200:100)},Qb:function(a){return b.n.prototype.Qb.call(this,a)?(this.Wf(b.n.Oh),this.Mg(b.n.eb),this.Yf(C(0,0)),this.Pe(60),this.ag(10),this.Zf(-80),this.$f(0),this.Pj(80),this.Qj(0),this.Jg(90),this.Kg(360),a=b.K.za(),this.H(a.width/2,a.height/2),this.Qg(C(0,0)),this.Og(4),this.Pg(1),this.Rg(37),this.Sg(10),this.Ng(b.n.lg),this.Lg(this.mb/this.Le),this.Qe(b.color(31,64,194,255)),this.bg(b.color(0,0,0,0)),this.Ne(b.color(0,0,0,
- 255)),this.Xf(b.color(0,0,0,0)),this.Kh(!0),!0):!1}});b.rH.create=function(){return new b.rH};
- b.qH=b.n.extend({ctor:function(){b.n.prototype.ctor.call(this,b.A===b.V?250:100)},Qb:function(a){return b.n.prototype.Qb.call(this,a)?(this.Wf(b.n.Oh),this.Mg(b.n.eb),this.Yf(C(0,0)),this.Pe(80),this.ag(10),this.Zf(-60),this.$f(0),this.Pj(15),this.Qj(0),this.Jg(90),this.Kg(360),a=b.K.za(),this.H(a.width/2,a.height/2),this.Qg(C(0,0)),this.Og(4),this.Pg(1),this.Rg(30),this.Sg(10),this.Ng(b.n.lg),this.Lg(this.mb/this.Le),this.Qe(b.color(128,128,128,255)),this.bg(b.color(128,128,128,128)),this.Ne(b.color(0,
- 0,0,255)),this.Xf(b.color(0,0,0,0)),this.Kh(!0),!0):!1}});b.qH.create=function(){return new b.qH};
- b.sH=b.n.extend({ctor:function(){b.n.prototype.ctor.call(this,b.A===b.V?150:100)},Qb:function(a){return b.n.prototype.Qb.call(this,a)?(this.Wf(b.n.Oh),this.Mg(b.n.eb),this.Yf(C(-200,200)),this.Pe(15),this.ag(5),this.Zf(0),this.$f(0),this.Pj(0),this.Qj(0),this.Jg(90),this.Kg(360),a=b.K.za(),this.H(a.width/2,a.height/2),this.Qg(C(0,0)),this.Og(2),this.Pg(1),this.Rg(60),this.Sg(10),this.Ng(b.n.lg),this.Lg(this.mb/this.Le),this.Qe(b.color(51,102,179)),this.bg(b.color(0,0,51,26)),this.Ne(b.color(0,0,0,
- 255)),this.Xf(b.color(0,0,0,0)),this.Kh(!0),!0):!1}});b.sH.create=function(){return new b.sH};
- b.wH=b.n.extend({ctor:function(){b.n.prototype.ctor.call(this,b.A===b.V?500:100)},Qb:function(a){return b.n.prototype.Qb.call(this,a)?(this.Wf(b.n.Oh),this.Mg(b.n.eb),this.Yf(C(0,0)),this.Pe(150),this.ag(0),this.Zf(-380),this.$f(0),this.Pj(45),this.Qj(0),this.Jg(90),this.Kg(0),a=b.K.za(),this.H(a.width/2,a.height/2),this.Qg(C(0,0)),this.Og(12),this.Pg(0),this.Rg(20),this.Sg(0),this.Ng(b.n.lg),this.Lg(this.mb/this.Le),this.Qe(b.color(128,128,128,255)),this.bg(b.color(128,128,128,0)),this.Ne(b.color(128,
- 128,128,255)),this.Xf(b.color(128,128,128,0)),this.Kh(!1),!0):!1}});b.wH.create=function(){return new b.wH};
- b.nH=b.n.extend({ctor:function(){b.n.prototype.ctor.call(this,b.A===b.V?700:300)},Qb:function(a){return b.n.prototype.Qb.call(this,a)?(this.Wf(0.1),this.Mg(b.n.eb),this.Yf(C(0,0)),this.Pe(70),this.ag(40),this.Zf(0),this.$f(0),this.Pj(0),this.Qj(0),this.Jg(90),this.Kg(360),a=b.K.za(),this.H(a.width/2,a.height/2),this.Qg(C(0,0)),this.Og(5),this.Pg(2),this.Rg(15),this.Sg(10),this.Ng(b.n.lg),this.Lg(this.mb/this.ap()),this.Qe(b.color(179,26,51,255)),this.bg(b.color(128,128,128,0)),this.Ne(b.color(128,
- 128,128,0)),this.Xf(b.color(128,128,128,0)),this.Kh(!1),!0):!1}});b.nH.create=function(){return new b.nH};
- b.uH=b.n.extend({ctor:function(){b.n.prototype.ctor.call(this,b.A===b.V?200:100)},Qb:function(a){return b.n.prototype.Qb.call(this,a)?(this.Wf(b.n.Oh),this.Mg(b.n.eb),this.Yf(C(0,0)),this.Zf(0),this.$f(0),this.Pe(25),this.ag(10),this.Jg(90),this.Kg(5),this.H(b.K.za().width/2,0),this.Qg(C(20,0)),this.Og(4),this.Pg(1),this.Rg(60),this.Sg(10),this.Ng(b.n.lg),this.Lg(this.mb/this.Le),this.Qe(b.color(204,204,204,255)),this.bg(b.color(5,5,5,0)),this.Ne(b.color(0,0,0,255)),this.Xf(b.color(0,0,0,0)),this.Kh(!1),
- !0):!1}});b.uH.create=function(){return new b.uH};
- b.vH=b.n.extend({ctor:function(){b.n.prototype.ctor.call(this,b.A===b.V?700:250)},Qb:function(a){return b.n.prototype.Qb.call(this,a)?(this.Wf(b.n.Oh),this.Mg(b.n.eb),this.Yf(C(0,-1)),this.Pe(5),this.ag(1),this.Zf(0),this.$f(1),this.Pj(0),this.Qj(1),a=b.K.za(),this.H(a.width/2,a.height+10),this.Qg(C(a.width/2,0)),this.Jg(-90),this.Kg(5),this.Og(45),this.Pg(15),this.Rg(10),this.Sg(5),this.Ng(b.n.lg),this.Lg(10),this.Qe(b.color(255,255,255,255)),this.bg(b.color(0,0,0,0)),this.Ne(b.color(255,255,255,
- 0)),this.Xf(b.color(0,0,0,0)),this.Kh(!1),!0):!1}});b.vH.create=function(){return new b.vH};
- b.tH=b.n.extend({ctor:function(){b.n.prototype.ctor.call(this,b.A===b.V?1E3:300)},Qb:function(a){return b.n.prototype.Qb.call(this,a)?(this.Wf(b.n.Oh),this.Mg(b.n.eb),this.Yf(C(10,-10)),this.Zf(0),this.$f(1),this.Pj(0),this.Qj(1),this.Pe(130),this.ag(30),this.Jg(-90),this.Kg(5),a=b.K.za(),this.H(a.width/2,a.height),this.Qg(C(a.width/2,0)),this.Og(4.5),this.Pg(0),this.Rg(4),this.Sg(2),this.Ng(b.n.lg),this.Lg(20),this.Qe(b.color(179,204,255,255)),this.bg(b.color(0,0,0,0)),this.Ne(b.color(179,204,255,
- 128)),this.Xf(b.color(0,0,0,0)),this.Kh(!1),!0):!1}});b.tH.create=function(){return new b.tH};b.X7=500;
- b.qz=b.k.extend({textureAtlas:null,D8:!0,p:null,ub:"ParticleBatchNode",ctor:function(a,c){b.k.prototype.ctor.call(this);this.p={src:b.ec,S:b.dc};"string"==typeof a?this.da(a,c):a instanceof b.aa&&this.qa(a,c)},qa:function(a,c){this.textureAtlas=new b.Th;this.textureAtlas.qa(a,c);this.t.length=0;b.A===b.V&&(this.shaderProgram=b.Id.nc(b.Yi));return!0},Yk:function(a,c){var d=b.Ca.Hc(a);return this.qa(d,c)},da:function(a,c){var d=b.C8.Zba().Hc(a);return this.qa(d,c)},T:function(a,c,d){if(!a)throw"cc.ParticleBatchNode.addChild() : child should be non-null";if(!(a instanceof
- b.n))throw"cc.ParticleBatchNode.addChild() : only supports cc.ParticleSystem as children";c=null==c?a.zIndex:c;d=null==d?a.tag:d;if(a.ya()!=this.textureAtlas.texture)throw"cc.ParticleSystem.addChild() : the child is not using the same texture id";var e=a.Bh();if(0===this.t.length)this.Me(e);else if(e.src!=this.p.src||e.S!=this.p.S){b.log("cc.ParticleSystem.addChild() : Can't add a ParticleSystem that uses a different blending function");return}c=this.HU(a,c,d);d=0;0!=c?(c=this.t[c-1],d=c.$o()+c.mb):
- d=0;this.dF(a,d);a.jl(this)},dF:function(a,c){var d=a.mb,e=this.textureAtlas,f=e.totalQuads;a.QF(c);f+d>e.xd&&(this.xW(f+d),e.KM(e.xd-d,d));a.$o()+d!=f&&e.iO(c,c+d);e.zN(d);this.vD()},removeChild:function(a,c){if(null!=a){if(!(a instanceof b.n))throw"cc.ParticleBatchNode.removeChild(): only supports cc.ParticleSystem as children";if(-1==this.t.indexOf(a))b.log("cc.ParticleBatchNode.removeChild(): doesn't contain the sprite. Can't remove it");else{b.k.prototype.removeChild.call(this,a,c);var d=this.textureAtlas;
- d.s3(a.$o(),a.mb);d.KM(d.totalQuads,a.mb);a.jl(null);this.vD()}}},wp:function(a,c){if(!a)throw"cc.ParticleBatchNode.reorderChild(): child should be non-null";if(!(a instanceof b.n))throw"cc.ParticleBatchNode.reorderChild(): only supports cc.QuadParticleSystems as children";if(-1===this.t.indexOf(a))b.log("cc.ParticleBatchNode.reorderChild(): Child doesn't belong to batch");else if(c!=a.zIndex){if(1<this.t.length){var d=this.UV(a,c);if(d.kO!=d.jO){this.t.splice(d.kO,1);this.t.splice(d.jO,0,a);d=a.$o();
- this.vD();for(var e=0,f=this.t,g=0;g<f.length;g++)if(f[g]==a){e=a.$o();break}this.textureAtlas.iO(d,a.mb,e);a.O5()}}a.Sv(c)}},o3:function(a,c){this.removeChild(this.t[Q],c)},Ig:function(a){for(var c=this.t,d=0;d<c.length;d++)c[d].jl(null);b.k.prototype.Ig.call(this,a);this.textureAtlas.EO()},VZ:function(a){a=this.textureAtlas.quads[a];a.N.f.x=a.N.f.y=a.L.f.x=a.L.f.y=a.M.f.x=a.M.f.y=a.C.f.x=a.C.f.y=0;this.textureAtlas.Ik(!0)},Y:function(){b.A!==b.Aa&&0!=this.textureAtlas.totalQuads&&(b.Hs(this),b.uN(this.p.src,
- this.p.S),this.textureAtlas.FM())},ya:function(){return this.textureAtlas.texture},Ya:function(a){this.textureAtlas.texture=a;var c=this.p;a&&!a.zi()&&c.src==b.ec&&c.S==b.dc&&(c.src=b.SRC_ALPHA,c.S=b.ONE_MINUS_SRC_ALPHA)},Me:function(a,c){void 0===c?(this.p.src=a.src,this.p.S=a.S):(this.p.src=a,this.p.src=c)},Bh:function(){return{src:this.p.src,S:this.p.S}},R:function(a){b.A!==b.Aa&&this.cc&&(b.Gj(),this.grid&&this.grid.rf()&&(this.grid.is(),this.uy()),this.transform(a),this.Y(a),this.grid&&this.grid.rf()&&
- this.grid.fs(this),b.Fj())},vD:function(){for(var a=0,c=this.t,d=0;d<c.length;d++){var e=c[d];e.QF(a);a+=e.mb}},xW:function(a){b.log("cocos2d: cc.ParticleBatchNode: resizing TextureAtlas capacity from ["+this.textureAtlas.xd+"] to ["+a+"].");this.textureAtlas.IF(a)||b.log("cc.ParticleBatchNode._increaseAtlasCapacityTo() : WARNING: Not enough memory to resize the atlas")},HX:function(a){for(var c=this.t,d=c.length,e=0;e<d;e++)if(c[e].zIndex>a)return e;return d},UV:function(a,c){for(var d=!1,e=!1,f=
- 0,g=0,h=0,k=this.t,m=k.length,p=0;p<m;p++){var r=k[p];if(r.zIndex>c&&!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{jO:f+h,kO:g}},HU: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.t||(this.t=[]);var e=this.HX(c);this.t.splice(e,0,a);a.tag=d;a.Sv(c);a.parent=this;this.oh&&(a.Z(),a.Jh());return e},
- Mf:function(){this.textureAtlas.texture.zi()||(this.p.src=b.SRC_ALPHA,this.p.S=b.ONE_MINUS_SRC_ALPHA)},ME:function(){return this.textureAtlas},eG:function(a){this.textureAtlas=a}});n=b.qz.prototype;b.i(n,"texture",n.ya,n.Ya);b.qz.create=function(a,c){return new b.qz(a,c)};b.l7=function(a,c,d){this.yh=a||P(0,0,0,0);this.end=c||P(0,0,0,0);this.duration=d||0};b.k7=b.oa.extend({ctor:function(){b.Ai.UL(this)},Wx:function(){b.Ai.Wx(this)},rZ:function(){return b.Ai.$L(this)},CM:function(){return b.Ai.BM(this)},ZD:function(){return!1},TZ:function(){},$D:function(){return!1},UZ:function(){},NN:function(){},yM:function(){},zE:function(){return""},Z1:function(){},X1:function(){},Y1:function(){},W1:function(){}});
- b.cz=b.oa.extend({jc:null,Qa:null,bj:"",Ol:null,ctor:function(){this.Qa=new b.cz.oR;this.Ol=C(0,0)},da:function(){if(!b.ob.Di){this.jc=b.tb("#imeDispatcherInput");this.jc||(this.jc=b.$P(),this.jc.setAttribute("type","text"),this.jc.setAttribute("id","imeDispatcherInput"),this.jc.resize(0,0),this.jc.MP(0,0),this.jc.style.opacity="0",this.jc.style.fontSize="1px",this.jc.setAttribute("tabindex",2),this.jc.style.position="absolute",this.jc.style.top=0,this.jc.style.left=0,document.body.appendChild(this.jc));
- var a=this;b.Fa(this.jc,"input",function(){a.tC(a.jc.value)},!1);b.Fa(this.jc,"keydown",function(c){c.keyCode===b.jq.q5?(c.stopPropagation(),c.preventDefault()):c.keyCode==b.jq.IM&&(a.ps("\n",1),c.stopPropagation(),c.preventDefault())},!1);/msie/i.test(navigator.userAgent)&&b.Fa(this.jc,"keyup",function(c){c.keyCode==b.jq.aM&&a.tC(a.jc.value)},!1);b.Fa(window,"mousedown",function(c){var d=c.pageY||0;a.Ol.x=c.pageX||0;a.Ol.y=d},!1)}},tC:function(a){var c,d;c=this.bj.length<a.length?this.bj.length:
- a.length;for(d=0;d<c&&a[d]===this.bj[d];d++);var e=this.bj.length-d,f=a.length-d;for(c=0;c<e;c++)this.DM();for(c=0;c<f;c++)this.ps(a[d+c],1);this.bj=a},ps:function(a,c){!this.Qa||!a||0>=c||this.Qa.ce&&this.Qa.ce.NN(a,c)},DM:function(){this.Qa&&this.Qa.ce&&this.Qa.ce.yM()},zE:function(){if(this.Qa&&this.Qa.ce){var a=this.Qa.ce.zE();return a?a:""}return""},Y$:function(){if(this.Qa)for(var a=0;a<this.Qa.rg.length;a++);},W$:function(){if(this.Qa)for(var a=0;a<this.Qa.rg.length;a++);},X$:function(){if(this.Qa)for(var a=
- 0;a<this.Qa.rg.length;a++);},V$:function(){if(this.Qa)for(var a=0;a<this.Qa.rg.length;a++);},UL:function(a){a&&this.Qa&&(-1<this.Qa.rg.indexOf(a)||this.Qa.rg.splice(0,0,a))},$L:function(a){if(!this.Qa||!a||-1==this.Qa.rg.indexOf(a))return!1;if(this.Qa.ce){if(!this.Qa.ce.$D()||!a.ZD())return!1;this.Qa.ce=null;this.TJ(a);return!0}if(!a.ZD())return!1;this.TJ(a);return!0},TJ:function(a){b.ob.Di?(this.Qa.ce=a,this.bj=a.string||"",a=prompt("please enter your word:",this.bj),null!=a&&this.tC(a),this.ps("\n",
- 1)):(this.Qa.ce=a,this.bj=a.string||"",this.jc.focus(),this.jc.value=this.bj,this.xV())},xV:function(){/msie/i.test(navigator.userAgent)?(this.jc.style.left=this.Ol.x+"px",this.jc.style.top=this.Ol.y+"px"):this.jc.MP(this.Ol.x,this.Ol.y)},BM:function(a){if(!this.Qa||!a||this.Qa.ce!=a||!a.$D())return!1;this.Qa.ce=null;b.Va.focus();return!0},Wx:function(a){this.Qa&&a&&-1!=this.Qa.rg.indexOf(a)&&(this.Qa.ce&&a==this.Qa.ce&&(this.Qa.ce=null),b.Ie(this.Qa.rg,a))},lha:function(a){32>a?a==b.jq.aM?this.DM():
- a==b.jq.IM&&this.ps("\n",1):255>a&&this.ps(String.fromCharCode(a),1)}});b.cz.oR=b.oa.extend({ce:null,rg:null,ctor:function(){this.rg=[]},Vaa:function(a){for(var c=0;c<this.rg.length;c++)if(this.rg[c]==a)return c;return null}});b.Ai=new b.cz;document.body?b.Ai.da():b.Fa(window,"load",function(){b.Ai.da()},!1);b.B8=b.oa.extend({Hga:function(){return!1},Jga:function(){return!1},Kga:function(){return!1},Iga:function(){return!1},Fga:function(){return!1}});
- b.bA=b.P.extend({xM:null,Bw:null,r9:null,Ff:"",Ul:"",Fu:0,ub:"TextFieldTTF",ctor:function(a,c,d,e,f){this.Bw=b.color(127,127,127);b.Ai.UL(this);b.P.prototype.ctor.call(this);void 0!==f?(this.w1("",c,d,e,f),a&&this.Xs(a)):void 0===e&&void 0!==d&&(this.pd("",c,d),a&&this.Xs(a))},b0:function(){return this.xM},U3:function(a){this.xM=a},W_:function(){return this.Fu},rba:function(){return this.Bw},wia:function(a){this.Bw=a},w1:function(a,c,d,e,f){switch(arguments.length){case 5:return a&&this.Xs(a),this.pd(this.Ul,
- e,f,c,d);case 3:return a&&this.Xs(a),this.pd(this.Ul,arguments[1],arguments[2]);default:throw"Argument must be non-nil ";}},yb:function(a){this.Ff=(a=String(a))||"";this.Ff.length?b.P.prototype.yb.call(this,this.Ff):b.P.prototype.yb.call(this,this.Ul);this.Fu=this.Ff.length},Xk:function(){return this.Ff},Xs:function(a){this.Ul=a||"";this.Ff.length||b.P.prototype.yb.call(this,this.Ul)},J0:function(){return this.Ul},Y:function(a){a=a||b.l;if(this.Ff&&0<this.Ff.length)b.P.prototype.Y.call(this,a);else{var c=
- this.color;this.color=this.Bw;b.A===b.Aa&&this.rw();b.P.prototype.Y.call(this,a);this.color=c}},R:function(a){this._super(a)},rZ:function(){return b.Ai.$L(this)},CM:function(){return b.Ai.BM(this)},ZD:function(){return!0},TZ:function(){},$D:function(){return!0},UZ:function(){},yM:function(){var a=this.Ff.length;0!=a&&(1>=a?(this.Ff="",this.Fu=0,b.P.prototype.yb.call(this,this.Ul)):this.string=this.Ff.substring(0,a-1))},Wx:function(){b.Ai.Wx(this)},NN:function(a){var c=a;a=c.indexOf("\n");-1<a&&(c=
- c.substring(0,a));0<c.length&&(c=this.Ff+c,this.Fu=c.length,this.string=c);-1!=a&&this.CM()},zE:function(){return this.Ff},Z1:function(){},X1:function(){},Y1:function(){},W1:function(){}});n=b.bA.prototype;b.i(n,"charCount",n.W_);b.i(n,"placeHolder",n.J0,n.Xs);b.bA.create=function(a,c,d,e,f){return new b.bA(a,c,d,e,f)};b.ev=b.nR;b.ir="Arial";b.bK=!1;
- b.Cc=b.k.extend({df:!1,je:null,$d:null,nr:!1,ub:"MenuItem",ctor:function(a,c){var d=b.k.prototype;d.ctor.call(this);this.$d=this.je=null;this.df=this.nr=!1;d.il.call(this,0.5,0.5);this.je=c||null;if(this.$d=a||null)this.df=!0},jea:function(){return this.nr},Oe:function(){},Tf:function(){return!1},dG:function(a,c){this.je=c;this.$d=a},isEnabled:function(){return this.df},pe:function(a){this.df=a},zs:function(a,c){this.anchorY=this.anchorX=0.5;this.je=c;this.$d=a;this.df=!0;this.nr=!1;return!0},rect:function(){var a=
- this.va,c=this.O,d=this.Pc;return P(a.x-c.width*d.x,a.y-c.height*d.y,c.width,c.height)},selected:function(){this.nr=!0},Lh:function(){this.nr=!1},ria:function(a,c){this.je=c;this.$d=a},es:function(){if(this.df){var a=this.je,c=this.$d;if(c)if(a&&"string"==typeof c)a[c](this);else a&&"function"==typeof c?c.call(a,this):c(this)}}});n=b.Cc.prototype;b.i(n,"enabled",n.isEnabled,n.pe);b.Cc.create=function(a,c){return new b.Cc(a,c)};
- b.ul=b.Cc.extend({On:null,Xb:null,lX:0,Oq:null,ctor:function(a,c,d){b.Cc.prototype.ctor.call(this,c,d);this.Xb=this.On=null;this.lX=0;this.Oq=null;a&&(this.wr=1,this.Oq=b.color.WHITE,this.On=b.color(126,126,126),this.hy(a),this.cascadeOpacity=this.cascadeColor=!0)},d0:function(){return this.On},V3:function(a){this.On=a},s0:function(){return this.Xb},hy:function(a){a&&(this.T(a),a.anchorX=0,a.anchorY=0,this.width=a.width,this.height=a.height);this.Xb&&this.removeChild(this.Xb,!0);this.Xb=a},pe:function(a){if(this.df!=
- a){var c=this.Xb;a?c.color=this.Oq:(this.Oq=c.color,c.color=this.On)}b.Cc.prototype.pe.call(this,a)},Sa:function(a){this.Xb.opacity=a},Fg:function(){return this.Xb.opacity},cb:function(a){this.Xb.color=a},Eg:function(){return this.Xb.color},GN:function(a,c,d){this.zs(c,d);this.wr=1;this.Oq=b.color.WHITE;this.On=b.color(126,126,126);this.hy(a);return this.cascadeOpacity=this.cascadeColor=!0},yb:function(a){this.Xb.string=a;this.width=this.Xb.width;this.height=this.Xb.height},Xk:function(){return this.Xb.string},
- es:function(){this.df&&(this.Oi(),this.scale=this.wr,b.Cc.prototype.es.call(this))},selected:function(){if(this.df){b.Cc.prototype.selected.call(this);var a=this.xE(b.mu);a?this.j5(a):this.wr=this.scale;a=b.Ld.create(0.1,1.2*this.wr);a.ny(b.mu);this.Ra(a)}},Lh:function(){if(this.df){b.Cc.prototype.Lh.call(this);this.k5(b.mu);var a=b.Ld.create(0.1,this.wr);a.ny(b.mu);this.Ra(a)}}});n=b.ul.prototype;b.i(n,"string",n.Xk,n.yb);b.i(n,"disabledColor",n.d0,n.V3);b.i(n,"label",n.s0,n.hy);
- b.ul.create=function(a,c,d){return new b.ul(a,c,d)};b.bH=b.ul.extend({ctor:function(a,c,d,e,f,g,h){var k;a&&0<a.length&&(k=b.Rh.create(a,c,d,e,f));b.ul.prototype.ctor.call(this,k,g,h)},pd:function(a,c,d,e,f,g,h){if(!a||0==a.length)throw"cc.MenuItemAtlasFont.initWithString(): value should be non-null and its length should be greater than 0";var k=new b.Rh;k.pd(a,c,d,e,f);this.GN(k,g,h);return!0}});b.bH.create=function(a,c,d,e,f,g,h){return new b.bH(a,c,d,e,f,g,h)};
- b.tl=b.ul.extend({Nb:null,Wb:null,ctor:function(a,c,d){var e;a&&0<a.length?(this.Wb=b.ir,this.Nb=b.ev,e=b.P.create(a,this.Wb,this.Nb)):(this.Nb=0,this.Wb="");b.ul.prototype.ctor.call(this,e,c,d)},pd:function(a,c,d){if(!a||0==a.length)throw"Value should be non-null and its length should be greater than 0";this.Wb=b.ir;this.Nb=b.ev;a=b.P.create(a,this.Wb,this.Nb);this.GN(a,c,d);return!0},gy:function(a){this.Nb=a;this.WK()},DE:function(){return this.Nb},fy:function(a){this.Wb=a;this.WK()},CE:function(){return this.Wb},
- WK:function(){var a=b.P.create(this.Xb.string,this.Wb,this.Nb);this.hy(a)}});b.tl.gy=function(a){b.ev=a};b.tl.fontSize=function(){return b.ev};b.tl.fy=function(a){b.bK&&(b.ir="");b.ir=a;b.bK=!0};n=b.tl.prototype;b.i(n,"fontSize",n.DE,n.gy);b.i(n,"fontName",n.CE,n.fy);b.tl.fontName=function(){return b.ir};b.tl.create=function(a,c,d){return new b.tl(a,c,d)};
- b.qn=b.Cc.extend({hd:null,Ee:null,xe:null,ctor:function(a,c,d,e,f){b.Cc.prototype.ctor.call(this);this.xe=this.Ee=this.hd=null;if(void 0!==c){var g,h,k;void 0!==f?(g=d,k=e,h=f):void 0!==e&&"function"===typeof e?(g=d,k=e):void 0!==e&&"function"===typeof d?(h=e,k=d,g=b.I.create(c)):void 0===d&&(g=b.I.create(c));this.IN(a,c,g,k,h)}},E0:function(){return this.hd},XF:function(a){this.hd!=a&&(a&&(this.T(a,0,b.KR),a.anchorX=0,a.anchorY=0),this.hd&&this.removeChild(this.hd,!0),this.hd=a,this.width=this.hd.width,
- this.height=this.hd.height,this.nw(),a.ft&&!a.la&&a.Wd(function(a){this.width=a.width;this.height=a.height},this))},S0:function(){return this.Ee},aG:function(a){this.Ee!=a&&(a&&(this.T(a,0,b.wS),a.anchorX=0,a.anchorY=0),this.Ee&&this.removeChild(this.Ee,!0),this.Ee=a,this.nw())},e0:function(){return this.xe},UF:function(a){this.xe!=a&&(a&&(this.T(a,0,b.GQ),a.anchorX=0,a.anchorY=0),this.xe&&this.removeChild(this.xe,!0),this.xe=a,this.nw())},IN:function(a,c,d,e,f){this.zs(e,f);this.XF(a);this.aG(c);
- this.UF(d);if(a=this.hd)this.width=a.width,this.height=a.height,a.ft&&!a.la&&a.Wd(function(a){this.width=a.width;this.height=a.height;this.cascadeOpacity=this.cascadeColor=!0},this);return this.cascadeOpacity=this.cascadeColor=!0},cb:function(a){this.hd.color=a;this.Ee&&(this.Ee.color=a);this.xe&&(this.xe.color=a)},Eg:function(){return this.hd.color},Sa:function(a){this.hd.opacity=a;this.Ee&&(this.Ee.opacity=a);this.xe&&(this.xe.opacity=a)},Fg:function(){return this.hd.opacity},selected:function(){b.Cc.prototype.selected.call(this);
- this.hd&&(this.xe&&(this.xe.visible=!1),this.Ee?(this.hd.visible=!1,this.Ee.visible=!0):this.hd.visible=!0)},Lh:function(){b.Cc.prototype.Lh.call(this);this.hd&&(this.hd.visible=!0,this.Ee&&(this.Ee.visible=!1),this.xe&&(this.xe.visible=!1))},pe:function(a){this.df!=a&&(b.Cc.prototype.pe.call(this,a),this.nw())},nw:function(){var a=this.hd,c=this.Ee,d=this.xe;this.df?(a&&(a.visible=!0),c&&(c.visible=!1),d&&(d.visible=!1)):d?(a&&(a.visible=!1),c&&(c.visible=!1),d&&(d.visible=!0)):(a&&(a.visible=!0),
- c&&(c.visible=!1))}});n=b.qn.prototype;b.i(n,"normalImage",n.E0,n.XF);b.i(n,"selectedImage",n.S0,n.aG);b.i(n,"disabledImage",n.e0,n.UF);b.qn.create=function(a,c,d,e,f){return new b.qn(a,c,d,e,f||void 0)};
- b.Mt=b.qn.extend({ctor:function(a,c,d,e,f){var g=null,h=null,k=null,m=null,p=null;void 0===a?b.qn.prototype.ctor.call(this):(g=b.I.create(a),c&&(h=b.I.create(c)),void 0===e?m=d:void 0===f?(m=d,p=e):f&&(k=b.I.create(d),m=e,p=f),b.qn.prototype.ctor.call(this,g,h,k,m,p))},gja:function(a){this.XF(b.I.create(a))},Cja:function(a){this.aG(b.I.create(a))},Gia:function(a){this.UF(b.I.create(a))},Nda:function(a,c,d,e,f){var g=null,h=null,k=null;a&&(g=b.I.create(a));c&&(h=b.I.create(c));d&&(k=b.I.create(d));
- return this.IN(g,h,k,e,f)}});b.Mt.create=function(a,c,d,e,f){return new b.Mt(a,c,d,e,f)};
- b.jz=b.Cc.extend({rd:null,ph:0,Sd:null,be:null,ctor:function(){b.Cc.prototype.ctor.call(this);this.ph=0;this.rd=[];this.Sd=0;this.be=b.color.WHITE;0<arguments.length&&this.YE(Array.prototype.slice.apply(arguments))},Fg:function(){return this.Sd},Sa:function(a){this.Sd=a;if(this.rd&&0<this.rd.length)for(var c=0;c<this.rd.length;c++)this.rd[c].opacity=a;this.be.a=a},Eg:function(){var a=this.be;return b.color(a.r,a.g,a.b,a.a)},cb:function(a){var c=this.be;c.r=a.r;c.g=a.g;c.b=a.b;if(this.rd&&0<this.rd.length)for(c=
- 0;c<this.rd.length;c++)this.rd[c].cb(a);void 0===a.a||a.QL||this.Sa(a.a)},T0:function(){return this.ph},ly:function(a){if(a!=this.ph){this.ph=a;(a=this.Ch(b.EG))&&a.GF(!1);a=this.rd[this.ph];this.T(a,0,b.EG);var c=a.width,d=a.height;this.width=c;this.height=d;a.H(c/2,d/2)}},eda:function(){return this.rd},Ija:function(a){this.rd=a},YE:function(a){var c=a.length;"function"===typeof a[a.length-2]?(this.zs(a[a.length-2],a[a.length-1]),c-=2):"function"===typeof a[a.length-1]?(this.zs(a[a.length-1],null),
- c-=1):this.zs(null,null);for(var d=this.rd,e=d.length=0;e<c;e++)a[e]&&d.push(a[e]);this.ph=b.uI;this.ly(0);return this.cascadeOpacity=this.cascadeColor=!0},T9:function(a){this.rd.push(a)},es:function(){this.df&&this.ly((this.ph+1)%this.rd.length);b.Cc.prototype.es.call(this)},selected:function(){b.Cc.prototype.selected.call(this);this.rd[this.ph].selected()},Lh:function(){b.Cc.prototype.Lh.call(this);this.rd[this.ph].Lh()},pe:function(a){if(this.df!=a){b.Cc.prototype.pe.call(this,a);var c=this.rd;
- if(c&&0<c.length)for(var d=0;d<c.length;d++)c[d].enabled=a}},gia:function(){return this.rd[this.ph]},Z:function(){b.k.prototype.Z.call(this);this.ly(this.ph)}});n=b.jz.prototype;b.i(n,"selectedIndex",n.T0,n.ly);b.jz.create=function(){0<arguments.length&&null==arguments[arguments.length-1]&&b.log("parameters should not be ending with null in Javascript");var a=new b.jz;a.YE(Array.prototype.slice.apply(arguments));return a};b.mq=0;b.lq=1;b.H7=-128;b.IG=5;
- b.pn=b.rc.extend({enabled:!1,be:null,Sd:0,Tc:null,uh:-1,BL:null,ub:"Menu",ctor:function(a){b.rc.prototype.ctor.call(this);this.be=b.color.WHITE;this.enabled=!1;this.Sd=255;this.Tc=null;this.uh=-1;this.BL=b.ra.create({event:b.ra.gu,et:!0,cl:this.fX,Ls:this.jX,Mm:this.hX,Ks:this.gX});0<arguments.length&&null==arguments[arguments.length-1]&&b.log("parameters should not be ending with null in Javascript");var c=arguments.length,d;if(0==c)d=[];else if(1==c)d=a instanceof Array?a:[a];else if(1<c){d=[];
- for(var e=0;e<c;e++)arguments[e]&&d.push(arguments[e])}this.CN(d)},Z:function(){var a=this.BL;a.hf||b.na.addListener(a,this);b.k.prototype.Z.call(this)},Eg:function(){var a=this.be;return b.color(a.r,a.g,a.b,a.a)},cb:function(a){var c=this.be;c.r=a.r;c.g=a.g;c.b=a.b;if((c=this.t)&&0<c.length)for(var d=0;d<c.length;d++)c[d].cb(a);void 0===a.a||a.QL||this.Sa(a.a)},Fg:function(){return this.Sd},Sa:function(a){this.Sd=a;var c=this.t;if(c&&0<c.length)for(var d=0;d<c.length;d++)c[d].Sa(a);this.be.a=a},
- isEnabled:function(){return this.enabled},pe:function(a){this.enabled=a},YE:function(a){var c=[];if(a)for(var d=0;d<a.length;d++)a[d]&&c.push(a[d]);return this.CN(c)},CN:function(a){if(b.rc.prototype.da.call(this)){this.enabled=!0;var c=b.Tg;this.H(c.width/2,c.height/2);this.Gd(c);this.il(0.5,0.5);this.bx(!0);if(a)for(c=0;c<a.length;c++)this.T(a[c],c);this.Tc=null;this.uh=b.mq;return this.cascadeOpacity=this.cascadeColor=!0}return!1},T:function(a,c,d){if(!(a instanceof b.Cc))throw"cc.Menu.addChild() : Menu only supports MenuItem objects as children";
- b.rc.prototype.T.call(this,a,c,d)},e$:function(){this.eZ(b.IG)},eZ:function(a){var c=-a,d=this.t,e,f,g,h;if(d&&0<d.length){f=0;for(e=d.length;f<e;f++)c+=d[f].height*d[f].scaleY+a;var k=c/2;f=0;for(e=d.length;f<e;f++)h=d[f],g=h.height,c=h.scaleY,h.H(0,k-g*c/2),k-=g*c+a}},b$:function(){this.dZ(b.IG)},dZ:function(a){var c=-a,d=this.t,e,f,g,h;if(d&&0<d.length){e=0;for(f=d.length;e<f;e++)c+=d[e].width*d[e].scaleX+a;var k=-c/2;e=0;for(f=d.length;e<f;e++)h=d[e],c=h.scaleX,g=d[e].width,h.H(k+g*c/2,0),k+=
- g*c+a}},c$:function(){0<arguments.length&&null==arguments[arguments.length-1]&&b.log("parameters should not be ending with null in Javascript");for(var a=[],c=0;c<arguments.length;c++)a.push(arguments[c]);var d=-5,e=0,f=0,g=0,h,k,m,p=this.t;if(p&&0<p.length)for(c=0,m=p.length;c<m;c++)e>=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.K.za(),s=h=f=e=0,u=0,d=d/2;if(p&&0<p.length)for(c=0,m=p.length;c<m;c++){var t=p[c];0==h&&(h=a[e],u=s=r.width/(1+h));k=
- t.vk();f=f>=k||isNaN(k)?f:k;t.H(u-r.width/2,d-k/2);u+=s;++g;g>=h&&(d-=f+5,f=h=g=0,++e)}},d$:function(){0<arguments.length&&null==arguments[arguments.length-1]&&b.log("parameters should not be ending with null in Javascript");var a=[],c;for(c=0;c<arguments.length;c++)a.push(arguments[c]);var d=[],e=[],f=-10,g=-5,h=0,k=0,m=0,p,r,s,u,t=this.t;if(t&&0<t.length)for(c=0,s=t.length;c<s;c++)(r=t[c],h>=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.K.za();p=k=h=0;var f=-f/2,v=0;if(t&&0<t.length)for(c=0,s=t.length;c<s;c++)r=t[c],0==p&&(p=a[h],v=e[h]),u=r.bh(),k=k>=u||isNaN(u)?k:u,r.H(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.Cc?(this.Tc==a&&(this.Tc=null),b.k.prototype.removeChild.call(this,a,c)):b.log("cc.Menu.removeChild():Menu only supports MenuItem objects as children"))},fX:function(a,c){var d=c.vc;if(d.uh!=b.mq||!d.cc||!d.enabled)return!1;
- for(var e=d.parent;null!=e;e=e.parent)if(!e.cc)return!1;d.Tc=d.tK(a);return d.Tc?(d.uh=b.lq,d.Tc.selected(),!0):!1},hX:function(a,c){var d=c.vc;d.uh!==b.lq?b.log("cc.Menu.onTouchEnded(): invalid state"):(d.Tc&&(d.Tc.Lh(),d.Tc.es()),d.uh=b.mq)},gX:function(a,c){var d=c.vc;d.uh!==b.lq?b.log("cc.Menu.onTouchCancelled(): invalid state"):(this.Tc&&d.Tc.Lh(),d.uh=b.mq)},jX:function(a,c){var d=c.vc;if(d.uh!==b.lq)b.log("cc.Menu.onTouchMoved(): invalid state");else{var e=d.tK(a);e!=d.Tc&&(d.Tc&&d.Tc.Lh(),
- d.Tc=e,d.Tc&&d.Tc.selected())}},rb:function(){this.uh==b.lq&&(this.Tc&&(this.Tc.Lh(),this.Tc=null),this.uh=b.mq);b.k.prototype.rb.call(this)},Oe:function(){},Tf:function(){return!1},tK:function(a){a=a.ss();var c=this.t,d;if(c&&0<c.length)for(var e=0;e<c.length;e++)if(d=c[e],d.cc&&d.isEnabled()){var f=d.iE(a),g=d.rect();g.x=0;g.y=0;if(b.AO(g,f))return d}return null}});n=b.pn.prototype;
- b.pn.create=function(a){var c=arguments.length;0<c&&null==arguments[c-1]&&b.log("parameters should not be ending with null in Javascript");return 0==c?new b.pn:1==c?new b.pn(a):new b.pn(Array.prototype.slice.call(arguments,0))};b.q8=0;b.m8=1;b.p8=2;b.n8=3;b.o8=4;b.l8=5;b.Dka=function(a,c,d){var e=2;if(e+1>c)return!1;a=new b.mQ(a);a.iy(e);d.type=a.Q();e+=10;if(e+4+1>c)return!1;a.iy(e);d.width=a.k3();d.height=a.j3();d.pixelDepth=a.Q();if(e+5+1>c)return!1;c=a.Q();d.NM=0;c&32&&(d.NM=1);return!0};b.Eka=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.qf=b.qu(a,18,18+f);if(3<=e)for(a=0;a<f;a+=e)c=d.qf[a],d.qf[a]=d.qf[a+2],d.qf[a+2]=c;return!0};
- b.Gka=function(a){var c,d;if(8!==a.pixelDepth){var e=a.pixelDepth/8,f=new Uint8Array(a.height*a.width);if(null!==f){for(d=c=0;d<a.width*a.height;c+=e,d++)f[d]=0.3*a.qf[c]+0.59*a.qf[c+1]+0.11*a.qf[c+2];a.pixelDepth=8;a.type=3;a.qf=f}}};b.Bka=function(a){a&&(a.qf=null)};
- b.Fka=function(a,c,d){var e,f,g,h=0,k=0,m=0,p=[],r=0,s=18;e=d.pixelDepth/8;f=d.height*d.width;for(g=0;g<f;g++){if(0!=r)r--,k=0!=m;else{if(s+1>c)break;r=a[s];s+=1;(m=r&128)&&(r-=128);k=0}if(!k){if(s+e>c)break;p=b.qu(a,s,s+e);s+=e;3<=e&&(k=p[0],p[0]=p[2],p[2]=k)}for(k=0;k<e;k++)d.qf[h+k]=p[k];h+=e}return!0};b.Cka=function(a){for(var c=a.pixelDepth/8*a.width,d=0;d<a.height/2;d++){var e=b.qu(a.qf,d*c,d*c+c);b.FI(b.qu(a.qf,(a.height-(d+1))*c,c),a.qf,d*c);b.FI(e,a.qf,(a.height-(d+1))*c)}a.NM=0};
- b.qu=function(a,c,d){return a instanceof Array?a.slice(c,d):a.subarray(c,d)};b.FI=function(a,c,d){for(var e=0;e<a.length;e++)c[d+e]=a[e]};
- b.mQ=b.oa.extend({wn:null,ua:0,ctor:function(a){this.wn=a},oia:function(a){this.wn=a;this.ua=0},fba:function(){return this.wn},aV:function(a){if(!(this.ua+Math.ceil(a/8)<this.Mn.length))throw Error("Index out of bound");},qV:function(a,c){var d=a+c+1,e=d>>3;this.aV(d);var d=Math.pow(2,c-1)-1,f=this.wC(a+c,1,e),g=this.wC(a,c,e),h=0,k=2,m=0;do for(var p=this.Jv(++m,e),r=a%8||8,s=1<<r;s>>=1;)p&s&&(h+=1/k),k*=2;while(a-=r);this.ua+=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)},Jv:function(a,c){return this.Mn[this.ua+c-a-1]},Lu:function(a,c){var d=this.wC(0,a,a/8),e=Math.pow(2,a);this.ua+=a/8;return c&&d>=e/2?d-e:d},rY:function(a,c){for(++c;--c;a=1073741824==((a%=2147483648)&1073741824)?2*a:2*(a-1073741824)+2147483648);return a},wC: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.Jv(g,d)>>f&(1<<(h?8-f:c))-1;for(h&&e&&(c+=(this.Jv(a++,d)&(1<<e)-1)<<(h--<<3)-f);h;)c+=this.rY(this.Jv(a++,d),(h--<<3)-f);return c},
- uha:function(){return this.Lu(32,!0)},j3:function(){return this.Lu(32,!1)},wha:function(){return this.qV(23,8)},vha:function(){return this.Lu(16,!0)},k3:function(){return this.Lu(16,!1)},Q:function(){var a=this.Mn[this.ua];this.ua+=1;return a},rha:function(a,c){return this.wn instanceof Array?this.wn.slice(a,c):this.wn.subarray(a,c)},iy:function(a){this.ua=a},Hm:function(){return this.ua}});b.du=0;b.yl=1;b.cu=2;
- b.Rz=b.k.extend({Gb:null,uF:null,pp:null,$c:null,Fb:null,xj:null,ub:"TMXTiledMap",ctor:function(a,c){b.k.prototype.ctor.call(this);this.$c=N(0,0);this.Fb=N(0,0);void 0!==c?this.bF(a,c):void 0!==a&&this.aF(a)},FE:function(){return N(this.$c.width,this.$c.height)},fP:function(a){this.$c.width=a.width;this.$c.height=a.height},zB:function(){return this.$c.width},PC:function(a){this.$c.width=a},yB:function(){return this.$c.height},OC:function(a){this.$c.height=a},ep:function(){return N(this.Fb.width,this.Fb.height)},
- vP:function(a){this.Fb.width=a.width;this.Fb.height=a.height},hr:function(){return this.Fb.width},Hr:function(a){this.Fb.width=a},gr:function(){return this.Fb.height},Gr:function(a){this.Fb.height=a},kca:function(){return this.uF},cja:function(a){this.uF=a},YM:function(){return this.pp},gP:function(a){this.pp=a},Rw:function(){return this.Gb},jy:function(a){this.Gb=a},aF:function(a){if(!a||0==a.length)throw"cc.TMXTiledMap.initWithTMXFile(): tmxFile should be non-null or non-empty string.";this.height=
- this.width=0;a=b.xq.create(a);if(!a)return!1;var c=a.gm;c&&0!==c.length||b.log("cc.TMXTiledMap.initWithTMXFile(): Map not found. Please check the filename.");this.RI(a);return!0},bF:function(a,c){this.height=this.width=0;var d=b.xq.create(a,c),e=d.gm;e&&0!==e.length||b.log("cc.TMXTiledMap.initWithXML(): Map not found. Please check the filename.");this.RI(d);return!0},RI:function(a){this.$c=a.FE();this.Fb=a.ep();this.uF=a.orientation;this.pp=a.YM();this.Gb=a.Gb;this.xj=a.xj;var c=0,d=a.fe;if(d)for(var e=
- null,f=0,g=d.length;f<g;f++)(e=d[f])&&e.visible&&(e=this.pX(e,a),this.T(e,c,c),this.width=Math.max(this.width,e.width),this.height=Math.max(this.height,e.height),c++)},f$:function(){for(var a=[],c=this.t,d=0,e=c.length;d<e;d++){var f=c[d];f&&f instanceof b.wq&&a.push(f)}return a},aca:function(a){if(!a||0===a.length)throw"cc.TMXTiledMap.getLayer(): layerName should be non-null or non-empty string.";for(var c=this.t,d=0;d<c.length;d++){var e=c[d];if(e&&e.Ax==a)return e}return null},tca:function(a){if(!a||
- 0===a.length)throw"cc.TMXTiledMap.getObjectGroup(): groupName should be non-null or non-empty string.";if(this.pp)for(var c=0;c<this.pp.length;c++){var d=this.pp[c];if(d&&d.xs==a)return d}return null},IE:function(a){return this.Gb[a.toString()]},nha:function(a){return this.xj[a]},pX:function(a,c){var d=this.EY(a,c),d=b.wq.create(d,a,c);a.mO=!1;d.P4();return d},EY:function(a,c){var d=a.pa,e=c.gm;if(e)for(var f=e.length-1;0<=f;f--){var g=e[f];if(g)for(var h=0;h<d.height;h++)for(var k=0;k<d.width;k++){var m=
- a.Fe[k+d.width*h];if(0!=m&&(m&b.Sz)>>>0>=g.Cm)return g}}b.log("cocos2d: Warning: TMX Layer "+a.name+" has no tiles");return null}});n=b.Rz.prototype;b.i(n,"mapWidth",n.zB,n.PC);b.i(n,"mapHeight",n.yB,n.OC);b.i(n,"tileWidth",n.hr,n.Hr);b.i(n,"tileHeight",n.gr,n.Gr);b.Rz.create=function(a,c){return new b.Rz(a,c)};b.CT=0;b.t8=1;b.s8=2;b.v8=3;b.u8=4;b.w8=5;b.yq=2147483648;b.zq=1073741824;b.MH=536870912;b.NH=(b.yq|b.zq|b.MH)>>>0;b.Sz=~b.NH>>>0;b.xl=b.oa.extend({Gb:null,name:"",pa:null,Fe:null,visible:null,Sd:null,mO:!0,Ql:1E5,Pl:0,offset:null,ctor:function(){this.Gb=[];this.name="";this.pa=null;this.Fe=[];this.visible=!0;this.Sd=0;this.mO=!0;this.Ql=1E5;this.Pl=0;this.offset=C(0,0)},Rw:function(){return this.Gb},jy:function(a){this.Gb=a}});
- b.BT=b.oa.extend({name:"",Cm:0,Fb:null,ct:0,margin:0,BP:"",cx:null,ctor:function(){this.Fb=N(0,0);this.cx=N(0,0)},Ss:function(a){var c=P(0,0,0,0);c.width=this.Fb.width;c.height=this.Fb.height;a&=b.Sz;a-=parseInt(this.Cm,10);var d=parseInt((this.cx.width-2*this.margin+this.ct)/(this.Fb.width+this.ct),10);c.x=parseInt(a%d*(this.Fb.width+this.ct)+this.margin,10);c.y=parseInt(parseInt(a/d,10)*(this.Fb.height+this.ct)+this.margin,10);return c}});
- b.xq=b.Xt.extend({Gb:null,orientation:null,parentElement:null,Qx:null,zx:0,lG:!1,Gp:null,kE:null,xv:null,$c:null,Fb:null,fe:null,gm:null,xj:null,Nv:"",$I:0,ctor:function(a,c){b.Xt.prototype.ctor.apply(this);this.$c=N(0,0);this.Fb=N(0,0);this.fe=[];this.gm=[];this.xv=[];this.Gb=[];this.xj={};this.$I=0;void 0!==c?this.bF(a,c):void 0!==a&&this.aF(a)},xca:function(){return this.orientation},kja:function(a){this.orientation=a},FE:function(){return N(this.$c.width,this.$c.height)},fP:function(a){this.$c.width=
- a.width;this.$c.height=a.height},zB:function(){return this.$c.width},PC:function(a){this.$c.width=a},yB:function(){return this.$c.height},OC:function(a){this.$c.height=a},ep:function(){return N(this.Fb.width,this.Fb.height)},vP:function(a){this.Fb.width=a.width;this.Fb.height=a.height},hr:function(){return this.Fb.width},Hr:function(a){this.Fb.width=a},gr:function(){return this.Fb.height},Gr:function(a){this.Fb.height=a},fca:function(){return this.fe},g4:function(a){this.fe.push(a)},nda:function(){return this.gm},
- G4:function(a){this.gm.push(a)},YM:function(){return this.xv},gP:function(a){this.xv.push(a)},Bca:function(){return this.parentElement},pja:function(a){this.parentElement=a},Cca:function(){return this.Qx},qja:function(a){this.Qx=a},bca:function(){return this.zx},Wia:function(a){this.zx=a},dda:function(){return this.lG},Hja:function(a){this.lG=a},Rw:function(){return this.Gb},jy:function(a){this.Gb=a},aF:function(a){this.lK(a,null);return this.AF(a)},bF:function(a,c){this.lK(null,c);return this.Q2(a)},
- AF:function(a,c){var d=(c=c||!1)?a:b.U.Dd(a);if(!d)throw"Please load the resource first : "+a;var e,f,d=this.dC(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.du:"isometric"==f?this.orientation=b.cu:"hexagonal"==f?this.orientation=b.yl:null!==f&&b.log("cocos2d: TMXFomat: Unsupported orientation:"+f),e=N(0,0),e.width=parseFloat(d.getAttribute("width")),
- e.height=parseFloat(d.getAttribute("height")),this.fP(e),e=N(0,0),e.width=parseFloat(d.getAttribute("tilewidth")),e.height=parseFloat(d.getAttribute("tileheight")),this.vP(e),f=d.querySelectorAll("map \x3e properties \x3e property"))){var g={};for(e=0;e<f.length;e++)g[f[e].getAttribute("name")]=f[e].getAttribute("value");this.Gb=g}g=d.getElementsByTagName("tileset");"map"!==d.nodeName&&(g=[],g.push(d));for(e=0;e<g.length;e++){f=g[e];var h=f.getAttribute("source");if(h)f=c?b.path.join(this.Nv,h):
- b.path.Oo(a,h),this.AF(f);else{h=new b.BT;h.name=f.getAttribute("name")||"";h.Cm=parseInt(f.getAttribute("firstgid"))||0;h.ct=parseInt(f.getAttribute("spacing"))||0;h.margin=parseInt(f.getAttribute("margin"))||0;var k=N(0,0);k.width=parseFloat(f.getAttribute("tilewidth"));k.height=parseFloat(f.getAttribute("tileheight"));h.Fb=k;var k=f.getElementsByTagName("image")[0].getAttribute("source"),m=-1;this.Gp&&(m=this.Gp.lastIndexOf("/"));h.BP=-1!==m?this.Gp.substr(0,m+1)+k:this.Nv+(this.Nv?"/":"")+k;this.G4(h);
- if(k=f.getElementsByTagName("tile"))for(m=0;m<k.length;m++){f=k[m];this.Qx=parseInt(h.Cm)+parseInt(f.getAttribute("id")||0);var p=f.querySelectorAll("properties \x3e property");if(p){var r={};for(f=0;f<p.length;f++){var s=p[f].getAttribute("name");r[s]=p[f].getAttribute("value")}this.xj[this.Qx]=r}}}}if(g=d.getElementsByTagName("layer"))for(e=0;e<g.length;e++){k=g[e];m=k.getElementsByTagName("data")[0];h=new b.xl;h.name=k.getAttribute("name");f=N(0,0);f.width=parseFloat(k.getAttribute("width"));f.height=
- parseFloat(k.getAttribute("height"));h.pa=f;f=k.getAttribute("visible");h.visible="0"!=f;f=k.getAttribute("opacity")||1;h.Sd=f?parseInt(255*parseFloat(f)):255;h.offset=C(parseFloat(k.getAttribute("x"))||0,parseFloat(k.getAttribute("y"))||0);p="";for(f=0;f<m.childNodes.length;f++)p+=m.childNodes[f].nodeValue;p=p.trim();f=m.getAttribute("compression");r=m.getAttribute("encoding");if(f&&"gzip"!==f&&"zlib"!==f)return b.log("cc.TMXMapInfo.parseXMLFile(): unsupported compression method"),null;switch(f){case "gzip":h.Fe=
- b.RP(p,4);break;case "zlib":f=new Zlib.kn(b.ia.ol.tM(p,1));h.Fe=b.G5(f.uM());break;case null:case "":if("base64"==r)h.Fe=b.ia.ol.tM(p,4);else if("csv"===r)for(h.Fe=[],f=p.split(","),m=0;m<f.length;m++)h.Fe.push(parseInt(f[m]));else for(f=m.getElementsByTagName("tile"),h.Fe=[],m=0;m<f.length;m++)h.Fe.push(parseInt(f[m].getAttribute("gid")));break;default:this.zx==b.xl.vG&&b.log("cc.TMXMapInfo.parseXMLFile(): Only base64 and/or gzip/zlib maps are supported")}if(k=k.querySelectorAll("properties \x3e property")){m=
- {};for(f=0;f<k.length;f++)m[k[f].getAttribute("name")]=k[f].getAttribute("value");h.Gb=m}this.g4(h)}if(g=d.getElementsByTagName("objectgroup"))for(e=0;e<g.length;e++){k=g[e];h=new b.AT;h.xs=k.getAttribute("name");h.s4(C(parseFloat(k.getAttribute("x"))*this.ep().width||0,parseFloat(k.getAttribute("y"))*this.ep().height||0));if(m=k.querySelectorAll("objectgroup \x3e properties \x3e property"))for(f=0;f<m.length;f++)p={},p[m[f].getAttribute("name")]=m[f].getAttribute("value"),h.Gb=p;if(k=k.querySelectorAll("object"))for(f=
- 0;f<k.length;f++){p=k[f];m={};m.name=p.getAttribute("name")||"";m.type=p.getAttribute("type")||"";m.x=parseInt(p.getAttribute("x")||0)+h.bN().x;r=parseInt(p.getAttribute("y")||0)+h.bN().y;m.width=parseInt(p.getAttribute("width"))||0;m.height=parseInt(p.getAttribute("height"))||0;m.y=parseInt(this.FE().height*this.ep().height)-r-m.height;if(r=p.querySelectorAll("properties \x3e property"))for(s=0;s<r.length;s++)m[r[s].getAttribute("name")]=r[s].getAttribute("value");(r=p.querySelectorAll("polygon"))&&
- 0<r.length&&(r=r[0].getAttribute("points"))&&(m.polygonPoints=this.KK(r));(p=p.querySelectorAll("polyline"))&&0<p.length&&(p=p[0].getAttribute("points"))&&(m.polylinePoints=this.KK(p));h.n4(m)}this.gP(h)}return d},KK:function(a){if(!a)return null;var c=[];a=a.split(" ");for(var d=0;d<a.length;d++){var e=a[d].split(",");c.push({x:e[0],y:e[1]})}return c},Q2:function(a){return this.AF(a,!0)},kda:function(){return this.xj},Pja:function(a){this.xj.push(a)},uba:function(){return this.kE},Bia:function(a){this.kE=
- a},fda:function(){return this.Gp},Kja:function(a){this.Gp=a},lK:function(a,c){this.gm.length=0;this.fe.length=0;this.Gp=a;c&&(this.Nv=c);this.xv.length=0;this.Gb.length=0;this.xj.length=0;this.kE="";this.lG=!1;this.zx=b.xl.vG;this.parentElement=b.CT;this.$I=0}});n=b.xq.prototype;b.i(n,"mapWidth",n.zB,n.PC);b.i(n,"mapHeight",n.yB,n.OC);b.i(n,"tileWidth",n.hr,n.Hr);b.i(n,"tileHeight",n.gr,n.Gr);b.xq.create=function(a,c){return new b.xq(a,c)};b.U.Oj(["tmx","tsx"],b.FL);b.xl.vG=1;b.xl.l6=2;b.xl.m6=4;
- b.xl.n6=8;b.AT=b.oa.extend({Gb:null,xs:"",Gv:null,qo:null,ctor:function(){this.xs="";this.Gv=C(0,0);this.Gb=[];this.qo=[]},bN:function(){return C(this.Gv)},s4:function(a){this.Gv.x=a.x;this.Gv.y=a.y},Rw:function(){return this.Gb},jy:function(a){this.Gb.push(a)},Wba:function(){return this.xs.toString()},Tia:function(a){this.xs=a},oha:function(a){return this.Gb[a]},Ega:function(a){if(this.qo&&0<this.qo.length)for(var c=this.qo,d=0,e=c.length;d<e;d++){var f=c[d].name;if(f&&f==a)return c[d]}return null},uca:function(){return this.qo},
- n4:function(a){this.qo.push(a)}});b.wq=b.te.extend({Jd:null,cg:null,Ij:null,Gb:null,Ax:"",pa:null,Yb:null,Sd:255,Ql:null,Pl:null,ED:null,yD:null,U8:null,nh:null,Nd:null,$g:null,Yd:null,Zd:null,QA:null,bw:null,cw:null,Nk:0,dw:0,DK:1E7,ub:"TMXLayer",ctor:function(a,c,d){b.te.prototype.ctor.call(this);this.yd=[];this.pa=N(0,0);this.Yb=N(0,0);if(b.A===b.Aa){var e=b.Va,f=b.Sb("canvas");f.width=e.width;f.height=e.height;this.Yd=f;this.Zd=this.Yd.getContext("2d");var g=new b.aa;g.Jc(f);g.qb();this.QA=g;this.width=e.width;this.height=e.height;
- this.Dn=this}void 0!==d&&this.y1(a,c,d)},Gd:function(a,c){var d=this.O;b.k.prototype.Gd.call(this,a,c);if(b.A===b.Aa){var e=this.Yd,f=b.nb();e.width=0|1.5*d.width*f;e.height=0|1.5*d.height*f;this.Ij===b.yl?this.Zd.translate(0,e.height-0.5*this.Yb.height):this.Zd.translate(0,e.height);d=this.QA.O;d.width=e.width;d.height=e.height;d=e.width*e.height;if(d>this.DK){this.bw||(this.bw=[]);this.cw||(this.cw=[]);this.Nk=Math.ceil(d/this.DK);d=this.bw;for(f=0;f<this.Nk;f++){d[f]||(d[f]=document.createElement("canvas"),
- this.cw[f]=d[f].getContext("2d"));var g=d[f];g.width=this.dw=Math.round(e.width/this.Nk);g.height=e.height}for(f=this.Nk;f<d.length;f++)g.width=0,g.height=0}else this.Nk=0}},ya:null,fr:function(){return this.QA},R:null,lm:function(a){var c=a||b.l;if(this.cc){c.save();this.transform(a);var d,e=this.t;if(this.qg){var f=b.view;f.Uv();var g=this.Zd,h=this.Yd;g.clearRect(0,0,h.width,-h.height);g.save();g.translate(this.Ab.x,-this.Ab.y);if(e)for(this.Vc(),d=0;d<e.length;d++)e[d]&&e[d].R(g);g.restore();
- if(0<this.Nk)for(e=this.dw,g=h.height,d=0;d<this.Nk;d++)this.cw[d].drawImage(h,d*e,0,e,g,0,0,e,g);f.Mv();this.qg=!1}this.Y(a);c.restore()}},Y:null,Hl:function(a){a=a||b.l;var c=0|-this.Ab.x,d=0|-this.Ab.y,e=b.view,f=this.Yd;if(f){var g=this.Nk,h=f.height*e.Ka,k=0.5*this.Yb.height*e.Ka;if(0<g)for(var f=this.bw,m=0;m<g;m++){var p=f[m];this.Ij===b.yl?a.drawImage(f[m],0,0,p.width,p.height,c+m*this.dw,-(d+h)+k,p.width*e.ja,h):a.drawImage(f[m],0,0,p.width,p.height,c+m*this.dw,-(d+h),p.width*e.ja,h)}else this.Ij===
- b.yl?a.drawImage(f,0,0,f.width,f.height,c,-(d+h)+k,f.width*e.ja,h):a.drawImage(f,0,0,f.width,f.height,c,-(d+h),f.width*e.ja,h)}},eca:function(){return N(this.pa.width,this.pa.height)},Zia:function(a){this.pa.width=a.width;this.pa.height=a.height},bW:function(){return this.pa.width},VX:function(a){this.pa.width=a},aW:function(){return this.pa.height},UX:function(a){this.pa.height=a},lca:function(){return N(this.Yb.width,this.Yb.height)},dja:function(a){this.Yb.width=a.width;this.Yb.height=a.height},
- hr:function(){return this.Yb.width},Hr:function(a){this.Yb.width=a},gr:function(){return this.Yb.height},Gr:function(a){this.Yb.height=a},lda:function(){return this.Jd},Qja:function(a){this.Jd=a},mda:function(){return this.cg},Rja:function(a){this.cg=a},dca:function(){return this.Ij},Yia:function(a){this.Ij=a},Rw:function(){return this.Gb},jy:function(a){this.Gb=a},y1:function(a,c,d){var e=c.pa,f=0.35*parseInt(e.width*e.height)+1,g;a&&(g=b.Ca.Hc(a.BP));return this.qa(g,f)?(this.Ax=c.name,this.pa=
- e,this.Jd=c.Fe,this.Ql=c.Ql,this.Pl=c.Pl,this.Sd=c.Sd,this.Gb=c.Gb,this.$g=b.K.$g,this.cg=a,this.Yb=d.ep(),this.Ij=d.orientation,a=this.VU(c.offset),this.H(b.CF(a)),this.Nd=[],this.Gd(b.zP(N(this.pa.width*this.Yb.width,this.pa.height*this.Yb.height))),this.yD=!1,this.ED=0,!0):!1},Eha:function(){this.Jd&&(this.Jd=null);this.Nd&&(this.Nd=null)},jda:function(a,c){if(!a)throw"cc.TMXLayer.getTileAt(): pos should be non-null";void 0!==c&&(a=C(a,c));if(a.x>=this.pa.width||a.y>=this.pa.height||0>a.x||0>a.y)throw"cc.TMXLayer.getTileAt(): invalid position";
- if(!this.Jd||!this.Nd)return b.log("cc.TMXLayer.getTileAt(): TMXLayer: the tiles map has been released"),null;var d=null,e=this.NE(a);if(0===e)return d;var f=0|a.x+a.y*this.pa.width,d=this.Ch(f);d||(e=this.cg.Ss(e),e=b.hl(e),d=new b.I,d.qa(this.texture,e),d.batchNode=this,d.H(this.Qw(a)),d.vertexZ=this.OL(a),d.anchorX=0,d.anchorY=0,d.opacity=this.Sd,e=this.FA(f),this.YY(d,e,f));return d},NE: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.pa.width||a.y>=this.pa.height||0>a.x||0>a.y)throw"cc.TMXLayer.getTileGIDAt(): invalid position";return this.Jd&&this.Nd?(this.Jd[0|a.x+a.y*this.pa.width]&b.Sz)>>>0:(b.log("cc.TMXLayer.getTileGIDAt(): TMXLayer: the tiles map has been released"),null)},Z0: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.pa.width||a.y>=this.pa.height||0>a.x||0>a.y)throw"cc.TMXLayer.getTileFlagsAt(): invalid position";return this.Jd&&this.Nd?(this.Jd[0|
- a.x+a.y*this.pa.width]&b.NH)>>>0:(b.log("cc.TMXLayer.getTileFlagsAt(): TMXLayer: the tiles map has been released"),null)},Oja: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.pa.width||c.y>=this.pa.height||0>c.x||0>c.y)throw"cc.TMXLayer.setTileGID(): invalid position";if(this.Jd&&this.Nd)if(0!==a&&a<this.cg.Cm)b.log("cc.TMXLayer.setTileGID(): invalid gid:"+a);else{e=e||0;this.ri();d=this.Z0(c);var f=this.NE(c);if(f!=a||d!=e)if(d=
- (a|e)>>>0,0===a)this.u3(c);else if(0===f)this.KW(d,c);else{var f=c.x+c.y*this.pa.width,g=this.Ch(f);g?(a=this.cg.Ss(a),a=b.hl(a),g.sb(a,!1),null!=e&&this.Vv(g,c,d),this.Jd[f]=d):this.QY(d,c)}}else b.log("cc.TMXLayer.setTileGID(): TMXLayer: the tiles map has been released")},u3: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.pa.width||a.y>=this.pa.height||0>a.x||0>a.y)throw"cc.TMXLayer.removeTileAt(): invalid position";if(!this.Jd||
- !this.Nd)b.log("cc.TMXLayer.removeTileAt(): TMXLayer: the tiles map has been released");else if(0!==this.NE(a)){b.A===b.Aa&&this.ri();var d=0|a.x+a.y*this.pa.width,e=this.FA(d);this.Jd[d]=0;this.Nd.splice(e,1);if(d=this.Ch(d))b.te.prototype.removeChild.call(this,d,!0);else if(b.A===b.V&&this.textureAtlas.GO(e),this.t)for(var d=this.t,f=0,g=d.length;f<g;f++){var h=d[f];if(h){var k=h.atlasIndex;k>=e&&(h.atlasIndex=k-1)}}}},Qw:function(a,c){void 0!==c&&(a=C(a,c));var d=C(0,0);switch(this.Ij){case b.du:d=
- this.vX(a);break;case b.cu:d=this.uX(a);break;case b.yl:d=this.tX(a)}return b.CF(d)},IE:function(a){return this.Gb[a]},P4:function(){b.A===b.Aa?this.cg.cx=this.xc.O:(this.cg.cx=this.textureAtlas.texture.O,this.textureAtlas.texture.PF());this.oX();b.A===b.Aa&&this.ri();for(var a=this.pa.height,c=this.pa.width,d=0;d<a;d++)for(var e=0;e<c;e++){var f=this.Jd[e+c*d];0!==f&&(this.OU(f,C(e,d)),this.Ql=Math.min(f,this.Ql),this.Pl=Math.max(f,this.Pl))}this.Pl>=this.cg.Cm&&this.Ql>=this.cg.Cm||b.log("cocos2d:TMX: Only 1 tileset per layer is supported")},
- T:function(){b.log("addChild: is not supported on cc.TMXLayer. Instead use setTileGID or tileAt.")},removeChild:function(a,c){if(a)if(-1===this.t.indexOf(a))b.log("cc.TMXLayer.removeChild(): Tile does not belong to TMXLayer");else{b.A===b.Aa&&this.ri();var d=a.atlasIndex;this.Jd[this.Nd[d]]=0;this.Nd.splice(d,1);b.te.prototype.removeChild.call(this,a,c)}},cca:function(){return this.Ax},Xia:function(a){this.Ax=a},uX:function(a){return C(this.Yb.width/2*(this.pa.width+a.x-a.y-1),this.Yb.height/2*(2*
- this.pa.height-a.x-a.y-2))},vX:function(a){return C(a.x*this.Yb.width,(this.pa.height-a.y-1)*this.Yb.height)},tX:function(a){return C(a.x*this.Yb.width*3/4,(this.pa.height-a.y-1)*this.Yb.height+(1==a.x%2?-this.Yb.height/2:0))},VU:function(a){var c=C(0,0);switch(this.Ij){case b.du:c=C(a.x*this.Yb.width,-a.y*this.Yb.height);break;case b.cu:c=C(this.Yb.width/2*(a.x-a.y),this.Yb.height/2*(-a.x-a.y));break;case b.yl:0===a.x&&0===a.y||b.log("offset for hexagonal map not implemented yet")}return c},OU:function(a,
- c){var d=this.cg.Ss(a),d=b.hl(d),e=0|c.x+c.y*this.pa.width,d=this.EC(d);this.Vv(d,c,a);var f=this.Nd.length;this.jx(d,f);this.Nd.splice(f,0,e);return d},KW:function(a,c){var d=this.cg.Ss(a),d=b.hl(d),e=0|c.x+c.y*this.pa.width,d=this.EC(d);this.Vv(d,c,a);var f=this.QU(e);this.jx(d,f);this.Nd.splice(f,0,e);if(this.t)for(var g=this.t,h=0,k=g.length;h<k;h++){var m=g[h];if(m){var p=m.atlasIndex;p>=f&&(m.atlasIndex=p+1)}}this.Jd[e]=a;return d},QY:function(a,c){var d=this.cg.Ss(a),e=this.$g,d=P(d.x/e,d.y/
- e,d.width/e,d.height/e),e=c.x+c.y*this.pa.width,d=this.EC(d);this.Vv(d,c,a);d.atlasIndex=this.FA(e);d.dirty=!0;d.Ue();this.Jd[e]=a;return d},oX:function(){var a=this.IE("cc_vertexz");if(a)if("automatic"==a){this.yD=!0;var c=this.IE("cc_alpha_func"),a=0;c&&(a=parseFloat(c));b.A===b.V&&(this.shaderProgram=b.Id.nc(b.Zt),c=b.l.getUniformLocation(this.shaderProgram.Im(),b.vI),this.shaderProgram.Nc(),this.shaderProgram.$s(c,a))}else this.ED=parseInt(a,10)},Vv:function(a,c,d){var e=c.x+c.y*this.pa.width;
- a.H(this.Qw(c));b.A===b.V?a.vertexZ=this.OL(c):a.tag=e;a.anchorX=0;a.anchorY=0;a.opacity=this.Sd;b.A===b.V&&(a.rotation=0);a.dy(!1);a.VF(!1);(d&b.MH)>>>0?(a.anchorX=0.5,a.anchorY=0.5,a.x=this.Qw(c).x+a.width/2,a.y=this.Qw(c).y+a.height/2,c=(d&(b.yq|b.zq)>>>0)>>>0,c==b.yq?a.rotation=90:c==b.zq?a.rotation=270:(a.rotation=c==(b.zq|b.yq)>>>0?90:270,a.dy(!0))):((d&b.yq)>>>0&&a.dy(!0),(d&b.zq)>>>0&&a.VF(!0))},EC:function(a){b.A===b.V?(this.nh?(this.nh.batchNode=null,this.nh.sb(a,!1)):(this.nh=new b.I,this.nh.qa(this.texture,
- a,!1)),this.nh.batchNode=this):(this.nh=new b.I,this.nh.qa(this.Pk,a,!1),this.nh.batchNode=this,this.nh.parent=this);return this.nh},OL:function(a){var c=0,d=0;if(this.yD)switch(this.Ij){case b.cu:d=this.pa.width+this.pa.height;c=-(d-(a.x+a.y));break;case b.du:c=-(this.pa.height-a.y);break;case b.yl:b.log("TMX Hexa zOrder not supported");break;default:b.log("TMX invalid value")}else c=this.ED;return c},FA:function(a){var c;if(this.Nd)for(var d=this.Nd,e=0,f=d.length;e<f&&(c=d[e],c!=a);e++);"number"!=
- typeof c&&b.log("cc.TMXLayer._atlasIndexForExistantZ(): TMX atlas index not found. Shall not happen");return e},QU:function(a){for(var c=this.Nd,d=0,e=c.length;d<e&&!(a<c[d]);d++);return d}});n=b.wq.prototype;b.A==b.V?(n.Y=b.te.prototype.Y,n.R=b.te.prototype.R,n.ya=b.te.prototype.ya):(n.Y=n.Hl,n.R=n.lm,n.ya=n.fr);b.i(n,"texture",n.ya,n.Ya);b.i(n,"layerWidth",n.bW,n.VX);b.i(n,"layerHeight",n.aW,n.UX);b.i(n,"tileWidth",n.hr,n.Hr);b.i(n,"tileHeight",n.gr,n.Gr);
- b.wq.create=function(a,c,d){return new b.wq(a,c,d)};b.tz=b.oa.extend({Cr:null,ua:null,Nq:null,Nca:function(){return this.Cr},xja:function(a){this.Cr=a},Hm:function(){return this.ua},iy:function(a){this.ua=a},mba:function(){return this.Nq},R3:function(a){this.Nq=a},q1:function(a,c){this.Cr=a;this.ua=c;this.Nq=null;return!0}});b.tz.create=function(a,c){var d=new b.tz;d.q1(a,c);return d};
- b.mH=b.k.extend({Nm:null,NB:null,ub:"ParallaxNode",Aca:function(){return this.Nm},oja:function(a){this.Nm=a},ctor:function(){b.k.prototype.ctor.call(this);this.Nm=[];this.NB=C(-100,-100)},T:function(a,c,d,e){if(3===arguments.length)b.log("ParallaxNode: use addChild(child, z, ratio, offset) instead");else{if(!a)throw"cc.ParallaxNode.addChild(): child should be non-null";var f=b.tz.create(d,e);f.R3(a);this.Nm.push(f);a.H(this.va.x*d.x+e.x,this.va.y*d.y+e.y);b.k.prototype.T.call(this,a,c,a.tag)}},removeChild:function(a,
- c){for(var d=this.Nm,e=0;e<d.length;e++)if(d[e].Nq==a){d.splice(e,1);break}b.k.prototype.removeChild.call(this,a,c)},Ig:function(a){this.Nm.length=0;b.k.prototype.Ig.call(this,a)},R:function(){var a=this.DU();if(!b.BF(a,this.NB)){for(var c=this.Nm,d=0,e=c.length;d<e;d++){var f=c[d];f.Nq.H(-a.x+a.x*f.Cr.x+f.Hm().x,-a.y+a.y*f.Cr.y+f.Hm().y)}this.NB=a}b.k.prototype.R.call(this)},DU:function(){for(var a=this.va,c=this;null!=c.parent;)c=c.parent,a=b.Hi(a,c.Pw());return a}});b.mH.create=function(){return new b.mH};if(b.ob.fw){var U=b.Tka=new (window.AudioContext||window.webkitAudioContext||window.mozAudioContext);b.qA=b.oa.extend({Sn:null,ab:null,bm:null,KD:null,src:null,Sx:null,autoplay:null,controls:null,nga:null,currentTime:0,startTime:0,duration:0,QB:null,JD:1,Ev:0,kc:!1,yo:!0,vg:-1,ctor:function(a){this.Sn={};this.src=a;this.KD=U.createGain?U.createGain():U.createGainNode();this.eX=this.dX.bind(this);this.bX=this.aX.bind(this)},eC:function(a){var c=this,d=c.bm=U.createBufferSource(),e=c.KD;a=a||0;d.buffer=
- c.ab;e.gain.value=c.JD;d.connect(e);e.connect(U.destination);d.loop=c.QB;d.onended=function(){c.yo=!0};c.kc=!1;c.yo=!1;d.start?d.start(0,a):d.noteGrainOn?(e=d.buffer.duration,c.loop?d.noteGrainOn(0,a,e):d.noteGrainOn(0,a,e-a)):d.noteOn(0);c.Ev=0},AL:function(){var a=this.bm;this.yo||(a.stop?a.stop(0):a.qga(0),this.yo=!0)},play:function(){if(-1==this.vg)this.vg=0;else if(1==this.vg){var a=this.bm;if(this.yo||!a||2!=a.playbackState)this.startTime=U.currentTime,this.eC(0)}},pause:function(){this.Ev=
- U.currentTime;this.kc=!0;this.AL()},xp:function(){this.kc&&this.eC(this.ab?(this.Ev-this.startTime)%this.ab.duration:0)},stop:function(){this.Ev=0;this.kc=!1;this.AL()},load:function(){var a=this;if(1!=a.vg){a.vg=-1;a.played=!1;a.ended=!0;var c=new XMLHttpRequest;c.open("GET",a.src,!0);c.responseType="arraybuffer";c.onload=function(){U.decodeAudioData(c.response,a.eX,a.bX)};c.send()}},addEventListener:function(a,c){this.Sn[a]=c.bind(this)},removeEventListener:function(a){delete this.Sn[a]},r$:function(){return b.ob.fw},
- dX:function(a){this.ab=a;a=this.Sn.success;var c=this.Sn.canplaythrough;a&&a();c&&c();0!=this.vg&&"autoplay"!=this.autoplay&&!0!=this.autoplay||this.eC();this.vg=1},aX:function(){var a=this.Sn.error;a&&a();this.vg=-2},cloneNode:function(){var a=new b.qA(this.src);a.volume=this.volume;a.vg=this.vg;a.ab=this.ab;0!=a.vg&&-1!=a.vg||a.load();return a}});n=b.qA.prototype;b.i(n,"loop",function(){return this.QB},function(a){this.QB=a;this.bm&&(this.bm.loop=a)});b.i(n,"volume",function(){return this.JD},function(a){this.JD=
- a;this.KD.gain.value=a});b.i(n,"paused",function(){return this.kc});b.i(n,"ended",function(){var a=this.bm;return!this.kc&&(this.yo||!a||3==a.playbackState)});b.i(n,"played",function(){var a=this.bm;return a&&2==a.playbackState})}
- b.zG=b.oa.extend({aD:!1,Pd:null,Ku:null,ef:0,NI:0,de:{},Lq:{},Tu:1,SB:5,nk:null,zr:[],ctor:function(){this.aD=0<b.GA.gw.length;this.nk&&(this.nk=this.nk.bind(this))},Vka:function(){return!1},Eba:function(){return this.Tu},iha:function(a,c){if(this.aD){var d=this.Pd;d&&this.Mk(d);a!=this.Ku&&(this.Pd=d=this.qB(a),this.Ku=a);d&&(d.loop=c||!1,this.fC(d))}},qB:function(a){var c=b.U,d=c.Dd(a);d||(c.load(a),d=c.Dd(a));return d},fC:function(a){a.ended||(a.stop?a.stop():(a.pause(),a.currentTime=0));this.ef=
- 2;a.play()},n5:function(a){if(0<this.ef){var c=this.Pd;c&&this.Mk(c)&&(a&&b.U.Ki(this.Ku),this.Ku=this.Pd=null,this.ef=0)}},Mk:function(a){return a&&!a.ended?(a.stop?a.stop():a.duration&&Infinity!=a.duration?a.currentTime=a.duration:a.pause(),!0):!1},uO:function(){2==this.ef&&(this.Pd.pause(),this.ef=1)},A3:function(){1==this.ef&&(this.pj(this.Pd),this.ef=2)},pj:function(a){a&&!a.ended&&(a.xp?a.xp():a.play())},aia:function(){this.Pd&&this.fC(this.Pd)},qca:function(){return 0==this.ef?0:this.Pd.volume},
- eja:function(a){0<this.ef&&(this.Pd.volume=Math.min(Math.max(a,0),1))},hF:function(){return 2==this.ef&&this.Pd&&!this.Pd.ended},tB:function(a){var c=this.Lq[a];c||(c=this.Lq[a]=[]);return c},$J:function(a){var c;if(!this.aD)return null;for(var d=this.tB(a),e=0,f=d.length;e<f;e++){var g=d[e];if(g.ended){c=g;c.currentTime=0;window.chrome&&c.load();break}}if(!c){if(d.length>=this.SB)return b.log("Error: "+a+" greater than "+this.SB),null;c=this.qB(a);if(!c)return null;c=c.cloneNode(!0);this.nk&&b.Fa(c,
- "pause",this.nk);c.volume=this.Tu;d.push(c)}return c},Rx:function(a,c){var d=this.$J(a);if(!d)return null;d.loop=c||!1;d.play();var e=this.NI++;this.de[e]=d;return e},Iia:function(a){a=this.Tu=Math.min(Math.max(a,0),1);var c=this.de,d;for(d in c)c[d].volume=a},T2:function(a){(a=this.de[a])&&!a.ended&&a.pause()},R2:function(){var a=this.de,c;for(c in a){var d=a[c];d.ended||d.pause()}},z3:function(a){this.pj(this.de[a])},y3:function(){var a=this.de,c;for(c in a)this.pj(a[c])},l5:function(a){this.Mk(this.de[a]);
- delete this.de[a]},qy:function(){var a=this.de,c;for(c in a)this.Mk(a[c]),delete a[c]},H5:function(a){var c=b.U,d=this.de,e=this.tB(a);c.Ki(a);if(0!=e.length){c=e[0].src;delete this.Lq[a];for(var f in d)d[f].src==c&&(this.Mk(d[f]),delete d[f])}},end:function(){this.n5();this.qy()},MK:function(){var a=this.de,c,d;for(d in a)!(c=a[d])||c.ended||c.paused||(this.zr.push(c),c.pause());this.hF()&&(this.zr.push(this.Pd),this.Pd.pause())},cL:function(){for(var a=this.zr,c=0,d=a.length;c<d;c++)this.pj(a[c]);
- a.length=0}});
- !b.ob.fw&&0>b.ob.AY&&(b.AG=b.zG.extend({Tk:[],yr:[],zf:null,SB:2,Su:{},Sl:!1,Tn:0,JB:!1,fC:function(a){this.iD();this._super(a)},A3:function(){1==this.ef&&(this.iD(),this.Sl=!1,this.Tn=0,this._super())},Rx:function(a,c){var d=this.zf,e=c?this.$J(a):this.qW(a);if(!e)return null;e.loop=c||!1;var f=this.NI++;this.de[f]=e;this.hF()&&(this.uO(),this.Sl=!0);d?(d!=e&&this.Tk.push(this.Ln),this.Tk.push(f),d.pause()):(this.zf=e,this.Ln=f,e.play());return f},T2:function(){b.log("pauseEffect not supported in single audio mode!")},R2:function(){var a=
- this.Tk,c=this.yr,d=this.zf;if(d){for(var e=0,f=a.length;e<f;e++)c.push(a[e]);a.length=0;c.push(this.Ln);d.pause()}},z3:function(){b.log("resumeEffect not supported in single audio mode!")},y3:function(){var a=this.Tk,c=this.yr;this.hF()&&(this.uO(),this.Sl=!0);for(var d=0,e=c.length;d<e;d++)a.push(c[d]);c.length=0;!this.zf&&0<=a.length&&(a=a.pop(),c=this.de[a])&&(this.Ln=a,this.zf=c,this.pj(c))},l5:function(a){var c=this.zf,d=this.Tk,e=this.yr;c&&this.Ln==a?this.Mk(c):(c=d.indexOf(a),0<=c?d.splice(c,
- 1):(c=e.indexOf(a),0<=c&&e.splice(c,1)))},qy:function(){this.iD();!this.zf&&this.Sl&&(this.pj(this.Pd),this.ef=2,this.Sl=!1,this.Tn=0)},H5:function(a){var c=b.U,d=this.de,e=this.Su,f=this.tB(a),g=this.zf;c.Ki(a);if(0!=f.length||e[a]){c=0<f.length?f[0].src:e[a].src;delete this.Lq[a];delete e[a];for(var h in d)d[h].src==c&&delete d[h];g&&g.src==c&&this.Mk(g)}},qW:function(a){var c=this.Su[a],d=this.Tk,e=this.yr,f=this.de;if(c)c.currentTime=0;else{c=this.qB(a);if(!c)return null;c=c.cloneNode(!0);this.nk&&
- b.Fa(c,"pause",this.nk);c.volume=this.Tu;this.Su[a]=c}a=0;for(var g=d.length;a<g;)f[d[a]]==c?d.splice(a,1):a++;a=0;for(g=e.length;a<g;)f[e[a]]==c?e.splice(a,1):a++;c.or=!0;return c},iD:function(){var a=this.zf,c=this.Lq,d=this.Su,e=this.Tk,f=this.yr;if(a||0!=e.length||0!=f.length){for(var g in d){var h=d[g];h.duration&&Infinity!=h.duration&&(h.currentTime=h.duration)}e.length=0;f.length=0;for(g in c)for(d=c[g],e=0,f=d.length;e<f;e++)h=d[e],h.loop=!1,h.duration&&Infinity!=h.duration&&(h.currentTime=
- h.duration);a&&this.Mk(a)}},nk:function(){if(!this.JB){var a=this.tW();if(a)a.or?(delete a.or,a.play()):this.pj(a);else if(this.Sl){a=this.Pd;if(a.duration&&Infinity!=a.duration){var c=a.currentTime+this.Tn,c=c-a.duration*(c/a.duration|0);a.currentTime=c}this.Tn=0;this.pj(a);this.ef=2;this.Sl=!1}}},tW:function(){var a=this.Tk,c=this.de,d=this.zf,e=d?d.currentTime-(d.startTime||0):0;for(this.Tn+=e;0!=a.length;){var f=a.pop();if(d=c[f]){if(d.or||d.loop||d.duration&&d.currentTime+e<d.duration)return this.Ln=
- f,this.zf=d,!d.or&&d.duration&&Infinity!=d.duration&&(a=d.currentTime+e,a-=d.duration*(a/d.duration|0),d.currentTime=a),d.or=!1,d;d.duration&&Infinity!=d.duration&&(d.currentTime=d.duration)}}return this.zf=this.Ln=null},MK:function(){var a=this.zf;this.JB=!0;if(a=2==this.ef?this.Pd:a)this.zr.push(a),a.pause()},cL:function(){var a=this.zr;this.JB=!1;0<a.length&&(this.pj(a[0]),a.length=0)}}));
- b.GA={gw:null,Mw:function(){return b.U.sZ},OB:function(a,c,d,e,f,g,h){var k=this,m=b.U,p=b.path,r=this.gw,s="";if(0==r.length)return h("can not support audio!");if(-1==e)s=(p.Vk(a)||"").toLowerCase(),k.tZ(s)||(s=r[0],e=0);else if(e<r.length)s=r[e];else return h("can not found the resource of audio! Last match url is : "+a);if(0<=f.indexOf(s))return k.OB(a,c,d,e+1,f,g,h);a=p.jM(a,s);f.push(s);g=k.TW(a,g,function(m){if(m)return k.OB(a,c,d,e+1,f,g,h);h(null,g)},e==r.length-1);m.Nf[c]=g},tZ:function(a){return a?
- 0<=this.gw.indexOf(a.toLowerCase()):!1},TW:function(a,c,d,e){var f="file://"==location.origin?Audio:b.qA||Audio;2==arguments.length?(d=c,c=new f):3<arguments.length&&!c&&(c=new f);c.src=a;c.Sx="auto";f=navigator.userAgent;/Mobile/.test(f)&&(/iPhone OS/.test(f)||/iPad/.test(f)||/Firefox/.test(f))||/MSIE/.test(f)?(c.load(),d(null,c)):(b.Fa(c,"canplaythrough",function(){d(null,c);this.removeEventListener("canplaythrough",arguments.callee,!1);this.removeEventListener("error",arguments.callee,!1)},!1),
- b.Fa(c,"error",function(){d("load "+a+" failed");e&&(this.removeEventListener("canplaythrough",arguments.callee,!1),this.removeEventListener("error",arguments.callee,!1))},!1),c.load());return c},load:function(a,c,d,e){this.OB(a,c,d,-1,[],null,e)}};
- b.GA.gw=function(){var a=b.Sb("audio"),c=[];if(a.canPlayType){var d=function(c){c=a.canPlayType(c);return"no"!=c&&""!=c};d('audio/ogg; codecs\x3d"vorbis"')&&c.push(".ogg");d("audio/mpeg")&&c.push(".mp3");d('audio/wav; codecs\x3d"1"')&&c.push(".wav");d("audio/mp4")&&c.push(".mp4");(d("audio/x-m4a")||d("audio/aac"))&&c.push(".m4a")}return c}();b.U.Oj(["mp3","ogg","wav","mp4","m4a"],b.GA);b.rm=b.AG?new b.AG:new b.zG;b.na.ND(b.Kb.qt,function(){b.rm.MK()});b.na.ND(b.Kb.Pp,function(){b.rm.cL()});var ta={IQ:"res/images/daoshui.plist",V6:"res/images/daoshui.png",US:"res/9-24.mp3",TG:"res/9-20.mp3"},ua=[],Q;for(Q in ta)ua.push(ta[Q]);var ya,V,X,Y,Z,za,Ca=b.rc.extend({ctor:function(){this._super();b.Mi.VL(ta.IQ);this.ZY();this.Q_();this.PD(!0);return!0},Q_:function(){this.P_();var a=b.Tg,c=new b.Xc(b.color(255,255,255,255),a.width,a.height);this.T(c,0);c=new b.I("#menubg.png");c.Jb({x:0,y:a.height,anchorX:0,anchorY:1,scale:4});this.T(c,29);c=new b.P("\u676f\u6570","Arial",30);c.Jb({x:490,y:a.height-100/3+10,anchorX:0.5,anchorY:0.5,color:b.color(255,255,255)});this.T(c,30);c=new b.P("\u65f6\u95f4","Arial",30);c.Jb({x:150,y:a.height-
- 100/3+10,anchorX:0.5,anchorY:0.5,color:b.color(255,255,255)});this.T(c,30);za=new b.P(""+Y,"Arial",50);za.Jb({x:490,y:a.height-200/3,anchorX:0.5,anchorY:0.5,color:b.color(255,255,255)});this.T(za,30);Z=new b.P(X.toFixed(2),"Arial",50);Z.Jb({x:150,y:a.height-200/3,anchorX:0.5,anchorY:0.5,color:b.color(255,255,255)});this.T(Z,30);ya=new b.I("#bei1.png");ya.Jb({x:a.width/2,y:a.height/2,scale:2});this.T(ya,6);_go1=new b.I("#gogo.png");_go1.Jb({x:a.width/2,y:a.height/6,anchorX:0.5,anchorY:0.5,scale:2});
- this.T(_go1,10);_go2=new b.I("#gogo2.png");_go2.Jb({x:a.width/2,y:a.height/6,anchorX:0.5,anchorY:0.5,scale:2});this.T(_go2,11);_go2.Te(!1);SpriteLine=new b.I;$(SpriteLine,640,5,b.color(255,0,0,255));SpriteLine.Jb({x:a.width/2,y:V});this.T(SpriteLine,9);c=new b.I;$(c,150,110,b.color(0,0,0,255));c.Jb({x:a.width/2,y:a.height-100+10,anchorX:0.5,anchorY:1});this.T(c,8);SpriteWaterout=new b.I;$(SpriteWaterout,100,90,b.color(153,51,255,255));SpriteWaterout.Jb({x:a.width/2,y:a.height-100-100+40,anchorX:0.5,
- anchorY:0});this.T(SpriteWaterout,7);SpriteWater=new b.I;$(SpriteWater,100,800,b.color(153,51,255,255));SpriteWater.Jb({x:a.width/2,y:a.height,anchorX:0.5,anchorY:0});this.T(SpriteWater,4);waterlightsprite1=new b.I;$(waterlightsprite1,70,100,b.color(200,200,200,255));this.T(waterlightsprite1,5);waterlightsprite1.Te(!1);SpriteWaterUp=new b.I;$(SpriteWaterUp,640,900,b.color(153,51,255,255));SpriteWaterUp.Jb({x:a.width/2,y:3*a.height/17,anchorX:0.5,anchorY:1});this.T(SpriteWaterUp,5);qipaosprite=new b.I;
- qipaosprite.Jb({x:320,y:850,anchorX:0.5,anchorY:0.5});SpriteWaterUp.T(qipaosprite,1);qipaosprite.Ra(_actionStand)},P_:function(){X=10;Y=0;V=300*Math.random()+330;isfirst=!0},cl:function(a,c){var d=b.Tg;_go2.Te(!0);_go1.Te(!1);b.rm.Rx(ta.US);SpriteWater.Ra(b.moveBy(0.2,C(0,12*-d.height/17+10)));SpriteWaterUp.Ra(b.moveBy(1.5,C(0,530)));c.vc.PO();SpriteWaterout.Ra(b.moveBy(0.05,C(0,-130)));return!0},Mm:function(a,c){var d=b.Tg;0==X||10==X&&SpriteWaterUp.y<=3*d.height/17||(d=b.Tg,b.rm.qy(),_go1.Te(!0),
- _go2.Te(!1),SpriteWater.Oi(),SpriteWater.H(d.width/2,d.height),waterlightsprite1.Oi(),waterlightsprite1.Te(!1),SpriteWaterout.H(d.width/2,d.height-100-100+40),SpriteWaterUp.Oi(),20<Math.abs(SpriteWaterUp.pf()-V)?(c.vc.$m(c.vc.sG),b.na.el(c.vc,!0),c.vc.PD(!1)):(SpriteWaterUp.H(d.width/2,3*d.height/17),V=300*Math.random()+330,SpriteLine.H(d.width/2,V),Y++,za.yb(Y),b.rm.Rx(ta.TG),X=10,Z.yb(X.toFixed(2))))},sG:function(){var a=b.Tg;X-=0.01;Z.yb(X.toFixed(2));0>=X&&(X=0,Z.yb(X.toFixed(2)),b.rm.qy(),SpriteWater.Oi(),
- SpriteWater.H(a.width/2,a.height),waterlightsprite1.Oi(),waterlightsprite1.Te(!1),SpriteWaterout.Oi(),SpriteWaterout.H(a.width/2,a.height-100-100+40),SpriteWaterUp.Oi(),_go1.Te(!0),_go2.Te(!1),20<Math.abs(SpriteWaterUp.pf()-V)?(this.$m(this.sG),b.na.el(this,!0),this.PD(!1)):(SpriteWaterUp.H(a.width/2,3*a.height/17),V=300*Math.random()+330,SpriteLine.H(a.width/2,V),Y++,za.yb(Y),b.rm.Rx(ta.TG),X=10,Z.yb(X.toFixed(2))))},PO:function(){waterlightsprite1.cc||waterlightsprite1.Te(!0);var a=b.Tg;waterlightsprite1.Jb({x:a.width/
- 2,y:a.height+250});a=b.OF(b.moveBy(0.4,C(0,-a.height)),b.XD(this.PO,this));waterlightsprite1.Ra(a)},ZY:function(){for(var a=[],c=1;4>c;c++){var d=b.Mi.yi("qipao"+c+".png");a.push(d)}a=new b.Nh(a,0.2);_actionStand=b.Vt.create(b.mt.create(a))},PD:function(a){var c=b.Tg,d=new b.I;$(d,580,650,b.color(222,222,222,255));d.Jb({x:c.width/2,y:c.height/2-75,anchorX:0.5,anchorY:0.5});this.T(d,30,101);var e=new b.I;$(e,560,630,b.color(200,200,200,255));e.Jb({x:290,y:325,anchorX:0.5,anchorY:0.5});d.T(e,2);e=new b.P(a?
- "\u6309\u4f4f\u653e\u6c34\u6309\u94ae\uff0c\u7b49\u6c34\u5230\u8fbe\u7ea2\u7ebf\u4f4d\u7f6e\u653e\u5f00\u6309\u94ae\u5373\u53ef\uff0c\u8d85\u8fc7\u6216\u8005\u672a\u5230\u7ea2\u7ebf\u90fd\u7b97\u5931\u8d25\uff01":"\u60a8\u5df2\u6210\u529f\u7684\u63a5\u4e86"+Y+"\u676f\u6c34\uff0c\u5206\u4eab\u5230\u670b\u53cb\u5708\u548c\u5c0f\u4f19\u4f34\u4eec\u6bd4\u6bd4\u5427\uff01","Arial",40,N(400,200));e.x=290;e.y=390;e.color=b.color(0,0,0);d.T(e,2);var e=new b.Mt("#replay1.png","#replay2.png",function(){a?b.na.addListener({event:b.ra.fu,
- qp:this.cl,rp:this.Mm},this):(SpriteWaterUp.H(c.width/2,3*c.height/17),V=300*Math.random()+330,SpriteLine.H(c.width/2,V),Y=0,za.yb(Y),X=10,Z.yb(X.toFixed(2)),b.na.Li(this,!0));this.Vx(101);this.Sm(this.sG,0.01)},this),f=new b.Mt("#moregame1.png","#moregame2.png",function(){clickMore();},this),g=new b.pn(e,f);g.x=290;e.y=-250;e.scale=1.5;f.y=-400;f.scale=
- 1.5;d.T(g,3);a||dp_submitScore(Y)}});function $(a,c,d,e){a.Gd(N(c,d));a.sb(P(0,0,c,d));a.cb(e)}var Da=b.Wj.extend({Z:function(){this._super();var a=new Ca;this.T(a)}});logoData="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAEXCAYAAAB22FtZAAAACXBIWXMAAC4jAAAuIwF4pT92AAAKTWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVN3WJP3Fj7f92UPVkLY8LGXbIEAIiOsCMgQWaIQkgBhhBASQMWFiApWFBURnEhVxILVCkidiOKgKLhnQYqIWotVXDjuH9yntX167+3t+9f7vOec5/zOec8PgBESJpHmomoAOVKFPDrYH49PSMTJvYACFUjgBCAQ5svCZwXFAADwA3l4fnSwP/wBr28AAgBw1S4kEsfh/4O6UCZXACCRAOAiEucLAZBSAMguVMgUAMgYALBTs2QKAJQAAGx5fEIiAKoNAOz0ST4FANipk9wXANiiHKkIAI0BAJkoRyQCQLsAYFWBUiwCwMIAoKxAIi4EwK4BgFm2MkcCgL0FAHaOWJAPQGAAgJlCLMwAIDgCAEMeE80DIEwDoDDSv+CpX3CFuEgBAMDLlc2XS9IzFLiV0Bp38vDg4iHiwmyxQmEXKRBmCe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L91oSKYVNPlI9XfOYP0LTdbkIPmZqpjSqj9b6+O+7ZBKL8HkVGvGcr82h1ZKvA+Mkv36jQqxFJEulgdQ+p86pGh7/MUAWn1olHQCian+2fwA7qG8p1sUK/IMcKW0/hSiYX2II6xFDnBYA9klOlvI3Bc2XyvC92DWKNA8f8DAMD/elkPP9QTAAAAAElFTkSuQmCC";
- Loading=b.Wj.extend({hj:null,qr:0,Fl:0,Xb:null,ub:"Loading",da:function(){var a=this,c=400,d=a.MA=b.Xc.create(b.color(255,255,255,255));d.H(b.Ri.xw);a.T(d,0);var e=50,f=-c/2+100;b.PB&&(b.U.mp(logoData,{mx:!1},function(d,e){c=e.height;a.FB(e,b.Ri.No)}),e=42,f=-c/2-50);e=a.Xb=b.P.create("Loading... 0%","Arial",e);e.H(b.Hi(b.Ri.No,C(0,f)));e.cb(b.color(180,180,180));d.T(this.Xb,10);return!0},FB:function(a,c){var d=new b.aa;d.Jc(a);d.qb();d=b.I.create(d);d.Wm(b.nb());d.x=c.x;d.y=c.y;this.MA.T(d,10)},
- Z:function(){b.k.prototype.Z.call(this);this.Sm(this.Lr,0.3)},rb:function(){b.k.prototype.rb.call(this);this.Xb.yb("Loading... 0%")},ZE:function(a,c){"string"==typeof a&&(a=[a]);this.JF=a||[];this.dd=c},Lr:function(){var a=this;a.$m(a.Lr);var c=a.JF;a.qr=c.length;a.Fl=0;b.U.load(c,function(c,e){a.Fl=e},function(){a.dd&&a.dd()});a.Sm(a.Xr)},Xr:function(){var a=this.Fl,c=this.qr,d;d=Math.min(a/c*100|0,100);this.Xb.yb("Loading... "+d+"%");a>=c&&this.$m(this.Xr)}});
- Loading.Sx=function(a,c){var d=b;d.kq||(d.kq=new Loading,d.kq.da());d.kq.ZE(a,c);b.K.by(d.kq);return d.kq};b.Kb.vF=function(){b.view.$Y(!0);b.view.SF(640,960,b.We.SHOW_ALL);b.view.x3(!0);Loading.Sx(ua,function(){this.Ra(b.Ja.create(b.ud.create(1),b.Tb.create(function(){b.K.by(new Da)},this)))},this)};b.Kb.F3();
|