c2runtime.js 374 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779
  1. // Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
  2. 'use strict';var r,aa,ca,da,ea,fa,ia,ja,ka,la,ma,pa,qa,ra,sa,ta,ua,va,wa,ya,za,Aa,Ba,Ca,Da,Ea,Fa,Ga,u,Ha,Ia,Ja,La,Ma,Na,Oa,Pa,Qa,Ra,Sa,Ta,Ua,Va,Wa,Xa,Ya,$a,ab,bb,cb,db,eb,fb,ib,jb,kb,lb,mb,nb,ob,pb,qb,rb,sb,tb,ub,vb,wb,xb,yb,Ab,Bb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Nb,Ob,Pb,Qb,Rb,Sb,Tb,Ub,Vb,Wb,Xb,Yb,Zb,$b,ac,bc,cc,dc,ic,jc,kc={},lc={};"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(a){return a.__proto__}:function(a){return a.constructor.prototype});
  3. (function(){function a(a,b,c,d){this.set(a,b,c,d)}function c(){this.Kd=this.Jd=this.Md=this.Ld=this.Ud=this.Td=this.uc=this.tc=0}function b(a,b,c,d){a<b?c<d?(t=a<c?a:c,v=b>d?b:d):(t=a<d?a:d,v=b>c?b:c):c<d?(t=b<c?b:c,v=a>d?a:d):(t=b<d?b:d,v=a>c?a:c)}function d(){this.items=this.qh=null;this.wn=0;z&&(this.qh=new Set);this.po=[];this.dk=!0}function e(a){B[M++]=a}function f(){this.mb=this.pu=this.y=this.F=0}function g(a){this.jd=[];this.Hr=this.Jr=this.Kr=this.Ir=0;this.as=null;this.xq(a)}function h(a,
  4. b){this.Zv=a;this.Yv=b;this.cells={}}function l(a,b){this.Zv=a;this.Yv=b;this.cells={}}function n(a,b,c){var d;return F.length?(d=F.pop(),d.Mw=a,d.x=b,d.y=c,d):new ca(a,b,c)}function k(a,b,c){this.Mw=a;this.x=b;this.y=c;this.he=new da}function m(a,b,c){var d;return E.length?(d=E.pop(),d.Mw=a,d.x=b,d.y=c,d):new ea(a,b,c)}function q(a,b,c){this.Mw=a;this.x=b;this.y=c;this.he=[];this.vn=!0;this.ii=new da;this.bp=!1}function p(a,b){return a.zh-b.zh}fa=function(a){window.console&&window.console.log&&window.console.log(a)};
  5. ia=function(a){window.console&&window.console.error&&window.console.error(a)};aa=function(a){return a};ja=function(a){return"undefined"===typeof a};ka=function(a){return"number"===typeof a};la=function(a){return"string"===typeof a};ma=function(a){return 0<a&&0===(a-1&a)};pa=function(a){--a;for(var b=1;32>b;b<<=1)a|=a>>b;return a+1};qa=function(a){return 0>a?-a:a};ra=function(a,b){return a>b?a:b};sa=function(a,b){return a<b?a:b};ta=Math.PI;ua=function(a){return 0<=a?a|0:(a|0)-1};va=function(a){var b=
  6. a|0;return b===a?b:b+1};wa=function(a,b,c,d,e,f,g,h){var m,z,k,l;a<c?(z=a,m=c):(z=c,m=a);e<g?(l=e,k=g):(l=g,k=e);if(m<l||z>k)return!1;b<d?(z=b,m=d):(z=d,m=b);f<h?(l=f,k=h):(l=h,k=f);if(m<l||z>k)return!1;m=e-a+g-c;z=f-b+h-d;a=c-a;b=d-b;e=g-e;f=h-f;h=qa(b*e-f*a);return qa(e*z-f*m)>h?!1:qa(a*z-b*m)<=h};a.prototype.set=function(a,b,c,d){this.left=a;this.top=b;this.right=c;this.bottom=d};a.prototype.cs=function(a){this.left=a.left;this.top=a.top;this.right=a.right;this.bottom=a.bottom};a.prototype.width=
  7. function(){return this.right-this.left};a.prototype.height=function(){return this.bottom-this.top};a.prototype.offset=function(a,b){this.left+=a;this.top+=b;this.right+=a;this.bottom+=b;return this};a.prototype.normalize=function(){var a=0;this.left>this.right&&(a=this.left,this.left=this.right,this.right=a);this.top>this.bottom&&(a=this.top,this.top=this.bottom,this.bottom=a)};a.prototype.tL=function(a){return!(a.right<this.left||a.bottom<this.top||a.left>this.right||a.top>this.bottom)};a.prototype.uL=
  8. function(a,b,c){return!(a.right+b<this.left||a.bottom+c<this.top||a.left+b>this.right||a.top+c>this.bottom)};a.prototype.Be=function(a,b){return a>=this.left&&a<=this.right&&b>=this.top&&b<=this.bottom};a.prototype.ts=function(a){return this.left===a.left&&this.top===a.top&&this.right===a.right&&this.bottom===a.bottom};ya=a;c.prototype.wq=function(a){this.tc=a.left;this.uc=a.top;this.Td=a.right;this.Ud=a.top;this.Ld=a.right;this.Md=a.bottom;this.Jd=a.left;this.Kd=a.bottom};c.prototype.ZD=function(a,
  9. b){if(0===b)this.wq(a);else{var c=Math.sin(b),d=Math.cos(b),e=a.left*c,f=a.top*c,g=a.right*c,c=a.bottom*c,h=a.left*d,m=a.top*d,z=a.right*d,d=a.bottom*d;this.tc=h-f;this.uc=m+e;this.Td=z-f;this.Ud=m+g;this.Ld=z-c;this.Md=d+g;this.Jd=h-c;this.Kd=d+e}};c.prototype.offset=function(a,b){this.tc+=a;this.uc+=b;this.Td+=a;this.Ud+=b;this.Ld+=a;this.Md+=b;this.Jd+=a;this.Kd+=b;return this};var t=0,v=0;c.prototype.uB=function(a){b(this.tc,this.Td,this.Ld,this.Jd);a.left=t;a.right=v;b(this.uc,this.Ud,this.Md,
  10. this.Kd);a.top=t;a.bottom=v};c.prototype.Be=function(a,b){var c=this.Td-this.tc,d=this.Ud-this.uc,e=this.Ld-this.tc,f=this.Md-this.uc,g=a-this.tc,h=b-this.uc,m=c*c+d*d,z=c*e+d*f,d=c*g+d*h,k=e*e+f*f,l=e*g+f*h,L=1/(m*k-z*z),c=(k*d-z*l)*L,m=(m*l-z*d)*L;if(0<=c&&0<m&&1>c+m)return!0;c=this.Jd-this.tc;d=this.Kd-this.uc;m=c*c+d*d;z=c*e+d*f;d=c*g+d*h;L=1/(m*k-z*z);c=(k*d-z*l)*L;m=(m*l-z*d)*L;return 0<=c&&0<m&&1>c+m};c.prototype.Vg=function(a,b){if(b)switch(a){case 0:return this.tc;case 1:return this.Td;case 2:return this.Ld;
  11. case 3:return this.Jd;case 4:return this.tc;default:return this.tc}else switch(a){case 0:return this.uc;case 1:return this.Ud;case 2:return this.Md;case 3:return this.Kd;case 4:return this.uc;default:return this.uc}};c.prototype.Ck=function(){return(this.tc+this.Td+this.Ld+this.Jd)/4};c.prototype.Dk=function(){return(this.uc+this.Ud+this.Md+this.Kd)/4};c.prototype.rC=function(a){var b=a.Ck(),c=a.Dk();if(this.Be(b,c))return!0;b=this.Ck();c=this.Dk();if(a.Be(b,c))return!0;var d,e,f,g,h,m,z,k;for(z=
  12. 0;4>z;z++)for(k=0;4>k;k++)if(b=this.Vg(z,!0),c=this.Vg(z,!1),d=this.Vg(z+1,!0),e=this.Vg(z+1,!1),f=a.Vg(k,!0),g=a.Vg(k,!1),h=a.Vg(k+1,!0),m=a.Vg(k+1,!1),wa(b,c,d,e,f,g,h,m))return!0;return!1};za=c;Aa=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a};Ba=function(a,b){var c,d;b=ua(b);if(!(0>b||b>=a.length)){c=b;for(d=a.length-1;c<d;c++)a[c]=a[c+1];a.length=d}};Ca=function(a,b){a.length=b.length;var c,d;c=0;for(d=b.length;c<d;c++)a[c]=b[c]};Da=function(a,b){a.push.apply(a,b)};Ea=
  13. function(a,b){var c,d;c=0;for(d=a.length;c<d;++c)if(a[c]===b)return c;return-1};Fa=function(a,b){var c=Ea(a,b);-1!==c&&Ba(a,c)};Ga=function(a,b,c){return a<b?b:a>c?c:a};u=function(a){return a/(180/ta)};Ha=function(a){return 180/ta*a};Ia=function(a){a%=360;0>a&&(a+=360);return a};Ja=function(a){a%=2*ta;0>a&&(a+=2*ta);return a};La=function(a){return Ia(Ha(a))};Ma=function(a){return Ja(u(a))};Na=function(a,b,c,d){return Math.atan2(d-b,c-a)};Oa=function(a,b){if(a===b)return 0;var c=Math.sin(a),d=Math.cos(a),
  14. e=Math.sin(b),f=Math.cos(b),c=c*e+d*f;return 1<=c?0:-1>=c?ta:Math.acos(c)};Pa=function(a,b,c){var d=Math.sin(a),e=Math.cos(a),f=Math.sin(b),g=Math.cos(b);return Math.acos(d*f+e*g)>c?0<e*f-d*g?Ja(a+c):Ja(a-c):Ja(b)};Qa=function(a,b){var c=Math.sin(a),d=Math.cos(a),e=Math.sin(b),f=Math.cos(b);return 0>=d*e-c*f};Ra=function(a,b,c,d,e,f){if(0===c)return f?a:b;var g=Math.sin(c);c=Math.cos(c);a-=d;b-=e;var h=a*g;a=a*c-b*g;b=b*c+h;return f?a+d:b+e};Sa=function(a,b,c,d){a=c-a;b=d-b;return Math.sqrt(a*a+b*
  15. b)};Ta=function(a,b){return!a!==!b};Ua=function(a,b,c){return a+(b-a)*c};Va=function(a,b,c){return a===b?0:(c-a)/(b-a)};Wa=function(a){for(var b in a)if(a.hasOwnProperty(b))return!0;return!1};Xa=function(a){for(var b in a)a.hasOwnProperty(b)&&delete a[b]};var w=+new Date;Ya=function(){if("undefined"!==typeof window.performance){var a=window.performance;if("undefined"!==typeof a.now)return a.now();if("undefined"!==typeof a.webkitNow)return a.webkitNow();if("undefined"!==typeof a.mozNow)return a.mozNow();
  16. if("undefined"!==typeof a.msNow)return a.msNow()}return Date.now()-w};var s=!1,O=s=!1,L=!1;"undefined"!==typeof window&&(s=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent),s=!s&&/safari/i.test(navigator.userAgent),O=/(iphone|ipod|ipad)/i.test(navigator.userAgent),L=window.c2ejecta);var z=!s&&!L&&!O&&"undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;d.prototype.contains=function(a){return this.dj()?!1:z?this.qh.has(a):this.items&&this.items.hasOwnProperty(a)};
  17. d.prototype.add=function(a){if(z)this.qh.has(a)||(this.qh.add(a),this.dk=!1);else{var b=a.toString(),c=this.items;c?c.hasOwnProperty(b)||(c[b]=a,this.wn++,this.dk=!1):(this.items={},this.items[b]=a,this.wn=1,this.dk=!1)}};d.prototype.remove=function(a){if(!this.dj())if(z)this.qh.has(a)&&(this.qh["delete"](a),this.dk=!1);else if(this.items){a=a.toString();var b=this.items;b.hasOwnProperty(a)&&(delete b[a],this.wn--,this.dk=!1)}};d.prototype.clear=function(){this.dj()||(z?this.qh.clear():(this.items=
  18. null,this.wn=0),this.po.length=0,this.dk=!0)};d.prototype.dj=function(){return 0===this.count()};d.prototype.count=function(){return z?this.qh.size:this.wn};var B=null,M=0;d.prototype.LN=function(){if(!this.dk){if(z)this.po.length=this.qh.size,B=this.po,M=0,this.qh.forEach(e),B=null,M=0;else{var a=this.po;a.length=this.wn;var b,c=0,d=this.items;if(d)for(b in d)d.hasOwnProperty(b)&&(a[c++]=d[b])}this.dk=!0}};d.prototype.yh=function(){this.LN();return this.po};da=d;new da;$a=function(a,b){z?ab(a,b.qh):
  19. bb(a,b.yh())};ab=function(a,b){var c,d,e,f;d=c=0;for(e=a.length;c<e;++c)f=a[c],b.has(f)||(a[d++]=f);a.length=d};bb=function(a,b){var c,d,e,f;d=c=0;for(e=a.length;c<e;++c)f=a[c],-1===Ea(b,f)&&(a[d++]=f);a.length=d};f.prototype.add=function(a){this.y=a-this.F;this.pu=this.mb+this.y;this.F=this.pu-this.mb-this.y;this.mb=this.pu};f.prototype.reset=function(){this.mb=this.pu=this.y=this.F=0};cb=f;db=function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};g.prototype.xq=function(a){this.JD=a;this.cg=
  20. a.length/2;this.jd.length=a.length;this.Qr=this.Rr=-1;this.xB=0};g.prototype.Kl=function(){return!this.JD.length};g.prototype.Jb=function(){for(var a=this.jd,b=a[0],c=b,d=a[1],e=d,f,g,h=1,m=this.cg;h<m;++h)g=2*h,f=a[g],g=a[g+1],f<b&&(b=f),f>c&&(c=f),g<d&&(d=g),g>e&&(e=g);this.Ir=b;this.Jr=c;this.Kr=d;this.Hr=e};g.prototype.wq=function(a,b,c){this.jd.length=8;this.cg=4;var d=this.jd;d[0]=a.left-b;d[1]=a.top-c;d[2]=a.right-b;d[3]=a.top-c;d[4]=a.right-b;d[5]=a.bottom-c;d[6]=a.left-b;d[7]=a.bottom-c;
  21. this.Rr=a.right-a.left;this.Qr=a.bottom-a.top;this.Jb()};g.prototype.ho=function(a,b,c,d,e){this.jd.length=8;this.cg=4;var f=this.jd;f[0]=a.tc-b;f[1]=a.uc-c;f[2]=a.Td-b;f[3]=a.Ud-c;f[4]=a.Ld-b;f[5]=a.Md-c;f[6]=a.Jd-b;f[7]=a.Kd-c;this.Rr=d;this.Qr=e;this.Jb()};g.prototype.YD=function(a){this.cg=a.cg;Ca(this.jd,a.jd);this.Ir=a.Ir;this.Kr-a.Kr;this.Jr=a.Jr;this.Hr=a.Hr};g.prototype.jl=function(a,b,c){if(this.Rr!==a||this.Qr!==b||this.xB!==c){this.Rr=a;this.Qr=b;this.xB=c;var d,e,f,g,h,m=0,z=1,k=this.JD,
  22. l=this.jd;0!==c&&(m=Math.sin(c),z=Math.cos(c));c=0;for(f=this.cg;c<f;c++)d=2*c,e=d+1,g=k[d]*a,h=k[e]*b,l[d]=g*z-h*m,l[e]=h*z+g*m;this.Jb()}};g.prototype.Be=function(a,b){var c=this.jd;if(a===c[0]&&b===c[1])return!0;var d,e,f,g=this.cg,h=this.Ir-110,m=this.Kr-101,z=this.Jr+131,k=this.Hr+120,l,L,p=0,n=0;for(d=0;d<g;d++)e=2*d,f=(d+1)%g*2,l=c[e],e=c[e+1],L=c[f],f=c[f+1],wa(h,m,a,b,l,e,L,f)&&p++,wa(z,k,a,b,l,e,L,f)&&n++;return 1===p%2||1===n%2};g.prototype.yp=function(a,b,c){var d=a.jd,e=this.jd;if(this.Be(d[0]+
  23. b,d[1]+c)||a.Be(e[0]-b,e[1]-c))return!0;var f,g,h,m,z,k,l,L,p,n,B,s;f=0;for(m=this.cg;f<m;f++)for(g=2*f,h=(f+1)%m*2,L=e[g],g=e[g+1],p=e[h],n=e[h+1],h=0,l=a.cg;h<l;h++)if(z=2*h,k=(h+1)%l*2,B=d[z]+b,z=d[z+1]+c,s=d[k]+b,k=d[k+1]+c,wa(L,g,p,n,B,z,s,k))return!0;return!1};eb=g;h.prototype.nk=function(a,b,c){var d;d=this.cells[a];return d?(d=d[b])?d:c?(d=n(this,a,b),this.cells[a][b]=d):null:c?(d=n(this,a,b),this.cells[a]={},this.cells[a][b]=d):null};h.prototype.Of=function(a){return ua(a/this.Zv)};h.prototype.Pf=
  24. function(a){return ua(a/this.Yv)};h.prototype.update=function(a,b,c){var d,e,f,g,h;if(b)for(d=b.left,e=b.right;d<=e;++d)for(f=b.top,g=b.bottom;f<=g;++f)if(!c||!c.Be(d,f))if(h=this.nk(d,f,!1))h.remove(a),h.dj()&&(h.he.clear(),1E3>F.length&&F.push(h),this.cells[d][f]=null);if(c)for(d=c.left,e=c.right;d<=e;++d)for(f=c.top,g=c.bottom;f<=g;++f)b&&b.Be(d,f)||this.nk(d,f,!0).Tw(a)};h.prototype.St=function(a,b){var c,d,e,f,g,h;c=this.Of(a.left);e=this.Pf(a.top);d=this.Of(a.right);for(g=this.Pf(a.bottom);c<=
  25. d;++c)for(f=e;f<=g;++f)(h=this.nk(c,f,!1))&&h.dump(b)};fb=h;l.prototype.nk=function(a,b,c){var d;d=this.cells[a];return d?(d=d[b])?d:c?(d=m(this,a,b),this.cells[a][b]=d):null:c?(d=m(this,a,b),this.cells[a]={},this.cells[a][b]=d):null};l.prototype.Of=function(a){return ua(a/this.Zv)};l.prototype.Pf=function(a){return ua(a/this.Yv)};l.prototype.update=function(a,b,c){var d,e,f,g,h;if(b)for(d=b.left,e=b.right;d<=e;++d)for(f=b.top,g=b.bottom;f<=g;++f)if(!c||!c.Be(d,f))if(h=this.nk(d,f,!1))h.remove(a),
  26. h.dj()&&(h.reset(),1E3>E.length&&E.push(h),this.cells[d][f]=null);if(c)for(d=c.left,e=c.right;d<=e;++d)for(f=c.top,g=c.bottom;f<=g;++f)b&&b.Be(d,f)||this.nk(d,f,!0).Tw(a)};l.prototype.St=function(a,b,c,d,e){var f,g;a=this.Of(a);b=this.Pf(b);c=this.Of(c);for(f=this.Pf(d);a<=c;++a)for(d=b;d<=f;++d)(g=this.nk(a,d,!1))&&g.dump(e)};l.prototype.oM=function(a){var b,c,d,e,f;b=a.left;d=a.top;c=a.right;for(e=a.bottom;b<=c;++b)for(a=d;a<=e;++a)if(f=this.nk(b,a,!1))f.vn=!1};ib=l;var F=[];k.prototype.dj=function(){return this.he.dj()};
  27. k.prototype.Tw=function(a){this.he.add(a)};k.prototype.remove=function(a){this.he.remove(a)};k.prototype.dump=function(a){Da(a,this.he.yh())};ca=k;var E=[];q.prototype.dj=function(){if(!this.he.length)return!0;if(this.he.length>this.ii.count())return!1;this.ww();return!0};q.prototype.Tw=function(a){this.ii.contains(a)?(this.ii.remove(a),this.ii.dj()&&(this.bp=!1)):this.he.length?(this.he[this.he.length-1].Sh()>a.Sh()&&(this.vn=!1),this.he.push(a)):(this.he.push(a),this.vn=!0)};q.prototype.remove=
  28. function(a){this.ii.add(a);this.bp=!0;30<=this.ii.count()&&this.ww()};q.prototype.ww=function(){this.bp&&(this.ii.count()===this.he.length?this.reset():($a(this.he,this.ii),this.ii.clear(),this.bp=!1))};q.prototype.eK=function(){this.vn||(this.he.sort(p),this.vn=!0)};q.prototype.reset=function(){this.he.length=0;this.vn=!0;this.ii.clear();this.bp=!1};q.prototype.dump=function(a){this.ww();this.eK();this.he.length&&a.push(this.he)};ea=q;var y="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");
  29. jb=function(a){return 0>=a||11<=a?"source-over":y[a-1]};kb=function(a,b,c){if(c)switch(a.Ke=c.ONE,a.De=c.ONE_MINUS_SRC_ALPHA,b){case 1:a.Ke=c.ONE;a.De=c.ONE;break;case 3:a.Ke=c.ONE;a.De=c.ZERO;break;case 4:a.Ke=c.ONE_MINUS_DST_ALPHA;a.De=c.ONE;break;case 5:a.Ke=c.DST_ALPHA;a.De=c.ZERO;break;case 6:a.Ke=c.ZERO;a.De=c.SRC_ALPHA;break;case 7:a.Ke=c.ONE_MINUS_DST_ALPHA;a.De=c.ZERO;break;case 8:a.Ke=c.ZERO;a.De=c.ONE_MINUS_SRC_ALPHA;break;case 9:a.Ke=c.DST_ALPHA;a.De=c.ONE_MINUS_SRC_ALPHA;break;case 10:a.Ke=
  30. c.ONE_MINUS_DST_ALPHA,a.De=c.SRC_ALPHA}};lb=function(a){return Math.round(1E6*a)/1E6};mb=function(a,b){return"string"!==typeof a||"string"!==typeof b||a.length!==b.length?!1:a===b?!0:a.toLowerCase()===b.toLowerCase()};nb=function(a){a=a.target;return!a||a===document||a===window||document&&document.body&&a===document.body||mb(a.tagName,"canvas")?!0:!1}})();var mc="undefined"!==typeof Float32Array?Float32Array:Array;function nc(a){var c=new mc(3);a&&(c[0]=a[0],c[1]=a[1],c[2]=a[2]);return c}
  31. function oc(a){var c=new mc(16);a&&(c[0]=a[0],c[1]=a[1],c[2]=a[2],c[3]=a[3],c[4]=a[4],c[5]=a[5],c[6]=a[6],c[7]=a[7],c[8]=a[8],c[9]=a[9],c[10]=a[10],c[11]=a[11],c[12]=a[12],c[13]=a[13],c[14]=a[14],c[15]=a[15]);return c}function pc(a,c){c[0]=a[0];c[1]=a[1];c[2]=a[2];c[3]=a[3];c[4]=a[4];c[5]=a[5];c[6]=a[6];c[7]=a[7];c[8]=a[8];c[9]=a[9];c[10]=a[10];c[11]=a[11];c[12]=a[12];c[13]=a[13];c[14]=a[14];c[15]=a[15]}
  32. function qc(a,c){var b=c[0],d=c[1];c=c[2];a[0]*=b;a[1]*=b;a[2]*=b;a[3]*=b;a[4]*=d;a[5]*=d;a[6]*=d;a[7]*=d;a[8]*=c;a[9]*=c;a[10]*=c;a[11]*=c}
  33. function rc(a,c,b,d){d||(d=oc());var e,f,g,h,l,n,k,m,q=a[0],p=a[1];a=a[2];f=b[0];g=b[1];e=b[2];b=c[1];n=c[2];q===c[0]&&p===b&&a===n?(a=d,a[0]=1,a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=1,a[6]=0,a[7]=0,a[8]=0,a[9]=0,a[10]=1,a[11]=0,a[12]=0,a[13]=0,a[14]=0,a[15]=1):(b=q-c[0],n=p-c[1],k=a-c[2],m=1/Math.sqrt(b*b+n*n+k*k),b*=m,n*=m,k*=m,c=g*k-e*n,e=e*b-f*k,f=f*n-g*b,(m=Math.sqrt(c*c+e*e+f*f))?(m=1/m,c*=m,e*=m,f*=m):f=e=c=0,g=n*f-k*e,h=k*c-b*f,l=b*e-n*c,(m=Math.sqrt(g*g+h*h+l*l))?(m=1/m,g*=m,h*=m,l*=m):l=h=g=0,
  34. d[0]=c,d[1]=g,d[2]=b,d[3]=0,d[4]=e,d[5]=h,d[6]=n,d[7]=0,d[8]=f,d[9]=l,d[10]=k,d[11]=0,d[12]=-(c*q+e*p+f*a),d[13]=-(g*q+h*p+l*a),d[14]=-(b*q+n*p+k*a),d[15]=1)}
  35. (function(){function a(a){this.Hl=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.height=this.width=0;this.yB=nc([0,0,100]);this.GC=nc([0,0,0]);this.wE=nc([0,1,0]);this.sz=nc([1,1,1]);this.PB=!0;this.Xx=oc();this.Bg=oc();this.yC=oc();this.hw=oc();this.na=a;this.nC()}function c(a,b,c){this.na=a;this.yq=b;this.name=c;this.xg=a.getAttribLocation(b,"aPos");this.uk=a.getAttribLocation(b,"aTex");this.EC=a.getUniformLocation(b,"matP");this.jt=a.getUniformLocation(b,"matMV");
  36. this.Fn=a.getUniformLocation(b,"opacity");this.FC=a.getUniformLocation(b,"samplerFront");this.Mp=a.getUniformLocation(b,"samplerBack");this.Yl=a.getUniformLocation(b,"destStart");this.Xl=a.getUniformLocation(b,"destEnd");this.Dx=a.getUniformLocation(b,"seconds");this.Cx=a.getUniformLocation(b,"pixelWidth");this.Bx=a.getUniformLocation(b,"pixelHeight");this.Lp=a.getUniformLocation(b,"layerScale");this.Kp=a.getUniformLocation(b,"layerAngle");this.Op=a.getUniformLocation(b,"viewOrigin");this.Np=a.getUniformLocation(b,
  37. "scrollPos");this.mL=!!(this.Cx||this.Bx||this.Dx||this.Mp||this.Yl||this.Xl||this.Lp||this.Kp||this.Op||this.Np);this.OC=this.PC=-999;this.mt=1;this.KC=this.JC=0;this.MC=this.IC=this.HC=1;this.RC=this.QC=this.TC=this.SC=this.LC=0;this.kx=[];this.NC=oc();this.Fn&&a.uniform1f(this.Fn,1);this.FC&&a.uniform1i(this.FC,0);this.Mp&&a.uniform1i(this.Mp,1);this.Yl&&a.uniform2f(this.Yl,0,0);this.Xl&&a.uniform2f(this.Xl,1,1);this.Lp&&a.uniform1f(this.Lp,1);this.Kp&&a.uniform1f(this.Kp,0);this.Op&&a.uniform2f(this.Op,
  38. 0,0);this.Np&&a.uniform2f(this.Np,0,0);this.Bl=!1}function b(a,b){this.type=a;this.ha=b;this.na=b.na;this.Th=this.Jg=this.uD=0;this.Vb=this.sh=null;this.$D=[]}a.prototype.nC=function(){var a=this.na,b;this.zC=1;this.Pl=this.Ol=null;this.js=1;a.clearColor(0,0,0,0);a.clear(a.COLOR_BUFFER_BIT);a.enable(a.BLEND);a.blendFunc(a.ONE,a.ONE_MINUS_SRC_ALPHA);a.disable(a.CULL_FACE);a.disable(a.DEPTH_TEST);this.AC=a.ONE;this.xC=a.ONE_MINUS_SRC_ALPHA;this.ty=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.ty);
  39. this.Lq=Array(4);this.Dq=Array(4);for(b=0;4>b;b++)this.Lq[b]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.Lq[b]),this.Dq[b]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.Dq[b]);this.Qi=0;this.rL=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.rL);this.nz=new Float32Array(16E3);this.Wy=new Float32Array(16E3);this.LM=new Float32Array(32E3);for(var c=new Uint16Array(12E3),d=b=0;12E3>b;)c[b++]=d,c[b++]=d+1,c[b++]=d+2,c[b++]=d,c[b++]=d+2,c[b++]=d+3,d+=4;a.bufferData(a.ELEMENT_ARRAY_BUFFER,
  40. c,a.STATIC_DRAW);this.uy=this.yi=0;this.Rd=[];b=this.gw({src:"varying mediump vec2 vTex;\nuniform lowp float opacity;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, vTex);\n\tgl_FragColor *= opacity;\n}"},"attribute highp vec2 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tvTex = aTex;\n}","<default>");
  41. this.Rd.push(b);b=this.gw({src:"uniform mediump sampler2D samplerFront;\nvarying lowp float opacity;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, gl_PointCoord);\n\tgl_FragColor *= opacity;\n}"},"attribute vec4 aPos;\nvarying float opacity;\nuniform mat4 matP;\nuniform mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tgl_PointSize = aPos.z;\n\topacity = aPos.w;\n}","<point>");this.Rd.push(b);for(var e in sc)sc.hasOwnProperty(e)&&this.Rd.push(this.gw(sc[e],
  42. "attribute highp vec2 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tvTex = aTex;\n}",e));a.activeTexture(a.TEXTURE0);a.bindTexture(a.TEXTURE_2D,null);this.ck=[];this.Mi=0;this.Df=!1;this.JB=this.Hp=-1;this.fp=null;this.EK=a.createFramebuffer();this.OD=null;this.Rk=nc([0,0,0]);this.eD=a.getParameter(a.ALIASED_POINT_SIZE_RANGE)[1];2048<this.eD&&
  43. (this.eD=2048);this.si(0)};c.prototype.ez=function(a){var b=this.NC;if(b[0]!==a[0]||b[1]!==a[1]||b[2]!==a[2]||b[3]!==a[3]||b[4]!==a[4]||b[5]!==a[5]||b[6]!==a[6]||b[7]!==a[7]||b[8]!==a[8]||b[9]!==a[9]||b[10]!==a[10]||b[11]!==a[11]||b[12]!==a[12]||b[13]!==a[13]||b[14]!==a[14]||b[15]!==a[15])pc(a,this.NC),this.na.uniformMatrix4fv(this.jt,!1,a)};a.prototype.gw=function(a,b,d){var e=this.na,n=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(n,a.src);e.compileShader(n);if(!e.getShaderParameter(n,e.COMPILE_STATUS))return e.deleteShader(n),
  44. null;var k=e.createShader(e.VERTEX_SHADER);e.shaderSource(k,b);e.compileShader(k);if(!e.getShaderParameter(k,e.COMPILE_STATUS))return e.deleteShader(n),e.deleteShader(k),null;b=e.createProgram();e.attachShader(b,n);e.attachShader(b,k);e.linkProgram(b);if(!e.getProgramParameter(b,e.LINK_STATUS))return e.deleteShader(n),e.deleteShader(k),e.deleteProgram(b),null;e.useProgram(b);e.deleteShader(n);e.deleteShader(k);d=new c(e,b,d);d.pw=a.pw||0;d.qw=a.qw||0;d.HB=!!a.HB;d.mB=!!a.mB;d.Va=a.Va||[];a=0;for(n=
  45. d.Va.length;a<n;a++)d.Va[a][1]=e.getUniformLocation(b,d.Va[a][0]),d.kx.push(0),e.uniform1f(d.Va[a][1],0);return d};a.prototype.Iw=function(a){var b,c;b=0;for(c=this.Rd.length;b<c;b++)if(this.Rd[b].name===a)return b;return-1};a.prototype.ID=function(a,b,c){var d=this.Bg,e=this.Xx,k=[0,0,0,0,0,0,0,0];k[0]=d[0]*a+d[4]*b+d[12];k[1]=d[1]*a+d[5]*b+d[13];k[2]=d[2]*a+d[6]*b+d[14];k[3]=d[3]*a+d[7]*b+d[15];k[4]=e[0]*k[0]+e[4]*k[1]+e[8]*k[2]+e[12]*k[3];k[5]=e[1]*k[0]+e[5]*k[1]+e[9]*k[2]+e[13]*k[3];k[6]=e[2]*
  46. k[0]+e[6]*k[1]+e[10]*k[2]+e[14]*k[3];k[7]=-k[2];0!==k[7]&&(k[7]=1/k[7],k[4]*=k[7],k[5]*=k[7],k[6]*=k[7],c[0]=(.5*k[4]+.5)*this.width,c[1]=(.5*k[5]+.5)*this.height)};a.prototype.Lk=function(a,b,c){if(this.width!==a||this.height!==b||c){this.sl();this.width=a;this.height=b;this.na.viewport(0,0,a,b);b=a/b;var d=this.Xx,e;e=1*Math.tan(45*Math.PI/360);b*=e;a=-b;c=-e;d||(d=oc());var k=b-a,m=e-c;d[0]=2/k;d[1]=0;d[2]=0;d[3]=0;d[4]=0;d[5]=2/m;d[6]=0;d[7]=0;d[8]=(b+a)/k;d[9]=(e+c)/m;d[10]=-1001/999;d[11]=-1;
  47. d[12]=0;d[13]=0;d[14]=-2E3/999;d[15]=0;rc(this.yB,this.GC,this.wE,this.Bg);a=[0,0];b=[0,0];this.ID(0,0,a);this.ID(1,1,b);this.sz[0]=1/(b[0]-a[0]);this.sz[1]=-1/(b[1]-a[1]);a=0;for(b=this.Rd.length;a<b;a++)c=this.Rd[a],c.Bl=!1,c.EC&&(this.na.useProgram(c.yq),this.na.uniformMatrix4fv(c.EC,!1,this.Xx));this.na.useProgram(this.Rd[this.Hp].yq);this.na.bindTexture(this.na.TEXTURE_2D,null);this.na.activeTexture(this.na.TEXTURE1);this.na.bindTexture(this.na.TEXTURE_2D,null);this.na.activeTexture(this.na.TEXTURE0);
  48. this.Pl=this.Ol=null}};a.prototype.Ik=function(){rc(this.yB,this.GC,this.wE,this.Bg);qc(this.Bg,this.sz)};a.prototype.translate=function(a,b){if(0!==a||0!==b){this.Rk[0]=a;this.Rk[1]=b;this.Rk[2]=0;var c=this.Bg,d=this.Rk,e=d[0],k=d[1],d=d[2];c[12]=c[0]*e+c[4]*k+c[8]*d+c[12];c[13]=c[1]*e+c[5]*k+c[9]*d+c[13];c[14]=c[2]*e+c[6]*k+c[10]*d+c[14];c[15]=c[3]*e+c[7]*k+c[11]*d+c[15]}};a.prototype.scale=function(a,b){if(1!==a||1!==b)this.Rk[0]=a,this.Rk[1]=b,this.Rk[2]=1,qc(this.Bg,this.Rk)};a.prototype.RD=
  49. function(a){if(0!==a){var b=this.Bg,c,d=Math.sin(a);a=Math.cos(a);var e=b[0],k=b[1],m=b[2],q=b[3],p=b[4],t=b[5],v=b[6],w=b[7];c?b!==c&&(c[8]=b[8],c[9]=b[9],c[10]=b[10],c[11]=b[11],c[12]=b[12],c[13]=b[13],c[14]=b[14],c[15]=b[15]):c=b;c[0]=e*a+p*d;c[1]=k*a+t*d;c[2]=m*a+v*d;c[3]=q*a+w*d;c[4]=e*-d+p*a;c[5]=k*-d+t*a;c[6]=m*-d+v*a;c[7]=q*-d+w*a}};a.prototype.Uk=function(){for(var a=!1,b=0;16>b;b++)if(this.yC[b]!==this.Bg[b]){a=!0;break}a&&(a=this.ph(),a.type=5,a.Vb?pc(this.Bg,a.Vb):a.Vb=oc(this.Bg),pc(this.Bg,
  50. this.yC),this.Df=!1)};b.prototype.NJ=function(){this.na.bindTexture(this.na.TEXTURE_2D,this.sh)};b.prototype.OJ=function(){var a=this.na;a.activeTexture(a.TEXTURE1);a.bindTexture(a.TEXTURE_2D,this.sh);a.activeTexture(a.TEXTURE0)};b.prototype.KJ=function(){var a=this.uD,b=this.ha;b.js=a;b=b.fp;b.Fn&&b.mt!==a&&(b.mt=a,this.na.uniform1f(b.Fn,a))};b.prototype.HJ=function(){this.na.drawElements(this.na.TRIANGLES,this.Th,this.na.UNSIGNED_SHORT,2*this.Jg)};b.prototype.JJ=function(){this.na.blendFunc(this.Jg,
  51. this.Th)};b.prototype.PJ=function(){var a,b,c,d=this.ha.Rd,e=this.ha.JB;a=0;for(b=d.length;a<b;a++)c=d[a],a===e&&c.jt?(c.ez(this.Vb),c.Bl=!0):c.Bl=!1;pc(this.Vb,this.ha.hw)};b.prototype.IJ=function(){var a=this.na,b=this.ha;this.sh?(b.Pl===this.sh&&(a.activeTexture(a.TEXTURE1),a.bindTexture(a.TEXTURE_2D,null),b.Pl=null,a.activeTexture(a.TEXTURE0)),a.bindFramebuffer(a.FRAMEBUFFER,b.EK),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,this.sh,0)):(a.framebufferTexture2D(a.FRAMEBUFFER,
  52. a.COLOR_ATTACHMENT0,a.TEXTURE_2D,null,0),a.bindFramebuffer(a.FRAMEBUFFER,null))};b.prototype.CJ=function(){var a=this.na;0===this.Jg?(a.clearColor(this.Vb[0],this.Vb[1],this.Vb[2],this.Vb[3]),a.clear(a.COLOR_BUFFER_BIT)):(a.enable(a.SCISSOR_TEST),a.scissor(this.Vb[0],this.Vb[1],this.Vb[2],this.Vb[3]),a.clearColor(0,0,0,0),a.clear(this.na.COLOR_BUFFER_BIT),a.disable(a.SCISSOR_TEST))};b.prototype.GJ=function(){var a=this.na,b=this.ha,c=b.Rd[1];a.useProgram(c.yq);!c.Bl&&c.jt&&(c.ez(b.hw),c.Bl=!0);a.enableVertexAttribArray(c.xg);
  53. a.bindBuffer(a.ARRAY_BUFFER,b.ty);a.vertexAttribPointer(c.xg,4,a.FLOAT,!1,0,0);a.drawArrays(a.POINTS,this.Jg/4,this.Th);c=b.fp;a.useProgram(c.yq);0<=c.xg&&(a.enableVertexAttribArray(c.xg),a.bindBuffer(a.ARRAY_BUFFER,b.Lq[b.Qi]),a.vertexAttribPointer(c.xg,2,a.FLOAT,!1,0,0));0<=c.uk&&(a.enableVertexAttribArray(c.uk),a.bindBuffer(a.ARRAY_BUFFER,b.Dq[b.Qi]),a.vertexAttribPointer(c.uk,2,a.FLOAT,!1,0,0))};b.prototype.LJ=function(){var a=this.na,b=this.ha,c=b.Rd[this.Jg];b.JB=this.Jg;b.fp=c;a.useProgram(c.yq);
  54. !c.Bl&&c.jt&&(c.ez(b.hw),c.Bl=!0);c.Fn&&c.mt!==b.js&&(c.mt=b.js,a.uniform1f(c.Fn,b.js));0<=c.xg&&(a.enableVertexAttribArray(c.xg),a.bindBuffer(a.ARRAY_BUFFER,b.Lq[b.Qi]),a.vertexAttribPointer(c.xg,2,a.FLOAT,!1,0,0));0<=c.uk&&(a.enableVertexAttribArray(c.uk),a.bindBuffer(a.ARRAY_BUFFER,b.Dq[b.Qi]),a.vertexAttribPointer(c.uk,2,a.FLOAT,!1,0,0))};b.prototype.MJ=function(){var a,b,c=this.ha.fp,d=this.na;a=this.Vb;c.Mp&&this.ha.Pl!==this.sh&&(d.activeTexture(d.TEXTURE1),d.bindTexture(d.TEXTURE_2D,this.sh),
  55. this.ha.Pl=this.sh,d.activeTexture(d.TEXTURE0));var e=a[0];c.Cx&&e!==c.PC&&(c.PC=e,d.uniform1f(c.Cx,e));e=a[1];c.Bx&&e!==c.OC&&(c.OC=e,d.uniform1f(c.Bx,e));e=a[2];b=a[3];!c.Yl||e===c.JC&&b===c.KC||(c.JC=e,c.KC=b,d.uniform2f(c.Yl,e,b));e=a[4];b=a[5];!c.Xl||e===c.HC&&b===c.IC||(c.HC=e,c.IC=e,d.uniform2f(c.Xl,e,b));e=a[6];c.Lp&&e!==c.MC&&(c.MC=e,d.uniform1f(c.Lp,e));e=a[7];c.Kp&&e!==c.LC&&(c.LC=e,d.uniform1f(c.Kp,e));e=a[8];b=a[9];!c.Op||e===c.SC&&b===c.TC||(c.SC=e,c.TC=b,d.uniform2f(c.Op,e,b));e=a[10];
  56. b=a[11];!c.Np||e===c.QC&&b===c.RC||(c.QC=e,c.RC=b,d.uniform2f(c.Np,e,b));c.Dx&&d.uniform1f(c.Dx,Ya()/1E3);if(c.Va.length)for(a=0,b=c.Va.length;a<b;a++)e=this.$D[a],e!==c.kx[a]&&(c.kx[a]=e,d.uniform1f(c.Va[a][1],e))};a.prototype.ph=function(){this.Mi===this.ck.length&&this.ck.push(new b(0,this));return this.ck[this.Mi++]};a.prototype.sl=function(){if(0!==this.Mi&&!this.na.isContextLost()){var a=this.na;0<this.uy&&(a.bindBuffer(a.ARRAY_BUFFER,this.ty),a.bufferData(a.ARRAY_BUFFER,this.LM.subarray(0,
  57. this.uy),a.STREAM_DRAW),b&&0<=b.xg&&"<point>"===b.name&&a.vertexAttribPointer(b.xg,4,a.FLOAT,!1,0,0));if(0<this.yi){var b=this.fp;a.bindBuffer(a.ARRAY_BUFFER,this.Lq[this.Qi]);a.bufferData(a.ARRAY_BUFFER,this.nz.subarray(0,this.yi),a.STREAM_DRAW);b&&0<=b.xg&&"<point>"!==b.name&&a.vertexAttribPointer(b.xg,2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.Dq[this.Qi]);a.bufferData(a.ARRAY_BUFFER,this.Wy.subarray(0,this.yi),a.STREAM_DRAW);b&&0<=b.uk&&"<point>"!==b.name&&a.vertexAttribPointer(b.uk,2,
  58. a.FLOAT,!1,0,0)}for(var c,a=0,b=this.Mi;a<b;a++)switch(c=this.ck[a],c.type){case 1:c.HJ();break;case 2:c.NJ();break;case 3:c.KJ();break;case 4:c.JJ();break;case 5:c.PJ();break;case 6:c.IJ();break;case 7:c.CJ();break;case 8:c.GJ();break;case 9:c.LJ();break;case 10:c.MJ();break;case 11:c.OJ()}this.uy=this.yi=this.Mi=0;this.Df=!1;this.Qi++;4<=this.Qi&&(this.Qi=0)}};a.prototype.wm=function(a){if(a!==this.zC){var b=this.ph();b.type=3;this.zC=b.uD=a;this.Df=!1}};a.prototype.Kf=function(a){if(a!==this.Ol){var b=
  59. this.ph();b.type=2;this.Ol=b.sh=a;this.Df=!1}};a.prototype.Kk=function(a,b){if(a!==this.AC||b!==this.xC){var c=this.ph();c.type=4;c.Jg=a;c.Th=b;this.AC=a;this.xC=b;this.Df=!1}};a.prototype.VD=function(){this.Kk(this.na.ONE,this.na.ONE_MINUS_SRC_ALPHA)};a.prototype.Rt=function(a,b,c,d,e,k,m,q){15992<=this.yi&&this.sl();var p=this.yi,t=this.nz,v=this.Wy;if(this.Df)this.ck[this.Mi-1].Th+=6;else{var w=this.ph();w.type=1;w.Jg=p/4*3;w.Th=6;this.Df=!0}t[p]=a;v[p++]=0;t[p]=b;v[p++]=0;t[p]=c;v[p++]=1;t[p]=
  60. d;v[p++]=0;t[p]=e;v[p++]=1;t[p]=k;v[p++]=1;t[p]=m;v[p++]=0;t[p]=q;v[p++]=1;this.yi=p};a.prototype.li=function(a,b,c,d,e,k,m,q,p){15992<=this.yi&&this.sl();var t=this.yi,v=this.nz,w=this.Wy;if(this.Df)this.ck[this.Mi-1].Th+=6;else{var s=this.ph();s.type=1;s.Jg=t/4*3;s.Th=6;this.Df=!0}var s=p.left,O=p.top,L=p.right;p=p.bottom;v[t]=a;w[t++]=s;v[t]=b;w[t++]=O;v[t]=c;w[t++]=L;v[t]=d;w[t++]=O;v[t]=e;w[t++]=L;v[t]=k;w[t++]=p;v[t]=m;w[t++]=s;v[t]=q;w[t++]=p;this.yi=t};a.prototype.si=function(a){if(this.Hp!==
  61. a){if(!this.Rd[a]){if(0===this.Hp)return;a=0}var b=this.ph();b.type=9;this.Hp=b.Jg=a;this.Df=!1}};a.prototype.nq=function(a){a=this.Rd[a];return!(!a.Yl&&!a.Xl)};a.prototype.xy=function(a){a=this.Rd[a];return!!(a.Yl||a.Xl||a.HB)};a.prototype.RM=function(a){a=this.Rd[a];return 0!==a.pw||0!==a.qw};a.prototype.TK=function(a){return this.Rd[a].pw};a.prototype.UK=function(a){return this.Rd[a].qw};a.prototype.VK=function(a,b){return this.Rd[a].Va[b][2]};a.prototype.Pt=function(a){return this.Rd[a].mB};a.prototype.fo=
  62. function(a,b,c,d,e,k,m,q,p,t,v,w,s,O){var L=this.Rd[this.Hp],z,B;if(L.mL||O.length){z=this.ph();z.type=10;z.Vb?pc(this.Bg,z.Vb):z.Vb=oc();B=z.Vb;B[0]=b;B[1]=c;B[2]=d;B[3]=e;B[4]=k;B[5]=m;B[6]=q;B[7]=p;B[8]=t;B[9]=v;B[10]=w;B[11]=s;z.sh=L.Mp?a:null;if(O.length)for(c=z.$D,c.length=O.length,a=0,b=O.length;a<b;a++)c[a]=O[a];this.Df=!1}};a.prototype.clear=function(a,b,c,d){var e=this.ph();e.type=7;e.Jg=0;e.Vb||(e.Vb=oc());e.Vb[0]=a;e.Vb[1]=b;e.Vb[2]=c;e.Vb[3]=d;this.Df=!1};a.prototype.clearRect=function(a,
  63. b,c,d){if(!(0>c||0>d)){var e=this.ph();e.type=7;e.Jg=1;e.Vb||(e.Vb=oc());e.Vb[0]=a;e.Vb[1]=b;e.Vb[2]=c;e.Vb[3]=d;this.Df=!1}};a.prototype.QM=function(){this.sl();this.na.flush()};var d=[],e={};a.prototype.vJ=function(){d.length=0;e={}};a.prototype.tk=function(a,b,c,l){b=!!b;c=!!c;var n=a.src+","+b+","+c+(b?",undefined":""),k=null;if("undefined"!==typeof a.src&&e.hasOwnProperty(n))return k=e[n],k.Pr++,k;this.sl();var m=this.na,q=ma(a.width)&&ma(a.height),k=m.createTexture();m.bindTexture(m.TEXTURE_2D,
  64. k);m.pixelStorei(m.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var p=m.RGBA,t=m.RGBA,v=m.UNSIGNED_BYTE;if(l&&!this.Hl)switch(l){case 1:t=p=m.RGB;break;case 2:v=m.UNSIGNED_SHORT_4_4_4_4;break;case 3:v=m.UNSIGNED_SHORT_5_5_5_1;break;case 4:t=p=m.RGB,v=m.UNSIGNED_SHORT_5_6_5}if(!q&&b){l=document.createElement("canvas");l.width=pa(a.width);l.height=pa(a.height);var w=l.getContext("2d");w.webkitImageSmoothingEnabled=c;w.mozImageSmoothingEnabled=c;w.msImageSmoothingEnabled=c;w.imageSmoothingEnabled=c;w.drawImage(a,
  65. 0,0,a.width,a.height,0,0,l.width,l.height);m.texImage2D(m.TEXTURE_2D,0,p,t,v,l)}else m.texImage2D(m.TEXTURE_2D,0,p,t,v,a);b?(m.texParameteri(m.TEXTURE_2D,m.TEXTURE_WRAP_S,m.REPEAT),m.texParameteri(m.TEXTURE_2D,m.TEXTURE_WRAP_T,m.REPEAT)):(m.texParameteri(m.TEXTURE_2D,m.TEXTURE_WRAP_S,m.CLAMP_TO_EDGE),m.texParameteri(m.TEXTURE_2D,m.TEXTURE_WRAP_T,m.CLAMP_TO_EDGE));c?(m.texParameteri(m.TEXTURE_2D,m.TEXTURE_MAG_FILTER,m.LINEAR),q&&this.PB?(m.texParameteri(m.TEXTURE_2D,m.TEXTURE_MIN_FILTER,m.LINEAR_MIPMAP_LINEAR),
  66. m.generateMipmap(m.TEXTURE_2D)):m.texParameteri(m.TEXTURE_2D,m.TEXTURE_MIN_FILTER,m.LINEAR)):(m.texParameteri(m.TEXTURE_2D,m.TEXTURE_MAG_FILTER,m.NEAREST),m.texParameteri(m.TEXTURE_2D,m.TEXTURE_MIN_FILTER,m.NEAREST));m.bindTexture(m.TEXTURE_2D,null);this.Ol=null;k.Zm=a.width;k.Ym=a.height;k.Pr=1;k.wB=n;d.push(k);return e[n]=k};a.prototype.ik=function(a,b,c){var e;this.sl();var n=this.na;this.Hl&&(e=!1);var k=n.createTexture();n.bindTexture(n.TEXTURE_2D,k);n.texImage2D(n.TEXTURE_2D,0,n.RGBA,a,b,0,
  67. n.RGBA,e?n.UNSIGNED_SHORT_4_4_4_4:n.UNSIGNED_BYTE,null);n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE);n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE);n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,c?n.LINEAR:n.NEAREST);n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,c?n.LINEAR:n.NEAREST);n.bindTexture(n.TEXTURE_2D,null);this.Ol=null;k.Zm=a;k.Ym=b;d.push(k);return k};a.prototype.deleteTexture=function(a){a&&("undefined"!==typeof a.Pr&&1<a.Pr?a.Pr--:(this.sl(),a===
  68. this.Ol&&(this.na.bindTexture(this.na.TEXTURE_2D,null),this.Ol=null),a===this.Pl&&(this.na.activeTexture(this.na.TEXTURE1),this.na.bindTexture(this.na.TEXTURE_2D,null),this.na.activeTexture(this.na.TEXTURE0),this.Pl=null),Fa(d,a),"undefined"!==typeof a.wB&&delete e[a.wB],this.na.deleteTexture(a)))};a.prototype.gK=function(){var a=this.width*this.height*8,b,c,e;b=0;for(c=d.length;b<c;b++)e=d[b],a+=e.Zm*e.Ym*4;return a};a.prototype.qi=function(a){if(a!==this.OD){var b=this.ph();b.type=6;this.OD=b.sh=
  69. a;this.Df=!1}};ob=a})();
  70. (function(){function a(){return"undefined"!==typeof jQuery?jQuery(window).width():window.innerWidth}function c(){return"undefined"!==typeof jQuery?jQuery(window).height():window.innerHeight}function b(a){if(a&&(a.getContext||a.dc)&&!a.c2runtime){a.c2runtime=this;var b=this;this.mf=(this.Gl=/crosswalk/i.test(navigator.userAgent)||/xwalk/i.test(navigator.userAgent)||!("undefined"===typeof window.c2isCrosswalk||!window.c2isCrosswalk))||"undefined"!==typeof window.device&&("undefined"!==typeof window.device.cordova||
  71. "undefined"!==typeof window.device.phonegap)||"undefined"!==typeof window.c2isphonegap&&window.c2isphonegap;this.ae=!!a.dc;this.rn="undefined"!==typeof window.AppMobi||this.ae;this.Ef=!!window.c2cocoonjs;this.vg=!!window.c2ejecta;this.Ef&&(CocoonJS.App.onSuspended.addEventListener(function(){b.setSuspended(!0)}),CocoonJS.App.onActivated.addEventListener(function(){b.setSuspended(!1)}));this.vg&&(document.addEventListener("pagehide",function(){b.setSuspended(!0)}),document.addEventListener("pageshow",
  72. function(){b.setSuspended(!1)}),document.addEventListener("resize",function(){b.setSize(window.innerWidth,window.innerHeight)}));this.ac=this.ae||this.Ef||this.vg;this.Hl=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)||/iemobile/i.test(navigator.userAgent)||/edge\//i.test(navigator.userAgent);this.ax=/tizen/i.test(navigator.userAgent);this.zp=/android/i.test(navigator.userAgent)&&!this.ax&&!this.Hl;this.hx=(/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent))&&
  73. !this.Hl;this.wC=/ipad/i.test(navigator.userAgent);this.Gp=this.hx||this.wC||this.vg;this.HL=this.hx&&/os\s6/i.test(navigator.userAgent);this.Ap=(/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent))&&!this.Hl;this.Ss=/amazonwebappplatform/i.test(navigator.userAgent);this.yL=/firefox/i.test(navigator.userAgent);this.uC=/safari/i.test(navigator.userAgent)&&!this.Ap&&!this.Hl;this.BL=/windows/i.test(navigator.userAgent);this.Vh="undefined"!==typeof window.c2nodewebkit||/nodewebkit/i.test(navigator.userAgent);
  74. this.wL="undefined"!==typeof window.is_scirra_arcade;this.bx=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.DL=!("undefined"===typeof window.c2isWindows8Capable||!window.c2isWindows8Capable);this.sk=!("undefined"===typeof window.c2isWindowsPhone8||!window.c2isWindowsPhone8);this.Vs=!("undefined"===typeof window.c2isWindowsPhone81||!window.c2isWindowsPhone81);this.Us=this.bx||this.DL||this.Vs;this.Vw=!("undefined"===typeof window.c2isBlackberry10||!window.c2isBlackberry10);
  75. this.Ts=this.zp&&!this.Ap&&!this.Gl&&!this.yL&&!this.Ss&&!this.ac;this.devicePixelRatio=1;this.ej=this.mf||this.Gl||this.rn||this.Ef||this.zp||this.Gp||this.sk||this.Vs||this.Vw||this.ax||this.vg;this.ej||(this.ej=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet|kindle|silk)/i.test(navigator.userAgent));"undefined"===typeof cr_is_preview||this.Vh||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)||(this.Vh=!0);this.xL="undefined"!==typeof cr_is_preview&&
  76. -1<window.location.search.indexOf("debug");this.canvas=a;this.zB=document.getElementById("c2canvasdiv");this.Ub=this.ha=this.na=null;this.zw="";this.zs=!1;this.nD=this.oD=0;this.canvas.oncontextmenu=function(a){a.preventDefault&&a.preventDefault();return!1};this.canvas.onselectstart=function(a){a.preventDefault&&a.preventDefault();return!1};this.ae&&(window.c2runtime=this);this.Vh&&(window.ondragover=function(a){a.preventDefault();return!1},window.ondrop=function(a){a.preventDefault();return!1},require("nw.gui").App.clearCache());
  77. this.Ts&&"undefined"!==typeof jQuery&&jQuery("canvas").parents("*").css("overflow","visible");this.width=a.width;this.height=a.height;this.sb=this.width;this.rb=this.height;this.hs=this.width;this.gs=this.height;this.Bn=window.innerWidth;this.An=window.innerHeight;this.GK=!1;this.Wa=!0;this.Bp=!1;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.qa=[];this.td=[];this.Dn={};this.fh=[];this.ow={};this.Wi=[];this.so=[];this.Cu=[];this.eJ=[];this.fJ=[];this.eE=null;this.ol=
  78. {};this.Ww=this.rk=!1;this.lf=0;this.Zw=!1;this.Xg=[];this.jj=this.Ze=this.ft=this.Ky="";this.Bq=this.cE=!1;this.fw=this.Pp=this.Vi=this.$a=0;this.vh=1;this.nf=new cb;this.Ai=new cb;this.ct=0;this.gD=!0;this.cq=this.Cs=this.jn=this.uh=this.Rl=this.Bs=0;this.Oi=null;this.qs=[];this.nw=[];this.us=-1;this.Ex=[[]];this.$y=this.kt=0;this.Qt(null);this.Gn=[];this.Qp=-1;this.iD=this.bq=0;this.wx=!0;this.ip=0;this.Cq=[];this.wu=this.Ut=-1;this.Ml=!0;this.Wl=0;this.sn=!1;this.vN=0;this.Wm=null;this.kL=!1;
  79. this.ox=0;this.Uh=this.Nw=this.zy=!1;this.mD=new da;this.gy=new da;this.hy=new da;this.Wt=[];this.rh=new eb([]);this.Vy=new eb([]);this.$j=[];this.nn={};this.bn={};this.Vm={};this.qo={};this.tB={};this.DC=this.et=this.Ff=this.Uf=this.CC=this.dt=this.lb=null;this.oo=this.cx=!1;this.Aw=[null,null];this.Zi=0;this.jp="";this.Fk={};this.ku=this.En=null;this.Bt=[];this.cN()}}function d(a){a.target.result.createObjectStore("saves",{keyPath:"slot"})}function e(a,b,c,e){var m=indexedDB.open("_C2SaveStates");
  80. m.onupgradeneeded=d;m.onerror=e;m.onsuccess=function(d){d=d.target.result;d.onerror=e;d.transaction(["saves"],"readwrite").objectStore("saves").put({slot:a,data:b}).onsuccess=c}}function f(a,b,c){var e=indexedDB.open("_C2SaveStates");e.onupgradeneeded=d;e.onerror=c;e.onsuccess=function(d){d=d.target.result;d.onerror=c;var e=d.transaction(["saves"]).objectStore("saves").get(a);e.onsuccess=function(){e.result?b(e.result.data):b(null)}}}function g(){fa("Reloading for continuous preview");window.c2cocoonjs?
  81. CocoonJS.App.reload():-1<window.location.search.indexOf("continuous")?window.location.reload(!0):window.location+="?continuous"}function h(a){var b,c={};for(b in a)!a.hasOwnProperty(b)||a[b]instanceof da||a[b]&&"undefined"!==typeof a[b].Jh||(c[b]=a[b]);return c}b.prototype.cN=function(){var a=this,b;b=this.sk?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest;var c="data.js";if(this.bx||this.sk||this.Vs)c="data.json";b.open("GET",c,!0);var d=!1;if(!this.ac&&"response"in b&&"responseType"in
  82. b)try{b.responseType="json",d="json"===b.responseType}catch(e){d=!1}if(!d&&"responseType"in b)try{b.responseType="text"}catch(m){}if("overrideMimeType"in b)try{b.overrideMimeType("application/json; charset=utf-8")}catch(f){}this.sk?b.onreadystatechange=function(){4===b.readyState&&a.ht(JSON.parse(b.responseText))}:(b.onload=function(){if(d)a.ht(b.response);else if(a.vg){var c=b.responseText,c=c.substr(c.indexOf("{"));a.ht(JSON.parse(c))}else a.ht(JSON.parse(b.responseText))},b.onerror=function(a){ia("Error requesting "+
  83. c+":");ia(a)});b.send()};b.prototype.sL=function(){var b=this,d,e,m,f,k,g,h,l,p;this.devicePixelRatio=(this.Il=(!this.ac||this.vg)&&this.NN&&!this.Ts)?window.devicePixelRatio||window.webkitDevicePixelRatio||window.mozDevicePixelRatio||window.msDevicePixelRatio||1:1;this.xe();e=!(!this.GK&&(!this.Sv||this.Vh||this.Us||this.sk||this.Gl||this.mf||this.Ss));0<this.kf&&this.setSize(a(),c(),!0);try{this.cK&&(this.Ef||this.vg||!this.ac)&&(d={alpha:e,depth:!1,antialias:!1,failIfMajorPerformanceCaveat:!0},
  84. this.na=this.canvas.getContext("webgl",d)||this.canvas.getContext("experimental-webgl",d))}catch(n){}if(this.na){this.ac||(this.te=document.createElement("canvas"),jQuery(this.te).appendTo(this.canvas.parentNode),this.te.oncontextmenu=function(){return!1},this.te.onselectstart=function(){return!1},this.te.width=this.hs,this.te.height=this.gs,jQuery(this.te).css({width:this.hs+"px",height:this.gs+"px"}),this.FD(),this.oy=this.te.getContext("2d"));this.ha=new ob(this.na,this.ej);this.ha.Lk(this.canvas.width,
  85. this.canvas.height);this.ha.PB=0!==this.QJ;this.Ub=null;this.canvas.addEventListener("webglcontextlost",function(a){a.preventDefault();b.BM();fa("[Construct 2] WebGL context lost");window.cr_setSuspended(!0)},!1);this.canvas.addEventListener("webglcontextrestored",function(){b.ha.nC();b.ha.Lk(b.ha.width,b.ha.height,!0);b.Uf=null;b.Ff=null;b.Aw[0]=null;b.Aw[1]=null;b.CM();b.Wa=!0;fa("[Construct 2] WebGL context restored");window.cr_setSuspended(!1)},!1);d=0;for(e=this.qa.length;d<e;d++)for(k=this.qa[d],
  86. m=0,f=k.ab.length;m<f;m++)h=k.ab[m],h.ue=this.ha.Iw(h.id),this.oo=this.oo||this.ha.nq(h.ue);d=0;for(e=this.fh.length;d<e;d++){l=this.fh[d];m=0;for(f=l.ab.length;m<f;m++)h=l.ab[m],h.ue=this.ha.Iw(h.id);m=0;for(f=l.Oa.length;m<f;m++)for(p=l.Oa[m],k=0,g=p.ab.length;k<g;k++)h=p.ab[k],h.ue=this.ha.Iw(h.id),this.oo=this.oo||this.ha.nq(h.ue)}}else{if(0<this.kf&&this.ae){this.canvas=null;document.oncontextmenu=function(){return!1};document.onselectstart=function(){return!1};this.Ub=AppMobi.canvas.getContext("2d");
  87. try{this.Ub.samplingMode=this.yb?"smooth":"sharp",this.Ub.globalScale=1,this.Ub.HTML5CompatibilityMode=!0,this.Ub.imageSmoothingEnabled=this.yb}catch(s){}0!==this.width&&0!==this.height&&(this.Ub.width=this.width,this.Ub.height=this.height)}this.Ub||(d=this.Ef?{antialias:!!this.yb,alpha:e}:{alpha:e},this.Ub=this.canvas.getContext("2d",d),this.Ub.webkitImageSmoothingEnabled=this.yb,this.Ub.mozImageSmoothingEnabled=this.yb,this.Ub.msImageSmoothingEnabled=this.yb,this.Ub.imageSmoothingEnabled=this.yb);
  88. this.oy=this.te=null}this.uu=function(){b.sc(!1)};window==window.top||this.ac||this.Us||this.sk||(document.addEventListener("mousedown",function(){window.focus()},!0),document.addEventListener("touchstart",function(){window.focus()},!0));"undefined"!==typeof cr_is_preview&&(this.Ef&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),-1<window.location.search.indexOf("continuous")&&(fa("Reloading for continuous preview"),this.ft="__c2_continuouspreview",this.Bq=!0),this.IM&&!this.ej&&
  89. (jQuery(window).focus(function(){b.setSuspended(!1)}),jQuery(window).blur(function(){b.setSuspended(!0)})));this.ac||(d=function(a){nb(a)&&document.activeElement&&document.activeElement!==document.getElementsByTagName("body")[0]&&document.activeElement.blur&&document.activeElement.blur()},window.navigator.pointerEnabled?document.addEventListener("pointerdown",d):window.navigator.msPointerEnabled?document.addEventListener("MSPointerDown",d):document.addEventListener("touchstart",d),document.addEventListener("mousedown",
  90. d));0===this.kf&&this.Il&&1<this.devicePixelRatio&&this.setSize(this.Dd,this.Cd,!0);this.rE();this.iL();this.go();this.ra={}};b.prototype.setSize=function(a,b,c){var d=0,e=0,m=0,f=0,f=0,k=this.HL&&this.uC&&!navigator.standalone&&!this.ac&&!this.mf;k&&(b+=60);if(this.Bn!==a||this.An!==b||c){this.Bn=a;this.An=b;var g=this.kf,h=(document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||document.fullScreen||this.sn)&&!this.mf;if(h||0!==this.kf||c)h&&0<this.Zi&&(g=this.Zi),c=
  91. this.devicePixelRatio,4<=g?(m=this.Dd/this.Cd,a/b>m?(m*=b,5===g?(f=m*c/this.Dd,1<f?f=Math.floor(f):1>f&&(f=1/Math.ceil(1/f)),m=this.Dd*f/c,f=this.Cd*f/c,d=(a-m)/2,e=(b-f)/2,a=m,b=f):(d=(a-m)/2,a=m)):(f=a/m,5===g?(f=f*c/this.Cd,1<f?f=Math.floor(f):1>f&&(f=1/Math.ceil(1/f)),m=this.Dd*f/c,f=this.Cd*f/c,d=(a-m)/2,e=(b-f)/2,a=m):e=(b-f)/2,b=f),h&&!this.Vh&&(e=d=0)):this.Vh&&this.sn&&0===this.WB&&(d=Math.floor((a-this.Dd)/2),e=Math.floor((b-this.Cd)/2),a=this.Dd,b=this.Cd),2>g&&(this.dp=c),this.Il&&this.wC&&
  92. 1<c&&(1024<=a&&(a=1023),1024<=b&&(b=1023)),this.hs=Math.round(a),this.gs=Math.round(b),this.width=Math.round(a*c),this.height=Math.round(b*c),this.Wa=!0,this.GE?(this.sb=this.width,this.rb=this.height,this.ug=!0):this.width<this.Dd&&this.height<this.Cd||1===g?(this.sb=this.width,this.rb=this.height,this.ug=!0):(this.sb=this.Dd,this.rb=this.Cd,this.ug=!1,2===g?(m=this.Dd/this.Cd,g=this.Bn/this.An,g<m?this.sb=this.rb*g:g>m&&(this.rb=this.sb/g)):3===g&&(m=this.Dd/this.Cd,g=this.Bn/this.An,g>m?this.sb=
  93. this.rb*g:g<m&&(this.rb=this.sb/g))),this.zB&&!this.ac&&(jQuery(this.zB).css({width:Math.round(a)+"px",height:Math.round(b)+"px","margin-left":Math.floor(d)+"px","margin-top":Math.floor(e)+"px"}),"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:Math.round(a)+"px",height:Math.round(b)+"px"})),this.canvas&&(this.canvas.width=Math.round(a*c),this.canvas.height=Math.round(b*c),this.vg?(this.canvas.style.left=Math.floor(d)+"px",this.canvas.style.top=Math.floor(e)+"px",this.canvas.style.width=
  94. Math.round(a)+"px",this.canvas.style.height=Math.round(b)+"px"):this.Il&&!this.ac&&jQuery(this.canvas).css({width:Math.round(a)+"px",height:Math.round(b)+"px"})),this.te&&(this.te.width=Math.round(a),this.te.height=Math.round(b),jQuery(this.te).css({width:Math.round(a)+"px",height:Math.round(b)+"px"})),this.ha&&this.ha.Lk(Math.round(a*c),Math.round(b*c)),this.ae&&this.Ub&&(this.Ub.width=Math.round(a),this.Ub.height=Math.round(b)),this.Ub&&(this.Ub.webkitImageSmoothingEnabled=this.yb,this.Ub.mozImageSmoothingEnabled=
  95. this.yb,this.Ub.msImageSmoothingEnabled=this.yb,this.Ub.imageSmoothingEnabled=this.yb),this.rE(),this.ac||!k&&!this.hx||window.setTimeout(function(){window.scrollTo(0,1)},100)}};b.prototype.rE=function(){if(this.jJ&&0!==this.my){var a="portrait";2===this.my&&(a="landscape");screen.orientation&&screen.orientation.lock?screen.orientation.lock(a):screen.lockOrientation?screen.lockOrientation(a):screen.webkitLockOrientation?screen.webkitLockOrientation(a):screen.mozLockOrientation?screen.mozLockOrientation(a):
  96. screen.msLockOrientation&&screen.msLockOrientation(a)}};b.prototype.BM=function(){this.ha.vJ();this.cx=!0;var a,b,c;a=0;for(b=this.qa.length;a<b;a++)c=this.qa[a],c.Ct&&c.Ct()};b.prototype.CM=function(){this.cx=!1;var a,b,c;a=0;for(b=this.qa.length;a<b;a++)c=this.qa[a],c.Et&&c.Et()};b.prototype.FD=function(){if(!this.ac){var a=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.sn)&&!this.mf?jQuery(this.canvas).offset():jQuery(this.canvas).position();
  97. a.position="absolute";jQuery(this.te).css(a)}};var l=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;b.prototype.setSuspended=function(a){var b;if(a&&!this.Bp)for(fa("[Construct 2] Suspending"),this.Bp=!0,-1!==this.Ut&&l&&l(this.Ut),-1!==this.wu&&clearTimeout(this.wu),a=0,b=this.Cq.length;a<b;a++)this.Cq[a](!0);else if(!a&&this.Bp){fa("[Construct 2] Resuming");this.Bp=!1;this.ct=Ya();this.Rl=
  98. Ya();a=this.Pp=this.Cs=0;for(b=this.Cq.length;a<b;a++)this.Cq[a](!1);this.sc(!1)}};b.prototype.gB=function(a){this.Cq.push(a)};b.prototype.Sj=function(a){return this.Bt[a]};b.prototype.ht=function(a){a&&a.project||ia("Project model unavailable");a=a.project;this.name=a[0];this.VB=a[1];this.kf=a[12];this.WB=a[12];this.Dd=a[10];this.Cd=a[11];this.BD=this.Dd/2;this.CD=this.Cd/2;this.ac&&!this.vg&&(4<=a[12]||0===a[12])&&(fa("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),
  99. this.WB=this.kf=3);this.kz=a[18];this.Jp=a[19];0===this.Jp&&(this.En=new Image,this.En.src="loading-logo.png");this.bq=a[21];this.Bt=tc();this.ti=new x(this);var b,c,d,e,m,f,k,g,h;b=0;for(c=a[2].length;b<c;b++)k=a[2][b],d=this.Sj(k[0]),pb(k,d.prototype),h=new d(this),h.ju=k[1],h.Wh=k[2],h.hD=k[9],h.ka&&h.ka(),this.plugins.push(h);this.Bt=tc();b=0;for(c=a[3].length;b<c;b++){k=a[3][b];m=this.Sj(k[1]);h=null;d=0;for(e=this.plugins.length;d<e;d++)if(this.plugins[d]instanceof m){h=this.plugins[d];break}var l=
  100. new h.ua(h);l.name=k[0];l.Ga=k[2];l.Uw=k[3].slice(0);l.QN=k[3].length;l.nJ=k[4];l.IK=k[5];l.zb=k[11];l.Ga?(l.mm=[],l.Xi=this.ip++,l.Ac=null):(l.mm=null,l.Xi=-1,l.Ac=[]);l.ws=null;l.kn=null;l.RB=null;l.be=!1;l.Af=null;k[6]?(l.ru=k[6][0],l.Xy=k[6][1],l.Eq=k[6][2]):(l.ru=null,l.Xy=0,l.Eq=0);l.xf=k[7]?k[7]:null;l.index=b;l.D=[];l.ns=[];l.Ok=[new qb(l)];l.Ti=0;l.rg=null;l.AJ=0;l.io=!0;l.Fu=rb;l.op=sb;l.RK=tb;l.wa=ub;l.oq=vb;l.Bj=wb;l.Gg=xb;l.Hs=yb;l.Cw=Ab;l.Gw=Bb;l.hf=Cb;l.aC=Db;l.Wr=new fb(this.Dd,this.Cd);
  101. l.Fr=!0;l.Gr=!1;l.ra={};l.toString=Eb;l.td=[];d=0;for(e=k[8].length;d<e;d++){g=k[8][d];var p=this.Sj(g[1]),n=null;m=0;for(f=this.td.length;m<f;m++)if(this.td[m]instanceof p){n=this.td[m];break}n||(n=new p(this),n.ey=[],n.At=new da,n.ka&&n.ka(),this.td.push(n),lc.uN&&n instanceof lc.uN&&(this.eE=n));-1===n.ey.indexOf(l)&&n.ey.push(l);m=new n.ua(n,l);m.name=g[0];m.zb=g[2];m.ka();l.td.push(m)}l.global=k[9];l.Yw=k[10];l.ab=[];d=0;for(e=k[12].length;d<e;d++)l.ab.push({id:k[12][d][0],name:k[12][d][1],ue:-1,
  102. ea:!0,index:d});l.xP=k[13];this.kz&&!l.Ga&&!l.Yw&&h.Wh||l.ka();l.name&&(this.types[l.name]=l);this.qa.push(l);h.ju&&(d=new h.la(l),d.uid=this.bq++,d.KD=this.iD++,d.Dl=0,d.tp=Fb,d.toString=Gb,d.T=k[14],d.ka(),l.D.push(d),this.Fk[d.uid.toString()]=d)}b=0;for(c=a[4].length;b<c;b++)for(m=a[4][b],f=this.qa[m[0]],d=1,e=m.length;d<e;d++)k=this.qa[m[d]],k.Ac.push(f),f.mm.push(k);b=0;for(c=a[27].length;b<c;b++){m=a[27][b];f=[];d=0;for(e=m.length;d<e;d++)f.push(this.qa[m[d]]);d=0;for(e=f.length;d<e;d++)f[d].be=
  103. !0,f[d].Af=f}if(0<this.ip)for(b=0,c=this.qa.length;b<c;b++)if(k=this.qa[b],!k.Ga&&k.Ac.length){k.ws=Array(this.ip);k.kn=Array(this.ip);k.RB=Array(this.ip);l=[];d=n=p=g=0;for(e=k.Ac.length;d<e;d++)for(h=k.Ac[d],k.ws[h.Xi]=g,g+=h.QN,k.kn[h.Xi]=p,p+=h.nJ,k.RB[h.Xi]=n,n+=h.IK,m=0,f=h.ab.length;m<f;m++)l.push(Aa({},h.ab[m]));k.ab=l.concat(k.ab);d=0;for(e=k.ab.length;d<e;d++)k.ab[d].index=d}b=0;for(c=a[5].length;b<c;b++)k=a[5][b],d=new Hb(this,k),this.Dn[d.name]=d,this.fh.push(d);b=0;for(c=a[6].length;b<
  104. c;b++)k=a[6][b],d=new Ib(this,k),this.ow[d.name]=d,this.Wi.push(d);b=0;for(c=this.Wi.length;b<c;b++)this.Wi[b].hd();b=0;for(c=this.Wi.length;b<c;b++)this.Wi[b].dz();b=0;for(c=this.Cu.length;b<c;b++)this.Cu[b].hd();this.Cu.length=0;this.iJ=a[7];this.jp=a[8];this.ji=a[9];this.dp=1;this.cK=a[13];this.yb=a[14];this.Sv=a[15];this.NN=a[17];this.my=a[20];this.jJ=0<this.my;this.IM=a[22];this.ug=this.GE=a[23];this.QJ=a[24];this.OM=a[25];this.mu=Date.now();this.Bt.length=0;this.sL()};var n=!1;b.prototype.pz=
  105. function(a,b){a.cocoonLazyLoad=!0;a.onerror=function(b){n=a.vB=!0;console&&console.error&&console.error("Error loading image '"+a.src+"': ",b)};this.vg?a.src=b:a.src||("undefined"!==typeof XAPKReader?XAPKReader.get(b,function(b){a.src=b},function(c){n=a.vB=!0;console&&console.error&&console.error("Error extracting image '"+b+"' from expansion file: ",c)}):a.src=b);this.so.push(a)};b.prototype.FK=function(a){var b,c;b=0;for(c=this.so.length;b<c;b++)if(this.so[b].wJ===a)return this.so[b];return null};
  106. var k=0,m=!1;b.prototype.iL=function(){this.Wm&&(k=this.Wm.pN(this.iJ))};b.prototype.oB=function(){var a=k,b=0,c=0,d=!0,e,f,c=0;for(e=this.so.length;c<e;c++){f=this.so[c];var g=f.GB;if(!g||0>=g)g=5E4;a+=g;f.src&&(f.complete||f.loaded)&&!f.vB?b+=g:d=!1}d&&this.OM&&this.Wm&&(m||(this.Wm.wN(),m=!0),c=this.Wm.SK(),b+=c,c<k&&(d=!1));this.Rb=0==a?0:b/a;return d};b.prototype.go=function(){if(this.Ub||this.ha){var a=this.Ub||this.oy;this.te&&this.FD();this.Rb=0;this.BC=-1;if(this.oB())this.jL();else{var b=
  107. Date.now()-this.mu;if(a){var c=this.width,d=this.height,e=this.devicePixelRatio;this.te&&(c=this.hs,d=this.gs,e=1);if(3!==this.Jp&&(this.Ef||500<=b&&this.BC!=this.Rb)){a.clearRect(0,0,c,d);var b=c/2,d=d/2,c=0===this.Jp&&this.En.complete,m=40*e,f=0,k=80*e,g;c&&(k=this.En.width*e,g=this.En.height*e,m=k/2,f=g/2,a.drawImage(this.En,ua(b-m),ua(d-f),k,g));1>=this.Jp?(b=ua(b-m)+.5,d=ua(d+(f+(c?12*e:0)))+.5,a.fillStyle=n?"red":"DodgerBlue",a.fillRect(b,d,Math.floor(k*this.Rb),6*e),a.strokeStyle="black",a.strokeRect(b,
  108. d,k,6*e),a.strokeStyle="white",a.strokeRect(b-1*e,d-1*e,k+2*e,8*e)):2===this.Jp&&(a.font=this.vg?"12pt ArialMT":"12pt Arial",a.fillStyle=n?"#f00":"#999",a.wP="middle",e=Math.round(100*this.Rb)+"%",c=a.measureText?a.measureText(e):null,a.fillText(e,b-(c?c.width:0)/2,d))}this.BC=this.Rb}setTimeout(function(a){return function(){a.go()}}(this),this.Ef?10:100)}}};b.prototype.jL=function(){this.te&&(this.canvas.parentNode.removeChild(this.te),this.te=this.oy=null);this.mu=Date.now();this.Rl=Ya();var a,
  109. b,c;if(this.kz)for(a=0,b=this.qa.length;a<b;a++)c=this.qa[a],c.Ga||c.Yw||!c.Da.Wh||c.ka();else this.Ml=!1;a=0;for(b=this.fh.length;a<b;a++)this.fh[a].xJ();2<=this.kf&&(a=this.Dd/this.Cd,b=this.width/this.height,this.dp=2!==this.kf&&b>a||2===this.kf&&b<a?this.height/this.Cd:this.width/this.Dd);this.VB?this.Dn[this.VB].Ty():this.fh[0].Ty();this.kz||(this.Wl=1,this.trigger(x.prototype.C.hv,null));navigator.splashscreen&&navigator.splashscreen.hide&&navigator.splashscreen.hide();a=0;for(b=this.qa.length;a<
  110. b;a++)c=this.qa[a],c.AM&&c.AM();this.sc(!1);this.ae&&AppMobi.webview.execute("onGameReady();")};var q=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame;b.prototype.sc=function(b){if(this.lb){var d=Ya();if(this.kL&&this.zy&&29>d-this.ox)this.zy=!1,this.ox=d,q?this.Ut=q(this.uu,this.canvas):this.wu=setTimeout(this.uu,this.ej?1:16);else{this.zy=!0;this.ox=d;var e=this.kf,m=(document.mozFullScreen||
  111. document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement)&&!this.mf;(m||this.sn)&&0<this.Zi&&(e=this.Zi);0<e&&(!this.Gp||window.self!==window.top)&&(e=window.innerHeight,this.Bn===window.innerWidth&&this.An===e||this.setSize(a(),c()));this.ac||(m?(this.zs||(this.zw=jQuery(this.canvas).css("margin")||"0",this.zs=!0),this.Ap||this.Vh||jQuery(this.canvas).css({"margin-left":""+Math.floor((screen.width-this.width/this.devicePixelRatio)/2)+"px","margin-top":""+Math.floor((screen.height-
  112. this.height/this.devicePixelRatio)/2)+"px"})):this.zs?(this.Ap||this.Vh||jQuery(this.canvas).css("margin",this.zw),this.zw="",this.zs=!1,0===this.kf&&this.setSize(Math.round(this.oD/this.devicePixelRatio),Math.round(this.nD/this.devicePixelRatio),!0)):(this.oD=this.width,this.nD=this.height));this.Ml&&(m=this.oB(),this.Wl=this.Rb,m&&(this.Ml=!1,this.Rb=1,this.trigger(x.prototype.C.hv,null)));this.RL();!this.Wa&&!this.Ef||this.cx||this.Bq||b||(this.Wa=!1,this.ha?this.tg():this.Mh(),this.ku&&(this.canvas&&
  113. this.canvas.toDataURL&&(this.canvas.toDataURL(this.ku[0],this.ku[1]),this.trigger(x.prototype.C.xG,null)),this.ku=null));this.pP||(this.uh++,this.jn++,this.Cs++);this.Pp+=Ya()-d;this.Bp||b||(q?this.Ut=q(this.uu,this.canvas):this.wu=setTimeout(this.uu,this.ej?1:16))}}};b.prototype.RL=function(){var a,b,c,d,e,m,f,k,g;a=Ya();1E3<=a-this.Rl&&(this.Rl+=1E3,1E3<=a-this.Rl&&(this.Rl=a),this.Bs=this.Cs,this.Cs=0,this.fw=this.Pp,this.Pp=0);this.gD&&(0!==this.ct&&(b=a-this.ct,0!==b||this.xL?(this.Vi=b/1E3,
  114. .5<this.Vi?this.Vi=0:.1<this.Vi&&(this.Vi=.1)):(10<=this.AP&&(this.gD=!1),this.Vi=1/60)),this.ct=a);this.$a=this.Vi*this.vh;this.nf.add(this.$a);this.Ai.add(this.Vi);a=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.sn)&&!this.mf;2<=this.kf||a&&0<this.Zi?(b=this.Dd/this.Cd,c=this.width/this.height,d=this.kf,a&&0<this.Zi&&(d=this.Zi),this.dp=2!==d&&c>b||2===d&&c<b?this.height/this.Cd:this.width/this.Dd,this.lb&&(this.lb.sq(this.lb.scrollX),
  115. this.lb.tq(this.lb.scrollY))):this.dp=this.Il?this.devicePixelRatio:1;this.xe();this.lf++;this.ti.fN();this.lf--;this.xe();this.lf++;c=this.mD.yh();a=0;for(b=c.length;a<b;a++)c[a].rP();a=0;for(b=this.qa.length;a<b;a++)if(f=this.qa[a],!f.Ga&&(f.td.length||f.Ac.length))for(c=0,d=f.D.length;c<d;c++)for(k=f.D[c],e=0,m=k.eb.length;e<m;e++)k.eb[e].sc();a=0;for(b=this.qa.length;a<b;a++)if(f=this.qa[a],!f.Ga&&(f.td.length||f.Ac.length))for(c=0,d=f.D.length;c<d;c++)for(k=f.D[c],e=0,m=k.eb.length;e<m;e++)g=
  116. k.eb[e],g.NM&&g.NM();c=this.gy.yh();a=0;for(b=c.length;a<b;a++)c[a].sc();this.lf--;this.lL();for(a=0;this.Oi&&10>a++;)this.NB(this.Oi);a=0;for(b=this.Wi.length;a<b;a++)this.Wi[a].Qw=!1;this.lb.tl&&this.lb.tl.Fd();this.Wt.length=0;this.wx=!1;this.lf++;a=0;for(b=this.qa.length;a<b;a++)if(f=this.qa[a],!f.Ga&&(f.td.length||f.Ac.length))for(c=0,d=f.D.length;c<d;c++)for(k=f.D[c],e=0,m=k.eb.length;e<m;e++)g=k.eb[e],g.jo&&g.jo();c=this.hy.yh();a=0;for(b=c.length;a<b;a++)c[a].jo();this.lf--};b.prototype.NB=
  117. function(a){var b=this.lb;this.lb.xN();var c,d,e,m,f,k,g;if(this.ha)for(c=0,d=this.qa.length;c<d;c++)f=this.qa[c],f.Ga||!f.Eu||f.global&&0!==f.D.length||-1!==a.xp.indexOf(f)||f.Eu();b==a&&(this.ti.tf.length=0);a.Ty();c=0;for(d=this.qa.length;c<d;c++)if(f=this.qa[c],f.global||f.Da.ju)for(a=0,b=f.D.length;a<b;a++)if(k=f.D[a],k.jy&&k.jy(),k.eb)for(e=0,m=k.eb.length;e<m;e++)g=k.eb[e],g.jy&&g.jy();this.wx=this.Wa=!0;this.xe()};b.prototype.vu=function(a){this.gy.add(a)};b.prototype.CN=function(a){this.hy.add(a)};
  118. b.prototype.Rh=function(a){return a&&-1!==a.Un?this.Vi*a.Un:this.$a};b.prototype.Mh=function(){this.lb.Mh(this.Ub);this.ae&&this.Ub.present()};b.prototype.tg=function(){this.lb.tg(this.ha);this.ha.QM()};b.prototype.Zo=function(a){a&&this.qs.push(a)};b.prototype.Dy=function(a){Fa(this.qs,a)};b.prototype.ah=function(a){a=a.toString();return this.Fk.hasOwnProperty(a)?this.Fk[a]:null};var p=[];b.prototype.Ch=function(a){var b,c;b=a.type.name;var d=null;if(this.ol.hasOwnProperty(b)){if(d=this.ol[b],d.contains(a))return}else d=
  119. p.length?p.pop():new da,this.ol[b]=d;d.add(a);this.rk=!0;if(a.be)for(b=0,c=a.siblings.length;b<c;b++)this.Ch(a.siblings[b]);this.Ww&&d.po.push(a);this.lf++;this.trigger(Object.getPrototypeOf(a.type.Da).C.fA,a);this.lf--};b.prototype.xe=function(){if(this.rk){var a,b,c,d,e,m;this.Ww=!0;c=0;for(e=this.Xg.length;c<e;++c)for(a=this.Xg[c],b=a.type,b.D.push(a),d=0,m=b.Ac.length;d<m;++d)b.Ac[d].D.push(a),b.Ac[d].io=!0;this.Xg.length=0;this.jG();Xa(this.ol);this.rk=this.Ww=!1}};b.prototype.jG=function(){for(var a in this.ol)this.ol.hasOwnProperty(a)&&
  120. this.fF(this.ol[a])};b.prototype.fF=function(a){var b=a.yh(),c=b[0].type,d,e,m,f,k,g;$a(c.D,a);c.io=!0;0===c.D.length&&(c.Gr=!1);d=0;for(e=c.Ac.length;d<e;++d)g=c.Ac[d],$a(g.D,a),g.io=!0;d=0;for(e=this.ti.tf.length;d<e;++d)if(k=this.ti.tf[d],k.ef.hasOwnProperty(c.index)&&$a(k.ef[c.index].bj,a),!c.Ga)for(m=0,f=c.Ac.length;m<f;++m)g=c.Ac[m],k.ef.hasOwnProperty(g.index)&&$a(k.ef[g.index].bj,a);if(k=b[0].W){if(k.wh)for(m=k.D,d=0,e=m.length;d<e;++d)f=m[d],a.contains(f)&&(f.Jb(),k.Jf.update(f,f.rf,null),
  121. f.rf.set(0,0,-1,-1));$a(k.D,a);k.vq(0)}for(d=0;d<b.length;++d)this.eF(b[d],c);a.clear();p.push(a);this.Wa=!0};b.prototype.eF=function(a,b){var c,d,e;c=0;for(d=this.qs.length;c<d;++c)this.qs[c](a);a.hk&&b.Wr.update(a,a.hk,null);(c=a.W)&&c.co(a,!0);if(a.eb)for(c=0,d=a.eb.length;c<d;++c)e=a.eb[c],e.wj&&e.wj(),e.behavior.At.remove(a);this.mD.remove(a);this.gy.remove(a);this.hy.remove(a);a.wj&&a.wj();this.Fk.hasOwnProperty(a.uid.toString())&&delete this.Fk[a.uid.toString()];this.cq--;100>b.ns.length&&
  122. b.ns.push(a)};b.prototype.es=function(a,b,c,d){if(a.Ga){var e=ua(Math.random()*a.mm.length);return this.es(a.mm[e],b,c,d)}return a.rg?this.jk(a.rg,b,!1,c,d,!1):null};var t=[];b.prototype.jk=function(a,b,c,d,e,m){var f,k,g,h;if(!a)return null;var l=this.qa[a[1]],p=l.Da.Wh;if(this.Ml&&p&&!l.Yw||p&&!this.ha&&11===a[0][11])return null;var n=b;p||(b=null);var s;l.ns.length?(s=l.ns.pop(),s.ke=!0,l.Da.la.call(s,l)):(s=new l.Da.la(l),s.ke=!1);s.uid=c&&!m?a[2]:this.bq++;this.Fk[s.uid.toString()]=s;s.KD=this.iD++;
  123. s.Dl=l.D.length;f=0;for(k=this.Xg.length;f<k;++f)this.Xg[f].type===l&&s.Dl++;s.tp=Fb;s.toString=Gb;g=a[3];if(s.ke)Xa(s.ra);else{s.ra={};if("undefined"!==typeof cr_is_preview)for(s.qC=[],s.qC.length=g.length,f=0,k=g.length;f<k;f++)s.qC[f]=g[f][1];s.ed=[];s.ed.length=g.length}f=0;for(k=g.length;f<k;f++)s.ed[f]=g[f][0];if(p){var q=a[0];s.x=ja(d)?q[0]:d;s.y=ja(e)?q[1]:e;s.z=q[2];s.width=q[3];s.height=q[4];s.depth=q[5];s.K=q[6];s.opacity=q[7];s.Ue=q[8];s.Ve=q[9];s.jf=q[10];f=q[11];!this.ha&&l.ab.length&&
  124. (s.jf=f);s.ep=jb(s.jf);this.na&&kb(s,s.jf,this.na);if(s.ke){f=0;for(k=q[12].length;f<k;f++)for(g=0,h=q[12][f].length;g<h;g++)s.Pc[f][g]=q[12][f][g];s.Yc.set(0,0,0,0);s.hk.set(0,0,-1,-1);s.rf.set(0,0,-1,-1);s.nc.wq(s.Yc);s.Wv.length=0}else{s.Pc=q[12].slice(0);f=0;for(k=s.Pc.length;f<k;f++)s.Pc[f]=q[12][f].slice(0);s.Kb=[];s.Zj=[];s.Zj.length=l.ab.length;s.Yc=new ya(0,0,0,0);s.hk=new ya(0,0,-1,-1);s.rf=new ya(0,0,-1,-1);s.nc=new za;s.Wv=[];s.Ea=Jb;s.bP=Kb;s.Be=Lb;s.Jb=Mb;s.MN=Nb;s.BE=Ob;s.Sh=Pb}s.Hj=
  125. !1;s.FN=0;s.EN=0;s.DN=null;14===q.length&&(s.Hj=!0,s.FN=q[13][0],s.EN=q[13][1],s.DN=q[13][2]);f=0;for(k=l.ab.length;f<k;f++)s.Zj[f]=!0;s.Kj=Qb;s.Kj();s.DE=!!s.Kb.length;s.Vv=!0;s.Xv=!0;l.Fr=!0;s.visible=!0;s.Un=-1;s.W=b;s.zh=b.D.length;"undefined"===typeof s.qb&&(s.qb=null);this.Wa=s.Pi=!0}var w;f=t.length=0;for(k=l.Ac.length;f<k;f++)t.push.apply(t,l.Ac[f].td);t.push.apply(t,l.td);if(s.ke)for(f=0,k=t.length;f<k;f++){var O=t[f];w=s.eb[f];w.ke=!0;O.behavior.la.call(w,O,s);q=a[4][f];g=0;for(h=q.length;g<
  126. h;g++)w.T[g]=q[g];w.ka();O.behavior.At.add(s)}else for(s.eb=[],f=0,k=t.length;f<k;f++)O=t[f],w=new O.behavior.la(O,s),w.ke=!1,w.T=a[4][f].slice(0),w.ka(),s.eb.push(w),O.behavior.At.add(s);q=a[5];if(s.ke)for(f=0,k=q.length;f<k;f++)s.T[f]=q[f];else s.T=q.slice(0);this.Xg.push(s);this.rk=!0;b&&(b.cp(s,!0),1!==b.Dg||1!==b.Eg)&&(l.Gr=!0);this.cq++;if(l.be){if(s.be=!0,s.ke?s.siblings.length=0:s.siblings=[],!c&&!m){f=0;for(k=l.Af.length;f<k;f++)if(l.Af[f]!==l){if(!l.Af[f].rg)return null;s.siblings.push(this.jk(l.Af[f].rg,
  127. n,!1,p?s.x:d,p?s.y:e,!0))}f=0;for(k=s.siblings.length;f<k;f++)for(s.siblings[f].siblings.push(s),g=0;g<k;g++)f!==g&&s.siblings[f].siblings.push(s.siblings[g])}}else s.be=!1,s.siblings=null;s.ka();f=0;for(k=s.eb.length;f<k;f++)s.eb[f].GD&&s.eb[f].GD();return s};b.prototype.rp=function(a){var b,c;b=0;for(c=this.lb.Oa.length;b<c;b++){var d=this.lb.Oa[b];if(mb(d.name,a))return d}return null};b.prototype.$i=function(a){a=ua(a);0>a&&(a=0);a>=this.lb.Oa.length&&(a=this.lb.Oa.length-1);return this.lb.Oa[a]};
  128. b.prototype.qp=function(a){return ka(a)?this.$i(a):this.rp(a.toString())};b.prototype.$v=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].wa().Aa=!0};b.prototype.oq=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].oq()};b.prototype.Bj=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].Bj()};b.prototype.Gg=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].Gg()};b.prototype.yE=function(a){if(a.Fr){var b,c,d=a.D;b=0;for(c=d.length;b<c;++b)d[b].BE();d=this.Xg;b=0;for(c=d.length;b<c;++b)d[b].type===
  129. a&&d[b].BE();a.Fr=!1}};b.prototype.Dw=function(a,b,c,d){var e,f,m=a?1!==a.Dg||1!==a.Eg:!1;if(b.Ga)for(a=0,e=b.mm.length;a<e;++a)f=b.mm[a],m||f.Gr?Da(d,f.D):(this.yE(f),f.Wr.St(c,d));else m||b.Gr?Da(d,b.D):(this.yE(b),b.Wr.St(c,d))};b.prototype.XK=function(a,b,c,d){var e,f;e=0;for(f=b.length;e<f;++e)this.Dw(a,b[e],c,d)};b.prototype.WK=function(a,b,c){var d=this.eE;d&&this.XK(a,d.ey,b,c)};b.prototype.qu=function(a,b,c){var d=a.wa(),e,f,m,k,g,h;if(d.Aa)for(d.Aa=!1,e=d.D.length=0,k=a.D.length;e<k;e++)m=
  130. a.D[e],m.Jb(),g=m.W.Se(b,c,!0),h=m.W.Se(b,c,!1),m.Be(g,h)&&d.D.push(m);else{e=f=0;for(k=d.D.length;e<k;e++)m=d.D[e],m.Jb(),g=m.W.Se(b,c,!0),h=m.W.Se(b,c,!1),m.Be(g,h)&&(d.D[f]=d.D[e],f++);d.D.length=f}a.hf();return d.Pw()};b.prototype.Qk=function(a,b){if(!(a&&b&&a!==b&&a.Pi&&b.Pi))return!1;a.Jb();b.Jb();var c=a.W,d=b.W,e,f,m,k,g,h,l,p;if(c===d||c.Dg===d.Dg&&d.Eg===d.Eg&&c.scale===d.scale&&c.K===d.K&&c.Ah===d.Ah){if(!a.Yc.tL(b.Yc)||!a.nc.rC(b.nc)||a.Hj&&b.Hj)return!1;if(a.Hj)return this.mE(a,b);if(b.Hj)return this.mE(b,
  131. a);l=a.qb&&!a.qb.Kl();e=b.qb&&!b.qb.Kl();if(!l&&!e)return!0;l?(a.qb.jl(a.width,a.height,a.K),l=a.qb):(this.rh.ho(a.nc,a.x,a.y,a.width,a.height),l=this.rh);e?(b.qb.jl(b.width,b.height,b.K),p=b.qb):(this.rh.ho(b.nc,b.x,b.y,b.width,b.height),p=this.rh);return l.yp(p,b.x-a.x,b.y-a.y)}l=a.qb&&!a.qb.Kl();e=b.qb&&!b.qb.Kl();l?(a.qb.jl(a.width,a.height,a.K),this.rh.YD(a.qb)):this.rh.ho(a.nc,a.x,a.y,a.width,a.height);l=this.rh;e?(b.qb.jl(b.width,b.height,b.K),this.Vy.YD(b.qb)):this.Vy.ho(b.nc,b.x,b.y,b.width,
  132. b.height);p=this.Vy;e=0;for(f=l.cg;e<f;e++)m=2*e,k=m+1,g=l.jd[m],h=l.jd[k],l.jd[m]=c.Xe(g+a.x,h+a.y,!0),l.jd[k]=c.Xe(g+a.x,h+a.y,!1);l.Jb();e=0;for(f=p.cg;e<f;e++)m=2*e,k=m+1,g=p.jd[m],h=p.jd[k],p.jd[m]=d.Xe(g+b.x,h+b.y,!0),p.jd[k]=d.Xe(g+b.x,h+b.y,!1);p.Jb();return l.yp(p,0,0)};var v=new za;new ya(0,0,0,0);var w=[];b.prototype.mE=function(a,b){var c,d,e,f,m=b.Yc,k=a.x,g=a.y;a.kP(m,w);var h=b.qb&&!b.qb.Kl();c=0;for(d=w.length;c<d;++c)if(e=w[c],f=e.WM,m.uL(f,k,g)&&(v.wq(f),v.offset(k,g),v.rC(b.nc)))if(h)if(b.qb.jl(b.width,
  133. b.height,b.K),e.ki){if(e.ki.yp(b.qb,b.x-(k+f.left),b.y-(g+f.top)))return w.length=0,!0}else{if(this.rh.ho(v,0,0,f.right-f.left,f.bottom-f.top),this.rh.yp(b.qb,b.x,b.y))return w.length=0,!0}else if(e.ki){if(this.rh.ho(b.nc,0,0,b.width,b.height),e.ki.yp(this.rh,-(k+f.left),-(g+f.top)))return w.length=0,!0}else return w.length=0,!0;w.length=0;return!1};b.prototype.tE=function(a,b){if(!b)return!1;var c,d,e,f,m;c=0;for(d=a.td.length;c<d;c++)if(a.td[c].behavior instanceof b)return!0;if(!a.Ga)for(c=0,d=
  134. a.Ac.length;c<d;c++)for(m=a.Ac[c],e=0,f=m.td.length;e<f;e++)if(m.td[e].behavior instanceof b)return!0;return!1};b.prototype.uE=function(a){return this.tE(a,lc.xO)};b.prototype.az=function(a){return this.tE(a,lc.zO)};var s=[];b.prototype.zm=function(a){var b,c,d;a.Jb();this.WK(a.W,a.Yc,s);b=0;for(c=s.length;b<c;++b)if(d=s[b],d.ra.solidEnabled&&this.Qk(a,d))return s.length=0,d;s.length=0;return null};b.prototype.UM=function(a,b,c,d){d=d||50;var e=a.x,f=a.y,m,k=null,g=null;for(m=0;m<d;m++)if(a.x=e+b*
  135. m,a.y=f+c*m,a.Ea(),!this.Qk(a,k)&&((k=this.zm(a))&&(g=k),!k&&!k))return g&&this.SM(a,b,c,g),!0;a.x=e;a.y=f;a.Ea();return!1};b.prototype.SM=function(a,b,c,d){var e=2,f,m=!1;f=!1;for(var k=a.x,g=a.y;16>=e;)f=1/e,e*=2,a.x+=b*f*(m?1:-1),a.y+=c*f*(m?1:-1),a.Ea(),this.Qk(a,d)?f=m=!0:(f=m=!1,k=a.x,g=a.y);f&&(a.x=k,a.y=g,a.Ea())};b.prototype.VM=function(a){var b=0,c=a.x,d=a.y,e=0,f=0,m=0,k=this.zm(a);if(k){for(;100>=b;){switch(e){case 0:f=0;m=-1;b++;break;case 1:f=1;m=-1;break;case 2:f=1;m=0;break;case 3:m=
  136. f=1;break;case 4:f=0;m=1;break;case 5:f=-1;m=1;break;case 6:f=-1;m=0;break;case 7:m=f=-1}e=(e+1)%8;a.x=ua(c+f*b);a.y=ua(d+m*b);a.Ea();if(!this.Qk(a,k)&&(k=this.zm(a),!k))return}a.x=c;a.y=d;a.Ea()}};b.prototype.ND=function(a,b){a.Pi&&b.Pi&&this.Wt.push([a,b])};b.prototype.tJ=function(a,b){var c,d,e;c=0;for(d=this.Wt.length;c<d;c++)if(e=this.Wt[c],e[0]==a&&e[1]==b||e[0]==b&&e[1]==a)return!0;return!1};b.prototype.rJ=function(a,b,c){var d=a.x,e=a.y,f=ra(10,Sa(b,c,d,e)),m=Na(b,c,d,e),k=this.zm(a);if(!k)return Ja(m+
  137. ta);var g=k,h,l,p,s,n=u(5);for(h=1;36>h;h++)if(l=m-h*n,a.x=b+Math.cos(l)*f,a.y=c+Math.sin(l)*f,a.Ea(),!this.Qk(a,g)&&(g=this.zm(a),!g)){p=l;break}36===h&&(p=Ja(m+ta));g=k;for(h=1;36>h;h++)if(l=m+h*n,a.x=b+Math.cos(l)*f,a.y=c+Math.sin(l)*f,a.Ea(),!this.Qk(a,g)&&(g=this.zm(a),!g)){s=l;break}36===h&&(s=Ja(m+ta));a.x=d;a.y=e;a.Ea();if(s===p)return s;a=Oa(s,p)/2;a=Qa(s,p)?Ja(p+a+ta):Ja(s+a);p=Math.cos(m);m=Math.sin(m);s=Math.cos(a);a=Math.sin(a);b=p*s+m*a;return Na(0,0,p-2*b*s,m-2*b*a)};var O=-1;b.prototype.trigger=
  138. function(a,b,c){if(!this.lb)return!1;var d=this.lb.tl;if(!d)return!1;var e=!1,f,m,k;O++;var g=d.iw;m=0;for(k=g.length;m<k;++m)f=this.pE(a,b,g[m],c),e=e||f;f=this.pE(a,b,d,c);O--;return e||f};b.prototype.pE=function(a,b,c,d){var e=!1,f,m,k,g;if(b)for(k=this.Zy(a,b,b.type.name,c,d),e=e||k,g=b.type.Ac,f=0,m=g.length;f<m;++f)k=this.Zy(a,b,g[f].name,c,d),e=e||k;else k=this.Zy(a,b,"system",c,d),e=e||k;return e};b.prototype.Zy=function(a,b,c,d,e){var f,m=!1,k=!1,k="undefined"!==typeof e,g=(k?d.TB:d.qE)[c];
  139. if(!g)return m;var h=null;d=0;for(f=g.length;d<f;++d)if(g[d].method==a){h=g[d].gp;break}if(!h)return m;a=k?h[e]:h;if(!a)return null;d=0;for(f=a.length;d<f;d++)e=a[d][0],k=a[d][1],k=this.DK(b,c,e,k),m=m||k;return m};b.prototype.DK=function(a,b,c,d){var e,f,m=!1;this.$y++;var k=this.bd().$c;k&&this.oq(k.Mk);var g=1<this.$y;this.oq(c.Mk);g&&this.TM();var h=this.Qt(c);h.$c=c;a&&(e=this.types[b].wa(),e.Aa=!1,e.D.length=1,e.D[0]=a,this.types[b].hf());a=!0;if(c.parent){b=h.lE;for(e=c.parent;e;)b.push(e),
  140. e=e.parent;b.reverse();e=0;for(f=b.length;e<f;e++)if(!b[e].hN()){a=!1;break}}a&&(this.jn++,c.Cg?c.gN(d):c.Fd(),m=m||h.Ql);this.Lt();g&&this.MM();this.Gg(c.Mk);k&&this.Gg(k.Mk);this.rk&&0===this.lf&&0===O&&!this.Zw&&this.xe();this.$y--;return m};b.prototype.ln=function(){var a=this.bd();return a.$c.Nd[a.ud]};b.prototype.MK=function(){var a=this.bd();return a.$c.lg[a.gf]};b.prototype.TM=function(){this.kt++;this.kt>=this.Ex.length&&this.Ex.push([])};b.prototype.MM=function(){this.kt--};b.prototype.ZB=
  141. function(){return this.Ex[this.kt]};b.prototype.Qt=function(a){this.us++;this.us>=this.nw.length&&this.nw.push(new Rb);var b=this.bd();b.reset(a);return b};b.prototype.Lt=function(){this.us--};b.prototype.bd=function(){return this.nw[this.us]};b.prototype.yy=function(a){this.Qp++;this.Qp>=this.Gn.length&&this.Gn.push(aa({name:a,index:0,lc:!1}));var b=this.Ew();b.name=a;b.index=0;b.lc=!1;return b};b.prototype.wy=function(){this.Qp--};b.prototype.Ew=function(){return this.Gn[this.Qp]};b.prototype.$B=
  142. function(a,b){for(var c,d,e,f,m,k;b;){c=0;for(d=b.Kg.length;c<d;c++)if(k=b.Kg[c],k instanceof Sb&&mb(a,k.name))return k;b=b.parent}c=0;for(d=this.Wi.length;c<d;c++)for(m=this.Wi[c],e=0,f=m.lk.length;e<f;e++)if(k=m.lk[e],k instanceof Sb&&mb(a,k.name))return k;return null};b.prototype.bC=function(a){var b,c;b=0;for(c=this.fh.length;b<c;b++)if(this.fh[b].zb===a)return this.fh[b];return null};b.prototype.Ks=function(a){var b,c;b=0;for(c=this.qa.length;b<c;b++)if(this.qa[b].zb===a)return this.qa[b];return null};
  143. b.prototype.NK=function(a){var b,c;b=0;for(c=this.$j.length;b<c;b++)if(this.$j[b].zb===a)return this.$j[b];return null};b.prototype.lL=function(){var a=this,b=this.Ky,c=this.jj,d=this.ft,m=!1;this.cE&&(m=!0,b="__c2_continuouspreview",this.cE=!1);if(b.length){this.xe();c=this.mN();if(window.indexedDB&&!this.Ef)e(b,c,function(){fa("Saved state to IndexedDB storage ("+c.length+" bytes)");a.jj=c;a.trigger(x.prototype.C.kr,null);a.jj="";m&&g()},function(d){try{localStorage.setItem("__c2save_"+b,c),fa("Saved state to WebStorage ("+
  144. c.length+" bytes)"),a.jj=c,a.trigger(x.prototype.C.kr,null),a.jj="",m&&g()}catch(e){fa("Failed to save game state: "+d+"; "+e)}});else try{localStorage.setItem("__c2save_"+b,c),fa("Saved state to WebStorage ("+c.length+" bytes)"),a.jj=c,this.trigger(x.prototype.C.kr,null),a.jj="",m&&g()}catch(k){fa("Error saving to WebStorage: "+k)}this.Ze=this.ft=this.Ky=""}d.length&&(window.indexedDB&&!this.Ef?f(d,function(b){b?(a.Ze=b,fa("Loaded state from IndexedDB storage ("+a.Ze.length+" bytes)")):(a.Ze=localStorage.getItem("__c2save_"+
  145. d)||"",fa("Loaded state from WebStorage ("+a.Ze.length+" bytes)"));a.Bq=!1;a.Ze.length||a.trigger(x.prototype.C.gv,null)},function(){a.Ze=localStorage.getItem("__c2save_"+d)||"";fa("Loaded state from WebStorage ("+a.Ze.length+" bytes)");a.Bq=!1;a.Ze.length||a.trigger(x.prototype.C.gv,null)}):(this.Ze=localStorage.getItem("__c2save_"+d)||"",fa("Loaded state from WebStorage ("+this.Ze.length+" bytes)"),this.Bq=!1,a.Ze.length||a.trigger(x.prototype.C.gv,null)),this.Ky=this.ft="");this.Ze.length&&(this.xe(),
  146. this.QL(this.Ze),this.jj=this.Ze,this.trigger(x.prototype.C.GG,null),this.Ze=this.jj="")};b.prototype.mN=function(){var a,b,c,d,e,f,m,k={c2save:!0,version:1,rt:{time:this.nf.mb,walltime:this.Ai.mb,timescale:this.vh,tickcount:this.uh,execcount:this.jn,next_uid:this.bq,running_layout:this.lb.zb,start_time_offset:Date.now()-this.mu},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};a=0;for(b=this.qa.length;a<b;a++)if(e=this.qa[a],!e.Ga&&!this.uE(e)){f={instances:[]};Wa(e.ra)&&(f.ex=h(e.ra));
  147. c=0;for(d=e.D.length;c<d;c++)f.instances.push(this.Jy(e.D[c]));k.types[e.zb.toString()]=f}a=0;for(b=this.fh.length;a<b;a++)c=this.fh[a],k.layouts[c.zb.toString()]=c.kc();d=k.events.groups;a=0;for(b=this.$j.length;a<b;a++)c=this.$j[a],d[c.zb.toString()]=this.nn[c.up].qk;b=k.events.cnds;for(m in this.bn)this.bn.hasOwnProperty(m)&&(a=this.bn[m],Wa(a.ra)&&(b[m]={ex:h(a.ra)}));b=k.events.acts;for(m in this.Vm)this.Vm.hasOwnProperty(m)&&(a=this.Vm[m],Wa(a.ra)&&(b[m]={ex:a.ra}));b=k.events.vars;for(m in this.qo)this.qo.hasOwnProperty(m)&&
  148. (a=this.qo[m],a.Ws||a.parent&&!a.Fp||(b[m]=a.data));k.system=this.ti.kc();return JSON.stringify(k)};b.prototype.MD=function(){var a,b,c,d,e,f;this.Fk={};a=0;for(b=this.qa.length;a<b;a++)if(c=this.qa[a],!c.Ga)for(d=0,e=c.D.length;d<e;d++)f=c.D[d],this.Fk[f.uid.toString()]=f};b.prototype.QL=function(a){a=JSON.parse(a);if(a.c2save&&!(1<a.version)){var b=a.rt;this.nf.reset();this.nf.mb=b.time;this.Ai.reset();this.Ai.mb=b.walltime||0;this.vh=b.timescale;this.uh=b.tickcount;this.mu=Date.now()-b.start_time_offset;
  149. var c=b.running_layout;if(c!==this.lb.zb)if(c=this.bC(c))this.NB(c);else return;var d,e,f,m,k,g,h;g=a.types;for(e in g)if(g.hasOwnProperty(e)&&(m=this.Ks(parseInt(e,10)))&&!m.Ga&&!this.uE(m)){g[e].ex?m.ra=g[e].ex:Xa(m.ra);k=m.D;f=g[e].instances;c=0;for(d=sa(k.length,f.length);c<d;c++)this.gt(k[c],f[c]);c=f.length;for(d=k.length;c<d;c++)this.Ch(k[c]);c=k.length;for(d=f.length;c<d;c++){k=null;if(m.Da.Wh&&(k=this.lb.Js(f[c].w.l),!k))continue;k=this.jk(m.rg,k,!1,0,0,!0);this.gt(k,f[c])}m.io=!0}this.xe();
  150. this.MD();d=a.layouts;for(e in d)d.hasOwnProperty(e)&&(c=this.bC(parseInt(e,10)))&&c.Bc(d[e]);d=a.events.groups;for(e in d)d.hasOwnProperty(e)&&(c=this.NK(parseInt(e,10)))&&this.nn[c.up]&&(this.nn[c.up].qk=d[e]);c=a.events.cnds;for(e in c)c.hasOwnProperty(e)&&this.bn.hasOwnProperty(e)&&(this.bn[e].ra=c[e].ex);c=a.events.acts;for(e in c)c.hasOwnProperty(e)&&this.Vm.hasOwnProperty(e)&&(this.Vm[e].ra=c[e].ex);c=a.events.vars;for(e in c)c.hasOwnProperty(e)&&this.qo.hasOwnProperty(e)&&(this.qo[e].data=
  151. c[e]);this.bq=b.next_uid;this.ti.Bc(a.system);c=0;for(d=this.qa.length;c<d;c++)if(m=this.qa[c],!m.Ga)for(e=0,a=m.D.length;e<a;e++){k=m.D[e];if(m.be)for(g=k.tp(),b=k.siblings.length=0,f=m.Af.length;b<f;b++)h=m.Af[b],m!==h&&k.siblings.push(h.D[g]);k.mg&&k.mg();if(k.eb)for(b=0,f=k.eb.length;b<f;b++)g=k.eb[b],g.mg&&g.mg()}this.Wa=!0}};b.prototype.Jy=function(a,b){var c,d,e,f,m;f=a.type;e=f.Da;var k={};b?k.c2=!0:k.uid=a.uid;Wa(a.ra)&&(k.ex=h(a.ra));if(a.ed&&a.ed.length)for(k.ivs={},c=0,d=a.ed.length;c<
  152. d;c++)k.ivs[a.type.Uw[c].toString()]=a.ed[c];if(e.Wh){e={x:a.x,y:a.y,w:a.width,h:a.height,l:a.W.zb,zi:a.Sh()};0!==a.K&&(e.a=a.K);1!==a.opacity&&(e.o=a.opacity);.5!==a.Ue&&(e.hX=a.Ue);.5!==a.Ve&&(e.hY=a.Ve);0!==a.jf&&(e.bm=a.jf);a.visible||(e.v=a.visible);a.Pi||(e.ce=a.Pi);-1!==a.Un&&(e.mts=a.Un);if(f.ab.length)for(e.fx=[],c=0,d=f.ab.length;c<d;c++)m=f.ab[c],e.fx.push({name:m.name,active:a.Zj[m.index],params:a.Pc[m.index]});k.w=e}if(a.eb&&a.eb.length)for(k.behs={},c=0,d=a.eb.length;c<d;c++)f=a.eb[c],
  153. f.kc&&(k.behs[f.type.zb.toString()]=f.kc());a.kc&&(k.data=a.kc());return k};b.prototype.PK=function(a,b){var c,d;c=0;for(d=a.Uw.length;c<d;c++)if(a.Uw[c]===b)return c;return-1};b.prototype.LK=function(a,b){var c,d;c=0;for(d=a.eb.length;c<d;c++)if(a.eb[c].type.zb===b)return c;return-1};b.prototype.gt=function(a,b,c){var d,e,f,m,k;k=a.type;f=k.Da;if(c){if(!b.c2)return}else a.uid=b.uid;b.ex?a.ra=b.ex:Xa(a.ra);if(e=b.ivs)for(d in e)e.hasOwnProperty(d)&&(c=this.PK(k,parseInt(d,10)),0>c||c>=a.ed.length||
  154. (a.ed[c]=e[d]));if(f.Wh){f=b.w;a.W.zb!==f.l&&(c=a.W,a.W=this.lb.Js(f.l),a.W?(c.co(a,!0),a.W.cp(a,!0),a.Ea(),a.W.vq(0)):(a.W=c,this.Ch(a)));a.x=f.x;a.y=f.y;a.width=f.w;a.height=f.h;a.zh=f.zi;a.K=f.hasOwnProperty("a")?f.a:0;a.opacity=f.hasOwnProperty("o")?f.o:1;a.Ue=f.hasOwnProperty("hX")?f.hX:.5;a.Ve=f.hasOwnProperty("hY")?f.hY:.5;a.visible=f.hasOwnProperty("v")?f.v:!0;a.Pi=f.hasOwnProperty("ce")?f.ce:!0;a.Un=f.hasOwnProperty("mts")?f.mts:-1;a.jf=f.hasOwnProperty("bm")?f.bm:0;a.ep=jb(a.jf);this.na&&
  155. kb(a,a.jf,this.na);a.Ea();if(f.hasOwnProperty("fx"))for(c=0,e=f.fx.length;c<e;c++)m=k.Gw(f.fx[c].name),0>m||(a.Zj[m]=f.fx[c].active,a.Pc[m]=f.fx[c].params);a.Kj()}if(k=b.behs)for(d in k)k.hasOwnProperty(d)&&(f=this.LK(a,parseInt(d,10)),0>f||a.eb[f].Bc(k[d]));b.data&&a.Bc(b.data)};Tb=function(a){return new b(document.getElementById(a))};Ub=function(a,c){return new b({dc:!0,width:a,height:c})};window.cr_createRuntime=Tb;window.cr_createDCRuntime=Ub;window.createCocoonJSRuntime=function(){window.c2cocoonjs=
  156. !0;var a=document.createElement("screencanvas")||document.createElement("canvas");a.vP=!0;document.body.appendChild(a);a=new b(a);window.c2runtime=a;window.addEventListener("orientationchange",function(){window.c2runtime.setSize(window.innerWidth,window.innerHeight)});window.c2runtime.setSize(window.innerWidth,window.innerHeight);return a};window.createEjectaRuntime=function(){var a=new b(document.getElementById("canvas"));window.c2runtime=a;window.c2runtime.setSize(window.innerWidth,window.innerHeight);
  157. return a}})();window.cr_getC2Runtime=function(){var a=document.getElementById("c2canvas");return a?a.c2runtime:window.c2runtime?window.c2runtime:null};window.cr_sizeCanvas=function(a,c){if(0!==a&&0!==c){var b=window.cr_getC2Runtime();b&&b.setSize(a,c)}};window.cr_setSuspended=function(a){var c=window.cr_getC2Runtime();c&&c.setSuspended(a)};
  158. (function(){function a(a,b){this.c=a;this.tl=null;this.scrollX=this.c.Dd/2;this.scrollY=this.c.Cd/2;this.scale=1;this.K=0;this.lp=!0;this.name=b[0];this.width=b[1];this.height=b[2];this.vE=b[3];this.aE=b[4];this.zb=b[5];var c=b[6],d,e;this.Oa=[];this.xp=[];d=0;for(e=c.length;d<e;d++){var f=new Vb(this,c[d]);f.kD=d;this.Oa.push(f)}c=b[7];this.Fl=[];d=0;for(e=c.length;d<e;d++){var f=c[d],g=this.c.qa[f[1]];g.rg||(g.rg=f);this.Fl.push(f);-1===this.xp.indexOf(g)&&this.xp.push(g)}this.ab=[];this.Kb=[];
  159. this.Pc=[];d=0;for(e=b[8].length;d<e;d++)this.ab.push({id:b[8][d][0],name:b[8][d][1],ue:-1,ea:!0,index:d}),this.Pc.push(b[8][d][2].slice(0));this.Kj();this.pq=new ya(0,0,1,1);this.Ay=new ya(0,0,1,1);this.Gk={}}function c(a,b){return a.zh-b.zh}function b(a,b){this.cc=a;this.c=a.c;this.D=[];this.scale=1;this.K=0;this.pl=!1;this.Ij=new ya(0,0,0,0);this.oE=new za;this.nd=this.Lc=this.od=this.Kc=0;this.Mj=!1;this.Nj=-1;this.name=b[0];this.index=b[1];this.zb=b[2];this.visible=b[3];this.ak=b[4];this.Jj=
  160. b[5];this.Dg=b[6];this.Eg=b[7];this.opacity=b[8];this.yw=b[9];this.wh=b[10];this.Ah=b[11];this.jf=b[12];this.bK=b[13];this.ep="source-over";this.De=this.Ke=0;this.Jf=null;this.Cn=d();this.Cj=!0;this.bt=new ya(0,0,-1,-1);this.qg=new ya(0,0,-1,-1);this.wh&&(this.Jf=new ib(this.c.Dd,this.c.Cd));this.Hk=!1;var c=b[14],e,f;this.qn=[];e=0;for(f=c.length;e<f;e++){var g=c[e],h=this.c.qa[g[1]];h.rg||(h.rg=g,h.AJ=this.index);this.qn.push(g);-1===this.cc.xp.indexOf(h)&&this.cc.xp.push(h)}this.ab=[];this.Kb=
  161. [];this.Pc=[];e=0;for(f=b[15].length;e<f;e++)this.ab.push({id:b[15][e][0],name:b[15][e][1],ue:-1,ea:!0,index:e}),this.Pc.push(b[15][e][2].slice(0));this.Kj();this.pq=new ya(0,0,1,1);this.Ay=new ya(0,0,1,1)}function d(){return h.length?h.pop():[]}function e(a){a.length=0;h.push(a)}a.prototype.lN=function(a){var b=a.type.zb.toString();this.Gk.hasOwnProperty(b)||(this.Gk[b]=[]);this.Gk[b].push(this.c.Jy(a))};a.prototype.jC=function(){var a=this.Oa[0];return!a.Jj&&1===a.opacity&&!a.yw&&a.visible};a.prototype.Kj=
  162. function(){this.Kb.length=0;var a,b,c;a=0;for(b=this.ab.length;a<b;a++)c=this.ab[a],c.ea&&this.Kb.push(c)};a.prototype.Fw=function(a){var b,c,d;b=0;for(c=this.ab.length;b<c;b++)if(d=this.ab[b],d.name===a)return d;return null};var f=[],g=!0;a.prototype.Ty=function(){this.aE&&(this.tl=this.c.ow[this.aE],this.tl.dz());this.c.lb=this;this.scrollX=this.c.Dd/2;this.scrollY=this.c.Cd/2;var a,b,d,e,h,l,n;a=0;for(d=this.c.qa.length;a<d;a++)if(b=this.c.qa[a],!b.Ga)for(h=b.D,b=0,e=h.length;b<e;b++)if(l=h[b],
  163. l.W){var s=l.W.kD;s>=this.Oa.length&&(s=this.Oa.length-1);l.W=this.Oa[s];-1===l.W.D.indexOf(l)&&l.W.D.push(l);l.W.Mj=!0}if(!g)for(a=0,d=this.Oa.length;a<d;++a)this.Oa[a].D.sort(c);f.length=0;this.pJ();a=0;for(d=this.Oa.length;a<d;a++)l=this.Oa[a],l.yJ(),l.gz();h=!1;if(!this.lp){for(n in this.Gk)if(this.Gk.hasOwnProperty(n)&&(b=this.c.Ks(parseInt(n,10)))&&!b.Ga&&this.c.az(b)){e=this.Gk[n];a=0;for(d=e.length;a<d;a++){l=null;if(b.Da.Wh&&(l=this.Js(e[a].w.l),!l))continue;l=this.c.jk(b.rg,l,!1,0,0,!0);
  164. this.c.gt(l,e[a]);h=!0;f.push(l)}e.length=0}a=0;for(d=this.Oa.length;a<d;a++)this.Oa[a].D.sort(c),this.Oa[a].Mj=!0}h&&(this.c.xe(),this.c.MD());for(a=0;a<f.length;a++)if(l=f[a],l.type.be)for(d=l.tp(),b=0,e=l.type.Af.length;b<e;b++)n=l.type.Af[b],l.type!==n&&(n.D.length>d?l.siblings.push(n.D[d]):n.rg&&(h=this.c.jk(n.rg,l.W,!0,l.x,l.y,!0),this.c.xe(),n.Fu(),l.siblings.push(h),f.push(h)));a=0;for(d=this.Fl.length;a<d;a++)this.c.jk(this.Fl[a],null,!0);this.c.Oi=null;this.c.xe();if(this.c.Ub&&!this.c.ac)for(a=
  165. 0,d=this.c.qa.length;a<d;a++)n=this.c.qa[a],!n.Ga&&n.D.length&&n.Ot&&n.Ot(this.c.Ub);a=0;for(d=f.length;a<d;a++)l=f[a],this.c.trigger(Object.getPrototypeOf(l.type.Da).C.Tj,l);f.length=0;this.c.trigger(x.prototype.C.hA,null);this.lp=!1};a.prototype.xJ=function(){var a,b,c,d,e;b=a=0;for(c=this.Fl.length;a<c;a++)d=this.Fl[a],e=this.c.qa[d[1]],e.global?this.c.jk(d,null,!0):(this.Fl[b]=d,b++);this.Fl.length=b};a.prototype.xN=function(){this.c.trigger(x.prototype.C.FG,null);this.c.ti.tf.length=0;var a,
  166. b,c,d,e,f;a=0;for(b=this.Oa.length;a<b;a++)for(this.Oa[a].hz(),e=this.Oa[a].D,c=0,d=e.length;c<d;c++)f=e[c],f.type.global||this.c.az(f.type)&&this.lN(f);a=0;for(b=this.Oa.length;a<b;a++){e=this.Oa[a].D;c=0;for(d=e.length;c<d;c++)f=e[c],f.type.global||this.c.Ch(f);this.c.xe();e.length=0;this.Oa[a].Mj=!0}a=0;for(b=this.c.qa.length;a<b;a++)if(e=this.c.qa[a],!(e.global||e.Da.Wh||e.Da.ju||e.Ga)){c=0;for(d=e.D.length;c<d;c++)this.c.Ch(e.D[c]);this.c.xe()}g=!1};a.prototype.Mh=function(a){var b,c=a,d=!1,
  167. e=!this.c.ug;e&&(this.c.et||(this.c.et=document.createElement("canvas"),b=this.c.et,b.width=this.c.sb,b.height=this.c.rb,this.c.DC=b.getContext("2d"),d=!0),b=this.c.et,c=this.c.DC,b.width!==this.c.sb&&(b.width=this.c.sb,d=!0),b.height!==this.c.rb&&(b.height=this.c.rb,d=!0),d&&(c.webkitImageSmoothingEnabled=this.c.yb,c.mozImageSmoothingEnabled=this.c.yb,c.msImageSmoothingEnabled=this.c.yb,c.imageSmoothingEnabled=this.c.yb));c.globalAlpha=1;c.globalCompositeOperation="source-over";this.c.Sv&&!this.jC()&&
  168. c.clearRect(0,0,this.c.sb,this.c.rb);var f,g,d=0;for(f=this.Oa.length;d<f;d++)g=this.Oa[d],g.visible&&0<g.opacity&&11!==g.jf&&(g.D.length||!g.Jj)?g.Mh(c):g.gz();e&&a.drawImage(b,0,0,this.c.width,this.c.height)};a.prototype.tg=function(a){var b=0<this.Kb.length||this.c.oo||!this.c.ug;if(b){this.c.Ff||(this.c.Ff=a.ik(this.c.sb,this.c.rb,this.c.yb));if(this.c.Ff.Zm!==this.c.sb||this.c.Ff.Ym!==this.c.rb)a.deleteTexture(this.c.Ff),this.c.Ff=a.ik(this.c.sb,this.c.rb,this.c.yb);a.qi(this.c.Ff);this.c.ug||
  169. a.Lk(this.c.sb,this.c.rb)}else this.c.Ff&&(a.qi(null),a.deleteTexture(this.c.Ff),this.c.Ff=null);this.c.Sv&&!this.jC()&&a.clear(0,0,0,0);var c,d,e;c=0;for(d=this.Oa.length;c<d;c++)e=this.Oa[c],e.visible&&0<e.opacity&&(e.D.length||!e.Jj)?e.tg(a):e.gz();b&&(0===this.Kb.length||1===this.Kb.length&&this.c.ug?(1===this.Kb.length?(b=this.Kb[0].index,a.si(this.Kb[0].ue),a.fo(null,1/this.c.sb,1/this.c.rb,0,0,1,1,this.scale,this.K,0,0,this.c.sb/2,this.c.rb/2,this.Pc[b]),a.Pt(this.Kb[0].ue)&&(this.c.Wa=!0)):
  170. a.si(0),this.c.ug||a.Lk(this.c.width,this.c.height),a.qi(null),a.wm(1),a.Kf(this.c.Ff),a.VD(),a.Ik(),a.Uk(),b=this.c.width/2,c=this.c.height/2,a.Rt(-b,c,b,c,b,-c,-b,-c),a.Kf(null)):this.Ey(a,null,null,null))};a.prototype.sp=function(){return 0<this.Kb.length||this.c.oo||!this.c.ug?this.c.Ff:null};a.prototype.cC=function(){var a=this.Oa[0].bh(),b,c,d;b=1;for(c=this.Oa.length;b<c;b++)d=this.Oa[b],(0!==d.Dg||0!==d.Eg)&&d.bh()<a&&(a=d.bh());return a};a.prototype.sq=function(a){if(!this.vE){var b=1/this.cC()*
  171. this.c.sb/2;a>this.width-b&&(a=this.width-b);a<b&&(a=b)}this.scrollX!==a&&(this.scrollX=a,this.c.Wa=!0)};a.prototype.tq=function(a){if(!this.vE){var b=1/this.cC()*this.c.rb/2;a>this.height-b&&(a=this.height-b);a<b&&(a=b)}this.scrollY!==a&&(this.scrollY=a,this.c.Wa=!0)};a.prototype.pJ=function(){this.sq(this.scrollX);this.tq(this.scrollY)};a.prototype.Ey=function(a,b,c,d){var e=c?c.Kb:b?b.Kb:this.Kb,f=1,g=0,h=0,l=0,n=this.c.sb,z=this.c.rb;c?(f=c.W.bh(),g=c.W.$d(),h=c.W.Kc,l=c.W.Lc,n=c.W.od,z=c.W.nd):
  172. b&&(f=b.bh(),g=b.$d(),h=b.Kc,l=b.Lc,n=b.od,z=b.nd);var B=this.c.Aw,M,F,E,y,K=0,T=1,Y,I=this.c.sb,R=this.c.rb,ha=I/2,ga=R/2,N=b?b.pq:this.pq,D=b?b.Ay:this.Ay,G=0,H=0,Q=0,ba=0,U=I,X=I,Z=R,Ka=R,xa=E=0,gb=c?c.W.$d():0;if(c){M=0;for(F=e.length;M<F;M++)E+=a.TK(e[M].ue),xa+=a.UK(e[M].ue);y=c.Yc;G=b.Xe(y.left,y.top,!0,!0);Q=b.Xe(y.left,y.top,!1,!0);U=b.Xe(y.right,y.bottom,!0,!0);Z=b.Xe(y.right,y.bottom,!1,!0);0!==gb&&(M=b.Xe(y.right,y.top,!0,!0),F=b.Xe(y.right,y.top,!1,!0),H=b.Xe(y.left,y.bottom,!0,!0),ba=
  173. b.Xe(y.left,y.bottom,!1,!0),y=Math.min(G,U,M,H),U=Math.max(G,U,M,H),G=y,y=Math.min(Q,Z,F,ba),Z=Math.max(Q,Z,F,ba),Q=y);G-=E;Q-=xa;U+=E;Z+=xa;D.left=G/I;D.top=1-Q/R;D.right=U/I;D.bottom=1-Z/R;H=G=ua(G);ba=Q=ua(Q);X=U=va(U);Ka=Z=va(Z);H-=E;ba-=xa;X+=E;Ka+=xa;0>G&&(G=0);0>Q&&(Q=0);U>I&&(U=I);Z>R&&(Z=R);0>H&&(H=0);0>ba&&(ba=0);X>I&&(X=I);Ka>R&&(Ka=R);N.left=G/I;N.top=1-Q/R;N.right=U/I;N.bottom=1-Z/R}else N.left=D.left=0,N.top=D.top=0,N.right=D.right=1,N.bottom=D.bottom=1;xa=c&&((c.K||gb)&&a.nq(e[0].ue)||
  174. 0!==E||0!==xa||1!==c.opacity||c.type.Da.hD)||b&&!c&&1!==b.opacity;a.VD();if(xa){B[K]||(B[K]=a.ik(I,R,this.c.yb));if(B[K].Zm!==I||B[K].Ym!==R)a.deleteTexture(B[K]),B[K]=a.ik(I,R,this.c.yb);a.si(0);a.qi(B[K]);Y=Ka-ba;a.clearRect(H,R-ba-Y,X-H,Y);c?c.tg(a):(a.Kf(this.c.Uf),a.wm(b.opacity),a.Ik(),a.translate(-ha,-ga),a.Uk(),a.li(G,Z,U,Z,U,Q,G,Q,N));D.left=D.top=0;D.right=D.bottom=1;c&&(y=N.top,N.top=N.bottom,N.bottom=y);K=1;T=0}a.wm(1);E=e.length-1;var gb=a.xy(e[E].ue)||!b&&!c&&!this.c.ug,hb=0;M=0;for(F=
  175. e.length;M<F;M++){B[K]||(B[K]=a.ik(I,R,this.c.yb));if(B[K].Zm!==I||B[K].Ym!==R)a.deleteTexture(B[K]),B[K]=a.ik(I,R,this.c.yb);a.si(e[M].ue);hb=e[M].index;a.Pt(e[M].ue)&&(this.c.Wa=!0);0!=M||xa?(a.fo(d,1/I,1/R,D.left,D.top,D.right,D.bottom,f,g,h,l,(h+n)/2,(l+z)/2,c?c.Pc[hb]:b?b.Pc[hb]:this.Pc[hb]),a.Kf(null),M!==E||gb?(a.qi(B[K]),Y=Ka-ba,y=R-ba-Y,a.clearRect(H,y,X-H,Y)):(c?a.Kk(c.Ke,c.De):b&&a.Kk(b.Ke,b.De),a.qi(d)),a.Kf(B[T]),a.Ik(),a.translate(-ha,-ga),a.Uk(),a.li(G,Z,U,Z,U,Q,G,Q,N),M!==E||gb||a.Kf(null)):
  176. (a.qi(B[K]),Y=Ka-ba,y=R-ba-Y,a.clearRect(H,y,X-H,Y),c?(a.fo(d,1/c.width,1/c.height,D.left,D.top,D.right,D.bottom,f,g,h,l,(h+n)/2,(l+z)/2,c.Pc[hb]),c.tg(a)):(a.fo(d,1/I,1/R,0,0,1,1,f,g,h,l,(h+n)/2,(l+z)/2,b?b.Pc[hb]:this.Pc[hb]),a.Kf(b?this.c.Uf:this.c.Ff),a.Ik(),a.translate(-ha,-ga),a.Uk(),a.li(G,Z,U,Z,U,Q,G,Q,N)),D.left=D.top=0,D.right=D.bottom=1,c&&!gb&&(y=Z,Z=Q,Q=y));K=0===K?1:0;T=0===K?1:0}gb&&(a.si(0),c?a.Kk(c.Ke,c.De):b?a.Kk(b.Ke,b.De):this.c.ug||(a.Lk(this.c.width,this.c.height),ha=this.c.width/
  177. 2,ga=this.c.height/2,Q=G=0,U=this.c.width,Z=this.c.height),a.qi(d),a.Kf(B[T]),a.Ik(),a.translate(-ha,-ga),a.Uk(),c&&1===e.length&&!xa?a.li(G,Q,U,Q,U,Z,G,Z,N):a.li(G,Z,U,Z,U,Q,G,Q,N),a.Kf(null))};a.prototype.Js=function(a){var b,c;b=0;for(c=this.Oa.length;b<c;b++)if(this.Oa[b].zb===a)return this.Oa[b];return null};a.prototype.kc=function(){var a,b,c,d={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.K,w:this.width,h:this.height,fv:this.lp,persist:this.Gk,fx:[],layers:{}};a=0;for(b=this.ab.length;a<
  178. b;a++)c=this.ab[a],d.fx.push({name:c.name,active:c.ea,params:this.Pc[c.index]});a=0;for(b=this.Oa.length;a<b;a++)c=this.Oa[a],d.layers[c.zb.toString()]=c.kc();return d};a.prototype.Bc=function(a){var b,c,d,e;this.scrollX=a.sx;this.scrollY=a.sy;this.scale=a.s;this.K=a.a;this.width=a.w;this.height=a.h;this.Gk=a.persist;"undefined"!==typeof a.fv&&(this.lp=a.fv);var f=a.fx;b=0;for(c=f.length;b<c;b++)if(d=this.Fw(f[b].name))d.ea=f[b].active,this.Pc[d.index]=f[b].params;this.Kj();b=a.layers;for(e in b)b.hasOwnProperty(e)&&
  179. (a=this.Js(parseInt(e,10)))&&a.Bc(b[e])};Hb=a;b.prototype.Kj=function(){this.Kb.length=0;var a,b,c;a=0;for(b=this.ab.length;a<b;a++)c=this.ab[a],c.ea&&this.Kb.push(c)};b.prototype.Fw=function(a){var b,c,d;b=0;for(c=this.ab.length;b<c;b++)if(d=this.ab[b],d.name===a)return d;return null};b.prototype.yJ=function(){var a,b,c,d,e,g;b=a=0;for(c=this.qn.length;a<c;a++){d=this.qn[a];e=this.c.qa[d[1]];g=this.c.az(e);e=!0;if(!g||this.cc.lp)d=this.c.jk(d,this,!0),f.push(d),d.type.global&&(e=!1);e&&(this.qn[b]=
  180. this.qn[a],b++)}this.qn.length=b;this.c.xe();!this.c.ha&&this.ab.length&&(this.jf=this.bK);this.ep=jb(this.jf);this.c.na&&kb(this,this.jf,this.c.na);this.Cj=!0};b.prototype.co=function(a,b){var c=Ea(this.D,a);0>c||(b&&this.wh&&a.rf&&a.rf.right>=a.rf.left&&(a.Jb(),this.Jf.update(a,a.rf,null),a.rf.set(0,0,-1,-1)),c===this.D.length-1?this.D.pop():(Ba(this.D,c),this.vq(c)),this.Cj=!0)};b.prototype.cp=function(a,b){a.zh=this.D.length;this.D.push(a);b&&this.wh&&a.rf&&a.Ea();this.Cj=!0};b.prototype.PM=function(a){this.D.unshift(a);
  181. this.vq(0)};b.prototype.wM=function(a,b,c){var d=a.Sh();b=b.Sh();Ba(this.D,d);d<b&&b--;c&&b++;b===this.D.length?this.D.push(a):this.D.splice(b,0,a);this.vq(d<b?d:b)};b.prototype.vq=function(a){-1===this.Nj?this.Nj=a:a<this.Nj&&(this.Nj=a);this.Cj=this.Mj=!0};b.prototype.hz=function(){if(this.Mj){-1===this.Nj&&(this.Nj=0);var a,b,c;if(this.wh)for(a=this.Nj,b=this.D.length;a<b;++a)c=this.D[a],c.zh=a,this.Jf.oM(c.rf);else for(a=this.Nj,b=this.D.length;a<b;++a)this.D[a].zh=a;this.Mj=!1;this.Nj=-1}};b.prototype.bh=
  182. function(a){return this.QK()*(this.c.ug||a?this.c.dp:1)};b.prototype.QK=function(){return(this.scale*this.cc.scale-1)*this.Ah+1};b.prototype.$d=function(){return this.pl?0:Ja(this.cc.K+this.K)};var h=[],l=[],n=[];b.prototype.dC=function(){this.hz();this.Jf.St(this.Kc,this.Lc,this.od,this.nd,n);if(!n.length)return d();if(1===n.length){var a=d();Ca(a,n[0]);n.length=0;return a}for(var b=!0;1<n.length;){for(var a=n,c=void 0,f=void 0,g=void 0,h=void 0,w=void 0,c=0,f=a.length;c<f-1;c+=2){var g=a[c],h=a[c+
  183. 1],w=d(),s=g,O=h,L=w,z=0,B=0,M=0,F=s.length,E=O.length,y=void 0,K=void 0;for(L.length=F+E;z<F&&B<E;++M)y=s[z],K=O[B],y.zh<K.zh?(L[M]=y,++z):(L[M]=K,++B);for(;z<F;++z,++M)L[M]=s[z];for(;B<E;++B,++M)L[M]=O[B];b||(e(g),e(h));l.push(w)}1===f%2&&(b?(g=d(),Ca(g,a[f-1]),l.push(g)):l.push(a[f-1]));Ca(a,l);l.length=0;b=!1}a=n[0];n.length=0;return a};b.prototype.Mh=function(a){this.Hk=this.yw||1!==this.opacity||0!==this.jf;var b=this.c.canvas,c=a,d=!1;this.Hk&&(this.c.dt||(this.c.dt=document.createElement("canvas"),
  184. b=this.c.dt,b.width=this.c.sb,b.height=this.c.rb,this.c.CC=b.getContext("2d"),d=!0),b=this.c.dt,c=this.c.CC,b.width!==this.c.sb&&(b.width=this.c.sb,d=!0),b.height!==this.c.rb&&(b.height=this.c.rb,d=!0),d&&(c.webkitImageSmoothingEnabled=this.c.yb,c.mozImageSmoothingEnabled=this.c.yb,c.msImageSmoothingEnabled=this.c.yb,c.imageSmoothingEnabled=this.c.yb),this.Jj&&c.clearRect(0,0,this.c.sb,this.c.rb));c.globalAlpha=1;c.globalCompositeOperation="source-over";this.Jj||(c.fillStyle="rgb("+this.ak[0]+","+
  185. this.ak[1]+","+this.ak[2]+")",c.fillRect(0,0,this.c.sb,this.c.rb));c.save();this.pl=!0;var d=this.Se(0,0,!0,!0),f=this.Se(0,0,!1,!0);this.pl=!1;this.c.ji&&(d=Math.round(d),f=Math.round(f));this.Gy(d,f,c);var g=this.bh();c.scale(g,g);c.translate(-d,-f);this.wh?(this.qg.left=this.Jf.Of(this.Kc),this.qg.top=this.Jf.Pf(this.Lc),this.qg.right=this.Jf.Of(this.od),this.qg.bottom=this.Jf.Pf(this.nd),this.Cj||!this.qg.ts(this.bt)?(e(this.Cn),d=this.dC(),this.Cj=!1,this.bt.cs(this.qg)):d=this.Cn):d=this.D;
  186. for(var h,l=null,f=0,g=d.length;f<g;++f)h=d[f],h!==l&&(this.RJ(h,c),l=h);this.wh&&(this.Cn=d);c.restore();this.Hk&&(a.globalCompositeOperation=this.ep,a.globalAlpha=this.opacity,a.drawImage(b,0,0))};b.prototype.RJ=function(a,b){if(a.visible&&0!==a.width&&0!==a.height){a.Jb();var c=a.Yc;c.right<this.Kc||c.bottom<this.Lc||c.left>this.od||c.top>this.nd||(b.globalCompositeOperation=a.ep,a.Mh(b))}};b.prototype.gz=function(){this.pl=!0;var a=this.Se(0,0,!0,!0),b=this.Se(0,0,!1,!0);this.pl=!1;this.c.ji&&
  187. (a=Math.round(a),b=Math.round(b));this.Gy(a,b,null)};b.prototype.Gy=function(a,b,c){var d=this.bh();this.Kc=a;this.Lc=b;this.od=a+1/d*this.c.sb;this.nd=b+1/d*this.c.rb;a=this.$d();0!==a&&(c&&(c.translate(this.c.sb/2,this.c.rb/2),c.rotate(-a),c.translate(this.c.sb/-2,this.c.rb/-2)),this.Ij.set(this.Kc,this.Lc,this.od,this.nd),this.Ij.offset((this.Kc+this.od)/-2,(this.Lc+this.nd)/-2),this.oE.ZD(this.Ij,a),this.oE.uB(this.Ij),this.Ij.offset((this.Kc+this.od)/2,(this.Lc+this.nd)/2),this.Kc=this.Ij.left,
  188. this.Lc=this.Ij.top,this.od=this.Ij.right,this.nd=this.Ij.bottom)};b.prototype.tg=function(a){var b=0,c=0;if(this.Hk=this.yw||1!==this.opacity||0<this.Kb.length||0!==this.jf){this.c.Uf||(this.c.Uf=a.ik(this.c.sb,this.c.rb,this.c.yb));if(this.c.Uf.Zm!==this.c.sb||this.c.Uf.Ym!==this.c.rb)a.deleteTexture(this.c.Uf),this.c.Uf=a.ik(this.c.sb,this.c.rb,this.c.yb);a.qi(this.c.Uf);this.Jj&&a.clear(0,0,0,0)}this.Jj||a.clear(this.ak[0]/255,this.ak[1]/255,this.ak[2]/255,1);this.pl=!0;var d=this.Se(0,0,!0,!0),
  189. b=this.Se(0,0,!1,!0);this.pl=!1;this.c.ji&&(d=Math.round(d),b=Math.round(b));this.Gy(d,b,null);d=this.bh();a.Ik();a.scale(d,d);a.RD(-this.$d());a.translate((this.Kc+this.od)/-2,(this.Lc+this.nd)/-2);a.Uk();this.wh?(this.qg.left=this.Jf.Of(this.Kc),this.qg.top=this.Jf.Pf(this.Lc),this.qg.right=this.Jf.Of(this.od),this.qg.bottom=this.Jf.Pf(this.nd),this.Cj||!this.qg.ts(this.bt)?(e(this.Cn),b=this.dC(),this.Cj=!1,this.bt.cs(this.qg)):b=this.Cn):b=this.D;var f,g,h=null,c=0;for(f=b.length;c<f;++c)g=b[c],
  190. g!==h&&(this.SJ(b[c],a),h=g);this.wh&&(this.Cn=b);this.Hk&&(b=this.Kb.length?this.Kb[0].ue:0,c=this.Kb.length?this.Kb[0].index:0,0===this.Kb.length||1===this.Kb.length&&!a.xy(b)&&1===this.opacity?(1===this.Kb.length?(a.si(b),a.fo(this.cc.sp(),1/this.c.sb,1/this.c.rb,0,0,1,1,d,this.$d(),this.Kc,this.Lc,(this.Kc+this.od)/2,(this.Lc+this.nd)/2,this.Pc[c]),a.Pt(b)&&(this.c.Wa=!0)):a.si(0),a.qi(this.cc.sp()),a.wm(this.opacity),a.Kf(this.c.Uf),a.Kk(this.Ke,this.De),a.Ik(),a.Uk(),d=this.c.sb/2,b=this.c.rb/
  191. 2,a.Rt(-d,b,d,b,d,-b,-d,-b),a.Kf(null)):this.cc.Ey(a,this,null,this.cc.sp()))};b.prototype.SJ=function(a,b){if(a.visible&&0!==a.width&&0!==a.height){a.Jb();var c=a.Yc;c.right<this.Kc||c.bottom<this.Lc||c.left>this.od||c.top>this.nd||(a.DE?this.TJ(a,b):(b.si(0),b.Kk(a.Ke,a.De),a.tg(b)))}};b.prototype.TJ=function(a,b){var c=a.Kb[0].ue,d=a.Kb[0].index,e=this.bh();if(1!==a.Kb.length||b.xy(c)||b.RM(c)||(a.K||a.W.$d())&&b.nq(c)||1!==a.opacity||a.type.Da.hD)this.cc.Ey(b,this,a,this.Hk?this.c.Uf:this.cc.sp()),
  192. b.Ik(),b.scale(e,e),b.RD(-this.$d()),b.translate((this.Kc+this.od)/-2,(this.Lc+this.nd)/-2),b.Uk();else{b.si(c);b.Kk(a.Ke,a.De);b.Pt(c)&&(this.c.Wa=!0);var f=0,g=0,h=0,l=0;b.nq(c)&&(c=a.Yc,f=this.Xe(c.left,c.top,!0,!0),g=this.Xe(c.left,c.top,!1,!0),h=this.Xe(c.right,c.bottom,!0,!0),c=this.Xe(c.right,c.bottom,!1,!0),f/=windowWidth,g=1-g/windowHeight,h/=windowWidth,l=1-c/windowHeight);b.fo(this.Hk?this.c.Uf:this.cc.sp(),1/a.width,1/a.height,f,g,h,l,e,this.$d(),this.Kc,this.Lc,(this.Kc+this.od)/2,(this.Lc+
  193. this.nd)/2,a.Pc[d]);a.tg(b)}};b.prototype.Se=function(a,b,c,d){var e=this.c.devicePixelRatio;this.c.Il&&(a*=e,b*=e);var e=this.c.BD,f=this.c.CD,e=(this.cc.scrollX-e)*this.Dg+e,f=(this.cc.scrollY-f)*this.Eg+f,g=1/this.bh(!d);d?(e-=this.c.sb*g/2,f-=this.c.rb*g/2):(e-=this.c.width*g/2,f-=this.c.height*g/2);e+=a*g;f+=b*g;b=this.$d();0!==b&&(e-=this.cc.scrollX,f-=this.cc.scrollY,a=Math.cos(b),b=Math.sin(b),d=e*a-f*b,f=f*a+e*b,e=d+this.cc.scrollX,f+=this.cc.scrollY);return c?e:f};b.prototype.Xe=function(a,
  194. b,c,d){var e=this.$d();if(0!==e){a-=this.cc.scrollX;b-=this.cc.scrollY;var f=Math.cos(-e),e=Math.sin(-e),g=a*f-b*e;b=b*f+a*e;a=g+this.cc.scrollX;b+=this.cc.scrollY}f=this.c.BD;e=this.c.CD;f=(this.cc.scrollX-f)*this.Dg+f;e=(this.cc.scrollY-e)*this.Eg+e;g=1/this.bh(!d);d?(f-=this.c.sb*g/2,e-=this.c.rb*g/2):(f-=this.c.width*g/2,e-=this.c.height*g/2);f=(a-f)/g;e=(b-e)/g;a=this.c.devicePixelRatio;this.c.Il&&!d&&(f/=a,e/=a);return c?f:e};b.prototype.kc=function(){var a,b,c,d={s:this.scale,a:this.K,vl:this.Kc,
  195. vt:this.Lc,vr:this.od,vb:this.nd,v:this.visible,bc:this.ak,t:this.Jj,px:this.Dg,py:this.Eg,o:this.opacity,zr:this.Ah,fx:[],instances:[]};a=0;for(b=this.ab.length;a<b;a++)c=this.ab[a],d.fx.push({name:c.name,active:c.ea,params:this.Pc[c.index]});return d};b.prototype.Bc=function(a){var b,d;this.scale=a.s;this.K=a.a;this.Kc=a.vl;this.Lc=a.vt;this.od=a.vr;this.nd=a.vb;this.visible=a.v;this.ak=a.bc;this.Jj=a.t;this.Dg=a.px;this.Eg=a.py;this.opacity=a.o;this.Ah=a.zr;var e=a.fx;a=0;for(b=e.length;a<b;a++)if(d=
  196. this.Fw(e[a].name))d.ea=e[a].active,this.Pc[d.index]=e[a].params;this.Kj();this.D.sort(c);this.Mj=!0};Vb=b})();
  197. (function(){function a(a,b){var c,d=a.length;switch(d){case 0:return!0;case 1:return a[0]===b[0];case 2:return a[0]===b[0]&&a[1]===b[1];default:for(c=0;c<d;c++)if(a[c]!==b[c])return!1;return!0}}function c(a,b){return a.index-b.index}function b(b){var d,e,f,g;2===b.length?b[0].index>b[1].index&&(d=b[0],b[0]=b[1],b[1]=d):2<b.length&&b.sort(c);b.length>=p.length&&(p.length=b.length+1);p[b.length]||(p[b.length]=[]);g=p[b.length];d=0;for(e=g.length;d<e;d++)if(f=g[d],a(b,f))return f;g.push(b);return b}
  198. function d(a,b){this.c=a;this.qE={};this.TB={};this.Qw=!1;this.lC=new da;this.iw=[];this.Tv=[];this.name=b[0];var c=b[1];this.lk=[];var d,e;d=0;for(e=c.length;d<e;d++)this.oC(c[d],null,this.lk)}function e(a){this.type=a;this.D=[];this.Cb=[];this.Aa=!0}function f(a,b,c){this.sheet=a;this.parent=b;this.c=a.c;this.jb=[];this.Mk=[];this.kC=this.xu=this.Yy=this.Qs=this.group=this.Sy=!1;this.Nd=[];this.lg=[];this.Kg=[];this.up="";this.qk=this.Qs=this.group=!1;this.Zr=null;c[1]&&(this.up=c[1][1].toLowerCase(),
  199. this.group=!0,this.Qs=!!c[1][0],this.Zr=[],this.qk=this.Qs,this.c.$j.push(this),this.c.nn[this.up]=this);this.Cg=c[2];this.zb=c[4];this.group||(this.c.tB[this.zb.toString()]=this);var d=c[5];a=0;for(b=d.length;a<b;a++){var e=new Wb(this,d[a]);e.index=a;this.Nd.push(e);this.fB(e.type)}d=c[6];a=0;for(b=d.length;a<b;a++)e=new Xb(this,d[a]),e.index=a,this.lg.push(e);if(8===c.length)for(c=c[7],a=0,b=c.length;a<b;a++)this.sheet.oC(c[a],this,this.Kg);this.Xs=!1;this.Nd.length&&(this.Xs=null==this.Nd[0].type&&
  200. this.Nd[0].pe==x.prototype.C.Hz)}function g(a,b){var c,d,e;if(a&&(-1===b.indexOf(a)&&b.push(a),a.be))for(c=0,d=a.Af.length;c<d;c++)e=a.Af[c],a!==e&&-1===b.indexOf(e)&&b.push(e)}function h(a,b){this.Qf=a;this.sheet=a.sheet;this.c=a.c;this.Va=[];this.ec=[];this.ra={};this.index=-1;this.$o=!1;this.pe=this.c.Sj(b[1]);this.trigger=0<b[3];this.SB=2===b[3];this.Yh=b[4];this.Rs=b[5];this.IL=b[6];this.zb=b[7];this.c.bn[this.zb.toString()]=this;-1===b[0]?(this.type=null,this.Fd=this.Iy,this.hl=null,this.ng=
  201. -1):(this.type=this.c.qa[b[0]],this.Fd=this.IL?this.iN:this.Hy,b[2]?(this.hl=this.type.Hs(b[2]),this.ng=this.type.Cw(b[2])):(this.hl=null,this.ng=-1),this.Qf.parent&&this.Qf.parent.hu());this.SB&&(this.Fd=this.jN);if(10===b.length){var c,d,e=b[9];c=0;for(d=e.length;c<d;c++){var f=new Yb(this,e[c]);this.Va.push(f)}this.ec.length=e.length}}function l(a,b){this.Qf=a;this.sheet=a.sheet;this.c=a.c;this.Va=[];this.ec=[];this.ra={};this.index=-1;this.$o=!1;this.pe=this.c.Sj(b[1]);-1===b[0]?(this.type=null,
  202. this.Fd=this.Iy,this.hl=null,this.ng=-1):(this.type=this.c.qa[b[0]],this.Fd=this.Hy,b[2]?(this.hl=this.type.Hs(b[2]),this.ng=this.type.Cw(b[2])):(this.hl=null,this.ng=-1));this.zb=b[3];this.c.Vm[this.zb.toString()]=this;if(6===b.length){var c,d,e=b[5];c=0;for(d=e.length;c<d;c++){var f=new Yb(this,e[c]);this.Va.push(f)}this.ec.length=e.length}}function n(a,b){this.Ha=a;this.Qf=a.Qf;this.sheet=a.sheet;this.c=a.c;this.type=b[0];this.Oh=null;this.Nk=0;this.get=null;this.DB=0;this.cc=null;this.key=0;this.object=
  203. null;this.index=0;this.Hq=this.ym=this.Hq=this.ym=this.UB=this.ul=this.Iq=null;this.Lg=!1;var c,d,e;switch(b[0]){case 0:case 7:this.Oh=new Zb(this,b[1]);this.Nk=0;this.get=this.aL;break;case 1:this.Oh=new Zb(this,b[1]);this.Nk=0;this.get=this.bL;break;case 5:this.Oh=new Zb(this,b[1]);this.Nk=0;this.get=this.Lw;break;case 3:case 8:this.DB=b[1];this.get=this.ZK;break;case 6:this.cc=this.c.Dn[b[1]];this.get=this.fL;break;case 9:this.key=b[1];this.get=this.eL;break;case 4:this.object=this.c.qa[b[1]];
  204. this.get=this.gL;this.Qf.fB(this.object);this.Ha instanceof Xb?this.Qf.hu():this.Qf.parent&&this.Qf.parent.hu();break;case 10:this.index=b[1];a.type.Ga?(this.get=this.cL,this.Lg=!0):this.get=this.dL;break;case 11:this.Iq=b[1];this.ul=null;this.get=this.$K;break;case 2:case 12:this.UB=b[1];this.get=this.YK;break;case 13:for(this.get=this.hL,this.ym=[],this.Hq=[],c=1,d=b.length;c<d;c++)e=new Yb(this.Ha,b[c]),this.ym.push(e),this.Hq.push(0)}}function k(a,b,c){this.sheet=a;this.parent=b;this.c=a.c;this.jb=
  205. [];this.name=c[1];this.Jq=c[2];this.fa=c[3];this.Fp=!!c[4];this.Ws=!!c[5];this.zb=c[6];this.c.qo[this.zb.toString()]=this;this.data=this.fa;this.parent?(this.$l=this.Fp||this.Ws?-1:this.c.vN++,this.c.fJ.push(this)):(this.$l=-1,this.c.eJ.push(this))}function m(a,b,c){this.sheet=a;this.parent=b;this.c=a.c;this.jb=[];this.wp=null;this.qL=c[1];this.ea=!0}function q(){this.lE=[];this.reset(null)}var p=[];d.prototype.toString=function(){return this.name};d.prototype.oC=function(a,b,c){switch(a[0]){case 0:a=
  206. new $b(this,b,a);if(a.Cg)for(c.push(a),c=0,b=a.Nd.length;c<b;c++)a.Nd[c].trigger&&this.pC(a,c);else a.vC()?this.pC(a,0):c.push(a);break;case 1:a=new Sb(this,b,a);c.push(a);break;case 2:a=new ac(this,b,a),c.push(a)}};d.prototype.hd=function(){var a,b;a=0;for(b=this.lk.length;a<b;a++)this.lk[a].hd(a<b-1&&this.lk[a+1].Xs)};d.prototype.dz=function(){this.iw.length=0;this.Tv.length=0;this.eB(this);this.Tv.length=0};d.prototype.eB=function(a){var b,c,d,e,f=a.iw,g=a.Tv,h=this.lC.yh();b=0;for(c=h.length;b<
  207. c;++b)d=h[b],e=d.wp,!d.ea||a===e||-1<g.indexOf(e)||(g.push(e),e.eB(a),f.push(e))};d.prototype.Fd=function(a){this.c.sP||(this.Qw=!0,a||(this.c.Zw=!0));var b,c;b=0;for(c=this.lk.length;b<c;b++){var d=this.lk[b];d.Fd();this.c.$v(d.jb);this.c.rk&&this.c.xe()}a||(this.c.Zw=!1)};d.prototype.pC=function(a,b){a.Cg||this.c.Cu.push(a);var c,d,e=a.Nd[b],f;f=e.type?e.type.name:"system";var g=(c=e.SB)?this.TB:this.qE;g[f]||(g[f]=[]);f=g[f];g=e.pe;if(c){if(e.Va.length&&(e=e.Va[0],1===e.type&&2===e.Oh.type)){e=
  208. e.Oh.value.toLowerCase();c=0;for(d=f.length;c<d;c++)if(f[c].method==g){c=f[c].gp;c[e]?c[e].push([a,b]):c[e]=[[a,b]];return}c={};c[e]=[[a,b]];f.push({method:g,gp:c})}}else{c=0;for(d=f.length;c<d;c++)if(f[c].method==g){f[c].gp.push([a,b]);return}A&&g===A.prototype.C.Qm?f.unshift({method:g,gp:[[a,b]]}):f.push({method:g,gp:[[a,b]]})}};Ib=d;e.prototype.Pw=function(){return this.Aa?this.type.D.length:this.D.length};e.prototype.qe=function(){return this.Aa?this.type.D:this.D};e.prototype.tm=function(a){a&&
  209. (a.c.bd().$c.Cg?(this.Aa&&(this.D.length=0,Ca(this.Cb,a.type.D),this.Aa=!1),a=this.Cb.indexOf(a),-1!==a&&(this.D.push(this.Cb[a]),this.Cb.splice(a,1))):(this.Aa=!1,this.D.length=1,this.D[0]=a))};qb=e;window._c2hh_="BCB0A626DFD9DBB9668C89A6D85FE2AD12A6FC39";f.prototype.hd=function(a){var c,d=this.parent;if(this.group)for(this.xu=!0;d;){if(!d.group){this.xu=!1;break}d=d.parent}this.Yy=!this.vC()&&(!this.parent||this.parent.group&&this.parent.xu);this.kC=!!a;this.Mk=this.jb.slice(0);for(d=this.parent;d;){a=
  210. 0;for(c=d.jb.length;a<c;a++)this.bJ(d.jb[a]);d=d.parent}this.jb=b(this.jb);this.Mk=b(this.Mk);a=0;for(c=this.Nd.length;a<c;a++)this.Nd[a].hd();a=0;for(c=this.lg.length;a<c;a++)this.lg[a].hd();a=0;for(c=this.Kg.length;a<c;a++)this.Kg[a].hd(a<c-1&&this.Kg[a+1].Xs)};f.prototype.du=function(a){if(this.qk!==!!a){this.qk=!!a;var b;a=0;for(b=this.Zr.length;a<b;++a)this.Zr[a].xE();0<b&&this.c.lb.tl&&this.c.lb.tl.dz()}};f.prototype.fB=function(a){g(a,this.jb)};f.prototype.bJ=function(a){g(a,this.Mk)};f.prototype.hu=
  211. function(){this.Sy=!0;this.parent&&this.parent.hu()};f.prototype.vC=function(){return this.Nd.length?this.Nd[0].trigger:!1};f.prototype.Fd=function(){var a,b=!1,c,d=this.c,e=this.c.bd();e.$c=this;var f=this.Nd;this.Xs||(e.mw=!1);if(this.Cg){0===f.length&&(b=!0);e.ud=0;for(a=f.length;e.ud<a;e.ud++)f[e.ud].trigger||(c=f[e.ud].Fd())&&(b=!0);(e.Ql=b)&&this.Zt()}else{e.ud=0;for(a=f.length;e.ud<a;e.ud++)if(c=f[e.ud].Fd(),!c){e.Ql=!1;this.Yy&&d.rk&&d.xe();return}e.Ql=!0;this.Zt()}this.dK(e)};f.prototype.dK=
  212. function(a){a.Ql&&this.kC&&(a.mw=!0);this.Yy&&this.c.rk&&this.c.xe()};f.prototype.gN=function(a){this.c.bd().$c=this;this.Nd[a].Fd()&&(this.Zt(),this.c.bd().Ql=!0)};f.prototype.Zt=function(){var a=this.c.bd(),b;a.gf=0;for(b=this.lg.length;a.gf<b;a.gf++)if(this.lg[a.gf].Fd())return;this.SD()};f.prototype.dN=function(){var a=this.c.bd(),b;for(b=this.lg.length;a.gf<b;a.gf++)if(this.lg[a.gf].Fd())return;this.SD()};f.prototype.SD=function(){if(this.Kg.length){var a,b,c,d,e=this.Kg.length-1;this.c.Qt(this);
  213. if(this.Sy)for(a=0,b=this.Kg.length;a<b;a++)c=this.Kg[a],(d=!this.xu||!this.group&&a<e)&&this.c.Bj(c.jb),c.Fd(),d?this.c.Gg(c.jb):this.c.$v(c.jb);else for(a=0,b=this.Kg.length;a<b;a++)this.Kg[a].Fd();this.c.Lt()}};f.prototype.hN=function(){var a=this.c.bd();a.$c=this;var b=!1,c;a.ud=0;for(c=this.Nd.length;a.ud<c;a.ud++)if(this.Nd[a.ud].Fd())b=!0;else if(!this.Cg)return!1;return this.Cg?b:!0};f.prototype.pi=function(){this.c.jn++;var a=this.c.bd().ud,b=this.c.Qt(this);if(!this.Cg)for(b.ud=a+1,a=this.Nd.length;b.ud<
  214. a;b.ud++)if(!this.Nd[b.ud].Fd())return this.c.Lt(),!1;this.Zt();this.c.Lt();return!0};f.prototype.zL=function(a){var b=a.index;if(0===b)return!0;for(--b;0<=b;--b)if(this.Nd[b].type===a.type)return!1;return!0};$b=f;h.prototype.hd=function(){var a,b,c;a=0;for(b=this.Va.length;a<b;a++)c=this.Va[a],c.hd(),c.Lg&&(this.$o=!0)};h.prototype.jN=function(){return!0};h.prototype.Iy=function(){var a,b;a=0;for(b=this.Va.length;a<b;a++)this.ec[a]=this.Va[a].get();return Ta(this.pe.apply(this.c.ti,this.ec),this.Rs)};
  215. h.prototype.iN=function(){var a,b;a=0;for(b=this.Va.length;a<b;a++)this.ec[a]=this.Va[a].get();a=this.pe.apply(this.hl?this.hl:this.type,this.ec);this.type.hf();return a};h.prototype.Hy=function(){var a,b,c,d,e,f,g,h,m=this.type,l=m.wa(),k=this.Qf.Cg&&!this.trigger;b=0;var n=m.be,p=m.Ga,t=m.Xi,q=this.ng,v=-1<q,ga=this.$o,N=this.Va,D=this.ec,G=this.Rs,H=this.pe,Q;if(ga)for(b=0,e=N.length;b<e;++b)f=N[b],f.Lg||(D[b]=f.get(0));else for(b=0,e=N.length;b<e;++b)D[b]=N[b].get(0);if(l.Aa){l.D.length=0;l.Cb.length=
  216. 0;Q=m.D;a=0;for(d=Q.length;a<d;++a){h=Q[a];if(ga)for(b=0,e=N.length;b<e;++b)f=N[b],f.Lg&&(D[b]=f.get(a));v?(b=0,p&&(b=h.type.kn[t]),b=H.apply(h.eb[q+b],D)):b=H.apply(h,D);(g=Ta(b,G))?l.D.push(h):k&&l.Cb.push(h)}m.finish&&m.finish(!0);l.Aa=!1;m.hf();return l.Pw()}c=0;Q=(g=k&&!this.Qf.zL(this))?l.Cb:l.D;var ba=!1;a=0;for(d=Q.length;a<d;++a){h=Q[a];if(ga)for(b=0,e=N.length;b<e;++b)f=N[b],f.Lg&&(D[b]=f.get(a));v?(b=0,p&&(b=h.type.kn[t]),b=H.apply(h.eb[q+b],D)):b=H.apply(h,D);if(Ta(b,G))if(ba=!0,g){if(l.D.push(h),
  217. n)for(b=0,e=h.siblings.length;b<e;b++)f=h.siblings[b],f.type.wa().D.push(f)}else{Q[c]=h;if(n)for(b=0,e=h.siblings.length;b<e;b++)f=h.siblings[b],f.type.wa().D[c]=f;c++}else if(g){Q[c]=h;if(n)for(b=0,e=h.siblings.length;b<e;b++)f=h.siblings[b],f.type.wa().Cb[c]=f;c++}else if(k&&(l.Cb.push(h),n))for(b=0,e=h.siblings.length;b<e;b++)f=h.siblings[b],f.type.wa().Cb.push(f)}Q.length=c;if(n)for(p=m.Af,a=0,d=p.length;a<d;a++)h=p[a].wa(),g?h.Cb.length=c:h.D.length=c;c=ba;if(g&&!ba)for(a=0,d=l.D.length;a<d;a++){h=
  218. l.D[a];if(ga)for(b=0,e=N.length;b<e;b++)f=N[b],f.Lg&&(D[b]=f.get(a));b=v?H.apply(h.eb[q],D):H.apply(h,D);if(Ta(b,G)){ba=!0;break}}m.finish&&m.finish(c||k);return k?ba:l.Pw()};Wb=h;l.prototype.hd=function(){var a,b,c;a=0;for(b=this.Va.length;a<b;a++)c=this.Va[a],c.hd(),c.Lg&&(this.$o=!0)};l.prototype.Iy=function(){var a,b;a=0;for(b=this.Va.length;a<b;a++)this.ec[a]=this.Va[a].get();return this.pe.apply(this.c.ti,this.ec)};l.prototype.Hy=function(){var a=this.type.wa().qe(),b=this.type.Ga,c=this.type.Xi,
  219. d=this.ng,e=-1<d,f=this.$o,g=this.Va,h=this.ec,m=this.pe,l,k,n,p,t,q;if(f)for(k=0,p=g.length;k<p;++k)t=g[k],t.Lg||(h[k]=t.get(0));else for(k=0,p=g.length;k<p;++k)h[k]=g[k].get(0);l=0;for(n=a.length;l<n;++l){q=a[l];if(f)for(k=0,p=g.length;k<p;++k)t=g[k],t.Lg&&(h[k]=t.get(l));e?(k=0,b&&(k=q.type.kn[c]),m.apply(q.eb[d+k],h)):m.apply(q,h)}return!1};Xb=l;var t=[],v=-1;n.prototype.hd=function(){var a,b;if(11===this.type)this.ul=this.c.$B(this.Iq,this.Qf.parent);else if(13===this.type)for(a=0,b=this.ym.length;a<
  220. b;a++)this.ym[a].hd();this.Oh&&this.Oh.hd()};n.prototype.sM=function(a){this.Lg||!a||a.Da.ju||(this.Lg=!0)};n.prototype.XD=function(){this.Lg=!0};n.prototype.Qd=function(){v++;t.length===v&&t.push(new bc);return t[v]};n.prototype.Ed=function(){v--};n.prototype.aL=function(a){this.Nk=a||0;a=this.Qd();this.Oh.get(a);this.Ed();return a.data};n.prototype.bL=function(a){this.Nk=a||0;a=this.Qd();this.Oh.get(a);this.Ed();return la(a.data)?a.data:""};n.prototype.gL=function(){return this.object};n.prototype.ZK=
  221. function(){return this.DB};n.prototype.Lw=function(a){this.Nk=a||0;a=this.Qd();this.Oh.get(a);this.Ed();return a.de()?this.c.$i(a.data):this.c.rp(a.data)};n.prototype.fL=function(){return this.cc};n.prototype.eL=function(){return this.key};n.prototype.dL=function(){return this.index};n.prototype.cL=function(a){a=a||0;var b=this.Ha.type,c=null,c=b.wa(),d=c.qe();if(d.length)c=d[a%d.length].type;else if(c.Cb.length)c=c.Cb[a%c.Cb.length].type;else if(b.D.length)c=b.D[a%b.D.length].type;else return 0;
  222. return this.index+c.ws[b.Xi]};n.prototype.$K=function(){return this.ul};n.prototype.YK=function(){return this.UB};n.prototype.hL=function(){var a,b;a=0;for(b=this.ym.length;a<b;a++)this.Hq[a]=this.ym[a].get();return this.Hq};Yb=n;k.prototype.hd=function(){this.jb=b(this.jb)};k.prototype.Fj=function(a){var b=this.c.ZB();this.parent&&!this.Fp&&b?(this.$l>=b.length&&(b.length=this.$l+1),b[this.$l]=a):this.data=a};k.prototype.zl=function(){var a=this.c.ZB();return!this.parent||this.Fp||!a||this.Ws?this.data:
  223. this.$l>=a.length||"undefined"===typeof a[this.$l]?this.fa:a[this.$l]};k.prototype.Fd=function(){!this.parent||this.Fp||this.Ws||this.Fj(this.fa)};Sb=k;m.prototype.toString=function(){return"include:"+this.wp.toString()};m.prototype.hd=function(){this.wp=this.c.ow[this.qL];this.sheet.lC.add(this);this.jb=b(this.jb);for(var a=this.parent;a;)a.group&&a.Zr.push(this),a=a.parent;this.xE()};m.prototype.Fd=function(){this.parent&&this.c.oq(this.c.qa);this.wp.Qw||this.wp.Fd(!0);this.parent&&this.c.Gg(this.c.qa)};
  224. m.prototype.xE=function(){for(var a=this.parent;a;){if(a.group&&!a.qk){this.ea=!1;return}a=a.parent}this.ea=!0};ac=m;q.prototype.reset=function(a){this.$c=a;this.gf=this.ud=0;this.lE.length=0;this.mw=this.Ql=!1};q.prototype.Xw=function(){return this.$c.Sy?!0:this.ud<this.$c.Nd.length-1?!!this.$c.jb.length:!1};Rb=q})();
  225. (function(){function a(a,c){this.Ha=a;this.c=a.c;this.type=c[0];this.get=[this.rK,this.nK,this.zK,this.CK,this.hK,this.AK,this.vK,this.kK,this.uK,this.yK,this.iK,this.xK,this.lK,this.wK,this.sK,this.tK,this.oK,this.pK,this.jK,this.BK,this.QB,this.qK,this.QB,this.mK][this.type];var e=null;this.pf=this.Va=this.ec=this.pe=this.tu=this.le=this.first=this.value=null;this.ng=-1;this.aj=null;this.mz=-1;this.ul=this.Iq=null;this.qq=!1;switch(this.type){case 0:case 1:case 2:this.value=c[1];break;case 3:this.first=
  226. new Zb(a,c[1]);break;case 18:this.first=new Zb(a,c[1]);this.le=new Zb(a,c[2]);this.tu=new Zb(a,c[3]);break;case 19:this.pe=this.c.Sj(c[1]);this.pe!==x.prototype.H.random&&this.pe!==x.prototype.H.BB||this.Ha.XD();this.ec=[];this.Va=[];3===c.length?(e=c[2],this.ec.length=e.length+1):this.ec.length=1;break;case 20:this.pf=this.c.qa[c[1]];this.ng=-1;this.pe=this.c.Sj(c[2]);this.qq=c[3];uc&&this.pe===uc.prototype.H.xz&&this.Ha.XD();this.aj=c[4]?new Zb(a,c[4]):null;this.ec=[];this.Va=[];6===c.length?(e=
  227. c[5],this.ec.length=e.length+1):this.ec.length=1;break;case 21:this.pf=this.c.qa[c[1]];this.qq=c[2];this.aj=c[3]?new Zb(a,c[3]):null;this.mz=c[4];break;case 22:this.pf=this.c.qa[c[1]];this.pf.Hs(c[2]);this.ng=this.pf.Cw(c[2]);this.pe=this.c.Sj(c[3]);this.qq=c[4];this.aj=c[5]?new Zb(a,c[5]):null;this.ec=[];this.Va=[];7===c.length?(e=c[6],this.ec.length=e.length+1):this.ec.length=1;break;case 23:this.Iq=c[1],this.ul=null}this.Ha.sM(this.pf);4<=this.type&&17>=this.type&&(this.first=new Zb(a,c[1]),this.le=
  228. new Zb(a,c[2]));if(e){var f,g;f=0;for(g=e.length;f<g;f++)this.Va.push(new Zb(a,e[f]))}}function c(a,c){this.type=a||cc.Pm;this.data=c||0;this.Vn=null;this.type==cc.Pm&&(this.data=Math.floor(this.data))}a.prototype.hd=function(){23===this.type&&(this.ul=this.Ha.c.$B(this.Iq,this.Ha.Qf.parent));this.first&&this.first.hd();this.le&&this.le.hd();this.tu&&this.tu.hd();this.aj&&this.aj.hd();if(this.Va){var a,c;a=0;for(c=this.Va.length;a<c;a++)this.Va[a].hd()}};a.prototype.BK=function(a){this.ec[0]=a;a=
  229. this.Ha.Qd();var c,e;c=0;for(e=this.Va.length;c<e;c++)this.Va[c].get(a),this.ec[c+1]=a.data;this.Ha.Ed();this.pe.apply(this.c.ti,this.ec)};a.prototype.QB=function(a){var c=this.pf.wa(),e=c.qe();if(!e.length)if(c.Cb.length)e=c.Cb;else{this.qq?a.Xa(""):a.ja(0);return}this.ec[0]=a;a.Vn=this.pf;a=this.Ha.Qd();var f,c=0;for(f=this.Va.length;c<f;c++)this.Va[c].get(a),this.ec[c+1]=a.data;c=this.Ha.Nk;this.aj&&(this.aj.get(a),a.de()&&(c=a.data,e=this.pf.D));this.Ha.Ed();c%=e.length;0>c&&(c+=e.length);e=e[c];
  230. -1<this.ng?(a=0,this.pf.Ga&&(a=e.type.kn[this.pf.Xi]),this.pe.apply(e.eb[this.ng+a],this.ec)):this.pe.apply(e,this.ec)};a.prototype.qK=function(a){var c=this.pf.wa(),e=c.qe();if(!e.length)if(c.Cb.length)e=c.Cb;else{this.qq?a.Xa(""):a.ja(0);return}c=this.Ha.Nk;if(this.aj){var f=this.Ha.Qd();this.aj.get(f);if(f.de()){c=f.data;e=this.pf.D;c%=e.length;0>c&&(c+=e.length);e=e[c].ed[this.mz];la(e)?a.Xa(e):a.V(e);this.Ha.Ed();return}this.Ha.Ed()}c%=e.length;0>c&&(c+=e.length);e=e[c];c=0;this.pf.Ga&&(c=e.type.ws[this.pf.Xi]);
  231. e=e.ed[this.mz+c];la(e)?a.Xa(e):a.V(e)};a.prototype.rK=function(a){a.type=cc.Pm;a.data=this.value};a.prototype.nK=function(a){a.type=cc.Km;a.data=this.value};a.prototype.zK=function(a){a.type=cc.String;a.data=this.value};a.prototype.CK=function(a){this.first.get(a);a.de()&&(a.data=-a.data)};a.prototype.hK=function(a){this.first.get(a);var c=this.Ha.Qd();this.le.get(c);a.de()&&c.de()&&(a.data+=c.data,c.tn()&&a.On());this.Ha.Ed()};a.prototype.AK=function(a){this.first.get(a);var c=this.Ha.Qd();this.le.get(c);
  232. a.de()&&c.de()&&(a.data-=c.data,c.tn()&&a.On());this.Ha.Ed()};a.prototype.vK=function(a){this.first.get(a);var c=this.Ha.Qd();this.le.get(c);a.de()&&c.de()&&(a.data*=c.data,c.tn()&&a.On());this.Ha.Ed()};a.prototype.kK=function(a){this.first.get(a);var c=this.Ha.Qd();this.le.get(c);a.de()&&c.de()&&(a.data/=c.data,a.On());this.Ha.Ed()};a.prototype.uK=function(a){this.first.get(a);var c=this.Ha.Qd();this.le.get(c);a.de()&&c.de()&&(a.data%=c.data,c.tn()&&a.On());this.Ha.Ed()};a.prototype.yK=function(a){this.first.get(a);
  233. var c=this.Ha.Qd();this.le.get(c);a.de()&&c.de()&&(a.data=Math.pow(a.data,c.data),c.tn()&&a.On());this.Ha.Ed()};a.prototype.iK=function(a){this.first.get(a);var c=this.Ha.Qd();this.le.get(c);a.de()?c.Ys()?a.Xa(a.data.toString()+c.data):a.data&&c.data?a.ja(1):a.ja(0):a.Ys()&&(a.data=c.Ys()?a.data+c.data:a.data+(Math.round(1E10*c.data)/1E10).toString());this.Ha.Ed()};a.prototype.xK=function(a){this.first.get(a);var c=this.Ha.Qd();this.le.get(c);a.de()&&c.de()&&(a.data||c.data?a.ja(1):a.ja(0));this.Ha.Ed()};
  234. a.prototype.jK=function(a){this.first.get(a);a.data?this.le.get(a):this.tu.get(a)};a.prototype.lK=function(a){this.first.get(a);var c=this.Ha.Qd();this.le.get(c);a.ja(a.data===c.data?1:0);this.Ha.Ed()};a.prototype.wK=function(a){this.first.get(a);var c=this.Ha.Qd();this.le.get(c);a.ja(a.data!==c.data?1:0);this.Ha.Ed()};a.prototype.sK=function(a){this.first.get(a);var c=this.Ha.Qd();this.le.get(c);a.ja(a.data<c.data?1:0);this.Ha.Ed()};a.prototype.tK=function(a){this.first.get(a);var c=this.Ha.Qd();
  235. this.le.get(c);a.ja(a.data<=c.data?1:0);this.Ha.Ed()};a.prototype.oK=function(a){this.first.get(a);var c=this.Ha.Qd();this.le.get(c);a.ja(a.data>c.data?1:0);this.Ha.Ed()};a.prototype.pK=function(a){this.first.get(a);var c=this.Ha.Qd();this.le.get(c);a.ja(a.data>=c.data?1:0);this.Ha.Ed()};a.prototype.mK=function(a){var c=this.ul.zl();ka(c)?a.V(c):a.Xa(c)};Zb=a;c.prototype.tn=function(){return this.type===cc.Km};c.prototype.de=function(){return this.type===cc.Pm||this.type===cc.Km};c.prototype.Ys=function(){return this.type===
  236. cc.String};c.prototype.On=function(){this.tn()||(this.Ys()&&(this.data=parseFloat(this.data)),this.type=cc.Km)};c.prototype.ja=function(a){this.type=cc.Pm;this.data=Math.floor(a)};c.prototype.V=function(a){this.type=cc.Km;this.data=a};c.prototype.Xa=function(a){this.type=cc.String;this.data=a};c.prototype.ri=function(a){ka(a)?(this.type=cc.Km,this.data=a):la(a)?(this.type=cc.String,this.data=a.toString()):(this.type=cc.Pm,this.data=0)};bc=c;cc={Pm:0,Km:1,String:2}})();
  237. function x(a){this.c=a;this.tf=[]}x.prototype.kc=function(){var a={},c,b,d,e,f,g,h,l;a.waits=[];var n=a.waits,k;c=0;for(b=this.tf.length;c<b;c++){g=this.tf[c];k={t:g.time,st:g.dE,s:g.Ry,ev:g.hn.zb,sm:[],sols:{}};g.hn.lg[g.gf]&&(k.act=g.hn.lg[g.gf].zb);d=0;for(e=g.jb.length;d<e;d++)k.sm.push(g.jb[d].zb);for(f in g.ef)if(g.ef.hasOwnProperty(f)){h=this.c.qa[parseInt(f,10)];l={sa:g.ef[f].$t,insts:[]};d=0;for(e=g.ef[f].bj.length;d<e;d++)l.insts.push(g.ef[f].bj[d].uid);k.sols[h.zb.toString()]=l}n.push(k)}return a};
  238. x.prototype.Bc=function(a){a=a.waits;var c,b,d,e,f,g,h,l,n,k,m;c=this.tf.length=0;for(b=a.length;c<b;c++)if(g=a[c],l=this.c.tB[g.ev.toString()]){n=-1;d=0;for(e=l.lg.length;d<e;d++)if(l.lg[d].zb===g.act){n=d;break}if(-1!==n){h={ef:{},jb:[],jw:!1};h.time=g.t;h.dE=g.st||"";h.Ry=!!g.s;h.hn=l;h.gf=n;d=0;for(e=g.sm.length;d<e;d++)(l=this.c.Ks(g.sm[d]))&&h.jb.push(l);for(f in g.sols)if(g.sols.hasOwnProperty(f)&&(l=this.c.Ks(parseInt(f,10)))){n=g.sols[f];k={$t:n.sa,bj:[]};d=0;for(e=n.insts.length;d<e;d++)(m=
  239. this.c.ah(n.insts[d]))&&k.bj.push(m);h.ef[l.index.toString()]=k}this.tf.push(h)}}};
  240. (function(){function a(){}function c(a,b){l&&a===n&&b===k||(l=new RegExp(a,b),n=a,k=b);l.lastIndex=0;return l}function b(){}function d(){}function e(a,b,d){if(a!==t||b!==v||d!==w){var e=c(b,d);p=a.match(e);t=a;v=b;w=d}}var f=x.prototype;a.prototype.AF=function(){return!0};a.prototype.hA=function(){return!0};a.prototype.FG=function(){return!0};a.prototype.jF=function(a,b,c){return dc(a,b,c)};a.prototype.tI=function(){var a=this.c.bd(),b=a.$c,c=a.Xw(),a=this.c.yy();if(c)for(c=0;!a.lc;c++)this.c.Bj(b.jb),
  241. a.index=c,b.pi()||(a.lc=!0),this.c.Gg(b.jb);else for(c=0;!a.lc;c++)a.index=c,b.pi()||(a.lc=!0);this.c.wy();return!1};a.prototype.DF=function(a,b,c){var d=this.c.bd(),e=d.$c,d=d.Xw();a=this.c.yy(a);if(c<b)if(d)for(;b>=c&&!a.lc;--b)this.c.Bj(e.jb),a.index=b,e.pi(),this.c.Gg(e.jb);else for(;b>=c&&!a.lc;--b)a.index=b,e.pi();else if(d)for(;b<=c&&!a.lc;++b)this.c.Bj(e.jb),a.index=b,e.pi(),this.c.Gg(e.jb);else for(;b<=c&&!a.lc;++b)a.index=b,e.pi();this.c.wy();return!1};var g=[],h=-1;a.prototype.EF=function(a){var b=
  242. a.wa();h++;g.length===h&&g.push([]);var c=g[h];Ca(c,b.qe());var d=this.c.bd(),e=d.$c,f=d.Xw(),d=this.c.yy(),m,l,k,n,p,t,q=a.be;if(f)for(f=0,m=c.length;f<m&&!d.lc;f++){this.c.Bj(e.jb);n=c[f];b=a.wa();b.Aa=!1;b.D.length=1;b.D[0]=n;if(q)for(l=0,k=n.siblings.length;l<k;l++)p=n.siblings[l],t=p.type.wa(),t.Aa=!1,t.D.length=1,t.D[0]=p;d.index=f;e.pi();this.c.Gg(e.jb)}else for(b.Aa=!1,b.D.length=1,f=0,m=c.length;f<m&&!d.lc;f++){n=c[f];b.D[0]=n;if(q)for(l=0,k=n.siblings.length;l<k;l++)p=n.siblings[l],t=p.type.wa(),
  243. t.Aa=!1,t.D.length=1,t.D[0]=p;d.index=f;e.pi()}c.length=0;this.c.wy();h--;return!1};a.prototype.UG=function(a,b,c,d){var e,f,m,l;if(a){h++;g.length===h&&g.push([]);var k=g[h],n=a.wa();Ca(k,n.qe());n.Aa&&(n.Cb.length=0);var p=this.c.ln();m=e=0;for(f=k.length;e<f;e++)l=k[e],k[m]=l,b=p.Va[1].get(e),d=p.Va[3].get(e),dc(b,c,d)?m++:n.Cb.push(l);k.length=m;n.Aa=!1;Ca(n.D,k);k.length=0;h--;a.hf();return!!n.D.length}};a.prototype.kI=function(){var a=this.c.ln().ra;"undefined"===typeof a.TriggerOnce_lastTick&&
  244. (a.TriggerOnce_lastTick=-1);var b=a.TriggerOnce_lastTick,c=this.c.uh;a.TriggerOnce_lastTick=c;return this.c.wx||b!==c-1};a.prototype.zF=function(a){var b=this.c.ln(),c=b.ra.Every_lastTime||0,d=this.c.nf.mb;"undefined"===typeof b.ra.Every_seconds&&(b.ra.Every_seconds=a);var e=b.ra.Every_seconds;if(d>=c+e)return b.ra.Every_lastTime=c+e,d>=b.ra.Every_lastTime+.04&&(b.ra.Every_lastTime=d),b.ra.Every_seconds=a,!0;d<c-.1&&(b.ra.Every_lastTime=d);return!1};a.prototype.oF=function(a,b,c){return dc(a.zl(),
  245. b,c)};a.prototype.WF=function(a){return(a=this.c.nn[a.toLowerCase()])&&a.qk};a.prototype.eG=function(){return"undefined"!==typeof cr_is_preview};a.prototype.TG=function(a){if(!a||!a.D.length)return!1;a.wa().Aa=!0;a.hf();return!0};a.prototype.XF=function(){return this.c.ej};a.prototype.Hz=function(){var a=this.c.bd();return a.mw?!1:!a.Ql};a.prototype.hv=function(){return!0};a.prototype.xG=function(){return!0};a.prototype.kr=function(){return!0};a.prototype.GG=function(){return!0};a.prototype.gv=function(){return!0};
  246. a.prototype.wG=function(a){return!!this.c.ah(a)};a.prototype.$F=function(a){var b=this.c;switch(a){case 0:return!b.ac&&!b.Vh&&!b.mf&&!b.Gl&&!b.Us&&!b.sk&&!b.Vw&&!b.Ss;case 1:return b.Gp;case 2:return b.zp;case 3:return b.bx;case 4:return b.sk;case 5:return b.Vw;case 6:return b.ax;case 7:return b.Ef;case 8:return b.mf;case 9:return b.wL;case 10:return b.Vh;case 11:return b.Gl;case 12:return b.Ss;default:return!1}};var l=null,n="",k="";a.prototype.QE=function(a,b,c){return Oa(u(a),u(c))<=u(b)};a.prototype.VF=
  247. function(a,b){return Qa(u(a),u(b))};a.prototype.UF=function(a,b,c){a=Ma(a);b=Ma(b);c=Ma(c);return Qa(c,b)?Qa(a,b)&&!Qa(a,c):!(!Qa(a,b)&&Qa(a,c))};f.C=new a;b.prototype.MF=function(a){this.c.Ml||this.c.Oi||(this.c.Oi=a)};b.prototype.tF=function(a,b,c,d){if(b&&a&&(b=this.c.es(a,b,c,d))){this.c.lf++;var e;this.c.trigger(Object.getPrototypeOf(a.Da).C.Tj,b);if(b.be)for(c=0,d=b.siblings.length;c<d;c++)e=b.siblings[c],this.c.trigger(Object.getPrototypeOf(e.type.Da).C.Tj,e);this.c.lf--;a=a.wa();a.Aa=!1;a.D.length=
  248. 1;a.D[0]=b;if(b.be)for(c=0,d=b.siblings.length;c<d;c++)e=b.siblings[c],a=e.type.wa(),a.Aa=!1,a.D.length=1,a.D[0]=e}};b.prototype.AH=function(a,b){a&&(b=Ga(b/100,0,1),a.opacity!==b&&(a.opacity=b,this.c.Wa=!0))};b.prototype.lH=function(a,b){this.c.lb.sq(a);this.c.lb.tq(b)};b.prototype.mH=function(a){if(a=a.op())this.c.lb.sq(a.x),this.c.lb.tq(a.y)};b.prototype.SH=function(a,b){0===a.Jq?ka(b)?a.Fj(b):a.Fj(parseFloat(b)):1===a.Jq&&a.Fj(b.toString())};b.prototype.OE=function(a,b){0===a.Jq?ka(b)?a.Fj(a.zl()+
  249. b):a.Fj(a.zl()+parseFloat(b)):1===a.Jq&&a.Fj(a.zl()+b.toString())};b.prototype.gI=function(a,b){0===a.Jq&&(ka(b)?a.Fj(a.zl()-b):a.Fj(a.zl()-parseFloat(b)))};b.prototype.vH=function(a,b){var c=this.c.nn[a.toLowerCase()];if(c)switch(b){case 0:c.du(!1);break;case 1:c.du(!0);break;case 2:c.du(!c.qk)}};b.prototype.OH=function(a){0>a&&(a=0);this.c.vh=a};b.prototype.EH=function(a,b){var c=b;0>c&&(c=0);if(a){var d=a.wa().qe(),e,f;e=0;for(f=d.length;e<f;e++)d[e].Un=c}};var m=[],q=[];b.prototype.sI=function(a){if(!(0>
  250. a)){var b,c,d,e=this.c.bd(),f;f=m.length?m.pop():{ef:{},jb:[]};f.jw=!1;f.time=this.c.nf.mb+a;f.dE="";f.Ry=!1;f.hn=e.$c;f.gf=e.gf+1;a=0;for(b=this.c.qa.length;a<b;a++)d=this.c.qa[a],c=d.wa(),c.Aa&&-1===e.$c.jb.indexOf(d)||(f.jb.push(d),d=void 0,d=q.length?q.pop():{bj:[]},d.$t=!1,d.$t=c.Aa,Ca(d.bj,c.D),f.ef[a.toString()]=d);this.tf.push(f);return!0}};b.prototype.cI=function(){0>this.c.Qp||(this.c.Ew().lc=!0)};b.prototype.NF=function(a){if(!this.c.Ml&&!this.c.Oi)for(var b in this.c.Dn)if(this.c.Dn.hasOwnProperty(b)&&
  251. mb(b,a)){this.c.Oi=this.c.Dn[b];break}};b.prototype.iH=function(){if(!this.c.Ml&&!this.c.Oi&&this.c.lb){this.c.Oi=this.c.lb;var a,b,c;a=0;for(b=this.c.$j.length;a<b;a++)c=this.c.$j[a],c.du(c.Qs)}};b.prototype.pH=function(a,b){if(!(0>=a||0>=b)){var c=this.c.kf;(document.mozFullScreen||document.webkitIsFullScreen||document.msFullscreenElement||document.fullScreen||this.c.sn)&&0<this.c.Zi&&(c=this.c.Zi);0===c?this.c.setSize(a,b,!0):(this.c.Dd=a,this.c.Cd=b,this.c.setSize(this.c.Bn,this.c.An,!0))}};f.G=
  252. new b;d.prototype["int"]=function(a,b){la(b)?(a.ja(parseInt(b,10)),isNaN(a.data)&&(a.data=0)):a.ja(b)};d.prototype["float"]=function(a,b){la(b)?(a.V(parseFloat(b)),isNaN(a.data)&&(a.data=0)):a.V(b)};d.prototype.zN=function(a,b){la(b)?a.Xa(b):a.Xa(b.toString())};d.prototype.NL=function(a,b){a.ja(b.length||0)};d.prototype.random=function(a,b,c){void 0===c?a.V(Math.random()*b):a.V(Math.random()*(c-b)+b)};d.prototype.sqrt=function(a,b){a.V(Math.sqrt(b))};d.prototype.abs=function(a,b){a.V(Math.abs(b))};
  253. d.prototype.round=function(a,b){a.ja(Math.round(b))};d.prototype.floor=function(a,b){a.ja(Math.floor(b))};d.prototype.ceil=function(a,b){a.ja(Math.ceil(b))};d.prototype.sin=function(a,b){a.V(Math.sin(u(b)))};d.prototype.cos=function(a,b){a.V(Math.cos(u(b)))};d.prototype.tan=function(a,b){a.V(Math.tan(u(b)))};d.prototype.asin=function(a,b){a.V(Ha(Math.asin(b)))};d.prototype.acos=function(a,b){a.V(Ha(Math.acos(b)))};d.prototype.atan=function(a,b){a.V(Ha(Math.atan(b)))};d.prototype.exp=function(a,b){a.V(Math.exp(b))};
  254. d.prototype.log10=function(a,b){a.V(Math.log(b)/Math.LN10)};d.prototype.max=function(a){var b=arguments[1];"number"!==typeof b&&(b=0);var c,d,e;c=2;for(d=arguments.length;c<d;c++)e=arguments[c],"number"===typeof e&&b<e&&(b=e);a.V(b)};d.prototype.min=function(a){var b=arguments[1];"number"!==typeof b&&(b=0);var c,d,e;c=2;for(d=arguments.length;c<d;c++)e=arguments[c],"number"===typeof e&&b>e&&(b=e);a.V(b)};d.prototype.$a=function(a){a.V(this.c.$a)};d.prototype.vh=function(a){a.V(this.c.vh)};d.prototype.time=
  255. function(a){a.V(this.c.nf.mb)};d.prototype.uh=function(a){a.ja(this.c.uh)};d.prototype.cq=function(a){a.ja(this.c.cq)};d.prototype.Bs=function(a){a.ja(this.c.Bs)};d.prototype.TL=function(a,b){var c,d,e;if(this.c.Gn.length)if(b){d=0;for(e=this.c.Gn.length;d<e;d++)if(c=this.c.Gn[d],c.name===b){a.ja(c.index);return}a.ja(0)}else c=this.c.Ew(),a.ja(c?c.index:-1);else a.ja(0)};d.prototype.Lh=function(a,b,c,d,e){a.V(Sa(b,c,d,e))};d.prototype.K=function(a,b,c,d,e){a.V(Ha(Na(b,c,d,e)))};d.prototype.nN=function(a){a.V(this.c.lb.scrollY)};
  256. d.prototype.yM=function(a){a.Xa("\n")};d.prototype.OL=function(a,b,c,d){a.V(Ua(b,c,d))};d.prototype.WN=function(a){a.ja(this.c.width)};d.prototype.VN=function(a){a.ja(this.c.height)};d.prototype.UL=function(a,b){a.Xa(la(b)?b.toLowerCase():"")};d.prototype.uJ=function(a,b,c,d){b<c?a.V(c):b>d?a.V(d):a.V(b)};d.prototype.KL=function(a,b){var c=this.c.qp(b);c?a.V(100*c.opacity):a.V(0)};d.prototype.LL=function(a){a.ja(this.c.lb.height)};d.prototype.find=function(a,b,c){la(b)&&la(c)?a.ja(b.search(new RegExp(db(c),
  257. "i"))):a.ja(-1)};d.prototype.left=function(a,b,c){a.Xa(la(b)?b.substr(0,c):"")};d.prototype.right=function(a,b,c){a.Xa(la(b)?b.substr(b.length-c):"")};d.prototype.GN=function(a,b,c,d){la(b)&&la(d)?(b=b.split(d),c=ua(c),0>c||c>=b.length?a.Xa(""):a.Xa(b[c])):a.Xa("")};d.prototype.HN=function(a,b,c){la(b)&&b.length?a.ja(b.split(c).length):a.ja(0)};d.prototype.replace=function(a,b,c,d){la(b)&&la(c)&&la(d)?a.Xa(b.replace(new RegExp(db(c),"gi"),d)):a.Xa(la(b)?b:"")};d.prototype.trim=function(a,b){a.Xa(la(b)?
  258. b.trim():"")};d.prototype.JM=function(a){a.V(ta)};d.prototype.ML=function(a){this.c.lb?a.Xa(this.c.lb.name):a.Xa("")};d.prototype.BB=function(a){var b=ua(Math.random()*(arguments.length-1));a.ri(arguments[b+1])};d.prototype.fw=function(a){a.V(this.c.fw/1E3)};d.prototype.SN=function(a,b){var c=this.c.qp(b);a.V(c?c.Kc:0)};d.prototype.UN=function(a,b){var c=this.c.qp(b);a.V(c?c.Lc:0)};d.prototype.TN=function(a,b){var c=this.c.qp(b);a.V(c?c.od:0)};d.prototype.RN=function(a,b){var c=this.c.qp(b);a.V(c?
  259. c.nd:0)};d.prototype.Wl=function(a){a.V(this.c.Wl)};d.prototype.KN=function(a,b,c,d){a.V(Va(b,c,d))};d.prototype.pL=function(a){this.c.ha?a.V(Math.round(100*this.c.ha.gK()/1048576)/100):a.V(0)};d.prototype.aN=function(a,b,d,e){d=c(d,e);a.ja(b?b.search(d):-1)};d.prototype.$M=function(a,b,d,e,f){d=c(d,e);a.Xa(b?b.replace(d,f):"")};var p=[],t="",v="",w="";d.prototype.ZM=function(a,b,d,f){c(d,f);e(b,d,f);a.ja(p?p.length:0)};d.prototype.YM=function(a,b,d,f,g){g=Math.floor(g);c(d,f);e(b,d,f);!p||0>g||g>=
  260. p.length?a.Xa(""):a.Xa(p[g])};f.H=new d;f.fN=function(){var a,b,c,d,e,f,g=this.c.bd();a=0;for(c=this.tf.length;a<c;a++){d=this.tf[a];if(-1===d.time){if(!d.Ry)continue}else if(d.time>this.c.nf.mb)continue;g.$c=d.hn;g.gf=d.gf;g.ud=0;for(b in d.ef)d.ef.hasOwnProperty(b)&&(e=this.c.qa[parseInt(b,10)].wa(),f=d.ef[b],e.Aa=f.$t,Ca(e.D,f.bj),e=f,e.bj.length=0,q.push(e));d.hn.dN();this.c.$v(d.jb);d.jw=!0}b=a=0;for(c=this.tf.length;a<c;a++)d=this.tf[a],this.tf[b]=d,d.jw?(Xa(d.ef),d.jb.length=0,m.push(d)):b++;
  261. this.tf.length=b}})();
  262. (function(){pb=function(a,b){var d=a[1],e=a[3],f=a[4],g=a[5],h=a[6],l=a[7],n=a[8];b.C||(b.C={});b.G||(b.G={});b.H||(b.H={});var k=b.C,m=b.G,q=b.H;e&&(k.Cz=function(a,b){return dc(this.x,a,b)},k.pF=function(a,b){return dc(this.y,a,b)},k.aG=function(){var a=this.W;this.Jb();var b=this.Yc;return!(b.right<a.Kc||b.bottom<a.Lc||b.left>a.od||b.top>a.nd)},k.Vz=function(){this.Jb();var a=this.Yc,b=this.c.lb;return 0>a.right||0>a.bottom||a.left>b.width||a.top>b.height},k.VG=function(a,b,c){var d=this.wa(),
  263. e=d.qe();if(!e.length)return!1;var f=e[0],g=f,h=Sa(f.x,f.y,b,c),m,l,k;m=1;for(l=e.length;m<l;m++)if(f=e[m],k=Sa(f.x,f.y,b,c),0===a&&k<h||1===a&&k>h)h=k,g=f;d.tm(g);return!0},m.ur=function(a){this.x!==a&&(this.x=a,this.Ea())},m.Cv=function(a){this.y!==a&&(this.y=a,this.Ea())},m.wv=function(a,b){if(this.x!==a||this.y!==b)this.x=a,this.y=b,this.Ea()},m.HH=function(a,b){var c=a.RK(this);if(c){var d;c.Cf?(d=c.Cf(b,!0),c=c.Cf(b,!1)):(d=c.x,c=c.y);if(this.x!==d||this.y!==c)this.x=d,this.y=c,this.Ea()}},
  264. m.vO=function(a){0!==a&&(this.x+=Math.cos(this.K)*a,this.y+=Math.sin(this.K)*a,this.Ea())},m.uO=function(a,b){0!==b&&(this.x+=Math.cos(u(a))*b,this.y+=Math.sin(u(a))*b,this.Ea())},q.So=function(a){a.V(this.x)},q.To=function(a){a.V(this.y)},q.$a=function(a){a.V(this.c.Rh(this))});f&&(k.gO=function(a,b){return dc(this.width,a,b)},k.fO=function(a,b){return dc(this.height,a,b)},m.OA=function(a){this.width!==a&&(this.width=a,this.Ea())},m.xH=function(a){this.height!==a&&(this.height=a,this.Ea())},m.Po=
  265. function(a,b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.Ea()},q.Ar=function(a){a.V(this.width)},q.Eo=function(a){a.V(this.height)},q.XE=function(a){this.Jb();a.V(this.Yc.left)},q.dO=function(a){this.Jb();a.V(this.Yc.top)},q.YE=function(a){this.Jb();a.V(this.Yc.right)},q.cO=function(a){this.Jb();a.V(this.Yc.bottom)});g&&(k.QE=function(a,b){return Oa(this.K,u(b))<=u(a)},k.VF=function(a){return Qa(this.K,u(a))},k.UF=function(a,b){var c=Ma(a),d=Ma(b),e=Ja(this.K);return Qa(d,
  266. c)?Qa(e,c)&&!Qa(e,d):!(!Qa(e,c)&&Qa(e,d))},m.Mo=function(a){a=u(Ia(a));isNaN(a)||this.K===a||(this.K=a,this.Ea())},m.JO=function(a){0===a||isNaN(a)||(this.K+=u(a),this.K=Ja(this.K),this.Ea())},m.KO=function(a){0===a||isNaN(a)||(this.K-=u(a),this.K=Ja(this.K),this.Ea())},m.LO=function(a,b){var c=Pa(this.K,u(b),u(a));isNaN(c)||this.K===c||(this.K=c,this.Ea())},m.MO=function(a,b,c){a=Pa(this.K,Math.atan2(c-this.y,b-this.x),u(a));isNaN(a)||this.K===a||(this.K=a,this.Ea())},m.WO=function(a,b){var c=Math.atan2(b-
  267. this.y,a-this.x);isNaN(c)||this.K===c||(this.K=c,this.Ea())},q.PE=function(a){a.V(La(this.K))});d||(k.Iu=function(a,b,c){return dc(this.ed[a],b,c)},k.Sz=function(a){return this.ed[a]},k.AO=function(a,b){var c=this.wa(),d=c.qe();if(!d.length)return!1;var e=d[0],f=e,g=e.ed[b],h,m,l;h=1;for(m=d.length;h<m;h++)if(e=d[h],l=e.ed[b],0===a&&l<g||1===a&&l>g)g=l,f=e;c.tm(f);return!0},k.pv=function(a){var b,c,d,e,f;if(this.c.ln().Rs){f=this.wa();if(f.Aa)for(f.Aa=!1,f.D.length=0,f.Cb.length=0,d=this.D,b=0,c=
  268. d.length;b<c;b++)e=d[b],e.uid===a?f.Cb.push(e):f.D.push(e);else{d=b=0;for(c=f.D.length;b<c;b++)e=f.D[b],f.D[d]=e,e.uid===a?f.Cb.push(e):d++;f.D.length=d}this.hf();return!!f.D.length}e=this.c.ah(a);if(!e)return!1;f=this.wa();if(!f.Aa&&-1===f.D.indexOf(e))return!1;if(this.Ga)for(a=e.type.Ac,b=0,c=a.length;b<c;b++){if(a[b]===this)return f.tm(e),this.hf(),!0}else if(e.type===this)return f.tm(e),this.hf(),!0;return!1},k.Tj=function(){return!0},k.fA=function(){return!0},m.vv=function(a,b){var c=this.ed;
  269. ka(c[a])?c[a]=ka(b)?b:parseFloat(b):la(c[a])&&(c[a]=la(b)?b:b.toString())},m.JE=function(a,b){var c=this.ed;ka(c[a])?c[a]=ka(b)?c[a]+b:c[a]+parseFloat(b):la(c[a])&&(c[a]=la(b)?c[a]+b:c[a]+b.toString())},m.fI=function(a,b){var c=this.ed;ka(c[a])&&(c[a]=ka(b)?c[a]-b:c[a]-parseFloat(b))},m.OO=function(a,b){this.ed[a]=b?1:0},m.$O=function(a){this.ed[a]=1-this.ed[a]},m.Gd=function(){this.c.Ch(this)},m.hr||(m.hr=function(a){var b,c;try{b=JSON.parse(a)}catch(d){return}this.c.gt(this,b,!0);this.mg&&this.mg();
  270. if(this.eb)for(a=0,b=this.eb.length;a<b;++a)c=this.eb[a],c.mg&&c.mg()}),q.Ju=function(a){var b=a.Vn.D.length,c,d,e;c=0;for(d=this.c.Xg.length;c<d;c++)e=this.c.Xg[c],a.Vn.Ga?0<=e.type.Ac.indexOf(a.Vn)&&b++:e.type===a.Vn&&b++;a.ja(b)},q.WG=function(a){a.ja(a.Vn.wa().qe().length)},q.Hv=function(a){a.ja(this.uid)},q.mO=function(a){a.ja(this.tp())},q.Pj||(q.Pj=function(a){a.Xa(JSON.stringify(this.c.Jy(this,!0)))}));h&&(k.iG=function(){return this.visible},m.MA=function(a){!a!==!this.visible&&(this.visible=
  271. a,this.c.Wa=!0)},k.kF=function(a,b){return dc(lb(100*this.opacity),a,b)},m.HA=function(a){a/=100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.c.Wa=!0)},q.Opacity=function(a){a.V(lb(100*this.opacity))});l&&(k.ZF=function(a){return a?this.W===a:!1},k.BO=function(a){var b=this.wa(),c=b.qe();if(!c.length)return!1;var d=c[0],e=d,f,g;f=1;for(g=c.length;f<g;f++)if(d=c[f],0===a){if(d.W.index>e.W.index||d.W.index===e.W.index&&d.Sh()>e.Sh())e=d}else if(d.W.index<e.W.index||d.W.index===e.W.index&&
  272. d.Sh()<e.Sh())e=d;b.tm(e);return!0},m.Zu=function(){var a=this.W,b=a.D;b.length&&b[b.length-1]===this||(a.co(this,!1),a.cp(this,!1),this.c.Wa=!0)},m.bA=function(){var a=this.W,b=a.D;b.length&&b[0]===this||(a.co(this,!1),a.PM(this),this.c.Wa=!0)},m.cA=function(a){a&&a!=this.W&&(this.W.co(this,!0),this.W=a,a.cp(this,!0),this.c.Wa=!0)},m.Mv=function(a,b){var c=0===a;if(b){var d=b.op(this);d&&d.uid!==this.uid&&(this.W.index!==d.W.index&&(this.W.co(this,!0),this.W=d.W,d.W.cp(this,!0)),this.W.wM(this,d,
  273. c),this.c.Wa=!0)}},q.sO=function(a){a.ja(this.W.kD)},q.rO=function(a){a.Xa(this.W.name)},q.Lv=function(a){a.ja(this.Sh())});n&&(m.PO=function(a,b){if(this.c.ha){var c=this.type.Gw(b);if(!(0>c)){var d=1===a;this.Zj[c]!==d&&(this.Zj[c]=d,this.Kj(),this.c.Wa=!0)}}},m.QO=function(a,b,c){if(this.c.ha){var d=this.type.Gw(a);0>d||(a=this.type.ab[d],d=this.Pc[d],b=Math.floor(b),0>b||b>=d.length||(1===this.c.ha.VK(a.ue,b)&&(c/=100),d[b]!==c&&(d[b]=c,a.ea&&(this.c.Wa=!0))))}})};Jb=function(){this.Xv=this.Vv=
  274. !0;this.type.Fr=!0;this.c.Wa=!0;var a,b,d=this.Wv;a=0;for(b=d.length;a<b;++a)d[a](this);this.W.wh&&this.Jb()};Kb=function(a){a&&this.Wv.push(a)};Mb=function(){if(this.Vv){var a=this.Yc,b=this.nc;a.set(this.x,this.y,this.x+this.width,this.y+this.height);a.offset(-this.Ue*this.width,-this.Ve*this.height);this.K?(a.offset(-this.x,-this.y),b.ZD(a,this.K),b.offset(this.x,this.y),b.uB(a)):b.wq(a);a.normalize();this.Vv=!1;this.MN()}};var a=new ya(0,0,0,0);Nb=function(){if(this.W.wh){var c=this.W.Jf,b=this.Yc;
  275. a.set(c.Of(b.left),c.Pf(b.top),c.Of(b.right),c.Pf(b.bottom));this.rf.ts(a)||(this.rf.right<this.rf.left?c.update(this,null,a):c.update(this,this.rf,a),this.rf.cs(a),this.W.Cj=!0)}};Ob=function(){if(this.Xv&&this.Pi){this.Jb();var c=this.type.Wr,b=this.Yc;a.set(c.Of(b.left),c.Pf(b.top),c.Of(b.right),c.Pf(b.bottom));this.hk.ts(a)||(this.hk.right<this.hk.left?c.update(this,null,a):c.update(this,this.hk,a),this.hk.cs(a),this.Xv=!1)}};Lb=function(a,b){return this.Yc.Be(a,b)&&this.nc.Be(a,b)?this.qb&&!this.qb.Kl()?
  276. (this.qb.jl(this.width,this.height,this.K),this.qb.Be(a-this.x,b-this.y)):!0:!1};Fb=function(){this.type.Fu();return this.Dl};Pb=function(){this.W.hz();return this.zh};Qb=function(){this.Kb.length=0;var a,b;a=0;for(b=this.Zj.length;a<b;a++)this.Zj[a]&&this.Kb.push(this.type.ab[a]);this.DE=!!this.Kb.length};Gb=function(){return"Inst"+this.KD};sb=function(a){if(a&&a.be&&a.type!=this){var b,d,e;b=0;for(d=a.siblings.length;b<d;b++)if(e=a.siblings[b],e.type==this)return e}a=this.wa().qe();return a.length?
  277. a[0]:null};tb=function(a){var b=this.wa().qe();return b.length?b[a.tp()%b.length]:null};rb=function(){if(this.io&&!this.Ga){var a,b;a=0;for(b=this.D.length;a<b;a++)this.D[a].Dl=a;var d=a,e=this.c.Xg;a=0;for(b=e.length;a<b;++a)e[a].type===this&&(e[a].Dl=d++);this.io=!1}};Db=function(a){if(a<this.D.length)return this.D[a];a-=this.D.length;var b=this.c.Xg,d,e;d=0;for(e=b.length;d<e;++d)if(b[d].type===this){if(0===a)return b[d];--a}return null};ub=function(){return this.Ok[this.Ti]};vb=function(){this.Ti++;
  278. this.Ti===this.Ok.length?this.Ok.push(new qb(this)):this.Ok[this.Ti].Aa=!0};wb=function(){this.Ti++;this.Ti===this.Ok.length&&this.Ok.push(new qb(this));var a=this.Ok[this.Ti],b=this.Ok[this.Ti-1];b.Aa?a.Aa=!0:(a.Aa=!1,Ca(a.D,b.D),Ca(a.Cb,b.Cb))};xb=function(){this.Ti--};yb=function(a){var b,d,e,f,g,h=0;if(!this.Ga)for(b=0,d=this.Ac.length;b<d;b++)for(g=this.Ac[b],e=0,f=g.td.length;e<f;e++){if(a===g.td[e].name)return this.ra.lastBehIndex=h,g.td[e];h++}b=0;for(d=this.td.length;b<d;b++){if(a===this.td[b].name)return this.ra.lastBehIndex=
  279. h,this.td[b];h++}return null};Ab=function(a){return this.Hs(a)?this.ra.lastBehIndex:-1};Bb=function(a){var b,d;b=0;for(d=this.ab.length;b<d;b++)if(this.ab[b].name===a)return b;return-1};Cb=function(){if(this.be&&!this.Ga){var a,b,d,e,f,g,h;this.Fu();g=this.wa();var l=g.Aa,n=(a=this.c.bd())&&a.$c&&a.$c.Cg;a=0;for(b=this.Af.length;a<b;a++)if(f=this.Af[a],f!==this&&(f.Fu(),h=f.wa(),h.Aa=l,!l)){h.D.length=g.D.length;d=0;for(e=g.D.length;d<e;d++)h.D[d]=f.aC(g.D[d].Dl);if(n)for(h.Cb.length=g.Cb.length,
  280. d=0,e=g.Cb.length;d<e;d++)h.Cb[d]=f.aC(g.Cb[d].Dl)}}};Eb=function(){return"Type"+this.zb};dc=function(a,b,d){if("undefined"===typeof a||"undefined"===typeof d)return!1;switch(b){case 0:return a===d;case 1:return a!==d;case 2:return a<d;case 3:return a<=d;case 4:return a>d;case 5:return a>=d;default:return!1}}})();var sc={};function vc(a){this.c=a}
  281. (function(){function a(){return h.length?h.pop():[]}function c(a){var b,d;b=0;for(d=a.length;b<d;b++)Array.isArray(a[b])&&c(a[b]);a.length=0;h.push(a)}function b(){}function d(){}function e(){}var f=vc.prototype;f.ua=function(a){this.Da=a;this.c=a.c};f.ua.prototype.ka=function(){};f.la=function(a){this.type=a;this.c=a.c};var g=f.la.prototype,h=[];Array.isArray||(Array.isArray=function(a){return"[object Array]"===Object.prototype.toString.call(a)});g.ka=function(){this.Zb=this.T[0];this.zc=this.T[1];
  282. this.Jc=this.T[2];this.ke||(this.Re=a());var b=this.Re;b.length=this.Zb;var c,d,e;for(c=0;c<this.Zb;c++)for(b[c]||(b[c]=a()),b[c].length=this.zc,d=0;d<this.zc;d++)for(b[c][d]||(b[c][d]=a()),b[c][d].length=this.Jc,e=0;e<this.Jc;e++)b[c][d][e]=0};g.wj=function(){var a;for(a=0;a<this.Zb;a++)c(this.Re[a]);this.Re.length=0};g.Vg=function(a,b,c){a=Math.floor(a);b=Math.floor(b);c=Math.floor(c);return isNaN(a)||0>a||a>this.Zb-1||isNaN(b)||0>b||b>this.zc-1||isNaN(c)||0>c||c>this.Jc-1?0:this.Re[a][b][c]};g.set=
  283. function(a,b,c,d){a=Math.floor(a);b=Math.floor(b);c=Math.floor(c);isNaN(a)||0>a||a>this.Zb-1||isNaN(b)||0>b||b>this.zc-1||isNaN(c)||0>c||c>this.Jc-1||(this.Re[a][b][c]=d)};g.YB=function(){return JSON.stringify({c2array:!0,size:[this.Zb,this.zc,this.Jc],data:this.Re})};g.kc=function(){return{size:[this.Zb,this.zc,this.Jc],data:this.Re}};g.Bc=function(a){var b=a.size;this.Zb=b[0];this.zc=b[1];this.Jc=b[2];this.Re=a.data};g.Lk=function(b,c,d){0>b&&(b=0);0>c&&(c=0);0>d&&(d=0);if(this.Zb!==b||this.zc!==
  284. c||this.Jc!==d){this.Zb=b;this.zc=c;this.Jc=d;var e,f,g=this.Re;g.length=b;for(b=0;b<this.Zb;b++)for(ja(g[b])&&(g[b]=a()),g[b].length=c,e=0;e<this.zc;e++)for(ja(g[b][e])&&(g[b][e]=a()),g[b][e].length=d,f=0;f<this.Jc;f++)ja(g[b][e][f])&&(g[b][e][f]=0)}};b.prototype.Cz=function(a,b,c){return dc(this.Vg(a,0,0),b,c)};g.eP=function(a){this.c.Bj(a.jb);a.pi();this.c.Gg(a.jb)};b.prototype.zo=function(a){var b,c,d;for(b=0;b<this.Zb;b++)for(c=0;c<this.zc;c++)for(d=0;d<this.Jc;d++)if(this.Re[b][c][d]===a)return!0;
  285. return!1};b.prototype.Wu=function(){return 0===this.Zb||0===this.zc||0===this.Jc};b.prototype.mF=function(a,b,c){var d=0;switch(a){case 0:d=this.Zb;break;case 1:d=this.zc;break;case 2:d=this.Jc}return dc(d,b,c)};f.C=new b;d.prototype.Fm=function(){var a,b,c;for(a=0;a<this.Zb;a++)for(b=0;b<this.zc;b++)for(c=0;c<this.Jc;c++)this.Re[a][b][c]=0};d.prototype.Po=function(a,b,c){this.Lk(a,b,c)};d.prototype.ur=function(a,b){this.set(a,0,0,b)};d.prototype.dH=function(b,c,d){var e=0,f=0,g=0,h=this.Re;switch(d){case 0:0===
  286. b?(e=h.length,h.push(a())):(e=0,h.unshift(a()));for(h[e].length=this.zc;f<this.zc;f++)for(h[e][f]=a(),h[e][f].length=this.Jc,g=0;g<this.Jc;g++)h[e][f][g]=c;this.Zb++;break;case 1:for(;e<this.Zb;e++)for(0===b?(f=h[e].length,h[e].push(a())):(f=0,h[e].unshift(a())),h[e][f].length=this.Jc,g=0;g<this.Jc;g++)h[e][f][g]=c;this.zc++;break;case 2:for(;e<this.Zb;e++)for(f=0;f<this.zc;f++)0===b?h[e][f].push(c):h[e][f].unshift(c);this.Jc++}};d.prototype.qr=function(a){var b=0,c=0,d=this.Re;if(0!==this.Zb&&0!==
  287. this.zc&&0!==this.Jc)switch(a){case 0:d.reverse();break;case 1:for(;b<this.Zb;b++)d[b].reverse();break;case 2:for(;b<this.Zb;b++)for(c=0;c<this.zc;c++)d[b][c].reverse();this.Jc--}};d.prototype.vF=function(a,b){var d=0,e=0;a=Math.floor(a);var f=this.Re;if(!(0>a))switch(b){case 0:if(a>=this.Zb)break;c(f[a]);f.splice(a,1);this.Zb--;break;case 1:if(a>=this.zc)break;for(;d<this.Zb;d++)c(f[d][a]),f[d].splice(a,1);this.zc--;break;case 2:if(a>=this.Jc)break;for(;d<this.Zb;d++)for(e=0;e<this.zc;e++)f[d][e].splice(a,
  288. 1);this.Jc--}};d.prototype.Fo=function(a){var b;try{b=JSON.parse(a)}catch(c){return}b.c2array&&(a=b.size,this.Zb=a[0],this.zc=a[1],this.Jc=a[2],this.Re=b.data)};f.G=new d;e.prototype.WE=function(a,b,c,d){a.ri(this.Vg(b,c||0,d||0))};e.prototype.Ar=function(a){a.ja(this.Zb)};e.prototype.Eo=function(a){a.ja(this.zc)};e.prototype.SF=function(a,b){for(var c=0;c<this.Zb;c++)if(this.Re[c][0][0]===b){a.ja(c);return}a.ja(-1)};e.prototype.Pj=function(a){a.Xa(this.YB())};f.H=new e})();
  289. function wc(a){this.c=a}
  290. (function(){function a(a){a=Math.pow(10,a/20);0>a&&(a=0);1<a&&(a=1);return a}function c(a){0>a&&(a=0);1<a&&(a=1);return Math.log(a)/Math.log(10)*20}function b(a){a=a.toLowerCase();return oa.hasOwnProperty(a)&&oa[a].length?oa[a][0].Tf():D.destination}function d(){return D.createGain?D.createGain():D.createGainNode()}function e(a){return D.createDelay?D.createDelay(a):D.createDelayNode(a)}function f(a){a.start?a.start(0):a.noteOn(0)}function g(a,b,c){a.start?a.start(0,b):a.noteGrainOn(0,b,c-b)}function h(a){try{a.stop?
  291. a.stop(0):a.noteOff(0)}catch(b){}}function l(a,b,c,e,f,g){this.type="filter";this.xb=[a,b,c,e,f,g];this.Eb=d();this.Ya=d();this.Ya.gain.value=g;this.Qa=d();this.Qa.gain.value=1-g;this.xd=D.createBiquadFilter();this.xd.type="number"===typeof this.xd.type?a:Yf[a];this.xd.frequency.value=b;this.xd.detune&&(this.xd.detune.value=c);this.xd.Q.value=e;this.xd.gain.value=f;this.Eb.connect(this.xd);this.Eb.connect(this.Qa);this.xd.connect(this.Ya)}function n(a,b,c){this.type="delay";this.xb=[a,b,c];this.Eb=
  292. d();this.Ya=d();this.Ya.gain.value=c;this.Qa=d();this.Qa.gain.value=1-c;this.aq=d();this.sg=e(a);this.sg.delayTime.value=a;this.os=d();this.os.gain.value=b;this.Eb.connect(this.aq);this.Eb.connect(this.Qa);this.aq.connect(this.Ya);this.aq.connect(this.sg);this.sg.connect(this.os);this.os.connect(this.aq)}function k(a,b,c,e){this.type="convolve";this.xb=[b,c,e];this.Eb=d();this.Ya=d();this.Ya.gain.value=c;this.Qa=d();this.Qa.gain.value=1-c;this.ml=D.createConvolver();a&&(this.ml.normalize=b,this.ml.buffer=
  293. a);this.Eb.connect(this.ml);this.Eb.connect(this.Qa);this.ml.connect(this.Ya)}function m(a,b,c,g,h){this.type="flanger";this.xb=[a,b,c,g,h];this.Eb=d();this.Qa=d();this.Qa.gain.value=1-h/2;this.Ya=d();this.Ya.gain.value=h/2;this.xs=d();this.xs.gain.value=g;this.sg=e(a+b);this.sg.delayTime.value=a;this.ie=D.createOscillator();this.ie.frequency.value=c;this.If=d();this.If.gain.value=b;this.Eb.connect(this.sg);this.Eb.connect(this.Qa);this.sg.connect(this.Ya);this.sg.connect(this.xs);this.xs.connect(this.sg);
  294. this.ie.connect(this.If);this.If.connect(this.sg.delayTime);f(this.ie)}function q(a,b,c,e,g,h){this.type="phaser";this.xb=[a,b,c,e,g,h];this.Eb=d();this.Qa=d();this.Qa.gain.value=1-h/2;this.Ya=d();this.Ya.gain.value=h/2;this.xd=D.createBiquadFilter();this.xd.type="number"===typeof this.xd.type?7:"allpass";this.xd.frequency.value=a;this.xd.detune&&(this.xd.detune.value=b);this.xd.Q.value=c;this.ie=D.createOscillator();this.ie.frequency.value=g;this.If=d();this.If.gain.value=e;this.Eb.connect(this.xd);
  295. this.Eb.connect(this.Qa);this.xd.connect(this.Ya);this.ie.connect(this.If);this.If.connect(this.xd.frequency);f(this.ie)}function p(a){this.type="gain";this.xb=[a];this.Ib=d();this.Ib.gain.value=a}function t(a,b){this.type="tremolo";this.xb=[a,b];this.Ib=d();this.Ib.gain.value=1-b/2;this.ie=D.createOscillator();this.ie.frequency.value=a;this.If=d();this.If.gain.value=b/2;this.ie.connect(this.If);this.If.connect(this.Ib.gain);f(this.ie)}function v(a,b){this.type="ringmod";this.xb=[a,b];this.Eb=d();
  296. this.Ya=d();this.Ya.gain.value=b;this.Qa=d();this.Qa.gain.value=1-b;this.rq=d();this.rq.gain.value=0;this.ie=D.createOscillator();this.ie.frequency.value=a;this.ie.connect(this.rq.gain);f(this.ie);this.Eb.connect(this.rq);this.Eb.connect(this.Qa);this.rq.connect(this.Ya)}function w(a,b,c,e,f){this.type="distortion";this.xb=[a,b,c,e,f];this.Eb=d();this.Nt=d();this.Mt=d();this.oN(c,Math.pow(10,e/20));this.Ya=d();this.Ya.gain.value=f;this.Qa=d();this.Qa.gain.value=1-f;this.Gu=D.createWaveShaper();this.ks=
  297. new Float32Array(65536);this.JK(a,b);this.Gu.ks=this.ks;this.Eb.connect(this.Nt);this.Eb.connect(this.Qa);this.Nt.connect(this.Gu);this.Gu.connect(this.Mt);this.Mt.connect(this.Ya)}function s(a,b,c,d,e){this.type="compressor";this.xb=[a,b,c,d,e];this.Ib=D.createDynamicsCompressor();try{this.Ib.threshold.value=a,this.Ib.knee.value=b,this.Ib.ratio.value=c,this.Ib.attack.value=d,this.Ib.release.value=e}catch(f){}}function O(a,b){this.type="analyser";this.xb=[a,b];this.Ib=D.createAnalyser();this.Ib.fftSize=
  298. a;this.Ib.smoothingTimeConstant=b;this.HK=new Float32Array(this.Ib.frequencyBinCount);this.bE=new Uint8Array(a);this.lq=0}function L(){this.Ua=null;this.it=0;this.Pk=[];this.cy=this.$s=this.Zs=0}function z(a,b){this.src=a;this.wb=N;this.eh=b;this.iB=!1;var c=this;this.ay=this.ny=null;this.$n=[];this.au=0;this.qz=this.rw=this.hE=this.Ht=!1;1===N&&b&&(this.wb=0,this.ny=d());this.gl=this.Tb=null;var e;switch(this.wb){case 0:this.Tb=new Audio;this.Tb.addEventListener("canplaythrough",function(){c.qz=
  299. !0});1===N&&D.createMediaElementSource&&!/wiiu/i.test(navigator.userAgent)&&(this.hE=!0,this.Tb.addEventListener("canplay",function(){c.ay||(c.ay=D.createMediaElementSource(c.Tb),c.ay.connect(c.ny))}));this.Tb.autoplay=!1;this.Tb.qP="auto";this.Tb.src=a;break;case 1:e=new XMLHttpRequest;e.open("GET",a,!0);e.responseType="arraybuffer";e.onload=function(){c.gl=e.response;c.zJ()};e.onerror=function(){c.rw=!0};e.send();break;case 2:this.Tb=!0;break;case 3:this.Tb=!0}}function B(a,c){var e=this;this.tag=
  300. c;this.lc=this.Ph=!0;this.src=a.src;this.buffer=a;this.wb=N;this.eh=a.eh;this.playbackRate=1;this.qy=!0;this.wg=this.Dj=!1;this.sf=0;this.Ep=this.un=this.Yh=!1;this.volume=1;this.Jl=1===U&&!this.eh||2===U;this.Sn=1;this.startTime=this.Jl?I.nf.mb:I.Ai.mb;this.gd=this.yd=null;this.hi=!1;this.fd=null;this.yD=this.xD=this.wD=this.vD=this.AD=this.zD=0;this.Z=null;var f=!1;1!==this.wb||0!==this.buffer.wb||this.buffer.hE||(this.wb=0);switch(this.wb){case 0:this.eh?(this.Z=a.Tb,f=!a.iB,a.iB=!0):(this.Z=new Audio,
  301. this.Z.autoplay=!1,this.Z.src=a.Tb.src,f=!0);f&&this.Z.addEventListener("ended",function(){ha=e.tag;e.lc=!0;I.trigger(wc.prototype.C.dv,R)});break;case 1:this.yd=d();this.yd.connect(b(c));1===this.buffer.wb?a.Tb&&(this.Z=D.createBufferSource(),this.Z.buffer=a.Tb,this.Z.connect(this.yd)):(this.Z=this.buffer.Tb,this.buffer.ny.connect(this.yd));break;case 2:this.Z=new window.Media(ga+this.src,null,null,function(a){a===window.Media.MEDIA_STOPPED&&(e.qy=!0,e.lc=!0,ha=e.tag,I.trigger(wc.prototype.C.dv,
  302. R))});break;case 3:this.Z=!0}}function M(a,b){var c=a.gj()?1:0,d=b.gj()?1:0;return c===d?0:c<d?1:-1}function F(a,b){na.length=0;if(a.length){var c,d,e;c=0;for(d=H.length;c<d;c++)e=H[c],mb(a,e.tag)&&na.push(e);b&&na.sort(M)}else Q&&!Q.Cl()&&(na.length=1,na[0]=Q)}function E(a,b){oa.hasOwnProperty(a)?oa[a].push(b):oa[a]=[b];var c,d,e,f,g=D.destination;if(oa.hasOwnProperty(a)&&(e=oa[a],e.length))for(g=e[0].Tf(),c=0,d=e.length;c<d;c++)f=e[c],c+1===d?f.pg(D.destination):f.pg(e[c+1].Tf());F(a);c=0;for(d=
  303. na.length;c<d;c++)na[c].XM(g);zb&&ud===a&&(zb.disconnect(),zb.connect(g))}function y(){}function K(){}function T(){}var Y=wc.prototype;Y.ua=function(a){this.Da=a;this.c=a.c};Y.ua.prototype.ka=function(){};var I=null,R=null,ha="",ga="",N=0,D=null,G=[],H=[],Q=null,ba=!1,U=0,X=!1,Z=1,Ka=0,xa=0,gb=1,hb=1,$e=10,af=1E4,bf=1,zb=null,ud="",ec=!1,fc=[],oa={},Yf="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");l.prototype.pg=function(a){this.Ya.disconnect();this.Ya.connect(a);
  304. this.Qa.disconnect();this.Qa.connect(a)};l.prototype.remove=function(){this.Eb.disconnect();this.xd.disconnect();this.Ya.disconnect();this.Qa.disconnect()};l.prototype.Tf=function(){return this.Eb};n.prototype.pg=function(a){this.Ya.disconnect();this.Ya.connect(a);this.Qa.disconnect();this.Qa.connect(a)};n.prototype.remove=function(){this.Eb.disconnect();this.aq.disconnect();this.sg.disconnect();this.os.disconnect();this.Ya.disconnect();this.Qa.disconnect()};n.prototype.Tf=function(){return this.Eb};
  305. k.prototype.pg=function(a){this.Ya.disconnect();this.Ya.connect(a);this.Qa.disconnect();this.Qa.connect(a)};k.prototype.remove=function(){this.Eb.disconnect();this.ml.disconnect();this.Ya.disconnect();this.Qa.disconnect()};k.prototype.Tf=function(){return this.Eb};m.prototype.pg=function(a){this.Qa.disconnect();this.Qa.connect(a);this.Ya.disconnect();this.Ya.connect(a)};m.prototype.remove=function(){this.Eb.disconnect();this.sg.disconnect();this.ie.disconnect();this.If.disconnect();this.Qa.disconnect();
  306. this.Ya.disconnect();this.xs.disconnect()};m.prototype.Tf=function(){return this.Eb};q.prototype.pg=function(a){this.Qa.disconnect();this.Qa.connect(a);this.Ya.disconnect();this.Ya.connect(a)};q.prototype.remove=function(){this.Eb.disconnect();this.xd.disconnect();this.ie.disconnect();this.If.disconnect();this.Qa.disconnect();this.Ya.disconnect()};q.prototype.Tf=function(){return this.Eb};p.prototype.pg=function(a){this.Ib.disconnect();this.Ib.connect(a)};p.prototype.remove=function(){this.Ib.disconnect()};
  307. p.prototype.Tf=function(){return this.Ib};t.prototype.pg=function(a){this.Ib.disconnect();this.Ib.connect(a)};t.prototype.remove=function(){this.ie.disconnect();this.If.disconnect();this.Ib.disconnect()};t.prototype.Tf=function(){return this.Ib};v.prototype.pg=function(a){this.Ya.disconnect();this.Ya.connect(a);this.Qa.disconnect();this.Qa.connect(a)};v.prototype.remove=function(){this.ie.disconnect();this.rq.disconnect();this.Eb.disconnect();this.Ya.disconnect();this.Qa.disconnect()};v.prototype.Tf=
  308. function(){return this.Eb};w.prototype.oN=function(a,b){.01>a&&(a=.01);this.Nt.gain.value=a;this.Mt.gain.value=Math.pow(1/a,.6)*b};w.prototype.shape=function(a,b,c){var d=1.05*c*b-b;c=0>a?-1:1;a=0>a?-a:a;b=a<b?a:b+d*(1-Math.exp(-(1/d)*(a-b)));return b*c};w.prototype.JK=function(a,b){for(var c=Math.pow(10,a/20),d=Math.pow(10,b/20),e=0,f=0;32768>f;++f)e=f/32768,e=this.shape(e,c,d),this.ks[32768+f]=e,this.ks[32768-f-1]=-e};w.prototype.pg=function(a){this.Ya.disconnect();this.Ya.connect(a);this.Qa.disconnect();
  309. this.Qa.connect(a)};w.prototype.remove=function(){this.Eb.disconnect();this.Nt.disconnect();this.Gu.disconnect();this.Mt.disconnect();this.Ya.disconnect();this.Qa.disconnect()};w.prototype.Tf=function(){return this.Eb};s.prototype.pg=function(a){this.Ib.disconnect();this.Ib.connect(a)};s.prototype.remove=function(){this.Ib.disconnect()};s.prototype.Tf=function(){return this.Ib};O.prototype.sc=function(){this.Ib.getFloatFrequencyData(this.HK);this.Ib.getByteTimeDomainData(this.bE);for(var a=this.Ib.fftSize,
  310. b=0,d=this.lq=0,e=0;b<a;b++)e=(this.bE[b]-128)/128,0>e&&(e=-e),this.lq<e&&(this.lq=e),d+=e*e;this.lq=c(this.lq);c(Math.sqrt(d/a))};O.prototype.pg=function(a){this.Ib.disconnect();this.Ib.connect(a)};O.prototype.remove=function(){this.Ib.disconnect()};O.prototype.Tf=function(){return this.Ib};L.prototype.uq=function(a){if(this.Ua=a)this.Zs=this.Ua.x,this.$s=this.Ua.y;this.Pk.length=0};L.prototype.Ns=function(){return!!this.Ua};L.prototype.sc=function(a){this.Ua&&0!==a&&(this.cy=Na(this.Zs,this.$s,
  311. this.Ua.x,this.Ua.y),a=Sa(this.Zs,this.$s,this.Ua.x,this.Ua.y)/a,4>this.Pk.length||this.Pk.shift(),this.Pk.push(a),this.Zs=this.Ua.x,this.$s=this.Ua.y)};L.prototype.eC=function(){if(!this.Pk.length)return 0;var a,b,c=0;a=0;for(b=this.Pk.length;a<b;a++)c+=this.Pk[a];return c/this.Pk.length};L.prototype.Jw=function(){return Math.cos(this.cy)*this.eC()};L.prototype.Kw=function(){return Math.sin(this.cy)*this.eC()};var cf=!1;z.prototype.zJ=function(){if(!this.Tb&&this.gl){var a=this;if(D.decodeAudioData)D.decodeAudioData(this.gl,
  312. function(b){a.Tb=b;a.gl=null;var c,d,e;if(ja(a.Jt)||X)ja(a.bs)||(c=a.bs.ml,c.normalize=a.jD,c.buffer=b);else if(a.$n.length){c=0;for(d=a.$n.length;c<d;c++){b=a.$n[c];e=new B(a,b.nE);e.fu(!0);if("undefined"!==typeof b.lD&&(b.Ua=I.ah(b.lD),!b.Ua))continue;if(b.Ua){var f=Ra(b.Ua.x,b.Ua.y,-b.Ua.W.$d(),Ka,xa,!0),g=Ra(b.Ua.x,b.Ua.y,-b.Ua.W.$d(),Ka,xa,!1);e.My(f,g,Ha(b.Ua.K-b.Ua.W.$d()),b.Rw,b.fy,b.iy);e.uq(b.Ua)}else e.My(b.x,b.y,b.P,b.Rw,b.fy,b.iy);e.play(a.Fx,a.oz,a.au);a.Ht&&e.pause();H.push(e)}a.$n.length=
  313. 0}else e=new B(a,a.Jt),e.play(a.Fx,a.oz,a.au),a.Ht&&e.pause(),H.push(e)},function(){a.rw=!0});else if(this.Tb=D.createBuffer(this.gl,!1),this.gl=null,ja(this.Jt)||X)ja(this.bs)||(b=this.bs.ml,b.normalize=this.jD,b.buffer=this.Tb);else{var b=new B(this,this.Jt);b.play(this.Fx,this.oz,this.au);this.Ht&&b.pause();H.push(b)}}};z.prototype.sC=function(){switch(this.wb){case 0:var a=4<=this.Tb.readyState;a&&(this.qz=!0);return a||this.qz;case 1:return!!this.gl||!!this.Tb;case 2:return!0;case 3:return!0}return!1};
  314. z.prototype.tC=function(){switch(this.wb){case 0:return this.sC();case 1:return!!this.Tb;case 2:return!0;case 3:return!0}return!1};z.prototype.iC=function(){switch(this.wb){case 0:return!!this.Tb.error;case 1:return this.rw}return!1};B.prototype.Cl=function(){var a;switch(this.wb){case 0:return this.Z.ended;case 1:if(1===this.buffer.wb){if(!this.Ph&&!this.lc&&this.Z.loop||this.wg)return!1;a=this.Jl?I.nf.mb:I.Ai.mb;return a-this.startTime>this.buffer.Tb.duration}return this.Z.ended;case 2:return this.qy;
  315. case 3:!0}return!0};B.prototype.sJ=function(){return this.Ph||this.lc?!0:this.Cl()};B.prototype.fu=function(a){1===N&&(!this.hi&&a?this.yd&&(this.gd||(this.gd=D.createPanner(),this.gd.panningModel="number"===typeof this.gd.panningModel?gb:["equalpower","HRTF","soundfield"][gb],this.gd.distanceModel="number"===typeof this.gd.distanceModel?hb:["linear","inverse","exponential"][hb],this.gd.refDistance=$e,this.gd.maxDistance=af,this.gd.rolloffFactor=bf),this.yd.disconnect(),this.yd.connect(this.gd),this.gd.connect(b(this.tag)),
  316. this.hi=!0):this.hi&&!a&&this.yd&&(this.gd.disconnect(),this.yd.disconnect(),this.yd.connect(b(this.tag)),this.hi=!1))};B.prototype.My=function(a,b,c,d,e,f){this.hi&&1===N&&(this.gd.setPosition(a,b,0),this.gd.setOrientation(Math.cos(u(c)),Math.sin(u(c)),0),this.gd.coneInnerAngle=d,this.gd.coneOuterAngle=e,this.gd.coneOuterGain=f,this.zD=a,this.AD=b,this.vD=c,this.wD=d,this.xD=e,this.yD=f)};B.prototype.uq=function(a){this.hi&&1===N&&(this.fd||(this.fd=new L),this.fd.uq(a))};B.prototype.sc=function(a){if(this.hi&&
  317. 1===N&&this.fd&&this.fd.Ns()&&this.gj()){this.fd.sc(a);a=this.fd.Ua;var b=Ra(a.x,a.y,-a.W.$d(),Ka,xa,!0),c=Ra(a.x,a.y,-a.W.$d(),Ka,xa,!1);this.gd.setPosition(b,c,0);b=0;"undefined"!==typeof this.fd.Ua.K&&(b=a.K-a.W.$d(),this.gd.setOrientation(Math.cos(b),Math.sin(b),0));b=Ra(this.fd.Jw(),this.fd.Kw(),-a.W.$d(),0,0,!0);c=Ra(this.fd.Jw(),this.fd.Kw(),-a.W.$d(),0,0,!1);this.gd.setVelocity(b,c,0)}};B.prototype.play=function(a,b,c){var d=this.Z;this.Yh=a;this.volume=b;c=c||0;switch(this.wb){case 0:1!==
  318. d.playbackRate&&(d.playbackRate=1);d.volume!==b*Z&&(d.volume=b*Z);d.loop!==a&&(d.loop=a);d.muted&&(d.muted=!1);if(d.currentTime!==c)try{d.currentTime=c}catch(e){}if(this.eh&&ec&&!I.Uh)fc.push(this);else try{this.Z.play()}catch(h){console&&console.log&&console.log("[C2] WARNING: exception trying to play audio '"+this.buffer.src+"': ",h)}break;case 1:this.muted=!1;this.Sn=1;if(1===this.buffer.wb)this.Ph||(this.Z=D.createBufferSource(),this.Z.buffer=this.buffer.Tb,this.Z.connect(this.yd)),this.Z.loop=
  319. a,this.yd.gain.value=b*Z,0===c?f(this.Z):g(this.Z,c,this.ok());else{1!==d.playbackRate&&(d.playbackRate=1);d.loop!==a&&(d.loop=a);this.yd.gain.value=b*Z;if(d.currentTime!==c)try{d.currentTime=c}catch(m){}this.eh&&ec&&!I.Uh?fc.push(this):d.play()}break;case 2:(!this.Ph&&this.lc||0!==c)&&d.seekTo(c);d.play();this.qy=!1;break;case 3:I.ae?AppMobi.context.playSound(this.src,a):AppMobi.player.playSound(this.src,a)}this.playbackRate=1;this.startTime=(this.Jl?I.nf.mb:I.Ai.mb)-c;this.wg=this.lc=this.Ph=!1};
  320. B.prototype.stop=function(){switch(this.wb){case 0:this.Z.paused||this.Z.pause();break;case 1:1===this.buffer.wb?h(this.Z):this.Z.paused||this.Z.pause();break;case 2:this.Z.stop();break;case 3:I.ae&&AppMobi.context.stopSound(this.src)}this.lc=!0;this.wg=!1};B.prototype.pause=function(){if(!(this.Ph||this.lc||this.Cl()||this.wg)){switch(this.wb){case 0:this.Z.paused||this.Z.pause();break;case 1:1===this.buffer.wb?(this.sf=this.Hw(),this.Yh&&(this.sf%=this.ok()),h(this.Z)):this.Z.paused||this.Z.pause();
  321. break;case 2:this.Z.pause();break;case 3:I.ae&&AppMobi.context.stopSound(this.src)}this.wg=!0}};B.prototype.PD=function(){if(!(this.Ph||this.lc||this.Cl())&&this.wg){switch(this.wb){case 0:this.Z.play();break;case 1:1===this.buffer.wb?(this.Z=D.createBufferSource(),this.Z.buffer=this.buffer.Tb,this.Z.connect(this.yd),this.Z.loop=this.Yh,this.yd.gain.value=Z*this.volume*this.Sn,this.startTime=(this.Jl?I.nf.mb:I.Ai.mb)-this.sf,g(this.Z,this.sf,this.ok())):this.Z.play();break;case 2:this.Z.play();break;
  322. case 3:I.ae&&AppMobi.context.resumeSound(this.src)}this.wg=!1}};B.prototype.seek=function(a){if(!(this.Ph||this.lc||this.Cl()))switch(this.wb){case 0:try{this.Z.currentTime=a}catch(b){}break;case 1:if(1===this.buffer.wb)this.wg?this.sf=a:(this.pause(),this.sf=a,this.PD());else try{this.Z.currentTime=a}catch(c){}break;case 3:I.ae&&AppMobi.context.seekSound(this.src,a)}};B.prototype.XM=function(a){1===this.wb&&(this.hi?(this.gd.disconnect(),this.gd.connect(a)):(this.yd.disconnect(),this.yd.connect(a)))};
  323. B.prototype.ok=function(){switch(this.wb){case 0:if("undefined"!==typeof this.Z.duration)return this.Z.duration;break;case 1:return this.buffer.Tb.duration;case 2:return this.Z.getDuration();case 3:if(I.ae)return AppMobi.context.getDurationSound(this.src)}return 0};B.prototype.Hw=function(){var a=this.ok(),b=0;switch(this.wb){case 0:"undefined"!==typeof this.Z.currentTime&&(b=this.Z.currentTime);break;case 1:if(1===this.buffer.wb){if(this.wg)return this.sf;b=(this.Jl?I.nf.mb:I.Ai.mb)-this.startTime}else"undefined"!==
  324. typeof this.Z.currentTime&&(b=this.Z.currentTime);break;case 3:I.ae&&(b=AppMobi.context.getPlaybackTimeSound(this.src))}!this.Yh&&b>a&&(b=a);return b};B.prototype.gj=function(){return!this.wg&&!this.Ph&&!this.lc&&!this.Cl()};B.prototype.sN=function(a){this.volume=a;this.AE()};B.prototype.AE=function(){var a=this.volume*Z;switch(this.wb){case 0:this.Z.volume&&this.Z.volume!==a&&(this.Z.volume=a);break;case 1:this.yd.gain.value=a*this.Sn}};B.prototype.rs=function(a){switch(this.wb){case 0:this.Z.muted!==
  325. !!a&&(this.Z.muted=!!a);break;case 1:this.Sn=a?0:1,this.yd.gain.value=Z*this.volume*this.Sn}};B.prototype.WD=function(a){this.un=!!a;this.rs(this.un||this.Ep)};B.prototype.gu=function(a){this.Ep=!!a;this.rs(this.un||this.Ep)};B.prototype.zE=function(){var a=this.playbackRate;this.Jl&&(a*=I.vh);switch(this.wb){case 0:this.Z.playbackRate!==a&&(this.Z.playbackRate=a);break;case 1:1===this.buffer.wb?this.Z.playbackRate.value!==a&&(this.Z.playbackRate.value=a):this.Z.playbackRate!==a&&(this.Z.playbackRate=
  326. a)}};B.prototype.rN=function(a){switch(this.wb){case 0:a?this.gj()?(this.Z.pause(),this.Dj=!0):this.Dj=!1:this.Dj&&this.Z.play();break;case 1:a?this.gj()?(1===this.buffer.wb?(this.sf=this.Hw(),this.Yh&&(this.sf%=this.ok()),h(this.Z)):this.Z.pause(),this.Dj=!0):this.Dj=!1:this.Dj&&(1===this.buffer.wb?(this.Z=D.createBufferSource(),this.Z.buffer=this.buffer.Tb,this.Z.connect(this.yd),this.Z.loop=this.Yh,this.yd.gain.value=Z*this.volume*this.Sn,this.startTime=(this.Jl?I.nf.mb:I.Ai.mb)-this.sf,g(this.Z,
  327. this.sf,this.ok())):this.Z.play());break;case 2:a?this.gj()?(this.Z.pause(),this.Dj=!0):this.Dj=!1:this.Dj&&this.Z.play()}};Y.la=function(a){this.type=a;I=this.c=a.c;R=this;this.Ye=null;this.Ip=-600;!(this.c.Gp||this.c.zp&&(this.c.Ap||this.c.Ts))||this.c.Gl||this.c.ac||(ec=!0);D=null;"undefined"!==typeof AudioContext?(N=1,D=new AudioContext):"undefined"!==typeof webkitAudioContext&&(N=1,D=new webkitAudioContext);(this.c.Gp&&1===N||ec)&&document.addEventListener("touchstart",function(){var a,b,c;!cf&&
  328. D&&(a=D.createBuffer(1,1,22050),b=D.createBufferSource(),b.buffer=a,b.connect(D.destination),f(b),cf=!0);if(ec){if(!X)for(a=0,b=fc.length;a<b;++a)c=fc[a],c.lc||c.wg||c.Z.play();fc.length=0}},!0);1!==N&&(this.c.mf&&"undefined"!==typeof window.Media?N=2:this.c.rn&&(N=3));2===N&&(ga=location.href,a=ga.lastIndexOf("/"),-1<a&&(ga=ga.substr(0,a+1)),ga=ga.replace("file://",""));if(this.c.uC&&this.c.BL&&"undefined"===typeof Audio)alert("It looks like you're using Safari for Windows without Quicktime. Audio cannot be played until Quicktime is installed."),
  329. this.c.Ch(this);else{if(this.c.ae)ba=this.c.zp;else try{ba=!!(new Audio).canPlayType('audio/ogg; codecs="vorbis"')}catch(b){ba=!1}this.c.vu(this)}};var Za=Y.la.prototype;Za.ka=function(){this.c.Wm=this;U=this.T[0];this.Ej=this.T[1];this.KM=0!==this.T[2];gb=this.T[3];hb=this.T[4];this.Ip=-this.T[5];$e=this.T[6];af=this.T[7];bf=this.T[8];this.Ye=new L;var a=this.c.sb||this.c.width,c=this.c.rb||this.c.height;1===N&&(D.listener.speedOfSound=this.T[9],D.listener.dopplerFactor=this.T[10],D.listener.setPosition(a/
  330. 2,c/2,this.Ip),D.listener.setOrientation(0,0,1,0,-1,0),window.c2OnAudioMicStream=function(a,c){zb&&zb.disconnect();ud=c.toLowerCase();zb=D.createMediaStreamSource(a);zb.connect(b(ud))});this.c.gB(function(a){R.GM(a)});var d=this;this.c.Zo(function(a){d.qm(a)})};Za.qm=function(a){var b,c,d;b=0;for(c=H.length;b<c;b++)d=H[b],d.fd&&d.fd.Ua===a&&(d.fd.Ua=null,d.hi&&d.gj()&&d.Yh&&d.stop());this.Ye.Ua===a&&(this.Ye.Ua=null)};Za.kc=function(){var a={silent:X,masterVolume:Z,listenerZ:this.Ip,listenerUid:this.Ye.Ns()?
  331. this.Ye.Ua.uid:-1,playing:[],effects:{}},b=a.playing,c,d,e,f,g,h;c=0;for(d=H.length;c<d;c++)e=H[c],!e.gj()||3===this.Ej||e.eh&&1===this.Ej||!e.eh&&2===this.Ej||(f=e.Hw(),e.Yh&&(f%=e.ok()),f={tag:e.tag,buffersrc:e.buffer.src,is_music:e.eh,playbackTime:f,volume:e.volume,looping:e.Yh,muted:e.un,playbackRate:e.playbackRate,paused:e.wg,resume_position:e.sf},e.hi&&(f.pan={},h=f.pan,e.fd&&e.fd.Ns()?h.objUid=e.fd.Ua.uid:(h.x=e.zD,h.y=e.AD,h.a=e.vD),h.ia=e.wD,h.oa=e.xD,h.og=e.yD),b.push(f));b=a.effects;for(g in oa)if(oa.hasOwnProperty(g)){e=
  332. [];c=0;for(d=oa[g].length;c<d;c++)e.push({type:oa[g][c].type,params:oa[g][c].xb});b[g]=e}return a};var gc=[];Za.Bc=function(a){var b=a.silent;Z=a.masterVolume;this.Ip=a.listenerZ;this.Ye.uq(null);var c=a.listenerUid;-1!==c&&(this.Ye.it=c,gc.push(this.Ye));var c=a.playing,d,e,f,g,h,z,M,B,F,y,T;if(3!==this.Ej)for(d=0,e=H.length;d<e;d++)F=H[d],F.eh&&1===this.Ej||(F.eh||2!==this.Ej)&&F.stop();for(h in oa)if(oa.hasOwnProperty(h))for(d=0,e=oa[h].length;d<e;d++)oa[h][d].remove();Xa(oa);for(h in a.effects)if(a.effects.hasOwnProperty(h))for(z=
  333. a.effects[h],d=0,e=z.length;d<e;d++)switch(f=z[d].type,y=z[d].params,f){case "filter":E(h,new l(y[0],y[1],y[2],y[3],y[4],y[5]));break;case "delay":E(h,new n(y[0],y[1],y[2]));break;case "convolve":f=y[2];F=this.Fs(f,!1);F.Tb?f=new k(F.Tb,y[0],y[1],f):(f=new k(null,y[0],y[1],f),F.jD=y[0],F.bs=f);E(h,f);break;case "flanger":E(h,new m(y[0],y[1],y[2],y[3],y[4]));break;case "phaser":E(h,new q(y[0],y[1],y[2],y[3],y[4],y[5]));break;case "gain":E(h,new p(y[0]));break;case "tremolo":E(h,new t(y[0],y[1]));break;
  334. case "ringmod":E(h,new v(y[0],y[1]));break;case "distortion":E(h,new w(y[0],y[1],y[2],y[3],y[4]));break;case "compressor":E(h,new s(y[0],y[1],y[2],y[3],y[4]));break;case "analyser":E(h,new O(y[0],y[1]))}d=0;for(e=c.length;d<e;d++)3===this.Ej||(a=c[d],f=a.buffersrc,g=a.is_music,h=a.tag,z=a.playbackTime,M=a.looping,B=a.volume,T=(y=a.pan)&&y.hasOwnProperty("objUid")?y.objUid:-1,g&&1===this.Ej)||!g&&2===this.Ej||((F=this.Gs(f,h,g,M,B))?(F.sf=a.resume_position,F.fu(!!y),F.play(M,B,z),F.zE(),F.AE(),F.rs(F.un||
  335. F.Ep),a.paused&&F.pause(),a.muted&&F.WD(!0),F.rs(F.un||F.Ep),y&&(-1!==T?(F.fd=F.fd||new L,F.fd.it=T,gc.push(F.fd)):F.My(y.x,y.y,y.a,y.ia,y.oa,y.og))):(F=this.Fs(f,g),F.au=z,F.Ht=a.paused,y&&(-1!==T?F.$n.push({lD:T,Rw:y.ia,fy:y.oa,iy:y.og,nE:h}):F.$n.push({x:y.x,y:y.y,P:y.a,Rw:y.ia,fy:y.oa,iy:y.og,nE:h}))));if(b&&!X){d=0;for(e=H.length;d<e;d++)H[d].gu(!0);X=!0}else if(!b&&X){d=0;for(e=H.length;d<e;d++)H[d].gu(!1);X=!1}};Za.mg=function(){var a,b,c,d;a=0;for(b=gc.length;a<b;a++)c=gc[a],d=this.c.ah(c.it),
  336. c.uq(d),c.it=-1,d&&(Ka=d.x,xa=d.y);gc.length=0};Za.GM=function(a){if(!this.KM){!a&&D&&D.resume&&D.resume();var b,c;b=0;for(c=H.length;b<c;b++)H[b].rN(a);a&&D&&D.suspend&&D.suspend()}};Za.sc=function(){var a=this.c.$a,b,c,d;b=0;for(c=H.length;b<c;b++)d=H[b],d.sc(a),0===d.wb||3===d.wb||d.Ph||d.lc||!d.Cl()||(d.lc=!0,ha=d.tag,I.trigger(wc.prototype.C.dv,R)),0!==U&&d.zE();var e,f;for(e in oa)if(oa.hasOwnProperty(e))for(d=oa[e],b=0,c=d.length;b<c;b++)f=d[b],f.sc&&f.sc();1===N&&this.Ye.Ns()&&(this.Ye.sc(a),
  337. Ka=this.Ye.Ua.x,xa=this.Ye.Ua.y,D.listener.setPosition(this.Ye.Ua.x,this.Ye.Ua.y,this.Ip),D.listener.setVelocity(this.Ye.Jw(),this.Ye.Kw(),0))};var hc=[];Za.pN=function(a){var b,c,d,e,f,g=0;b=0;for(c=a.length;b<c;++b)if(d=a[b],e=d[0],d=2*d[1],(f=4<e.length&&".ogg"===e.substr(e.length-4))&&ba||!f&&!ba)hc.push({filename:e,size:d,Ua:null}),g+=d;return g};Za.wN=function(){var a,b,c,d;a=0;for(b=hc.length;a<b;++a)c=hc[a],d=this.c.jp+c.filename,c.Ua=this.Fs(d,!1)};Za.SK=function(){var a=0,b,c,d;b=0;for(c=
  338. hc.length;b<c;++b)d=hc[b],d.Ua.tC()||d.Ua.iC()||this.c.ac||this.c.Ts?a+=d.size:d.Ua.sC()&&(a+=Math.floor(d.size/2));return a};Za.Fs=function(a,b){var c,d,e,f=null;c=0;for(d=G.length;c<d;c++)if(e=G[c],e.src===a){f=e;break}f||(f=new z(a,b),G.push(f));return f};Za.Gs=function(a,b,c,d,e){var f,g,h;f=0;for(g=H.length;f<g;f++)if(h=H[f],h.src===a&&(h.sJ()||c))return h.tag=b,h;a=this.Fs(a,c);if(!a.Tb)return"<preload>"!==b&&(a.Jt=b,a.Fx=d,a.oz=e),null;h=new B(a,b);H.push(h);return h};var na=[];y.prototype.dv=
  339. function(a){return mb(ha,a)};y.prototype.bH=function(){var a,b;a=0;for(b=G.length;a<b;a++)if(!G[a].tC()&&!G[a].iC())return!1;return!0};y.prototype.gG=function(a){F(a);var b;a=0;for(b=na.length;a<b;a++)if(na[a].gj())return!0;return!1};Y.C=new y;K.prototype.Play=function(b,c,d,e){!X&&(d=a(d),Q=this.Gs(this.c.jp+b[0]+(ba?".ogg":".m4a"),e,b[1],0!==c,d))&&(Q.fu(!1),Q.play(0!==c,d))};K.prototype.ZG=function(b,c,d,e,f){!X&&(e=a(e),Q=this.Gs(this.c.jp+c.toLowerCase()+(ba?".ogg":".m4a"),f,1===b,0!==d,e))&&
  340. (Q.fu(!1),Q.play(0!==d,e))};K.prototype.DH=function(a,b){F(a);var c,d;c=0;for(d=na.length;c<d;c++)na[c].WD(0===b)};K.prototype.UH=function(b,c){F(b);var d=a(c),e,f;e=0;for(f=na.length;e<f;e++)na[e].sN(d)};K.prototype.aH=function(a,b){if(!X){var c=1===a,d=this.c.jp+b.toLowerCase()+(ba?".ogg":".m4a");3===N?this.c.ae?AppMobi.context.loadSound(d):AppMobi.player.loadSound(d):2!==N&&this.Gs(d,"<preload>",c,!1)}};K.prototype.Um=function(a){F(a);var b;a=0;for(b=na.length;a<b;a++)na[a].stop()};K.prototype.bI=
  341. function(){var a,b;a=0;for(b=H.length;a<b;a++)H[a].stop()};K.prototype.GH=function(a,b){F(a);var c,d;c=0;for(d=na.length;c<d;c++)0===b?na[c].pause():na[c].PD()};K.prototype.KH=function(a){var b;2===a&&(a=X?1:0);if(0===a&&!X){a=0;for(b=H.length;a<b;a++)H[a].gu(!0);X=!0}else if(1===a&&X){a=0;for(b=H.length;a<b;a++)H[a].gu(!1);X=!1}};Y.G=new K;T.prototype.Nu=function(a,b){F(b,!0);na.length?a.V(na[0].ok()):a.V(0)};T.prototype.rI=function(a,b){F(b,!0);na.length?a.V(c(na[0].volume)):a.V(0)};Y.H=new T})();
  342. function xc(a){this.c=a}
  343. (function(){function a(){}function c(){}function b(){}var d=xc.prototype;d.ua=function(a){this.Da=a;this.c=a.c};d.ua.prototype.ka=function(){};d.la=function(a){this.type=a;this.c=a.c};d.la.prototype.ka=function(){var a=this;window.addEventListener("resize",function(){a.c.trigger(xc.prototype.C.oA,a)});"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){a.c.trigger(xc.prototype.C.IG,a)}),window.addEventListener("offline",function(){a.c.trigger(xc.prototype.C.HG,a)}));
  344. "undefined"!==typeof window.applicationCache&&(window.applicationCache.addEventListener("updateready",function(){a.c.Wl=1;a.c.trigger(xc.prototype.C.qA,a)}),window.applicationCache.addEventListener("progress",function(b){a.c.Wl=b.loaded/b.total}));this.c.ae||(document.addEventListener("appMobi.device.update.available",function(){a.c.trigger(xc.prototype.C.qA,a)}),document.addEventListener("backbutton",function(){a.c.trigger(xc.prototype.C.cv,a)}),document.addEventListener("menubutton",function(){a.c.trigger(xc.prototype.C.kA,
  345. a)}),document.addEventListener("searchbutton",function(){a.c.trigger(xc.prototype.C.OG,a)}),document.addEventListener("tizenhwkey",function(b){var c;switch(b.keyName){case "back":c=a.c.trigger(xc.prototype.C.cv,a);!c&&window.tizen&&window.tizen.application.getCurrentApplication().exit();break;case "menu":(c=a.c.trigger(xc.prototype.C.kA,a))||b.preventDefault()}}));this.c.Vs&&(WinJS.Application.onbackclick=function(){return!!a.c.trigger(xc.prototype.C.cv,a)});this.c.gB(function(b){b?a.c.trigger(xc.prototype.C.JG,
  346. a):a.c.trigger(xc.prototype.C.KG,a)});this.EL="undefined"!==typeof window.is_scirra_arcade};a.prototype.IG=function(){return!0};a.prototype.HG=function(){return!0};a.prototype.qA=function(){return!0};a.prototype.KG=function(){return!0};a.prototype.JG=function(){return!0};a.prototype.oA=function(){return!0};a.prototype.cv=function(){return!0};a.prototype.kA=function(){return!0};a.prototype.OG=function(){return!0};a.prototype.dG=function(a){return(window.innerWidth<=window.innerHeight?0:1)===a};d.C=
  347. new a;c.prototype.OF=function(a,b){this.c.Ef?CocoonJS.App.openURL(a):this.c.vg?ejecta.openURL(a):this.c.Us?Windows.System.Launcher.launchUriAsync(new Windows.Foundation.Uri(a)):navigator.app&&navigator.app.loadUrl?navigator.app.loadUrl(a,{openExternal:!0}):this.c.mf?window.open(a,"_system"):this.EL||this.c.ac||window.open(a,b)};d.G=new c;b.prototype.URL=function(a){a.Xa(this.c.ac?"":window.location.toString())};b.prototype.yF=function(a){a.Xa(this.c.ac?"":window.location.hostname)};b.prototype.fH=
  348. function(a){a.Xa(this.c.ac?"":document.referrer)};b.prototype.oI=function(a){a.Xa(this.c.ac?"":navigator.userAgent)};b.prototype.BF=function(a,b){if(eval){var c=0;try{c=eval(b)}catch(d){console&&console.error&&console.error("Error executing Javascript: ",d)}"number"===typeof c?a.ri(c):"string"===typeof c?a.ri(c):"boolean"===typeof c?a.ri(c?1:0):a.ri(0)}else a.ri(0)};b.prototype.kH=function(a){a.ja(screen.width)};d.H=new b})();function yc(a){this.c=a}
  349. (function(){function a(){}function c(){}function b(){}var d=yc.prototype;d.ua=function(a){this.Da=a;this.c=a.c};d.ua.prototype.ka=function(){};d.la=function(a){this.type=a;this.c=a.c};var e=d.la.prototype;e.ka=function(){this.Ee={};this.Nl=0};e.kc=function(){return this.Ee};e.Bc=function(a){this.Ee=a;this.Nl=0;for(var b in this.Ee)this.Ee.hasOwnProperty(b)&&this.Nl++};a.prototype.PF=function(a){return this.Ee.hasOwnProperty(a)};a.prototype.Wu=function(){return 0===this.Nl};d.C=new a;c.prototype.LE=
  350. function(a,b){this.Ee.hasOwnProperty(a)||this.Nl++;this.Ee[a]=b};c.prototype.Vj=function(a,b){this.Ee.hasOwnProperty(a)&&(this.Ee[a]=b)};c.prototype.Fm=function(){Xa(this.Ee);this.Nl=0};c.prototype.Fo=function(a){var b;try{b=JSON.parse(a)}catch(c){return}if(b.c2dictionary){this.Ee=b.data;this.Nl=0;for(var d in this.Ee)this.Ee.hasOwnProperty(d)&&this.Nl++}};d.G=new c;b.prototype.B=function(a,b){this.Ee.hasOwnProperty(b)?a.ri(this.Ee[b]):a.ja(0)};b.prototype.Pj=function(a){a.Xa(JSON.stringify({c2dictionary:!0,
  351. data:this.Ee}))};d.H=new b})();function uc(a){this.c=a}
  352. (function(){function a(){this.name="";this.eo=0;this.xb=[]}function c(){l++;l===h.length&&h.push(new a);return h[l]}function b(){return 0>l?null:h[l]}function d(){}function e(){}function f(){}var g=uc.prototype;g.ua=function(a){this.Da=a;this.c=a.c};g.ua.prototype.ka=function(){};g.la=function(a){this.type=a;this.c=a.c};var h=[],l=-1;g.la.prototype.ka=function(){var a=this;window.c2_callFunction=function(b,d){var e,f,g,h=c();h.name=b.toLowerCase();h.eo=0;if(d)for(h.xb.length=d.length,e=0,f=d.length;e<
  353. f;++e)g=d[e],h.xb[e]="number"===typeof g||"string"===typeof g?g:"boolean"===typeof g?g?1:0:0;else h.xb.length=0;a.c.trigger(uc.prototype.C.jr,a,h.name);l--;return h.eo}};d.prototype.jr=function(a){var c=b();return c?mb(a,c.name):!1};d.prototype.lF=function(a,c,d){var e=b();if(!e)return!1;a=ua(a);return 0>a||a>=e.xb.length?!1:dc(e.xb[a],c,d)};g.C=new d;e.prototype.CallFunction=function(a,b){var d=c();d.name=a.toLowerCase();d.eo=0;Ca(d.xb,b);this.c.trigger(uc.prototype.C.jr,this,d.name);l--};e.prototype.JH=
  354. function(a){var c=b();c&&(c.eo=a)};g.G=new e;f.prototype.SG=function(a){var c=b();c?a.ja(c.xb.length):a.ja(0)};f.prototype.RG=function(a,c){c=ua(c);var d=b();d?0<=c&&c<d.xb.length?a.ri(d.xb[c]):a.ja(0):a.ja(0)};f.prototype.xz=function(a,b){var d=c();d.name=b.toLowerCase();d.eo=0;d.xb.length=0;var e,f;e=2;for(f=arguments.length;e<f;e++)d.xb.push(arguments[e]);this.c.trigger(uc.prototype.C.jr,this,d.name);l--;a.ri(d.eo)};g.H=new f})();function zc(a){this.c=a}
  355. (function(){function a(){}function c(){}var b=zc.prototype;b.ua=function(a){this.Da=a;this.c=a.c};b.ua.prototype.ka=function(){};b.la=function(a){this.type=a;this.c=a.c};var d=b.la.prototype;d.ka=function(){this.FL=1==this.T[0];this.Nq=[]};d.kc=function(){return{wl:this.Nq}};d.Bc=function(a){this.Nq=a.wl};b.C=new a;a.prototype.cF=function(){var a=window.top==window;if(this.FL)return a;if(a)return!0;a=document.referrer;if(""==a)return!0;var b=this.Nq.length,c;for(c=0;c<b;c++)if(-1!=a.indexOf(this.Nq[c]))return!0;
  356. return!1};b.G=new c;c.prototype.TE=function(a){this.Nq.push(a)};b.H=new function(){}})();var Ac=0,Bc=0,Cc=100,Dc=100,Ec=-1,Fc=[];Fc[Ac]=[];function Gc(a){this.c=a}
  357. (function(){function a(){}function c(){}function b(){}var d=Gc.prototype;d.ua=function(a){this.Da=a;this.c=a.c};d.ua.prototype.ka=function(){};d.la=function(a){this.type=a;this.c=a.c};var e=d.la.prototype;e.ka=function(){this.bk=new Gc.Qz(this);this.Yo=null;this.Yj={}};e.pA=function(a,b){this.Yo=a;this.Yj=b;this.c.trigger(Gc.prototype.C.NG,this)};e.jA=function(a,b){this.Yo=a;this.Yj=b;this.c.trigger(Gc.prototype.C.iA,this)};d.C=new a;a.prototype.NG=function(a){if(a)return this.bk.rr(a,this.Yo)};a.prototype.iA=
  358. function(a){if(a)return this.bk.rr(a,this.Yo)};d.G=new c;c.prototype.Sq=function(){this.bk.Sq()};c.prototype.sv=function(a,b,c,d){a&&this.bk.sv(a,b,c,d)};c.prototype.pG=function(a,b,c,d){Cc=a;Dc=b;Ec=c;Bc=d;this.bk.mG()};c.prototype.eI=function(a){this.bk.kG(a)};c.prototype.wF=function(a){this.bk.JI(a)};d.H=new b;b.prototype.ZE=function(a){var b=this.bk.Gv();a.Xa(b)}})();
  359. (function(){function a(a,b){var c=f.bz[a.uid],d=f.bz[b.uid];return null!=c&&null!=d?c>d?1:c<d?-1:0:null==c&&null==d?0:null==d?1:-1}function c(a){this.Da=a;this.Vk()}function b(a){for(var b in a)delete a[b];return a}function d(a,b){var c=null==b?{}:b,d;for(d in a)c[d]=a[d];return c}Gc.Qz=function(a){this.Da=a;this.oL=null!=a.pA;this.nL=null!=a.jA;this.Er=new c(a);this.Ii={};this.Dr={};this.Yj={};this.Sq()};var e=Gc.Qz.prototype;e.Sq=function(){b(this.Ii)};e.SI=function(a){this.Yo=a;b(this.Yj);this.Da.pA(a,
  360. this.Yj);return d(this.Yj)};e.OI=function(a){var b=this.Ii[a];null==b?(b={},this.Ii[a]=b):b=null;return b};e.YI=function(a,b,c,d){A&&a instanceof A.prototype.la?(b.plugin="Sprite",b.cur_frame=a.ta,b.cur_anim_speed=a.nl,b.cur_anim_name=a.Yb.name):kc.Text&&a instanceof kc.Text.prototype.la?(b.plugin="Text",b.content=a.text):b.plugin="World";b.x=a.x+c;b.y=a.y+d;b.width=a.width;b.height=a.height;b.angle=a.K;b.opacity=a.opacity;b.visible=a.visible;b.layer=a.W.index;b.z_order=a.W.D.indexOf(a)};e.VI=function(a,
  361. b){b.plugin="Array";b.content=a.YB()};e.WI=function(a,b){b.plugin="Dictionary";b.content=JSON.stringify({c2dictionary:!0,data:a.Ee})};e.XI=function(a,b){if(a.be){b.container_insts={};var c,d=a.siblings.length,e;for(c=0;c<d;c++)e=a.siblings[c],b.container_insts[e.type.name]=e.uid,e=this.uA(xS_offset,yS_offset,e,!0),e.create_me=!1}};e.uA=function(a,b,c,d){var e=this.OI(c.uid);if(null!=e)return e.create_me=!0,e.saveduid=c.uid,c.type.Da.Wh?this.YI(c,e,a,b):vc&&c instanceof vc.prototype.la?this.VI(c,e):
  362. yc&&c instanceof yc.prototype.la&&this.WI(c,e),e.type=c.type.name,e.inst_vars=c.ed.slice(),e.custom_data=this.oL?this.SI(c):{},d||this.XI(c,e),e};e.sv=function(a,b,c,d){a=a.wa();var e=a.Aa;1==b&&(a.Aa=!0);b=a.qe().slice();b.yP=c;b.zP=d;var f=b.length,q;for(q=0;q<f;q++)this.uA(c,d,b[q]);a.Aa=e};e.RI=function(a,c){d(c,b(this.Yj));this.Da.jA(a,this.Yj)};e.NI=function(a,b){"Sprite"==b.plugin?(a.nl=b.cur_anim_speed,A.prototype.G.wA.apply(a,[b.cur_frame]),A.prototype.G.vA.apply(a,[b.cur_anim_name,1])):
  363. "Text"==b.plugin&&kc.Text.prototype.G.KA.apply(a,[b.content]);a.x=b.x+Cc;a.y=b.y+Dc;a.width=b.width;a.height=b.height;a.K=b.angle;a.opacity=b.opacity;a.visible=b.visible};e.KI=function(a,b){vc.prototype.G.Fo.apply(a,[b.content])};e.LI=function(a,b){yc.prototype.G.Fo.apply(a,[b.content])};e.YA=function(a,b){null!=a&&null!=b&&(this.Dr[b.saveduid]=a,a.type.Da.Wh?this.NI(a,b):"Array"==b.plugin?this.KI(a,b):"Dictionary"==b.plugin&&this.LI(a,b),Ca(a.ed,b.inst_vars),this.nL&&this.RI(a,b.custom_data),this.Er.cJ(this.Da.c.$i(b.layer)),
  364. this.Er.JN(a.uid,b.z_order))};e.MI=function(a,b){var c=b.container_insts;if(null!=c&&a.be){var d,e=a.siblings.length,f,q;for(d=0;d<e;d++)f=a.siblings[d],q=c[f.type.name],this.YA(f,this.VA(q))}};e.II=function(a){var b=a.type;this.rr(b,a);var c=this.Da.c;c.lf++;c.trigger(Object.getPrototypeOf(b.Da).C.Tj,a);c.lf--};e.Ez=function(a){"object"!=typeof a&&(a=this.VA(a));if(null==a||!a.create_me)return null;var b=this.Da.c,c=b.types[a.type],d=c.wa(),e=d.Aa,f=a.layer;0<=Ec&&(f=Ec);b=b.es(c,b.$i(f),a.x,a.y);
  365. if(!b)return null;this.YA(b,a);Fc[Ac][b.uid]=b;this.MI(b,a);this.II(b);d.Aa=e;return b};e.JI=function(a){var b=this.Da.c,c;for(c in Fc[a])b.Ch(Fc[a][c]);Fc[a]=[]};e.oG=function(){this.Er.Vk();b(this.Dr)};e.nG=function(){this.Er.ZH();b(this.Dr)};e.QI=function(){Ac=Bc;Fc[Ac]=[];for(var a in this.Ii)this.Ez(a)};e.mG=function(){this.oG();this.QI();this.nG()};e.Gv=function(){return JSON.stringify(this.Ii)};e.kG=function(a){this.Ii=JSON.parse(a)};e.hO=function(){return this.Ii};e.iO=function(a){d(a,b(this.Ii))};
  366. e.VA=function(a){return this.Ii[a]};e.rr=function(a,b){if(!a||!b)return!1;if(a.Ga){var c=a.mm,d=c.length,e,f,q=!1;for(e=0;e<d;e++)if(f=c[e],b.type==f){q=!0;break}if(!q)return!1}else if(b.type!=a)return!1;a.wa().tm(b);if(b.be)for(c=b.siblings.length,e=0;e<c;e++)d=b.siblings[e],d.type.wa().tm(d);return!0};e.jH=function(a){var b=this.Dr[a];null==b&&(b=this.Ez(a));return b};e.NO=function(a,b){return this.rr(a,this.jH(b))};e=c.prototype;e.Vk=function(){this.Oa={};this.bz={}};e.cJ=function(a){null==this.Oa[a.index]&&
  367. (this.Oa[a.index]=a)};e.JN=function(a,b){this.bz[a]=b};var f=null;e.ZH=function(){var b,c;f=this;for(b in this.Oa)c=this.Oa[b],c.D.sort(a),c.Mj=!0;this.Da.c.Wa=!0}})();function Hc(a){this.c=a}
  368. (function(){function a(a,b){h.Uo=a.uid;h.Vo=b.uid;h.c.trigger(Hc.prototype.C.lr,h);return h.Wo}function c(){}function b(){}function d(){}var e=Hc.prototype;e.ua=function(a){this.Da=a;this.c=a.c};e.ua.prototype.ka=function(){};e.la=function(a){this.type=a;this.c=a.c};var f=e.la.prototype,g=!0;f.ka=function(){g=0==this.T[0];this.Wo=this.Vo=this.Uo=0;this.Xo=""};f.Mh=function(){};f.Lw=function(a){return"number"==typeof a?this.c.$i(a):this.c.rp(a)};var h=null;f.kc=function(){return{xi:g}};f.Bc=function(a){g=
  369. a.xi};e.C=new c;c.prototype.lr=function(a){return this.Xo==a};e.G=new b;b.prototype.QA=function(b,c){var d=this.Lw(b);null==d?alert("Z Sort: Can not find layer "+b):(h=this,this.Xo=c,d.D.sort(a),d.Mj=!0,this.c.Wa=!0)};b.prototype.AA=function(a){this.Wo=a-1};e.H=new d;d.prototype.zz=function(a){a.ja(this.Uo)};d.prototype.Az=function(a){a.ja(this.Vo)}})();function Ic(a){this.c=a}
  370. (function(){function a(a,b){g.Uo=parseInt(a);g.Vo=parseInt(b);g.c.trigger(Ic.prototype.C.lr,g);return g.Wo}function c(){}function b(){}function d(){}var e=Ic.prototype;e.ua=function(a){this.Da=a;this.c=a.c};e.ua.prototype.ka=function(){};e.la=function(a){this.type=a;this.c=a.c};var f=e.la.prototype;f.ka=function(){this.Al={};this.Vt=-1;this.Vo=this.Uo=0;this.Xo="";this.Wo=0;this.Br={};this.Ek=function(a){return function(b){a.qm(b)}}(this);this.c.Zo(this.Ek)};Ic.Pv=null;f.wj=function(){this.c.Dy(this.Ek)};
  371. f.qm=function(a){a=a.uid;var b,c=this.Al;for(b in c)c[b].nr(a);this.UI(a)};f.HI=function(a){var b;"@"!=a.charAt(0)?b=-1:(b=a.indexOf("$"),b=-1==b?-1:parseInt(a.substring(1,b)));if(-1!=b){var c=this.Br[b];null==c?(c=[a],this.Br[b]=c):c.push(a)}};f.UI=function(a){var b=this.Br[a];if(null!=b){var c=b.length,d;for(d=0;d<c;d++)this.Mu(b[d]);delete this.Br[a]}};f.xc=function(a){var b=this.Al[a];null==b&&(b=new Ic.Mz,this.Al[a]=b,this.HI(a));return b};f.Mu=function(a){null!=this.Al[a]&&delete this.Al[a]};
  372. f.cP=function(){var a={},b,c=this.Al;for(b in c)a[b]=c[b].Gv();return JSON.stringify(a)};f.Rv=function(a,b,c){a!=c&&b!=c?(this.xc(c).vc(this.xc(a)),a=c):c==b&&(b=a,a=c);return{a:a,b:b}};f.aB=function(a,b){var c=this.c.ah(a);if(null==c)return null;if(null==b||c.type==b)return c;if(b.Ga){var d=c.type.Ac,e=d.length,f;for(f=0;f<e;f++)if(b==d[f])return c}return null};f.aP=function(a,b,c){a=this.xc(a);var d=a.pb,e=b.wa();e.Aa=!1;e.D.length=0;var f=d.length,g,t;for(g=0;g<f;g++)t=this.aB(d[g],b),null!=t&&
  373. e.D.push(t);if(1==c)for(f=e.D.length,g=0;g<f;g++)a.nr(e.D[g].uid);b.hf();return 0<e.D.length};f.TI=function(a,b,c,d){a=this.xc(a);var e=a.pb,f=e.length>b,g=c.wa();g.Aa=!1;g.D.length=0;var t=null;f&&(t=this.aB(e[b],c),null!=t&&g.D.push(t));1==d&&null!=t&&a.nr(t.uid);return 0<g.D.length};var g=null;f.kc=function(){var a={},b,c=this.Al;for(b in c)a[b]=c[b].pb;b=Ic.Pv;return{d:a,randomuid:null!=b?b.uid:-1}};f.Bc=function(a){var b=a.d,c;for(c in b)this.xc(c).zA(b[c]);this.Vt=a.randomuid};f.mg=function(){var a;
  374. a=-1===this.Vt?null:this.c.ah(this.Vt);this.Vt=-1;Ic.Pv=a};e.C=new c;c.prototype.lr=function(a){return this.Xo==a};c.prototype.Tz=function(a,b){return this.xc(b).Tz(a)};c.prototype.Wu=function(a){return 0==this.xc(a).pb.length};c.prototype.$G=function(a,b,c,d){if(c)return this.TI(a,b,c,d)};c.prototype.Wz=function(a,b){var c=this.xc(b),d=this.xc(a);return c.Wz(d)};e.G=new b;b.prototype.Vk=function(a){this.xc(a).Vk()};b.prototype.Mu=function(a){this.Mu(a)};b.prototype.vc=function(a,b){a!=b&&this.xc(b).vc(this.xc(a))};
  375. b.prototype.KE=function(a,b){if(a){var c=a.wa().qe(),d=c.length;if(1==d)this.xc(b).wo(c[0].uid);else{var e,f=[];f.length=c.length;for(e=0;e<d;e++)f[e]=c[e].uid;this.xc(b).wo(f)}}};b.prototype.WA=function(a,b,c){a=this.Rv(a,b,c);this.xc(a.a).WA(this.xc(a.b))};b.prototype.Dz=function(a,b,c){a=this.Rv(a,b,c);this.xc(a.a).Dz(this.xc(a.b))};b.prototype.Rz=function(a,b,c){a=this.Rv(a,b,c);this.xc(a.a).Rz(this.xc(a.b))};b.prototype.PA=function(a){this.xc(a).PA()};b.prototype.QA=function(b,c){g=this;this.Xo=
  376. c;this.xc(b).pb.sort(a)};b.prototype.AA=function(a){this.Wo=a-1};b.prototype.qr=function(a){this.xc(a).pb.reverse()};e.H=new d;d.prototype.zz=function(a){a.ja(this.Uo)};d.prototype.Az=function(a){a.ja(this.Vo)};d.prototype.UA=function(a,b,c){a.ja(this.xc(b).UA(c))};d.prototype.Oz=function(a,b,c){a.ja(this.xc(b).Oz(c))}})();
  377. (function(){Ic.Mz=function(){this.Xb={};this.pb=[]};var a=Ic.Mz.prototype;a.Vk=function(){for(var a in this.Xb)delete this.Xb[a];this.pb.length=0};a.vc=function(a){var b,d;d=this.Xb;for(b in d)delete this.Xb[b];d=a.Xb;for(b in d)this.Xb[b]=d[b];Ca(this.pb,a.pb)};a.zA=function(a){this.Vk();this.wo(a)};a.wo=function(a){if("number"==typeof a)null==this.Xb[a]&&(this.Xb[a]=!0,this.pb.push(a));else{var b,d,e=a.length;for(b=0;b<e;b++)d=a[b],null==this.Xb[d]&&(this.Xb[d]=!0,this.pb.push(d))}};a.EO=function(a,
  378. b){if("number"==typeof a)null==this.Xb[a]?this.Xb[a]=!0:Ba(this.pb,this.pb.indexOf(a)),b?this.pb.unshift(a):this.pb.push(a);else{var d,e,f=a.length;for(d=0;d<f;d++)e=a[d],null==this.Xb[e]?this.Xb[e]=!0:Ba(this.pb,this.pb.indexOf(e));b?this.pb.unshift.apply(this.pb,a):this.pb.push.apply(this.pb,a)}};a.oO=function(a,b){if("number"==typeof a)null==this.Xb[a]?this.Xb[a]=!0:Ba(this.pb,this.pb.indexOf(a));else{var d,e,f=a.length;for(d=0;d<f;d++)e=a[d],null==this.Xb[e]?this.Xb[e]=!0:Ba(this.pb,this.pb.indexOf(e))}d=
  379. this.pb;e=b;f=d.length;e>f&&(e=f);if("object"!=typeof a)if(0==e)d.unshift(a);else if(e==f)d.push(a);else{var g,f=d.length;d.length+=1;for(g=f;g>e;g--)d[g]=d[g-1];d[e]=a}else if(0==e)d.unshift.apply(d,a);else if(e==f)d.push.apply(d,a);else{g=d.length-1;var f=e,h=a.length;for(d.length+=h;g>=f;g--)d[g+h]=d[g];for(g=0;g<h;g++)d[g+e]=a[g]}};a.nr=function(a){if("number"==typeof a)null!=this.Xb[a]&&(delete this.Xb[a],Ba(this.pb,this.pb.indexOf(a)));else{var b,d,e=a.length;for(b=0;b<e;b++)d=a[b],null!=this.Xb[d]&&
  380. (delete this.Xb[d],Ba(this.pb,this.pb.indexOf(d)))}};a.UA=function(a){return this.pb.indexOf(a)};a.Oz=function(a){var b=this.pb;return a<b.length?b[a]:-1};a.WA=function(a){a=a.Xb;for(var b in a)this.wo(parseInt(b))};a.Dz=function(a){this.nr(a.pb)};a.Rz=function(a){var b,d=this.Xb,e={};for(b in d)e[b]=!0;this.Vk();d=a.Xb;for(b in d)null!=e[b]&&this.wo(parseInt(b))};a.Wz=function(a){a=a.Xb;var b,d=!0;for(b in a)if(!(b in this.Xb)){d=!1;break}return d};a.lO=function(){return this.Xb};a.kO=function(){return this.pb};
  381. a.Tz=function(a){return null!=this.Xb[a]};a.Gv=function(){return JSON.stringify(this.pb)};a.qO=function(a){this.zA(JSON.parse(a))};a.PA=function(){var a=this.pb,b=a.length,d,e,f=Ic.Pv;if(0!=b)for(;--b;)d=null==f?Math.random():f.random(),d=Math.floor(d*(b+1)),e=a[b],a[b]=a[d],a[d]=e}})();function A(a){this.c=a}
  382. (function(){function a(){if(0===this.ms.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var b=a.getContext("2d");this.xm?b.drawImage(this.Fa,this.nm,this.pm,this.width,this.height,0,0,this.width,this.height):b.drawImage(this.Fa,0,0,this.width,this.height);this.ms=a.toDataURL("image/png")}return this.ms}function c(){}function b(a){a[0]=0;a[1]=0;a[2]=0;p.push(a)}function d(a,b){return a<b?""+a+","+b:""+b+","+a}function e(a,b,c,e){b=b.uid;c=c.uid;var f=d(b,c);if(a.hasOwnProperty(f))a[f][2]=
  383. e;else{var g=p.length?p.pop():[0,0,0];g[0]=b;g[1]=c;g[2]=e;a[f]=g}}function f(a,c,e){c=d(c.uid,e.uid);a.hasOwnProperty(c)&&(b(a[c]),delete a[c])}function g(a,b,c){b=d(b.uid,c.uid);if(a.hasOwnProperty(b))return t=a[b][2],!0;t=-2;return!1}function h(){}function l(){}var n=A.prototype;n.ua=function(a){this.Da=a;this.c=a.c};var k=n.ua.prototype;k.ka=function(){if(!this.Ga){var b,c,d,e,f,g,m,h,l;this.Tg=[];this.vp=!1;b=0;for(c=this.xf.length;b<c;b++){f=this.xf[b];m={};m.name=f[0];m.speed=f[1];m.loop=f[2];
  384. m.Fy=f[3];m.Xt=f[4];m.um=f[5];m.zb=f[6];m.frames=[];d=0;for(e=f[7].length;d<e;d++)g=f[7][d],h={},h.ru=g[0],h.Xy=g[1],h.nm=g[2],h.pm=g[3],h.width=g[4],h.height=g[5],h.duration=g[6],h.Ue=g[7],h.Ve=g[8],h.Sw=g[9],h.Kt=g[10],h.ry=g[11],h.xm=0!==h.width,h.ms="",h.lP=a,l={left:0,top:0,right:1,bottom:1},h.Qy=l,h.Ba=null,(l=this.c.FK(g[0]))?h.Fa=l:(h.Fa=new Image,h.Fa.wJ=g[0],h.Fa.GB=g[1],h.Fa.qJ=null,this.c.pz(h.Fa,g[0])),m.frames.push(h),this.Tg.push(h);this.xf[b]=m}}};k.cz=function(){var a,b,c;a=0;for(b=
  385. this.D.length;a<b;a++)c=this.D[a],c.cn=c.oe.Ba};k.Ct=function(){if(!this.Ga){var a,b,c;a=0;for(b=this.Tg.length;a<b;++a)c=this.Tg[a],c.Fa.qJ=null,c.Ba=null;this.vp=!1;this.cz()}};k.Et=function(){if(!this.Ga&&this.D.length){var a,b,c;a=0;for(b=this.Tg.length;a<b;++a)c=this.Tg[a],c.Ba=this.c.ha.tk(c.Fa,!1,this.c.yb,c.ry);this.cz()}};k.Ax=function(){if(!this.Ga&&!this.vp&&this.c.ha){var a,b,c;a=0;for(b=this.Tg.length;a<b;++a)c=this.Tg[a],c.Ba=this.c.ha.tk(c.Fa,!1,this.c.yb,c.ry);this.vp=!0}};k.Eu=function(){if(!this.Ga&&
  386. !this.D.length&&this.vp){var a,b,c;a=0;for(b=this.Tg.length;a<b;++a)c=this.Tg[a],this.c.ha.deleteTexture(c.Ba),c.Ba=null;this.vp=!1}};var m=[];k.Ot=function(a){var b,c,d;b=m.length=0;for(c=this.Tg.length;b<c;++b)d=this.Tg[b].Fa,-1===m.indexOf(d)&&(a.drawImage(d,0,0),m.push(d))};n.la=function(a){this.type=a;this.c=a.c;a=this.type.xf[0].frames[0].Kt;this.ke?this.qb.xq(a):this.qb=new eb(a)};var q=n.la.prototype;q.ka=function(){this.visible=0===this.T[0];this.Ps=this.Cp=!1;this.Pi=0!==this.T[3];1===this.type.xf.length&&
  387. 1===this.type.xf[0].frames.length||0===this.type.xf[0].speed||(this.c.vu(this),this.Cp=!0);this.Yb=this.XB(this.T[1])||this.type.xf[0];this.ta=this.T[2];0>this.ta&&(this.ta=0);this.ta>=this.Yb.frames.length&&(this.ta=this.Yb.frames.length-1);var a=this.Yb.frames[this.ta];this.qb.xq(a.Kt);this.Ue=a.Ue;this.Ve=a.Ve;this.nl=this.Yb.speed;this.ke?this.Ih.reset():this.Ih=new cb;this.Yi=this.Ih.mb;this.fl=!0;this.Li=0;this.el=!0;this.an=this.lB="";this.AB=0;this.Sr=-1;this.type.Ax();var b,c,d,e,f,g,h,a=
  388. 0;for(b=this.type.xf.length;a<b;a++)for(e=this.type.xf[a],c=0,d=e.frames.length;c<d;c++)f=e.frames[c],0===f.width&&(f.width=f.Fa.width,f.height=f.Fa.height),f.xm&&(h=f.Fa,g=f.Qy,g.left=f.nm/h.width,g.top=f.pm/h.height,g.right=(f.nm+f.width)/h.width,g.bottom=(f.pm+f.height)/h.height,0===f.nm&&0===f.pm&&f.width===h.width&&f.height===h.height&&(f.xm=!1));this.oe=this.Yb.frames[this.ta];this.cn=this.oe.Ba};q.kc=function(){var a={a:this.Yb.zb,f:this.ta,cas:this.nl,fs:this.Yi,ar:this.Li,at:this.Ih.mb};
  389. this.fl||(a.ap=this.fl);this.el||(a.af=this.el);return a};q.Bc=function(a){var b=this.KK(a.a);b&&(this.Yb=b);this.ta=a.f;0>this.ta&&(this.ta=0);this.ta>=this.Yb.frames.length&&(this.ta=this.Yb.frames.length-1);this.nl=a.cas;this.Yi=a.fs;this.Li=a.ar;this.Ih.reset();this.Ih.mb=a.at;this.fl=a.hasOwnProperty("ap")?a.ap:!0;this.el=a.hasOwnProperty("af")?a.af:!0;this.oe=this.Yb.frames[this.ta];this.cn=this.oe.Ba;this.qb.xq(this.oe.Kt);this.Ue=this.oe.Ue;this.Ve=this.oe.Ve};q.Uv=function(a){this.ta=a?0:
  390. this.Yb.frames.length-1;this.fl=!1;this.lB=this.Yb.name;this.Ps=!0;this.c.trigger(A.prototype.C.eA,this);this.c.trigger(A.prototype.C.dA,this);this.Ps=!1;this.Li=0};q.nP=function(){return this.Ih.mb};q.sc=function(){this.Ih.add(this.c.Rh(this));this.an.length&&this.LB();0<=this.Sr&&this.MB();var a=this.Ih.mb,b=this.Yb,c=b.frames[this.ta],d=c.duration/this.nl;this.fl&&a>=this.Yi+d&&(this.el?this.ta++:this.ta--,this.Yi+=d,this.ta>=b.frames.length&&(b.um?(this.el=!1,this.ta=b.frames.length-2):b.loop?
  391. this.ta=b.Xt:(this.Li++,this.Li>=b.Fy?this.Uv(!1):this.ta=b.Xt)),0>this.ta&&(b.um?(this.ta=1,this.el=!0,b.loop||(this.Li++,this.Li>=b.Fy&&this.Uv(!0))):b.loop?this.ta=b.Xt:(this.Li++,this.Li>=b.Fy?this.Uv(!0):this.ta=b.Xt)),0>this.ta?this.ta=0:this.ta>=b.frames.length&&(this.ta=b.frames.length-1),a>this.Yi+b.frames[this.ta].duration/this.nl&&(this.Yi=a),a=b.frames[this.ta],this.Qm(c,a),this.c.Wa=!0)};q.XB=function(a){var b,c,d;b=0;for(c=this.type.xf.length;b<c;b++)if(d=this.type.xf[b],mb(d.name,a))return d;
  392. return null};q.KK=function(a){var b,c,d;b=0;for(c=this.type.xf.length;b<c;b++)if(d=this.type.xf[b],d.zb===a)return d;return null};q.LB=function(){var a=this.Yb.frames[this.ta],b=this.XB(this.an);this.an="";!b||mb(b.name,this.Yb.name)&&this.fl||(this.Yb=b,this.nl=b.speed,0>this.ta&&(this.ta=0),this.ta>=this.Yb.frames.length&&(this.ta=this.Yb.frames.length-1),1===this.AB&&(this.ta=0),this.fl=!0,this.Yi=this.Ih.mb,this.el=!0,this.Qm(a,this.Yb.frames[this.ta]),this.c.Wa=!0)};q.MB=function(){var a=this.Yb.frames[this.ta],
  393. b=this.ta;this.ta=ua(this.Sr);0>this.ta&&(this.ta=0);this.ta>=this.Yb.frames.length&&(this.ta=this.Yb.frames.length-1);b!==this.ta&&(this.Qm(a,this.Yb.frames[this.ta]),this.Yi=this.Ih.mb,this.c.Wa=!0);this.Sr=-1};q.Qm=function(a,b){var c=a.width,d=a.height,e=b.width,f=b.height;c!=e&&(this.width*=e/c);d!=f&&(this.height*=f/d);this.Ue=b.Ue;this.Ve=b.Ve;this.qb.xq(b.Kt);this.Ea();this.oe=b;this.cn=b.Ba;c=0;for(d=this.eb.length;c<d;c++)e=this.eb[c],e.rD&&e.rD(a,b);this.c.trigger(A.prototype.C.Qm,this)};
  394. q.Mh=function(a){a.globalAlpha=this.opacity;var b=this.oe,c=b.xm,d=b.Fa,e=this.x,f=this.y,g=this.width,h=this.height;if(0===this.K&&0<=g&&0<=h)e-=this.Ue*g,f-=this.Ve*h,this.c.ji&&(e=Math.round(e),f=Math.round(f)),c?a.drawImage(d,b.nm,b.pm,b.width,b.height,e,f,g,h):a.drawImage(d,e,f,g,h);else{this.c.ji&&(e=Math.round(e),f=Math.round(f));a.save();var m=0<g?1:-1,l=0<h?1:-1;a.translate(e,f);1===m&&1===l||a.scale(m,l);a.rotate(this.K*m*l);e=0-this.Ue*qa(g);f=0-this.Ve*qa(h);c?a.drawImage(d,b.nm,b.pm,
  395. b.width,b.height,e,f,qa(g),qa(h)):a.drawImage(d,e,f,qa(g),qa(h));a.restore()}};q.tg=function(a){a.Kf(this.cn);a.wm(this.opacity);var b=this.oe,c=this.nc;if(this.c.ji){var d=Math.round(this.x)-this.x,e=Math.round(this.y)-this.y;b.xm?a.li(c.tc+d,c.uc+e,c.Td+d,c.Ud+e,c.Ld+d,c.Md+e,c.Jd+d,c.Kd+e,b.Qy):a.Rt(c.tc+d,c.uc+e,c.Td+d,c.Ud+e,c.Ld+d,c.Md+e,c.Jd+d,c.Kd+e)}else b.xm?a.li(c.tc,c.uc,c.Td,c.Ud,c.Ld,c.Md,c.Jd,c.Kd,b.Qy):a.Rt(c.tc,c.uc,c.Td,c.Ud,c.Ld,c.Md,c.Jd,c.Kd)};q.OK=function(a){var b=this.oe,c,
  396. d;c=0;for(d=b.Sw.length;c<d;c++)if(mb(a,b.Sw[c][0]))return c;return-1};q.Cf=function(a,b){var c=this.oe,d=c.Sw,e;e=la(a)?this.OK(a):a-1;e=ua(e);if(0>e||e>=d.length)return b?this.x:this.y;var f=(d[e][1]-c.Ue)*this.width,d=d[e][2],d=(d-c.Ve)*this.height,c=Math.cos(this.K);e=Math.sin(this.K);var g=f*c-d*e,d=d*c+f*e,f=g+this.x,d=d+this.y;return b?f:d};var p=[],t=-2,v=[];c.prototype.yG=function(a){if(!a)return!1;var c=this.c,d=c.ln(),h=d.type;d.ra.collmemory||(d.ra.collmemory={},c.Zo(function(a){return function(c){c=
  397. c.uid;var d,e;for(d in a)a.hasOwnProperty(d)&&(e=a[d],e[0]===c||e[1]===c)&&(b(a[d]),delete a[d])}}(d.ra.collmemory)));var d=d.ra.collmemory,m=h.wa(),l=a.wa(),m=m.qe(),k,n,p,q,s,w,L,O=this.c.uh,D=O-1,G=c.bd().$c;for(n=0;n<m.length;n++){p=m[n];l.Aa?(p.Jb(),this.c.Dw(p.W,a,p.Yc,v),k=v):k=l.qe();for(q=0;q<k.length;q++)s=k[q],c.Qk(p,s)||c.tJ(p,s)?(w=g(d,p,s),w=!w||t<D,e(d,p,s,O),w&&(c.Bj(G.jb),w=h.wa(),L=a.wa(),w.Aa=!1,L.Aa=!1,h===a?(w.D.length=2,w.D[0]=p,w.D[1]=s,h.hf()):(w.D.length=1,L.D.length=1,w.D[0]=
  398. p,L.D[0]=s,h.hf(),a.hf()),G.pi(),c.Gg(G.jb))):f(d,p,s);v.length=0}return!1};var w=null,s=new da,O=!1,L=[];k.finish=function(a){if(O){if(a){var b=this.c.bd().$c.Cg;a=w.wa();var c=s.yh(),d,e;if(a.Aa){a.Aa=!1;a.D.length=c.length;d=0;for(e=c.length;d<e;d++)a.D[d]=c[d];if(b)for(d=a.Cb.length=0,e=w.D.length;d<e;d++)c=w.D[d],s.contains(c)||a.Cb.push(c)}else if(b)for(b=a.D.length,a.D.length=b+c.length,d=0,e=c.length;d<e;d++)a.D[b+d]=c[d],Fa(a.Cb,c[d]);else Ca(a.D,c);w.hf()}s.clear();O=!1}};c.prototype.bG=
  399. function(a){if(a){var b=!1,c,d,e,f=this.c.ln(),g=f.type,f=f.Rs;c=a.wa();d=this.c.bd().$c.Cg;var h;c.Aa?(this.Jb(),this.c.Dw(this.W,a,this.Yc,L),h=L):h=d?c.Cb:c.D;w=a;O=g!==a&&!f;c=0;for(d=h.length;c<d;c++)if(e=h[c],this.c.Qk(this,e)){b=!0;if(f)break;g!==a&&s.add(e)}L.length=0;a=b}else a=!1;return a};c.prototype.TF=function(a){return this.an.length?mb(this.an,a):mb(this.Yb.name,a)};c.prototype.dA=function(a){return mb(this.lB,a)};c.prototype.eA=function(){return!0};c.prototype.Qm=function(){return!0};
  400. c.prototype.mr=function(){return!0};n.C=new c;h.prototype.$H=function(a,b,c){if(a&&b&&(b=this.c.es(a,b,this.Cf(c,!0),this.Cf(c,!1)))){"undefined"!==typeof b.K&&(b.K=this.K,b.Ea());this.c.lf++;var d,e,f;this.c.trigger(Object.getPrototypeOf(a.Da).C.Tj,b);if(b.be)for(d=0,e=b.siblings.length;d<e;d++)f=b.siblings[d],this.c.trigger(Object.getPrototypeOf(f.type.Da).C.Tj,f);this.c.lf--;d=this.c.MK();c=!1;if(ja(d.ra.Spawn_LastExec)||d.ra.Spawn_LastExec<this.c.jn)c=!0,d.ra.Spawn_LastExec=this.c.jn;if(a!=this.type&&
  401. (a=a.wa(),a.Aa=!1,c?(a.D.length=1,a.D[0]=b):a.D.push(b),b.be))for(d=0,e=b.siblings.length;d<e;d++)f=b.siblings[d],a=f.type.wa(),a.Aa=!1,c?(a.D.length=1,a.D[0]=f):a.D.push(f)}};h.prototype.vA=function(a,b){this.an=a;this.AB=b;this.Cp||(this.c.vu(this),this.Cp=!0);this.Ps||this.LB()};h.prototype.wA=function(a){this.Sr=a;this.Cp||(this.c.vu(this),this.Cp=!0);this.Ps||this.MB()};h.prototype.yv=function(a){var b=this.oe,c=b.width*a*(0>this.width?-1:1);a=b.height*a*(0>this.height?-1:1);if(this.width!==
  402. c||this.height!==a)this.width=c,this.height=a,this.Ea()};h.prototype.Xz=function(a,b){var c=new Image,d=this,e=this.oe;c.onload=function(){e.Fa.src===c.src?d.c.ha&&d.oe===e&&(d.cn=e.Ba):(e.Fa=c,e.nm=0,e.pm=0,e.width=c.width,e.height=c.height,e.xm=!1,e.ms="",e.ry=0,d.c.ha&&(e.Ba&&d.c.ha.deleteTexture(e.Ba),e.Ba=d.c.ha.tk(c,!1,d.c.yb),d.oe===e&&(d.cn=e.Ba),d.type.cz()),0===b&&(d.width=c.width,d.height=c.height,d.Ea()));d.c.Wa=!0;d.c.trigger(A.prototype.C.mr,d)};"data:"!==a.substr(0,5)&&(c.crossOrigin=
  403. "anonymous");c.src=a};n.G=new h;l.prototype.RE=function(a){a.ja(this.ta)};l.prototype.SE=function(a){a.Xa(this.Yb.name)};l.prototype.QF=function(a,b){a.V(this.Cf(b,!0))};l.prototype.RF=function(a,b){a.V(this.Cf(b,!1))};l.prototype.Vu=function(a){a.V(this.oe.width)};l.prototype.Nz=function(a){a.V(this.oe.height)};n.H=new l})();function C(a){this.c=a}
  404. (function(){function a(a,b){return a.length?a.pop():new b}function c(a,b,c){if(c){var d;c=0;for(d=b.length;c<d;c++)a.length<l&&a.push(b[c]);b.length=0}else for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a.length<l&&a.push(b[d]),delete b[d])}function b(b,c,d){var e=b.Vl;d=d.replace(/\s\s*$/,"");c>=e.length&&e.push(a(n,Object));c=e[c];c.text=d;c.width=b.$x(d);b.Bm=ra(b.Bm,c.width)}function d(){}function e(){}function f(){}var g=C.prototype;g.ka=function(){};g.ua=function(a){this.Da=a;this.c=
  405. a.c};var h=g.ua.prototype;h.ka=function(){this.Ga||(this.Fa=new Image,this.c.pz(this.Fa,this.ru),this.Ba=null)};h.Ct=function(){this.Ga||(this.Ba=null)};h.Et=function(){if(!this.Ga&&this.D.length){this.Ba||(this.Ba=this.c.ha.tk(this.Fa,!1,this.c.yb,this.Eq));var a,b;a=0;for(b=this.D.length;a<b;a++)this.D[a].Ba=this.Ba}};h.Eu=function(){this.Ga||this.D.length||!this.Ba||(this.c.ha.deleteTexture(this.Ba),this.Ba=null)};h.Ot=function(a){a.drawImage(this.Fa,0,0)};g.la=function(a){this.type=a;this.c=a.c};
  406. h=g.la.prototype;h.wj=function(){c(n,this.Vl,!0);c(k,this.Ur,!1);c(m,this.Vr,!1);Xa(this.gk)};h.ka=function(){this.Fa=this.type.Fa;this.Tr=this.T[0];this.ek=this.T[1];this.characterSet=this.T[2];this.text=this.T[3];this.Wg=this.T[4];this.visible=0===this.T[5];this.Ow=this.T[6]/2;this.lz=this.T[7]/2;this.XN=0===this.T[9];this.fk=this.T[10];this.lineHeight=this.T[11];this.Am=this.Bm=0;this.ke?(this.Vl.length=0,Xa(this.Ur),Xa(this.Vr),Xa(this.gk)):(this.Vl=[],this.Ur={},this.Vr={},this.gk={});this.Gj=
  407. !0;this.ux=this.width;this.c.ha&&(this.type.Ba||(this.type.Ba=this.c.ha.tk(this.type.Fa,!1,this.c.yb,this.type.Eq)),this.Ba=this.type.Ba);this.aI()};h.kc=function(){var a={t:this.text,csc:this.Wg,csp:this.fk,lh:this.lineHeight,tw:this.Bm,th:this.Am,lrt:this.JL,cw:{}},b;for(b in this.gk)a.cw[b]=this.gk[b];return a};h.Bc=function(a){this.text=a.t;this.Wg=a.csc;this.fk=a.csp;this.lineHeight=a.lh;this.Bm=a.tw;this.Am=a.th;this.JL=a.lrt;for(var b in a.cw)this.gk[b]=a.cw[b];this.Gj=!0;this.ux=this.width};
  408. var l=1E3,n=[],k=[],m=[];h.aI=function(){for(var b=this.Fa,c=b.width,d=b.height,b=this.Tr,e=this.ek,f=b/c,g=e/d,h=this.characterSet,c=Math.floor(c/b),d=Math.floor(d/e),l=0;l<h.length&&!(l>=c*d);l++){var n=l%c,p=Math.floor(l/c),q=h.charAt(l);if(this.c.ha){var y=this.Vr,K=n*f,T=p*g,n=(n+1)*f,p=(p+1)*g;void 0===y[q]&&(y[q]=a(m,ya));y[q].left=K;y[q].top=T;y[q].right=n;y[q].bottom=p}else y=this.Ur,n*=b,p*=e,K=b,T=e,void 0===y[q]&&(y[q]=a(k,Object)),y[q].x=n,y[q].y=p,y[q].qd=K,y[q].hC=T}};var q=[];g.jI=
  409. function(a){q.length=0;for(var b="",c,d=0;d<a.length;)if(c=a.charAt(d),"\n"===c)b.length&&(q.push(b),b=""),q.push("\n"),++d;else if(" "===c||"\t"===c||"-"===c){do b+=a.charAt(d),d++;while(d<a.length&&(" "===a.charAt(d)||"\t"===a.charAt(d)));q.push(b);b=""}else d<a.length&&(b+=c,d++);b.length&&q.push(b)};g.uI=function(b){var d=b.text,e=b.Vl;if(d&&d.length){var f=b.width;if(2>=f)c(n,e,!0);else{var g=b.Wg,h=b.fk;if(d.length*(b.Tr*g+h)-h<=f&&-1===d.indexOf("\n")&&(h=b.$x(d),h<=f)){c(n,e,!0);e.push(a(n,
  410. Object));e[0].text=d;e[0].width=h;b.Bm=h;b.Am=b.ek*g+b.lineHeight;return}this.vI(b);b.Am=e.length*(b.ek*g+b.lineHeight)}}else c(n,e,!0)};g.vI=function(a){var c=a.XN,d=a.text,e=a.Vl,f=a.width;c&&(this.jI(d),d=q);var g="",h,m,k,p=0,E=!1;for(k=0;k<d.length;k++)"\n"===d[k]?(!0===E?E=!1:(b(a,p,g),p++),g=""):(E=!1,h=g,g+=d[k],m=a.$x(g.replace(/\s\s*$/,"")),m>f&&(""===h?(b(a,p,g),g="",E=!0):(b(a,p,h),g=d[k]),p++,c||" "!==g||(g="")));g.replace(/\s\s*$/,"").length&&(b(a,p,g),p++);for(k=p;k<e.length;k++)n.length<
  411. l&&n.push(e[k]);e.length=p};h.$x=function(a){for(var b=this.fk,c=a.length,d=0,e=0;e<c;e++)d+=this.Is(a.charAt(e))*this.Wg+b;return d-(0<d?b:0)};h.Is=function(a){var b=this.gk;return void 0!==b[a]?b[a]:this.Tr};h.By=function(){if(this.Gj||this.width!==this.ux)this.Am=this.Bm=0,this.type.Da.uI(this),this.Gj=!1,this.ux=this.width};h.Mh=function(a){var b=this.Fa;if(""!==this.text&&null!=b&&(this.By(),!(this.height<this.ek*this.Wg+this.lineHeight))){a.globalAlpha=this.opacity;var b=this.x,c=this.y;this.c.ji&&
  412. (b=Math.round(b),c=Math.round(c));var d=this.W.Kc,e=this.W.Lc,f=this.W.od,g=this.W.nd;a.save();a.translate(b,c);a.rotate(this.K);for(var h=this.Ow,m=this.Wg,l=this.ek*m,k=this.lineHeight,n=this.fk,p=this.Vl,q,Y=-(this.Ue*this.width),I=-(this.Ve*this.height),I=I+this.lz*ra(0,this.height-this.Am),R,ha,ga,N=0;N<p.length;N++){var D=p[N].text;q=h*ra(0,this.width-p[N].width);R=Y+q;I+=k;if(c+I+l<e)I+=l;else{for(var G=0;G<D.length;G++){ha=D.charAt(G);q=this.Is(ha);var H=this.Ur[ha];if(b+R+q*m+n<d)R+=q*m+
  413. n;else{if(R+q*m>this.width+1E-5)break;void 0!==H&&(ha=R,ga=I,0===this.K&&(ha=Math.round(ha),ga=Math.round(ga)),a.drawImage(this.Fa,H.x,H.y,H.qd,H.hC,ha,ga,H.qd*m,H.hC*m));R+=q*m+n;if(b+R>f)break}}I+=l;if(I+l+k>this.height||c+I>g)break}}a.restore()}};var p=new za;h.tg=function(a){a.Kf(this.Ba);a.wm(this.opacity);if(this.text&&(this.By(),!(this.height<this.ek*this.Wg+this.lineHeight))){this.Jb();var b=this.nc,c=0,d=0;this.c.ji&&(c=Math.round(this.x)-this.x,d=Math.round(this.y)-this.y);var e=this.W.Kc,
  414. f=this.W.Lc,g=this.W.od,h=this.W.nd,m=this.K,l=this.Ow,k=this.lz,n=this.Wg,q=this.ek*n,T=this.lineHeight,Y=this.fk,I=this.Vl,R=this.Am,ha,ga,N;0!==m&&(ga=Math.cos(m),N=Math.sin(m));for(var c=b.tc+c,b=b.uc+d,D,k=k*ra(0,this.height-R),G,H,R=0;R<I.length;R++)if(d=I[R].text,D=ha=l*ra(0,this.width-I[R].width),k+=T,b+k+q<f)k+=q;else{for(var Q=0;Q<d.length;Q++){var ba=d.charAt(Q);ha=this.Is(ba);ba=this.Vr[ba];if(c+D+ha*n+Y<e)D+=ha*n+Y;else{if(D+ha*n>this.width+1E-5)break;if(void 0!==ba){var U=this.Tr*n,
  415. X=this.ek*n;G=D;H=k;0===m&&(G=Math.round(G),H=Math.round(H));p.tc=G;p.uc=H;p.Td=G+U;p.Ud=H;p.Jd=G;p.Kd=H+X;p.Ld=G+U;p.Md=H+X;0!==m&&(G=p,H=ga,U=N,X=void 0,X=G.tc*H-G.uc*U,G.uc=G.uc*H+G.tc*U,G.tc=X,X=G.Td*H-G.Ud*U,G.Ud=G.Ud*H+G.Td*U,G.Td=X,X=G.Jd*H-G.Kd*U,G.Kd=G.Kd*H+G.Jd*U,G.Jd=X,X=G.Ld*H-G.Md*U,G.Md=G.Md*H+G.Ld*U,G.Ld=X);p.offset(c,b);a.li(p.tc,p.uc,p.Td,p.Ud,p.Ld,p.Md,p.Jd,p.Kd,ba)}D+=ha*n+Y;if(c+D>g)break}}k+=q;if(k+q+T>this.height||b+k>h)break}}};d.prototype.nF=function(a,b){return b?this.text==
  416. a:mb(this.text,a)};g.C=new d;e.prototype.KA=function(a){ka(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.Gj=!0,this.c.Wa=!0)};e.prototype.yv=function(a){a!==this.Wg&&(this.Wg=a,this.Gj=!0,this.c.Wa=!0)};e.prototype.rH=function(a){a!==this.aF&&(this.fk=a,this.Gj=!0,this.c.Wa=!0)};h.qH=function(a,b){var c=parseInt(b,10);this.gk[a]!==c&&(this.gk[a]=c,this.Gj=!0,this.c.Wa=!0)};e.prototype.sH=function(a,b){if(""!==a)for(var c=0;c<a.length;c++)this.qH(a.charAt(c),
  417. b)};e.prototype.wH=function(a){this.Ow=a/2;this.Gj=!0;this.c.Wa=!0};e.prototype.QH=function(a){this.lz=a/2;this.Gj=!0;this.c.Wa=!0};g.G=new e;f.prototype.bF=function(a,b){a.ja(this.Is(b))};f.prototype.$E=function(a){a.V(this.Wg)};f.prototype.aF=function(a){a.ja(this.fk)};f.prototype.lG=function(a){a.ja(this.lineHeight)};f.prototype.Text=function(a){a.Xa(this.text)};f.prototype.iI=function(a){this.By();a.V(this.Bm)};g.H=new f})();function Jc(a){this.c=a}
  418. (function(){function a(){}function c(){}function b(){}var d=Jc.prototype;d.ua=function(a){this.Da=a;this.c=a.c};var e=d.ua.prototype;e.ka=function(){this.Ga||(this.Fa=new Image,this.Fa.GB=this.Xy,this.c.pz(this.Fa,this.ru),this.Ba=this.pattern=null)};e.Ct=function(){this.Ga||(this.Ba=null)};e.Et=function(){if(!this.Ga&&this.D.length){this.Ba||(this.Ba=this.c.ha.tk(this.Fa,!0,this.c.yb,this.Eq));var a,b;a=0;for(b=this.D.length;a<b;a++)this.D[a].Ba=this.Ba}};e.Ax=function(){this.Ga||this.Ba||!this.c.ha||
  419. (this.Ba=this.c.ha.tk(this.Fa,!0,this.c.yb,this.Eq))};e.Eu=function(){this.Ga||this.D.length||!this.Ba||(this.c.ha.deleteTexture(this.Ba),this.Ba=null)};e.Ot=function(a){a.drawImage(this.Fa,0,0)};d.la=function(a){this.type=a;this.c=a.c};e=d.la.prototype;e.ka=function(){this.visible=0===this.T[0];this.pq=new ya(0,0,0,0);this.Os=!1;this.Fa=this.type.Fa;this.c.ha?(this.type.Ax(),this.Ba=this.type.Ba):(this.type.pattern||(this.type.pattern=this.c.Ub.createPattern(this.type.Fa,"repeat")),this.pattern=
  420. this.type.pattern)};e.mg=function(){this.Os=!1;this.Fa=this.type.Fa};e.wj=function(){this.c.ha&&this.Os&&this.Ba&&(this.c.ha.deleteTexture(this.Ba),this.Ba=null)};e.Mh=function(a){a.globalAlpha=this.opacity;a.save();a.fillStyle=this.pattern;var b=this.x,c=this.y;this.c.ji&&(b=Math.round(b),c=Math.round(c));var d=-(this.Ue*this.width),e=-(this.Ve*this.height),k=d%this.Fa.width,m=e%this.Fa.height;0>k&&(k+=this.Fa.width);0>m&&(m+=this.Fa.height);a.translate(b,c);a.rotate(this.K);a.translate(k,m);a.fillRect(d-
  421. k,e-m,this.width,this.height);a.restore()};e.tg=function(a){a.Kf(this.Ba);a.wm(this.opacity);var b=this.pq;b.right=this.width/this.Fa.width;b.bottom=this.height/this.Fa.height;var c=this.nc;if(this.c.ji){var d=Math.round(this.x)-this.x,e=Math.round(this.y)-this.y;a.li(c.tc+d,c.uc+e,c.Td+d,c.Ud+e,c.Ld+d,c.Md+e,c.Jd+d,c.Kd+e,b)}else a.li(c.tc,c.uc,c.Td,c.Ud,c.Ld,c.Md,c.Jd,c.Kd,b)};a.prototype.mr=function(){return!0};d.C=new a;c.prototype.Xz=function(a){var b=new Image,c=this;b.onload=function(){c.Fa=
  422. b;c.c.ha?(c.Os&&c.Ba&&c.c.ha.deleteTexture(c.Ba),c.Ba=c.c.ha.tk(b,!0,c.c.yb)):c.pattern=c.c.Ub.createPattern(b,"repeat");c.Os=!0;c.c.Wa=!0;c.c.trigger(Jc.prototype.C.mr,c)};"data:"!==a.substr(0,5)&&(b.crossOrigin="anonymous");b.src=a};d.G=new c;b.prototype.Vu=function(a){a.V(this.Fa.width)};b.prototype.Nz=function(a){a.V(this.Fa.height)};d.H=new b})();function Kc(a){this.c=a}
  423. (function(){function a(a){n=a.x;k=a.y;m=a.z}function c(a){q=a.x;p=a.y;t=a.z}function b(a,b,c,e){var f;f=v.length?v.pop():new d;f.init(a,b,c,e);return f}function d(){this.Aq=this.id=this.Tl=this.Sl=this.y=this.x=this.ou=this.nu=this.tx=this.time=this.Uy=0;this.Fq=this.Bu=!1}function e(){}function f(){}var g=Kc.prototype;g.ua=function(a){this.Da=a;this.c=a.c};g.ua.prototype.ka=function(){};g.la=function(a){this.type=a;this.c=a.c;this.touches=[];this.by=!1};var h=g.la.prototype,l={left:0,top:0};h.kp=
  424. function(a){var b,c;b=0;for(c=this.touches.length;b<c;b++)if(this.touches[b].id===a)return b;return-1};var n=0,k=0,m=0,q=0,p=0,t=0,v=[];d.prototype.init=function(a,b,c,d){var e=Ya();this.Uy=this.tx=this.time=e;this.nu=a;this.ou=b;this.x=a;this.y=b;this.Sl=a;this.Tl=b;this.id=c;this.Aq=d;this.Fq=this.Bu=!1};d.prototype.update=function(a,b,c){this.tx=this.time;this.time=a;this.Sl=this.x;this.Tl=this.y;this.x=b;this.y=c;!this.Fq&&15<=Sa(this.nu,this.ou,this.x,this.y)&&(this.Fq=!0)};d.prototype.rM=function(a,
  425. b){!this.Bu&&500<=Ya()-this.Uy&&!this.Fq&&15>Sa(this.nu,this.ou,this.x,this.y)&&(this.Bu=!0,a.wi=this.Aq,a.ko=this.id,a.mn=b,a.c.trigger(Kc.prototype.C.DG,a),a.Ri=this.x,a.Si=this.y,a.c.trigger(Kc.prototype.C.EG,a),a.mn=0)};var w=-1E3,s=-1E3,O=-1E4;d.prototype.fD=function(a,b){if(!this.Bu){var c=Ya();333>=c-this.Uy&&!this.Fq&&15>Sa(this.nu,this.ou,this.x,this.y)&&(a.wi=this.Aq,a.ko=this.id,a.mn=b,666>=c-O&&25>Sa(w,s,this.x,this.y)?(a.c.trigger(Kc.prototype.C.AG,a),a.Ri=this.x,a.Si=this.y,a.c.trigger(Kc.prototype.C.BG,
  426. a),s=w=-1E3,O=-1E4):(a.c.trigger(Kc.prototype.C.PG,a),a.Ri=this.x,a.Si=this.y,a.c.trigger(Kc.prototype.C.QG,a),w=this.x,s=this.y,O=c),a.mn=0)}};h.ka=function(){this.CL=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.mn=this.ko=this.wi=this.Si=this.Ri=this.dB=this.cB=this.bB=this.aJ=this.$I=this.ZI=this.kq=this.jq=this.iq=0;this.ON=0!==this.T[0];var b=0<this.c.kf?document:this.c.canvas,d=document;this.c.ae?d=b=window.Canvas:this.c.Ef&&(d=b=window);var e=this;window.navigator.pointerEnabled?
  427. (b.addEventListener("pointerdown",function(a){e.qD(a)},!1),b.addEventListener("pointermove",function(a){e.pD(a)},!1),d.addEventListener("pointerup",function(a){e.Dt(a,!1)},!1),d.addEventListener("pointercancel",function(a){e.Dt(a,!0)},!1),this.c.canvas&&(this.c.canvas.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),document.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),this.c.canvas.addEventListener("gesturehold",function(a){a.preventDefault()},!1),document.addEventListener("gesturehold",
  428. function(a){a.preventDefault()},!1))):window.navigator.msPointerEnabled?(b.addEventListener("MSPointerDown",function(a){e.qD(a)},!1),b.addEventListener("MSPointerMove",function(a){e.pD(a)},!1),d.addEventListener("MSPointerUp",function(a){e.Dt(a,!1)},!1),d.addEventListener("MSPointerCancel",function(a){e.Dt(a,!0)},!1),this.c.canvas&&(this.c.canvas.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),document.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1))):(b.addEventListener("touchstart",
  429. function(a){e.tD(a)},!1),b.addEventListener("touchmove",function(a){e.sD(a)},!1),d.addEventListener("touchend",function(a){e.ky(a,!1)},!1),d.addEventListener("touchcancel",function(a){e.ky(a,!0)},!1));if(this.CL){var f=function(a){a=a.reading;e.bB=a.accelerationX;e.cB=a.accelerationY;e.dB=a.accelerationZ},g=function(a){a=a.reading;e.iq=a.yawDegrees;e.jq=a.pitchDegrees;e.kq=a.rollDegrees},m=Windows.Devices.Sensors.Accelerometer.getDefault();m&&(m.reportInterval=Math.max(m.minimumReportInterval,16),
  430. m.addEventListener("readingchanged",f));var h=Windows.Devices.Sensors.Inclinometer.getDefault();h&&(h.reportInterval=Math.max(h.minimumReportInterval,16),h.addEventListener("readingchanged",g));document.addEventListener("visibilitychange",function(){document.hidden||document.msHidden?(m&&m.removeEventListener("readingchanged",f),h&&h.removeEventListener("readingchanged",g)):(m&&m.addEventListener("readingchanged",f),h&&h.addEventListener("readingchanged",g))},!1)}else window.addEventListener("deviceorientation",
  431. function(a){e.iq=a.alpha||0;e.jq=a.beta||0;e.kq=a.gamma||0},!1),window.addEventListener("devicemotion",function(a){a.accelerationIncludingGravity&&(e.ZI=a.accelerationIncludingGravity.x||0,e.$I=a.accelerationIncludingGravity.y||0,e.aJ=a.accelerationIncludingGravity.z||0);a.acceleration&&(e.bB=a.acceleration.x||0,e.cB=a.acceleration.y||0,e.dB=a.acceleration.z||0)},!1);this.ON&&!this.c.ac&&(jQuery(document).mousemove(function(a){e.EM(a)}),jQuery(document).mousedown(function(a){e.DM(a)}),jQuery(document).mouseup(function(a){e.FM(a)}));
  432. this.c.rn&&!this.c.ae&&AppMobi.accelerometer.watchAcceleration(a,{frequency:40,adjustForRotation:!0});this.c.mf&&navigator.accelerometer&&navigator.accelerometer.watchAcceleration&&navigator.accelerometer.watchAcceleration(c,null,{frequency:40});this.c.CN(this)};h.pD=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&a.preventDefault();var b=this.kp(a.pointerId),c=Ya();if(0<=b){var d=this.c.ac?l:jQuery(this.c.canvas).offset(),b=this.touches[b];2>c-b.time||
  433. b.update(c,a.pageX-d.left,a.pageY-d.top)}}};h.qD=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&nb(a)&&a.preventDefault();var c=this.c.ac?l:jQuery(this.c.canvas).offset(),d=a.pageX-c.left,c=a.pageY-c.top;Ya();this.wi=this.touches.length;this.ko=a.pointerId;this.touches.push(b(d,c,a.pointerId,this.wi));this.c.Uh=!0;this.c.trigger(Kc.prototype.C.mA,this);this.c.trigger(Kc.prototype.C.ov,this);this.Ri=d;this.Si=c;this.c.trigger(Kc.prototype.C.nv,this);
  434. this.c.Uh=!1}};h.Dt=function(a,b){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&nb(a)&&a.preventDefault();var c=this.kp(a.pointerId);this.wi=0<=c?this.touches[c].Aq:-1;this.ko=0<=c?this.touches[c].id:-1;this.c.Uh=!0;this.c.trigger(Kc.prototype.C.lA,this);this.c.trigger(Kc.prototype.C.lv,this);0<=c&&(b||this.touches[c].fD(this,c),100>v.length&&v.push(this.touches[c]),this.touches.splice(c,1));this.c.Uh=!1}};h.sD=function(a){a.preventDefault&&a.preventDefault();
  435. var b=Ya(),c,d,e,f;c=0;for(d=a.changedTouches.length;c<d;c++)if(e=a.changedTouches[c],f=this.kp(e.identifier),0<=f){var g=this.c.ac?l:jQuery(this.c.canvas).offset();f=this.touches[f];2>b-f.time||f.update(b,e.pageX-g.left,e.pageY-g.top)}};h.tD=function(a){a.preventDefault&&nb(a)&&a.preventDefault();var c=this.c.ac?l:jQuery(this.c.canvas).offset();Ya();this.c.Uh=!0;var d,e,f,g;d=0;for(e=a.changedTouches.length;d<e;d++)if(f=a.changedTouches[d],g=this.kp(f.identifier),-1===g){g=f.pageX-c.left;var m=f.pageY-
  436. c.top;this.wi=this.touches.length;this.ko=f.identifier;this.touches.push(b(g,m,f.identifier,this.wi));this.c.trigger(Kc.prototype.C.mA,this);this.c.trigger(Kc.prototype.C.ov,this);this.Ri=g;this.Si=m;this.c.trigger(Kc.prototype.C.nv,this)}this.c.Uh=!1};h.ky=function(a,b){a.preventDefault&&nb(a)&&a.preventDefault();this.c.Uh=!0;var c,d,e;c=0;for(d=a.changedTouches.length;c<d;c++)e=a.changedTouches[c],e=this.kp(e.identifier),0<=e&&(this.wi=this.touches[e].Aq,this.ko=this.touches[e].id,this.c.trigger(Kc.prototype.C.lA,
  437. this),this.c.trigger(Kc.prototype.C.lv,this),b||this.touches[e].fD(this,e),100>v.length&&v.push(this.touches[e]),this.touches.splice(e,1));this.c.Uh=!1};h.iP=function(){return this.c.rn&&0===this.iq&&0!==m?90*m:this.c.mf&&0===this.iq&&0!==t?90*t:this.iq};h.jP=function(){return this.c.rn&&0===this.jq&&0!==k?-90*k:this.c.mf&&0===this.jq&&0!==p?90*p:this.jq};h.mP=function(){return this.c.rn&&0===this.kq&&0!==n?90*n:this.c.mf&&0===this.kq&&0!==q?90*q:this.kq};h.DM=function(a){a.preventDefault&&this.c.Nw&&
  438. !this.c.ej&&a.preventDefault();this.tD({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.by=!0};h.EM=function(a){this.by&&this.sD({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};h.FM=function(a){a.preventDefault&&this.c.Nw&&!this.c.ej&&a.preventDefault();this.c.Nw=!0;this.ky({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.by=!1};h.jo=function(){var a,b,c,d=Ya();a=0;for(b=this.touches.length;a<b;++a)c=this.touches[a],c.time<=d-50&&(c.tx=d),c.rM(this,
  439. a)};e.prototype.ov=function(){return!0};e.prototype.lv=function(){return!0};e.prototype.nv=function(a){return a?this.c.qu(a,this.Ri,this.Si):!1};var L=[];e.prototype.hG=function(a){if(!a)return!1;var b=a.wa(),c=b.qe(),d,e,f,g,m,h;f=0;for(g=c.length;f<g;f++){var k=c[f];k.Jb();m=0;for(h=this.touches.length;m<h;m++)if(e=this.touches[m],d=k.W.Se(e.x,e.y,!0),e=k.W.Se(e.x,e.y,!1),k.Be(d,e)){L.push(k);break}}return L.length?(b.Aa=!1,Ca(b.D,L),a.hf(),L.length=0,!0):!1};e.prototype.mA=function(a){a=Math.floor(a);
  440. return a===this.wi};e.prototype.lA=function(a){a=Math.floor(a);return a===this.wi};e.prototype.DG=function(){return!0};e.prototype.PG=function(){return!0};e.prototype.AG=function(){return!0};e.prototype.EG=function(a){return a?this.c.qu(a,this.Ri,this.Si):!1};e.prototype.QG=function(a){return a?this.c.qu(a,this.Ri,this.Si):!1};e.prototype.BG=function(a){return a?this.c.qu(a,this.Ri,this.Si):!1};g.C=new e;f.prototype.So=function(a,b){var c=this.mn;if(0>c||c>=this.touches.length)a.V(0);else{var d,e,
  441. f,g,m;ja(b)?(d=this.c.$i(0),e=d.scale,f=d.Ah,g=d.Dg,m=d.K,d.scale=1,d.Ah=1,d.Dg=1,d.K=0,a.V(d.Se(this.touches[c].x,this.touches[c].y,!0)),d.scale=e,d.Ah=f,d.Dg=g,d.K=m):(d=ka(b)?this.c.$i(b):this.c.rp(b))?a.V(d.Se(this.touches[c].x,this.touches[c].y,!0)):a.V(0)}};f.prototype.To=function(a,b){var c=this.mn;if(0>c||c>=this.touches.length)a.V(0);else{var d,e,f,g,m;ja(b)?(d=this.c.$i(0),e=d.scale,f=d.Ah,g=d.Eg,m=d.K,d.scale=1,d.Ah=1,d.Eg=1,d.K=0,a.V(d.Se(this.touches[c].x,this.touches[c].y,!1)),d.scale=
  442. e,d.Ah=f,d.Eg=g,d.K=m):(d=ka(b)?this.c.$i(b):this.c.rp(b))?a.V(d.Se(this.touches[c].x,this.touches[c].y,!1)):a.V(0)}};g.H=new f})();function Lc(a){this.c=a}
  443. (function(){function a(){}function c(){}function b(){}var d=Lc.prototype;d.ua=function(a){this.Da=a;this.c=a.c};d.ua.prototype.ka=function(){};d.la=function(a){this.type=a;this.c=a.c};var e=d.la.prototype,f="",g="undefined"!==typeof window.is_scirra_arcade;g&&(f="arcade"+window.scirra_arcade_id);e.ka=function(){"undefined"===typeof localStorage&&fa("[Construct 2] Webstorage plugin: local storage is not supported on this platform.");"undefined"===typeof sessionStorage&&fa("[Construct 2] Webstorage plugin: session storage is not supported on this platform.")};
  444. a.prototype.qG=function(a){return"undefined"===typeof localStorage?!1:null!=localStorage.getItem(f+a)};a.prototype.nA=function(){return!0};d.C=new a;c.prototype.dI=function(a,b){if("undefined"!==typeof localStorage)try{localStorage.setItem(f+a,b)}catch(c){this.c.trigger(Lc.prototype.C.nA,this)}};c.prototype.hF=function(){"undefined"!==typeof localStorage&&(g||localStorage.clear())};c.prototype.Fo=function(a,b){if("undefined"!==typeof localStorage){var c;try{c=JSON.parse(a)}catch(d){return}if(c.c2dictionary){c=
  445. c.data;0!==b||g||localStorage.clear();for(var e in c)if(c.hasOwnProperty(e))try{localStorage.setItem(f+e,c[e])}catch(q){this.c.trigger(Lc.prototype.C.nA,this);break}}}};d.G=new c;b.prototype.rG=function(a,b){"undefined"===typeof localStorage?a.Xa(""):a.Xa(localStorage.getItem(f+b)||"")};b.prototype.Pj=function(a){if("undefined"===typeof localStorage)a.Xa("");else{var b={},c,d,e;c=0;for(d=localStorage.length;c<d;c++)e=localStorage.key(c),g?e.substr(0,f.length)===f&&(b[e.substr(f.length)]=localStorage.getItem(e)):
  446. b[e]=localStorage.getItem(e);a.Xa(JSON.stringify({c2dictionary:!0,data:b}))}};d.H=new b})();function Mc(a){this.c=a}
  447. (function(a){function c(){}function b(a){if(k.Ug){if(!k.ze[a])switch(a){case "logo":d();break;case "splashScreen":e();break;default:var b;b=k.Ug?k.Lf.Branding.getLinks()&&k.Lf.Branding.getLinks()[a]?!0:!1:void 0;b&&(k.ze[a]=k.Lf.Branding.getLink(a))}return k.ze[a]&&k.ze[a].action?k.ze[a].action:!1}}function d(){k.Ug&&(k.ze.logo||(k.ze.logo=k.Lf.Branding.getLogo()))}function e(){k.Ug&&(k.ze.splashScreen||(k.ze.splashScreen=k.Lf.Branding.getSplashScreen()))}function f(){k.Bw=1;k.c.trigger(Mc.prototype.C.DD,
  448. k)}function g(){k.Bw=0;k.c.trigger(Mc.prototype.C.QD,k)}function h(){k.c.trigger(Mc.prototype.C.fE,k)}function l(){}function n(){}var k,m;m=Mc.prototype;m.ua=function(a){this.Da=a;this.c=a.c};m.ua.prototype.ka=function(){};m.la=function(a){this.type=a;this.c=a.c};m.la.prototype.ka=function(){k=this;k.Lf=null;k.Ug=!1;k.nB=null;k.ze={};k.Bw=!1;var b={id:this.T[0]};a&&a.GameAPI&&a.GameAPI.loadAPI(function(a){k.Lf=a;k.Ug=k.Lf.isReady;k.nB=k.Lf.version;k.Lf.Game.on("pause",f);k.Lf.Game.on("resume",g);
  449. k.c.trigger(Mc.prototype.C.Ug,k)},b)};c.prototype.hJ=function(){return k.Lf?!0:!1};c.prototype.Ug=function(){return k.Ug};c.prototype.fj=function(){return k.Bw};c.prototype.AL=function(){if(k.Ug)return k.ze.splashScreen||e(),k.ze.splashScreen&&k.ze.splashScreen.show?k.ze.splashScreen.show:!1};c.prototype.DD=function(){return!0};c.prototype.QD=function(){return!0};c.prototype.fE=function(){return!0};m.C=new c;l.prototype.tN=function(){k.Lf.Branding.displaySplashScreen(h)};l.prototype.HM=function(a){b(a)&&
  450. b(a).call(this)};l.prototype.bN=function(){k.Ug&&k.Lf.GameBreak.request(function(){f()},function(){g()})};m.G=new l;n.prototype.SL=function(a){k.ze.logo||d();a.Xa(k.ze.logo&&k.ze.logo.image?k.ze.logo.image:"")};n.prototype.version=function(a){a.Xa(k.nB)};m.H=new n})(window);function Nc(a){this.c=a}
  451. (function(){function a(){}function c(){}var b=Nc.prototype;b.ua=function(a){this.behavior=a;this.c=a.c};b.ua.prototype.ka=function(){};b.la=function(a,b){this.type=a;this.behavior=a.behavior;this.j=b;this.c=a.c};var d=b.la.prototype;d.ka=function(){var a=this.T[0];this.Ki=this.T[1];this.Es=this.T[2];this.oJ=0!==this.T[3];this.Ly=0!==this.T[4];this.wd=Math.cos(this.j.K)*a;this.Oc=Math.sin(this.j.K)*a;this.Sl=this.j.x;this.Tl=this.j.y;this.Fe=this.j.K;this.Au=0;this.enabled=0!==this.T[5]};d.kc=function(){return{acc:this.Ki,
  452. g:this.Es,dx:this.wd,dy:this.Oc,lx:this.Sl,ly:this.Tl,lka:this.Fe,t:this.Au,e:this.enabled}};d.Bc=function(a){this.Ki=a.acc;this.Es=a.g;this.wd=a.dx;this.Oc=a.dy;this.Sl=a.lx;this.Tl=a.ly;this.Fe=a.lka;this.Au=a.t;this.enabled=a.e};d.sc=function(){if(this.enabled){var a=this.c.Rh(this.j),b,c;this.j.K!==this.Fe&&(this.Ly&&(b=Sa(0,0,this.wd,this.Oc),this.wd=Math.cos(this.j.K)*b,this.Oc=Math.sin(this.j.K)*b),this.Fe=this.j.K);0!==this.Ki&&(b=Sa(0,0,this.wd,this.Oc),c=0===this.wd&&0===this.Oc?this.j.K:
  453. Na(0,0,this.wd,this.Oc),b+=this.Ki*a,0>b&&(b=0),this.wd=Math.cos(c)*b,this.Oc=Math.sin(c)*b);0!==this.Es&&(this.Oc+=this.Es*a);this.Sl=this.j.x;this.Tl=this.j.y;if(0!==this.wd||0!==this.Oc)if(this.j.x+=this.wd*a,this.j.y+=this.Oc*a,this.Au+=Sa(0,0,this.wd*a,this.Oc*a),this.Ly&&(this.j.K=Na(0,0,this.wd,this.Oc),this.j.Ea(),this.Fe=this.j.K),this.j.Ea(),this.oJ&&(b=this.c.zm(this.j)))this.c.ND(this.j,b),b=Sa(0,0,this.wd,this.Oc),c=this.c.rJ(this.j,this.Sl,this.Tl),this.wd=Math.cos(c)*b,this.Oc=Math.sin(c)*
  454. b,this.j.x+=this.wd*a,this.j.y+=this.Oc*a,this.j.Ea(),this.Ly&&(this.Fe=this.j.K=c,this.j.Ea()),this.c.UM(this.j,this.wd/b,this.Oc/b,Math.max(2.5*b*a,30))||this.c.VM(this.j)}};b.C=new function(){};a.prototype.JA=function(a){var b=Na(0,0,this.wd,this.Oc);this.wd=Math.cos(b)*a;this.Oc=Math.sin(b)*a};a.prototype.nH=function(a){a=u(a);var b=Sa(0,0,this.wd,this.Oc);this.wd=Math.cos(a)*b;this.Oc=Math.sin(a)*b};a.prototype.Sm=function(a){this.enabled=1===a};b.G=new a;c.prototype.Ev=function(a){var b=Sa(0,
  455. 0,this.wd,this.Oc),b=lb(b);a.V(b)};b.H=new c})();function Oc(a){this.c=a}
  456. (function(){function a(){}var c=Oc.prototype;c.ua=function(a){this.behavior=a;this.c=a.c};c.ua.prototype.ka=function(){};c.la=function(a,b){this.type=a;this.behavior=a.behavior;this.j=b;this.c=a.c};var b=c.la.prototype;b.ka=function(){var a=1===this.T[0];this.hp=this.T[1];this.Mq=this.T[2];this.vs=this.T[3];this.BJ=this.T[4];this.dg=a?0:3;this.ke?this.Ig.reset():this.Ig=new cb;this.lm=this.j.opacity?this.j.opacity:1;a&&(0===this.hp?(this.dg=1,0===this.Mq&&(this.dg=2)):(this.j.opacity=0,this.c.Wa=
  457. !0))};b.kc=function(){return{fit:this.hp,wt:this.Mq,fot:this.vs,s:this.dg,st:this.Ig.mb,mo:this.lm}};b.Bc=function(a){this.hp=a.fit;this.Mq=a.wt;this.vs=a.fot;this.dg=a.s;this.Ig.reset();this.Ig.mb=a.st;this.lm=a.mo};b.sc=function(){this.Ig.add(this.c.Rh(this.j));0===this.dg&&(this.j.opacity=this.Ig.mb/this.hp*this.lm,this.c.Wa=!0,this.j.opacity>=this.lm&&(this.j.opacity=this.lm,this.dg=1,this.Ig.reset()));1===this.dg&&this.Ig.mb>=this.Mq&&(this.dg=2,this.Ig.reset());2===this.dg&&0!==this.vs&&(this.j.opacity=
  458. this.lm-this.Ig.mb/this.vs*this.lm,this.c.Wa=!0,0>this.j.opacity&&(this.j.opacity=0,this.dg=3,this.Ig.reset(),this.c.trigger(Oc.prototype.C.CG,this.j),1===this.BJ&&this.c.Ch(this.j)))};b.fP=function(){this.dg=0;this.Ig.reset();0===this.hp?(this.dg=1,0===this.Mq&&(this.dg=2)):(this.j.opacity=0,this.c.Wa=!0)};a.prototype.CG=function(){return!0};c.C=new a;c.G=new function(){}})();function Pc(a,c){for(var b in c.prototype)c.prototype.hasOwnProperty(b)&&(a.prototype[b]=c.prototype[b])}
  459. if(navigator.isCocoonJS&&"undefined"!==typeof window.cr_cjs_accelerated_physics)fa("Using CocoonJS native physics"),window.ext&&"undefined"!==typeof window.ext.IDTK_SRV_BOX2D?function(){function a(a,b,d,e){this.type=c.dn;this.gc=new k;this.hc=new k;this.xh=null;void 0!==a&&(this.R=a);void 0!==b&&(this.S=b);void 0!==d&&this.gc.M(d);void 0!==e&&this.hc.M(e);this.Qn=this.dD=this.iz=this.Gx=this.ni=0;this.gn=this.rl=!1}function c(a){this.R=a.R;this.S=a.S;this.xh=a.xh;this.type=a.type;this.next=null}function b(a,
  460. b){this.nt=[];this.rc=[];this.dm=[];this.mj=null;this.eM=[];this.jc=window.ext.IDTK_SRV_BOX2D.makeCall("createWorld",a.x,a.y,b)}function d(){}function e(a,b,c){this.Dc=a;this.qc=b;this.lM=c}function f(a,b){var c=a.xh;a.xh=null;this.La=b;this.I=new l(a.position,n.Lm(a.K));this.Up=[];this.kj=a.ea;a.type===f.yf&&(a.Yg=0);this.Cc=window.ext.IDTK_SRV_BOX2D.makeCall("createBody",b.jc,a);a.xh=c}function g(a,b,c,d){this.Sp=a;this.Lx=c;this.sj={};this.sj.$e=k.B(0,0);this.qt=!1;this.ot=d.Yg;this.Nx=d.Qh;this.Ux=
  461. d.oi;this.qt=d.$w}function h(){}function l(a,b){this.position=k.B(0,0);this.u=new n;void 0===a&&(a=null);void 0===b&&(b=null);a&&(this.position.M(a),this.u.Qg(b))}function n(){this.k=k.B(0,0);this.n=k.B(0,0);this.Uj()}function k(a,b){void 0===a&&(a=0);void 0===b&&(b=0);this.x=a;this.y=b}J=k;k.Ji=[];k.B=function(a,b){if(0<J.Ji.length){var c=J.Ji.pop();c.Set(a,b);return c}return new J(a,b)};k.Wc=function(a){1E4>J.Ji.length&&J.Ji.push(a)};k.prototype.za=function(){this.y=this.x=0};k.prototype.Set=function(a,
  462. b){void 0===a&&(a=0);void 0===b&&(b=0);this.x=a;this.y=b};k.prototype.M=function(a){this.x=a.x;this.y=a.y};k.tO=function(a,b){void 0===a&&(a=0);void 0===b&&(b=0);return k.B(a,b)};k.prototype.vc=function(){return k.B(this.x,this.y)};k.prototype.Di=function(a){this.x+=a.x;this.y+=a.y};k.prototype.Fv=function(a){this.x-=a.x;this.y-=a.y};k.prototype.Oe=function(a){void 0===a&&(a=0);this.x*=a;this.y*=a};k.prototype.Fh=function(){return Math.sqrt(this.x*this.x+this.y*this.y)};k.prototype.gr=function(){return this.x*
  463. this.x+this.y*this.y};k.prototype.Pe=function(){var a=Math.sqrt(this.x*this.x+this.y*this.y);if(a<Number.MIN_VALUE)return 0;var b=1/a;this.x*=b;this.y*=b;return a};k.prototype.bv=function(){this.x=-this.x;this.y=-this.y};Qc=n;n.Lm=function(a){void 0===a&&(a=0);var b=new n;b.Set(a);return b};n.Eh=function(a,b){var c=new n;c.Bv(a,b);return c};n.prototype.Set=function(a){void 0===a&&(a=0);var b=Math.cos(a);a=Math.sin(a);this.k.x=b;this.n.x=-a;this.k.y=a;this.n.y=b};n.prototype.Bv=function(a,b){this.k.M(a);
  464. this.n.M(b)};n.prototype.vc=function(){var a=new n;a.Qg(this);return a};n.prototype.Qg=function(a){this.k.M(a.k);this.n.M(a.n)};n.prototype.Oq=function(a){this.k.x+=a.k.x;this.k.y+=a.k.y;this.n.x+=a.n.x;this.n.y+=a.n.y};n.prototype.Uj=function(){this.k.x=1;this.n.x=0;this.k.y=0;this.n.y=1};n.prototype.za=function(){this.k.x=0;this.n.x=0;this.k.y=0;this.n.y=0};n.prototype.Me=function(){return Math.atan2(this.k.y,this.k.x)};n.prototype.Su=function(a){var b=this.k.x,c=this.n.x,d=this.k.y,e=this.n.y,
  465. f=b*e-c*d;0!==f&&(f=1/f);a.k.x=f*e;a.n.x=-f*c;a.k.y=-f*d;a.n.y=f*b;return a};n.prototype.Xj=function(a,b,c){void 0===b&&(b=0);void 0===c&&(c=0);var d=this.k.x,e=this.n.x,f=this.k.y,g=this.n.y,h=d*g-e*f;0!==h&&(h=1/h);a.x=h*(g*b-e*c);a.y=h*(d*c-f*b);return a};n.prototype.Ci=function(){this.k.Ci();this.n.Ci()};Rc=l;l.prototype.Xc=function(a,b){this.position.M(a);this.u.Qg(b)};l.prototype.Uj=function(){this.position.za();this.u.Uj()};l.prototype.Set=function(a){this.position.M(a.position);this.u.Qg(a.u)};
  466. l.prototype.Mo=function(){return Math.atan2(this.u.k.y,this.u.k.x)};P=h;h.er=function(a){void 0===a&&(a=0);return isFinite(a)};h.wc=function(a,b){return a.x*b.x+a.y*b.y};h.Wk=function(a,b){return a.x*b.y-a.y*b.x};h.Ei=function(a,b){void 0===b&&(b=0);return k.B(b*a.y,-b*a.x)};h.Lu=function(a,b){void 0===a&&(a=0);return k.B(-a*b.y,a*b.x)};h.Mc=function(a,b){return k.B(a.k.x*b.x+a.n.x*b.y,a.k.y*b.x+a.n.y*b.y)};h.Gi=function(a,b){return k.B(h.wc(b,a.k),h.wc(b,a.n))};h.Id=function(a,b){var c=h.Mc(a.u,
  467. b);c.x+=a.position.x;c.y+=a.position.y;return c};h.$u=function(a,b){var c=h.fc(b,a.position),d=c.x*a.u.k.x+c.y*a.u.k.y;c.y=c.x*a.u.n.x+c.y*a.u.n.y;c.x=d;return c};h.xo=function(a,b){return k.B(a.x+b.x,a.y+b.y)};h.fc=function(a,b){return k.B(a.x-b.x,a.y-b.y)};h.xF=function(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)};h.Gz=function(a,b){var c=a.x-b.x,d=a.y-b.y;return c*c+d*d};h.tG=function(a,b){void 0===a&&(a=0);return k.B(a*b.x,a*b.y)};h.ME=function(a,b){return n.Eh(h.xo(a.k,b.k),h.xo(a.n,
  468. b.n))};h.uG=function(a,b){return n.Eh(h.Mc(a,b.k),h.Mc(a,b.n))};h.vG=function(a,b){var c=k.B(h.wc(a.k,b.k),h.wc(a.n,b.k)),d=k.B(h.wc(a.k,b.n),h.wc(a.n,b.n));return n.Eh(c,d)};h.Ci=function(a){void 0===a&&(a=0);return 0<a?a:-a};h.to=function(a){return k.B(h.Ci(a.x),h.Ci(a.y))};h.HE=function(a){return n.Eh(h.to(a.k),h.to(a.n))};h.$z=function(a,b){void 0===a&&(a=0);void 0===b&&(b=0);return a<b?a:b};h.aA=function(a,b){return k.B(h.$z(a.x,b.x),h.$z(a.y,b.y))};h.Yz=function(a,b){void 0===a&&(a=0);void 0===
  469. b&&(b=0);return a>b?a:b};h.Zz=function(a,b){return k.B(h.Yz(a.x,b.x),h.Yz(a.y,b.y))};h.mc=function(a,b,c){void 0===a&&(a=0);void 0===b&&(b=0);void 0===c&&(c=0);return a<b?b:a>c?c:a};h.dF=function(a,b,c){return h.Zz(b,h.aA(a,c))};h.ZO=function(a,b){var c=a[0];a[0]=b[0];b[0]=c};h.FO=function(){return 2*Math.random()-1};h.GO=function(a,b){void 0===a&&(a=0);void 0===b&&(b=0);var c=Math.random();return(b-a)*c+a};h.wO=function(a){void 0===a&&(a=0);a|=a>>1&2147483647;a|=a>>2&1073741823;a|=a>>4&268435455;
  470. a|=a>>8&16777215;return(a|a>>16&65535)+1};h.pO=function(a){void 0===a&&(a=0);return 0<a&&0===(a&a-1)};h.lJ=new k(0,0);h.kJ=n.Eh(new k(1,0),new k(0,1));h.dP=new l(h.lJ,h.kJ);S=function(){this.position=k.B(0,0);this.zx=k.B(0,0);this.xh=null;this.K=0;this.zx.Set(0,0);this.dl=this.Ul=this.kB=0;this.pB=this.jB=!0;this.il=this.sw=!1;this.type=f.yf;this.ea=!0;this.mC=1};Sc=g;g.prototype.Ab=function(){return this.Sp};g.prototype.Hd=function(){console.log("fixture.GetShape not yet supported in CocoonJS Box2D binding");
  471. return null};g.prototype.Zk=function(){return this.qt};Tc=f;f.prototype.Hm=function(a){var b=a.xh;a.xh=null;var c=window.ext.IDTK_SRV_BOX2D.makeCall("createFixture",this.La.jc,this.Cc,a);a.xh=b;a=new g(this,0,c,a);this.La.dm[c]=a;this.Up.push(a);return a};f.prototype.Ru=function(){return 0===this.Up.length?null:this.Up[0]};f.prototype.Fz=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("deleteFixture",this.La.jc,a.Lx);delete this.La.dm[a.Lx]};f.prototype.Oo=function(a,b){window.ext.IDTK_SRV_BOX2D.makeCall("setBodyTransform",
  472. this.La.jc,this.Cc,a.x,a.y,b);this.I.u.Set(b);this.I.position.M(a)};f.prototype.xv=function(a){this.Oo(a,this.Me())};f.prototype.Fi=function(){var a=window.ext.IDTK_SRV_BOX2D.makeCall("getLinearVelocity",this.La.jc,this.Cc);return k.B(a[0],a[1])};f.prototype.Nm=function(){var a=window.ext.IDTK_SRV_BOX2D.makeCall("getWorldCenter",this.La.jc,this.Cc);return k.B(a[0],a[1])};f.prototype.Xk=function(){var a=window.ext.IDTK_SRV_BOX2D.makeCall("getLocalCenter",this.La.jc,this.Cc);return k.B(a[0],a[1])};
  473. f.prototype.ye=function(a){return h.$u(this.I,a)};f.prototype.Pq=function(a,b,c){window.ext.IDTK_SRV_BOX2D.makeCall("applyImpulse",this.La.jc,this.Cc,a.x,a.y,b.x,b.y,c)};f.prototype.Mm=function(){return window.ext.IDTK_SRV_BOX2D.makeCall("getMass",this.La.jc,this.Cc)};f.prototype.ne=function(){return window.ext.IDTK_SRV_BOX2D.makeCall("isAwake",this.La.jc,this.Cc)};f.prototype.Zq=function(){return window.ext.IDTK_SRV_BOX2D.makeCall("getAngularVelocity",this.La.jc,this.Cc)};f.prototype.EA=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("setFixedRotation",
  474. this.La.jc,this.Cc,a)};f.prototype.Nc=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("setAwake",this.La.jc,this.Cc,a)};f.prototype.Wj=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("setLinearVelocity",this.La.jc,this.Cc,a.x,a.y)};f.prototype.Ng=function(a,b,c){window.ext.IDTK_SRV_BOX2D.makeCall("applyForce",this.La.jc,this.Cc,a.x,a.y,b.x,b.y,c)};f.prototype.Qq=function(a,b){window.ext.IDTK_SRV_BOX2D.makeCall("applyTorque",this.La.jc,this.Cc,a,b)};f.prototype.Rm=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("setAngularVelocity",
  475. this.La.jc,this.Cc,a)};f.prototype.LA=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("setType",this.La.jc,this.Cc,a)};f.prototype.sr=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("setActive",this.La.jc,this.Cc,a);this.kj=a};f.prototype.Og=function(){return this.kj};f.prototype.Me=function(){return this.I.u.Me()};f.prototype.Mo=function(a){void 0===a&&(a=0);this.Oo(this.I.position,a)};f.prototype.Qj=function(){for(var a=window.ext.IDTK_SRV_BOX2D.makeCall("getObjectContacts",this.La.jc,this.Cc),b=
  476. [],c=0;c<a.length;c++)b.push(this.La.nt[a[c]]);return b};Tc.yf=0;Tc.rB=1;Tc.sd=2;e.prototype.Xu=function(){return this.lM};Uc=d;d.prototype.Rq=function(){};Uc.qB=new d;Vc=function(){};Wc=b;b.prototype.CA=function(a){this.mj=a};b.prototype.BA=function(a){var b=this;window.ext.IDTK_SRV_BOX2D.makeCall("setContactFilter",this.jc,function(c,d){return a.al(b.dm[c],b.dm[d])})};b.prototype.Ku=function(a){a=new f(a,this);return this.nt[a.Cc]=a};b.prototype.Wq=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("deleteBody",
  477. this.jc,a.Cc);delete this.nt[a.Cc];for(var b=0;b<a.Up.length;++b)delete this.dm[a.Up[b].Lx]};b.prototype.Vq=function(a){if(a.R.Cc!==a.S.Cc){var b=a.R,d=a.S;a.R=b.Cc;a.S=d.Cc;var e="createDistanceJoint";a.type===c.dn&&(e="createRevoluteJoint");var f=new c(a);f.dM=window.ext.IDTK_SRV_BOX2D.makeCall(e,this.jc,a);a.R=b;a.S=d;this.eM.push(f);return f}};b.prototype.Xq=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("destroyJoint",this.jc,a.dM)};b.prototype.Hi=function(a,b,c){c=window.ext.IDTK_SRV_BOX2D.makeCall("step",
  478. this.jc,a,b,c);b=c[0];for(a=1;a<=4*b;a+=4){var d=this.nt[c[a+0]];if(null===d)break;d.I.position.Set(c[a+1],c[a+2]);d.I.u.Set(c[a+3])}if(null!==this.mj)for(c=window.ext.IDTK_SRV_BOX2D.makeCall("getLastContacts",this.jc),b=c[0],a=1;a<=3*b;a+=3){var d=c[a+2],f=this.dm[c[a+0]],g=this.dm[c[a+1]];"undefined"===typeof f||"undefined"===typeof g?console.log("One of the fixtures in a contact DOESN'T EXIST!!"):this.mj.Rq(new e(f,g,d))}};b.prototype.yz=function(){window.ext.IDTK_SRV_BOX2D.makeCall("clearForces",
  479. this.jc)};Xc=function(a){this.Tt=a;this.type="circle"};Yc=function(){};Yc.prototype.tr=function(a,b){this.type="box";this.width=a;this.height=b};Yc.prototype.xA=function(){this.type="edge"};Yc.prototype.No=function(a,b){this.type="polygon";this.FE=[];for(var c=0;c<b;c++)this.FE.push(a[c].x),this.FE.push(a[c].y)};Zc=function(){this.xh=this.shape=null;this.Qh=.2;this.Yg=this.oi=0;this.$w=!1;this.filter={$m:1,Pn:65535,pk:0}};V=c;c.prototype.Ao=function(){return this.R};c.prototype.Qu=function(){return this.S};
  480. c.prototype.Vd=function(){return this.type};c.kw=0;c.dn=1;$c=function(a,b,d,e){this.type=c.kw;this.gc=k.B(0,0);this.hc=k.B(0,0);this.xh=null;void 0!==a&&(this.R=a);void 0!==b&&(this.S=b);void 0!==d&&this.gc.M(d);void 0!==e&&this.hc.M(e);void 0!==d&&void 0!==e&&(a=e.x-d.x,d=e.y-d.y,this.length=Math.sqrt(a*a+d*d));this.ls=this.Ds=0};a.prototype.Xc=function(a,b,c){this.R=a;this.S=b;this.gc=this.R.ye(c);this.hc=this.S.ye(c);this.ni=this.S.Me()-this.R.Me()};ad=a}():console.log("The CocoonJS binding for Box2D has been ignored because ext.IDTK_SRV_BOX2D is not available");
  481. else{var P={},bd=2/180*Math.PI,cd=8/180*Math.PI,dd=.5*Math.PI,ed=dd*dd,fd=2/180*Math.PI,gd=Number.MIN_VALUE*Number.MIN_VALUE;P.wc=function(a,c){return a.x*c.x+a.y*c.y};P.Wk=function(a,c){return a.x*c.y-a.y*c.x};P.Ei=function(a,c){return J.B(c*a.y,-c*a.x)};P.Lu=function(a,c){return J.B(-a*c.y,a*c.x)};P.Mc=function(a,c){return J.B(a.k.x*c.x+a.n.x*c.y,a.k.y*c.x+a.n.y*c.y)};P.Gi=function(a,c){return J.B(P.wc(c,a.k),P.wc(c,a.n))};P.Id=function(a,c){var b=P.Mc(a.u,c);b.x+=a.position.x;b.y+=a.position.y;
  482. return b};P.$u=function(a,c){var b=P.fc(c,a.position),d=b.x*a.u.k.x+b.y*a.u.k.y;b.y=b.x*a.u.n.x+b.y*a.u.n.y;b.x=d;return b};P.xo=function(a,c){return J.B(a.x+c.x,a.y+c.y)};P.fc=function(a,c){return J.B(a.x-c.x,a.y-c.y)};P.xF=function(a,c){return Math.sqrt(P.Gz(a,c))};P.Gz=function(a,c){var b=a.x-c.x,d=a.y-c.y;return b*b+d*d};P.tG=function(a,c){return J.B(a*c.x,a*c.y)};P.ME=function(a,c){return Qc.Eh(P.xo(a.k,c.k),P.xo(a.n,c.n))};P.uG=function(a,c){return Qc.Eh(P.Mc(a,c.k),P.Mc(a,c.n))};P.vG=function(a,
  483. c){var b=J.B(P.wc(a.k,c.k),P.wc(a.n,c.k)),d=J.B(P.wc(a.k,c.n),P.wc(a.n,c.n));return Qc.Eh(b,d)};P.to=function(a){return J.B(Math.abs(a.x),Math.abs(a.y))};P.HE=function(a){return Qc.Eh(P.to(a.k),P.to(a.n))};P.mc=function(a,c,b){return a<c?c:a>b?b:a};P.dF=function(a,c,b){return J.B(P.mc(a.x,c.x,b.x),P.mc(a.y,c.y,b.y))};var Qc=function(){this.k=J.B(0,0);this.n=J.B(0,0);this.Uj()};Qc.Lm=function(a){var c=new Qc;c.Set(a);return c};Qc.Eh=function(a,c){var b=new Qc;b.Bv(a,c);return b};r=Qc.prototype;r.Set=
  484. function(a){var c=Math.cos(a);a=Math.sin(a);this.k.Set(c,a);this.n.Set(-a,c)};r.Bv=function(a,c){this.k.M(a);this.n.M(c)};r.vc=function(){var a=new Qc;a.Qg(this);return a};r.Qg=function(a){this.k.M(a.k);this.n.M(a.n)};r.Oq=function(a){this.k.Di(a.k);this.n.Di(a.n)};r.Uj=function(){this.k.Set(1,0);this.n.Set(0,1)};r.za=function(){this.k.Set(0,0);this.n.Set(0,0)};r.Me=function(){return Math.atan2(this.k.y,this.k.x)};r.Su=function(a){var c=this.k.x*this.n.y-this.n.x*this.k.y;0!==c&&(c=1/c);a.k.x=c*this.n.y;
  485. a.n.x=-c*this.n.x;a.k.y=-c*this.k.y;a.n.y=c*this.k.x;return a};r.Xj=function(a,c,b){var d=this.k.x*this.n.y-this.n.x*this.k.y;0!==d&&(d=1/d);a.x=d*(this.n.y*c-this.n.x*b);a.y=d*(this.k.x*b-this.k.y*c);return a};r.Ci=function(){this.k.Ci();this.n.Ci()};var id=function(a,c,b){this.k=new hd(0,0,0);this.n=new hd(0,0,0);this.Pa=new hd(0,0,0);a&&this.k.M(a);c&&this.n.M(c);b&&this.Pa.M(b)};r=id.prototype;r.vc=function(){return new id(this.k,this.n,this.Pa)};r.Qg=function(a){this.k.M(a.k);this.n.M(a.n);this.Pa.M(a.Pa)};
  486. r.Oq=function(a){this.k.x+=a.k.x;this.k.y+=a.k.y;this.k.z+=a.k.z;this.n.x+=a.n.x;this.n.y+=a.n.y;this.n.z+=a.n.z;this.Pa.x+=a.Pa.x;this.Pa.y+=a.Pa.y;this.Pa.z+=a.Pa.z};r.Uj=function(){this.k.Set(1,0,0);this.n.Set(0,1,0);this.Pa.Set(0,0,1)};r.za=function(){this.k.Set(0,0,0);this.n.Set(0,0,0);this.Pa.Set(0,0,0)};r.Tm=function(a,c,b){var d=this.k.x,e=this.n.x,f=this.k.y,g=this.n.y,h=d*g-e*f;0!=h&&(h=1/h);a.x=h*(g*c-e*b);a.y=h*(d*b-f*c);return a};r.Qo=function(a,c,b,d){var e=this.k.x,f=this.k.y,g=this.k.z,
  487. h=this.n.x,l=this.n.y,n=this.n.z,k=this.Pa.x,m=this.Pa.y,q=this.Pa.z,p=e*(l*q-n*m)+f*(n*k-h*q)+g*(h*m-l*k);0!=p&&(p=1/p);a.x=p*(c*(l*q-n*m)+b*(n*k-h*q)+d*(h*m-l*k));a.y=p*(e*(b*q-d*m)+f*(d*k-c*q)+g*(c*m-b*k));a.z=p*(e*(l*d-n*b)+f*(n*c-h*d)+g*(h*b-l*c));return a};var jd=function(){this.U=J.B(0,0);this.Yd=J.B(0,0);this.F=J.B(0,0)};jd.prototype.Set=function(a){this.U.M(a.U);this.Yd.M(a.Yd);this.F.M(a.F);this.kg=a.kg;this.P=a.P;this.Le=a.Le};jd.prototype.vc=function(){var a=new jd;a.U.M(this.U);a.Yd.M(this.Yd);
  488. a.F.M(this.F);a.kg=this.kg;a.P=this.P;a.Le=this.Le;return a};jd.prototype.vf=function(a,c){void 0===c&&(c=0);a.position.x=(1-c)*this.Yd.x+c*this.F.x;a.position.y=(1-c)*this.Yd.y+c*this.F.y;a.u.Set((1-c)*this.kg+c*this.P);var b=a.u;a.position.x-=b.k.x*this.U.x+b.n.x*this.U.y;a.position.y-=b.k.y*this.U.x+b.n.y*this.U.y};jd.prototype.Oj=function(a){void 0===a&&(a=0);if(this.Le<a&&1-this.Le>Number.MIN_VALUE){var c=(a-this.Le)/(1-this.Le);this.Yd.x=(1-c)*this.Yd.x+c*this.F.x;this.Yd.y=(1-c)*this.Yd.y+
  489. c*this.F.y;this.kg=(1-c)*this.kg+c*this.P;this.Le=a}};var Rc=function(a,c){this.position=J.B(0,0);this.u=new Qc;a&&this.position.M(a);c&&this.u.Qg(c)};Rc.prototype.Xc=function(a,c){this.position.M(a);this.u.Qg(c)};Rc.prototype.Uj=function(){this.position.za();this.u.Uj()};Rc.prototype.Set=function(a){this.position.M(a.position);this.u.Qg(a.u)};Rc.prototype.Me=function(){return Math.atan2(this.u.k.y,this.u.k.x)};var J=function(a,c){this.x=a;this.y=c};J.Ji=[];J.B=function(a,c){if(0<J.Ji.length){var b=
  490. J.Ji.pop();b.Set(a,c);return b}return new J(a,c)};J.Wc=function(a){J.Ji.push(a)};r=J.prototype;r.za=function(){this.y=this.x=0};r.Set=function(a,c){this.x=a;this.y=c};r.M=function(a){this.x=a.x;this.y=a.y};r.Rj=function(){return J.B(-this.x,-this.y)};r.bv=function(){this.x=-this.x;this.y=-this.y};r.vc=function(){return J.B(this.x,this.y)};r.Di=function(a){this.x+=a.x;this.y+=a.y};r.Fv=function(a){this.x-=a.x;this.y-=a.y};r.Oe=function(a){this.x*=a;this.y*=a};r.Ei=function(a){var c=this.x;this.x=a*
  491. this.y;this.y=-a*c};r.Lu=function(a){var c=this.x;this.x=-a*this.y;this.y=a*c};r.aA=function(a){this.x=Math.min(this.x,a.x);this.y=Math.min(this.y,a.y)};r.Zz=function(a){this.x=Math.max(this.x,a.x);this.y=Math.max(this.y,a.y)};r.Ci=function(){this.x=Math.abs(this.x);this.y=Math.abs(this.y)};r.Fh=function(){return Math.sqrt(this.gr())};r.gr=function(){return this.x*this.x+this.y*this.y};r.Pe=function(){var a=this.Fh();if(a<Number.MIN_VALUE)return 0;var c=1/a;this.x*=c;this.y*=c;return a};r.er=function(){return isFinite(this.x)&&
  492. isFinite(this.y)};var hd=function(a,c,b){this.x=a;this.y=c;this.z=b};r=hd.prototype;r.za=function(){this.z=this.y=this.x=0};r.Set=function(a,c,b){this.x=a;this.y=c;this.z=b};r.M=function(a){this.x=a.x;this.y=a.y;this.z=a.z};r.Rj=function(){return new hd(-this.x,-this.y,-this.z)};r.bv=function(){this.x=-this.x;this.y=-this.y;this.z=-this.z};r.vc=function(){return new hd(this.x,this.y,this.z)};r.Di=function(a){this.x+=a.x;this.y+=a.y;this.z+=a.z};r.Fv=function(a){this.x-=a.x;this.y-=a.y;this.z-=a.z};
  493. r.Oe=function(a){this.x*=a;this.y*=a;this.z*=a};var kd=function(){this.Fb=.005};r=kd.prototype;r.Yk=function(){};r.vc=function(){};r.Set=function(a){this.Fb=a.Fb};r.Gm=function(){};r.yo=function(){};r.Uq=function(){};r.tv=function(){};var Xc=function(a){this.Fb=.005;this.Fb=a;this.Mn=a*a;this.Ob=J.B(0,0)};Pc(Xc,kd);r=Xc.prototype;r.Yk=function(){return Xc.Pg};r.vc=function(){var a=new Xc(this.Fb);a.Set(this);return a};r.Set=function(a){kd.prototype.Set.call(this,a);a instanceof Xc&&this.Ob.M(a.Ob)};
  494. r.Gm=function(a,c){var b=c.u,d=c.position.x+(b.k.x*this.Ob.x+b.n.x*this.Ob.y),b=c.position.y+(b.k.y*this.Ob.x+b.n.y*this.Ob.y);a.gb.Set(d-this.Fb,b-this.Fb);a.hb.Set(d+this.Fb,b+this.Fb)};r.yo=function(a,c){a.gi=c*Math.PI*this.Mn;a.Ni.M(this.Ob);a.Om=a.gi*(.5*this.Mn+(this.Ob.x*this.Ob.x+this.Ob.y*this.Ob.y))};r.Uq=function(a,c,b,d){b=P.Id(b,this.Ob);var e=-(P.wc(a,b)-c);if(e<-this.Fb+Number.MIN_VALUE)return 0;if(e>this.Fb)return d.M(b),Math.PI*this.Mn;c=e*e;e=this.Mn*(Math.asin(e/this.Fb)+Math.PI/
  495. 2)+e*Math.sqrt(this.Mn-c);c=-2/3*Math.pow(this.Mn-c,1.5)/e;d.x=b.x+a.x*c;d.y=b.y+a.y*c;return e};r.tv=function(a){a.O=[this.Ob];a.Ja=1;a.Fb=this.Fb};Xc.Pg="b2CircleShape";var ld=function(a,c){this.Fb=.005;this.Ka=a;this.kb=c;this.cm=J.B(this.kb.x-this.Ka.x,this.kb.y-this.Ka.y);this.Ox=this.cm.Pe();this.Sa=J.B(this.cm.y,-this.cm.x);J.B(-.04*(this.Sa.x-this.cm.x)+this.Ka.x,-.04*(this.Sa.y-this.cm.y)+this.Ka.y);J.B(-.04*(this.Sa.x+this.cm.x)+this.kb.x,-.04*(this.Sa.y+this.cm.y)+this.kb.y);J.B(-this.Sa.x,
  496. -this.Sa.y)};Pc(ld,kd);ld.prototype.Yk=function(){return"b2EdgeShape"};ld.prototype.Gm=function(a,c){var b=c.u,d=c.position.x+(b.k.x*this.Ka.x+b.n.x*this.Ka.y),e=c.position.y+(b.k.y*this.Ka.x+b.n.y*this.Ka.y),f=c.position.x+(b.k.x*this.kb.x+b.n.x*this.kb.y),b=c.position.y+(b.k.y*this.kb.x+b.n.y*this.kb.y);d<f?(a.gb.x=d,a.hb.x=f):(a.gb.x=f,a.hb.x=d);e<b?(a.gb.y=e,a.hb.y=b):(a.gb.y=b,a.hb.y=e)};ld.prototype.yo=function(a){a.gi=0;a.Ni.M(this.Ka);a.Om=0};ld.prototype.Uq=function(a,c,b,d){void 0===c&&
  497. (c=0);var e=J.B(a.x*c,a.y*c),f=P.Id(b,this.Ka);b=P.Id(b,this.kb);var g=P.wc(a,f)-c;a=P.wc(a,b)-c;if(0<g){if(0<a)return 0;f.x=-a/(g-a)*f.x+g/(g-a)*b.x;f.y=-a/(g-a)*f.y+g/(g-a)*b.y}else 0<a&&(b.x=-a/(g-a)*f.x+g/(g-a)*b.x,b.y=-a/(g-a)*f.y+g/(g-a)*b.y);d.x=(e.x+f.x+b.x)/3;d.y=(e.y+f.y+b.y)/3;return.5*((f.x-e.x)*(b.y-e.y)-(f.y-e.y)*(b.x-e.x))};var md=function(){this.gi=0;this.Ni=J.B(0,0);this.Om=0},Yc=function(){this.Fb=.005;this.$e=J.B(0,0);this.O=[];this.Ta=[]};Pc(Yc,kd);Yc.prototype.Yk=function(){return Yc.Pg};
  498. Yc.prototype.vc=function(){var a=new Yc;a.Set(this);return a};Yc.prototype.Set=function(a){kd.prototype.Set.call(this,a);if(a instanceof Yc){this.$e.M(a.$e);this.ub=a.ub;this.Lo(this.ub);for(var c=0;c<this.ub;c++)this.O[c].M(a.O[c]),this.Ta[c].M(a.Ta[c])}};Yc.prototype.No=function(a){this.yA(a)};Yc.YN=function(a){var c=new Yc;c.No(a);return c};Yc.prototype.yA=function(a){var c=a.length;this.ub=c;this.Lo(c);for(c=c=0;c<this.ub;c++)this.O[c].M(a[c]);for(c=0;c<this.ub;++c)a=P.fc(this.O[c+1<this.ub?c+
  499. 1:0],this.O[c]),this.Ta[c].M(P.Ei(a,1)),this.Ta[c].Pe();this.$e=Yc.rF(this.O,this.ub)};Yc.bO=function(a){var c=new Yc;c.yA(a);return c};Yc.prototype.tr=function(a,c){this.ub=4;this.Lo(4);this.O[0].Set(-a,-c);this.O[1].Set(a,-c);this.O[2].Set(a,c);this.O[3].Set(-a,c);this.Ta[0].Set(0,-1);this.Ta[1].Set(1,0);this.Ta[2].Set(0,1);this.Ta[3].Set(-1,0);this.$e.za()};Yc.ZN=function(a,c){var b=new Yc;b.tr(a,c);return b};Yc.prototype.oH=function(a,c,b,d){this.ub=4;this.Lo(4);this.O[0].Set(-a,-c);this.O[1].Set(a,
  500. -c);this.O[2].Set(a,c);this.O[3].Set(-a,c);this.Ta[0].Set(0,-1);this.Ta[1].Set(1,0);this.Ta[2].Set(0,1);this.Ta[3].Set(-1,0);this.$e=b;a=new Qc;a.Set(d);b=new Rc(b,a);for(d=0;d<this.ub;++d)this.O[d]=P.Id(b,this.O[d]),this.Ta[d]=P.Mc(b.u,this.Ta[d])};Yc.aO=function(a,c,b,d){var e=new Yc;e.oH(a,c,b,d);return e};Yc.prototype.xA=function(a,c){this.ub=2;this.Lo(2);this.O[0].M(a);this.O[1].M(c);this.$e.x=.5*(a.x+c.x);this.$e.y=.5*(a.y+c.y);this.Ta[0]=P.Ei(P.fc(c,a),1);this.Ta[0].Pe();this.Ta[1].x=-this.Ta[0].x;
  501. this.Ta[1].y=-this.Ta[0].y};Yc.$N=function(a,c){var b=new Yc;b.xA(a,c);return b};r=Yc.prototype;r.Gm=function(a,c){for(var b=c.u,d=this.O[0],e=c.position.x+(b.k.x*d.x+b.n.x*d.y),f=c.position.y+(b.k.y*d.x+b.n.y*d.y),g=e,h=f,l=1;l<this.ub;++l)var d=this.O[l],n=c.position.x+(b.k.x*d.x+b.n.x*d.y),d=c.position.y+(b.k.y*d.x+b.n.y*d.y),e=e<n?e:n,f=f<d?f:d,g=g>n?g:n,h=h>d?h:d;a.gb.x=e-this.Fb;a.gb.y=f-this.Fb;a.hb.x=g+this.Fb;a.hb.y=h+this.Fb};r.yo=function(a,c){if(2==this.ub)a.Ni.x=.5*(this.O[0].x+this.O[1].x),
  502. a.Ni.y=.5*(this.O[0].y+this.O[1].y),a.gi=0,a.Om=0;else{for(var b=0,d=0,e=0,f=0,g=1/3,h=0;h<this.ub;++h)var l=this.O[h],n=h+1<this.ub?this.O[h+1]:this.O[0],k=l.x-0,m=l.y-0,q=n.x-0,p=n.y-0,t=k*p-m*q,v=.5*t,e=e+v,b=b+v*g*(0+l.x+n.x),d=d+v*g*(0+l.y+n.y),l=k,f=f+t*(g*(.25*(l*l+q*l+q*q)+(0*l+0*q))+0+(g*(.25*(m*m+p*m+p*p)+(0*m+0*p))+0));a.gi=c*e;a.Ni.Set(1/e*b,1/e*d);a.Om=c*f}};r.Uq=function(a,c,b,d){var e=P.Gi(b.u,a),f=c-P.wc(a,b.position),g=[],h=0,l=-1;c=-1;var n=!1;for(a=a=0;a<this.ub;++a){g[a]=P.wc(e,
  503. this.O[a])-f;var k=g[a]<-Number.MIN_VALUE;0<a&&(k?n||(l=a-1,h++):n&&(c=a-1,h++));n=k}switch(h){case 0:return n?(a=new md,this.yo(a,1),d.M(P.Id(b,a.Ni)),a.gi):0;case 1:-1==l?l=this.ub-1:c=this.ub-1}a=(l+1)%this.ub;e=(c+1)%this.ub;f=(0-g[l])/(g[a]-g[l]);g=(0-g[c])/(g[e]-g[c]);l=J.B(this.O[l].x*(1-f)+this.O[a].x*f,this.O[l].y*(1-f)+this.O[a].y*f);c=J.B(this.O[c].x*(1-g)+this.O[e].x*g,this.O[c].y*(1-g)+this.O[e].y*g);g=0;f=J.B(0,0);for(h=this.O[a];a!=e;)a=(a+1)%this.ub,n=a==e?c:this.O[a],k=.5*((h.x-l.x)*
  504. (n.y-l.y)-(h.y-l.y)*(n.x-l.x)),g+=k,f.x+=k*(l.x+h.x+n.x)/3,f.y+=k*(l.y+h.y+n.y)/3,h=n;f.Oe(1/g);d.M(P.Id(b,f));return g};r.tv=function(a){a.O=this.O;a.Ja=this.ub;a.Fb=this.Fb};r.cr=function(a){for(var c=0,b=this.O[0].x*a.x+this.O[0].y*a.y,d=1;d<this.ub;++d){var e=this.O[d].x*a.x+this.O[d].y*a.y;e>b&&(c=d,b=e)}return c};r.Do=function(a){for(var c=0,b=this.O[0].x*a.x+this.O[0].y*a.y,d=1;d<this.ub;++d){var e=this.O[d].x*a.x+this.O[d].y*a.y;e>b&&(c=d,b=e)}return this.O[c]};r.Lo=function(a){this.O=[];
  505. this.Ta=[];for(var c=this.O.length;c<a;c++)this.O[c]=J.B(0,0),this.Ta[c]=J.B(0,0)};Yc.rF=function(a,c){for(var b=J.B(0,0),d=0,e=1/3,f=0;f<c;++f){var g=a[f],h=f+1<c?a[f+1]:a[0],l=.5*((g.x-0)*(h.y-0)-(g.y-0)*(h.x-0)),d=d+l;b.x+=l*e*(0+g.x+h.x);b.y+=l*e*(0+g.y+h.y)}b.x*=1/d;b.y*=1/d;return b};Yc.tP=new Qc;Yc.Pg="b2PolygonShape";var nd=function(){this.Ov=this.Nv=this.Qv=this.Qe=0};r=nd.prototype;r.Vj=function(a){this.Qe=a;this.Qv=this.Qe&255;this.Nv=(this.Qe&65280)>>8&255;this.Ov=(this.Qe&16711680)>>
  506. 16&255;this.ZA=(this.Qe&4278190080)>>24&255};r.Set=function(a){this.Vj(a.Qe)};r.IA=function(a){this.Qv=a;this.Qe=this.Qe&4294967040|this.Qv&255};r.FA=function(a){this.Nv=a;this.Qe=this.Qe&4294902015|this.Nv<<8&65280};r.GA=function(a){this.Ov=a;this.Qe=this.Qe&4278255615|this.Ov<<16&16711680};r.uH=function(a){this.ZA=a;this.Qe=this.Qe&16777215|this.ZA<<24&4278190080};r.vc=function(){var a=new nd;a.Set(this);return a};var od=function(){this.gg=J.B(0,0);this.id=new nd};od.prototype.Set=function(a){this.gg.M(a.gg);
  507. this.id.Set(a.id)};var pd=function(){this.gb=J.B(0,0);this.hb=J.B(0,0)},qd=[],rd=function(){if(0<qd.length){var a=qd.pop();a.za();return a}return new pd};r=pd.prototype;r.za=function(){this.gb.Set(0,0);this.hb.Set(0,0)};r.er=function(){return 0>this.hb.x-this.gb.x||0>this.hb.y-this.gb.y?!1:this.gb.er()&&this.hb.er()};r.IF=function(){return J.B((this.gb.x+this.hb.x)/2,(this.gb.y+this.hb.y)/2)};r.zo=function(a){var c;return c=(c=(c=(c=this.gb.x<=a.gb.x)&&this.gb.y<=a.gb.y)&&a.hb.x<=this.hb.x)&&a.hb.y<=
  508. this.hb.y};r.Ro=function(a){return 0<a.gb.x-this.hb.x||0<a.gb.y-this.hb.y||0<this.gb.x-a.hb.x||0<this.gb.y-a.hb.y?!1:!0};r.Tq=function(a,c){this.gb.x=Math.min(a.gb.x,c.gb.x);this.gb.y=Math.min(a.gb.y,c.gb.y);this.hb.x=Math.max(a.hb.x,c.hb.x);this.hb.y=Math.max(a.hb.y,c.hb.y)};var sd=function(a,c,b,d){var e=0,f=c[0].gg,g=c[1].gg,h=b.x*f.x+b.y*f.y-d;b=b.x*g.x+b.y*g.y-d;0>=h&&a[e++].Set(c[0]);0>=b&&a[e++].Set(c[1]);0>h*b&&(b=h/(h-b),d=a[e].gg,d.x=f.x+b*(g.x-f.x),d.y=f.y+b*(g.y-f.y),a[e].id=0<h?c[0].id:
  509. c[1].id,e++);return e},td=function(a,c,b,d,e){for(var f=c.u.k.x*a.Ta[b].x+c.u.n.x*a.Ta[b].y,g=c.u.k.y*a.Ta[b].x+c.u.n.y*a.Ta[b].y,h=e.u.k.x*f+e.u.k.y*g,l=e.u.n.x*f+e.u.n.y*g,n=0,k=Number.MAX_VALUE,m=0;m<d.ub;m++){var q=d.O[m].x*h+d.O[m].y*l;q<k&&(k=q,n=m)}return(e.position.x+(e.u.k.x*d.O[n].x+e.u.n.x*d.O[n].y)-(c.position.x+(c.u.k.x*a.O[b].x+c.u.n.x*a.O[b].y)))*f+(e.position.y+(e.u.k.y*d.O[n].x+e.u.n.y*d.O[n].y)-(c.position.y+(c.u.k.y*a.O[b].x+c.u.n.y*a.O[b].y)))*g},vd=function(a,c,b,d){for(var e=
  510. d.position.x+(d.u.k.x*b.$e.x+d.u.n.x*b.$e.y),f=d.position.y+(d.u.k.y*b.$e.x+d.u.n.y*b.$e.y),e=e-(c.position.x+(c.u.k.x*a.$e.x+c.u.n.x*a.$e.y)),f=f-(c.position.y+(c.u.k.y*a.$e.x+c.u.n.y*a.$e.y)),g=e*c.u.k.x+f*c.u.k.y,f=e*c.u.n.x+f*c.u.n.y,e=0,h=-Number.MAX_VALUE,l=0;l<a.ub;++l){var n=a.Ta[l].x*g+a.Ta[l].y*f;n>h&&(h=n,e=l)}g=td(a,c,e,b,d);f=e-1;0>f&&(f=a.ub-1);h=td(a,c,f,b,d);l=e+1;l>=a.ub&&(l=0);var n=td(a,c,l,b,d),k=0,m=0;if(h>g&&h>n)for(k=f,m=h;;)if(e=k-1,0>e&&(e=a.ub-1),g=td(a,c,e,b,d),g>m)k=e,
  511. m=g;else break;else if(n>g)for(k=l,m=n;;)if(e=k+1,e>=a.ub&&(e=0),g=td(a,c,e,b,d),g>m)k=e,m=g;else break;else k=e,m=g;return{sB:k,cu:m}},xd=function(a,c,b){var d=new wd;d.eH(c,b.zj,b.yu,b.Aj,b.zu);for(var e=0;20>e;){for(var f=[],g=0;g<d.Ja;g++)f[g]={},f[g].cd=d.O[g].cd,f[g].dd=d.O[g].dd;2==d.Ja?d.VH():3==d.Ja&&d.WH();if(3==d.Ja)break;g=d.KF();if(g.gr()<gd)break;var h=g.Rj();d.O[d.Ja].cd=b.zj.cr(P.Gi(b.yu.u,h));d.O[d.Ja].we=P.Id(b.yu,b.zj.me(d.O[d.Ja].cd));d.O[d.Ja].dd=b.Aj.cr(P.Gi(b.zu.u,g));d.O[d.Ja].Mg=
  512. P.Id(b.zu,b.Aj.me(d.O[d.Ja].dd));d.O[d.Ja].qd=P.fc(d.O[d.Ja].Mg,d.O[d.Ja].we);J.Wc(g);J.Wc(h);e++;h=!1;for(g=0;g<f.length;g++)if(d.O[d.Ja].cd==f[g].cd&&d.O[d.Ja].dd==f[g].dd){h=!0;break}if(h)break;d.Ja++}d.LF(a.nh,a.oh);a.Lh=P.fc(a.nh,a.oh).Fh();d.wI(c);b.CE&&(c=b.zj.Fb,b=b.Aj.Fb,a.Lh>c+b&&a.Lh>Number.MIN_VALUE?(a.Lh-=c+b,d=P.fc(a.oh,a.nh),d.Pe(),a.nh.x+=c*d.x,a.nh.y+=c*d.y,a.oh.x-=b*d.x,a.oh.y-=b*d.y,J.Wc(d)):(b=J.B(0,0),b.x=.5*(a.nh.x+a.oh.x),b.y=.5*(a.nh.y+a.oh.y),a.nh.x=a.oh.x=b.x,a.nh.y=a.oh.y=
  513. b.y,a.Lh=0,J.Wc(b)))},yd=function(){},zd=function(){this.nh=J.B(0,0);this.oh=J.B(0,0);this.Lh=0},Ad=function(){};Ad.prototype.Set=function(a){a.tv(this)};Ad.prototype.cr=function(a){for(var c=0,b=this.O[0].x*a.x+this.O[0].y*a.y,d=1;d<this.Ja;d++){var e=this.O[d].x*a.x+this.O[d].y*a.y;e>b&&(c=d,b=e)}return c};Ad.prototype.Do=function(a){return this.O[this.cr(a)]};Ad.prototype.me=function(a){void 0===a&&(a=0);return this.O[a]};var Bd=function(){this.fi=null};r=Bd.prototype;r.Im=function(a,c){var b=
  514. Cd(c);b.Bb.gb.x=a.gb.x-.1;b.Bb.gb.y=a.gb.y-.1;b.Bb.hb.x=a.hb.x+.1;b.Bb.hb.y=a.hb.y+.1;this.Pz(b);return b};r.Jm=function(a){this.sA(a);a.Gd()};r.Yu=function(a,c,b){if(a.Bb.zo(c))return!1;this.sA(a);var d=.1+2*Math.abs(b.x);b=.1+2*Math.abs(b.y);a.Bb.gb.x=c.gb.x-d;a.Bb.gb.y=c.gb.y-b;a.Bb.hb.x=c.hb.x+d;a.Bb.hb.y=c.hb.y+b;this.Pz(a);return!0};r.Bo=function(a){return a.Bb};r.qv=function(a,c){if(null!==this.fi){var b=[];for(b.push(this.fi);0<b.length;){var d=b.pop();if(d.Bb.Ro(c))if(d.Uz()){if(!a(d.Bf))break}else b.push(d.zf),
  515. b.push(d.Kh)}}};r.Pz=function(a){if(null===this.fi)this.fi=a,this.fi.parent=null;else{var c=this.HF(a),b=c.parent,d=Cd();d.parent=b;d.Bb.Tq(a.Bb,c.Bb);if(b)for(c.parent.zf==c?b.zf=d:b.Kh=d,d.zf=c,d.Kh=a,c.parent=d,a.parent=d;b&&!b.Bb.zo(d.Bb);)b.Bb.Tq(b.zf.Bb,b.Kh.Bb),d=b,b=b.parent;else d.zf=c,d.Kh=a,c.parent=d,this.fi=a.parent=d}};r.HF=function(a){a=a.Bb.IF();for(var c=this.fi;!c.Uz();)var b=c.zf,c=c.Kh,d=Math.abs((b.Bb.gb.x+b.Bb.hb.x)/2-a.x)+Math.abs((b.Bb.gb.y+b.Bb.hb.y)/2-a.y),e=Math.abs((c.Bb.gb.x+
  516. c.Bb.hb.x)/2-a.x)+Math.abs((c.Bb.gb.y+c.Bb.hb.y)/2-a.y),c=d<e?b:c;J.Wc(a);return c};r.sA=function(a){if(a==this.fi)this.fi=null;else{var c=a.parent,b=c.parent;a=c.zf==a?c.Kh:c.zf;if(b)for(b.zf==c?b.zf=a:b.Kh=a,a.parent=b;b;){a=b.Bb;b.Bb.Tq(b.zf.Bb,b.Kh.Bb);if(a.zo(b.Bb))break;b=b.parent}else this.fi=a,a.parent=null;c.Gd()}};var Dd=function(){this.uj=new Bd;this.xt=[]};r=Dd.prototype;r.Im=function(a,c){var b=this.uj.Im(a,c);this.wz(b);return b};r.Jm=function(a){this.lI(a);this.uj.Jm(a)};r.Yu=function(a,
  517. c,b){this.uj.Yu(a,c,b)&&this.wz(a)};r.Ro=function(a,c){return this.uj.Bo(a).Ro(this.uj.Bo(c))};r.Bo=function(a){return this.uj.Bo(a)};r.nI=function(a){for(var c=[];0<this.xt.length;){var b=this.xt.pop();this.uj.qv(function(a){a!=b.Bf&&c.push(new Ed(b.Bf,a));return!0},this.uj.Bo(b))}for(var d=0;d<c.length;){var e=c[d];a(e.mp,e.np);for(d++;d<c.length;){var f=c[d];if(!(f.mp==e.mp&&f.np==e.np||f.mp==e.np&&f.np==e.mp))break;d++}}};r.qv=function(a,c){this.uj.qv(a,c)};r.wz=function(a){this.xt.push(a)};r.lI=
  518. function(a){Fa(this.xt,a)};var Fd=function(a){this.Bb=rd();this.Bf=this.parent=this.Kh=this.zf=null;"undefined"!=typeof a&&(this.Bf=a)},Gd=[],Cd=function(a){if(0<Gd.length){var c=Gd.pop();"undefined"!=typeof a&&(c.Bf=a);c.Bb.za();return c}return new Fd(a)};Fd.prototype.Gd=function(){this.Bf=this.parent=this.Kh=this.zf=null;Gd.push(this)};Fd.prototype.Uz=function(){return null===this.zf};var Ed=function(a,c){this.mp=a;this.np=c},Id=function(){this.ib=this.Sc=0;this.Ia=[];for(var a=0;2>a;a++)this.Ia[a]=
  519. new Hd;this.fe=J.B(0,0);this.Ra=J.B(0,0)};Id.prototype.Wd=function(){for(var a=0;2>a;a++)this.Ia[a].Wd();this.fe.za();this.Ra.za();this.Sc=this.ib=0};Id.prototype.Set=function(a){this.Sc=a.Sc;for(var c=0;2>c;c++)this.Ia[c].Set(a.Ia[c]);this.fe.M(a.fe);this.Ra.M(a.Ra);this.ib=a.ib};Id.prototype.vc=function(){var a=new Id;a.Set(this);return a};var Hd=function(){this.Ra=J.B(0,0);this.Ag=new nd;this.Wd()};Hd.prototype.Wd=function(){this.Ra.za();this.km=this.fm=0;this.Ag.Vj(0)};Hd.prototype.Set=function(a){this.Ra.M(a.Ra);
  520. this.fm=a.fm;this.km=a.km;this.Ag.Set(a.Ag)};var Jd=function(){this.Ra=J.B(0,0);this.aa=J.B(0,0)};Jd.prototype.Xc=function(a,c,b,d,e){this.Ak=c;this.Bk=d;var f,g,h,l=h=g=0,n=0;d=c=0;var k,m,l=0;1==a.count?(this.ib=Kd,f=this.Ak.me(a.cd[0]),a=this.Bk.me(a.dd[0]),m=f,k=b.u,g=b.position.x+(k.k.x*m.x+k.n.x*m.y),h=b.position.y+(k.k.y*m.x+k.n.y*m.y),m=a,k=e.u,l=e.position.x+(k.k.x*m.x+k.n.x*m.y),n=e.position.y+(k.k.y*m.x+k.n.y*m.y),this.aa.x=l-g,this.aa.y=n-h,this.aa.Pe()):(a.dd[0]==a.dd[1]?(this.ib=Ld,
  521. c=this.Ak.me(a.cd[0]),d=this.Ak.me(a.cd[1]),a=this.Bk.me(a.dd[0]),this.Ra.x=.5*(c.x+d.x),this.Ra.y=.5*(c.y+d.y),this.aa=P.Ei(P.fc(d,c),1),this.aa.Pe(),m=this.aa,k=b.u,c=k.k.x*m.x+k.n.x*m.y,d=k.k.y*m.x+k.n.y*m.y,m=this.Ra,k=b.u,g=b.position.x+(k.k.x*m.x+k.n.x*m.y),h=b.position.y+(k.k.y*m.x+k.n.y*m.y),m=a,k=e.u,l=e.position.x+(k.k.x*m.x+k.n.x*m.y),n=e.position.y+(k.k.y*m.x+k.n.y*m.y),l=(l-g)*c+(n-h)*d):a.cd[0]==a.cd[0]?(this.ib=Md,g=this.Bk.me(a.dd[0]),h=this.Bk.me(a.dd[1]),f=this.Ak.me(a.cd[0]),this.Ra.x=
  522. .5*(g.x+h.x),this.Ra.y=.5*(g.y+h.y),this.aa=P.Ei(P.fc(h,g),1),this.aa.Pe(),m=this.aa,k=e.u,c=k.k.x*m.x+k.n.x*m.y,d=k.k.y*m.x+k.n.y*m.y,m=this.Ra,k=e.u,l=e.position.x+(k.k.x*m.x+k.n.x*m.y),n=e.position.y+(k.k.y*m.x+k.n.y*m.y),m=f,k=b.u,g=b.position.x+(k.k.x*m.x+k.n.x*m.y),h=b.position.y+(k.k.y*m.x+k.n.y*m.y),l=(g-l)*c+(h-n)*d):(c=this.Ak.me(a.cd[0]),d=this.Ak.me(a.cd[1]),g=this.Bk.me(a.dd[0]),h=this.Bk.me(a.dd[1]),l=P.Mc(b.u,P.fc(d,c)),n=P.Mc(e.u,P.fc(h,g)),e=l.x*l.x+l.y*l.y,b=n.x*n.x+n.y*n.y,f=P.fc(n,
  523. l),a=l.x*f.x+l.y*f.y,f=n.x*f.x+n.y*f.y,n=l.x*n.x+l.y*n.y,k=e*b-n*n,l=0,0!=k&&(l=P.mc((n*f-a*b)/k,0,1)),0>(n*l+f)/b&&(l=P.mc((n-a)/e,0,1)),f=J.B(0,0),f.x=c.x+l*(d.x-c.x),f.y=c.y+l*(d.y-c.y),a=J.B(0,0),a.x=g.x+l*(h.x-g.x),a.y=g.y+l*(h.y-g.y),0==l||1==l?(this.ib=Md,this.aa=P.Ei(P.fc(h,g),1),this.aa.Pe(),this.Ra=a):(this.ib=Ld,this.aa=P.Ei(P.fc(d,c),1),this.Ra=f)),0>l&&this.aa.bv())};Jd.prototype.Dh=function(a,c){var b,d,e=0;switch(this.ib){case Kd:b=P.Gi(a.u,this.aa);d=P.Gi(c.u,this.aa.Rj());b=this.Ak.Do(b);
  524. d=this.Bk.Do(d);b=P.Id(a,b);d=P.Id(c,d);e=(d.x-b.x)*this.aa.x+(d.y-b.y)*this.aa.y;break;case Ld:e=P.Mc(a.u,this.aa);b=P.Id(a,this.Ra);d=P.Gi(c.u,e.Rj());d=this.Bk.Do(d);d=P.Id(c,d);e=(d.x-b.x)*e.x+(d.y-b.y)*e.y;break;case Md:e=P.Mc(c.u,this.aa),d=P.Id(c,this.Ra),b=P.Gi(a.u,e.Rj()),b=this.Ak.Do(b),b=P.Id(a,b),e=(b.x-d.x)*e.x+(b.y-d.y)*e.y}return e};var Kd=1,Ld=2,Md=4,wd=function(){this.Ka=new Nd;this.kb=new Nd;this.Gf=new Nd;this.O=[this.Ka,this.kb,this.Gf]};r=wd.prototype;r.eH=function(a,c,b,d,e){var f,
  525. g;this.Ja=a.count;for(var h=this.O,l=0;l<this.Ja;l++){var n=h[l];n.cd=a.cd[l];n.dd=a.dd[l];f=c.me(n.cd);g=d.me(n.dd);n.we=P.Id(b,f);n.Mg=P.Id(e,g);n.qd=P.fc(n.Mg,n.we);n.P=0}1<this.Ja&&(a=a.tM,f=this.Lz(),f<.5*a||2*a<f||f<Number.MIN_VALUE)&&(this.Ja=0);0==this.Ja&&(n=h[0],n.cd=0,n.dd=0,f=c.me(0),g=d.me(0),n.we=P.Id(b,f),n.Mg=P.Id(e,g),n.qd=P.fc(n.Mg,n.we),this.Ja=1)};r.wI=function(a){a.tM=this.Lz();a.count=this.Ja;for(var c=this.O,b=0;b<this.Ja;b++)a.cd[b]=c[b].cd,a.dd[b]=c[b].dd};r.KF=function(){if(1==
  526. this.Ja)return this.Ka.qd.Rj();if(2==this.Ja){var a=P.fc(this.kb.qd,this.Ka.qd);return 0<P.Wk(a,this.Ka.qd.Rj())?P.Lu(1,a):P.Ei(a,1)}return J.B(0,0)};r.LF=function(a,c){1==this.Ja?(a.M(this.Ka.we),c.M(this.Ka.Mg)):2==this.Ja?(a.x=this.Ka.P*this.Ka.we.x+this.kb.P*this.kb.we.x,a.y=this.Ka.P*this.Ka.we.y+this.kb.P*this.kb.we.y,c.x=this.Ka.P*this.Ka.Mg.x+this.kb.P*this.kb.Mg.x,c.y=this.Ka.P*this.Ka.Mg.y+this.kb.P*this.kb.Mg.y):3==this.Ja&&(c.x=a.x=this.Ka.P*this.Ka.we.x+this.kb.P*this.kb.we.x+this.Gf.P*
  527. this.Gf.we.x,c.y=a.y=this.Ka.P*this.Ka.we.y+this.kb.P*this.kb.we.y+this.Gf.P*this.Gf.we.y)};r.Lz=function(){return 1==this.Ja?0:2==this.Ja?P.fc(this.Ka.qd,this.kb.qd).Fh():3==this.Ja?P.Wk(P.fc(this.kb.qd,this.Ka.qd),P.fc(this.Gf.qd,this.Ka.qd)):0};r.VH=function(){var a=this.Ka.qd,c=this.kb.qd,b=P.fc(c,a),a=-(a.x*b.x+a.y*b.y);0>=a?this.Ja=this.Ka.P=1:(c=c.x*b.x+c.y*b.y,0>=c?(this.Ja=this.kb.P=1,this.Ka.Set(this.kb)):(b=1/(c+a),this.Ka.P=c*b,this.kb.P=a*b,this.Ja=2))};r.WH=function(){var a=this.Ka.qd,
  528. c=this.kb.qd,b=this.Gf.qd,d=P.fc(c,a),e=P.wc(c,d),f=-P.wc(a,d),g=P.fc(b,a),h=P.wc(b,g),l=-P.wc(a,g),n=P.fc(b,c),k=P.wc(b,n),n=-P.wc(c,n),g=P.Wk(d,g),d=g*P.Wk(c,b),b=g*P.Wk(b,a),a=g*P.Wk(a,c);0>=f&&0>=l?this.Ja=this.Ka.P=1:0<e&&0<f&&0>=a?(h=1/(e+f),this.Ka.P=e*h,this.kb.P=f*h,this.Ja=2):0<h&&0<l&&0>=b?(e=1/(h+l),this.Ka.P=h*e,this.Gf.P=l*e,this.Ja=2,this.kb.Set(this.Gf)):0>=e&&0>=n?(this.Ja=this.kb.P=1,this.Ka.Set(this.kb)):0>=h&&0>=k?(this.Ja=this.Gf.P=1,this.Ka.Set(this.Gf)):0<k&&0<n&&0>=d?(e=1/
  529. (k+n),this.kb.P=k*e,this.Gf.P=n*e,this.Ja=2,this.Ka.Set(this.Gf)):(e=1/(d+b+a),this.Ka.P=d*e,this.kb.P=b*e,this.Gf.P=a*e,this.Ja=3)};var Od=function(){this.cd=[0,0,0];this.dd=[0,0,0]},Nd=function(){};Nd.prototype.Set=function(a){this.we.M(a.we);this.Mg.M(a.Mg);this.qd.M(a.qd);this.P=a.P;this.cd=a.cd;this.dd=a.dd};var Pd=function(){this.zj=new Ad;this.Aj=new Ad;this.iE=new jd;this.jE=new jd},Qd=function(){this.Sa=J.B(0,0);this.Ia=[];for(var a=this.Sc=0;2>a;a++)this.Ia[a]=J.B(0,0)};Qd.prototype.Xc=
  530. function(a,c,b,d,e){if(0!=a.Sc){var f=0,g,h,l=0,n=0,k=0,m=0,q=0;g=0;switch(a.ib){case 1:h=c.u;g=a.Ra;f=c.position.x+h.k.x*g.x+h.n.x*g.y;c=c.position.y+h.k.y*g.x+h.n.y*g.y;h=d.u;g=a.Ia[0].Ra;a=d.position.x+h.k.x*g.x+h.n.x*g.y;d=d.position.y+h.k.y*g.x+h.n.y*g.y;g=a-f;h=d-c;l=g*g+h*h;l>gd?(l=Math.sqrt(l),this.Sa.x=g/l,this.Sa.y=h/l):(this.Sa.x=1,this.Sa.y=0);g=c+b*this.Sa.y;d-=e*this.Sa.y;this.Ia[0].x=.5*(f+b*this.Sa.x+(a-e*this.Sa.x));this.Ia[0].y=.5*(g+d);break;case 2:h=c.u;g=a.fe;l=h.k.x*g.x+h.n.x*
  531. g.y;n=h.k.y*g.x+h.n.y*g.y;h=c.u;g=a.Ra;k=c.position.x+h.k.x*g.x+h.n.x*g.y;m=c.position.y+h.k.y*g.x+h.n.y*g.y;this.Sa.x=l;this.Sa.y=n;for(f=0;f<a.Sc;f++)h=d.u,g=a.Ia[f].Ra,q=d.position.x+h.k.x*g.x+h.n.x*g.y,g=d.position.y+h.k.y*g.x+h.n.y*g.y,this.Ia[f].x=q+.5*(b-(q-k)*l-(g-m)*n-e)*l,this.Ia[f].y=g+.5*(b-(q-k)*l-(g-m)*n-e)*n;break;case 4:for(h=d.u,g=a.fe,l=h.k.x*g.x+h.n.x*g.y,n=h.k.y*g.x+h.n.y*g.y,h=d.u,g=a.Ra,k=d.position.x+h.k.x*g.x+h.n.x*g.y,m=d.position.y+h.k.y*g.x+h.n.y*g.y,this.Sa.x=-l,this.Sa.y=
  532. -n,f=0;f<a.Sc;f++)h=c.u,g=a.Ia[f].Ra,q=c.position.x+h.k.x*g.x+h.n.x*g.y,g=c.position.y+h.k.y*g.x+h.n.y*g.y,this.Ia[f].x=q+.5*(e-(q-k)*l-(g-m)*n-b)*l,this.Ia[f].y=g+.5*(e-(q-k)*l-(g-m)*n-b)*n}}};var Tc=function(a,c){this.Ne="Body"+Tc.av++;this.I=new Rc;this.I.position.M(a.position);this.I.u.Set(a.K);this.q=new jd;this.q.U.za();this.q.Le=1;this.q.kg=this.q.P=a.K;this.q.F.x=this.I.u.k.x*this.q.U.x+this.I.u.n.x*this.q.U.y;this.q.F.y=this.I.u.k.y*this.q.U.x+this.I.u.n.y*this.q.U.y;this.q.F.x+=this.I.position.x;
  533. this.q.F.y+=this.I.position.y;this.q.Yd.M(this.q.F);this.A=a.zx.vc();this.ai=J.B(0,0);this.Hn=a.il;this.XC=a.sw;this.Ix=a.jB;this.Jx=a.pB;this.kj=a.ea;this.La=c;this.rc=null;this.Ae=new Rd;this.ll=new Sd;this.L=a.kB;this.fM=a.Ul;this.VL=a.dl;this.$p=this.tj=0;this.ib=a.type;this.ba=this.ib==S.sd?1:0;this.N=this.ib==S.sd?1:0;this.X=this.yg=0;this.cM=a.mC;this.mk=new Td;this.xk=[]};r=Tc.prototype;r.Hm=function(a){a=new Sc(this,this.I,a);this.kj&&a.Im(this.La.ee.vk,this.I);this.mk.IE(a);a.Sp=this;0<
  534. a.ot&&this.or();this.La.Tx=!0;return a};r.Gd=function(){J.Wc(this.A);J.Wc(this.ai)};r.Fz=function(a){this.mk.gH(a);for(var c=this.Ae.Za(Ud);c;c=c.next)a!=c.Zc.Dc&&a!=c.Zc.qc||this.La.ee.Gd(c.Zc);this.kj&&a.Jm(this.La.ee.vk);a.Gd();a.Sp=null;this.or()};r.Oo=function(a,c){this.I.u.Set(c);this.I.position.M(a);var b=this.I.u,d=this.q.U;this.q.F.x=b.k.x*d.x+b.n.x*d.y;this.q.F.y=b.k.y*d.x+b.n.y*d.y;this.q.F.x+=this.I.position.x;this.q.F.y+=this.I.position.y;this.q.Yd.M(this.q.F);this.q.kg=this.q.P=c;b=
  535. this.La.ee.vk;for(d=this.mk.Za();d;d=d.next)d.Bf.RA(b,this.I,this.I);this.La.ee.Yq()};r.vf=function(){return this.I};r.xv=function(a){this.Oo(a,this.Me())};r.Me=function(){return this.q.P};r.Mo=function(a){this.Oo(this.I.position,a)};r.Nm=function(){return this.q.F};r.Xk=function(){return this.q.U};r.Wj=function(a){this.ib!=S.yf&&this.A.M(a)};r.Fi=function(){return this.A};r.Rm=function(a){void 0===a&&(a=0);this.ib!=S.yf&&(this.L=a)};r.Zq=function(){return this.L};r.Ng=function(a,c){this.ib==S.sd&&
  536. (this.Nc(!0),this.ai.x+=a.x,this.ai.y+=a.y,this.tj+=(c.x-this.q.F.x)*a.y-(c.y-this.q.F.y)*a.x)};r.Qq=function(a){void 0===a&&(a=0);this.ib==S.sd&&(this.Nc(!0),this.tj+=a)};r.Pq=function(a,c){this.ib==S.sd&&(this.Nc(!0),this.A.x+=this.N*a.x,this.A.y+=this.N*a.y,this.L+=this.X*((c.x-this.q.F.x)*a.y-(c.y-this.q.F.y)*a.x))};r.Mm=function(){return this.ba};r.Kz=function(a){a||(a=new md);a.gi=this.ba;a.Om=this.yg;a.Ni.M(this.q.U);return a};r.or=function(){this.X=this.yg=this.N=this.ba=0;this.q.U.za();if(this.ib!=
  537. S.yf&&this.ib!=S.rB){for(var a=J.B(0,0),c=this.mk.Za();c;c=c.next){var b=c.Bf;0!=b.ot&&(b=b.Kz(),this.ba+=b.gi,a.x+=b.Ni.x*b.gi,a.y+=b.Ni.y*b.gi,this.yg+=b.Om)}0<this.ba?(this.N=1/this.ba,a.x*=this.N,a.y*=this.N):this.N=this.ba=1;0<this.yg&&!this.XC?(this.yg-=this.ba*(a.x*a.x+a.y*a.y),this.yg*=this.cM,this.X=1/this.yg):this.X=this.yg=0;c=this.q.F.vc();this.q.U.M(a);this.q.Yd.M(P.Id(this.I,this.q.U));this.q.F.M(this.q.Yd);this.A.x+=this.L*-(this.q.F.y-c.y);this.A.y+=this.L*+(this.q.F.x-c.x);J.Wc(a);
  538. J.Wc(c)}};r.dr=function(a){var c=this.I.u;a=J.B(c.k.x*a.x+c.n.x*a.y,c.k.y*a.x+c.n.y*a.y);a.x+=this.I.position.x;a.y+=this.I.position.y;return a};r.Uu=function(a){return P.Mc(this.I.u,a)};r.ye=function(a){return P.$u(this.I,a)};r.Tu=function(a){return P.Gi(this.I.u,a)};r.JF=function(a){return J.B(this.A.x-this.L*(a.y-this.q.F.y),this.A.y+this.L*(a.x-this.q.F.x))};r.LA=function(a){if(this.ib!=a){this.ib=a;this.or();this.ib==S.yf&&(this.A.za(),this.L=0);this.Nc(!0);this.ai.za();this.tj=0;for(a=this.Ae.Za(Ud);a;a=
  539. a.next)a.Zc.Pu();for(a=0;a<this.xk.length;a++)this.xk[a].yr(this)}};r.Vd=function(){return this.ib};r.Nc=function(a){if(this.Jx!=a)for(this.Jx=a,this.$p=0,a||(this.A.za(),this.L=0,this.ai.za(),this.tj=0),a=0;a<this.xk.length;a++)this.xk[a].yr(this)};r.ne=function(){return this.Jx};r.EA=function(a){this.XC=a;this.or()};r.sr=function(a){if(a!=this.kj){if(a){this.kj=!0;a=this.La.ee.vk;for(var c=this.mk.Za();c;c=c.next)c.Bf.Im(a,this.I)}else{this.kj=!1;a=this.La.ee.vk;for(c=this.mk.Za();c;c=c.next)c.Bf.Jm(a);
  540. for(a=this.Ae.Za(Ud);a;a=a.next)this.La.ee.Gd(a.Zc)}for(a=0;a<this.xk.length;a++)this.xk[a].yr(this)}};r.Og=function(){return this.kj};r.Ru=function(){return this.mk};r.uo=function(a){this.ll.uo(a)};r.Ko=function(a){this.ll.Ko(a)};r.Qj=function(){return this.Ae};r.SA=function(){var a=Tc.kN;a.u.Set(this.q.kg);var c=a.u,b=this.q.U;a.position.x=this.q.Yd.x-(c.k.x*b.x+c.n.x*b.y);a.position.y=this.q.Yd.y-(c.k.y*b.x+c.n.y*b.y);c=this.La.ee.vk;for(b=this.mk.Za();b;b=b.next)b.Bf.RA(c,a,this.I)};r.yc=function(){this.I.u.Set(this.q.P);
  541. var a=this.I.u,c=this.q.U;this.I.position.x=this.q.F.x-(a.k.x*c.x+a.n.x*c.y);this.I.position.y=this.q.F.y-(a.k.y*c.x+a.n.y*c.y)};r.al=function(a){if(this.ib!=S.sd&&a.ib!=S.sd)return!1;for(var c=this.rc;c;c=c.next)if(c.bg==a&&0==c.ij.VC)return!1;return!0};r.Oj=function(a){this.q.Oj(a);this.q.F.M(this.q.Yd);this.q.P=this.q.kg;this.yc()};Tc.av=0;var S=function(){this.position=J.B(0,0);this.zx=J.B(0,0);this.dl=this.Ul=this.kB=this.K=0;this.pB=this.jB=!0;this.il=this.sw=!1;this.type=S.yf;this.ea=!0;this.mC=
  542. 1};S.yf=0;S.rB=1;S.sd=2;var Wd=function(){this.Nr=[];for(var a=0;a<=Vd;a++)this.Nr[a]=null;this.Or=[];for(a=0;a<=Vd;a++)this.Or[a]=null;this.Xm={}};r=Wd.prototype;r.Za=function(a){return this.Nr[a]};r.Dm=function(a){var c=a.Ne;null==this.Xm[c]&&(this.Bh(a,c,Vd),this.yr(a),a.xk.push(this))};r.yr=function(a){var c=a.Vd(),b=a.Ne,d=a.ne(),e=a.Og();c==S.sd?this.Bh(a,b,Xd):this.Gh(b,Xd);c!=S.yf?this.Bh(a,b,Yd):this.Gh(b,Yd);c!=S.yf&&e&&d?this.Bh(a,b,Zd):this.Gh(b,Zd);d?this.Bh(a,b,$d):this.Gh(b,$d);e?this.Bh(a,
  543. b,ae):this.Gh(b,ae)};r.Jo=function(a){var c=a.Ne;if(null!=this.Xm[c]){Fa(a.xk,this);for(a=0;a<=Vd;a++)this.Gh(c,a);delete this.Xm[c]}};r.Gh=function(a,c){var b=this.Xm[a];if(null!=b){var d=b[c];null!=d&&(b[c]=null,b=d.Hg,d=d.next,null==b?this.Nr[c]=d:b.Rg(d),null==d?this.Or[c]=b:d.Sg(b))}};r.Bh=function(a,c,b){var d=this.Xm[c];if(null==d){for(var d=[],e=0;e<=Vd;e++)d[e]=null;this.Xm[c]=d}null==d[b]&&(d[b]=new be(a),a=this.Or[b],null!=a?a.Rg(d[b]):this.Nr[b]=d[b],d[b].Sg(a),this.Or[b]=d[b])};var Xd=
  544. 0,Yd=1,ae=2,Zd=3,$d=4,Vd=5,be=function(a){this.body=a;this.Hg=this.next=null};be.prototype.Rg=function(a){this.next=a};be.prototype.Sg=function(a){this.Hg=a};be.prototype.Ab=function(){return this.body};var Vc=function(){};Vc.prototype.al=function(a,c){var b=a.Jz(),d=c.Jz();return b.pk==d.pk&&0!=b.pk?0<b.pk:0!=(b.Pn&d.$m)&&0!=(b.$m&d.Pn)};Vc.mJ=new Vc;var ce=function(){this.zM=[];this.AN=[]},Uc=function(){};Uc.prototype.Rq=function(){};var ee=function(a){this.La=a;this.Kx=Vc.mJ;this.mj=Uc.qB;this.WC=
  545. new de;this.vk=new Dd};ee.prototype.NE=function(a,c){var b=a.Ab(),d=c.Ab();if(b!=d&&d.al(b)&&this.Kx.al(a,c)){for(b=d.Ae.Za(Ud);b;b=b.next)if(d=b.Zc.Dc,d==a){if(d=b.Zc.qc,d==c)return}else if(d==c&&(d=b.Zc.qc,d==a))return;this.WC.hg(a,c)}};ee.prototype.Yq=function(){var a=this;this.vk.nI(function(c,b){a.NE(c,b)})};ee.prototype.Gd=function(a){0<a.Zf.Sc&&(a.Dc.Ab().Nc(!0),a.qc.Ab().Nc(!0));a.hH();this.WC.Gd(a)};ee.prototype.iF=function(){for(var a=this.La.Ae.Za(Ud);a;a=a.next){var c=a.Zc,b=c.Dc,d=c.qc,
  546. e=b.Ab(),f=d.Ab();if(0!=e.ne()||0!=f.ne()){if(c.ys){if(0==f.al(e)){this.Gd(c);continue}if(0==this.Kx.al(b,d)){this.Gd(c);continue}c.gF()}0==this.vk.Ro(b.gm,d.gm)?this.Gd(c):c.XA(this.mj)}}};var fe=function(){this.$m=1;this.Pn=65535;this.pk=0};fe.prototype.vc=function(){var a=new fe;a.$m=this.$m;a.Pn=this.Pn;a.pk=this.pk;return a};var Sc=function(a,c,b){this.Ne="Fixture"+Sc.av++;this.ZL=b.filter.vc();this.am=rd();this.Sp=a;this.sj=b.shape.vc();this.ot=b.Yg;this.Nx=b.Qh;this.Ux=b.oi;this.qt=b.$w};r=
  547. Sc.prototype;r.Hd=function(){return this.sj};r.Zk=function(){return this.qt};r.Jz=function(){return this.ZL.vc()};r.Ab=function(){return this.Sp};r.Kz=function(a){a||(a=new md);this.sj.yo(a,this.ot);return a};r.Gd=function(){qd.push(this.am)};r.Im=function(a,c){this.sj.Gm(this.am,c);this.gm=a.Im(this.am,this)};r.Jm=function(a){null!=this.gm&&(a.Jm(this.gm),this.gm=null)};r.RA=function(a,c,b){if(this.gm){var d=rd(),e=rd();this.sj.Gm(d,c);this.sj.Gm(e,b);this.am.Tq(d,e);qd.push(d);qd.push(e);c=P.fc(b.position,
  548. c.position);a.Yu(this.gm,this.am,c);J.Wc(c)}};Sc.av=0;var Zc=function(){this.filter=new fe;this.filter.$m=1;this.filter.Pn=65535;this.filter.pk=0;this.shape=null;this.Qh=.2;this.Yg=this.oi=0;this.$w=!1},Td=function(){this.vw=this.uw=null;this.As={}};Td.prototype.Za=function(){return this.uw};Td.prototype.IE=function(a){var c=a.Ne;if(null==this.As[c]){a=new ge(a);var b=this.vw;null!=b?b.Rg(a):this.uw=a;a.Sg(b);this.vw=a;this.As[c]=a}};Td.prototype.gH=function(a){a=a.Ne;var c=this.As[a];if(null!=c){var b=
  549. c.Hg,c=c.next;null==b?this.uw=c:b.Rg(c);null==c?this.vw=b:c.Sg(b);delete this.As[a]}};var ge=function(a){this.Bf=a;this.Hg=this.next=null};ge.prototype.Rg=function(a){this.next=a};ge.prototype.Sg=function(a){this.Hg=a};var he=function(a,c){this.gM=a;this.ih=c;this.Zh=[];this.pt=[];this.zk=[];this.nj=[];this.Ie=[]};r=he.prototype;r.Fm=function(){this.Zh=[];this.pt=[];this.zk=[];this.nj=[];this.Ie=[]};r.Xj=function(a,c,b){this.AI(a,c);this.ih.Xc(a,this.nj,this.nj.length);this.GI(a);this.CI(a);this.DI(a);
  550. this.tA(this.ih.$h);b&&this.BI(a)};r.AI=function(a,c){for(var b=0;b<this.pt.length;b++){var d=this.pt[b];d.A.x+=a.$a*(c.x+d.N*d.ai.x);d.A.y+=a.$a*(c.y+d.N*d.ai.y);d.L+=a.$a*d.X*d.tj;d.A.Oe(P.mc(1-a.$a*d.fM,0,1));d.L*=P.mc(1-a.$a*d.VL,0,1)}};r.GI=function(a){this.ih.ig(a);for(var c=0;c<this.Ie.length;c++)this.Ie[c].ig(a);for(c=0;c<a.ro;c++){for(var b=0;b<this.Ie.length;b++)this.Ie[b].Nf(a);this.ih.Nf()}for(a=0;a<this.Ie.length;a++)this.Ie[a].Ou();this.ih.Ou()};r.CI=function(a){for(var c=0;c<this.zk.length;++c){var b=
  551. this.zk[c],d=a.$a*b.A.x,e=a.$a*b.A.y;4<d*d+e*e&&(b.A.Pe(),b.A.x=2*b.A.x*a.cj,b.A.y=2*b.A.y*a.cj);d=a.$a*b.L;d*d>ed&&(b.L=0>b.L?-dd*a.cj:dd*a.cj);b.q.Yd.M(b.q.F);b.q.kg=b.q.P;b.q.F.x+=a.$a*b.A.x;b.q.F.y+=a.$a*b.A.y;b.q.P+=a.$a*b.L;b.yc()}};r.DI=function(a){for(var c=0;c<a.ao;c++){for(var b=this.ih.Mf(.2),d=!0,e=0;e<this.Ie.length;e++)var f=this.Ie[e].Mf(.2),d=d&&f;if(b&&d)break}};r.BI=function(a){for(var c=Number.MAX_VALUE,b=0;b<this.zk.length;b++){var d=this.zk[b];!d.Ix||Math.abs(d.L)>fd||1E-4<P.wc(d.A,
  552. d.A)?c=d.$p=0:(d.$p+=a.$a,c=Math.min(c,d.$p))}if(.5<=c)for(a=0;a<this.Zh.length;a++)this.Zh[a].Nc(!1)};r.Dv=function(a){var c=0,b=0;this.ih.Xc(a,this.nj,this.nj.length);for(var d=this.ih,c=0;c<this.Ie.length;++c)this.Ie[c].ig(a);for(c=0;c<a.ro;++c)for(d.Nf(),b=0;b<this.Ie.length;++b)this.Ie[b].Nf(a);for(c=0;c<this.zk.length;++c){var b=this.zk[c],e=a.$a*b.A.x,f=a.$a*b.A.y;4<e*e+f*f&&(b.A.Pe(),b.A.x=2*b.A.x*a.cj,b.A.y=2*b.A.y*a.cj);e=a.$a*b.L;e*e>ed&&(b.L=0>b.L?-dd*a.cj:dd*a.cj);b.q.Yd.M(b.q.F);b.q.kg=
  553. b.q.P;b.q.F.x+=a.$a*b.A.x;b.q.F.y+=a.$a*b.A.y;b.q.P+=a.$a*b.L;b.yc()}for(c=0;c<a.ao;++c){e=d.Mf(.75);f=!0;for(b=0;b<this.Ie.length;++b)var g=this.Ie[b].Mf(.2),f=f&&g;if(e&&f)break}this.tA(d.$h)};r.tA=function(a){if(null!=this.gM)for(var c=0;c<this.nj.length;++c)for(var b=a[c],d=new ce,e=0;e<b.Fg;++e)d.zM[e]=b.Vc[e].Tc,d.AN[e]=b.Vc[e].vi};r.Dm=function(a){this.Zh.push(a);a.Vd()!=S.yf&&(this.zk.push(a),a.Vd()==S.sd&&this.pt.push(a))};r.Em=function(a){this.nj.push(a)};r.uz=function(a){this.Ie.push(a)};
  554. var ie=function(a,c,b,d,e){this.$a=a;var f=0;0<a&&(f=1/a);this.cj=f;this.vd=c;this.ao=b;this.ro=d;this.Lj=e},Wc=function(a,c){this.ee=new ee(this);this.ih=new je;this.Tx=!1;this.Xd=new Wd;this.Ae=new Rd;this.rc=null;this.ll=new Sd;this.tt=0;this.XL=this.mM=!0;this.Ix=c;this.YC=a;this.ZC=0;this.bM=this.Ku(new S)};Wc.sG=1-100*Number.MIN_VALUE;r=Wc.prototype;r.BA=function(a){this.ee.Kx=a};r.CA=function(a){this.ee.mj=a};r.Ku=function(a){a=new Tc(a,this);this.Xd.Dm(a);return a};r.Wq=function(a){for(var c=
  555. a.rc;c;){var b=c,c=c.next;this.Xq(b.ij)}for(c=a.ll.Za();c;c=c.next)c.EB.Jo(a);for(c=a.Ae.Za(Ud);c;c=c.next)this.ee.Gd(c.Zc);for(c=a.Ru().Za();c;c=c.next)a.Fz(c.Bf);a.Gd();this.Xd.Jo(a)};r.Vq=function(a){var c=V.hg(a);c.Jn=null;if(c.yk=this.rc)this.rc.Jn=c;this.rc=c;this.tt++;c.bf.ij=c;c.bf.bg=c.da;c.bf.prev=null;if(c.bf.next=c.ca.rc)c.ca.rc.prev=c.bf;c.ca.rc=c.bf;c.cf.ij=c;c.cf.bg=c.ca;c.cf.prev=null;if(c.cf.next=c.da.rc)c.da.rc.prev=c.cf;c.da.rc=c.cf;var b=a.R,d=a.S;if(!a.aw)for(a=d.Ae.Za(Ud);a;a=
  556. a.next)a.Zc.br(d)==b&&a.Zc.Pu();return c};r.Xq=function(a){var c=a.VC;a.Jn&&(a.Jn.yk=a.yk);a.yk&&(a.yk.Jn=a.Jn);a==this.rc&&(this.rc=a.yk);var b=a.ca,d=a.da;b.Nc(!0);d.Nc(!0);a.bf.prev&&(a.bf.prev.next=a.bf.next);a.bf.next&&(a.bf.next.prev=a.bf.prev);a.bf==b.rc&&(b.rc=a.bf.next);a.bf.prev=null;a.bf.next=null;a.cf.prev&&(a.cf.prev.next=a.cf.next);a.cf.next&&(a.cf.next.prev=a.cf.prev);a.cf==d.rc&&(d.rc=a.cf.next);a.cf.prev=null;a.cf.next=null;this.tt--;if(!c)for(a=d.Ae.Za(Ud);a;a=a.next)a.Zc.br(d)==
  557. b&&a.Zc.Pu()};r.uo=function(a){if(null!==a.La&&a.La!=this)throw Error("Controller can only be a member of one world");this.ll.uo(a);a.La=this;return a};r.Ko=function(a){this.ll.Ko(a);a.La=null;a.Fm()};r.Hi=function(a,c,b){this.Tx&&(this.ee.Yq(),this.Tx=!1);a=new ie(a,this.ZC*a,c,b,this.mM);this.ee.iF();0<a.$a&&(this.Xj(a),this.XL&&this.Dv(a),this.ZC=a.cj)};r.yz=function(){for(var a=this.Xd.Za(Xd);a;a=a.next)a.body.ai.za(),a.body.tj=0};r.Qj=function(){return this.Ae};var ke=[];Wc.prototype.Xj=function(a){for(var c=
  558. this.ll.Za();c;c=c.next)c.EB.Hi(a);for(var c=new he(this.ee.mj,this.ih),b=this.Xd.Za(Vd);b;b=b.next)b.body.ic=!1;for(var d=this.Ae.Za(Ud);d;d=d.next)d.Zc.ic=!1;for(b=this.rc;b;b=b.yk)b.ic=!1;for(b=this.Xd.Za(Zd);b;b=b.next)if(d=b.body,!d.ic){c.Fm();ke.length=0;var e=ke;e.push(d);for(d.ic=!0;0<e.length;){var f=e.pop();c.Dm(f);f.ne()||f.Nc(!0);if(f.Vd()!=S.yf){for(d=f.Ae.Za(le);d;d=d.next){var g=d.Zc;g.ic||(c.Em(g),g.ic=!0,g=g.br(f),g.ic||(e.push(g),g.ic=!0))}for(d=f.rc;d;d=d.next)!d.ij.ic&&d.bg.Og()&&
  559. (c.uz(d.ij),d.ij.ic=!0,d.bg.ic||(e.push(d.bg),d.bg.ic=!0))}}c.Xj(a,this.YC,this.Ix)}for(b=this.Xd.Za(Zd);b;b=b.next)b.body.SA();this.ee.Yq()};Wc.prototype.Dv=function(a){for(var c=new he(this.ee.mj,this.ih),b=this.Xd.Za(Vd);b;b=b.next){var d=b.body;d.ic=!1;d.q.Le=0}for(var e=this.Ae.Za(Ud);e;e=e.next)e.Zc.ic=!1,e.Zc.Nn=null;for(b=this.rc;b;b=b.yk)b.ic=!1;for(;;){var b=this.EI(),f=b.uM,b=b.vM;if(null===f||Wc.sG<b)break;e=f.Dc.Ab();d=f.qc.Ab();Wc.TD.Set(e.q);Wc.UD.Set(d.q);e.Oj(b);d.Oj(b);f.XA(this.ee.mj);
  560. f.Nn=null;if(f.bu||!f.enabled)e.q.Set(Wc.TD),d.q.Set(Wc.UD),e.yc(),d.yc();else if(f.Gq){e.Vd()!=S.sd&&(e=d);c.Fm();ke.length=0;f=ke;f.push(e);for(e.ic=!0;0<f.length;)if(d=f.pop(),c.Dm(d),d.ne()||d.Nc(!0),d.Vd()==S.sd){for(e=d.Ae.Za(le);e&&32!=c.WL;e=e.next){var g=e.Zc;g.ic||(c.Em(g),g.ic=!0,g=g.br(d),g.ic||(g.Vd()!=S.yf&&(g.Oj(b),g.Nc(!0),f.push(g)),g.ic=!0))}for(d=d.rc;d;d=d.next)32!=c.tt&&!d.ij.ic&&d.bg.Og()&&(c.uz(d.ij),d.ij.ic=!0,d.bg.ic||(d.bg.Vd()!=S.yf&&(d.bg.Oj(b),d.bg.Nc(!0),f.push(d.bg)),
  561. d.bg.ic=!0))}c.Dv(new ie((1-b)*a.$a,0,a.ro,a.ao,!1));for(b=0;b<c.Zh.length;b++)if(c.Zh[b].ic=!1,c.Zh[b].ne()&&c.Zh[b].Vd()==S.sd)for(c.Zh[b].SA(),e=c.Zh[b].Ae.Za(Ud);e;e=e.next)e.Zc.Nn=null;for(b=0;b<c.WL;b++)c.nj[b].ic=!1,c.nj[b].Nn=null;for(b=0;b<c.tt;b++)c.Ie[b].ic=!1;this.ee.Yq()}}};Wc.prototype.EI=function(){for(var a=null,c=1,b=this.Ae.Za(me);b;b=b.next){var d=b.Zc;if(!this.FI(d)){var e=1;if(null!=d.Nn)e=d.Nn;else{if(d.Gq)e=1;else{var e=d.Dc.Ab(),f=d.qc.Ab(),g=e.q.Le;e.q.Le<f.q.Le?(g=f.q.Le,
  562. e.q.Oj(g)):f.q.Le<e.q.Le&&(g=e.q.Le,f.q.Oj(g));e=d.sF(e.q,f.q);0<e&&1>e&&(e=(1-e)*g+e)}d.Nn=e}Number.MIN_VALUE<e&&e<c&&(a=d,c=e)}}return{uM:a,vM:c}};Wc.prototype.FI=function(a){var c=a.Dc.Ab();a=a.qc.Ab();return c.Vd()==S.sd&&c.ne()||a.Vd()==S.sd&&a.ne()?!1:!0};var oe=function(a,c){this.Ne="Contact"+ne++;this.Zf=new Id;this.Yp=new Id;this.Gq=!1;var b=a.Ab(),d=c.Ab();this.bw=b.Vd()!=S.sd||b.Hn||d.Vd()!=S.sd||d.Hn;this.bu=a.Zk()||c.Zk();this.ys=!1;this.Dc=a;this.qc=c;this.enabled=!0;this.Lr=b.Qj();
  563. this.Mr=d.Qj();this.Hu=d.La.Qj();this.vz()};r=oe.prototype;r.Wd=function(a,c){this.Zf.Wd();this.Yp.Wd();this.Gq=!1;var b=a.Ab(),d=c.Ab();this.bw=b.Vd()!=S.sd||b.Hn||d.Vd()!=S.sd||d.Hn;this.bu=a.Zk()||c.Zk();this.ys=!1;this.Dc=a;this.qc=c;this.enabled=!0;this.Lr=b.Qj();this.Mr=d.Qj();this.Hu=d.La.Qj();this.vz()};r.vz=function(){this.Lr.Em(this);this.Mr.Em(this);this.Hu.Em(this);this.Jv()};r.Jv=function(){var a=!1,c=!1;!this.Zk()&&this.enabled&&(this.Xu()&&(a=!0),this.bw&&(c=!0));this.Lr.Iv(this,a,
  564. c);this.Mr.Iv(this,a,c);this.Hu.Iv(this,a,c)};r.hH=function(){this.Lr.rv(this);this.Mr.rv(this);this.Hu.rv(this)};r.Xu=function(){return this.Gq};r.Zk=function(){return this.bu};r.Sm=function(a){this.enabled=a;this.Jv()};r.br=function(a){var c=this.Dc.Ab();return c!=a?c:this.qc.Ab()};r.Pu=function(){this.ys=!0};r.gF=function(){this.ys=!1};r.XA=function(a){var c=this.Yp;this.Yp=this.Zf;this.Zf=c;this.enabled=!0;var b=!1,c=this.Xu(),d=this.Dc.Ab(),e=this.qc.Ab(),f=this.Dc.am.Ro(this.qc.am);if(this.bu){if(f){var b=
  565. this.Dc.Hd(),d=d.vf(),f=this.qc.Hd(),g=e.vf(),e=new yd;e.zj=new Ad;e.zj.Set(b);e.Aj=new Ad;e.Aj.Set(f);e.yu=d;e.zu=g;e.CE=!0;d=new Od;d.count=0;b=new zd;xd(b,d,e);b=b.Lh<10*Number.MIN_VALUE}this.Zf.Sc=0}else{this.bw=d.Vd()!=S.sd||d.Hn||e.Vd()!=S.sd||e.Hn?!0:!1;if(f)for(this.Dh(),b=0<this.Zf.Sc,f=0;f<this.Zf.Sc;f++){g=this.Zf.Ia[f];g.fm=0;for(var h=g.km=0;h<this.Yp.Sc;h++){var l=this.Yp.Ia[h];if(l.Ag.Qe==g.Ag.Qe){g.fm=l.fm;g.km=l.km;break}}}else this.Zf.Sc=0;b!=c&&(d.Nc(!0),e.Nc(!0))}this.Gq=b;b!=
  566. c&&this.Jv();!c&&b&&a.Rq(this)};r.Dh=function(){};r.sF=function(a,c){pe.zj.Set(this.Dc.Hd());pe.Aj.Set(this.qc.Hd());pe.iE=a;pe.jE=c;pe.IN=.005;var b=pe;qe++;var d=b.zj,e=b.Aj,f=b.iE,g=b.jE,h=d.Fb+e.Fb,b=b.IN,l=0,n=0,k=0;re.count=0;for(se.CE=!1;;){f.vf(te,l);g.vf(ue,l);se.zj=d;se.Aj=e;se.yu=te;se.zu=ue;xd(ve,re,se);if(0>=ve.Lh){l=1;break}we.Xc(re,d,te,e,ue);var m=we.Dh(te,ue);if(0>=m){l=1;break}0==n&&(k=m>h?Math.max(h-b,.75*h):Math.max(m-b,.02*h));if(m-k<.5*b){if(0==n){l=1;break}break}var q=l,p=l,
  567. t=1;f.vf(te,t);g.vf(ue,t);var v=we.Dh(te,ue);if(v>=k){l=1;break}for(var w=0;;){var s=0,s=w&1?p+(k-m)*(t-p)/(v-m):.5*(p+t);f.vf(te,s);g.vf(ue,s);var O=we.Dh(te,ue);if(Math.abs(O-k)<.025*b){q=s;break}O>k?(p=s,m=O):(t=s,v=O);w++;xe++;if(50==w)break}ye=Math.max(ye,w);if(q<(1+100*Number.MIN_VALUE)*l)break;l=q;n++;ze++;if(1E3==n)break}Ae=Math.max(Ae,n);return l};var pe=new Pd,ne=0,Be=function(a,c){oe.call(this,a,c)};Pc(Be,oe);Be.prototype.Wd=function(a,c){oe.prototype.Wd.call(this,a,c)};Be.prototype.Dh=
  568. function(){var a=this.Zf,c=this.Dc.Hd(),b=this.Dc.Ab().I,d=this.qc.Hd(),e=this.qc.Ab().I;a.Sc=0;var f=e.position.x+(e.u.k.x*d.Ob.x+e.u.n.x*d.Ob.y)-(b.position.x+(b.u.k.x*c.Ob.x+b.u.n.x*c.Ob.y)),b=e.position.y+(e.u.k.y*d.Ob.x+e.u.n.y*d.Ob.y)-(b.position.y+(b.u.k.y*c.Ob.x+b.u.n.y*c.Ob.y)),e=c.Fb+d.Fb;f*f+b*b>e*e||(a.ib=1,a.Ra.M(c.Ob),a.fe.za(),a.Sc=1,a.Ia[0].Ra.M(d.Ob),a.Ia[0].Ag.Vj(0))};var De=function(){this.Xh=J.B(0,0);this.Rc=J.B(0,0);this.Je=J.B(0,0);this.vj=new Qc;this.wf=new Qc;this.Vc=[];for(var a=
  569. 0;2>a;a++)this.Vc[a]=new Ce},Ce=function(){this.Rc=J.B(0,0);this.Hc=J.B(0,0);this.Ic=J.B(0,0)};Ce.prototype.Wd=function(){this.Rc.Set(0,0);this.Hc.Set(0,0);this.Ic.Set(0,0)};var de=function(){this.kh={};this.oj={};this.vo(Be,Xc.Pg,Xc.Pg);this.vo(Ee,Yc.Pg,Xc.Pg);this.vo(Fe,Yc.Pg,Yc.Pg);this.vo(Ge,"b2EdgeShape",Xc.Pg);this.vo(He,Yc.Pg,"b2EdgeShape")};de.prototype.vo=function(a,c,b){this.oj[c]=this.oj[c]||{};this.oj[c][b]=this.oj[c][b]||[];this.kh[c]=this.kh[c]||{};this.kh[c][b]=new Ie;this.kh[c][b].IB=
  570. a;this.kh[c][b].HD=!0;c!=b&&(this.kh[b]=this.kh[b]||{},this.kh[b][c]=new Ie,this.kh[b][c].IB=a,this.kh[b][c].HD=!1)};de.prototype.hg=function(a,c){var b=a.Hd().Yk(),d=c.Hd().Yk(),e=this.kh[b][d],f=e.IB;return null!=f?e.HD?0<this.oj[b][d].length?(b=this.oj[b][d].pop(),b.Wd(a,c),b):new f(a,c):0<this.oj[d][b].length?(b=this.oj[d][b].pop(),b.Wd(c,a),b):new f(c,a):null};de.prototype.Gd=function(a){var c=a.Dc.Hd().Yk(),b=a.qc.Hd().Yk();this.oj[c][b].push(a)};var Rd=function(){this.Xr=[];for(var a=0;a<=
  571. Ud;a++)this.Xr[a]=null;this.Yr=[];for(a=0;a<=Ud;a++)this.Yr[a]=null;this.kl={}};r=Rd.prototype;r.Za=function(a){return this.Xr[a]};r.Em=function(a){var c=a.Ne;if(null==this.kl[c]){this.kl[c]=[];for(var b=0;b<=Ud;b++)this.kl[c][b]=null;this.Bh(a,c,Ud)}};r.Iv=function(a,c,b){c?this.Bh(a,a.Ne,le):this.Gh(a.Ne,le);b?this.Bh(a,a.Ne,me):this.Gh(a.Ne,me)};r.rv=function(a){a=a.Ne;if(null!=this.kl[a]){for(var c=0;c<=Ud;c++)this.Gh(a,c);delete this.kl[a]}};r.Gh=function(a,c){var b=this.kl[a];if(null!=b){var d=
  572. b[c];if(null!=d){b[c]=null;var b=d.Hg,e=d.next;null==b?this.Xr[c]=e:b.Rg(e);null==e?this.Yr[c]=b:e.Sg(b);Je.push(d)}}};r.Bh=function(a,c,b){c=this.kl[c];if(null==c[b]){if(0<Je.length){var d=Je.pop();d.next=null;d.Hg=null;d.Zc=a;a=d}else a=new Ke(a);c[b]=a;a=this.Yr[b];null!=a?(a.Rg(c[b]),c[b].Sg(a)):this.Xr[b]=c[b];this.Yr[b]=c[b]}};var le=0,me=1,Ud=2,Ke=function(a){this.Zc=a;this.Hg=this.next=null},Je=[];Ke.prototype.Rg=function(a){this.next=a};Ke.prototype.Sg=function(a){this.Hg=a};var Ie=function(){},
  573. Le=function(){this.Sa=J.B(0,0);this.zt=[];this.Ia=[];for(var a=0;2>a;a++)this.Ia[a]=J.B(0,0)};Le.prototype.Xc=function(a){switch(a.type){case 1:this.xI(a);break;case 2:this.yI(a);break;case 4:this.zI(a)}};Le.prototype.xI=function(a){var c=a.R.I.u,b=a.Rc,d=a.R.I.position.x+(c.k.x*b.x+c.n.x*b.y),e=a.R.I.position.y+(c.k.y*b.x+c.n.y*b.y),c=a.S.I.u,b=a.Vc[0].Rc,f=a.S.I.position.x+(c.k.x*b.x+c.n.x*b.y),c=a.S.I.position.y+(c.k.y*b.x+c.n.y*b.y),b=f-d,g=c-e,h=b*b+g*g;h>gd?(h=Math.sqrt(h),this.Sa.x=b/h,this.Sa.y=
  574. g/h):(this.Sa.x=1,this.Sa.y=0);this.Ia[0].x=.5*(d+f);this.Ia[0].y=.5*(e+c);this.zt[0]=b*this.Sa.x+g*this.Sa.y-a.Tt};Le.prototype.yI=function(a){this.Sa.x=a.R.I.u.k.x*a.Xh.x+a.R.I.u.n.x*a.Xh.y;this.Sa.y=a.R.I.u.k.y*a.Xh.x+a.R.I.u.n.y*a.Xh.y;for(var c=a.R.I.position.x+(a.R.I.u.k.x*a.Rc.x+a.R.I.u.n.x*a.Rc.y),b=a.R.I.position.y+(a.R.I.u.k.y*a.Rc.x+a.R.I.u.n.y*a.Rc.y),d=0;d<a.Fg;d++){var e=a.S.I.position.x+(a.S.I.u.k.x*a.Vc[d].Rc.x+a.S.I.u.n.x*a.Vc[d].Rc.y),f=a.S.I.position.y+(a.S.I.u.k.y*a.Vc[d].Rc.x+
  575. a.S.I.u.n.y*a.Vc[d].Rc.y);this.zt[d]=(e-c)*this.Sa.x+(f-b)*this.Sa.y-a.Tt;this.Ia[d].x=e;this.Ia[d].y=f}};Le.prototype.zI=function(a){this.Sa.x=a.S.I.u.k.x*a.Xh.x+a.S.I.u.n.x*a.Xh.y;this.Sa.y=a.S.I.u.k.y*a.Xh.x+a.S.I.u.n.y*a.Xh.y;for(var c=a.S.I.position.x+(a.S.I.u.k.x*a.Rc.x+a.S.I.u.n.x*a.Rc.y),b=a.S.I.position.y+(a.S.I.u.k.y*a.Rc.x+a.S.I.u.n.y*a.Rc.y),d=0;d<a.Fg;d++){var e=a.R.I.position.x+(a.R.I.u.k.x*a.Vc[d].Rc.x+a.R.I.u.n.x*a.Vc[d].Rc.y),f=a.R.I.position.y+(a.R.I.u.k.y*a.Vc[d].Rc.x+a.R.I.u.n.y*
  576. a.Vc[d].Rc.y);this.zt[d]=(e-c)*this.Sa.x+(f-b)*this.Sa.y-a.Tt;this.Ia[d].Set(e,f)}this.Sa.x*=-1;this.Sa.y*=-1};var je=function(){this.$h=[]};r=je.prototype;r.Xc=function(a,c,b){for(this.Tp=b;this.$h.length<this.Tp;)this.$h[this.$h.length]=new De;for(a=0;a<b;a++){var d=c[a],e=d.Dc,f=d.qc,g=e.sj.Fb,h=f.sj.Fb,l=e.Ab(),n=f.Ab(),k=d.Zf,m=Math.sqrt(e.Nx*f.Nx),q,e=e.Ux,f=f.Ux;q=e>f?e:f;var p=l.A.x,t=l.A.y,v=n.A.x,w=n.A.y,s=l.L,O=n.L;Me.Xc(k,l.I,g,n.I,h);e=Me.Sa.x;d=Me.Sa.y;f=this.$h[a];f.R=l;f.S=n;f.nM=
  577. k;f.Je.x=e;f.Je.y=d;f.Fg=k.Sc;f.Qh=m;f.oi=q;f.Xh.x=k.fe.x;f.Xh.y=k.fe.y;f.Rc.x=k.Ra.x;f.Rc.y=k.Ra.y;f.Tt=g+h;f.type=k.ib;for(g=0;g<f.Fg;++g){m=k.Ia[g];h=f.Vc[g];h.Tc=m.fm;h.vi=m.km;h.Rc.M(m.Ra);m=h.Hc.x=Me.Ia[g].x-l.q.F.x;q=h.Hc.y=Me.Ia[g].y-l.q.F.y;var L=h.Ic.x=Me.Ia[g].x-n.q.F.x,z=h.Ic.y=Me.Ia[g].y-n.q.F.y,B=m*d-q*e,M=L*d-z*e,B=B*B,M=M*M;h.vj=1/(l.N+n.N+l.X*B+n.X*M);var F=l.ba*l.N+n.ba*n.N,F=F+(l.ba*l.X*B+n.ba*n.X*M);h.fK=1/F;M=d;F=-e;B=m*F-q*M;M=L*F-z*M;B*=B;M*=M;h.BN=1/(l.N+n.N+l.X*B+n.X*M);h.Kq=
  578. 0;m=f.Je.x*(v+-O*z-p- -s*q)+f.Je.y*(w+O*L-t-s*m);-1>m&&(h.Kq+=-f.oi*m)}2==f.Fg&&(w=f.Vc[0],v=f.Vc[1],k=l.N,l=l.X,p=n.N,n=n.X,t=w.Hc.x*d-w.Hc.y*e,w=w.Ic.x*d-w.Ic.y*e,s=v.Hc.x*d-v.Hc.y*e,v=v.Ic.x*d-v.Ic.y*e,e=k+p+l*t*t+n*w*w,d=k+p+l*s*s+n*v*v,n=k+p+l*t*s+n*w*v,e*e<100*(e*d-n*n)?(f.wf.k.Set(e,n),f.wf.n.Set(n,d),f.wf.Su(f.vj)):f.Fg=1)}};r.ig=function(a){for(var c=0;c<this.Tp;++c){var b=this.$h[c],d=b.R,e=b.S,f=d.N,g=d.X,h=e.N,l=e.X,n=b.Je.x,k=b.Je.y,m=k,q=-n,p=0,t=0;if(a.Lj)for(t=b.Fg,p=0;p<t;++p){var v=
  579. b.Vc[p];v.Tc*=a.vd;v.vi*=a.vd;var w=v.Tc*n+v.vi*m,s=v.Tc*k+v.vi*q;d.L-=g*(v.Hc.x*s-v.Hc.y*w);d.A.x-=f*w;d.A.y-=f*s;e.L+=l*(v.Ic.x*s-v.Ic.y*w);e.A.x+=h*w;e.A.y+=h*s}else for(t=b.Fg,p=0;p<t;++p)d=b.Vc[p],d.Tc=0,d.vi=0}};r.Nf=function(){for(var a=0;a<this.Tp;a++)this.XH(this.$h[a])};r.XH=function(a){for(var c=a.Je.x,b=a.Je.y,d=0;d<a.Fg;d++)je.prototype.YH(a,a.Vc[d]);if(1==a.Fg){var d=a.Vc[0],e=d.Tc-d.vj*((a.S.A.x-a.S.L*d.Ic.y-a.R.A.x+a.R.L*d.Hc.y)*c+(a.S.A.y+a.S.L*d.Ic.x-a.R.A.y-a.R.L*d.Hc.x)*b-d.Kq),
  580. e=0<e?e:0,f=e-d.Tc,g=f*c,b=f*b;a.R.A.x-=a.R.N*g;a.R.A.y-=a.R.N*b;a.R.L-=a.R.X*(d.Hc.x*b-d.Hc.y*g);a.S.A.x+=a.S.N*g;a.S.A.y+=a.S.N*b;a.S.L+=a.S.X*(d.Ic.x*b-d.Ic.y*g);d.Tc=e}else for(var d=a.Vc[0],e=a.Vc[1],f=d.Tc,g=e.Tc,h=(a.S.A.x-a.S.L*d.Ic.y-a.R.A.x+a.R.L*d.Hc.y)*c+(a.S.A.y+a.S.L*d.Ic.x-a.R.A.y-a.R.L*d.Hc.x)*b-d.Kq,b=(a.S.A.x-a.S.L*e.Ic.y-a.R.A.x+a.R.L*e.Hc.y)*c+(a.S.A.y+a.S.L*e.Ic.x-a.R.A.y-a.R.L*e.Hc.x)*b-e.Kq,h=h-(a.wf.k.x*f+a.wf.n.x*g),b=b-(a.wf.k.y*f+a.wf.n.y*g);;){c=-(a.vj.k.x*h+a.vj.n.x*b);
  581. if(0<=c){var l=-(a.vj.k.y*h+a.vj.n.y*b);if(0<=l){this.wr(a,d,e,c-f,l-g);d.Tc=c;e.Tc=l;break}}c=-d.vj*h;if(0<=c&&0<=a.wf.k.y*c+b){this.wr(a,d,e,c-f,-g);d.Tc=c;e.Tc=0;break}c=-e.vj*b;if(0<=c&&0<=a.wf.n.x*c+h){this.wr(a,d,e,-f,c-g);d.Tc=0;e.Tc=c;break}if(0<=h&&0<=b){this.wr(a,d,e,-f,-g);d.Tc=0;e.Tc=0;break}break}};r.YH=function(a,c){var b=a.Je.y,d=-a.Je.x,e=a.Qh*c.Tc,e=P.mc(c.vi-c.BN*((a.S.A.x-a.S.L*c.Ic.y-a.R.A.x+a.R.L*c.Hc.y)*b+(a.S.A.y+a.S.L*c.Ic.x-a.R.A.y-a.R.L*c.Hc.x)*d),-e,e),f=e-c.vi,b=f*b,d=
  582. f*d;a.R.A.x-=a.R.N*b;a.R.A.y-=a.R.N*d;a.R.L-=a.R.X*(c.Hc.x*d-c.Hc.y*b);a.S.A.x+=a.S.N*b;a.S.A.y+=a.S.N*d;a.S.L+=a.S.X*(c.Ic.x*d-c.Ic.y*b);c.vi=e};r.wr=function(a,c,b,d,e){var f=d*a.Je.x;d*=a.Je.y;var g=e*a.Je.x;e*=a.Je.y;a.R.A.x-=a.R.N*(f+g);a.R.A.y-=a.R.N*(d+e);a.R.L-=a.R.X*(c.Hc.x*d-c.Hc.y*f+b.Hc.x*e-b.Hc.y*g);a.S.A.x+=a.S.N*(f+g);a.S.A.y+=a.S.N*(d+e);a.S.L+=a.S.X*(c.Ic.x*d-c.Ic.y*f+b.Ic.x*e-b.Ic.y*g);c.Tc=0;b.Tc=0};r.Ou=function(){for(var a=0;a<this.Tp;++a)for(var c=this.$h[a],b=c.nM,d=0;d<c.Fg;++d){var e=
  583. b.Ia[d],f=c.Vc[d];e.fm=f.Tc;e.km=f.vi}};r.Mf=function(a){void 0===a&&(a=0);for(var c=0,b=0;b<this.Tp;b++){var d=this.$h[b],e=d.R,f=d.S,g=e.ba*e.N,h=e.ba*e.X,l=f.ba*f.N,n=f.ba*f.X;Ne.Xc(d);for(var k=Ne.Sa,m=0;m<d.Fg;m++){var q=d.Vc[m],p=Ne.Ia[m],t=Ne.zt[m],v=p.x-e.q.F.x,w=p.y-e.q.F.y,s=p.x-f.q.F.x,p=p.y-f.q.F.y,c=c<t?c:t,t=-q.fK*P.mc(a*(t+.005),-.2,0),q=t*k.x,t=t*k.y;e.q.F.x-=g*q;e.q.F.y-=g*t;e.q.P-=h*(v*t-w*q);e.yc();f.q.F.x+=l*q;f.q.F.y+=l*t;f.q.P+=n*(s*t-p*q);f.yc()}}return-.0075<c};var Ge=function(a,
  584. c){oe.call(this,a,c)};Pc(Ge,oe);Ge.prototype.Wd=function(a,c){oe.prototype.Wd.call(this,a,c)};Ge.prototype.Dh=function(){this.Dc.Hd();this.qc.Hd()};var Ee=function(a,c){oe.call(this,a,c)};Pc(Ee,oe);Ee.prototype.Wd=function(a,c){oe.prototype.Wd.call(this,a,c)};Ee.prototype.Dh=function(){a:{var a=this.Zf,c=this.Dc.Hd(),b=this.Dc.Ab().I,d=this.qc.Hd(),e=this.qc.Ab().I;a.Sc=0;for(var f=e.position.x+(e.u.k.x*d.Ob.x+e.u.n.x*d.Ob.y)-b.position.x,g=e.position.y+(e.u.k.y*d.Ob.x+e.u.n.y*d.Ob.y)-b.position.y,
  585. e=f*b.u.k.x+g*b.u.k.y,b=f*b.u.n.x+g*b.u.n.y,f=0,g=-Number.MAX_VALUE,h=c.Fb+d.Fb,l=0;l<c.ub;++l){var n=c.Ta[l].x*(e-c.O[l].x)+c.Ta[l].y*(b-c.O[l].y);if(n>h)break a;n>g&&(g=n,f=l)}n=f+1;n>=c.ub&&(n=0);var l=c.O[f],k=c.O[n];g<Number.MIN_VALUE?(a.Sc=1,a.ib=2,a.fe.M(c.Ta[f]),a.Ra.x=.5*(l.x+k.x),a.Ra.y=.5*(l.y+k.y),a.Ia[0].Ra.M(d.Ob),a.Ia[0].Ag.Vj(0)):0>=(e-l.x)*(k.x-l.x)+(b-l.y)*(k.y-l.y)?(e-l.x)*(e-l.x)+(b-l.y)*(b-l.y)>h*h||(a.Sc=1,a.ib=2,a.fe.x=e-l.x,a.fe.y=b-l.y,a.fe.Pe(),a.Ra.M(l),a.Ia[0].Ra.M(d.Ob),
  586. a.Ia[0].Ag.Vj(0)):0>=(e-k.x)*(l.x-k.x)+(b-k.y)*(l.y-k.y)?(e-k.x)*(e-k.x)+(b-k.y)*(b-k.y)>h*h||(a.Sc=1,a.ib=2,a.fe.x=e-k.x,a.fe.y=b-k.y,a.fe.Pe(),a.Ra.M(k),a.Ia[0].Ra.M(d.Ob),a.Ia[0].Ag.Vj(0)):(n=.5*(l.x+k.x),l=.5*(l.y+k.y),g=(e-n)*c.Ta[f].x+(b-l)*c.Ta[f].y,g>h||(a.Sc=1,a.ib=2,a.fe.x=c.Ta[f].x,a.fe.y=c.Ta[f].y,a.fe.Pe(),a.Ra.Set(n,l),a.Ia[0].Ra.M(d.Ob),a.Ia[0].Ag.Vj(0)))}};var He=function(a,c){oe.call(this,a,c)};Pc(He,oe);He.prototype.Wd=function(a,c){oe.prototype.Wd.call(this,a,c)};He.prototype.Dh=
  587. function(){this.Dc.Hd();this.qc.Hd()};var Fe=function(a,c){oe.call(this,a,c)};Pc(Fe,oe);Fe.prototype.Wd=function(a,c){oe.prototype.Wd.call(this,a,c)};Fe.prototype.Dh=function(){var a=this.Zf,c=this.Dc.Hd(),b=this.Dc.Ab().I,d=this.qc.Hd(),e=this.qc.Ab().I;a.Sc=0;var f=c.Fb+d.Fb,g=vd(c,b,d,e),h=g.sB;if(!(g.cu>f)){var l=vd(d,e,c,b);if(!(l.cu>f)){var n=c,k=d,m=b,q=e,p=0;a.ib=2;l.cu>.98*g.cu+.001&&(n=d,k=c,m=e,q=b,h=l.sB,a.ib=4,p=1);c=h;b=q;d=Oe;void 0===c&&(c=0);for(var e=m.u.k.x*n.Ta[c].x+m.u.n.x*n.Ta[c].y,
  588. g=m.u.k.y*n.Ta[c].x+m.u.n.y*n.Ta[c].y,l=b.u.k.x*e+b.u.k.y*g,g=b.u.n.x*e+b.u.n.y*g,e=l,l=0,t=Number.MAX_VALUE,v=0;v<k.ub;v++){var w=e*k.Ta[v].x+g*k.Ta[v].y;w<t&&(t=w,l=v)}e=l+1;e>=k.ub&&(e=0);d[0].gg.x=b.position.x+(b.u.k.x*k.O[l].x+b.u.n.x*k.O[l].y);d[0].gg.y=b.position.y+(b.u.k.y*k.O[l].x+b.u.n.y*k.O[l].y);d[0].id.IA(c);d[0].id.FA(l);d[0].id.GA(0);d[1].gg.x=b.position.x+(b.u.k.x*k.O[e].x+b.u.n.x*k.O[e].y);d[1].gg.y=b.position.y+(b.u.k.y*k.O[e].x+b.u.n.y*k.O[e].y);d[1].id.IA(c);d[1].id.FA(e);d[1].id.GA(1);
  589. c=n.O[h];h=h+1<n.ub?n.O[h+1]:n.O[0];Pe.Set(h.x-c.x,h.y-c.y);Pe.Pe();Qe.x=Pe.y;Qe.y=-Pe.x;Re.Set(.5*(c.x+h.x),.5*(c.y+h.y));Se.x=m.u.k.x*Pe.x+m.u.n.x*Pe.y;Se.y=m.u.k.y*Pe.x+m.u.n.y*Pe.y;Te.x=-Se.x;Te.y=-Se.y;Ue.x=Se.y;Ue.y=-Se.x;Ve.x=m.position.x+(m.u.k.x*c.x+m.u.n.x*c.y);Ve.y=m.position.y+(m.u.k.y*c.x+m.u.n.y*c.y);We.x=m.position.x+(m.u.k.x*h.x+m.u.n.x*h.y);We.y=m.position.y+(m.u.k.y*h.x+m.u.n.y*h.y);if(!(2>sd(Xe,Oe,Te,-Se.x*Ve.x-Se.y*Ve.y+f)||2>sd(Ye,Xe,Se,Se.x*We.x+Se.y*We.y+f))){a.fe.M(Qe);a.Ra.M(Re);
  590. m=Ue.x*Ve.x+Ue.y*Ve.y;for(n=h=0;2>n;++n)Ue.x*Ye[n].gg.x+Ue.y*Ye[n].gg.y-m<=f&&(c=Ye[n].gg.x-q.position.x,k=Ye[n].gg.y-q.position.y,a.Ia[h].Ra.x=c*q.u.k.x+k*q.u.k.y,a.Ia[h].Ra.y=c*q.u.n.x+k*q.u.n.y,a.Ia[h].Ag.Set(Ye[n].id),a.Ia[h].Ag.uH(p),h++);a.Sc=h}}}};var df=function(){this.Ne="Controller"+Ze++;this.La=null;this.Xd=new Wd};df.prototype.Hi=function(){};df.prototype.Dm=function(a){this.Xd.Dm(a);a.uo(this)};df.prototype.Jo=function(a){this.Xd.Jo(a);a.Ko(this)};df.prototype.Fm=function(){for(var a=
  591. this.Xd.Za(Vd);a;a=a.next)this.Jo(a.body)};var Ze=0,ef=function(){df.call(this);this.Je=J.B(0,-1);this.Yg=this.offset=0;this.EE=J.B(0,0);this.PL=2;this.gJ=1;this.PN=!0;this.fC=null};Pc(ef,df);ef.prototype.Hi=function(){this.PN&&(this.fC=this.La.YC.vc());for(var a=this.Xd.Za($d);a;a=a.next){for(var c=a.body,b=J.B(0,0),d=J.B(0,0),e=0,f=0,g=c.Ru().Za();g;g=g.next){var h=J.B(0,0),l=g.Bf.Hd().Uq(this.Je,this.offset,c.vf(),h),e=e+l;b.x+=l*h.x;b.y+=l*h.y;var n=0,n=1,f=f+l*n;d.x+=l*h.x*n;d.y+=l*h.y*n}e<Number.MIN_VALUE||
  592. (b.x/=e,b.y/=e,d.x/=f,d.y/=f,f=this.fC.Rj(),f.Oe(this.Yg*e),c.Ng(f,d),f=c.JF(b),f.Fv(this.EE),f.Oe(-this.PL*e),c.Ng(f,b),c.Qq(-c.yg/c.Mm()*e*c.Zq()*this.gJ),J.Wc(b),J.Wc(d))}};var ff=function(){df.call(this);this.tz=J.B(0,0)};Pc(ff,df);ff.prototype.Hi=function(a){a=J.B(this.tz.x*a.$a,this.tz.y*a.$a);for(var c=this.Xd.Za($d);c;c=c.next){var b=c.body,d=b.Fi();b.Wj(J.B(d.x+a.x,d.y+a.y))}J.Wc(a)};var gf=function(){df.call(this);this.CF=J.B(0,0)};Pc(gf,df);gf.prototype.Hi=function(){for(var a=this.Xd.Za($d);a;a=
  593. a.next){var c=a.body;c.Ng(this.CF,c.Nm())}};var Sd=function(){this.ew=this.dw=null;this.$r={}};Sd.prototype.Za=function(){return this.dw};Sd.prototype.uo=function(a){var c=a.Ne;if(null==this.$r[c]){a=new hf(a);var b=this.ew;null!=b?b.Rg(a):this.dw=a;a.Sg(b);this.ew=a;this.$r[c]=a}};Sd.prototype.Ko=function(a){a=a.Ne;var c=this.$r[a];if(null!=c){var b=c.Hg,c=c.next;null==b?this.dw=c:b.Rg(c);null==c?this.ew=b:c.Sg(b);delete this.$r[a]}};var hf=function(a){this.EB=a;this.Hg=this.next=null};hf.prototype.Rg=
  594. function(a){this.next=a};hf.prototype.Sg=function(a){this.Hg=a};var jf=function(){df.call(this);this.Iz=1;this.vL=!0};Pc(jf,df);jf.prototype.Hi=function(){var a=null,c=null,b=0,d=null,e=null,f=0,g=0,h=0,f=null;if(this.vL)for(var l=this.Xd.Za(Vd);l;l=l.next)for(var a=l.body,c=a.Nm(),b=a.Mm(),n=this.Xd.Za(Vd);n;n=n.next){if(d=n.body,a.ne()||d.ne())e=d.Nm(),f=e.x-c.x,g=e.y-c.y,h=f*f+g*g,h<Number.MIN_VALUE||(f=J.B(f,g),f.Oe(this.Iz/h/Math.sqrt(h)*b*d.Mm()),a.ne()&&a.Ng(f,c),f.Oe(-1),d.ne()&&d.Ng(f,e),
  595. J.Wc(f))}else for(l=this.Xd.Za(Vd);l;l=l.next)for(a=bodyNode.body,c=a.Nm(),b=a.Mm(),n=this.Xd.Za(Vd);n;n=n.next)if(d=bodyNode.body,a.ne()||d.ne())e=d.Nm(),f=e.x-c.x,g=e.y-c.y,h=f*f+g*g,h<Number.MIN_VALUE||(f=J.B(f,g),f.Oe(this.Iz/h*b*d.Mm()),a.ne()&&a.Ng(f,c),f.Oe(-1),d.ne()&&d.Ng(f,e),J.Wc(f))};var kf=function(){df.call(this);this.hI=new Qc;this.Zx=0};Pc(kf,df);kf.prototype.Hi=function(a){a=a.$a;if(!(a<=Number.MIN_VALUE)){a>this.Zx&&0<this.Zx&&(a=this.Zx);for(var c=this.Xd.Za($d);c;c=c.next){var b=
  596. c.body,d=b.Uu(P.Mc(this.hI,b.Tu(b.Fi())));b.Wj(J.B(b.Fi().x+d.x*a,b.Fi().y+d.y*a))}}};var V=function(a){this.bf=new lf;this.cf=new lf;this.di=J.B(0,0);this.ei=J.B(0,0);this.ib=a.type;this.yk=this.Jn=null;this.ca=a.R;this.da=a.S;this.VC=a.aw};V.prototype.Vd=function(){return this.ib};V.prototype.Ao=function(){return this.ca};V.prototype.Qu=function(){return this.da};V.prototype.Og=function(){return this.ca.Og()&&this.da.Og()};V.hg=function(a){return a.hg()};V.prototype.ig=function(){};V.prototype.Nf=
  597. function(){};V.prototype.Ou=function(){};V.prototype.Mf=function(){return!1};V.ZJ=0;V.dn=1;V.XJ=2;V.kw=3;V.YJ=4;V.gP=5;V.VJ=6;V.WJ=7;V.$J=8;V.UJ=9;V.Te=0;V.Nh=1;V.Zd=2;V.kk=3;var mf=function(){this.type=V.ZJ;this.S=this.R=null;this.aw=!1},lf=function(){},nf=function(a){V.call(this,a);this.xa=J.B(0,0);this.ya=J.B(0,0);this.Bd=J.B(0,0);this.xa.M(a.gc);this.ya.M(a.hc);this.Ox=a.length;this.Mx=a.Ds;this.YL=a.ls;this.UC=this.em=this.J=0};Pc(nf,V);nf.prototype.ig=function(a){var c,b=0,d=this.ca,e=this.da;
  598. c=d.I.u;var f=this.xa.x-d.q.U.x,g=this.xa.y-d.q.U.y,b=c.k.x*f+c.n.x*g,g=c.k.y*f+c.n.y*g,f=b;c=e.I.u;var h=this.ya.x-e.q.U.x,l=this.ya.y-e.q.U.y,b=c.k.x*h+c.n.x*l,l=c.k.y*h+c.n.y*l,h=b;this.Bd.x=e.q.F.x+h-d.q.F.x-f;this.Bd.y=e.q.F.y+l-d.q.F.y-g;b=Math.sqrt(this.Bd.x*this.Bd.x+this.Bd.y*this.Bd.y);.005<b?this.Bd.Oe(1/b):this.Bd.za();c=f*this.Bd.y-g*this.Bd.x;var n=h*this.Bd.y-l*this.Bd.x;c=d.N+d.X*c*c+e.N+e.X*n*n;this.ba=0!=c?1/c:0;if(0<this.Mx){var b=b-this.Ox,n=2*Math.PI*this.Mx,k=this.ba*n*n;this.em=
  599. a.$a*(2*this.ba*this.YL*n+a.$a*k);this.em=0!=this.em?1/this.em:0;this.UC=b*a.$a*k*this.em;this.ba=c+this.em;this.ba=0!=this.ba?1/this.ba:0}a.Lj?(this.J*=a.vd,a=this.J*this.Bd.x,c=this.J*this.Bd.y,d.A.x-=d.N*a,d.A.y-=d.N*c,d.L-=d.X*(f*c-g*a),e.A.x+=e.N*a,e.A.y+=e.N*c,e.L+=e.X*(h*c-l*a)):this.J=0};nf.prototype.Nf=function(){var a=this.xa.x-this.ca.q.U.x,c=this.xa.y-this.ca.q.U.y,b=this.ca.I.u.k.x*a+this.ca.I.u.n.x*c,c=this.ca.I.u.k.y*a+this.ca.I.u.n.y*c,a=b,d=this.ya.x-this.da.q.U.x,e=this.ya.y-this.da.q.U.y,
  600. b=this.da.I.u.k.x*d+this.da.I.u.n.x*e,e=this.da.I.u.k.y*d+this.da.I.u.n.y*e,d=b,f=-this.ba*(this.Bd.x*(this.da.A.x-this.da.L*e-(this.ca.A.x-this.ca.L*c))+this.Bd.y*(this.da.A.y+this.da.L*d-(this.ca.A.y+this.ca.L*a))+this.UC+this.em*this.J);this.J+=f;b=f*this.Bd.x;f*=this.Bd.y;this.ca.A.x-=this.ca.N*b;this.ca.A.y-=this.ca.N*f;this.ca.L-=this.ca.X*(a*f-c*b);this.da.A.x+=this.da.N*b;this.da.A.y+=this.da.N*f;this.da.L+=this.da.X*(d*f-e*b)};nf.prototype.Mf=function(){if(0<this.Mx)return!0;var a=this.xa.x-
  601. this.ca.q.U.x,c=this.xa.y-this.ca.q.U.y,b=this.ca.I.u.k.x*a+this.ca.I.u.n.x*c,c=this.ca.I.u.k.y*a+this.ca.I.u.n.y*c,a=b,d=this.ya.x-this.da.q.U.x,e=this.ya.y-this.da.q.U.y,b=this.da.I.u.k.x*d+this.da.I.u.n.x*e,e=this.da.I.u.k.y*d+this.da.I.u.n.y*e,d=b,f=this.da.q.F.x+d-this.ca.q.F.x-a,g=this.da.q.F.y+e-this.ca.q.F.y-c,h=Math.sqrt(f*f+g*g),b=P.mc(h-this.Ox,-.2,.2),l=-this.ba*b;this.Bd.Set(f/h,g/h);f=l*this.Bd.x;l*=this.Bd.y;this.ca.q.F.x-=this.ca.N*f;this.ca.q.F.y-=this.ca.N*l;this.ca.q.P-=this.ca.X*
  602. (a*l-c*f);this.da.q.F.x+=this.da.N*f;this.da.q.F.y+=this.da.N*l;this.da.q.P+=this.da.X*(d*l-e*f);this.ca.yc();this.da.yc();return.005>Math.abs(b)};var $c=function(){mf.call(this);this.gc=J.B(0,0);this.hc=J.B(0,0);this.type=V.kw;this.length=1;this.ls=this.Ds=0};Pc($c,mf);$c.prototype.Xc=function(a,c,b,d){this.R=a;this.S=c;this.gc.M(this.R.ye(b));this.hc.M(this.S.ye(d));a=d.x-b.x;b=d.y-b.y;this.length=Math.sqrt(a*a+b*b);this.ls=this.Ds=0};$c.prototype.hg=function(){return new nf(this)};var of=function(a){V.call(this,
  603. a);this.Wf=J.B(0,0);this.Xf=J.B(0,0);this.Rx=new Qc;this.Vf=J.B(0,0);this.Wf.M(a.gc);this.Xf.M(a.hc);this.Rx.za();this.Rp=0;this.Vf.za();this.lj=0;this.hM=a.pM;this.jM=a.qM};Pc(of,V);of.prototype.ig=function(a){var c,b=0,d=this.ca,e=this.da;c=d.I.u;var f=this.Wf.x-d.q.U.x,g=this.Wf.y-d.q.U.y,b=c.k.x*f+c.n.x*g,g=c.k.y*f+c.n.y*g,f=b;c=e.I.u;var h=this.Xf.x-e.q.U.x,l=this.Xf.y-e.q.U.y,b=c.k.x*h+c.n.x*l,l=c.k.y*h+c.n.y*l,h=b;c=d.N;var b=e.N,n=d.X,k=e.X,m=new Qc;m.k.x=c+b;m.n.x=0;m.k.y=0;m.n.y=c+b;m.k.x+=
  604. n*g*g;m.n.x+=-n*f*g;m.k.y+=-n*f*g;m.n.y+=n*f*f;m.k.x+=k*l*l;m.n.x+=-k*h*l;m.k.y+=-k*h*l;m.n.y+=k*h*h;m.Su(this.Rx);this.Rp=n+k;0<this.Rp&&(this.Rp=1/this.Rp);a.Lj?(this.Vf.x*=a.vd,this.Vf.y*=a.vd,this.lj*=a.vd,a=this.Vf,d.A.x-=c*a.x,d.A.y-=c*a.y,d.L-=n*(f*a.y-g*a.x+this.lj),e.A.x+=b*a.x,e.A.y+=b*a.y,e.L+=k*(h*a.y-l*a.x+this.lj)):(this.Vf.za(),this.lj=0)};of.prototype.Nf=function(a){var c,b=0,d=this.ca,e=this.da,f=d.A,g=d.L,h=e.A,l=e.L,n=d.N,k=e.N,m=d.X,q=e.X;c=d.I.u;var p=this.Wf.x-d.q.U.x,t=this.Wf.y-
  605. d.q.U.y,b=c.k.x*p+c.n.x*t,t=c.k.y*p+c.n.y*t,p=b;c=e.I.u;var v=this.Xf.x-e.q.U.x,w=this.Xf.y-e.q.U.y,b=c.k.x*v+c.n.x*w,w=c.k.y*v+c.n.y*w,v=b;c=0;var b=-this.Rp*(l-g),s=this.lj;c=a.$a*this.jM;this.lj=P.mc(this.lj+b,-c,c);b=this.lj-s;g-=m*b;l+=q*b;c=P.Mc(this.Rx,J.B(-(h.x-l*w-f.x+g*t),-(h.y+l*v-f.y-g*p)));b=this.Vf.vc();this.Vf.Di(c);c=a.$a*this.hM;this.Vf.gr()>c*c&&(this.Vf.Pe(),this.Vf.Oe(c));c=P.fc(this.Vf,b);f.x-=n*c.x;f.y-=n*c.y;g-=m*(p*c.y-t*c.x);h.x+=k*c.x;h.y+=k*c.y;l+=q*(v*c.y-w*c.x);d.L=g;
  606. e.L=l};of.prototype.Mf=function(){return!0};var pf=function(){mf.call(this);this.gc=J.B(0,0);this.hc=J.B(0,0);this.type=V.UJ;this.qM=this.pM=0};Pc(pf,mf);pf.prototype.Xc=function(a,c,b){this.R=a;this.S=c;this.gc.M(this.R.ye(b));this.hc.M(this.S.ye(b))};pf.prototype.hg=function(){return new of(this)};var rf=function(a){V.call(this,a);this.pj=J.B(0,0);this.qj=J.B(0,0);this.xa=J.B(0,0);this.ya=J.B(0,0);this.pc=new qf;var c=a.xn.ib,b=a.yn.ib;this.Ln=this.jm=this.Kn=this.hm=null;var d=0,e=0;this.$L=a.xn.Ao();
  607. this.ca=a.xn.Qu();c==V.dn?(this.hm=a.xn,this.pj.M(this.hm.xa),this.xa.M(this.hm.ya),d=this.hm.$q()):(this.Kn=a.xn,this.pj.M(this.Kn.xa),this.xa.M(this.Kn.ya),d=this.Kn.Co());this.aM=a.yn.Ao();this.da=a.yn.Qu();b==V.dn?(this.jm=a.yn,this.qj.M(this.jm.xa),this.ya.M(this.jm.ya),e=this.jm.$q()):(this.Ln=a.yn,this.qj.M(this.Ln.xa),this.ya.M(this.Ln.ya),e=this.Ln.Co());this.Gc=a.je;this.In=d+this.Gc*e;this.J=0};Pc(rf,V);rf.prototype.ig=function(a){var c=this.$L,b=this.aM,d=this.ca,e=this.da,f=0,g=0,h=0,
  608. l=0,n=h=0,k=0;this.pc.za();this.hm?(this.pc.bl=-1,k+=d.X):(c=c.I.u,g=this.Kn.of,f=c.k.x*g.x+c.n.x*g.y,g=c.k.y*g.x+c.n.y*g.y,c=d.I.u,h=this.xa.x-d.q.U.x,l=this.xa.y-d.q.U.y,n=c.k.x*h+c.n.x*l,l=c.k.y*h+c.n.y*l,h=n*g-l*f,this.pc.gh.Set(-f,-g),this.pc.bl=-h,k+=d.N+d.X*h*h);this.jm?(this.pc.cl=-this.Gc,k+=this.Gc*this.Gc*e.X):(c=b.I.u,g=this.Ln.of,f=c.k.x*g.x+c.n.x*g.y,g=c.k.y*g.x+c.n.y*g.y,c=e.I.u,h=this.ya.x-e.q.U.x,l=this.ya.y-e.q.U.y,n=c.k.x*h+c.n.x*l,l=c.k.y*h+c.n.y*l,h=n*g-l*f,this.pc.hh.Set(-this.Gc*
  609. f,-this.Gc*g),this.pc.cl=-this.Gc*h,k+=this.Gc*this.Gc*(e.N+e.X*h*h));this.ba=0<k?1/k:0;a.Lj?(d.A.x+=d.N*this.J*this.pc.gh.x,d.A.y+=d.N*this.J*this.pc.gh.y,d.L+=d.X*this.J*this.pc.bl,e.A.x+=e.N*this.J*this.pc.hh.x,e.A.y+=e.N*this.J*this.pc.hh.y,e.L+=e.X*this.J*this.pc.cl):this.J=0};rf.prototype.Nf=function(){var a=this.ca,c=this.da,b=-this.ba*this.pc.qF(a.A,a.L,c.A,c.L);this.J+=b;a.A.x+=a.N*b*this.pc.gh.x;a.A.y+=a.N*b*this.pc.gh.y;a.L+=a.X*b*this.pc.bl;c.A.x+=c.N*b*this.pc.hh.x;c.A.y+=c.N*b*this.pc.hh.y;
  610. c.L+=c.X*b*this.pc.cl};rf.prototype.Mf=function(){var a=this.ca,c=this.da,b=0,d=0,b=this.hm?this.hm.$q():this.Kn.Co(),d=this.jm?this.jm.$q():this.Ln.Co(),b=-this.ba*(this.In-(b+this.Gc*d));a.q.F.x+=a.N*b*this.pc.gh.x;a.q.F.y+=a.N*b*this.pc.gh.y;a.q.P+=a.X*b*this.pc.bl;c.q.F.x+=c.N*b*this.pc.hh.x;c.q.F.y+=c.N*b*this.pc.hh.y;c.q.P+=c.X*b*this.pc.cl;a.yc();c.yc();return!0};var sf=function(){mf.call(this);this.type=V.VJ;this.yn=this.xn=null;this.je=1};Pc(sf,mf);sf.prototype.Xc=function(a,c,b){this.xn=
  611. a;this.R=a.Ao();this.yn=c;this.S=c.Ao();this.je=b};sf.prototype.hg=function(){return new rf(this)};var qf=function(){this.gh=J.B(0,0);this.hh=J.B(0,0)};qf.prototype.za=function(){this.gh.za();this.bl=0;this.hh.za();this.cl=0};qf.prototype.Set=function(a,c,b,d){void 0===c&&(c=0);void 0===d&&(d=0);this.gh.M(a);this.bl=c;this.hh.M(b);this.cl=d};qf.prototype.qF=function(a,c,b,d){void 0===c&&(c=0);void 0===d&&(d=0);return this.gh.x*a.x+this.gh.y*a.y+this.bl*c+(this.hh.x*b.x+this.hh.y*b.y)+this.cl*d};var tf=
  612. function(a){V.call(this,a);this.xa=J.B(0,0);this.ya=J.B(0,0);this.of=J.B(0,0);this.rj=J.B(0,0);this.aa=J.B(0,0);this.Ca=J.B(0,0);this.va=new Qc;this.J=J.B(0,0);this.xa.M(a.gc);this.ya.M(a.hc);this.of.M(a.Zl);this.rj.x=-this.of.y;this.rj.y=this.of.x;this.J.za();this.tb=this.df=0;this.Yf=a.Hx;this.$f=a.jz;this.Sx=a.Yx;this.Xp=a.Qn;this.jh=a.rl;this.wk=a.gn;this.cb=V.Te;this.aa.za();this.Ca.za()};Pc(tf,V);tf.prototype.Co=function(){var a=this.ca,c=this.da,b=a.dr(this.xa),d=c.dr(this.ya),c=d.x-b.x,b=
  613. d.y-b.y,a=a.Uu(this.of);return a.x*c+a.y*b};tf.prototype.ig=function(a){var c=this.ca,b=this.da,d,e=0;this.di.M(c.Xk());this.ei.M(b.Xk());var f=c.vf();b.vf();d=c.I.u;var g=this.xa.x-this.di.x,h=this.xa.y-this.di.y,e=d.k.x*g+d.n.x*h,h=d.k.y*g+d.n.y*h,g=e;d=b.I.u;var l=this.ya.x-this.ei.x,n=this.ya.y-this.ei.y,e=d.k.x*l+d.n.x*n,n=d.k.y*l+d.n.y*n,l=e;d=b.q.F.x+l-c.q.F.x-g;e=b.q.F.y+n-c.q.F.y-h;this.Ec=c.N;this.Fc=b.N;this.Ge=c.X;this.He=b.X;this.aa.M(P.Mc(f.u,this.of));this.Gb=(d+g)*this.aa.y-(e+h)*
  614. this.aa.x;this.Hb=l*this.aa.y-n*this.aa.x;this.df=this.Ec+this.Fc+this.Ge*this.Gb*this.Gb+this.He*this.Hb*this.Hb;this.df=this.df>Number.MIN_VALUE?1/this.df:0;this.Ca.M(P.Mc(f.u,this.rj));this.Lb=(d+g)*this.Ca.y-(e+h)*this.Ca.x;this.Mb=l*this.Ca.y-n*this.Ca.x;f=this.Ec;g=this.Fc;h=this.Ge;l=this.He;this.va.k.x=f+g+h*this.Lb*this.Lb+l*this.Mb*this.Mb;this.va.k.y=h*this.Lb*this.Gb+l*this.Mb*this.Hb;this.va.n.x=this.va.k.y;this.va.n.y=f+g+h*this.Gb*this.Gb+l*this.Hb*this.Hb;this.jh?(d=this.aa.x*d+this.aa.y*
  615. e,.01>Math.abs(this.$f-this.Yf)?this.cb=V.kk:d<=this.Yf?this.cb!=V.Nh&&(this.cb=V.Nh,this.J.y=0):d>=this.$f?this.cb!=V.Zd&&(this.cb=V.Zd,this.J.y=0):(this.cb=V.Te,this.J.y=0)):this.cb=V.Te;0==this.wk&&(this.tb=0);a.Lj?(this.J.x*=a.vd,this.J.y*=a.vd,this.tb*=a.vd,a=this.J.x*this.Ca.x+(this.tb+this.J.y)*this.aa.x,d=this.J.x*this.Ca.y+(this.tb+this.J.y)*this.aa.y,e=this.J.x*this.Lb+(this.tb+this.J.y)*this.Gb,f=this.J.x*this.Mb+(this.tb+this.J.y)*this.Hb,c.A.x-=this.Ec*a,c.A.y-=this.Ec*d,c.L-=this.Ge*
  616. e,b.A.x+=this.Fc*a,b.A.y+=this.Fc*d,b.L+=this.He*f):(this.J.za(),this.tb=0)};tf.prototype.Nf=function(a){var c=this.ca,b=this.da,d=c.A,e=c.L,f=b.A,g=b.L,h=0,l=0,n=0,k=0;this.wk&&this.cb!=V.kk&&(k=this.df*(this.Xp-(this.aa.x*(f.x-d.x)+this.aa.y*(f.y-d.y)+this.Hb*g-this.Gb*e)),h=this.tb,l=a.$a*this.Sx,this.tb=P.mc(this.tb+k,-l,l),k=this.tb-h,h=k*this.aa.x,l=k*this.aa.y,n=k*this.Gb,k*=this.Hb,d.x-=this.Ec*h,d.y-=this.Ec*l,e-=this.Ge*n,f.x+=this.Fc*h,f.y+=this.Fc*l,g+=this.He*k);l=this.Ca.x*(f.x-d.x)+
  617. this.Ca.y*(f.y-d.y)+this.Mb*g-this.Lb*e;this.jh&&this.cb!=V.Te?(n=this.aa.x*(f.x-d.x)+this.aa.y*(f.y-d.y)+this.Hb*g-this.Gb*e,h=this.J.vc(),a=this.va.Xj(J.B(0,0),-l,-n),this.J.Di(a),this.cb==V.Nh?this.J.y=Math.max(this.J.y,0):this.cb==V.Zd&&(this.J.y=Math.min(this.J.y,0)),l=-l-(this.J.y-h.y)*this.va.n.x,n=0,n=0!=this.va.k.x?l/this.va.k.x+h.x:h.x,this.J.x=n,a.x=this.J.x-h.x,a.y=this.J.y-h.y,h=a.x*this.Ca.x+a.y*this.aa.x,l=a.x*this.Ca.y+a.y*this.aa.y,n=a.x*this.Lb+a.y*this.Gb,k=a.x*this.Mb+a.y*this.Hb):
  618. (a=0,a=0!=this.va.k.x?-l/this.va.k.x:0,this.J.x+=a,h=a*this.Ca.x,l=a*this.Ca.y,n=a*this.Lb,k=a*this.Mb);d.x-=this.Ec*h;d.y-=this.Ec*l;e-=this.Ge*n;f.x+=this.Fc*h;f.y+=this.Fc*l;g+=this.He*k;c.A.M(d);c.L=e;b.A.M(f);b.L=g};tf.prototype.Mf=function(){var a=this.ca,c=this.da,b=a.q.F,d=a.q.P,e=c.q.F,f=c.q.P,g,h=0,l=0,n=0,k=0,m=g=0,q=0,l=!1,p=0,t=Qc.Lm(d),n=Qc.Lm(f);g=t;var q=this.xa.x-this.di.x,v=this.xa.y-this.di.y,h=g.k.x*q+g.n.x*v,v=g.k.y*q+g.n.y*v,q=h;g=n;n=this.ya.x-this.ei.x;k=this.ya.y-this.ei.y;
  619. h=g.k.x*n+g.n.x*k;k=g.k.y*n+g.n.y*k;n=h;g=e.x+n-b.x-q;h=e.y+k-b.y-v;if(this.jh){this.aa=P.Mc(t,this.of);this.Gb=(g+q)*this.aa.y-(h+v)*this.aa.x;this.Hb=n*this.aa.y-k*this.aa.x;var w=this.aa.x*g+this.aa.y*h;.01>Math.abs(this.$f-this.Yf)?(p=P.mc(w,-.2,.2),m=Math.abs(w),l=!0):w<=this.Yf?(p=P.mc(w-this.Yf+.005,-.2,0),m=this.Yf-w,l=!0):w>=this.$f&&(p=P.mc(w-this.$f+.005,0,.2),m=w-this.$f,l=!0)}this.Ca=P.Mc(t,this.rj);this.Lb=(g+q)*this.Ca.y-(h+v)*this.Ca.x;this.Mb=n*this.Ca.y-k*this.Ca.x;t=J.B(0,0);v=
  620. this.Ca.x*g+this.Ca.y*h;m=Math.max(m,Math.abs(v));q=0;l?(l=this.Ec,n=this.Fc,k=this.Ge,g=this.He,this.va.k.x=l+n+k*this.Lb*this.Lb+g*this.Mb*this.Mb,this.va.k.y=k*this.Lb*this.Gb+g*this.Mb*this.Hb,this.va.n.x=this.va.k.y,this.va.n.y=l+n+k*this.Gb*this.Gb+g*this.Hb*this.Hb,this.va.Xj(t,-v,-p)):(l=this.Ec,n=this.Fc,k=this.Ge,g=this.He,p=l+n+k*this.Lb*this.Lb+g*this.Mb*this.Mb,t.x=0!=p?-v/p:0,t.y=0);p=t.x*this.Ca.x+t.y*this.aa.x;l=t.x*this.Ca.y+t.y*this.aa.y;v=t.x*this.Lb+t.y*this.Gb;t=t.x*this.Mb+t.y*
  621. this.Hb;b.x-=this.Ec*p;b.y-=this.Ec*l;d-=this.Ge*v;e.x+=this.Fc*p;e.y+=this.Fc*l;f+=this.He*t;a.q.P=d;c.q.P=f;a.yc();c.yc();return.005>=m&&q<=bd};var uf=function(){mf.call(this);this.gc=J.B(0,0);this.hc=J.B(0,0);this.Zl=J.B(0,0);this.type=V.WJ;this.Zl.Set(1,0);this.rl=!1;this.jz=this.Hx=0;this.gn=!1;this.Qn=this.Yx=0};Pc(uf,mf);uf.prototype.Xc=function(a,c,b,d){this.R=a;this.S=c;this.gc=this.R.ye(b);this.hc=this.S.ye(b);this.Zl=this.R.Tu(d)};uf.prototype.hg=function(){return new tf(this)};var vf=
  622. function(a){V.call(this,a);this.xa=J.B(0,0);this.ya=J.B(0,0);this.of=J.B(0,0);this.rj=J.B(0,0);this.aa=J.B(0,0);this.Ca=J.B(0,0);this.va=new id;this.J=new hd(0,0,0);this.xa.M(a.gc);this.ya.M(a.hc);this.of.M(a.Zl);this.rj.x=-this.of.y;this.rj.y=this.of.x;this.kM=a.ni;this.J.za();this.tb=this.df=0;this.Yf=a.Hx;this.$f=a.jz;this.Sx=a.Yx;this.Xp=a.Qn;this.jh=a.rl;this.wk=a.gn;this.cb=V.Te;this.aa.za();this.Ca.za()};Pc(vf,V);vf.prototype.Co=function(){var a=this.ca,c=this.da,b=a.dr(this.xa),d=c.dr(this.ya),
  623. c=d.x-b.x,b=d.y-b.y,a=a.Uu(this.of);return a.x*c+a.y*b};vf.prototype.ig=function(a){var c=this.ca,b=this.da,d,e=0;this.di.M(c.Xk());this.ei.M(b.Xk());var f=c.vf();b.vf();d=c.I.u;var g=this.xa.x-this.di.x,h=this.xa.y-this.di.y,e=d.k.x*g+d.n.x*h,h=d.k.y*g+d.n.y*h,g=e;d=b.I.u;var l=this.ya.x-this.ei.x,n=this.ya.y-this.ei.y,e=d.k.x*l+d.n.x*n,n=d.k.y*l+d.n.y*n,l=e;d=b.q.F.x+l-c.q.F.x-g;e=b.q.F.y+n-c.q.F.y-h;this.Ec=c.N;this.Fc=b.N;this.Ge=c.X;this.He=b.X;this.aa.M(P.Mc(f.u,this.of));this.Gb=(d+g)*this.aa.y-
  624. (e+h)*this.aa.x;this.Hb=l*this.aa.y-n*this.aa.x;this.df=this.Ec+this.Fc+this.Ge*this.Gb*this.Gb+this.He*this.Hb*this.Hb;this.df>Number.MIN_VALUE&&(this.df=1/this.df);this.Ca.M(P.Mc(f.u,this.rj));this.Lb=(d+g)*this.Ca.y-(e+h)*this.Ca.x;this.Mb=l*this.Ca.y-n*this.Ca.x;f=this.Ec;g=this.Fc;h=this.Ge;l=this.He;this.va.k.x=f+g+h*this.Lb*this.Lb+l*this.Mb*this.Mb;this.va.k.y=h*this.Lb+l*this.Mb;this.va.k.z=h*this.Lb*this.Gb+l*this.Mb*this.Hb;this.va.n.x=this.va.k.y;this.va.n.y=h+l;this.va.n.z=h*this.Gb+
  625. l*this.Hb;this.va.Pa.x=this.va.k.z;this.va.Pa.y=this.va.n.z;this.va.Pa.z=f+g+h*this.Gb*this.Gb+l*this.Hb*this.Hb;this.jh?(d=this.aa.x*d+this.aa.y*e,.01>Math.abs(this.$f-this.Yf)?this.cb=V.kk:d<=this.Yf?this.cb!=V.Nh&&(this.cb=V.Nh,this.J.z=0):d>=this.$f?this.cb!=V.Zd&&(this.cb=V.Zd,this.J.z=0):(this.cb=V.Te,this.J.z=0)):this.cb=V.Te;0==this.wk&&(this.tb=0);a.Lj?(this.J.x*=a.vd,this.J.y*=a.vd,this.tb*=a.vd,a=this.J.x*this.Ca.x+(this.tb+this.J.z)*this.aa.x,d=this.J.x*this.Ca.y+(this.tb+this.J.z)*this.aa.y,
  626. e=this.J.x*this.Lb+this.J.y+(this.tb+this.J.z)*this.Gb,f=this.J.x*this.Mb+this.J.y+(this.tb+this.J.z)*this.Hb,c.A.x-=this.Ec*a,c.A.y-=this.Ec*d,c.L-=this.Ge*e,b.A.x+=this.Fc*a,b.A.y+=this.Fc*d,b.L+=this.He*f):(this.J.za(),this.tb=0)};vf.prototype.Nf=function(a){var c=this.ca,b=this.da,d=c.A,e=c.L,f=b.A,g=b.L,h=0,l=0,n=0,k=0;this.wk&&this.cb!=V.kk&&(k=this.df*(this.Xp-(this.aa.x*(f.x-d.x)+this.aa.y*(f.y-d.y)+this.Hb*g-this.Gb*e)),h=this.tb,a=a.$a*this.Sx,this.tb=P.mc(this.tb+k,-a,a),k=this.tb-h,h=
  627. k*this.aa.x,l=k*this.aa.y,n=k*this.Gb,k*=this.Hb,d.x-=this.Ec*h,d.y-=this.Ec*l,e-=this.Ge*n,f.x+=this.Fc*h,f.y+=this.Fc*l,g+=this.He*k);n=this.Ca.x*(f.x-d.x)+this.Ca.y*(f.y-d.y)+this.Mb*g-this.Lb*e;l=g-e;this.jh&&this.cb!=V.Te?(a=this.aa.x*(f.x-d.x)+this.aa.y*(f.y-d.y)+this.Hb*g-this.Gb*e,h=this.J.vc(),a=this.va.Qo(new hd(0,0,0),-n,-l,-a),this.J.Di(a),this.cb==V.Nh?this.J.z=Math.max(this.J.z,0):this.cb==V.Zd&&(this.J.z=Math.min(this.J.z,0)),n=-n-(this.J.z-h.z)*this.va.Pa.x,l=-l-(this.J.z-h.z)*this.va.Pa.y,
  628. l=this.va.Tm(J.B(0,0),n,l),l.x+=h.x,l.y+=h.y,this.J.x=l.x,this.J.y=l.y,a.x=this.J.x-h.x,a.y=this.J.y-h.y,a.z=this.J.z-h.z,h=a.x*this.Ca.x+a.z*this.aa.x,l=a.x*this.Ca.y+a.z*this.aa.y,n=a.x*this.Lb+a.y+a.z*this.Gb,k=a.x*this.Mb+a.y+a.z*this.Hb):(a=this.va.Tm(J.B(0,0),-n,-l),this.J.x+=a.x,this.J.y+=a.y,h=a.x*this.Ca.x,l=a.x*this.Ca.y,n=a.x*this.Lb+a.y,k=a.x*this.Mb+a.y);d.x-=this.Ec*h;d.y-=this.Ec*l;e-=this.Ge*n;f.x+=this.Fc*h;f.y+=this.Fc*l;g+=this.He*k;c.A.M(d);c.L=e;b.A.M(f);b.L=g};vf.prototype.Mf=
  629. function(){var a=this.ca,c=this.da,b=a.q.F,d=a.q.P,e=c.q.F,f=c.q.P,g,h=0,l=0,n=0,k=h=g=0,m=0,l=!1,q=0,p=Qc.Lm(d),t=Qc.Lm(f);g=p;var m=this.xa.x-this.di.x,v=this.xa.y-this.di.y,h=g.k.x*m+g.n.x*v,v=g.k.y*m+g.n.y*v,m=h;g=t;t=this.ya.x-this.ei.x;n=this.ya.y-this.ei.y;h=g.k.x*t+g.n.x*n;n=g.k.y*t+g.n.y*n;t=h;g=e.x+t-b.x-m;h=e.y+n-b.y-v;if(this.jh){this.aa=P.Mc(p,this.of);this.Gb=(g+m)*this.aa.y-(h+v)*this.aa.x;this.Hb=t*this.aa.y-n*this.aa.x;var w=this.aa.x*g+this.aa.y*h;.01>Math.abs(this.$f-this.Yf)?(q=
  630. P.mc(w,-.2,.2),k=Math.abs(w),l=!0):w<=this.Yf?(q=P.mc(w-this.Yf+.005,-.2,0),k=this.Yf-w,l=!0):w>=this.$f&&(q=P.mc(w-this.$f+.005,0,.2),k=w-this.$f,l=!0)}this.Ca=P.Mc(p,this.rj);this.Lb=(g+m)*this.Ca.y-(h+v)*this.Ca.x;this.Mb=t*this.Ca.y-n*this.Ca.x;p=new hd(0,0,0);v=this.Ca.x*g+this.Ca.y*h;t=f-d-this.kM;k=Math.max(k,Math.abs(v));m=Math.abs(t);l?(l=this.Ec,n=this.Fc,g=this.Ge,h=this.He,this.va.k.x=l+n+g*this.Lb*this.Lb+h*this.Mb*this.Mb,this.va.k.y=g*this.Lb+h*this.Mb,this.va.k.z=g*this.Lb*this.Gb+
  631. h*this.Mb*this.Hb,this.va.n.x=this.va.k.y,this.va.n.y=g+h,this.va.n.z=g*this.Gb+h*this.Hb,this.va.Pa.x=this.va.k.z,this.va.Pa.y=this.va.n.z,this.va.Pa.z=l+n+g*this.Gb*this.Gb+h*this.Hb*this.Hb,this.va.Qo(p,-v,-t,-q)):(l=this.Ec,n=this.Fc,g=this.Ge,h=this.He,q=g*this.Lb+h*this.Mb,w=g+h,this.va.k.Set(l+n+g*this.Lb*this.Lb+h*this.Mb*this.Mb,q,0),this.va.n.Set(q,w,0),q=this.va.Tm(J.B(0,0),-v,-t),p.x=q.x,p.y=q.y,p.z=0);q=p.x*this.Ca.x+p.z*this.aa.x;l=p.x*this.Ca.y+p.z*this.aa.y;v=p.x*this.Lb+p.y+p.z*this.Gb;
  632. p=p.x*this.Mb+p.y+p.z*this.Hb;b.x-=this.Ec*q;b.y-=this.Ec*l;d-=this.Ge*v;e.x+=this.Fc*q;e.y+=this.Fc*l;f+=this.He*p;a.q.P=d;c.q.P=f;a.yc();c.yc();return.005>=k&&m<=bd};var wf=function(){mf.call(this);this.gc=J.B(0,0);this.hc=J.B(0,0);this.Zl=J.B(0,0);this.type=V.XJ;this.Zl.Set(1,0);this.ni=0;this.rl=!1;this.jz=this.Hx=0;this.gn=!1;this.Qn=this.Yx=0};Pc(wf,mf);wf.prototype.Xc=function(a,c,b,d){this.R=a;this.S=c;this.gc=this.R.ye(b);this.hc=this.S.ye(b);this.Zl=this.R.Tu(d);this.ni=this.S.Me()-this.R.Me()};
  633. wf.prototype.hg=function(){return new vf(this)};var yf=function(a){V.call(this,a);this.pj=J.B(0,0);this.qj=J.B(0,0);this.xa=J.B(0,0);this.ya=J.B(0,0);this.Pb=J.B(0,0);this.Qb=J.B(0,0);this.zg=this.ca.La.bM;this.pj.x=a.Ls.x-this.zg.I.position.x;this.pj.y=a.Ls.y-this.zg.I.position.y;this.qj.x=a.Ms.x-this.zg.I.position.x;this.qj.y=a.Ms.y-this.zg.I.position.y;this.xa.M(a.gc);this.ya.M(a.hc);this.Gc=a.je;this.In=a.xx+this.Gc*a.yx;this.$C=Math.min(a.bD,this.In-this.Gc*xf);this.aD=Math.min(a.cD,(this.In-
  634. xf)/this.Gc);this.ci=this.bi=this.J=0};Pc(yf,V);yf.prototype.ig=function(a){var c=this.ca,b=this.da,d;d=c.I.u;var e=this.xa.x-c.q.U.x,f=this.xa.y-c.q.U.y,g=d.k.x*e+d.n.x*f,f=d.k.y*e+d.n.y*f,e=g;d=b.I.u;var h=this.ya.x-b.q.U.x,l=this.ya.y-b.q.U.y,g=d.k.x*h+d.n.x*l,l=d.k.y*h+d.n.y*l,h=g;d=b.q.F.x+h;var g=b.q.F.y+l,n=this.zg.I.position.x+this.qj.x,k=this.zg.I.position.y+this.qj.y;this.Pb.Set(c.q.F.x+e-(this.zg.I.position.x+this.pj.x),c.q.F.y+f-(this.zg.I.position.y+this.pj.y));this.Qb.Set(d-n,g-k);d=
  635. this.Pb.Fh();g=this.Qb.Fh();.005<d?this.Pb.Oe(1/d):this.Pb.za();.005<g?this.Qb.Oe(1/g):this.Qb.za();0<this.In-d-this.Gc*g?(this.Vx=V.Te,this.J=0):this.Vx=V.Zd;d<this.$C?(this.Px=V.Te,this.bi=0):this.Px=V.Zd;g<this.aD?(this.Qx=V.Te,this.ci=0):this.Qx=V.Zd;d=e*this.Pb.y-f*this.Pb.x;g=h*this.Qb.y-l*this.Qb.x;this.Vp=c.N+c.X*d*d;this.Wp=b.N+b.X*g*g;this.yt=this.Vp+this.Gc*this.Gc*this.Wp;this.Vp=1/this.Vp;this.Wp=1/this.Wp;this.yt=1/this.yt;a.Lj?(this.J*=a.vd,this.bi*=a.vd,this.ci*=a.vd,a=(-this.J-this.bi)*
  636. this.Pb.x,d=(-this.J-this.bi)*this.Pb.y,g=(-this.Gc*this.J-this.ci)*this.Qb.x,n=(-this.Gc*this.J-this.ci)*this.Qb.y,c.A.x+=c.N*a,c.A.y+=c.N*d,c.L+=c.X*(e*d-f*a),b.A.x+=b.N*g,b.A.y+=b.N*n,b.L+=b.X*(h*n-l*g)):this.ci=this.bi=this.J=0};yf.prototype.Nf=function(){var a=this.ca,c=this.da,b;b=a.I.u;var d=this.xa.x-a.q.U.x,e=this.xa.y-a.q.U.y,f=b.k.x*d+b.n.x*e,e=b.k.y*d+b.n.y*e,d=f;b=c.I.u;var g=this.ya.x-c.q.U.x,h=this.ya.y-c.q.U.y,f=b.k.x*g+b.n.x*h,h=b.k.y*g+b.n.y*h,g=f,l=f=b=0,n=0;b=n=b=n=l=f=b=0;this.Vx==
  637. V.Zd&&(b=a.A.x+-a.L*e,f=a.A.y+a.L*d,l=c.A.x+-c.L*h,n=c.A.y+c.L*g,b=-(this.Pb.x*b+this.Pb.y*f)-this.Gc*(this.Qb.x*l+this.Qb.y*n),n=this.yt*-b,b=this.J,this.J=Math.max(0,this.J+n),n=this.J-b,b=-n*this.Pb.x,f=-n*this.Pb.y,l=-this.Gc*n*this.Qb.x,n=-this.Gc*n*this.Qb.y,a.A.x+=a.N*b,a.A.y+=a.N*f,a.L+=a.X*(d*f-e*b),c.A.x+=c.N*l,c.A.y+=c.N*n,c.L+=c.X*(g*n-h*l));this.Px==V.Zd&&(b=a.A.x+-a.L*e,f=a.A.y+a.L*d,b=-(this.Pb.x*b+this.Pb.y*f),n=-this.Vp*b,b=this.bi,this.bi=Math.max(0,this.bi+n),n=this.bi-b,b=-n*this.Pb.x,
  638. f=-n*this.Pb.y,a.A.x+=a.N*b,a.A.y+=a.N*f,a.L+=a.X*(d*f-e*b));this.Qx==V.Zd&&(l=c.A.x+-c.L*h,n=c.A.y+c.L*g,b=-(this.Qb.x*l+this.Qb.y*n),n=-this.Wp*b,b=this.ci,this.ci=Math.max(0,this.ci+n),n=this.ci-b,l=-n*this.Qb.x,n=-n*this.Qb.y,c.A.x+=c.N*l,c.A.y+=c.N*n,c.L+=c.X*(g*n-h*l))};yf.prototype.Mf=function(){var a=this.ca,c=this.da,b,d=this.zg.I.position.x+this.pj.x,e=this.zg.I.position.y+this.pj.y,f=this.zg.I.position.x+this.qj.x,g=this.zg.I.position.y+this.qj.y,h=0,l=0,n=0,k=0,m=b=0,q=0,p=0,t=m=p=b=m=
  639. b=0;this.Vx==V.Zd&&(b=a.I.u,h=this.xa.x-a.q.U.x,l=this.xa.y-a.q.U.y,m=b.k.x*h+b.n.x*l,l=b.k.y*h+b.n.y*l,h=m,b=c.I.u,n=this.ya.x-c.q.U.x,k=this.ya.y-c.q.U.y,m=b.k.x*n+b.n.x*k,k=b.k.y*n+b.n.y*k,n=m,b=a.q.F.x+h,m=a.q.F.y+l,q=c.q.F.x+n,p=c.q.F.y+k,this.Pb.Set(b-d,m-e),this.Qb.Set(q-f,p-g),b=this.Pb.Fh(),m=this.Qb.Fh(),.005<b?this.Pb.Oe(1/b):this.Pb.za(),.005<m?this.Qb.Oe(1/m):this.Qb.za(),b=this.In-b-this.Gc*m,t=Math.max(t,-b),b=P.mc(b+.005,-.2,0),p=-this.yt*b,b=-p*this.Pb.x,m=-p*this.Pb.y,q=-this.Gc*
  640. p*this.Qb.x,p=-this.Gc*p*this.Qb.y,a.q.F.x+=a.N*b,a.q.F.y+=a.N*m,a.q.P+=a.X*(h*m-l*b),c.q.F.x+=c.N*q,c.q.F.y+=c.N*p,c.q.P+=c.X*(n*p-k*q),a.yc(),c.yc());this.Px==V.Zd&&(b=a.I.u,h=this.xa.x-a.q.U.x,l=this.xa.y-a.q.U.y,m=b.k.x*h+b.n.x*l,l=b.k.y*h+b.n.y*l,h=m,b=a.q.F.x+h,m=a.q.F.y+l,this.Pb.Set(b-d,m-e),b=this.Pb.Fh(),.005<b?(this.Pb.x*=1/b,this.Pb.y*=1/b):this.Pb.za(),b=this.$C-b,t=Math.max(t,-b),b=P.mc(b+.005,-.2,0),p=-this.Vp*b,b=-p*this.Pb.x,m=-p*this.Pb.y,a.q.F.x+=a.N*b,a.q.F.y+=a.N*m,a.q.P+=a.X*
  641. (h*m-l*b),a.yc());this.Qx==V.Zd&&(b=c.I.u,n=this.ya.x-c.q.U.x,k=this.ya.y-c.q.U.y,m=b.k.x*n+b.n.x*k,k=b.k.y*n+b.n.y*k,n=m,q=c.q.F.x+n,p=c.q.F.y+k,this.Qb.Set(q-f,p-g),m=this.Qb.Fh(),.005<m?(this.Qb.x*=1/m,this.Qb.y*=1/m):this.Qb.za(),b=this.aD-m,t=Math.max(t,-b),b=P.mc(b+.005,-.2,0),p=-this.Wp*b,q=-p*this.Qb.x,p=-p*this.Qb.y,c.q.F.x+=c.N*q,c.q.F.y+=c.N*p,c.q.P+=c.X*(n*p-k*q),c.yc());return.005>t};var xf=1,zf=function(){mf.call(this);this.Ls=J.B(0,0);this.Ms=J.B(0,0);this.gc=J.B(0,0);this.hc=J.B(0,
  642. 0);this.type=V.YJ;this.Ls.Set(-1,1);this.Ms.Set(1,1);this.gc.Set(-1,0);this.hc.Set(1,0);this.cD=this.yx=this.bD=this.xx=0;this.je=1;this.aw=!0};Pc(zf,mf);zf.prototype.Xc=function(a,c,b,d,e,f,g){void 0===g&&(g=0);this.R=a;this.S=c;this.Ls.M(b);this.Ms.M(d);this.gc=this.R.ye(e);this.hc=this.S.ye(f);a=e.x-b.x;b=e.y-b.y;this.xx=Math.sqrt(a*a+b*b);b=f.x-d.x;d=f.y-d.y;this.yx=Math.sqrt(b*b+d*d);this.je=g;g=this.xx+this.je*this.yx;this.bD=g-this.je*xf;this.cD=(g-xf)/this.je};zf.prototype.hg=function(){return new yf(this)};
  643. var Af=function(a){V.call(this,a);this.wf=new Qc;this.Go=new Qc;this.Ho=new Qc;this.Io=new Qc;this.Od=new hd(0,0,0);this.dh=J.B(0,0);this.mi=J.B(0,0);this.xa=J.B(0,0);this.ya=J.B(0,0);this.J=new hd(0,0,0);this.ba=new id;this.xa.M(a.gc);this.ya.M(a.hc);this.Zp=a.ni;this.J.za();this.tb=0;this.ut=a.Gx;this.Wx=a.iz;this.iM=a.dD;this.Xp=a.Qn;this.jh=a.rl;this.wk=a.gn;this.cb=V.Te};Pc(Af,V);Af.prototype.$q=function(){return this.da.q.P-this.ca.q.P-this.Zp};Af.prototype.ig=function(a){var c=this.ca,b=this.da,
  644. d,e=0;d=c.I.u;var f=this.xa.x-c.q.U.x,g=this.xa.y-c.q.U.y,e=d.k.x*f+d.n.x*g,g=d.k.y*f+d.n.y*g,f=e;d=b.I.u;var h=this.ya.x-b.q.U.x,l=this.ya.y-b.q.U.y,e=d.k.x*h+d.n.x*l,l=d.k.y*h+d.n.y*l,h=e;d=c.N;var e=b.N,n=c.X,k=b.X;this.ba.k.x=d+e+g*g*n+l*l*k;this.ba.n.x=-g*f*n-l*h*k;this.ba.Pa.x=-g*n-l*k;this.ba.k.y=this.ba.n.x;this.ba.n.y=d+e+f*f*n+h*h*k;this.ba.Pa.y=f*n+h*k;this.ba.k.z=this.ba.Pa.x;this.ba.n.z=this.ba.Pa.y;this.ba.Pa.z=n+k;this.df=1/(n+k);this.wk||(this.tb=0);if(this.jh){var m=b.q.P-c.q.P-this.Zp;
  645. Math.abs(this.Wx-this.ut)<2*bd?this.cb=V.kk:m<=this.ut?(this.cb!=V.Nh&&(this.J.z=0),this.cb=V.Nh):m>=this.Wx?(this.cb!=V.Zd&&(this.J.z=0),this.cb=V.Zd):(this.cb=V.Te,this.J.z=0)}else this.cb=V.Te;a.Lj?(this.J.x*=a.vd,this.J.y*=a.vd,this.tb*=a.vd,a=this.J.x,m=this.J.y,c.A.x-=d*a,c.A.y-=d*m,c.L-=n*(f*m-g*a+this.tb+this.J.z),b.A.x+=e*a,b.A.y+=e*m,b.L+=k*(h*m-l*a+this.tb+this.J.z)):(this.J.za(),this.tb=0)};Af.prototype.Nf=function(a){var c=this.ca,b=this.da,d=0,e=d=0,f=0,g=0,h=0,l=c.A,n=c.L,k=b.A,m=b.L,
  646. q=c.N,p=b.N,t=c.X,v=b.X;this.wk&&this.cb!=V.kk&&(e=this.df*-(m-n-this.Xp),f=this.tb,g=a.$a*this.iM,this.tb=P.mc(this.tb+e,-g,g),e=this.tb-f,n-=t*e,m+=v*e);if(this.jh&&this.cb!=V.Te){a=c.I.u;e=this.xa.x-c.q.U.x;f=this.xa.y-c.q.U.y;d=a.k.x*e+a.n.x*f;f=a.k.y*e+a.n.y*f;e=d;a=b.I.u;g=this.ya.x-b.q.U.x;h=this.ya.y-b.q.U.y;d=a.k.x*g+a.n.x*h;h=a.k.y*g+a.n.y*h;g=d;a=k.x+-m*h-l.x- -n*f;var w=k.y+m*g-l.y-n*e;this.ba.Qo(this.Od,-a,-w,-(m-n));this.cb==V.kk?this.J.Di(this.Od):this.cb==V.Nh?(d=this.J.z+this.Od.z,
  647. 0>d&&(this.ba.Tm(this.mi,-a,-w),this.Od.x=this.mi.x,this.Od.y=this.mi.y,this.Od.z=-this.J.z,this.J.x+=this.mi.x,this.J.y+=this.mi.y,this.J.z=0)):this.cb==V.Zd&&(d=this.J.z+this.Od.z,0<d&&(this.ba.Tm(this.mi,-a,-w),this.Od.x=this.mi.x,this.Od.y=this.mi.y,this.Od.z=-this.J.z,this.J.x+=this.mi.x,this.J.y+=this.mi.y,this.J.z=0));l.x-=q*this.Od.x;l.y-=q*this.Od.y;n-=t*(e*this.Od.y-f*this.Od.x+this.Od.z);k.x+=p*this.Od.x;k.y+=p*this.Od.y;m+=v*(g*this.Od.y-h*this.Od.x+this.Od.z)}else a=c.I.u,e=this.xa.x-
  648. c.q.U.x,f=this.xa.y-c.q.U.y,d=a.k.x*e+a.n.x*f,f=a.k.y*e+a.n.y*f,e=d,a=b.I.u,g=this.ya.x-b.q.U.x,h=this.ya.y-b.q.U.y,d=a.k.x*g+a.n.x*h,h=a.k.y*g+a.n.y*h,g=d,this.ba.Tm(this.dh,-(k.x+-m*h-l.x- -n*f),-(k.y+m*g-l.y-n*e)),this.J.x+=this.dh.x,this.J.y+=this.dh.y,l.x-=q*this.dh.x,l.y-=q*this.dh.y,n-=t*(e*this.dh.y-f*this.dh.x),k.x+=p*this.dh.x,k.y+=p*this.dh.y,m+=v*(g*this.dh.y-h*this.dh.x);c.A.M(l);c.L=n;b.A.M(k);b.L=m};Af.prototype.Mf=function(){var a=0,c,b=this.ca,d=this.da,e=0,f=c=0,g=0,h=0;if(this.jh&&
  649. this.cb!=V.Te){var a=d.q.P-b.q.P-this.Zp,l=0;this.cb==V.kk?(a=P.mc(a-this.ut,-cd,cd),l=-this.df*a,e=Math.abs(a)):this.cb==V.Nh?(a-=this.ut,e=-a,a=P.mc(a+bd,-cd,0),l=-this.df*a):this.cb==V.Zd&&(e=a-=this.Wx,a=P.mc(a-bd,0,cd),l=-this.df*a);b.q.P-=b.X*l;d.q.P+=d.X*l;b.yc();d.yc()}c=b.I.u;l=this.xa.x-b.q.U.x;a=this.xa.y-b.q.U.y;f=c.k.x*l+c.n.x*a;a=c.k.y*l+c.n.y*a;l=f;c=d.I.u;var n=this.ya.x-d.q.U.x,k=this.ya.y-d.q.U.y,f=c.k.x*n+c.n.x*k,k=c.k.y*n+c.n.y*k,n=f,g=d.q.F.x+n-b.q.F.x-l,h=d.q.F.y+k-b.q.F.y-a,
  650. m=g*g+h*h;c=Math.sqrt(m);var f=b.N,q=d.N,p=b.X,t=d.X;m>.05*.05&&(m=1/(f+q),g=m*-g,h=m*-h,b.q.F.x-=.5*f*g,b.q.F.y-=.5*f*h,d.q.F.x+=.5*q*g,d.q.F.y+=.5*q*h,g=d.q.F.x+n-b.q.F.x-l,h=d.q.F.y+k-b.q.F.y-a);this.Go.k.x=f+q;this.Go.n.x=0;this.Go.k.y=0;this.Go.n.y=f+q;this.Ho.k.x=p*a*a;this.Ho.n.x=-p*l*a;this.Ho.k.y=-p*l*a;this.Ho.n.y=p*l*l;this.Io.k.x=t*k*k;this.Io.n.x=-t*n*k;this.Io.k.y=-t*n*k;this.Io.n.y=t*n*n;this.wf.Qg(this.Go);this.wf.Oq(this.Ho);this.wf.Oq(this.Io);this.wf.Xj(Bf,-g,-h);g=Bf.x;h=Bf.y;
  651. b.q.F.x-=b.N*g;b.q.F.y-=b.N*h;b.q.P-=b.X*(l*h-a*g);d.q.F.x+=d.N*g;d.q.F.y+=d.N*h;d.q.P+=d.X*(n*h-k*g);b.yc();d.yc();return.005>=c&&e<=bd};var Bf=J.B(0,0),ad=function(){mf.call(this);this.gc=J.B(0,0);this.hc=J.B(0,0);this.type=V.dn;this.gc.za();this.hc.za();this.Qn=this.dD=this.iz=this.Gx=this.ni=0;this.gn=this.rl=!1};Pc(ad,mf);ad.prototype.Xc=function(a,c,b){this.R=a;this.S=c;this.gc=this.R.ye(b);this.hc=this.S.ye(b);this.ni=this.S.Me()-this.R.Me()};ad.prototype.hg=function(){return new Af(this)};
  652. var Cf=function(a){V.call(this,a);this.Wf=J.B(0,0);this.Xf=J.B(0,0);this.J=new hd(0,0,0);this.ba=new id;this.Wf.M(a.gc);this.Xf.M(a.hc);this.Zp=a.ni};Pc(Cf,V);Cf.prototype.ig=function(a){var c,b=0,d=this.ca,e=this.da;c=d.I.u;var f=this.Wf.x-d.q.U.x,g=this.Wf.y-d.q.U.y,b=c.k.x*f+c.n.x*g,g=c.k.y*f+c.n.y*g,f=b;c=e.I.u;var h=this.Xf.x-e.q.U.x,l=this.Xf.y-e.q.U.y,b=c.k.x*h+c.n.x*l,l=c.k.y*h+c.n.y*l,h=b;c=d.N;var b=e.N,n=d.X,k=e.X;this.ba.k.x=c+b+g*g*n+l*l*k;this.ba.n.x=-g*f*n-l*h*k;this.ba.Pa.x=-g*n-l*
  653. k;this.ba.k.y=this.ba.n.x;this.ba.n.y=c+b+f*f*n+h*h*k;this.ba.Pa.y=f*n+h*k;this.ba.k.z=this.ba.Pa.x;this.ba.n.z=this.ba.Pa.y;this.ba.Pa.z=n+k;a.Lj?(this.J.x*=a.vd,this.J.y*=a.vd,this.J.z*=a.vd,d.A.x-=c*this.J.x,d.A.y-=c*this.J.y,d.L-=n*(f*this.J.y-g*this.J.x+this.J.z),e.A.x+=b*this.J.x,e.A.y+=b*this.J.y,e.L+=k*(h*this.J.y-l*this.J.x+this.J.z)):this.J.za()};Cf.prototype.Nf=function(){var a,c=0,b=this.ca,d=this.da,e=b.A,f=b.L,g=d.A,h=d.L,l=b.N,n=d.N,k=b.X,m=d.X;a=b.I.u;var q=this.Wf.x-b.q.U.x,p=this.Wf.y-
  654. b.q.U.y,c=a.k.x*q+a.n.x*p,p=a.k.y*q+a.n.y*p,q=c;a=d.I.u;var t=this.Xf.x-d.q.U.x,v=this.Xf.y-d.q.U.y,c=a.k.x*t+a.n.x*v,v=a.k.y*t+a.n.y*v,t=c;a=new hd(0,0,0);this.ba.Qo(a,-(g.x-h*v-e.x+f*p),-(g.y+h*t-e.y-f*q),-(h-f));this.J.Di(a);e.x-=l*a.x;e.y-=l*a.y;f-=k*(q*a.y-p*a.x+a.z);g.x+=n*a.x;g.y+=n*a.y;h+=m*(t*a.y-v*a.x+a.z);b.L=f;d.L=h};Cf.prototype.Mf=function(){var a,c=0,b=this.ca,d=this.da;a=b.I.u;var e=this.Wf.x-b.q.U.x,f=this.Wf.y-b.q.U.y,c=a.k.x*e+a.n.x*f,f=a.k.y*e+a.n.y*f,e=c;a=d.I.u;var g=this.Xf.x-
  655. d.q.U.x,h=this.Xf.y-d.q.U.y,c=a.k.x*g+a.n.x*h,h=a.k.y*g+a.n.y*h,g=c;a=b.N;var c=d.N,l=b.X,n=d.X,k=d.q.F.x+g-b.q.F.x-e,m=d.q.F.y+h-b.q.F.y-f,q=d.q.P-b.q.P-this.Zp,p=Math.sqrt(k*k+m*m),t=Math.abs(q);.05<p&&(l*=1,n*=1);this.ba.k.x=a+c+f*f*l+h*h*n;this.ba.n.x=-f*e*l-h*g*n;this.ba.Pa.x=-f*l-h*n;this.ba.k.y=this.ba.n.x;this.ba.n.y=a+c+e*e*l+g*g*n;this.ba.Pa.y=e*l+g*n;this.ba.k.z=this.ba.Pa.x;this.ba.n.z=this.ba.Pa.y;this.ba.Pa.z=l+n;var v=new hd(0,0,0);this.ba.Qo(v,-k,-m,-q);b.q.F.x-=a*v.x;b.q.F.y-=a*v.y;
  656. b.q.P-=l*(e*v.y-f*v.x+v.z);d.q.F.x+=c*v.x;d.q.F.y+=c*v.y;d.q.P+=n*(g*v.y-h*v.x+v.z);b.yc();d.yc();return.005>=p&&t<=bd};var Df=function(){mf.call(this);this.gc=J.B(0,0);this.hc=J.B(0,0);this.type=V.$J;this.ni=0};Pc(Df,mf);Df.prototype.Xc=function(a,c,b){this.R=a;this.S=c;this.gc.M(this.R.ye(b));this.hc.M(this.S.ye(b));this.ni=this.S.Me()-this.R.Me()};Df.prototype.hg=function(){return new Cf(this)};var Oe=[new od,new od],Xe=[new od,new od],Ye=[new od,new od],Pe=J.B(0,0),Qe=J.B(0,0),Re=J.B(0,0),Ue=
  657. J.B(0,0),Se=J.B(0,0),Te=J.B(0,0),Ve=J.B(0,0),We=J.B(0,0),qe=0,ze=0,Ae=0,xe=0,ye=0,re=new Od,se=new yd,te=new Rc,ue=new Rc,we=new Jd,ve=new zd;Tc.kN=new Rc;Uc.qB=new Uc;new function(){this.position=J.B(0,0);this.EE=J.B(0,0);this.Je=J.B(0,0);this.id=new nd};Wc.uP=new Rc;Wc.TD=new jd;Wc.UD=new jd;var pe=new Pd,Me=new Qd,Ne=new Le}
  658. function Ef(a,c,b,d,e,f){var g;if(g=(b+.1>=a&&a>=e-.1||b-.1<=a&&a<=e+.1)&&(d+.1>=c&&c>=f-.1||d-.1<=c&&c<=f+.1))g=.1<Math.abs(e-b)?.1>Math.abs((f-d)/(e-b)*(a-b)+d-c):.1>Math.abs(a-b);return g}function Ff(a,c){var b=J,d=Gf(a),e=[],f,g,h,l,n,k,m,q,p;n=0;for(k=d.length;n<k;n++){g=d[n];f=[];f.length=g.length;m=p=0;for(q=g.length;m<q;m++)h=g[m],l=g[(m+1)%q],p+=h.x*l.y-h.y*l.x,f[m]=b.B(h.x,h.y);p=Math.abs(p/2);p>=.001*c&&e.push(f)}return e}
  659. function Gf(a){var c=[],b=0,d=0,e=0,f=0,g=0,h=g=0,l=0,n=0,k=0,f=0,m,q,p,t,v,w=f=b=0,s=0,e=[],l=[],O=!1,L=[],z=[];for(z.push(a);z.length;){c=z[0];d=c.length;O=!0;for(b=0;b<d;b++)if(n=b,k=b<d-1?b+1:b+1-d,f=b<d-2?b+2:b+2-d,a=c[n],m=c[k],q=c[f],f=a.x,e=a.y,l=m.x,g=m.y,h=q.x,q=q.y,f=f*g+l*q+h*e-e*l-g*h-q*f,0>f){O=!1;l=1E9;for(e=0;e<d;e++)if(e!==n&&e!==k){b=e;f=e<d-1?e+1:0;p=c[b];t=c[f];h=a.x;q=a.y;var B=m.x,M=m.y,g=p.x;p=p.y;var F=t.x;t=t.y;var E=B-h,y=M-q,K=F-g,T=t-p,K=(K*(p-q)-T*(g-h))/(y*K-E*T),E=h+
  660. K*E,y=q+K*y,h=Ef(B,M,h,q,E,y),g=Ef(E,y,g,p,F,t);if(q=h&&g?J.B(E,y):null)g=m.x-q.x,h=m.y-q.y,g=g*g+h*h,g<l&&(s=b,w=f,v=q,l=g)}if(1E9===l)return[];e=[];l=[];b=s;f=w;p=c[b];t=c[f];w=v.y;s=t.y;.1>Math.abs(t.x-v.x)&&.1>Math.abs(s-w)||e.push(v);w=v.y;s=p.y;.1>Math.abs(p.x-v.x)&&.1>Math.abs(s-w)||l.push(v);s=-1;for(w=n;;){if(w!==f)e.push(c[w]);else{if(0>s||s>=d)return[];Ef(t.x,t.y,c[s].x,c[s].y,a.x,a.y)||e.push(c[w]);break}s=w;0>w-1?w=d-1:w--}e.reverse();s=-1;for(w=k;;){if(w!==b)l.push(c[w]);else{if(0>s||
  661. s>=d)return[];w!==b||Ef(p.x,p.y,c[s].x,c[s].y,m.x,m.y)||l.push(c[w]);break}s=w;w+1>d-1?w=0:w++}z.push(e,l);z.shift();break}O&&L.push(z.shift())}return L}
  662. function Hf(a){for(var c=0;4E3>c;c++)J.Ji.push(new J(0,0));this.c=a;this.uf=new Wc(J.B(0,10),!0);this.qx=-1;a=new Uc;a.behavior=this;a.Rq=function(a){this.behavior.c.ND(a.Dc.Ab().Jh.j,a.qc.Ab().Jh.j)};this.uf.CA(a);a=new Vc;a.behavior=this;a.al=function(a,c){if(this.behavior.dJ)return!0;var e=a.Ab().Jh.j.type,f=c.Ab().Jh.j.type,g=e.ra.Physics_DisabledCollisions;return g&&g.contains(f)?!1:(g=f.ra.Physics_DisabledCollisions)&&g.contains(e)?!1:!0};this.uf.BA(a);this.gE=0;this.ro=8;this.ao=3;this.dJ=
  663. !0}
  664. (function(){function a(){}function c(){}function b(){}var d=J,e=S,f=Zc,g=Yc,h=Xc,l=$c,n=ad,k=Hf.prototype;k.ua=function(a){this.behavior=a;this.c=a.c};k.ua.prototype.ka=function(){};k.la=function(a,b){this.type=a;this.behavior=a.behavior;this.j=b;this.c=a.c;this.uf=this.behavior.uf};var m=k.la.prototype;m.ka=function(){this.pn=0!==this.T[0];this.CB=this.T[1];this.bo=0!==this.T[2];this.Yg=this.T[3];this.Qh=this.T[4];this.oi=this.T[5];this.Ul=this.T[6];this.dl=this.T[7];this.il=0!==this.T[8];this.enabled=0!==
  665. this.T[9];this.body=null;this.j.Jb();this.Qc=this.j.x;this.Ad=this.j.y;this.Fe=this.j.K;this.mx=this.rx=0;this.LD=this.zn=!1;this.ix=null;this.jx=-1;this.Hf?(this.Hf.length=0,this.ag.length=0,this.hj.clear()):(this.Hf=[],this.ag=[],this.hj=new da);var a=this;this.ke||(this.Ek=function(b){a.qm(b)});this.c.Zo(this.Ek)};m.GD=function(){this.j.Jb();this.ds();this.ix=this.j.Yb;this.jx=this.j.ta};m.wj=function(){this.ps();this.ag.length=0;this.hj.clear();this.body&&(this.uf.Wq(this.body),this.body=null);
  666. this.c.Dy(this.Ek)};m.kc=function(){var a={e:this.enabled,im:this.pn,pr:this.bo,d:this.Yg,fr:this.Qh,re:this.oi,ld:this.Ul,ad:this.dl,b:this.il,mcj:this.ag};if(this.enabled){var b=d.B(0,0);b.M(this.body.Fi());a.vx=b.x;a.vy=b.y;a.om=this.body.Zq()}return a};m.Bc=function(a){this.ps();this.ag.length=0;this.hj.clear();this.body&&(this.uf.Wq(this.body),this.body=null);this.enabled=a.e;this.pn=a.im;this.bo=a.pr;this.Yg=a.d;this.Qh=a.fr;this.oi=a.re;this.Ul=a.ld;this.dl=a.ad;this.il=a.b;this.Qc=this.j.x;
  667. this.Ad=this.j.y;this.Fe=this.j.K;this.rx=this.j.width;this.mx=this.j.height;this.enabled&&(this.ds(),this.body.Wj(d.B(a.vx,a.vy)),this.body.Rm(a.om),0===a.vx&&0===a.vy&&0===a.om||this.body.Nc(!0),this.ag=a.mcj)};m.mg=function(){this.enabled&&this.Cy();this.behavior.qx=this.c.uh-1};m.qm=function(a){var b,c,d,e=a.uid;d=b=0;for(c=this.ag.length;b<c;b++)this.ag[d]=this.ag[b],d<this.Hf.length&&(this.Hf[d]=this.Hf[b]),this.ag[b].xb[1]==e?this.uf.Xq(this.Hf[b]):d++;this.ag.length=d;d<this.Hf.length&&(this.Hf.length=
  668. d);this.hj.remove(a)};m.ps=function(){var a,b;a=0;for(b=this.Hf.length;a<b;a++)this.uf.Xq(this.Hf[a]);this.Hf.length=0};m.Cy=function(){var a,b,c;a=0;for(b=this.ag.length;a<b;a++)switch(c=this.ag[a],c.type){case 0:this.DJ(c.xb[0],c.xb[1],c.xb[2],c.xb[3],c.xb[4]);break;case 1:this.OB(c.xb[0],c.xb[1]);break;case 2:this.EJ(c.xb[0],c.xb[1],c.xb[2],c.xb[3])}};m.KB=function(){this.body&&(this.ps(),this.uf.Wq(this.body),this.body=null,this.j.ra.Rf=null)};var q=[];m.ds=function(){if(this.enabled){var a=this.j,
  669. b=!1,c=null,k=null,l,m,n,z,B,M,F,E,y,K,T,Y,I;if(this.body){b=!0;c=d.B(0,0);c.M(this.body.Fi());k=this.body.Zq();E=this.hj.yh();l=0;for(m=E.length;l<m;l++)y=E[l].ra.Rf.Jh,y.ps();this.KB()}y=new f;y.Yg=this.Yg;y.Qh=this.Qh;y.oi=this.oi;l=new e;l.type=this.pn?0:2;a.Jb();l.position.x=.02*a.nc.Ck();l.position.y=.02*a.nc.Dk();l.K=a.K;l.sw=this.bo;l.Ul=this.Ul;l.dl=this.dl;l.il=this.il;E=this.j.qb&&!this.j.qb.Kl();this.body=this.uf.Ku(l);this.body.Jh=this;l=this.CB;E||this.j.Hj||0!==this.CB||(l=1);m=Math.max(Math.abs(a.width),
  670. 1);n=Math.max(Math.abs(a.height),1);K=0>a.width;T=0>a.height;if(0===l)if(a.Hj)for(Y=a.nc.Ck()-a.x,F=a.nc.Dk()-a.y,a.hP(q),E=[],l=0,m=q.length;l<m;++l){K=q[l];T=K.WM;if(K.ki){if(!K.ki.as){B=K.ki.jd;z=K.ki.cg;for(n=0;n<z;++n)E.push(d.B(B[2*n],B[2*n+1]));n=K.id&3758096384;(-2147483648===n||1073741824===n||536870912===n||n&-2147483648&&n&1073741824&&n&536870912)&&E.reverse();K.ki.as=Ff(E,(T.right-T.left)*(T.bottom-T.top));n=0;for(z=E.length;n<z;++n)d.Wc(E[n]);E.length=0}n=0;for(z=K.ki.as.length;n<z;++n){I=
  671. K.ki.as[n];B=0;for(M=I.length;B<M;++B)E.push(d.B(.02*(T.left+I[B].x-Y),.02*(T.top+I[B].y-F)));y.shape=new g;y.shape.No(E,E.length);this.body.Hm(y);B=0;for(M=E.length;B<M;++B)d.Wc(E[B]);E.length=0}}else E.push(d.B(.02*(T.left-Y),.02*(T.top-F))),E.push(d.B(.02*(T.right-Y),.02*(T.top-F))),E.push(d.B(.02*(T.right-Y),.02*(T.bottom-F))),E.push(d.B(.02*(T.left-Y),.02*(T.bottom-F))),y.shape=new g,y.shape.No(E,E.length),this.body.Hm(y);n=0;for(z=E.length;n<z;++n)d.Wc(E[n]);E.length=0}else{l=a.K;a.K=0;a.Ea();
  672. a.Jb();Y=a.nc.Ck()-a.x;F=a.nc.Dk()-a.y;a.K=l;a.Ea();a.qb.jl(K?-m:m,T?-n:n,0);B=a.qb.jd;z=a.qb.cg;E=[];E.length=z;for(l=0;l<z;l++)E[l]=d.B(B[2*l]-Y,B[2*l+1]-F);K!==T&&E.reverse();Y=Ff(E,m*n);for(l=0;l<z;l++)d.Wc(E[l]);if(Y.length)for(l=0,m=Y.length;l<m;l++){E=Y[l];n=0;for(z=E.length;n<z;n++)F=E[n],F.x*=.02,F.y*=.02;y.shape=new g;y.shape.No(E,E.length);this.body.Hm(y);n=0;for(z=E.length;n<z;n++)d.Wc(E[n])}else y.shape=new g,y.shape.tr(.01*m,.01*n),this.body.Hm(y)}else 1===l?(y.shape=new g,y.shape.tr(.01*
  673. m,.01*n)):y.shape=new h(.01*Math.min(m,n)),this.body.Hm(y);a.ra.Rf=this.body;this.rx=a.width;this.mx=a.height;if(b)for(this.body.Wj(c),this.body.Rm(k),d.Wc(c),this.Cy(),E=this.hj.yh(),l=0,m=E.length;l<m;l++)y=E[l].ra.Rf.Jh,y.Cy();q.length=0}};m.sc=function(){if(this.enabled){var a=this.j,b;0===this.behavior.gE?b=this.c.vh/60:(b=this.c.Rh(this.j),b>1/30&&(b=1/30));this.c.uh>this.behavior.qx&&0<this.c.vh&&(this.uf.Hi(b,this.behavior.ro,this.behavior.ao),this.uf.yz(),this.behavior.qx=this.c.uh);if(this.LD||
  674. a.width!==this.rx||a.height!==this.mx||a.Yb!==this.ix||a.ta!==this.jx||a.Hj&&a.ED)this.ds(),this.LD=!1,this.ix=a.Yb,this.jx=a.ta,a.Hj&&a.ED&&(a.ED=!1);b=a.K!==this.Fe;if(a.x!==this.Qc||a.y!==this.Ad){a.Jb();var c=a.nc.Ck(),e=a.nc.Dk(),f=c-this.Qc,g=e-this.Ad;this.body.xv(d.B(.02*c,.02*e));this.body.Wj(d.B(f,g));this.zn=!0;this.body.Nc(!0)}else this.zn&&(this.zn=!1,this.body.Wj(d.B(0,0)),this.body.xv(d.B(.02*a.nc.Ck(),.02*a.nc.Dk())));b&&(this.body.Mo(a.K),this.body.Nc(!0));c=this.body.I.position;
  675. b=c.x/.02;c=c.y/.02;e=this.body.Me();if(b!==a.x||c!==a.y||e!==a.K)if(a.x=b,a.y=c,a.K=e,a.Ea(),a.Jb(),b=a.nc.Ck()-a.x,c=a.nc.Dk()-a.y,0!==b||0!==c)a.x-=b,a.y-=c,a.Ea();this.Qc=a.x;this.Ad=a.y;this.Fe=a.K}};m.xl=function(a){return-1!==a&&this.j.Cf?0===a&&this.body?(this.body.I.position.x+this.body.Xk().x)/.02:this.j.Cf(a,!0):this.j.x};m.yl=function(a){return-1!==a&&this.j.Cf?0===a&&this.body?(this.body.I.position.y+this.body.Xk().y)/.02:this.j.Cf(a,!1):this.j.y};a.prototype.fG=function(){return this.enabled?
  676. !this.body.ne():!1};k.C=new a;c.prototype.Ng=function(a,b,c){if(this.enabled){var e=this.xl(c);c=this.yl(c);this.body.Ng(d.B(a,b),d.B(.02*e,.02*c))}};c.prototype.UE=function(a,b,c){if(this.enabled){b=u(b);var e=this.xl(c);c=this.yl(c);this.body.Ng(d.B(Math.cos(b)*a,Math.sin(b)*a),d.B(.02*e,.02*c))}};c.prototype.Pq=function(a,b,c){if(this.enabled){var e=this.xl(c);c=this.yl(c);this.body.Pq(d.B(a,b),d.B(.02*e,.02*c));this.zn=!1;this.Qc=this.j.x;this.Ad=this.j.y}};c.prototype.VE=function(a,b,c,e){if(this.enabled){var f=
  677. this.xl(e);e=this.yl(e);b=Na(f,e,b,c);this.body.Pq(d.B(Math.cos(b)*a,Math.sin(b)*a),d.B(.02*f,.02*e));this.zn=!1;this.Qc=this.j.x;this.Ad=this.j.y}};c.prototype.Qq=function(a){this.enabled&&this.body.Qq(u(a))};c.prototype.Rm=function(a){this.enabled&&(this.body.Rm(u(a)),this.body.Nc(!0))};m.DJ=function(a,b,c,e,f){if(this.enabled&&(b=this.c.ah(b))&&b!=this.j&&b.ra.Rf){b.ra.Rf.Jh.hj.add(this.j);var g=this.xl(a);a=this.yl(a);var h;b.Cf?(h=b.Cf(c,!0),c=b.Cf(c,!1)):(h=b.x,c=b.y);var k=g-h,m=a-c,n=new l;
  678. n.Xc(this.body,b.ra.Rf,d.B(.02*g,.02*a),d.B(.02*h,.02*c));n.length=.02*Math.sqrt(k*k+m*m);n.ls=e;n.Ds=f;this.Hf.push(this.uf.Vq(n))}};c.prototype.uF=function(a,b){if(b&&this.enabled){var c=b.op(this.j);c&&c!=this.j&&c.ra.Rf&&(this.ag.push({type:1,xb:[a,c.uid]}),this.OB(a,c.uid))}};m.OB=function(a,b){if(this.enabled){var c=this.c.ah(b);if(c&&c!=this.j&&c.ra.Rf){c.ra.Rf.Jh.hj.add(this.j);var e=this.xl(a),f=this.yl(a),g=new n;g.Xc(this.body,c.ra.Rf,d.B(.02*e,.02*f));this.Hf.push(this.uf.Vq(g))}}};m.EJ=
  679. function(a,b,c,e){if(this.enabled&&(b=this.c.ah(b))&&b!=this.j&&b.ra.Rf){b.ra.Rf.Jh.hj.add(this.j);var f=this.xl(a);a=this.yl(a);var g=new n;g.Xc(this.body,b.ra.Rf,d.B(.02*f,.02*a));g.rl=!0;g.Gx=u(c);g.iz=u(e);this.Hf.push(this.uf.Vq(g))}};c.prototype.LH=function(a){this.behavior.gE=a};c.prototype.zH=function(a,b){1>a&&(a=1);1>b&&(b=1);this.behavior.ro=a;this.behavior.ao=b};c.prototype.TH=function(a,b){this.enabled&&(this.body.Wj(d.B(.02*a,.02*b)),this.body.Nc(!0),this.zn=!1,this.Qc=this.j.x,this.Ad=
  680. this.j.y)};c.prototype.yH=function(a){this.enabled&&this.pn!==(0!==a)&&(this.pn=0!==a,this.body.LA(this.pn?0:2),this.body.Nc(!0))};c.prototype.IH=function(a){this.enabled&&this.bo!==(0!==a)&&(this.bo=0!==a,this.body.EA(this.bo),this.body.tj=0,this.body.Rm(0),this.body.Nc(!0))};c.prototype.Sm=function(a){this.enabled&&0===a?(this.KB(),this.enabled=!1):this.enabled||1!==a||(this.enabled=!0,this.ds())};k.G=new c;b.prototype.pI=function(a){a.V(this.enabled?this.body.Fi().x/.02:0)};b.prototype.qI=function(a){a.V(this.enabled?
  681. this.body.Fi().y/.02:0)};k.H=new b})();function If(a){this.c=a}
  682. (function(){function a(){}function c(){}function b(){}var d=If.prototype;d.ua=function(a){this.behavior=a;this.c=a.c};d.ua.prototype.ka=function(){};d.la=function(a,b){this.type=a;this.behavior=a.behavior;this.j=b;this.c=a.c};var e=d.la.prototype;e.ka=function(){this.Uc=null;this.It=-1;this.mode=this.Fe=this.su=this.Tn=this.yj=this.mq=0;var a=this;this.ke||(this.Ek=function(b){a.qm(b)});this.c.Zo(this.Ek)};e.kc=function(){return{uid:this.Uc?this.Uc.uid:-1,pa:this.mq,pd:this.yj,msa:this.Tn,tsa:this.su,
  683. lka:this.Fe,m:this.mode}};e.Bc=function(a){this.It=a.uid;this.mq=a.pa;this.yj=a.pd;this.Tn=a.msa;this.su=a.tsa;this.Fe=a.lka;this.mode=a.m};e.mg=function(){this.Uc=-1===this.It?null:this.c.ah(this.It);this.It=-1};e.qm=function(a){this.Uc==a&&(this.Uc=null)};e.wj=function(){this.Uc=null;this.c.Dy(this.Ek)};e.sc=function(){};e.jo=function(){if(this.Uc){this.Fe!==this.j.K&&(this.Tn=Ja(this.Tn+(this.j.K-this.Fe)));var a=this.j.x,b=this.j.y;if(3===this.mode||4===this.mode){var c=Sa(this.j.x,this.j.y,this.Uc.x,
  684. this.Uc.y);if(c>this.yj||4===this.mode&&c<this.yj)b=Na(this.Uc.x,this.Uc.y,this.j.x,this.j.y),a=this.Uc.x+Math.cos(b)*this.yj,b=this.Uc.y+Math.sin(b)*this.yj}else a=this.Uc.x+Math.cos(this.Uc.K+this.mq)*this.yj,b=this.Uc.y+Math.sin(this.Uc.K+this.mq)*this.yj;this.Fe=c=Ja(this.Tn+(this.Uc.K-this.su));0!==this.mode&&1!==this.mode&&3!==this.mode&&4!==this.mode||this.j.x===a&&this.j.y===b||(this.j.x=a,this.j.y=b,this.j.Ea());0!==this.mode&&2!==this.mode||this.j.K===c||(this.j.K=c,this.j.Ea())}};a.prototype.cG=
  685. function(){return!!this.Uc};d.C=new a;c.prototype.XG=function(a,b){if(a){var c=a.op(this.j);c&&(this.Uc=c,this.mq=Na(c.x,c.y,this.j.x,this.j.y)-c.K,this.yj=Sa(c.x,c.y,this.j.x,this.j.y),this.Fe=this.Tn=this.j.K,this.su=c.K,this.mode=b)}};c.prototype.mI=function(){this.Uc=null};d.G=new c;b.prototype.YG=function(a){a.ja(this.Uc?this.Uc.uid:-1)};d.H=new b})();function Jf(a){this.c=a}
  686. (function(){function a(){}function c(){}function b(){}var d=Jf.prototype;d.ua=function(a){this.behavior=a;this.c=a.c};d.ua.prototype.ka=function(){};d.la=function(a,b){this.type=a;this.behavior=a.behavior;this.j=b;this.c=a.c};var e=d.la.prototype;e.ka=function(){this.enabled=1==this.T[0];this.ke||(this.move={max:0,acc:0,dec:0});this.move.max=this.T[1];this.move.acc=this.T[2];this.move.dec=this.T[3];this.ke||(this.target={x:0,y:0,a:0});this.Ll=!1;this.vm=this.Ui=0;this.Dp=!1;this.ke||(this.Hh={x:0,
  687. y:0});this.Hh.x=0;this.Hh.y=0;this.ke||(this.jg={x:0,y:0,a:-1});this.jg.x=0;this.jg.y=0;this.jg.a=-1;this.Cr=null;this.gx=!1};e.sc=function(){this.Dp&&(this.j.x==this.target.x&&this.j.y==this.target.y&&(this.gx=!0,this.c.trigger(Jf.prototype.C.gA,this.j),this.gx=!1),this.Dp=!1);if(this.enabled&&this.Ll){var a=this.c.Rh(this.j);if(0!=a){this.Hh.x==this.j.x&&this.Hh.y==this.j.y||this.$A();var b=!1;0!=this.move.dec&&(b=this.Ui,b=b*b/(2*this.move.dec)>=this.vm);b=b?-this.move.dec:this.move.acc;0!=b&&
  688. this.$k(this.Ui+b*a);a*=this.Ui;this.vm-=a;0>=this.vm||0>=this.Ui?(this.Ll=!1,this.j.x=this.target.x,this.j.y=this.target.y,this.$k(0),this.xM(),this.Dp=!0):(b=this.target.a,this.j.x+=a*Math.cos(b),this.j.y+=a*Math.sin(b));this.j.Ea();this.Hh.x=this.j.x;this.Hh.y=this.j.y}}};e.jo=function(){this.jg.x=this.j.x;this.jg.y=this.j.y};e.$k=function(a){null!=a?this.Ui=a>this.move.max?this.move.max:a:0==this.move.acc&&(this.Ui=this.move.max)};e.$A=function(){var a=this.target.x-this.j.x,b=this.target.y-this.j.y;
  689. this.target.a=Math.atan2(b,a);this.vm=Math.sqrt(a*a+b*b);this.Hh.x=this.j.x;this.Hh.y=this.j.y};e.Av=function(a,b){this.Ll=!0;this.target.x=a;this.target.y=b;this.$A();this.$k(null);this.jg.x=this.j.x;this.jg.y=this.j.y};e.GL=function(){var a=this.c.uh,b=this.Cr!=a;this.Cr=a;return b};e.xM=function(){if(this.GL()){var a=this.j.x-this.jg.x,b=this.j.y-this.jg.y;if(0!=a||0!=b)this.jg.a=La(Math.atan2(b,a))}};e.kc=function(){return{en:this.enabled,v:this.move,t:this.target,is_m:this.Ll,c_spd:this.Ui,rd:this.vm,
  690. is_ht:this.Dp,pp:this.Hh,ma:this.jg,lt:this.Cr}};e.Bc=function(a){this.enabled=a.en;this.move=a.v;this.target=a.t;this.Ll=a.is_m;this.Ui=a.c_spd;this.vm=a.rd;this.Dp=a.is_ht;this.Hh=a.pp;this.jg=a.ma;this.Cr=a.lt};d.C=new a;a.prototype.gA=function(){return this.gx};a.prototype.YF=function(){return this.enabled&&this.Ll};d.G=new c;c.prototype.Sm=function(a){this.enabled=1===a};c.prototype.CH=function(a){this.move.max=a;this.$k(null)};c.prototype.Av=function(a,b){this.Av(a,b)};c.prototype.$k=function(a){this.$k(a)};
  691. c.prototype.Um=function(){this.Ll=!1};d.H=new b;b.prototype.Ev=function(a){a.V(this.Ui)}})();function Kf(a){this.c=a}
  692. (function(){function a(){}function c(){}var b=Kf.prototype;b.ua=function(a){this.behavior=a;this.c=a.c};b.ua.prototype.ka=function(){};b.la=function(a,b){this.type=a;this.behavior=a.behavior;this.j=b;this.c=a.c};var d=b.la.prototype;d.ka=function(){this.speed=u(this.T[0]);this.Ki=u(this.T[1])};d.kc=function(){return{speed:this.speed,acc:this.Ki}};d.Bc=function(a){this.speed=a.speed;this.Ki=a.acc};d.sc=function(){var a=this.c.Rh(this.j);0!==a&&(0!==this.Ki&&(this.speed+=this.Ki*a),0!==this.speed&&
  693. (this.j.K=Ja(this.j.K+this.speed*a),this.j.Ea()))};b.C=new function(){};a.prototype.JA=function(a){this.speed=u(a)};b.G=new a;c.prototype.Ev=function(a){a.V(Ha(this.speed))};b.H=new c})();function Lf(a){this.c=a}
  694. (function(){function a(){}function c(){}function b(){}var d=Lf.prototype;d.ua=function(a){this.behavior=a;this.c=a.c};d.ua.prototype.ka=function(){};d.la=function(a,b){this.type=a;this.behavior=a.behavior;this.j=b;this.c=a.c;this.ga=0};var e=d.la.prototype,f=2*Math.PI,g=Math.PI/2,h=3*Math.PI/2;e.ka=function(){this.ea=1===this.T[0];this.Rn=this.T[1];this.rz=this.T[2];this.xj=this.T[3];this.xj+=Math.random()*this.T[4];0===this.xj?this.ga=0:(this.ga=this.T[5]/this.xj*f,this.ga+=Math.random()*this.T[6]/
  695. this.xj*f);this.ge=this.T[7];this.ge+=Math.random()*this.T[8];this.je=this.El=this.Db=0;this.init()};e.kc=function(){return{i:this.ga,a:this.ea,mv:this.Rn,w:this.rz,p:this.xj,mag:this.ge,iv:this.Db,iv2:this.El,r:this.je,lkv:this.bb,lkv2:this.Pd}};e.Bc=function(a){this.ga=a.i;this.ea=a.a;this.Rn=a.mv;this.rz=a.w;this.xj=a.p;this.ge=a.mag;this.Db=a.iv;this.El=a.iv2||0;this.je=a.r;this.bb=a.lkv;this.Pd=a.lkv2||0};e.init=function(){switch(this.Rn){case 0:this.Db=this.j.x;break;case 1:this.Db=this.j.y;
  696. break;case 2:this.Db=this.j.width;this.je=this.j.height/this.j.width;break;case 3:this.Db=this.j.width;break;case 4:this.Db=this.j.height;break;case 5:this.Db=this.j.K;this.ge=u(this.ge);break;case 6:this.Db=this.j.opacity;break;case 7:this.Db=0;break;case 8:this.Db=this.j.x,this.El=this.j.y}this.bb=this.Db;this.Pd=this.El};e.Bi=function(a){a%=f;switch(this.rz){case 0:return Math.sin(a);case 1:return a<=g?a/g:a<=h?1-2*(a-g)/Math.PI:(a-h)/g-1;case 2:return 2*a/f-1;case 3:return-2*a/f+1;case 4:return a<
  697. Math.PI?-1:1}return 0};e.sc=function(){var a=this.c.Rh(this.j);if(this.ea&&0!==a){0===this.xj?this.ga=0:(this.ga+=a/this.xj*f,this.ga%=f);switch(this.Rn){case 0:this.j.x!==this.bb&&(this.Db+=this.j.x-this.bb);this.j.x=this.Db+this.Bi(this.ga)*this.ge;this.bb=this.j.x;break;case 1:this.j.y!==this.bb&&(this.Db+=this.j.y-this.bb);this.j.y=this.Db+this.Bi(this.ga)*this.ge;this.bb=this.j.y;break;case 2:this.j.width=this.Db+this.Bi(this.ga)*this.ge;this.j.height=this.j.width*this.je;break;case 3:this.j.width=
  698. this.Db+this.Bi(this.ga)*this.ge;break;case 4:this.j.height=this.Db+this.Bi(this.ga)*this.ge;break;case 5:this.j.K!==this.bb&&(this.Db=Ja(this.Db+(this.j.K-this.bb)));this.j.K=Ja(this.Db+this.Bi(this.ga)*this.ge);this.bb=this.j.K;break;case 6:this.j.opacity=this.Db+this.Bi(this.ga)*this.ge/100;0>this.j.opacity?this.j.opacity=0:1<this.j.opacity&&(this.j.opacity=1);break;case 8:this.j.x!==this.bb&&(this.Db+=this.j.x-this.bb),this.j.y!==this.Pd&&(this.El+=this.j.y-this.Pd),this.j.x=this.Db+Math.cos(this.j.K)*
  699. this.Bi(this.ga)*this.ge,this.j.y=this.El+Math.sin(this.j.K)*this.Bi(this.ga)*this.ge,this.bb=this.j.x,this.Pd=this.j.y}this.j.Ea()}};e.rD=function(a,b){switch(this.Rn){case 2:this.Db*=b.width/a.width;this.je=b.height/b.width;break;case 3:this.Db*=b.width/a.width;break;case 4:this.Db*=b.height/a.height}};a.prototype.Og=function(){return this.ea};d.C=new a;c.prototype.sr=function(a){this.ea=1===a};c.prototype.BH=function(a){this.ge=a;5===this.Rn&&(this.ge=u(this.ge))};d.G=new c;b.prototype.Kv=function(a){a.V(this.Bi(this.ga)*
  700. this.ge)};d.H=new b})();var Mf=[],Nf=[],Of=[],Pf=[],Qf=[],Rf=[],Sf=[],Tf=[],Uf=[];function Vf(a,c){return Math.round(a/c*1E4)}
  701. function Wf(a,c,b){switch(a){case 0:return 1*c/b+0;case 1:return 1*(c/=b)*c+0;case 2:return-1*(c/=b)*(c-2)+0;case 3:return 1>(c/=b/2)?.5*c*c+0:-.5*(--c*(c-2)-1)+0;case 4:return 1*(c/=b)*c*c+0;case 5:return 1*((c=c/b-1)*c*c+1)+0;case 6:return 1>(c/=b/2)?.5*c*c*c+0:.5*((c-=2)*c*c+2)+0;case 7:return 1*(c/=b)*c*c*c+0;case 8:return-1*((c=c/b-1)*c*c*c-1)+0;case 9:return 1>(c/=b/2)?.5*c*c*c*c+0:-.5*((c-=2)*c*c*c-2)+0;case 10:return 1*(c/=b)*c*c*c*c+0;case 11:return 1*((c=c/b-1)*c*c*c*c+1)+0;case 12:return 1>
  702. (c/=b/2)?.5*c*c*c*c*c+0:.5*((c-=2)*c*c*c*c+2)+0;case 13:return Qf[Vf(c,b)];case 14:return Rf[Vf(c,b)];case 15:return Sf[Vf(c,b)];case 16:return a=0,0==a&&(a=1.70158),1*(c/=b)*c*((a+1)*c-a)+0;case 17:return Tf[Vf(c,b)];case 18:return Uf[Vf(c,b)];case 19:return Nf[Vf(c,b)];case 20:return Of[Vf(c,b)];case 21:return Pf[Vf(c,b)];case 22:return 1-Mf[Vf(b-c,b)]+0;case 23:return Mf[Vf(c,b)];case 24:return c<b/2?.5*(1-Mf[Vf(b-2*c,b)]+0)+0:.5*Mf[Vf(2*c-b,b)]+.5;case 25:return c=c/b/2,2*c*c*(3-2*c);case 26:return c=
  703. (c/b+1)/2,2*c*c*(3-2*c)-1;case 27:return c/=b,c*c*(3-2*c)}return 0}
  704. for(var Xf=0,Zf=0,$f=0,W=0,ag=0,bg=0;1E4>=bg;bg++){W=bg/1E4;(W/=1)<1/2.75||(W<2/2.75?W-=1.5/2.75:W<2.5/2.75?W-=2.25/2.75:W-=2.625/2.75);var cg,dg=bg/1E4;cg=(dg/=1)<1/2.75?7.5625*dg*dg+0:dg<2/2.75?1*(7.5625*(dg-=1.5/2.75)*dg+.75)+0:dg<2.5/2.75?1*(7.5625*(dg-=2.25/2.75)*dg+.9375)+0:1*(7.5625*(dg-=2.625/2.75)*dg+.984375)+0;Mf[bg]=cg;W=bg/1E4;$f=Zf=0;W/=1;0==$f&&($f=.3);0==Zf||Zf<Math.abs(1)?(Zf=1,ag=$f/4):ag=$f/(2*Math.PI)*Math.asin(1/Zf);Xf=-(Zf*Math.pow(2,10*--W)*Math.sin(2*(1*W-ag)*Math.PI/$f))+0;
  705. Nf[bg]=Xf;W=bg/1E4;$f=Zf=0;W/=1;0==$f&&($f=.3);0==Zf||Zf<Math.abs(1)?(Zf=1,ag=$f/4):ag=$f/(2*Math.PI)*Math.asin(1/Zf);Xf=Zf*Math.pow(2,-10*W)*Math.sin(2*(1*W-ag)*Math.PI/$f)+1;Of[bg]=Xf;W=bg/1E4;$f=Zf=0;W/=.5;0==$f&&($f=.3*1.5);0==Zf||Zf<Math.abs(1)?(Zf=1,ag=$f/4):ag=$f/(2*Math.PI)*Math.asin(1/Zf);Xf=1>W?-.5*Zf*Math.pow(2,10*--W)*Math.sin(2*(1*W-ag)*Math.PI/$f)+0:Zf*Math.pow(2,-10*--W)*Math.sin(2*(1*W-ag)*Math.PI/$f)*.5+1;Pf[bg]=Xf;W=bg/1E4;Qf[bg]=-(Math.sqrt(1-W*W)-1);W=bg/1E4;Rf[bg]=Math.sqrt(1-
  706. (W-1)*(W-1));W=bg/1E4;Xf=1>(W/=.5)?-.5*(Math.sqrt(1-W*W)-1)+0:.5*(Math.sqrt(1-(W-=2)*W)+1)+0;Sf[bg]=Xf;W=bg/1E4;ag=0;0==ag&&(ag=1.70158);Xf=1*((W=W/1-1)*W*((ag+1)*W+ag)+1)+0;Tf[bg]=Xf;W=bg/1E4;ag=0;0==ag&&(ag=1.70158);1>(W/=.5)&&(ag*=1.525);Xf=.5*((W-=2)*W*(((ag*=1.525)+1)*W+ag)+2)+0;Uf[bg]=Xf}function eg(a,c,b,d,e,f,g){this.name=a;this.value=0;this.eu(d);this.Ny(e);this.lw=b;this.Y=c;this.duration=f;this.state=this.Rb=0;this.Ft=this.Gt=this.mh=this.Xn=!1;this.Pd=this.bb=0;this.Sf=g;this.um=1}
  707. eg.prototype={};eg.prototype.eu=function(a){this.$b=parseFloat(a.split(",")[0]);this.We=parseFloat(a.split(",")[1]);this.Pd=this.bb=0};eg.prototype.Ny=function(a){this.Sb=parseFloat(a.split(",")[0]);this.Sd=parseFloat(a.split(",")[1]);isNaN(this.Sd)&&(this.Sd=this.Sb)};
  708. eg.prototype.kv=function(a){if(0===this.state)return-1;1===this.state&&(this.Rb+=a);2===this.state&&(this.Rb-=a);3===this.state&&(this.state=0);4===this.state&&(this.Rb+=a*this.um);5===this.state&&(this.Rb+=a*this.um);return 0>this.Rb?(this.Rb=0,4!==this.state?this.state=0:this.um=1,this.Ft=!0,0):this.Rb>this.duration?(this.Rb=this.duration,4===this.state?this.um=-1:5===this.state?this.Rb=0:this.state=0,this.mh=!0,1):Wf(this.lw,this.Rb,this.duration)};
  709. function fg(a){return a.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function gg(a){this.c=a}
  710. (function(){var a=gg.prototype;a.ua=function(a){this.behavior=a;this.c=a.c};a.ua.prototype.ka=function(){};a.la=function(a,c){this.type=a;this.behavior=a.behavior;this.j=c;this.c=a.c;this.ga=0};var c=a.la.prototype;c.ka=function(){this.ea=this.T[0];this.Y=this.T[1];this.ql=this.T[2];this.target=this.T[3];this.kE=this.T[4];1===this.kE&&(this.target="relative("+this.target+")");this.duration=this.T[5];this.Sf=1===this.T[6];this.j.value=0;this.Na={};this.hB(this.Y,this.ql,"current",this.target,this.duration,
  711. this.Sf);1===this.ea&&this.lu(0);2===this.ea&&this.lu(2);3===this.ea&&this.lu(3)};c.rm=function(a,c){void 0===c&&(c="current");var e=fg(c);c=fg(c);if("current"===c)switch(a){case 0:e=this.j.x+","+this.j.y;break;case 1:e=this.j.width+","+this.j.height;break;case 2:e=this.j.width+","+this.j.height;break;case 3:e=this.j.width+","+this.j.height;break;case 4:e=Ha(this.j.K)+","+Ha(this.j.K);break;case 5:e=100*this.j.opacity+","+100*this.j.opacity;break;case 6:e=this.j.value+","+this.j.value;break;case 7:e=
  712. this.j.x+","+this.j.y;break;case 8:e=this.j.x+","+this.j.y}if("relative"===c.substring(0,8)){var f=c.match(/\((.*?)\)/);if(f)var g=parseFloat(f[1].split(",")[0]),h=parseFloat(f[1].split(",")[1]);isNaN(g)&&(g=0);isNaN(h)&&(h=0);switch(a){case 0:e=this.j.x+g+","+(this.j.y+h);break;case 1:e=this.j.width+g+","+(this.j.height+h);break;case 2:e=this.j.width+g+","+(this.j.height+h);break;case 3:e=this.j.width+g+","+(this.j.height+h);break;case 4:e=Ha(this.j.K)+g+","+(Ha(this.j.K)+h);break;case 5:e=100*this.j.opacity+
  713. g+","+(100*this.j.opacity+h);break;case 6:e=this.j.value+g+","+this.j.value+g;break;case 7:e=this.j.x+g+","+this.j.y;break;case 8:e=this.j.x+","+(this.j.y+g)}}return e};c.hB=function(a,c,e,f,g,h){e=this.rm(a,e);f=this.rm(a,f);void 0!==this.Na["default"]&&delete this.Na["default"];this.Na["default"]=new eg("default",a,c,e,f,g,h)};c.kc=function(){};c.Bc=function(){};c.qN=function(a){1<a&&(a=1);0>a&&(a=0);for(var c in this.Na){var e=this.Na[c];e.bb=0;e.Pd=0;e.state=3;e.Rb=a*e.duration;var f=e.kv(0);
  714. this.fz(e,f)}};c.lu=function(a){for(var c in this.Na){var e=this.Na[c];0===a&&(e.Rb=1E-6,e.bb=0,e.Pd=0,e.Xn=!0,e.state=1);1===a&&(e.state=1);2===a&&(e.Rb=1E-6,e.bb=0,e.Pd=0,e.Xn=!0,e.state=4);3===a&&(e.Rb=1E-6,e.bb=0,e.Pd=0,e.Xn=!0,e.state=5)}};c.yN=function(a){for(var c in this.Na){var e=this.Na[c];1===a&&(e.Rb=0);2===a&&(e.Rb=e.duration);e.state=3;var f=e.kv(0);this.fz(e,f)}};c.eN=function(a){for(var c in this.Na){var e=this.Na[c];1===a&&(e.Rb=e.duration,e.bb=0,e.Pd=0,e.Gt=!0);e.state=2}};c.fz=
  715. function(a,c){if(0===a.Y)a.Sf?(this.j.x=a.$b+(a.Sb-a.$b)*c,this.j.y=a.We+(a.Sd-a.We)*c):(this.j.x+=(a.Sb-a.$b)*c-a.bb,this.j.y+=(a.Sd-a.We)*c-a.Pd,a.bb=(a.Sb-a.$b)*c,a.Pd=(a.Sd-a.We)*c);else if(1===a.Y)a.Sf?(this.j.width=a.$b+(a.Sb-a.$b)*c,this.j.height=a.We+(a.Sd-a.We)*c):(this.j.width+=(a.Sb-a.$b)*c-a.bb,this.j.height+=(a.Sd-a.We)*c-a.Pd,a.bb=(a.Sb-a.$b)*c,a.Pd=(a.Sd-a.We)*c);else if(2===a.Y)a.Sf?this.j.width=a.$b+(a.Sb-a.$b)*c:(this.j.width+=(a.Sb-a.$b)*c-a.bb,a.bb=(a.Sb-a.$b)*c);else if(3===a.Y)a.Sf?
  716. this.j.height=a.We+(a.Sd-a.We)*c:(this.j.height+=(a.Sd-a.We)*c-a.Pd,a.Pd=(a.Sd-a.We)*c);else if(4===a.Y)if(a.Sf){var e=a.$b+(a.Sb-a.$b)*c;this.j.K=Ja(u(e))}else e=(a.Sb-a.$b)*c-a.bb,this.j.K=Ja(this.j.K+u(e)),a.bb=(a.Sb-a.$b)*c;else 5===a.Y?a.Sf?this.j.opacity=(a.$b+(a.Sb-a.$b)*c)/100:(this.j.opacity+=((a.Sb-a.$b)*c-a.bb)/100,a.bb=(a.Sb-a.$b)*c):6===a.Y?a.Sf?this.j.value=a.$b+(a.Sb-a.$b)*c:(this.j.value+=(a.Sb-a.$b)*c-a.bb,a.bb=(a.Sb-a.$b)*c):7===a.Y?a.Sf?this.j.x=a.$b+(a.Sb-a.$b)*c:(this.j.x+=(a.Sb-
  717. a.$b)*c-a.bb,a.bb=(a.Sb-a.$b)*c):8===a.Y&&(a.Sf?this.j.y=a.We+(a.Sd-a.We)*c:(this.j.y+=(a.Sd-a.We)*c-a.Pd,a.Pd=(a.Sd-a.We)*c));this.j.Ea()};c.sc=function(){var a=this.c.Rh(this.j),c=this.Na["default"];0!==c.state&&(c.Xn&&(this.c.trigger(gg.prototype.C.jv,this.j),c.Xn=!1),c.Gt&&(this.c.trigger(gg.prototype.C.MG,this.j),c.Gt=!1),a=c.kv(a),this.fz(c,a),c.mh&&(this.c.trigger(gg.prototype.C.ir,this.j),c.mh=!1),c.Ft&&(this.c.trigger(gg.prototype.C.LG,this.j),c.Ft=!1))};a.C={};c=a.C;c.Og=function(){return 0!==
  718. this.Na["default"].state};c.Bz=function(a,c){var e=this.Na["default"];return dc(e.Rb/e.duration,a,c)};c.jv=function(){return void 0===this.Na["default"]?!1:this.Na["default"].Xn};c.MG=function(){return void 0===this.Na["default"]?!1:this.Na["default"].Gt};c.ir=function(){return void 0===this.Na["default"]?!1:this.Na["default"].mh};c.LG=function(){return void 0===this.Na["default"]?!1:this.Na["default"].Ft};a.G={};c=a.G;c.xr=function(a){this.lu(a)};c.Um=function(a){this.yN(a)};c.qr=function(a){this.eN(a)};
  719. c.DO=function(a){this.qN(a)};c.DA=function(a){isNaN(a)||0>a||void 0===this.Na["default"]||(this.Na["default"].duration=a)};c.RO=function(a){void 0!==this.Na["default"]&&(this.Na["default"].Sf=1===a)};c.uv=function(a){void 0!==this.Na["default"]&&(a=this.rm(this.Na["default"].Y,a),this.Na["default"].eu(a))};c.zv=function(a,c,e){if(void 0!==this.Na["default"]&&!isNaN(e)){var f=e+"",g=this.Na["default"];this.kE=c;if(1===c)switch(a){case 0:f=this.j.x+e+","+g.Sd;break;case 1:f=g.Sb+","+(this.j.y+e);break;
  720. case 2:f=""+Ha(this.j.K+u(e));break;case 3:f=""+100*this.j.opacity+e;break;case 4:f=this.j.width+e+","+g.Sd;break;case 5:f=g.Sb+","+(this.j.height+e);break;case 6:f=e+","+e}else switch(a){case 0:f=e+","+g.Sd;break;case 1:f=g.Sb+","+e;break;case 2:f=e+","+e;break;case 3:f=e+","+e;break;case 4:f=e+","+g.Sd;break;case 5:f=g.Sb+","+e;break;case 6:f=e+","+e}a=this.rm(this.Na["default"].Y,"current");f=this.rm(this.Na["default"].Y,f);g.eu(a);g.Ny(f)}};c.PH=function(a){void 0!==this.Na["default"]&&(this.Na["default"].Y=
  721. a)};c.tH=function(a){void 0!==this.Na["default"]&&(this.Na["default"].lw=a)};c.RH=function(a){this.j.value=a};c.FH=function(a,c,e,f,g){if(void 0===this.Na["default"])this.hB(a,c,initial,e,f,g);else{var h=this.Na["default"];h.Y=a;h.lw=c;h.eu(this.rm(a,"current"));h.Ny(this.rm(a,e));h.duration=f;h.Sf=1===g}};a.H={};a=a.H;a.cH=function(a){a.V(this.Na["default"].Rb/this.Na["default"].duration)};a.Nu=function(a){a.V(this.Na["default"].duration)};a.TA=function(a){var c=this.Na["default"],e="N/A";switch(c.Y){case 0:e=
  722. c.Sb;break;case 1:e=c.Sd;break;case 2:e=c.Sb;break;case 3:e=c.Sb;break;case 4:e=c.Sb;break;case 5:e=c.Sd;break;case 6:e=c.Sb}a.V(e)};a.Kv=function(a){a.V(this.j.value)}})();function fg(a){return a.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function hg(a){this.c=a}
  723. (function(){function a(a,b){return(a/=b)<1/2.75?7.5625*a*a+0:a<2/2.75?1*(7.5625*(a-=1.5/2.75)*a+.75)+0:a<2.5/2.75?1*(7.5625*(a-=2.25/2.75)*a+.9375)+0:1*(7.5625*(a-=2.625/2.75)*a+.984375)+0}var c=hg.prototype;c.ua=function(a){this.behavior=a;this.c=a.c};c.ua.prototype.ka=function(){};c.la=function(a,b){this.type=a;this.behavior=a.behavior;this.j=b;this.c=a.c;this.ga=0};var b=c.la.prototype;b.oP=function(a){1<a&&(a=1);ic[this.group]=-1;ic[this.group]=a;ic[this.group]>=a&&(ic[this.group]=a)};b.gC=function(){""!=
  724. this.group&&("undefined"===typeof jc&&(jc={},ic={}),"undefined"===typeof jc[this.group]&&(jc[this.group]=[],ic[this.group]=-1),-1==jc[this.group].indexOf(this)&&jc[this.group].push(this))};b.Jk=function(){this.fg=this.j.width;this.eg=this.j.height;this.lo=this.j.K;this.sE=this.j.opacity;this.Sk=this.j.x;this.Tk=this.j.y;this.Du=this.value};b.ka=function(){this.ea=1===this.T[0];this.Y=this.T[1];this.ql=this.T[2];this.fa=this.T[3];this.target=this.T[4];this.duration=this.T[5];this.Cm=this.T[6];this.Ma=
  725. this.T[7];this.value=this.T[8];this.Ce=this.T[9];this.xw=1===this.T[10];this.group=this.T[11];this.ff=null;this.qf=0;5==this.Ma&&(this.qf=1);this.gC();this.fj=!1;this.fb=this.j.x;this.zd=this.j.y;this.nb=parseFloat(this.target.split(",")[0]);this.kd=parseFloat(this.target.split(",")[1]);this.Jk();this.no=this.ve=this.Wb=this.md=this.ob=0;this.je=this.j.height/this.j.width;this.Yt=this.reverse=!1;this.$g=this.Zg=!0;this.loop=!1;this.oc=this.Nb=0;this.nx=this.Ma;this.Qc=this.bb=this.ob;this.Ad=this.md;
  726. this.xw&&this.init();""==this.fa&&(this.fa="current");this.dq=this.Wn=this.fq=this.mh=this.hq=this.Zn=this.gq=this.Yn=!1;this.ea&&this.init()};b.init=function(){this.Yn=!1;""===this.fa&&(this.fa="current");""===this.target&&(this.target="current");var a="current"===this.fa,b="current"===this.target,c="OBJ"===this.target;"OBJ"===this.target&&null!=this.ff&&(0==this.Y?this.target=1==this.Ce?this.ff.x-this.j.x+","+(this.ff.y-this.j.y):this.ff.x+","+this.ff.y:1==this.Y||2==this.Y||3==this.Y||7==this.Y?
  727. this.target=1==this.Ce?(2==this.Y?1:this.ff.width)+","+(3==this.Y?1:this.ff.height):(2==this.Y?1:this.ff.width/this.fg)+","+(3==this.Y?1:this.ff.height/this.eg):4==this.Y?this.target=1==this.Ce?Ha(this.ff.K-this.j.K)+"":Ha(this.ff.K)+"":5==this.Y&&(this.target=1==this.Ce?100*(this.ff.opacity-this.j.opacity)+"":100*this.ff.opacity+""));if(0==this.Y)b&&(this.target=this.j.x+","+this.j.y),a?this.fa=1==this.Ce?this.j.x+","+this.j.y:this.Sk+","+this.Tk:this.reverse||1==this.Ma||(this.j.x=parseFloat(this.fa.split(",")[0]),
  728. this.j.y=parseFloat(this.fa.split(",")[1])),1==this.Ce?(this.loop&&(this.j.x=this.Sk,this.j.y=this.Tk),this.fb=this.j.x,this.zd=this.j.y,this.reverse?(this.nb=-parseFloat(this.target.split(",")[0]),this.kd=-parseFloat(this.target.split(",")[1])):(this.nb=parseFloat(this.target.split(",")[0]),this.kd=parseFloat(this.target.split(",")[1])),this.ob=this.fb,this.md=this.zd,this.Wb=this.ob+this.nb,this.ve=this.md+this.kd):(this.reverse?(this.j.x=parseFloat(this.target.split(",")[0]),this.j.y=parseFloat(this.target.split(",")[1]),
  729. this.nb=this.Sk,this.kd=this.Tk):(this.j.x=this.Sk,this.j.y=this.Tk,this.nb=parseFloat(this.target.split(",")[0]),this.kd=parseFloat(this.target.split(",")[1])),this.fb=this.j.x,this.zd=this.j.y,this.ob=this.fb,this.md=this.zd,this.Wb=this.nb,this.ve=this.kd,-6==this.Ma&&(this.Wb=this.Sk,this.ve=this.Tk));else if(1==this.Y||2==this.Y||3==this.Y){b&&(this.target="1,1");"current"==this.fa&&(this.fa="1,1");this.fa=""+this.fa;this.target=""+this.target;2==this.Y?(-1==this.fa.indexOf(",")&&(this.fa=parseFloat(this.fa)+
  730. ",1"),-1==this.target.indexOf(",")&&(this.target=parseFloat(this.target)+",1")):3==this.Y?(-1==this.fa.indexOf(",")&&(this.fa="1,"+parseFloat(this.fa)),-1==this.target.indexOf(",")&&(this.target="1,"+parseFloat(this.target))):(-1==this.fa.indexOf(",")&&(this.fa=parseFloat(this.fa)+","+parseFloat(this.fa)),-1==this.target.indexOf(",")&&(this.target=parseFloat(this.target)+","+parseFloat(this.target)));var d=parseFloat(this.fa.split(",")[0]),l=parseFloat(this.fa.split(",")[1]);this.Zg=!0;var n=parseFloat(this.target.split(",")[0]);
  731. if(0==n||isNaN(n))this.Zg=!1;3==this.Y&&(this.Zg=!1);this.$g=!0;var k=parseFloat(this.target.split(",")[1]);if(0==k||isNaN(k))this.$g=!1;2==this.Y&&(this.$g=!1);1==this.Ce?(this.loop&&(this.j.width=this.fg,this.j.height=this.eg),a||(this.reverse?(this.j.width*=n,this.j.height*=k):(this.j.width*=d,this.j.height*=l)),this.fb=this.j.width,this.zd=this.j.height,this.ob=this.fb,this.md=this.zd,this.reverse?(this.nb=this.fb*d/n,this.kd=this.zd*l/k):(this.nb=this.fb*n,this.kd=this.zd*k)):(a||(this.reverse?
  732. (this.j.width=this.fg*n,this.j.height=this.eg*k):(this.j.width=this.fg*d,this.j.height=this.eg*l)),this.fb=this.j.width,this.zd=this.j.height,this.ob=this.fb,this.md=this.zd,this.reverse?(this.nb=this.fg*d,this.kd=this.eg*l):(this.nb=this.fg*n,this.kd=this.eg*k));this.Wb=this.nb;this.ve=this.kd;-6==this.Ma&&(this.Wb=this.fg*d,this.ve=this.eg*l)}else if(4==this.Y)b&&(this.target=Ha(this.j.K)),"current"==this.fa||this.reverse||1==this.Ma||(this.j.K=u(parseFloat(this.fa.split(",")[0]))),1==this.Ce?(this.loop&&
  733. (this.j.K=this.lo),this.fb=this.j.K,this.nb=this.reverse?this.j.K-u(parseFloat(this.target.split(",")[0])):this.j.K+u(parseFloat(this.target.split(",")[0]))):this.reverse?(this.j.K=u(parseFloat(this.target.split(",")[0])),this.fb=this.j.K,this.nb=this.lo):(this.j.K=this.lo,this.fb=this.j.K,this.nb=u(parseFloat(this.target.split(",")[0]))),this.ob=this.fb,this.Wb=Ha(this.nb),-6==this.Ma&&(this.Wb=Ha(this.lo)),this.no=u(this.Wb);else if(5==this.Y)"current"==this.fa&&(this.fa=this.j.opacity),b&&(this.target=
  734. ""+this.j.opacity),a||this.reverse||1==this.Ma||(this.j.opacity=parseFloat(this.fa.split(",")[0])/100),1==this.Ce?(this.loop&&(this.j.opacity=this.sE),this.ob=this.fb=this.j.opacity,this.nb=this.reverse?-parseFloat(this.target.split(",")[0])/100:parseFloat(this.target.split(",")[0])/100,this.Wb=this.ob+this.nb):(this.fb=this.j.opacity,this.reverse?(this.ob=parseFloat(this.target.split(",")[0])/100,this.nb=parseFloat(this.fa.split(",")[0])/100):(this.ob=this.fb,this.nb=parseFloat(this.target.split(",")[0])/
  735. 100),this.Wb=this.nb),-6==this.Ma&&(this.Wb=this.sE);else if(6==this.Y)isNaN(this.value)&&(this.value=0),"current"==this.fa&&(this.fa=""+this.value),b&&(this.target=""+this.value),a||this.reverse||1==this.Ma||(this.value=parseFloat(this.fa.split(",")[0])),1==this.Ce?(this.loop&&(this.value=this.Du),a||(this.value=this.reverse?parseFloat(this.target.split(",")[0]):parseFloat(this.fa.split(",")[0])),this.fb=this.value,this.nb=this.reverse?this.fb-parseFloat(this.target.split(",")[0]):this.fb+parseFloat(this.target.split(",")[0])):
  736. (a||(this.value=this.reverse?parseFloat(this.target.split(",")[0]):parseFloat(this.fa.split(",")[0])),this.fb=this.value,this.nb=this.reverse?parseFloat(this.fa.split(",")[0]):parseFloat(this.target.split(",")[0])),this.ob=this.fb,this.Wb=this.nb,-6==this.Ma&&(this.Wb=this.Du);else if(7==this.Y){b&&(this.target=this.j.width+","+this.j.height);"current"==this.fa||this.reverse||1==this.Ma||(this.j.width=parseFloat(this.fa.split(",")[0]),this.j.height=parseFloat(this.fa.split(",")[1]));this.Zg=!0;n=
  737. parseFloat(this.target.split(",")[0]);if(0>n||isNaN(n))this.Zg=!1;this.$g=!0;k=parseFloat(this.target.split(",")[1]);if(0>k||isNaN(k))this.$g=!1;1==this.Ce?(this.loop&&(this.j.width=this.fg,this.j.height=this.eg),this.fb=this.j.width,this.zd=this.j.height,this.reverse?(this.nb=this.fb-parseFloat(this.target.split(",")[0]),this.kd=this.zd-parseFloat(this.target.split(",")[1])):(this.nb=this.fb+parseFloat(this.target.split(",")[0]),this.kd=this.zd+parseFloat(this.target.split(",")[1]))):(a||(this.reverse?
  738. (this.j.width=parseFloat(this.target.split(",")[0]),this.j.height=parseFloat(this.target.split(",")[1])):(this.j.width=this.fg,this.j.height=this.eg)),this.fb=this.j.width,this.zd=this.j.height,this.reverse?(this.nb=this.fg,this.kd=this.eg):(this.nb=parseFloat(this.target.split(",")[0]),this.kd=parseFloat(this.target.split(",")[1])));this.ob=this.fb;this.md=this.zd;this.Wb=this.nb;this.ve=this.kd;-6==this.Ma&&(this.Wb=this.fg,this.ve=this.eg)}this.Qc=this.bb=this.ob;this.Ad=this.md;this.Nb=parseFloat(this.Cm.split(",")[0]);
  739. this.oc=parseFloat(this.Cm.split(",")[1]);if(0>this.Nb||isNaN(this.Nb))this.Nb=0;if(0>this.oc||isNaN(this.oc))this.oc=0;a&&(this.fa="current");b&&(this.target="current");c&&(this.target="OBJ")};b.aK=function(b,c){switch(this.ql){case 0:return 1*b/c+0;case 1:return 1*(b/=c)*b+0;case 2:return-1*(b/=c)*(b-2)+0;case 3:return 1>(b/=c/2)?.5*b*b+0:-.5*(--b*(b-2)-1)+0;case 4:return 1*(b/=c)*b*b+0;case 5:return 1*((b=b/c-1)*b*b+1)+0;case 6:return 1>(b/=c/2)?.5*b*b*b+0:.5*((b-=2)*b*b+2)+0;case 7:return 1*(b/=
  740. c)*b*b*b+0;case 8:return-1*((b=b/c-1)*b*b*b-1)+0;case 9:return 1>(b/=c/2)?.5*b*b*b*b+0:-.5*((b-=2)*b*b*b-2)+0;case 10:return 1*(b/=c)*b*b*b*b+0;case 11:return 1*((b=b/c-1)*b*b*b*b+1)+0;case 12:return 1>(b/=c/2)?.5*b*b*b*b*b+0:.5*((b-=2)*b*b*b*b+2)+0;case 13:return-1*(Math.sqrt(1-(b/=c)*b)-1)+0;case 14:return 1*Math.sqrt(1-(b=b/c-1)*b)+0;case 15:return 1>(b/=c/2)?-.5*(Math.sqrt(1-b*b)-1)+0:.5*(Math.sqrt(1-(b-=2)*b)+1)+0;case 16:var d=0;0==d&&(d=1.70158);return 1*(b/=c)*b*((d+1)*b-d)+0;case 17:return d=
  741. 0,0==d&&(d=1.70158),1*((b=b/c-1)*b*((d+1)*b+d)+1)+0;case 18:return d=0,0==d&&(d=1.70158),1>(b/=c/2)?.5*b*b*(((d*=1.525)+1)*b-d)+0:.5*((b-=2)*b*(((d*=1.525)+1)*b+d)+2)+0;case 19:var h=0,l=0;if(0==b)break;if(1==(b/=c))return 1;0==l&&(l=.3*c);0==h||h<Math.abs(1)?(h=1,d=l/4):d=l/(2*Math.PI)*Math.asin(1/h);return-(h*Math.pow(2,10*--b)*Math.sin(2*(b*c-d)*Math.PI/l))+0;case 20:l=h=0;if(0==b)break;if(1==(b/=c))return 1;0==l&&(l=.6*c);0==h||h<Math.abs(1)?(h=1,d=l/4):d=l/(2*Math.PI)*Math.asin(1/h);return h*
  742. Math.pow(2,-10*b)*Math.sin(2*(b*c-d)*Math.PI/l)+1;case 21:l=h=0;if(0==b)break;if(2==(b/=c/2))return 1;0==l&&(l=.3*c*1.5);0==h||h<Math.abs(1)?(h=1,d=l/4):d=l/(2*Math.PI)*Math.asin(1/h);return 1>b?-.5*h*Math.pow(2,10*--b)*Math.sin(2*(b*c-d)*Math.PI/l)+0:h*Math.pow(2,-10*--b)*Math.sin(2*(b*c-d)*Math.PI/l)*.5+1;case 22:return 1-a(c-b,c)+0;case 23:return a(b,c);case 24:return b<c/2?.5*(1-a(c-2*b,c)+0)+0:.5*a(2*b-c,c)+.5;case 25:return d=b/c/2,2*d*d*(3-2*d);case 26:return d=(b/c+1)/2,2*d*d*(3-2*d)-1;case 27:return d=
  743. b/c,d*d*(3-2*d)}return 0};b.kc=function(){return{i:this.ga,active:this.ea,tweened:this.Y,easing:this.ql,initial:this.fa,target:this.target,duration:this.duration,wait:this.Cm,playmode:this.Ma,value:this.value,coord_mode:this.Ce,forceInit:this.xw,group:this.group,targetObject:this.ff,pingpongCounter:this.qf,isPaused:this.fj,initialX:this.fb,initialY:this.zd,targetX:this.nb,targetY:this.kd,tweenSaveWidth:this.fg,tweenSaveHeight:this.eg,tweenSaveAngle:this.lo,tweenSaveX:this.Sk,tweenSaveY:this.Tk,tweenSaveValue:this.Du,
  744. tweenInitialX:this.ob,tweenInitialY:this.md,tweenTargetX:this.Wb,tweenTargetY:this.ve,tweenTargetAngle:this.no,ratio:this.je,reverse:this.reverse,rewindMode:this.Yt,doTweenX:this.Zg,doTweenY:this.$g,loop:this.loop,initiating:this.Nb,cooldown:this.oc,lastPlayMode:this.nx,lastKnownValue:this.bb,lastKnownX:this.Qc,lastKnownY:this.Ad,onStarted:this.Yn,onStartedDone:this.gq,onWaitEnd:this.Zn,onWaitEndDone:this.hq,onEnd:this.mh,onEndDone:this.fq,onCooldown:this.Wn,onCooldownDone:this.dq}};b.Bc=function(a){this.ga=
  745. a.i;this.ea=a.active;this.Y=a.tweened;this.ql=a.easing;this.fa=a.initial;this.target=a.target;this.duration=a.duration;this.Cm=a.wait;this.Ma=a.playmode;this.value=a.value;this.Ce=a.coord_mode;this.xw=a.forceInit;this.group=a.group;this.ff=a.targetObject;this.qf=a.pingpongCounter;this.fj=a.isPaused;this.fb=a.initialX;this.zd=a.initialY;this.nb=a.targetX;this.kd=a.targetY;this.fg=a.tweenSaveWidth;this.eg=a.tweenSaveHeight;this.lo=a.tweenSaveAngle;this.Sk=a.tweenSaveX;this.Tk=a.tweenSaveY;this.Du=a.tweenSaveValue;
  746. this.ob=a.tweenInitialX;this.md=a.tweenInitialY;this.Wb=a.tweenTargetX;this.ve=a.tweenTargetY;this.no=a.tweenTargetAngle;this.je=a.ratio;this.reverse=a.reverse;this.Yt=a.rewindMode;this.Zg=a.doTweenX;this.$g=a.doTweenY;this.loop=a.loop;this.Nb=a.initiating;this.oc=a.cooldown;this.nx=a.lastPlayMode;this.bb=a.lastKnownValue;this.Qc=a.lastKnownX;this.Ad=a.lastKnownY;this.Yn=a.onStarted;this.gq=a.onStartedDone;this.Zn=a.onWaitEnd;this.hq=a.onWaitEndDone;this.mh=a.onEnd;this.fq=a.onEndDone;this.Wn=a.onCooldown;
  747. this.dq=a.onCooldownDone;this.gC()};b.sc=function(){var a=this.c.Rh(this.j),b=-1==this.ga;this.ea&&0!==a&&(0!=this.ga||this.Yn||(this.Yn=!0,this.dq=this.Wn=this.fq=this.mh=this.hq=this.Zn=this.gq=!1,this.c.trigger(hg.prototype.C.jv,this.j),this.gq=!0),this.ga=-1==this.ga?this.Nb+this.duration+this.oc:this.ga+a,this.ga<=this.Nb||(0==this.Zn&&(this.Zn=!0,this.c.trigger(hg.prototype.C.rA,this.j),this.hq=!0),this.ga<=this.duration+this.Nb&&(a=this.aK(this.ga-this.Nb,this.duration),0==this.Y?(1==this.Ce?
  748. (this.j.x!==this.Qc&&(this.ob+=this.j.x-this.Qc,this.Wb+=this.j.x-this.Qc),this.j.y!==this.Ad&&(this.md+=this.j.y-this.Ad,this.ve+=this.j.y-this.Ad)):(this.j.x!==this.Qc&&(this.ob+=this.j.x-this.Qc),this.j.y!==this.Ad&&(this.md+=this.j.y-this.Ad)),this.j.x=this.ob+(this.Wb-this.ob)*a,this.j.y=this.md+(this.ve-this.md)*a,this.Qc=this.j.x,this.Ad=this.j.y):1==this.Y||2==this.Y||3==this.Y?(this.j.width!==this.Qc&&(this.ob=this.j.width),this.j.height!==this.Ad&&(this.md=this.j.height),this.Zg&&(this.j.width=
  749. this.ob+(this.Wb-this.ob)*a),this.$g?this.j.height=this.md+(this.ve-this.md)*a:1==this.Y&&(this.j.height=this.j.width*this.je),this.Qc=this.j.width,this.Ad=this.j.height):4==this.Y?(a=this.ob+(this.no-this.ob)*a,this.ga>=this.duration+this.Nb&&(a=this.no),this.j.K=Ja(a)):5==this.Y?(1==this.Ce&&this.j.opacity!==this.Qc&&(this.ob=this.j.opacity),this.j.opacity=this.ob+(this.Wb-this.ob)*a,this.Qc=this.j.opacity):6==this.Y?this.value=this.ob+(this.Wb-this.ob)*a:7==this.Y&&(1==this.Ce&&(this.j.width!==
  750. this.Qc&&(this.ob=this.j.width),this.j.height!==this.Ad&&(this.md=this.j.height)),this.Zg&&(this.j.width=this.ob+(this.Wb-this.ob)*a),this.$g&&(this.j.height=this.md+(this.ve-this.md)*a),this.Qc=this.j.width,this.Ad=this.j.height),this.j.Ea()),this.ga>=this.duration+this.Nb&&(this.FJ(b),this.j.Ea(),0==this.mh&&(this.mh=!0,this.c.trigger(hg.prototype.C.ir,this.j),this.fq=!0))))};b.FJ=function(a){switch(this.Y){case 0:this.j.x=this.Wb;this.j.y=this.ve;break;case 1:this.Zg&&(this.j.width=this.Wb);this.j.height=
  751. this.$g?this.ve:this.j.width*this.je;break;case 2:this.j.width=this.Wb;break;case 3:this.j.height=this.ve;break;case 4:this.j.K=Ja(this.no);this.bb=this.j.K;break;case 5:this.j.opacity=this.Wb;break;case 6:this.value=this.Wb;break;case 7:this.Zg&&(this.j.width=this.Wb),this.$g&&(this.j.height=this.ve)}this.ga>=this.duration+this.Nb+this.oc&&(0==this.Ma?(this.reverse=this.ea=!1,this.ga=this.duration+this.Nb+this.oc):1==this.Ma?(this.ga=0,this.init(),this.ea=!0):2==this.Ma?a?(this.reverse=!1,this.init()):
  752. (this.reverse=!this.reverse,this.ga=0,this.init(),this.ea=!0):3==this.Ma?this.c.Ch(this.j):4==this.Ma?(this.loop=!0,this.ga=0,this.init(),this.ea=!0):5==this.Ma?a?(this.reverse=!1,this.init()):0>=this.qf?(this.ga=this.duration+this.Nb+this.oc,this.ea=!1):(this.reverse?(--this.qf,this.reverse=!1):(--this.qf,this.reverse=!0),this.ga=0,this.init(),this.ea=!0):-6==this.Ma?(this.Ma=this.nx,this.reverse=!1,this.ga=0,this.ea=!1):6==this.Ma&&(this.reverse=!1,this.ga=this.duration+this.Nb+this.oc,this.ea=
  753. !1));0==this.Wn&&(this.Wn=!0,this.c.trigger(hg.prototype.C.zG,this.j),this.dq=!0)};c.C={};b=c.C;b.Og=function(){return this.ea};b.eO=function(a,b){var c=[];jc[this.group].forEach(function(a){c.push(a.ga/(a.duration+a.Nb+a.oc))});return dc(Math.min.apply(null,c),a,b)};b.Bz=function(a,b){return dc(this.ga/(this.duration+this.Nb+this.oc),a,b)};b.jv=function(){if(!1===this.gq)return this.Yn};b.rA=function(){if(!1===this.hq)return this.Zn};b.ir=function(){if(!1===this.fq)return this.mh};b.zG=function(){if(!1===
  754. this.dq)return this.Wn};c.G={};var d=c.G;d.sr=function(a){this.ea=1===a};d.XO=function(a,b){""===b&&(b=this.group);(1===a||jc[b].every(function(a){return!a.ea}))&&jc[b].forEach(function(b){1===a?d.FF.apply(b):d.xr.apply(b)})};d.YO=function(a,b){""===b&&(b=this.group);jc[b].forEach(function(b){d.Um.apply(b,[a])})};d.IO=function(a,b,c){""===c&&(c=this.group);(1===a||jc[c].every(function(a){return!a.ea}))&&jc[c].forEach(function(c){1===a?d.GF.apply(c,[b]):d.qr.apply(c,[b])})};d.FF=function(){this.loop=
  755. 4===this.Ma;5==this.Ma&&(this.qf=1);6==this.Ma||-6==this.Ma?this.ga<this.duration+this.oc+this.Nb&&(this.reverse=!1,this.init(),this.ea=!0):(this.reverse=!1,this.ga=0,this.init(),this.ea=!0)};d.GF=function(a){this.Yt=1==a;this.loop=4===this.Ma;5==this.Ma&&(this.qf=1);6==this.Ma||-6==this.Ma?this.ga<this.duration+this.oc+this.Nb&&(this.reverse=!0,this.init(),this.ea=!0):a?1==this.qf&&this.ga>=this.duration+this.oc+this.Nb&&(this.reverse=!0,this.ga=0,this.qf=2,this.init(),this.ea=!0):(this.reverse=
  756. !0,this.ga=0,this.init(),this.ea=!0)};d.xr=function(){this.ea||(this.loop=4===this.Ma,5==this.Ma&&(this.qf=1),6==this.Ma||-6==this.Ma?this.ga<this.duration+this.oc+this.Nb&&(this.reverse=!1,this.init(),this.ea=!0):(this.qf=1,this.reverse=!1,this.ga=0,this.init(),this.ea=!0))};d.Um=function(a){this.ea&&(2==this.Ma||4==this.Ma?this.ga=this.reverse?0:-1:1==a?this.Jk():this.ga=0==a?this.Nb+this.oc+this.duration:0,this.sc(),this.ea=!1)};d.yO=function(){this.ea&&(this.fj=!0,this.ea=!1)};d.HO=function(){this.fj?
  757. (this.ea=!0,this.fj=!1):this.ea||(this.reverse=!1,this.ga=0,this.init(),this.ea=!0)};d.qr=function(a){this.Yt=1==a;this.ea||(this.loop=4===this.Ma,5==this.Ma&&(this.qf=1),6==this.Ma||-6==this.Ma?this.ga<this.duration+this.oc+this.Nb&&(this.reverse=!0,this.init(),this.ea=!0):a?1==this.qf&&this.ga>=this.duration+this.oc+this.Nb&&(this.reverse=!0,this.ga=0,this.qf=2,this.init(),this.ea=!0):(this.reverse=!0,this.ga=0,this.init(),this.ea=!0))};d.DA=function(a){this.duration=a};d.NA=function(a){this.Cm=
  758. a;this.Nb=parseFloat(this.Cm.split(",")[0]);this.oc=parseFloat(this.Cm.split(",")[1]);if(0>this.Nb||isNaN(this.Nb))this.Nb=0;if(0>this.oc||isNaN(this.oc))this.oc=0};d.zv=function(a){"string"==typeof a?(this.target=a,this.nb=parseFloat(a.split(",")[0]),this.kd=parseFloat(a.split(",")[1])):this.nb=this.target=a;this.ea||this.init()};d.VO=function(a){a&&(a=a.op())&&(this.ff=a,this.target="OBJ")};d.MH=function(a){2==this.Y||3==this.Y||4==this.Y||5==this.Y||6==this.Y?this.nb=this.target="string"==typeof a?
  759. parseFloat(a.split(",")[0]):""+a+","+this.kd:(this.target=String(a)+","+this.target.split(",")[1],this.nb=parseFloat(this.target.split(",")[0]),this.kd=parseFloat(this.target.split(",")[1]));this.ea||(this.Jk(),this.init())};d.NH=function(a){2==this.Y||3==this.Y||4==this.Y||5==this.Y||6==this.Y?this.nb=this.target="string"==typeof a?parseFloat(a)+"":this.nb+","+a:(this.target=this.target.split(",")[0]+","+String(a),this.nb=parseFloat(this.target.split(",")[0]),this.kd=parseFloat(this.target.split(",")[1]));
  760. this.ea||(this.Jk(),this.init())};d.uv=function(a){"string"==typeof a?(this.fa=a,this.fb=parseFloat(a.split(",")[0]),this.zd=parseFloat(a.split(",")[1])):(this.fa=""+a,this.fb=a);6==this.Y&&(this.value=this.fb);this.ea||(this.Jk(),this.init())};d.SO=function(a){2==this.Y||3==this.Y||4==this.Y||5==this.Y||6==this.Y?this.fb=this.fa="string"==typeof a?parseFloat(a):""+a+","+this.zd:(""==this.fa&&(this.fa="current"),this.fa=String(a)+","+("current"==this.fa?this.Tk:this.fa.split(",")[1]),this.fb=parseFloat(this.fa.split(",")[0]),
  761. this.zd=parseFloat(this.fa.split(",")[1]));6==this.Y&&(this.value=this.fb);this.ea||(this.Jk(),this.init())};d.TO=function(a){2==this.Y||3==this.Y||4==this.Y||5==this.Y||6==this.Y?this.fb=this.fa="string"==typeof a?parseFloat(a):""+this.fb+","+a:(""==this.fa&&(this.fa="current"),this.fa=("current"==this.fa?this.Sk:this.fa.split(",")[0])+","+String(a),this.fb=parseFloat(this.fa.split(",")[0]),this.zd=parseFloat(this.fa.split(",")[1]));this.ea||(this.Jk(),this.init())};d.RH=function(a){this.value=a};
  762. d.PH=function(a){this.Y=a};d.tH=function(a){this.ql=a};d.UO=function(a){this.Ma=a};d.FH=function(a,b,c,h,l,n,k,m){this.Y=a;this.Ma=b;this.ql=c;d.uv.apply(this,[h]);d.zv.apply(this,[l]);d.DA.apply(this,[n]);d.NA.apply(this,[k]);this.Ce=m;this.Jk()};c.H={};c=c.H;c.cH=function(a){a.V(this.ga/(this.duration+this.Nb+this.oc))};c.CO=function(a){a.V(this.ga)};c.Nu=function(a){a.V(this.duration)};c.nO=function(a){a.V(this.Nb)};c.jO=function(a){a.V(this.oc)};c.TA=function(a){a.Xa(this.target)};c.Kv=function(a){a.V(this.value)};
  763. c.fj=function(a){a.ja(this.fj?1:0)}})();function ig(a){this.c=a;this.Py=this.iu=this.zq=this.Oy=0}
  764. (function(){function a(){}var c=ig.prototype;c.ua=function(a){this.behavior=a;this.c=a.c};c.ua.prototype.ka=function(){};c.la=function(a,b){this.type=a;this.behavior=a.behavior;this.j=b;this.c=a.c};var b=c.la.prototype;b.ka=function(){this.enabled=0!==this.T[0]};b.kc=function(){return{smg:this.behavior.Oy,ss:this.behavior.zq,se:this.behavior.iu,smd:this.behavior.Py}};b.Bc=function(a){this.behavior.Oy=a.smg;this.behavior.zq=a.ss;this.behavior.iu=a.se;this.behavior.Py=a.smd};b.sc=function(){};b.jo=
  765. function(){if(this.enabled){var a=this.behavior.At.yh(),b=0,c=0,g,h,l,n=0;g=0;for(h=a.length;g<h;g++){a:{l=a[g];for(var k=void 0,m=void 0,q=void 0,k=0,m=l.eb.length;k<m;++k)if(q=l.eb[k],q.behavior instanceof ig){l=q;break a}l=null}l&&l.enabled&&(b+=a[g].x,c+=a[g].y,++n)}a=this.j.W.cc;h=this.c.nf.mb;l=g=0;h>=this.behavior.zq&&h<this.behavior.iu&&(g=this.behavior.Oy*Math.min(this.c.vh,1),0===this.behavior.Py&&(g*=1-(h-this.behavior.zq)/(this.behavior.iu-this.behavior.zq)),h=Math.random()*Math.PI*2,
  766. l=Math.random()*g,g=Math.cos(h)*l,l*=Math.sin(h));a.sq(b/n+g);a.tq(c/n+l)}};a.prototype.Sm=function(a){this.enabled=0!==a};c.G=new a})();
  767. function tc(){return[wc,vc,xc,yc,uc,Mc,Ic,zc,Gc,Hc,A,C,Jc,Kc,Lc,hg,Oc,Lf,If,Kf,Nc,gg,Jf,ig,Hf,x.prototype.C.hA,x.prototype.G.tF,x.prototype.G.EH,Jc.prototype.G.Zu,A.prototype.G.Gd,Jc.prototype.G.Gd,x.prototype.G.vH,uc.prototype.G.CallFunction,x.prototype.G.AH,Hf.prototype.G.zH,Hf.prototype.G.LH,x.prototype.H.round,x.prototype.H.LL,A.prototype.G.wv,A.prototype.H.Nz,A.prototype.G.yv,A.prototype.G.Zu,A.prototype.G.bA,A.prototype.G.HA,C.prototype.G.Zu,C.prototype.G.HA,C.prototype.H.Opacity,A.prototype.H.So,
  768. A.prototype.H.To,A.prototype.G.OA,A.prototype.H.Ar,x.prototype.G.SH,x.prototype.H.HN,x.prototype.H.YM,x.prototype.H.ML,wc.prototype.G.Um,wc.prototype.G.UH,x.prototype.C.jF,x.prototype.H.Bs,Lf.prototype.G.sr,A.prototype.H.Eo,x.prototype.C.WF,x.prototype.G.sI,A.prototype.C.Vz,Jc.prototype.C.Vz,x.prototype.C.EF,A.prototype.C.bG,Hf.prototype.G.uF,If.prototype.G.XG,A.prototype.C.Sz,Jc.prototype.C.Sz,Hf.prototype.G.yH,Hf.prototype.G.IH,hg.prototype.G.Um,hg.prototype.G.MH,Jc.prototype.H.Ar,Jc.prototype.C.Iu,
  769. hg.prototype.G.xr,x.prototype.C.Hz,hg.prototype.G.NH,Jc.prototype.H.Eo,Kf.prototype.G.JA,x.prototype.C.oF,C.prototype.G.Gd,yc.prototype.G.Gd,hg.prototype.G.NA,x.prototype.C.kI,x.prototype.C.DF,x.prototype.C.AF,C.prototype.G.KA,x.prototype.H.cq,x.prototype.H.WN,x.prototype.H.VN,xc.prototype.H.BF,xc.prototype.H.kH,vc.prototype.H.Pj,hg.prototype.C.Og,x.prototype.C.zF,x.prototype.H.$a,x.prototype.H.uJ,x.prototype.H.KN,A.prototype.C.Tj,x.prototype.G.OE,x.prototype.H.ZM,A.prototype.H.Hv,A.prototype.H.Ju,
  770. x.prototype.H["int"],x.prototype.H.GN,x.prototype.H.TL,x.prototype.H.max,x.prototype.C.TG,A.prototype.C.pv,A.prototype.C.Iu,wc.prototype.C.bH,wc.prototype.G.ZG,Hf.prototype.G.Sm,A.prototype.G.Po,A.prototype.H.Vu,Hf.prototype.G.TH,Hf.prototype.G.VE,x.prototype.H.Lh,x.prototype.C.UG,Hf.prototype.G.UE,A.prototype.C.yG,A.prototype.C.TF,yc.prototype.H.B,yc.prototype.G.LE,uc.prototype.H.xz,x.prototype.H.NL,A.prototype.G.vv,A.prototype.G.$H,A.prototype.G.Mo,A.prototype.H.PE,A.prototype.G.MA,x.prototype.H.atan,
  771. x.prototype.H.sqrt,x.prototype.H.OL,A.prototype.G.vA,x.prototype.H.time,x.prototype.H.find,x.prototype.H.zN,x.prototype.H["float"],x.prototype.H.left,x.prototype.H.ceil,x.prototype.H.$M,wc.prototype.C.gG,x.prototype.H.BB,A.prototype.C.fA,A.prototype.C.dA,A.prototype.C.Cz,A.prototype.C.pF,Hf.prototype.C.fG,Hf.prototype.H.pI,Hf.prototype.H.qI,A.prototype.C.eA,A.prototype.C.ZF,A.prototype.G.wA,x.prototype.H.sin,x.prototype.H.cos,x.prototype.G.iH,A.prototype.G.cA,C.prototype.C.Iu,C.prototype.G.cA,x.prototype.H.KL,
  772. C.prototype.H.Ju,A.prototype.H.Opacity,A.prototype.H.WG,C.prototype.H.Text,Jf.prototype.G.Av,Jc.prototype.H.So,x.prototype.H.min,Jc.prototype.H.To,Jf.prototype.G.Sm,x.prototype.H.nN,Jc.prototype.G.Cv,Jc.prototype.G.vv,Jf.prototype.C.YF,Jf.prototype.G.$k,Jf.prototype.H.Ev,Jf.prototype.C.gA,Kc.prototype.C.hG,xc.prototype.C.oA,uc.prototype.C.jr,vc.prototype.G.Po,vc.prototype.G.dH,yc.prototype.C.PF,x.prototype.C.kr,C.prototype.C.Tj,vc.prototype.G.Fo,vc.prototype.H.Eo,C.prototype.G.sH,vc.prototype.H.WE,
  773. C.prototype.G.rH,C.prototype.G.vv,C.prototype.H.$E,C.prototype.H.lG,x.prototype.H.replace,C.prototype.H.Pj,C.prototype.G.wH,C.prototype.G.QH,uc.prototype.H.SG,C.prototype.C.pv,uc.prototype.H.RG,uc.prototype.C.lF,xc.prototype.G.OF,Mc.prototype.G.HM,A.prototype.G.Xz,Mc.prototype.H.SL,A.prototype.C.mr,Mc.prototype.C.DD,wc.prototype.G.KH,x.prototype.G.OH,Mc.prototype.G.bN,Mc.prototype.C.QD,Mc.prototype.C.fj,Lc.prototype.G.hF,Lc.prototype.G.dI,Lc.prototype.H.rG,Lc.prototype.C.qG,Jc.prototype.G.OA,Jc.prototype.H.Vu,
  774. A.prototype.H.Lv,C.prototype.H.Lv,Jc.prototype.H.Lv,vc.prototype.C.zo,vc.prototype.C.mF,Gc.prototype.G.wF,vc.prototype.G.vF,vc.prototype.H.SF,Hc.prototype.G.QA,Hc.prototype.C.lr,Hc.prototype.H.zz,Hc.prototype.H.Az,Hc.prototype.G.AA,Jc.prototype.C.pv,Gc.prototype.G.Sq,Gc.prototype.G.eI,Gc.prototype.G.pG,Gc.prototype.C.iA,A.prototype.H.Pj,Ic.prototype.G.KE,Jc.prototype.H.Pj,Ic.prototype.C.Wu,Ic.prototype.C.$G,x.prototype.C.wG,A.prototype.G.hr,C.prototype.G.hr,C.prototype.H.Hv,Jc.prototype.G.hr,x.prototype.H.yM,
  775. x.prototype.H.UL,x.prototype.G.lH,hg.prototype.H.Nu,x.prototype.G.MF,x.prototype.H.floor,x.prototype.G.NF,wc.prototype.G.GH,wc.prototype.G.bI,x.prototype.G.gI,Nc.prototype.G.nH,C.prototype.G.MA,x.prototype.H.random,hg.prototype.C.Bz,A.prototype.G.Mv,hg.prototype.C.ir,gg.prototype.G.xr,A.prototype.H.QF,A.prototype.H.RF,C.prototype.G.Mv,C.prototype.H.So,C.prototype.H.To,A.prototype.C.kF,x.prototype.H.right,C.prototype.C.nF,A.prototype.G.HH,A.prototype.H.RE,A.prototype.C.VG,wc.prototype.G.DH,wc.prototype.H.rI,
  776. A.prototype.C.aG,A.prototype.C.iG,If.prototype.H.YG,If.prototype.C.cG,C.prototype.G.yv,C.prototype.G.Po,C.prototype.H.Ar,C.prototype.H.Eo,x.prototype.H.JM,x.prototype.H.acos,x.prototype.H.asin,x.prototype.H.abs,x.prototype.C.XF,Kc.prototype.C.ov,Kc.prototype.H.So,Kc.prototype.H.To,Kc.prototype.C.lv,uc.prototype.G.JH,xc.prototype.C.dG,Jc.prototype.G.Po,x.prototype.G.pH,A.prototype.G.ur,A.prototype.G.Cv,C.prototype.G.ur,C.prototype.G.Cv,Jc.prototype.G.ur,hg.prototype.H.TA,hg.prototype.G.zv,Jc.prototype.G.xH,
  777. Jc.prototype.G.Mv,x.prototype.C.tI,x.prototype.G.cI,x.prototype.H.aN,x.prototype.H.TN,x.prototype.H.RN,x.prototype.H.SN,x.prototype.H.UN,xc.prototype.H.oI,x.prototype.C.$F,wc.prototype.G.aH,zc.prototype.G.TE,xc.prototype.H.fH,xc.prototype.H.yF,zc.prototype.C.cF,x.prototype.C.eG,x.prototype.H.Wl,x.prototype.C.hv,Mc.prototype.C.hJ,Mc.prototype.C.Ug,Mc.prototype.C.fE,Mc.prototype.G.tN,Mc.prototype.C.AL,C.prototype.G.wv,Jc.prototype.G.wv,Jc.prototype.H.Hv,Gc.prototype.G.sv,Gc.prototype.H.ZE,Kc.prototype.C.nv,
  778. hg.prototype.G.uv,Jc.prototype.H.Ju,Jc.prototype.G.bA,A.prototype.H.SE,Jc.prototype.G.JE,Jc.prototype.G.fI,x.prototype.G.mH,Jf.prototype.G.CH,C.prototype.H.XE,C.prototype.H.iI,C.prototype.H.bF,C.prototype.H.YE,If.prototype.G.mI,Lf.prototype.G.BH,hg.prototype.H.Kv,hg.prototype.C.rA,x.prototype.H.pL,x.prototype.H.vh]};