-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathc2runtime.js
More file actions
executable file
·2 lines (2 loc) · 278 KB
/
Copy pathc2runtime.js
File metadata and controls
executable file
·2 lines (2 loc) · 278 KB
1
2
// Generated by Construct 3, the game and app creator :: https://www.construct.net
"use strict";window.g_a={},g_a.g_b={},g_a.g_c={},"function"!=typeof Object.getPrototypeOf&&(Object.getPrototypeOf=function(g){return g.__proto__}),function(){function g(g,_){this.x=g,this.y=_,g_a.seal(this)}function _(g,_,e,t){this.set(g,_,e,t),g_a.seal(this)}function e(){this.g_s=0,this.g_t=0,this.g_u=0,this.g_v=0,this.g_w=0,this.g_x=0,this.g_y=0,this.g_z=0,g_a.seal(this)}function t(g,_,e,t){g<_?e<t?(T=g<e?g:e,N=_>t?_:t):(T=g<t?g:t,N=_>e?_:e):e<t?(T=_<e?_:e,N=g>t?g:t):(T=_<t?_:t,N=g>e?g:e)}function p(){this.g_aq=null,this.g_ar=null,this.g_as=0,O&&(this.g_aq=new Set),this.g_at=[],this.g_au=!0,g_a.seal(this)}function o(g){R[v++]=g}function n(){this.c=0,this.y=0,this.g_aD=0,this.g_aE=0,g_a.seal(this)}function i(g){this.g_aH=[],this.g_aI=0,this.g_aJ=0,this.g_aK=0,this.g_aL=0,this.g_aM=null,this.g_aN(g),g_a.seal(this)}function s(g,_){this.g_bb=g,this.g_bc=_,this.cells={}}function r(g,_){this.g_bb=g,this.g_bc=_,this.cells={}}function a(g,_,e){var t;return s.prototype.g_bd++,I.length?(t=I.pop(),t.g_bn=g,t.x=_,t.y=e,t):new g_a.g_bo(g,_,e)}function d(g){s.prototype.g_bd--,g.g_bp.clear(),1e3>I.length&&I.push(g)}function l(g,_,e){this.g_bn=g,this.x=_,this.y=e,this.g_bp=new g_a.g_ay}function h(g,_,e){var t;return r.prototype.g_bd++,S.length?(t=S.pop(),t.g_bn=g,t.x=_,t.y=e,t):new g_a.g_bq(g,_,e)}function u(g){r.prototype.g_bd--,g.reset(),1e3>S.length&&S.push(g)}function y(g,_,e){this.g_bn=g,this.x=_,this.y=e,this.g_bp=[],this.g_bl=!0,this.g_br=new g_a.g_ay,this.g_bs=!1}function c(g,_){return g.g_bv-_.g_bv}var f=Math.acos,m=Math.floor,x=Math.max,j=Math.min,A=Math.cos,z=Math.sin,M=Math.PI;g_a.g_d=function(g){window.console&&window.console.log&&window.console.log(g)},g_a.g_e=function(g){window.console&&window.console.error&&window.console.error(g)},g_a.seal=function(g){return g},g_a.freeze=function(g){return g},g_a.g_f=function(g){return"undefined"==typeof g},g_a.g_g=function(g){return"number"==typeof g},g_a.g_h=function(g){return"string"==typeof g},g_a.g_i=function(g){return 0<g&&0==(g-1&g)},g_a.g_j=function(g){--g;for(var _=1;32>_;_<<=1)g|=g>>_;return g+1},g_a.abs=function(g){return 0>g?-g:g},g_a.max=function(g,_){return g>_?g:_},g_a.min=function(g,_){return g<_?g:_},g_a.PI=M,g_a.round=function(g){return 0|g+0.5},g_a.floor=function(g){return 0<=g?0|g:(0|g)-1},g_a.ceil=function(g){var _=0|g;return _===g?_:_+1};g.prototype.offset=function(g,_){return this.x+=g,this.y+=_,this},g.prototype.g_k=function(g,_){return this.x*=g,this.y*=_,this},g_a.g_l=g,g_a.g_m=function(g,_,e,t,p,o,n,i){var s,r,a,l,h,y,u,c;if(g<e?(r=g,s=e):(r=e,s=g),p<n?(y=p,h=n):(y=n,h=p),s<y||r>h)return!1;if(_<t?(l=_,a=t):(l=t,a=_),o<i?(c=o,u=i):(c=i,u=o),a<c||l>u)return!1;var f=p-g+n-e,m=o-_+i-t,x=e-g,j=t-_,A=n-p,z=i-o,M=g_a.abs(j*A-z*x);if(g_a.abs(A*m-z*f)>M)return!1;return g_a.abs(x*m-j*f)<=M};_.prototype.set=function(g,_,e,t){this.left=g,this.top=_,this.right=e,this.bottom=t},_.prototype.g_n=function(g){this.left=g.left,this.top=g.top,this.right=g.right,this.bottom=g.bottom},_.prototype.width=function(){return this.right-this.left},_.prototype.height=function(){return this.bottom-this.top},_.prototype.offset=function(g,_){return this.left+=g,this.top+=_,this.right+=g,this.bottom+=_,this},_.prototype.normalize=function(){var g=0;this.left>this.right&&(g=this.left,this.left=this.right,this.right=g),this.top>this.bottom&&(g=this.top,this.top=this.bottom,this.bottom=g)},_.prototype.g_o=function(g){return!(g.right<this.left||g.bottom<this.top||g.left>this.right||g.top>this.bottom)},_.prototype.g_p=function(g,_,e){return!(g.right+_<this.left||g.bottom+e<this.top||g.left+_>this.right||g.top+e>this.bottom)},_.prototype.g_q=function(g,_){return g>=this.left&&g<=this.right&&_>=this.top&&_<=this.bottom},_.prototype.g_r=function(g){return this.left===g.left&&this.top===g.top&&this.right===g.right&&this.bottom===g.bottom},g_a.rect=_;e.prototype.g_A=function(g){this.g_s=g.left,this.g_t=g.top,this.g_u=g.right,this.g_v=g.top,this.g_w=g.right,this.g_x=g.bottom,this.g_y=g.left,this.g_z=g.bottom},e.prototype.g_B=function(g,_){if(0===_)this.g_A(g);else{var e=z(_),t=A(_),p=g.left*e,o=g.top*e,n=g.right*e,i=g.bottom*e,s=g.left*t,r=g.top*t,a=g.right*t,d=g.bottom*t;this.g_s=s-o,this.g_t=r+p,this.g_u=a-o,this.g_v=r+n,this.g_w=a-i,this.g_x=d+n,this.g_y=s-i,this.g_z=d+p}},e.prototype.offset=function(g,_){return this.g_s+=g,this.g_t+=_,this.g_u+=g,this.g_v+=_,this.g_w+=g,this.g_x+=_,this.g_y+=g,this.g_z+=_,this};var T=0,N=0;e.prototype.g_C=function(g){t(this.g_s,this.g_u,this.g_w,this.g_y),g.left=T,g.right=N,t(this.g_t,this.g_v,this.g_x,this.g_z),g.top=T,g.bottom=N},e.prototype.g_q=function(g,_){var e=this.g_s,t=this.g_t,p=this.g_u-e,o=this.g_v-t,n=this.g_w-e,i=this.g_x-t,s=g-e,r=_-t,a=p*p+o*o,d=p*n+o*i,l=p*s+o*r,h=n*n+i*i,y=n*s+i*r,c=1/(a*h-d*d),f=(h*l-d*y)*c,u=(a*y-d*l)*c;if(0<=f&&0<u&&1>f+u)return!0;p=this.g_y-e,o=this.g_z-t;var a=p*p+o*o,d=p*n+o*i,l=p*s+o*r;return c=1/(a*h-d*d),f=(h*l-d*y)*c,u=(a*y-d*l)*c,0<=f&&0<u&&1>f+u},e.prototype.g_D=function(g,_){return _?0===g?this.g_s:1===g?this.g_u:2===g?this.g_w:3===g?this.g_y:4===g?this.g_s:this.g_s:0===g?this.g_t:1===g?this.g_v:2===g?this.g_x:3===g?this.g_z:4===g?this.g_t:this.g_t},e.prototype.g_E=function(){return(this.g_s+this.g_u+this.g_w+this.g_y)/4},e.prototype.g_F=function(){return(this.g_t+this.g_v+this.g_x+this.g_z)/4},e.prototype.g_G=function(g,_,e,t){if(this.g_q(g,_)||this.g_q(e,t))return!0;var p,o,n,s,r;for(r=0;4>r;r++)if(p=this.g_D(r,!0),o=this.g_D(r,!1),n=this.g_D(r+1,!0),s=this.g_D(r+1,!1),g_a.g_m(g,_,e,t,p,o,n,s))return!0;return!1},e.prototype.g_H=function(g){var _=g.g_E(),e=g.g_F();if(this.g_q(_,e))return!0;if(_=this.g_E(),e=this.g_F(),g.g_q(_,e))return!0;var t,p,o,n,s,r,a,d,l,i;for(l=0;4>l;l++)for(i=0;4>i;i++)if(t=this.g_D(l,!0),p=this.g_D(l,!1),o=this.g_D(l+1,!0),n=this.g_D(l+1,!1),s=g.g_D(i,!0),r=g.g_D(i,!1),a=g.g_D(i+1,!0),d=g.g_D(i+1,!1),g_a.g_m(t,p,o,n,s,r,a,d))return!0;return!1},g_a.g_I=e,g_a.RGB=function(g,_,e){return x(j(g,255),0)|x(j(_,255),0)<<8|x(j(e,255),0)<<16};var E=131072,b=65535,L=-65536;g_a.g_J=function(g,_,e){return g=g_a.g_K(m(1024*g),L,b),_=g_a.g_K(m(1024*_),L,b),e=g_a.g_K(m(1024*e),L,b),0>g&&(g+=E),0>_&&(_+=E),0>e&&(e+=E),-(g*E*E+_*E+e)},g_a.g_L=function(g){if(0<=g)return(255&g)/255;var _=m(-g/(E*E));return _>b&&(_-=E),_/1024},g_a.g_M=function(g){if(0<=g)return((65280&g)>>8)/255;var _=m(-g%(E*E)/E);return _>b&&(_-=E),_/1024},g_a.g_N=function(g){if(0<=g)return((16711680&g)>>16)/255;var _=m(-g%E);return _>b&&(_-=E),_/1024},g_a.g_O=function(g,_){for(var e in _)_.hasOwnProperty(e)&&(g[e]=_[e]);return g},g_a.g_P=function(g,_){var e,t;if(_=g_a.floor(_),!(0>_||_>=g.length)){for(e=_,t=g.length-1;e<t;e++)g[e]=g[e+1];g_a.g_Q(g,t)}},g_a.g_Q=function(g,_){g.length=_},g_a.g_R=function(g){g_a.g_Q(g,0)},g_a.g_S=function(g,_){g_a.g_R(g);var e,t;for(e=0,t=_.length;e<t;++e)g[e]=_[e]},g_a.g_T=function(g,_){g.push.apply(g,_)},g_a.g_U=function(g,_){var e,t;for(e=0,t=g.length;e<t;++e)if(g[e]===_)return e;return-1},g_a.g_V=function(g,_){var e=g_a.g_U(g,_);-1!==e&&g_a.g_P(g,e)},g_a.g_K=function(g,_,e){return g<_?_:g>e?e:g},g_a.g_W=function(g){return g/(180/g_a.PI)},g_a.g_X=function(g){return g*(180/g_a.PI)},g_a.g_Y=function(g){return g%=360,0>g&&(g+=360),g},g_a.g_Z=function(g){return g%=2*g_a.PI,0>g&&(g+=2*g_a.PI),g},g_a.g__=function(g){return g_a.g_Y(g_a.g_X(g))},g_a.g_$=function(g){return g_a.g_Z(g_a.g_W(g))},g_a.g_aa=function(g,_,e,t){return Math.atan2(t-_,e-g)},g_a.g_ab=function(g,_){if(g===_)return 0;var e=z(g),t=A(g),p=z(_),o=A(_),i=e*p+t*o;return 1<=i?0:-1>=i?g_a.PI:f(i)},g_a.g_ac=function(g,_,e){var t=z(g),p=A(g),o=z(_),n=A(_);return f(t*o+p*n)>e?0<p*o-t*n?g_a.g_Z(g+e):g_a.g_Z(g-e):g_a.g_Z(_)},g_a.g_ad=function(g,_){var e=z(g),t=A(g),p=z(_),o=A(_);return 0>=t*p-e*o},g_a.g_ae=function(g,_,e,t,p,o){if(0===e)return o?g:_;var n=z(e),i=A(e);g-=t,_-=p;var s=g*n,r=_*n,a=g*i,d=_*i;return g=a-r,_=d+s,g+=t,_+=p,o?g:_},g_a.g_af=function(g,_,e,t){var p=e-g,o=t-_;return Math.sqrt(p*p+o*o)},g_a.g_ag=function(g,_){return!g!=!_},g_a.g_ah=function(g,_,e){return g+(_-g)*e},g_a.g_ai=function(g,_,e){return g===_?0:(e-g)/(_-g)},g_a.g_aj=function(g,_,e){var t=g_a.g_ab(g,_);return g_a.g_ad(_,g)?g+t*e:g-t*e},g_a.g_ak=function(g,_,e,t){return g_a.g_ah(g_a.g_ah(g,_,t),g_a.g_ah(_,e,t),t)},g_a.g_al=function(g,_,e,t,p){return g_a.g_ah(g_a.g_ak(g,_,e,p),g_a.g_ak(_,e,t,p),p)},g_a.g_am=function(g,_,e){return(g+_+(g-_)*A(e*M))/2},g_a.g_an=function(g){for(var _ in g)if(g.hasOwnProperty(_))return!0;return!1},g_a.g_ao=function(g){for(var _ in g)g.hasOwnProperty(_)&&delete g[_]};var w=+new Date;g_a.g_ap=function(){if("undefined"!=typeof window.performance){var g=window.performance;if("undefined"!=typeof g.now)return g.now();if("undefined"!=typeof g.webkitNow)return g.webkitNow();if("undefined"!=typeof g.mozNow)return g.mozNow();if("undefined"!=typeof g.msNow)return g.msNow()}return Date.now()-w};var C=!1,D=!1,k=!1;"undefined"!=typeof window&&(C=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent),D=!C&&/safari/i.test(navigator.userAgent),k=/(iphone|ipod|ipad)/i.test(navigator.userAgent));var O="undefined"!=typeof Set&&"undefined"!=typeof Set.prototype.forEach;p.prototype.contains=function(g){return!this.g_av()&&(O?this.g_aq.has(g):this.g_ar&&this.g_ar.hasOwnProperty(g))},p.prototype.add=function(g){if(O)this.g_aq.has(g)||(this.g_aq.add(g),this.g_au=!1);else{var _=g.toString(),e=this.g_ar;e?!e.hasOwnProperty(_)&&(e[_]=g,this.g_as++,this.g_au=!1):(this.g_ar={},this.g_ar[_]=g,this.g_as=1,this.g_au=!1)}},p.prototype.remove=function(g){if(!this.g_av())if(O)this.g_aq.has(g)&&(this.g_aq["delete"](g),this.g_au=!1);else if(this.g_ar){var _=g.toString(),e=this.g_ar;e.hasOwnProperty(_)&&(delete e[_],this.g_as--,this.g_au=!1)}},p.prototype.clear=function(){this.g_av()||(O?this.g_aq.clear():(this.g_ar=null,this.g_as=0),g_a.g_R(this.g_at),this.g_au=!0)},p.prototype.g_av=function(){return 0===this.count()},p.prototype.count=function(){return O?this.g_aq.size:this.g_as};var R=null,v=0;p.prototype.g_aw=function(){if(!this.g_au){if(O)g_a.g_R(this.g_at),R=this.g_at,v=0,this.g_aq.forEach(o),R=null,v=0;else{var g=this.g_at;g_a.g_R(g);var _=0,e=this.g_ar,t;if(e)for(t in e)e.hasOwnProperty(t)&&(g[_++]=e[t])}this.g_au=!0}},p.prototype.g_ax=function(){return this.g_aw(),this.g_at},g_a.g_ay=p;var U=new g_a.g_ay;g_a.g_az=function(g){var _,e;for(_=0,e=g.length;_<e;++_)U.add(g[_]);g_a.g_S(g,U.g_ax()),U.clear()},g_a.g_aA=function(g,_){O?g_a.g_aB(g,_.g_aq):g_a.g_aC(g,_.g_ax())},g_a.g_aB=function(g,_){var e,t,p,o;for(e=0,t=0,p=g.length;e<p;++e)o=g[e],_.has(o)||(g[t++]=o);g_a.g_Q(g,t)},g_a.g_aC=function(g,_){var e,t,p,o;for(e=0,t=0,p=g.length;e<p;++e)o=g[e],-1===g_a.g_U(_,o)&&(g[t++]=o);g_a.g_Q(g,t)};n.prototype.add=function(g){this.y=g-this.c,this.g_aD=this.g_aE+this.y,this.c=this.g_aD-this.g_aE-this.y,this.g_aE=this.g_aD},n.prototype.reset=function(){this.c=0,this.y=0,this.g_aD=0,this.g_aE=0},g_a.g_aF=n,g_a.g_aG=function(g){return g.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};i.prototype.g_aN=function(g){this.g_aO=g,this.g_aP=g.length/2,this.g_aH.length=g.length,this.g_aQ=-1,this.g_aR=-1,this.g_aS=0},i.prototype.g_aT=function(){return!this.g_aO.length},i.prototype.g_aU=function(){for(var g=this.g_aH,_=g[0],e=_,t=g[1],p=t,o=1,n=this.g_aP,i,s,r;o<n;++o)r=2*o,i=g[r],s=g[r+1],i<_&&(_=i),i>e&&(e=i),s<t&&(t=s),s>p&&(p=s);this.g_aI=_,this.g_aK=e,this.g_aJ=t,this.g_aL=p},i.prototype.g_A=function(g,_,e){this.g_aH.length=8,this.g_aP=4;var t=this.g_aH;t[0]=g.left-_,t[1]=g.top-e,t[2]=g.right-_,t[3]=g.top-e,t[4]=g.right-_,t[5]=g.bottom-e,t[6]=g.left-_,t[7]=g.bottom-e,this.g_aQ=g.right-g.left,this.g_aR=g.bottom-g.top,this.g_aU()},i.prototype.g_aV=function(g,_,e,t,p){this.g_aH.length=8,this.g_aP=4;var o=this.g_aH;o[0]=g.g_s-_,o[1]=g.g_t-e,o[2]=g.g_u-_,o[3]=g.g_v-e,o[4]=g.g_w-_,o[5]=g.g_x-e,o[6]=g.g_y-_,o[7]=g.g_z-e,this.g_aQ=t,this.g_aR=p,this.g_aU()},i.prototype.g_aW=function(g){this.g_aP=g.g_aP,g_a.g_S(this.g_aH,g.g_aH),this.g_aI=g.g_aI,this.g_aJ-g.g_aJ,this.g_aK=g.g_aK,this.g_aL=g.g_aL},i.prototype.g_aX=function(g,_,e){if(this.g_aQ!==g||this.g_aR!==_||this.g_aS!==e){this.g_aQ=g,this.g_aR=_,this.g_aS=e;var t=0,p=1,o=this.g_aO,n=this.g_aH,s,i,r,a,d,l;for(0!==e&&(t=z(e),p=A(e)),s=0,a=this.g_aP;s<a;s++)i=2*s,r=i+1,d=o[i]*g,l=o[r]*_,n[i]=d*p-l*t,n[r]=l*p+d*t;this.g_aU()}},i.prototype.g_q=function(g,_){var e=this.g_aH;if(g===e[0]&&_===e[1])return!0;var t=this.g_aP,p=this.g_aI-110,o=this.g_aJ-101,n=this.g_aK+131,s=this.g_aL+120,r=0,a=0,d,i,l,h,y,u,c;for(d=0;d<t;d++)i=2*d,l=2*((d+1)%t),h=e[i],y=e[i+1],u=e[l],c=e[l+1],g_a.g_m(p,o,g,_,h,y,u,c)&&r++,g_a.g_m(n,s,g,_,h,y,u,c)&&a++;return 1==r%2||1==a%2},i.prototype.g_aY=function(g,_,e){var t=g.g_aH,p=this.g_aH;if(this.g_q(t[0]+_,t[1]+e))return!0;if(g.g_q(p[0]-_,p[1]-e))return!0;var o,n,i,s,r,a,d,l,h,y,u,c,f,m,x,j;for(o=0,s=this.g_aP;o<s;o++)for(n=2*o,i=2*((o+1)%s),h=p[n],y=p[n+1],u=p[i],c=p[i+1],(r=0,l=g.g_aP);r<l;r++)if(a=2*r,d=2*((r+1)%l),f=t[a]+_,m=t[a+1]+e,x=t[d]+_,j=t[d+1]+e,g_a.g_m(h,y,u,c,f,m,x,j))return!0;return!1},i.prototype.g_G=function(g,_,e,t,p,o){var n=this.g_aH;if(this.g_q(e-g,t-_))return!0;var s,i,r,a,d,l,h,y;for(s=0,i=this.g_aP;s<i;s++)if(r=2*s,a=2*((s+1)%i),d=n[r]+g,l=n[r+1]+_,h=n[a]+g,y=n[a+1]+_,g_a.g_m(e,t,p,o,d,l,h,y))return!0;return!1},i.prototype.g_aZ=function(g){var _,e,t;for(_=0,e=this.g_aP;_<e;++_)t=2*_,this.g_aH[t]=2*g-this.g_aH[t]},i.prototype.g_a_=function(g){var _,e,t;for(_=0,e=this.g_aP;_<e;++_)t=2*_+1,this.g_aH[t]=2*g-this.g_aH[t]},i.prototype.g_a$=function(){var g,_,e,t,p;for(g=0,_=this.g_aP;g<_;++g)e=2*g,t=e+1,p=this.g_aH[e],this.g_aH[e]=this.g_aH[t],this.g_aH[t]=p},g_a.g_ba=i;s.prototype.g_bd=0,s.prototype.g_be=function(g,_,e){var t=this.cells[g],p;return t?(p=t[_],p?p:e?(p=a(this,g,_),this.cells[g][_]=p,p):null):e?(p=a(this,g,_),this.cells[g]={},this.cells[g][_]=p,p):null},s.prototype.g_bf=function(g){return g_a.floor(g/this.g_bb)},s.prototype.g_bg=function(g){return g_a.floor(g/this.g_bc)},s.prototype.update=function(g,_,e){var t,p,o,n,i;if(_)for(t=_.left,p=_.right;t<=p;++t)for(o=_.top,n=_.bottom;o<=n;++o)e&&e.g_q(t,o)||(i=this.g_be(t,o,!1),i&&(i.remove(g),i.g_av()&&(d(i),this.cells[t][o]=null)));if(e)for(t=e.left,p=e.right;t<=p;++t)for(o=e.top,n=e.bottom;o<=n;++o)_&&_.g_q(t,o)||this.g_be(t,o,!0).g_bh(g)},s.prototype.g_bi=function(g,_){var e,t,p,o,n,i;for(e=this.g_bf(g.left),p=this.g_bg(g.top),t=this.g_bf(g.right),n=this.g_bg(g.bottom);e<=t;++e)for(o=p;o<=n;++o)i=this.g_be(e,o,!1),i&&i.dump(_)},g_a.g_bj=s;r.prototype.g_bd=0,r.prototype.g_be=function(g,_,e){var t=this.cells[g],p;return t?(p=t[_],p?p:e?(p=h(this,g,_),this.cells[g][_]=p,p):null):e?(p=h(this,g,_),this.cells[g]={},this.cells[g][_]=p,p):null},r.prototype.g_bf=function(g){return g_a.floor(g/this.g_bb)},r.prototype.g_bg=function(g){return g_a.floor(g/this.g_bc)},r.prototype.update=function(g,_,e){var t,p,o,n,i;if(_)for(t=_.left,p=_.right;t<=p;++t)for(o=_.top,n=_.bottom;o<=n;++o)e&&e.g_q(t,o)||(i=this.g_be(t,o,!1),i&&(i.remove(g),i.g_av()&&(u(i),this.cells[t][o]=null)));if(e)for(t=e.left,p=e.right;t<=p;++t)for(o=e.top,n=e.bottom;o<=n;++o)_&&_.g_q(t,o)||this.g_be(t,o,!0).g_bh(g)},r.prototype.g_bi=function(g,_,e,t,p){var o,n,i,s,r,a;for(o=this.g_bf(g),i=this.g_bg(_),n=this.g_bf(e),r=this.g_bg(t);o<=n;++o)for(s=i;s<=r;++s)a=this.g_be(o,s,!1),a&&a.dump(p)},r.prototype.g_bk=function(g){var _,e,t,p,o,n;for(_=g.left,t=g.top,e=g.right,o=g.bottom;_<=e;++_)for(p=t;p<=o;++p)n=this.g_be(_,p,!1),n&&(n.g_bl=!1)},g_a.g_bm=r;var I=[];l.prototype.g_av=function(){return this.g_bp.g_av()},l.prototype.g_bh=function(g){this.g_bp.add(g)},l.prototype.remove=function(g){this.g_bp.remove(g)},l.prototype.dump=function(g){g_a.g_T(g,this.g_bp.g_ax())},g_a.g_bo=l;var S=[];y.prototype.g_av=function(){return!this.g_bp.length||!(this.g_bp.length>this.g_br.count())&&(this.g_bt(),!0)},y.prototype.g_bh=function(g){if(this.g_br.contains(g))return this.g_br.remove(g),void(this.g_br.g_av()&&(this.g_bs=!1));if(this.g_bp.length){var _=this.g_bp[this.g_bp.length-1];_.g_bu()>g.g_bu()&&(this.g_bl=!1),this.g_bp.push(g)}else this.g_bp.push(g),this.g_bl=!0},y.prototype.remove=function(g){this.g_br.add(g),this.g_bs=!0,30<=this.g_br.count()&&this.g_bt()},y.prototype.g_bt=function(){return this.g_bs?this.g_br.count()===this.g_bp.length?void this.reset():void(g_a.g_aA(this.g_bp,this.g_br),this.g_br.clear(),this.g_bs=!1):void 0};y.prototype.g_bw=function(){this.g_bl||(this.g_bp.sort(c),this.g_bl=!0)},y.prototype.reset=function(){g_a.g_R(this.g_bp),this.g_bl=!0,this.g_br.clear(),this.g_bs=!1},y.prototype.dump=function(g){this.g_bt(),this.g_bw(),this.g_bp.length&&g.push(this.g_bp)},g_a.g_bq=y;var B=["lighter","xor","copy","destination-over","source-in","destination-in","source-out","destination-out","source-atop","destination-atop"];g_a.g_bx=function(g){return 0>=g||11<=g?"source-over":B[g-1]},g_a.g_by=function(g,_,e){if(e)switch(g.g_bz=e.ONE,g.g_bA=e.ONE_MINUS_SRC_ALPHA,_){case 1:g.g_bz=e.ONE,g.g_bA=e.ONE;break;case 2:break;case 3:g.g_bz=e.ONE,g.g_bA=e.ZERO;break;case 4:g.g_bz=e.ONE_MINUS_DST_ALPHA,g.g_bA=e.ONE;break;case 5:g.g_bz=e.DST_ALPHA,g.g_bA=e.ZERO;break;case 6:g.g_bz=e.ZERO,g.g_bA=e.SRC_ALPHA;break;case 7:g.g_bz=e.ONE_MINUS_DST_ALPHA,g.g_bA=e.ZERO;break;case 8:g.g_bz=e.ZERO,g.g_bA=e.ONE_MINUS_SRC_ALPHA;break;case 9:g.g_bz=e.DST_ALPHA,g.g_bA=e.ONE_MINUS_SRC_ALPHA;break;case 10:g.g_bz=e.ONE_MINUS_DST_ALPHA,g.g_bA=e.SRC_ALPHA;}},g_a.g_bB=function(g){return Math.round(1e6*g)/1e6},g_a.g_bC=function(g,_){return"string"!=typeof g||"string"!=typeof _?!1:!(g.length!==_.length)&&(!(g!==_)||g.toLowerCase()===_.toLowerCase())},g_a.g_bD=function(g){var _="",e=!1,t,p,o;for(t=0,p=g.length;t<p;++t)o=g.charAt(t),"-"===o?e=!0:e?(_+=o.toUpperCase(),e=!1):_+=o;return _},g_a.g_bE=function(g){var _=g.target;return!_||_===document||_===window||document&&document.body&&_===document.body||!!g_a.g_bC(_.tagName,"canvas")}}();var MatrixArray="undefined"==typeof Float32Array?Array:Float32Array,glMatrixArrayType=MatrixArray,vec3={},mat3={},mat4={},quat4={};vec3.create=function(g){var _=new MatrixArray(3);return g&&(_[0]=g[0],_[1]=g[1],_[2]=g[2]),_},vec3.set=function(g,_){return _[0]=g[0],_[1]=g[1],_[2]=g[2],_},vec3.add=function(g,_,e){return e&&g!==e?(e[0]=g[0]+_[0],e[1]=g[1]+_[1],e[2]=g[2]+_[2],e):(g[0]+=_[0],g[1]+=_[1],g[2]+=_[2],g)},vec3.g_bF=function(g,_,e){return e&&g!==e?(e[0]=g[0]-_[0],e[1]=g[1]-_[1],e[2]=g[2]-_[2],e):(g[0]-=_[0],g[1]-=_[1],g[2]-=_[2],g)},vec3.g_bG=function(g,_){return _||(_=g),_[0]=-g[0],_[1]=-g[1],_[2]=-g[2],_},vec3.scale=function(g,_,e){return e&&g!==e?(e[0]=g[0]*_,e[1]=g[1]*_,e[2]=g[2]*_,e):(g[0]*=_,g[1]*=_,g[2]*=_,g)},vec3.normalize=function(_,t){t||(t=_);var p=_[0],o=_[1],n=_[2],e=Math.sqrt(p*p+o*o+n*n);if(!e)return t[0]=0,t[1]=0,t[2]=0,t;return 1===e?(t[0]=p,t[1]=o,t[2]=n,t):(e=1/e,t[0]=p*e,t[1]=o*e,t[2]=n*e,t)},vec3.g_bH=function(_,t,p){p||(p=_);var o=_[0],n=_[1],_=_[2],e=t[0],g=t[1],t=t[2];return p[0]=n*t-_*g,p[1]=_*e-o*t,p[2]=o*g-n*e,p},vec3.length=function(g){var _=g[0],e=g[1],g=g[2];return Math.sqrt(_*_+e*e+g*g)},vec3.g_bI=function(g,_){return g[0]*_[0]+g[1]*_[1]+g[2]*_[2]},vec3.direction=function(g,_,t){t||(t=g);var p=g[0]-_[0],o=g[1]-_[1],g=g[2]-_[2],_=Math.sqrt(p*p+o*o+g*g);return _?(_=1/_,t[0]=p*_,t[1]=o*_,t[2]=g*_,t):(t[0]=0,t[1]=0,t[2]=0,t)},vec3.g_ah=function(g,_,e,t){return t||(t=g),t[0]=g[0]+e*(_[0]-g[0]),t[1]=g[1]+e*(_[1]-g[1]),t[2]=g[2]+e*(_[2]-g[2]),t},vec3.g_bJ=function(g){return"["+g[0]+", "+g[1]+", "+g[2]+"]"},mat3.create=function(g){var _=new MatrixArray(9);return g&&(_[0]=g[0],_[1]=g[1],_[2]=g[2],_[3]=g[3],_[4]=g[4],_[5]=g[5],_[6]=g[6],_[7]=g[7],_[8]=g[8]),_},mat3.set=function(g,_){return _[0]=g[0],_[1]=g[1],_[2]=g[2],_[3]=g[3],_[4]=g[4],_[5]=g[5],_[6]=g[6],_[7]=g[7],_[8]=g[8],_},mat3.identity=function(g){return g[0]=1,g[1]=0,g[2]=0,g[3]=0,g[4]=1,g[5]=0,g[6]=0,g[7]=0,g[8]=1,g},mat3.g_bK=function(g,_){if(!_||g===_){var t=g[1],p=g[2],o=g[5];return g[1]=g[3],g[2]=g[6],g[3]=t,g[5]=g[7],g[6]=p,g[7]=o,g}return _[0]=g[0],_[1]=g[3],_[2]=g[6],_[3]=g[1],_[4]=g[4],_[5]=g[7],_[6]=g[2],_[7]=g[5],_[8]=g[8],_},mat3.g_bL=function(g,_){return _||(_=mat4.create()),_[15]=1,_[14]=0,_[13]=0,_[12]=0,_[11]=0,_[10]=g[8],_[9]=g[7],_[8]=g[6],_[7]=0,_[6]=g[5],_[5]=g[4],_[4]=g[3],_[3]=0,_[2]=g[2],_[1]=g[1],_[0]=g[0],_},mat3.g_bJ=function(g){return"["+g[0]+", "+g[1]+", "+g[2]+", "+g[3]+", "+g[4]+", "+g[5]+", "+g[6]+", "+g[7]+", "+g[8]+"]"},mat4.create=function(g){var _=new MatrixArray(16);return g&&(_[0]=g[0],_[1]=g[1],_[2]=g[2],_[3]=g[3],_[4]=g[4],_[5]=g[5],_[6]=g[6],_[7]=g[7],_[8]=g[8],_[9]=g[9],_[10]=g[10],_[11]=g[11],_[12]=g[12],_[13]=g[13],_[14]=g[14],_[15]=g[15]),_},mat4.set=function(g,_){return _[0]=g[0],_[1]=g[1],_[2]=g[2],_[3]=g[3],_[4]=g[4],_[5]=g[5],_[6]=g[6],_[7]=g[7],_[8]=g[8],_[9]=g[9],_[10]=g[10],_[11]=g[11],_[12]=g[12],_[13]=g[13],_[14]=g[14],_[15]=g[15],_},mat4.identity=function(g){return g[0]=1,g[1]=0,g[2]=0,g[3]=0,g[4]=0,g[5]=1,g[6]=0,g[7]=0,g[8]=0,g[9]=0,g[10]=1,g[11]=0,g[12]=0,g[13]=0,g[14]=0,g[15]=1,g},mat4.g_bK=function(_,t){if(!t||_===t){var p=_[1],o=_[2],n=_[3],e=_[6],g=_[7],i=_[11];return _[1]=_[4],_[2]=_[8],_[3]=_[12],_[4]=p,_[6]=_[9],_[7]=_[13],_[8]=o,_[9]=e,_[11]=_[14],_[12]=n,_[13]=g,_[14]=i,_}return t[0]=_[0],t[1]=_[4],t[2]=_[8],t[3]=_[12],t[4]=_[1],t[5]=_[5],t[6]=_[9],t[7]=_[13],t[8]=_[2],t[9]=_[6],t[10]=_[10],t[11]=_[14],t[12]=_[3],t[13]=_[7],t[14]=_[11],t[15]=_[15],t},mat4.g_bM=function(_){var t=_[0],s=_[1],r=_[2],a=_[3],e=_[4],g=_[5],d=_[6],h=_[7],i=_[8],y=_[9],u=_[10],l=_[11],n=_[12],o=_[13],c=_[14],_=_[15];return n*y*d*a-i*o*d*a-n*g*u*a+e*o*u*a+i*g*c*a-e*y*c*a-n*y*r*h+i*o*r*h+n*s*u*h-t*o*u*h-i*s*c*h+t*y*c*h+n*g*r*l-e*o*r*l-n*s*d*l+t*o*d*l+e*s*c*l-t*g*c*l-i*g*r*_+e*y*r*_+i*s*d*_-t*y*d*_-e*s*u*_+t*g*u*_},mat4.inverse=function(_,a){a||(a=_);var M=_[0],T=_[1],N=_[2],e=_[3],g=_[4],b=_[5],h=_[6],i=_[7],j=_[8],L=_[9],O=_[10],n=_[11],o=_[12],R=_[13],p=_[14],r=_[15],s=M*b-T*g,A=M*h-N*g,U=M*i-e*g,t=T*h-N*b,u=T*i-e*b,v=N*i-e*h,w=j*R-L*o,x=j*p-O*o,y=j*r-n*o,z=L*p-O*R,C=L*r-n*R,D=O*r-n*p,E=1/(s*D-A*C+U*z+t*y-u*x+v*w);return a[0]=(b*D-h*C+i*z)*E,a[1]=(-T*D+N*C-e*z)*E,a[2]=(R*v-p*u+r*t)*E,a[3]=(-L*v+O*u-n*t)*E,a[4]=(-g*D+h*y-i*x)*E,a[5]=(M*D-N*y+e*x)*E,a[6]=(-o*v+p*U-r*A)*E,a[7]=(j*v-O*U+n*A)*E,a[8]=(g*C-b*y+i*w)*E,a[9]=(-M*C+T*y-e*w)*E,a[10]=(o*u-R*U+r*s)*E,a[11]=(-j*u+L*U-n*s)*E,a[12]=(-g*z+b*x-h*w)*E,a[13]=(M*z-T*x+N*w)*E,a[14]=(-o*t+R*A-p*s)*E,a[15]=(j*t-L*A+O*s)*E,a},mat4.g_bN=function(g,_){return _||(_=mat4.create()),_[0]=g[0],_[1]=g[1],_[2]=g[2],_[3]=g[3],_[4]=g[4],_[5]=g[5],_[6]=g[6],_[7]=g[7],_[8]=g[8],_[9]=g[9],_[10]=g[10],_[11]=g[11],_[12]=0,_[13]=0,_[14]=0,_[15]=1,_},mat4.g_bO=function(g,_){return _||(_=mat3.create()),_[0]=g[0],_[1]=g[1],_[2]=g[2],_[3]=g[4],_[4]=g[5],_[5]=g[6],_[6]=g[8],_[7]=g[9],_[8]=g[10],_},mat4.g_bP=function(_,t){var p=_[0],s=_[1],r=_[2],e=_[4],g=_[5],a=_[6],d=_[8],i=_[9],y=_[10],u=y*g-a*i,l=-y*e+a*d,n=i*e-g*d,o=p*u+s*l+r*n;return o?(o=1/o,t||(t=mat3.create()),t[0]=u*o,t[1]=(-y*s+r*i)*o,t[2]=(a*s-r*g)*o,t[3]=l*o,t[4]=(y*p-r*d)*o,t[5]=(-a*p+r*e)*o,t[6]=n*o,t[7]=(-i*p+s*d)*o,t[8]=(g*p-s*e)*o,t):null},mat4.multiply=function(_,a,M){M||(M=_);var c=_[0],d=_[1],e=_[2],g=_[3],f=_[4],h=_[5],i=_[6],j=_[7],T=_[8],l=_[9],n=_[10],o=_[11],m=_[12],p=_[13],r=_[14],_=_[15],s=a[0],A=a[1],N=a[2],t=a[3],u=a[4],b=a[5],L=a[6],x=a[7],y=a[8],z=a[9],w=a[10],C=a[11],E=a[12],D=a[13],k=a[14],a=a[15];return M[0]=s*c+A*f+N*T+t*m,M[1]=s*d+A*h+N*l+t*p,M[2]=s*e+A*i+N*n+t*r,M[3]=s*g+A*j+N*o+t*_,M[4]=u*c+b*f+L*T+x*m,M[5]=u*d+b*h+L*l+x*p,M[6]=u*e+b*i+L*n+x*r,M[7]=u*g+b*j+L*o+x*_,M[8]=y*c+z*f+w*T+C*m,M[9]=y*d+z*h+w*l+C*p,M[10]=y*e+z*i+w*n+C*r,M[11]=y*g+z*j+w*o+C*_,M[12]=E*c+D*f+k*T+a*m,M[13]=E*d+D*h+k*l+a*p,M[14]=E*e+D*i+k*n+a*r,M[15]=E*g+D*j+k*o+a*_,M},mat4.g_bQ=function(g,_,t){t||(t=_);var p=_[0],o=_[1],_=_[2];return t[0]=g[0]*p+g[4]*o+g[8]*_+g[12],t[1]=g[1]*p+g[5]*o+g[9]*_+g[13],t[2]=g[2]*p+g[6]*o+g[10]*_+g[14],t},mat4.g_bR=function(_,t,p){p||(p=t);var o=t[0],n=t[1],e=t[2],t=t[3];return p[0]=_[0]*o+_[4]*n+_[8]*e+_[12]*t,p[1]=_[1]*o+_[5]*n+_[9]*e+_[13]*t,p[2]=_[2]*o+_[6]*n+_[10]*e+_[14]*t,p[3]=_[3]*o+_[7]*n+_[11]*e+_[15]*t,p},mat4.translate=function(_,t,s){var a=t[0],d=t[1],t=t[2],e,g,y,h,i,u,c,l,n,o,f,p;return s&&_!==s?(e=_[0],g=_[1],y=_[2],h=_[3],i=_[4],u=_[5],c=_[6],l=_[7],n=_[8],o=_[9],f=_[10],p=_[11],s[0]=e,s[1]=g,s[2]=y,s[3]=h,s[4]=i,s[5]=u,s[6]=c,s[7]=l,s[8]=n,s[9]=o,s[10]=f,s[11]=p,s[12]=e*a+i*d+n*t+_[12],s[13]=g*a+u*d+o*t+_[13],s[14]=y*a+c*d+f*t+_[14],s[15]=h*a+l*d+p*t+_[15],s):(_[12]=_[0]*a+_[4]*d+_[8]*t+_[12],_[13]=_[1]*a+_[5]*d+_[9]*t+_[13],_[14]=_[2]*a+_[6]*d+_[10]*t+_[14],_[15]=_[3]*a+_[7]*d+_[11]*t+_[15],_)},mat4.scale=function(g,_,t){var p=_[0],o=_[1],_=_[2];return t&&g!==t?(t[0]=g[0]*p,t[1]=g[1]*p,t[2]=g[2]*p,t[3]=g[3]*p,t[4]=g[4]*o,t[5]=g[5]*o,t[6]=g[6]*o,t[7]=g[7]*o,t[8]=g[8]*_,t[9]=g[9]*_,t[10]=g[10]*_,t[11]=g[11]*_,t[12]=g[12],t[13]=g[13],t[14]=g[14],t[15]=g[15],t):(g[0]*=p,g[1]*=p,g[2]*=p,g[3]*=p,g[4]*=o,g[5]*=o,g[6]*=o,g[7]*=o,g[8]*=_,g[9]*=_,g[10]*=_,g[11]*=_,g)},mat4.rotate=function(_,a,M,c){var d=M[0],e=M[1],M=M[2],g=Math.sqrt(d*d+e*e+M*M),f,h,i,j,T,l,n,o,m,p,r,s,A,N,t,u,E,b,x,y;return g?(1!==g&&(g=1/g,d*=g,e*=g,M*=g),f=Math.sin(a),h=Math.cos(a),i=1-h,a=_[0],g=_[1],j=_[2],T=_[3],l=_[4],n=_[5],o=_[6],m=_[7],p=_[8],r=_[9],s=_[10],A=_[11],N=d*d*i+h,t=e*d*i+M*f,u=M*d*i-e*f,E=d*e*i-M*f,b=e*e*i+h,x=M*e*i+d*f,y=d*M*i+e*f,d=e*M*i-d*f,e=M*M*i+h,c?_!==c&&(c[12]=_[12],c[13]=_[13],c[14]=_[14],c[15]=_[15]):c=_,c[0]=a*N+l*t+p*u,c[1]=g*N+n*t+r*u,c[2]=j*N+o*t+s*u,c[3]=T*N+m*t+A*u,c[4]=a*E+l*b+p*x,c[5]=g*E+n*b+r*x,c[6]=j*E+o*b+s*x,c[7]=T*E+m*b+A*x,c[8]=a*y+l*d+p*e,c[9]=g*y+n*d+r*e,c[10]=j*y+o*d+s*e,c[11]=T*y+m*d+A*e,c):null},mat4.g_bS=function(_,t,p){var o=Math.sin(t),t=Math.cos(t),n=_[4],e=_[5],g=_[6],s=_[7],r=_[8],i=_[9],a=_[10],h=_[11];return p?_!==p&&(p[0]=_[0],p[1]=_[1],p[2]=_[2],p[3]=_[3],p[12]=_[12],p[13]=_[13],p[14]=_[14],p[15]=_[15]):p=_,p[4]=n*t+r*o,p[5]=e*t+i*o,p[6]=g*t+a*o,p[7]=s*t+h*o,p[8]=n*-o+r*t,p[9]=e*-o+i*t,p[10]=g*-o+a*t,p[11]=s*-o+h*t,p},mat4.g_bT=function(_,t,p){var o=Math.sin(t),t=Math.cos(t),n=_[0],e=_[1],g=_[2],s=_[3],r=_[8],i=_[9],a=_[10],h=_[11];return p?_!==p&&(p[4]=_[4],p[5]=_[5],p[6]=_[6],p[7]=_[7],p[12]=_[12],p[13]=_[13],p[14]=_[14],p[15]=_[15]):p=_,p[0]=n*t+r*-o,p[1]=e*t+i*-o,p[2]=g*t+a*-o,p[3]=s*t+h*-o,p[8]=n*o+r*t,p[9]=e*o+i*t,p[10]=g*o+a*t,p[11]=s*o+h*t,p},mat4.g_bU=function(_,t,p){var o=Math.sin(t),t=Math.cos(t),n=_[0],e=_[1],g=_[2],s=_[3],r=_[4],i=_[5],a=_[6],h=_[7];return p?_!==p&&(p[8]=_[8],p[9]=_[9],p[10]=_[10],p[11]=_[11],p[12]=_[12],p[13]=_[13],p[14]=_[14],p[15]=_[15]):p=_,p[0]=n*t+r*o,p[1]=e*t+i*o,p[2]=g*t+a*o,p[3]=s*t+h*o,p[4]=n*-o+r*t,p[5]=e*-o+i*t,p[6]=g*-o+a*t,p[7]=s*-o+h*t,p},mat4.g_bV=function(_,t,p,o,n,e,g){g||(g=mat4.create());var s=t-_,r=o-p,i=e-n;return g[0]=2*n/s,g[1]=0,g[2]=0,g[3]=0,g[4]=0,g[5]=2*n/r,g[6]=0,g[7]=0,g[8]=(t+_)/s,g[9]=(o+p)/r,g[10]=-(e+n)/i,g[11]=-1,g[12]=0,g[13]=0,g[14]=-(2*(e*n))/i,g[15]=0,g},mat4.perspective=function(g,_,t,p,o){return g=t*Math.tan(g*Math.PI/360),_*=g,mat4.g_bV(-_,_,-g,g,t,p,o)},mat4.g_bW=function(_,t,p,o,n,e,g){g||(g=mat4.create());var s=t-_,r=o-p,i=e-n;return g[0]=2/s,g[1]=0,g[2]=0,g[3]=0,g[4]=0,g[5]=2/r,g[6]=0,g[7]=0,g[8]=0,g[9]=0,g[10]=-2/i,g[11]=0,g[12]=-(_+t)/s,g[13]=-(o+p)/r,g[14]=-(e+n)/i,g[15]=1,g},mat4.g_bX=function(_,t,p,s){var r=Math.sqrt;s||(s=mat4.create());var a=_[0],n=_[1],_=_[2],o,e,g,d,h,i,y,u;return(e=p[0],g=p[1],o=p[2],p=t[1],i=t[2],a===t[0]&&n===p&&_===i)?mat4.identity(s):(p=a-t[0],i=n-t[1],y=_-t[2],u=1/r(p*p+i*i+y*y),p*=u,i*=u,y*=u,t=g*y-o*i,o=o*p-e*y,e=e*i-g*p,(u=r(t*t+o*o+e*e))?(u=1/u,t*=u,o*=u,e*=u):e=o=t=0,g=i*e-y*o,d=y*t-p*e,h=p*o-i*t,(u=r(g*g+d*d+h*h))?(u=1/u,g*=u,d*=u,h*=u):h=d=g=0,s[0]=t,s[1]=g,s[2]=p,s[3]=0,s[4]=o,s[5]=d,s[6]=i,s[7]=0,s[8]=e,s[9]=h,s[10]=y,s[11]=0,s[12]=-(t*a+o*n+e*_),s[13]=-(g*a+d*n+h*_),s[14]=-(p*a+i*n+y*_),s[15]=1,s)},mat4.g_bY=function(_,t,p){p||(p=mat4.create());var o=_[0],n=_[1],e=_[2],g=_[3],s=o+o,r=n+n,i=e+e,_=o*s,a=o*r;o*=i;var d=n*r;return n*=i,e*=i,s*=g,r*=g,g*=i,p[0]=1-(d+e),p[1]=a+g,p[2]=o-r,p[3]=0,p[4]=a-g,p[5]=1-(_+e),p[6]=n+s,p[7]=0,p[8]=o+r,p[9]=n-s,p[10]=1-(_+d),p[11]=0,p[12]=t[0],p[13]=t[1],p[14]=t[2],p[15]=1,p},mat4.g_bJ=function(g){return"["+g[0]+", "+g[1]+", "+g[2]+", "+g[3]+", "+g[4]+", "+g[5]+", "+g[6]+", "+g[7]+", "+g[8]+", "+g[9]+", "+g[10]+", "+g[11]+", "+g[12]+", "+g[13]+", "+g[14]+", "+g[15]+"]"},quat4.create=function(g){var _=new MatrixArray(4);return g&&(_[0]=g[0],_[1]=g[1],_[2]=g[2],_[3]=g[3]),_},quat4.set=function(g,_){return _[0]=g[0],_[1]=g[1],_[2]=g[2],_[3]=g[3],_},quat4.g_bZ=function(g,_){var t=Math.abs,p=Math.sqrt,o=g[0],n=g[1],i=g[2];return _&&g!==_?(_[0]=o,_[1]=n,_[2]=i,_[3]=-p(t(1-o*o-n*n-i*i)),_):(g[3]=-p(t(1-o*o-n*n-i*i)),g)},quat4.inverse=function(g,_){return _&&g!==_?(_[0]=-g[0],_[1]=-g[1],_[2]=-g[2],_[3]=g[3],_):(g[0]*=-1,g[1]*=-1,g[2]*=-1,g)},quat4.length=function(g){var _=g[0],e=g[1],t=g[2],g=g[3];return Math.sqrt(_*_+e*e+t*t+g*g)},quat4.normalize=function(_,t){t||(t=_);var p=_[0],o=_[1],n=_[2],e=_[3],g=Math.sqrt(p*p+o*o+n*n+e*e);return 0===g?(t[0]=0,t[1]=0,t[2]=0,t[3]=0,t):(g=1/g,t[0]=p*g,t[1]=o*g,t[2]=n*g,t[3]=e*g,t)},quat4.multiply=function(_,t,p){p||(p=_);var o=_[0],n=_[1],e=_[2],_=_[3],g=t[0],s=t[1],r=t[2],t=t[3];return p[0]=o*t+_*g+n*r-e*s,p[1]=n*t+_*s+e*g-o*r,p[2]=e*t+_*r+o*s-n*g,p[3]=_*t-o*g-n*s-e*r,p},quat4.g_bQ=function(_,t,p){p||(p=t);var o=t[0],n=t[1],e=t[2],t=_[0],g=_[1],s=_[2],_=_[3],r=_*o+g*e-s*n,i=_*n+s*o-t*e,a=_*e+t*n-g*o,o=-t*o-g*n-s*e;return p[0]=r*_+o*-t+i*-s-a*-g,p[1]=i*_+o*-g+a*-t-r*-s,p[2]=a*_+o*-s+r*-g-i*-t,p},quat4.g_bO=function(_,t){t||(t=mat3.create());var p=_[0],o=_[1],n=_[2],e=_[3],g=p+p,s=o+o,r=n+n,i=p*g,a=p*s;p*=r;var d=o*s;return o*=r,n*=r,g*=e,s*=e,e*=r,t[0]=1-(d+n),t[1]=a+e,t[2]=p-s,t[3]=a-e,t[4]=1-(i+n),t[5]=o+g,t[6]=p+s,t[7]=o-g,t[8]=1-(i+d),t},quat4.g_bL=function(_,t){t||(t=mat4.create());var p=_[0],o=_[1],n=_[2],e=_[3],g=p+p,s=o+o,r=n+n,i=p*g,a=p*s;p*=r;var d=o*s;return o*=r,n*=r,g*=e,s*=e,e*=r,t[0]=1-(d+n),t[1]=a+e,t[2]=p-s,t[3]=0,t[4]=a-e,t[5]=1-(i+n),t[6]=o+g,t[7]=0,t[8]=p+s,t[9]=o-g,t[10]=1-(i+d),t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},quat4.g_b_=function(_,t,p,o){var n=Math.abs,i=Math.sin;o||(o=_);var s=_[0]*t[0]+_[1]*t[1]+_[2]*t[2]+_[3]*t[3],e,g;return 1<=n(s)?(o!==_&&(o[0]=_[0],o[1]=_[1],o[2]=_[2],o[3]=_[3]),o):(e=Math.acos(s),g=Math.sqrt(1-s*s),1e-3>n(g))?(o[0]=0.5*_[0]+0.5*t[0],o[1]=0.5*_[1]+0.5*t[1],o[2]=0.5*_[2]+0.5*t[2],o[3]=0.5*_[3]+0.5*t[3],o):(s=i((1-p)*e)/g,p=i(p*e)/g,o[0]=_[0]*s+t[0]*p,o[1]=_[1]*s+t[1]*p,o[2]=_[2]*s+t[2]*p,o[3]=_[3]*s+t[3]*p,o)},quat4.g_bJ=function(g){return"["+g[0]+", "+g[1]+", "+g[2]+", "+g[3]+"]"},function(){function g(g,_,e){this.g_b$=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent),this.width=0,this.height=0,this.g_ca=!!e,this.g_cb=!1,this.g_cc=!1,this.g_cd=0,this.g_ce=1,this.g_cf=1e3,this.g_cg=(this.g_cf-this.g_ce)/32768,this.g_ch=this.g_cf/(this.g_cf-this.g_ce),this.g_ci=this.g_cf*this.g_ce/(this.g_ce-this.g_cf),this.g_cj=65536*this.g_ch,this.g_ck=65536*this.g_ci,this.g_cl=vec3.create([0,0,100]),this.g_cm=vec3.create([0,0,0]),this.g_cn=vec3.create([0,1,0]),this.g_co=vec3.create([1,1,1]),this.g_cp=!0,this.g_cq=mat4.create(),this.g_cr=mat4.create(),this.g_cs=mat4.create(),this.g_ct=mat4.create(),this.g_cu=g,this.version=0===this.g_cu.getParameter(this.g_cu.VERSION).indexOf("WebGL 2")?2:1,this.g_cv=null,this.g_cw=!1,this.g_cv=2===this.version?this.g_cu.getExtension("EXT_disjoint_timer_query_webgl2")||this.g_cu.getExtension("EXT_disjoint_timer_query"):this.g_cu.getExtension("EXT_disjoint_timer_query"),this.g_cx=0,this.g_cy=[],this.g_cz()}function _(g,_,e){this.g_cu=g,this.g_di=_,this.name=e,this.g_dj=g.getAttribLocation(_,"aPos"),this.g_dk=g.getAttribLocation(_,"aTex"),this.g_dl=g.getUniformLocation(_,"matP"),this.g_dm=g.getUniformLocation(_,"matMV"),this.g_dn=g.getUniformLocation(_,"opacity"),this.g_do=g.getUniformLocation(_,"colorFill"),this.g_dp=g.getUniformLocation(_,"samplerFront"),this.g_dq=g.getUniformLocation(_,"samplerBack"),this.g_dr=g.getUniformLocation(_,"srcStart"),this.g_ds=g.getUniformLocation(_,"srcEnd"),this.g_dt=g.getUniformLocation(_,"srcOriginStart"),this.g_du=g.getUniformLocation(_,"srcOriginEnd"),this.g_dv=g.getUniformLocation(_,"layoutStart"),this.g_dw=g.getUniformLocation(_,"layoutEnd"),this.g_dx=g.getUniformLocation(_,"destStart"),this.g_dy=g.getUniformLocation(_,"destEnd"),this.g_dz=g.getUniformLocation(_,"seconds"),this.g_dA=g.getUniformLocation(_,"pixelSize"),this.g_dB=g.getUniformLocation(_,"layerScale"),this.g_dC=g.getUniformLocation(_,"layerAngle"),this.g_dD=!!(this.g_dA||this.g_dz||this.g_dq||this.g_dr||this.g_ds||this.g_dt||this.g_du||this.g_dv||this.g_dw||this.g_dx||this.g_dy||this.g_dB||this.g_dC),this.g_dE=-999,this.g_dF=-999,this.g_dG=1,this.g_dH=0,this.g_dI=0,this.g_dJ=0,this.g_dK=0,this.g_dL=0,this.g_dM=0,this.g_dN=0,this.g_dO=0,this.g_dP=0,this.g_dQ=0,this.g_dR=0,this.g_dS=0,this.g_dT=0,this.g_dU=0,this.g_dV=1,this.g_dW=1,this.g_dX=1,this.g_dY=0,this.g_dZ=0,this.g_d_=[],this.g_d$=mat4.create(),this.g_dn&&g.uniform1f(this.g_dn,1),this.g_do&&g.uniform4f(this.g_do,1,1,1,1),this.g_dp&&g.uniform1i(this.g_dp,0),this.g_dq&&g.uniform1i(this.g_dq,1),this.g_dr&&g.uniform2f(this.g_dr,0,0),this.g_ds&&g.uniform2f(this.g_ds,1,1),this.g_dt&&g.uniform2f(this.g_dt,0,0),this.g_du&&g.uniform2f(this.g_du,0,0),this.g_dv&&g.uniform2f(this.g_dv,0,0),this.g_dw&&g.uniform2f(this.g_dw,0,0),this.g_dx&&g.uniform2f(this.g_dx,0,0),this.g_dy&&g.uniform2f(this.g_dy,1,1),this.g_dB&&g.uniform1f(this.g_dB,1),this.g_dC&&g.uniform1f(this.g_dC,0),this.g_dz&&g.uniform1f(this.g_dz,0),this.g_ea=!1}function e(g,_){return g[0]===_[0]&&g[1]===_[1]&&g[2]===_[2]&&g[3]===_[3]&&g[4]===_[4]&&g[5]===_[5]&&g[6]===_[6]&&g[7]===_[7]&&g[8]===_[8]&&g[9]===_[9]&&g[10]===_[10]&&g[11]===_[11]&&g[12]===_[12]&&g[13]===_[13]&&g[14]===_[14]&&g[15]===_[15]}function t(g,_){this.type=g,this.g_er=_,this.g_cu=_.g_cu,this.g_es=0,this.g_et=0,this.g_eu=0,this.g_ev=null,this.g_ep=null,this.g_ew=quat4.create(),this.g_ex=quat4.create(),this.g_ey=[],g_a.seal(this)}var p=8e3,o=3*(p/2),n=8e3,r=4,i=1,s=7,a=mat4.create();g.prototype.g_cz=function(){var g=this.g_cu,_,e;for(this.g_cA=1,this.g_cB=null,this.g_cC=null,this.g_cD=1,g.clearColor(0,0,0,0),g.clear(g.COLOR_BUFFER_BIT),g.enable(g.BLEND),g.blendFunc(g.ONE,g.ONE_MINUS_SRC_ALPHA),g.disable(g.CULL_FACE),g.disable(g.STENCIL_TEST),g.disable(g.DITHER),this.g_ca?(g.enable(g.DEPTH_TEST),g.depthFunc(g.LEQUAL)):g.disable(g.DEPTH_TEST),this.g_cE=g.getParameter(g.MAX_TEXTURE_SIZE),this.g_cF=g.ONE,this.g_cG=g.ONE_MINUS_SRC_ALPHA,this.g_cH=new Float32Array(p*(this.g_ca?3:2)),this.g_cI=new Float32Array(2*p),this.g_cJ=new Float32Array(4*n),this.g_cK=g.createBuffer(),g.bindBuffer(g.ARRAY_BUFFER,this.g_cK),g.bufferData(g.ARRAY_BUFFER,this.g_cJ.byteLength,g.DYNAMIC_DRAW),this.g_cL=[,,,,],this.g_cM=[,,,,],_=0;_<r;_++)this.g_cL[_]=g.createBuffer(),g.bindBuffer(g.ARRAY_BUFFER,this.g_cL[_]),g.bufferData(g.ARRAY_BUFFER,this.g_cH.byteLength,g.DYNAMIC_DRAW),this.g_cM[_]=g.createBuffer(),g.bindBuffer(g.ARRAY_BUFFER,this.g_cM[_]),g.bufferData(g.ARRAY_BUFFER,this.g_cI.byteLength,g.DYNAMIC_DRAW);this.g_cN=0,this.g_cO=g.createBuffer(),g.bindBuffer(g.ELEMENT_ARRAY_BUFFER,this.g_cO);var t=new Uint16Array(o);_=0,e=o;for(var i=0;_<e;)t[_++]=i,t[_++]=i+1,t[_++]=i+2,t[_++]=i,t[_++]=i+2,t[_++]=i+3,i+=4;g.bufferData(g.ELEMENT_ARRAY_BUFFER,t,g.STATIC_DRAW),this.g_cP=0,this.g_cQ=0,this.g_cR=0;var s,a;this.g_cS=[],s="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}",a=this.g_ca?"attribute highp vec3 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, aPos.z, 1.0);\n\tvTex = aTex;\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}";var d=this.g_cT({src:s},a,"<default>");this.g_cS.push(d),s="uniform mediump sampler2D samplerFront;\nvarying lowp float opacity;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, gl_PointCoord);\n\tgl_FragColor *= opacity;\n}";d=this.g_cT({src:s},"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.g_cS.push(d),s="varying mediump vec2 vTex;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tif (texture2D(samplerFront, vTex).a < 1.0)\n\t\tdiscard;\n}";var d=this.g_cT({src:s},a,"<earlyz>");this.g_cS.push(d),s="uniform lowp vec4 colorFill;\nvoid main(void) {\n\tgl_FragColor = colorFill;\n}";var d=this.g_cT({src:s},a,"<fill>");for(var l in this.g_cS.push(d),g_a.g_cU)g_a.g_cU.hasOwnProperty(l)&&this.g_cS.push(this.g_cT(g_a.g_cU[l],a,l));g.activeTexture(g.TEXTURE0),g.bindTexture(g.TEXTURE_2D,null),this.g_cV=[],this.g_cW=0,this.g_cX=!1,this.g_cY=!1,this.g_cZ=-1,this.g_c_=-1,this.g_c$=null,this.g_da=g.createFramebuffer(),this.g_db=null,this.g_dc=null,this.g_dd=!1,this.g_ca&&(this.g_dc=g.createRenderbuffer()),this.g_de=vec3.create([0,0,0]);var h=g.getParameter(g.ALIASED_POINT_SIZE_RANGE);this.g_df=h[0],this.g_dg=h[1],2048<this.g_dg&&(this.g_dg=2048),this.g_dh(0),g_a.seal(this)};_.prototype.g_eb=function(g){e(this.g_d$,g)||(mat4.set(g,this.g_d$),this.g_cu.uniformMatrix4fv(this.g_dm,!1,g))},g.prototype.g_cT=function(g,e,t){var p=this.g_cu,o=p.createShader(p.FRAGMENT_SHADER);if(p.shaderSource(o,g.src),p.compileShader(o),!p.getShaderParameter(o,p.COMPILE_STATUS)){var n=p.getShaderInfoLog(o);throw p.deleteShader(o),new Error("error compiling fragment shader: "+n)}var s=p.createShader(p.VERTEX_SHADER);if(p.shaderSource(s,e),p.compileShader(s),!p.getShaderParameter(s,p.COMPILE_STATUS)){var n=p.getShaderInfoLog(s);throw p.deleteShader(o),p.deleteShader(s),new Error("error compiling vertex shader: "+n)}var r=p.createProgram();if(p.attachShader(r,o),p.attachShader(r,s),p.linkProgram(r),!p.getProgramParameter(r,p.LINK_STATUS)){var n=p.getProgramInfoLog(r);throw p.deleteShader(o),p.deleteShader(s),p.deleteProgram(r),new Error("error linking shader program: "+n)}p.useProgram(r),p.deleteShader(o),p.deleteShader(s);var a=new _(p,r,t);a.g_ec=g.g_ec||0,a.g_ed=g.g_ed||0,a.g_ee=!!g.g_ee,a.g_ef=!!g.g_ef,a.g_eg=!!g.g_eg,a.g_eh=g.g_eh||[];var d,i;for(d=0,i=a.g_eh.length;d<i;d++)a.g_eh[d][1]=p.getUniformLocation(r,a.g_eh[d][0]),a.g_d_.push(0);return g_a.seal(a),a},g.prototype.g_ei=function(g){var _,e;for(_=0,e=this.g_cS.length;_<e;_++)if(this.g_cS[_].name===g)return _;return-1},g.prototype.g_ej=function(g,_,e){var t=this.g_cr,p=this.g_cq,o=[0,0,0,0,0,0,0,0];o[0]=t[0]*g+t[4]*_+t[12],o[1]=t[1]*g+t[5]*_+t[13],o[2]=t[2]*g+t[6]*_+t[14],o[3]=t[3]*g+t[7]*_+t[15],o[4]=p[0]*o[0]+p[4]*o[1]+p[8]*o[2]+p[12]*o[3],o[5]=p[1]*o[0]+p[5]*o[1]+p[9]*o[2]+p[13]*o[3],o[6]=p[2]*o[0]+p[6]*o[1]+p[10]*o[2]+p[14]*o[3],o[7]=-o[2];0===o[7]||(o[7]=1/o[7],o[4]*=o[7],o[5]*=o[7],o[6]*=o[7],e[0]=(0.5*o[4]+0.5)*this.width,e[1]=(0.5*o[5]+0.5)*this.height)},g.prototype.g_ek=function(g,_,e){if(this.width!==g||this.height!==_||e){this.g_el();var t=this.g_cu;if(this.width=g,this.height=_,t.viewport(0,0,g,_),mat4.g_bX(this.g_cl,this.g_cm,this.g_cn,this.g_cr),this.g_ca)mat4.g_bW(-g/2,g/2,_/2,-_/2,this.g_ce,this.g_cf,this.g_cq),this.g_co[0]=1,this.g_co[1]=1;else{mat4.perspective(45,g/_,this.g_ce,this.g_cf,this.g_cq);var p=[0,0],o=[0,0];this.g_ej(0,0,p),this.g_ej(1,1,o),this.g_co[0]=1/(o[0]-p[0]),this.g_co[1]=-1/(o[1]-p[1])}var n,i,r;for(n=0,i=this.g_cS.length;n<i;n++)r=this.g_cS[n],r.g_ea=!1,r.g_dl&&(t.useProgram(r.g_di),t.uniformMatrix4fv(r.g_dl,!1,this.g_cq));t.useProgram(this.g_cS[this.g_cZ].g_di),t.bindTexture(t.TEXTURE_2D,null),t.activeTexture(t.TEXTURE1),t.bindTexture(t.TEXTURE_2D,null),t.activeTexture(t.TEXTURE0),this.g_cB=null,this.g_cC=null,this.g_dc&&(t.bindFramebuffer(t.FRAMEBUFFER,this.g_da),t.bindRenderbuffer(t.RENDERBUFFER,this.g_dc),t.renderbufferStorage(t.RENDERBUFFER,t.DEPTH_COMPONENT16,this.width,this.height),!this.g_dd&&(t.framebufferRenderbuffer(t.FRAMEBUFFER,t.DEPTH_ATTACHMENT,t.RENDERBUFFER,this.g_dc),this.g_dd=!0),t.bindRenderbuffer(t.RENDERBUFFER,null),t.bindFramebuffer(t.FRAMEBUFFER,null),this.g_db=null)}},g.prototype.g_em=function(){mat4.g_bX(this.g_cl,this.g_cm,this.g_cn,this.g_cr),mat4.scale(this.g_cr,this.g_co)},g.prototype.translate=function(g,_){0===g&&0===_||(this.g_de[0]=g,this.g_de[1]=_,this.g_de[2]=0,mat4.translate(this.g_cr,this.g_de))},g.prototype.scale=function(g,_){1===g&&1===_||(this.g_de[0]=g,this.g_de[1]=_,this.g_de[2]=1,mat4.scale(this.g_cr,this.g_de))},g.prototype.g_bU=function(g){0===g||mat4.g_bU(this.g_cr,g)},g.prototype.g_en=function(){if(!e(this.g_cs,this.g_cr)){var g=this.g_eo();g.type=5,g.g_ep?mat4.set(this.g_cr,g.g_ep):g.g_ep=mat4.create(this.g_cr),mat4.set(this.g_cr,this.g_cs),this.g_cX=!1,this.g_cY=!1}},g.prototype.g_eq=function(g){this.g_ca&&(32760<g&&(g=32760),this.g_cd=this.g_cl[2]-this.g_ce-g*this.g_cg)};t.prototype.g_ez=function(){var g=this.g_cu,_=this.g_er;0===this.g_et?(g.depthMask(!1),g.colorMask(!0,!0,!0,!0),g.enable(g.BLEND),_.g_cc=!1):(g.depthMask(!0),g.colorMask(!1,!1,!1,!1),g.disable(g.BLEND),g.bindFramebuffer(g.FRAMEBUFFER,_.g_da),g.framebufferTexture2D(g.FRAMEBUFFER,g.COLOR_ATTACHMENT0,g.TEXTURE_2D,null,0),g.clear(g.DEPTH_BUFFER_BIT),g.bindFramebuffer(g.FRAMEBUFFER,null),_.g_cc=!0)},t.prototype.g_eA=function(){this.g_cu.bindTexture(this.g_cu.TEXTURE_2D,this.g_ev)},t.prototype.g_eB=function(){var g=this.g_cu;g.activeTexture(g.TEXTURE1),g.bindTexture(g.TEXTURE_2D,this.g_ev),g.activeTexture(g.TEXTURE0)},t.prototype.g_eC=function(){var g=this.g_es,_=this.g_er;_.g_cD=g;var e=_.g_c$;e.g_dn&&e.g_dG!==g&&(e.g_dG=g,this.g_cu.uniform1f(e.g_dn,g))},t.prototype.g_eD=function(){this.g_cu.drawElements(this.g_cu.TRIANGLES,this.g_eu,this.g_cu.UNSIGNED_SHORT,this.g_et)},t.prototype.g_eE=function(){this.g_cu.blendFunc(this.g_et,this.g_eu)},t.prototype.g_eF=function(){var g=this.g_er.g_cS,_=this.g_er.g_c_,e,t,p;for(e=0,t=g.length;e<t;e++)p=g[e],e===_&&p.g_dm?(p.g_eb(this.g_ep),p.g_ea=!0):p.g_ea=!1;mat4.set(this.g_ep,this.g_er.g_ct)},t.prototype.g_eG=function(){var g=this.g_cu,_=this.g_er;this.g_ev?(_.g_cC===this.g_ev&&(g.activeTexture(g.TEXTURE1),g.bindTexture(g.TEXTURE_2D,null),_.g_cC=null,g.activeTexture(g.TEXTURE0)),g.bindFramebuffer(g.FRAMEBUFFER,_.g_da),!_.g_cc&&g.framebufferTexture2D(g.FRAMEBUFFER,g.COLOR_ATTACHMENT0,g.TEXTURE_2D,this.g_ev,0)):(!_.g_ca&&g.framebufferTexture2D(g.FRAMEBUFFER,g.COLOR_ATTACHMENT0,g.TEXTURE_2D,null,0),g.bindFramebuffer(g.FRAMEBUFFER,null))},t.prototype.g_eH=function(){var g=this.g_cu,_=this.g_et;0===_?(g.clearColor(this.g_ep[0],this.g_ep[1],this.g_ep[2],this.g_ep[3]),g.clear(g.COLOR_BUFFER_BIT)):1===_?(g.enable(g.SCISSOR_TEST),g.scissor(this.g_ep[0],this.g_ep[1],this.g_ep[2],this.g_ep[3]),g.clearColor(0,0,0,0),g.clear(g.COLOR_BUFFER_BIT),g.disable(g.SCISSOR_TEST)):g.clear(g.DEPTH_BUFFER_BIT)},t.prototype.g_eI=function(){var g=this.g_cu,_=this.g_et;0===_?g.disable(g.DEPTH_TEST):g.enable(g.DEPTH_TEST)},t.prototype.g_eJ=function(){var g=this.g_cu,_=this.g_er;_.g_ca&&g.disable(g.DEPTH_TEST);var e=_.g_cS[1];g.useProgram(e.g_di),!e.g_ea&&e.g_dm&&(e.g_eb(_.g_ct),e.g_ea=!0),g.enableVertexAttribArray(e.g_dj),g.bindBuffer(g.ARRAY_BUFFER,_.g_cK),g.vertexAttribPointer(e.g_dj,4,g.FLOAT,!1,0,0),g.drawArrays(g.POINTS,this.g_et/4,this.g_eu),e=_.g_c$,g.useProgram(e.g_di),0<=e.g_dj&&(g.enableVertexAttribArray(e.g_dj),g.bindBuffer(g.ARRAY_BUFFER,_.g_cL[_.g_cN]),g.vertexAttribPointer(e.g_dj,_.g_ca?3:2,g.FLOAT,!1,0,0)),0<=e.g_dk&&(g.enableVertexAttribArray(e.g_dk),g.bindBuffer(g.ARRAY_BUFFER,_.g_cM[_.g_cN]),g.vertexAttribPointer(e.g_dk,2,g.FLOAT,!1,0,0)),_.g_ca&&g.enable(g.DEPTH_TEST)},t.prototype.g_eK=function(){var g=this.g_cu,_=this.g_er,e=_.g_cS[this.g_et];_.g_c_=this.g_et,_.g_c$=e,g.useProgram(e.g_di),!e.g_ea&&e.g_dm&&(e.g_eb(_.g_ct),e.g_ea=!0),e.g_dn&&e.g_dG!==_.g_cD&&(e.g_dG=_.g_cD,g.uniform1f(e.g_dn,_.g_cD)),0<=e.g_dj&&(g.enableVertexAttribArray(e.g_dj),g.bindBuffer(g.ARRAY_BUFFER,_.g_cL[_.g_cN]),g.vertexAttribPointer(e.g_dj,_.g_ca?3:2,g.FLOAT,!1,0,0)),0<=e.g_dk&&(g.enableVertexAttribArray(e.g_dk),g.bindBuffer(g.ARRAY_BUFFER,_.g_cM[_.g_cN]),g.vertexAttribPointer(e.g_dk,2,g.FLOAT,!1,0,0))},t.prototype.g_eL=function(){var g=this.g_er.g_c$,_=this.g_ep;this.g_cu.uniform4f(g.g_do,_[0],_[1],_[2],_[3])},t.prototype.g_eM=function(){var g=this.g_er.g_c$,_=this.g_cu,e=this.g_ep,t=this.g_ew,p=this.g_ex,o,n;g.g_dq&&this.g_er.g_cC!==this.g_ev&&(_.activeTexture(_.TEXTURE1),_.bindTexture(_.TEXTURE_2D,this.g_ev),this.g_er.g_cC=this.g_ev,_.activeTexture(_.TEXTURE0));var i=e[0],s=e[1];if(g.g_dA&&(i!==g.g_dE||s!==g.g_dF)&&(g.g_dE=i,g.g_dF=s,_.uniform2f(g.g_dA,i,s)),i=e[2],s=e[3],g.g_dx&&(i!==g.g_dT||s!==g.g_dU)&&(g.g_dT=i,g.g_dU=s,_.uniform2f(g.g_dx,i,s)),i=e[4],s=e[5],g.g_dy&&(i!==g.g_dV||s!==g.g_dW)&&(g.g_dV=i,g.g_dW=s,_.uniform2f(g.g_dy,i,s)),i=e[6],g.g_dB&&i!==g.g_dX&&(g.g_dX=i,_.uniform1f(g.g_dB,i)),i=e[7],g.g_dC&&i!==g.g_dY&&(g.g_dY=i,_.uniform1f(g.g_dC,i)),i=e[12],s=e[13],g.g_dr&&(i!==g.g_dH||s!==g.g_dI)&&(g.g_dH=i,g.g_dI=s,_.uniform2f(g.g_dr,i,s)),i=e[14],s=e[15],g.g_ds&&(i!==g.g_dJ||s!==g.g_dK)&&(g.g_dJ=i,g.g_dK=s,_.uniform2f(g.g_ds,i,s)),i=p[0],s=p[1],g.g_dt&&(i!==g.g_dL||s!==g.g_dM)&&(g.g_dL=i,g.g_dM=s,_.uniform2f(g.g_dt,i,s)),i=p[2],s=p[3],g.g_du&&(i!==g.g_dN||s!==g.g_dO)&&(g.g_dN=i,g.g_dO=s,_.uniform2f(g.g_du,i,s)),i=t[0],s=t[1],g.g_dv&&(i!==g.g_dP||s!==g.g_dQ)&&(g.g_dP=i,g.g_dQ=s,_.uniform2f(g.g_dv,i,s)),i=t[2],s=t[3],g.g_dw&&(i!==g.g_dR||s!==g.g_dS)&&(g.g_dR=i,g.g_dS=s,_.uniform2f(g.g_dw,i,s)),i=this.g_et,g.g_dz&&i!==g.g_dZ&&(g.g_dZ=i,_.uniform1f(g.g_dz,i)),g.g_eh.length)for(o=0,n=g.g_eh.length;o<n;o++)i=this.g_ey[o],Array.isArray(i)?_.uniform3fv(g.g_eh[o][1],i):i!==g.g_d_[o]&&(g.g_d_[o]=i,_.uniform1f(g.g_eh[o][1],i))},g.prototype.g_eo=function(){return this.g_cW===this.g_cV.length&&this.g_cV.push(new t(0,this)),this.g_cV[this.g_cW++]},g.prototype.g_el=function(){if(0!==this.g_cW&&!this.g_cu.isContextLost()){this.g_eN();var g=this.g_cu;if(0<this.g_cR&&(g.bindBuffer(g.ARRAY_BUFFER,this.g_cK),g.bufferSubData(g.ARRAY_BUFFER,0,this.g_cJ.subarray(0,this.g_cR)),_&&0<=_.g_dj&&"<point>"===_.name&&g.vertexAttribPointer(_.g_dj,4,g.FLOAT,!1,0,0)),0<this.g_cP){var _=this.g_c$;g.bindBuffer(g.ARRAY_BUFFER,this.g_cL[this.g_cN]),g.bufferSubData(g.ARRAY_BUFFER,0,this.g_cH.subarray(0,this.g_cP)),_&&0<=_.g_dj&&"<point>"!==_.name&&g.vertexAttribPointer(_.g_dj,this.g_ca?3:2,g.FLOAT,!1,0,0),g.bindBuffer(g.ARRAY_BUFFER,this.g_cM[this.g_cN]),g.bufferSubData(g.ARRAY_BUFFER,0,this.g_cI.subarray(0,this.g_cQ)),_&&0<=_.g_dk&&"<point>"!==_.name&&g.vertexAttribPointer(_.g_dk,2,g.FLOAT,!1,0,0)}var e,t,p;for(e=0,t=this.g_cW;e<t;e++)switch(p=this.g_cV[e],p.type){case 1:p.g_eD();break;case 2:p.g_eA();break;case 3:p.g_eC();break;case 4:p.g_eE();break;case 5:p.g_eF();break;case 6:p.g_eG();break;case 7:p.g_eH();break;case 8:p.g_eJ();break;case 9:p.g_eK();break;case 10:p.g_eM();break;case 11:p.g_eB();break;case 12:p.g_eL();break;case 13:p.g_eI();break;case 14:p.g_ez();}this.g_cW=0,this.g_cP=0,this.g_cQ=0,this.g_cR=0,this.g_cX=!1,this.g_cY=!1,this.g_cc=!1,this.g_cN++,this.g_cN>=r&&(this.g_cN=0)}},g.prototype.g_eN=function(){if(!this.g_cw&&this.g_cv){this.g_cw=!0;var g={g_cx:this.g_cx,g_eO:null,result:0};if(2===this.version?(g.g_eO=this.g_cu.createQuery(),this.g_cu.beginQuery(this.g_cv.TIME_ELAPSED_EXT,g.g_eO)):(g.g_eO=this.g_cv.createQueryEXT(),this.g_cv.beginQueryEXT(this.g_cv.TIME_ELAPSED_EXT,g.g_eO)),this.g_cy.push(g),1e3<this.g_cy.length){var _=this.g_cy.shift();_.g_eO&&(2===this.version?this.g_cu.deleteQuery(_.g_eO):this.g_cv.deleteQueryEXT(_.g_eO))}}},g.prototype.g_eP=function(){if(this.g_cw&&this.g_cy.length){this.g_cy[this.g_cy.length-1];2===this.version?this.g_cu.endQuery(this.g_cv.TIME_ELAPSED_EXT):this.g_cv.endQueryEXT(this.g_cv.TIME_ELAPSED_EXT),this.g_cw=!1}},g.prototype.g_eQ=function(g){var _,e,t,p,o;for(_=0,e=this.g_cy.length;_<e;++_){if(t=this.g_cy[_],t.g_cx>=g)return;t.g_eO&&(p=2===this.version?this.g_cu.getQueryParameter(t.g_eO,this.g_cu.QUERY_RESULT_AVAILABLE):this.g_cv.getQueryObjectEXT(t.g_eO,this.g_cv.QUERY_RESULT_AVAILABLE_EXT),o=this.g_cu.getParameter(this.g_cv.GPU_DISJOINT_EXT),p&&!o&&(t.result=2===this.version?this.g_cu.getQueryParameter(t.g_eO,this.g_cu.QUERY_RESULT):this.g_cv.getQueryObjectEXT(t.g_eO,this.g_cv.QUERY_RESULT_EXT),t.result/=1e9),(p||o)&&(2===this.version?this.g_cu.deleteQuery(t.g_eO):this.g_cv.deleteQueryEXT(t.g_eO),t.g_eO=null))}},g.prototype.g_eR=function(g,_){if(_<=g)return-1;var e=0,t=0,p,n,i;for(p=0,n=this.g_cy.length;p<n&&(i=this.g_cy[p],!(i.g_cx>=_));++p)if(i.g_cx>=g){if(i.g_eO)return-1;e+=i.result,t++}return t<_-g?-1:e},g.prototype.g_eS=function(g){var _,e,t;for(_=0,e=this.g_cy.length;_<e;++_)if(t=this.g_cy[_],t.g_cx>=g)return void(0<_&&this.g_cy.splice(0,_))},g.prototype.g_eT=function(g){if(g!==this.g_cA&&!this.g_cb){var _=this.g_eo();_.type=3,_.g_es=g,this.g_cA=g,this.g_cX=!1,this.g_cY=!1}},g.prototype.g_eU=function(g){if(g!==this.g_cB){var _=this.g_eo();_.type=2,_.g_ev=g,this.g_cB=g,this.g_cX=!1,this.g_cY=!1}},g.prototype.g_eV=function(g,_){if((g!==this.g_cF||_!==this.g_cG)&&!this.g_cb){var e=this.g_eo();e.type=4,e.g_et=g,e.g_eu=_,this.g_cF=g,this.g_cG=_,this.g_cX=!1,this.g_cY=!1}},g.prototype.g_eW=function(){return this.g_cF===this.g_cu.ONE&&this.g_cG===this.g_cu.ONE_MINUS_SRC_ALPHA},g.prototype.g_eX=function(){this.g_eV(this.g_cu.ONE,this.g_cu.ONE_MINUS_SRC_ALPHA)},g.prototype.g_eY=function(){this.g_eV(this.g_cu.SRC_ALPHA,this.g_cu.ONE_MINUS_SRC_ALPHA)};var d=2*p-8;g.prototype.g_I=function(g,_,e,p,o,n,s,r){this.g_cP>=d&&this.g_el();var a=this.g_cP,l=this.g_cQ,t=this.g_cH,h=this.g_cI,y=this.g_cd;if(this.g_cX)this.g_cV[this.g_cW-1].g_eu+=6;else{var u=this.g_eo();u.type=i,u.g_et=this.g_ca?a:3*(a/2),u.g_eu=6,this.g_cX=!0,this.g_cY=!1}this.g_ca?(t[a++]=g,t[a++]=_,t[a++]=y,t[a++]=e,t[a++]=p,t[a++]=y,t[a++]=o,t[a++]=n,t[a++]=y,t[a++]=s,t[a++]=r,t[a++]=y):(t[a++]=g,t[a++]=_,t[a++]=e,t[a++]=p,t[a++]=o,t[a++]=n,t[a++]=s,t[a++]=r),h[l++]=0,h[l++]=0,h[l++]=1,h[l++]=0,h[l++]=1,h[l++]=1,h[l++]=0,h[l++]=1,this.g_cP=a,this.g_cQ=l},g.prototype.g_eZ=function(g,_,e,p,o,n,s,r,a){this.g_cP>=d&&this.g_el();var l=this.g_cP,h=this.g_cQ,t=this.g_cH,y=this.g_cI,u=this.g_cd;if(this.g_cX)this.g_cV[this.g_cW-1].g_eu+=6;else{var c=this.g_eo();c.type=i,c.g_et=this.g_ca?l:3*(l/2),c.g_eu=6,this.g_cX=!0,this.g_cY=!1}var f=a.left,m=a.top,x=a.right,j=a.bottom;this.g_ca?(t[l++]=g,t[l++]=_,t[l++]=u,t[l++]=e,t[l++]=p,t[l++]=u,t[l++]=o,t[l++]=n,t[l++]=u,t[l++]=s,t[l++]=r,t[l++]=u):(t[l++]=g,t[l++]=_,t[l++]=e,t[l++]=p,t[l++]=o,t[l++]=n,t[l++]=s,t[l++]=r),y[h++]=f,y[h++]=m,y[h++]=x,y[h++]=m,y[h++]=x,y[h++]=j,y[h++]=f,y[h++]=j,this.g_cP=l,this.g_cQ=h},g.prototype.g_e_=function(g,_,e,p,o,n,s,r,a,l,h,y,u,c,f,m){this.g_cP>=d&&this.g_el();var x=this.g_cP,j=this.g_cQ,t=this.g_cH,A=this.g_cI,z=this.g_cd;if(this.g_cX)this.g_cV[this.g_cW-1].g_eu+=6;else{var M=this.g_eo();M.type=i,M.g_et=this.g_ca?x:3*(x/2),M.g_eu=6,this.g_cX=!0,this.g_cY=!1}this.g_ca?(t[x++]=g,t[x++]=_,t[x++]=z,t[x++]=e,t[x++]=p,t[x++]=z,t[x++]=o,t[x++]=n,t[x++]=z,t[x++]=s,t[x++]=r,t[x++]=z):(t[x++]=g,t[x++]=_,t[x++]=e,t[x++]=p,t[x++]=o,t[x++]=n,t[x++]=s,t[x++]=r),A[j++]=a,A[j++]=l,A[j++]=h,A[j++]=y,A[j++]=u,A[j++]=c,A[j++]=f,A[j++]=m,this.g_cP=x,this.g_cQ=j},g.prototype.g_e$=function(g){var _=g.length/2;var e=_-2,t=g[0],p=g[1],o,n,i,s,r,a,d,l;for(o=0;o<e;o+=2)n=2*o,i=g[n+2],s=g[n+3],r=g[n+4],a=g[n+5],o===e-1?this.g_I(t,p,i,s,r,a,r,a):(d=g[n+6],l=g[n+7],this.g_I(t,p,i,s,r,a,d,l))};g.prototype.g_fa=function(g,_,e,t){this.g_cR>=n-4&&this.g_el();var o=this.g_cR,p=this.g_cJ;if(this.g_cY)this.g_cV[this.g_cW-1].g_eu++;else{var i=this.g_eo();i.type=8,i.g_et=o,i.g_eu=1,this.g_cY=!0,this.g_cX=!1}p[o++]=g,p[o++]=_,p[o++]=e,p[o++]=t,this.g_cR=o},g.prototype.g_dh=function(g){if(this.g_cZ!==g){var _=this.g_cS[g];if(!_){if(0===this.g_cZ)return;g=0,_=this.g_cS[0]}var e=this.g_eo();e.type=9,e.g_et=g,this.g_cZ=g,this.g_cX=!1,this.g_cY=!1}},g.prototype.g_fb=function(g){var _=this.g_cS[g];return!!(_.g_dx||_.g_dy)},g.prototype.g_fc=function(g){var _=this.g_cS[g];return!!(_.g_dx||_.g_dy||_.g_ee)},g.prototype.g_fd=function(g){return this.g_cS[g].g_ef},g.prototype.g_fe=function(g){var _=this.g_cS[g];return 0!==_.g_ec||0!==_.g_ed},g.prototype.g_ff=function(g){return this.g_cS[g].g_ec},g.prototype.g_fg=function(g){return this.g_cS[g].g_ed},g.prototype.g_fh=function(g,_){return this.g_cS[g].g_eh[_][2]},g.prototype.g_fi=function(g){return this.g_cS[g].g_eg},g.prototype.g_fj=function(g,_,e,t,p,o,n,r,a,d,l,h,y,u,c,f,m,x,j,A,z,M,T){var N=this.g_cS[this.g_cZ],s,i,E,b,L,w,C;if(N.g_dD||T.length){if(E=this.g_eo(),E.type=10,E.g_ep?mat4.set(this.g_cr,E.g_ep):E.g_ep=mat4.create(),b=E.g_ep,b[0]=_,b[1]=e,b[2]=f,b[3]=m,b[4]=x,b[5]=j,b[6]=A,b[7]=z,b[12]=t,b[13]=p,b[14]=o,b[15]=n,w=E.g_ex,w[0]=r,w[1]=a,w[2]=d,w[3]=l,C=E.g_ew,C[0]=h,C[1]=c,C[2]=u,C[3]=y,E.g_et=M,(E.g_ev=N.g_dq?g:null,T.length))for(L=E.g_ey,L.length=T.length,(s=0,i=T.length);s<i;s++)L[s]=T[s];this.g_cX=!1,this.g_cY=!1}},g.prototype.clear=function(_,e,g,t){var p=this.g_eo();p.type=s,p.g_et=0,p.g_ep||(p.g_ep=mat4.create()),p.g_ep[0]=_,p.g_ep[1]=e,p.g_ep[2]=g,p.g_ep[3]=t,this.g_cX=!1,this.g_cY=!1},g.prototype.clearRect=function(g,_,e,t){if(!(0>e||0>t)){var p=this.g_eo();p.type=s,p.g_et=1,p.g_ep||(p.g_ep=mat4.create()),p.g_ep[0]=g,p.g_ep[1]=_,p.g_ep[2]=e,p.g_ep[3]=t,this.g_cX=!1,this.g_cY=!1}},g.prototype.clearDepth=function(){var g=this.g_eo();g.type=s,g.g_et=2,this.g_cX=!1,this.g_cY=!1},g.prototype.g_fk=function(g){if(this.g_ca&&(g=!!g,this.g_cb!==g)){var _=this.g_eo();_.type=14,_.g_et=g?1:0,this.g_cX=!1,this.g_cY=!1,this.g_cb=g,this.g_db=null,this.g_cb?this.g_dh(2):this.g_dh(0)}},g.prototype.g_fl=function(g){if(this.g_ca){var _=this.g_eo();_.type=13,_.g_et=g?1:0,this.g_cX=!1,this.g_cY=!1}},g.prototype.g_fm=function(){mat4.set(this.g_cs,a),this.g_em(),this.g_en();var g=this.width/2,_=this.height/2;this.g_I(-g,_,g,_,g,-_,-g,-_),mat4.set(a,this.g_cr),this.g_en()},g.prototype.g_fn=function(g,_,e,t){this.g_dh(3);var p=this.g_eo();p.type=12,p.g_ep||(p.g_ep=mat4.create()),p.g_ep[0]=g,p.g_ep[1]=_,p.g_ep[2]=e,p.g_ep[3]=t,this.g_cX=!1,this.g_cY=!1},g.prototype.g_fo=function(){this.g_dh(0)},g.prototype.g_fp=function(){this.g_dh(2)},g.prototype.g_fq=function(){return this.g_cx},g.prototype.g_fr=function(){this.g_el(),this.g_eP(),this.g_cu.flush(),this.g_eQ(this.g_cx),this.g_cx++},g.prototype.g_fs=function(){return!!this.g_cv};var l=[],h={};g.prototype.g_ft=function(){g_a.g_R(l),h={}};g.prototype.g_fu=function(g,_,e,t,p,o){_=!!_,e=!!e;var n=g.src+","+_+","+e+(_?","+p:""),i=null;if("undefined"!=typeof g.src&&h.hasOwnProperty(n))return i=h[n],i.g_fv++,i;this.g_el();var s=this.g_cu,r=g_a.g_i(g.width)&&g_a.g_i(g.height);i=s.createTexture(),s.bindTexture(s.TEXTURE_2D,i),s.pixelStorei(s.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var a=s.RGBA,d=s.RGBA,y=s.UNSIGNED_BYTE;if(t&&!this.g_b$&&(t===1?(a=s.RGB,d=s.RGB):t===2?y=s.UNSIGNED_SHORT_4_4_4_4:t===3?y=s.UNSIGNED_SHORT_5_5_5_1:t===4?(a=s.RGB,d=s.RGB,y=s.UNSIGNED_SHORT_5_6_5):void 0),1===this.version&&!r&&_){var u=document.createElement("canvas");u.width=g_a.g_j(g.width),u.height=g_a.g_j(g.height);var c=u.getContext("2d");c.g_fw=e,c.drawImage(g,0,0,g.width,g.height,0,0,u.width,u.height),s.texImage2D(s.TEXTURE_2D,0,a,d,y,u)}else s.texImage2D(s.TEXTURE_2D,0,a,d,y,g);return _?"repeat-x"===p?(s.texParameteri(s.TEXTURE_2D,s.TEXTURE_WRAP_S,s.REPEAT),s.texParameteri(s.TEXTURE_2D,s.TEXTURE_WRAP_T,s.CLAMP_TO_EDGE)):"repeat-y"===p?(s.texParameteri(s.TEXTURE_2D,s.TEXTURE_WRAP_S,s.CLAMP_TO_EDGE),s.texParameteri(s.TEXTURE_2D,s.TEXTURE_WRAP_T,s.REPEAT)):(s.texParameteri(s.TEXTURE_2D,s.TEXTURE_WRAP_S,s.REPEAT),s.texParameteri(s.TEXTURE_2D,s.TEXTURE_WRAP_T,s.REPEAT)):(s.texParameteri(s.TEXTURE_2D,s.TEXTURE_WRAP_S,s.CLAMP_TO_EDGE),s.texParameteri(s.TEXTURE_2D,s.TEXTURE_WRAP_T,s.CLAMP_TO_EDGE)),e?(s.texParameteri(s.TEXTURE_2D,s.TEXTURE_MAG_FILTER,s.LINEAR),(r||2<=this.version)&&this.g_cp&&!o?(s.texParameteri(s.TEXTURE_2D,s.TEXTURE_MIN_FILTER,s.LINEAR_MIPMAP_LINEAR),s.generateMipmap(s.TEXTURE_2D)):s.texParameteri(s.TEXTURE_2D,s.TEXTURE_MIN_FILTER,s.LINEAR)):(s.texParameteri(s.TEXTURE_2D,s.TEXTURE_MAG_FILTER,s.NEAREST),s.texParameteri(s.TEXTURE_2D,s.TEXTURE_MIN_FILTER,s.NEAREST)),s.bindTexture(s.TEXTURE_2D,null),this.g_cB=null,i.g_fx=g.width,i.g_fy=g.height,i.g_fv=1,i.g_fz=n,l.push(i),h[n]=i,i},g.prototype.g_fA=function(g,_,e,t,p){this.g_el();var o=this.g_cu;this.g_b$&&(t=!1);var n=o.createTexture();return o.bindTexture(o.TEXTURE_2D,n),o.texImage2D(o.TEXTURE_2D,0,o.RGBA,g,_,0,o.RGBA,t?o.UNSIGNED_SHORT_4_4_4_4:o.UNSIGNED_BYTE,null),p?(o.texParameteri(o.TEXTURE_2D,o.TEXTURE_WRAP_S,o.REPEAT),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_WRAP_T,o.REPEAT)):(o.texParameteri(o.TEXTURE_2D,o.TEXTURE_WRAP_S,o.CLAMP_TO_EDGE),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_WRAP_T,o.CLAMP_TO_EDGE)),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_MAG_FILTER,e?o.LINEAR:o.NEAREST),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_MIN_FILTER,e?o.LINEAR:o.NEAREST),o.bindTexture(o.TEXTURE_2D,null),this.g_cB=null,n.g_fx=g,n.g_fy=_,l.push(n),n},g.prototype.g_fB=function(g,_,e){this.g_el();var t=this.g_cu;this.g_b$&&(e=!1),t.bindTexture(t.TEXTURE_2D,_),t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);try{t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,e?t.UNSIGNED_SHORT_4_4_4_4:t.UNSIGNED_BYTE,g)}catch(g){console&&console.error&&console.error("Error updating WebGL texture: ",g)}t.bindTexture(t.TEXTURE_2D,null),this.g_cB=null},g.prototype.deleteTexture=function(g){return g?"undefined"!=typeof g.g_fv&&1<g.g_fv?void g.g_fv--:void(this.g_el(),g===this.g_cB&&(this.g_cu.bindTexture(this.g_cu.TEXTURE_2D,null),this.g_cB=null),g===this.g_cC&&(this.g_cu.activeTexture(this.g_cu.TEXTURE1),this.g_cu.bindTexture(this.g_cu.TEXTURE_2D,null),this.g_cu.activeTexture(this.g_cu.TEXTURE0),this.g_cC=null),g_a.g_V(l,g),"undefined"!=typeof g.g_fz&&delete h[g.g_fz],this.g_cu.deleteTexture(g)):void 0},g.prototype.g_fC=function(){var g=2*(4*(this.width*this.height)),_,e,p;for(_=0,e=l.length;_<e;_++)p=l[_],g+=4*(p.g_fx*p.g_fy);return g},g.prototype.g_fD=function(){return l.length},g.prototype.g_fE=function(g){if(g!==this.g_db){var _=this.g_eo();_.type=6,_.g_ev=g,this.g_db=g,this.g_cX=!1,this.g_cY=!1}},g_a.g_fF=g}();(function(){function g(g){var _=g.canvas,e=g.projectDataUrl;if(_||(_=document.createElement("canvas"),document.body.appendChild(_)),_&&_.getContext){window.c3runtime=this,window.c3canvas=_;var t=this;this.g_fG=g.exportType,this.g_fH="preview"===this.g_fG,this.g_fI=!!g.isRemotePreview,this.g_fJ=/crosswalk/i.test(navigator.userAgent)||/xwalk/i.test(navigator.userAgent)||!!("undefined"!=typeof window.c2isCrosswalk&&window.c2isCrosswalk),this.g_fK="cordova"===this.g_fG,this.g_fL=this.g_fK,this.g_fM=/edge\//i.test(navigator.userAgent),this.g_b$=(/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)||/iemobile/i.test(navigator.userAgent))&&!this.g_fM,this.g_fN=/tizen/i.test(navigator.userAgent),this.g_fO=/android/i.test(navigator.userAgent)&&!this.g_fN&&!this.g_b$&&!this.g_fM,this.g_fP=(/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent))&&!this.g_b$&&!this.g_fM,this.g_fQ=/ipad/i.test(navigator.userAgent),this.g_fR=this.g_fP||this.g_fQ,this.g_fS=(/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent))&&!this.g_b$&&!this.g_fM,this.g_fT=/amazonwebappplatform/i.test(navigator.userAgent),this.g_fU=/firefox/i.test(navigator.userAgent),this.g_fV=/safari/i.test(navigator.userAgent)&&!this.g_fS&&!this.g_b$&&!this.g_fM,this.g_fW=/windows/i.test(navigator.userAgent),this.g_fX="nwjs"===this.g_fG||/nodewebkit/i.test(navigator.userAgent)||/nwjs/i.test(navigator.userAgent),this.g_fY=this.g_fX,this.g_fZ="scirra-arcade"===this.g_fG,this.g_f_=!!("undefined"!=typeof window.c2isWindows8&&window.c2isWindows8),this.g_f$=!!("undefined"!=typeof window.c2isWindowsPhone8&&window.c2isWindowsPhone8),this.g_ga=!!("undefined"!=typeof window.c2isWindowsPhone81&&window.c2isWindowsPhone81),this.g_gb="windows-uwp"===this.g_fG,this.g_gc=this.g_f_||this.g_ga||this.g_gb,this.g_gd=!!("undefined"!=typeof window.c2isBlackberry10&&window.c2isBlackberry10),this.g_ge=this.g_fO&&!this.g_fS&&!this.g_fJ&&!this.g_fU&&!this.g_fT,this.devicePixelRatio=1,this.g_gf=!1,this.g_gg=this.g_fK||this.g_fJ||this.g_fO||this.g_fR||this.g_f$||this.g_ga||this.g_gd||this.g_fN,this.g_gg||(this.g_gg=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet|kindle|silk)/i.test(navigator.userAgent)),this.g_gh=!!(this.g_fR&&this.g_fK),this.g_fH&&!this.g_fX&&("?nw"===window.location.search||/nodewebkit/i.test(navigator.userAgent)||/nwjs/i.test(navigator.userAgent))&&(this.g_fX=!0),this.g_gi=this.g_fH&&-1<window.location.search.indexOf("debug"),this.g_gj="undefined"!=typeof FBInstant&&!this.g_fH&&!this.g_fK,this.g_gk=!1,this.canvas=_,this.g_cu=null,this.g_er=null,this.g_gl="(unavailable)",this.g_ca=!1,this.g_gm=0,this.g_gn=null,this.g_go=!1,this.g_gp=0,this.g_gq=0,this.canvas.oncontextmenu=function(g){return g.preventDefault&&g.preventDefault(),!1},this.canvas.onselectstart=function(g){return g.preventDefault&&g.preventDefault(),!1},this.canvas.ontouchstart=function(g){return g.preventDefault&&g.preventDefault(),!1},this.g_fX&&(window.ondragover=function(g){return g.preventDefault(),!1},window.ondrop=function(g){return g.preventDefault(),!1},window.nwgui&&window.nwgui.App.clearCache&&window.nwgui.App.clearCache()),this.g_gr=e||"",this.width=_.width,this.height=_.height,this.g_gs=this.width,this.g_gt=this.height,this.g_gu=this.width,this.g_gv=this.height,this.g_gw=window.innerWidth,this.g_gx=window.innerHeight,this.g_gy=!1,this.g_gz=!0,this.g_gA=!1,Date.now||(Date.now=function(){return+new Date}),this.plugins=[],this.types={},this.g_gB={},this.g_gC=[],this.g_c=[],this.g_gD={},this.g_gE=[],this.g_gF={},this.g_gG=[],this.g_gH=[],this.g_gI=[],this.g_gJ=[],this.g_gK=[],this.g_gL=null,this.g_gM=null,this.g_gN=null,this.g_gO={},this.g_gP=!1,this.g_gQ=!1,this.g_gR=0,this.g_gS=!1,this.g_gT=!1,this.g_gU=[],this.g_gV=!1,this.g_gW="",this.g_gX="",this.g_gY=null,this.g_gZ="",this.g_g_=!1,this.g_g$=!1,this.g_ha=[],this.g_hb=0,this.g_hc=0,this.g_hd=30,this.g_he=0,this.g_hf=0,this.g_hg=1,this.g_hh=new g_a.g_aF,this.g_hi=new g_a.g_aF,this.g_hj=0,this.g_hk=0,this.g_hl=0,this.g_hm=0,this.g_hn=0,this.g_ho=0,this.g_hp=0,this.g_hq=0,this.g_hr=0,this.g_hs=0,this.g_ht=-1,this.g_hu=0,this.g_hv=null,this.g_hw=[],this.g_hx=[],this.g_hy=-1,this.g_hz=[[]],this.g_hA=0,this.g_hB=0,this.g_hC(null),this.g_hD=[],this.g_hE=-1,this.g_hF=0,this.g_hG=0,this.g_hH=!0,this.g_hI=0,this.g_hJ=[],this.g_hK=-1,this.g_hL=-1,this.g_hM=!0,this.g_hN=0,this.g_hO=!1,this.g_hP=0,this.g_hQ=null,this.g_hR=!1,this.g_hS=!1,this.g_hT=new g_a.g_ay,this.g_hU=new g_a.g_ay,this.g_hV=new g_a.g_ay,this.g_hW=[],this.g_hX=new g_a.g_ba([]),this.g_hY=new g_a.g_ba([]),this.g_hZ=[],this.g_h_={},this.g_h$={},this.g_ia={},this.g_ib={},this.g_ic={},this.g_id=null,this.g_ie=null,this.g_if=null,this.g_ig=null,this.g_ih=null,this.g_ii=null,this.g_ij=null,this.g_ik=!1,this.g_il=!1,this.g_im=[null,null],this.g_in=0,this.g_io="",this.g_ip={},this.g_iq=null,this.g_ir=null,this.g_is=!0,this.g_it=null,this.g_iu="",this.g_iv=[],"html5"===this.g_fG&&"file"===location.protocol.substr(0,4)&&alert("Exported games won't work until you upload them. (When running on the file: protocol, browsers block many features from working for security reasons.)"),this.g_gj?(FBInstant.initializeAsync().then(function(){t.g_iw()}).catch(function(g){console.warn("[Instant Games] Unable to load: ",g),t.g_iw()}),window.setTimeout(function(){t.g_gk||(console.warn("[Instant Games] Initialization timed out after 4 seconds. Continuing with Instant Games disabled."),t.g_gj=!1,t.g_iw())},4e3)):this.g_iw()}}function _(g,_){R&&R.width===g&&R.height===_||(R=document.createElement("canvas"),R.width=g,R.height=_,v=R.getContext("2d"))}function e(g,_){return 128>=_?g[2]:256>=_?g[1]:g[0]}function t(){return w.length?w.pop():new g_a.g_ay}function p(g){g.clear(),w.push(g)}function o(){try{return!!window.indexedDB}catch(g){return!1}}function n(g){var _=g.target.result;_.createObjectStore("saves",{keyPath:"slot"})}function i(g,_,t,p){try{var e=indexedDB.open("_C2SaveStates");e.onupgradeneeded=n,e.onerror=p,e.onsuccess=function(o){var e=o.target.result;e.onerror=p;var n=e.transaction(["saves"],"readwrite"),i=n.objectStore("saves"),s=i.put({slot:g,data:_});s.onsuccess=t}}catch(g){p(g)}}function s(g,_,t){try{var e=indexedDB.open("_C2SaveStates");e.onupgradeneeded=n,e.onerror=t,e.onsuccess=function(p){var e=p.target.result;e.onerror=t;var o=e.transaction(["saves"]),n=o.objectStore("saves"),i=n.get(g);i.onsuccess=function(){i.result?_(i.result.data):_(null)}}}catch(g){t(g)}}function r(){g_a.g_d("Reloading for continuous preview"),-1<window.location.search.indexOf("continuous")?window.location.reload(!0):window.location+="?continuous"}function d(g){var _={},e;for(e in g)if(g.hasOwnProperty(e)){if(g[e]instanceof g_a.g_ay)continue;if(g[e]&&"undefined"!=typeof g[e].g_oP)continue;if("spriteCreatedDestroyCallback"===e)continue;_[e]=g[e]}return _}var a=Math.ceil,l=Math.round,y=Math.floor,u=Math.max,c=Math.min,h=Math.cos,f=Math.sin,m=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame,x=new Audio,A={"audio/webm; codecs=opus":!!x.canPlayType("audio/webm; codecs=opus"),"audio/ogg; codecs=opus":!!x.canPlayType("audio/ogg; codecs=opus"),"audio/webm; codecs=vorbis":!!x.canPlayType("audio/webm; codecs=vorbis"),"audio/ogg; codecs=vorbis":!!x.canPlayType("audio/ogg; codecs=vorbis"),"audio/mp4":!!x.canPlayType("audio/mp4"),"audio/mpeg":!!x.canPlayType("audio/mpeg")};x=null;g.prototype.g_iw=function(){if(!this.g_gk){this.g_gk=!0;var g=this;if(this.g_gh)return void this.g_ix("data.js",function(_){g.g_iy(JSON.parse(_))},function(){alert("Error fetching data.js")});var _=this.g_f$?new g_iz("Microsoft.XMLHTTP"):new XMLHttpRequest;var t=this.g_gr||"data.js";(this.g_f_||this.g_f$||this.g_ga||this.g_gb)&&(t="data.json"),_.open("GET",t,!0);var e=!1;if("response"in _&&"responseType"in _)try{_.responseType="json",e="json"===_.responseType}catch(g){e=!1}if(!e&&"responseType"in _)try{_.responseType="text"}catch(g){}if("overrideMimeType"in _)try{_.overrideMimeType("application/json; charset=utf-8")}catch(g){}this.g_f$?_.onreadystatechange=function(){4!==_.readyState||g.g_iy(JSON.parse(_.responseText))}:(_.onload=function(){e?g.g_iy(_.response):g.g_iy(JSON.parse(_.responseText))},_.onerror=function(g){g_a.g_e("Error requesting "+t+":"),g_a.g_e(g)}),_.send()}},g.prototype.g_iA=function(){var g=this,_,e,p,o,n,i,r,t,s,a;this.g_iB=this.g_iC&&!this.g_ge,0===this.g_iD&&this.g_fR&&(this.g_iB=!1);var d=window.devicePixelRatio||window.webkitDevicePixelRatio||window.mozDevicePixelRatio||window.msDevicePixelRatio||1,h=window.screen.width*d,y=window.screen.height*d;this.devicePixelRatio=this.g_iB?d:1,this.g_gf=this.g_fP&&1125==h&&2436==y,"object"==typeof window.StatusBar&&window.StatusBar.hide(),this.g_iE();var u;0<this.g_iD&&this.setSize(window.innerWidth,window.innerHeight,!0);try{this.g_iF&&(u={alpha:!0,depth:!1,antialias:!1,failIfMajorPerformanceCaveat:!0},!this.g_fO&&(this.g_cu=this.canvas.getContext("webgl2",u)),!this.g_cu&&(this.g_cu=this.canvas.getContext("webgl",u)||this.canvas.getContext("experimental-webgl",u)))}catch(g){}if(this.g_cu){var c=0===this.g_cu.getParameter(this.g_cu.VERSION).indexOf("WebGL 2"),f=this.g_cu.getExtension("WEBGL_debug_renderer_info");if(f){var m=this.g_cu.getParameter(f.UNMASKED_VENDOR_WEBGL),x=this.g_cu.getParameter(f.UNMASKED_RENDERER_WEBGL);this.g_gl=x+" ["+m+"]"}this.g_ca&&(this.g_gl+=" [front-to-back enabled]");for(this.g_iG=document.createElement("canvas"),this.canvas.parentNode.appendChild(this.g_iG),this.g_iG.oncontextmenu=function(){return!1},this.g_iG.onselectstart=function(){return!1},this.g_iG.width=l(this.g_gu*this.devicePixelRatio),this.g_iG.height=l(this.g_gv*this.devicePixelRatio),this.g_iG.style.width=this.g_gu+"px",this.g_iG.style.height=this.g_gv+"px",this.g_iG.style.position="absolute",this.g_iH=this.g_iG.getContext("2d"),this.g_er=new g_a.g_fF(this.g_cu,this.g_gg,this.g_ca),this.g_er.g_ek(this.canvas.width,this.canvas.height),this.g_er.g_cp=0!==this.g_iI,this.g_gn=null,this.canvas.addEventListener("webglcontextlost",function(_){_.preventDefault(),g.g_iJ(),g_a.g_d("[Construct 2] WebGL context lost"),window.cr_setSuspended(!0)},!1),this.canvas.addEventListener("webglcontextrestored",function(){g.g_er.g_cz(),g.g_er.g_ek(g.g_er.width,g.g_er.height,!0),g.g_ig=null,g.g_ih=null,g.g_im[0]=null,g.g_im[1]=null,g.g_iK(),g.g_gz=!0,g_a.g_d("[Construct 2] WebGL context restored"),window.cr_setSuspended(!1)},!1),this.g_er.g_fs()||(this.g_hu=NaN),(_=0,e=this.g_gC.length);_<e;_++)for(r=this.g_gC[_],p=0,o=r.g_iL.length;p<o;p++)t=r.g_iL[p],t.g_iM=this.g_er.g_ei(t.id),t.g_ef=this.g_er.g_fd(t.g_iM),this.g_il=this.g_il||this.g_er.g_fb(t.g_iM);for(_=0,e=this.g_gE.length;_<e;_++){for(s=this.g_gE[_],p=0,o=s.g_iL.length;p<o;p++)t=s.g_iL[p],t.g_iM=this.g_er.g_ei(t.id),t.g_ef=this.g_er.g_fd(t.g_iM);for(s.g_iN(),p=0,o=s.g_iO.length;p<o;p++){for(a=s.g_iO[p],n=0,i=a.g_iL.length;n<i;n++)t=a.g_iL[n],t.g_iM=this.g_er.g_ei(t.id),t.g_ef=this.g_er.g_fd(t.g_iM),this.g_il=this.g_il||this.g_er.g_fb(t.g_iM);a.g_iN()}}}else u={alpha:!0},this.g_gn=this.canvas.getContext("2d",u),this.g_gn.g_fw=this.g_iP,this.g_iG=null,this.g_iH=null,this.g_hu=NaN;this.g_iQ=function(_){g.g_iR(!1,_)},window==window.top||this.g_gc||this.g_f$||(document.addEventListener("mousedown",function(){window.focus()},!0),document.addEventListener("touchstart",function(){window.focus()},!0)),this.g_fH&&(-1<window.location.search.indexOf("continuous")&&(g_a.g_d("Reloading for continuous preview"),this.g_gX="__c2_continuouspreview",this.g_g$=!0),this.g_iS&&!this.g_gg&&(window.addEventListener("focus",function(){g.setSuspended(!1)}),window.addEventListener("blur",function(){var _=window.parent;_&&_.document.hasFocus()||g.setSuspended(!0)}))),window.addEventListener("blur",function(){g.g_iT()});var j=function(g){if("mousedown"===g.type&&1===g.button&&g.preventDefault(),g_a.g_bE(g)&&document.activeElement&&document.activeElement!==document.getElementsByTagName("body")[0]&&document.activeElement.blur)try{document.activeElement.blur()}catch(g){}};"undefined"==typeof g_iU?window.navigator.msPointerEnabled?document.addEventListener("MSPointerDown",j):document.addEventListener("touchstart",j):document.addEventListener("pointerdown",j),document.addEventListener("mousedown",j),0===this.g_iD&&this.g_iB&&1<this.devicePixelRatio?this.setSize(this.g_iV,this.g_iW,!0):this.setSize(window.innerWidth,window.innerHeight,!0),this.g_iX(),this.g_iY(),this.go(),this.g_iZ={},g_a.seal(this)};g.prototype.setSize=function(g,_,e){var t=0,p=0,o=0,n=0,i=0;if(this.g_gw!==g||this.g_gx!==_||e){if(this.g_gf&&this.g_fK){var s=g>_,r=document.documentElement.style,d=document.body.style;s?(d.height=r.height="375px",d.width=r.width="812px"):(d.width=r.width="375px",d.height=r.height="812px")}this.g_gw=g,this.g_gx=_;var h=this.g_iD,u=(document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||document.fullScreen||this.g_hO)&&!this.g_fK,c,f;if(u||0!==this.g_iD||e){u&&0<this.g_in&&(h=this.g_in);var m=this.devicePixelRatio;4<=h?(c=this.g_iV/this.g_iW,f=g/_,f>c?(o=_*c,5===h?(i=o*m/this.g_iV,1<i?i=y(i):1>i&&(i=1/a(1/i)),o=this.g_iV*i/m,n=this.g_iW*i/m,t=(g-o)/2,p=(_-n)/2,g=o,_=n):(t=(g-o)/2,g=o)):(n=g/c,5===h?(i=n*m/this.g_iW,1<i?i=y(i):1>i&&(i=1/a(1/i)),o=this.g_iV*i/m,n=this.g_iW*i/m,t=(g-o)/2,p=(_-n)/2,g=o,_=n):(p=(_-n)/2,_=n))):this.g_fX&&this.g_hO&&0===this.g_i_&&(t=y((g-this.g_iV)/2),p=y((_-this.g_iW)/2),g=this.g_iV,_=this.g_iW),2>h&&(this.g_i$=m),this.g_gu=l(g),this.g_gv=l(_),this.width=l(g*m),this.height=l(_*m),this.g_gz=!0,this.g_ja?(this.g_gs=this.width,this.g_gt=this.height,this.g_jb=!0):this.width<this.g_iV&&this.height<this.g_iW||1===h?(this.g_gs=this.width,this.g_gt=this.height,this.g_jb=!0):(this.g_gs=this.g_iV,this.g_gt=this.g_iW,this.g_jb=!1,2===h?(c=this.g_iV/this.g_iW,f=this.g_gw/this.g_gx,f<c?this.g_gs=this.g_gt*f:f>c&&(this.g_gt=this.g_gs/f)):3===h&&(c=this.g_iV/this.g_iW,f=this.g_gw/this.g_gx,f>c?this.g_gs=this.g_gt*f:f<c&&(this.g_gt=this.g_gs/f))),this.canvas&&(this.canvas.width=l(g*m),this.canvas.height=l(_*m),this.g_iB&&(this.canvas.style.width=l(g)+"px",this.canvas.style.height=l(_)+"px"),this.canvas.style.marginLeft=y(t)+"px",this.canvas.style.marginTop=y(p)+"px"),this.g_iG&&(this.g_iG.width=l(g*m),this.g_iG.height=l(_*m),this.g_iG.style.width=this.g_gu+"px",this.g_iG.style.height=this.g_gv+"px",this.g_iG.style.left=y(t)+"px",this.g_iG.style.top=y(p)+"px"),this.g_er&&this.g_er.g_ek(l(g*m),l(_*m)),this.g_gn&&(this.g_gn.g_fw=this.g_iP),this.g_iX(),this.g_fP&&!this.g_fK&&window.scrollTo(0,0)}}},g.prototype.g_iX=function(){if(this.g_jc&&0!==this.g_jd){var g="portrait";2===this.g_jd&&(g="landscape");try{screen.orientation&&screen.orientation.lock?screen.orientation.lock(g).catch(function(){}):screen.lockOrientation?screen.lockOrientation(g):screen.webkitLockOrientation?screen.webkitLockOrientation(g):screen.mozLockOrientation?screen.mozLockOrientation(g):screen.msLockOrientation&&screen.msLockOrientation(g)}catch(g){console&&console.warn&&console.warn("Failed to lock orientation: ",g)}}},g.prototype.g_iJ=function(){this.g_er.g_ft(),this.g_ik=!0;var g,_,e;for(g=0,_=this.g_gC.length;g<_;g++)e=this.g_gC[g],e.g_je&&e.g_je()},g.prototype.g_iK=function(){this.g_ik=!1;var g,_,e;for(g=0,_=this.g_gC.length;g<_;g++)e=this.g_gC[g],e.g_jf&&e.g_jf()};var j=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;g.prototype.setSuspended=function(g){var _=this,e,t;if(g&&!this.g_gA)for(g_a.g_d("[Construct 2] Suspending"),this.g_gA=!0,-1!==this.g_hK&&j(this.g_hK),-1!==this.g_hL&&clearTimeout(this.g_hL),(e=0,t=this.g_hJ.length);e<t;e++)this.g_hJ[e](!0);else if(!g&&this.g_gA){for(g_a.g_d("[Construct 2] Resuming"),this.g_gA=!1,this.g_hj=g_a.g_ap(),this.g_hl=g_a.g_ap(),this.g_hp=0,this.g_he=0,(e=0,t=this.g_hJ.length);e<t;e++)this.g_hJ[e](!1);this.g_iR(!1)}},g.prototype.g_jg=function(g){this.g_hJ.push(g)},g.prototype.g_jh=function(g){return this.g_iv[g]},g.prototype.g_iy=function(g){g&&g.project||g_a.g_e("Project model unavailable");var _=g.project;if(this.name=_[0],this.g_ji=_[1],this.g_iD=_[12],this.g_i_=_[12],this.g_iV=_[10],this.g_iW=_[11],this.g_jj=this.g_iV/2,this.g_jk=this.g_iW/2,this.g_jl=_[18],this.g_jm=_[19],this.g_jn=_[28],this.g_ir=_[29].map(function(g){return g[0]}),0===this.g_jm){var e=new Image;e.crossOrigin="anonymous",this.g_iq={g_jo:e};var o=this.g_iq;e.addEventListener("error",function(){o.g_jo=null});var n;n=this.g_fH?this.g_jp("loading-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QzedQWIrtOpLgGG9gsc0CEQ5mkGBLIfsBL/SwLg/ffB9gAZyrX3juBuAEos5t5h50W/Vz68OnouASz0S/M1D+QCOopnM/qBpTm0S72dMOn4m+GQz/tdBU3H970G7O8morhA38rrhXAeiqRWrC7o398tAaCztlYbOdqtE0F/3AXuxwMlQCR1wyNJhlZ6n00kqXdFdX1hvjcEstPOtAkgzRjsi3Yvs+ZE11us76kEcAffxnvMjgHfcOzvAwOtY3OIFPpP3td50yX0Fq87FZ+NIGy/5lBgCGt8BNsp707b/Fnnmx3Qf5aVg+dt2+h1SYDMtvmUQYXel0Qe36/Y6ytunvYvBBDpJewfLMJZ6Da/0U4kW7cQ6YAmTaz5Ge/9/ewIvZt3ercE6Fet0yH/DeTW2kfq95lkbo8b2Yj2TAKgmz2PjnGN4czODpZzNmHZ/T06l/IHw7dV6zr4rJqaZ9kEc504iahAfTq72HnzyZ0OHSaG5zEo/o/B2kUPYu/qMJzNd3FvRCJ+Y0Kz9/B2bCIwuK5yO+3gb+NiyrL3qKxKFuYyQA6v4/fORCs01jO5DpG1/EEvqaSSSiqppJL+D/oHA2Vc/OAUKTgAAAAASUVORK5CYII=",this.g_iq={g_jo:s,g_jr:[r,a,l],g_js:[h,y,u]}}this.g_hF=_[21],this.g_iv=g_a.g_jt(),this.g_ju=new g_a.g_jv(this);var c,i,x,z,M,T,N,m,E,t,f,p,d,b;for(c=0,i=_[2].length;c<i;c++)N=_[2][c],f=this.g_jh(N[0]),g_a.g_jw(N,f.prototype),d=new f(this),d.g_jx=N[1],d.g_jy=N[2],d.g_jz=N[5],d.g_jA=N[9],d.g_jB&&d.g_jB(),g_a.seal(d),this.plugins.push(d);for(this.g_iv=g_a.g_jt(),c=0,i=_[3].length;c<i;c++){for(N=_[3][c],b=this.g_jh(N[1]),(d=null,x=0,z=this.plugins.length);x<z;x++)if(this.plugins[x]instanceof b){d=this.plugins[x];break}var L=new d.g_jC(d);for(L.name=N[0],L.g_jD=N[2],L.g_jE=N[3].slice(0),L.g_jF=N[3].length,L.g_jG=N[4],L.g_jH=N[5],L.g_jI=N[11],L.g_jD?(L.g_jJ=[],L.g_jK=this.g_hI++,L.g_jL=null):(L.g_jJ=null,L.g_jK=-1,L.g_jL=[]),L.g_jM=null,L.g_jN=null,L.g_jO=null,L.g_jP=!1,L.g_jQ=null,N[6]?(L.g_jR=N[6][0],L.g_jS=N[6][1],L.g_jT=N[6][2],L.g_jU=N[6]):(L.g_jR=null,L.g_jS=0,L.g_jT=0,L.g_jU=null),L.g_jV=N[7]?N[7]:null,L.index=c,L.g_jW=[],L.g_jX=[],L.g_jY=[new g_a.selection(L)],L.g_jZ=0,L.g_j_=null,L.g_j$=0,L.g_ka=!0,L.g_kb=g_a.g_kc,L.g_kd=g_a.g_ke,L.g_kf=g_a.g_kg,L.g_kh=g_a.g_ki,L.g_kj=g_a.g_kk,L.g_kl=g_a.g_km,L.g_kn=g_a.g_ko,L.g_kp=g_a.g_kq,L.g_kr=g_a.g_ks,L.g_kt=g_a.g_ku,L.g_kv=g_a.g_kw,L.g_kx=g_a.g_ky,L.g_kz=new g_a.g_bj(this.g_iV,this.g_iW),L.g_kA=!0,L.g_kB=!1,L.g_iZ={},L.toString=g_a.g_kC,L.g_c=[],(x=0,z=N[8].length);x<z;x++){m=N[8][x];var w=this.g_jh(m[1]),C=null;for(M=0,T=this.g_c.length;M<T;M++)if(this.g_c[M]instanceof w){C=this.g_c[M];break}C||(C=new w(this),C.g_kD=[],C.g_kE=new g_a.g_ay,C.g_jB&&C.g_jB(),g_a.seal(C),this.g_c.push(C),g_a.g_c.g_kF&&C instanceof g_a.g_c.g_kF&&(this.g_gL=C),g_a.g_c.g_kG&&C instanceof g_a.g_c.g_kG&&(this.g_gM=C),g_a.g_c.g_kH&&C instanceof g_a.g_c.g_kH&&(this.g_gN=C)),-1===C.g_kD.indexOf(L)&&C.g_kD.push(L);var D=new C.g_jC(C,L);D.name=m[0],D.g_jI=m[2],D.g_jB(),g_a.seal(D),L.g_c.push(D)}for(L.global=N[9],L.g_kI=N[10],L.g_iL=[],(x=0,z=N[12].length);x<z;x++)L.g_iL.push({id:N[12][x][0],name:N[12][x][1],g_iM:-1,g_ef:!1,active:!0,index:x});if(L.g_kJ=N[13],(!this.g_jl||L.g_jD||L.g_kI||!d.g_jy)&&(L.g_jB(),g_a.seal(L)),L.name&&(this.types[L.name]=L,this.g_gB[L.name.toLowerCase()]=L),this.g_gC.push(L),d.g_jx){var k=new d.g_kK(L);k.g_kL=this.g_hF++,k.g_kM=this.g_hG++,k.g_kN=0,k.g_kO=g_a.g_kP,k.toString=g_a.g_kQ,k.properties=N[14],k.g_jB(),g_a.seal(k),L.g_jW.push(k),this.g_ip[k.g_kL.toString()]=k}}for(c=0,i=_[4].length;c<i;c++){var O=_[4][c],R=this.g_gC[O[0]],v;for(x=1,z=O.length;x<z;x++)v=this.g_gC[O[x]],v.g_jL.push(R),R.g_jJ.push(v)}for(c=0,i=_[27].length;c<i;c++){var U=_[27][c],I=[];for(x=0,z=U.length;x<z;x++)I.push(this.g_gC[U[x]]);for(x=0,z=I.length;x<z;x++)I[x].g_jP=!0,I[x].g_jQ=I}if(0<this.g_hI)for(c=0,i=this.g_gC.length;c<i;c++)if(E=this.g_gC[c],!E.g_jD&&E.g_jL.length){E.g_jM=Array(this.g_hI),E.g_jN=Array(this.g_hI),E.g_jO=Array(this.g_hI);var S=[],B=0,q=0,Q=0;for(x=0,z=E.g_jL.length;x<z;x++)for(t=E.g_jL[x],E.g_jM[t.g_jK]=B,B+=t.g_jF,E.g_jN[t.g_jK]=q,q+=t.g_jG,E.g_jO[t.g_jK]=Q,Q+=t.g_jH,(M=0,T=t.g_iL.length);M<T;M++)S.push(g_a.g_O({},t.g_iL[M]));for(E.g_iL=S.concat(E.g_iL),x=0,z=E.g_iL.length;x<z;x++)E.g_iL[x].index=x}for(c=0,i=_[5].length;c<i;c++){N=_[5][c];var W=new g_a.g_kR(this,N);g_a.seal(W),this.g_gD[W.name]=W,this.g_gE.push(W)}for(c=0,i=_[6].length;c<i;c++){N=_[6][c];var P=new g_a.g_kS(this,N);g_a.seal(P),this.g_gF[P.name]=P,this.g_gG.push(P)}for(c=0,i=this.g_gG.length;c<i;c++)this.g_gG[c].g_kT();for(c=0,i=this.g_gG.length;c<i;c++)this.g_gG[c].g_kU();for(c=0,i=this.g_gI.length;c<i;c++)this.g_gI[c].g_kT();for(g_a.g_R(this.g_gI),this.g_kV=_[7],this.g_kW={},(c=0,i=this.g_kV.length);c<i;++c)p=this.g_kV[c],this.g_kW[p[0]]=p[1];this.g_io=_[8],this.g_kX=_[9],this.g_i$=1,this.g_iF=_[13],this.g_iP=_[14],this.g_kY=_[15],this.g_kZ=_[16],this.g_iC=_[17],this.g_jd=_[20],this.g_jc=0<this.g_jd,this.g_iS=_[22],this.g_ja=_[23],this.g_jb=this.g_ja,this.g_iI=_[24],this.g_k_=_[25],this.g_ca=_[26]&&!this.g_b$,this.g_is=_[30],this.g_k$=Date.now(),g_a.g_R(this.g_iv),this.g_k_||A["audio/webm; codecs=opus"]||!window.OpusDecoder||window.OpusDecoder.Initialise(),this.g_iA()};var z=!1;g.prototype.g_la=function(g,_){window.g_lb&&_&&"blob:"!==_.substr(0,5)&&(_=window.g_lb[_]);g.onerror=function(_){g.g_lc=!0,z=!0,console&&console.error&&console.error("Error loading image '"+g.src+"': ",_)},g.src||("undefined"==typeof g_ld?(g.crossOrigin="anonymous",this.g_jq(g,_)):g_ld.get(_,function(_){g.src=_},function(t){g.g_lc=!0,z=!0,console&&console.error&&console.error("Error extracting image '"+_+"' from expansion file: ",t)})),this.g_gH.push(g)},g.prototype.g_le=function(g){var _,e;for(_=0,e=this.g_gH.length;_<e;_++)if(this.g_gH[_].g_lf===g)return this.g_gH[_];return null};var M=0,T=!1;g.prototype.g_iY=function(){if(this.g_hQ&&this.g_k_){var g=[],_,e,t,p,o,n;for(_=0,e=this.g_kV.length;_<e;++_)t=this.g_kV[_],p=t[0],n=t[2],o=this.g_lg(p),o&&!n&&g.push({filename:p+o[1],size:o[2],type:o[0]});M=this.g_hQ.g_lh(g)}},g.prototype.g_li=function(){var g=M,_=0,e=0,t=!0,p,o,n;for(p=0,o=this.g_gH.length;p<o;p++){n=this.g_gH[p];var i=n.g_lj;(!i||0>=i)&&(i=5e4),g+=i,n.src&&n.complete&&!n.g_lc?_+=i:t=!1}return t&&this.g_k_&&this.g_hQ&&(!T&&(this.g_hQ.g_lk(),T=!0),e=this.g_hQ.g_ll(),_+=e,e<M&&(t=!1)),this.g_lm=0==g?1:_/g,t};var N=!1;g.prototype.go=function(){if(this.g_gn||this.g_er){var g=this.g_gn||this.g_iH;if(0<this.g_iD){var _=window.innerWidth,e=window.innerHeight;(this.g_gw!==_||this.g_gx!==e)&&this.setSize(_,e)}this.g_lm=0,this.g_ln=-1;var t=this;if(this.g_li()&&(4!==this.g_jm||N))this.g_gj?FBInstant.startGameAsync().then(function(){t.g_lo()}):this.g_lo();else{this.g_gj&&FBInstant.setLoadingProgress(100*this.g_lm);var p=Date.now()-this.g_k$;if(g){var o=this.width,n=this.height,i=this.devicePixelRatio;if(3>this.g_jm&&500<=p&&this.g_ln!=this.g_lm){g.clearRect(0,0,o,n);var s=o/2,r=n/2,a=0===this.g_jm&&this.g_iq.g_jo&&this.g_iq.g_jo.complete,d=40*i,h=0,u=80*i,c;if(a){var f=this.g_iq.g_jo;u=f.width*i,c=f.height*i,d=u/2,h=c/2,g.drawImage(f,g_a.floor(s-d),g_a.floor(r-h),u,c)}if(1>=this.g_jm)r+=h+(a?12*i:0),s-=d,s=g_a.floor(s)+0.5,r=g_a.floor(r)+0.5,g.fillStyle=z?"red":"DodgerBlue",g.fillRect(s,r,y(u*this.g_lm),6*i),g.strokeStyle="black",g.strokeRect(s,r,u,6*i),g.strokeStyle="white",g.strokeRect(s-1*i,r-1*i,u+2*i,8*i);else if(2===this.g_jm){g.font="12pt Arial",g.fillStyle=z?"#f00":"#999",g.g_lp="middle";var x=l(100*this.g_lm)+"%",j=g.measureText?g.measureText(x):null,A=j?j.width:0;g.fillText(x,s-A/2,r)}this.g_ln=this.g_lm}else if(4===this.g_jm)return this.g_lq(g),void(m?m(function(){t.go()}):setTimeout(function(){t.go()},16))}setTimeout(function(){t.go()},100)}}};var E=-1,b=300,L=300,C=!0,D=!1,k=0,O=0,R=null,v=null,U=0;g.prototype.g_lq=function(g){if(!N){var t=this.g_fH||this.g_gj,p=t?0:200,o=t?0:3e3,n=a(this.width),s=a(this.height),r=this.devicePixelRatio,d=this.g_iq.g_jo,l=this.g_iq.g_jr,h=this.g_iq.g_js;if(d.complete){for(var y=0;3>y;++y)if(!l[y].complete||!h[y].complete)return;0==U&&(E=Date.now());var i=Date.now(),f=!1,m=g,x,j;C||D?(g.clearRect(0,0,n,s),_(n,s),m=v,f=!0,C&&1==U&&(E=Date.now())):g.globalAlpha=1,m.fillStyle="#3B4045",m.fillRect(0,0,n,s);try{256<this.g_gv?(x=1.5*g_a.g_K(0.22*s,105,0.6*n),j=x/8,m.drawImage(e(l,x),0.5*n-x/2,0.2*s-j/2,x,j),x=c(0.395*s,0.95*n),j=x,m.drawImage(d,0.5*n-x/2,0.485*s-j/2,x,j),x=1.5*g_a.g_K(0.22*s,105,0.6*n),j=x/8,m.drawImage(e(h,x),0.5*n-x/2,0.868*s-j/2,x,j),m.fillStyle="#4D565D",x=n,j=u(5e-3*s,2),m.fillRect(0,0.8*s-j/2,x,j),m.fillStyle=z?"red":"#29F3D0",x=n*this.g_lm,m.fillRect(0.5*n-x/2,0.8*s-j/2,x,j)):(x=0.55*s,j=x,m.drawImage(d,0.5*n-x/2,0.45*s-j/2,x,j),m.fillStyle="#4D565D",x=n,j=u(5e-3*s,2),m.fillRect(0,0.85*s-j/2,x,j),m.fillStyle=z?"red":"#29F3D0",x=n*this.g_lm,m.fillRect(0.5*n-x/2,0.85*s-j/2,x,j)),f&&(C?0==U?g.globalAlpha=0:g.globalAlpha=c((i-E)/b,1):D&&(g.globalAlpha=u(1-(i-O)/L,0)),g.drawImage(R,0,0,n,s))}catch(g){}C&&i-E>=b&&2<=U&&(C=!1,k=i),!C&&i-k>=o&&!D&&1<=this.g_lm&&(D=!0,O=i),(D&&i-O>=L+p||t&&1<=this.g_lm&&500>Date.now()-E)&&(N=!0,C=!1,D=!1,R=null,v=null,this.g_iq=null),++U}}},g.prototype.g_lo=function(){if(this.g_ir.length&&document.fonts&&document.fonts.load){var g=this;Promise.all(this.g_ir.map(function(g){return document.fonts.load("1em '"+g+"'")})).then(function(){g.g_lr()})}else this.g_lr()},g.prototype.g_lr=function(){this.g_iG&&(this.canvas.parentNode.removeChild(this.g_iG),this.g_iH=null,this.g_iG=null),this.g_k$=Date.now(),this.g_hl=g_a.g_ap();var g,_,e;if(this.g_jl)for(g=0,_=this.g_gC.length;g<_;g++)e=this.g_gC[g],e.g_jD||e.g_kI||!e.g_ls.g_jy||(e.g_jB(),g_a.seal(e));else this.g_hM=!1;for(g=0,_=this.g_gE.length;g<_;g++)this.g_gE[g].g_lt();if(2<=this.g_iD){var t=this.g_iV/this.g_iW,p=this.width/this.height;this.g_i$=2!==this.g_iD&&p>t||2===this.g_iD&&p<t?this.height/this.g_iW:this.width/this.g_iV}for(g=0,_=this.g_gC.length;g<_;g++)e=this.g_gC[g],e.g_lu&&e.g_lu();this.g_ji?this.g_gD[this.g_ji].g_lv():this.g_gE[0].g_lv();for(this.g_jl||(this.g_hN=1,this.trigger(g_a.g_jv.prototype.g_lx.g_lw,null),window.C3_RegisterSW&&window.C3_RegisterSW()),navigator.splashscreen&&navigator.splashscreen.hide&&navigator.splashscreen.hide(),(g=0,_=this.g_gC.length);g<_;g++)e=this.g_gC[g],e.g_ly&&e.g_ly();var o=function(){document.hidden||document.webkitHidden||document.mozHidden||document.msHidden?window.cr_setSuspended(!0):window.cr_setSuspended(!1)};document.addEventListener("visibilitychange",o,!1),document.addEventListener("mozvisibilitychange",o,!1),document.addEventListener("webkitvisibilitychange",o,!1),document.addEventListener("msvisibilitychange",o,!1),this.g_fK&&(document.addEventListener("pause",function(){window.cr_setSuspended(!0)}),document.addEventListener("resume",function(){window.cr_setSuspended(!1)})),document.hidden||document.webkitHidden||document.mozHidden||document.msHidden?window.cr_setSuspended(!0):this.g_iR(!1)},g.prototype.g_iR=function(g,_,e){if(this.g_id){var t=g_a.g_ap();if(e||!this.g_gA||g){g||(m?this.g_hK=m(this.g_iQ):this.g_hL=setTimeout(this.g_iQ,this.g_gg?1:16));var p=this.g_iD,o=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement)&&!this.g_fK;if((o||this.g_hO)&&0<this.g_in&&(p=this.g_in),0<p){var n=window.innerWidth,i=window.innerHeight;(this.g_gw!==n||this.g_gx!==i)&&this.setSize(n,i)}if(o?!this.g_go&&(this.g_go=!0):this.g_go?(this.g_go=!1,0===this.g_iD&&this.setSize(l(this.g_gp/this.devicePixelRatio),l(this.g_gq/this.devicePixelRatio),!0)):(this.g_gp=this.width,this.g_gq=this.height),this.g_hM){var s=this.g_li();this.g_hN=this.g_lm,s&&(this.g_hM=!1,this.g_lm=1,this.trigger(g_a.g_jv.prototype.g_lx.g_lw,null),window.C3_RegisterSW&&window.C3_RegisterSW())}this.g_lz(_||t),!this.g_gz||this.g_ik||this.g_g$||g||(this.g_gz=!1,this.g_er?this.g_lA():this.g_lB(),this.g_it&&(this.canvas&&this.canvas.toDataURL&&(this.g_iu=this.canvas.toDataURL(this.g_it[0],this.g_it[1]),window.cr_onSnapshot&&window.cr_onSnapshot(this.g_iu),this.trigger(g_a.g_jv.prototype.g_lx.g_lC,null)),this.g_it=null)),this.g_lD||(this.g_hm++,this.g_hn++,this.g_ho++,this.g_hp++),this.g_he+=g_a.g_ap()-t}}},g.prototype.g_lz=function(g){var _,e,t,p,o,n,i,s,r;if(1e3<=g-this.g_hl&&(this.g_hl+=1e3,1e3<=g-this.g_hl&&(this.g_hl=g),this.g_hk=this.g_hp,this.g_hp=0,this.g_hf=c(this.g_he,1e3),this.g_he=0,this.g_er&&0===this.g_hs&&(this.g_hs=this.g_er.g_fq(),this.g_ht=-1)),this.g_er&&-1===this.g_ht&&this.g_er.g_fs()&&(this.g_ht=this.g_er.g_eR(this.g_hr,this.g_hs),-1!==this.g_ht&&(this.g_er.g_eS(this.g_hs),this.g_hu=c(this.g_ht,1),this.g_hr=this.g_hs,this.g_hs=0)),0!==this.g_hj){var a=g-this.g_hj;0>a&&(a=0),this.g_hc=a/1e3,0.5<this.g_hc?this.g_hc=0:this.g_hc>1/this.g_hd&&(this.g_hc=1/this.g_hd)}this.g_hj=g,this.g_hb=this.g_hc*this.g_hg,this.g_hh.add(this.g_hb),this.g_hi.add(this.g_hc);var d=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.g_hO)&&!this.g_fK;if(2<=this.g_iD||d&&0<this.g_in){var l=this.g_iV/this.g_iW,h=this.width/this.height,y=this.g_iD;d&&0<this.g_in&&(y=this.g_in),this.g_i$=2!==y&&h>l||2===y&&h<l?this.height/this.g_iW:this.width/this.g_iV,this.g_id&&(this.g_id.g_lE(this.g_id.scrollX),this.g_id.g_lF(this.g_id.scrollY))}else this.g_i$=this.g_iB?this.devicePixelRatio:1;this.g_iE(),this.g_gR++,this.g_ju.g_lG(),this.g_gR--,this.g_iE(),this.g_gR++;var u=this.g_hT.g_ax();for(_=0,e=u.length;_<e;_++)u[_].g_lH();for(_=0,e=this.g_gC.length;_<e;_++)if(i=this.g_gC[_],!i.g_jD&&(i.g_c.length||i.g_jL.length))for(t=0,p=i.g_jW.length;t<p;t++)for(s=i.g_jW[t],o=0,n=s.g_lI.length;o<n;o++)s.g_lI[o].g_iR();for(_=0,e=this.g_gC.length;_<e;_++)if(i=this.g_gC[_],!i.g_jD&&(i.g_c.length||i.g_jL.length))for(t=0,p=i.g_jW.length;t<p;t++)for(s=i.g_jW[t],o=0,n=s.g_lI.length;o<n;o++)r=s.g_lI[o],r.g_lJ&&r.g_lJ();for(u=this.g_hU.g_ax(),_=0,e=u.length;_<e;_++)u[_].g_iR();for(this.g_gR--,this.g_lK(),_=0;this.g_hv&&10>_++;)this.g_lL(this.g_hv);for(_=0,e=this.g_gG.length;_<e;_++)this.g_gG[_].g_lM=!1;for(this.g_id.g_lN&&this.g_id.g_lN.g_lO(),g_a.g_R(this.g_hW),this.g_hH=!1,this.g_gR++,(_=0,e=this.g_gC.length);_<e;_++)if(i=this.g_gC[_],!i.g_jD&&(i.g_c.length||i.g_jL.length))for(t=0,p=i.g_jW.length;t<p;t++){var s=i.g_jW[t];for(o=0,n=s.g_lI.length;o<n;o++)r=s.g_lI[o],r.g_lP&&r.g_lP()}for(u=this.g_hV.g_ax(),_=0,e=u.length;_<e;_++)u[_].g_lP();this.g_gR--},g.prototype.g_iT=function(){var g,_,e,t,p,o,n,i,s;for(g=0,_=this.g_gC.length;g<_;g++)if(n=this.g_gC[g],!n.g_jD)for(e=0,t=n.g_jW.length;e<t;e++)if(i=n.g_jW[e],i.g_iT&&i.g_iT(),i.g_lI)for(p=0,o=i.g_lI.length;p<o;p++)s=i.g_lI[p],s.g_iT&&s.g_iT()},g.prototype.g_lL=function(g){var _=this.g_id;this.g_id.g_lQ();var e,t,p;if(this.g_er)for(e=0,t=this.g_gC.length;e<t;e++)p=this.g_gC[e],p.g_jD||!p.g_lR||p.global&&0!==p.g_jW.length||-1!==g.g_lS.indexOf(p)||p.g_lR();_==g&&g_a.g_R(this.g_ju.g_lT),g_a.g_R(this.g_hW),this.g_lU(!0),g.g_lv(),this.g_lU(!1),this.g_gz=!0,this.g_hH=!0,this.g_iE()},g.prototype.g_lU=function(g){var _,e,t,p,o,n,i,s,r,a;for(_=0,e=this.g_c.length;_<e;_++)t=this.g_c[_],g?t.g_lV&&t.g_lV():t.g_lW&&t.g_lW();for(_=0,e=this.g_gC.length;_<e;_++)if(p=this.g_gC[_],p.global||p.g_ls.g_jx)for(o=0,n=p.g_jW.length;o<n;o++)if(i=p.g_jW[o],g?i.g_lV&&i.g_lV():i.g_lW&&i.g_lW(),i.g_lI)for(s=0,r=i.g_lI.length;s<r;s++)a=i.g_lI[s],g?a.g_lV&&a.g_lV():a.g_lW&&a.g_lW()},g.prototype.g_lX=function(g){this.g_hT.add(g)},g.prototype.g_lY=function(g){this.g_hT.remove(g)},g.prototype.g_lZ=function(g){this.g_hU.add(g)},g.prototype.g_l_=function(g){this.g_hU.remove(g)},g.prototype.g_l$=function(g){this.g_hV.add(g)},g.prototype.g_ma=function(g){this.g_hV.remove(g)},g.prototype.g_mb=function(g){return g&&-1!==g.g_mc?this.g_hc*g.g_mc:this.g_hb},g.prototype.g_lB=function(){this.g_id.g_lB(this.g_gn)},g.prototype.g_lA=function(){this.g_ca&&(this.g_gm=1,this.g_id.g_md(this.g_er)),this.g_id.g_lA(this.g_er),this.g_er.g_fr()},g.prototype.g_me=function(g){g&&this.g_hw.push(g)},g.prototype.g_mf=function(g){g_a.g_V(this.g_hw,g)},g.prototype.g_mg=function(g){var _=g.toString();return this.g_ip.hasOwnProperty(_)?this.g_ip[_]:null};var w=[];g.prototype.g_mh=function(g){var _=g.type,e=_.name,p=this.g_gO.hasOwnProperty(e),o=null,n,i;if(!p)o=t(),this.g_gO[e]=o;else if(o=this.g_gO[e],o.contains(g))return;if(g.g_mi=!0,o.add(g),this.g_gP=!0,g.g_jP)for(n=0,i=g.siblings.length;n<i;n++)this.g_mh(g.siblings[n]);this.g_gQ&&o.g_at.push(g),this.g_gT||(this.g_gR++,this.trigger(Object.getPrototypeOf(g.type.g_ls).g_lx.g_mj,g),this.g_gR--)},g.prototype.g_iE=function(){if(this.g_gP){var g,_,e,t,p,o;for(this.g_gQ=!0,e=0,p=this.g_gU.length;e<p;++e)for(g=this.g_gU[e],_=g.type,_.g_jW.push(g),(t=0,o=_.g_jL.length);t<o;++t)_.g_jL[t].g_jW.push(g),_.g_jL[t].g_ka=!0;g_a.g_R(this.g_gU),this.g_mk(),g_a.g_ao(this.g_gO),this.g_gQ=!1,this.g_gP=!1}},g.prototype.g_mk=function(){for(var g in this.g_gO)this.g_gO.hasOwnProperty(g)&&this.g_ml(this.g_gO[g])},g.prototype.g_ml=function(g){var _=g.g_ax();var e=_[0].type;var t,o,n,i,s,r,a,d;for(g_a.g_aA(e.g_jW,g),e.g_ka=!0,0===e.g_jW.length&&(e.g_kB=!1),(t=0,o=e.g_jL.length);t<o;++t)r=e.g_jL[t],g_a.g_aA(r.g_jW,g),r.g_ka=!0;for(t=0,o=this.g_ju.g_lT.length;t<o;++t)if(s=this.g_ju.g_lT[t],s.g_mm.hasOwnProperty(e.index)&&g_a.g_aA(s.g_mm[e.index].g_mn,g),!e.g_jD)for(n=0,i=e.g_jL.length;n<i;++n)r=e.g_jL[n],s.g_mm.hasOwnProperty(r.index)&&g_a.g_aA(s.g_mm[r.index].g_mn,g);var l=_[0].g_mo;if(l){if(l.g_mp)for(a=l.g_jW,t=0,o=a.length;t<o;++t)d=a[t],g.contains(d)&&(d.g_aU(),l.g_mq.update(d,d.g_mr,null),d.g_mr.set(0,0,-1,-1));g_a.g_aA(l.g_jW,g),l.g_ms(0)}for(t=0;t<_.length;++t)this.g_mt(_[t],e);p(g),this.g_gz=!0},g.prototype.g_mt=function(g,_){var e,t,p;for(e=0,t=this.g_hw.length;e<t;++e)this.g_hw[e](g);g.g_mu&&_.g_kz.update(g,g.g_mu,null);var o=g.g_mo;if(o&&o.g_mv(g,!0),g.g_lI)for(e=0,t=g.g_lI.length;e<t;++e)p=g.g_lI[e],p.g_mw&&p.g_mw(),p.behavior.g_kE.remove(g);this.g_hT.remove(g),this.g_hU.remove(g),this.g_hV.remove(g),g.g_mw&&g.g_mw(),this.g_ip.hasOwnProperty(g.g_kL.toString())&&delete this.g_ip[g.g_kL.toString()],this.g_hq--,100>_.g_jX.length&&_.g_jX.push(g)},g.prototype.g_mx=function(g,_,e,t){if(g.g_jD){var p=g_a.floor(Math.random()*g.g_jJ.length);return this.g_mx(g.g_jJ[p],_,e,t)}return g.g_j_?this.g_my(g.g_j_,_,!1,e,t,!1):null};var I=[];g.prototype.g_my=function(g,_,e,t,p,o){var n,i,s,r,a;if(!g)return null;var d=this.g_gC[g[1]],l=d.g_ls.g_jy;if(this.g_hM&&l&&!d.g_kI)return null;if(l&&!this.g_er&&11===g[0][11])return null;var h=_;l||(_=null);var y;for(d.g_jX.length?(y=d.g_jX.pop(),y.g_mz=!0,d.g_ls.g_kK.call(y,d)):(y=new d.g_ls.g_kK(d),y.g_mz=!1),y.g_kL=!e||o||this.g_ip.hasOwnProperty(g[2].toString())?this.g_hF++:g[2],this.g_ip[y.g_kL.toString()]=y,y.g_kM=this.g_hG++,y.g_kN=d.g_jW.length,(n=0,i=this.g_gU.length);n<i;++n)this.g_gU[n].type===d&&y.g_kN++;y.g_kO=g_a.g_kP,y.toString=g_a.g_kQ,y.g_mi=!1;var u=g[3];if(y.g_mz)g_a.g_ao(y.g_iZ);else{if(y.g_iZ={},this.g_fH)for(y.g_mA=[],y.g_mA.length=u.length,(n=0,i=u.length);n<i;n++)y.g_mA[n]=u[n][1];y.g_mB=[],y.g_mB.length=u.length}for(n=0,i=u.length;n<i;n++)y.g_mB[n]=u[n][0];if(l){var c=g[0];if(y.x=g_a.g_f(t)?c[0]:t,y.y=g_a.g_f(p)?c[1]:p,y.z=c[2],y.width=c[3],y.height=c[4],y.g_mC=c[5],y.angle=c[6],y.opacity=c[7],y.g_mD=c[8],y.g_mE=c[9],y.g_mF=c[10],a=c[11],!this.g_er&&d.g_iL.length&&(y.g_mF=a),y.g_mG=g_a.g_bx(y.g_mF),this.g_cu&&g_a.g_by(y,y.g_mF,this.g_cu),y.g_mz){for(n=0,i=c[12].length;n<i;n++)for(s=0,r=c[12][n].length;s<r;s++)y.g_mH[n][s]=c[12][n][s],Array.isArray(y.g_mH[n][s])&&(y.g_mH[n][s]=y.g_mH[n][s].slice(0));y.g_mI.set(0,0,0,0),y.g_mu.set(0,0,-1,-1),y.g_mr.set(0,0,-1,-1),y.g_mJ.g_A(y.g_mI),g_a.g_R(y.g_mK)}else{for(y.g_mH=c[12].slice(0),n=0,i=y.g_mH.length;n<i;n++)for(y.g_mH[n]=c[12][n].slice(0),s=0,r=y.g_mH[n].length;s<r;++s)Array.isArray(y.g_mH[n][s])&&(y.g_mH[n][s]=y.g_mH[n][s].slice(0));y.g_mL=[],y.g_mM=[],y.g_mM.length=d.g_iL.length,y.g_mI=new g_a.rect(0,0,0,0),y.g_mu=new g_a.rect(0,0,-1,-1),y.g_mr=new g_a.rect(0,0,-1,-1),y.g_mJ=new g_a.g_I,y.g_mK=[],y.g_mN=g_a.g_mN,y.g_mO=g_a.g_mO,y.g_q=g_a.g_mP,y.g_aU=g_a.g_aU,y.g_mQ=g_a.g_mQ,y.g_mR=g_a.g_mR,y.g_bu=g_a.g_mS}for(y.g_mT=!1,y.g_mU=0,y.g_mV=0,y.g_mW=null,14===c.length&&(y.g_mT=!0,y.g_mU=c[13][0],y.g_mV=c[13][1],y.g_mW=c[13][2]),(n=0,i=d.g_iL.length);n<i;n++)y.g_mM[n]=!0;y.g_mX=!0,y.g_iN=g_a.g_mY,y.g_iN(),y.g_mZ=!!y.g_mL.length,y.g_m_=!0,y.g_m$=!0,d.g_kA=!0,y.visible=!0,y.g_mc=-1,y.g_mo=_,y.g_bv=_.g_jW.length,y.g_gm=0,"undefined"==typeof y.g_na&&(y.g_na=null),y.g_nb=!0,this.g_gz=!0}var f,m;for(g_a.g_R(I),n=0,i=d.g_jL.length;n<i;n++)I.push.apply(I,d.g_jL[n].g_c);if(I.push.apply(I,d.g_c),y.g_mz)for(n=0,i=I.length;n<i;n++){var x=I[n];for(m=y.g_lI[n],m.g_mz=!0,x.behavior.g_kK.call(m,x,y),f=g[4][n],(s=0,r=f.length);s<r;s++)m.properties[s]=f[s];m.g_jB(),x.behavior.g_kE.add(y)}else for(y.g_lI=[],n=0,i=I.length;n<i;n++){var x=I[n],m=new x.behavior.g_kK(x,y);m.g_mz=!1,m.properties=g[4][n].slice(0),m.g_jB(),g_a.seal(m),y.g_lI.push(m),x.behavior.g_kE.add(y)}if(f=g[5],y.g_mz)for(n=0,i=f.length;n<i;n++)y.properties[n]=f[n];else y.properties=f.slice(0);if(this.g_gU.push(y),this.g_gP=!0,(_&&(_.g_nc(y,!0),(1!==_.g_nd||1!==_.g_ne)&&(d.g_kB=!0)),this.g_hq++,!d.g_jP))y.g_jP=!1,y.siblings=null;else if(y.g_jP=!0,y.g_mz?g_a.g_R(y.siblings):y.siblings=[],!e&&!o){for(n=0,i=d.g_jQ.length;n<i;n++)if(d.g_jQ[n]!==d){if(!d.g_jQ[n].g_j_)return null;y.siblings.push(this.g_my(d.g_jQ[n].g_j_,h,!1,l?y.x:t,l?y.y:p,!0))}for(n=0,i=y.siblings.length;n<i;n++)for(y.siblings[n].siblings.push(y),s=0;s<i;s++)n!==s&&y.siblings[n].siblings.push(y.siblings[s])}for(y.g_jB(),y.g_mz||g_a.seal(y),(n=0,i=y.g_lI.length);n<i;n++)y.g_lI[n].g_nf&&y.g_lI[n].g_nf();return y},g.prototype.g_ng=function(g){var _,e;for(_=0,e=this.g_id.g_iO.length;_<e;_++){var t=this.g_id.g_iO[_];if(g_a.g_bC(t.name,g))return t}return null},g.prototype.g_nh=function(g){return g=g_a.floor(g),0>g&&(g=0),g>=this.g_id.g_iO.length&&(g=this.g_id.g_iO.length-1),this.g_id.g_iO[g]},g.prototype.g_ni=function(g){return g_a.g_g(g)?this.g_nh(g):this.g_ng(g.toString())},g.prototype.g_nj=function(g){var _,e;for(_=0,e=g.length;_<e;_++)g[_].g_kh().g_nk=!0},g.prototype.g_kj=function(g){var _,e;for(_=0,e=g.length;_<e;_++)g[_].g_kj()},g.prototype.g_kl=function(g){var _,e;for(_=0,e=g.length;_<e;_++)g[_].g_kl()},g.prototype.g_kn=function(g){var _,e;for(_=0,e=g.length;_<e;_++)g[_].g_kn()},g.prototype.g_nl=function(g){if(g.g_kA){var _=g.g_jW,e,t;for(e=0,t=_.length;e<t;++e)_[e].g_mR();var p=this.g_gU;for(e=0,t=p.length;e<t;++e)p[e].type===g&&p[e].g_mR();g.g_kA=!1}},g.prototype.g_nm=function(g,_,e,p){var o=!!g&&(1!==g.g_nd||1!==g.g_ne),n,i,s;if(_.g_jD)for(n=0,i=_.g_jJ.length;n<i;++n)s=_.g_jJ[n],o||s.g_kB?g_a.g_T(p,s.g_jW):(this.g_nl(s),s.g_kz.g_bi(e,p));else o||_.g_kB?g_a.g_T(p,_.g_jW):(this.g_nl(_),_.g_kz.g_bi(e,p))},g.prototype.g_nn=function(g,_,e,t){var p,o;for(p=0,o=_.length;p<o;++p)this.g_nm(g,_[p],e,t)},g.prototype.g_no=function(g,_,e){var t=this.g_np();return t?void this.g_nn(g,t.g_kD,_,e):null},g.prototype.g_nq=function(g,_,e){var t=this.g_nr();return t?void this.g_nn(g,t.g_kD,_,e):null},g.prototype.g_ns=function(g,_,e,t){var p=g.g_kh(),o=this.g_nv().g_nu.g_nt,n,i,s,r,a,d,l;if(p.g_nk){for(t||(p.g_nk=!1,g_a.g_R(p.g_jW)),n=0,r=g.g_jW.length;n<r;n++)if(s=g.g_jW[n],s.g_aU(),a=s.g_mo.g_nw(_,e,!0),d=s.g_mo.g_nw(_,e,!1),s.g_q(a,d)){if(t)return!1;p.g_jW.push(s)}else o&&p.g_nx.push(s);}else{for(i=0,l=o?p.g_nx:p.g_jW,(n=0,r=l.length);n<r;n++)if(s=l[n],s.g_aU(),a=s.g_mo.g_nw(_,e,!0),d=s.g_mo.g_nw(_,e,!1),s.g_q(a,d)){if(t)return!1;o?p.g_jW.push(s):(p.g_jW[i]=p.g_jW[n],i++)}t||(l.length=i)}return g.g_kv(),!!t||p.g_ny()},g.prototype.g_nz=function(g,_){if(!g||!_||g===_||!g.g_nb||!_.g_nb)return!1;g.g_aU(),_.g_aU();var e=g.g_mo,t=_.g_mo,p=e!==t&&(e.g_nd!==t.g_nd||t.g_ne!==t.g_ne||e.scale!==t.scale||e.angle!==t.angle||e.g_nA!==t.g_nA),o,n,i,s,r,d,l,h,y,u;if(!p)return!!g.g_mI.g_o(_.g_mI)&&!!g.g_mJ.g_H(_.g_mJ)&&(g.g_mT&&_.g_mT?!1:g.g_mT?this.g_nB(g,_):_.g_mT?this.g_nB(_,g):(l=g.g_na&&!g.g_na.g_aT(),h=_.g_na&&!_.g_na.g_aT(),!(l||h))||(l?(g.g_na.g_aX(g.width,g.height,g.angle),y=g.g_na):(this.g_hX.g_aV(g.g_mJ,g.x,g.y,g.width,g.height),y=this.g_hX),h?(_.g_na.g_aX(_.width,_.height,_.angle),u=_.g_na):(this.g_hX.g_aV(_.g_mJ,_.x,_.y,_.width,_.height),u=this.g_hX),y.g_aY(u,_.x-g.x,_.y-g.y)));for(l=g.g_na&&!g.g_na.g_aT(),h=_.g_na&&!_.g_na.g_aT(),l?(g.g_na.g_aX(g.width,g.height,g.angle),this.g_hX.g_aW(g.g_na)):this.g_hX.g_aV(g.g_mJ,g.x,g.y,g.width,g.height),y=this.g_hX,h?(_.g_na.g_aX(_.width,_.height,_.angle),this.g_hY.g_aW(_.g_na)):this.g_hY.g_aV(_.g_mJ,_.x,_.y,_.width,_.height),u=this.g_hY,(o=0,n=y.g_aP);o<n;o++)i=2*o,s=i+1,r=y.g_aH[i],d=y.g_aH[s],y.g_aH[i]=e.g_nC(r+g.x,d+g.y,!0),y.g_aH[s]=e.g_nC(r+g.x,d+g.y,!1);for(y.g_aU(),o=0,n=u.g_aP;o<n;o++)i=2*o,s=i+1,r=u.g_aH[i],d=u.g_aH[s],u.g_aH[i]=t.g_nC(r+_.x,d+_.y,!0),u.g_aH[s]=t.g_nC(r+_.x,d+_.y,!1);return u.g_aU(),y.g_aY(u,0,0)};var S=new g_a.g_I,B=new g_a.rect(0,0,0,0),q=[];g.prototype.g_nB=function(g,_){var e=_.g_mI,t=g.x,p=g.y,o,n,i,s;g.g_nD(e,q);var r=q,a=_.g_na&&!_.g_na.g_aT();for(o=0,n=r.length;o<n;++o)if(i=r[o],s=i.g_nE,e.g_p(s,t,p)&&(S.g_A(s),S.offset(t,p),S.g_H(_.g_mJ)))if(!a){if(!i.g_nF)return g_a.g_R(q),!0;if(this.g_hX.g_aV(_.g_mJ,0,0,_.width,_.height),i.g_nF.g_aY(this.g_hX,-(t+s.left),-(p+s.top)))return g_a.g_R(q),!0}else if(_.g_na.g_aX(_.width,_.height,_.angle),i.g_nF){if(i.g_nF.g_aY(_.g_na,_.x-(t+s.left),_.y-(p+s.top)))return g_a.g_R(q),!0;}else if(this.g_hX.g_aV(S,0,0,s.right-s.left,s.bottom-s.top),this.g_hX.g_aY(_.g_na,_.x,_.y))return g_a.g_R(q),!0;return g_a.g_R(q),!1},g.prototype.g_nG=function(g,_){if(!_||!_.g_nb)return!1;_.g_aU();var e=_.g_mo,t;if(!_.g_mI.g_o(g))return!1;if(_.g_mT){_.g_nD(g,q);var p=q,o=_.x,n=_.y,s,i,r,a;for(s=0,i=p.length;s<i;++s)if(r=p[s],a=r.g_nE,g.g_p(a,o,n)){if(!r.g_nF)return g_a.g_R(q),!0;if(this.g_hX.g_A(g,0,0),r.g_nF.g_aY(this.g_hX,-(o+a.left),-(n+a.top)))return g_a.g_R(q),!0}return g_a.g_R(q),!1}return(S.g_A(g),!!_.g_mJ.g_H(S))&&((t=_.g_na&&!_.g_na.g_aT(),!!!t)||(_.g_na.g_aX(_.width,_.height,_.angle),S.offset(-g.left,-g.top),this.g_hX.g_aV(S,0,0,1,1),_.g_na.g_aY(this.g_hX,g.left-_.x,g.top-_.y)))},g.prototype.g_nH=function(g,_,e,t,p){if(!p||!p.g_nb)return!1;p.g_aU();var o=p.g_mo,n;if(B.set(g_a.min(g,e),g_a.min(_,t),g_a.max(g,e),g_a.max(_,t)),!p.g_mI.g_o(B))return!1;if(p.g_mT){p.g_nD(B,q);var s=q,r=p.x,a=p.y,d,i,l,h;for(d=0,i=s.length;d<i;++d)if(l=s[d],h=l.g_nE,B.g_p(h,r,a)&&(S.g_A(h),S.offset(r,a),S.g_G(g,_,e,t))){if(!l.g_nF)return g_a.g_R(q),!0;if(l.g_nF.g_G(r+h.left,a+h.top,g,_,e,t))return g_a.g_R(q),!0}return g_a.g_R(q),!1}return!!p.g_mJ.g_G(g,_,e,t)&&((n=p.g_na&&!p.g_na.g_aT(),!!!n)||(p.g_na.g_aX(p.width,p.height,p.angle),p.g_na.g_G(p.x,p.y,g,_,e,t)))},g.prototype.g_nI=function(g,_){if(!_)return!1;var e,t,p,o,n;for(e=0,t=g.g_c.length;e<t;e++)if(g.g_c[e].behavior instanceof _)return!0;if(!g.g_jD)for(e=0,t=g.g_jL.length;e<t;e++)for(n=g.g_jL[e],p=0,o=n.g_c.length;p<o;p++)if(n.g_c[p].behavior instanceof _)return!0;return!1},g.prototype.g_nJ=function(g){return this.g_nI(g,g_a.g_c.g_nK)},g.prototype.g_nL=function(g){return this.g_nI(g,g_a.g_c.g_nM)},g.prototype.g_np=function(){return this.g_gL},g.prototype.g_nr=function(){return this.g_gM};var Q=[];g.prototype.g_nN=function(g){var _,e,t;for(g.g_aU(),this.g_no(g.g_mo,g.g_mI,Q),(_=0,e=Q.length);_<e;++_)if(t=Q[_],t.g_iZ.solidEnabled&&this.g_nz(g,t))return g_a.g_R(Q),t;return g_a.g_R(Q),null},g.prototype.g_nO=function(g){var _,e,t;for(this.g_no(null,g,Q),_=0,e=Q.length;_<e;++_)if(t=Q[_],t.g_iZ.solidEnabled&&this.g_nG(g,t))return g_a.g_R(Q),t;return g_a.g_R(Q),null};var W=[];g.prototype.g_nP=function(g,_){var e=null;_&&(e=W,g_a.g_R(e)),g.g_aU(),this.g_nq(g.g_mo,g.g_mI,Q);var t,p,o;for(t=0,p=Q.length;t<p;++t)if(o=Q[t],o.g_iZ.jumpthruEnabled&&this.g_nz(g,o))if(_)e.push(o);else return g_a.g_R(Q),o;return g_a.g_R(Q),e},g.prototype.g_nQ=function(g,_,e,t,p,o){var n=g.x,s=g.y,r=null,a=null,d;for(d=0;d<(t||50);d++)if(g.x=n+_*d,g.y=s+e*d,g.g_mN(),!this.g_nz(g,r)&&(r=this.g_nN(g),r&&(a=r),!r&&(p&&(r=o?this.g_nz(g,o)?o:null:this.g_nP(g),r&&(a=r)),!r)))return a&&this.g_nR(g,_,e,a,16),!0;return g.x=n,g.y=s,g.g_mN(),!1},g.prototype.g_nS=function(g,_,e,t){t=t||50;var p=g.x,o=g.y,n=null,s=null,r,i,a;for(r=0;r<t;++r)for(i=0;2>i;++i)if(a=2*i-1,g.x=p+_*r*a,g.y=o+e*r*a,g.g_mN(),!this.g_nz(g,n))if(n=this.g_nN(g),n)s=n;else return s&&this.g_nR(g,_*a,e*a,s,16),!0;return g.x=p,g.y=o,g.g_mN(),!1},g.prototype.g_nT=function(g,_,e,t,p){var o=g.x,n=g.y,s;for(s=0;s<(t||50);s++)if(g.x=o+_*s,g.y=n+e*s,g.g_mN(),!this.g_nz(g,p))return!0;return g.x=o,g.y=n,g.g_mN(),!1},g.prototype.g_nR=function(g,_,e,t,p){for(var o=2,n=!1,i=!1,s=g.x,r=g.y,a;o<=p;)a=1/o,o*=2,g.x+=_*a*(n?1:-1),g.y+=e*a*(n?1:-1),g.g_mN(),this.g_nz(g,t)?(n=!0,i=!0):(n=!1,i=!1,s=g.x,r=g.y);i&&(g.x=s,g.y=r,g.g_mN())},g.prototype.g_nU=function(g,_){var e=g_a.g_f(_)?100:_,t=0,p=g.x,o=g.y,n=0,i=0,s=0,r=this.g_nN(g);if(!r)return!0;for(;t<=e;)if(0==n?(i=0,s=-1,t++):1==n?(i=1,s=-1):2==n?(i=1,s=0):3==n?(i=1,s=1):4==n?(i=0,s=1):5==n?(i=-1,s=1):6==n?(i=-1,s=0):7==n?(i=-1,s=-1):void 0,n=(n+1)%8,g.x=g_a.floor(p+i*t),g.y=g_a.floor(o+s*t),g.g_mN(),!this.g_nz(g,r)&&(r=this.g_nN(g),!r))return!0;return g.x=p,g.y=o,g.g_mN(),!1},g.prototype.g_nV=function(g,_){g.g_nb&&_.g_nb&&this.g_hW.push([g,_])},g.prototype.g_nW=function(g,_,e){var t,p,o,n;for(t=0,p=this.g_hW.length;t<p;++t){if(o=this.g_hW[t],n=null,o[0]===g)n=o[1];else if(o[1]===g)n=o[0];else continue;if(_.g_jD){if(-1===_.g_jJ.indexOf(_))continue;}else if(n.type!==_)continue;-1===e.indexOf(n)&&e.push(n)}},g.prototype.g_nX=function(g,_){var e,t,p;for(e=0,t=this.g_hW.length;e<t;e++)if(p=this.g_hW[e],p[0]===g&&p[1]===_||p[0]===_&&p[1]===g)return!0;return!1},g.prototype.g_nY=function(g,_,e,t){var p=g.x,o=g.y,n=g_a.max(10,g_a.g_af(_,e,p,o)),s=g_a.g_aa(_,e,p,o),r=t||this.g_nN(g);if(!r)return g_a.g_Z(s+g_a.PI);var a=r,d=g_a.g_W(5),l,i,y,u;for(l=1;36>l;l++)if(i=s-l*d,g.x=_+h(i)*n,g.y=e+f(i)*n,g.g_mN(),!this.g_nz(g,a)&&(a=t?null:this.g_nN(g),!a)){y=i;break}36===l&&(y=g_a.g_Z(s+g_a.PI));var a=r;for(l=1;36>l;l++)if(i=s+l*d,g.x=_+h(i)*n,g.y=e+f(i)*n,g.g_mN(),!this.g_nz(g,a)&&(a=t?null:this.g_nN(g),!a)){u=i;break}if(36===l&&(u=g_a.g_Z(s+g_a.PI)),g.x=p,g.y=o,g.g_mN(),u===y)return u;var c=g_a.g_ab(u,y)/2,m;m=g_a.g_ad(u,y)?g_a.g_Z(y+c+g_a.PI):g_a.g_Z(u+c);var x=h(s),j=f(s),A=h(m),z=f(m),M=x*A+j*z;return g_a.g_aa(0,0,x-2*M*A,j-2*M*z)};var P=-1;g.prototype.trigger=function(g,_,e){if(!this.g_id)return!1;var t=this.g_id.g_lN;if(!t)return!1;var p=!1,o,n,i;P++;var s=t.g_nZ;for(n=0,i=s.length;n<i;++n)o=this.g_n_(g,_,s[n],e),p=p||o;return o=this.g_n_(g,_,t,e),p=p||o,P--,p},g.prototype.g_n_=function(g,_,e,t){var p=!1,o,n,i,s;if(!_)i=this.g_n$(g,_,"system",e,t),p=p||i;else for(i=this.g_n$(g,_,_.type.name,e,t),p=p||i,s=_.type.g_jL,(o=0,n=s.length);o<n;++o)i=this.g_n$(g,_,s[o].name,e,t),p=p||i;return p},g.prototype.g_n$=function(g,_,e,t,p){var o=!1,n=!1,s="undefined"!=typeof p,r=s?t.g_oa:t.g_ob,a=r[e],d,i,l,h;if(!a)return o;var y=null;for(d=0,i=a.length;d<i;++d)if(a[d].method==g){y=a[d].g_oc;break}if(!y)return o;var u;if(u=s?y[p]:y,!u)return null;for(d=0,i=u.length;d<i;d++)l=u[d][0],h=u[d][1],n=this.g_od(_,e,l,h),o=o||n;return o},g.prototype.g_od=function(g,_,e,t){var p=!1,o,n;this.g_hB++;var i=this.g_nv().g_nu;i&&this.g_kj(i.g_oe);var s=1<this.g_hB;this.g_kj(e.g_oe),s&&this.g_of();var r=this.g_hC(e);if(r.g_nu=e,g){var a=this.types[_].g_kh();a.g_nk=!1,g_a.g_R(a.g_jW),a.g_jW[0]=g,this.types[_].g_kv()}var d=!0;if(e.parent){for(var l=r.g_og,h=e.parent;h;)l.push(h),h=h.parent;for(l.reverse(),o=0,n=l.length;o<n;o++)if(!l[o].g_oh()){d=!1;break}}return d&&(this.g_ho++,e.g_nt?e.g_oi(t):e.g_lO(),p=p||r.g_oj),this.g_ok(),s&&this.g_ol(),this.g_kn(e.g_oe),i&&this.g_kn(i.g_oe),this.g_gP&&0===this.g_gR&&0==P&&!this.g_gS&&this.g_iE(),this.g_hB--,p},g.prototype.g_om=function(){var g=this.g_nv();return g.g_nu.g_on[g.g_oo]},g.prototype.g_op=function(){var g=this.g_om();return g.type},g.prototype.g_oq=function(){var g=this.g_nv();return 0===g.g_oo},g.prototype.g_or=function(){var g=this.g_nv();return g.g_nu.g_os[g.g_ot]},g.prototype.g_of=function(){this.g_hA++,this.g_hA>=this.g_hz.length&&this.g_hz.push([])},g.prototype.g_ol=function(){this.g_hA--},g.prototype.g_ou=function(){return this.g_hz[this.g_hA]},g.prototype.g_hC=function(g){this.g_hy++,this.g_hy>=this.g_hx.length&&this.g_hx.push(new g_a.g_ov);var _=this.g_nv();return _.reset(g),_},g.prototype.g_ok=function(){this.g_hy--},g.prototype.g_nv=function(){return this.g_hx[this.g_hy]},g.prototype.g_ow=function(g){this.g_hE++,this.g_hE>=this.g_hD.length&&this.g_hD.push(g_a.seal({name:g,index:0,g_ox:!1}));var _=this.g_oy();return _.name=g,_.index=0,_.g_ox=!1,_},g.prototype.g_oz=function(){this.g_hE--},g.prototype.g_oy=function(){return this.g_hD[this.g_hE]},g.prototype.g_oA=function(g,_){for(var t,p,o,n,i,s;_;){for(t=0,p=_.g_oB.length;t<p;t++)if(s=_.g_oB[t],s instanceof g_a.g_oC&&g_a.g_bC(g,s.name))return s;_=_.parent}for(t=0,p=this.g_gG.length;t<p;t++)for(i=this.g_gG[t],o=0,n=i.g_oD.length;o<n;o++)if(s=i.g_oD[o],s instanceof g_a.g_oC&&g_a.g_bC(g,s.name))return s;return null},g.prototype.g_oE=function(g){var _,e;for(_=0,e=this.g_gE.length;_<e;_++)if(this.g_gE[_].g_jI===g)return this.g_gE[_];return null},g.prototype.g_oF=function(g){var _,e;for(_=0,e=this.g_gC.length;_<e;_++)if(this.g_gC[_].g_jI===g)return this.g_gC[_];return null},g.prototype.g_oG=function(g){var _,e;for(_=0,e=this.g_hZ.length;_<e;_++)if(this.g_hZ[_].g_jI===g)return this.g_hZ[_];return null},g.prototype.g_oH=function(g,_){this.g_it=[g,_],this.g_gz=!0};g.prototype.g_oI=function(){this.g_g_=!0};g.prototype.g_lK=function(){var g=this,_=this.g_gW,e=this.g_gZ,t=this.g_gX,p=!1;if(this.g_g_&&(p=!0,_="__c2_continuouspreview",this.g_g_=!1),_.length){if(this.g_iE(),e=this.g_oJ(),o())i(_,e,function(){g_a.g_d("Saved state to IndexedDB storage ("+e.length+" bytes)"),g.g_gZ=e,g.trigger(g_a.g_jv.prototype.g_lx.g_oK,null),g.g_gZ="",p&&r()},function(t){try{localStorage.setItem("__c2save_"+_,e),g_a.g_d("Saved state to WebStorage ("+e.length+" bytes)"),g.g_gZ=e,g.trigger(g_a.g_jv.prototype.g_lx.g_oK,null),g.g_gZ="",p&&r()}catch(_){g_a.g_d("Failed to save game state: "+t+"; "+_),g.trigger(g_a.g_jv.prototype.g_lx.g_oL,null)}});else try{localStorage.setItem("__c2save_"+_,e),g_a.g_d("Saved state to WebStorage ("+e.length+" bytes)"),g.g_gZ=e,this.trigger(g_a.g_jv.prototype.g_lx.g_oK,null),g.g_gZ="",p&&r()}catch(_){g_a.g_d("Error saving to WebStorage: "+_),g.trigger(g_a.g_jv.prototype.g_lx.g_oL,null)}this.g_gW="",this.g_gX="",this.g_gY=null}if(t.length){if(o())s(t,function(_){_?(g.g_gY=_,g_a.g_d("Loaded state from IndexedDB storage ("+g.g_gY.length+" bytes)")):(g.g_gY=localStorage.getItem("__c2save_"+t)||"",g_a.g_d("Loaded state from WebStorage ("+g.g_gY.length+" bytes)")),g.g_g$=!1,g.g_gY||(g.g_gY=null,g.trigger(g_a.g_jv.prototype.g_lx.g_oM,null))},function(){g.g_gY=localStorage.getItem("__c2save_"+t)||"",g_a.g_d("Loaded state from WebStorage ("+g.g_gY.length+" bytes)"),g.g_g$=!1,g.g_gY||(g.g_gY=null,g.trigger(g_a.g_jv.prototype.g_lx.g_oM,null))});else{try{this.g_gY=localStorage.getItem("__c2save_"+t)||"",g_a.g_d("Loaded state from WebStorage ("+this.g_gY.length+" bytes)")}catch(g){this.g_gY=null}this.g_g$=!1,g.g_gY||(g.g_gY=null,g.trigger(g_a.g_jv.prototype.g_lx.g_oM,null))}this.g_gX="",this.g_gW=""}if(null!==this.g_gY){this.g_iE();var n=this.g_oN(this.g_gY);n?(this.g_gZ=this.g_gY,this.trigger(g_a.g_jv.prototype.g_lx.g_oO,null),this.g_gZ=""):g.trigger(g_a.g_jv.prototype.g_lx.g_oM,null),this.g_gY=null}};g.prototype.g_oJ=function(){var _={c2save:!0,version:1,rt:{time:this.g_hh.g_aE,walltime:this.g_hi.g_aE,timescale:this.g_hg,tickcount:this.g_hm,execcount:this.g_ho,next_uid:this.g_hF,running_layout:this.g_id.g_jI,start_time_offset:Date.now()-this.g_k$},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}},e,t,o,n,i,s,r,l,g,h,a,y;for(e=0,t=this.g_gC.length;e<t;e++)if(i=this.g_gC[e],!(i.g_jD||this.g_nJ(i))){for(r={instances:[]},g_a.g_an(i.g_iZ)&&(r.ex=d(i.g_iZ)),(o=0,n=i.g_jW.length);o<n;o++)r.instances.push(this.g_oQ(i.g_jW[o]));_.types[i.g_jI.toString()]=r}for(e=0,t=this.g_gE.length;e<t;e++)s=this.g_gE[e],_.layouts[s.g_jI.toString()]=s.g_oR();var p=_.events.groups;for(e=0,t=this.g_hZ.length;e<t;e++)l=this.g_hZ[e],p[l.g_jI.toString()]=this.g_h_[l.g_oT].g_oS;var u=_.events.cnds;for(y in this.g_h$)this.g_h$.hasOwnProperty(y)&&(g=this.g_h$[y],g_a.g_an(g.g_iZ)&&(u[y]={ex:d(g.g_iZ)}));var c=_.events.acts;for(y in this.g_ia)this.g_ia.hasOwnProperty(y)&&(h=this.g_ia[y],g_a.g_an(h.g_iZ)&&(c[y]={ex:d(h.g_iZ)}));var f=_.events.vars;for(y in this.g_ib)this.g_ib.hasOwnProperty(y)&&(a=this.g_ib[y],a.g_oU||a.parent&&!a.g_oV||(f[y]=a.data));return _.system=this.g_ju.g_oR(),JSON.stringify(_)},g.prototype.g_oW=function(){var g,_,e,t,p,o;for(this.g_ip={},g=0,_=this.g_gC.length;g<_;g++)if(e=this.g_gC[g],!e.g_jD)for(t=0,p=e.g_jW.length;t<p;t++)o=e.g_jW[t],this.g_ip[o.g_kL.toString()]=o},g.prototype.g_oN=function(_){var e;try{e=JSON.parse(_)}catch(g){return!1}if(!e.c2save)return!1;if(1<e.version)return!1;this.g_gV=!0;var o=e.rt;this.g_hh.reset(),this.g_hh.g_aE=o.time,this.g_hi.reset(),this.g_hi.g_aE=o.walltime||0,this.g_hg=o.timescale,this.g_hm=o.tickcount,this.g_ho=o.execcount,this.g_k$=Date.now()-o.start_time_offset;var n=o.running_layout;if(n!==this.g_id.g_jI){var s=this.g_oE(n);if(s)this.g_lL(s);else return}var r=e.types,a,i,d,l,h,y,u,p,c,f,m,x,j,A,z,g,M;for(u in r)if(r.hasOwnProperty(u)){if(p=this.g_oF(parseInt(u,10)),!p||p.g_jD||this.g_nJ(p))continue;for(r[u].ex?p.g_iZ=r[u].ex:g_a.g_ao(p.g_iZ),c=p.g_jW,f=r[u].instances,(a=0,i=g_a.min(c.length,f.length));a<i;a++)this.g_oX(c[a],f[a]);for(a=f.length,i=c.length;a<i;a++)this.g_mh(c[a]);for(a=c.length,i=f.length;a<i;a++)(A=null,!(p.g_ls.g_jy&&(A=this.g_id.g_oY(f[a].w.l),!A)))&&(m=this.g_my(p.g_j_,A,!1,0,0,!0),this.g_oX(m,f[a]));p.g_ka=!0}this.g_iE(),this.g_oW();var t=e.layouts;for(u in t)if(t.hasOwnProperty(u)){if(j=this.g_oE(parseInt(u,10)),!j)continue;j.g_oZ(t[u])}var T=e.events.groups;for(u in T)T.hasOwnProperty(u)&&(z=this.g_oG(parseInt(u,10)),z&&this.g_h_[z.g_oT]&&this.g_h_[z.g_oT].g_o_(T[u]));var N=e.events.cnds;for(u in this.g_h$)this.g_h$.hasOwnProperty(u)&&(this.g_h$[u].g_iZ=N.hasOwnProperty(u)?N[u].ex:{});var E=e.events.acts;for(u in this.g_ia)this.g_ia.hasOwnProperty(u)&&(this.g_ia[u].g_iZ=E.hasOwnProperty(u)?E[u].ex:{});var b=e.events.vars;for(u in b)b.hasOwnProperty(u)&&this.g_ib.hasOwnProperty(u)&&(this.g_ib[u].data=b[u]);for(this.g_hF=o.next_uid,this.g_gV=!1,(a=0,i=this.g_ha.length);a<i;++a)m=this.g_ha[a],this.trigger(Object.getPrototypeOf(m.type.g_ls).g_lx.g_o$,m);for(g_a.g_R(this.g_ha),this.g_ju.g_oZ(e.system),(a=0,i=this.g_gC.length);a<i;a++)if(p=this.g_gC[a],!(p.g_jD||this.g_nJ(p)))for(d=0,l=p.g_jW.length;d<l;d++){if(m=p.g_jW[d],p.g_jP)for(g=m.g_kO(),g_a.g_R(m.siblings),(h=0,y=p.g_jQ.length);h<y;h++)M=p.g_jQ[h],p!==M&&m.siblings.push(M.g_jW[g]);if(m.g_pa&&m.g_pa(),m.g_lI)for(h=0,y=m.g_lI.length;h<y;h++)x=m.g_lI[h],x.g_pa&&x.g_pa()}return this.g_gz=!0,!0},g.prototype.g_oQ=function(g,_){var e=g.type,t=e.g_ls,p={},o,n,i,s,r;if(_?p.c2=!0:p.uid=g.g_kL,g_a.g_an(g.g_iZ)&&(p.ex=d(g.g_iZ)),g.g_mB&&g.g_mB.length)for(p.ivs={},o=0,n=g.g_mB.length;o<n;o++)p.ivs[g.type.g_jE[o].toString()]=g.g_mB[o];if(t.g_jy){if(i={x:g.x,y:g.y,w:g.width,h:g.height,l:g.g_mo.g_jI,zi:g.g_bu()},0!==g.angle&&(i.a=g.angle),1!==g.opacity&&(i.o=g.opacity),0.5!==g.g_mD&&(i.hX=g.g_mD),0.5!==g.g_mE&&(i.hY=g.g_mE),0!==g.g_mF&&(i.bm=g.g_mF),g.visible||(i.v=g.visible),g.g_nb||(i.ce=g.g_nb),-1!==g.g_mc&&(i.mts=g.g_mc),e.g_iL.length)for(i.fx=[],o=0,n=e.g_iL.length;o<n;o++)r=e.g_iL[o],i.fx.push({name:r.name,active:g.g_mM[r.index],params:g.g_mH[r.index]});p.w=i}if(g.g_lI&&g.g_lI.length)for(p.behs={},o=0,n=g.g_lI.length;o<n;o++)s=g.g_lI[o],s.g_oR&&(p.behs[s.type.g_jI.toString()]=s.g_oR());return g.g_oR&&(p.data=g.g_oR()),p},g.prototype.g_pb=function(g,_){var e,t;for(e=0,t=g.g_jE.length;e<t;e++)if(g.g_jE[e]===_)return e;return-1},g.prototype.g_pc=function(g,_){var e,t;for(e=0,t=g.g_lI.length;e<t;e++)if(g.g_lI[e].type.g_jI===_)return e;return-1},g.prototype.g_oX=function(g,_,e){var t=g.type,o=t.g_ls,n,p,i,s,r,a,d,l,h,y,u;if(!e)g.g_kL=_.uid;else if(!_.c2)return;if(_.ex?g.g_iZ=_.ex:g_a.g_ao(g.g_iZ),r=_.ivs,r)for(n in r)if(r.hasOwnProperty(n)){if(s=this.g_pb(t,parseInt(n,10)),0>s||s>=g.g_mB.length)continue;y=r[n],null===y&&(y=NaN),g.g_mB[s]=y}if(o.g_jy){if(a=_.w,g.g_mo.g_jI!==a.l&&(u=g.g_mo,g.g_mo=this.g_id.g_oY(a.l),g.g_mo?(u.g_mv(g,!0),g.g_mo.g_nc(g,!0),g.g_mN(),g.g_mo.g_ms(0)):(g.g_mo=u,!e&&this.g_mh(g))),g.x=a.x,g.y=a.y,g.width=a.w,g.height=a.h,g.g_bv=a.zi,g.angle=a.hasOwnProperty("a")?a.a:0,g.opacity=a.hasOwnProperty("o")?a.o:1,g.g_mD=a.hasOwnProperty("hX")?a.hX:0.5,g.g_mE=a.hasOwnProperty("hY")?a.hY:0.5,g.visible=!a.hasOwnProperty("v")||a.v,g.g_nb=!a.hasOwnProperty("ce")||a.ce,g.g_mc=a.hasOwnProperty("mts")?a.mts:-1,g.g_mF=a.hasOwnProperty("bm")?a.bm:0,(g.g_mG=g_a.g_bx(g.g_mF),this.g_cu&&g_a.g_by(g,g.g_mF,this.g_cu),g.g_mN(),a.hasOwnProperty("fx")))for(p=0,i=a.fx.length;p<i;p++)d=t.g_kt(a.fx[p].name),0>d||(g.g_mM[d]=a.fx[p].active,g.g_mH[d]=a.fx[p].params);g.g_iN()}if(l=_.behs,l)for(n in l)if(l.hasOwnProperty(n)){if(h=this.g_pc(g,parseInt(n,10)),0>h)continue;g.g_lI[h].g_oZ(l[n])}_.data&&g.g_oZ(_.data)},g.prototype.g_jp=function(g){return this.g_fH?window.g_pd.hasOwnProperty(g.toLowerCase())?window.g_pd[g.toLowerCase()]:g:this.g_io+g},g.prototype.g_pe=function(g){return this.g_fH?window.g_pf&&window.g_pd.hasOwnProperty(g.toLowerCase())?window.g_pf[g.toLowerCase()]:null:null},g.prototype.g_pg=function(g){return this.g_fH?window.g_pd.hasOwnProperty(g.toLowerCase())?window.g_pd[g.toLowerCase()]:g:g},g.prototype.g_ph=function(g,_,e){var t=window.cordova.file.applicationDirectory+"www/"+g;window.resolveLocalFileSystemURL(t,function(g){g.file(_,e)},e)},g.prototype.g_ix=function(g,_,e){this.g_ph(g,function(g){var t=new FileReader;t.onload=function(g){_(g.target.result)},t.onerror=e,t.readAsText(g)},e)};var Y=[],X=0;g.prototype.g_pi=function(){if(Y.length&&!(X>=8)){X++;var g=Y.shift();this.g_pj(g.filename,g.g_pk,g.g_pl)}},g.prototype.g_pm=function(g,_,e){var t=this;Y.push({filename:g,g_pk:function(g){X--,t.g_pi(),_(g)},g_pl:function(g){X--,t.g_pi(),e(g)}}),this.g_pi()},g.prototype.g_pj=function(g,_,e){this.g_ph(g,function(g){var e=new FileReader;e.onload=function(g){_(g.target.result)},e.readAsArrayBuffer(g)},e)},g.prototype.g_pn=function(g,_,e){var t="",p=g.toLowerCase(),o=p.substr(p.length-4),n=p.substr(p.length-5);".mp4"===o?t="video/mp4":".webm"===n?t="video/webm":".m4a"===o?t="audio/mp4":".mp3"===o&&(t="audio/mpeg"),this.g_pm(g,function(g){var e=new Blob([g],{type:t}),p=URL.createObjectURL(e);_(p)},e)},g.prototype.g_po=function(g){return /^(?:[a-z]+:)?\/\//.test(g)||"data:"===g.substr(0,5)||"blob:"===g.substr(0,5)},g.prototype.g_jq=function(g,_){this.g_gh&&!this.g_po(_)?this.g_pn(_,function(_){g.src=_},function(g){alert("Failed to load image: "+g)}):this.g_fH&&!this.g_po(_)?g.src=this.g_pg(_):(!this.g_po(_)&&(_=_.toLowerCase()),g.src=_)},g.prototype.g_lg=function(g){var _=g.toLowerCase();if(!this.g_kW.hasOwnProperty(_))return null;var e=this.g_kW[_],t=null,p,o,n,i;for(p=0,o=e.length;p<o;++p)if(n=e[p],i=n[0],t||"audio/webm; codecs=opus"!==i||(t=n),A[i])return n;return t},g.prototype.g_pp=function(g){var _=g.toLowerCase(),e=this.g_lg(g);if(!e)return null;var t=_+e[1];return{url:this.g_jp(t),type:e[0]}},g.prototype.g_pq=function(){return{fps:this.g_hk,cpu:this.g_hf/1e3,gpu:this.g_hu,layout:this.g_id?this.g_id.name:"",renderer:this.g_gl}},g.prototype.g_pr=function(g,_,e,t,p){if(this.g_is){return g_a.g_K(g*p+0.5*t*p*p,_*p,e*p)}return g*p},g_a.g_ps=g,g_a.g_pt=function(_){return new g(_)},window.cr_createRuntime=g_a.g_pt})(),window.cr_getSnapshot=function(g,_){var e=window.c3runtime;e&&e.g_oH(g,_)},window.cr_sizeCanvas=function(g,_){if(0!==g&&0!==_){var e=window.c3runtime;e&&e.setSize(g,_)}},window.cr_setSuspended=function(g){var _=window.c3runtime;_&&_.setSuspended(g)},function(){function g(g,_){return g.g_bv-_.g_bv}function _(g,_){this.g_kR=g,this.g_ps=g.g_ps,this.g_jW=[],this.scale=1,this.angle=0,this.g_pu=!1,this.g_pv=new g_a.rect(0,0,0,0),this.g_pw=new g_a.g_I,this.g_px=0,this.g_py=0,this.g_pz=0,this.g_pA=0,this.g_pB=!1,this.g_pC=-1,this.g_pD=0,this.name=_[0],this.index=_[1],this.g_jI=_[2],this.visible=_[3],this.g_pE=_[4],this.g_pF=_[5],this.g_nd=_[6],this.g_ne=_[7],this.opacity=_[8],this.g_pG=_[9],this.g_mp=_[10],this.g_nA=_[11],this.g_mF=_[12],this.g_pH=_[13],this.g_mG="source-over",this.g_bz=0,this.g_bA=0,this.g_mq=null,this.g_pI=e(),this.g_pJ=!0,this.g_pK=new g_a.rect(0,0,-1,-1),this.g_pL=new g_a.rect(0,0,-1,-1),this.g_mp&&(this.g_mq=new g_a.g_bm(this.g_ps.g_iV,this.g_ps.g_iW)),this.g_pM=!1;var t=_[14],p,o;for(this.g_pN=[],this.g_pO=[],this.g_pP=[],(p=0,o=t.length);p<o;p++){var n=t[p],s=this.g_ps.g_gC[n[1]];s.g_j_||(s.g_j_=n,s.g_j$=this.index),this.g_pO.push(n),-1===this.g_kR.g_lS.indexOf(s)&&this.g_kR.g_lS.push(s)}for(g_a.g_S(this.g_pN,this.g_pO),this.g_iL=[],this.g_mL=[],this.g_mX=!0,this.g_mH=[],(p=0,o=_[15].length);p<o;p++)this.g_iL.push({id:_[15][p][0],name:_[15][p][1],g_iM:-1,g_ef:!1,active:!0,index:p}),this.g_mH.push(_[15][p][2].slice(0));this.g_iN(),this.g_pQ=new g_a.rect(0,0,1,1),this.g_pR=new g_a.rect(0,0,1,1),this.g_pS=new g_a.rect(0,0,1,1)}function e(){return d.length?d.pop():[]}function t(g){g_a.g_R(g),d.push(g)}function p(g,_,e){var t=0,p=0,o=0,n=g.length,i=_.length,s,r;for(e.length=n+i;t<n&&p<i;++o)s=g[t],r=_[p],s.g_bv<r.g_bv?(e[o]=s,++t):(e[o]=r,++p);for(;t<n;++t,++o)e[o]=g[t];for(;p<i;++p,++o)e[o]=_[p]}function o(g,_){var o,n,i,s,r;for(o=0,n=g.length;o<n-1;o+=2)i=g[o],s=g[o+1],r=e(),p(i,s,r),_||(t(i),t(s)),a.push(r);1==n%2&&(_?(i=e(),g_a.g_S(i,g[n-1]),a.push(i)):a.push(g[n-1])),g_a.g_S(g,a),g_a.g_R(a)}function n(g){for(var _=!0;1<g.length;)o(g,_),_=!1;return g[0]}var s=Math.round,i=Math.cos,r=Math.sin;_.prototype.g_iN=function(){g_a.g_R(this.g_mL),this.g_mX=!0;var g,_,e;for(g=0,_=this.g_iL.length;g<_;g++)e=this.g_iL[g],e.active&&(this.g_mL.push(e),!e.g_ef&&(this.g_mX=!1))},_.prototype.g_pT=function(g){var _,e,t;for(_=0,e=this.g_iL.length;_<e;_++)if(t=this.g_iL[_],t.name===g)return t;return null},_.prototype.g_pU=function(g){var _,e,t,p,o,n,i,s;for(_=0,e=0,t=this.g_pO.length;_<t;_++){if(o=this.g_pO[_],n=this.g_ps.g_gC[o[1]],(s=this.g_ps.g_nL(n),i=!0,!s||this.g_kR.g_pV)){if(p=this.g_ps.g_my(o,this,!0),!p)continue;g.push(p),p.type.global&&(i=!1,this.g_pP.push(p.g_kL))}i&&(this.g_pO[e]=this.g_pO[_],e++)}this.g_pO.length=e,this.g_ps.g_iE(),!this.g_ps.g_er&&this.g_iL.length&&(this.g_mF=this.g_pH),this.g_mG=g_a.g_bx(this.g_mF),this.g_ps.g_cu&&g_a.g_by(this,this.g_mF,this.g_ps.g_cu),this.g_pJ=!0},_.prototype.g_pW=function(g,_){var e=this.g_ps.g_gC,t=g.g_jD,p=g.g_jJ,o,n,i,r,a,d,l,h,y,u,c;for(o=0,n=this.g_pO.length;o<n;++o)if(i=this.g_pO[o],a=i[0],d=a[0],l=a[1],_.g_q(d,l)){if(r=e[i[1]],r!==g)if(!t)continue;else if(0>p.indexOf(r))continue;if(h=this.g_ps.g_my(i,this,!1),this.g_ps.g_gR++,this.g_ps.trigger(Object.getPrototypeOf(r.g_ls).g_lx.g_o$,h),h.g_jP)for(y=0,u=h.siblings.length;y<u;y++)c=h.siblings[o],this.g_ps.trigger(Object.getPrototypeOf(c.type.g_ls).g_lx.g_o$,c);this.g_ps.g_gR--}},_.prototype.g_mv=function(g,_){var e=g_a.g_U(this.g_jW,g);0>e||(_&&this.g_mp&&g.g_mr&&g.g_mr.right>=g.g_mr.left&&(g.g_aU(),this.g_mq.update(g,g.g_mr,null),g.g_mr.set(0,0,-1,-1)),e===this.g_jW.length-1?this.g_jW.pop():(g_a.g_P(this.g_jW,e),this.g_ms(e)),this.g_pJ=!0)},_.prototype.g_nc=function(g,_){g.g_bv=this.g_jW.length,this.g_jW.push(g),_&&this.g_mp&&g.g_mr&&g.g_mN(),this.g_pJ=!0},_.prototype.g_pX=function(g,_){this.g_jW.unshift(g),this.g_ms(0),_&&this.g_mp&&g.g_mr&&g.g_mN()},_.prototype.g_pY=function(g,_,e){var t=g.g_bu(),p=_.g_bu();g_a.g_P(this.g_jW,t),t<p&&p--,e&&p++,p===this.g_jW.length?this.g_jW.push(g):this.g_jW.splice(p,0,g),this.g_ms(t<p?t:p)},_.prototype.g_ms=function(g){-1===this.g_pC?this.g_pC=g:g<this.g_pC&&(this.g_pC=g),this.g_pB=!0,this.g_pJ=!0},_.prototype.g_pZ=function(){if(this.g_pB){-1===this.g_pC&&(this.g_pC=0);var g,_,e;if(this.g_mp)for(g=this.g_pC,_=this.g_jW.length;g<_;++g)e=this.g_jW[g],e.g_bv=g,this.g_mq.g_bk(e.g_mr);else for(g=this.g_pC,_=this.g_jW.length;g<_;++g)this.g_jW[g].g_bv=g;this.g_pB=!1,this.g_pC=-1}},_.prototype.g_p_=function(g){return this.g_p$()*(this.g_ps.g_jb||g?this.g_ps.g_i$:1)},_.prototype.g_p$=function(){return(this.scale*this.g_kR.scale-1)*this.g_nA+1},_.prototype.g_qa=function(){return this.g_pu?0:g_a.g_Z(this.g_kR.angle+this.angle)};var d=[];var a=[];var l=[];_.prototype.g_qb=function(){if(this.g_pZ(),this.g_mq.g_bi(this.g_px,this.g_pz,this.g_py,this.g_pA,l),!l.length)return e();if(1===l.length){var g=e();return g_a.g_S(g,l[0]),g_a.g_R(l),g}var _=n(l);return g_a.g_R(l),_},_.prototype.g_lB=function(g){this.g_pM=this.g_pG||1!==this.opacity||0!==this.g_mF;var _=this.g_ps.canvas,e=g,p=!1;this.g_pM&&(this.g_ps.g_ie||(this.g_ps.g_ie=document.createElement("canvas"),_=this.g_ps.g_ie,_.width=this.g_ps.g_gs,_.height=this.g_ps.g_gt,this.g_ps.g_if=_.getContext("2d"),p=!0),_=this.g_ps.g_ie,e=this.g_ps.g_if,_.width!==this.g_ps.g_gs&&(_.width=this.g_ps.g_gs,p=!0),_.height!==this.g_ps.g_gt&&(_.height=this.g_ps.g_gt,p=!0),p&&(e.g_fw=this.g_ps.g_iP),this.g_pF&&e.clearRect(0,0,this.g_ps.g_gs,this.g_ps.g_gt));e.globalAlpha=1,e.globalCompositeOperation="source-over",this.g_pF||(e.fillStyle="rgb("+this.g_pE[0]+","+this.g_pE[1]+","+this.g_pE[2]+")",e.fillRect(0,0,this.g_ps.g_gs,this.g_ps.g_gt)),e.save(),this.g_pu=!0;var o=this.g_nw(0,0,!0,!0),n=this.g_nw(0,0,!1,!0);this.g_pu=!1,this.g_ps.g_kX&&(o=s(o),n=s(n)),this.g_qc(o,n,e);var r=this.g_p_();e.scale(r,r),e.translate(-o,-n);var a;this.g_mp?(this.g_pL.left=this.g_mq.g_bf(this.g_px),this.g_pL.top=this.g_mq.g_bg(this.g_pz),this.g_pL.right=this.g_mq.g_bf(this.g_py),this.g_pL.bottom=this.g_mq.g_bg(this.g_pA),this.g_pJ||!this.g_pL.g_r(this.g_pK)?(t(this.g_pI),a=this.g_qb(),this.g_pJ=!1,this.g_pK.g_n(this.g_pL)):a=this.g_pI):a=this.g_jW;var d=null,l,i,h;for(l=0,i=a.length;l<i;++l)h=a[l],h===d||(this.g_qd(h,e),d=h);this.g_mp&&(this.g_pI=a),e.restore(),this.g_pM&&(g.globalCompositeOperation=this.g_mG,g.globalAlpha=this.opacity,g.drawImage(_,0,0))},_.prototype.g_qd=function(g,_){if(g.visible&&0!==g.width&&0!==g.height){g.g_aU();var e=g.g_mI;e.right<this.g_px||e.bottom<this.g_pz||e.left>this.g_py||e.top>this.g_pA||(_.globalCompositeOperation=g.g_mG,g.g_lB(_))}},_.prototype.g_qe=function(g){this.g_pu=!0;var _=this.g_nw(0,0,!0,!0),e=this.g_nw(0,0,!1,!0);this.g_pu=!1,this.g_ps.g_kX&&(_=s(_),e=s(e)),this.g_qc(_,e,g)},_.prototype.g_qc=function(g,_,e){var t=this.g_p_();this.g_px=g,this.g_pz=_,this.g_py=g+this.g_ps.g_gs*(1/t),this.g_pA=_+this.g_ps.g_gt*(1/t);var p=this.g_qa();0!==p&&(e&&(e.translate(this.g_ps.g_gs/2,this.g_ps.g_gt/2),e.rotate(-p),e.translate(this.g_ps.g_gs/-2,this.g_ps.g_gt/-2)),this.g_pv.set(this.g_px,this.g_pz,this.g_py,this.g_pA),this.g_pv.offset((this.g_px+this.g_py)/-2,(this.g_pz+this.g_pA)/-2),this.g_pw.g_B(this.g_pv,p),this.g_pw.g_C(this.g_pv),this.g_pv.offset((this.g_px+this.g_py)/2,(this.g_pz+this.g_pA)/2),this.g_px=this.g_pv.left,this.g_pz=this.g_pv.top,this.g_py=this.g_pv.right,this.g_pA=this.g_pv.bottom)},_.prototype.g_md=function(g){var _=this.g_ps.g_gs,e=this.g_ps.g_gt;this.g_pM=this.g_pG,this.g_pM&&(!this.g_ps.g_ig&&(this.g_ps.g_ig=g.g_fA(this.g_ps.g_gs,this.g_ps.g_gt,this.g_ps.g_iP)),(this.g_ps.g_ig.g_fx!==this.g_ps.g_gs||this.g_ps.g_ig.g_fy!==this.g_ps.g_gt)&&(g.deleteTexture(this.g_ps.g_ig),this.g_ps.g_ig=g.g_fA(this.g_ps.g_gs,this.g_ps.g_gt,this.g_ps.g_iP)),g.g_fE(this.g_ps.g_ig)),this.g_pu=!0;var p=this.g_nw(0,0,!0,!0),o=this.g_nw(0,0,!1,!0);this.g_pu=!1,this.g_ps.g_kX&&(p=s(p),o=s(o)),this.g_qc(p,o,null);var n=this.g_p_();g.g_em(),g.scale(n,n),g.g_bU(-this.g_qa()),g.translate((this.g_px+this.g_py)/-2,(this.g_pz+this.g_pA)/-2),g.g_en();var r;this.g_mp?(this.g_pL.left=this.g_mq.g_bf(this.g_px),this.g_pL.top=this.g_mq.g_bg(this.g_pz),this.g_pL.right=this.g_mq.g_bf(this.g_py),this.g_pL.bottom=this.g_mq.g_bg(this.g_pA),this.g_pJ||!this.g_pL.g_r(this.g_pK)?(t(this.g_pI),r=this.g_qb(),this.g_pJ=!1,this.g_pK.g_n(this.g_pL)):r=this.g_pI):r=this.g_jW;var a=null,d,i;for(d=r.length-1;0<=d;--d)i=r[d],i===a||(this.g_qf(r[d],g),a=i);this.g_mp&&(this.g_pI=r),this.g_pF||(this.g_pD=this.g_ps.g_gm++,g.g_eq(this.g_pD),g.g_fn(1,1,1,1),g.g_fm(),g.g_fp())},_.prototype.g_lA=function(g){var _=this.g_ps.g_gs,e=this.g_ps.g_gt,p=0,o=0;this.g_pM=this.g_pG||1!==this.opacity||0<this.g_mL.length||0!==this.g_mF,this.g_pM&&(!this.g_ps.g_ig&&(this.g_ps.g_ig=g.g_fA(this.g_ps.g_gs,this.g_ps.g_gt,this.g_ps.g_iP)),(this.g_ps.g_ig.g_fx!==this.g_ps.g_gs||this.g_ps.g_ig.g_fy!==this.g_ps.g_gt)&&(g.deleteTexture(this.g_ps.g_ig),this.g_ps.g_ig=g.g_fA(this.g_ps.g_gs,this.g_ps.g_gt,this.g_ps.g_iP)),g.g_fE(this.g_ps.g_ig),this.g_pF&&g.clear(0,0,0,0)),this.g_pF||(this.g_ps.g_ca?(g.g_eq(this.g_pD),g.g_fn(this.g_pE[0]/255,this.g_pE[1]/255,this.g_pE[2]/255,1),g.g_fm(),g.g_fo()):g.clear(this.g_pE[0]/255,this.g_pE[1]/255,this.g_pE[2]/255,1)),this.g_pu=!0;var n=this.g_nw(0,0,!0,!0),r=this.g_nw(0,0,!1,!0);this.g_pu=!1,this.g_ps.g_kX&&(n=s(n),r=s(r)),this.g_qc(n,r,null);var a=this.g_p_();g.g_em(),g.scale(a,a),g.g_bU(-this.g_qa()),g.translate((this.g_px+this.g_py)/-2,(this.g_pz+this.g_pA)/-2),g.g_en();var d;this.g_mp?(this.g_pL.left=this.g_mq.g_bf(this.g_px),this.g_pL.top=this.g_mq.g_bg(this.g_pz),this.g_pL.right=this.g_mq.g_bf(this.g_py),this.g_pL.bottom=this.g_mq.g_bg(this.g_pA),this.g_pJ||!this.g_pL.g_r(this.g_pK)?(t(this.g_pI),d=this.g_qb(),this.g_pJ=!1,this.g_pK.g_n(this.g_pL)):d=this.g_pI):d=this.g_jW;var l=null,h,i,y;for(h=0,i=d.length;h<i;++h)y=d[h],y===l||(this.g_qg(d[h],g),l=y);if(this.g_mp&&(this.g_pI=d),this.g_pM)if(p=this.g_mL.length?this.g_mL[0].g_iM:0,o=this.g_mL.length?this.g_mL[0].index:0,0===this.g_mL.length||1===this.g_mL.length&&!g.g_fc(p)&&1===this.opacity){1===this.g_mL.length?(g.g_dh(p),g.g_fj(this.g_kR.g_qh(),1/this.g_ps.g_gs,1/this.g_ps.g_gt,0,0,1,1,0,0,1,1,this.g_px,this.g_pz,this.g_py,this.g_pA,0,0,1,1,a,this.g_qa(),this.g_ps.g_hh.g_aE,this.g_mH[o]),g.g_fi(p)&&(this.g_ps.g_gz=!0)):g.g_dh(0),g.g_fE(this.g_kR.g_qh()),g.g_eT(this.opacity),g.g_eU(this.g_ps.g_ig),g.g_eV(this.g_bz,this.g_bA),g.g_em(),g.g_en();var u=this.g_ps.g_gs/2,c=this.g_ps.g_gt/2;g.g_I(-u,c,u,c,u,-c,-u,-c),g.g_eU(null)}else this.g_kR.g_qi(g,this,null,this.g_kR.g_qh())},_.prototype.g_qg=function(g,_){if(g.visible&&0!==g.width&&0!==g.height){g.g_aU();var e=g.g_mI;e.right<this.g_px||e.bottom<this.g_pz||e.left>this.g_py||e.top>this.g_pA||(_.g_eq(g.g_gm),g.g_mZ?this.g_qj(g,_):(_.g_dh(0),_.g_eV(g.g_bz,g.g_bA),g.g_lA(_)))}},_.prototype.g_qf=function(g,_){if(g.visible&&0!==g.width&&0!==g.height){g.g_aU();var e=g.g_mI;e.right<this.g_px||e.bottom<this.g_pz||e.left>this.g_py||e.top>this.g_pA||(g.g_gm=this.g_ps.g_gm++,0===g.g_mF&&1===g.opacity&&g.g_mX&&g.g_md&&(_.g_eq(g.g_gm),g.g_md(_)))}},_.prototype.g_qj=function(g,_){var e=g.g_mL[0].g_iM,t=g.g_mL[0].index,p=this.g_p_();if(1===g.g_mL.length&&!_.g_fc(e)&&!_.g_fe(e)&&(!g.angle&&!g.g_mo.g_qa()||!_.g_fb(e))&&1===g.opacity&&!g.type.g_ls.g_jA){_.g_dh(e),_.g_eV(g.g_bz,g.g_bA),_.g_fi(e)&&(this.g_ps.g_gz=!0);var o=0,n=0,i=0,s=0;if(_.g_fb(e)){var r=g.g_mI,a=this.g_nC(r.left,r.top,!0,!0),d=this.g_nC(r.left,r.top,!1,!0),l=this.g_nC(r.right,r.bottom,!0,!0),h=this.g_nC(r.right,r.bottom,!1,!0);o=a/g_qk,n=1-d/g_ql,i=l/g_qk,s=1-h/g_ql}var y=0,u=0,c=1,f=1,m=1/g.width,x=1/g.height;g.g_qm&&g.g_qm.g_qn&&(y=g.g_qm.g_qn.left,u=g.g_qm.g_qn.top,c=g.g_qm.g_qn.right,f=g.g_qm.g_qn.bottom,g.g_qm.g_qo&&(m=1/g.g_qm.g_qo.width,x=1/g.g_qm.g_qo.height)),_.g_fj(this.g_pM?this.g_ps.g_ig:this.g_kR.g_qh(),m,x,y,u,c,f,y,u,c,f,g.g_mI.left,g.g_mI.top,g.g_mI.right,g.g_mI.bottom,o,n,i,s,p,this.g_qa(),this.g_ps.g_hh.g_aE,g.g_mH[t]),g.g_lA(_)}else this.g_kR.g_qi(_,this,g,this.g_pM?this.g_ps.g_ig:this.g_kR.g_qh()),_.g_em(),_.scale(p,p),_.g_bU(-this.g_qa()),_.translate((this.g_px+this.g_py)/-2,(this.g_pz+this.g_pA)/-2),_.g_en()},_.prototype.g_nw=function(g,_,e,t){var p=this.g_ps.devicePixelRatio;this.g_ps.g_iB&&(g*=p,_*=p);var o=this.g_ps.g_jj,n=this.g_ps.g_jk,s=(this.g_kR.scrollX-o)*this.g_nd+o,d=(this.g_kR.scrollY-n)*this.g_ne+n,l=s,h=d,y=1/this.g_p_(!t);t?(l-=this.g_ps.g_gs*y/2,h-=this.g_ps.g_gt*y/2):(l-=this.g_ps.width*y/2,h-=this.g_ps.height*y/2),l+=g*y,h+=_*y;var u=this.g_qa();if(0!==u){l-=s,h-=d;var a=i(u),c=r(u),f=l*a-h*c;h=h*a+l*c,l=f,l+=s,h+=d}return e?l:h},_.prototype.g_nC=function(g,_,e,t){var p=this.g_ps.g_jj,o=this.g_ps.g_jk,n=(this.g_kR.scrollX-p)*this.g_nd+p,s=(this.g_kR.scrollY-o)*this.g_ne+o,d=n,l=s,h=this.g_qa();if(0!==h){g-=n,_-=s;var y=i(-h),u=r(-h),c=g*y-_*u;_=_*y+g*u,g=c,g+=n,_+=s}var f=1/this.g_p_(!t);t?(d-=this.g_ps.g_gs*f/2,l-=this.g_ps.g_gt*f/2):(d-=this.g_ps.width*f/2,l-=this.g_ps.height*f/2),d=(g-d)/f,l=(_-l)/f;var m=this.g_ps.devicePixelRatio;return this.g_ps.g_iB&&!t&&(d/=m,l/=m),e?d:l},_.prototype.g_qp=function(g,_,e){if(0===this.g_qa())return e?g:_;var t=this.g_nC(g,_,!0),p=this.g_nC(g,_,!1);this.g_pu=!0;var o=this.g_nw(t,p,!0),n=this.g_nw(t,p,!0);return this.g_pu=!1,e?o:n},_.prototype.g_oR=function(){var g={s:this.scale,a:this.angle,vl:this.g_px,vt:this.g_pz,vr:this.g_py,vb:this.g_pA,v:this.visible,bc:this.g_pE,t:this.g_pF,px:this.g_nd,py:this.g_ne,o:this.opacity,zr:this.g_nA,fx:[],cg:this.g_pP,instances:[]},_,e,t;for(_=0,e=this.g_iL.length;_<e;_++)t=this.g_iL[_],g.fx.push({name:t.name,active:t.active,params:this.g_mH[t.index]});return g},_.prototype.g_oZ=function(_){var e,t,p,o;this.scale=_.s,this.angle=_.a,this.g_px=_.vl,this.g_pz=_.vt,this.g_py=_.vr,this.g_pA=_.vb,this.visible=_.v,this.g_pE=_.bc,this.g_pF=_.t,this.g_nd=_.px,this.g_ne=_.py,this.opacity=_.o,this.g_nA=_.zr,this.g_pP=_.cg||[],g_a.g_S(this.g_pO,this.g_pN);var n=new g_a.g_ay;for(e=0,p=this.g_pP.length;e<p;++e)n.add(this.g_pP[e]);for(e=0,t=0,p=this.g_pO.length;e<p;++e)n.contains(this.g_pO[e][2])||(this.g_pO[t]=this.g_pO[e],++t);g_a.g_Q(this.g_pO,t);var i=_.fx;for(e=0,p=i.length;e<p;e++)o=this.g_pT(i[e].name),o&&(o.active=i[e].active,this.g_mH[o.index]=i[e].params);this.g_iN(),this.g_jW.sort(g),this.g_pB=!0},g_a.g_mo=_}();(function(){function g(g,_){this.g_ps=g,this.g_lN=null,this.scrollX=this.g_ps.g_iV/2,this.scrollY=this.g_ps.g_iW/2,this.scale=1,this.angle=0,this.g_pV=!0,this.name=_[0],this.g_qq=_[1],this.g_qr=_[2],this.width=_[1],this.height=_[2],this.g_qs=_[3],this.g_qt=_[4],this.g_jI=_[5];var e=_[6],t,p;for(this.g_iO=[],this.g_lS=[],(t=0,p=e.length);t<p;t++){var o=new g_a.g_mo(this,e[t]);o.number=t,g_a.seal(o),this.g_iO.push(o)}var n=_[7];for(this.g_qu=[],t=0,p=n.length;t<p;t++){var s=n[t],r=this.g_ps.g_gC[s[1]];r.g_j_||(r.g_j_=s),this.g_qu.push(s),-1===this.g_lS.indexOf(r)&&this.g_lS.push(r)}for(this.g_iL=[],this.g_mL=[],this.g_mX=!0,this.g_mH=[],(t=0,p=_[8].length);t<p;t++)this.g_iL.push({id:_[8][t][0],name:_[8][t][1],g_iM:-1,g_ef:!1,active:!0,index:t}),this.g_mH.push(_[8][t][2].slice(0));this.g_iN(),this.g_pQ=new g_a.rect(0,0,1,1),this.g_pR=new g_a.rect(0,0,1,1),this.g_pS=new g_a.rect(0,0,1,1),this.g_qv=new g_a.rect(0,0,0,0),this.g_qw={}}function _(g,_){return g.g_bv-_.g_bv}function e(g){return g.some(function(g){return g.g_ls.g_jy})}var t=Math.max,p=Math.min;g.prototype.g_qx=function(g){var _=g.type.g_jI.toString();this.g_qw.hasOwnProperty(_)||(this.g_qw[_]=[]);var e=this.g_qw[_];e.push(this.g_ps.g_oQ(g))},g.prototype.g_qy=function(){var g=this.g_iO[0];return!g.g_pF&&1===g.opacity&&!g.g_pG&&g.visible},g.prototype.g_iN=function(){g_a.g_R(this.g_mL),this.g_mX=!0;var g,_,e;for(g=0,_=this.g_iL.length;g<_;g++)e=this.g_iL[g],e.active&&(this.g_mL.push(e),!e.g_ef&&(this.g_mX=!1))},g.prototype.g_pT=function(g){var _,e,t;for(_=0,e=this.g_iL.length;_<e;_++)if(t=this.g_iL[_],t.name===g)return t;return null};var o=[];var n=!0;g.prototype.g_lv=function(){this.g_qt&&(this.g_lN=this.g_ps.g_gF[this.g_qt],this.g_lN.g_kU()),this.g_ps.g_id=this,this.width=this.g_qq,this.height=this.g_qr,this.scrollX=this.g_ps.g_iV/2,this.scrollY=this.g_ps.g_iW/2;var g,e,i,s,r,a,d,l,h,t,p,y;for(g=0,i=this.g_ps.g_gC.length;g<i;g++)if(r=this.g_ps.g_gC[g],!r.g_jD)for(a=r.g_jW,e=0,s=a.length;e<s;e++)if(l=a[e],l.g_mo){var u=l.g_mo.number;u>=this.g_iO.length&&(u=this.g_iO.length-1),l.g_mo=this.g_iO[u],-1===l.g_mo.g_jW.indexOf(l)&&l.g_mo.g_jW.push(l),l.g_mo.g_pB=!0}if(!n)for(g=0,i=this.g_iO.length;g<i;++g)this.g_iO[g].g_jW.sort(_);var y;for(g_a.g_R(o),this.g_qz(),(g=0,i=this.g_iO.length);g<i;g++)y=this.g_iO[g],y.g_pU(o),y.g_qe(null);var c=!1;if(!this.g_pV){for(t in this.g_qw)if(this.g_qw.hasOwnProperty(t)){if(r=this.g_ps.g_oF(parseInt(t,10)),!r||r.g_jD||!this.g_ps.g_nL(r))continue;for(p=this.g_qw[t],g=0,i=p.length;g<i;g++)(y=null,!(r.g_ls.g_jy&&(y=this.g_oY(p[g].w.l),!y)))&&(l=this.g_ps.g_my(r.g_j_,y,!1,0,0,!0),this.g_ps.g_oX(l,p[g]),c=!0,o.push(l));g_a.g_R(p)}for(g=0,i=this.g_iO.length;g<i;g++)this.g_iO[g].g_jW.sort(_),this.g_iO[g].g_pB=!0}for(c&&(this.g_ps.g_iE(),this.g_ps.g_oW()),this.g_qA(o),(g=0,i=this.g_qu.length);g<i;g++)d=this.g_qu[g],r=this.g_ps.g_gC[d[1]],r.g_jP||(l=this.g_ps.g_my(this.g_qu[g],null,!0));if(this.g_ps.g_hv=null,this.g_ps.g_iE(),this.g_ps.g_gn)for(g=0,i=this.g_ps.g_gC.length;g<i;g++)h=this.g_ps.g_gC[g],h.g_jD||!h.g_jW.length||!h.g_qB||h.g_qB(this.g_ps.g_gn);if(this.g_ps.g_gV)g_a.g_S(this.g_ps.g_ha,o);else for(g=0,i=o.length;g<i;g++)l=o[g],this.g_ps.trigger(Object.getPrototypeOf(l.type.g_ls).g_lx.g_o$,l);g_a.g_R(o),this.g_ps.g_gV||this.g_ps.trigger(g_a.g_jv.prototype.g_lx.g_qC,null),this.g_pV=!1},g.prototype.g_qA=function(g){var _,e,p,o,n,i,t;for(_=0;_<g.length;_++)if(e=g[_],e.type.g_jP)for(p=e.g_kO(),o=0,n=e.type.g_jQ.length;o<n;o++)i=e.type.g_jQ[o],e.type===i||(i.g_jW.length>p?e.siblings.push(i.g_jW[p]):!i.g_j_||(t=this.g_ps.g_my(i.g_j_,e.g_mo,!0,e.x,e.y,!0),this.g_ps.g_iE(),i.g_kb(),e.siblings.push(t),g.push(t)))},g.prototype.g_lt=function(){var g=[],_,t,p,o,n;for(_=0,t=0,p=this.g_qu.length;_<p;_++)o=this.g_qu[_],n=this.g_ps.g_gC[o[1]],n.global?(!n.g_jP||!e(n.g_jQ))&&g.push(this.g_ps.g_my(o,null,!0)):(this.g_qu[t]=o,t++);g_a.g_Q(this.g_qu,t),this.g_ps.g_iE(),this.g_qA(g)},g.prototype.g_lQ=function(){this.g_ps.g_gV||this.g_ps.trigger(g_a.g_jv.prototype.g_lx.g_qD,null),this.g_ps.g_gT=!0,g_a.g_R(this.g_ps.g_ju.g_lT);var g,_,e,t,p,o,i;if(!this.g_pV)for(g=0,_=this.g_iO.length;g<_;g++)for(this.g_iO[g].g_pZ(),p=this.g_iO[g].g_jW,(e=0,t=p.length);e<t;e++)o=p[e],!o.type.global&&this.g_ps.g_nL(o.type)&&this.g_qx(o);for(g=0,_=this.g_iO.length;g<_;g++){for(p=this.g_iO[g].g_jW,e=0,t=p.length;e<t;e++)o=p[e],o.type.global||this.g_ps.g_mh(o);this.g_ps.g_iE(),g_a.g_R(p),this.g_iO[g].g_pB=!0}for(g=0,_=this.g_ps.g_gC.length;g<_;g++)if(i=this.g_ps.g_gC[g],!(i.global||i.g_ls.g_jy||i.g_ls.g_jx||i.g_jD)){for(e=0,t=i.g_jW.length;e<t;e++)this.g_ps.g_mh(i.g_jW[e]);this.g_ps.g_iE()}n=!1,this.g_ps.g_gT=!1};var s=new g_a.rect(0,0,0,0);g.prototype.g_pW=function(g,_,e,t,p){s.set(_,e,t,p);var o,n;for(o=0,n=this.g_iO.length;o<n;o++)this.g_iO[o].g_pW(g,s)},g.prototype.g_lB=function(g){var _=g,e=!1,t=!this.g_ps.g_jb,p;t&&(!this.g_ps.g_ii&&(this.g_ps.g_ii=document.createElement("canvas"),p=this.g_ps.g_ii,p.width=this.g_ps.g_gs,p.height=this.g_ps.g_gt,this.g_ps.g_ij=p.getContext("2d"),e=!0),p=this.g_ps.g_ii,_=this.g_ps.g_ij,p.width!==this.g_ps.g_gs&&(p.width=this.g_ps.g_gs,e=!0),p.height!==this.g_ps.g_gt&&(p.height=this.g_ps.g_gt,e=!0),e&&(_.g_fw=this.g_ps.g_iP)),_.globalAlpha=1,_.globalCompositeOperation="source-over",this.g_ps.g_kY&&!this.g_qy()&&_.clearRect(0,0,this.g_ps.g_gs,this.g_ps.g_gt);var o,n,i;for(o=0,n=this.g_iO.length;o<n;o++)i=this.g_iO[o],i.visible&&0<i.opacity&&11!==i.g_mF&&(i.g_jW.length||!i.g_pF)?i.g_lB(_):i.g_qe(null);t&&g.drawImage(p,0,0,this.g_ps.width,this.g_ps.height)},g.prototype.g_md=function(g){g.g_fk(!0),this.g_ps.g_ih||(this.g_ps.g_ih=g.g_fA(this.g_ps.g_gs,this.g_ps.g_gt,this.g_ps.g_iP)),(this.g_ps.g_ih.g_fx!==this.g_ps.g_gs||this.g_ps.g_ih.g_fy!==this.g_ps.g_gt)&&(g.deleteTexture(this.g_ps.g_ih),this.g_ps.g_ih=g.g_fA(this.g_ps.g_gs,this.g_ps.g_gt,this.g_ps.g_iP)),g.g_fE(this.g_ps.g_ih),this.g_ps.g_jb||g.g_ek(this.g_ps.g_gs,this.g_ps.g_gt);var _,e;for(_=this.g_iO.length-1;0<=_;--_)e=this.g_iO[_],e.visible&&1===e.opacity&&e.g_mX&&0===e.g_mF&&(e.g_jW.length||!e.g_pF)?e.g_md(g):e.g_qe(null);g.g_fk(!1)},g.prototype.g_lA=function(g){var _=0<this.g_mL.length||this.g_ps.g_il||!this.g_ps.g_jb||this.g_ps.g_ca;_?(!this.g_ps.g_ih&&(this.g_ps.g_ih=g.g_fA(this.g_ps.g_gs,this.g_ps.g_gt,this.g_ps.g_iP)),(this.g_ps.g_ih.g_fx!==this.g_ps.g_gs||this.g_ps.g_ih.g_fy!==this.g_ps.g_gt)&&(g.deleteTexture(this.g_ps.g_ih),this.g_ps.g_ih=g.g_fA(this.g_ps.g_gs,this.g_ps.g_gt,this.g_ps.g_iP)),g.g_fE(this.g_ps.g_ih),!this.g_ps.g_jb&&g.g_ek(this.g_ps.g_gs,this.g_ps.g_gt)):this.g_ps.g_ih&&(g.g_fE(null),g.deleteTexture(this.g_ps.g_ih),this.g_ps.g_ih=null),this.g_ps.g_kY&&!this.g_qy()&&g.clear(0,0,0,0);var e,t,p;for(e=0,t=this.g_iO.length;e<t;e++)p=this.g_iO[e],p.visible&&0<p.opacity&&(p.g_jW.length||!p.g_pF)?p.g_lA(g):p.g_qe(null);if(_)if(0===this.g_mL.length||1===this.g_mL.length&&this.g_ps.g_jb){if(1===this.g_mL.length){var o=this.g_mL[0].index,n=this.g_qE();g.g_dh(this.g_mL[0].g_iM),g.g_fj(null,1/this.g_ps.g_gs,1/this.g_ps.g_gt,0,0,1,1,0,0,1,1,n.left,n.top,n.right,n.bottom,0,0,1,1,this.scale,this.angle,this.g_ps.g_hh.g_aE,this.g_mH[o]),g.g_fi(this.g_mL[0].g_iM)&&(this.g_ps.g_gz=!0)}else g.g_dh(0);this.g_ps.g_jb||g.g_ek(this.g_ps.width,this.g_ps.height),g.g_fE(null),g.g_fl(!1),g.g_eT(1),g.g_eU(this.g_ps.g_ih),g.g_eX(),g.g_em(),g.g_en();var i=this.g_ps.width/2,s=this.g_ps.height/2;g.g_I(-i,s,i,s,i,-s,-i,-s),g.g_eU(null),g.g_fl(!0)}else this.g_qi(g,null,null,null)},g.prototype.g_qh=function(){return 0<this.g_mL.length||this.g_ps.g_il||!this.g_ps.g_jb||this.g_ps.g_ca?this.g_ps.g_ih:null},g.prototype.g_qF=function(){var g=this.g_iO[0].g_p_(),_,e,t;for(_=1,e=this.g_iO.length;_<e;_++)t=this.g_iO[_],(0!==t.g_nd||0!==t.g_ne)&&t.g_p_()<g&&(g=t.g_p_());return g},g.prototype.g_lE=function(g){if(!this.g_qs){var _=this.g_ps.g_gs*(1/this.g_qF())/2;g>this.width-_&&(g=this.width-_),g<_&&(g=_)}this.scrollX!==g&&(this.scrollX=g,this.g_ps.g_gz=!0)},g.prototype.g_lF=function(g){if(!this.g_qs){var _=this.g_ps.g_gt*(1/this.g_qF())/2;g>this.height-_&&(g=this.height-_),g<_&&(g=_)}this.scrollY!==g&&(this.scrollY=g,this.g_ps.g_gz=!0)},g.prototype.g_qz=function(){this.g_lE(this.scrollX),this.g_lF(this.scrollY)},g.prototype.g_qE=function(){var g=this.scrollX,_=this.scrollY,e=1/(this.scale*this.g_ps.g_i$);return g-=this.g_ps.width*e/2,_-=this.g_ps.height*e/2,this.g_qv.set(g,_,g+this.g_ps.g_gs*e,_+this.g_ps.g_gt*e),this.g_qv},g.prototype.g_qi=function(g,_,e,o){var n=e?e.g_mL:_?_.g_mL:this.g_mL,s=1,r=0,a=0,d=0,l=this.g_ps.g_gs,u=this.g_ps.g_gt;if(e)s=e.g_mo.g_p_(),r=e.g_mo.g_qa(),a=e.g_mo.g_px,d=e.g_mo.g_pz,l=e.g_mo.g_py,u=e.g_mo.g_pA;else if(_)s=_.g_p_(),r=_.g_qa(),a=_.g_px,d=_.g_pz,l=_.g_py,u=_.g_pA;else{s=this.scale,r=this.angle;var c=this.g_qE();a=c.left,d=c.top,l=c.right,u=c.bottom}var f=this.g_ps.g_im,m=0,x=1,j=this.g_ps.g_gs,A=this.g_ps.g_gt,z=j/2,M=A/2,T=_?_.g_pQ:this.g_pQ,N=_?_.g_pR:this.g_pR,E=_?_.g_pS:this.g_pS,b=0,L=0,w=0,C=0,D=j,k=j,O=A,R=A,v=0,U=0,I=e?e.g_mo.g_qa():0,S,i,B,q,Q,y;if(e){for(S=0,i=n.length;S<i;S++)v+=g.g_ff(n[S].g_iM),U+=g.g_fg(n[S].g_iM);var h=e.g_mI;if(b=_.g_nC(h.left,h.top,!0,!0),w=_.g_nC(h.left,h.top,!1,!0),D=_.g_nC(h.right,h.bottom,!0,!0),O=_.g_nC(h.right,h.bottom,!1,!0),0!==I){var W=_.g_nC(h.right,h.top,!0,!0),P=_.g_nC(h.right,h.top,!1,!0),Y=_.g_nC(h.left,h.bottom,!0,!0),X=_.g_nC(h.left,h.bottom,!1,!0);q=p(b,D,W,Y),D=t(b,D,W,Y),b=q,q=p(w,O,P,X),O=t(w,O,P,X),w=q}E.left=b/j,E.top=1-w/A,E.right=D/j,E.bottom=1-O/A,b-=v,w-=U,D+=v,O+=U,N.left=b/j,N.top=1-w/A,N.right=D/j,N.bottom=1-O/A,L=b=g_a.floor(b),C=w=g_a.floor(w),k=D=g_a.ceil(D),R=O=g_a.ceil(O),L-=v,C-=U,k+=v,R+=U,0>b&&(b=0),0>w&&(w=0),D>j&&(D=j),O>A&&(O=A),0>L&&(L=0),0>C&&(C=0),k>j&&(k=j),R>A&&(R=A),T.left=b/j,T.top=1-w/A,T.right=D/j,T.bottom=1-O/A}else T.left=N.left=E.left=0,T.top=N.top=E.top=0,T.right=N.right=E.right=1,T.bottom=N.bottom=N.bottom=1;var J=e&&(g.g_fb(n[0].g_iM)||0!==v||0!==U||1!==e.opacity||e.type.g_ls.g_jA)||_&&!e&&1!==_.opacity;g.g_eX(),J&&(!f[m]&&(f[m]=g.g_fA(j,A,this.g_ps.g_iP)),(f[m].g_fx!==j||f[m].g_fy!==A)&&(g.deleteTexture(f[m]),f[m]=g.g_fA(j,A,this.g_ps.g_iP)),g.g_dh(0),g.g_fE(f[m]),y=R-C,Q=A-C-y,g.clearRect(L,Q,k-L,y),e?e.g_lA(g):(g.g_eU(this.g_ps.g_ig),g.g_eT(_.opacity),g.g_em(),g.translate(-z,-M),g.g_en(),g.g_eZ(b,O,D,O,D,w,b,w,T)),N.left=N.top=0,N.right=N.bottom=1,e&&(q=T.top,T.top=T.bottom,T.bottom=q),m=1,x=0),g.g_eT(1);var B=n.length-1,F=g.g_fc(n[B].g_iM)||!_&&!e&&!this.g_ps.g_jb,Z=0;for(S=0,i=n.length;S<i;S++){if(f[m]||(f[m]=g.g_fA(j,A,this.g_ps.g_iP)),(f[m].g_fx!==j||f[m].g_fy!==A)&&(g.deleteTexture(f[m]),f[m]=g.g_fA(j,A,this.g_ps.g_iP)),g.g_dh(n[S].g_iM),Z=n[S].index,g.g_fi(n[S].g_iM)&&(this.g_ps.g_gz=!0),0==S&&!J){if(g.g_fE(f[m]),y=R-C,Q=A-C-y,g.clearRect(L,Q,k-L,y),e){var H=0,V=0,G=1,K=1,$=1/e.width,gg=1/e.height;e.g_qm&&e.g_qm.g_qn&&(H=e.g_qm.g_qn.left,V=e.g_qm.g_qn.top,G=e.g_qm.g_qn.right,K=e.g_qm.g_qn.bottom,e.g_qm.g_qo&&($=1/e.g_qm.g_qo.width,gg=1/e.g_qm.g_qo.height)),g.g_fj(o,$,gg,H,V,G,K,H,V,G,K,e.g_mI.left,e.g_mI.top,e.g_mI.right,e.g_mI.bottom,N.left,N.top,N.right,N.bottom,s,r,this.g_ps.g_hh.g_aE,e.g_mH[Z]),e.g_lA(g)}else g.g_fj(o,1/j,1/A,0,0,1,1,0,0,1,1,a,d,l,u,0,0,1,1,s,r,this.g_ps.g_hh.g_aE,_?_.g_mH[Z]:this.g_mH[Z]),g.g_eU(_?this.g_ps.g_ig:this.g_ps.g_ih),g.g_em(),g.translate(-z,-M),g.g_en(),g.g_eZ(b,O,D,O,D,w,b,w,T);N.left=N.top=0,N.right=N.bottom=1,e&&!F&&(q=O,O=w,w=q)}else g.g_fj(o,1/j,1/A,0,0,1,1,E.left,E.top,E.right,E.bottom,a,d,l,u,N.left,N.top,N.right,N.bottom,s,r,this.g_ps.g_hh.g_aE,e?e.g_mH[Z]:_?_.g_mH[Z]:this.g_mH[Z]),g.g_eU(null),S!==B||F?(g.g_fE(f[m]),y=R-C,Q=A-C-y,g.clearRect(L,Q,k-L,y)):(e?g.g_eV(e.g_bz,e.g_bA):_&&g.g_eV(_.g_bz,_.g_bA),g.g_fE(o)),g.g_eU(f[x]),g.g_em(),g.translate(-z,-M),g.g_en(),g.g_eZ(b,O,D,O,D,w,b,w,T),S!==B||F||g.g_eU(null);m=0==m?1:0,x=0==m?1:0}F&&(g.g_dh(0),e?g.g_eV(e.g_bz,e.g_bA):_?g.g_eV(_.g_bz,_.g_bA):!this.g_ps.g_jb&&(g.g_ek(this.g_ps.width,this.g_ps.height),z=this.g_ps.width/2,M=this.g_ps.height/2,b=0,w=0,D=this.g_ps.width,O=this.g_ps.height),g.g_fE(o),g.g_eU(f[x]),g.g_em(),g.translate(-z,-M),g.g_en(),e&&1===n.length&&!J?g.g_eZ(b,w,D,w,D,O,b,O,T):g.g_eZ(b,O,D,O,D,w,b,w,T),g.g_eU(null))},g.prototype.g_oY=function(g){var _,e;for(_=0,e=this.g_iO.length;_<e;_++)if(this.g_iO[_].g_jI===g)return this.g_iO[_];return null},g.prototype.g_oR=function(){var g={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.angle,w:this.width,h:this.height,fv:this.g_pV,persist:this.g_qw,fx:[],layers:{}},_,e,t,p;for(_=0,e=this.g_iL.length;_<e;_++)p=this.g_iL[_],g.fx.push({name:p.name,active:p.active,params:this.g_mH[p.index]});for(_=0,e=this.g_iO.length;_<e;_++)t=this.g_iO[_],g.layers[t.g_jI.toString()]=t.g_oR();return g},g.prototype.g_oZ=function(g){var _,e,t,o,p;this.scrollX=g.sx,this.scrollY=g.sy,this.scale=g.s,this.angle=g.a,this.width=g.w,this.height=g.h,this.g_qw=g.persist,"undefined"!=typeof g.fv&&(this.g_pV=g.fv);var n=g.fx;for(_=0,e=n.length;_<e;_++)t=this.g_pT(n[_].name),t&&(t.active=n[_].active,this.g_mH[t.index]=n[_].params);this.g_iN();var i=g.layers;for(o in i)if(i.hasOwnProperty(o)){if(p=this.g_oY(parseInt(o,10)),!p)continue;p.g_oZ(i[o])}},g_a.g_kR=g})();(function(){function g(g,_){var e=g.length,t;switch(e){case 0:return!0;case 1:return g[0]===_[0];case 2:return g[0]===_[0]&&g[1]===_[1];default:for(t=0;t<e;t++)if(g[t]!==_[t])return!1;return!0;}}function _(g,_){return g.index-_.index}function e(e){var t,p,o,n,i;for(2===e.length?e[0].index>e[1].index&&(n=e[0],e[0]=e[1],e[1]=n):2<e.length&&e.sort(_),e.length>=c.length&&(c.length=e.length+1),c[e.length]||(c[e.length]=[]),i=c[e.length],(t=0,p=i.length);t<p;t++)if(o=i[t],g(e,o))return o;return i.push(e),e}function t(g,_){this.g_ps=g,this.g_ob={},this.g_oa={},this.g_lM=!1,this.includes=new g_a.g_ay,this.g_nZ=[],this.g_qG=[],this.name=_[0];var e=_[1];this.g_oD=[];var t,p;for(t=0,p=e.length;t<p;t++)this.g_qH(e[t],null,this.g_oD)}function p(g){return g_a.g_b.g_qS&&g===g_a.g_b.g_qS.prototype.g_lx.g_qT}function o(g){this.type=g,this.g_jW=[],this.g_nx=[],this.g_nk=!0}function n(g,_,e){this.g_qZ=g,this.parent=_,this.g_ps=g.g_ps,this.g_qR=[],this.g_oe=[],this.g_q_=!1,this.group=!1,this.g_q$=!1,this.g_ra=!1,this.g_rb=!1,this.g_rc=!1;this.g_on=[],this.g_os=[],this.g_oB=[],this.g_oT="",this.group=!1,this.g_q$=!1,this.g_oS=!1,this.g_rd=null,e[1]&&(this.g_oT=e[1][1].toLowerCase(),this.group=!0,this.g_q$=!!e[1][0],this.g_rd=[],this.g_oS=this.g_q$,this.g_ps.g_hZ.push(this),this.g_ps.g_h_[this.g_oT]=this),this.g_nt=e[2],this.g_jI=e[4],this.group||(this.g_ps.g_ic[this.g_jI.toString()]=this);var t=e[5],p,o;for(p=0,o=t.length;p<o;p++){var n=new g_a.g_re(this,t[p]);n.index=p,g_a.seal(n),this.g_on.push(n),this.g_rf(n.type)}var i=e[6];for(p=0,o=i.length;p<o;p++){var s=new g_a.action(this,i[p]);s.index=p,g_a.seal(s),this.g_os.push(s)}if(8===e.length){var r=e[7];for(p=0,o=r.length;p<o;p++)this.g_qZ.g_qH(r[p],this,this.g_oB)}this.g_qM=!1,this.g_on.length&&(this.g_qM=null==this.g_on[0].type&&this.g_on[0].g_qV==g_a.g_jv.prototype.g_lx.g_rg)}function i(g,_){var e,p,o;if(g&&(-1===_.indexOf(g)&&_.push(g),g.g_jP))for(e=0,p=g.g_jQ.length;e<p;e++)o=g.g_jQ[e],g===o||-1!==_.indexOf(o)||_.push(o)}function s(g,_){if(this.g_rs=g,this.g_qZ=g.g_qZ,this.g_ps=g.g_ps,this.g_eh=[],this.g_rt=[],this.g_iZ={},this.index=-1,this.g_ru=!1,this.g_qV=this.g_ps.g_jh(_[1]),this.trigger=0<_[3],this.g_qU=2===_[3],this.looping=_[4],this.g_rv=_[5],this.g_rw=_[6],this.g_jI=_[7],this.g_ps.g_h$[this.g_jI.toString()]=this,-1===_[0]?(this.type=null,this.g_lO=this.g_rx,this.g_ry=null,this.g_rz=-1):(this.type=this.g_ps.g_gC[_[0]],this.g_lO=this.g_rw?this.g_rA:this.g_rB,_[2]?(this.g_ry=this.type.g_kp(_[2]),this.g_rz=this.type.g_kr(_[2])):(this.g_ry=null,this.g_rz=-1),this.g_rs.parent&&this.g_rs.parent.g_rk()),(this.g_qU&&(this.g_lO=this.g_rC),10===_.length)){var e=_[9],t,p;for(t=0,p=e.length;t<p;t++){var o=new g_a.g_rD(this,e[t]);g_a.seal(o),this.g_eh.push(o)}this.g_rt.length=e.length}}function r(g,_){if(this.g_rs=g,this.g_qZ=g.g_qZ,this.g_ps=g.g_ps,this.g_eh=[],this.g_rt=[],this.g_iZ={},this.index=-1,this.g_ru=!1,this.g_qV=this.g_ps.g_jh(_[1]),-1===_[0]?(this.type=null,this.g_lO=this.g_rx,this.g_ry=null,this.g_rz=-1):(this.type=this.g_ps.g_gC[_[0]],this.g_lO=this.g_rB,_[2]?(this.g_ry=this.type.g_kp(_[2]),this.g_rz=this.type.g_kr(_[2])):(this.g_ry=null,this.g_rz=-1)),(this.g_jI=_[3],this.g_ps.g_ia[this.g_jI.toString()]=this,6===_.length)){var e=_[5],t,p;for(t=0,p=e.length;t<p;t++){var o=new g_a.g_rD(this,e[t]);g_a.seal(o),this.g_eh.push(o)}this.g_rt.length=e.length}}function a(){return m++,f.length===m&&f.push(new g_a.g_rF),f[m]}function d(){m--}function l(g,_){this.g_rG=g,this.g_rs=g.g_rs,this.g_qZ=g.g_qZ,this.g_ps=g.g_ps,this.type=_[0],this.g_qW=null,this.g_rH=0,this.get=null,this.g_rI=0,this.g_kR=null,this.key=0,this.object=null,this.index=0,this.g_rJ=null,this.g_rK=null,this.g_rL=null,this.g_rM=null,this.g_rN=null,this.g_rM=null,this.g_rN=null,this.g_rE=!1;var e,t,p;switch(this.type){case 0:case 7:this.g_qW=new g_a.g_rO(this,_[1]),this.g_rH=0,this.get=this.g_rP;break;case 1:case 14:this.g_qW=new g_a.g_rO(this,_[1]),this.g_rH=0,this.get=this.g_rQ,14===this.type&&this.g_rs.g_rj();break;case 5:this.g_qW=new g_a.g_rO(this,_[1]),this.g_rH=0,this.get=this.g_rR;break;case 3:case 8:this.g_rI=_[1],this.get=this.g_rS;break;case 6:this.g_kR=this.g_ps.g_gD[_[1]];;this.get=this.g_rT;break;case 9:this.key=_[1],this.get=this.g_rU;break;case 4:this.object=this.g_ps.g_gC[_[1]];;this.get=this.g_rV,this.g_rs.g_rf(this.object),this.g_rG instanceof g_a.action?this.g_rs.g_rk():this.g_rs.parent&&this.g_rs.parent.g_rk();break;case 10:this.index=_[1],g.type&&g.type.g_jD?(this.get=this.g_rW,this.g_rE=!0):this.get=this.g_rX;break;case 11:this.g_rJ=_[1],this.g_rK=null,this.get=this.g_rY;break;case 2:case 12:this.g_rL=_[1],this.get=this.g_rZ;break;case 13:for(this.get=this.g_r_,this.g_rM=[],this.g_rN=[],(e=1,t=_.length);e<t;e++)p=new g_a.g_rD(this.g_rG,_[e]),g_a.seal(p),this.g_rM.push(p),this.g_rN.push(0);break;default:;}}function h(g,_,e){this.g_qZ=g,this.parent=_,this.g_ps=g.g_ps,this.g_qR=[],this.name=e[1],this.g_sb=e[2],this.g_sc=e[3],this.g_oV=!!e[4],this.g_oU=!!e[5],this.g_jI=e[6],this.g_ps.g_ib[this.g_jI.toString()]=this,this.data=this.g_sc,this.parent?(this.g_sd=this.g_oV||this.g_oU?-1:this.g_ps.g_hP++,this.g_ps.g_gK.push(this)):(this.g_sd=-1,this.g_ps.g_gJ.push(this))}function y(g,_,e){this.g_qZ=g,this.parent=_,this.g_ps=g.g_ps,this.g_qR=[],this.g_qO=null,this.g_sg=e[1],this.active=!0}function u(){this.g_og=[],this.reset(null),g_a.seal(this)}var c=[];t.prototype.toString=function(){return this.name},t.prototype.g_qH=function(g,_,e){switch(g[0]){case 0:{var t=new g_a.g_qI(this,_,g);if(g_a.seal(t),t.g_nt){e.push(t);var p,o;for(p=0,o=t.g_on.length;p<o;p++)t.g_on[p].trigger&&this.g_qJ(t,p)}else t.g_qK()?this.g_qJ(t,0):e.push(t);break}case 1:{var n=new g_a.g_oC(this,_,g);g_a.seal(n),e.push(n);break}case 2:{var i=new g_a.g_qL(this,_,g);g_a.seal(i),e.push(i);break}default:;}},t.prototype.g_kT=function(){var g,_;for(g=0,_=this.g_oD.length;g<_;g++)this.g_oD[g].g_kT(g<_-1&&this.g_oD[g+1].g_qM)},t.prototype.g_kU=function(){g_a.g_R(this.g_nZ),g_a.g_R(this.g_qG),this.g_qN(this),g_a.g_R(this.g_qG)},t.prototype.g_qN=function(g){var _=g.g_nZ,e=g.g_qG,t=this.includes.g_ax(),p,o,n,i;for(p=0,o=t.length;p<o;++p)n=t[p],i=n.g_qO,!n.g_qP()||g===i||-1<e.indexOf(i)||(e.push(i),i.g_qN(g),_.push(i))},t.prototype.g_lO=function(g){this.g_ps.g_qQ||(this.g_lM=!0,!g&&(this.g_ps.g_gS=!0));var _,e;for(_=0,e=this.g_oD.length;_<e;_++){var t=this.g_oD[_];t.g_lO(),this.g_ps.g_nj(t.g_qR),this.g_ps.g_gP&&this.g_ps.g_iE()}g||(this.g_ps.g_gS=!1)};t.prototype.g_qJ=function(g,_){g.g_nt||this.g_ps.g_gI.push(g);var e=g.g_on[_],t,o,n;n=e.type?e.type.name:"system";var i=e.g_qU,s=i?this.g_oa:this.g_ob;s[n]||(s[n]=[]);var r=s[n],a=e.g_qV;if(i){if(!e.g_eh.length)return;var d=e.g_eh[0];if(1!==d.type||2!==d.g_qW.type)return;var l=d.g_qW.value.toLowerCase(),h,t,o;for(t=0,o=r.length;t<o;t++)if(r[t].method==a)return h=r[t].g_oc,void(h[l]?h[l].push([g,_]):h[l]=[[g,_]]);h={},h[l]=[[g,_]],r.push({method:a,g_oc:h})}else{for(t=0,o=r.length;t<o;t++)if(r[t].method==a)return void r[t].g_oc.push([g,_]);p(a)?r.unshift({method:a,g_oc:[[g,_]]}):r.push({method:a,g_oc:[[g,_]]})}},g_a.g_kS=t;o.prototype.g_ny=function(){return this.g_nk?this.type.g_jW.length:this.g_jW.length},o.prototype.g_qX=function(){return this.g_nk?this.type.g_jW:this.g_jW},o.prototype.g_qY=function(g){if(g)if(g.g_ps.g_nv().g_nu.g_nt){this.g_nk&&(g_a.g_R(this.g_jW),g_a.g_S(this.g_nx,g.type.g_jW),this.g_nk=!1);var _=this.g_nx.indexOf(g);-1!==_&&(this.g_jW.push(this.g_nx[_]),this.g_nx.splice(_,1))}else this.g_nk=!1,g_a.g_R(this.g_jW),this.g_jW[0]=g},g_a.selection=o;n.prototype.g_kT=function(g){var _=this.parent,t,p;if(this.group)for(this.g_rb=!0;_;){if(!_.group){this.g_rb=!1;break}_=_.parent}this.g_ra=!this.g_qK()&&(!this.parent||this.parent.group&&this.parent.g_rb),this.g_rc=!!g;var o=this.g_ps.g_gC;if(this.g_qR===o)this.g_oe=o;else{for(this.g_oe=this.g_qR.slice(0),_=this.parent;_;){for(t=0,p=_.g_qR.length;t<p;t++)this.g_rh(_.g_qR[t]);_=_.parent}this.g_qR=e(this.g_qR),this.g_oe=e(this.g_oe)}var t,p;for(t=0,p=this.g_on.length;t<p;t++)this.g_on[t].g_kT();for(t=0,p=this.g_os.length;t<p;t++)this.g_os[t].g_kT();for(t=0,p=this.g_oB.length;t<p;t++)this.g_oB[t].g_kT(t<p-1&&this.g_oB[t+1].g_qM)},n.prototype.g_o_=function(g){if(this.g_oS!==!!g){this.g_oS=!!g;var _,e;for(_=0,e=this.g_rd.length;_<e;++_)this.g_rd[_].g_ri();0<e&&this.g_ps.g_id.g_lN&&this.g_ps.g_id.g_lN.g_kU()}};n.prototype.g_rf=function(g){i(g,this.g_qR)},n.prototype.g_rh=function(g){i(g,this.g_oe)},n.prototype.g_rj=function(){this.g_qR=this.g_ps.g_gC},n.prototype.g_rk=function(){this.g_q_=!0,this.parent&&this.parent.g_rk()},n.prototype.g_qK=function(){return!!this.g_on.length&&this.g_on[0].trigger},n.prototype.g_lO=function(){var g=!1,_=this.g_ps,e=this.g_ps.g_nv(),t,p,o;e.g_nu=this;var n=this.g_on;if(this.g_qM||(e.g_rl=!1),this.g_nt){for(0===n.length&&(g=!0),e.g_oo=0,t=n.length;e.g_oo<t;e.g_oo++)p=n[e.g_oo],p.trigger||(o=p.g_lO(),o&&(g=!0));e.g_oj=g,g&&this.g_rm()}else{for(e.g_oo=0,t=n.length;e.g_oo<t;e.g_oo++)if(o=n[e.g_oo].g_lO(),!o)return e.g_oj=!1,void(this.g_ra&&_.g_gP&&_.g_iE());e.g_oj=!0,this.g_rm()}this.g_rn(e)},n.prototype.g_rn=function(g){g.g_oj&&this.g_rc&&(g.g_rl=!0),this.g_ra&&this.g_ps.g_gP&&this.g_ps.g_iE()},n.prototype.g_oi=function(g){var _=this.g_ps.g_nv();_.g_nu=this,this.g_on[g].g_lO()&&(this.g_rm(),this.g_ps.g_nv().g_oj=!0)},n.prototype.g_rm=function(){var g=this.g_ps.g_nv(),_;for(g.g_ot=0,_=this.g_os.length;g.g_ot<_;g.g_ot++)if(this.g_os[g.g_ot].g_lO())return;this.g_ro()},n.prototype.g_rp=function(){var g=this.g_ps.g_nv(),_;for(_=this.g_os.length;g.g_ot<_;g.g_ot++)if(this.g_os[g.g_ot].g_lO())return;this.g_ro()},n.prototype.g_ro=function(){if(this.g_oB.length){var g=this.g_oB.length-1,_,e,t,p;if(this.g_ps.g_hC(this),this.g_q_)for(_=0,e=this.g_oB.length;_<e;_++)t=this.g_oB[_],p=!this.g_rb||!this.group&&_<g,p&&this.g_ps.g_kl(t.g_qR),t.g_lO(),p?this.g_ps.g_kn(t.g_qR):this.g_ps.g_nj(t.g_qR);else for(_=0,e=this.g_oB.length;_<e;_++)this.g_oB[_].g_lO();this.g_ps.g_ok()}},n.prototype.g_oh=function(){var g=this.g_ps.g_nv();g.g_nu=this;var _=!1,e;for(g.g_oo=0,e=this.g_on.length;g.g_oo<e;g.g_oo++)if(this.g_on[g.g_oo].g_lO())_=!0;else if(!this.g_nt)return!1;return!this.g_nt||_},n.prototype.g_rq=function(){this.g_ps.g_ho++;var g=this.g_ps.g_nv().g_oo,_=this.g_ps.g_hC(this),e;if(!this.g_nt)for(_.g_oo=g+1,e=this.g_on.length;_.g_oo<e;_.g_oo++)if(!this.g_on[_.g_oo].g_lO())return this.g_ps.g_ok(),!1;return this.g_rm(),this.g_ps.g_ok(),!0},n.prototype.g_rr=function(g){var _=g.index;if(0===_)return!0;for(--_;0<=_;--_)if(this.g_on[_].type===g.type)return!1;return!0},g_a.g_qI=n;s.prototype.g_kT=function(){var g,_,e;for(g=0,_=this.g_eh.length;g<_;g++)e=this.g_eh[g],e.g_kT(),e.g_rE&&(this.g_ru=!0)},s.prototype.g_rC=function(){return!0},s.prototype.g_rx=function(){var g,_;for(g=0,_=this.g_eh.length;g<_;g++)this.g_rt[g]=this.g_eh[g].get();return g_a.g_ag(this.g_qV.apply(this.g_ps.g_ju,this.g_rt),this.g_rv)},s.prototype.g_rA=function(){var g,_;for(g=0,_=this.g_eh.length;g<_;g++)this.g_rt[g]=this.g_eh[g].get();var e=this.g_qV.apply(this.g_ry?this.g_ry:this.type,this.g_rt);return this.type.g_kv(),e},s.prototype.g_rB=function(){var g=this.type,_=g.g_kh(),e=this.g_rs.g_nt&&!this.trigger,t=0,o=g.g_jP,n=g.g_jD,r=g.g_jK,a=this.g_rz,d=-1<a,l=this.g_ru,h=this.g_eh,y=this.g_rt,u=this.g_rv,c=this.g_qV,f,i,m,x,j,A,p,z,M,T,s,N,E;if(l)for(i=0,j=h.length;i<j;++i)A=h[i],A.g_rE||(y[i]=A.get(0));else for(i=0,j=h.length;i<j;++i)y[i]=h[i].get(0);if(_.g_nk){for(g_a.g_R(_.g_jW),g_a.g_R(_.g_nx),N=g.g_jW,(f=0,x=N.length);f<x;++f){if(M=N[f],l)for(i=0,j=h.length;i<j;++i)A=h[i],A.g_rE&&(y[i]=A.get(f));d?(t=0,n&&(t=M.type.g_jN[r]),p=c.apply(M.g_lI[a+t],y)):p=c.apply(M,y),z=g_a.g_ag(p,u),z?_.g_jW.push(M):e&&_.g_nx.push(M)}return g.finish&&g.finish(!0),_.g_nk=!1,g.g_kv(),_.g_ny()}m=0;var b=e&&!this.g_rs.g_rr(this);N=b?_.g_nx:_.g_jW;var L=!1;for(f=0,x=N.length;f<x;++f){if(M=N[f],l)for(i=0,j=h.length;i<j;++i)A=h[i],A.g_rE&&(y[i]=A.get(f));if(d?(t=0,n&&(t=M.type.g_jN[r]),p=c.apply(M.g_lI[a+t],y)):p=c.apply(M,y),g_a.g_ag(p,u)){if(L=!0,!b){if(N[m]=M,o)for(i=0,j=M.siblings.length;i<j;i++)T=M.siblings[i],T.type.g_kh().g_jW[m]=T;m++}else if(_.g_jW.push(M),o)for(i=0,j=M.siblings.length;i<j;i++)T=M.siblings[i],T.type.g_kh().g_jW.push(T);}else if(b){if(N[m]=M,o)for(i=0,j=M.siblings.length;i<j;i++)T=M.siblings[i],T.type.g_kh().g_nx[m]=T;m++}else if(e&&(_.g_nx.push(M),o))for(i=0,j=M.siblings.length;i<j;i++)T=M.siblings[i],T.type.g_kh().g_nx.push(T)}if(g_a.g_Q(N,m),o)for(E=g.g_jQ,f=0,x=E.length;f<x;f++)s=E[f].g_kh(),b?g_a.g_Q(s.g_nx,m):g_a.g_Q(s.g_jW,m);var w=L;if(b&&!L)for(f=0,x=_.g_jW.length;f<x;f++){if(M=_.g_jW[f],l)for(i=0,j=h.length;i<j;i++)A=h[i],A.g_rE&&(y[i]=A.get(f));if(p=d?c.apply(M.g_lI[a],y):c.apply(M,y),g_a.g_ag(p,u)){L=!0;break}}return g.finish&&g.finish(w||e),e?L:_.g_ny()},g_a.g_re=s;r.prototype.g_kT=function(){var g,_,e;for(g=0,_=this.g_eh.length;g<_;g++)e=this.g_eh[g],e.g_kT(),e.g_rE&&(this.g_ru=!0)},r.prototype.g_rx=function(){var g=this.g_ps,_=this.g_eh,e=this.g_rt,t,p;for(t=0,p=_.length;t<p;++t)e[t]=_[t].get();return this.g_qV.apply(g.g_ju,e)},r.prototype.g_rB=function(){var g=this.type,_=this.g_rz,e=g.g_jK,t=this.g_ru,o=this.g_eh,n=this.g_rt,s=this.g_qV,r=g.g_kh().g_qX(),a=g.g_jD,d,i,l,h,y,p,u;if(t)for(i=0,h=o.length;i<h;++i)y=o[i],y.g_rE||(n[i]=y.get(0));else for(i=0,h=o.length;i<h;++i)n[i]=o[i].get(0);for(d=0,l=r.length;d<l;++d){if(p=r[d],t)for(i=0,h=o.length;i<h;++i)y=o[i],y.g_rE&&(n[i]=y.get(d));-1<_?(u=0,a&&(u=p.type.g_jN[e]),s.apply(p.g_lI[_+u],n)):s.apply(p,n)}return!1},g_a.action=r;var f=[],m=-1;l.prototype.g_kT=function(){var g,_;if(11===this.type)this.g_rK=this.g_ps.g_oA(this.g_rJ,this.g_rs.parent);else if(13===this.type)for(g=0,_=this.g_rM.length;g<_;g++)this.g_rM[g].g_kT();this.g_qW&&this.g_qW.g_kT()},l.prototype.g_r$=function(g){return this.g_rE?void 0:g?g.g_ls.g_jx?void 0:void(this.g_rE=!0):void 0},l.prototype.g_sa=function(){this.g_rE=!0},l.prototype.g_rP=function(g){this.g_rH=g||0;var _=a();return this.g_qW.get(_),d(),_.data},l.prototype.g_rQ=function(g){this.g_rH=g||0;var _=a();return this.g_qW.get(_),d(),g_a.g_h(_.data)?_.data:""},l.prototype.g_rV=function(){return this.object},l.prototype.g_rS=function(){return this.g_rI},l.prototype.g_rR=function(g){this.g_rH=g||0;var _=a();return this.g_qW.get(_),d(),_.g_g()?this.g_ps.g_nh(_.data):this.g_ps.g_ng(_.data)},l.prototype.g_rT=function(){return this.g_kR},l.prototype.g_rU=function(){return this.key},l.prototype.g_rX=function(){return this.index},l.prototype.g_rW=function(g){var _=g||0,e=this.g_rG.type,t=null,p=e.g_kh(),o=p.g_qX();if(o.length)t=o[_%o.length].type;else if(p.g_nx.length)t=p.g_nx[_%p.g_nx.length].type;else if(e.g_jW.length)t=e.g_jW[_%e.g_jW.length].type;else return 0;return this.index+t.g_jM[e.g_jK]},l.prototype.g_rY=function(){return this.g_rK},l.prototype.g_rZ=function(){return this.g_rL},l.prototype.g_r_=function(){var g,_;for(g=0,_=this.g_rM.length;g<_;g++)this.g_rN[g]=this.g_rM[g].get();return this.g_rN},g_a.g_rD=l;h.prototype.g_kT=function(){this.g_qR=e(this.g_qR)},h.prototype.g_se=function(g){var _=this.g_ps.g_ou();this.parent&&!this.g_oV&&_?(this.g_sd>=_.length&&(_.length=this.g_sd+1),_[this.g_sd]=g):this.data=g},h.prototype.g_sf=function(){var g=this.g_ps.g_ou();return!this.parent||this.g_oV||!g||this.g_oU?this.data:this.g_sd>=g.length?this.g_sc:"undefined"==typeof g[this.g_sd]?this.g_sc:g[this.g_sd]},h.prototype.g_lO=function(){!this.parent||this.g_oV||this.g_oU||this.g_se(this.g_sc)},g_a.g_oC=h;y.prototype.toString=function(){return"include:"+this.g_qO.toString()},y.prototype.g_kT=function(){this.g_qO=this.g_ps.g_gF[this.g_sg];this.g_qZ.includes.add(this),this.g_qR=e(this.g_qR);for(var g=this.parent;g;)g.group&&g.g_rd.push(this),g=g.parent;this.g_ri()},y.prototype.g_lO=function(){this.parent&&this.g_ps.g_kj(this.g_ps.g_gC),this.g_qO.g_lM||this.g_qO.g_lO(!0),this.parent&&this.g_ps.g_kn(this.g_ps.g_gC)},y.prototype.g_ri=function(){for(var g=this.parent;g;){if(g.group&&!g.g_oS)return void(this.active=!1);g=g.parent}this.active=!0},y.prototype.g_qP=function(){return this.active},g_a.g_qL=y;u.prototype.reset=function(g){this.g_nu=g,this.g_oo=0,this.g_ot=0,g_a.g_R(this.g_og),this.g_oj=!1,this.g_rl=!1,this.g_sh=!1},u.prototype.g_si=function(){return!!this.g_nu.g_q_||!!(this.g_oo<this.g_nu.g_on.length-1)&&!!this.g_nu.g_qR.length},g_a.g_ov=u})(),function(){function g(g,_){this.g_rG=g,this.g_ps=g.g_ps,this.type=_[0],this.get=[this.g_sj,this.g_sk,this.g_sl,this.g_sm,this.g_sn,this.g_so,this.g_sp,this.g_sq,this.g_sr,this.g_ss,this.g_st,this.g_su,this.g_sv,this.g_sw,this.g_sx,this.g_sy,this.g_sz,this.g_sA,this.g_sB,this.g_sC,this.g_sD,this.g_sE,this.g_sF,this.g_sG][this.type];var e=null;switch(this.value=null,this.first=null,this.g_sH=null,this.g_sI=null,this.g_qV=null,this.g_rt=null,this.g_eh=null,this.g_sJ=null,this.g_rz=-1,this.g_sK=null,this.g_sL=-1,this.g_sM=null,this.g_rJ=null,this.g_rK=null,this.g_sN=!1,this.type){case 0:case 1:case 2:this.value=_[1];break;case 3:this.first=new g_a.g_rO(g,_[1]);break;case 18:this.first=new g_a.g_rO(g,_[1]),this.g_sH=new g_a.g_rO(g,_[2]),this.g_sI=new g_a.g_rO(g,_[3]);break;case 19:this.g_qV=this.g_ps.g_jh(_[1]);;(this.g_qV===g_a.g_jv.prototype.g_sO.random||this.g_qV===g_a.g_jv.prototype.g_sO.g_sP)&&this.g_rG.g_sa(),this.g_rt=[],this.g_eh=[],3===_.length?(e=_[2],this.g_rt.length=e.length+1):this.g_rt.length=1;break;case 20:this.g_sJ=this.g_ps.g_gC[_[1]];;this.g_rz=-1,this.g_qV=this.g_ps.g_jh(_[2]),this.g_sN=_[3],g_a.g_b.Function&&this.g_qV===g_a.g_b.Function.prototype.g_sO.g_sQ&&this.g_rG.g_sa(),this.g_sK=_[4]?new g_a.g_rO(g,_[4]):null,this.g_rt=[],this.g_eh=[],6===_.length?(e=_[5],this.g_rt.length=e.length+1):this.g_rt.length=1;break;case 21:this.g_sJ=this.g_ps.g_gC[_[1]];;this.g_sN=_[2],this.g_sK=_[3]?new g_a.g_rO(g,_[3]):null,this.g_sL=_[4];break;case 22:this.g_sJ=this.g_ps.g_gC[_[1]];;this.g_sM=this.g_sJ.g_kp(_[2]);;this.g_rz=this.g_sJ.g_kr(_[2]),this.g_qV=this.g_ps.g_jh(_[3]),this.g_sN=_[4],this.g_sK=_[5]?new g_a.g_rO(g,_[5]):null,this.g_rt=[],this.g_eh=[],7===_.length?(e=_[6],this.g_rt.length=e.length+1):this.g_rt.length=1;break;case 23:this.g_rJ=_[1],this.g_rK=null;}if(this.g_rG.g_r$(this.g_sJ),4<=this.type&&17>=this.type&&(this.first=new g_a.g_rO(g,_[1]),this.g_sH=new g_a.g_rO(g,_[2])),e){var t,p;for(t=0,p=e.length;t<p;t++)this.g_eh.push(new g_a.g_rO(g,e[t]))}g_a.seal(this)}function _(){return++i,n.length===i&&n.push(new g_a.g_rF),n[i]}function e(){--i}function t(g,_,e){var t,p;for(t=0,p=g.length;t<p;++t)g[t].get(e),_[t+1]=e.data}function p(g,_){this.type=g||g_a.g_sW.g_sV,this.data=_||0,this.g_sT=null;this.type==g_a.g_sW.g_sV&&(this.data=o(this.data)),g_a.seal(this)}var o=Math.floor;g.prototype.g_kT=function(){if(23===this.type&&(this.g_rK=this.g_rG.g_ps.g_oA(this.g_rJ,this.g_rG.g_rs.parent)),this.first&&this.first.g_kT(),this.g_sH&&this.g_sH.g_kT(),this.g_sI&&this.g_sI.g_kT(),this.g_sK&&this.g_sK.g_kT(),this.g_eh){var g,_;for(g=0,_=this.g_eh.length;g<_;g++)this.g_eh[g].g_kT()}};var n=[],i=-1;g.prototype.g_sC=function(g){var p=this.g_eh,o=this.g_rt;o[0]=g;var n=_();t(p,o,n),e(),this.g_qV.apply(this.g_ps.g_ju,o)},g.prototype.g_sD=function(g){var p=this.g_sJ,o=this.g_rt,n=this.g_eh,i=this.g_sK,s=this.g_qV,r=this.g_rG.g_rH,a=p.g_kh(),d=a.g_qX();if(!d.length)if(a.g_nx.length)d=a.g_nx;else return void(this.g_sN?g.g_sR(""):g.g_sS(0));o[0]=g,g.g_sT=p;var l=_();t(n,o,l),i&&(i.get(l),l.g_g()&&(r=l.data,d=p.g_jW)),e();var h=d.length;(r>=h||r<=-h)&&(r%=h),0>r&&(r+=h);s.apply(d[r],o)},g.prototype.g_sF=function(g){var p=this.g_sJ,o=this.g_rt,n=this.g_eh,i=this.g_sK,s=this.g_rz,r=this.g_qV,a=this.g_rG.g_rH,d=p.g_kh(),l=d.g_qX();if(!l.length)if(d.g_nx.length)l=d.g_nx;else return void(this.g_sN?g.g_sR(""):g.g_sS(0));o[0]=g,g.g_sT=p;var h=_();t(n,o,h),i&&(i.get(h),h.g_g()&&(a=h.data,l=p.g_jW)),e();var y=l.length;(a>=y||a<=-y)&&(a%=y),0>a&&(a+=y);var u=l[a],c=0;p.g_jD&&(c=u.type.g_jN[p.g_jK]);r.apply(u.g_lI[s+c],o)},g.prototype.g_sE=function(g){var t=this.g_sK,p=this.g_sJ,o=this.g_sL,n=this.g_rG.g_rH,i=p.g_kh(),s=i.g_qX(),r;if(!s.length)if(i.g_nx.length)s=i.g_nx;else return void(this.g_sN?g.g_sR(""):g.g_sS(0));if(t){var a=_();if(t.get(a),a.g_g()){n=a.data;var d=p.g_jW;0!==d.length&&(n%=d.length,0>n&&(n+=d.length)),r=p.g_kx(n);var l=r.g_mB[o];return g_a.g_h(l)?g.g_sR(l):g.g_sU(l),void e()}e()}var h=s.length;(n>=h||n<=-h)&&(n%=h),0>n&&(n+=h),r=s[n];var y=0;p.g_jD&&(y=r.type.g_jM[p.g_jK]);var l=r.g_mB[o+y];g_a.g_h(l)?g.g_sR(l):g.g_sU(l)},g.prototype.g_sj=function(g){g.type=g_a.g_sW.g_sV,g.data=this.value},g.prototype.g_sk=function(g){g.type=g_a.g_sW.g_sX,g.data=this.value},g.prototype.g_sl=function(g){g.type=g_a.g_sW.String,g.data=this.value},g.prototype.g_sm=function(g){this.first.get(g),g.g_g()&&(g.data=-g.data)},g.prototype.g_sn=function(g){this.first.get(g);var t=_();this.g_sH.get(t),g.g_g()&&t.g_g()&&(g.data+=t.data,t.g_sY()&&g.g_sZ()),e()},g.prototype.g_so=function(g){this.first.get(g);var t=_();this.g_sH.get(t),g.g_g()&&t.g_g()&&(g.data-=t.data,t.g_sY()&&g.g_sZ()),e()},g.prototype.g_sp=function(g){this.first.get(g);var t=_();this.g_sH.get(t),g.g_g()&&t.g_g()&&(g.data*=t.data,t.g_sY()&&g.g_sZ()),e()},g.prototype.g_sq=function(g){this.first.get(g);var t=_();this.g_sH.get(t),g.g_g()&&t.g_g()&&(g.data/=t.data,g.g_sZ()),e()},g.prototype.g_sr=function(g){this.first.get(g);var t=_();this.g_sH.get(t),g.g_g()&&t.g_g()&&(g.data%=t.data,t.g_sY()&&g.g_sZ()),e()},g.prototype.g_ss=function(g){this.first.get(g);var t=_();this.g_sH.get(t),g.g_g()&&t.g_g()&&(g.data=Math.pow(g.data,t.data),t.g_sY()&&g.g_sZ()),e()},g.prototype.g_st=function(g){this.first.get(g);var t=_();this.g_sH.get(t),t.g_h()||g.g_h()?this.g_s_(g,t):this.g_s$(g,t),e()},g.prototype.g_s_=function(g,_){g.g_h()&&_.g_h()?this.g_ta(g,_):this.g_tb(g,_)},g.prototype.g_ta=function(g,_){g.data+=_.data},g.prototype.g_tb=function(g,_){g.g_h()?g.data+=(Math.round(1e10*_.data)/1e10).toString():g.g_sR(g.data.toString()+_.data)},g.prototype.g_s$=function(g,_){g.g_sS(g.data&&_.data?1:0)},g.prototype.g_su=function(g){this.first.get(g);var t=_();this.g_sH.get(t),g.g_g()&&t.g_g()&&(g.data||t.data?g.g_sS(1):g.g_sS(0)),e()},g.prototype.g_sB=function(g){this.first.get(g),g.data?this.g_sH.get(g):this.g_sI.get(g)},g.prototype.g_sv=function(g){this.first.get(g);var t=_();this.g_sH.get(t),g.g_sS(g.data===t.data?1:0),e()},g.prototype.g_sw=function(g){this.first.get(g);var t=_();this.g_sH.get(t),g.g_sS(g.data===t.data?0:1),e()},g.prototype.g_sx=function(g){this.first.get(g);var t=_();this.g_sH.get(t),g.g_sS(g.data<t.data?1:0),e()},g.prototype.g_sy=function(g){this.first.get(g);var t=_();this.g_sH.get(t),g.g_sS(g.data<=t.data?1:0),e()},g.prototype.g_sz=function(g){this.first.get(g);var t=_();this.g_sH.get(t),g.g_sS(g.data>t.data?1:0),e()},g.prototype.g_sA=function(g){this.first.get(g);var t=_();this.g_sH.get(t),g.g_sS(g.data>=t.data?1:0),e()},g.prototype.g_sG=function(g){var _=this.g_rK.g_sf();"number"==typeof _?g.g_sU(_):"boolean"==typeof _?g.g_sS(_?1:0):g.g_sR(_)},g_a.g_rO=g;p.prototype.g_tc=function(){return this.type===g_a.g_sW.g_sV},p.prototype.g_sY=function(){return this.type===g_a.g_sW.g_sX},p.prototype.g_g=function(){return this.type===g_a.g_sW.g_sV||this.type===g_a.g_sW.g_sX},p.prototype.g_h=function(){return this.type===g_a.g_sW.String},p.prototype.g_td=function(){this.g_tc()||(this.g_sY()?this.data=o(this.data):this.g_h()&&(this.data=parseInt(this.data,10)),this.type=g_a.g_sW.g_sV)},p.prototype.g_sZ=function(){this.g_sY()||(this.g_h()&&(this.data=parseFloat(this.data)),this.type=g_a.g_sW.g_sX)},p.prototype.g_te=function(){this.g_h()||(this.data=this.data.toString(),this.type=g_a.g_sW.String)},p.prototype.g_sS=function(g){this.type=g_a.g_sW.g_sV,this.data=o(g)},p.prototype.g_sU=function(g){this.type=g_a.g_sW.g_sX,this.data=g},p.prototype.g_sR=function(g){this.type=g_a.g_sW.String,this.data=g},p.prototype.g_tf=function(g){g_a.g_g(g)?(this.type=g_a.g_sW.g_sX,this.data=g):g_a.g_h(g)?(this.type=g_a.g_sW.String,this.data=g.toString()):(this.type=g_a.g_sW.g_sV,this.data=0)},g_a.g_rF=p,g_a.g_sW={g_sV:0,g_sX:1,String:2}}();g_a.g_jv=function(g){this.g_ps=g,this.g_lT=[]},g_a.g_jv.prototype.g_oR=function(){var g={},_,e,o,n,i,p,s,t;g.waits=[];var r=g.waits,a;for(_=0,e=this.g_lT.length;_<e;_++){for(p=this.g_lT[_],a={t:p.time,st:p.g_tg,s:p.g_th,ev:p.g_ti.g_jI,sm:[],sols:{}},p.g_ti.g_os[p.g_ot]&&(a.act=p.g_ti.g_os[p.g_ot].g_jI),(o=0,n=p.g_qR.length);o<n;o++)a.sm.push(p.g_qR[o].g_jI);for(i in p.g_mm)if(p.g_mm.hasOwnProperty(i)){s=this.g_ps.g_gC[parseInt(i,10)];for(t={sa:p.g_mm[i].g_tj,insts:[]},o=0,n=p.g_mm[i].g_mn.length;o<n;o++)t.insts.push(p.g_mm[i].g_mn[o].g_kL);a.sols[s.g_jI.toString()]=t}r.push(a)}return g},g_a.g_jv.prototype.g_oZ=function(g){var _=g.waits,o,n,i,s,r,p,a,d,e,l,h,y,u;for(g_a.g_R(this.g_lT),o=0,n=_.length;o<n;o++)if(p=_[o],d=this.g_ps.g_ic[p.ev.toString()],d){for(e=-1,i=0,s=d.g_os.length;i<s;i++)if(d.g_os[i].g_jI===p.act){e=i;break}if(-1!==e){for(a={},a.g_mm={},a.g_qR=[],a.g_tk=!1,a.time=p.t,a.g_tg=p.st||"",a.g_th=!!p.s,a.g_ti=d,a.g_ot=e,(i=0,s=p.sm.length);i<s;i++)l=this.g_ps.g_oF(p.sm[i]),l&&a.g_qR.push(l);for(r in p.sols)if(p.sols.hasOwnProperty(r)){if(l=this.g_ps.g_oF(parseInt(r,10)),!l)continue;for(h=p.sols[r],y={g_tj:h.sa,g_mn:[]},(i=0,s=h.insts.length);i<s;i++)u=this.g_ps.g_mg(h.insts[i]),u&&y.g_mn.push(u);a.g_mm[l.index.toString()]=y}this.g_lT.push(a)}}},function(){function g(){}function _(g,_){var e=g.g_iZ.c2_feo_val,t=_.g_iZ.c2_feo_val;return g_a.g_g(e)&&g_a.g_g(t)?e-t:(e=""+e,t=""+t,e<t?-1:e>t?1:0)}function e(g,_){return m&&g===x&&_===j||(m=new RegExp(g,_),x=g,j=_),m.lastIndex=0,m}function t(){}function p(){var g;return z.length?g=z.pop():(g={},g.g_mm={},g.g_qR=[]),g.g_tk=!1,g}function o(g){g_a.g_ao(g.g_mm),g_a.g_R(g.g_qR),z.push(g)}function n(){var g;return M.length?g=M.pop():(g={},g.g_mn=[]),g.g_tj=!1,g}function i(g){g_a.g_R(g.g_mn),M.push(g)}function s(g,_){var e=g[0],t=_[0],p=e-t;if(0!=p)return p;var o=g[1],n=_[1];return o-n}function r(g,_){return g[1]-_[1]}function a(){}function d(g,_,t){if(g!==N||_!==E||t!==b){var p=e(_,t);T=g.match(p),N=g,E=_,b=t}}var l=Math.log,h=Math.round,y=Math.floor,u=g_a.g_jv.prototype;g.prototype.g_tl=function(){return!0},g.prototype.g_qC=function(){return!0},g.prototype.g_qD=function(){return!0},g.prototype.g_tm=function(g,_,e){return g_a.g_tn(g,_,e)},g.prototype.g_to=function(g,_){var e=this.g_ps.g_hh.g_aE;if(0===g){var t=this.g_ps.g_om();return!t.g_iZ.CompareTime_executed&&e>=_&&(t.g_iZ.CompareTime_executed=!0,!0)}return g_a.g_tn(e,g,_)},g.prototype.g_tp=function(g){return!!g&&g.visible},g.prototype.g_tq=function(g){return!!g&&!g.g_jW.length},g.prototype.g_tr=function(g,_,e){return!!g&&g_a.g_tn(100*g.opacity,_,e)},g.prototype.g_ts=function(g){var _=this.g_ps.g_nv(),e=_.g_nu,t=_.g_si(),p=this.g_ps.g_ow(),o;if(t)for(o=0;o<g&&!p.g_ox;o++)this.g_ps.g_kl(e.g_qR),p.index=o,e.g_rq(),this.g_ps.g_kn(e.g_qR);else for(o=0;o<g&&!p.g_ox;o++)p.index=o,e.g_rq();return this.g_ps.g_oz(),!1},g.prototype.g_tt=function(){var g=this.g_ps.g_nv(),_=g.g_nu,e=g.g_si(),t=this.g_ps.g_ow(),p;if(e)for(p=0;!t.g_ox;p++)this.g_ps.g_kl(_.g_qR),t.index=p,_.g_rq()||(t.g_ox=!0),this.g_ps.g_kn(_.g_qR);else for(p=0;!t.g_ox;p++)t.index=p,_.g_rq()||(t.g_ox=!0);return this.g_ps.g_oz(),!1},g.prototype.g_tu=function(g,_,e){var t=this.g_ps.g_nv(),p=t.g_nu,o=t.g_si(),n=this.g_ps.g_ow(g),s;if(e<_){if(o)for(s=_;s>=e&&!n.g_ox;--s)this.g_ps.g_kl(p.g_qR),n.index=s,p.g_rq(),this.g_ps.g_kn(p.g_qR);else for(s=_;s>=e&&!n.g_ox;--s)n.index=s,p.g_rq();}else if(o)for(s=_;s<=e&&!n.g_ox;++s)this.g_ps.g_kl(p.g_qR),n.index=s,p.g_rq(),this.g_ps.g_kn(p.g_qR);else for(s=_;s<=e&&!n.g_ox;++s)n.index=s,p.g_rq();return this.g_ps.g_oz(),!1};var c=[],f=-1;g.prototype.g_tv=function(g){var _=g.g_kh();f++,c.length===f&&c.push([]);var e=c[f];g_a.g_S(e,_.g_qX());var t=this.g_ps.g_nv(),p=t.g_nu,o=t.g_si(),n=this.g_ps.g_ow(),r=g.g_jP,a,i,d,l,h,y,s;if(o)for(a=0,i=e.length;a<i&&!n.g_ox;a++){if(this.g_ps.g_kl(p.g_qR),h=e[a],_=g.g_kh(),_.g_nk=!1,g_a.g_R(_.g_jW),_.g_jW[0]=h,r)for(d=0,l=h.siblings.length;d<l;d++)y=h.siblings[d],s=y.type.g_kh(),s.g_nk=!1,g_a.g_R(s.g_jW),s.g_jW[0]=y;n.index=a,p.g_rq(),this.g_ps.g_kn(p.g_qR)}else for(_.g_nk=!1,g_a.g_R(_.g_jW),(a=0,i=e.length);a<i&&!n.g_ox;a++){if(h=e[a],_.g_jW[0]=h,r)for(d=0,l=h.siblings.length;d<l;d++)y=h.siblings[d],s=y.type.g_kh(),s.g_nk=!1,g_a.g_R(s.g_jW),s.g_jW[0]=y;n.index=a,p.g_rq()}return g_a.g_R(e),this.g_ps.g_oz(),f--,!1};g.prototype.g_tw=function(g,e,t){var p=g.g_kh();f++,c.length===f&&c.push([]);var o=c[f];g_a.g_S(o,p.g_qX());var n=this.g_ps.g_nv(),r=n.g_nu,a=this.g_ps.g_om(),d=n.g_si(),l=this.g_ps.g_ow(),h,i,y,u,m,x,s;for(h=0,i=o.length;h<i;h++)o[h].g_iZ.c2_feo_val=a.g_eh[1].get(h);o.sort(_),1===t&&o.reverse();var j=g.g_jP;if(d)for(h=0,i=o.length;h<i&&!l.g_ox;h++){if(this.g_ps.g_kl(r.g_qR),m=o[h],p=g.g_kh(),p.g_nk=!1,g_a.g_R(p.g_jW),p.g_jW[0]=m,j)for(y=0,u=m.siblings.length;y<u;y++)x=m.siblings[y],s=x.type.g_kh(),s.g_nk=!1,g_a.g_R(s.g_jW),s.g_jW[0]=x;l.index=h,r.g_rq(),this.g_ps.g_kn(r.g_qR)}else for(p.g_nk=!1,g_a.g_R(p.g_jW),(h=0,i=o.length);h<i&&!l.g_ox;h++){if(m=o[h],p.g_jW[0]=m,j)for(y=0,u=m.siblings.length;y<u;y++)x=m.siblings[y],s=x.type.g_kh(),s.g_nk=!1,g_a.g_R(s.g_jW),s.g_jW[0]=x;l.index=h,r.g_rq()}return g_a.g_R(o),this.g_ps.g_oz(),f--,!1},g.prototype.g_tx=function(g,_,e,t){var p,o,n,i;if(g){f++,c.length===f&&c.push([]);var s=c[f],r=g.g_kh();g_a.g_S(s,r.g_qX()),r.g_nk&&g_a.g_R(r.g_nx);var a=this.g_ps.g_om();for(p=0,n=0,o=s.length;p<o;p++)i=s[p],s[n]=i,_=a.g_eh[1].get(p),t=a.g_eh[3].get(p),g_a.g_tn(_,e,t)?n++:r.g_nx.push(i);return g_a.g_Q(s,n),r.g_nk=!1,g_a.g_S(r.g_jW,s),g_a.g_R(s),f--,g.g_kv(),!!r.g_jW.length}},g.prototype.g_ty=function(g,_){var e,t,p,o;if(g){f++,c.length===f&&c.push([]);var n=c[f],i=g.g_kh();g_a.g_S(n,i.g_qX()),i.g_nk&&g_a.g_R(i.g_nx);var s=this.g_ps.g_om();for(e=0,p=0,t=n.length;e<t;e++)o=n[e],n[p]=o,_=s.g_eh[1].get(e),_?p++:i.g_nx.push(o);return g_a.g_Q(n,p),i.g_nk=!1,g_a.g_S(i.g_jW,n),g_a.g_R(n),f--,g.g_kv(),!!i.g_jW.length}},g.prototype.g_tz=function(){var g=this.g_ps.g_om().g_iZ;"undefined"==typeof g.TriggerOnce_lastTick&&(g.TriggerOnce_lastTick=-1);var _=g.TriggerOnce_lastTick,e=this.g_ps.g_hm;return g.TriggerOnce_lastTick=e,this.g_ps.g_hH||_!==e-1},g.prototype.g_tA=function(g){var _=this.g_ps.g_om(),e=_.g_iZ.Every_lastTime||0,t=this.g_ps.g_hh.g_aE;"undefined"==typeof _.g_iZ.Every_seconds&&(_.g_iZ.Every_seconds=g);var p=_.g_iZ.Every_seconds;return t>=e+p?(_.g_iZ.Every_lastTime=e+p,t>=_.g_iZ.Every_lastTime+0.04&&(_.g_iZ.Every_lastTime=t),_.g_iZ.Every_seconds=g,!0):(t<e-0.1&&(_.g_iZ.Every_lastTime=t),!1)},g.prototype.g_tB=function(g,_){if(!g)return!1;var e=g.g_kh(),t=e.g_qX();if(_=g_a.floor(_),0>_||_>=t.length)return!1;var p=t[_];return e.g_qY(p),g.g_kv(),!0},g.prototype.g_tC=function(g){if(!g)return!1;var _=g.g_kh(),e=_.g_qX(),t=g_a.floor(Math.random()*e.length);if(t>=e.length)return!1;var p=e[t];return _.g_qY(p),g.g_kv(),!0},g.prototype.g_tD=function(g,_,e){return g_a.g_tn(g.g_sf(),_,e)},g.prototype.g_tE=function(g){return g.g_sf()},g.prototype.g_tF=function(_){var e=this.g_ps.g_h_[_.toLowerCase()];return e&&e.g_oS},g.prototype.g_tG=function(){return this.g_ps.g_fH},g.prototype.g_tH=function(g){if(!g)return!1;if(!g.g_jW.length)return!1;var _=g.g_kh();return _.g_nk=!0,g.g_kv(),!0},g.prototype.g_tI=function(){return this.g_ps.g_gg},g.prototype.g_tJ=function(g,_,e){return g>=_&&g<=e},g.prototype.g_rg=function(){var g=this.g_ps.g_nv();return!g.g_rl&&!g.g_oj},g.prototype.g_lw=function(){return!0},g.prototype.g_lC=function(){return!0},g.prototype.g_tK=function(){return!!this.g_ps.g_er},g.prototype.g_oK=function(){return!0},g.prototype.g_oL=function(){return!0},g.prototype.g_oO=function(){return!0},g.prototype.g_oM=function(){return!0},g.prototype.g_tL=function(g){return!!this.g_ps.g_mg(g)},g.prototype.g_tM=function(g){var _=this.g_ps;return 0===g?!_.g_fY&&!_.g_fK&&!_.g_gc&&!_.g_f$&&!_.g_gd&&!_.g_fT:1===g?_.g_fR:2===g?_.g_fO:3===g?_.g_f_:4===g?_.g_f$:5===g?_.g_gd:6===g?_.g_fN:7!=g&&(8===g?_.g_fK:9===g?_.g_fZ:10===g?_.g_fY:11===g?_.g_fJ:12===g?_.g_fT:!(13!=g)&&_.g_gb)};var m=null,x="",j="";g.prototype.g_tN=function(g,_,t){var p=e(_,t);return p.test(g)};var A=[];g.prototype.g_tO=function(g,_,e){if(!g)return!1;var t=g.g_kh(),p=t.g_qX(),o=this.g_ps.g_nv().g_nu,n=o.g_nt,s=this.g_ps.g_om(),r,i,a,d;for(t.g_nk?(g_a.g_S(A,p),g_a.g_R(t.g_nx),t.g_nk=!1,g_a.g_R(t.g_jW)):n?(g_a.g_S(A,t.g_nx),g_a.g_R(t.g_nx)):(g_a.g_S(A,p),g_a.g_R(t.g_jW)),r=0,i=A.length;r<i;++r)a=A[r],a.g_aU(),d=g_a.g_ag(a.g_q(_,e),s.g_rv),d?t.g_jW.push(a):t.g_nx.push(a);return g.g_kv(),g_a.g_ag(!!t.g_jW.length,s.g_rv)},g.prototype.g_tP=function(g){if(!g)return!1;var _=this.g_ps.g_gU,e=null,t=g.g_jD,p,o;for(p=_.length-1;0<=p;--p)if(o=_[p],t){if(0<=o.type.g_jL.indexOf(g)){e=o;break}}else if(o.type===g){e=o;break}if(!e&&g.g_jW.length&&(e=g.g_jW[g.g_jW.length-1]),!e)return!1;var n=g.g_kh();return n.g_qY(e),g.g_kv(),!0},g.prototype.g_tQ=function(g){return!!isNaN(g)},g.prototype.g_tR=function(g,_,e){return g_a.g_ab(g_a.g_W(g),g_a.g_W(e))<=g_a.g_W(_)},g.prototype.g_tS=function(g,_){return g_a.g_ad(g_a.g_W(g),g_a.g_W(_))},g.prototype.g_tT=function(g,_,e){var t=g_a.g_$(g),p=g_a.g_$(_),o=g_a.g_$(e),n=!g_a.g_ad(o,p);return n?g_a.g_ad(t,p)||!g_a.g_ad(t,o):g_a.g_ad(t,p)&&!g_a.g_ad(t,o)},g.prototype.g_tU=function(g,_){return"number"==typeof g?0===_:1===_},u.g_lx=new g;t.prototype.g_tV=function(g){this.g_ps.g_hM||this.g_ps.g_hv||(this.g_ps.g_hv=g)},t.prototype.g_tW=function(g){if(!this.g_ps.g_hM&&!this.g_ps.g_hv){var _=this.g_ps.g_gE.indexOf(this.g_ps.g_id);if(!(g&&0===_)&&(g||_!==this.g_ps.g_gE.length-1)){var e=this.g_ps.g_gE[_+(g?-1:1)];this.g_ps.g_hv=e}}},t.prototype.g_tX=function(g,_,e,t){if(_&&g){var p=this.g_ps.g_mx(g,_,e,t);if(p){this.g_ps.g_gR++;var o,n,i;if(this.g_ps.trigger(Object.getPrototypeOf(g.g_ls).g_lx.g_o$,p),p.g_jP)for(o=0,n=p.siblings.length;o<n;o++)i=p.siblings[o],this.g_ps.trigger(Object.getPrototypeOf(i.type.g_ls).g_lx.g_o$,i);this.g_ps.g_gR--;var s=g.g_kh();if(s.g_nk=!1,g_a.g_R(s.g_jW),s.g_jW[0]=p,p.g_jP)for(o=0,n=p.siblings.length;o<n;o++)i=p.siblings[o],s=i.type.g_kh(),s.g_nk=!1,g_a.g_R(s.g_jW),s.g_jW[0]=i}}},t.prototype.g_tY=function(g,_,e,p){if(_&&g){var o=this.g_ps.g_gB[g.toLowerCase()];o&&t.prototype.g_tX.call(this,o,_,e,p)}},t.prototype.g_tZ=function(g,_){g&&(g.visible===_||(g.visible=_,this.g_ps.g_gz=!0))},t.prototype.g_t_=function(g,_){g&&(_=g_a.g_K(_/100,0,1),g.opacity!==_&&(g.opacity=_,this.g_ps.g_gz=!0))},t.prototype.g_t$=function(g,_){g&&(g.g_nA===_||(g.g_nA=_,this.g_ps.g_gz=!0))},t.prototype.g_ua=function(g,_){g&&(_=!!_,g.g_pG!==_&&(g.g_pG=_,this.g_ps.g_gz=!0))},t.prototype.g_ub=function(g){this.g_ps.g_id&&(this.g_ps.g_id.scale===g||(this.g_ps.g_id.scale=g,this.g_ps.g_id.g_qz(),this.g_ps.g_gz=!0))},t.prototype.g_uc=function(g){this.g_ps.g_id.g_lE(g)},t.prototype.g_ud=function(g){this.g_ps.g_id.g_lF(g)},t.prototype.g_ue=function(g,_){this.g_ps.g_id.g_lE(g),this.g_ps.g_id.g_lF(_)},t.prototype.g_uf=function(g){var _=g.g_kd();_&&(this.g_ps.g_id.g_lE(_.x),this.g_ps.g_id.g_lF(_.y))},t.prototype.g_ug=function(g,_){0===g.g_sb?g_a.g_g(_)?g.g_se(_):g.g_se(parseFloat(_)):1===g.g_sb&&g.g_se(_.toString())},t.prototype.g_uh=function(g,_){0===g.g_sb?g_a.g_g(_)?g.g_se(g.g_sf()+_):g.g_se(g.g_sf()+parseFloat(_)):1===g.g_sb&&g.g_se(g.g_sf()+_.toString())},t.prototype.g_ui=function(g,_){0===g.g_sb&&(g_a.g_g(_)?g.g_se(g.g_sf()-_):g.g_se(g.g_sf()-parseFloat(_)))},t.prototype.g_uj=function(g,_){g.g_se(0!==_)},t.prototype.g_uk=function(g){g.g_se(!g.g_sf())},t.prototype.g_ul=function(_,e){var t=this.g_ps.g_h_[_.toLowerCase()];t&&(0===e?t.g_o_(!1):1===e?t.g_o_(!0):2===e?t.g_o_(!t.g_oS):void 0)},t.prototype.g_um=function(g){var _=g;0>_&&(_=0),this.g_ps.g_hg=_},t.prototype.g_un=function(g,_){var e=_;if(0>e&&(e=0),!!g){var t=g.g_kh(),p=t.g_qX(),o,n;for(o=0,n=p.length;o<n;o++)p[o].g_mc=e}},t.prototype.g_uo=function(g){if(!g)return!1;var _=g.g_kh(),e=_.g_qX(),t,p;for(t=0,p=e.length;t<p;t++)e[t].g_mc=-1};var z=[];var M=[];t.prototype.g_up=function(g){if(!(0>g)){var _=this.g_ps.g_nv(),e=p(),o,i,r,s,t;for(e.time=this.g_ps.g_hh.g_aE+g,e.g_tg="",e.g_th=!1,e.g_ti=_.g_nu,e.g_ot=_.g_ot+1,(o=0,i=this.g_ps.g_gC.length);o<i;o++)s=this.g_ps.g_gC[o],r=s.g_kh(),r.g_nk&&-1===_.g_nu.g_qR.indexOf(s)||(e.g_qR.push(s),t=n(),t.g_tj=r.g_nk,g_a.g_S(t.g_mn,r.g_jW),e.g_mm[o.toString()]=t);return this.g_lT.push(e),!0}},t.prototype.g_uq=function(g){var _=this.g_ps.g_nv(),e=p(),o,i,r,s,t;for(e.time=-1,e.g_tg=g.toLowerCase(),e.g_th=!1,e.g_ti=_.g_nu,e.g_ot=_.g_ot+1,(o=0,i=this.g_ps.g_gC.length);o<i;o++)s=this.g_ps.g_gC[o],r=s.g_kh(),r.g_nk&&-1===_.g_nu.g_qR.indexOf(s)||(e.g_qR.push(s),t=n(),t.g_tj=r.g_nk,g_a.g_S(t.g_mn,r.g_jW),e.g_mm[o.toString()]=t);return this.g_lT.push(e),!0},t.prototype.g_ur=function(g){var _=g.toLowerCase(),e,t,p;for(e=0,t=this.g_lT.length;e<t;++e)p=this.g_lT[e],-1===p.time&&p.g_tg===_&&(p.g_th=!0)},t.prototype.g_us=function(g,_){g&&g.scale!==_&&(g.scale=_,this.g_ps.g_gz=!0)},t.prototype.g_ut=function(){var _,e,t;for(_=0,e=this.g_ps.g_gJ.length;_<e;_++)t=this.g_ps.g_gJ[_],t.data=t.g_sc},t.prototype.g_uu=function(g){g=g_a.g_W(g),g=g_a.g_Z(g),this.g_ps.g_id&&this.g_ps.g_id.angle!==g&&(this.g_ps.g_id.angle=g,this.g_ps.g_gz=!0)},t.prototype.g_uv=function(g,_){g&&(_=g_a.g_W(_),_=g_a.g_Z(_),g.angle===_||(g.angle=_,this.g_ps.g_gz=!0))},t.prototype.g_uw=function(g,_,e){if(g&&(g.g_nd!==_/100||g.g_ne!==e/100)){if(g.g_nd=_/100,g.g_ne=e/100,1!==g.g_nd||1!==g.g_ne){var t=g.g_jW,p,o;for(p=0,o=t.length;p<o;++p)t[p].type.g_kB=!0}this.g_ps.g_gz=!0}},t.prototype.g_ux=function(_,e){if(_){var t=g_a.g_K(y(255*g_a.g_L(e)),0,255),p=g_a.g_K(y(255*g_a.g_M(e)),0,255),g=g_a.g_K(y(255*g_a.g_N(e)),0,255);_.g_pE[0]===t&&_.g_pE[1]===p&&_.g_pE[2]===g||(_.g_pE[0]=t,_.g_pE[1]=p,_.g_pE[2]=g,this.g_ps.g_gz=!0)}},t.prototype.g_uy=function(g,_){g&&!!_!=!!g.g_pF&&(g.g_pF=!!_,this.g_ps.g_gz=!0)},t.prototype.g_uz=function(g,_){g&&g.g_mF!==_&&(g.g_mF=_,g.g_mG=g_a.g_bx(g.g_mF),this.g_ps.g_cu&&g_a.g_by(g,g.g_mF,this.g_ps.g_cu),this.g_ps.g_gz=!0)},t.prototype.g_uA=function(){0>this.g_ps.g_hE||(this.g_ps.g_oy().g_ox=!0)},t.prototype.g_uB=function(g){if(!this.g_ps.g_hM&&!this.g_ps.g_hv){for(var _ in this.g_ps.g_gD)if(this.g_ps.g_gD.hasOwnProperty(_)&&g_a.g_bC(_,g))return void(this.g_ps.g_hv=this.g_ps.g_gD[_])}},t.prototype.g_uC=function(){if(!this.g_ps.g_hM&&!this.g_ps.g_hv&&this.g_ps.g_id){this.g_ps.g_hv=this.g_ps.g_id;var _,e,t;for(_=0,e=this.g_ps.g_hZ.length;_<e;_++)t=this.g_ps.g_hZ[_],t.g_o_(t.g_q$)}},t.prototype.g_uD=function(g,_){this.g_ps.g_oH(0===g?"image/png":"image/jpeg",_/100)},t.prototype.g_uE=function(g,_){if(!(0>=g||0>=_)){var e=this.g_ps.g_iD,t=document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||document.fullScreen||this.g_ps.g_hO;t&&0<this.g_ps.g_in&&(e=this.g_ps.g_in),0===e?this.g_ps.setSize(g,_,!0):(this.g_ps.g_iV=g,this.g_ps.g_iW=_,this.g_ps.setSize(this.g_ps.g_gw,this.g_ps.g_gx,!0))}},t.prototype.g_uF=function(g,_){if(this.g_ps.g_id&&this.g_ps.g_er){var e=this.g_ps.g_id.g_pT(_);if(e){var t=1===g;e.active==t||(e.active=t,this.g_ps.g_id.g_iN(),this.g_ps.g_gz=!0)}}},t.prototype.g_uG=function(g,_,e){if(g&&this.g_ps.g_er){var t=g.g_pT(e);if(t){var p=1===_;t.active==p||(t.active=p,g.g_iN(),this.g_ps.g_gz=!0)}}},t.prototype.g_uH=function(g,_,e){if(this.g_ps.g_id&&this.g_ps.g_er){var t=this.g_ps.g_id.g_pT(g);if(t){var p=this.g_ps.g_id.g_mH[t.index];if(_=y(_),!(0>_||_>=p.length)){var o=this.g_ps.g_er.g_fh(t.g_iM,_);1===o?e/=100:2===o&&(e=[g_a.g_L(e),g_a.g_M(e),g_a.g_N(e)]),p[_]===e||(p[_]=e,t.active&&(this.g_ps.g_gz=!0))}}}},t.prototype.g_uI=function(g,_,e,t){if(g&&this.g_ps.g_er){var p=g.g_pT(_);if(p){var o=g.g_mH[p.index];if(e=y(e),!(0>e||e>=o.length)){var n=this.g_ps.g_er.g_fh(p.g_iM,e);1===n?t/=100:2===n&&(t=[g_a.g_L(t),g_a.g_M(t),g_a.g_N(t)]),o[e]===t||(o[e]=t,p.active&&(this.g_ps.g_gz=!0))}}}},t.prototype.g_uJ=function(g){this.g_ps.g_gW=g},t.prototype.g_uK=function(g){this.g_ps.g_gX=g},t.prototype.g_uL=function(g){this.g_ps.g_gY=g},t.prototype.g_uM=function(g){this.g_ps.g_uN=0!==g},t.prototype.g_uO=function(g){var _=document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||document.fullScreen||this.g_hO;(_||0!==this.g_ps.g_iD)&&(this.g_ps.g_ja=0!==g,this.g_ps.setSize(this.g_ps.g_gw,this.g_ps.g_gx,!0))},t.prototype.g_uP=function(){var g,_;for(g=0,_=this.g_ps.g_gE.length;g<_;++g)this.g_ps.g_gE[g].g_qw={},this.g_ps.g_gE[g].g_pV=!0},t.prototype.g_uQ=function(g,_,e,t,p){g&&this.g_ps.g_id.g_pW(g,_,e,t,p)},t.prototype.g_uR=function(g){this.g_ps.g_kX=0!==g,this.g_ps.g_gz=!0},t.prototype.g_uS=function(g){1>g&&(g=1),120<g&&(g=120),this.g_ps.g_hd=g};t.prototype.g_uT=function(g,_){if(g){var e=g.g_kh(),t=e.g_qX(),p=[],o=[],n=this.g_ps.g_id,a=g.g_jD,d=g.g_jK,l,i,h,y,u,c;for(l=0,i=t.length;l<i;++l)h=t[l],h.g_mo&&(y=a?h.g_mB[_+h.type.g_jM[d]]:h.g_mB[_],p.push([h.g_mo.index,h.g_bu()]),o.push([h,y]));if(p.length)for(p.sort(s),o.sort(r),(l=0,i=p.length);l<i;++l)h=o[l][0],u=n.g_iO[p[l][0]],c=p[l][1],u.g_jW[c]!==h&&(u.g_jW[c]=h,h.g_mo=u,u.g_ms(c))}},u.g_uU=new t;a.prototype.int=function(g,_){g_a.g_h(_)?(g.g_sS(parseInt(_,10)),isNaN(g.data)&&(g.data=0)):g.g_sS(_)},a.prototype.float=function(g,_){g_a.g_h(_)?(g.g_sU(parseFloat(_)),isNaN(g.data)&&(g.data=0)):g.g_sU(_)},a.prototype.g_bJ=function(g,_){g_a.g_h(_)?g.g_sR(_):g.g_sR(_.toString())},a.prototype.g_uV=function(g,_){g.g_sS(_.length||0)},a.prototype.random=function(g,_,e){e===void 0?g.g_sU(Math.random()*_):g.g_sU(Math.random()*(e-_)+_)},a.prototype.sqrt=function(g,_){g.g_sU(Math.sqrt(_))},a.prototype.abs=function(g,_){g.g_sU(Math.abs(_))},a.prototype.round=function(g,_){g.g_sS(h(_))},a.prototype.floor=function(g,_){g.g_sS(y(_))},a.prototype.ceil=function(g,_){g.g_sS(Math.ceil(_))},a.prototype.sign=function(g,_){g.g_sU(Math.sign(_))},a.prototype.sin=function(g,_){g.g_sU(Math.sin(g_a.g_W(_)))},a.prototype.cos=function(g,_){g.g_sU(Math.cos(g_a.g_W(_)))},a.prototype.tan=function(g,_){g.g_sU(Math.tan(g_a.g_W(_)))},a.prototype.asin=function(g,_){g.g_sU(g_a.g_X(Math.asin(_)))},a.prototype.acos=function(g,_){g.g_sU(g_a.g_X(Math.acos(_)))},a.prototype.atan=function(g,_){g.g_sU(g_a.g_X(Math.atan(_)))},a.prototype.exp=function(g,_){g.g_sU(Math.exp(_))},a.prototype.g_uW=function(g,_){g.g_sU(l(_))},a.prototype.log10=function(g,_){g.g_sU(l(_)/Math.LN10)},a.prototype.max=function(g){var _=arguments[1];"number"!=typeof _&&(_=0);var e,t,p;for(e=2,t=arguments.length;e<t;e++)p=arguments[e],"number"==typeof p&&_<p&&(_=p);g.g_sU(_)},a.prototype.min=function(g){var _=arguments[1];"number"!=typeof _&&(_=0);var e,t,p;for(e=2,t=arguments.length;e<t;e++)p=arguments[e],"number"==typeof p&&_>p&&(_=p);g.g_sU(_)},a.prototype.g_hb=function(g){g.g_sU(this.g_ps.g_hb)},a.prototype.g_hg=function(g){g.g_sU(this.g_ps.g_hg)},a.prototype.g_uX=function(g){g.g_sU((Date.now()-this.g_ps.g_k$)/1e3)},a.prototype.g_uY=function(g){g.g_sU(Date.now())},a.prototype.time=function(g){g.g_sU(this.g_ps.g_hh.g_aE)},a.prototype.g_hm=function(g){g.g_sS(this.g_ps.g_hm)},a.prototype.g_hq=function(g){g.g_sS(this.g_ps.g_hq)},a.prototype.g_hk=function(g){g.g_sS(this.g_ps.g_hk)},a.prototype.g_uZ=function(g,_){var e,t;if(!this.g_ps.g_hD.length)return void g.g_sS(0);if(_){for(t=this.g_ps.g_hE;0<=t;--t)if(e=this.g_ps.g_hD[t],e.name===_)return void g.g_sS(e.index);g.g_sS(0)}else e=this.g_ps.g_oy(),g.g_sS(e?e.index:-1)},a.prototype.g_u_=function(g,_,e,t,p){g.g_sU(g_a.g_af(_,e,t,p))},a.prototype.angle=function(g,_,e,t,p){g.g_sU(g_a.g_X(g_a.g_aa(_,e,t,p)))},a.prototype.g_u$=function(g){g.g_sU(this.g_ps.g_id.scrollX)},a.prototype.g_va=function(g){g.g_sU(this.g_ps.g_id.scrollY)},a.prototype.g_vb=function(g){g.g_sR("\n")},a.prototype.g_ah=function(g,_,e,t){g.g_sU(g_a.g_ah(_,e,t))},a.prototype.g_ak=function(g,_,e,t,p){g.g_sU(g_a.g_ak(_,e,t,p))},a.prototype.g_al=function(g,_,e,t,p,o){g.g_sU(g_a.g_al(_,e,t,p,o))},a.prototype.g_am=function(g,_,e,t){g.g_sU(g_a.g_am(_,e,t))},a.prototype.g_vc=function(g){g.g_sS(this.g_ps.width)},a.prototype.g_vd=function(g){g.g_sS(this.g_ps.height)},a.prototype.g_ve=function(g,_){g.g_sR(g_a.g_h(_)?_.toUpperCase():"")},a.prototype.g_vf=function(g,_){g.g_sR(g_a.g_h(_)?_.toLowerCase():"")},a.prototype.g_K=function(g,_,e,t){_<e?g.g_sU(e):_>t?g.g_sU(t):g.g_sU(_)},a.prototype.g_vg=function(g,_){var e=this.g_ps.g_ni(_);e?g.g_sU(e.scale):g.g_sU(0)},a.prototype.g_vh=function(g,_){var e=this.g_ps.g_ni(_);e?g.g_sU(100*e.opacity):g.g_sU(0)},a.prototype.g_vi=function(g,_){var e=this.g_ps.g_ni(_);e?g.g_sU(e.g_nA):g.g_sU(0)},a.prototype.g_vj=function(g,_){var e=this.g_ps.g_ni(_);e?g.g_sU(100*e.g_nd):g.g_sU(0)},a.prototype.g_vk=function(g,_){var e=this.g_ps.g_ni(_);e?g.g_sU(100*e.g_ne):g.g_sU(0)},a.prototype.g_vl=function(g,_){var e=this.g_ps.g_ni(_);e?g.g_sS(e.index):g.g_sS(-1)},a.prototype.g_vm=function(g){this.g_ps.g_id?g.g_sU(this.g_ps.g_id.scale):g.g_sU(0)},a.prototype.g_vn=function(g){g.g_sU(g_a.g_X(this.g_ps.g_id.angle))},a.prototype.g_vo=function(g,_){var e=this.g_ps.g_ni(_);e?g.g_sU(g_a.g_X(e.angle)):g.g_sU(0)},a.prototype.g_vp=function(g){g.g_sS(this.g_ps.g_id.width)},a.prototype.g_vq=function(g){g.g_sS(this.g_ps.g_id.height)},a.prototype.find=function(g,_,e){g_a.g_h(_)&&g_a.g_h(e)?g.g_sS(_.search(new RegExp(g_a.g_aG(e),"i"))):g.g_sS(-1)},a.prototype.g_vr=function(g,_,e){g_a.g_h(_)&&g_a.g_h(e)?g.g_sS(_.search(new RegExp(g_a.g_aG(e),""))):g.g_sS(-1)},a.prototype.left=function(g,_,e){g.g_sR(g_a.g_h(_)?_.substr(0,e):"")},a.prototype.right=function(g,_,e){g.g_sR(g_a.g_h(_)?_.substr(_.length-e):"")},a.prototype.g_vs=function(g,_,e,t){g.g_sR(g_a.g_h(_)?_.substr(e,t):"")},a.prototype.g_vt=function(g,_,e,t){if(g_a.g_h(_)&&g_a.g_h(t)){var p=_.split(t),o=g_a.floor(e);0>o||o>=p.length?g.g_sR(""):g.g_sR(p[o])}else g.g_sR("")},a.prototype.g_vu=function(g,_,e){g_a.g_h(_)&&_.length?g.g_sS(_.split(e).length):g.g_sS(0)},a.prototype.replace=function(g,_,e,t){g_a.g_h(_)&&g_a.g_h(e)&&g_a.g_h(t)?g.g_sR(_.replace(new RegExp(g_a.g_aG(e),"gi"),t)):g.g_sR(g_a.g_h(_)?_:"")},a.prototype.trim=function(g,_){g.g_sR(g_a.g_h(_)?_.trim():"")},a.prototype.g_vv=function(g){g.g_sU(g_a.PI)},a.prototype.g_vw=function(g){this.g_ps.g_id?g.g_sR(this.g_ps.g_id.name):g.g_sR("")},a.prototype.g_vx=function(g){g.g_sR(this.g_ps.g_cu?"webgl":"canvas2d")},a.prototype.g_vy=function(g){g.g_sR(this.g_ps.g_gl)},a.prototype.g_vz=function(g,_,e){g.g_sU(g_a.g_X(g_a.g_ab(g_a.g_W(_),g_a.g_W(e))))},a.prototype.g_sP=function(g){var _=g_a.floor(Math.random()*(arguments.length-1));g.g_tf(arguments[_+1])},a.prototype.g_vA=function(_,e,t,g){_.g_sS(g_a.RGB(e,t,g))},a.prototype.g_vB=function(_,e,t,g){_.g_sU(g_a.g_J(e/100,t/100,g/100))},a.prototype.g_vC=function(g){g.g_sR(this.g_ps.g_kZ)},a.prototype.g_vD=function(g){g.g_sR(this.g_ps.name)},a.prototype.g_aj=function(g,_,e,t){_=g_a.g_W(_),e=g_a.g_W(e);var p=g_a.g_ab(_,e);g_a.g_ad(e,_)?g.g_sU(g_a.g__(_+p*t)):g.g_sU(g_a.g__(_-p*t))},a.prototype.g_vE=function(g,_,e,t){_=g_a.g_W(_),e=g_a.g_W(e),t=g_a.g_W(t),g.g_sU(g_a.g__(g_a.g_ac(_,e,t)))},a.prototype.g_vF=function(g,_,e){var t=0>_?"-":"";0>_&&(_=-_);for(var p=e-_.toString().length,o=0;o<p;o++)t+="0";g.g_sR(t+_.toString())},a.prototype.g_hf=function(g){g.g_sU(this.g_ps.g_hf/1e3)},a.prototype.g_vG=function(g){g.g_sU(this.g_ps.g_hu)},a.prototype.g_vH=function(g,_){var e=this.g_ps.g_ni(_);g.g_sU(e?e.g_px:0)},a.prototype.g_vI=function(g,_){var e=this.g_ps.g_ni(_);g.g_sU(e?e.g_pz:0)},a.prototype.g_vJ=function(g,_){var e=this.g_ps.g_ni(_);g.g_sU(e?e.g_py:0)},a.prototype.g_vK=function(g,_){var e=this.g_ps.g_ni(_);g.g_sU(e?e.g_pA:0)},a.prototype.g_hN=function(g){g.g_sU(this.g_ps.g_hN)},a.prototype.g_ai=function(g,_,e,t){g.g_sU(g_a.g_ai(_,e,t))},a.prototype.g_vL=function(g){g.g_sR(this.g_ps.g_iu)},a.prototype.g_vM=function(g,_){g.g_sR(encodeURIComponent(_))},a.prototype.g_vN=function(g,_){g.g_sR(decodeURIComponent(_))},a.prototype.g_vO=function(g,_,e,t){var p=this.g_ps.g_ni(_);g.g_sU(p?p.g_nw(e,t,!0):0)},a.prototype.g_vP=function(g,_,e,t){var p=this.g_ps.g_ni(_);g.g_sU(p?p.g_nw(e,t,!1):0)},a.prototype.g_vQ=function(g,_,e,t){var p=this.g_ps.g_ni(_);g.g_sU(p?p.g_nC(e,t,!0):0)},a.prototype.g_vR=function(g,_,e,t){var p=this.g_ps.g_ni(_);g.g_sU(p?p.g_nC(e,t,!1):0)},a.prototype.g_vS=function(g){g.g_sR(this.g_ps.g_gZ)},a.prototype.g_vT=function(g){this.g_ps.g_er?g.g_sU(h(100*this.g_ps.g_er.g_fC()/1048576)/100):g.g_sU(0)},a.prototype.g_vU=function(g,_,t,p){var o=e(t,p);g.g_sS(_?_.search(o):-1)},a.prototype.g_vV=function(g,_,t,p,o){var n=e(t,p);g.g_sR(_?_.replace(n,o):"")};var T=[],N="",E="",b="";a.prototype.g_vW=function(g,_,t,p){e(t,p);d(_.toString(),t,p),g.g_sS(T?T.length:0)},a.prototype.g_vX=function(g,_,t,p,o){o=y(o);e(t,p);d(_.toString(),t,p),!T||0>o||o>=T.length?g.g_sR(""):g.g_sR(T[o])},a.prototype.g_vY=function(g){g.g_sU(Infinity)},a.prototype.g_vZ=function(g,_,e,t){_|=0,e|=0,t=0===t?0:1,g.g_sS(_&~(1<<e)|t<<e)},a.prototype.g_v_=function(g,_,e){_|=0,e|=0,g.g_sS(_^1<<e)},a.prototype.g_v$=function(g,_,e){_|=0,e|=0,g.g_sS(_&1<<e?1:0)},a.prototype.g_wa=function(g){g.g_sS(this.g_ps.g_iV)},a.prototype.g_wb=function(g){g.g_sS(this.g_ps.g_iW)},a.prototype.g_wc=function(g){g.g_sS(this.g_ps.g_iV)},a.prototype.g_wd=function(g){g.g_sS(this.g_ps.g_iW)},u.g_sO=new a,u.g_lG=function(){var g=this.g_ps.g_nv(),_,e,t,p,n,r,s;for(_=0,t=this.g_lT.length;_<t;_++){if(p=this.g_lT[_],-1===p.time){if(!p.g_th)continue;}else if(p.time>this.g_ps.g_hh.g_aE)continue;for(n in g.g_nu=p.g_ti,g.g_ot=p.g_ot,g.g_oo=0,p.g_mm)p.g_mm.hasOwnProperty(n)&&(r=this.g_ps.g_gC[parseInt(n,10)].g_kh(),s=p.g_mm[n],r.g_nk=s.g_tj,g_a.g_S(r.g_jW,s.g_mn),i(s));p.g_ti.g_rp(),this.g_ps.g_nj(p.g_qR),p.g_tk=!0}for(_=0,e=0,t=this.g_lT.length;_<t;_++)p=this.g_lT[_],this.g_lT[e]=p,p.g_tk?o(p):e++;g_a.g_Q(this.g_lT,e)}}();(function(){var g=Math.atan2,_=Math.cos,e=Math.sin;g_a.g_jw=function(t,p){var o=t[1],n=t[3],i=t[4],s=t[5],r=t[6],a=t[7],d=t[8];p.g_lx||(p.g_lx={}),p.g_uU||(p.g_uU={}),p.g_sO||(p.g_sO={});var l=p.g_lx,h=p.g_uU,y=p.g_sO;n&&(l.g_we=function(g,_){return g_a.g_tn(this.x,g,_)},l.g_wf=function(g,_){return g_a.g_tn(this.y,g,_)},l.g_wg=function(){var g=this.g_mo;this.g_aU();var _=this.g_mI;return!(_.right<g.g_px||_.bottom<g.g_pz||_.left>g.g_py||_.top>g.g_pA)},l.g_wh=function(){this.g_aU();var g=this.g_mI,_=this.g_ps.g_id;return 0>g.right||0>g.bottom||g.left>_.width||g.top>_.height},l.g_wi=function(g,_,e){var t=this.g_kh(),p=t.g_qX();if(!p.length)return!1;var o=p[0],n=o,s=g_a.g_af(o.x,o.y,_,e),r,i,a;for(r=1,i=p.length;r<i;r++)o=p[r],a=g_a.g_af(o.x,o.y,_,e),(0===g&&a<s||1===g&&a>s)&&(s=a,n=o);return t.g_qY(n),!0},h.g_wj=function(g){this.x!==g&&(this.x=g,this.g_mN())},h.g_wk=function(g){this.y!==g&&(this.y=g,this.g_mN())},h.g_wl=function(g,_){(this.x!==g||this.y!==_)&&(this.x=g,this.y=_,this.g_mN())},h.g_wm=function(g,_){var e=g.g_kf(this);if(e){var t,p;e.g_wn?(t=e.g_wn(_,!0),p=e.g_wn(_,!1)):(t=e.x,p=e.y),(this.x!==t||this.y!==p)&&(this.x=t,this.y=p,this.g_mN())}},h.g_wo=function(g){0!==g&&(this.x+=_(this.angle)*g,this.y+=e(this.angle)*g,this.g_mN())},h.g_wp=function(g,t){0!==t&&(this.x+=_(g_a.g_W(g))*t,this.y+=e(g_a.g_W(g))*t,this.g_mN())},y.g_wq=function(g){g.g_sU(this.x)},y.g_wr=function(g){g.g_sU(this.y)},y.g_hb=function(g){g.g_sU(this.g_ps.g_mb(this))}),i&&(l.g_ws=function(g,_){return g_a.g_tn(this.width,g,_)},l.g_wt=function(g,_){return g_a.g_tn(this.height,g,_)},h.g_wu=function(g){this.width!==g&&(this.width=g,this.g_mN())},h.g_wv=function(g){this.height!==g&&(this.height=g,this.g_mN())},h.g_ww=function(g,_){(this.width!==g||this.height!==_)&&(this.width=g,this.height=_,this.g_mN())},y.g_wx=function(g){g.g_sU(this.width)},y.g_wy=function(g){g.g_sU(this.height)},y.g_wz=function(g){this.g_aU(),g.g_sU(this.g_mI.left)},y.g_wA=function(g){this.g_aU(),g.g_sU(this.g_mI.top)},y.g_wB=function(g){this.g_aU(),g.g_sU(this.g_mI.right)},y.g_wC=function(g){this.g_aU(),g.g_sU(this.g_mI.bottom)}),s&&(l.g_tR=function(g,_){return g_a.g_ab(this.angle,g_a.g_W(_))<=g_a.g_W(g)},l.g_tS=function(g){return g_a.g_ad(this.angle,g_a.g_W(g))},l.g_tT=function(g,_){var e=g_a.g_$(g),t=g_a.g_$(_),p=g_a.g_Z(this.angle),o=!g_a.g_ad(t,e);return o?g_a.g_ad(p,e)||!g_a.g_ad(p,t):g_a.g_ad(p,e)&&!g_a.g_ad(p,t)},h.g_wD=function(g){var _=g_a.g_W(g_a.g_Y(g));isNaN(_)||this.angle!==_&&(this.angle=_,this.g_mN())},h.g_wE=function(g){0===g||isNaN(g)||(this.angle+=g_a.g_W(g),this.angle=g_a.g_Z(this.angle),this.g_mN())},h.g_wF=function(g){0===g||isNaN(g)||(this.angle-=g_a.g_W(g),this.angle=g_a.g_Z(this.angle),this.g_mN())},h.g_wG=function(g,_){var e=g_a.g_ac(this.angle,g_a.g_W(_),g_a.g_W(g));isNaN(e)||this.angle!==e&&(this.angle=e,this.g_mN())},h.g_wH=function(_,e,t){var p=e-this.x,o=t-this.y,n=g(o,p),i=g_a.g_ac(this.angle,n,g_a.g_W(_));isNaN(i)||this.angle!==i&&(this.angle=i,this.g_mN())},h.g_wI=function(_,e){var t=_-this.x,p=e-this.y,o=g(p,t);isNaN(o)||this.angle!==o&&(this.angle=o,this.g_mN())},y.g_wJ=function(g){g.g_sU(g_a.g__(this.angle))}),o||(l.g_wK=function(g,_,e){return g_a.g_tn(this.g_mB[g],_,e)},l.g_wL=function(g){return this.g_mB[g]},l.g_wM=function(g,_){var e=this.g_kh(),t=e.g_qX();if(!t.length)return!1;var p=t[0],o=p,n=p.g_mB[_],s,i,r;for(s=1,i=t.length;s<i;s++)p=t[s],r=p.g_mB[_],(0===g&&r<n||1===g&&r>n)&&(n=r,o=p);return e.g_qY(o),!0},l.g_wN=function(g){var _=this.g_ps.g_om(),e,t,p,o,n,i,s;if(_.g_rv){if(s=this.g_kh(),s.g_nk){for(s.g_nk=!1,g_a.g_R(s.g_jW),g_a.g_R(s.g_nx),i=this.g_jW,(e=0,t=i.length);e<t;e++)o=i[e],o.g_kL===g?s.g_nx.push(o):s.g_jW.push(o);return this.g_kv(),!!s.g_jW.length}for(e=0,p=0,t=s.g_jW.length;e<t;e++)o=s.g_jW[e],s.g_jW[p]=o,o.g_kL===g?s.g_nx.push(o):p++;return g_a.g_Q(s.g_jW,p),this.g_kv(),!!s.g_jW.length}if(o=this.g_ps.g_mg(g),!o)return!1;if(s=this.g_kh(),!s.g_nk&&-1===s.g_jW.indexOf(o))return!1;if(this.g_jD){for(n=o.type.g_jL,e=0,t=n.length;e<t;e++)if(n[e]===this)return s.g_qY(o),this.g_kv(),!0;}else if(o.type===this)return s.g_qY(o),this.g_kv(),!0;return!1},l.g_o$=function(){return!0},l.g_mj=function(){return!0},h.g_wO=function(g,_){var e=this.g_mB;if(g_a.g_g(e[g]))e[g]=g_a.g_g(_)?_:parseFloat(_);else if(g_a.g_h(e[g]))e[g]=g_a.g_h(_)?_:_.toString();else;},h.g_wP=function(g,_){var e=this.g_mB;if(g_a.g_g(e[g]))e[g]+=g_a.g_g(_)?_:parseFloat(_);else if(g_a.g_h(e[g]))e[g]+=g_a.g_h(_)?_:_.toString();else;},h.g_wQ=function(g,_){var e=this.g_mB;if(g_a.g_g(e[g]))e[g]-=g_a.g_g(_)?_:parseFloat(_);else;},h.g_wR=function(g,_){this.g_mB[g]=_?1:0},h.g_wS=function(g){this.g_mB[g]=1-this.g_mB[g]},h.g_wT=function(){this.g_ps.g_mh(this)},!h.g_wU&&(h.g_wU=function(g){var _,e,t,p;try{_=JSON.parse(g)}catch(g){return}if(this.g_ps.g_oX(this,_,!0),this.g_pa&&this.g_pa(),this.g_lI)for(e=0,t=this.g_lI.length;e<t;++e)p=this.g_lI[e],p.g_pa&&p.g_pa()}),y.g_wV=function(g){var _=g.g_sT.g_jW.length,e,t,p;for(e=0,t=this.g_ps.g_gU.length;e<t;e++)p=this.g_ps.g_gU[e],g.g_sT.g_jD?0<=p.type.g_jL.indexOf(g.g_sT)&&_++:p.type===g.g_sT&&_++;g.g_sS(_)},y.g_wW=function(g){g.g_sS(g.g_sT.g_kh().g_qX().length)},y.g_wX=function(g){g.g_sS(this.g_kL)},y.g_wY=function(g){g.g_sS(this.g_kO())},!y.g_wZ&&(y.g_wZ=function(g){g.g_sR(JSON.stringify(this.g_ps.g_oQ(this,!0)))})),r&&(l.g_w_=function(){return this.visible},h.g_w$=function(g){!g!=!this.visible&&(this.visible=!!g,this.g_ps.g_gz=!0)},l.g_xa=function(g,_){return g_a.g_tn(g_a.g_bB(100*this.opacity),g,_)},h.g_xb=function(g){var _=g/100;0>_?_=0:1<_&&(_=1),_!==this.opacity&&(this.opacity=_,this.g_ps.g_gz=!0)},y.g_xc=function(g){g.g_sU(g_a.g_bB(100*this.opacity))}),a&&(l.g_xd=function(g){return!!g&&this.g_mo===g},l.g_xe=function(g){var _=this.g_kh(),e=_.g_qX();if(!e.length)return!1;var t=e[0],p=t,o,n;for(o=1,n=e.length;o<n;o++)t=e[o],0===g?(t.g_mo.index>p.g_mo.index||t.g_mo.index===p.g_mo.index&&t.g_bu()>p.g_bu())&&(p=t):(t.g_mo.index<p.g_mo.index||t.g_mo.index===p.g_mo.index&&t.g_bu()<p.g_bu())&&(p=t);return _.g_qY(p),!0},h.g_xf=function(){var g=this.g_mo,_=g.g_jW;_.length&&_[_.length-1]===this||(g.g_mv(this,!1),g.g_nc(this,!1),this.g_ps.g_gz=!0)},h.g_xg=function(){var g=this.g_mo,_=g.g_jW;_.length&&_[0]===this||(g.g_mv(this,!1),g.g_pX(this,!1),this.g_ps.g_gz=!0)},h.g_xh=function(g){g&&g!=this.g_mo&&(this.g_mo.g_mv(this,!0),this.g_mo=g,g.g_nc(this,!0),this.g_ps.g_gz=!0)},h.g_xi=function(g,_){if(_){var e=_.g_kd(this);e&&e.g_kL!==this.g_kL&&(this.g_mo.index!==e.g_mo.index&&(this.g_mo.g_mv(this,!0),this.g_mo=e.g_mo,e.g_mo.g_nc(this,!0)),this.g_mo.g_pY(this,e,0===g),this.g_ps.g_gz=!0)}},y.g_xj=function(g){g.g_sS(this.g_mo.number)},y.g_xk=function(g){g.g_sR(this.g_mo.name)},y.g_xl=function(g){g.g_sS(this.g_bu())}),d&&(h.g_xm=function(g,_){if(this.g_ps.g_er){var e=this.type.g_kt(_);if(!(0>e)){var t=1===g;this.g_mM[e]===t||(this.g_mM[e]=t,this.g_iN(),this.g_ps.g_gz=!0)}}},h.g_xn=function(_,e,t){if(this.g_ps.g_er){var p=this.type.g_kt(_);if(!(0>p)){var o=this.type.g_iL[p],n=this.g_mH[p],i,s,g;if(e=Math.floor(e),!(0>e||e>=n.length)){var r=this.g_ps.g_er.g_fh(o.g_iM,e);if(1===r&&(t/=100),2===r){i=g_a.g_L(t),s=g_a.g_M(t),g=g_a.g_N(t);var a=n[e];if(a[0]===i&&a[1]===s&&a[2]===g)return;a[0]=i,a[1]=s,a[2]=g,o.active&&(this.g_ps.g_gz=!0)}else{if(n[e]===t)return;n[e]=t,o.active&&(this.g_ps.g_gz=!0)}}}}})},g_a.g_mN=function(){this.g_m_=!0,this.g_m$=!0,this.type.g_kA=!0,this.g_ps.g_gz=!0;var g=this.g_mK,_,e;for(_=0,e=g.length;_<e;++_)g[_](this);this.g_mo.g_mp&&this.g_aU()},g_a.g_mO=function(g){g&&this.g_mK.push(g)},g_a.g_aU=function(){if(this.g_m_){var g=this.g_mI,_=this.g_mJ;g.set(this.x,this.y,this.x+this.width,this.y+this.height),g.offset(-this.g_mD*this.width,-this.g_mE*this.height),this.angle?(g.offset(-this.x,-this.y),_.g_B(g,this.angle),_.offset(this.x,this.y),_.g_C(g)):_.g_A(g),g.normalize(),this.g_m_=!1,this.g_mQ()}};var t=new g_a.rect(0,0,0,0);g_a.g_mQ=function(){if(this.g_mo.g_mp){var g=this.g_mo.g_mq,_=this.g_mI;t.set(g.g_bf(_.left),g.g_bg(_.top),g.g_bf(_.right),g.g_bg(_.bottom)),this.g_mr.g_r(t)||(this.g_mr.right<this.g_mr.left?g.update(this,null,t):g.update(this,this.g_mr,t),this.g_mr.g_n(t),this.g_mo.g_pJ=!0)}},g_a.g_mR=function(){if(this.g_m$&&this.g_nb){this.g_aU();var g=this.type.g_kz,_=this.g_mI;t.set(g.g_bf(_.left),g.g_bg(_.top),g.g_bf(_.right),g.g_bg(_.bottom)),this.g_mu.g_r(t)||(this.g_mu.right<this.g_mu.left?g.update(this,null,t):g.update(this,this.g_mu,t),this.g_mu.g_n(t),this.g_m$=!1)}},g_a.g_mP=function(g,_){return!!this.g_mI.g_q(g,_)&&!!this.g_mJ.g_q(g,_)&&(this.g_mT?this.g_xo(g,_):this.g_na&&!this.g_na.g_aT()?(this.g_na.g_aX(this.width,this.height,this.angle),this.g_na.g_q(g-this.x,_-this.y)):!0)},g_a.g_kP=function(){return this.type.g_kb(),this.g_kN},g_a.g_mS=function(){return this.g_mo.g_pZ(),this.g_bv},g_a.g_mY=function(){g_a.g_R(this.g_mL);var g=!0,_,e,t;for(_=0,e=this.g_mM.length;_<e;_++)this.g_mM[_]&&(t=this.type.g_iL[_],this.g_mL.push(t),t.g_ef||(g=!1));this.g_mZ=!!this.g_mL.length,this.g_mX=g},g_a.g_kQ=function(){return"Inst"+this.g_kM},g_a.g_ke=function(g){if(g&&g.g_jP&&g.type!=this){var _,e,t;for(_=0,e=g.siblings.length;_<e;_++)if(t=g.siblings[_],t.type==this)return t}var p=this.g_kh().g_qX();return p.length?p[0]:null},g_a.g_kg=function(g){var _=this.g_kh().g_qX();return _.length?_[g.g_kO()%_.length]:null},g_a.g_kc=function(){if(this.g_ka&&!this.g_jD){var g,_;for(g=0,_=this.g_jW.length;g<_;g++)this.g_jW[g].g_kN=g;var e=g,t=this.g_ps.g_gU;for(g=0,_=t.length;g<_;++g)t[g].type===this&&(t[g].g_kN=e++);this.g_ka=!1}},g_a.g_ky=function(g){if(g<this.g_jW.length)return this.g_jW[g];g-=this.g_jW.length;var _=this.g_ps.g_gU,e,t;for(e=0,t=_.length;e<t;++e)if(_[e].type===this){if(0===g)return _[e];--g}return null},g_a.g_ki=function(){return this.g_jY[this.g_jZ]},g_a.g_kk=function(){this.g_jZ++,this.g_jZ===this.g_jY.length?this.g_jY.push(new g_a.selection(this)):(this.g_jY[this.g_jZ].g_nk=!0,g_a.g_R(this.g_jY[this.g_jZ].g_nx))},g_a.g_km=function(){this.g_jZ++,this.g_jZ===this.g_jY.length&&this.g_jY.push(new g_a.selection(this));var g=this.g_jY[this.g_jZ],_=this.g_jY[this.g_jZ-1];_.g_nk?(g.g_nk=!0,g_a.g_R(g.g_nx)):(g.g_nk=!1,g_a.g_S(g.g_jW,_.g_jW))},g_a.g_ko=function(){this.g_jZ--},g_a.g_kq=function(g){var _=0,e,t,p,o,n;if(!this.g_jD)for(e=0,t=this.g_jL.length;e<t;e++)for(n=this.g_jL[e],p=0,o=n.g_c.length;p<o;p++){if(g===n.g_c[p].name)return this.g_iZ.lastBehIndex=_,n.g_c[p];_++}for(e=0,t=this.g_c.length;e<t;e++){if(g===this.g_c[e].name)return this.g_iZ.lastBehIndex=_,this.g_c[e];_++}return null},g_a.g_ks=function(g){var _=this.g_kp(g);return _?this.g_iZ.lastBehIndex:-1},g_a.g_ku=function(g){var _,e;for(_=0,e=this.g_iL.length;_<e;_++)if(this.g_iL[_].name===g)return _;return-1},g_a.g_kw=function(){if(this.g_jP&&!this.g_jD){var g,_,e,p,o,t,n;this.g_kb(),t=this.g_kh();var i=t.g_nk,s=this.g_ps.g_nv(),r=s&&s.g_nu&&s.g_nu.g_nt;for(g=0,_=this.g_jQ.length;g<_;g++)if(o=this.g_jQ[g],o!==this&&(o.g_kb(),n=o.g_kh(),n.g_nk=i,!i)){for(g_a.g_R(n.g_jW),e=0,p=t.g_jW.length;e<p;++e)n.g_jW[e]=o.g_kx(t.g_jW[e].g_kN);if(r)for(g_a.g_R(n.g_nx),e=0,p=t.g_nx.length;e<p;++e)n.g_nx[e]=o.g_kx(t.g_nx[e].g_kN)}}},g_a.g_kC=function(){return"Type"+this.g_jI},g_a.g_tn=function(g,_,e){if("undefined"==typeof g||"undefined"==typeof e)return!1;switch(_){case 0:return g===e;case 1:return g!==e;case 2:return g<e;case 3:return g<=e;case 4:return g>e;case 5:return g>=e;default:;return!1;}}})(),g_a.g_cU={};g_a.g_b.g_qS=function(g){this.g_ps=g},function(){function g(){if(0===this.g_xp.length){var g=document.createElement("canvas");g.width=this.width,g.height=this.height;var _=g.getContext("2d");this.g_xq?_.drawImage(this.g_qo,this.g_xr,this.g_xs,this.width,this.height,0,0,this.width,this.height):_.drawImage(this.g_qo,0,0,this.width,this.height),this.g_xp=g.toDataURL("image/png")}return this.g_xp}function _(){}function e(){return m.length?m.pop():[0,0,0]}function t(g){g[0]=0,g[1]=0,g[2]=0,m.push(g)}function p(g,_){return g<_?""+g+","+_:""+_+","+g}function o(g,_,t,o){var n=_.g_kL,i=t.g_kL,s=p(n,i);if(g.hasOwnProperty(s))return void(g[s][2]=o);var r=e();r[0]=n,r[1]=i,r[2]=o,g[s]=r}function n(g,_,e){var o=p(_.g_kL,e.g_kL);g.hasOwnProperty(o)&&(t(g[o]),delete g[o])}function i(g,_){var e=_.g_kL,o,p;for(o in g)g.hasOwnProperty(o)&&(p=g[o],(p[0]===e||p[1]===e)&&(t(g[o]),delete g[o]))}function s(g,_,e){var t=p(_.g_kL,e.g_kL);return g.hasOwnProperty(t)?(x=g[t][2],!0):(x=-2,!1)}function r(g,_,e){if(!g)return!1;var t=0!==_||0!==e,p=!1,o=this.g_ps.g_om(),n=o.type,i=o.g_rv,s=g.g_kh(),a=this.g_ps.g_nv().g_nu.g_nt,d,l,h,r,y,u;for(s.g_nk?(this.g_aU(),N.g_n(this.g_mI),N.offset(_,e),this.g_ps.g_nm(this.g_mo,g,N,T),u=T):a?this.g_ps.g_oq()&&!s.g_nx.length&&s.g_jW.length?u=s.g_jW:u=s.g_nx:u=s.g_jW,A=g,M=n!==g&&!i,t&&(d=this.x,l=this.y,this.x+=_,this.y+=e,this.g_mN()),(h=0,r=u.length);h<r;h++)if(y=u[h],this.g_ps.g_nz(this,y)){if(p=!0,i)break;n!==g&&z.add(y)}return t&&(this.x=d,this.y=l,this.g_mN()),g_a.g_R(T),p}function a(){}function d(){}var l=Math.abs,y=Math.round,h=g_a.g_b.g_qS.prototype;h.g_jC=function(g){this.g_ls=g,this.g_ps=g.g_ps};var u=h.g_jC.prototype;u.g_jB=function(){if(!this.g_jD){var _,e,t,p,o,n,i,s,r,a;for(this.g_xt=[],this.g_xu=!1,(_=0,e=this.g_jV.length);_<e;_++){for(o=this.g_jV[_],i={},i.name=o[0],i.speed=o[1],i.loop=o[2],i.g_xv=o[3],i.g_xw=o[4],i.g_xx=o[5],i.g_jI=o[6],i.frames=[],(t=0,p=o[7].length);t<p;t++)n=o[7][t],s={},s.g_jR=n[0],s.g_jS=n[1],s.g_xr=n[2],s.g_xs=n[3],s.width=n[4],s.height=n[5],s.duration=n[6],s.g_mD=n[7],s.g_mE=n[8],s.g_xy=n[9],s.g_xz=n[10],s.g_xA=n[11],s.g_xq=0!==s.width,s.g_xp="",s.g_xB=g,a={},a.left=0,a.top=0,a.right=1,a.bottom=1,s.g_qn=a,s.g_xC=null,r=this.g_ps.g_le(n[0]),r?s.g_qo=r:(s.g_qo=new Image,s.g_qo.g_lf=n[0],s.g_qo.g_lj=n[1],s.g_qo.g_xD=null,this.g_ps.g_la(s.g_qo,n[0])),g_a.seal(s),i.frames.push(s),this.g_xt.push(s);g_a.seal(i),this.g_jV[_]=i}}},u.g_xE=function(){var g,_,e;for(g=0,_=this.g_jW.length;g<_;g++)e=this.g_jW[g],e.g_xF=e.g_qm.g_xC},u.g_je=function(){if(!this.g_jD){var g,_,e;for(g=0,_=this.g_xt.length;g<_;++g)e=this.g_xt[g],e.g_qo.g_xD=null,e.g_xC=null;this.g_xu=!1,this.g_xE()}},u.g_jf=function(){if(!this.g_jD&&this.g_jW.length){var g,_,e;for(g=0,_=this.g_xt.length;g<_;++g)e=this.g_xt[g],e.g_xC=this.g_ps.g_er.g_fu(e.g_qo,!1,this.g_ps.g_iP,e.g_xA);this.g_xE()}},u.g_xG=function(){if(!(this.g_jD||this.g_xu||!this.g_ps.g_er)){var g,_,e;for(g=0,_=this.g_xt.length;g<_;++g)e=this.g_xt[g],e.g_xC=this.g_ps.g_er.g_fu(e.g_qo,!1,this.g_ps.g_iP,e.g_xA);this.g_xu=!0}},u.g_lR=function(){if(!(this.g_jD||this.g_jW.length||!this.g_xu)){var g,_,e;for(g=0,_=this.g_xt.length;g<_;++g)e=this.g_xt[g],this.g_ps.g_er.deleteTexture(e.g_xC),e.g_xC=null;this.g_xu=!1}};var c=[];u.g_qB=function(g){var _,e,t;for(g_a.g_R(c),_=0,e=this.g_xt.length;_<e;++_)t=this.g_xt[_].g_qo,-1===c.indexOf(t)&&(g.drawImage(t,0,0),c.push(t))},h.g_kK=function(g){this.type=g,this.g_ps=g.g_ps;var _=this.type.g_jV[0].frames[0].g_xz;this.g_mz?this.g_na.g_aN(_):this.g_na=new g_a.g_ba(_)};var f=h.g_kK.prototype;f.g_jB=function(){this.visible=this.properties[0],this.g_xH=!1,this.g_xI=!1,this.g_nb=this.properties[3],this.g_xJ=this.g_xK(this.properties[1])||this.type.g_jV[0],this.g_xL=this.properties[2],0>this.g_xL&&(this.g_xL=0),this.g_xL>=this.g_xJ.frames.length&&(this.g_xL=this.g_xJ.frames.length-1);var g=this.g_xJ.frames[this.g_xL];this.g_na.g_aN(g.g_xz),this.g_mD=g.g_mD,this.g_mE=g.g_mE,this.g_xM=0<=this.g_xJ.speed,this.g_xN=l(this.g_xJ.speed),this.g_xO=this.g_xJ.g_xw,1===this.type.g_jV.length&&1===this.type.g_jV[0].frames.length||0===this.g_xN||(this.g_ps.g_lZ(this),this.g_xH=!0),this.g_mz?this.g_xP.reset():this.g_xP=new g_a.g_aF,this.g_xQ=this.g_xR(),this.g_xS=!0,this.g_xT=0,this.g_xU="",this.g_xV="",this.g_xW=0,this.g_xX=-1,this.type.g_xG();var _,e,t,p,o,n,i,s;for(_=0,e=this.type.g_jV.length;_<e;_++)for(o=this.type.g_jV[_],t=0,p=o.frames.length;t<p;t++)n=o.frames[t],0===n.width&&(n.width=n.g_qo.width,n.height=n.g_qo.height),n.g_xq&&(s=n.g_qo,i=n.g_qn,i.left=n.g_xr/s.width,i.top=n.g_xs/s.height,i.right=(n.g_xr+n.width)/s.width,i.bottom=(n.g_xs+n.height)/s.height,0===n.g_xr&&0===n.g_xs&&n.width===s.width&&n.height===s.height&&(n.g_xq=!1));this.g_qm=this.g_xJ.frames[this.g_xL],this.g_xF=this.g_qm.g_xC},f.g_oR=function(){var g={a:this.g_xJ.g_jI,f:this.g_xL,cas:this.g_xN,fs:this.g_xQ,ar:this.g_xT,at:this.g_xP.g_aE,rt:this.g_xO};return this.g_xS||(g.ap=this.g_xS),this.g_xM||(g.af=this.g_xM),g},f.g_oZ=function(g){var _=this.g_xY(g.a);_&&(this.g_xJ=_),this.g_xL=g.f,0>this.g_xL&&(this.g_xL=0),this.g_xL>=this.g_xJ.frames.length&&(this.g_xL=this.g_xJ.frames.length-1),this.g_xN=g.cas,this.g_xQ=g.fs,this.g_xT=g.ar,this.g_xP.reset(),this.g_xP.g_aE=g.at,this.g_xS=!g.hasOwnProperty("ap")||g.ap,this.g_xM=!g.hasOwnProperty("af")||g.af,this.g_xO=g.hasOwnProperty("rt")?g.rt:this.g_xJ.g_xw,this.g_qm=this.g_xJ.frames[this.g_xL],this.g_xF=this.g_qm.g_xC,this.g_na.g_aN(this.g_qm.g_xz),this.g_mD=this.g_qm.g_mD,this.g_mE=this.g_qm.g_mE},f.g_xZ=function(g){this.g_xL=g?0:this.g_xJ.frames.length-1,this.g_xS=!1,this.g_xU=this.g_xJ.name,this.g_xI=!0,this.g_ps.trigger(g_a.g_b.g_qS.prototype.g_lx.g_x_,this),this.g_ps.trigger(g_a.g_b.g_qS.prototype.g_lx.g_x$,this),this.g_xI=!1,this.g_xT=0},f.g_xR=function(){return this.g_xP.g_aE},f.g_iR=function(){this.g_xP.add(this.g_ps.g_mb(this)),this.g_xV.length&&this.g_ya(),0<=this.g_xX&&this.g_yb();var g=this.g_xR(),_=this.g_xJ,e=_.frames[this.g_xL],t=e.duration/this.g_xN,p;this.g_xS&&g>=this.g_xQ+t&&(this.g_xM?this.g_xL++:this.g_xL--,this.g_xQ+=t,this.g_xL>=_.frames.length&&(_.g_xx?(this.g_xM=!1,this.g_xL=_.frames.length-2):_.loop?this.g_xL=this.g_xO:(this.g_xT++,this.g_xT>=_.g_xv?this.g_xZ(!1):this.g_xL=this.g_xO)),0>this.g_xL&&(_.g_xx?(this.g_xL=1,this.g_xM=!0,!_.loop&&(this.g_xT++,this.g_xT>=_.g_xv&&this.g_xZ(!0))):_.loop?this.g_xL=this.g_xO:(this.g_xT++,this.g_xT>=_.g_xv?this.g_xZ(!0):this.g_xL=this.g_xO)),0>this.g_xL?this.g_xL=0:this.g_xL>=_.frames.length&&(this.g_xL=_.frames.length-1),g>this.g_xQ+_.frames[this.g_xL].duration/this.g_xN&&(this.g_xQ=g),p=_.frames[this.g_xL],this.g_qT(e,p),this.g_ps.g_gz=!0)},f.g_xK=function(g){var _,e,t;for(_=0,e=this.type.g_jV.length;_<e;_++)if(t=this.type.g_jV[_],g_a.g_bC(t.name,g))return t;return null},f.g_xY=function(g){var _,e,t;for(_=0,e=this.type.g_jV.length;_<e;_++)if(t=this.type.g_jV[_],t.g_jI===g)return t;return null},f.g_ya=function(){var g=this.g_xJ.frames[this.g_xL],_=this.g_xK(this.g_xV);this.g_xV="";!_||g_a.g_bC(_.name,this.g_xJ.name)&&this.g_xS||(this.g_xJ=_,this.g_xM=0<=_.speed,this.g_xN=l(_.speed),this.g_xO=_.g_xw,0>this.g_xL&&(this.g_xL=0),this.g_xL>=this.g_xJ.frames.length&&(this.g_xL=this.g_xJ.frames.length-1),1===this.g_xW&&(this.g_xL=0),this.g_xS=!0,this.g_xQ=this.g_xR(),this.g_qT(g,this.g_xJ.frames[this.g_xL]),this.g_ps.g_gz=!0)},f.g_yb=function(){var g=this.g_xJ.frames[this.g_xL],_=this.g_xL;this.g_xL=g_a.floor(this.g_xX),0>this.g_xL&&(this.g_xL=0),this.g_xL>=this.g_xJ.frames.length&&(this.g_xL=this.g_xJ.frames.length-1),_!==this.g_xL&&(this.g_qT(g,this.g_xJ.frames[this.g_xL]),this.g_xQ=this.g_xR(),this.g_ps.g_gz=!0),this.g_xX=-1},f.g_qT=function(g,_){var e=g.width,t=g.height,p=_.width,o=_.height;e!=p&&(this.width*=p/e),t!=o&&(this.height*=o/t),this.g_mD=_.g_mD,this.g_mE=_.g_mE,this.g_na.g_aN(_.g_xz),this.g_mN(),this.g_qm=_,this.g_xF=_.g_xC;var n,i,s;for(n=0,i=this.g_lI.length;n<i;n++)s=this.g_lI[n],s.g_yc&&s.g_yc(g,_);this.g_ps.trigger(g_a.g_b.g_qS.prototype.g_lx.g_qT,this)},f.g_lB=function(g){g.globalAlpha=this.opacity;var _=this.g_qm,e=_.g_xq,t=_.g_qo,p=this.x,o=this.y,n=this.width,i=this.height;if(0===this.angle&&0<=n&&0<=i)p-=this.g_mD*n,o-=this.g_mE*i,this.g_ps.g_kX&&(p=y(p),o=y(o)),e?g.drawImage(t,_.g_xr,_.g_xs,_.width,_.height,p,o,n,i):g.drawImage(t,p,o,n,i);else{this.g_ps.g_kX&&(p=y(p),o=y(o)),g.save();var s=0<n?1:-1,r=0<i?1:-1;g.translate(p,o),(1!=s||1!=r)&&g.scale(s,r),g.rotate(this.angle*s*r);var a=0-this.g_mD*g_a.abs(n),d=0-this.g_mE*g_a.abs(i);e?g.drawImage(t,_.g_xr,_.g_xs,_.width,_.height,a,d,g_a.abs(n),g_a.abs(i)):g.drawImage(t,a,d,g_a.abs(n),g_a.abs(i)),g.restore()}},f.g_md=function(g){this.g_lA(g)},f.g_lA=function(g){g.g_eU(this.g_xF),g.g_eT(this.opacity);var _=this.g_qm,e=this.g_mJ;if(this.g_ps.g_kX){var t=y(this.x)-this.x,p=y(this.y)-this.y;_.g_xq?g.g_eZ(e.g_s+t,e.g_t+p,e.g_u+t,e.g_v+p,e.g_w+t,e.g_x+p,e.g_y+t,e.g_z+p,_.g_qn):g.g_I(e.g_s+t,e.g_t+p,e.g_u+t,e.g_v+p,e.g_w+t,e.g_x+p,e.g_y+t,e.g_z+p)}else _.g_xq?g.g_eZ(e.g_s,e.g_t,e.g_u,e.g_v,e.g_w,e.g_x,e.g_y,e.g_z,_.g_qn):g.g_I(e.g_s,e.g_t,e.g_u,e.g_v,e.g_w,e.g_x,e.g_y,e.g_z)},f.g_yd=function(g){var _=this.g_qm,e,t;for(e=0,t=_.g_xy.length;e<t;e++)if(g_a.g_bC(g,_.g_xy[e][0]))return e;return-1},f.g_wn=function(g,_){var e=this.g_qm,t=e.g_xy,p;if(p=g_a.g_h(g)?this.g_yd(g):g-1,p=g_a.floor(p),0>p||p>=t.length)return _?this.x:this.y;var o=(t[p][1]-e.g_mD)*this.width,n=t[p][2];n=(n-e.g_mE)*this.height;var i=Math.cos(this.angle),s=Math.sin(this.angle),r=o*i-n*s;return n=n*i+o*s,o=r,o+=this.x,n+=this.y,_?o:n};var m=[];var x=-2;var j=[];_.prototype.g_ye=function(g){if(!g)return!1;var _=this.g_ps,e=_.g_om(),t=e.type,p=null;e.g_iZ.collmemory?p=e.g_iZ.collmemory:(p={},e.g_iZ.collmemory=p),e.g_iZ.spriteCreatedDestroyCallback||(e.g_iZ.spriteCreatedDestroyCallback=!0,_.g_me(function(g){i(e.g_iZ.collmemory,g)}));var a=t.g_kh(),d=g.g_kh(),h=a.g_qX(),y=this.g_ps.g_hm,u=_.g_nv().g_nu,c=u.g_nt,f,m,l,A,r,z,M,T,N;for(m=0;m<h.length;m++){for(l=h[m],d.g_nk?(l.g_aU(),this.g_ps.g_nm(l.g_mo,g,l.g_mI,j),f=j,this.g_ps.g_nW(l,g,f)):f=d.g_qX(),A=0;A<f.length;A++)r=f[A],_.g_nz(l,r)||_.g_nX(l,r)?(T=s(p,l,r),N=!T||x<y-1,o(p,l,r,y),N&&(_.g_kl(u.g_qR),z=t.g_kh(),M=g.g_kh(),z.g_nk=!1,M.g_nk=!1,t===g?(z.g_jW.length=2,z.g_jW[0]=l,z.g_jW[1]=r,t.g_kv()):(z.g_jW.length=1,M.g_jW.length=1,z.g_jW[0]=l,M.g_jW[0]=r,t.g_kv(),g.g_kv()),u.g_rq(),_.g_kn(u.g_qR))):n(p,l,r);g_a.g_R(j)}return!1};var A=null,z=new g_a.g_ay,M=!1,T=[],N=new g_a.rect(0,0,0,0);u.finish=function(g){if(M){if(g){var _=this.g_ps.g_nv().g_nu.g_nt,e=A.g_kh(),t=z.g_ax(),p,o,n;if(e.g_nk){for(e.g_nk=!1,g_a.g_R(e.g_jW),(p=0,o=t.length);p<o;++p)e.g_jW[p]=t[p];if(_)for(g_a.g_R(e.g_nx),p=0,o=A.g_jW.length;p<o;++p)n=A.g_jW[p],z.contains(n)||e.g_nx.push(n)}else if(_){var i=e.g_jW.length;for(p=0,o=t.length;p<o;++p)e.g_jW[i+p]=t[p],g_a.g_V(e.g_nx,t[p])}else g_a.g_S(e.g_jW,t);A.g_kv()}z.clear(),M=!1}},_.prototype.g_yf=function(g){return r.call(this,g,0,0)},_.prototype.g_yg=function(g,_,e){return r.call(this,g,_,e)},_.prototype.g_yh=function(g){return this.g_xV.length?g_a.g_bC(this.g_xV,g):g_a.g_bC(this.g_xJ.name,g)},_.prototype.g_yi=function(g,_){return g_a.g_tn(this.g_xL,g,_)},_.prototype.g_yj=function(g,_){var e=this.g_xM?this.g_xN:-this.g_xN;return g_a.g_tn(e,g,_)},_.prototype.g_x$=function(g){return g_a.g_bC(this.g_xU,g)},_.prototype.g_x_=function(){return!0},_.prototype.g_qT=function(){return!0},_.prototype.g_yk=function(){return 0>this.width},_.prototype.g_yl=function(){return 0>this.height},_.prototype.g_ym=function(){return!0},_.prototype.g_yn=function(){return this.g_nb},h.g_lx=new _;a.prototype.g_yo=function(g,_,e){if(g&&_){var t=this.g_ps.g_mx(g,_,this.g_wn(e,!0),this.g_wn(e,!1));if(t){"undefined"!=typeof t.angle&&(t.angle=this.angle,t.g_mN()),this.g_ps.g_gR++;var p,o,n;if(this.g_ps.trigger(Object.getPrototypeOf(g.g_ls).g_lx.g_o$,t),t.g_jP)for(p=0,o=t.siblings.length;p<o;p++)n=t.siblings[p],this.g_ps.trigger(Object.getPrototypeOf(n.type.g_ls).g_lx.g_o$,n);this.g_ps.g_gR--;var i=this.g_ps.g_or(),s=!1;(g_a.g_f(i.g_iZ.Spawn_LastExec)||i.g_iZ.Spawn_LastExec<this.g_ps.g_ho)&&(s=!0,i.g_iZ.Spawn_LastExec=this.g_ps.g_ho);var r;if(g!=this.type&&(r=g.g_kh(),r.g_nk=!1,s?(g_a.g_R(r.g_jW),r.g_jW[0]=t):r.g_jW.push(t),t.g_jP))for(p=0,o=t.siblings.length;p<o;p++)n=t.siblings[p],r=n.type.g_kh(),r.g_nk=!1,s?(g_a.g_R(r.g_jW),r.g_jW[0]=n):r.g_jW.push(n)}}},a.prototype.g_yp=function(g){this.g_mF=g,this.g_mG=g_a.g_bx(g),g_a.g_by(this,g,this.g_ps.g_cu),this.g_ps.g_gz=!0},a.prototype.g_yq=function(){this.g_xS=!1},a.prototype.g_yr=function(g){this.g_xS=!0,this.g_xQ=this.g_xR(),1===g&&0!==this.g_xL&&(this.g_xX=0,!this.g_xI&&this.g_yb()),this.g_xH||(this.g_ps.g_lZ(this),this.g_xH=!0)},a.prototype.g_ys=function(g,_){this.g_xV=g,this.g_xW=_,this.g_xH||(this.g_ps.g_lZ(this),this.g_xH=!0),this.g_xI||this.g_ya()},a.prototype.g_yt=function(g){this.g_xX=g,this.g_xH||(this.g_ps.g_lZ(this),this.g_xH=!0),this.g_xI||this.g_yb()},a.prototype.g_yu=function(g){this.g_xN=g_a.abs(g),this.g_xM=0<=g,this.g_xH||(this.g_ps.g_lZ(this),this.g_xH=!0)},a.prototype.g_yv=function(g){g=Math.floor(g),0>g&&(g=0),g>=this.g_xJ.frames.length&&(g=this.g_xJ.frames.length-1),this.g_xO=g},a.prototype.g_yw=function(g){var _=g_a.abs(this.width)*(0===g?-1:1);this.width===_||(this.width=_,this.g_mN())},a.prototype.g_yx=function(g){var _=g_a.abs(this.height)*(0===g?-1:1);this.height===_||(this.height=_,this.g_mN())},a.prototype.g_yy=function(g){var _=this.g_qm,e=0>this.width?-1:1,t=0>this.height?-1:1,p=_.width*g*e,o=_.height*g*t;(this.width!==p||this.height!==o)&&(this.width=p,this.height=o,this.g_mN())},a.prototype.g_yz=function(g,_,e){var t=new Image,p=this,o=this.g_qm;t.onload=function(){return o.g_qo.src===t.src?(p.g_ps.g_er&&p.g_qm===o&&(p.g_xF=o.g_xC),0===_&&(p.width=t.width,p.height=t.height,p.g_mN()),p.g_ps.g_gz=!0,void p.g_ps.trigger(g_a.g_b.g_qS.prototype.g_lx.g_ym,p)):void(o.g_qo=t,o.g_xr=0,o.g_xs=0,o.width=t.width,o.height=t.height,o.g_xq=!1,o.g_xp="",o.g_xA=0,p.g_ps.g_er&&(o.g_xC&&p.g_ps.g_er.deleteTexture(o.g_xC),o.g_xC=p.g_ps.g_er.g_fu(t,!1,p.g_ps.g_iP),p.g_qm===o&&(p.g_xF=o.g_xC),p.type.g_xE()),0===_&&(p.width=t.width,p.height=t.height,p.g_mN()),p.g_ps.g_gz=!0,p.g_ps.trigger(g_a.g_b.g_qS.prototype.g_lx.g_ym,p))},"data:"!==g.substr(0,5)&&0===e&&(t.crossOrigin="anonymous"),this.g_ps.g_jq(t,g)},a.prototype.g_yA=function(g){this.g_nb===(0!==g)||(this.g_nb=0!==g,this.g_nb?this.g_mN():(this.g_mu.right>=this.g_mu.left&&this.type.g_kz.update(this,this.g_mu,null),this.g_mu.set(0,0,-1,-1)))},h.g_uU=new a;d.prototype.g_yB=function(g){g.g_sS(this.g_xL)},d.prototype.g_yC=function(g){g.g_sS(this.g_xJ.frames.length)},d.prototype.g_yD=function(g){g.g_sR(this.g_xJ.name)},d.prototype.g_yE=function(g){g.g_sU(this.g_xM?this.g_xN:-this.g_xN)},d.prototype.g_yF=function(g,_){g.g_sU(this.g_wn(_,!0))},d.prototype.g_yG=function(g,_){g.g_sU(this.g_wn(_,!1))},d.prototype.g_yH=function(g){g.g_sS(this.g_qm.g_xy.length)},d.prototype.g_yI=function(g){g.g_sU(this.g_qm.width)},d.prototype.g_yJ=function(g){g.g_sU(this.g_qm.height)},h.g_sO=new d}();g_a.g_b.g_yK=function(g){this.g_ps=g},function(){function g(){this.id=-1,this.g_za=-1,this.g_zb=!1,this.g_zc=!1,this.g_zd=!1,this.g_ze=!1,this.g_nE=new g_a.rect(0,0,0,0)}function _(){return E.length?E.pop():new g}function e(g){1e4>E.length&&E.push(g)}function t(){this.id=-1,this.g_nE=new g_a.rect(0,0,0,0),this.g_nF=null}function p(){return b.length?b.pop():new t}function o(g){1e4>b.length&&b.push(g)}function n(g,_,e){var t;return L.length?(t=L.pop(),t.g_zf=g,t.x=_,t.y=e,t.left=t.x*t.g_zf.g_bb*t.g_zf.g_zg,t.top=t.y*t.g_zf.g_bc*t.g_zf.g_zh,t.clear(),t.g_zi=!1,t):new i(g,_,e)}function s(g){var _,t;for(_=0,t=g.g_zj.length;_<t;++_)e(g.g_zj[_]);for(g_a.g_R(g.g_zj),_=0,t=g.g_zk.length;_<t;++_)o(g.g_zk[_]);g_a.g_R(g.g_zk),1e3>L.length&&L.push(g)}function i(g,_,e){this.g_zf=g,this.x=_,this.y=e,this.left=this.x*this.g_zf.g_bb*this.g_zf.g_zg,this.top=this.y*this.g_zf.g_bc*this.g_zf.g_zh,this.g_zl=[],this.g_zj=[],this.g_zk=[],this.g_zi=!1;var t,p,o,n,i;for(t=0,p=this.g_zf.g_bc;t<p;++t){for(i=[],o=0,n=this.g_zf.g_bb;o<n;++o)i.push(-1);this.g_zl.push(i)}}function r(g){var _=[],e=g.split(","),o,i,s,p,r,n,t;for(o=0,i=e.length;o<i;++o)if(s=e[o],p=s.indexOf("x"),-1<p)for(r=parseInt(s.substring(0,p),10),t=s.substring(p+1),n=parseInt(t,10),-1<t.indexOf("h")&&(n|=z),-1<t.indexOf("v")&&(n|=M),-1<t.indexOf("d")&&(n|=T);0<r;--r)_.push(n);else n=parseInt(s,10),-1<s.indexOf("h")&&(n|=z),-1<s.indexOf("v")&&(n|=M),-1<s.indexOf("d")&&(n|=T),_.push(n);return _}function a(){}function d(g){return 0===g?0:1===g?z:2===g?M:3===g?z|T:4===g?z|M:5===g?M|T:6===g?z|M|T:7===g?T:0}function l(){}function h(){}var u=Math.ceil,y=Math.round,c=Math.floor,f=Math.min,m=Math.PI,x=g_a.g_b.g_yK.prototype;x.g_jC=function(g){this.g_ls=g,this.g_ps=g.g_ps};var j=x.g_jC.prototype;j.g_jB=function(){var g,_,e;if(!this.g_jD&&(this.g_qo=this.g_ps.g_le(this.g_jR),this.g_qo||(this.g_qo=new Image,this.g_qo.g_lf=this.g_jR,this.g_qo.g_lj=this.g_jS,this.g_qo.g_xD=null,this.g_ps.g_la(this.g_qo,this.g_jR)),this.g_yL=this.g_jU[3],this.g_yM=this.g_jU[4],this.g_yN=this.g_jU[5],this.g_yO=this.g_jU[6],this.g_yP=[],this.g_yQ=!1,this.g_yR=[],this.g_yS=!1,this.g_kJ&&this.g_kJ.length))for(g=0,_=this.g_kJ.length;g<_;++g)e=this.g_kJ[g],e?this.g_yR.push({g_nF:e,g_yT:[[[null,null],[null,null]],[[null,null],[null,null]]]}):this.g_yR.push(null)},j.g_yU=function(g,_,e,t,p,o){if(!(0>g||g>=this.g_yR.length)&&this.g_yR[g]){var n=this.g_yR[g].g_nF,i=this.g_yR[g].g_yT,s=new g_a.g_ba(n);s.g_aX(_,e,0),o&&s.g_a$(),t&&s.g_aZ(_/2),p&&s.g_a_(e/2),i[t?1:0][p?1:0][o?1:0]=s}},j.g_yV=function(g){if(-1===g)return null;var _=g&N;if(0>_||_>=this.g_yR.length)return null;if(!this.g_yR[_])return null;var e=g&z?1:0,t=g&M?1:0,p=g&T?1:0;return this.g_yR[_].g_yT[e][t][p]},j.g_yW=function(){var g=this.g_ps.g_er,_,e;if(g)for(_=0,e=this.g_yP.length;_<e;++_)g.deleteTexture(this.g_yP[_]);g_a.g_R(this.g_yP),this.g_yQ=!1},j.g_yX=function(g,_,e,t,p,o,n){if(!this.g_yQ&&!(0>=g||0>=_)){this.g_yW();var i=this.g_yN,s=this.g_yO,r,a;for(a=t;a+_<=s;a+=_+o)for(r=e;r+g<=i;r+=g+p)this.g_yP.push(this.g_yY(r,a,g,_,n));this.g_yQ=!0}},j.g_yY=function(g,_,e,t,p){if(this.g_ps.g_er)return this.g_yZ(g,_,e,t,!1,!1,!1,p);var o=[[[null,null],[null,null]],[[null,null],[null,null]]];return o[0][0][0]=this.g_yZ(g,_,e,t,!1,!1,!1,p),{g_yT:o,x:g,y:_,w:e,g_y_:t}},j.g_y$=function(g,_,e,t,p){if(0>g||g>=this.g_yP.length)return null;var o=this.g_yP[g],n=o.g_yT,i=_?1:0,s=e?1:0,r=t?1:0,a=n[i][s][r];return a?a:(a=this.g_yZ(o.x,o.y,o.w,o.g_y_,0!=i,0!=s,0!=r,p),n[i][s][r]=a,a)},j.g_yZ=function(g,_,e,t,p,o,n,i){var s=e,r=t;this.g_ps.g_er&&!i&&(!g_a.g_i(s)&&(s=g_a.g_j(s)),!g_a.g_i(r)&&(r=g_a.g_j(r)));var a=document.createElement("canvas");a.width=s,a.height=r;var d=a.getContext("2d");if(this.g_ps.g_gn)return p?o?n?(d.rotate(m/2),d.scale(-1,1),d.translate(-s,-r)):(d.scale(-1,-1),d.translate(-s,-r)):n?(d.rotate(m/2),d.translate(0,-r)):(d.scale(-1,1),d.translate(-s,0)):o?n?(d.rotate(-m/2),d.translate(-s,0)):(d.scale(1,-1),d.translate(0,-r)):n&&(d.scale(-1,1),d.rotate(m/2)),d.drawImage(this.g_qo,this.g_yL+g,this.g_yM+_,e,t,0,0,s,r),i?a:this.g_ps.g_gn.createPattern(a,"repeat");d.drawImage(this.g_qo,this.g_yL+g,this.g_yM+_,e,t,0,0,s,r);var l=this.g_ps.g_er.g_fA(s,r,this.g_ps.g_iP,!1,!i);return this.g_ps.g_er.g_fB(a,l),l},j.g_je=function(){this.g_jD||this.g_yW()},j.g_jf=function(){},j.g_xG=function(){},j.g_lR=function(){this.g_jD||this.g_jW.length||this.g_yW()},j.g_qB=function(){},x.g_kK=function(g){this.type=g,this.g_ps=g.g_ps};var A=x.g_kK.prototype,z=-2147483648,M=1073741824,T=536870912,N=536870911;var E=[];var b=[];var L=[];i.prototype.clear=function(){var g,_,e,t,p;for(this.g_zl.length=this.g_zf.g_bc,g=0,_=this.g_zl.length;g<_;++g)for(p=this.g_zl[g],p||(p=[],this.g_zl[g]=p),p.length=this.g_zf.g_bb,(e=0,t=p.length);e<t;++e)p[e]=-1},i.prototype.g_zm=function(){if(!this.g_zi){var g=this.g_zf.g_zg,n=this.g_zf.g_zh;if(!(0>=g||0>=n)){var s,i,r,a,d,l,h,y,u,t,m;for(s=0,r=this.g_zj.length;s<r;++s)e(this.g_zj[s]);for(s=0,r=this.g_zk.length;s<r;++s)o(this.g_zk[s]);g_a.g_R(this.g_zj),g_a.g_R(this.g_zk);var x=f(this.g_zf.g_zn,c(this.g_zf.width/g)),j=f(this.g_zf.g_zo,c(this.g_zf.height/n));x-=this.left/g,j-=this.top/n,x>this.g_zf.g_bb&&(x=this.g_zf.g_bb),j>this.g_zf.g_bc&&(j=this.g_zf.g_bc);var A=this.g_zf.g_zp,E=null;for(a=0,d=j;a<d;++a){for(y=this.g_zl[a],l=0,h=x;l<h;++l){if(u=y[l],-1===u){E&&(this.g_zj.push(E),E=null);continue}A||!E||u!==E.id?(E&&this.g_zj.push(E),E=_(),E.id=u,E.g_za=u&N,E.g_zb=0!=(u&z),E.g_zc=0!=(u&M),E.g_zd=0!=(u&T),E.g_ze=E.g_zb||E.g_zc||E.g_zd,E.g_nE.left=l*g+this.left,E.g_nE.top=a*n+this.top,E.g_nE.right=E.g_nE.left+g,E.g_nE.bottom=E.g_nE.top+n):E.g_nE.right+=g}E&&(this.g_zj.push(E),E=null)}var b=null,L=!1,w,C,D;for(a=0,d=j;a<d;++a){for(y=this.g_zl[a],l=0,h=x;l<h;++l){if(u=y[l],-1===u){b&&(this.g_zk.push(b),b=null,L=!1);continue}w=u&N,C=this.g_zf.type.g_yV(u),!b||C||L?(b&&(this.g_zk.push(b),b=null),b=p(),b.id=u,b.g_nF=C?C:null,D=b.g_nE,D.left=l*g+this.left,D.top=a*n+this.top,D.right=D.left+g,D.bottom=D.top+n,L=!!C):b.g_nE.right+=g}b&&(this.g_zk.push(b),b=null,L=!1)}if(!A)for(r=this.g_zj.length,s=0;s<r;++s)for(m=this.g_zj[s],i=s+1;i<r;++i)if(t=this.g_zj[i],!(t.g_nE.top<m.g_nE.bottom)){if(t.g_nE.top>m.g_nE.bottom)break;if(t.g_nE.right>m.g_nE.right||t.g_nE.left>m.g_nE.left)break;t.id===m.id&&t.g_nE.left===m.g_nE.left&&t.g_nE.right===m.g_nE.right&&(e(this.g_zj[i]),this.g_zj.splice(i,1),--r,m.g_nE.bottom+=n,--i)}r=this.g_zk.length;var k,O;for(s=0;s<r;++s)if(m=this.g_zk[s],!m.g_nF)for(O=m.g_nE,i=s+1;i<r;++i)if(t=this.g_zk[i],k=t.g_nE,!(k.top<O.bottom)){if(k.top>O.bottom)break;if(k.right>O.right||k.left>O.left)break;t.g_nF||k.left!==O.left||k.right!==O.right||(o(this.g_zk[i]),this.g_zk.splice(i,1),--r,O.bottom+=n,--i)}this.g_zi=!0}}},i.prototype.g_zq=function(g,_,e){this.g_zl[_][g]!==e&&(this.g_zl[_][g]=e,this.g_zi=!1,this.g_zf.g_zr=!0,this.g_zf.g_zs=!0,this.g_zf.g_ps.g_gz=!0)},A.g_jB=function(){var g,_,e;this.visible=this.properties[0],this.g_zg=this.properties[1],this.g_zh=this.properties[2],this.g_zt=this.properties[3],this.g_zu=this.properties[4],this.g_zv=this.properties[5],this.g_zw=this.properties[6],this.g_zp=!0,this.g_zn=this.g_mU,this.g_zo=this.g_mV,this.g_zx=this.width,this.g_zy=this.height;var t=this.g_zg,p=this.g_zh;if(0===t&&(t=1),0===p&&(p=1),this.g_bb=u(this.g_ps.g_iV/t),this.g_bc=u(this.g_ps.g_iW/p),!this.type.g_yS)for(this.type.g_yS=!0,g=0,_=this.type.g_yR.length;g<_;++g)e=this.type.g_yR[g],e&&(this.type.g_yU(g,t,p,!1,!1,!1),this.type.g_yU(g,t,p,!1,!1,!0),this.type.g_yU(g,t,p,!1,!0,!1),this.type.g_yU(g,t,p,!1,!0,!0),this.type.g_yU(g,t,p,!0,!1,!1),this.type.g_yU(g,t,p,!0,!1,!0),this.type.g_yU(g,t,p,!0,!0,!1),this.type.g_yU(g,t,p,!0,!0,!0));this.g_mz||(this.g_zz=[]),this.g_zA(!0),this.g_zB(this.g_mW),this.type.g_yX(this.g_zg,this.g_zh,this.g_zt,this.g_zu,this.g_zv,this.g_zw,this.g_zp),this.g_zs=!1,this.g_zr=!0,this.g_zC()},A.g_zC=function(){if(this.g_zr){var g,_,e,t,p;for(g=0,_=this.g_zz.length;g<_;++g)for(p=this.g_zz[g],e=0,t=p.length;e<t;++e)p[e].g_zm();this.g_zr=!1}},A.g_zD=function(){var g,_,e,t,p;for(g=0,_=this.g_zz.length;g<_;++g)for(p=this.g_zz[g],e=0,t=p.length;e<t;++e)p[e].g_zi=!1;this.g_zr=!0};A.g_zA=function(g){var _=g_a.floor(this.width/this.g_zg),e=g_a.floor(this.height/this.g_zh);if(!(_<=this.g_zn&&e<=this.g_zo&&!g)){var t,p;g?(t=u(this.g_zo/this.g_bc),p=u(this.g_zn/this.g_bb)):(t=this.g_zz.length,p=u(this.g_zn/this.g_bb),e>this.g_zo&&(this.g_zo=e,t=u(this.g_zo/this.g_bc)),_>this.g_zn&&(this.g_zn=_,p=u(this.g_zn/this.g_bb)),this.g_zD(),this.g_zs=!0,this.g_ps.g_gz=!0);var o,i,s;for(o=0;o<t;++o)if(s=this.g_zz[o],!s){for(s=[],i=0;i<p;++i)s.push(n(this,i,o));this.g_zz[o]=s}else for(i=s.length;i<p;++i)s.push(n(this,i,o))}},A.g_zE=function(g,_){if(0>g||0>_)return null;var e=g_a.floor(_/this.g_bc);if(e>=this.g_zz.length)return null;var t=this.g_zz[e],p=g_a.floor(g/this.g_bb);return p>=t.length?null:t[p]},A.g_zF=function(g,_){if(0>g||0>_||_>=this.g_zz.length)return null;var e=this.g_zz[_];return g>=e.length?null:e[g]},A.g_zB=function(g){var _=r(g),e=0,t,p,o,n;for(t=0;t<this.g_zo;++t)for(p=0;p<this.g_zn;++p)o=_[e++],n=this.g_zE(p,t),n&&n.g_zq(p%this.g_bb,t%this.g_bc,o)},A.g_zG=function(){var g="";if(0>=this.g_zn||0>=this.g_zo)return g;var _=1,e=this.g_zH(0,0),p,o,n,i,s,t,r,a,d;for(i=g_a.floor(this.width/this.g_zg),o=g_a.floor(this.height/this.g_zh),p=0;p<o;++p)for(n=0===p?1:0;n<i;++n)s=this.g_zH(n,p),s===e?++_:(-1===e?(t=-1,r=!1,a=!1,d=!1):(t=e&N,r=0!=(e&z),a=0!=(e&M),d=0!=(e&T)),g+=1==_?""+t:""+_+"x"+t,r&&(g+="h"),a&&(g+="v"),d&&(g+="d"),g+=",",_=1,e=s);return-1===e?(t=-1,r=!1,a=!1,d=!1):(t=e&N,r=0!=(e&z),a=0!=(e&M),d=0!=(e&T)),g+=1==_?""+t:""+_+"x"+t,r&&(g+="h"),a&&(g+="v"),d&&(g+="d"),g},A.g_zH=function(g,_){if(g=c(g),_=c(_),0>g||0>_||g>=this.g_zn||_>=this.g_zo)return-1;var e=this.g_zE(g,_);return e?e.g_zl[_%this.g_bc][g%this.g_bb]:-1},A.g_zq=function(g,_,e){if(g=c(g),_=c(_),0>g||0>_||g>=this.g_zn||_>=this.g_zo)return-1;var t=this.g_zE(g,_);return t?void t.g_zq(g%this.g_bb,_%this.g_bc,e):-1},A.g_zI=function(g){return c((g-this.x)/(this.g_bb*this.g_zg))},A.g_zJ=function(g){return c((g-this.y)/(this.g_bc*this.g_zh))},A.g_zK=function(g){return c((g-this.x)/this.g_zg)},A.g_zL=function(g){return c((g-this.y)/this.g_zh)},A.g_nD=function(g,_){var e=this.g_zI(g.left),t=this.g_zJ(g.top),p=this.g_zI(g.right),o=this.g_zJ(g.bottom),n,i,s;for(n=e;n<=p;++n)for(i=t;i<=o;++i)s=this.g_zF(n,i),s&&(s.g_zm(),g_a.g_T(_,s.g_zk))},A.g_xo=function(g,_){var e=this.g_zK(g),t=this.g_zL(_),p=this.g_zH(e,t);if(-1===p)return!1;var o=this.type.g_yV(p);if(!o)return!0;var n=c((g-this.x)/this.g_zg)*this.g_zg+this.x,i=c((_-this.y)/this.g_zh)*this.g_zh+this.y;return g-=n,_-=i,o.g_q(g,_)},A.g_zM=function(g){var _,e,t,p,o,n;for(_=0,e=this.g_zz.length;_<e;++_)for(o=this.g_zz[_],t=0,p=o.length;t<p;++t)n=o[t],n.g_zm(),g_a.g_T(g,n.g_zk)},A.g_mw=function(){var g,_,e,t,p;for(g=0,_=this.g_zz.length;g<_;++g){for(p=this.g_zz[g],e=0,t=p.length;e<t;++e)s(p[e]);g_a.g_R(p)}g_a.g_R(this.g_zz)},A.g_oR=function(){this.g_zA();var g=g_a.floor(this.width/this.g_zg),_=g_a.floor(this.height/this.g_zh);return{w:g,h:_,d:this.g_zG()}},A.g_oZ=function(g){this.g_zn=g.w,this.g_zo=g.h,this.g_zA(!0),this.g_zB(g.d),this.g_zs=!0,this.g_zD()},A.g_lB=function(g){if(!(0>=this.g_zg||0>=this.g_zh)){this.type.g_yX(this.g_zg,this.g_zh,this.g_zt,this.g_zu,this.g_zv,this.g_zw,this.g_zp),(this.width!==this.g_zx||this.height!==this.g_zy)&&(this.g_zs=!0,this.g_zD(),this.g_zC(),this.g_zx=this.width,this.g_zy=this.height),g.globalAlpha=this.opacity;var _=this.g_mo,e=_.g_px,t=_.g_pz,p=_.g_py,o=_.g_pA,n=this.x,s=this.y,r=this.g_zp,a;this.g_ps.g_kX&&(n=y(n),s=y(s));var d=this.g_bb*this.g_zg,l=this.g_bc*this.g_zh,h=c((e-n)/d),u=c((p-n)/d),f=c((t-s)/l),m=c((o-s)/l),x=n%this.g_zg,j=s%this.g_zh;this.g_zp&&(x=0,j=0),(0!=x||0!=j)&&(g.save(),g.translate(x,j),n-=x,s-=j,e-=x,t-=j,p-=x,o-=j);var A,z,M,T,i,N,E,b,L,w,C;for(A=h;A<=u;++A)for(z=f;z<=m;++z)if(M=this.g_zF(A,z),M)for(M.g_zm(),T=0,i=M.g_zj.length;T<i;++T)N=M.g_zj[T],-1===N.id||(a=N.g_nE,E=a.left+n,b=a.top+s,L=a.right+n,w=a.bottom+s,!(E>p||L<e||b>o||w<t)&&(C=this.type.g_y$(N.g_za,N.g_zb,N.g_zc,N.g_zd,this.g_zp),r?g.drawImage(C,E,b):(g.fillStyle=this.type.g_y$(N.g_za,N.g_zb,N.g_zc,N.g_zd,this.g_zp),g.fillRect(E,b,L-E,w-b))));(0!=x||0!=j)&&g.restore()}};var w=new g_a.rect(0,0,1,1);A.g_md=function(g){this.g_lA(g)},A.g_lA=function(g){if(!(0>=this.g_zg||0>=this.g_zh)){this.type.g_yX(this.g_zg,this.g_zh,this.g_zt,this.g_zu,this.g_zv,this.g_zw,this.g_zp),(this.width!==this.g_zx||this.height!==this.g_zy)&&(this.g_zs=!0,this.g_zD(),this.g_zC(),this.g_zx=this.width,this.g_zy=this.height),g.g_eT(this.opacity);var _=this.type.g_yP,e=this.g_mo,t=e.g_px,p=e.g_pz,o=e.g_py,n=e.g_pA,s=this.x,r=this.y,a;this.g_ps.g_kX&&(s=y(s),r=y(r));var d=this.g_bb*this.g_zg,l=this.g_bc*this.g_zh,h=c((t-s)/d),u=c((o-s)/d),f=c((p-r)/l),m=c((n-r)/l),x,i,j,A,z,M,T,N,E,b,L,C,D,k,O,R,v,U,I;for(v=h;v<=u;++v)for(U=f;U<=m;++U)if(I=this.g_zF(v,U),I)for(I.g_zm(),x=0,i=I.g_zj.length;x<i;++x)j=I.g_zj[x],-1===j.id||(a=j.g_nE,A=a.left+s,z=a.top+r,M=a.right+s,T=a.bottom+r,!(A>o||M<t||z>n||T<p)&&(g.g_eU(_[j.g_za]),w.right=(M-A)/this.g_zg,w.bottom=(T-z)/this.g_zh,j.g_ze?(j.g_zd&&(R=w.right,w.right=w.bottom,w.bottom=R),N=0,E=0,b=w.right,L=0,C=w.right,D=w.bottom,k=0,O=w.bottom,j.g_zd&&(R=k,k=b,b=R,R=O,O=L,L=R),j.g_zb&&(R=N,N=b,b=R,R=E,E=L,L=R,R=k,k=C,C=R,R=O,O=D,D=R),j.g_zc&&(R=N,N=k,k=R,R=E,E=O,O=R,R=b,b=C,C=R,R=L,L=D,D=R),g.g_e_(A,z,M,z,M,T,A,T,N,E,b,L,C,D,k,O)):g.g_eZ(A,z,M,z,M,T,A,T,w)))}};a.prototype.g_zN=function(g,_,e,p){var t=this.g_zH(g,_);return-1!==t&&(t&=N),g_a.g_tn(t,e,p)};a.prototype.g_zO=function(g,_,e){var t=this.g_zH(g,_),p=0;return-1!==t&&(p=t&3758096384),p===d(e)},a.prototype.g_ym=function(){return!0},x.g_lx=new a;l.prototype.g_zP=function(g,_){this.g_zA(),this.g_zq(g,_,-1)},l.prototype.g_zQ=function(g,_,e,t){this.g_zA(),this.g_zq(g,_,e&N|d(t))},l.prototype.g_zR=function(g,_,e){var p=this.g_zH(g,_);-1!==p&&(this.g_zA(),this.g_zq(g,_,p&N|d(e)))},l.prototype.g_zS=function(g,_,e,t){var p=c(g_a.max(g,0)),o=c(g_a.max(_,0)),n=c(g_a.min(g+e,this.g_zn)),i=c(g_a.min(_+t,this.g_zo)),s,r;for(r=o;r<i;++r)for(s=p;s<n;++s)this.g_zq(s,r,-1)},l.prototype.g_zT=function(g,_,e,p,o,t){this.g_zA();var n=c(g_a.max(g,0)),i=c(g_a.max(_,0)),s=c(g_a.min(g+e,this.g_zn)),r=c(g_a.min(_+p,this.g_zo)),a=o&N|d(t),l,h;for(h=i;h<r;++h)for(l=n;l<s;++l)this.g_zq(l,h,a)},l.prototype.g_zU=function(g,_,e,p,o){this.g_zA();var n=c(g_a.max(g,0)),i=c(g_a.max(_,0)),s=c(g_a.min(g+e,this.g_zn)),r=c(g_a.min(_+p,this.g_zo)),a=d(o),l,h,y;for(h=i;h<r;++h)for(l=n;l<s;++l)y=this.g_zH(l,h),-1!==y&&this.g_zq(l,h,y&N|a)},l.prototype.g_zV=function(g){var _;try{_=JSON.parse(g)}catch(g){return}_.c2tilemap&&(this.g_zn=_.width,this.g_zo=_.height,this.g_zA(!0),this.g_zB(_.data),this.g_zD(),this.g_zs=!0)},l.prototype.g_zW=function(g){var _=document.createElement("a"),e={c2tilemap:!0,width:this.g_zn,height:this.g_zo,data:this.g_zG()};if("undefined"==typeof _.download){var t="data:text/html,"+encodeURIComponent("<p><a download='data.json' href=\"data:application/json,"+encodeURIComponent(JSON.stringify(e))+"\">Download link</a></p>");window.open(t)}else{var p=document.getElementsByTagName("body")[0];_.textContent=g,_.href="data:application/json,"+encodeURIComponent(JSON.stringify(e)),_.download=g,p.appendChild(_);var o=document.createEvent("MouseEvent");o.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),_.dispatchEvent(o),p.removeChild(_)}},l.prototype.g_yz=function(g,_){var e=new Image,t=this;e.onload=function(){var g=t.type;g.g_yW(),g.g_qo=e,g.g_yL=0,g.g_yM=0,g.g_yN=e.width,g.g_yO=e.height,t.g_ps.g_gz=!0,t.g_ps.trigger(g_a.g_b.g_yK.prototype.g_lx.g_ym,t)},"data:"!==g.substr(0,5)&&0===_&&(e.crossOrigin="anonymous"),this.g_ps.g_jq(e,g)},x.g_uU=new l;h.prototype.g_zX=function(g,_,e){var t=this.g_zH(_,e);g.g_sS(-1===t?-1:t&N)},h.prototype.g_zY=function(g,_){g.g_sU(this.g_zK(_))},h.prototype.g_zZ=function(g,_){g.g_sU(this.g_zL(_))},h.prototype.g_z_=function(g,_){g.g_sU(_*this.g_zg+this.x+this.g_zg/2)},h.prototype.g_z$=function(g,_){g.g_sU(_*this.g_zh+this.y+this.g_zh/2)},h.prototype.g_Aa=function(g,_){g.g_sU(c((_-this.x)/this.g_zg)*this.g_zg+this.x+this.g_zg/2)},h.prototype.g_Ab=function(g,_){g.g_sU(c((_-this.y)/this.g_zh)*this.g_zh+this.y+this.g_zh/2)},h.prototype.g_Ac=function(g){this.g_zA();var _=g_a.floor(this.width/this.g_zg),e=g_a.floor(this.height/this.g_zh);g.g_sR(JSON.stringify({c2tilemap:!0,width:_,height:e,data:this.g_zG()}))},x.g_sO=new h}();g_a.g_c.g_kF=function(g){this.g_ps=g},function(){function g(){}function _(){}var e=g_a.g_c.g_kF.prototype;e.g_jC=function(g,_){this.behavior=g,this.g_Ad=_,this.g_ps=g.g_ps};var t=e.g_jC.prototype;t.g_jB=function(){},e.g_kK=function(g,_){this.type=g,this.behavior=g.behavior,this.g_zf=_,this.g_ps=g.g_ps};var p=e.g_kK.prototype;p.g_jB=function(){this.g_zf.g_iZ.solidEnabled=this.properties[0]},p.g_iR=function(){};g.prototype.g_Ae=function(){return this.g_zf.g_iZ.solidEnabled},e.g_lx=new g;_.prototype.g_Af=function(g){this.g_zf.g_iZ.solidEnabled=!!g},e.g_uU=new _}();g_a.g_c.g_Ag=function(g){this.g_ps=g},function(){function g(){}function _(){}function e(){}var t=Math.abs,p=Math.sqrt,o=Math.max,n=Math.cos,i=Math.sin,s=Math.PI,r=g_a.g_c.g_Ag.prototype;r.g_jC=function(g,_){this.behavior=g,this.g_Ad=_,this.g_ps=g.g_ps};var a=r.g_jC.prototype;a.g_jB=function(){};var d=0,l=1,h=3;r.g_kK=function(g,_){this.type=g,this.behavior=g.behavior,this.g_zf=_,this.g_ps=g.g_ps,this.g_Ah=!1,this.g_Ai=!1,this.g_Aj=!1,this.g_Ak=!1,this.g_Al=!1,this.g_Am=!1,this.g_An=!1,this.g_Ao=!1,this.g_Ap=!1,this.g_Aq=!1,this.g_Ar=null,this.g_As=-1,this.g_At=0,this.g_Au=0,this.g_Av=!1,this.g_Aw=d,this.g_Ax=0,this.g_Ay=!0,this.dx=0,this.dy=0};var y=r.g_kK.prototype;y.g_Az=function(){this.g_AA=n(this.g_AB),this.g_AC=i(this.g_AB),this.g_AD=n(this.g_AB-s/2),this.g_AE=i(this.g_AB-s/2),this.g_AA=g_a.g_bB(this.g_AA),this.g_AC=g_a.g_bB(this.g_AC),this.g_AD=g_a.g_bB(this.g_AD),this.g_AE=g_a.g_bB(this.g_AE),this.g_AF=this.g_AG,0>this.g_AG&&(this.g_AA*=-1,this.g_AC*=-1,this.g_AG=t(this.g_AG))},y.g_jB=function(){this.g_AH=this.properties[0],this.g_AI=this.properties[1],this.g_AJ=this.properties[2],this.g_AK=this.properties[3],this.g_AG=this.properties[4],this.g_AF=this.g_AG,this.g_AL=this.properties[5],this.g_AM=this.properties[6],this.g_AN=this.properties[7]/1e3,this.g_AO=this.properties[8],this.enabled=this.properties[9],this.g_AP=!1,this.g_AQ=this.g_ps.g_nP(this.g_zf),this.g_AR=-1,this.g_AS=0,this.g_AB=g_a.g_W(90),this.g_Az();var g=this;this.g_AO&&(document.addEventListener("keydown",function(_){g.g_AT(_)}),document.addEventListener("keyup",function(_){g.g_AU(_)})),this.g_mz||(this.g_AV=function(_){g.g_AW(_)}),this.g_ps.g_me(this.g_AV),this.g_zf.g_iZ.isPlatformBehavior=!0},y.g_oR=function(){return{ii:this.g_An,lfx:this.g_At,lfy:this.g_Au,lfo:this.g_Ar?this.g_Ar.g_kL:-1,am:this.g_Aw,en:this.enabled,fall:this.g_Ax,ft:this.g_Ay,dx:this.dx,dy:this.dy,ms:this.g_AH,acc:this.g_AI,dec:this.g_AJ,js:this.g_AK,g:this.g_AG,g1:this.g_AF,mf:this.g_AL,wof:this.g_AP,woj:this.g_AQ?this.g_AQ.g_kL:-1,ga:this.g_AB,edj:this.g_AM,cdj:this.g_Am,dj:this.g_Al,sus:this.g_AN}},y.g_oZ=function(g){this.g_An=g.ii,this.g_At=g.lfx,this.g_Au=g.lfy,this.g_As=g.lfo,this.g_Aw=g.am,this.enabled=g.en,this.g_Ax=g.fall,this.g_Ay=g.ft,this.dx=g.dx,this.dy=g.dy,this.g_AH=g.ms,this.g_AI=g.acc,this.g_AJ=g.dec,this.g_AK=g.js,this.g_AG=g.g,this.g_AF=g.g1,this.g_AL=g.mf,this.g_AP=g.wof,this.g_AR=g.woj,this.g_AB=g.ga,this.g_AM=g.edj,this.g_Am=g.cdj,this.g_Al=g.dj,this.g_AN=g.sus,this.g_Ah=!1,this.g_Ai=!1,this.g_Aj=!1,this.g_Ak=!1,this.g_Ao=!1,this.g_Ap=!1,this.g_Aq=!1,this.g_AS=0,this.g_Az()},y.g_pa=function(){this.g_Ar=-1===this.g_As?null:this.g_ps.g_mg(this.g_As),this.g_AQ=-1===this.g_AR?null:this.g_ps.g_mg(this.g_AR)},y.g_AW=function(g){this.g_Ar==g&&(this.g_Ar=null)},y.g_mw=function(){this.g_Ar=null,this.g_ps.g_mf(this.g_AV)},y.g_AT=function(g){switch(g.which){case 38:g.preventDefault(),this.g_Aj=!0;break;case 37:g.preventDefault(),this.g_Ah=!0;break;case 39:g.preventDefault(),this.g_Ai=!0;}},y.g_AU=function(g){switch(g.which){case 38:g.preventDefault(),this.g_Aj=!1,this.g_Ak=!1;break;case 37:g.preventDefault(),this.g_Ah=!1;break;case 39:g.preventDefault(),this.g_Ai=!1;}},y.g_iT=function(){this.g_Ah=!1,this.g_Ai=!1,this.g_Aj=!1},y.g_AX=function(){return 0>this.g_AG?-1:1},y.g_AY=function(){var g=null,_=null,e=this.g_zf.x,t=this.g_zf.y,p,o,n;if(this.g_zf.x+=this.g_AA,this.g_zf.y+=this.g_AC,this.g_zf.g_mN(),this.g_Ar&&this.g_ps.g_nz(this.g_zf,this.g_Ar)&&(!this.g_ps.g_nI(this.g_Ar.type,g_a.g_c.g_kF)||this.g_Ar.g_iZ.solidEnabled))return this.g_zf.x=e,this.g_zf.y=t,this.g_zf.g_mN(),this.g_Ar;if(g=this.g_ps.g_nN(this.g_zf),g||0!==this.g_Ax||(_=this.g_ps.g_nP(this.g_zf,!0)),this.g_zf.x=e,this.g_zf.y=t,this.g_zf.g_mN(),g)return this.g_ps.g_nz(this.g_zf,g)?null:(this.g_Av=!1,g);if(_&&_.length){for(p=0,n=0,o=_.length;p<o;p++)_[n]=_[p],this.g_ps.g_nz(this.g_zf,_[p])||n++;if(1<=n)return this.g_Av=!0,_[0]}return null},y.g_iR=function(){},y.g_lJ=function(){var g=this.g_ps.g_mb(this.g_zf),_,e,n,s,r,a,i,y,u,c;this.g_Aj||this.g_Aq||(this.g_Ak=!1);var f=this.g_Ah||this.g_Ao,m=this.g_Ai||this.g_Ap,x=this.g_Aj||this.g_Aq,j=x&&!this.g_Ak;if(this.g_Ao=!1,this.g_Ap=!1,this.g_Aq=!1,!!this.enabled){this.g_An&&(f=!1,m=!1,x=!1,j=!1),x||(this.g_AS=0);var A=this.g_Ar,z=!1;this.g_Ay&&((this.g_ps.g_nN(this.g_zf)||this.g_ps.g_nP(this.g_zf))&&this.g_ps.g_nQ(this.g_zf,-this.g_AA,-this.g_AC,4,!0),this.g_Ay=!1),A&&0===this.dy&&(A.y!==this.g_Au||A.x!==this.g_At)&&(_=A.x-this.g_At,e=A.y-this.g_Au,this.g_zf.x+=_,this.g_zf.y+=e,this.g_zf.g_mN(),this.g_At=A.x,this.g_Au=A.y,z=!0,this.g_ps.g_nN(this.g_zf)&&this.g_ps.g_nQ(this.g_zf,-_,-e,2.5*p(_*_+e*e)));var M=this.g_AY(),T=this.g_ps.g_nN(this.g_zf);if(T)if(this.g_zf.g_iZ.inputPredicted)this.g_ps.g_nQ(this.g_zf,-this.g_AA,-this.g_AC,10,!1);else if(this.g_ps.g_nS(this.g_zf,this.g_AD,this.g_AE,this.g_zf.width/2))this.g_ps.g_nV(this.g_zf,T);else if(this.g_ps.g_nU(this.g_zf,o(this.g_zf.width,this.g_zf.height)/2))this.g_ps.g_nV(this.g_zf,T);else return;M?(this.g_Al=!1,this.g_Am=!1,0<this.dy&&(!this.g_AP&&(this.g_ps.g_nR(this.g_zf,-this.g_AA,-this.g_AC,M,16),this.g_AP=!0),this.dy=0),A==M?z&&(T=this.g_ps.g_nN(this.g_zf),T&&(this.g_ps.g_nV(this.g_zf,T),0!==_&&(0<_?this.g_ps.g_nQ(this.g_zf,-this.g_AD,-this.g_AE):this.g_ps.g_nQ(this.g_zf,this.g_AD,this.g_AE)),this.g_ps.g_nQ(this.g_zf,-this.g_AA,-this.g_AC))):(this.g_Ar=M,this.g_At=M.x,this.g_Au=M.y,this.g_ps.g_nV(this.g_zf,M))):!x&&(this.g_Am=!0),(M&&j||!M&&this.g_AM&&x&&this.g_Am&&!this.g_Al)&&(u=this.g_zf.x,c=this.g_zf.y,this.g_zf.x-=this.g_AA,this.g_zf.y-=this.g_AC,this.g_zf.g_mN(),this.g_ps.g_nN(this.g_zf)?j=!1:(this.g_AS=this.g_AN,this.g_ps.trigger(g_a.g_c.g_Ag.prototype.g_lx.g_AZ,this.g_zf),this.g_Aw=2,this.dy=-this.g_AK,j=!0,M?this.g_Ak=!0:this.g_Al=!0),this.g_zf.x=u,this.g_zf.y=c,this.g_zf.g_mN()),M||(x&&0<this.g_AS?(this.dy=-this.g_AK,this.g_AS-=g):(this.g_Ar=null,this.dy+=this.g_AG*g,this.dy>this.g_AL&&(this.dy=this.g_AL)),j&&(this.g_Ak=!0)),this.g_AP=!!M,f==m&&(0>this.dx?(this.dx+=this.g_AJ*g,0<this.dx&&(this.dx=0)):0<this.dx&&(this.dx-=this.g_AJ*g,0>this.dx&&(this.dx=0)));var N=0;f&&!m&&(0<this.dx?N=-(this.g_AI+this.g_AJ):N=-this.g_AI),m&&!f&&(0>this.dx?N=this.g_AI+this.g_AJ:N=this.g_AI),this.dx+=N*g,this.dx>this.g_AH?this.dx=this.g_AH:this.dx<-this.g_AH&&(this.dx=-this.g_AH);var E=!1;if(0!==this.dx){u=this.g_zf.x,c=this.g_zf.y,_=this.g_ps.g_pr(this.dx,-this.g_AH,this.g_AH,N,g)*this.g_AD,e=this.g_ps.g_pr(this.dx,-this.g_AH,this.g_AH,N,g)*this.g_AE,this.g_zf.x+=this.g_AD*(1<this.dx?1:-1)-this.g_AA,this.g_zf.y+=this.g_AE*(1<this.dx?1:-1)-this.g_AC,this.g_zf.g_mN();var b=!1,L=this.g_ps.g_nN(this.g_zf);if(this.g_zf.x=u+_,this.g_zf.y=c+e,this.g_zf.g_mN(),n=this.g_ps.g_nN(this.g_zf),!n&&M&&(n=this.g_ps.g_nP(this.g_zf),n&&(this.g_zf.x=u,this.g_zf.y=c,this.g_zf.g_mN(),this.g_ps.g_nz(this.g_zf,n)?(n=null,b=!1):b=!0,this.g_zf.x=u+_,this.g_zf.y=c+e,this.g_zf.g_mN())),n){var w=t(this.dx*g)+2;L||!this.g_ps.g_nQ(this.g_zf,-this.g_AA,-this.g_AC,w,b,n)?(this.g_ps.g_nV(this.g_zf,n),w=o(t(2.5*(this.dx*g)),30),this.g_ps.g_nQ(this.g_zf,this.g_AD*(0>this.dx?1:-1),this.g_AE*(0>this.dx?1:-1),w,!1)?M&&!b&&!this.g_Av&&(u=this.g_zf.x,c=this.g_zf.y,this.g_zf.x+=this.g_AA,this.g_zf.y+=this.g_AC,this.g_ps.g_nN(this.g_zf)?!this.g_ps.g_nQ(this.g_zf,-this.g_AA,-this.g_AC,3,!1)&&(this.g_zf.x=u,this.g_zf.y=c,this.g_zf.g_mN()):(this.g_zf.x=u,this.g_zf.y=c,this.g_zf.g_mN())):(this.g_zf.x=u,this.g_zf.y=c,this.g_zf.g_mN()),!b&&(this.dx=0)):!L&&!j&&t(this.dy)<t(this.g_AK/4)&&(this.dy=0,!M&&(E=!0))}else{var C=this.g_AY();M&&!C?(s=Math.ceil(t(this.dx*g))+2,u=this.g_zf.x,c=this.g_zf.y,this.g_zf.x+=this.g_AA*s,this.g_zf.y+=this.g_AC*s,this.g_zf.g_mN(),this.g_ps.g_nN(this.g_zf)||this.g_ps.g_nP(this.g_zf)?this.g_ps.g_nQ(this.g_zf,-this.g_AA,-this.g_AC,s+2,!0):(this.g_zf.x=u,this.g_zf.y=c,this.g_zf.g_mN())):C&&0===this.dy&&this.g_ps.g_nR(this.g_zf,-this.g_AA,-this.g_AC,C,16)}}if(0!==this.dy){u=this.g_zf.x,c=this.g_zf.y,this.g_zf.x+=this.g_ps.g_pr(this.dy,-Infinity,this.g_AL,this.g_AG,g)*this.g_AA,this.g_zf.y+=this.g_ps.g_pr(this.dy,-Infinity,this.g_AL,this.g_AG,g)*this.g_AC;var D=this.g_zf.x,k=this.g_zf.y;this.g_zf.g_mN(),T=this.g_ps.g_nN(this.g_zf);var O=!1;if(!T&&0<this.dy&&!M){if(r=0<this.g_Ax?null:this.g_ps.g_nP(this.g_zf,!0),r&&r.length){if(this.g_AQ){for(this.g_zf.x=u,this.g_zf.y=c,this.g_zf.g_mN(),(a=0,y=0,i=r.length);a<i;a++)r[y]=r[a],this.g_ps.g_nz(this.g_zf,r[a])||y++;r.length=y,this.g_zf.x=D,this.g_zf.y=k,this.g_zf.g_mN()}1<=r.length&&(T=r[0])}O=!!T}if(T){this.g_ps.g_nV(this.g_zf,T),this.g_AS=0;var w=O?t(2.5*(this.dy*g)+10):o(t(2.5*(this.dy*g)+10),30);this.g_ps.g_nQ(this.g_zf,this.g_AA*(0>this.dy?1:-1),this.g_AC*(0>this.dy?1:-1),w,O,T)?(this.g_Ar=T,this.g_At=T.x,this.g_Au=T.y,this.g_Av=O,O&&(E=!0),this.dy=0):(this.g_zf.x=u,this.g_zf.y=c,this.g_zf.g_mN(),this.g_AP=!0,!O&&(this.dy=0))}}this.g_Aw!==h&&0<this.dy&&!M&&(this.g_ps.trigger(g_a.g_c.g_Ag.prototype.g_lx.g_A_,this.g_zf),this.g_Aw=h),(M||E)&&0<=this.dy&&(this.g_Aw===h||E||j&&0===this.dy?(this.g_ps.trigger(g_a.g_c.g_Ag.prototype.g_lx.g_A$,this.g_zf),this.g_Aw=0===this.dx&&0===this.dy?d:l):(this.g_Aw!==d&&0===this.dx&&0===this.dy&&(this.g_ps.trigger(g_a.g_c.g_Ag.prototype.g_lx.g_Ba,this.g_zf),this.g_Aw=d),this.g_Aw!==l&&(0!==this.dx||0!==this.dy)&&!j&&(this.g_ps.trigger(g_a.g_c.g_Ag.prototype.g_lx.g_Bb,this.g_zf),this.g_Aw=l))),0<this.g_Ax&&this.g_Ax--,this.g_AQ=this.g_ps.g_nP(this.g_zf)}};g.prototype.g_Bc=function(){return 0!==this.dx||0!==this.dy},g.prototype.g_Bd=function(g,_){var e=p(this.dx*this.dx+this.dy*this.dy);return g_a.g_tn(e,g,_)},g.prototype.g_Be=function(){if(0!==this.dy)return!1;var g=null,_=null,e=this.g_zf.x,t=this.g_zf.y,p,o,n;if(this.g_zf.x+=this.g_AA,this.g_zf.y+=this.g_AC,this.g_zf.g_mN(),g=this.g_ps.g_nN(this.g_zf),g||0!==this.g_Ax||(_=this.g_ps.g_nP(this.g_zf,!0)),this.g_zf.x=e,this.g_zf.y=t,this.g_zf.g_mN(),g)return!this.g_ps.g_nz(this.g_zf,g);if(_&&_.length){for(p=0,n=0,o=_.length;p<o;p++)_[n]=_[p],this.g_ps.g_nz(this.g_zf,_[p])||n++;if(1<=n)return!0}return!1},g.prototype.g_Bf=function(g){var _=!1,e=this.g_zf.x,t=this.g_zf.y;return(0===g?(this.g_zf.x-=2*this.g_AD,this.g_zf.y-=2*this.g_AE):(this.g_zf.x+=2*this.g_AD,this.g_zf.y+=2*this.g_AE),this.g_zf.g_mN(),!this.g_ps.g_nN(this.g_zf))?(this.g_zf.x=e,this.g_zf.y=t,this.g_zf.g_mN(),!1):(this.g_zf.x-=3*this.g_AA,this.g_zf.y-=3*this.g_AC,this.g_zf.g_mN(),_=this.g_ps.g_nN(this.g_zf),this.g_zf.x=e,this.g_zf.y=t,this.g_zf.g_mN(),_)},g.prototype.g_Bg=function(){return 0>this.dy},g.prototype.g_Bh=function(){return 0<this.dy},g.prototype.g_AZ=function(){return!0},g.prototype.g_A_=function(){return!0},g.prototype.g_Ba=function(){return!0},g.prototype.g_Bb=function(){return!0},g.prototype.g_A$=function(){return!0},g.prototype.g_Bi=function(){return this.g_AM},r.g_lx=new g;_.prototype.g_Bj=function(g){this.g_An=g},_.prototype.g_Bk=function(g){this.g_AH=g,0>this.g_AH&&(this.g_AH=0)},_.prototype.g_Bl=function(g){this.g_AI=g,0>this.g_AI&&(this.g_AI=0)},_.prototype.g_Bm=function(g){this.g_AJ=g,0>this.g_AJ&&(this.g_AJ=0)},_.prototype.g_Bn=function(g){this.g_AK=g,0>this.g_AK&&(this.g_AK=0)},_.prototype.g_Bo=function(g){this.g_AF===g||(this.g_AG=g,this.g_Az(),this.g_ps.g_nN(this.g_zf)&&(this.g_ps.g_nQ(this.g_zf,this.g_AA,this.g_AC,10),this.g_zf.x+=2*this.g_AA,this.g_zf.y+=2*this.g_AC,this.g_zf.g_mN()),this.g_Ar=null)},_.prototype.g_Bp=function(g){this.g_AL=g,0>this.g_AL&&(this.g_AL=0)},_.prototype.g_Bq=function(g){0===g?this.g_Ao=!0:1===g?this.g_Ap=!0:2===g?this.g_Aq=!0:void 0},_.prototype.g_Br=function(g){this.dx=g},_.prototype.g_Bs=function(g){this.dy=g},_.prototype.g_Bt=function(g){g=g_a.g_W(g),g=g_a.g_Z(g);this.g_AB===g||(this.g_AB=g,this.g_Az(),this.g_Ar=null)},_.prototype.g_Af=function(g){this.enabled!==(1===g)&&(this.enabled=1===g,!this.enabled&&(this.g_Ar=null))},_.prototype.g_Bu=function(){var g=this.g_zf.x,_=this.g_zf.y;this.g_zf.x+=this.g_AA,this.g_zf.y+=this.g_AC,this.g_zf.g_mN();var e=this.g_ps.g_nP(this.g_zf,!1);this.g_zf.x=g,this.g_zf.y=_,this.g_zf.g_mN();e&&(this.g_Ax=3,this.g_Ar=null)},_.prototype.g_Bv=function(g){this.g_AM=0!==g},_.prototype.g_Bw=function(g){this.g_AN=g/1e3},r.g_uU=new _;e.prototype.g_Bx=function(g){g.g_sU(p(this.dx*this.dx+this.dy*this.dy))},e.prototype.g_By=function(g){g.g_sU(this.g_AH)},e.prototype.g_Bz=function(g){g.g_sU(this.g_AI)},e.prototype.g_BA=function(g){g.g_sU(this.g_AJ)},e.prototype.g_BB=function(g){g.g_sU(this.g_AK)},e.prototype.g_BC=function(g){g.g_sU(this.g_AG)},e.prototype.g_BD=function(g){g.g_sU(g_a.g_X(this.g_AB))},e.prototype.g_BE=function(g){g.g_sU(this.g_AL)},e.prototype.g_BF=function(g){g.g_sU(g_a.g_X(Math.atan2(this.dy,this.dx)))},e.prototype.g_BG=function(g){g.g_sU(this.dx)},e.prototype.g_BH=function(g){g.g_sU(this.dy)},e.prototype.g_BI=function(g){g.g_sU(1e3*this.g_AN)},r.g_sO=new e}();g_a.g_c.g_BJ=function(g){this.g_ps=g},function(){function g(){}function _(){}function e(){}var t=Math.ceil,p=Math.floor,o=Math.max,n=Math.min,i=Math.cos,s=Math.sin,r={},a=g_a.g_c.g_BJ.prototype;a.g_lV=function(){var g,_;for(g in r)r.hasOwnProperty(g)&&(_=r[g],_.g_BK.unsetReady(),_.g_BL=!0)},a.g_jC=function(g,_){this.behavior=g,this.g_Ad=_,this.g_ps=g.g_ps};var d=a.g_jC.prototype;d.g_jB=function(){this.g_BM=[],this.g_BN=[]},a.g_kK=function(g,_){this.type=g,this.behavior=g.behavior,this.g_zf=_,this.g_ps=g.g_ps};var l=a.g_kK.prototype;l.g_jB=function(){this.g_BO=this.properties[0],3>this.g_BO&&(this.g_BO=3),this.g_BP=this.properties[1],this.g_BQ=this.properties[2],this.g_BR=this.properties[3],this.g_AI=this.properties[4],this.g_AJ=this.properties[5],this.g_BS=g_a.g_W(this.properties[6]),this.g_BT=this.properties[7],this.g_BU=this.properties[8],this.enabled=this.properties[9],this.g_BV=!1,this.g_BW=!1,this.g_BX=!1,this.g_BY=!1,this.g_BZ=0,this.a=this.g_zf.angle,this.g_B_=this.g_zf.angle,this.g_aq=0,this.g_B$=0,this.g_Ca=0,this.g_Cb=0,this.g_Cc=t(this.g_ps.g_id.width/this.g_BO),this.g_Cd=t(this.g_ps.g_id.height/this.g_BO),this.g_Ce=[],this.g_Cf=!1,this.g_Cg=0,this.g_Ch=0,this.g_Ci=!1,this.g_Cj=!1,this.g_Ck=0,this.g_Cl=0,this.g_Cm=!0;var g=this;this.g_mz||(this.g_Cn=function(){g.g_Ci||(g.g_Cj=!1,g.g_Co(),g.g_BY=0<g.g_Ce.length,g.g_BZ=0,g.g_ps.trigger(g_a.g_c.g_BJ.prototype.g_lx.g_Cp,g.g_zf),g.g_Cq())},this.g_Cr=function(){g.g_Ci||(g.g_Cj=!1,g.g_Cs(),g.g_BY=!1,g.g_BV=!1,g.g_BZ=0,g.g_ps.trigger(g_a.g_c.g_BJ.prototype.g_lx.g_Ct,g.g_zf),g.g_Cq())})},l.g_mw=function(){this.g_Ci=!0,this.g_Cf=!1},l.g_oR=function(){var g={cs:this.g_BO,cb:this.g_BP,ms:this.g_BR,acc:this.g_AI,dec:this.g_AJ,av:this.g_BS,re:this.g_BT,de:this.g_BU,im:this.g_BV,mfs:this.g_BW,ftmwm:this.g_BX,hp:this.g_BY,mn:this.g_BZ,a:this.a,lka:this.g_B_,s:this.g_aq,rx:this.g_B$,ry:this.g_Ca,ra:this.g_Cb,myhc:this.g_Cc,myvc:this.g_Cd,path:this.g_Ce,en:this.enabled,fr:this.g_Cm,obs:[],costs:[]};this.g_Cj?(g.dfp=!0,g.dpx=this.g_Ck,g.dpy=this.g_Cl):(g.dfp=this.g_Cf,g.dpx=this.g_Cg,g.dpy=this.g_Ch);var _,e;for(_=0,e=this.type.g_BM.length;_<e;_++)g.obs.push(this.type.g_BM[_].g_jI);for(_=0,e=this.type.g_BN.length;_<e;_++)g.costs.push({sid:this.type.g_BN[_].g_Cu.g_jI,cost:this.type.g_BN[_].g_Cv});return g},l.g_oZ=function(g){this.g_BO=g.cs,this.g_BP=g.cb,this.g_BR=g.ms,this.g_AI=g.acc,this.g_AJ=g.dec,this.g_BS=g.av,this.g_BT=g.re,this.g_BU=g.de,this.g_BV=g.im,this.g_BW=g.mfs,this.g_BX=g.ftmwm,this.g_BY=g.hp,this.g_BZ=g.mn,this.a=g.a,this.g_B_=g.lka,this.g_aq=g.s,this.g_B$=g.rx,this.g_Ca=g.ry,this.g_Cb=g.ra,this.g_Cc=g.myhc,this.g_Cd=g.myvc,this.g_Ce=g.path,this.enabled=g.en,this.g_Cm=g.fr,this.g_Cf=g.dfp,this.g_Cg=g.dpx,this.g_Ch=g.dpy,g_a.g_R(this.type.g_BM);var _=g.obs,e,p,o;for(e=0,p=_.length;e<p;e++)o=this.g_ps.g_oF(_[e]),o&&this.type.g_BM.push(o);g_a.g_R(this.type.g_BN);var n=g.costs;for(e=0,p=n.length;e<p;e++)o=this.g_ps.g_oF(n[e].sid),o&&this.type.g_BN.push({g_Cu:o,g_Cv:n[e].cost});this.g_Cw().g_BK.setDiagonals(this.g_BU)},l.g_pa=function(){this.g_Cw().g_BL=!0},l.g_iR=function(){if(this.enabled&&this.g_BV){this.g_BT&&this.g_zf.angle!==this.g_B_&&(this.a=this.g_zf.angle);var g=this.g_ps.g_mb(this.g_zf),_=this.g_zf,e=n(0.4*this.g_BR,2*Math.abs(this.g_zf.width)),p=o(1.5*this.g_aq,30),a,d,l,h,y,u,t,r,c;this.g_BZ<this.g_Ce.length?(h=this.g_Ce[this.g_BZ].x,y=this.g_Ce[this.g_BZ].y,l=g_a.g_af(this.g_B$,this.g_Ca,h,y),l<3*p*g&&(this.g_BZ++,this.g_B$=h,this.g_Ca=y,this.g_BZ<this.g_Ce.length&&(h=this.g_Ce[this.g_BZ].x,y=this.g_Ce[this.g_BZ].y))):(h=this.g_Ce[this.g_Ce.length-1].x,y=this.g_Ce[this.g_Ce.length-1].y),this.g_Cb=g_a.g_aa(this.g_B$,this.g_Ca,h,y);var f=g_a.g_af(_.x,_.y,this.g_B$,this.g_Ca);if(f<e&&this.g_BZ<this.g_Ce.length){var m;this.g_BX?(m=e,this.g_BX=!1):m=p*g,this.g_B$+=i(this.g_Cb)*m,this.g_Ca+=s(this.g_Cb)*m}a=g_a.g_aa(_.x,_.y,this.g_B$,this.g_Ca),d=g_a.g_ab(this.a,a);var x=g_a.g_af(_.x,_.y,this.g_Ce[this.g_Ce.length-1].x,this.g_Ce[this.g_Ce.length-1].y),j=this.g_BR*this.g_BR/(2*this.g_AJ);if(1<f&&(this.a=g_a.g_ac(this.a,a,this.g_BS*g),0.5>=g_a.g_X(d)?c=this.g_BR:120<=g_a.g_X(d)||this.g_BW&&0===this.g_BZ?(c=0,this.g_BW=!0):(u=d/this.g_BS,l=g_a.g_af(_.x,_.y,this.g_B$,this.g_Ca),t=l/(2*s(d)),r=t*d,c=r/u,0>c&&(c=0),c>this.g_BR&&(c=this.g_BR)),x<j&&(c=n(c,x/j*this.g_BR+this.g_BR/40)),this.g_aq+=this.g_AI*g,this.g_aq>c&&(this.g_aq=c)),_.x+=i(this.a)*this.g_aq*g,_.y+=s(this.a)*this.g_aq*g,this.g_BT&&(_.angle=this.a,this.g_B_=this.a),_.g_mN(),this.g_BZ===this.g_Ce.length&&g_a.g_af(_.x,_.y,h,y)<o(3*this.g_aq*g,10))return this.g_BV=!1,this.g_BY=!1,this.g_BZ=0,this.g_aq=0,void this.g_ps.trigger(g_a.g_c.g_BJ.prototype.g_lx.g_Cx,_)}},l.g_lP=function(){this.enabled&&(this.g_Cy(),this.g_Cq())},l.g_Cq=function(){this.g_Cf&&!this.g_Ci&&(this.g_Cf=!1,this.g_Cz(this.g_zf.x,this.g_zf.y,this.g_Cg,this.g_Ch))},l.g_Cw=function(){var g=""+this.g_BO+","+this.g_BP;return r.hasOwnProperty(g)||(r[g]={g_BK:new window.Pathfinder,cells:null,g_BL:!1,g_CA:[]}),r[g]},l.g_Cy=function(){var g=this.g_Cw();if(!g.g_BK.isReady()||g.g_BL||g.g_CA.length){var _,e,p,o,n,s,i,a,r,d,l,h,y;if(!g.g_BK.isReady()||g.g_BL){for(this.g_Cc=t(this.g_ps.g_id.width/this.g_BO),this.g_Cd=t(this.g_ps.g_id.height/this.g_BO),_=[],_.length=this.g_Cc,o=this.g_Cc,n=this.g_Cd,e=0;e<o;++e)for(_[e]=[],_[e].length=n,p=0;p<n;++p)_[e][p]=this.g_CB(e,p);g.cells=_,g.g_BK.init(this.g_Cc,this.g_Cd,_,this.g_BU),g.g_BL=!1,g_a.g_R(g.g_CA)}else if(g.g_CA.length){for(s=0,i=g.g_CA.length;s<i;++s){for(a=g.g_CA[s],r=a[0],d=a[1],l=a[2],h=a[3],_=[],o=l-r,n=h-d,_.length=o,e=0;e<o;++e)for(_[e]=[],_[e].length=n,p=0;p<n;++p)y=this.g_CB(r+e,d+p),_[e][p]=y,g.cells[r+e][d+p]=y;g.g_BK.updateRegion(r,d,o,n,_)}g_a.g_R(g.g_CA)}}},l.g_Cs=function(){var g,_;for(g=0,_=this.g_Ce.length;g<_;g++)window.freeResultNode(this.g_Ce[g]);g_a.g_R(this.g_Ce)},l.g_Co=function(){var g=this.g_Cw().g_BK,_=g.pathList;this.g_Cs();var e,t,p,o;for(e=0,t=_.length;e<t;e++)p=_[e],o=window.allocResultNode(),o.x=(p.x+0.5)*this.g_BO,o.y=(p.y+0.5)*this.g_BO,this.g_Ce.push(o)};var h=[],y=new g_a.rect;l.g_CB=function(g,_){var e=0,p,o,n,t,i,s;if(y.left=g*this.g_BO-this.g_BP,y.top=_*this.g_BO-this.g_BP,y.right=(g+1)*this.g_BO+this.g_BP,y.bottom=(_+1)*this.g_BO+this.g_BP,0!==this.g_BQ){for(this.g_ps.g_nn(this.g_zf.g_mo,this.type.g_BM,y,h),p=0,o=h.length;p<o;++p)if(this.g_ps.g_nG(y,h[p]))return g_a.g_R(h),window.PF_OBSTACLE;h.length=0}else if(this.g_ps.g_nO(y))return window.PF_OBSTACLE;for(p=0,o=this.type.g_BN.length;p<o;p++){for(n=this.type.g_BN[p].g_Cu,s=this.type.g_BN[p].g_Cv,this.g_ps.g_nm(this.g_zf.g_mo,n,y,h),(t=0,i=h.length);t<i;++t)this.g_ps.g_nG(y,h[t])&&(e+=s);g_a.g_R(h)}return e},l.g_Cz=function(g,_,e,t){var o=this.g_Cw().g_BK;if(!o.isReady())return!1;this.g_Cj=!0,this.g_Ck=e,this.g_Cl=t;var n=p(g/this.g_BO),i=p(_/this.g_BO),s=p(e/this.g_BO),r=p(t/this.g_BO),a,d,l,h,u,y,c,f;if(o.at(s,r)===window.PF_OBSTACLE){for(a=1e6,d=0,l=0,h=0;h<this.g_Cc;h++)for(u=0;u<this.g_Cd;u++)o.at(h,u)!==window.PF_OBSTACLE&&(y=s-h,c=r-u,f=y*y+c*c,f<a&&(a=f,d=h,l=u));s=d,r=l}this;o.findPath(n,i,s,r,this.g_Cn,this.g_Cr)};g.prototype.g_Cp=function(){return!0},g.prototype.g_Ct=function(){return!0},g.prototype.g_CC=function(g,_){return this.g_Cw().g_BK.at(g,_)===window.PF_OBSTACLE},g.prototype.g_CD=function(){return this.g_Cj},g.prototype.g_Bc=function(){return this.g_BV},g.prototype.g_Cx=function(){return!0},g.prototype.g_Bd=function(g,_){return g_a.g_tn(this.g_BV?this.g_aq:0,g,_)},g.prototype.g_CE=function(){return this.g_BU},a.g_lx=new g;_.prototype.g_CF=function(g,_){this.enabled&&(this.g_Cj||!this.g_Cw().g_BK.isReady()?(this.g_Cf=!0,this.g_Cg=g,this.g_Ch=_):this.g_Cz(this.g_zf.x,this.g_zf.y,g,_))},_.prototype.g_CG=function(){this.g_BY&&(this.g_BV&&(this.g_BX=!0),this.g_BW=!this.g_BV,this.g_BV=!0,this.g_B$=this.g_zf.x,this.g_Ca=this.g_zf.y,this.g_Cb=this.g_zf.angle)},_.prototype.g_CH=function(){this.g_BV=!1},_.prototype.g_Af=function(g){this.enabled=0!==g},_.prototype.g_CI=function(){this.g_Cw().g_BL=!0},_.prototype.g_CJ=function(g){var _=this.type.g_BM;if(-1===_.indexOf(g)){var e,p,o;for(e=0,p=_.length;e<p;e++)if(o=_[e],o.g_jD&&-1!==o.g_jJ.indexOf(g))return;_.push(g)}},_.prototype.g_CK=function(){g_a.g_R(this.type.g_BM)},_.prototype.g_CL=function(g,_){var e=this.type.g_BN,p,o,n;for(p=0,o=e.length;p<o;p++){if(n=e[p].g_Cu,n===g)return;if(n.g_jD&&-1!==n.g_jJ.indexOf(g))return}e.push({g_Cu:g,g_Cv:_})},_.prototype.g_CM=function(){g_a.g_R(this.type.g_BN)},_.prototype.g_Bk=function(g){this.g_BR=g},_.prototype.g_CN=function(g){0>g&&(g=0),g>this.g_BR&&(g=this.g_BR),this.g_aq=g},_.prototype.g_CO=function(g){this.g_AI=g},_.prototype.g_CP=function(g){this.g_AJ=g},_.prototype.g_CQ=function(g){this.g_BS=g_a.g_W(g)},_.prototype.g_CR=function(g){this.g_BU=0!==g,this.g_Cw().g_BK.setDiagonals(this.g_BU)},_.prototype.g_CS=function(g,_,e,t){this.g_CT(g,_,e,t)},_.prototype.g_CU=function(g){if(g){var _=g.g_kh().g_qX(),e,t,p;for(e=0,t=_.length;e<t;++e)p=_[e],p.g_aU&&(p.g_aU(),this.g_CT(p.g_mI.left,p.g_mI.top,p.g_mI.right,p.g_mI.bottom))}},l.g_CT=function(g,_,e,i){var s=n(g,e)-this.g_BP,r=n(_,i)-this.g_BP,a=o(g,e)+this.g_BP,d=o(_,i)+this.g_BP,l=o(p(s/this.g_BO),0),h=o(p(r/this.g_BO),0),y=n(t(a/this.g_BO),this.g_Cc),u=n(t(d/this.g_BO),this.g_Cd);l>=y||h>=u||this.g_Cw().g_CA.push([l,h,y,u])},a.g_uU=new _;e.prototype.g_CV=function(g){g.g_sS(this.g_Ce.length)},e.prototype.g_CW=function(g,_){_=p(_),0>_||_>=this.g_Ce.length?g.g_sU(0):g.g_sU(this.g_Ce[_].x)},e.prototype.g_CX=function(g,_){_=p(_),0>_||_>=this.g_Ce.length?g.g_sU(0):g.g_sU(this.g_Ce[_].y)},e.prototype.g_CY=function(g){g.g_sS(this.g_BO)},e.prototype.g_CZ=function(g){g.g_sU(this.g_B$)},e.prototype.g_C_=function(g){g.g_sU(this.g_Ca)},e.prototype.g_By=function(g){g.g_sU(this.g_BR)},e.prototype.g_Bz=function(g){g.g_sU(this.g_AI)},e.prototype.g_BA=function(g){g.g_sU(this.g_AJ)},e.prototype.g_C$=function(g){g.g_sU(g_a.g_X(this.g_BS))},e.prototype.g_BF=function(g){g.g_sU(g_a.g_X(this.a))},e.prototype.g_Da=function(g){g.g_sS(this.g_BZ)},e.prototype.g_Bx=function(g){g.g_sU(this.g_BV?this.g_aq:0)},a.g_sO=new e}(),g_a.g_jt=function(){return[g_a.g_b.g_qS,g_a.g_c.g_kF,g_a.g_b.g_yK,g_a.g_c.g_Ag,g_a.g_c.g_BJ,g_a.g_b.g_qS.prototype.g_lx.g_ye,g_a.g_b.g_qS.prototype.g_uU.g_wT,g_a.g_b.g_qS.prototype.g_uU.g_ww,g_a.g_b.g_qS.prototype.g_uU.g_yw]};