'use strict';var ba=void 0,m=!0,p=null,r=!1;function ca(){return function(){}}function da(h){return function(){return this[h]}}function w(h){return function(){return h}}var ea={},F,fa,G,J,ga,ha,ia,ka,la,ma,oa,pa,qa,ra,sa,ta,M,wa,xa,ya,Ba,Ca,Da,Ea,Fa,Ga,Ha,Ia,Ja,Ka,La,Ma,Na,Oa,Pa,Qa,Ra,Sa,Ta,Ua,Va,Wa,Xa,Ya,Za,$a,ab,bb,cb,N,db,eb,fb,O,gb={};"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(h){return h.__proto__}:function(h){return h.constructor.prototype});
(function(){function h(a,c,e,l){this.set(a,c,e,l)}function k(){this.ab=this.$a=this.cb=this.bb=this.jb=this.ib=this.za=this.ya=0}function b(){this.ic={};this.pe=0;this.He=[];this.Td=m}function d(){this.Kc=this.Kf=this.y=this.bg=0}function c(a){this.$g=[];this.De(a)}F=function(a){window.console&&window.console.log&&window.console.log(a)};fa=function(a){return"undefined"===typeof a};G=function(a){return"number"===typeof a};J=function(a){return"string"===typeof a};ga=function(a){return 0>a?-a:a};ha=
function(a,c){return a>c?a:c};ia=function(a,c){return a<c?a:c};ka=Math.PI;la=function(a){return a|0};ma=function(a,c,e,l,n,x,A,t){if(ha(a,e)<ia(n,A)||ia(a,e)>ha(n,A)||ha(c,l)<ia(x,t)||ia(c,l)>ha(x,t))return r;var b=n-a+A-e,q=x-c+t-l;a=e-a;c=l-c;n=A-n;x=t-x;t=ga(c*n-x*a);return ga(n*q-x*b)<=t&&ga(a*q-c*b)<=t};h.prototype.set=function(a,c,e,l){this.left=a;this.top=c;this.right=e;this.bottom=l};h.prototype.width=function(){return this.right-this.left};h.prototype.height=function(){return this.bottom-
this.top};h.prototype.offset=function(a,c){this.left+=a;this.top+=c;this.right+=a;this.bottom+=c;return this};h.prototype.uc=function(a,c){return a>=this.left&&a<=this.right&&c>=this.top&&c<=this.bottom};oa=h;k.prototype.ph=function(a){this.ya=a.left;this.za=a.top;this.ib=a.right;this.jb=a.top;this.bb=a.right;this.cb=a.bottom;this.$a=a.left;this.ab=a.bottom};k.prototype.uj=function(a,c){if(0===c)this.ph(a);else{var e=Math.sin(c),l=Math.cos(c),n=a.left*e,x=a.top*e,A=a.right*e,e=a.bottom*e,t=a.left*
l,b=a.top*l,q=a.right*l,l=a.bottom*l;this.ya=t-x;this.za=b+n;this.ib=q-x;this.jb=b+A;this.bb=q-e;this.cb=l+A;this.$a=t-e;this.ab=l+n}};k.prototype.offset=function(a,c){this.ya+=a;this.za+=c;this.ib+=a;this.jb+=c;this.bb+=a;this.cb+=c;this.$a+=a;this.ab+=c;return this};k.prototype.$h=function(a){a.left=ia(ia(this.ya,this.ib),ia(this.bb,this.$a));a.top=ia(ia(this.za,this.jb),ia(this.cb,this.ab));a.right=ha(ha(this.ya,this.ib),ha(this.bb,this.$a));a.bottom=ha(ha(this.za,this.jb),ha(this.cb,this.ab))};
k.prototype.uc=function(a,c){var e=this.ib-this.ya,l=this.jb-this.za,n=this.bb-this.ya,x=this.cb-this.za,A=a-this.ya,t=c-this.za,b=e*e+l*l,q=e*n+l*x,l=e*A+l*t,v=n*n+x*x,z=n*A+x*t,g=1/(b*v-q*q),e=(v*l-q*z)*g,b=(b*z-q*l)*g;if(0<=e&&0<b&&1>e+b)return m;e=this.$a-this.ya;l=this.ab-this.za;b=e*e+l*l;q=e*n+l*x;l=e*A+l*t;g=1/(b*v-q*q);e=(v*l-q*z)*g;b=(b*z-q*l)*g;return 0<=e&&0<b&&1>e+b};pa=k;qa=function(a,c){for(var e in c)c.hasOwnProperty(e)&&(a[e]=c[e]);return a};ra=function(a,c){var e,l;c=la(c);if(!(0>
c||c>=a.length))if(0===c)a.shift();else if(c===a.length-1)a.pop();else{e=c;for(l=a.length-1;e<l;e++)a[e]=a[e+1];a.length=l}};sa=function(a,c){a.length=c.length;var e,l;e=0;for(l=c.length;e<l;e++)a[e]=c[e]};ta=function(a,c){var e=a.indexOf(c);-1!==e&&ra(a,e)};M=function(a){return a/(180/ka)};wa=function(a){return a*(180/ka)};xa=function(a){a%=360;0>a&&(a+=360);return a};ya=function(a){a%=2*ka;0>a&&(a+=2*ka);return a};Ba=function(a){return xa(wa(a))};Ca=function(a){return ya(M(a))};Da=function(a,c,
e,l){return Math.atan2(l-c,e-a)};Ea=function(a,c){if(a===c)return 0;var e=Math.sin(a),l=Math.cos(a),n=Math.sin(c),x=Math.cos(c),e=e*n+l*x;return 1<=e?0:-1>=e?ka:Math.acos(e)};Fa=function(a,c,e){var l=Math.sin(a),n=Math.cos(a),x=Math.sin(c),A=Math.cos(c);return Math.acos(l*x+n*A)>e?0<n*x-l*A?ya(a+e):ya(a-e):ya(c)};Ga=function(a,c){var e=Math.sin(a),l=Math.cos(a),n=Math.sin(c),x=Math.cos(c);return 0>=l*n-e*x};Ha=function(a,c,e,l){a=e-a;c=l-c;return Math.sqrt(a*a+c*c)};Ia=function(a,c){return!a!==!c};
Ja=function(a){for(var c in a)if(a.hasOwnProperty(c))return m;return r};Ka=function(a){for(var c in a)a.hasOwnProperty(c)&&delete a[c]};var g=+new Date;La=function(){if("undefined"!==typeof window.performance){var a=window.performance;if("undefined"!==typeof a.now)return a.now();if("undefined"!==typeof a.webkitNow)return a.webkitNow();if("undefined"!==typeof a.msNow)return a.msNow()}return Date.now()-g};b.prototype.contains=function(a){return this.ic.hasOwnProperty(a.toString())};b.prototype.add=
function(a){var c=a.toString();this.ic.hasOwnProperty(c)||(this.ic[c]=a,this.pe++,this.Td=r);return this};b.prototype.remove=function(a){a=a.toString();this.ic.hasOwnProperty(a)&&(delete this.ic[a],this.pe--,this.Td=r);return this};b.prototype.clear=function(){Ka(this.ic);this.pe=0;this.He.length=0;this.Td=m;return this};b.prototype.je=function(){return 0===this.pe};b.prototype.xm=function(){if(!this.Td){this.He.length=this.pe;var a,c=0;for(a in this.ic)this.ic.hasOwnProperty(a)&&(this.He[c++]=this.ic[a]);
this.Td=m}};b.prototype.Ge=function(){this.xm();return this.He};Ma=b;d.prototype.add=function(a){this.y=a-this.bg;this.Kf=this.Kc+this.y;this.bg=this.Kf-this.Kc-this.y;this.Kc=this.Kf};d.prototype.reset=function(){this.Kc=this.Kf=this.y=this.bg=0};Na=d;Oa=function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};c.prototype.De=function(a){this.jj=a;this.kj=a.length/2;this.$g.length=a.length;this.bi=this.ci=-1;this.ai=0};c.prototype.Kl=function(){return!this.jj.length};c.prototype.wk=function(a,
c,e){if(!(this.ci===a&&this.bi===c&&this.ai===e)){this.ci=a;this.bi=c;this.ai=e;var l,n,x,A=0,t=1,b=this.jj,q=this.$g;0!==e&&(A=Math.sin(e),t=Math.cos(e));e=0;for(l=this.kj;e<l;e++)n=b[2*e]*a,x=b[2*e+1]*c,q[2*e]=n*t-x*A,q[2*e+1]=x*t+n*A}};c.prototype.uc=function(a,c){var b=this.$g;if(a===b[0]&&c===b[1])return m;var l,n,x,A=this.kj,t=b[0],y=t,q=b[1],v=q;for(l=1;l<A;l++)n=b[2*l],x=b[2*l+1],n<t&&(t=n),n>y&&(y=n),x<q&&(q=x),x>v&&(v=x);n=t-110;var q=q-101,y=y+131,v=v+120,z,g,f=0,d=0;for(l=0;l<A;l++)x=
b[2*l],t=b[2*l+1],z=b[2*((l+1)%A)],g=b[2*((l+1)%A)+1],ma(n,q,a,c,x,t,z,g)&&f++,ma(y,v,a,c,x,t,z,g)&&d++;return 1===f%2||1===d%2};Pa=c;var f="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");Qa=function(a){return 0>=a||11<=a?"source-over":f[a-1]};Ra=function(a,c,b){if(b)switch(a.xa=b.ONE,a.wa=b.ONE_MINUS_SRC_ALPHA,c){case 1:a.xa=b.ONE;a.wa=b.ONE;break;case 3:a.xa=b.ONE;a.wa=b.ZERO;break;case 4:a.xa=b.ONE_MINUS_DST_ALPHA;
a.wa=b.ONE;break;case 5:a.xa=b.DST_ALPHA;a.wa=b.ZERO;break;case 6:a.xa=b.ZERO;a.wa=b.SRC_ALPHA;break;case 7:a.xa=b.ONE_MINUS_DST_ALPHA;a.wa=b.ZERO;break;case 8:a.xa=b.ZERO;a.wa=b.ONE_MINUS_SRC_ALPHA;break;case 9:a.xa=b.DST_ALPHA;a.wa=b.ONE_MINUS_SRC_ALPHA;break;case 10:a.xa=b.ONE_MINUS_DST_ALPHA,a.wa=b.SRC_ALPHA}};Sa=function(a){return Math.round(1E6*a)/1E6}})();
(function(){function h(n){if(n&&(n.getContext||n.dc)&&!n.c2runtime){n.c2runtime=this;var a=this;this.ud="undefined"!==typeof window.device&&("undefined"!==typeof window.device.cordova||"undefined"!==typeof window.device.phonegap);this.gc=!!n.dc;this.ie="undefined"!==typeof window.AppMobi||this.gc;if(this.Qb=!!window.c2cocoonjs)CocoonJS.App.onSuspended.addEventListener(function(){a.setSuspended(m)}),CocoonJS.App.onActivated.addEventListener(function(){a.setSuspended(r)});this.Aa=this.gc||this.Qb;this.kf=
/tizen/i.test(navigator.userAgent);this.Ji=/android/i.test(navigator.userAgent)&&!this.kf;this.mo=/msie/i.test(navigator.userAgent);this.of=/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent);this.Oi=/ipad/i.test(navigator.userAgent);this.Ni=this.of||this.Oi;this.Ki=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent);this.no=!this.Ki&&/safari/i.test(navigator.userAgent);this.Gl=/windows/i.test(navigator.userAgent);this.ke="undefined"!==typeof window.c2nodewebkit;
this.El="undefined"!==typeof window.is_scirra_arcade;this.Il=!!("undefined"!==typeof window.c2isWindows8&&window.c2isWindows8);this.Jl=!!("undefined"!==typeof window.c2isWindowsPhone8&&window.c2isWindowsPhone8);this.Fl=!!("undefined"!==typeof window.c2isBlackberry10&&window.c2isBlackberry10);this.devicePixelRatio=1;this.zc=this.ud||this.ie||this.Qb||this.Ji||this.Ni||this.Jl||this.Fl||this.kf;this.zc||(this.zc=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet)/i.test(navigator.userAgent));
if("undefined"!==typeof cr_is_preview&&!this.ke&&("?nw"===window.location.search||/nodewebkit/i.test(navigator.userAgent)))this.ke=m;this.canvas=n;this.di=document.getElementById("c2canvasdiv");this.M=this.J=this.ec=p;this.canvas.oncontextmenu=function(n){n.preventDefault&&n.preventDefault();return r};this.canvas.onselectstart=function(n){n.preventDefault&&n.preventDefault();return r};this.gc&&(window.c2runtime=this);this.ke&&(window.so=function(n){n.preventDefault();return r},window.to=function(n){n.preventDefault();
return r});this.width=n.width;this.height=n.height;this.bd=this.width;this.ad=this.height;this.O=m;this.me=r;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.k=[];this.ba=[];this.Kg={};this.Cb=[];this.ng={};this.Vc=[];this.Oc=[];this.Pf=[];this.rk=[];this.Lb=new Ma;this.Cg=r;this.hc=0;this.Eg=r;this.Kb=[];this.Li=r;this.jc=this.Ca=this.sf=this.nh="";this.Fe=this.wj=r;this.Bm=this.gg=this.vf=this.wc=this.pd=0;this.Jd=1;this.wd=new Na;this.pf=0;this.Ti=m;this.wf=this.$e=
this.Xe=this.nc=this.qe=this.pg=0;this.Ud=p;this.ii=[];this.mg=[];this.Ve=-1;this.Ng=[[]];this.Bh=this.uf=0;this.bh(p);this.oo=[];this.po=-1;this.Yi=this.te=0;this.Si=m;this.Yd=0;this.Jf=[];this.yh=this.fh=0;this.oe=m;this.tf=0;this.jf=r;this.pm=0;this.Xc=r;this.Qg=new Ma;this.Rg=new Ma;this.cm=[];this.wo=new Pa([]);this.xo=new Pa([]);this.sc=[];this.Rd={};this.od={};this.nd={};this.Md={};this.Zh={};this.Bb=this.hb=this.Ri=this.rf=this.C=p;this.Ld=this.Gg=r;this.qg=[p,p];this.ae=0;this.bl="";this.Bd=
{};this.If=this.yd=p;this.om="";this.load();this.devicePixelRatio=(this.le=!this.Aa&&this.zm&&(this.Ni||this.kf))?window.devicePixelRatio||1:1;this.ua();var c;"undefined"!==typeof jQuery&&0<this.eb&&this.setSize(jQuery(window).width(),jQuery(window).height());try{if(this.Ek&&(this.Qb||!this.Aa)){c={depth:r,antialias:!this.zc};var b=m;if(this.Ki&&this.Gl){var l=document.createElement("canvas");if("OES_texture_float,OES_standard_derivatives,WEBKIT_WEBGL_lose_context"===(l.getContext("webgl",c)||l.getContext("experimental-webgl",
c)).getSupportedExtensions().toString())b=r}b&&(this.ec=n.getContext("webgl",c)||n.getContext("experimental-webgl",c))}}catch(q){}if(this.ec){this.Aa||(this.Ha=document.createElement("canvas"),jQuery(this.Ha).appendTo(this.canvas.parentNode),this.Ha.oncontextmenu=w(r),this.Ha.onselectstart=w(r),this.Ha.width=n.width,this.Ha.height=n.height,this.gj(),this.Yg=this.Ha.getContext("2d"));this.J=new ea.Sm(this.ec,this.zc);this.J.tj(n.width,n.height);this.M=p;this.canvas.addEventListener("webglcontextlost",
function(n){n.preventDefault();a.Ql();window.cr_setSuspended(m)},r);this.canvas.addEventListener("webglcontextrestored",function(){a.J.lo();a.J.tj(a.J.width,a.J.height,m);a.hb=p;a.Bb=p;a.qg[0]=p;a.qg[1]=p;a.Rl();a.O=m;window.cr_setSuspended(r)},r);var v,e,g,f,d;n=0;for(c=this.k.length;n<c;n++){v=this.k[n];b=0;for(l=v.r.length;b<l;b++)g=v.r[b],g.ta=this.J.Ci(g.id),this.Ld=this.Ld||this.J.Df(g.ta)}n=0;for(c=this.Cb.length;n<c;n++){f=this.Cb[n];b=0;for(l=f.r.length;b<l;b++)g=f.r[b],g.ta=this.J.Ci(g.id);
b=0;for(l=f.H.length;b<l;b++){d=f.H[b];v=0;for(e=d.r.length;v<e;v++)g=d.r[v],g.ta=this.J.Ci(g.id),this.Ld=this.Ld||this.J.Df(g.ta)}}}else{if(0<this.eb&&this.gc){this.canvas=p;document.oncontextmenu=w(r);document.onselectstart=w(r);this.M=AppMobi.canvas.getContext("2d");try{this.M.samplingMode=this.ea?"smooth":"sharp",this.M.globalScale=1,this.M.HTML5CompatibilityMode=m}catch(h){}0!==this.width&&0!==this.height&&(this.M.width=this.width,this.M.height=this.height)}this.M||(this.Qb?(c={antialias:!!this.ea},
this.M=n.getContext("2d",c)):this.M=n.getContext("2d"),this.M.webkitImageSmoothingEnabled=this.ea,this.M.mozImageSmoothingEnabled=this.ea,this.M.msImageSmoothingEnabled=this.ea,this.M.imageSmoothingEnabled=this.ea);this.Yg=this.Ha=p}this.Ej=function(){a.Mc()};window!=window.top&&(!this.Aa&&!this.Il)&&(document.addEventListener("mousedown",function(){window.focus()},m),document.addEventListener("touchstart",function(){window.focus()},m));"undefined"!==typeof cr_is_preview&&(this.Qb&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),
"?continuous"===window.location.search&&(F("Reloading for continuous preview"),this.sf="__c2_continuouspreview",this.Fe=m),this.Xl&&!this.zc&&(jQuery(window).focus(function(){a.setSuspended(r)}),jQuery(window).blur(function(){a.setSuspended(m)})));this.go();this.T={}}}function k(n){n.target.result.createObjectStore("saves",{keyPath:"slot"})}function b(n,a,c,b){var l=indexedDB.open("_C2SaveStates");l.onupgradeneeded=k;l.onerror=b;l.onsuccess=function(q){q=q.target.result;q.onerror=b;q.transaction(["saves"],
"readwrite").objectStore("saves").put({slot:n,data:a}).onsuccess=c}}function d(n,a,c){var b=indexedDB.open("_C2SaveStates");b.onupgradeneeded=k;b.onerror=c;b.onsuccess=function(b){b=b.target.result;b.onerror=c;var q=b.transaction(["saves"]).objectStore("saves").get(n);q.onsuccess=function(){q.result?a(q.result.data):a(p)}}}function c(){F("Reloading for continuous preview");window.c2cocoonjs?CocoonJS.App.reload():"?continuous"===window.location.search?window.location.reload(m):window.location+="?continuous"}
function g(n){var a,c={};for(a in n)n.hasOwnProperty(a)&&!(n[a]instanceof Ma)&&"undefined"===typeof n[a].ao&&"mouseOverInverted"!==a&&(c[a]=n[a]);return c}h.prototype.setSize=function(n,a){var c=this.Bl&&this.of&&!navigator.standalone&&!this.Aa&&!this.ud,b=0;c&&(this.of?b=60:this.Ji&&(b=56),a+=b);var l=0,q=0,v=0,e=0,g=0,g=this.eb,f=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||this.jf;f&&0<this.ae&&(g=this.ae);4<=g?(v=this.Sa/this.Ra,n/a>v?(v*=a,5===g?(g=v/this.Sa,1<g?
g=Math.floor(g):1>g&&(g=1/Math.ceil(1/g)),v=this.Sa*g,e=this.Ra*g,l=(n-v)/2,q=(a-e)/2,n=v,a=e):(l=(n-v)/2,n=v)):(e=n/v,5===g?(g=e/this.Ra,1<g?g=Math.floor(g):1>g&&(g=1/Math.ceil(1/g)),v=this.Sa*g,e=this.Ra*g,l=(n-v)/2,q=(a-e)/2,n=v):q=(a-e)/2,a=e),f&&!this.ke&&(q=l=0),l=Math.floor(l),q=Math.floor(q),n=Math.floor(n),a=Math.floor(a)):this.ke&&(this.jf&&0===this.ri)&&(l=Math.floor((n-this.Sa)/2),q=Math.floor((a-this.Ra)/2),n=this.Sa,a=this.Ra);this.le&&(this.Oi&&1<this.devicePixelRatio)&&(1024<=n&&(n=
1023),1024<=a&&(a=1023));f=this.devicePixelRatio;this.width=n*f;this.height=a*f;this.O=m;this.di&&!this.Aa&&(jQuery(this.di).css({width:n+"px",height:a+"px","margin-left":l,"margin-top":q}),"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:n+"px",height:a+"px"}));this.canvas&&(this.canvas.width=n*f,this.canvas.height=a*f,this.le&&jQuery(this.canvas).css({width:n+"px",height:a+"px"}));this.Ha&&(this.Ha.width=n,this.Ha.height=a);this.J&&this.J.tj(n,a);this.gc&&this.M&&(this.M.width=
n,this.M.height=a);this.M&&(this.M.webkitImageSmoothingEnabled=this.ea,this.M.mozImageSmoothingEnabled=this.ea,this.M.msImageSmoothingEnabled=this.ea,this.M.imageSmoothingEnabled=this.ea);c&&0<b&&window.setTimeout(function(){window.scrollTo(0,1)},100)};h.prototype.Ql=function(){this.Gg=m;var n,a,c;n=0;for(a=this.k.length;n<a;n++)c=this.k[n],c.Tg&&c.Tg()};h.prototype.Rl=function(){this.Gg=r;var n,a,c;n=0;for(a=this.k.length;n<a;n++)c=this.k[n],c.aj&&c.aj()};h.prototype.gj=function(){if(!this.Aa){var n=
document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||this.jf?jQuery(this.canvas).offset():jQuery(this.canvas).position();n.position="absolute";jQuery(this.Ha).css(n)}};var f=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;h.prototype.setSuspended=function(n){var a;if(n&&!this.me){F("[Construct 2] Suspending");this.me=m;0!==this.fh&&f&&f(this.fh);0!==this.yh&&clearTimeout(this.yh);
n=0;for(a=this.Jf.length;n<a;n++)this.Jf[n](m)}else if(!n&&this.me){F("[Construct 2] Resuming");this.me=r;this.pf=La();this.qe=La();n=this.$e=0;for(a=this.Jf.length;n<a;n++)this.Jf[n](r);this.Mc()}};h.prototype.load=function(){var n=hb();this.name=n[0];this.qi=n[1];this.eb=n[11];this.ri=n[11];if(this.Aa&&(4<=n[11]||0===n[11]))F("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.ri=this.eb=3;this.Eh=n[17];this.se=n[18];0===this.se&&
(this.yd=new Image,this.yd.src="loading-logo.png");this.te=n[20];this.Vb=new P(this);var a,c,b,l,q,v,e,g,f;a=0;for(c=n[2].length;a<c;a++)e=n[2][a],ib(e),f=new e[0](this),f.rh=e[1],f.Ac=e[2],f.Wi=e[9],f.fa&&f.fa(),this.plugins.push(f);n=hb();a=0;for(c=n[3].length;a<c;a++){e=n[3][a];q=e[1];f=p;b=0;for(l=this.plugins.length;b<l;b++)if(this.plugins[b]instanceof q){f=this.plugins[b];break}var d=new f.sb(f);d.name=e[0];d.A=e[2];d.Bg=e[3].slice(0);d.Am=e[3].length;d.tk=e[4];d.dl=e[5];d.D=e[11];d.A?(d.Ui=
[],d.Ob=this.Yd++,d.R=p):(d.Ui=p,d.Ob=-1,d.R=[]);d.Ye=p;d.rd=p;d.mi=p;d.Ab=r;d.Ga=p;e[6]?(d.Cj=e[6][0],d.Dj=e[6][1],d.tm=e[6][2]):(d.Cj=p,d.Dj=0,d.tm=0);d.La=e[7]?e[7]:p;d.index=a;d.d=[];d.Te=[];d.Ic=[new Ta(d)];d.Yb=0;d.Mb=p;d.Jc=m;d.Qf=jb;d.gl=kb;d.ll=lb;d.U=mb;d.ze=nb;d.ah=ob;d.Ed=pb;d.bf=qb;d.rg=rb;d.tg=sb;d.Sd=tb;d.T={};d.toString=ub;d.ba=[];b=0;for(l=e[8].length;b<l;b++){g=e[8][b];var h=g[1],k=p;q=0;for(v=this.ba.length;q<v;q++)if(this.ba[q]instanceof h){k=this.ba[q];break}k||(k=new h(this),
k.Pg=new Ma,k.fa&&k.fa(),this.ba.push(k));q=new k.sb(k,d);q.name=g[0];q.D=g[2];q.fa();d.ba.push(q)}d.global=e[9];d.Dg=e[10];d.r=[];b=0;for(l=e[12].length;b<l;b++)d.r.push({id:e[12][b][0],name:e[12][b][1],ta:-1,ub:m,index:b});(!this.Eh||d.A||d.Dg||!f.Ac)&&d.fa();d.name&&(this.types[d.name]=d);this.k.push(d);f.rh&&(b=new f.Ka(d),b.uid=this.te++,b.lj=this.Yi++,b.fe=0,b.ee=vb,b.toString=wb,b.Y=e[13],b.fa(),d.d.push(b))}a=0;for(c=n[4].length;a<c;a++){q=n[4][a];v=this.k[q[0]];b=1;for(l=q.length;b<l;b++)e=
this.k[q[b]],e.R.push(v),v.Ui.push(e)}a=0;for(c=n[22].length;a<c;a++){q=n[22][a];v=[];b=0;for(l=q.length;b<l;b++)v.push(this.k[q[b]]);b=0;for(l=v.length;b<l;b++)v[b].Ab=m,v[b].Ga=v}if(0<this.Yd){a=0;for(c=this.k.length;a<c;a++)if(e=this.k[a],!e.A&&e.R.length){e.Ye=Array(this.Yd);e.rd=Array(this.Yd);e.mi=Array(this.Yd);d=[];b=k=h=g=0;for(l=e.R.length;b<l;b++){f=e.R[b];e.Ye[f.Ob]=g;g+=f.Am;e.rd[f.Ob]=h;h+=f.tk;e.mi[f.Ob]=k;k+=f.dl;q=0;for(v=f.r.length;q<v;q++)d.push(qa({},f.r[q]))}e.r=d.concat(e.r);
b=0;for(l=e.r.length;b<l;b++)e.r[b].index=b}}a=0;for(c=n[5].length;a<c;a++)e=n[5][a],b=new Ua(this,e),this.Kg[b.name]=b,this.Cb.push(b);a=0;for(c=n[6].length;a<c;a++)e=n[6][a],b=new Va(this,e),this.ng[b.name]=b,this.Vc.push(b);a=0;for(c=this.Vc.length;a<c;a++)this.Vc[a].$();a=0;for(c=this.Pf.length;a<c;a++)this.Pf[a].$();this.Pf.length=0;this.bl=n[7];this.Dc=n[8];this.Sa=n[9];this.Ra=n[10];this.Oe=1;this.Ek=n[12];this.ea=n[13];this.fi=n[14];this.Ao=n[15];a=n[16];2===a&&(a=this.of?1:0);this.zm=0!==
a;this.Bl=n[19];this.Xl=n[21];this.Ee=Date.now()};h.prototype.cl=function(n){var a,c;a=0;for(c=this.Oc.length;a<c;a++)if(this.Oc[a].yk===n)return this.Oc[a];return p};h.prototype.Yh=function(){var n=0,a=0,c=m,b,l;b=0;for(l=this.Oc.length;b<l;b++){var q=this.Oc[b].xk;if(!q||0>=q)q=5E4;n+=q;this.Oc[b].complete||this.Oc[b].loaded?a+=q:c=r}this.V=0==n?0:a/n;return c};h.prototype.go=function(){if(this.M||this.J){var n=this.M||this.Yg;this.Ha&&this.gj();this.V=0;this.Qi=-1;if(this.Yh())this.zl();else{var a=
Date.now()-this.Ee,c=1;this.kf&&(c=this.devicePixelRatio);if(n){if(3!==this.se&&500<=a&&this.Qi!=this.V){n.clearRect(0,0,this.width,this.height);var a=this.width/(2*c),c=this.height/(2*c),b=0===this.se&&this.yd.complete,l=40,q=0,e=80;b&&(e=this.yd.width,l=e/2,q=this.yd.height/2,n.drawImage(this.yd,la(a-l),la(c-q)));1>=this.se?(a=la(a-l)+0.5,c=la(c+(q+(b?12:0)))+0.5,n.fillStyle="DodgerBlue",n.fillRect(a,c,Math.floor(e*this.V),6),n.strokeStyle="black",n.strokeRect(a,c,e,6),n.strokeStyle="white",n.strokeRect(a-
1,c-1,e+2,8)):2===this.se&&(n.font="12pt Arial",n.fillStyle="#999",n.yo="middle",b=Math.round(100*this.V)+"%",l=n.measureText?n.measureText(b):p,n.fillText(b,a-(l?l.width:0)/2,c))}this.Qi=this.V}setTimeout(function(n){return function(){n.go()}}(this),100)}}};h.prototype.zl=function(){this.Ha&&(this.canvas.parentNode.removeChild(this.Ha),this.Ha=this.Yg=p);this.Ee=Date.now();this.qe=La();var n,a,c;if(this.Eh){n=0;for(a=this.k.length;n<a;n++)c=this.k[n],!c.A&&(!c.Dg&&c.na.Ac)&&c.fa()}else this.oe=r;
n=0;for(a=this.Cb.length;n<a;n++)this.Cb[n].zk();2<=this.eb&&(n=this.Sa/this.Ra,a=this.width/this.height,this.Oe=2!==this.eb&&a>n||2===this.eb&&a<n?this.height/this.Ra:this.width/this.Sa);this.qi?this.Kg[this.qi].sh():this.Cb[0].sh();this.Eh||(this.tf=1,this.trigger(P.prototype.j.Jh,p));this.Mc();this.gc&&AppMobi.webview.execute("onGameReady();")};var a=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame;
h.prototype.Mc=function(){if(this.C){if(this.El){var n=jQuery(window).width(),c=jQuery(window).height();if(this.bd!==n||this.ad!==c)this.bd=n,this.ad=c,this.setSize(n,c)}n=La();this.oe&&(c=this.Yh(),this.tf=this.V,c&&(this.oe=r,this.V=1,this.trigger(P.prototype.j.Jh,p)));this.Pl();if((this.O||this.Qb)&&!this.Gg&&!this.Fe)this.O=r,this.J?this.yb():this.Zb(),this.If&&(this.canvas&&this.canvas.toDataURL&&(this.om=this.canvas.toDataURL(this.If[0],this.If[1]),this.trigger(P.prototype.j.Yj,p)),this.If=
p);this.nc++;this.Xe++;this.$e++;this.vf+=La()-n;this.me||(a?this.fh=a(this.Ej,this.canvas):this.yh=setTimeout(this.Ej,this.zc?1:16))}};h.prototype.Pl=function(){var n,a,c,b,l,q,e,g,f;n=La();1E3<=n-this.qe&&(this.qe+=1E3,this.pg=this.$e,this.$e=0,this.gg=this.vf,this.vf=0);this.Ti&&(0!==this.pf&&(a=n-this.pf,0===a?(this.Bm++,10<=this.Co&&(this.Ti=r),this.wc=1/60):(this.wc=a/1E3,0.5<this.wc?this.wc=0:0.1<this.wc&&(this.wc=0.1))),this.pf=n);this.pd=this.wc*this.Jd;this.wd.add(this.pd);n=document.mozFullScreen||
document.webkitIsFullScreen||document.fullScreen||this.jf;2<=this.eb||n&&0<this.ae?(a=this.Sa/this.Ra,c=this.width/this.height,b=this.eb,n&&0<this.ae&&(b=this.ae),this.Oe=2!==b&&c>a||2===b&&c<a?this.height/this.Ra:this.width/this.Sa,this.C&&(this.C.rj(this.C.scrollX),this.C.sj(this.C.scrollY))):this.Oe=1;this.ua();this.hc++;this.Vb.fm();this.hc--;this.ua();this.hc++;n=0;for(a=this.k.length;n<a;n++)if(e=this.k[n],!(e.A||!e.ba.length&&!e.R.length)){c=0;for(b=e.d.length;c<b;c++){g=e.d[c];l=0;for(q=g.G.length;l<
q;l++)g.G[l].Mc()}}n=0;for(a=this.k.length;n<a;n++)if(e=this.k[n],!(e.A||!e.ba.length&&!e.R.length)){c=0;for(b=e.d.length;c<b;c++){g=e.d[c];l=0;for(q=g.G.length;l<q;l++)f=g.G[l],f.$l&&f.$l()}}c=this.Qg.Ge();n=0;for(a=c.length;n<a;n++)c[n].Mc();this.hc--;this.Al();for(n=0;this.Ud&&10>n++;)this.ki(this.Ud);n=0;for(a=this.Vc.length;n<a;n++)this.Vc[n].xg=r;this.C.Ue&&this.C.Ue.ka();this.cm.length=0;this.Si=r;this.hc++;n=0;for(a=this.k.length;n<a;n++)if(e=this.k[n],!(e.A||!e.ba.length&&!e.R.length)){c=
0;for(b=e.d.length;c<b;c++){g=e.d[c];l=0;for(q=g.G.length;l<q;l++)f=g.G[l],f.wh&&f.wh()}}c=this.Rg.Ge();n=0;for(a=c.length;n<a;n++)c[n].wh();this.hc--};h.prototype.ki=function(n){var a=this.C;this.C.qm();var c,b,l,q,e,g,f;if(this.J){c=0;for(b=this.k.length;c<b;c++)e=this.k[c],e.A||e.Mj&&((!e.global||0===e.d.length)&&-1===n.he.indexOf(e))&&e.Mj()}a==n&&(this.Vb.Ya.length=0);n.sh();c=0;for(b=this.k.length;c<b;c++)if(e=this.k[c],e.global||e.na.rh){n=0;for(a=e.d.length;n<a;n++)if(g=e.d[n],g.Sg&&g.Sg(),
g.G){l=0;for(q=g.G.length;l<q;l++)f=g.G[l],f.Sg&&f.Sg()}}this.Si=this.O=m;this.ua()};h.prototype.xh=function(n){this.Qg.add(n)};h.prototype.um=function(n){this.Rg.add(n)};h.prototype.wi=function(n){return!n||-1===n.dd?this.pd:this.wc*n.dd};h.prototype.Zb=function(){this.C.Zb(this.M);this.gc&&this.M.present()};h.prototype.yb=function(){this.C.yb(this.J)};h.prototype.Bi=function(n){return this.Bd[n.toString()]};h.prototype.ld=function(n){var a,c;if(!this.Lb.contains(n)){this.Lb.add(n);if(n.Ab){a=0;
for(c=n.siblings.length;a<c;a++)this.ld(n.siblings[a])}this.Cg&&this.Lb.He.push(n);this.hc++;this.trigger(Object.getPrototypeOf(n.type.na).j.$j,n);this.hc--}};h.prototype.ua=function(){var a,c,b,l,e,q,g,f,d,k;this.Cg=m;l=0;for(q=this.Kb.length;l<q;l++){a=this.Kb[l];c=a.type;c.d.push(a);c.Jc=m;e=0;for(g=c.R.length;e<g;e++)c.R[e].d.push(a),c.R[e].Jc=m}this.Kb.length=0;q=this.Lb.Ge();for(l=0;l<q.length;l++){a=q[l];c=a.type;b=c.d;e=0;for(g=this.ii.length;e<g;e++)this.ii[e](a);ta(b,a);a.e&&(ra(a.e.d,a.gb()),
a.e.Za=m);e=0;for(g=c.R.length;e<g;e++)ta(c.R[e].d,a),c.R[e].Jc=m;if(a.G){e=0;for(g=a.G.length;e<g;e++)b=a.G[e],b.xf&&b.xf(),b.Xb.Pg.remove(a)}this.Qg.remove(a);this.Rg.remove(a);e=0;for(g=this.Vb.Ya.length;e<g;e++)if(d=this.Vb.Ya[e],d.Ta.hasOwnProperty(c.index)&&ta(d.Ta[c.index].Zc,a),!c.A){b=0;for(f=c.R.length;b<f;b++)k=c.R[b],d.Ta.hasOwnProperty(k.index)&&ta(d.Ta[k.index].Zc,a)}a.xf&&a.xf();this.Bd.hasOwnProperty(a.uid.toString())&&delete this.Bd[a.uid.toString()];this.wf--;64>c.Te.length&&c.Te.push(a);
c.Jc=m}this.Lb.je()||(this.O=m);this.Lb.clear();this.Cg=r};var u=[];h.prototype.Tc=function(a,c,b,e,l,q){var g,f,d,k;if(!a)return p;var h=this.k[a[1]],E=h.na.Ac;if(this.oe&&E&&!h.Dg||E&&!this.J&&11===a[0][11])return p;var D=c;E||(c=p);var s;h.Te.length?(s=h.Te.pop(),s.Fb=m,h.na.Ka.call(s,h)):(s=new h.na.Ka(h),s.Fb=r);s.uid=b&&!q?a[2]:this.te++;this.Bd[s.uid.toString()]=s;s.lj=this.Yi++;s.fe=0;s.ee=vb;h.Jc=m;d=a[3];if(s.Fb){g=0;for(f=d.length;g<f;g++)s.la[g]=d[g];Ka(s.T)}else s.la=d.slice(0),s.T={};
if(E){var B=a[0];s.x=fa(e)?B[0]:e;s.y=fa(l)?B[1]:l;s.Pj=B[2];s.width=B[3];s.height=B[4];s.depth=B[5];s.g=B[6];s.opacity=B[7];s.Na=B[8];s.Oa=B[9];s.Ea=B[10];g=B[11];!this.J&&h.r.length&&(s.Ea=g);s.Vd=Qa(s.Ea);this.ec&&Ra(s,s.Ea,this.ec);if(s.Fb){g=0;for(f=B[12].length;g<f;g++){d=0;for(k=B[12][g].length;d<k;d++)s.X[g][d]=B[12][g][d]}s.I.set(0,0,0,0);s.Ib.ph(s.I);s.Pe.length=0}else{s.X=B[12].slice(0);g=0;for(f=s.X.length;g<f;g++)s.X[g]=B[12][g].slice(0);s.K=[];s.rc=[];s.rc.length=h.r.length;s.I=new oa(0,
0,0,0);s.Ib=new pa;s.Pe=[];s.pa=xb;s.$n=yb;s.uc=zb;s.rb=Ab;s.gb=Bb}g=0;for(f=h.r.length;g<f;g++)s.rc[g]=m;s.pc=Cb;s.pc();s.Nj=!!s.K.length;s.$f=m;s.visible=m;s.dd=-1;s.e=c;s.kd=c.d.length;"undefined"===typeof s.Jb&&(s.Jb=p);this.O=s.Re=m}s.toString=wb;var C;g=u.length=0;for(f=h.R.length;g<f;g++)u.push.apply(u,h.R[g].ba);u.push.apply(u,h.ba);if(s.Fb){g=0;for(f=u.length;g<f;g++){var K=u[g];C=s.G[g];C.Fb=m;K.Xb.Ka.call(C,K,s);B=a[4][g];d=0;for(k=B.length;d<k;d++)C.Y[d]=B[d];C.fa();K.Xb.Pg.add(s)}}else{s.G=
[];g=0;for(f=u.length;g<f;g++)K=u[g],C=new K.Xb.Ka(K,s),C.Fb=r,C.Y=a[4][g].slice(0),C.fa(),s.G.push(C),K.Xb.Pg.add(s)}B=a[5];if(s.Fb){g=0;for(f=B.length;g<f;g++)s.Y[g]=B[g]}else s.Y=B.slice(0);this.Kb.push(s);c&&c.d.push(s);this.wf++;if(h.Ab){if(s.Ab=m,s.Fb?s.siblings.length=0:s.siblings=[],!b&&!q){g=0;for(f=h.Ga.length;g<f;g++)if(h.Ga[g]!==h){if(!h.Ga[g].Mb)return p;s.siblings.push(this.Tc(h.Ga[g].Mb,D,r,E?s.x:e,E?s.y:l,m))}g=0;for(f=s.siblings.length;g<f;g++){s.siblings[g].siblings.push(s);for(d=
0;d<f;d++)g!==d&&s.siblings[g].siblings.push(s.siblings[d])}}}else s.Ab=r,s.siblings=p;s.fa();g=0;for(f=s.G.length;g<f;g++)s.G[g].Zl&&s.G[g].Zl();return s};h.prototype.be=function(a){var c,b;c=0;for(b=this.C.H.length;c<b;c++){var e=this.C.H[c];if(e.name.toLowerCase()===a.toLowerCase())return e}return p};h.prototype.cc=function(a){a=la(a);0>a&&(a=0);a>=this.C.H.length&&(a=this.C.H.length-1);return this.C.H[a]};h.prototype.fg=function(a){var c,b;c=0;for(b=a.length;c<b;c++)a[c].U().Z=m};h.prototype.ze=
function(a){var c,b;c=0;for(b=a.length;c<b;c++)a[c].ze()};h.prototype.ah=function(a){var c,b;c=0;for(b=a.length;c<b;c++)a[c].ah()};h.prototype.Ed=function(a){var c,b;c=0;for(b=a.length;c<b;c++)a[c].Ed()};h.prototype.vh=function(a,c,b,e){var l=a.U(),q,g,f,d,h,k;if(l.Z){e||(l.Z=r,l.d.length=0);q=0;for(d=a.d.length;q<d;q++)if(f=a.d[q],f.rb(),h=f.e.ra(c,b,m),k=f.e.ra(c,b,r),f.uc(h,k)){if(e)return r;l.d.push(f)}}else{q=g=0;for(d=l.d.length;q<d;q++)if(f=l.d[q],f.rb(),h=f.e.ra(c,b,m),k=f.e.ra(c,b,r),f.uc(h,
k)){if(e)return r;l.d[g]=l.d[q];g++}e||(l.d.length=g)}a.Sd();return e?m:l.wg()};new pa;new oa(0,0,0,0);h.prototype.Jj=function(a,c){if(!c)return r;var b,e,l,q,g;b=0;for(e=a.ba.length;b<e;b++)if(a.ba[b].Xb instanceof c)return m;if(!a.A){b=0;for(e=a.R.length;b<e;b++){g=a.R[b];l=0;for(q=g.ba.length;l<q;l++)if(g.ba[l].Xb instanceof c)return m}}return r};h.prototype.Kj=function(a){return this.Jj(a,gb.kn)};h.prototype.Ch=function(a){return this.Jj(a,gb.ln)};var e=[],l=-1;h.prototype.trigger=function(a,
c,b){if(!this.C)return r;var g=this.C.Ue;if(!g)return r;l++;l===e.length?e.push(new Ma):e[l].clear();a=this.Hj(a,c,g,b);l--;return a};h.prototype.Hj=function(a,c,b,g){var f=e[l];if(f.contains(b))return r;f.add(b);var f=b.Gi.Ge(),q=r,d,h,k;d=0;for(h=f.length;d<h;d++)f[d].Dl()&&(k=this.Hj(a,c,f[d].ge,g),q=q||k);if(c){k=this.Ah(a,c,c.type.name,b,g);q=q||k;d=0;for(h=c.type.R.length;d<h;d++)k=this.Ah(a,c,c.type.R[d].name,b,g),q=q||k}else k=this.Ah(a,c,"system",b,g),q=q||k;return q};h.prototype.Ah=function(a,
c,b,e,l){var q,g=r,f=r,f="undefined"!==typeof l,d=(f?e.oi:e.Ij)[b];if(!d)return g;var h=p;e=0;for(q=d.length;e<q;e++)if(d[e].method==a){h=d[e].We;break}if(!h)return g;a=f?h[l]:h;if(!a)return p;e=0;for(q=a.length;e<q;e++)l=a[e][0],f=a[e][1],f=this.al(c,b,l,f),g=g||f;return g};h.prototype.al=function(a,c,b,e){var g,q,f=r;this.Bh++;var d=this.fb().xb;d&&this.ze(d.Gc);var h=1<this.Bh;this.ze(b.Gc);h&&this.am();var k=this.bh(b);k.xb=b;a&&(g=this.types[c].U(),g.Z=r,g.d.length=1,g.d[0]=a,this.types[c].Sd());
a=m;if(b.parent){c=k.zj;for(g=b.parent;g;)c.push(g),g=g.parent;c.reverse();g=0;for(q=c.length;g<q;g++)if(!c[g].hm()){a=r;break}}a&&(this.Xe++,b.Ub?b.gm(e):b.ka(),f=f||k.xd);this.fj();h&&this.Yl();this.Ed(b.Gc);d&&this.Ed(d.Gc);0===this.hc&&(0===l&&!this.Eg&&(!this.Lb.je()||this.Kb.length))&&this.ua();this.Bh--;return f};h.prototype.ti=function(){var a=this.fb();return a.xb.ca[a.Fa]};h.prototype.am=function(){this.uf++;this.uf>=this.Ng.length&&this.Ng.push([])};h.prototype.Yl=function(){this.uf--};
h.prototype.vi=function(){return this.Ng[this.uf]};h.prototype.bh=function(a){this.Ve++;this.Ve>=this.mg.length&&this.mg.push(new Wa);var c=this.fb();c.reset(a);return c};h.prototype.fj=function(){this.Ve--};h.prototype.fb=function(){return this.mg[this.Ve]};h.prototype.xi=function(a,c){for(var b,e,l,q,g,f;c;){b=0;for(e=c.pb.length;b<e;b++)if(f=c.pb[b],f instanceof Xa&&a.toLowerCase()===f.name.toLowerCase())return f;c=c.parent}b=0;for(e=this.Vc.length;b<e;b++){g=this.Vc[b];l=0;for(q=g.xc.length;l<
q;l++)if(f=g.xc[l],f instanceof Xa&&a.toLowerCase()===f.name.toLowerCase())return f}return p};h.prototype.yi=function(a){var c,b;c=0;for(b=this.Cb.length;c<b;c++)if(this.Cb[c].D===a)return this.Cb[c];return p};h.prototype.ef=function(a){var c,b;c=0;for(b=this.k.length;c<b;c++)if(this.k[c].D===a)return this.k[c];return p};h.prototype.hl=function(a){var c,b;c=0;for(b=this.sc.length;c<b;c++)if(this.sc[c].D===a)return this.sc[c];return p};h.prototype.Al=function(){var a=this,e=this.nh,l=this.jc,g=this.sf,
f=r;this.wj&&(f=m,e="__c2_continuouspreview",this.wj=r);if(e.length){this.ua();l=this.lm();if(window.indexedDB&&!this.Qb)b(e,l,function(){F("Saved state to IndexedDB storage ("+l.length+" bytes)");a.jc=l;a.trigger(P.prototype.j.Vf,p);a.jc="";f&&c()},function(b){try{localStorage.setItem("__c2save_"+e,l),F("Saved state to WebStorage ("+l.length+" bytes)"),a.jc=l,a.trigger(P.prototype.j.Vf,p),a.jc="",f&&c()}catch(q){F("Failed to save game state: "+b+"; "+q)}});else try{localStorage.setItem("__c2save_"+
e,l),F("Saved state to WebStorage ("+l.length+" bytes)"),a.jc=l,this.trigger(P.prototype.j.Vf,p),a.jc="",f&&c()}catch(q){F("Error saving to WebStorage: "+q)}this.Ca=this.sf=this.nh=""}g.length&&(window.indexedDB&&!this.Qb?d(g,function(c){c?(a.Ca=c,F("Loaded state from IndexedDB storage ("+a.Ca.length+" bytes)")):(a.Ca=localStorage.getItem("__c2save_"+g)||"",F("Loaded state from WebStorage ("+a.Ca.length+" bytes)"));a.Fe=r;a.Ca.length||a.trigger(P.prototype.j.Uf,p)},function(){a.Ca=localStorage.getItem("__c2save_"+
g)||"";F("Loaded state from WebStorage ("+a.Ca.length+" bytes)");a.Fe=r;a.Ca.length||a.trigger(P.prototype.j.Uf,p)}):(this.Ca=localStorage.getItem("__c2save_"+g)||"",F("Loaded state from WebStorage ("+this.Ca.length+" bytes)"),this.Fe=r,a.Ca.length||a.trigger(P.prototype.j.Uf,p)),this.nh=this.sf="");this.Ca.length&&(this.ua(),this.Ml(this.Ca),this.jc=this.Ca,this.trigger(P.prototype.j.bk,p),this.Ca=this.jc="")};h.prototype.lm=function(){var a,c,b,e,l,q,f,d={c2save:m,version:1,rt:{time:this.wd.Kc,
timescale:this.Jd,tickcount:this.nc,execcount:this.Xe,next_uid:this.te,running_layout:this.C.D,start_time_offset:Date.now()-this.Ee},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};a=0;for(c=this.k.length;a<c;a++)if(l=this.k[a],!l.A&&!this.Kj(l)){q={instances:[]};Ja(l.T)&&(q.ex=g(l.T));b=0;for(e=l.d.length;b<e;b++)q.instances.push(this.qj(l.d[b]));d.types[l.D.toString()]=q}a=0;for(c=this.Cb.length;a<c;a++)b=this.Cb[a],d.layouts[b.D.toString()]=b.ob();e=d.events.groups;a=0;for(c=this.sc.length;a<
c;a++)b=this.sc[a],e[b.D.toString()]=!!this.Rd[b.sd];c=d.events.cnds;for(f in this.od)this.od.hasOwnProperty(f)&&(a=this.od[f],Ja(a.T)&&(c[f]={ex:g(a.T)}));c=d.events.acts;for(f in this.nd)this.nd.hasOwnProperty(f)&&(a=this.nd[f],Ja(a.T)&&(c[f]={ex:a.T}));c=d.events.vars;for(f in this.Md)if(this.Md.hasOwnProperty(f)&&(a=this.Md[f],!a.lf&&(!a.parent||a.ne)))c[f]=a.data;d.system=this.Vb.ob();return JSON.stringify(d)};h.prototype.mj=function(){var a,c,b,e,l,q;this.Bd={};a=0;for(c=this.k.length;a<c;a++)if(b=
this.k[a],!b.A){e=0;for(l=b.d.length;e<l;e++)q=b.d[e],this.Bd[q.uid.toString()]=q}};h.prototype.Ml=function(a){a=JSON.parse(a);if(a.c2save&&!(1<a.version)){var c=a.rt;this.wd.reset();this.wd.Kc=c.time;this.Jd=c.timescale;this.nc=c.tickcount;this.Xe=c.execcount;this.Ee=Date.now()-c.start_time_offset;var b=c.running_layout;if(b!==this.C.D)if(b=this.yi(b))this.ki(b);else return;this.Li=m;var e,l,q,g,f,d,h;d=a.types;for(l in d)if(d.hasOwnProperty(l)&&(g=this.ef(parseInt(l,10)))&&!g.A&&!this.Kj(g)){d[l].ex?
g.T=d[l].ex:Ka(g.T);f=g.d;q=d[l].instances;b=0;for(e=ia(f.length,q.length);b<e;b++)this.Mg(f[b],q[b]);b=q.length;for(e=f.length;b<e;b++)this.ld(f[b]);b=f.length;for(e=q.length;b<e;b++){f=p;if(g.na.Ac&&(f=this.C.cf(q[b].w.l),!f))continue;f=this.Tc(g.Mb,f,r,0,0,m);this.Mg(f,q[b])}g.Jc=m}this.ua();this.mj();e=a.layouts;for(l in e)e.hasOwnProperty(l)&&(b=this.yi(parseInt(l,10)))&&b.Sb(e[l]);e=a.events.groups;for(l in e)e.hasOwnProperty(l)&&(b=this.hl(parseInt(l,10)))&&(this.Rd[b.sd]=e[l]);b=a.events.cnds;
for(l in b)b.hasOwnProperty(l)&&this.od.hasOwnProperty(l)&&(this.od[l].T=b[l].ex);b=a.events.acts;for(l in b)b.hasOwnProperty(l)&&this.nd.hasOwnProperty(l)&&(this.nd[l].T=b[l].ex);b=a.events.vars;for(l in b)b.hasOwnProperty(l)&&this.Md.hasOwnProperty(l)&&(this.Md[l].data=b[l]);this.te=c.next_uid;this.Li=r;this.Vb.Sb(a.system);b=0;for(e=this.k.length;b<e;b++)if(g=this.k[b],!g.A){l=0;for(a=g.d.length;l<a;l++){f=g.d[l];if(g.Ab){d=f.ee();c=f.siblings.length=0;for(q=g.Ga.length;c<q;c++)h=g.Ga[c],g!==h&&
f.siblings.push(h.d[d])}f.Yf&&f.Yf();if(f.G){c=0;for(q=f.G.length;c<q;c++)d=f.G[c],d.Yf&&d.Yf()}}}this.O=m}};h.prototype.qj=function(a){var c,b,l,e,q;e=a.type;l=e.na;var f={uid:a.uid};Ja(a.T)&&(f.ex=g(a.T));if(a.la&&a.la.length){f.ivs={};c=0;for(b=a.la.length;c<b;c++)f.ivs[a.type.Bg[c].toString()]=a.la[c]}if(l.Ac){l={x:a.x,y:a.y,w:a.width,h:a.height,l:a.e.D,zi:a.gb()};0!==a.g&&(l.a=a.g);1!==a.opacity&&(l.o=a.opacity);0.5!==a.Na&&(l.hX=a.Na);0.5!==a.Oa&&(l.hY=a.Oa);0!==a.Ea&&(l.bm=a.Ea);a.visible||
(l.v=a.visible);a.Re||(l.ce=a.Re);-1!==a.dd&&(l.mts=a.dd);if(e.r.length){l.fx=[];c=0;for(b=e.r.length;c<b;c++)q=e.r[c],l.fx.push({name:q.name,active:a.rc[q.index],params:a.X[q.index]})}f.w=l}if(a.G&&a.G.length){f.behs={};c=0;for(b=a.G.length;c<b;c++)e=a.G[c],e.ob&&(f.behs[e.type.D.toString()]=e.ob())}a.ob&&(f.data=a.ob());return f};h.prototype.jl=function(a,c){var b,l;b=0;for(l=a.Bg.length;b<l;b++)if(a.Bg[b]===c)return b;return-1};h.prototype.fl=function(a,c){var b,l;b=0;for(l=a.G.length;b<l;b++)if(a.G[b].type.D===
c)return b;return-1};h.prototype.Mg=function(a,c){var b,l,e,g,f,d;d=a.type;e=d.na;a.uid=c.uid;c.ex?a.T=c.ex:Ka(a.T);if(l=c.ivs)for(b in l)l.hasOwnProperty(b)&&(g=this.jl(d,parseInt(b,10)),0>g||g>=a.la.length||(a.la[g]=l[b]));if(e.Ac){g=c.w;a.e.D!==g.l&&(l=a.e,a.e=this.C.cf(g.l),a.e?(a.e.d.push(a),a.e.Za=m,ta(l.d,a),l.Za=m):(a.e=l,this.ld(a)));a.x=g.x;a.y=g.y;a.width=g.w;a.height=g.h;a.kd=g.zi;a.g=g.hasOwnProperty("a")?g.a:0;a.opacity=g.hasOwnProperty("o")?g.o:1;a.Na=g.hasOwnProperty("hX")?g.hX:0.5;
a.Oa=g.hasOwnProperty("hY")?g.hY:0.5;a.visible=g.hasOwnProperty("v")?g.v:m;a.Re=g.hasOwnProperty("ce")?g.ce:m;a.dd=g.hasOwnProperty("mts")?g.mts:-1;a.Ea=g.hasOwnProperty("bm")?g.bm:0;a.Vd=Qa(a.Ea);this.ec&&Ra(a,a.Ea,this.ec);a.pa();if(g.hasOwnProperty("fx")){l=0;for(e=g.fx.length;l<e;l++)f=d.tg(g.fx[l].name),0>f||(a.rc[f]=g.fx[l].active,a.X[f]=g.fx[l].params)}a.pc()}if(d=c.behs)for(b in d)d.hasOwnProperty(b)&&(g=this.fl(a,parseInt(b,10)),0>g||a.G[g].Sb(d[b]));c.data&&a.Sb(c.data)};Ya=function(a){return new h(document.getElementById(a))};
Za=function(a,c){return new h({dc:m,width:a,height:c})};window.cr_createRuntime=Ya;window.cr_createDCRuntime=Za;window.createCocoonJSRuntime=function(){window.c2cocoonjs=m;var a=document.createElement("screencanvas")||document.createElement("canvas");document.body.appendChild(a);a=new h(a);window.c2runtime=a;window.addEventListener("orientationchange",function(){window.c2runtime.setSize(window.innerWidth,window.innerHeight)});window.c2runtime.setSize(window.innerWidth,window.innerHeight);return a}})();
window.cr_getC2Runtime=function(){var h=document.getElementById("c2canvas");return h?h.c2runtime:window.c2runtime?window.c2runtime:p};window.cr_sizeCanvas=function(h,k){if(!(0===h||0===k)){var b=window.cr_getC2Runtime();b&&b.setSize(h,k)}};window.cr_setSuspended=function(h){var k=window.cr_getC2Runtime();k&&k.setSuspended(h)};
(function(){function h(c,b){this.b=c;this.Ue=p;this.scrollX=this.b.Sa/2;this.scrollY=this.b.Ra/2;this.scale=1;this.g=0;this.$d=m;this.name=b[0];this.width=b[1];this.height=b[2];this.Lj=b[3];this.vj=b[4];this.D=b[5];var f=b[6],a,d;this.H=[];this.he=[];a=0;for(d=f.length;a<d;a++){var e=new $a(this,f[a]);e.Zi=a;this.H.push(e)}f=b[7];this.Yc=[];a=0;for(d=f.length;a<d;a++){var e=f[a],l=this.b.k[e[1]];l.Mb||(l.Mb=e);this.Yc.push(e);-1===this.he.indexOf(l)&&this.he.push(l)}this.r=[];this.K=[];this.X=[];
a=0;for(d=b[8].length;a<d;a++)this.r.push({id:b[8][a][0],name:b[8][a][1],ta:-1,ub:m,index:a}),this.X.push(b[8][a][2].slice(0));this.pc();this.Fd=new oa(0,0,1,1);this.gh=new oa(0,0,1,1);this.Cc={}}function k(c,b){this.P=c;this.b=c.b;this.d=[];this.scale=1;this.g=0;this.Uc=r;this.oc=new oa(0,0,0,0);this.Fj=new pa;this.Ua=this.Xa=this.Wa=this.Va=0;this.Za=r;this.name=b[0];this.index=b[1];this.D=b[2];this.visible=b[3];this.tc=b[4];this.jd=b[5];this.Db=b[6];this.Eb=b[7];this.opacity=b[8];this.og=b[9];
this.Ja=b[10];this.Ea=b[11];this.Dk=b[12];this.Vd="source-over";this.wa=this.xa=0;this.Ec=r;var f=b[13],a,d;this.td=[];a=0;for(d=f.length;a<d;a++){var e=f[a],l=this.b.k[e[1]];l.Mb||(l.Mb=e);this.td.push(e);-1===this.P.he.indexOf(l)&&this.P.he.push(l)}this.r=[];this.K=[];this.X=[];a=0;for(d=b[14].length;a<d;a++)this.r.push({id:b[14][a][0],name:b[14][a][1],ta:-1,ub:m,index:a}),this.X.push(b[14][a][2].slice(0));this.pc();this.Fd=new oa(0,0,1,1);this.gh=new oa(0,0,1,1)}function b(c,b){return c.kd-b.kd}
h.prototype.km=function(c){var b=c.type.D.toString();this.Cc.hasOwnProperty(b)||(this.Cc[b]=[]);this.Cc[b].push(this.b.qj(c))};h.prototype.Ei=function(){var c=this.H[0];return!c.jd&&1===c.opacity&&!c.og&&c.visible};h.prototype.pc=function(){this.K.length=0;var c,b,f;c=0;for(b=this.r.length;c<b;c++)f=this.r[c],f.ub&&this.K.push(f)};h.prototype.sg=function(c){var b,f,a;b=0;for(f=this.r.length;b<f;b++)if(a=this.r[b],a.name===c)return a;return p};var d=[];h.prototype.sh=function(){this.vj&&(this.Ue=this.b.ng[this.vj]);
this.b.C=this;this.scrollX=this.b.Sa/2;this.scrollY=this.b.Ra/2;var c,g,f,a,h,e,l;c=0;for(f=this.b.k.length;c<f;c++)if(g=this.b.k[c],!g.A){h=g.d;g=0;for(a=h.length;g<a;g++)if(e=h[g],e.e){var n=e.e.Zi;n>=this.H.length&&(n=this.H.length-1);e.e=this.H[n];e.e.d.push(e);e.e.Za=m}}d.length=0;this.uk();c=0;for(f=this.H.length;c<f;c++)e=this.H[c],e.Ak(),e.Uc=m,g=e.ra(0,0,m),a=e.ra(0,0,r),e.Uc=r,this.b.Dc&&(g=g+0.5|0,a=a+0.5|0),e.jh(g,a,p);h=r;if(!this.$d){for(l in this.Cc)if(this.Cc.hasOwnProperty(l)&&(g=
this.b.ef(parseInt(l,10)))&&!g.A&&this.b.Ch(g)){a=this.Cc[l];c=0;for(f=a.length;c<f;c++){e=p;if(g.na.Ac&&(e=this.cf(a[c].w.l),!e))continue;e=this.b.Tc(g.Mb,e,r,0,0,m);this.b.Mg(e,a[c]);h=m;d.push(e)}a.length=0}c=0;for(f=this.H.length;c<f;c++)this.H[c].d.sort(b),this.H[c].Za=m}h&&(this.b.ua(),this.b.mj());for(c=0;c<d.length;c++)if(e=d[c],e.type.Ab){f=e.ee();g=0;for(a=e.type.Ga.length;g<a;g++)l=e.type.Ga[g],e.type!==l&&(l.d.length>f?e.siblings.push(l.d[f]):l.Mb&&(h=this.b.Tc(l.Mb,e.e,m,e.x,e.y,m),this.b.ua(),
l.Qf(),e.siblings.push(h),d.push(h)))}c=0;for(f=this.Yc.length;c<f;c++)this.b.Tc(this.Yc[c],p,m);this.b.Ud=p;this.b.ua();if(this.b.M&&!this.b.Aa){c=0;for(f=this.b.k.length;c<f;c++)l=this.b.k[c],!l.A&&(l.d.length&&l.hj)&&l.hj(this.b.M)}c=0;for(f=d.length;c<f;c++)e=d[c],this.b.trigger(Object.getPrototypeOf(e.type.na).j.Zj,e);d.length=0;this.b.trigger(P.prototype.j.Ih,p);this.$d=r};h.prototype.zk=function(){var c,b,f,a,d;b=c=0;for(f=this.Yc.length;c<f;c++)a=this.Yc[c],d=this.b.k[a[1]],d.global?this.b.Tc(a,
p,m):(this.Yc[b]=a,b++);this.Yc.length=b};h.prototype.qm=function(){this.b.trigger(P.prototype.j.ak,p);this.b.Vb.Ya.length=0;var c,b,f,a,d,e;c=0;for(b=this.H.length;c<b;c++){d=this.H[c].d;f=0;for(a=d.length;f<a;f++)e=d[f],e.type.global||(this.b.Ch(e.type)&&this.km(e),this.b.ld(e));this.b.ua();d.length=0;this.H[c].Za=m}c=0;for(b=this.b.k.length;c<b;c++)if(d=this.b.k[c],!d.global&&!d.na.Ac&&!d.na.rh&&!d.A){f=0;for(a=d.d.length;f<a;f++)this.b.ld(d.d[f]);this.b.ua()}};h.prototype.Zb=function(c){c.globalAlpha=
1;c.globalCompositeOperation="source-over";this.b.fi&&!this.Ei()&&c.clearRect(0,0,this.b.width,this.b.height);var b,f,a;b=0;for(f=this.H.length;b<f;b++)a=this.H[b],a.visible&&(0<a.opacity&&11!==a.Ea)&&a.Zb(c)};h.prototype.yb=function(c){var b=0<this.K.length||this.b.Ld;if(b){this.b.Bb||(this.b.Bb=c.vc(this.b.width,this.b.height,this.b.ea));if(this.b.Bb.dg!==this.b.width||this.b.Bb.cg!==this.b.height)c.deleteTexture(this.b.Bb),this.b.Bb=c.vc(this.b.width,this.b.height,this.b.ea);c.Fc(this.b.Bb)}this.b.fi&&
!this.Ei()&&c.clear(0,0,0,0);var f,a;f=0;for(a=this.H.length;f<a;f++)this.H[f].visible&&0<this.H[f].opacity&&this.H[f].yb(c);b&&(1>=this.K.length?(1===this.K.length?(b=this.K[0].index,c.Lc(this.K[0].ta),c.Ce(p,1/this.b.width,1/this.b.height,0,0,1,1,this.scale,this.X[b]),c.Zg(this.K[0].ta)&&(this.b.O=m)):c.Lc(0),c.Fc(p),c.Be(1),c.Gb(this.b.Bb),c.mm(),c.mc(),c.qc(),b=this.b.width/2,f=this.b.height/2,c.eh(-b,f,b,f,b,-f,-b,-f),c.Gb(p)):this.hh(c,p,p,p));c.uo()};h.prototype.de=function(){return 0<this.K.length||
this.b.Ld?this.b.Bb:p};h.prototype.Ai=function(){var c=this.H[0].Ma(),b,f,a;b=1;for(f=this.H.length;b<f;b++)a=this.H[b],0===a.Db&&0===a.Eb||a.Ma()<c&&(c=a.Ma());return c};h.prototype.rj=function(c){if(!this.Lj){var b=this.b.width*(1/this.Ai())/2;c>this.width-b&&(c=this.width-b);c<b&&(c=b)}this.scrollX!==c&&(this.scrollX=c,this.b.O=m)};h.prototype.sj=function(c){if(!this.Lj){var b=this.b.height*(1/this.Ai())/2;c>this.height-b&&(c=this.height-b);c<b&&(c=b)}this.scrollY!==c&&(this.scrollY=c,this.b.O=
m)};h.prototype.uk=function(){this.rj(this.scrollX);this.sj(this.scrollY)};h.prototype.hh=function(c,b,f,a){var d=f?f.K:b?b.K:this.K,e=f?f.e.Ma():b?b.Ma():1,l=this.b.qg,n,h,k,t,y=0,q=1,v,z=this.b.width,H=this.b.height,aa=z/2,na=H/2,E=b?b.Fd:this.Fd,D=b?b.gh:this.gh,s=0,B=0,C=0,K=0,L=z,ua=z,I=H,va=H,ja=k=0,za=f?f.e.ac():0;if(f){n=0;for(h=d.length;n<h;n++)k+=c.ho(d[n].ta),ja+=c.io(d[n].ta);t=f.I;s=b.ia(t.left,t.top,m);C=b.ia(t.left,t.top,r);L=b.ia(t.right,t.bottom,m);I=b.ia(t.right,t.bottom,r);0!==
za&&(n=b.ia(t.right,t.top,m),h=b.ia(t.right,t.top,r),B=b.ia(t.left,t.bottom,m),K=b.ia(t.left,t.bottom,r),t=Math.min(s,L,n,B),L=Math.max(s,L,n,B),s=t,t=Math.min(C,I,h,K),I=Math.max(C,I,h,K),C=t);s-=k;C-=ja;L+=k;I+=ja;D.left=s/z;D.top=1-C/H;D.right=L/z;D.bottom=1-I/H;B=s=Math.floor(s);K=C=Math.floor(C);ua=L=Math.ceil(L);va=I=Math.ceil(I);B-=k;K-=ja;ua+=k;va+=ja;0>s&&(s=0);0>C&&(C=0);L>z&&(L=z);I>H&&(I=H);0>B&&(B=0);0>K&&(K=0);ua>z&&(ua=z);va>H&&(va=H);E.left=s/z;E.top=1-C/H;E.right=L/z;E.bottom=1-I/
H}else E.left=D.left=0,E.top=D.top=0,E.right=D.right=1,E.bottom=D.bottom=1;ja=f&&((f.g||za)&&c.Df(d[0].ta)||0!==k||0!==ja||1!==f.opacity||f.type.na.Wi)||b&&!f&&1!==b.opacity;c.mm();if(ja){l[y]||(l[y]=c.vc(z,H,this.b.ea));if(l[y].dg!==z||l[y].cg!==H)c.deleteTexture(l[y]),l[y]=c.vc(z,H,this.b.ea);c.Lc(0);c.Fc(l[y]);v=va-K;c.clearRect(B,H-K-v,ua-B,v);f?f.yb(c):(c.Gb(this.b.hb),c.Be(b.opacity),c.mc(),c.translate(-aa,-na),c.qc(),c.gd(s,I,L,I,L,C,s,C,E));D.left=D.top=0;D.right=D.bottom=1;f&&(t=E.top,E.top=
E.bottom,E.bottom=t);y=1;q=0}c.Be(1);k=d.length-1;var za=c.ij(d[k].ta),Aa=0;n=0;for(h=d.length;n<h;n++){l[y]||(l[y]=c.vc(z,H,this.b.ea));if(l[y].dg!==z||l[y].cg!==H)c.deleteTexture(l[y]),l[y]=c.vc(z,H,this.b.ea);c.Lc(d[n].ta);Aa=d[n].index;c.Zg(d[n].ta)&&(this.b.O=m);0==n&&!ja?(c.Fc(l[y]),v=va-K,t=H-K-v,c.clearRect(B,t,ua-B,v),f?(c.Ce(a,1/f.width,1/f.height,D.left,D.top,D.right,D.bottom,e,f.X[Aa]),f.yb(c)):(c.Ce(a,1/z,1/H,0,0,1,1,e,b?b.X[Aa]:this.X[Aa]),c.Gb(b?this.b.hb:this.b.Bb),c.mc(),c.translate(-aa,
-na),c.qc(),c.gd(s,I,L,I,L,C,s,C,E)),D.left=D.top=0,D.right=D.bottom=1,f&&!za&&(t=I,I=C,C=t)):(c.Ce(a,1/z,1/H,D.left,D.top,D.right,D.bottom,e,f?f.X[Aa]:b?b.X[Aa]:this.X[Aa]),n===k&&!za?(f?c.Gd(f.xa,f.wa):b&&c.Gd(b.xa,b.wa),c.Fc(a)):(c.Fc(l[y]),v=va-K,t=H-K-v,c.clearRect(B,t,ua-B,v)),c.Gb(l[q]),c.mc(),c.translate(-aa,-na),c.qc(),c.gd(s,I,L,I,L,C,s,C,E),n===k&&!za&&c.Gb(p));y=0===y?1:0;q=0===y?1:0}za&&(c.Lc(0),f?c.Gd(f.xa,f.wa):b&&c.Gd(b.xa,b.wa),c.Fc(a),c.Gb(l[q]),c.mc(),c.translate(-aa,-na),c.qc(),
f&&1===d.length&&!ja?c.gd(s,C,L,C,L,I,s,I,E):c.gd(s,I,L,I,L,C,s,C,E),c.Gb(p))};h.prototype.cf=function(b){var g,f;g=0;for(f=this.H.length;g<f;g++)if(this.H[g].D===b)return this.H[g];return p};h.prototype.ob=function(){var b,g,f,a={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.g,w:this.width,h:this.height,fv:this.$d,persist:this.Cc,fx:[],layers:{}};b=0;for(g=this.r.length;b<g;b++)f=this.r[b],a.fx.push({name:f.name,active:f.ub,params:this.X[f.index]});b=0;for(g=this.H.length;b<g;b++)f=this.H[b],
a.layers[f.D.toString()]=f.ob();return a};h.prototype.Sb=function(b){var g,f,a,d;this.scrollX=b.sx;this.scrollY=b.sy;this.scale=b.s;this.g=b.a;this.width=b.w;this.height=b.h;this.Cc=b.persist;"undefined"!==typeof b.fv&&(this.$d=b.fv);var e=b.fx;g=0;for(f=e.length;g<f;g++)if(a=this.sg(e[g].name))a.ub=e[g].active,this.X[a.index]=e[g].params;this.pc();g=b.layers;for(d in g)g.hasOwnProperty(d)&&(b=this.cf(parseInt(d,10)))&&b.Sb(g[d])};Ua=h;k.prototype.pc=function(){this.K.length=0;var b,g,f;b=0;for(g=
this.r.length;b<g;b++)f=this.r[b],f.ub&&this.K.push(f)};k.prototype.sg=function(b){var g,f,a;g=0;for(f=this.r.length;g<f;g++)if(a=this.r[g],a.name===b)return a;return p};k.prototype.Ak=function(){var b,g,f,a,h,e;g=b=0;for(f=this.td.length;b<f;b++){a=this.td[b];h=this.b.k[a[1]];e=this.b.Ch(h);h=m;if(!e||this.P.$d)a=this.b.Tc(a,this,m),d.push(a),a.type.global&&(h=r);h&&(this.td[g]=this.td[b],g++)}this.td.length=g;this.b.ua();!this.b.J&&this.r.length&&(this.Ea=this.Dk);this.Vd=Qa(this.Ea);this.b.ec&&
Ra(this,this.Ea,this.b.ec)};k.prototype.wm=function(){if(this.Za){var b,g;b=0;for(g=this.d.length;b<g;b++)this.d[b].kd=b;this.Za=r}};k.prototype.Ma=function(){return this.kl()*this.b.Oe};k.prototype.kl=function(){return(this.scale*this.P.scale-1)*this.Ja+1};k.prototype.ac=function(){return this.Uc?0:ya(this.P.g+this.g)};k.prototype.Zb=function(b){this.Ec=this.og||1!==this.opacity||0!==this.Ea;var g=this.b.canvas,f=b;b.globalAlpha=1;b.globalCompositeOperation="source-over";this.Ec&&(this.b.rf||(this.b.rf=
document.createElement("canvas"),g=this.b.rf,g.width=this.b.width,g.height=this.b.height,this.b.Ri=g.getContext("2d")),g=this.b.rf,f=this.b.Ri,g.width!==this.b.width&&(g.width=this.b.width),g.height!==this.b.height&&(g.height=this.b.height),this.jd&&f.clearRect(0,0,this.b.width,this.b.height));this.jd||(f.fillStyle="rgb("+this.tc[0]+","+this.tc[1]+","+this.tc[2]+")",f.fillRect(0,0,this.b.width,this.b.height));f.save();this.Uc=m;var a=this.ra(0,0,m),d=this.ra(0,0,r);this.Uc=r;this.b.Dc&&(a=a+0.5|0,
d=d+0.5|0);this.jh(a,d,f);var e=this.Ma();f.scale(e,e);f.translate(-a,-d);for(var l,a=0,d=this.d.length;a<d;a++)if(e=this.d[a],e.visible&&!(0===e.width||0===e.height))e.rb(),l=e.I,l.right<this.Va||(l.bottom<this.Xa||l.left>this.Wa||l.top>this.Ua)||(f.globalCompositeOperation=e.Vd,e.Zb(f));f.restore();this.Ec&&(b.globalCompositeOperation=this.Vd,b.globalAlpha=this.opacity,b.drawImage(g,0,0))};k.prototype.jh=function(b,d,f){var a=this.Ma();this.Va=b;this.Xa=d;this.Wa=b+this.b.width*(1/a);this.Ua=d+
this.b.height*(1/a);b=this.ac();0!==b&&(f&&(f.translate(this.b.width/2,this.b.height/2),f.rotate(-b),f.translate(this.b.width/-2,this.b.height/-2)),this.oc.set(this.Va,this.Xa,this.Wa,this.Ua),this.oc.offset((this.Va+this.Wa)/-2,(this.Xa+this.Ua)/-2),this.Fj.uj(this.oc,b),this.Fj.$h(this.oc),this.oc.offset((this.Va+this.Wa)/2,(this.Xa+this.Ua)/2),this.Va=this.oc.left,this.Xa=this.oc.top,this.Wa=this.oc.right,this.Ua=this.oc.bottom)};k.prototype.yb=function(b){var d=this.b.width,f=this.b.height,a=
0,h=0;if(this.Ec=this.og||1!==this.opacity||0<this.K.length||0!==this.Ea){this.b.hb||(this.b.hb=b.vc(this.b.width,this.b.height,this.b.ea));if(this.b.hb.dg!==this.b.width||this.b.hb.cg!==this.b.height)b.deleteTexture(this.b.hb),this.b.hb=b.vc(this.b.width,this.b.height,this.b.ea);b.Fc(this.b.hb);this.jd&&b.clear(0,0,0,0)}this.jd||b.clear(this.tc[0]/255,this.tc[1]/255,this.tc[2]/255,1);this.Uc=m;var h=this.ra(0,0,m),e=this.ra(0,0,r);this.Uc=r;this.b.Dc&&(h=h+0.5|0,e=e+0.5|0);this.jh(h,e,p);e=this.Ma();
b.mc();b.scale(e,e);b.nj(-this.ac());b.translate((this.Va+this.Wa)/-2,(this.Xa+this.Ua)/-2);b.qc();var l,n,k;l=0;for(n=this.d.length;l<n;l++)if(k=this.d[l],k.visible&&!(0===k.width||0===k.height))if(k.rb(),a=k.I,!(a.right<this.Va||a.bottom<this.Xa||a.left>this.Wa||a.top>this.Ua))if(k.Nj)if(a=k.K[0].ta,h=k.K[0].index,1===k.K.length&&!b.ij(a)&&!b.vo(a)&&(!k.g&&!k.e.ac()||!b.Df(a))&&1===k.opacity&&!k.type.na.Wi){b.Lc(a);b.Gd(k.xa,k.wa);b.Zg(a)&&(this.b.O=m);var A=0,t=0,y=0,q=0;b.Df(a)&&(a=k.I,A=this.ia(a.left,
a.top,m),t=this.ia(a.left,a.top,r),y=this.ia(a.right,a.bottom,m),a=this.ia(a.right,a.bottom,r),A/=d,t=1-t/f,y/=d,q=1-a/f);b.Ce(this.Ec?this.b.hb:this.P.de(),1/k.width,1/k.height,A,t,y,q,this.Ma(),k.X[h]);k.yb(b)}else this.P.hh(b,this,k,this.Ec?this.b.hb:this.P.de()),b.mc(),b.scale(e,e),b.nj(-this.ac()),b.translate((this.Va+this.Wa)/-2,(this.Xa+this.Ua)/-2),b.qc();else b.Lc(0),b.Gd(k.xa,k.wa),k.yb(b);this.Ec&&(a=this.K.length?this.K[0].ta:0,h=this.K.length?this.K[0].index:0,0===this.K.length||1===
this.K.length&&!b.ij(a)&&1===this.opacity?(1===this.K.length?(b.Lc(a),b.Ce(this.P.de(),1/this.b.width,1/this.b.height,0,0,1,1,this.Ma(),this.X[h]),b.Zg(a)&&(this.b.O=m)):b.Lc(0),b.Fc(this.P.de()),b.Be(this.opacity),b.Gb(this.b.hb),b.Gd(this.xa,this.wa),b.mc(),b.qc(),d=this.b.width/2,f=this.b.height/2,b.eh(-d,f,d,f,d,-f,-d,-f),b.Gb(p)):this.P.hh(b,this,p,this.P.de()))};k.prototype.ra=function(b,d,f){var a=this.b.devicePixelRatio;this.b.le&&0<this.b.eb&&(b*=a,d*=a);var a=this.b.Sa/2,h=this.b.Ra/2,a=
(this.P.scrollX-a)*this.Db+a,h=(this.P.scrollY-h)*this.Eb+h,e=1/this.Ma(),a=a-this.b.width*e/2,h=h-this.b.height*e/2,a=a+b*e,h=h+d*e;d=this.ac();0!==d&&(a-=this.P.scrollX,h-=this.P.scrollY,b=Math.cos(d),d=Math.sin(d),e=a*b-h*d,h=h*b+a*d,a=e+this.P.scrollX,h+=this.P.scrollY);return f?a:h};k.prototype.ia=function(b,d,f){var a=this.ac();if(0!==a){b-=this.P.scrollX;d-=this.P.scrollY;var h=Math.cos(-a),a=Math.sin(-a),e=b*h-d*a;d=d*h+b*a;b=e+this.P.scrollX;d+=this.P.scrollY}h=this.b.Sa/2;a=this.b.Ra/2;
h=(this.P.scrollX-h)*this.Db+h;a=(this.P.scrollY-a)*this.Eb+a;e=1/this.Ma();h-=this.b.width*e/2;a-=this.b.height*e/2;h=(b-h)/e;a=(d-a)/e;b=this.b.devicePixelRatio;this.b.le&&0<this.b.eb&&(h/=b,a/=b);return f?h:a};k.prototype.ob=function(){var b,d,f,a={s:this.scale,a:this.g,vl:this.Va,vt:this.Xa,vr:this.Wa,vb:this.Ua,v:this.visible,bc:this.tc,t:this.jd,px:this.Db,py:this.Eb,o:this.opacity,zr:this.Ja,fx:[],instances:[]};b=0;for(d=this.r.length;b<d;b++)f=this.r[b],a.fx.push({name:f.name,active:f.ub,
params:this.X[f.index]});return a};k.prototype.Sb=function(c){var d,f;this.scale=c.s;this.g=c.a;this.Va=c.vl;this.Xa=c.vt;this.Wa=c.vr;this.Ua=c.vb;this.visible=c.v;this.tc=c.bc;this.jd=c.t;this.Db=c.px;this.Eb=c.py;this.opacity=c.o;this.Ja=c.zr;var a=c.fx;c=0;for(d=a.length;c<d;c++)if(f=this.sg(a[c].name))f.ub=a[c].active,this.X[f.index]=a[c].params;this.pc();this.d.sort(b);this.Za=m};$a=k})();
(function(){function h(a,b){var c,l=a.length;switch(l){case 0:return m;case 1:return a[0]===b[0];case 2:return a[0]===b[0]&&a[1]===b[1];default:for(c=0;c<l;c++)if(a[c]!==b[c])return r;return m}}function k(a,b){return a.index-b.index}function b(a){var b,c,l,e;2===a.length?a[0].index>a[1].index&&(b=a[0],a[0]=a[1],a[1]=b):2<a.length&&a.sort(k);a.length>=A.length&&(A.length=a.length+1);A[a.length]||(A[a.length]=[]);e=A[a.length];b=0;for(c=e.length;b<c;b++)if(l=e[b],h(a,l))return l;e.push(a);return a}
function d(a,b){this.b=a;this.Ij={};this.oi={};this.xg=r;this.Gi=new Ma;this.name=b[0];var c=b[1];this.xc=[];var l,e;l=0;for(e=c.length;l<e;l++)this.Hi(c[l],p,this.xc)}function c(a){this.type=a;this.d=[];this.Q=[];this.Z=m}function g(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.aa=[];this.Gc=[];this.Fi=this.Mf=this.zh=this.hf=this.group=this.xj=r;this.ca=[];this.tb=[];this.pb=[];c[1]?(this.sd=c[1][1].toLowerCase(),this.group=m,this.hf=!!c[1][0],this.b.sc.push(this),this.b.Rd[this.sd.toLowerCase()]=
this.hf):(this.sd="",this.hf=this.group=r);this.Ub=c[2];this.D=c[3];this.group||(this.b.Zh[this.D.toString()]=this);var l=c[4];a=0;for(b=l.length;a<b;a++){var e=new ab(this,l[a]);this.ca.push(e);this.Vh(e.type)}l=c[5];a=0;for(b=l.length;a<b;a++)e=new bb(this,l[a]),this.tb.push(e);if(7===c.length){c=c[6];a=0;for(b=c.length;a<b;a++)this.sheet.Hi(c[a],this,this.pb)}this.mf=r;this.ca.length&&(this.mf=this.ca[0].type==p&&this.ca[0].da==P.prototype.j.Sj)}function f(a,b){var c,l,e;if(a&&(-1===b.indexOf(a)&&
b.push(a),a.Ab)){c=0;for(l=a.Ga.length;c<l;c++)e=a.Ga[c],a!==e&&-1===b.indexOf(e)&&b.push(e)}}function a(a,b){this.lb=a;this.sheet=a.sheet;this.b=a.b;this.B=[];this.u=[];this.T={};this.da=b[1];this.trigger=0<b[3];this.ni=2===b[3];this.qo=b[4];this.$c=b[5];this.Ll=b[6];this.D=b[7];this.b.od[this.D.toString()]=this;-1===b[0]?(this.type=p,this.ka=this.mh,this.Sc=p,this.qa=-1):(this.type=this.b.k[b[0]],this.ka=this.Ll?this.im:this.lh,b[2]?(this.Sc=this.type.bf(b[2]),this.qa=this.type.rg(b[2])):(this.Sc=
p,this.qa=-1),this.lb.parent&&this.lb.parent.Gf());this.ni&&(this.ka=this.jm);if(9===b.length){var c,l,e=b[8];c=0;for(l=e.length;c<l;c++){var d=new cb(this,e[c]);this.B.push(d)}this.u.length=e.length}}function u(a,b){this.lb=a;this.sheet=a.sheet;this.b=a.b;this.B=[];this.u=[];this.T={};this.da=b[1];-1===b[0]?(this.type=p,this.ka=this.mh,this.Sc=p,this.qa=-1):(this.type=this.b.k[b[0]],this.ka=this.lh,b[2]?(this.Sc=this.type.bf(b[2]),this.qa=this.type.rg(b[2])):(this.Sc=p,this.qa=-1));this.D=b[3];this.b.nd[this.D.toString()]=
this;if(5===b.length){var c,l,e=b[4];c=0;for(l=e.length;c<l;c++){var d=new cb(this,e[c]);this.B.push(d)}this.u.length=e.length}}function e(a,b){this.q=a;this.lb=a.lb;this.sheet=a.sheet;this.b=a.b;this.type=b[0];this.Nb=p;this.gi=this.Hc=0;this.P=p;this.key=0;this.object=p;this.index=0;this.Sf=this.Id=this.pi=this.Wc=this.Ie=p;var c,l,e;switch(b[0]){case 0:case 7:this.Nb=new N(this,b[1]);this.Hc=0;this.get=this.pl;break;case 1:this.Nb=new N(this,b[1]);this.Hc=0;this.get=this.ql;break;case 5:this.Nb=
new N(this,b[1]);this.Hc=0;this.get=this.ul;break;case 3:case 8:this.gi=b[1];this.get=this.nl;break;case 6:this.P=this.b.Kg[b[1]];this.get=this.wl;break;case 9:this.key=b[1];this.get=this.tl;break;case 4:this.object=this.b.k[b[1]];this.get=this.xl;this.lb.Vh(this.object);this.q instanceof bb?this.lb.Gf():this.lb.parent&&this.lb.parent.Gf();break;case 10:this.index=b[1];this.get=a.type.A?this.rl:this.sl;break;case 11:this.Ie=b[1];this.Wc=p;this.get=this.ol;break;case 2:case 12:this.pi=b[1];this.get=
this.ml;break;case 13:this.get=this.yl;this.Id=[];this.Sf=[];c=1;for(l=b.length;c<l;c++)e=new cb(this.q,b[c]),this.Id.push(e),this.Sf.push(0)}}function l(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.aa=[];this.name=c[1];this.Oj=c[2];this.Ag=c[3];this.ne=!!c[4];this.lf=!!c[5];this.D=c[6];this.b.Md[this.D.toString()]=this;this.data=this.Ag;this.parent?this.cd=this.ne||this.lf?-1:this.b.pm++:(this.cd=-1,this.b.rk.push(this))}function n(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.aa=[];this.ge=
p;this.Cl=c[1]}function x(){this.zj=[];this.reset(p)}var A=[];d.prototype.toString=da("name");d.prototype.Hi=function(a,b,c){switch(a[0]){case 0:a=new db(this,b,a);if(a.Ub){c.push(a);c=0;for(b=a.ca.length;c<b;c++)a.ca[c].trigger&&this.Ii(a,c)}else a.Mi()?this.Ii(a,0):c.push(a);break;case 1:a=new Xa(this,b,a);c.push(a);break;case 2:a=new eb(this,b,a),c.push(a)}};d.prototype.$=function(){var a,b;a=0;for(b=this.xc.length;a<b;a++)this.xc[a].$(a<b-1&&this.xc[a+1].mf)};d.prototype.ka=function(){this.xg=
m;this.b.Eg=m;var a,b;a=0;for(b=this.xc.length;a<b;a++){var c=this.xc[a];c.ka();this.b.fg(c.aa);(!this.b.Lb.je()||this.b.Kb.length)&&this.b.ua()}this.b.Eg=r};d.prototype.Ii=function(a,b){a.Ub||this.b.Pf.push(a);var c,l,e=a.ca[b],d;d=e.type?e.type.name:"system";var f=(c=e.ni)?this.oi:this.Ij;f[d]||(f[d]=[]);d=f[d];f=e.da;if(c){if(e.B.length&&(e=e.B[0],!(1!==e.type||2!==e.Nb.type))){e=e.Nb.value.toLowerCase();c=0;for(l=d.length;c<l;c++)if(d[c].method==f){c=d[c].We;c[e]?c[e].push([a,b]):c[e]=[[a,b]];
return}c={};c[e]=[[a,b]];d.push({method:f,We:c})}}else{c=0;for(l=d.length;c<l;c++)if(d[c].method==f){d[c].We.push([a,b]);return}d.push({method:f,We:[[a,b]]})}};Va=d;c.prototype.wg=function(){return this.Z?this.type.d.length:this.d.length};c.prototype.Pb=function(){return this.Z?this.type.d:this.d};c.prototype.xe=function(a){a&&(a.b.fb().xb.Ub?(this.Z&&(this.d.length=0,sa(this.Q,a.type.d),this.Z=r),a=this.Q.indexOf(a),-1!==a&&(this.d.push(this.Q[a]),this.Q.splice(a,1))):(this.Z=r,this.d.length=1,this.d[0]=
a))};Ta=c;g.prototype.$=function(a){var c,l=this.parent;if(this.group)for(this.Mf=m;l;){if(!l.group){this.Mf=r;break}l=l.parent}this.zh=!this.Mi()&&(!this.parent||this.parent.group&&this.parent.Mf);this.Fi=!!a;this.Gc=this.aa.slice(0);for(l=this.parent;l;){a=0;for(c=l.aa.length;a<c;a++)this.qk(l.aa[a]);l=l.parent}this.aa=b(this.aa);this.Gc=b(this.Gc);a=0;for(c=this.ca.length;a<c;a++)this.ca[a].$();a=0;for(c=this.tb.length;a<c;a++)this.tb[a].$();a=0;for(c=this.pb.length;a<c;a++)this.pb[a].$(a<c-1&&
this.pb[a+1].mf)};g.prototype.Vh=function(a){f(a,this.aa)};g.prototype.qk=function(a){f(a,this.Gc)};g.prototype.Gf=function(){this.xj=m;this.parent&&this.parent.Gf()};g.prototype.Mi=function(){return this.ca.length?this.ca[0].trigger:r};g.prototype.ka=function(){var a,b=r,c=this.b.fb();c.xb=this;this.mf||(c.lg=r);if(this.Ub){0===this.ca.length&&(b=m);c.Fa=0;for(a=this.ca.length;c.Fa<a;c.Fa++)this.ca[c.Fa].trigger||this.ca[c.Fa].ka()&&(b=m);(c.xd=b)&&this.kh()}else{c.Fa=0;for(a=this.ca.length;c.Fa<
a;c.Fa++)if(!this.ca[c.Fa].ka()){c.xd=r;this.zh&&(!this.b.Lb.je()||this.b.Kb.length)&&this.b.ua();return}c.xd=m;this.kh()}c.xd&&this.Fi&&(c.lg=m);this.zh&&(!this.b.Lb.je()||this.b.Kb.length)&&this.b.ua()};g.prototype.gm=function(a){this.b.fb().xb=this;this.ca[a].ka()&&this.kh()};g.prototype.kh=function(){var a=this.b.fb(),b;a.kb=0;for(b=this.tb.length;a.kb<b;a.kb++)if(this.tb[a.kb].ka())return;this.oj()};g.prototype.dm=function(){var a=this.b.fb(),b;for(b=this.tb.length;a.kb<b;a.kb++)if(this.tb[a.kb].ka())return;
this.oj()};g.prototype.oj=function(){if(this.pb.length){var a,b,c,l,e=this.pb.length-1;this.b.bh(this);if(this.xj){a=0;for(b=this.pb.length;a<b;a++)c=this.pb[a],(l=!this.Mf||!this.group&&a<e)&&this.b.ah(c.aa),c.ka(),l?this.b.Ed(c.aa):this.b.fg(c.aa)}else{a=0;for(b=this.pb.length;a<b;a++)this.pb[a].ka()}this.b.fj()}};g.prototype.hm=function(){var a=this.b.fb();a.xb=this;var b=r,c;a.Fa=0;for(c=this.ca.length;a.Fa<c;a.Fa++)if(this.ca[a.Fa].ka())b=m;else if(!this.Ub)return r;return this.Ub?b:m};db=g;
a.prototype.$=function(){var a,b;a=0;for(b=this.B.length;a<b;a++)this.B[a].$()};a.prototype.jm=w(m);a.prototype.mh=function(){var a,b;a=0;for(b=this.B.length;a<b;a++)this.u[a]=this.B[a].get();return Ia(this.da.apply(this.b.Vb,this.u),this.$c)};a.prototype.im=function(){var a,b;a=0;for(b=this.B.length;a<b;a++)this.u[a]=this.B[a].get(a);a=this.da.apply(this.Sc?this.Sc:this.type,this.u);this.type.Sd();return a};a.prototype.lh=function(){var a,b,c,l,e,d,f,n=this.type.U(),g=this.lb.Ub&&!this.trigger,h=
0,k=this.type.Ab;if(n.Z){n.d.length=0;a=n.Q.length=0;for(c=this.type.d.length;a<c;a++){d=this.type.d[a];b=0;for(l=this.B.length;b<l;b++)this.u[b]=this.B[b].get(a);-1<this.qa?(this.type.A&&(h=d.type.rd[this.type.Ob]),b=this.da.apply(d.G[this.qa+h],this.u)):b=this.da.apply(d,this.u);(e=Ia(b,this.$c))?n.d.push(d):g&&n.Q.push(d)}this.type.finish&&this.type.finish(m);n.Z=r;this.type.Sd();return n.wg()}var A=0,t=g?n.Q:n.d;e=r;a=0;for(c=t.length;a<c;a++){d=t[a];b=0;for(l=this.B.length;b<l;b++)this.u[b]=
this.B[b].get(a);-1<this.qa?(this.type.A&&(h=d.type.rd[this.type.Ob]),b=this.da.apply(d.G[this.qa+h],this.u)):b=this.da.apply(d,this.u);if(Ia(b,this.$c))if(e=m,g){if(n.d.push(d),k){b=0;for(l=d.siblings.length;b<l;b++)f=d.siblings[b],f.type.U().d.push(f)}}else{t[A]=d;if(k){b=0;for(l=d.siblings.length;b<l;b++)f=d.siblings[b],f.type.U().d[A]=f}A++}else if(g){t[A]=d;if(k){b=0;for(l=d.siblings.length;b<l;b++)f=d.siblings[b],f.type.U().Q[A]=f}A++}}t.length=A;if(k){a=0;for(c=this.type.Ga.length;a<c;a++)d=
this.type.Ga[a].U(),g?d.Q.length=A:d.d.length=A}h=e;if(g&&!e){a=0;for(c=n.d.length;a<c;a++){d=n.d[a];b=0;for(l=this.B.length;b<l;b++)this.u[b]=this.B[b].get(a);b=-1<this.qa?this.da.apply(d.G[this.qa],this.u):this.da.apply(d,this.u);if(Ia(b,this.$c)){e=m;break}}}this.type.finish&&this.type.finish(h||g);return g?e:n.wg()};ab=a;u.prototype.$=function(){var a,b;a=0;for(b=this.B.length;a<b;a++)this.B[a].$()};u.prototype.mh=function(){var a,b;a=0;for(b=this.B.length;a<b;a++)this.u[a]=this.B[a].get();return this.da.apply(this.b.Vb,
this.u)};u.prototype.lh=function(){var a=this.type.U().Pb(),b,c,l,e,d;b=0;for(l=a.length;b<l;b++){d=a[b];c=0;for(e=this.B.length;c<e;c++)this.u[c]=this.B[c].get(b);-1<this.qa?(c=0,this.type.A&&(c=d.type.rd[this.type.Ob]),this.da.apply(d.G[this.qa+c],this.u)):this.da.apply(d,this.u)}return r};bb=u;var t=[],y=-1;e.prototype.$=function(){var a,b;if(11===this.type)this.Wc=this.b.xi(this.Ie,this.lb.parent);else if(13===this.type){a=0;for(b=this.Id.length;a<b;a++)this.Id[a].$()}this.Nb&&this.Nb.$()};e.prototype.ja=
function(){y++;t.length===y&&t.push(new fb);return t[y]};e.prototype.ga=function(){y--};e.prototype.pl=function(a){this.Hc=a||0;a=this.ja();this.Nb.get(a);this.ga();return a.data};e.prototype.ql=function(a){this.Hc=a||0;a=this.ja();this.Nb.get(a);this.ga();return J(a.data)?a.data:""};e.prototype.xl=da("object");e.prototype.nl=da("gi");e.prototype.ul=function(a){this.Hc=a||0;a=this.ja();this.Nb.get(a);this.ga();return a.ma()?this.b.cc(a.data):this.b.be(a.data)};e.prototype.wl=da("P");e.prototype.tl=
da("key");e.prototype.sl=da("index");e.prototype.rl=function(a){var b=this.q.type,c=p,c=b.U(),l=c.Pb(),c=l.length?l[a%l.length].type:c.Q[a%c.Q.length].type;return this.index+c.Ye[b.Ob]};e.prototype.ol=da("Wc");e.prototype.ml=da("pi");e.prototype.yl=function(){var a,b;a=0;for(b=this.Id.length;a<b;a++)this.Sf[a]=this.Id[a].get();return this.Sf};cb=e;l.prototype.$=function(){this.aa=b(this.aa)};l.prototype.Hf=function(a){var b=this.b.vi();!this.parent||this.ne||!b?this.data=a:(this.cd>=b.length&&(b.length=
this.cd+1),b[this.cd]=a)};l.prototype.Di=function(){var a=this.b.vi();return!this.parent||this.ne||!a||this.lf?this.data:this.cd>=a.length||"undefined"===typeof a[this.cd]?this.Ag:a[this.cd]};l.prototype.ka=function(){this.parent&&(!this.ne&&!this.lf)&&this.Hf(this.Ag)};Xa=l;n.prototype.toString=function(){return"include:"+this.ge.toString()};n.prototype.$=function(){this.ge=this.b.ng[this.Cl];this.sheet.Gi.add(this);this.aa=b(this.aa)};n.prototype.ka=function(){this.parent&&this.b.ze(this.b.k);this.ge.xg||
this.ge.ka();this.parent&&this.b.Ed(this.b.k)};n.prototype.Dl=function(){for(var a=this.parent;a;){if(a.group&&!this.b.Rd[a.sd.toLowerCase()])return r;a=a.parent}return m};eb=n;x.prototype.reset=function(a){this.xb=a;this.kb=this.Fa=0;this.zj.length=0;this.lg=this.xd=r};Wa=x})();
(function(){function h(b,d){this.q=b;this.b=b.b;this.type=d[0];this.get=[this.Pk,this.Lk,this.Xk,this.$k,this.Fk,this.Yk,this.Tk,this.Ik,this.Sk,this.Wk,this.Gk,this.Vk,this.Jk,this.Uk,this.Qk,this.Rk,this.Mk,this.Nk,this.Hk,this.Zk,this.li,this.Ok,this.li,this.Kk][this.type];var c=p;this.Qa=this.B=this.u=this.da=this.Lf=this.oa=this.first=this.value=p;this.qa=-1;this.fc=p;this.Fh=-1;this.Wc=this.Ie=this.sk=p;this.Ae=r;switch(this.type){case 0:case 1:case 2:this.value=d[1];break;case 3:this.first=
new N(b,d[1]);break;case 18:this.first=new N(b,d[1]);this.oa=new N(b,d[2]);this.Lf=new N(b,d[3]);break;case 19:this.da=d[1];this.u=[];this.B=[];3===d.length?(c=d[2],this.u.length=c.length+1):this.u.length=1;break;case 20:this.Qa=this.b.k[d[1]];this.qa=-1;this.da=d[2];this.Ae=d[3];this.fc=d[4]?new N(b,d[4]):p;this.u=[];this.B=[];6===d.length?(c=d[5],this.u.length=c.length+1):this.u.length=1;break;case 21:this.Qa=this.b.k[d[1]];this.Ae=d[2];this.fc=d[3]?new N(b,d[3]):p;this.Fh=d[4];break;case 22:this.Qa=
this.b.k[d[1]];this.sk=this.Qa.bf(d[2]);this.qa=this.Qa.rg(d[2]);this.da=d[3];this.Ae=d[4];this.fc=d[5]?new N(b,d[5]):p;this.u=[];this.B=[];7===d.length?(c=d[6],this.u.length=c.length+1):this.u.length=1;break;case 23:this.Ie=d[1],this.Wc=p}4<=this.type&&17>=this.type&&(this.first=new N(b,d[1]),this.oa=new N(b,d[2]));if(c){var g,f;g=0;for(f=c.length;g<f;g++)this.B.push(new N(b,c[g]))}}function k(b,d){this.type=b||O.Od;this.data=d||0;this.Ad=p;this.type==O.Od&&(this.data=Math.floor(this.data))}h.prototype.$=
function(){23===this.type&&(this.Wc=this.q.b.xi(this.Ie,this.q.lb.parent));this.first&&this.first.$();this.oa&&this.oa.$();this.Lf&&this.Lf.$();this.fc&&this.fc.$();if(this.B){var b,d;b=0;for(d=this.B.length;b<d;b++)this.B[b].$()}};h.prototype.Zk=function(b){this.u[0]=b;b=this.q.ja();var d,c;d=0;for(c=this.B.length;d<c;d++)this.B[d].get(b),this.u[d+1]=b.data;this.q.ga();this.da.apply(this.b.Vb,this.u)};h.prototype.li=function(b){var d=this.Qa.U(),c=d.Pb();if(!c.length)if(d.Q.length)c=d.Q;else{this.Ae?
b.Hb(""):b.S(0);return}this.u[0]=b;b.Ad=this.Qa;b=this.q.ja();var g,d=0;for(g=this.B.length;d<g;d++)this.B[d].get(b),this.u[d+1]=b.data;d=this.q.Hc;this.fc&&(this.fc.get(b),b.ma()&&(d=b.data,c=this.Qa.d));this.q.ga();d%=c.length;0>d&&(d+=c.length);c=c[d];-1<this.qa?(b=0,this.Qa.A&&(b=c.type.rd[this.Qa.Ob]),this.da.apply(c.G[this.qa+b],this.u)):this.da.apply(c,this.u)};h.prototype.Ok=function(b){var d=this.Qa.U(),c=d.Pb();if(!c.length)if(d.Q.length)c=d.Q;else{this.Ae?b.Hb(""):b.S(0);return}d=this.q.Hc;
if(this.fc){var g=this.q.ja();this.fc.get(g);if(g.ma()){d=g.data;c=this.Qa.d;d%=c.length;0>d&&(d+=c.length);c=c[d].la[this.Fh];J(c)?b.Hb(c):b.m(c);this.q.ga();return}this.q.ga()}d%=c.length;0>d&&(d+=c.length);c=c[d];d=0;this.Qa.A&&(d=c.type.Ye[this.Qa.Ob]);c=c.la[this.Fh+d];J(c)?b.Hb(c):b.m(c)};h.prototype.Pk=function(b){b.type=O.Od;b.data=this.value};h.prototype.Lk=function(b){b.type=O.Nd;b.data=this.value};h.prototype.Xk=function(b){b.type=O.Xf;b.data=this.value};h.prototype.$k=function(b){this.first.get(b);
b.ma()&&(b.data=-b.data)};h.prototype.Fk=function(b){this.first.get(b);var d=this.q.ja();this.oa.get(d);b.ma()&&d.ma()&&(b.data+=d.data,d.vd()&&b.zd());this.q.ga()};h.prototype.Yk=function(b){this.first.get(b);var d=this.q.ja();this.oa.get(d);b.ma()&&d.ma()&&(b.data-=d.data,d.vd()&&b.zd());this.q.ga()};h.prototype.Tk=function(b){this.first.get(b);var d=this.q.ja();this.oa.get(d);b.ma()&&d.ma()&&(b.data*=d.data,d.vd()&&b.zd());this.q.ga()};h.prototype.Ik=function(b){this.first.get(b);var d=this.q.ja();
this.oa.get(d);b.ma()&&d.ma()&&(b.data/=d.data,b.zd());this.q.ga()};h.prototype.Sk=function(b){this.first.get(b);var d=this.q.ja();this.oa.get(d);b.ma()&&d.ma()&&(b.data%=d.data,d.vd()&&b.zd());this.q.ga()};h.prototype.Wk=function(b){this.first.get(b);var d=this.q.ja();this.oa.get(d);b.ma()&&d.ma()&&(b.data=Math.pow(b.data,d.data),d.vd()&&b.zd());this.q.ga()};h.prototype.Gk=function(b){this.first.get(b);var d=this.q.ja();this.oa.get(d);b.ma()?d.nf()?b.Hb(b.data.toString()+d.data):b.data&&d.data?b.S(1):
b.S(0):b.nf()&&(b.data=d.nf()?b.data+d.data:b.data+(Math.round(1E10*d.data)/1E10).toString());this.q.ga()};h.prototype.Vk=function(b){this.first.get(b);var d=this.q.ja();this.oa.get(d);b.ma()&&d.ma()&&(b.data||d.data?b.S(1):b.S(0));this.q.ga()};h.prototype.Hk=function(b){this.first.get(b);b.data?this.oa.get(b):this.Lf.get(b)};h.prototype.Jk=function(b){this.first.get(b);var d=this.q.ja();this.oa.get(d);b.S(b.data===d.data?1:0);this.q.ga()};h.prototype.Uk=function(b){this.first.get(b);var d=this.q.ja();
this.oa.get(d);b.S(b.data!==d.data?1:0);this.q.ga()};h.prototype.Qk=function(b){this.first.get(b);var d=this.q.ja();this.oa.get(d);b.S(b.data<d.data?1:0);this.q.ga()};h.prototype.Rk=function(b){this.first.get(b);var d=this.q.ja();this.oa.get(d);b.S(b.data<=d.data?1:0);this.q.ga()};h.prototype.Mk=function(b){this.first.get(b);var d=this.q.ja();this.oa.get(d);b.S(b.data>d.data?1:0);this.q.ga()};h.prototype.Nk=function(b){this.first.get(b);var d=this.q.ja();this.oa.get(d);b.S(b.data>=d.data?1:0);this.q.ga()};
h.prototype.Kk=function(b){var d=this.Wc.Di();G(d)?b.m(d):b.Hb(d)};N=h;k.prototype.vd=function(){return this.type===O.Nd};k.prototype.ma=function(){return this.type===O.Od||this.type===O.Nd};k.prototype.nf=function(){return this.type===O.Xf};k.prototype.zd=function(){this.vd()||(this.nf()&&(this.data=parseFloat(this.data)),this.type=O.Nd)};k.prototype.S=function(b){this.type=O.Od;this.data=Math.floor(b)};k.prototype.m=function(b){this.type=O.Nd;this.data=b};k.prototype.Hb=function(b){this.type=O.Xf;
this.data=b};fb=k;O={Od:0,Nd:1,Xf:2}})();function P(h){this.b=h;this.Ya=[]}
P.prototype.ob=function(){var h={},k,b,d,c,g,f,a,u;h.waits=[];var e=h.waits,l;k=0;for(b=this.Ya.length;k<b;k++){f=this.Ya[k];l={t:f.time,ev:f.Xd.D,sm:[],sols:{}};f.Xd.tb[f.kb]&&(l.act=f.Xd.tb[f.kb].D);d=0;for(c=f.aa.length;d<c;d++)l.sm.push(f.aa[d].D);for(g in f.Ta)if(f.Ta.hasOwnProperty(g)){a=this.b.k[parseInt(g,10)];u={sa:f.Ta[g].pj,insts:[]};d=0;for(c=f.Ta[g].Zc.length;d<c;d++)u.insts.push(f.Ta[g].Zc[d].uid);l.sols[a.D.toString()]=u}e.push(l)}return h};
P.prototype.Sb=function(h){h=h.waits;var k,b,d,c,g,f,a,u,e,l,n;k=this.Ya.length=0;for(b=h.length;k<b;k++)if(f=h[k],u=this.b.Zh[f.ev.toString()]){e=-1;d=0;for(c=u.tb.length;d<c;d++)if(u.tb[d].D===f.act){e=d;break}if(-1!==e){a={Ta:{},aa:[],hi:r};a.time=f.t;a.Xd=u;a.kb=e;d=0;for(c=f.sm.length;d<c;d++)(u=this.b.ef(f.sm[d]))&&a.aa.push(u);for(g in f.sols)if(f.sols.hasOwnProperty(g)&&(u=this.b.ef(parseInt(g,10)))){e=f.sols[g];l={pj:e.sa,Zc:[]};d=0;for(c=e.insts.length;d<c;d++)(n=this.b.Bi(e.insts[d]))&&
l.Zc.push(n);a.Ta[u.index.toString()]=l}this.Ya.push(a)}}};
(function(){function h(){}function k(){}function b(){}var d=P.prototype;h.prototype.Tj=w(m);h.prototype.Ih=w(m);h.prototype.ak=w(m);h.prototype.Rj=function(b,a,c){return Db(b.Di(),a,c)};h.prototype.Sj=function(){var b=this.b.fb();return b.lg?r:!b.xd};h.prototype.Jh=w(m);h.prototype.Yj=w(m);h.prototype.Vf=w(m);h.prototype.bk=w(m);h.prototype.Uf=w(m);d.j=new h;k.prototype.Qd=function(b,a){0===b.Oj?G(a)?b.Hf(a):b.Hf(parseFloat(a)):1===b.Oj&&b.Hf(a.toString())};var c=[],g=[];k.prototype.Oh=function(){if(!this.b.oe&&
!this.b.Ud&&this.b.C){this.b.Ud=this.b.C;var b,a,c;b=0;for(a=this.b.sc.length;b<a;b++)c=this.b.sc[b],this.b.Rd[c.sd.toLowerCase()]=c.hf}};d.F=new k;b.prototype["int"]=function(b,a){J(a)?(b.S(parseInt(a,10)),isNaN(b.data)&&(b.data=0)):b.S(a)};b.prototype["float"]=function(b,a){J(a)?(b.m(parseFloat(a)),isNaN(b.data)&&(b.data=0)):b.m(a)};b.prototype.sqrt=function(b,a){b.m(Math.sqrt(a))};b.prototype.abs=function(b,a){b.m(Math.abs(a))};b.prototype.round=function(b,a){b.S(Math.round(a))};b.prototype.floor=
function(b,a){b.S(Math.floor(a))};b.prototype.ceil=function(b,a){b.S(Math.ceil(a))};b.prototype.sin=function(b,a){b.m(Math.sin(M(a)))};b.prototype.cos=function(b,a){b.m(Math.cos(M(a)))};b.prototype.asin=function(b,a){b.m(wa(Math.asin(a)))};b.prototype.acos=function(b,a){b.m(wa(Math.acos(a)))};b.prototype.max=function(b){var a=arguments[1],c,e;c=2;for(e=arguments.length;c<e;c++)a<arguments[c]&&(a=arguments[c]);b.m(a)};b.prototype.min=function(b){var a=arguments[1],c,e;c=2;for(e=arguments.length;c<
e;c++)a>arguments[c]&&(a=arguments[c]);b.m(a)};b.prototype.pd=function(b){b.m(this.b.pd)};b.prototype.Jd=function(b){b.m(this.b.Jd)};b.prototype.time=function(b){b.m(this.b.wd.Kc)};b.prototype.nc=function(b){b.S(this.b.nc)};b.prototype.wf=function(b){b.S(this.b.wf)};b.prototype.pg=function(b){b.S(this.b.pg)};b.prototype.g=function(b,a,c,e,l){b.m(wa(Da(a,c,e,l)))};b.prototype.left=function(b,a,c){b.Hb(J(a)?a.substr(0,c):"")};b.prototype.right=function(b,a,c){b.Hb(J(a)?a.substr(a.length-c):"")};b.prototype.replace=
function(b,a,c,e){J(a)&&J(c)&&J(e)?b.Hb(a.replace(RegExp(Oa(c),"gi"),e)):b.Hb(J(a)?a:"")};b.prototype.gg=function(b){b.m(this.b.gg/1E3)};b.prototype.tf=function(b){b.m(this.b.tf)};d.nb=new b;d.fm=function(){var b,a,d,e,l,n,h=this.b.fb();b=0;for(d=this.Ya.length;b<d;b++)if(e=this.Ya[b],!(e.time>this.b.wd.Kc)){h.xb=e.Xd;h.kb=e.kb;h.Fa=0;for(a in e.Ta)e.Ta.hasOwnProperty(a)&&(l=this.b.k[parseInt(a,10)].U(),n=e.Ta[a],l.Z=n.pj,sa(l.d,n.Zc),l=n,l.Zc.length=0,g.push(l));e.Xd.dm();this.b.fg(e.aa);e.hi=m}a=
b=0;for(d=this.Ya.length;b<d;b++)e=this.Ya[b],this.Ya[a]=e,e.hi?(Ka(e.Ta),e.aa.length=0,c.push(e)):a++;this.Ya.length=a}})();
function ib(h){var k=h[0].prototype,b=h[1],d=h[3],c=h[4],g=h[5],f=h[6],a=h[7];h=h[8];k.j||(k.j={});k.F||(k.F={});k.nb||(k.nb={});var u=k.j,e=k.F,k=k.nb;d&&(u.Nm=function(a,b){return Db(this.x,a,b)},u.Om=function(a,b){return Db(this.y,a,b)},u.Zm=function(){var a=this.e;this.rb();var b=this.I;return!(b.right<a.Va||b.bottom<a.Xa||b.left>a.Wa||b.top>a.Ua)},u.$m=function(){this.rb();var a=this.I,b=this.b.C;return 0>a.right||0>a.bottom||a.left>b.width||a.top>b.height},u.nn=function(a,b,c){var e=this.U(),
d=e.Pb();if(!d.length)return r;var g=d[0],f=g,h=Ha(g.x,g.y,b,c),k,u,aa;k=1;for(u=d.length;k<u;k++)if(g=d[k],aa=Ha(g.x,g.y,b,c),0===a&&aa<h||1===a&&aa>h)h=aa,f=g;e.xe(f);return m},e.Pn=function(a){this.x!==a&&(this.x=a,this.pa())},e.Qn=function(a){this.y!==a&&(this.y=a,this.pa())},e.ik=function(a,b){if(this.x!==a||this.y!==b)this.x=a,this.y=b,this.pa()},e.Jn=function(a,b){var c=a.ll(this);if(c){var e;c.ug?(e=c.ug(b,m),c=c.ug(b,r)):(e=c.x,c=c.y);if(this.x!==e||this.y!==c)this.x=e,this.y=c,this.pa()}},
e.en=function(a){0!==a&&(this.x+=Math.cos(this.g)*a,this.y+=Math.sin(this.g)*a,this.pa())},e.dn=function(a,b){0!==b&&(this.x+=Math.cos(M(a))*b,this.y+=Math.sin(M(a))*b,this.pa())},k.Qh=function(a){a.m(this.x)},k.Rh=function(a){a.m(this.y)},k.pd=function(a){a.m(this.b.wi(this))});c&&(u.Mm=function(a,b){return Db(this.width,a,b)},u.Im=function(a,b){return Db(this.height,a,b)},e.jk=function(a){this.width!==a&&(this.width=a,this.pa())},e.Fn=function(a){this.height!==a&&(this.height=a,this.pa())},e.Kn=
function(a,b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.pa()},k.Xn=function(a){a.m(this.width)},k.Tm=function(a){a.m(this.height)},k.Fm=function(a){this.rb();a.m(this.I.left)},k.Hm=function(a){this.rb();a.m(this.I.top)},k.Gm=function(a){this.rb();a.m(this.I.right)},k.Em=function(a){this.rb();a.m(this.I.bottom)});g&&(u.Dm=function(a,b){return Ea(this.g,M(b))<=M(a)},u.Xm=function(a){return Ga(this.g,M(a))},u.Vm=function(a,b){var c=Ca(a),e=Ca(b),d=ya(this.g);return Ga(e,c)?Ga(d,
c)&&!Ga(d,e):!(!Ga(d,c)&&Ga(d,e))},e.yn=function(a){a=M(xa(a));!isNaN(a)&&this.g!==a&&(this.g=a,this.pa())},e.un=function(a){0!==a&&!isNaN(a)&&(this.g+=M(a),this.g=ya(this.g),this.pa())},e.vn=function(a){0!==a&&!isNaN(a)&&(this.g-=M(a),this.g=ya(this.g),this.pa())},e.wn=function(a,b){var c=Fa(this.g,M(b),M(a));!isNaN(c)&&this.g!==c&&(this.g=c,this.pa())},e.xn=function(a,b,c){a=Fa(this.g,Math.atan2(c-this.y,b-this.x),M(a));!isNaN(a)&&this.g!==a&&(this.g=a,this.pa())},e.Mn=function(a,b){var c=Math.atan2(b-
this.y,a-this.x);!isNaN(c)&&this.g!==c&&(this.g=c,this.pa())},k.Qj=function(a){a.m(Ba(this.g))});b||(u.Jm=function(a,b,c){return Db(this.la[a],b,c)},u.Wm=function(a){return this.la[a]},u.on=function(a,b){var c=this.U(),e=c.Pb();if(!e.length)return r;var d=e[0],g=d,f=d.la[b],h,k,u;h=1;for(k=e.length;h<k;h++)if(d=e[h],u=d.la[b],0===a&&u<f||1===a&&u>f)f=u,g=d;c.xe(g);return m},u.mn=function(a){var b,c,e,d,g;if(this.b.ti().$c){g=this.U();if(g.Z){g.Z=r;g.d.length=0;g.Q.length=0;e=this.d;b=0;for(c=e.length;b<
c;b++)d=e[b],d.uid===a?g.Q.push(d):g.d.push(d)}else{e=b=0;for(c=g.d.length;b<c;b++)d=g.d[b],g.d[e]=d,d.uid===a?g.Q.push(d):e++;g.d.length=e}return!!g.d.length}d=this.b.Bi(a);if(!d)return r;g=this.U();if(!g.Z&&-1===g.d.indexOf(d))return r;if(this.A){a=d.type.R;b=0;for(c=a.length;b<c;b++)if(a[b]===this)return g.xe(d),m}else if(d.type===this)return g.xe(d),m;return r},u.Zj=w(m),u.$j=w(m),e.Hn=function(a,b){var c=this.la;G(c[a])?c[a]=G(b)?b:parseFloat(b):J(c[a])&&(c[a]=J(b)?b:b.toString())},e.Cm=function(a,
b){var c=this.la;G(c[a])?c[a]=G(b)?c[a]+b:c[a]+parseFloat(b):J(c[a])&&(c[a]=J(b)?c[a]+b:c[a]+b.toString())},e.Sn=function(a,b){var c=this.la;G(c[a])&&(c[a]=G(b)?c[a]-b:c[a]-parseFloat(b))},e.zn=function(a,b){this.la[a]=b?1:0},e.Un=function(a){this.la[a]=1-this.la[a]},e.Qm=function(){this.b.ld(this)},k.Pm=function(a){var b=a.Ad.d.length,c,e,d;c=0;for(e=this.b.Kb.length;c<e;c++)d=this.b.Kb[c],a.Ad.A?0<=d.type.R.indexOf(a.Ad)&&b++:d.type===a.Ad&&b++;a.S(b)},k.qn=function(a){a.S(a.Ad.U().Pb().length)},
k.Vn=function(a){a.S(this.uid)},k.Um=function(a){a.S(this.ee())});f&&(u.an=da("visible"),e.Ne=function(a){!a!==!this.visible&&(this.visible=a,this.b.O=m)},u.Km=function(a,b){return Db(Sa(100*this.opacity),a,b)},e.In=function(a){a/=100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.O=m)},k.Opacity=function(a){a.m(Sa(100*this.opacity))});a&&(u.Ym=function(a){return!a?r:this.e===a},u.pn=function(a){var b=this.U(),c=b.Pb();if(!c.length)return r;var e=c[0],d=e,g,f;g=1;for(f=c.length;g<f;g++)if(e=
c[g],0===a){if(e.e.index>d.e.index||e.e.index===d.e.index&&e.gb()>d.gb())d=e}else if(e.e.index<d.e.index||e.e.index===d.e.index&&e.gb()<d.gb())d=e;b.xe(d);return m},e.jn=function(){var a=this.gb();a!==this.e.d.length-1&&(ra(this.e.d,a),this.e.d.push(this),this.b.O=m,this.e.Za=m)},e.gn=function(){var a=this.gb();0!==a&&(ra(this.e.d,a),this.e.d.unshift(this),this.b.O=m,this.e.Za=m)},e.hn=function(a){a&&a!=this.e&&(ra(this.e.d,this.gb()),this.e.Za=m,this.e=a,this.kd=a.d.length,a.d.push(this),this.b.O=
m)},e.Zn=function(a,b){var c=0===a;if(b){var e=b.gl(this);if(e&&e.uid!==this.uid){this.e.index!==e.e.index&&(ra(this.e.d,this.gb()),this.e.Za=m,this.e=e.e,this.kd=e.e.d.length,e.e.d.push(this));var d=this.gb(),e=e.gb();ra(this.e.d,d);d<e&&e--;c&&e++;e===this.e.d.length?this.e.d.push(this):this.e.d.splice(e,0,this);this.e.Za=m;this.b.O=m}}},k.cn=function(a){a.S(this.e.Zi)},k.bn=function(a){a.Hb(this.e.name)},k.Yn=function(a){a.S(this.gb())});h&&(e.Cn=function(a,b){if(this.b.J){var c=this.type.tg(b);
if(!(0>c)){var e=1===a;this.rc[c]!==e&&(this.rc[c]=e,this.pc(),this.b.O=m)}}},e.Dn=function(a,b,c){if(this.b.J){var e=this.type.tg(a);0>e||(a=this.type.r[e],e=this.X[e],b=Math.floor(b),0>b||b>=e.length||(1===this.b.J.jo(a.ta,b)&&(c/=100),e[b]!==c&&(e[b]=c,a.ub&&(this.b.O=m))))}})}function xb(){this.$f=m;this.b.O=m;var h,k;h=0;for(k=this.Pe.length;h<k;h++)this.Pe[h](this)}function yb(h){h&&this.Pe.push(h)}
function Ab(){if(this.$f){this.I.set(this.x,this.y,this.x+this.width,this.y+this.height);this.I.offset(-this.Na*this.width,-this.Oa*this.height);this.g?(this.I.offset(-this.x,-this.y),this.Ib.uj(this.I,this.g),this.Ib.offset(this.x,this.y),this.Ib.$h(this.I)):this.Ib.ph(this.I);var h=0;this.I.left>this.I.right&&(h=this.I.left,this.I.left=this.I.right,this.I.right=h);this.I.top>this.I.bottom&&(h=this.I.top,this.I.top=this.I.bottom,this.I.bottom=h);this.$f=r}}
function zb(h,k){return!this.I.uc(h,k)||!this.Ib.uc(h,k)?r:this.Jb&&!this.Jb.Kl()?(this.Jb.wk(this.width,this.height,this.g),this.Jb.uc(h-this.x,k-this.y)):m}function vb(){this.type.Qf();return this.fe}function Bb(){this.e.wm();return this.kd}function Cb(){this.K.length=0;var h,k;h=0;for(k=this.rc.length;h<k;h++)this.rc[h]&&this.K.push(this.type.r[h]);this.Nj=!!this.K.length}function wb(){return"Inst"+this.lj}
function kb(h){if(h&&h.Ab&&h.type!=this){var k,b,d;k=0;for(b=h.siblings.length;k<b;k++)if(d=h.siblings[k],d.type==this)return d}h=this.U().Pb();return h.length?h[0]:p}function lb(h){var k=this.U().Pb();return k.length?k[h.ee()%k.length]:p}function jb(){if(this.Jc&&!this.A){var h,k;h=0;for(k=this.d.length;h<k;h++)this.d[h].fe=h;this.Jc=r}}function mb(){return this.Ic[this.Yb]}function nb(){this.Yb++;this.Yb===this.Ic.length?this.Ic.push(new Ta(this)):this.Ic[this.Yb].Z=m}
function ob(){this.Yb++;this.Yb===this.Ic.length&&this.Ic.push(new Ta(this));var h=this.Ic[this.Yb],k=this.Ic[this.Yb-1];k.Z?h.Z=m:(h.Z=r,sa(h.d,k.d))}function pb(){this.Yb--}function qb(h){var k,b,d,c,g,f=0;if(!this.A){k=0;for(b=this.R.length;k<b;k++){g=this.R[k];d=0;for(c=g.ba.length;d<c;d++){if(h===g.ba[d].name)return this.T.Pi=f,g.ba[d];f++}}}k=0;for(b=this.ba.length;k<b;k++){if(h===this.ba[k].name)return this.T.Pi=f,this.ba[k];f++}return p}function rb(h){return this.bf(h)?this.T.Pi:-1}
function sb(h){var k,b;k=0;for(b=this.r.length;k<b;k++)if(this.r[k].name===h)return k;return-1}function tb(){if(this.Ab&&!this.A){var h,k,b,d,c,g,f;this.Qf();g=this.U();var a=g.Z,u=(h=this.b.fb())&&h.xb&&h.xb.Ub;h=0;for(k=this.Ga.length;h<k;h++)if(c=this.Ga[h],c!==this&&(c.Qf(),f=c.U(),f.Z=a,!a)){f.d.length=g.d.length;b=0;for(d=g.d.length;b<d;b++)f.d[b]=c.d[g.d[b].fe];if(u){f.Q.length=g.Q.length;b=0;for(d=g.Q.length;b<d;b++)f.Q[b]=c.d[g.Q[b].fe]}}}}function ub(){return"Type"+this.D}
function Db(h,k,b){if("undefined"===typeof h||"undefined"===typeof b)return r;switch(k){case 0:return h===b;case 1:return h!==b;case 2:return h<b;case 3:return h<=b;case 4:return h>b;case 5:return h>=b;default:return r}}function Q(h){this.b=h}
(function(){function h(){}function k(){}var b=Q.prototype;b.sb=function(b){this.na=b;this.b=b.b};b.sb.prototype.fa=ca();b.Ka=function(b){this.type=b;this.b=b.b;this.ag=Array(4);this.Gj=this.Nf=this.Kd=this.lc=this.kc=0;this.vg=r};var d=b.Ka.prototype;d.fa=function(){var b=this;if(!this.b.Aa){jQuery(document).mousemove(function(a){b.Vg(a)});jQuery(document).mousedown(function(a){b.Ug(a)});jQuery(document).mouseup(function(a){b.Wg(a)});jQuery(document).dblclick(function(a){b.Sl(a)});var c=function(a){b.Wl(a)};
document.addEventListener("mousewheel",c,r);document.addEventListener("DOMMouseScroll",c,r)}};var c={left:0,top:0};d.Vg=function(b){var d=this.b.Aa?c:jQuery(this.b.canvas).offset();this.kc=b.pageX-d.left;this.lc=b.pageY-d.top};d.Vi=function(){return 0<this.b.eb?m:0<=this.kc&&0<=this.lc&&this.kc<this.b.width&&this.lc<this.b.height};d.Ug=function(b){this.Vi()&&(this.b.Xc&&b.preventDefault(),this.ag[b.which]=m,this.b.trigger(Q.prototype.j.Xj,this),this.Kd=b.which-1,this.Nf=0,this.b.trigger(Q.prototype.j.Hh,
this),this.b.trigger(Q.prototype.j.Ke,this))};d.Wg=function(b){this.ag[b.which]&&(this.b.Xc&&b.preventDefault(),this.b.Xc=m,this.ag[b.which]=r,this.Kd=b.which-1,this.b.trigger(Q.prototype.j.ck,this))};d.Sl=function(b){this.Vi()&&(b.preventDefault(),this.Kd=b.which-1,this.Nf=1,this.b.trigger(Q.prototype.j.Hh,this),this.b.trigger(Q.prototype.j.Ke,this))};d.Wl=function(b){this.Gj=0>(b.wheelDelta?b.wheelDelta:b.detail?-b.detail:0)?0:1;this.vg=r;this.b.trigger(Q.prototype.j.gk,this);this.vg&&b.preventDefault()};
h.prototype.Hh=function(b,c){return b===this.Kd&&c===this.Nf};h.prototype.Xj=w(m);h.prototype.ck=function(b){return b===this.Kd};h.prototype.Je=function(b){var c=this.b.ti();fa(c.T.mouseOverInverted)&&(c.T.mouseOverInverted=c.$c,c.$c=r);return this.b.vh(b,this.kc,this.lc,c.T.mouseOverInverted)};h.prototype.Ke=function(b,c,a){return b!==this.Kd||c!==this.Nf?r:this.b.vh(a,this.kc,this.lc,r)};h.prototype.gk=function(b){this.vg=m;return b===this.Gj};b.j=new h;b.F=new (ca());k.prototype.Qh=function(b,
c){var a,d,e,l,n;fa(c)?(a=this.b.cc(0),d=a.scale,e=a.Ja,l=a.Db,n=a.g,a.scale=this.b.C.scale,a.Ja=1,a.Db=1,a.g=this.b.C.g,b.m(a.ra(this.kc,this.lc,m)),a.scale=d,a.Ja=e,a.Db=l,a.g=n):(a=G(c)?this.b.cc(c):this.b.be(c))?b.m(a.ra(this.kc,this.lc,m)):b.m(0)};k.prototype.Rh=function(b,c){var a,d,e,l,n;fa(c)?(a=this.b.cc(0),d=a.scale,e=a.Ja,l=a.Eb,n=a.g,a.scale=this.b.C.scale,a.Ja=1,a.Eb=1,a.g=this.b.C.g,b.m(a.ra(this.kc,this.lc,r)),a.scale=d,a.Ja=e,a.Eb=l,a.g=n):(a=G(c)?this.b.cc(c):this.b.be(c))?b.m(a.ra(this.kc,
this.lc,r)):b.m(0)};b.nb=new k})();function R(h){this.b=h}
(function(){function h(){if(0===this.jg.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var b=a.getContext("2d");this.Hd?b.drawImage(this.Da,this.Cd,this.Dd,this.width,this.height,0,0,this.width,this.height):b.drawImage(this.Da,0,0,this.width,this.height);this.jg=a.toDataURL("image/png")}return this.jg}function k(){}function b(){}var d=R.prototype;d.sb=function(a){this.na=a;this.b=a.b};var c=d.sb.prototype;c.fa=function(){if(!this.A){var a,b,c,d,g,f,k,q,u;this.wb=
[];this.gf=r;a=0;for(b=this.La.length;a<b;a++){g=this.La[a];k={};k.name=g[0];k.speed=g[1];k.loop=g[2];k.ih=g[3];k.Ef=g[4];k.dj=g[5];k.D=g[6];k.frames=[];c=0;for(d=g[7].length;c<d;c++)f=g[7][c],q={},q.Cj=f[0],q.Dj=f[1],q.Cd=f[2],q.Dd=f[3],q.width=f[4],q.height=f[5],q.duration=f[6],q.Na=f[7],q.Oa=f[8],q.yg=f[9],q.Cf=f[10],q.ej=f[11],q.Hd=0!==q.width,q.jg="",q.eo=h,u={left:0,top:0,right:1,bottom:1},q.qh=u,q.Pc=p,(u=this.b.cl(f[0]))?q.Da=u:(q.Da=new Image,q.Da.src=f[0],q.Da.yk=f[0],q.Da.xk=f[1],q.Da.vk=
p,this.b.Oc.push(q.Da)),k.frames.push(q),this.wb.push(q);this.La[a]=k}}};c.vm=function(){var a,b,c;a=0;for(b=this.d.length;a<b;a++)c=this.d[a],c.Se=c.mb.Pc};c.Tg=function(){if(!this.A){var a,b,c;a=0;for(b=this.wb.length;a<b;++a)c=this.wb[a],c.Da.vk=p,c.Pc=p}};c.aj=function(){if(!this.A&&this.d.length){var a,b,c;a=0;for(b=this.wb.length;a<b;++a)c=this.wb[a],c.Pc=this.b.J.Nl(c.Da,r,this.b.ea,c.ej);this.vm()}};c.Ol=function(){if(!this.A&&!this.gf&&this.b.J){var a,b,c;a=0;for(b=this.wb.length;a<b;++a)c=
this.wb[a],c.Pc=this.b.J.Nl(c.Da,r,this.b.ea,c.ej);this.gf=m}};c.Mj=function(){if(!this.A&&!this.d.length&&this.gf){var a,b,c;a=0;for(b=this.wb.length;a<b;++a)c=this.wb[a],this.b.J.deleteTexture(c.Pc);this.gf=r}};var g=[];c.hj=function(a){var b,c,d;b=g.length=0;for(c=this.wb.length;b<c;++b)d=this.wb[b].Da,-1===g.indexOf(d)&&(a.drawImage(d,0,0),g.push(d))};d.Ka=function(a){this.type=a;this.b=a.b;a=this.type.La[0].frames[0].Cf;this.Fb?this.Jb.De(a):this.Jb=new Pa(a)};var f=d.Ka.prototype;f.fa=function(){this.visible=
0===this.Y[0];this.zg=this.Fg=r;this.Re=0!==this.Y[3];!(1===this.type.La.length&&1===this.type.La[0].frames.length)&&0!==this.type.La[0].speed&&(this.b.xh(this),this.Fg=m);this.W=this.si(this.Y[1])||this.type.La[0];this.n=this.Y[2];0>this.n&&(this.n=0);this.n>=this.W.frames.length&&(this.n=this.W.frames.length-1);var a=this.W.frames[this.n];this.Jb.De(a.Cf);this.Na=a.Na;this.Oa=a.Oa;this.Wd=this.W.speed;this.$b=this.df();this.Rc=m;this.Wb=0;this.Qc=m;this.Qe=this.Xh="";this.ei=0;this.eg=-1;this.type.Ol();
var b,c,d,g,f,h,k,a=0;for(b=this.type.La.length;a<b;a++){g=this.type.La[a];c=0;for(d=g.frames.length;c<d;c++)f=g.frames[c],0===f.width&&(f.width=f.Da.width,f.height=f.Da.height),f.Hd&&(k=f.Da,h=f.qh,h.left=f.Cd/k.width,h.top=f.Dd/k.height,h.right=(f.Cd+f.width)/k.width,h.bottom=(f.Dd+f.height)/k.height,0===f.Cd&&(0===f.Dd&&f.width===k.width&&f.height===k.height)&&(f.Hd=r))}this.mb=this.W.frames[this.n];this.Se=this.mb.Pc};f.ob=function(){var a={a:this.W.D,f:this.n,cas:this.Wd,fs:this.$b,ar:this.Wb};
this.Rc||(a.ap=this.Rc);this.Qc||(a.af=this.Qc);return a};f.Sb=function(a){var b=this.el(a.a);b&&(this.W=b);this.n=a.f;0>this.n&&(this.n=0);this.n>=this.W.frames.length&&(this.n=this.W.frames.length-1);this.Wd=a.cas;this.$b=a.fs;this.Wb=a.ar;this.Rc=a.hasOwnProperty("ap")?a.ap:m;this.Qc=a.hasOwnProperty("af")?a.af:m;this.mb=this.W.frames[this.n];this.Se=this.mb.Pc;this.Jb.De(this.mb.Cf);this.Na=this.mb.Na;this.Oa=this.mb.Oa};f.Zf=function(a){this.n=a?0:this.W.frames.length-1;this.Rc=r;this.Xh=this.W.name;
this.zg=m;this.b.trigger(R.prototype.j.Wj,this);this.b.trigger(R.prototype.j.Vj,this);this.zg=r;this.Wb=0};f.df=function(){return(Date.now()-this.b.Ee)/1E3};f.Mc=function(){this.Qe.length&&this.ji();0<=this.eg&&this.Bk();var a=this.df(),b=this.W,c=b.frames[this.n],d=c.duration/this.Wd,f=this.b.Jd;-1!==this.dd&&(f=this.dd);d/=0===f?1E-9:f;if(this.Rc&&a>=this.$b+d){this.Qc?this.n++:this.n--;this.$b+=d;this.n>=b.frames.length&&(b.dj?(this.Qc=r,this.n=b.frames.length-2):b.loop?this.n=b.Ef:(this.Wb++,
this.Wb>=b.ih?this.Zf(r):this.n=b.Ef));0>this.n&&(b.dj?(this.n=1,this.Qc=m,b.loop||(this.Wb++,this.Wb>=b.ih&&this.Zf(m))):b.loop?this.n=b.Ef:(this.Wb++,this.Wb>=b.ih?this.Zf(m):this.n=b.Ef));0>this.n?this.n=0:this.n>=b.frames.length&&(this.n=b.frames.length-1);if(a>this.$b+b.frames[this.n].duration/this.Wd/(0===f?1E-9:f))this.$b=a;a=b.frames[this.n];this.Pd(c,a);this.b.O=m}};f.si=function(a){var b,c,d=a.toLowerCase();a=0;for(b=this.type.La.length;a<b;a++)if(c=this.type.La[a],c.name.toLowerCase()===
d)return c;return p};f.el=function(a){var b,c,d;b=0;for(c=this.type.La.length;b<c;b++)if(d=this.type.La[b],d.D===a)return d;return p};f.ji=function(){var a=this.W.frames[this.n],b=this.si(this.Qe);this.Qe="";b&&!(b.name.toLowerCase()===this.W.name.toLowerCase()&&this.Rc)&&(this.W=b,this.Wd=b.speed,0>this.n&&(this.n=0),this.n>=this.W.frames.length&&(this.n=this.W.frames.length-1),1===this.ei&&(this.n=0),this.Rc=m,this.$b=this.df(),this.Qc=m,this.Pd(a,this.W.frames[this.n]),this.b.O=m)};f.Bk=function(){var a=
this.W.frames[this.n],b=this.n;this.n=la(this.eg);0>this.n&&(this.n=0);this.n>=this.W.frames.length&&(this.n=this.W.frames.length-1);b!==this.n&&(this.Pd(a,this.W.frames[this.n]),this.$b=this.df(),this.b.O=m);this.eg=-1};f.Pd=function(a,b){var c=a.width,d=a.height,f=b.width,g=b.height;c!=f&&(this.width*=f/c);d!=g&&(this.height*=g/d);this.Na=b.Na;this.Oa=b.Oa;this.Jb.De(b.Cf);this.pa();this.mb=b;this.Se=b.Pc;c=0;for(d=this.G.length;c<d;c++)f=this.G[c],f.Vl&&f.Vl(a,b);this.b.trigger(R.prototype.j.Pd,
this)};f.Zb=function(a){a.globalAlpha=this.opacity;var b=this.mb,c=b.Hd,d=b.Da,f=this.x,g=this.y,h=this.width,k=this.height;if(0===this.g&&0<=h&&0<=k)f-=this.Na*h,g-=this.Oa*k,this.b.Dc&&(f=f+0.5|0,g=g+0.5|0),c?a.drawImage(d,b.Cd,b.Dd,b.width,b.height,f,g,h,k):a.drawImage(d,f,g,h,k);else{this.b.Dc&&(f=f+0.5|0,g=g+0.5|0);a.save();var u=0<h?1:-1,z=0<k?1:-1;a.translate(f,g);(1!==u||1!==z)&&a.scale(u,z);a.rotate(this.g*u*z);f=0-this.Na*ga(h);g=0-this.Oa*ga(k);c?a.drawImage(d,b.Cd,b.Dd,b.width,b.height,
f,g,ga(h),ga(k)):a.drawImage(d,f,g,ga(h),ga(k));a.restore()}};f.yb=function(a){a.Gb(this.Se);a.Be(this.opacity);var b=this.mb,c=this.Ib;if(this.b.Dc){var d=(this.x+0.5|0)-this.x,f=(this.y+0.5|0)-this.y;b.Hd?a.gd(c.ya+d,c.za+f,c.ib+d,c.jb+f,c.bb+d,c.cb+f,c.$a+d,c.ab+f,b.qh):a.eh(c.ya+d,c.za+f,c.ib+d,c.jb+f,c.bb+d,c.cb+f,c.$a+d,c.ab+f)}else b.Hd?a.gd(c.ya,c.za,c.ib,c.jb,c.bb,c.cb,c.$a,c.ab,b.qh):a.eh(c.ya,c.za,c.ib,c.jb,c.bb,c.cb,c.$a,c.ab)};f.il=function(a){var b=this.mb,c,d;c=0;for(d=b.yg.length;c<
d;c++)if(a.toLowerCase()===b.yg[c][0].toLowerCase())return c;return-1};f.ug=function(a,b){var c=this.mb,d=c.yg,f;f=J(a)?this.il(a):a-1;f=la(f);if(0>f||f>=d.length)return b?this.x:this.y;var g=(d[f][1]-c.Na)*this.width,d=d[f][2],d=(d-c.Oa)*this.height,c=Math.cos(this.g);f=Math.sin(this.g);var h=g*c-d*f,d=d*c+g*f,g=h+this.x,d=d+this.y;return b?g:d};var a=new Ma,u=r;c.finish=function(b){if(u){if(b){var c=this.b.fb().xb.Ub;b=p.U();var d=a.Ge(),f,g;if(b.Z){b.Z=r;b.d.length=d.length;f=0;for(g=d.length;f<
g;f++)b.d[f]=d[f];if(c){f=b.Q.length=0;for(g=p.d.length;f<g;f++)c=p.d[f],a.contains(c)||b.Q.push(c)}}else{var h=b.d.length;b.d.length=h+d.length;f=0;for(g=d.length;f<g;f++)b.d[h+f]=d[f],c&&ta(b.Q,d[f])}p.Sd()}a.clear();u=r}};k.prototype.Vj=function(a){return this.Xh.toLowerCase()===a.toLowerCase()};k.prototype.Wj=w(m);k.prototype.Pd=w(m);d.j=new k;b.prototype.Me=function(a,b){this.Qe=a;this.ei=b;this.Fg||(this.b.xh(this),this.Fg=m);this.zg||this.ji()};d.F=new b;d.nb=new (ca())})();
function Eb(h){this.b=h}
(function(){function h(){return f.length?f.pop():{}}function k(a){var b,c;b=0;for(c=a.length;b<c;b++)f.push(a[b]);a.length=0}function b(){}var d=Eb.prototype;d.fa=function(){d.F.jk=function(a){this.width!==a&&(this.width=a,this.hd=m,this.pa())}};d.sb=function(a){this.na=a;this.b=a.b};var c=d.sb.prototype;c.fa=ca();c.Tg=function(){if(!this.A){var a,b,c;a=0;for(b=this.d.length;a<b;a++)c=this.d[a],c.Tb=p,c.ed=p,c.Pa=p}};d.Ka=function(a){this.type=a;this.b=a.b;this.Fb?this.Bc.length=0:this.Bc=[];this.hd=
m};c=d.Ka.prototype;c.fa=function(){this.text=this.Y[0];this.visible=0===this.Y[1];this.font=this.Y[2];this.color=this.Y[3];this.ff=this.Y[4];this.Rf=this.Y[5];this.Gh=0===this.Y[7];this.Hg=this.bd=this.width;this.ad=this.height;this.Lg=this.Y[8];this.Ze=this.qd="";var a=this.font.split(" ");this.Aj=this.Bj=this.ye=0;var b;for(b=0;b<a.length;b++)if("pt"===a[b].substr(a[b].length-2,2)){this.ye=parseInt(a[b].substr(0,a[b].length-2));this.dh=Math.ceil(96*(this.ye/72))+4;0<b&&(this.Ze=a[b-1]);this.qd=
a[b+1];for(b+=2;b<a.length;b++)this.qd+=" "+a[b];break}this.Pa=this.ed=this.Tb=p;this.Xi=r;this.re=this.b.nc;this.Fb?this.Fd.set(0,0,1,1):this.Fd=new oa(0,0,1,1);this.b.J&&this.b.xh(this)};c.ob=function(){return{t:this.text,f:this.font,c:this.color,ha:this.ff,va:this.Rf,wr:this.Gh,lho:this.Lg,fn:this.qd,fs:this.Ze,ps:this.ye,pxh:this.dh,tw:this.Bj,th:this.Aj,lrt:this.re}};c.Sb=function(a){this.text=a.t;this.font=a.f;this.color=a.c;this.ff=a.ha;this.Rf=a.va;this.Gh=a.wr;this.Lg=a.lho;this.qd=a.fn;
this.Ze=a.fs;this.ye=a.ps;this.dh=a.pxh;this.Bj=a.tw;this.Aj=a.th;this.re=a.lrt;this.hd=m;this.Hg=this.bd=this.width;this.ad=this.height};c.Mc=function(){if(this.b.J&&this.Pa&&300<=this.b.nc-this.re){var a=this.e;this.rb();var b=this.I;if(b.right<a.Va||b.bottom<a.Xa||b.left>a.Wa||b.top>a.Ua)this.b.J.deleteTexture(this.Pa),this.Tb=this.ed=this.Pa=p}};c.xf=function(){this.Tb=this.ed=p;this.b.J&&this.Pa&&this.b.J.deleteTexture(this.Pa);this.Pa=p};c.zo=function(){this.font=this.Ze+" "+this.ye.toString()+
"pt "+this.qd;this.hd=m;this.b.O=m};c.Zb=function(a,b){a.font=this.font;a.textBaseline="top";a.fillStyle=this.color;a.globalAlpha=b?1:this.opacity;var c=1;b&&(c=this.e.Ma(),a.save(),a.scale(c,c));if(this.hd||this.width!==this.Hg)this.type.na.lk(this.text,this.Bc,a,this.width,this.Gh),this.hd=r,this.Hg=this.width;this.rb();var c=b?0:this.Ib.ya,d=b?0:this.Ib.za;this.b.Dc&&(c=c+0.5|0,d=d+0.5|0);0!==this.g&&!b&&(a.save(),a.translate(c,d),a.rotate(this.g),d=c=0);var f=d+this.height,g=this.dh,g=g+this.Lg*
this.b.devicePixelRatio,h,k;1===this.Rf?d+=Math.max(this.height/2-this.Bc.length*g/2,0):2===this.Rf&&(d+=Math.max(this.height-this.Bc.length*g-2,0));for(k=0;k<this.Bc.length&&!(h=c,1===this.ff?h=c+(this.width-this.Bc[k].width)/2:2===this.ff&&(h=c+(this.width-this.Bc[k].width)),a.fillText(this.Bc[k].text,h,d),d+=g,d>=f-g);k++);(0!==this.g||b)&&a.restore();this.re=this.b.nc};c.yb=function(a){if(!(1>this.width||1>this.height)){var b=this.hd||this.Xi;this.Xi=r;var c=this.e.Ma(),d=this.e.ac(),f=this.Fd,
g=c*this.width,h=c*this.height,k=Math.ceil(g),y=Math.ceil(h),q=this.b.width/2,v=this.b.height/2;this.ed||(this.Tb=document.createElement("canvas"),this.Tb.width=k,this.Tb.height=y,this.bd=k,this.ad=y,b=m,this.ed=this.Tb.getContext("2d"));if(k!==this.bd||y!==this.ad)this.Tb.width=k,this.Tb.height=y,this.Pa&&(a.deleteTexture(this.Pa),this.Pa=p),b=m;b&&(this.ed.clearRect(0,0,k,y),this.Zb(this.ed,m),this.Pa||(this.Pa=a.vc(k,y,this.b.ea,this.b.zc)),a.Bo(this.Tb,this.Pa,this.b.zc));this.bd=k;this.ad=y;
a.Gb(this.Pa);a.Be(this.opacity);a.mc();a.translate(-q,-v);a.qc();var z=this.Ib,b=this.e.ia(z.ya,z.za,m),q=this.e.ia(z.ya,z.za,r),v=this.e.ia(z.ib,z.jb,m),H=this.e.ia(z.ib,z.jb,r),aa=this.e.ia(z.bb,z.cb,m),na=this.e.ia(z.bb,z.cb,r),E=this.e.ia(z.$a,z.ab,m),z=this.e.ia(z.$a,z.ab,r);if(this.b.Dc||0===this.g&&0===d)var D=(b+0.5|0)-b,s=(q+0.5|0)-q,b=b+D,q=q+s,v=v+D,H=H+s,aa=aa+D,na=na+s,E=E+D,z=z+s;0===this.g&&0===d?(v=b+k,H=q,aa=v,na=q+y,E=b,z=na,f.right=1,f.bottom=1):(f.right=g/k,f.bottom=h/y);a.gd(b,
q,v,H,aa,na,E,z,f);a.mc();a.scale(c,c);a.nj(-this.e.ac());a.translate((this.e.Va+this.e.Wa)/-2,(this.e.Xa+this.e.Ua)/-2);a.qc();this.re=this.b.nc}};var g=[];d.kk=function(a){g.length=0;for(var b="",c,d=0;d<a.length;)if(c=a.charAt(d),"\n"===c)b.length&&(g.push(b),b=""),g.push("\n"),++d;else if(" "===c||"\t"===c||"-"===c){do b+=a.charAt(d),d++;while(d<a.length&&(" "===a.charAt(d)||"\t"===a.charAt(d)));g.push(b);b=""}else d<a.length&&(b+=c,d++);b.length&&g.push(b)};var f=[];d.lk=function(a,b,c,d,f){if(!a||
!a.length)k(b);else if(2>=d)k(b);else{if(100>=a.length&&-1===a.indexOf("\n")){var g=c.measureText(a).width;if(g<=d){k(b);b.push(h());b[0].text=a;b[0].width=g;return}}this.mk(a,b,c,d,f)}};d.mk=function(a,b,c,d,k){k&&(this.kk(a),a=g);var x="",A,t,y,q=0;for(y=0;y<a.length;y++)"\n"===a[y]?(q>=b.length&&b.push(h()),t=b[q],t.text=x,t.width=c.measureText(x).width,q++,x=""):(A=x,x+=a[y],t=c.measureText(x).width,t>=d&&(q>=b.length&&b.push(h()),t=b[q],t.text=A,t.width=c.measureText(A).width,q++,x=a[y],!k&&
" "===x&&(x="")));x.length&&(q>=b.length&&b.push(h()),t=b[q],t.text=x,t.width=c.measureText(x).width,q++);for(y=q;y<b.length;y++)f.push(b[y]);b.length=q};d.j=new (ca());b.prototype.Ph=function(a){G(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.hd=m,this.b.O=m)};d.F=new b;d.nb=new (ca())})();function S(h){this.b=h}
(function(){function h(b){a=b.x;u=b.y;e=b.Pj}function k(a){l=a.x;n=a.y;x=a.Pj}function b(){}function d(){}var c=S.prototype;c.sb=function(a){this.na=a;this.b=a.b};c.sb.prototype.fa=ca();c.Ka=function(a){this.type=a;this.b=a.b;this.touches=[];this.Og=r};var g=c.Ka.prototype,f={left:0,top:0};g.Zd=function(a){var b,c;b=0;for(c=this.touches.length;b<c;b++)if(this.touches[b].id===a)return b;return-1};var a=0,u=0,e=0,l=0,n=0,x=0;g.fa=function(){this.Hl=!!("undefined"!==typeof window.c2isWindows8&&window.c2isWindows8);
this.Of=this.Nc=this.ig=this.hg=this.Uh=this.Th=this.Sh=this.pk=this.ok=this.nk=this.we=this.ve=this.ue=0;this.ym=0!==this.Y[0];var a=0<this.b.eb?document:this.b.canvas,b=document;this.b.gc?b=a=window.Canvas:this.b.Qb&&(b=a=window);var c=this;window.navigator.msPointerEnabled?(a.addEventListener("MSPointerDown",function(a){c.Ul(a)},r),a.addEventListener("MSPointerMove",function(a){c.Tl(a)},r),b.addEventListener("MSPointerUp",function(a){c.$i(a)},r),b.addEventListener("MSPointerCancel",function(a){c.$i(a)},
r),this.b.canvas&&(this.b.canvas.addEventListener("MSGestureHold",function(a){a.preventDefault()},r),document.addEventListener("MSGestureHold",function(a){a.preventDefault()},r))):(a.addEventListener("touchstart",function(a){c.cj(a)},r),a.addEventListener("touchmove",function(a){c.bj(a)},r),b.addEventListener("touchend",function(a){c.Xg(a)},r),b.addEventListener("touchcancel",function(a){c.Xg(a)},r));if(this.Hl){var d=function(a){a=a.reading;c.Sh=a.accelerationX;c.Th=a.accelerationY;c.Uh=a.accelerationZ},
e=function(a){a=a.reading;c.ue=a.yawDegrees;c.ve=a.pitchDegrees;c.we=a.rollDegrees},f=Windows.Devices.Sensors.Accelerometer.getDefault();f&&(f.reportInterval=Math.max(f.minimumReportInterval,16),f.addEventListener("readingchanged",d));var g=Windows.Devices.Sensors.Inclinometer.getDefault();g&&(g.reportInterval=Math.max(g.minimumReportInterval,16),g.addEventListener("readingchanged",e));document.addEventListener("visibilitychange",function(){document.hidden||document.msHidden?(f&&f.removeEventListener("readingchanged",
d),g&&g.removeEventListener("readingchanged",e)):(f&&f.addEventListener("readingchanged",d),g&&g.addEventListener("readingchanged",e))},r)}else window.addEventListener("deviceorientation",function(a){c.ue=a.alpha||0;c.ve=a.beta||0;c.we=a.gamma||0},r),window.addEventListener("devicemotion",function(a){a.accelerationIncludingGravity&&(c.nk=a.accelerationIncludingGravity.x,c.ok=a.accelerationIncludingGravity.y,c.pk=a.accelerationIncludingGravity.z);a.acceleration&&(c.Sh=a.acceleration.x,c.Th=a.acceleration.y,
c.Uh=a.acceleration.z)},r);this.ym&&!this.b.Aa&&(jQuery(document).mousemove(function(a){c.Vg(a)}),jQuery(document).mousedown(function(a){c.Ug(a)}),jQuery(document).mouseup(function(a){c.Wg(a)}));this.b.ie&&!this.b.gc&&AppMobi.accelerometer.watchAcceleration(h,{frequency:40,adjustForRotation:m});this.b.ud&&navigator.accelerometer.watchAcceleration(k,p,{frequency:40});this.b.um(this)};g.Tl=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE){a.preventDefault&&a.preventDefault();var b=this.Zd(a.pointerId),
c=La();if(0<=b){var d=this.b.Aa?f:jQuery(this.b.canvas).offset(),b=this.touches[b];2>c-b.time||(b.qf=b.time,b.Ig=b.x,b.Jg=b.y,b.time=c,b.x=a.pageX-d.left,b.y=a.pageY-d.top)}}};g.Ul=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE){a.preventDefault&&a.preventDefault();var b=this.b.Aa?f:jQuery(this.b.canvas).offset(),c=a.pageX-b.left,b=a.pageY-b.top,d=La();this.Nc=this.touches.length;this.Of=a.pointerId;this.touches.push({time:d,x:c,y:b,qf:d,Ig:c,Jg:b,id:a.pointerId,uh:this.Nc});this.b.trigger(S.prototype.j.Lh,
this);this.b.trigger(S.prototype.j.Nh,this);this.hg=c;this.ig=b;this.b.trigger(S.prototype.j.Le,this)}};g.$i=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&(a.preventDefault&&a.preventDefault(),a=this.Zd(a.pointerId),this.Nc=0<=a?this.touches[a].uh:-1,this.Of=0<=a?this.touches[a].id:-1,this.b.trigger(S.prototype.j.Kh,this),this.b.trigger(S.prototype.j.Mh,this),0<=a&&this.touches.splice(a,1))};g.bj=function(a){a.preventDefault&&a.preventDefault();var b=La(),c,d,e,g;c=0;for(d=a.changedTouches.length;c<
d;c++)if(e=a.changedTouches[c],g=this.Zd(e.identifier),0<=g){var h=this.b.Aa?f:jQuery(this.b.canvas).offset();g=this.touches[g];2>b-g.time||(g.qf=g.time,g.Ig=g.x,g.Jg=g.y,g.time=b,g.x=e.pageX-h.left,g.y=e.pageY-h.top)}};g.cj=function(a){a.preventDefault&&a.preventDefault();var b=this.b.Aa?f:jQuery(this.b.canvas).offset(),c=La(),d,e,g,h;d=0;for(e=a.changedTouches.length;d<e;d++)if(g=a.changedTouches[d],h=this.Zd(g.identifier),-1===h){h=g.pageX-b.left;var k=g.pageY-b.top;this.Nc=this.touches.length;
this.Of=g.identifier;this.touches.push({time:c,x:h,y:k,qf:c,Ig:h,Jg:k,id:g.identifier,uh:this.Nc});this.b.trigger(S.prototype.j.Lh,this);this.b.trigger(S.prototype.j.Nh,this);this.hg=h;this.ig=k;this.b.trigger(S.prototype.j.Le,this)}};g.Xg=function(a){a.preventDefault&&a.preventDefault();var b,c,d;b=0;for(c=a.changedTouches.length;b<c;b++)d=a.changedTouches[b],d=this.Zd(d.identifier),this.Nc=0<=d?this.touches[d].uh:-1,this.Of=0<=d?this.touches[d].id:-1,this.b.trigger(S.prototype.j.Kh,this),this.b.trigger(S.prototype.j.Mh,
this),0<=d&&this.touches.splice(d,1)};g.bo=function(){return this.b.ie&&0===this.ue&&0!==e?90*e:this.b.ud&&0===this.ue&&0!==x?90*x:this.ue};g.co=function(){return this.b.ie&&0===this.ve&&0!==u?-90*u:this.b.ud&&0===this.ve&&0!==n?-90*n:this.ve};g.fo=function(){return this.b.ie&&0===this.we&&0!==a?90*a:this.b.ud&&0===this.we&&0!==l?90*l:this.we};g.Ug=function(a){a.preventDefault&&this.b.Xc&&a.preventDefault();this.cj({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.Og=m};g.Vg=function(a){a.preventDefault&&
this.b.Xc&&a.preventDefault();this.Og&&this.bj({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};g.Wg=function(a){a.preventDefault&&this.b.Xc&&a.preventDefault();this.b.Xc=m;this.Xg({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.Og=r};g.wh=function(){var a,b,c,d=La();a=0;for(b=this.touches.length;a<b;a++)c=this.touches[a],c.time<=d-50&&(c.qf=d)};b.prototype.Nh=w(m);b.prototype.Mh=w(m);b.prototype.Le=function(a){return!a?r:this.b.vh(a,this.hg,this.ig,r)};b.prototype.Lh=
function(a){a=Math.floor(a);return a===this.Nc};b.prototype.Kh=function(a){a=Math.floor(a);return a===this.Nc};c.j=new b;d.prototype.Qh=function(a,b){if(this.touches.length){var c,d,e,f,g;fa(b)?(c=this.b.cc(0),d=c.scale,e=c.Ja,f=c.Db,g=c.g,c.scale=this.b.C.scale,c.Ja=1,c.Db=1,c.g=this.b.C.g,a.m(c.ra(this.touches[0].x,this.touches[0].y,m)),c.scale=d,c.Ja=e,c.Db=f,c.g=g):(c=G(b)?this.b.cc(b):this.b.be(b))?a.m(c.ra(this.touches[0].x,this.touches[0].y,m)):a.m(0)}else a.m(0)};d.prototype.Rh=function(a,
b){if(this.touches.length){var c,d,e,f,g;fa(b)?(c=this.b.cc(0),d=c.scale,e=c.Ja,f=c.Eb,g=c.g,c.scale=this.b.C.scale,c.Ja=1,c.Eb=1,c.g=this.b.C.g,a.m(c.ra(this.touches[0].x,this.touches[0].y,r)),c.scale=d,c.Ja=e,c.Eb=f,c.g=g):(c=G(b)?this.b.cc(b):this.b.be(b))?a.m(c.ra(this.touches[0].x,this.touches[0].y,r)):a.m(0)}else a.m(0)};c.nb=new d})();var Fb=[],Gb=[],Hb=[],Ib=[],Jb=[],Kb=[],Lb=[],Mb=[],Nb=[],Ob=1E4;function Pb(h,k){return Math.round(h*Ob/k)}
function Qb(h,k,b){switch(h){case 0:return 1*k/b+0;case 1:return 1*(k/=b)*k+0;case 2:return-1*(k/=b)*(k-2)+0;case 3:return 1>(k/=b/2)?0.5*k*k+0:-0.5*(--k*(k-2)-1)+0;case 4:return 1*(k/=b)*k*k+0;case 5:return 1*((k=k/b-1)*k*k+1)+0;case 6:return 1>(k/=b/2)?0.5*k*k*k+0:0.5*((k-=2)*k*k+2)+0;case 7:return 1*(k/=b)*k*k*k+0;case 8:return-1*((k=k/b-1)*k*k*k-1)+0;case 9:return 1>(k/=b/2)?0.5*k*k*k*k+0:-0.5*((k-=2)*k*k*k-2)+0;case 10:return 1*(k/=b)*k*k*k*k+0;case 11:return 1*((k=k/b-1)*k*k*k*k+1)+0;case 12:return 1>
(k/=b/2)?0.5*k*k*k*k*k+0:0.5*((k-=2)*k*k*k*k+2)+0;case 13:return Jb[Pb(k,b)];case 14:return Kb[Pb(k,b)];case 15:return Lb[Pb(k,b)];case 16:return h=0,0==h&&(h=1.70158),1*(k/=b)*k*((h+1)*k-h)+0;case 17:return Mb[Pb(k,b)];case 18:return Nb[Pb(k,b)];case 19:return Gb[Pb(k,b)];case 20:return Hb[Pb(k,b)];case 21:return Ib[Pb(k,b)];case 22:return 1-Fb[Pb(b-k,b)]+0;case 23:return Fb[Pb(k,b)];case 24:return k<b/2?0.5*(1-Fb[Pb(b-2*k,b)]+0)+0:0.5*Fb[Pb(2*k-b,b)]+0.5;case 25:return k=k/b/2,2*k*k*(3-2*k);case 26:return k=
(k/b+1)/2,2*k*k*(3-2*k)-1;case 27:return k/=b,k*k*(3-2*k)}return 0}
for(var Rb=0,T=0,U=0,V=0,W=0,X=0;X<=Ob;X++){V=X/Ob;(V/=1)<1/2.75||(V<2/2.75?V-=1.5/2.75:V<2.5/2.75?V-=2.25/2.75:V-=2.625/2.75);var Sb,Y=X/Ob;Sb=(Y/=1)<1/2.75?1*7.5625*Y*Y+0:Y<2/2.75?1*(7.5625*(Y-=1.5/2.75)*Y+0.75)+0:Y<2.5/2.75?1*(7.5625*(Y-=2.25/2.75)*Y+0.9375)+0:1*(7.5625*(Y-=2.625/2.75)*Y+0.984375)+0;Fb[X]=Sb;V=X/Ob;U=T=0;V/=1;0==U&&(U=0.3);0==T||T<Math.abs(1)?(T=1,W=U/4):W=U/(2*Math.PI)*Math.asin(1/T);Rb=-(T*Math.pow(2,10*(V-=1))*Math.sin((1*V-W)*2*Math.PI/U))+0;Gb[X]=Rb;V=X/Ob;U=T=0;V/=1;0==U&&
(U=0.3);0==T||T<Math.abs(1)?(T=1,W=U/4):W=U/(2*Math.PI)*Math.asin(1/T);Rb=T*Math.pow(2,-10*V)*Math.sin((1*V-W)*2*Math.PI/U)+1;Hb[X]=Rb;V=X/Ob;U=T=0;V/=0.5;0==U&&(U=1*0.3*1.5);0==T||T<Math.abs(1)?(T=1,W=U/4):W=U/(2*Math.PI)*Math.asin(1/T);Rb=1>V?-0.5*T*Math.pow(2,10*(V-=1))*Math.sin((1*V-W)*2*Math.PI/U)+0:0.5*T*Math.pow(2,-10*(V-=1))*Math.sin((1*V-W)*2*Math.PI/U)+1;Ib[X]=Rb;V=X/Ob;Jb[X]=-(Math.sqrt(1-V*V)-1);V=X/Ob;Kb[X]=Math.sqrt(1-(V-1)*(V-1));V=X/Ob;Rb=1>(V/=0.5)?-0.5*(Math.sqrt(1-V*V)-1)+0:0.5*
(Math.sqrt(1-(V-=2)*V)+1)+0;Lb[X]=Rb;V=X/Ob;W=0;0==W&&(W=1.70158);Rb=1*((V=V/1-1)*V*((W+1)*V+W)+1)+0;Mb[X]=Rb;V=X/Ob;W=0;0==W&&(W=1.70158);if(1>(V/=0.5))W*=1.525;Rb=0.5*((V-=2)*V*(((W*=1.525)+1)*V+W)+2)+0;Nb[X]=Rb}function Tb(h,k,b,d,c,g,f){this.name=h;this.value=0;this.Ff(d);this.oh(c);this.kg=b;this.Ia=k;this.duration=g;this.state=this.V=0;this.zf=this.Af=this.yf=this.Bf=r;this.Rb=this.Ba=0;this.zb=f}Tb.prototype={};
Tb.prototype.Ff=function(h){this.N=parseFloat(h.split(",")[0]);this.yc=parseFloat(h.split(",")[1]);this.Rb=this.Ba=0};Tb.prototype.oh=function(h){this.L=parseFloat(h.split(",")[0]);this.qb=parseFloat(h.split(",")[1])};Tb.prototype.Wf=function(h){if(0===this.state)return-1;1===this.state&&(this.V+=h);2===this.state&&(this.V-=h);3===this.state&&(this.state=0);return 0>this.V?(this.state=this.V=0,this.zf=m,0):this.V>this.duration?(this.state=0,this.V=this.duration,this.yf=m,1):Qb(this.kg,this.V,this.duration)};
function Z(h){this.b=h}
(function(){var h=Z.prototype;h.sb=function(b,d){this.Xb=b;this.ro=d;this.b=b.b};h.sb.prototype.fa=ca();h.Ka=function(b,d){this.type=b;this.Xb=b.Xb;this.i=d;this.b=b.b;this.ko=0};var k=h.Ka.prototype;k.fa=function(){this.ub=1===this.Y[0];this.Ia=this.Y[1];this.Ck=this.Y[2];this.target=this.Y[3];this.duration=this.Y[4];this.zb=1===this.Y[5];this.i.value=0;this.p={};this.Wh(this.Ia,this.Ck,"current",this.target,this.duration,this.zb);this.ub&&this.yj(0)};k.fd=function(b,d){d===ba&&(d="current");var c=
d.replace(/^\s\s*/,"").replace(/\s\s*$/,"");d=d.replace(/^\s\s*/,"").replace(/\s\s*$/,"");if("current"===d)switch(b){case 0:c=this.i.x+","+this.i.y;break;case 1:c=this.i.width+","+this.i.height;break;case 2:c=this.i.width+","+this.i.height;break;case 3:c=this.i.width+","+this.i.height;break;case 4:c=wa(this.i.g)+","+wa(this.i.g);break;case 5:c=100*this.i.opacity+","+100*this.i.opacity;break;case 6:c=this.i.value+","+this.i.value}if("relative"===d.substring(0,8)){var g=d.match(/\((.*?)\)/);if(g)var f=
parseFloat(g[1].split(",")[0]),a=parseFloat(g[1].split(",")[1]);isNaN(f)&&(f=0);isNaN(a)&&(a=0);switch(b){case 0:c=this.i.x+f+","+(this.i.y+a);break;case 1:c=this.i.width+f+","+(this.i.height+a);break;case 2:c=this.i.width+f+","+(this.i.height+a);break;case 3:c=this.i.width+f+","+(this.i.height+a);break;case 4:c=wa(this.i.g)+f+","+(wa(this.i.g)+a);break;case 5:c=100*this.i.opacity+f+","+(100*this.i.opacity+a);break;case 6:c=this.i.value+f+","+this.i.value+f}}return c};k.Wh=function(b,d,c,g,f,a){c=
this.fd(b,c);g=this.fd(b,g);this.p["default"]!==ba&&delete this.p["default"];this.p["default"]=new Tb("default",b,d,c,g,f,a)};k.ob=ca();k.Sb=ca();k.nm=function(b){1<b&&(b=1);0>b&&(b=0);for(var d in this.p){var c=this.p[d];c.Ba=0;c.Rb=0;c.state=3;c.V=b*c.duration;var g=c.Wf(0);this.Dh(c,g)}};k.yj=function(b){for(var d in this.p){var c=this.p[d];0===b&&(c.V=1E-6,c.Ba=0,c.Rb=0,c.Bf=m);c.state=1}};k.rm=function(b){for(var d in this.p){var c=this.p[d];1===b&&(c.V=0);2===b&&(c.V=c.duration);c.state=3;var g=
c.Wf(0);this.Dh(c,g)}};k.em=function(b){for(var d in this.p){var c=this.p[d];1===b&&(c.V=c.duration,c.Ba=0,c.Rb=0,c.Af=m);c.state=2}};k.Dh=function(b,d){if(0===b.Ia)b.zb?(this.i.x=b.N+(b.L-b.N)*d,this.i.y=b.yc+(b.qb-b.yc)*d):(this.i.x+=(b.L-b.N)*d-b.Ba,this.i.y+=(b.qb-b.yc)*d-b.Rb,b.Ba=(b.L-b.N)*d,b.Rb=(b.qb-b.yc)*d);else if(1===b.Ia)b.zb?(this.i.width=b.N+(b.L-b.N)*d,this.i.height=b.yc+(b.qb-b.yc)*d):(this.i.width+=(b.L-b.N)*d-b.Ba,this.i.height+=(b.qb-b.yc)*d-b.Rb,b.Ba=(b.L-b.N)*d,b.Rb=(b.qb-b.yc)*
d);else if(2===b.Ia)b.zb?this.i.width=b.N+(b.L-b.N)*d:(this.i.width+=(b.L-b.N)*d-b.Ba,b.Ba=(b.L-b.N)*d);else if(3===b.Ia)b.zb?this.i.height=b.N+(b.L-b.N)*d:(this.i.height+=(b.L-b.N)*d-b.Rb,b.Rb=(b.L-b.N)*d);else if(4===b.Ia)if(b.zb){var c=b.N+(b.L-b.N)*d;this.i.g=ya(M(c))}else c=(b.L-b.N)*d-b.Ba,this.i.g=ya(M(this.i.g+c)),b.Ba=(b.L-b.N)*d;else 5===b.Ia?b.zb?this.i.opacity=(b.N+(b.L-b.N)*d)/100:(this.i.opacity+=((b.L-b.N)*d-b.Ba)/100,b.Ba=(b.L-b.N)*d):6===b.Ia&&(b.zb?this.i.value=b.N+(b.L-b.N)*d:(this.i.value+=
(b.L-b.N)*d-b.Ba,b.Ba=(b.L-b.N)*d))};k.Mc=function(){var b=this.b.wi(this.i),d=this.p["default"];0!==d.state&&(d.Bf&&this.b.trigger(Z.prototype.j.fk,this.i),d.Af&&this.b.trigger(Z.prototype.j.ek,this.i),b=d.Wf(b),this.Dh(d,b),this.i.pa(),d.yf&&this.b.trigger(Z.prototype.j.Tf,this.i),d.zf&&this.b.trigger(Z.prototype.j.dk,this.i))};h.j={};k=h.j;k.Uj=function(){return 0!==this.p["default"].state};k.Lm=function(b,d){var c=this.p["default"];return Db(c.V/c.duration,b,d)};k.fk=function(){return this.p["default"]!==
ba&&this.p["default"].Bf?(this.p["default"].Bf=r,m):r};k.ek=function(){return this.p["default"]!==ba&&this.p["default"].Af?(this.p["default"].Af=r,m):r};k.Tf=function(){return this.p["default"]!==ba&&this.p["default"].yf?(this.p["default"].yf=r,m):r};k.dk=function(){return this.p["default"]!==ba&&this.p["default"].zf?(this.p["default"].zf=r,m):r};h.F={};k=h.F;k.md=function(b){this.yj(b)};k.Rn=function(b){this.rm(b)};k.tn=function(b){this.em(b)};k.sn=function(b){this.nm(b)};k.An=function(b){!isNaN(b)&&
(!(0>b)&&this.p["default"]!==ba)&&(this.p["default"].duration=b)};k.En=function(b){this.p["default"]!==ba&&(this.p["default"].zb=1===b)};k.Gn=function(b){this.p["default"]!==ba&&(b=this.fd(this.p["default"].Ia,b),this.p["default"].Ff(b))};k.Ln=function(b,d,c){if(this.p["default"]!==ba&&!isNaN(c)){var g=c+"",f=this.p["default"];if(1===d)switch(b){case 0:g=this.i.x+c+","+f.qb;break;case 1:g=f.L+","+(this.i.y+c);break;case 2:g=""+wa(this.i.g+M(c));break;case 3:g=""+100*this.i.opacity+c;break;case 4:g=
this.i.width+c+","+f.qb;break;case 5:g=f.L+","+(this.i.height+c);break;case 6:g=c+","+c}else switch(b){case 0:g=c+","+f.qb;break;case 1:g=f.L+","+c;break;case 2:g=c+","+c;break;case 3:g=c+","+c;break;case 4:g=c+","+f.qb;break;case 5:g=f.L+","+c;break;case 6:g=c+","+c}console.log(b,c,g);b=this.fd(this.p["default"].Ia,"current");g=this.fd(this.p["default"].Ia,g);f.Ff(b);f.oh(g)}};k.Nn=function(b){this.p["default"]!==ba&&(this.p["default"].Ia=b)};k.Bn=function(b){this.p["default"]!==ba&&(this.p["default"].kg=
b)};k.On=function(b){this.i.value=b};k.hk=function(b,d,c,g,f){if(this.p["default"]===ba)this.Wh(b,d,initial,c,g,f);else{var a=this.p["default"];a.Ia=b;a.kg=d;a.Ff(this.fd(b,"current"));a.oh(this.fd(b,c));a.duration=g;a.zb=1===f}};h.nb={};h=h.nb;h.rn=function(b){b.m(this.p["default"].V/this.p["default"].duration)};h.Rm=function(b){b.m(this.p["default"].duration)};h.Tn=function(b){var d=this.p["default"];switch(d.Ia){case 0:parsed=d.L;break;case 1:parsed=d.qb;break;case 2:parsed=d.L;break;case 3:parsed=
d.L;break;case 4:parsed=d.L;break;case 5:parsed=d.qb;break;case 6:parsed=d.L}b.m(parsed)};h.Wn=function(b){b.m(this.i.value)}})();
function hb(){return[p,p,[[Q,m,r,r,r,r,r,r,r,r],[R,r,m,m,m,m,m,m,m,r],[Eb,r,m,m,m,m,m,m,m,r],[S,m,r,r,r,r,r,r,r,r]],[["t0",R,r,[],0,0,p,[["Default",5,r,1,0,r,6175477803890165,[["images/elfondo-sheet0.png",286443,0,0,550,560,1,0,0,[],[],1]]]],[],r,r,6796364879246031,[]],["t1",R,r,[],0,0,p,[["Default",5,r,1,0,r,0x81ddc0c8d092f,[["images/manometro-sheet0.png",8926,0,0,147,90,1,0.306122,0.511111,[],[-0.210884,-0.355555,0.190477,-0.388889,0.476191,-0.155555,0.693878,-0.0111111,0.190477,0.377778,-0.210884,
0.333333,-0.29932,-0.0111111],0]]]],[],r,r,0x7f6e5498f65d3,[]],["t2",R,r,[],1,0,p,[["Default",5,r,1,0,r,9609803255330076,[["images/aguja-sheet0.png",443,0,0,29,41,1,0.62069,0.292683,[],[-0.103449,0.195122,-0.206897,0.292683,-0.103449,0.243902,-0.586207,0.682927,-0.24138,0.195122,-0.206897,8.9407E-8,-0.103449,-0.121951,0.275862,-0.219512],0]]]],[["LiteTween",Z,9745187159915672]],r,r,8445004542331034,[]],["t3",R,r,[],1,0,p,[["Default",5,r,1,0,r,0x68b6d6ad10d42,[["images/embolo-sheet0.png",24410,0,0,
212,190,1,0.495283,0.0578947,[],[-0.09434,0.389473,0.00471699,-0.0578947,0.09434,0.4,0.09434,0.442105,0.466981,0.9,0.00471699,0.942105,-0.457547,0.9,-0.09434,0.442105],0]]]],[["LiteTween",Z,0xeb5d25e08c0a]],r,r,823354470073294,[]],["t4",R,r,[],0,0,p,[["Up",5,r,0,0,r,5728287569706801,[["images/botonanimar-sheet0.png",1706,1,1,103,32,1,0.504854,0.5,[],[-0.504854,-0.5,-0.00970837,-0.5,0.417476,-0.25,0.485437,0,0.427185,0.28125,-0.00970837,0.5,-0.504854,0.5],0]]],["Over",5,r,1,0,r,6441009819773302,[["images/botonanimar-sheet0.png",
1706,1,34,103,32,1,0.504854,0.5,[],[-0.504854,-0.5,-0.00970837,-0.5,0.417476,-0.25,0.485437,0,0.427185,0.28125,-0.00970837,0.5,-0.504854,0.5],0]]]],[],r,r,0x900ad61465429,[]],["t5",Q,r,[],0,0,p,p,[],r,r,9283028568941576,[],[]],["t6",R,r,[],0,0,p,[["Default",5,r,1,0,r,7495783289982611,[["images/elparche-sheet0.png",10244,0,0,224,62,1,0.5,0.5,[],[-0.5,-0.5,0,0,0.5,-0.5,0.5,0.5,-0.5,0.5],0]]]],[],r,r,7290432858626334,[]],["t7",R,r,[],0,0,p,[["Default",5,r,1,0,r,6839242507432524,[["images/sprite-sheet0.png",
76124,0,0,225,299,1,0.502222,0.501672,[],[-0.466667,-0.474916,-0.00444424,-0.501672,0.462222,-0.474916,0.493334,-0.00334427,0.417778,0.438127,-0.00444424,0.491639,-0.422222,0.438127,-0.497778,-0.00334427],0]]]],[],r,r,8932263950930798,[]],["t8",R,r,[],0,0,p,[["Default",5,r,1,0,r,765625523912308,[["images/vidriodel-sheet0.png",64932,0,0,231,292,1,0.502164,0.5,[],[0.354978,0.178082,-0.004329,0.19863,-0.380952,0.195205,0.419913,0.438356,-0.004329,0.493151,-0.424242,0.438356],0]]]],[],r,r,5346456549496469,
[]],["t9",R,r,[],1,0,p,[["Default",5,r,1,0,r,0x52d99147e5b31,[["images/gas-sheet0.png",162,0,0,212,204,1,0.5,1,[],[],0]]]],[["LiteTween",Z,7760214119300363]],r,r,8376837049965068,[]],["t10",S,r,[],0,0,p,p,[],r,r,7435973193150146,[],[1]],["t11",R,r,[],0,0,p,[["Up",5,r,1,0,r,0x522fcac901feb,[["images/botonreiniciar-sheet0.png",1849,1,1,103,32,1,0.504854,0.5,[],[-0.504854,-0.5,-0.00970837,-0.5,0.417476,-0.25,0.485437,0,0.427185,0.28125,-0.00970837,0.5,-0.504854,0.5],0]]],["Over",5,r,1,0,r,0x7f9d169c5b740,
[["images/botonreiniciar-sheet0.png",1849,1,34,103,32,1,0.504854,0.5,[],[-0.504854,-0.5,-0.00970837,-0.5,0.417476,-0.25,0.485437,0,0.427185,0.28125,-0.00970837,0.5,-0.504854,0.5],0]]]],[],r,r,0xa50235e7b73e5,[]],["t12",R,r,[],1,0,p,[["Default",5,r,1,0,r,6198513108514609,[["images/pesa-sheet0.png",2748,0,0,56,81,1,0.5,0.506173,[],[-0.160714,-0.271605,0,-0.506173,0.142857,-0.259259,0.482143,-0.0123459,0.464286,0.469136,0,0.493827,-0.464286,0.469136,-0.5,-0.0123459],0]]]],[["LiteTween",Z,9649664493558744]],
r,r,0xc97e4a2354a71,[]],["t13",Eb,r,[],0,0,p,p,[],r,r,7924420615046531,[]],["t14",R,r,[],0,0,p,[["Default",5,r,1,0,r,6296860718387314,[["images/termometro-sheet0.png",906,0,0,156,31,1,0.0705128,0.483871,[],[-0.0448718,-0.354839,0.429487,-0.483871,0.903846,-0.354839,0.929487,5.96046E-8,0.897436,0.354839,0.429487,0.516129,-0.0384615,0.354839,-0.0705128,5.96046E-8],0]]]],[],r,r,8534097928132162,[]],["t15",R,r,[],1,0,p,[["Default",5,r,1,0,r,7892203615925994,[["images/mercurio-sheet0.png",210,0,0,22,6,
1,0,0.5,[],[],1]]]],[["LiteTween",Z,5587203740462238]],r,r,6784697935448684,[]],["t16",Eb,r,[],0,0,p,p,[],r,r,583222235631569,[]],["t17",R,r,[],0,0,p,[["Default",5,r,1,0,r,7044152174041186,[["images/sprite2-sheet0.png",56951,0,0,390,164,1,0.5,0.5,[],[-0.469231,-0.426829,0.494872,-0.487805,0.405128,0,0.353846,0.152439,0,0.219512,-0.35641,0.158537,-0.417949,0],0]]]],[],r,r,0x8adaef62f9ff6,[]]],[],[["mainLayout",550,560,r,"Event sheet 1",726553200214837,[["capaFondo",0,8324467814325107,m,[255,255,255],
r,1,1,1,r,1,0,0,[[[0,0,0,550,560,0,0,1,0,0,0,0,[]],0,0,[],[],[0,"Default",0,1]],[[276,479,0,390,164,0,0,1,0.5,0.5,0,0,[]],17,17,[],[],[0,"Default",0,1]],[[275,365,0,225,299,0,0,1,0.502222,0.501672,0,0,[]],7,9,[],[],[0,"Default",0,1]]],[]],["capaEmbolo",1,8981255670094913,m,[255,255,255],m,1,1,1,r,1,0,0,[[[274,511,0,212,245,0,0,1,0.5,1,0,0,[]],9,11,[],[[0,1,2,"212,143",7,1]],[0,"Default",0,1]],[[273,100,0,212,190,0,0,1,0.495283,0.0578947,0,0,[]],3,3,[],[[0,0,2,"273,201",7,1]],[0,"Default",0,1]],[[273,
43,0,56,81,0,0,1,0.5,0.506173,0,0,[]],12,15,[],[[0,0,3,"273,55",0.5,1]],[0,"Default",0,1]]],[]],["capaVidrio",2,0xd53958aa3ca7d,m,[255,255,255],m,1,1,1,r,1,0,0,[[[473,404,0,103,32,0,0,1,0.504854,0.5,0,0,[]],4,5,[],[],[0,"Up",0,1]],[[61,401,0,147,90,0,0,1,0.306122,0.511111,0,0,[]],1,1,[],[],[0,"Default",0,1]],[[63,399,0,29,41,0,0.925025,1,0.62069,0.292683,0,0,[]],2,2,[],[[0,4,2,"105",7,1]],[0,"Default",0,1]],[[269,511,0,224,62,0,0,1,0.5,0.5,0,0,[]],6,8,[],[],[0,"Default",0,1]],[[275,370,0,231,292,
0,0,1,0.502164,0.5,0,0,[]],8,10,[],[],[0,"Default",0,1]],[[473,440,0,103,32,0,0,1,0.504854,0.5,0,0,[]],11,14,[],[],[1,"Up",0,1]],[[11,504,0,159,41,0,0,1,0,0,0,0,[]],13,4,[],[],["P=",1,"20pt Arial","rgb(0,0,0)",0,0,0,0,0]],[[207,512,0,156,31,0,0,1,0.0705128,0.483871,0,0,[]],14,7,[],[],[0,"Default",0,1]],[[207,512,0,15,6,0,0,1,0,0.5,0,0,[]],15,12,[],[[0,1,0,"40,6",7,1]],[0,"Default",0,1]],[[394,319,0,149,40,0,0,1,0,0,0,0,[]],16,16,[],[],["V=",1,"20pt Arial","rgb(0,0,0)",0,0,0,0,0]]],[]]],[],[]]],[["Event sheet 1",
[[1,"presion",0,0,r,r,6303172829493418],[1,"volumen",0,0,r,r,6155229967009916],[1,"etapa1over",0,0,r,r,8817662766975484],[0,p,r,0xdddd570e066e,[[-1,P.prototype.j.Ih,p,1,r,r,r,4846275390227008]],[[6,R.prototype.F.ik,p,0xf86a3c542b265,[[0,[0,269]],[0,[0,511]]]],[1,R.prototype.F.Ne,p,7853467991039413,[[3,0]]],[2,R.prototype.F.Ne,p,8764162027458803,[[3,0]]]]],[0,p,r,0xd651c365aaad4,[[-1,P.prototype.j.Tj,p,0,r,r,r,7438135870526049]],[[-1,P.prototype.F.Qd,p,5383953270082606,[[11,"presion"],[7,[7,[19,P.prototype.nb.round,
[[6,[4,[6,[1,0.0192308],[20,2,R.prototype.nb.Qj,r,p]],[1,0.0192307]],[0,10]]]],[0,10]]]]],[-1,P.prototype.F.Qd,p,5661261635322048,[[11,"volumen"],[7,[7,[19,P.prototype.nb.round,[[6,[4,[5,[6,[1,1.333],[9,[23,"presion"],[0,2]]],[6,[0,6],[23,"presion"]]],[1,8.667]],[0,100]]]],[0,100]]]]],[13,Eb.prototype.F.Ph,p,784637930959996,[[7,[10,[10,[2,"P="],[23,"presion"]],[2," atm"]]]]],[16,Eb.prototype.F.Ph,p,7596534217927022,[[7,[10,[10,[2,"V="],[6,[23,"volumen"],[0,3]]],[2," L"]]]]]]],[0,p,r,6530896666557502,
[[5,Q.prototype.j.Ke,p,1,r,r,r,4506321685716694,[[3,0],[3,0],[4,4]]]],[[12,Z.prototype.F.md,"LiteTween",0xc067a05412c8d,[[3,0]]]]],[0,p,r,6439156243749746,[[5,Q.prototype.j.Ke,p,1,r,r,r,0x92737ee741127,[[3,0],[3,0],[4,11]]]],[[-1,P.prototype.F.Qd,p,9261823178166356,[[11,"etapa1over"],[7,[0,0]]]],[-1,P.prototype.F.Oh,p,9707292957791168]]],[0,p,r,0x765322b7fc6a1,[[5,Q.prototype.j.Je,p,0,r,r,r,6598146035257808,[[4,4]]]],[[4,R.prototype.F.Me,p,8570078766175865,[[1,[2,"Over"]],[3,1]]]]],[0,p,r,0xfd69183e45d1e,
[[5,Q.prototype.j.Je,p,0,r,m,r,5167173062510644,[[4,4]]]],[[4,R.prototype.F.Me,p,0xda2072874cfa4,[[1,[2,"Up"]],[3,1]]]]],[0,p,r,5600674080687234,[[5,Q.prototype.j.Je,p,0,r,r,r,9843226641811448,[[4,11]]]],[[11,R.prototype.F.Me,p,0x8404f4b6d4b76,[[1,[2,"Over"]],[3,1]]]]],[0,p,r,6509289761134154,[[5,Q.prototype.j.Je,p,0,r,m,r,6682514966753462,[[4,11]]]],[[11,R.prototype.F.Me,p,8785695527115616,[[1,[2,"Up"]],[3,1]]]]],[0,p,r,8205982312758193,[[2,Z.prototype.j.Uj,"LiteTween",0,r,r,r,4819026932152611]],
[[4,R.prototype.F.Ne,p,5524793150320843,[[3,0]]]]],[0,p,r,7252367658373802,[[2,Z.prototype.j.Tf,"LiteTween",1,r,r,r,0xa5738fbcfd48f]],[[11,R.prototype.F.Ne,p,76355206824577,[[3,1]]]]],[0,p,r,0xac2020a3a497e,[[10,S.prototype.j.Le,p,1,r,r,r,0xbc21d6efa5590,[[4,4]]]],[[12,Z.prototype.F.md,"LiteTween",8851566169271111,[[3,0]]]]],[0,p,r,0x79624bb3973c5,[[10,S.prototype.j.Le,p,1,r,r,r,0xa24a4bcfaae75,[[4,11]]]],[[-1,P.prototype.F.Qd,p,0x5693c057cdd9e,[[11,"etapa1over"],[7,[0,0]]]],[-1,P.prototype.F.Oh,
p,332902333558017]]],[0,p,r,929285474088039,[[12,Z.prototype.j.Tf,"LiteTween",1,r,r,r,6135776190047423],[-1,P.prototype.j.Rj,p,0,r,r,r,5504647410925019,[[11,"etapa1over"],[8,0],[7,[0,0]]]]],[[2,Z.prototype.F.md,"LiteTween",7972728937045142,[[3,0]]],[3,Z.prototype.F.md,"LiteTween",0xdf603049109f9,[[3,0]]],[9,Z.prototype.F.md,"LiteTween",5625709015573549,[[3,0]]],[12,Z.prototype.F.hk,"LiteTween",0xc3553ec7886cb,[[3,0],[3,2],[1,[2,"273,156"]],[0,[0,7]],[3,1]]],[12,Z.prototype.F.md,"LiteTween",0x4be0fcede7aaf,
[[3,0]]],[-1,P.prototype.F.Qd,p,6633773968218837,[[11,"etapa1over"],[7,[0,1]]]]]],[0,p,r,5889358598259278,[],[]]]]],"media/",r,550,560,0,r,m,r,"1.0.0.0",1,r,3,r,18,r,[[1,2]]]};
