-
Notifications
You must be signed in to change notification settings - Fork 0
/
createjs.js
4 lines (4 loc) · 98.6 KB
/
createjs.js
1
2
3
4
/* Copyright (c) 2016 DeNA Co., Ltd. All Rights Reserved. */ !function(){function a(){}function b(){}function c(a,b){a.I=b.prototype,a.prototype=Object.create(b.prototype),a.prototype.constructor=a}function d(a,b,c){for(var d in b)a.prototype[d]=b[d];if(a.prototype.initialize=a,c)for(d in c)a[d]=c[d]}function e(a){var b,c={};for(b in a)c[b]=a[b];return c}function f(a){return"string"==typeof a}function g(a){return a>0?a:-a}function h(a,b){return b>a?a:b}function i(a,b){return a>b?a:b}function j(){return document.createElement("canvas")}function k(){return te=oe.CreateJsShell,!!te}function l(a){return se?new se(a):a}function m(){}function n(a,b,c,d){this.k=a,this.h=b,this.e=c,this.g=d}function o(a,b){for(var c=z().n,d=0;d<ze.length;++d){var e=ze[d];if(e.k.test(c)){if(a&&e.h){for(d=0;d<e.h.length;++d)if(e.h[d]==a)return e.g;break}if(b&&e.e){for(d=0;d<e.e.length;++d)if(e.e[d]==b)return e.g;break}return e.g}}return""}function p(a){this.type=a}function q(){}function r(a){return{click:1,mousedown:2,mouseup:8,pressmove:4,pressup:8}[a]||0}function s(a,b,c,d){this.g=a.handleEvent||a,this.e=a.handleEvent?a:b,this.h=c,this.G=d}function t(a){this.g=[a],this.e=null,this.h=!1}function u(a){return a.h?(a.e||(a.e=a.g.slice()),a.e):a.g}function v(a,b){if(a.ia){var c=a.ia[b.type];if(c&&c.g.length)if(b.target=a,b.currentTarget=a,b.Yd=a,a.He)a.wc=a.wc||[],a.wc.push(b);else{a.He=!0;var d;c.h=!0,d=c.g;for(var e=d.length,f=0;e>f;++f){b.We=!1;var g=d[f],h=g,i=b;if(h.g.call(h.e,i,h.G),i.We||h.h)for(h=c,h.e||(h.e=h.g.slice()),h=h.e,i=h.length-1;i>=0;--i)if(h[i]===g){h.splice(i,1);break}}for(c.h=!1,c.e&&(c.g=c.e,c.e=null),a.He=!1;a.wc;)for(c=a.wc,a.wc=null,f=0;f<c.length;++f)v(a,c[f])}}}function w(a,b){if(v(a,b),b.Wa&&a.parent)for(var c=a.parent;c&&!b.fe;c=c.parent)v(c,b);return b.target=null,b.currentTarget=null,b.Yd=null,b.Cd}function x(a,b){var c=a.ia;return c&&c[b]?w(a,new p(b)):!1}function y(a,b){this.n=a,this.k=0<=a.indexOf("WebKit");var c;a:{c={Win:0,Mac:1,Linux:2,iPhone:4,iPad:4};for(var d in c)if(0<=b.indexOf(d)){c=c[d],c=2==c&&0<=a.indexOf("Android")?3:c;break a}c=5}this.g=c;var e;a:{c={Opera:0,MSIE:1,Trident:1,Edge:6};for(e in c)if(0<=a.indexOf(e)){e=c[e];break a}c={Chrome:2,Safari:3},d={Gecko:4,Firefox:4},c=this.k?c:d;for(e in c)if(0<=a.indexOf(e)){e=c[e],e=3==this.g&&3==e?5:e;break a}e=7}this.h=e;a:{if(e=this.g,4==e){if(e=a.match(/OS ([0-9]+)_([0-9]+)/)){e=1*e[1]+.1*e[2];break a}}else if(3==e&&(e=a.match(/Android ([0-9]+)\.([0-9]+)/))){e=1*e[1]+.1*e[2];break a}e=0}this.e=e}function z(){if(!Je){var a=oe.navigator;Je=new y(a?a.userAgent:"",a?a.platform:"")}return Je}function A(){return 4==z().g}function B(a){a=a.match(Ke),this.h=a[1],this.e=a[4],this.k=a[5],this.g=a[6]}function C(a,b){var c,d,e;if(d=oe.cjsRewriteOnLoader){if(2>d&&11<=z().e)return a;e=oe.cjsNativeProxyPort,d=new B(a),c=d.h||oe.location.protocol,("http:"==c||"https:"==c&&b==rf)&&(a="http://localhost:"+e+d.e,d.k&&(a+="?"+d.k),d.g&&(a+="#"+d.g))}else k()&&b!=qf&&(e=a,d=0<=e.indexOf("?")?"&":"?",te.flag&&(c=e.match(ve))&&(c=c[0],c!=we&&(e=we+e.substring(c.length),e+=d+"cjs0="+encodeURIComponent(a),d="&")),a=e+d+"cjs=0");return a}function D(){this.e={}}function E(a,b,c,d,e){var f;Le||(Le=new D),f=Le;var g=f.e[a];return g?g.complete||(g.addEventListener("load",c,!1),g.addEventListener("error",c,!1)):(g=document.createElement("img"),g.addEventListener("load",c,!1),g.addEventListener("error",c,!1),1684108385!=(b.charCodeAt(0)<<24)+(b.charCodeAt(1)<<16)+(b.charCodeAt(2)<<8)+b.charCodeAt(3)?(g.crossOrigin="anonymous",e&&(b=C(b,rf))):k()&&!g.m&&(g.m=++Qe,te.dispatch("createjs,2,"+g.m+","+b)),g.e=d||0,g.src=b,f.e[a]=g),g}function F(a,b){a.removeEventListener("load",b,!1),a.removeEventListener("error",b,!1)}function G(a,b){this.e=l([a,b])}function H(a,b,c,d){this.x=a,this.y=b,this.width=c,this.height=d}function I(a,b,c,d){this.color=a,this.g=b,this.h=c,this.e=d}function J(a,b,c){this.ba=a,this.$=b,this.Z=c}function K(a){return"source-over source-atop source-in source-out destination-over destination-atop destination-in destination-out lighter copy xor darker multiply".split(" ")[a]}function L(a,b,c,d,e,f){this.n=a,this.k=new H(b.e[0],b.e[1],va(b),wa(b)),a=new ua,a.e[0]=(0|c.e[0])+1,a.e[1]=(0|c.e[1])+1,a.e[2]=0|c.e[2],a.e[3]=0|c.e[3],this.e=a,this.H=d,this.h=e,this.g=d>1?f:null}function M(a){return a.g&&!a.g.ua()?0:a.H}function N(a,b){0>a.ne&&(a.ne=Ae[b]||0);var c=a.ba;if(1==a.ne){var d=c.style.display;"none"!=d&&(c.style.display="none",c.offsetHeight,c.style.display=d)}else a.ne&&(c.width=c.width)}function O(a,b){J.call(this,a,a.width,a.height),this.J=a.getContext("2d"),a.setAttribute("dena-context","2d"),b&&(this.J.beginPath(),this.J.rect(b.e[0],b.e[1],va(b),wa(b)),this.J.clip())}function P(a){a.J.restore(),a.Mc=-1,a.Lc=-1}function Q(a){a.J.setTransform(1,0,0,1,0,0),a.J.clearRect(0,0,a.$+1,a.Z+1)}function R(a,b,c){var d=c.g;Gb(d,b),d.B(b),c=c.h,a.J.setTransform(1,0,0,1,0,0),1!=a.Mc&&(a.Mc=1,a.J.globalAlpha=1),a.Lc!=c&&(a.Lc=c,a.J.globalCompositeOperation=K(c)),a.J.drawImage(b.ba,0,0,a.$,a.Z)}function S(a,b,c){J.call(this,a,a.width,a.height),this.sa=new T(b),this.Ce=2/this.$,this.De=2/this.Z,this.mb=c,a.setAttribute("dena-context",Ne),c&&(this.sa.e.enable(3089),W(this.sa,c,this.Z))}function T(a){a.pixelStorei(37441,1),this.e=a,this.g=++Oe}function U(a,b,c){return a=a.e,b=a.createShader(b),a.shaderSource(b,c),a.compileShader(b),b}function V(a,b){a.m!==b&&(a.e.bindTexture(3553,b),a.m=b)}function W(a,b,c){var d=b.e[0],e=b.e[3];a.e.scissor(d,c-e,b.e[2]-d,e-b.e[1])}function X(a,b,c,d){this.j=!0,this.g=a.e.getUniformLocation(b,c),this.e=d}function Y(a,b,c,d,e){this.j=!0,this.hg=a.e.getUniformLocation(b,c),this.C=d,this.D=e}function Z(a,b,c,d,e){d=this.e=new Float32Array([0,0,d,0,0,e,d,e]),e=a.e;var f=e.createBuffer();e.bindBuffer(34962,f),e.bufferData(34962,d,35044),this.g=f,a=a.e,b=a.getAttribLocation(b,c),a.enableVertexAttribArray(b),a.vertexAttribPointer(b,2,5126,!1,0,0)}function $(a,b,c){this.g=a.e.getUniformLocation(b,c),this.e=new Float32Array([1,0,0,0,1,0,0,0,1])}function _(a){this.j=!0,this.e=0,a=a.e,a.enable(3042),a.blendEquation(32774)}function aa(a,b,c,d){var e=a.e,f=e.createTexture();e.bindTexture(3553,f),e.texParameteri(3553,10242,33071),e.texParameteri(3553,10243,33071),e.texParameteri(3553,10241,9729),e.texParameteri(3553,10240,9729),e.texImage2D(3553,0,6408,b,c,0,6408,d,null),b=this.m=a.m=f,a=a.e,c=a.createFramebuffer(),a.bindFramebuffer(36160,c),a.framebufferTexture2D(36160,36064,3553,b,0),this.e=c}function ba(a){this.g=U(a,35633,"attribute vec2 p;attribute vec2 t;uniform vec2 s;uniform mat3 x;varying vec2 u;void main(){vec3 v=x*vec3(p[0],p[1],1);gl_Position=vec4(v[0]*s[0]-1.0,v[1]*s[1]+1.0,0,1);u=t;}"),this.e=U(a,35632,"precision mediump float;varying vec2 u;uniform vec4 a;uniform sampler2D i;void main(){gl_FragColor=a*texture2D(i,u);}")}function ca(a,b,c){this.Fb=a,this.e=new ba(a);var d=this.e.e,e=a.e,f=e.createProgram();e.attachShader(f,this.e.g),e.attachShader(f,d),e.linkProgram(f),e.useProgram(f),this.Gb=f,this.Ye=new Y(a,this.Gb,"s",b,-c),this.Xd=new $(a,this.Gb,"x"),this.sc=new Z(a,this.Gb,"p",0,0),this.m=new Z(a,this.Gb,"t",1,1),this.Wd=new X(a,this.Gb,"a",1),this.xd=new _(a)}function da(a,b){var c;c=a.Fb;var d=b.m,e=b.h;if(d&&e==c.g)c=!1;else{var d=c.e,e=d.createTexture(),f=b.e?32819:5121;d.bindTexture(3553,e),d.texParameteri(3553,10242,33071),d.texParameteri(3553,10243,33071),d.texParameteri(3553,10241,9729),d.texParameteri(3553,10240,9729),d.texImage2D(3553,0,6408,6408,f,b),c.m=e,b.m=e,b.h=c.g,c=!0}c||(c=a.Fb,V(c,b.m),b.j&&(b.j=!1,c.e.texImage2D(3553,0,6408,6408,b.e?32819:5121,b)))}function ea(a){var b=a.Fb,c=a.Xd;b.e.uniformMatrix3fv(c.g,!1,c.e);var c=a.sc,d=c.e,e=b.e;e.bindBuffer(34962,c.g),e.bufferData(34962,d,35044),c=a.m,d=c.e,e=b.e,e.bindBuffer(34962,c.g),e.bufferData(34962,d,35044),c=a.Wd,c.j&&(c.j=!1,b.e.uniform4f(c.g,c.e,c.e,c.e,c.e)),a=a.xd,a.j&&(a.j=!1,a=a.e,c=[1,771,772,1,772,0,773,0,773,1,1,770,0,770,0,771,1,1,1,0,773,771,774,1,0,768],a<<=1,b.e.blendFunc(c[a],c[a+1])),b.e.drawArrays(5,0,4)}function fa(a){return a.tc||(a.tc=new ca(a.sa,a.Ce,a.De)),a.tc}function ga(a,b){return a.da?b.e.bindFramebuffer(36160,a.da.e):a.da=new aa(b,a.$,a.Z,32819),b.e.clear(16384),a.da}function ha(a,b,c,d,e,f,g){d=d.g,Gb(d,a),d.B(a),e?W(b,e,g):b.e.disable(3089),b.e.bindFramebuffer(36160,null),a=a.tc,a.sc.set(0,0,f,g),a.m.set(0,0,1,1),a.Xd.set(1,0,0,-1,0,g),f=a.Wd,1!=f.e&&(f.j=!0,f.e=1),f=a.xd,0!=f.e&&(f.j=!0,f.e=0),V(a.Fb,c.m),ea(a)}function ia(a,b,c,d){a.na&&xa(a.na,c)||(a.na||a.mb||b.e.enable(3089),a.na=c,W(b,c,d))}function ja(a,b,c){a.na&&(a.mb?W(b,a.mb,c):b.e.disable(3089),a.na=null)}function ka(a,b,c){S.call(this,a,b,c)}function la(a,b){J.call(this,a,a.width,a.height),this.g=Pe++,this.e=b,a.setAttribute("dena-context","shell"),this.G=new Int32Array(32768),this.o=0}function ma(a){a.m||(a.m=++Qe,a.j=!0),a.j&&(a.j=!1,a.src||(a.src=a.toDataURL()),te.dispatch("createjs,2,"+a.m+","+a.src))}function na(a,b){if(!a.Tc||!xa(a.Tc,b)){a.Tc=b;var c=a.G,d=a.o;c[d]=16,c[d+1]=b.e[0],c[d+2]=b.e[1],c[d+3]=b.e[2],c[d+4]=b.e[3],a.o+=5}}function oa(a){if(a.Tc){var b=a.o;a.G[b]=17,a.G[b+1]=0,a.o+=2,a.Tc=null}}function pa(a){var b=a.o;a.G[b]=18,a.G[b+1]=0,a.o+=2}function qa(a,b){var c=b.g;Gb(c,a),c.B(a);var c=b.h,d=a.o;a.G[d]=19,a.G[d+1]=c,a.o+=2}function ra(a,b){var c=b.X.qb,d=c?M(c):0;if(15<oe.cjsAndroidSdk){if(5==d){if(a.Oa){if(a.Oa===c)return Gb(b,a),void b.B(a);qa(a,a.Oa)}return pa(a),Gb(b,a),b.B(a),void(a.Oa=c)}if(a.Oa&&(qa(a,a.Oa),a.Oa=null),d){if(1!=d)return pa(a),na(a,c.e),Gb(b,a),b.B(a),void qa(a,c);na(a,c.e)}else oa(a)}else if(d&&3!=d){if(1!=d)return;na(a,c.e)}else oa(a);Gb(b,a),b.B(a)}function sa(){}function ta(a,b,c,d,e,f,g,h,i,j){this.type=a,this.stageX=d,this.stageY=e,this.nativeEvent=f,this.pointerID=g,this.primary=h,this.rawX=i,this.rawY=j}function ua(){this.e=l([1e4,1e4,-1e4,-1e4])}function va(a){return a.e[2]-a.e[0]}function wa(a){return a.e[3]-a.e[1]}function xa(a,b){return a.e[0]==b.e[0]&&a.e[2]==b.e[2]&&a.e[1]==b.e[1]&&a.e[3]==b.e[3]}function ya(a,b,c){a.e[0]=h(b,a.e[0]),a.e[1]=h(c,a.e[1]),a.e[2]=i(b,a.e[2]),a.e[3]=i(c,a.e[3])}function za(){this.e=l([1,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0])}function Aa(a){var b=a.e;a=b[0];var c=b[1],d=b[2],e=b[3],f=a*e-c*d;if(!f)return null;var f=1/f,g=b[4],b=b[5],h=new za;return h.e[0]=e*f,h.e[1]=-c*f,h.e[2]=-d*f,h.e[3]=a*f,h.e[4]=(d*b-e*g)*f,h.e[5]=-(a*b-c*g)*f,h}function Ba(a,b){var c=b.e[0],d=b.e[1],e=a.e;return b.e[0]=e[0]*c+e[2]*d+e[4],b.e[1]=e[1]*c+e[3]*d+e[5],b}function Ca(){this.v=new ua,this.W=[],this.R=[],this.sb=l([0,0,0,0,0,0,0,0])}function Da(a){this.g=j(),this.e=this.g.getContext("2d"),2&a&&(this.g.e=1)}function Ea(a){a.g&&(a.Dd&&(a.Dd.lb(a.g),a.Dd=null),a.g.width=0),a.e=null,a.g=null}function Fa(a,b,c,d,e,f){this.e=a,this.g=b,this.h=c,this.n=d,this.k=e,this.H=f}function Ga(a,b){for(var c=a.e,d=a.g,e=b.e.createLinearGradient(a.h,a.n,a.k,a.H),f=0;f<c.length;++f)e.addColorStop(d[f],c[f]);return e}function Ha(a){return a.e.join()+","+a.g.join()+","+a.h+","+a.n+","+a.k+","+a.H}function Ia(a,b,c,d,e,f,g,h){this.e=a,this.g=b,this.h=c,this.n=d,this.gb=e,this.k=f,this.H=g,this.Bc=h}function Ja(a,b){for(var c=a.e,d=a.g,e=b.e.createRadialGradient(a.h,a.n,a.gb,a.k,a.H,a.Bc),f=0;f<c.length;++f)e.addColorStop(d[f],c[f]);return e}function Ka(a){return a.e.join()+","+a.g.join()+","+a.h+","+a.n+","+a.gb+","+a.k+","+a.H+","+a.Bc}function La(){return""}function Ma(a,b){this.C=a,this.D=b}function Na(a,b){this.C=a,this.D=b}function Oa(a,b,c,d,e){this.k=a,this.H=b,this.n=c,this.gb=d,this.h=e}function Pa(a,b,c,d,e,f){this.C=a,this.D=b,this.k=c,this.H=d,this.n=e,this.h=f}function Qa(a,b,c,d){this.h=a,this.k=b,this.C=c,this.D=d}function Ra(a,b,c,d,e,f){this.h=a,this.k=b,this.n=c,this.H=d,this.C=e,this.D=f}function Sa(a,b,c,d){this.C=a,this.D=b,this.k=c,this.h=d}function Ta(){}function Ua(){return Te||(Te=new Ta),Te}function Va(){}function Wa(){return Ue||(Ue=new Va),Ue}function Xa(a){this.h=a}function Ya(a,b,c,d,e,f){this.h=new Fa(a,b,c,d,e,f)}function Za(a,b,c,d,e,f,g,h){this.h=new Ia(a,b,c,d,e,f,g,h)}function $a(a,b,c,d){this.H=a,this.h=b,this.k=c,this.n=d}function _a(a){this.h=a}function ab(a,b,c,d,e,f){this.h=new Fa(a,b,c,d,e,f)}function bb(a,b,c,d,e,f,g,h){this.h=new Ia(a,b,c,d,e,f,g,h)}function cb(a,b){this.h=a,this.k=b}function db(a,b){var c=(a?2:0)|(b?1:0);return Ve[c]||(Ve[c]=new cb(a,b)),Ve[c]}function eb(a){this.k=++We;for(var b=this.h=new ua,c=[],d=0,e=0,f=0,g=a.length;g>f;){var h=Me[a.charCodeAt(f++)],i=h>>3,h=(h>>2&1)+2;if(4==i)c.push(Wa());else if(0==i&&(e=d=0),d+=gb(a,f,h),f+=h,e+=gb(a,f,h),f+=h,ya(b,d,e),0==i)c.push(new Ma(d,e));else if(1==i)c.push(new Na(d,e));else{var j=d,k=e,d=d+gb(a,f,h),f=f+h,e=e+gb(a,f,h),f=f+h;if(ya(b,d,e),2==i)c.push(new Qa(j,k,d,e));else{var i=d,l=e,d=d+gb(a,f,h),f=f+h,e=e+gb(a,f,h),f=f+h;ya(b,d,e),c.push(new Ra(j,k,i,l,d,e))}}}this.n=c}function fb(a,b){var c=Xe[a];return c||(c=new eb(a),Xe[a]=c),ya(b,c.h.e[0],c.h.e[1]),ya(b,c.h.e[2],c.h.e[3]),c}function gb(a,b,c){var d=Me[a.charCodeAt(b)],e=d>>5?-.1:.1,d=(31&d)<<6|Me[a.charCodeAt(b+1)];return 3==c&&(d=d<<6|Me[a.charCodeAt(b+2)]),d*e}function hb(a,b){if(!b)return 0;if("number"==typeof b)return b;for(var c=a.length,d=0;c>d;++d)if(a[d]==b)return d;return 0}function ib(a){a.W.push(Ua()),a.Xa&&a.W.push(a.Xa),a.tb&&(a.W.push(a.tb),a.$e&&a.W.push(a.$e)),0!=a.R.length&&a.W.push.apply(a.W,a.R),a.W.push(db(!!a.Xa,!!a.tb)),a.pd=!0}function jb(a){a.R.length&&(a.j&&(ib(a),a.j=!1),a.R=[])}function kb(a,b){if(a.j&&(2&b&&!a.Xa&&(a.Xa=new Xa("#000")),ib(a),a.j=!1,a.R=[]),a.pd)a:{a.pd=!1;var c=a.v,d=a.Se;c.e[0]-=d,c.e[1]-=d,c.e[2]+=d,c.e[3]+=d,c.e[2]=c.e[0]+(c.e[2]-c.e[0]|0),c.e[3]=c.e[1]+(c.e[3]-c.e[1]|0);var e=va(c),f=wa(c);if(a.sb[0]=c.e[0],a.sb[1]=c.e[1],a.sb[2]=e,a.sb[3]=f,a.sb[7]=0,!(1>e||1>f)){for(var g=a.W,h=g.length,d="",i=1;h>i;++i){var j=g[i].g();if(!j){d="";break}d+=j}if(d&&(j=Ye[d])){++j.Fg,a.Ga=j,a.Pe=d;break a}j=d,lb(a),a.Ga=new Da(b),a.Pe=j;var i=j=a.Ga,l=c.e[0],c=c.e[1];for(i.Pc=1,e>128?(i.Pc=128/e,l*=i.Pc,e=128):e=e+1&-2,i.Qc=1,f>128&&(i.Qc=128/f,c*=i.Qc,f=128),i.Mf!=e&&(i.Mf=e,i.g.width=e),i.Kf!=f&&(i.Kf=f,i.g.height=f),i.e.setTransform(i.Pc,0,0,i.Qc,-l,-c),i.e.clearRect(0,0,e,f),i=0;h>i;++i)g[i].e(j);g=j,k()&&(g.g.src=g.g.toDataURL(),ma(g.g)),d&&(Ye[d]=j)}}}function lb(a){if(a.Ga){var b=a.Ga,c=--b.Fg;0>=c&&Ea(b),0>=c&&(b=a.Pe)&&(Ye[b]=null),a.Ga=null,a.pd=!0}}function mb(){this.e=l([0,0,0])}function nb(){this.Aa=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],this.e=l([0,0,1,1,0,0,0,0,0,1,0,0,0,1,1])}function ob(a,b,c,d,e){this.k=a,this.n=b,this.e=c,this.g=d,this.h=e}function pb(a,b,c,d){this.C=a,this.D=b,this.le=c,this.M=0,this.Ba=d,this.Ca=this.Sg=0}function qb(a,b,c){this.h=a[b],this.k=a[b+1],this.H=a[b+2],this.gb=a[b+3],this.e=a[b+4],this.g=a[b+5],this.Dg=[],this.Bc=this.Gc=0,this.M=c,this.Ba=-1,this.n=null}function rb(a,b){for(var c,d=0;14>=d;++d)c=a.Aa[d],b.e[d]=c?c.e[1]:a.e[d];c=a.Aa[15],b.oc=c?c.h[1]:a.oc,c=a.Aa[16],b.nc=c?c.g[1]:a.nc,a.za&&(c=a.za.length-4,b.e[0]=a.za[c],b.e[1]=a.za[c+1],a.za[c+2]&&(b.e[8]=a.za[c+3])),b.qa=a.qa}function sb(a,b){if(a.e[12]!=b){var c=new mb;c.e[0]=a.e[12],c.e[1]=b,a.Aa[12]=c,a.qa|=4096,a.Ja|=4096}}function tb(a,b){var c,d={x:0,y:1,scaleX:2,scaleY:3,skewX:4,skewY:5,regX:6,regY:7,rotation:8,alpha:9,startPosition:10,playMode:11,_off:12,visible:13,loop:14,text:15,graphics:16},e=null,f=0;for(c in b){var g=b[c],h=new mb,i=d[c],f=f|1<<i;if(10>=i){var j=h,k=a.e[i];j.e[0]=k,j.e[1]=g,j.e[2]=g-k,a.md=!1}else 11==i?(j=h,j.e[0]=a.e[i],j.e[1]="single"==g?1:"synched"==g?2:0):14>=i?(j=h,g=0|g,j.e[0]=a.e[i],j.e[1]=g):16==i?(e=g,h.g=[a.nc,e]):h.h=[a.oc,g];a.Aa[i]=h}if(a.qa|=f,a.Ja|=f,d=b.guide){g=d.path,c=d.end,h=d.orient,d=d.start||0,j=null==c?1:c,c=0,!h||256&f?(k=0,a.qa|=3,a.Ja|=3):(k={auto:2,cw:3,ccw:4}[h]||1,c=57.29577951308232*Math.atan2(g[3]-g[1],g[2]-g[0]),a.qa|=259,a.Ja|=259),a.md=!1;for(var f=g.length-2>>2,l=0,h=[],m=0;f>m;++m){var n=m<<2,i=new qb(g,n,l);if(k){var n=i.H-i.h,o=i.gb-i.k,p=i.e-i.H,q=i.g-i.gb,r=0;if(1!=k)switch(r=57.29577951308232*Math.atan2(p,q)-57.29577951308232*Math.atan2(n,o),k){case 2:r>180?r-=360:-180>r&&(r+=360);break;case 3:0>r&&(r+=360);break;case 4:r>0&&(r-=360)}i.n=new ob(n,o,p,q,r)}n=l,l=i,o=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],p=l.e-l.h,q=l.g-l.k,o[0]=new pb(l.h,l.k,0,0),o[16]=new pb(l.e,l.g,1,Math.sqrt(p*p+q*q)),p=[0,16];do{var q=p.pop(),r=p.pop(),s=o[q],t=o[r],u=.5*(t.le+s.le),v=1-u,w=v*v,x=2*v*u,y=u*u,v=w*l.h+x*l.H+y*l.e,w=w*l.k+x*l.gb+y*l.g,x=v-t.C,t=w-t.D,u=new pb(v,w,u,Math.sqrt(x*x+t*t)),v=s.C-v,w=s.D-w,v=Math.sqrt(v*v+w*w),w=Math.abs(v-u.Ba);(4<u.Ba+v-s.Ba||w>4)&&q-r>=4&&(s.Ba=v,s=r+(q-r>>1),o[s]=u,p.push(r,s,s,q))}while(0<p.length);for(w=v=p=0,q=1;17>q;++q)(r=o[q])&&(r.Sg=w,r.M=v,r.Ba=r.Ba,r.Ca=(r.le-w)/r.Ba,v+=r.Ba,w=r.le,l.Dg[p]=r,++p);l.Ba=v,l.Gc=p,l=n+l.Ba,h[m]=i}for(d*=l,j=j*l-d,g=[g[0],g[1],k,c],k=0,m=a.ye-1,l=1;m>l;++l)for(i=l*a.Ca,a.lc&&(i=a.lc.V(i)),o=d+i*j,n=l<<2,p=k;f>p;++p)if(i=h[p],i.V(o,g,n,c)){k=p;break}i=h[f-1],i.Ke(g,m<<2,c),a.za=g}return e}function ub(a,b,c){return 4096==a.Ja?(a.e[12]=a.Aa[12].e[(b-a.M)*a.Ca|0],a.qa):a.V(b,c)}function vb(a){for(var b=[],c=0;a>c;++c)b[c]=new nb;this.pc=b,this.Gc=a}function wb(a,b){for(var c=0;c<a.Gc;++c)rb(a.pc[c],b.pc[c])}function xb(){Cb(this)}function yb(a){this.h=[a],this.g=null,this.k=!1,this.n=this.e=-1}function zb(a){return a.k?(a.g||(a.g=a.h.slice()),a.g):a.h}function Ab(){za.call(this)}function Bb(a,b){a.Nc||(a.Nc=new ua);var c=a.Nc,d=b.e[0],e=b.e[1],f=b.e[2],g=b.e[3],j=a.e,k=j[0],l=j[3];if(0==(2&a.j)){var m=k*d,n=k*f;c.e[0]=h(m,n),c.e[2]=i(m,n),m=l*e,e=l*g,c.e[1]=h(m,e),c.e[3]=i(m,e)}else{var o=j[1],p=j[2],m=k*d+p*e,n=k*f+p*e,q=k*d+p*g,k=k*f+p*g;c.e[0]=h(h(h(m,n),q),k),c.e[2]=i(i(i(m,n),q),k),m=o*d+l*e,e=o*f+l*e,d=o*d+l*g,f=o*f+l*g,c.e[1]=h(h(h(m,e),d),f),c.e[3]=i(i(i(m,e),d),f)}f=j[4],j=j[5],c.e[0]+=f,c.e[2]+=f,c.e[1]+=j,c.e[3]+=j}function Cb(a){a.af=Ze++,a.X=new Ab,a.i=l([0,0,1,1,0,0,0,0,0,1,0,0,0,1,1]),a.u=new ua;var b=a._;b&&null!=b.visible&&(a.i[13]=0|b.visible)}function Db(a){return a.ce||(a.ce=Aa(a.X)),a.ce}function Eb(a,b,c,d,e){(a.u.e[0]!=b||a.u.e[1]!=c||a.u.e[2]!=d||a.u.e[3]!=e)&&(a.u.e[0]=b,a.u.e[1]=c,a.u.e[2]=d,a.u.e[3]=e,a.l|=16)}function Fb(a,b,c){var d=a.X;if(9&c){var e=b.X;d.set(a.i);var f=d.e,g=f[0],h=f[1],i=f[2],j=f[3],k=f[4],l=f[5],m=e.e,n=m[0],o=m[1],p=m[2],q=m[3],r=m[4],m=m[5];d.j?(f[0]=n*g+p*h,f[1]=o*g+q*h,f[2]=n*i+p*j,f[3]=o*i+q*j):(f[0]=n,f[1]=o,f[2]=p,f[3]=q,d.j=e.j),f[4]=n*k+p*l+r,f[5]=o*k+q*l+m,a.ce=null}2&c&&(e=b.X,f=a.Va,g=a.Ma,d.e[6]=e.e[6]*a.i[9],d.xf=f||e.xf,d.e[7]=g||e.e[7]),8&c&&(a.Oc&&!a.Oc.u.g()&&(c=a.Oc,Fb(c,b,9),Bb(c.X,c.u),a.pe=new L(c.X,c.u,c.X.Nc,c.Ma,a.Ma,c)),d.qb=a.pe||b.X.qb)}function Gb(a,b){a.l=0,b.Sc(a.X.e)}function Hb(a){if(a.S){for(var b=zb(a.S),c=b.length-1;c>=0;--c)ce(b[c],0);a.S=null}a.P=null}function Ib(a,b){if((a.rb||a.P)&&(a.rb=!1,a.P))for(var c=0;c<a.P.length;++c)Ib(a.P[c],b)}function Jb(a,b){if(!a.rb&&(a.rb=!0,a.P))for(var c=0;c<a.P.length;++c)Jb(a.P[c],b)}function Kb(a,b,c){if(c&&b>=a.Kb&&(b-=a.Kb),a.S){var d=a.S,e=Oc(),f=b;if(d.k||!a.rb&&d.n<e)d.e=f;else{for(var e=zb(d),g=e.length-1;g>=0;--g)e[g].Sd(f,1);d.e=-1}}if(a.P)for(d=0;d<a.P.length;++d)Kb(a.P[d],b,c);a.qe=!0}function Lb(a){if(a.S&&(a.S.e=-1),a.P)for(var b=0;b<a.P.length;++b)Lb(a.P[b])}function Mb(a,b){a._off!=b&&(a._off=b,a.i[12]=0|b,a.l=31,b&&Kb(a,0,0))}function Nb(a,b,c){if(a.P){for(var d=0;d<a.P.length;++d)if(a.P[d]===b)return void(c||a.P.splice(d,1))}else{if(!c)return;a.P=[]}a.P.push(b)}function Ob(){Cb(this),this.q=new Pb}function Pb(){this.g=[],this.e=null,this.h=!1}function Qb(a){return a.h?(a.e||(a.e=a.g.slice()),a.e):a.g}function Rb(a){return a.h=!0,a.g}function Sb(a){a.h=!1,a.e&&(a.g=a.e,a.e=null)}function Tb(a,b){for(var c=Qb(a),d=c.length-1;d>=0;--d)if(c[d]===b){c.splice(d,1);break}}function Ub(a,b){var c=b.parent;c?(b.parent=null,Tb(c.q,b)):b.be(1),b.l=31,b.parent=a}function Vb(a){Cb(this),this.la=a?a:new Ca}function Wb(a){Ob.call(this),this.aa=Yb(a),this.Cc=[],this.pg(!0)}function Xb(a){this.id=a,this.k=new G(-1,-1),this.g=new G(0,0),this.h=!1,this.e=null,this.n=new G(0,0)}function Yb(a){var b,c,d,e;if(!a)return null;f(a)&&(a=document.getElementById(a)),a.setAttribute("dena-version","0.9.1436.17"),b=a.getAttribute("cjs-context")||o(a.id,a.className);var g=null;if(!a.hasAttribute("cjs-noclip")&&(5==z().h&&(oe.CreateJsShell&&"shell"==b||(b="2d")),c=a.getAttribute("cjs-clip"))&&(c=c.split(" "),4==c.length&&(g=new ua,g.e[0]=0|c[0],g.e[1]=0|c[1],g.e[2]=0|c[2],g.e[3]=0|c[3])),Ce="hide"!=a.getAttribute("cjs-masked-objects"),k()){if("shell"==b)return new la(a,g);b=Ge}if("2d"!=b){if(!Oe)for(Oe=1,e=["webgl","experimental-webgl"],d=0;d<e.length;++d)if(c=e[d],b=a.getContext(c))return Ne=c,Be[c]?new ka(a,b,g):new S(a,b,g);if(c=Ne)return b=a.getContext(c),Be[c]?new ka(a,b,g):new S(a,b,g)}return new O(a,g)}function Zb(a,b,c){if(a.ld){var d=a.ld;d.nativeEvent=b,d.pointerID=c}else a.ld=new ta("",0,0,0,0,b,c,!1,0,0);return a.ld}function $b(a,b,c){for(var d=0;d<a.Cc.length;++d)if(a.Cc[d].id==b){var e=a.Cc[d];return c&&b>=0&&a.Cc.splice(d,1),e}return e=new Xb(b),a.Cc.push(e),e}function _b(a,b,c,d,e){if(!(4>=g(b.k.e[0]-c)&&4>=g(b.k.e[1]-d))){b.k.e[0]=c,b.k.e[1]=d;var f=a.aa,h=f.ba,i=f.$,f=f.Z,j=h.getBoundingClientRect(),k=window.pageXOffset-document.body.clientLeft,l=window.pageYOffset-document.body.clientTop,h=window.getComputedStyle(h),m=j.left+k+(0|h.paddingLeft)+(0|h.borderLeftWidth),n=j.top+l+(0|h.paddingTop)+(0|h.borderTopWidth),l=j.bottom+l-(0|h.paddingBottom)-(0|h.borderBottomWidth);c=(c-m)/(j.right+k-(0|h.paddingRight)-(0|h.borderRightWidth)-m)*i,d=(d-n)/(l-n)*f,(f=c>=0&&i>c&&d>=0&&f>d)&&(b.g.e[0]=c,b.g.e[1]=d),b.h=f,b.n.e[0]=c,b.n.e[1]=d,(i=b.id==a.Dc)&&(a.mouseX=c,a.mouseY=d,a.mouseInBounds=f),a=b.g.e[1],e.stageX=b.g.e[0],e.stageY=a,e.primary=i,a=b.n.e[1],e.rawX=b.n.e[0],e.rawY=a}}function ac(a,b,c,d,e){e=Zb(a,e,b),b=$b(a,b),_b(a,b,c,d,e),e.type="stagemousedown",e.Wa=!1,b.h&&a.ja(e.type)&&w(a,e),(a=a.Fa(b.g,3,0))&&(e.type="mousedown",e.Wa=!0,w(a,e)),b.e=a}function bc(a,b,c,d,e){e=Zb(a,e,b);var f=$b(a,b),g=f.h;_b(a,f,c,d,e),(g||f.h)&&(-1==b&&f.h==!g&&(e.type=g?"mouseleave":"mouseenter",e.Wa=!1,a.ja(e.type)&&w(a,e)),e.type="stagemousemove",e.Wa=!1,a.ja(e.type)&&w(a,e),f.e&&(e.type="pressmove",e.Wa=!0,w(f.e,e)))}function cc(a,b,c){c=Zb(a,c,b),b=$b(a,b,!0),c.type="stagemouseup",c.Wa=!1,a.ja(c.type)&&w(a,c),b.e&&(a=a.Fa(b.g,9,0),a==b.e&&(c.type="click",c.Wa=!0,w(a,c)),c.type="pressup",c.Wa=!0,w(b.e,c),c.type="mouseup",w(b.e,c),b.e=null)}function dc(a,b,c){var d=1<<c;if(!(a.Hb&d))for(a.Hb|=d,c=$e[c],d=0;d<c.length;++d)b.addEventListener(c[d],a,!1)}function ec(a,b,c){a.Hb&=~(1<<c),c=$e[c];for(var d=0;d<c.length;++d)b.removeEventListener(c[d],a,!1)}function fc(a,b,c){if(a.aa){var d=a.aa.ba;b?(a.Eg=c,1==z().h?dc(a,d,2):dc(a,d,1)):(ec(a,d,1),ec(a,d,2))}}function gc(a,b,c){Cb(this),this.pa=a,this.Za=b,this.Hc=c,this.Ab=l([0,0,0,0,0,0,0,0])}function hc(){this.ya=j(),this.L=this.ya.getContext("2d"),this.ya.e=1}function ic(a,b){a.Pd!=b&&(a.Pd=b,a.L.font=b)}function jc(a){return a.ab||(a.ab=new hc),a.ab}function kc(a){var b;a.ca=0<=--a._redraw;var c=jc(a);if(!a.$a){ic(c,a.Za);var d=a.pa.split("\n"),e=a.kd;if(0>=e){var e=a.Rd,f=d.length;for(b=0;f>b;++b)e=i(c.L.measureText(d[b]).width,e)}a.Pa=e,a.$a=d}d=a.$a,e=d.length,a.Jb=a.Qd||a.ug(),f=a.Jb,a.Bb=(e+.5)*f,b=0,a.Nb&&(b=a.Nb);var h=a.Va;h&&(b=i(b,i(g(h.g),g(h.h))+h.e));var j=b<<1;a.Pa+=j,a.Bb+=j;var j=a.Pa,k=a.Bb;if(c.$f!=j&&(c.$f=j,c.ya.width=j,c.Pd=""),c.Zf!=k&&(c.Zf=k,c.ya.height=k,c.Pd=""),ic(c,a.Za),c.L.textAlign=a.jc,c.L.textBaseline=a.me,h?(c.L.shadowColor=h.color,c.L.shadowOffsetX=h.g,c.L.shadowOffsetY=h.h,c.L.shadowBlur=h.e):(c.L.shadowColor="#000",c.L.shadowOffsetX=0,c.L.shadowOffsetY=0,c.L.shadowBlur=0),c.L.clearRect(0,0,a.Pa,a.Bb),c.ya.j=!0,c.ya.src="",h=b,"center"==a.jc?h=a.Pa>>1:"right"==a.jc&&(h=a.Pa),j=b,a.Ab[0]=-h,a.Ab[1]=-j,a.Ab[2]=a.Pa,a.Ab[3]=a.Bb,a.Ab[7]=0,k=a.kd||1e4,a.Nb)for(c.L.strokeStyle=a.Hc,c.L.lineWidth=a.Nb,b=0;e>b;++b)c.L.strokeText(d[b],h,j,k),j+=f;else for(c.L.fillStyle=a.Hc,b=0;e>b;++b)c.L.fillText(d[b],h,j,k),j+=f;Eb(a,-h,-j,a.Pa-h,a.Bb-j)}function lc(a){if(a){if(this.tg=a.framerate||0,a.images){this.Yc=[];for(var b=a.images,c=b.length,d=0;c>d;++d){var e;e=b[d],f(e)&&(e=E(e,e,this,1,1)),this.Yc.push(e),e.complete||(++this.Qe,this.complete=!1)}}if(a.frames)if(a.frames instanceof Array)for(this.xa=[],b=a.frames,c=b.length,d=0;c>d;++d){var g=b[d],h=g[0],i=g[1],j=g[2],k=g[3];e=this.Yc[g[4]?g[4]:0],this.xa.push(nc(e,h,i,j,k,g[5]||0,g[6]||0))}else this.fd=a.frames,this.Te=this.fd.count||0,this.Qe||pc(this);if(this.Nd=[],a=a.animations){this.G={};for(var l in a){if(d=c=new oc(l),e=l,b=a[l],"number"==typeof b)d.e=[b];else if(b instanceof Array)if(1==b.length)d.e=[b[0]];else{for(d.e=[],g=b[1],h=b[0];g>=h;++h)d.e.push(h);b[2]&&(d.g=e),d.h=b[3]||1}else d.h=b.speed||1,d.g=b.next||"",b=b.frames,d.e="number"==typeof b?[b]:b.slice(0);2>d.e.length&&d.g==e&&(d.g=""),d.h||(d.h=1),this.Nd.push(l),this.G[l]=c}}}}function mc(a,b,c,d,e,f){this.g=a,this.e=l([b.x,b.y,b.width,b.height,-c,-d,e,f,0,0,0,0,0,0,0,0])}function nc(a,b,c,d,e,f,g){var h;return h=xe,new mc(a,new H(b*h,c*h,d*h,e*h),f,g,d,e)}function oc(a){this.k=a,this.e=null,this.h=1,this.g=""}function pc(a){if(!a.xa&&a.fd){var b=a.fd,c=b.width||0,d=b.height||0,e=b.regX||0,f=b.regY||0,b=b.count||0;a.fd=null,a.xa=[];for(var g=a.Yc,i=g.length,j=0;i>j;++j){var k=g[j],l=k.width/c|0,m=l*(k.height/d|0);b>0&&(m=h(b,m),b-=m);for(var n=0;m>n;++n)a.xa.push(nc(k,n%l*c,(n/l|0)*d,c,d,e,f))}}}function qc(a){this.type=a}function rc(a,b){Cb(this),null!=a&&(this.ib=this.spriteSheet=a,this.Ie=a.tg,null!=b&&this.wb(b))}function sc(a,b){if(b!=a.ea){var c=a.ib.Od(a.ea);if(c){var d=c.e[4],e=c.e[5];Eb(a,d,e,d+c.e[6],e+c.e[7]),a.l|=4}}}function tc(a){var b,c=a.ja("animationend"),d=0|a.ea;for(b=a.ib,b=b.xa?b.xa.length:b.Te;d>=b;)c&&w(a,new qc("animationend")),d-=b;a.ea=d}function uc(a,b,c){if(a.qd=b,b=a.ea,f(c)){if(a.Fe!=c){var d=a.ib.Je(c);a.Yb=d,a.Fe=c,a.ea=d.e[0]}a.uc=0}else a.uc=0,a.Fe="",a.Yb=null,a.ea=c,tc(a);sc(a,b)}function vc(a){if(Cb(this),null!=a){var b;b=this.Ua=f(a)?E(a,a,this,1,1):a,a=b.width;var c=b.height;this.Fc=!!a,this.Ea||(this.Ea=new H(0,0,a,c)),c=ye,b=this.Ea,a=b.width*c,c*=b.height,this.Zb=l([b.x,b.y,b.width,b.height,0,0,a,c,0,0,0,0,0,0,0,0]),Eb(this,0,0,a,c)}}function wc(a){Cb(this),this.e=document.getElementById(a),this.g=z().k,a=this.e.style,a.visibility="hidden",a.position="absolute",a[this.g?"webkitTransformOrigin":"transformOrigin"]="0% 0%",Eb(this,0,0,this.e.clientWidth,this.e.clientHeight)}function xc(a){Cb(this),this.Kc=a,Eb(this,0,0,a.videoWidth,a.videoHeight)}function yc(a){this.type=a}function zc(){}function Ac(a){this.g=[a],this.e=null,this.h=!1}function Bc(a){return a.h?(a.e||(a.e=a.g.slice()),a.e):a.g}function Cc(){this.e=0,this.g=new Float64Array(64)}function Dc(){return bf||(bf=new zc),bf}function Ec(a){var b=Dc();b.ke||(b.ke=a,b.kc=a);var c=a-b.kc;if(b.xe)b.nd+=c;else{var c=a-b.ke-b.nd,d=b.Ub;if(d){var e;e=b.Ub,e.h=!0,e=e.g;for(var f=e.length,g=0;f>g;++g)e[g].yc(c);d.h=!1,d.e&&(d.g=d.e,d.e=null)}b.ja("tick")&&(c=Dc(),c.cf||(c.cf=new yc("tick")),w(b,c.cf))}b.kc=a,b.sd||(b.sd=new Cc),b=b.sd,b.g[63&b.e]=a,++b.e}function Fc(a){var b=Dc();b.Ta=cf.call(oe,Fc),a-b.kc>=b.zc-1&&Ec(a)}function Gc(a){var b=Dc();b.Ta=cf.call(oe,Gc);var c=Math.round(673200*a);b.ee||(b.ee=c),c-b.ee>=b.Oe&&(Ec(a),b.ee=c-c%b.Oe)}function Hc(){Dc(),Ec(Date.now())}function Ic(){cf.call(oe,Ec)}function Jc(a){a.Ta&&(a.ud?df&&df.call(oe,a.Ta):oe.clearInterval(a.Ta),a.Ta=0)}function Kc(a){var b=Dc(),c=b.Tg;b.Tg=a,c>0&&34>=a-c?(b.Ta=cf.call(oe,"synched"==ef.timingMode?Fc:Gc),b.ud=!0):0<=--b.Ig?cf.call(oe,Kc):(b.ud=!1,b.Ta=oe.setInterval(Hc,b.zc))}function Lc(){var a=Dc();Jc(a);var b=ef.timingMode;if(a.hf&&(b=19<=(oe.cjsAndroidSdk||0)?"timeout":b),"auto"==b){if(cf)return a.Ig=10,void cf.call(oe,Kc)}else if(116!=b.charCodeAt(0)&&cf)return b="synched"==b?Fc:Gc,a.Ta=cf.call(oe,b),void(a.ud=!0);a.ud=!1,b="timeoutV2"==b&&cf?Ic:Hc,a.Ta=oe.setInterval(b,a.zc)}function Mc(a){var b=Dc();b.Qb(),b.Ub=null,a&&Jc(b)}function Nc(a){var b=Dc();b.zc=a,b.Oe=Math.round(673200*a),b.Ne&&Lc()}function Oc(){var a=Dc();return a.kc-a.ke-a.nd}function Pc(a){var b=Dc(),c=b.kc;return a&&(c-=b.nd),c}function Qc(a,b){var c=Dc();if(c.Ne||(c.Ne=!0,Lc()),b.yc){var d=c.Ub;if(d){for(c=Bc(d),d=c.length-1;d>=0;--d)if(c[d]===b)return b;c.push(b)}else c.Ub=new Ac(b);return b}return c.Mb(a,b)}function Rc(a,b){if(b){var c=Dc();if(b.yc){if(c=c.Ub)for(var c=Bc(c),d=c.length-1;d>=0;--d)if(c[d]===b){c.splice(d,1);break}}else c.Lb(a,b)}}function Sc(a,b,c,d,e){this.ac=a,this.Ue=null==b?"out":b,this.jg=null==d?"down":d,this.ka=!!e,this.Jg(!0),Tc(this,this.Ue)}function Tc(a,b){a.ka?a.ac.wb&&a.ac.wb(b):a.ac.bc&&a.ac.bc(b)}function Uc(){}function Vc(a,b){var c=j();c.width=a,c.height=b,J.call(this,c,a,b),this.D=this.C=0,this.e=c.getContext("2d")}function Wc(){this.e={}}function Xc(){return gf||(gf=new Wc),gf}function Yc(){}function Zc(){}function $c(a){if(oe.removeEventListener(a.type,$c,!1),a=jf,!a.currentTime){if(a.resume&&a.resume(),!A()){a=Xc();for(var b in a.e){var c=a.e[b];c&&c.Xe()}}ad()}}function _c(){if(!jf.currentTime){var a;a=A()&&9!=z().e?"touchstart":"touchend",oe.addEventListener(a,$c,!1)}}function ad(){var a=jf;a.state||(a=a.createBufferSource(),a.buffer=lf,a.start?a.start(0):a.noteOn(0),setTimeout(_c,100))}function bd(){if(!hf&&(hf=!0,re)){var a=new re;jf=a,lf=a.createBuffer(1,1,22500),a.state?"running"!=a.state&&_c():ad()}return jf}function cd(){var a=kf;a&&(a.stop?a.stop(0):a.noteOff(0),a.disconnect(0),kf=null),jf=null,hf=!1}function dd(a){this.T=a}function ed(a){this.T=a}function fd(a,b,c,d){a.Vc&d||(b.addEventListener(c,a,!1),a.Vc|=d)}function gd(a,b,c,d){b.removeEventListener(c,a,!1),a.Vc&=~d}function hd(a){this.T=a}function id(){var a=document.createElement("iframe");a.id="cjs-iframe";var b=a.style;b.zIndex=-1,b.position="absolute",b.border="0px",b.top="0px",b.left="0px",b.width="1px",b.height="1px",oe.addEventListener("message",this,!1),b=A()&&14.5<=z().e?'var b=window,f=b.webkitAudioContext||b.AudioContext,g=null,h=null;function k(){}k.prototype.handleEvent=function(d){if("message"==d.type){var a=d.data,l=a.b;if(0==a.a){var c=function(a){for(var c=[],e=0;e<a.numberOfChannels;++e)c.push(a.getChannelData(e));d.source.postMessage({a:6,b:l,c:a.sampleRate,d:c},"*")};g.decodeAudioData(a.c,c,c)}}};b.onload=function(){g=new f;h=new k;b.addEventListener("message",h,!1);b.parent.postMessage({a:4},"*")};':'var e=window,f=e.webkitAudioContext||e.AudioContext,g=null,h=null;function k(){this.e={}}function l(a,b){this.h=a;this.g=b}l.prototype.e=null;l.prototype.f=function(a){this.e=a;for(var b=[],d=0;d<a.numberOfChannels;++d)b.push(a.getChannelData(d));this.g.postMessage({a:6,b:this.h,c:a.sampleRate,d:b},"*")};k.prototype.handleEvent=function(a){if("message"==a.type){var b=a.data,d=b.b;if(0==b.a){var c=this.e[d];c?(c.g=a.source,c.f(c.e)):(c=new l(d,a.source),this.e[d]=c,a=c.f.bind(c),g.decodeAudioData(b.c,a,a))}}};e.onload=function(){g=new f;h=new k;e.addEventListener("message",h,!1);e.parent.postMessage({a:4},"*")};',a.src='data:text/html,<html style="-webkit-user-select:none;"><head><script type="text/javascript">'+b+"</script></head><body></body></html>",document.body.appendChild(a),this.h=a,this.e=[],this.g={}}function jd(){return mf||(mf=new id),mf}function kd(a,b){var c=bd(),d=c.createGain?c.createGain():c.createGainNode();d.connect(c.destination),d.gain.value=a.wa,a.Ib=d,c=c.createBufferSource(),c.connect(d),c.buffer=b,a.hc&&(c.loop=!0),c.onended=a.Fh.bind(a),c.start?c.start(0):c.noteOn(0),a.gc=c}function ld(a){this.T=a,this.e=nf++}function md(){this.e={}}function nd(a,b,c){(b=of)&&(a=b.e[a])&&(a.g=c,a.Md&&(Bd(a.Md,!1,null),a.Md=null))}function od(){return of||(window.cjsDispatch=nd,of=new md),of}function pd(){}function qd(a,b){var c=a.e[b];if(!c)return!1;c.Y(),c.Ve();var c=c.T,d=c.Ha;return a.e[d]=null,c.id!=d&&(a.e[c.id]=null),!0}function rd(a){this.type=a}function sd(a,b,c,d){this.type=a,this.item=d}function td(a,b,c,d){sd.call(this,a,0,0,d)}function ud(a,b,c,d,e,f){
sd.call(this,a,0,0,d),this.result=e,this.rawResult=f}function vd(a,b){this.Ia=a,this.Ac=b}function wd(){}function xd(a){return a.F==rf||2==a.F||8==a.F}function yd(a){if(a.hb){var b=a.hb;b.removeEventListener("error",a,!1),b.removeEventListener("load",a,!1),a.hb=null}}function zd(a,b,c){if(a.Tf=!0,b.F==rf){var d;return d=3==b.$d&&A()&&10>=z().e?1:0,c=E(b.W,c,a,d),b.O=c,c.complete}return 2==b.F?b.rd?(a=document.createElement("audio"),a.autoplay=!1,a.src=c,b.O=a,!0):(c=b.Ia)?(d=b.he,b.he=null,c.Le(a,d)):!0:5==b.F?(a=document.createElement("script"),a.type="text/javascript",a.text=c,b.O=a,!0):4==b.F?(a=document.createElement("style"),a.type="text/css",a.styleSheet?a.styleSheet.cssText=c:a.appendChild(document.createTextNode(c)),document.head.appendChild(a),b.O=a,!0):3==b.F||6==b.F?(b.O=JSON.parse(c),!0):(b.O=c,!0)}function Ad(a){if(yd(a),!a.vb){var b=a.Ia;++b.ub,Fd(b),Dd(b,a.Ac.Rc),Gd(b,a),Id(b)}}function Bd(a,b,c){var d=a.Ac;b?Ad(a):(d.O=c,a.vb||Jd(a.Ia,a))}function Cd(a,b){this.jf=b||"",this.Ec=[],this.Sa=[],this.Ya={},this.Sb=[],this.Ia=new pd}function Dd(a,b){a.ja("error")&&w(a,new td("error",0,0,b))}function Ed(a,b){Xc().e[b.id]&&(a.Ya[b.Ha]=null,a.Ya[b.id]=null),a.ja("fileload")&&w(a,new ud("fileload",0,0,b.Rc,b.O,b.ie))}function Fd(a){var b=1/a.Rb,c=a.ub*b;if(a.Rb>a.ub){for(var d=0,e=a.Sa.length,f=0;e>f;++f)d+=0;c+=d*b}a.nh=c,a.ja("progress")&&w(a,new rd("progress")),k()&&a._progress&&te.dispatch("createjs,21,"+a.ub+","+a.Rb)}function Gd(a,b){for(var c=a.Sa.length,d=0;c>d;++d)if(a.Sa[d]==b){a.Sa.splice(d,1);break}}function Hd(a,b){var c=new wd,d=a.jf,e=b.src;if(e&&(c.Ha=e),e=b.type)for(var f=1;f<sf.length;++f)if(sf[f]==e){c.F=f;break}e=b.id,null!=e&&(c.id=e+""),c.Rc=b,e=new B(c.Ha),e.e?(f=e.e.lastIndexOf("."),f=0>f?"":e.e.substring(f+1).toLowerCase()):f="",c.$d={jpeg:0,jpg:1,gif:2,png:3,webp:4,bmp:5,ogg:6,mp3:7,mp4:8,m4a:9,wav:10,json:11,css:12,js:13}[f]||-1,!c.F&&0<=c.$d&&(c.F=tf[c.$d],c.Rc.type=sf[c.F]),c.W=!e.h&&e.e&&47!=e.e.charCodeAt(0)?d+c.Ha:c.Ha,c.W=C(c.W,c.F),c.F==rf||5==c.F||4==c.F?c.rd=!0:2==c.F&&(c.rd=!re&&!k()),c.id||(c.id=c.Ha),a.Ya[c.Ha]=c,c.Ha!=c.id&&(a.Ya[c.id]=c),2==c.F&&(d=Xc(),e=c.Ha,f=d.e[e],f||(bd()?f=new hd(c):k()?f=new ld(c):(A(),f=new ed(c)),d.e[e]=f,c.id!=e&&(d.e[c.id]=f)),c.Ia=f),a.Ec.push(new vd(a,c)),++a.Rb,a._numItems=a.Rb,Fd(a),5==c.F&&a.Sb.push(c)}function Id(a){if(!a.Gd)if(a.Ze||(a.ja("loadstart")&&x(a,"loadstart"),a.Ze=!0),a.loaded=a.Rb==a.ub,a.loaded)x(a,"complete");else for(var b=0;b<a.vf-a.Sa.length&&a.Ec.length;++b){var c=a.Ec.shift();a.Sa.push(c);var d=c,c=d.Ac,e=c.W,f=void 0;c.F==rf||2==c.F&&c.rd?f=null:(f=new XMLHttpRequest,f=xd(c)&&null==f.responseType?null:f),f?(f.open("GET",e,!0),f.addEventListener("error",d,!1),f.addEventListener("load",d,!1),!xd(c)&&f.overrideMimeType("text/plain; charset=utf-8"),xd(c)&&(f.responseType="arraybuffer"),f.send(),d.hb=f):zd(d,c,e)&&!d.vb&&(Jd(d.Ia,d),d.vb=!0)}}function Jd(a,b){Gd(a,b);var c=b.Ac;if(5==c.F){for(var d=a.Sb.length,c=c=0;d>c&&a.Sb[c].O;++c);if(c>0){for(d=0;c>d;++d){var e=a.Sb[d];document.body.appendChild(e.O),Ed(a,e),(e=De[e.id])&&e()}a.Sb.splice(0,c)}}else Ed(a,c);++a.ub,Fd(a),Id(a)}function Kd(){}function Ld(a){this.e=a}function Md(){}function Nd(){}function Od(){}function Pd(){}function Qd(){}function Rd(){}function Sd(){}function Td(a){this.A=a}function Ud(a,b,c,d){this.e=a,this.h=b,this.k=c[0],this.n=c[1],this.H=c[2],this.g=d}function Vd(a){a.h.call(a.g,a.k,a.n,a.H)}function Wd(a,b,c){this.g=a,this.e=b,this.h=c}function Xd(a,b,c,d){var e=a.g,f=a.h;return d.M=b,d.mc=b+e,d.ye=e,d.Ca=1/e,d.lc=f,a.e&&(null!=a.e.startPosition&&c.Kb>b&&(c.Kb=b),(b=tb(d,a.e))&&c.gf(b)),a.g}function Yd(a,b,c,d){var e=a.g;d.M=b,d.ad=b+e;for(var f=0;f<d.Gc;++f){var g=d.pc[f],h=b,i=e;g.M=h,g.mc=h+i,g.ye=i,g.Ca=1/i,g.lc=null}if(a.e){for(b=d.pc.slice(0),d=a.e.state,e=d.length,f=0;e>f;++f)i=d[f],g=c[i.t.af],h=b[g],sb(h,0),(i=i.p)&&tb(h,i),b[g]=null;if(e<b.length)for(e=b.length,f=0;e>f;++f)(h=b[f])&&sb(h,1)}return a.g}function Zd(a,b,c,d){if(a.bb){var e=a.bb;if(a.bb=null,b){var f=b[c];if(f)return a.fa=f.fa,a.ga=f.ga,a.ma=f.ma,a.Db=f.Db,void(a.A&&f.A&&(a=a.A,d=f.A.Kb,a.Kb>d&&(a.Kb=d)));b[c]=a}if(a.A){var g=new nb;if(a.fa?rb(a.fa[a.fa.length-1],g):(d&&(a.ma=[]),a.fa=[],a.A.xc(g)),f=Xd(e[0],a.K,a.A,g)){if(d){var h=a.K;for(b=a.K+f,c=a.fa.length;b>h;++h)a.ma[h]=c}a.K+=f,a.fa.push(g)}for(var i=e.length,j=1;i>j;++j){var k=new nb;if(rb(g,k),f=Xd(e[j],a.K,a.A,k)){if(d)for(h=a.K,b=a.K+f,c=a.fa.length;b>h;++h)a.ma[h]=c;a.K+=f,a.fa.push(k)}g=k}d&&(a.ma[a.K]=a.fa.length-1),a.Db|=g.qa}else{if(a.U||(a.U=[],a.Tb={}),g=a.U.length,k=new vb(g),a.ga)wb(a.ga[a.ga.length-1],k);else for(d&&(a.ma=[]),a.ga=[],j=0;g>j;++j)a.U[j].xc(k.get(j));if(f=Yd(e[0],a.K,a.Tb,k)){if(d)for(h=a.K,b=a.K+f,c=a.ga.length;b>h;++h)a.ma[h]=c;a.K+=f,a.ga.push(k)}for(i=e.length,j=1;i>j;++j){var l=new vb(g);if(wb(k,l),f=Yd(e[j],a.K,a.Tb,l)){if(d)for(h=a.K,b=a.K+f,c=a.ga.length;b>h;++h)a.ma[h]=c;a.K+=f,a.ga.push(l)}k=l}d&&(a.ma[a.K]=a.ga.length-1)}}}function $d(a,b){a.ge=!0,a.cb=Oc(),b?b.Gg(a):Qc("tick",a)}function _d(a,b,c){if(Zd(a,null,0,a.Ic),b>=a.ra&&(a.Cb&&a.ra?(b%=a.ra,c=!0,a.ha=0):(b=a.ra,a.bd=!0)),a.A){if(a.fa){var d=a.fa.length-1;if(d>=0){if(a.ma){var e=a.ma[b],f=a.fa[e];if(f&&(c=c||b==f.M||b==f.mc,!f.md||e!=a.ha||c)){var g=f.V(b,c);16384&g&&(a.Cb=f.e[14]),a.A.Da(f,c?a.Db:g,a.Pb)}return a.ha=e,b}for(e=a.ha;d>e;++e)if(f=a.fa[e],b<f.mc)return c=c||b==f.M||b==f.mc,(!f.md||e!=a.ha||c)&&(g=f.V(b,c),16384&g&&(a.Cb=f.e[14]),a.A.Da(f,c?a.Db:g,a.Pb)),a.ha=e,b;f=a.fa[d],c=c||b==f.M||b==f.mc,(!f.md||d!=a.ha||c)&&(g=f.V(b,c),16384&g&&(a.Cb=f.e[14]),a.A.Da(f,c?a.Db:g,a.Pb)),a.ha=d}}}else if(a.ga&&(d=a.ga.length-1,d>=0)){if(a.ma){if(e=a.ma[b],(f=a.ga[e])&&(c=c||b==f.M||b==f.ad,e!=a.ha||c))for(var h=a.U.length,i=0;h>i;++i){var j=f.get(i),g=ub(j,b,c);a.U[i].Da(j,g,a.Pb)}return a.ha=e,b}for(e=a.ha;d>e;++e)if(f=a.ga[e],b<f.ad){if(c=c||b==f.M||b==f.ad,e!=a.ha||c)for(h=a.U.length,i=0;h>i;++i)j=f.get(i),g=ub(j,b,c),a.U[i].Da(j,g,a.Pb);return a.ha=e,b}if(f=a.ga[d],c=c||b==f.M||b==f.ad,d!=a.ha||c)for(h=a.U.length,i=0;h>i;++i)j=f.get(i),g=ub(j,b,c),a.U[i].Da(j,g,a.Pb);a.ha=d}return b}function ae(a,b,c,d){if(d>=0&&(a.Wb=0,a.eb!=d)){var e=4&c;if(a.Sd(d,e),e)return a.eb}if((b==a.cb||a.Eb||a.Rg||a.bd)&&!a.cd)return a.cb=b,a.eb;if(e=a.eb,d=_d(a,e,a.cd),a.cd=!1,a.eb=-1,2!=(3&c)&&(c=a.od,a.nb)){for(var f=a.nb.length,g=a.Wb;f>g;++g){var h=a.nb[g];if(e<h.e)break;c<h.e&&h.e<=e&&(a.Wb=g,Vd(h))}if(a.Cb&&e>a.ra&&(a.Wb=0,!a.Ic))for(e%=a.ra,g=0;f>g&&(h=a.nb[g],!(e<h.e));++g)0<=h.e&&h.e<=e&&(a.Wb=g,Vd(h))}return 0>a.eb&&(a.od=d,a.eb=d+(a.Ic?1:b-a.cb)),a.cb=b,a.od}function be(a,b){a.Eb&&(a.ge||$d(a,a.A),a.cb=b,a.Eb=!1)}function ce(a,b){a.Eb||(a.cb=b,a.Eb=!0)}function de(a,b,c,d,e){if(!b||a.A!==b){var f=a.A;if(a.ge=!1,a.cb=0,f){if(f.S)for(var f=zb(f.S),g=f.length-1;g>=0;--g)if(f[g]===a){f.splice(g,1);break}}else Rc("tick",a);if(a.A?c.unshift(a.A):a.U?c.unshift.apply(c,a.U):(a.U=[],a.Tb={}),b)if($d(a,b),a.Pb=b,a.A)c=a.A,2==c.i[11]&&Nb(b,a.A,!0);else for(f=0;f<a.U.length;++f)c=a.U[f],2==c.i[11]&&Nb(b,c,!0);Zd(a,d,e,!0),a.ge=!0}return a.Ic=!0,a.cb=Oc()-1,a.ra}function ee(a,b,c){a.Cb=b,(a.Rg=c)&&(a.cd=!0)}function fe(a,b,c){this.Qa=[],this.eg=b,c&&(this.fg=0|c.loop,this.$c=!!c.paused),ge(this,a,a.length),this.$c||(this.$c=!0,this.gg(!1))}function ge(a,b,c){for(var d=[],e=0;c>e;++e){for(var f=b[e],g=0;g<a.Qa.length;++g)if(f===a.Qa[g]){f=null;break}f&&(g=de(f,null,d,null,0),a.duration<g&&(a.duration=g),ee(f,a.fg,!1),a.Qa.push(f))}}function he(a,b,c,d){Ob.call(this),this.timeline=new ke(this),this.cc=d||{},this.Kd=[],this.i[10]=0|b,this.i[14]=null==c?1:0|c,this.i[11]="single"==a?1:"synched"==a?2:0}function ie(a,b){this.label=a,this.position=b}function je(a,b){return a.position-b.position}function ke(a){this.e=a}function le(a,b,c,d){me(a,b);var e=1*c;(e===e||(e=a.cc[c],null!=e))&&(e|=0,(b||1>=e||e!=a.ea)&&Kb(a,e,d))}function me(a,b){var c=!!b,d=Oc();c?Jb(a,d):Ib(a,d)}var ne,oe=this,pe=oe.URL||oe.webkitURL,qe=oe.WebKitBlobBuilder,re=oe.webkitAudioContext||oe.AudioContext,se=oe.Float32Array,te=oe.CreateJsShell,ue=window.devicePixelRatio||1,ve=/^([^:]+:\/\/[^\/]+)/,we=location.origin||location.protocol+"//"+location.host;m.prototype.clone=function(){return null};var xe=1,ye=1,ze=[],Ae={},Be={},Ce=!0,De={},Ee=!1,Fe=1,Ge="2d",He=-1,Ie=e({clearCache:function(){k()&&te.dispatch("createjs,20,0,0")},setPixelRatio:function(a){xe=a,ye=1/a},setImageScales:function(){},setDefaultContext:function(a,b,c,d){ze.push(new n(a,c||null,d||null,b))},setCacheVersion:function(){},setCacheManifest:function(a,b,c){if(k()&&a){var d=oe.localStorage.dena_last_time||0;oe.localStorage.dena_last_time=Date.now(),a!=(oe.localStorage.dena_cache_manifest||"")?(te.dispatch("createjs,22,"+(.001*d|0)+","+a),oe.localStorage.dena_cache_manifest=a):te.dispatch("createjs,20,"+b+","+c)}},setImageQuota:function(){},setUseAndroidWorkarounds:function(a,b){Ae[a]=0|b},setUseSafariWorkarounds:function(a,b){Be[a]=0|b},addHotfix:function(a,b){De[a]=b},overrideProperties:function(a,b){a&&(a.prototype._=b)},setUseFrame:function(a){Ee=a},restoreLayerType:function(a){Fe=a?1:2},setDevice:function(a,b){k()&&oe.cjsAndroidSdk&&(te.dispatch("createjs,28,"+a),b&&(Ge=b))}});c(p,m),p.prototype.type="",p.prototype.target=null,p.prototype.currentTarget=null,ne=p.prototype,ne.Wa=!1,ne.Cd=!1,ne.fe=!1,ne.We=!1,ne.Yd=null,p.prototype.preventDefault=function(){this.Cd=!0},p.prototype.stopPropagation=function(){this.fe=!0},p.prototype.remove=function(){this.We=!0},p.prototype.addEventListener=function(a,b){return this.Yd.Mb(a,b)},p.prototype.removeEventListener=function(a,b){this.Yd.Lb(a,b)},c(q,m),q.prototype.parent=null,ne=q.prototype,ne.ia=null,ne.fb=0,ne.He=!1,ne.wc=null,ne.kh=function(a,b,c){return this.Mb(a,b,oe,!1,null,c)},ne.Mb=function(a,b,c,d,e,f){return b&&!f&&(c=new s(b,c||this,d||!1,e||null),this.ia||(this.ia={}),(d=this.ia[a])?u(d).push(c):this.ia[a]=new t(c),this.fb|=r(a)),b},ne.Lb=function(a,b,c){if(b&&!c&&this.ia&&(c=this.ia[a])){c=u(c);for(var d=c.length-1;d>=0;--d){var e=c[d];if(b.handleEvent?e.e===b:e.g===b){c.splice(d,1);break}}!c.length&&(a=r(a))&&(this.fb&=~a)}},ne.Qb=function(a){a?this.ia&&this.ia[a]&&(this.ia[a]=null):this.ia=null},ne.re=function(a){return f(a)?x(this,a):w(this,new p(a.type))},ne.ja=function(a){return this.ia&&(a=this.ia[a])&&a.g.length?!0:!1},ne.Yi=function(a){for(var b=this;b;){if(b.ja(a))return!0;b=b.parent}return!1},ne.contains=function(a){for(;a;){if(a===this)return!0;a=a.parent}return!1},d(q,{addEventListener:q.prototype.kh,on:q.prototype.Mb,removeEventListener:q.prototype.Lb,off:q.prototype.Lb,removeAllEventListeners:q.prototype.Qb,dispatchEvent:q.prototype.re,hasEventListener:q.prototype.ja,willTrigger:q.prototype.Yi,contains:q.prototype.contains},{initialize:function(a){var b,c=q.prototype;for(b in c)a[b]||(a[b]=c[b])}});var Je=null,Ke=/^(?:([^:\/?#.]+:))?(?:\/\/([^\/?#]*@)?([^\/?#@]+)?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,Le=null,Me=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,62,0,0,0,63,52,53,54,55,56,57,58,59,60,61,0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,0,0,0,0,0,0,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,0,0,0,0,0];c(G,m),G.prototype.gd=function(){return this.e[0]},G.prototype.g=function(a){this.e[0]=a},G.prototype.hd=function(){return this.e[1]},G.prototype.h=function(a){this.e[1]=a},Object.defineProperties(G.prototype,{x:{get:G.prototype.gd,set:G.prototype.g},y:{get:G.prototype.hd,set:G.prototype.h}}),c(H,m),H.prototype.g=function(){return!this.width||!this.height},H.prototype.h=function(a,b){return this.x<=a&&a<=this.x+this.width&&this.y<=b&&b<=this.y+this.height},d(H,{}),c(I,m),d(I,{}),c(function(){},m),ne=J.prototype,ne.ba=null,ne.$=0,ne.Z=0,ne.ne=-1,ne.Ee=null,ne.xb=function(){},ne.Sc=function(){},ne.vc=function(){},ne.wd=function(){},ne.Zd=function(){},ne.ec=function(){},ne.Xb=function(){},ne.lb=function(){},ne.vd=function(){},ne.yb=function(){},c(O,J),ne=O.prototype,ne.J=null,ne.Mc=1,ne.Lc=0,ne.pb=null,ne.La=null,ne.jb=null,ne.ob=0,ne.Ka=null,ne.xb=function(){var a=this.jb;a&&(a[1].xb(),this.jb=null),this.La&&(this.La.xb(),this.La=null),this.J=null,this.ba&&(this.ba.width=0,this.ba=null)},ne.Sc=function(a){this.J.setTransform(a[0],a[1],a[2],a[3],a[4],a[5]);var b=a[6];this.Mc!=b&&(this.Mc=b,this.J.globalAlpha=b),a=a[7],this.Lc!=a&&(this.Lc=a,this.J.globalCompositeOperation=K(a))},ne.vc=function(a,b){this.J.drawImage(a,b[0],b[1],b[2],b[3])},ne.ec=function(a,b){this.J.drawImage(a,b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7])},ne.Xb=function(a){var b=a.X.qb,c=b?M(b):0;if(5==c){if(this.Ka){if(c=this.jb[this.ob],this.Ka===b)return Gb(a,c),void a.B(c);R(this,c,this.Ka)}this.jb?(this.ob^=1,c=this.jb[this.ob],Q(c)):(this.La||(c=j(),c.width=this.$,c.height=this.Z,this.La=new O(c,null)),c=j(),c.width=this.$,c.height=this.Z,c=new O(c,null),this.jb=[this.La,c],this.ob=1),Gb(a,c),a.B(c),this.Ka=b}else{if(this.Ka&&(R(this,this.jb[this.ob],this.Ka),this.Ka=null),c&&3!=c){if(1!=c)return void(2==c&&(this.La?Q(this.La):(c=j(),c.width=this.$,c.height=this.Z,this.La=new O(c,null)),c=this.La,Gb(a,c),a.B(c),R(this,c,b)));a:{if(b=b.e,this.pb){if(xa(this.pb,b))break a;P(this)}this.pb=b,this.J.save(),this.J.setTransform(1,0,0,1,0,0),this.J.beginPath(),this.J.rect(b.e[0],b.e[1],va(b),wa(b)),this.J.clip()}}else this.pb&&(P(this),this.pb=null);Gb(a,this),a.B(this)}},ne.vd=function(){Q(this),N(this,"2d")},ne.yb=function(){this.Ka&&(R(this,this.jb[this.ob],this.Ka),this.Ka=null),this.pb&&(P(this),this.pb=null)},c(S,J);var Ne="",Oe=0;ne=S.prototype,ne.sa=null,ne.Ce=1,ne.De=1,ne.mb=null,ne.na=null,ne.tc=null,ne.j=!1,ne.da=null,ne.N=null,T.prototype.e=null,T.prototype.g=0,T.prototype.m=null,X.prototype.j=!1,X.prototype.g=null,X.prototype.e=0,ne=Y.prototype,ne.j=!1,ne.hg=null,ne.C=0,ne.D=0,ne.set=function(a,b){(this.C!=a||this.D!=b)&&(this.j=!0,this.C=a,this.D=b)},Z.prototype.e=null,Z.prototype.g=null,Z.prototype.set=function(a,b,c,d){c=a+c,d=b+d,this.e[0]=a,this.e[1]=b,this.e[2]=c,this.e[3]=b,this.e[4]=a,this.e[5]=d,this.e[6]=c,this.e[7]=d},$.prototype.g=null,$.prototype.e=null,$.prototype.set=function(a,b,c,d,e,f){this.e[0]=a,this.e[1]=b,this.e[3]=c,this.e[4]=d,this.e[6]=e,this.e[7]=f},_.prototype.j=!1,_.prototype.e=0,aa.prototype.m=null,aa.prototype.e=null,ne=ca.prototype,ne.Fb=null,ne.Gb=null,ne.Ye=null,ne.Xd=null,ne.sc=null,ne.m=null,ne.Wd=null,ne.xd=null,ne=S.prototype,ne.xb=function(){var a=this.sa;if(a){if(this.da){var b=this.da;a.e.deleteFramebuffer(b.e),a.e.deleteTexture(b.m),this.da=null}(b=this.tc)&&(a.e.deleteBuffer(b.sc.g),a.e.deleteBuffer(b.m.g),a.e.deleteProgram(b.Gb),b=b.e,a.e.deleteShader(b.g),a.e.deleteShader(b.e),this.tc=null)}},ne.Sc=function(a){fa(this).Xd.set(a[0],a[1],a[2],a[3],a[4],a[5]);var b=fa(this).Wd,c=a[6];b.e!=c&&(b.j=!0,b.e=c),b=fa(this).xd,a=a[7],b.e!=a&&(b.j=!0,b.e=a)},ne.vc=function(a,b){var c=fa(this);c.sc.set(b[0],b[1],b[2],b[3]),c.m.set(0,0,1,1),da(c,a),ea(c)},ne.ec=function(a,b){if(a.g||(a.g=new Float32Array([1/a.width,1/a.height])),!b[11]){var c=a.g[0],d=a.g[1];b[8]=b[0]*c,b[9]=b[1]*d,b[10]=b[2]*c,b[11]=b[3]*d}var c=fa(this),d=b[8],e=b[9],f=b[10],g=b[11];c.sc.set(b[4],b[5],b[6],b[7]),c.m.set(d,e,f,g),da(c,a),ea(c)},ne.Xb=function(a){var b=this.sa;if(b.g){a:{var c=this.$,d=this.Z,e=a.X.qb,f=e?M(e):0,g=this.na||this.mb;if(5==f){if(this.N){if(this.N===e){Gb(a,this),a.B(this);break a}ha(this,b,this.da,this.N,g,c,d)}ga(this,b),g||b.e.enable(3089),W(b,e.e,d),Gb(a,this),a.B(this),this.N=e}else{if(this.N&&(ha(this,b,this.da,this.N,g,c,d),this.N=null),f){if(1!=f){f=ga(this,b),g||b.e.enable(3089),W(b,e.e,d),Gb(a,this),a.B(this),ha(this,b,f,e,g,c,d);break a}ia(this,b,e.e,d)}else ja(this,b,d);Gb(a,this),a.B(this)}}this.j=!0}},ne.lb=function(a){var b=fa(this),c=a.m;a.m=null,a=b.Fb,c&&a&&a.e.deleteTexture(c)},ne.vd=function(){var a=fa(this);a.Ye.set(this.Ce,-this.De);var b=a.Ye,a=a.Fb;b.j&&(b.j=!1,a.e.uniform2f(b.hg,b.C,b.D))},ne.yb=function(){if(this.sa.g){if(this.N){var a=this.sa;ha(this,a,this.da,this.N,this.na||this.mb,this.$,this.Z),this.N=null}fa(this),a=this.sa,this.j||(a.e.clear(16384),N(this,"webgl")),this.na&&(a.e.disable(3089),this.na=null),this.j=!1}},c(ka,S),ka.prototype.Xb=function(a){var b=this.sa;if(b.g){a:{var c=this.$,d=this.Z,e=a.X.qb,f=e?M(e):0,g=this.na||this.mb;if(2==f||5==f||4==f){if(this.N){if(this.N===e){Gb(a,this),a.B(this);break a}ha(this,b,this.da,this.N,g,c,d)}this.da&&(c=this.da,b.e.deleteFramebuffer(c.e),b.e.deleteTexture(c.m)),this.da=new aa(b,this.$,this.Z,32819),g||b.e.enable(3089),W(b,e.e,d),Gb(a,this),a.B(this),this.N=e}else this.N&&(ha(this,b,this.da,this.N,g,c,d),this.N=null),f?1==f&&ia(this,b,e.e,d):ja(this,b,d),Gb(a,this),a.B(this)}this.j=!0}},ka.prototype.yb=function(){if(this.sa.g){if(this.N){var a=this.sa;ha(this,a,this.da,this.N,this.na||this.mb,this.$,this.Z),this.N=null}fa(this),a=this.sa,this.j||a.e.clear(16384),this.na&&(a.e.disable(3089),this.na=null),this.j=!1}},c(la,J);var Pe=0,Qe=0,Re=255,Se=0;ne=la.prototype,ne.Ld="",ne.Tc=null,ne.yd=null,ne.G=null,ne.o=0,ne.Oa=null,ne.xb=function(){te.dispatch("createjs,0,0")},ne.Sc=function(a){a[15]||(a[8]=1e3*a[0],a[9]=1e3*a[1],a[10]=1e3*a[2],a[11]=1e3*a[3],a[12]=10*a[4],a[13]=10*a[5],a[15]=1);var b=this.G,c=this.o;b[c]=10,b[c+1]=a[8],b[c+2]=a[9],b[c+3]=a[10],b[c+4]=a[11],b[c+5]=a[12],b[c+6]=a[13];var c=c+7,d=255*a[6]|0;Re!=d&&(Re=d,b[c]=8,b[c+1]=d,c+=2),a=a[7],Se!=a&&(Se=a,b[c]=9,b[c+1]=a,c+=2),this.o=c},ne.vc=function(a,b){ma(a),b[7]||(b[4]=10*b[0],b[5]=10*b[1],b[6]=10*b[2],b[7]=10*b[3]);var c=this.G,d=this.o;c[d]=11,c[d+1]=a.m,c[d+2]=b[4],c[d+3]=b[5],c[d+4]=b[6],c[d+5]=b[7],this.o+=6},ne.ec=function(a,b){if(a.m||(a.m=++Qe,this.Ld+=",3,"+a.m+",0,"+a.src),!b[15])for(var c=0;8>c;++c)b[8+c]=10*b[c];var c=this.G,d=this.o;c[d]=12,c[d+1]=a.m,c[d+2]=b[8],c[d+3]=b[9],c[d+4]=b[10],c[d+5]=b[11],c[d+6]=b[12],c[d+7]=b[13],c[d+8]=b[14],c[d+9]=b[15],this.o+=10},ne.Xb=function(a){ra(this,a),this.j=!0},ne.lb=function(a){if(a.m){var b=this.o;this.G[b]=5,this.G[b+1]=a.m,this.o+=2,a.m=0}},ne.vd=function(){var a;this.Ld="createjs";var b=this.G;if(b[0]=this.g,this.o=1,a=this.ba.getBoundingClientRect(),this.yd){if(this.yd.left==a.left&&this.yd.top==a.top)return}else{if(!a.width)return;var c=this.o;if(this.g||(b[c]=14,b[c+1]=6*ue+.5,b[c+2]=a.width,b[c+3]=this.$,c+=4),b[c]=13,b[c+1]=this.g,this.e){var d=a.width/this.$,e=a.height/this.Z;b[c+2]=this.e.e[0]*d,b[c+3]=this.e.e[1]*e,b[c+4]=this.e.e[2]*d,b[c+5]=this.e.e[3]*e}else b[c+2]=0,b[c+3]=0,b[c+4]=a.width,b[c+5]=a.height;this.o=c+6}this.g||(c=this.o,b[c]=15,b[c+1]=a.left,b[c+2]=a.top,this.o+=3),this.yd=a},ne.yb=function(){this.Oa&&(qa(this,this.Oa),this.Oa=null),oa(this),te.dispatch(this.Ld+",6,"+Array.prototype.join.call(this.G.subarray(0,this.o))+",7,1")},c(sa,m),sa.prototype.Ra=function(){return null},sa.prototype.e=function(){return!1},d(sa,{getBounds:sa.prototype.Ra,applyFilter:sa.prototype.e}),c(function(){},sa),c(function(){},sa),c(function(){},sa),c(ta,p),c(ua,m),ua.prototype.g=function(){return this.e[2]<=this.e[0]},ua.prototype.h=function(a,b){return this.e[0]<=a&&a<=this.e[2]&&this.e[1]<=b&&b<=this.e[3]},za.prototype.j=0,za.prototype.set=function(a){var b=a[2],c=0,d=0,e=a[3];this.j=1!=b||1!=e?1:0;var f=a[8];if(f){var g=Math.cos(.017453292519943295*f),d=Math.sin(.017453292519943295*f),c=d*b,d=-d*e,b=g*b,e=g*e;this.j|=2}var h=a[4],f=a[5];if(h||f){var g=Math.cos(.017453292519943295*f),f=Math.sin(.017453292519943295*f),i=-Math.sin(.017453292519943295*h),h=Math.cos(.017453292519943295*h),j=b,k=d,b=g*j+i*c,c=f*j+h*c,d=g*k+i*e,e=f*k+h*e;this.j|=2}g=this.e,g[0]=b,g[1]=c,g[2]=d,g[3]=e,g[4]=a[0],g[5]=a[1],f=a[6],a=a[7],(f||a)&&(g[4]-=f*b+a*d,g[5]-=f*c+a*e),g[15]=0},c(Ca,m),ne=Ca.prototype,ne.v=null,ne.W=null,ne.R=null,ne.Ga=null,ne.Pe="",ne.pd=!1,ne.j=!1,ne.tb=null,ne.$e=null,ne.Xa=null,ne.Se=0,ne.sb=null,ne=Da.prototype,ne.Mf=0,ne.Kf=0,ne.Pc=1,ne.Qc=1,ne.Fg=1,ne.Lf=1,ne.Ag=0,ne.Bg=0,ne.Cg=10,ne.ae="",ne.Ed="",ne.Dd=null,Ma.prototype.e=function(a){a.e.moveTo(this.C,this.D)},Ma.prototype.g=function(){return"M,"+this.C+","+this.D},Na.prototype.e=function(a){a.e.lineTo(this.C,this.D)},Na.prototype.g=La,Oa.prototype.e=function(a){a.e.arcTo(this.k,this.H,this.n,this.gb,this.h)},Oa.prototype.g=La,Pa.prototype.e=function(a){a.e.arc(this.C,this.D,this.k,this.H,this.n,this.h)},Pa.prototype.g=La,Qa.prototype.e=function(a){a.e.quadraticCurveTo(this.h,this.k,this.C,this.D)},Qa.prototype.g=function(){return"Q,"+this.h+","+this.k+","+this.C+","+this.D},Ra.prototype.e=function(a){a.e.bezierCurveTo(this.h,this.k,this.n,this.H,this.C,this.D)},Ra.prototype.g=La,Sa.prototype.e=function(a){a.e.rect(this.C,this.D,this.k,this.h)},Sa.prototype.g=La;var Te=null;Ta.prototype.e=function(a){a.e.beginPath()},Ta.prototype.g=La;var Ue=null;Va.prototype.e=function(a){a.e.closePath()},Va.prototype.g=function(){return"C"},Xa.prototype.e=function(a){var b=this.h;a.ae!=b&&(a.ae=b,a.e.fillStyle=b)},Xa.prototype.g=function(){return"F"+this.h},Ya.prototype.e=function(a){var b=Ga(this.h,a);a.e.fillStyle=b,a.ae=""},Ya.prototype.g=function(){return"LF"+Ha(this.h)},Za.prototype.e=function(a){var b=Ja(this.h,a);a.e.fillStyle=b,a.ae=""},Za.prototype.g=function(){return"RF"+Ka(this.h)},$a.prototype.e=function(a){var b=this.H,c=this.h,d=this.k,e=this.n;a.Lf!=b&&(a.Lf=b,a.e.lineWidth=b),a.Ag!=c&&(a.Ag=c,a.e.lineCap=["butt","round","square"][c]),a.Bg!=d&&(a.Bg=d,a.e.lineJoin=["miter","round","bevel"][d]),a.Cg!=e&&(a.Cg=e,a.e.miterLimit=e)},$a.prototype.g=function(){return"L,"+this.H+","+this.h+","+this.k+","+this.n},_a.prototype.e=function(a){var b=this.h;a.Ed!=b&&(a.Ed=b,a.e.strokeStyle=b)},_a.prototype.g=function(){return"S"+this.h},ab.prototype.e=function(a){var b=Ga(this.h,a);a.e.strokeStyle=b,a.Ed=""},ab.prototype.g=function(){return"LS"+Ha(this.h)},bb.prototype.e=function(a){var b=Ja(this.h,a);a.e.strokeStyle=b,a.Ed=""},bb.prototype.g=function(){return"RS"+Ka(this.h)};var Ve=[null,null,null,null];cb.prototype.e=function(a){var b=this.k;this.h&&a.e.fill(),b&&a.e.stroke()},cb.prototype.g=function(){return"P"+((this.h?2:0)|(this.k?1:0))};var We=0,Xe={};eb.prototype.e=function(a){for(var b=this.n,c=b.length,d=0;c>d;++d)b[d].e(a)},eb.prototype.g=function(){return"D"+this.k};var Ye={};ne=Ca.prototype,ne.Sf=function(a,b){return ya(this.v,a,b),this.R.push(new Ma(a,b)),this},ne.Rf=function(a,b){return this.j=!0,ya(this.v,a,b),this.R.push(new Na(a,b)),this},ne.Nf=function(a,b,c,d,e){return this.j=!0,ya(this.v,a,b),ya(this.v,c,d),this.R.push(new Oa(a,b,c,d,e)),this},ne.se=function(a,b,c,d,e,f){return this.j=!0,ya(this.v,a-c,b-c),ya(this.v,a+c,b+c),this.R.push(new Pa(a,b,c,d,e,f)),this},ne.te=function(a,b,c,d){return this.j=!0,ya(this.v,a,b),ya(this.v,c,d),this.R.push(new Qa(a,b,c,d)),this},ne.Of=function(a,b,c,d,e,f){return this.j=!0,ya(this.v,a,b),ya(this.v,c,d),ya(this.v,e,f),this.R.push(new Ra(a,b,c,d,e,f)),this},ne.Fd=function(a,b,c,d){return this.j=!0,ya(this.v,a,b),ya(this.v,a+c,b+d),this.R.push(new Sa(a,b,c,d)),this},ne.Qf=function(){return 0<this.R.length&&(this.j=!0,this.R.push(Wa())),this},ne.Pf=function(){lb(this);var a=this.v;return a.e[0]=1e4,a.e[1]=1e4,a.e[2]=-1e4,a.e[3]=-1e4,this.j=!1,this.W=[],this.tb=this.Xa=null,this.R=[],this},ne.nf=function(a){return jb(this),a&&(this.Xa=new Xa(a)),this},ne.of=function(a,b,c,d,e,f){return jb(this),this.Xa=new Ya(a,b,c,d,e,f),this},ne.qf=function(a,b,c,d,e,f,g,h){return jb(this),this.Xa=new Za(a,b,c,d,e,f,g,h),this},ne.kf=function(){return this},ne.rg=function(){return jb(this),this},ne.Pg=function(a,b,c,d){return jb(this),a=null==a?1:a,b=hb(["butt","round","square"],b),c=hb(["miter","round","bevel"],c),this.$e=new $a(a,b,c,null==d?10:d),this.Se=i(a,this.Se),this},ne.tf=function(a){return jb(this),a&&(this.tb=new _a(a)),this},ne.pf=function(a,b,c,d,e,f){return jb(this),this.tb=new ab(a,b,c,d,e,f),this},ne.sf=function(a,b,c,d,e,f,g,h){return jb(this),this.tb=new bb(a,b,c,d,e,f,g,h),this},ne.mf=function(){return this},ne.sg=function(){return jb(this),this},ne.ng=function(){return this},ne.og=function(){return this},ne.kg=function(a,b,c){return this.se(a,b,c,0,7,!1),this},ne.lg=function(a,b,c,d){this.j=!0,ya(this.v,a,b),ya(this.v,a+c,b+d);var e=.2761424*c,f=.2761424*d,g=a+c,h=b+d;return c=a+.5*c,d=b+.5*d,this.R.push(new Ma(a,d),new Ra(a,d-f,c-e,b,c,b),new Ra(c+e,b,g,d-f,g,d),new Ra(g,d+f,c+e,h,c,h),new Ra(c-e,h,a,d+f,a,d)),this},ne.Di=function(){return this},ne.mg=function(){return this},ne.ig=function(a){return this.j=!0,this.R.push(fb(a,this.v)),this},d(Ca,{moveTo:Ca.prototype.Sf,lineTo:Ca.prototype.Rf,arcTo:Ca.prototype.Nf,arc:Ca.prototype.se,quadraticCurveTo:Ca.prototype.te,bezierCurveTo:Ca.prototype.Of,rect:Ca.prototype.Fd,closePath:Ca.prototype.Qf,clear:Ca.prototype.Pf,beginFill:Ca.prototype.nf,beginLinearGradientFill:Ca.prototype.of,beginRadialGradientFill:Ca.prototype.qf,beginBitmapFill:Ca.prototype.kf,endFill:Ca.prototype.rg,setStrokeStyle:Ca.prototype.Pg,beginStroke:Ca.prototype.tf,beginLinearGradientStroke:Ca.prototype.pf,beginRadialGradientStroke:Ca.prototype.sf,beginBitmapStroke:Ca.prototype.mf,endStroke:Ca.prototype.sg,curveTo:Ca.prototype.te,drawRect:Ca.prototype.Fd,drawRoundRect:Ca.prototype.ng,drawRoundRectComplex:Ca.prototype.og,drawCircle:Ca.prototype.kg,drawEllipse:Ca.prototype.lg,inject:Ca.prototype.Di,drawPolyStar:Ca.prototype.mg,decodePath:Ca.prototype.ig,mt:Ca.prototype.Sf,lt:Ca.prototype.Rf,at:Ca.prototype.Nf,a:Ca.prototype.se,qt:Ca.prototype.te,bt:Ca.prototype.Of,r:Ca.prototype.Fd,cp:Ca.prototype.Qf,c:Ca.prototype.Pf,f:Ca.prototype.nf,lf:Ca.prototype.of,rf:Ca.prototype.qf,bf:Ca.prototype.kf,ef:Ca.prototype.rg,ss:Ca.prototype.Pg,s:Ca.prototype.tf,ls:Ca.prototype.pf,rs:Ca.prototype.sf,bs:Ca.prototype.mf,es:Ca.prototype.sg,dr:Ca.prototype.Fd,rr:Ca.prototype.ng,rc:Ca.prototype.og,dc:Ca.prototype.kg,de:Ca.prototype.lg,dp:Ca.prototype.mg,p:Ca.prototype.ig},{getRGB:function(a,b,c,d){var e=arguments.length;if(2>=e){var f=a>>16&255,g=a>>8&255,h=255&a;if(1==e)return"rgb("+f+","+g+","+h+")";e=b}else{if(f=a,g=b,h=c,3==e)return"rgb("+f+","+g+","+h+")";e=d}return"rgba("+f+","+g+","+h+","+e+")"},getHSL:function(a,b,c,d){return a%=360,null==d?"hsl("+a+","+b+"%,"+c+"%)":"hsla("+a+","+b+"%,"+c+"%,"+d+")"}}),mb.prototype.h=null,mb.prototype.g=null,ob.prototype.V=function(a,b,c){return c+57.29577951308232*Math.atan2(b*this.n+a*this.g,b*this.k+a*this.e)+this.h*a},ob.prototype.Ke=function(a){return a+57.29577951308232*Math.atan2(this.g,this.e)+this.h},qb.prototype.V=function(a,b,c,d){a-=this.M;for(var e=this.Bc;e<this.Gc;++e){var f=this.Dg[e],g=a-f.M;if(g<f.Ba){a=f.Sg+g*f.Ca;var f=1-a,g=f*f,h=2*f*a,i=a*a;return b[c]=g*this.h+h*this.H+i*this.e,b[c+1]=g*this.k+h*this.gb+i*this.g,this.n?(b[c+2]=1,b[c+3]=this.n.V(a,f,d)):(b[c+2]=0,b[c+3]=0),this.Bc=e,!0}}return this.Bc=0,!1},qb.prototype.Ke=function(a,b,c){a[b]=this.e,a[b+1]=this.g,this.n?(a[b+2]=1,a[b+3]=this.n.Ke(c)):(a[b+2]=0,a[b+3]=0)},ne=nb.prototype,ne.Aa=null,ne.Ja=0,ne.qa=0,ne.M=0,ne.mc=0,ne.ye=0,ne.Ca=0,ne.lc=null,ne.md=!0,ne.oc="",ne.nc=null,ne.za=null,ne.gd=function(){return this.e[0]},ne.hd=function(){return this.e[1]},ne.V=function(a,b){a-=this.M;var c=a*this.Ca,d=this.lc?this.lc.V(c):c;if(this.za){var e=a<<2;this.e[0]=this.za[e],this.e[1]=this.za[e+1],this.za[e+2]&&(this.e[8]=this.za[e+3])}if(1023&this.Ja)for(e=0;9>=e;++e){var f=this.Aa[e];f&&(this.e[e]=f.e[0]+d*f.e[2])}if(130048&this.Ja){for((f=this.Aa[10])&&(this.e[10]=b||0==c||1==c?f.e[0]+c*f.e[2]:-1),e=11;14>=e;++e)(f=this.Aa[e])&&(this.e[e]=f.e[0|d]);(f=this.Aa[15])&&(this.oc=f.h[0|d]),(f=this.Aa[16])&&(this.nc=f.g[0|d])}return this.qa},ne=vb.prototype,ne.pc=null,ne.Gc=0,ne.M=0,ne.ad=0,ne.get=function(a){return this.pc[a]},c(xb,q),c(Ab,za),ne=Ab.prototype,ne.xf=null,ne.qb=null,ne.Nc=null,ne.Ge=1,ne.ua=function(){return 0<this.e[6]};var Ze=0;xb.prototype._off=!1,xb.prototype.name="",xb.prototype._=null,ne=xb.prototype,ne.af=0,ne.X=null,ne.l=0,ne.zg=!1,ne.i=null,ne.u=null,ne.Ma=0,ne.Va=null,ne.Oc=null,ne.Ob=null,ne.ce=null,ne.pe=null,ne.S=null,ne.rb=!1,ne.qe=!1,ne.ea=-1,ne.P=null,ne.Kb=1e4,ne.zd=null,ne.Ii=null,ne.gd=function(){return this.i[0]},ne.If=function(a){a===a&&this.i[0]!=a&&(this.i[0]=a,this.l|=9)},ne.hd=function(){return this.i[1]},ne.Jf=function(a){a===a&&this.i[1]!=a&&(this.i[1]=a,this.l|=9)},ne.yf=function(){return this.i[2]},ne.Ad=function(a){this.i[2]!=a&&(this.i[2]=a,this.l|=9)},ne.zf=function(){return this.i[3]},ne.Bd=function(a){this.i[3]!=a&&(this.i[3]=a,this.l|=9)},ne.eh=function(){return this.i[4]},ne.Ff=function(a){this.i[4]!=a&&(this.i[4]=a,this.l|=9)},ne.fh=function(){return this.i[5]},ne.Gf=function(a){this.i[5]!=a&&(this.i[5]=a,this.l|=9)},ne.$g=function(){return this.i[6]},ne.Cf=function(a){this.i[6]!=a&&(this.i[6]=a,this.l|=9)},ne.ah=function(){return this.i[7]},ne.Df=function(a){this.i[7]!=a&&(this.i[7]=a,this.l|=9)},ne.bh=function(){return this.i[8]},ne.Ef=function(a){this.i[8]!=a&&(this.i[8]=a,this.l|=9)},ne.gh=function(){return!!this.i[13]},ne.Hf=function(a){a=0|a,this.i[13]!=a&&(this.i[13]=a,this.l=31)},ne.Xg=function(){return this.i[9]},ne.ih=function(a){this.i[9]!=a&&(this.i[9]=a,this.l|=a?2:31)},ne.dh=function(){return this.Va},ne.Og=function(a){(!this.Va||this.Va.color!=a.color&&this.Va.g!=a.g&&this.Va.h!=a.h&&this.Va.e!=a.e)&&(this.Va=a,this.l|=2)},ne.Yg=function(){return K(this.Ma)},ne.Bf=function(a){a={"source-over":0,"source-atop":1,"source-in":2,"source-out":3,"destination-over":4,"destination-atop":5,"destination-in":6,"destination-out":7,lighter:8,copy:9,xor:10,darker:11}[a]||0,this.Ma!=a&&(this.Ma=a,this.l|=2)},ne.ji=function(){return[]},ne.Mi=function(){},ne.Zg=function(){return this.Oc},ne.Oi=function(a){var b,c=this._,d="";if(!c||(d=c.mask)){for(a._off=!1,a.i[12]=0,a.Ob||(a.Ob=[]),b=0;b<a.Ob.length;++b)if(a.Ob[b]===this)return;a.Ob.push(this),b=0,c&&("scissor"==d?a.Ma=1:(a.Ma="compose"==d?2:"compose2"==d?5:"show"==d?3:4,a.X.e[7]=6,this.Ma=0,b=2)),a.be(b),this.Oc=a,this.pe=null,this.l|=8}},ne.xg=function(){return this.X},ne.df=function(){return null},ne.ff=function(){return null},ne.Af=function(){return!1},ne.Hg=function(){return!1},ne.va=function(){},ne.be=function(){},ne.ta=function(){},ne.Fa=function(a,b,c){if(c|=b&this.fb,!c)return null;c=this.xg(),b=c.qb;var d;if(b?d=b.e:(c.Ge&&(Bb(c,this.u),c.Ge=0),d=c.Nc),!this.ua()||!d.h(a.e[0],a.e[1]))return null;if(c=b?b.n:c,2&c.j){if(b=b?b.k:this.u,!c.g||b.g())return null;if(a=new G(a.e[0],a.e[1]),Ba(Aa(c),a),!b.h(a.e[0],a.e[1]))return null}return this},ne.Me=function(a,b,c,d){(a=this.Fa(a,c,d))&&b.push(a)},ne.oa=function(a,b,c){var d=this.X;return this.ua()?((c|=this.l)&&(Fb(this,b,c),d.Ge=25&c),a.Xb(this),this.fb):0},ne.B=function(){},ne.ua=function(){var a=this.i[9],b=this.i[2],c=this.i[3];return this.i[13]&&a&&b&&c?!0:!1},ne.wg=function(){for(var a=this;a.parent;)a=a.parent;return a.zg?a:null},ne.Re=function(a,b){var c=new G(a,b);return Ba(this.X,c)},ne.Bi=function(a,b){var c=new G(a,b);return Ba(Db(this),c)},ne.Hi=function(a,b,c){return a=this.Re(a,b),Ba(Db(c),a)},ne.jh=function(a,b,c,d,e,f,g,h,i){return this.If(a||0),this.Jf(b||0),this.Ad(null==c?1:c),this.Bd(null==d?1:d),this.Ff(f||0),this.Gf(g||0),this.Cf(h||0),this.Df(i||0),this.Ef(e||0),this},ne.hh=function(a,b){return!!this.Fa(new G(a,b),0,1)},ne.set=function(a){var b,c={x:1,y:2,scaleX:3,scaleY:4,skewX:5,skewY:6,regX:7,regY:8,rotation:9,alpha:10},d=0;for(b in a){var e=a[b];if("_off"==b)Mb(this,!!e);else if("compositeOperation"==b)this.Bf(e);else{var f=c[b];f&&(--f,e=+e,this.i[f]!=e&&(this.i[f]=e,d=1<<f))}}return 511&d&&(this.l|=9),512&d&&(this.l|=this.i[9]?2:31),8192&d&&(this.l|=31),this},ne.Ra=function(){var a=this.u.e[0],b=this.u.e[1],c=va(this.u),d=wa(this.u);if(this.zd){var e=this.zd;e.x=a,e.y=b,e.width=c,e.height=d}else this.zd=new H(a,b,c,d);return this.zd},ne.Gg=function(a){var b=this._;if(b&&(b=b.actions))for(var c in b){var d=this[c],e=b[c];d&&d!==e&&(this["_"+c]=d,this[c]=e)}if(this.S){for(c=zb(this.S),b=c.length-1;b>=0;--b)if(c[b]===a)return;c.unshift(a)}else this.S=new yb(a);this.rb=!1},ne.Vb=function(a){if(this.S&&this.S.h.length&&(!this.rb||this.qe)){this.qe=!1;var b,c=this.S,d=this.i[11];c.k=!0,b=c.h;var e=b.length,f=-1;
0<=c.e&&2==d&&(d|=4);for(var g=e-1;g>=0;--g){var h=c.e,f=ae(b[g],a,d,c.e);if(c.e!=h)for(d|=4,h=e-1;h>=g;--h)b[h].Sd(c.e,1)}c.k=!1,c.g&&(c.h=c.g,c.g=null),c.e=-1,c.n=a,this.ea=f}},ne.gf=function(){},ne.xc=function(a){if(!this.i)return!1;this.i[12]=0|this._off;for(var b=0;14>=b;++b)a.e[b]=this.i[b];return!0},ne.Da=function(a,b){if(b){for(var c=9,d=0;8>=d;++d)b&1<<d&&(this.i[d]=a.e[d]);512&b&&(d=a.e[9],this.i[9]!=d&&(c|=d?2:31,this.i[9]=d)),4096&b&&Mb(this,!!a.e[12]),8192&b&&(d=a.e[13],this.i[13]!=d&&(c|=31,this.i[13]=d)),this.l|=c}},Object.defineProperties(xb.prototype,{x:{get:xb.prototype.gd,set:xb.prototype.If},y:{get:xb.prototype.hd,set:xb.prototype.Jf},scaleX:{get:xb.prototype.yf,set:xb.prototype.Ad},scaleY:{get:xb.prototype.zf,set:xb.prototype.Bd},skewX:{get:xb.prototype.eh,set:xb.prototype.Ff},skewY:{get:xb.prototype.fh,set:xb.prototype.Gf},regX:{get:xb.prototype.$g,set:xb.prototype.Cf},regY:{get:xb.prototype.ah,set:xb.prototype.Df},rotation:{get:xb.prototype.bh,set:xb.prototype.Ef},visible:{get:xb.prototype.gh,set:xb.prototype.Hf},alpha:{get:xb.prototype.Xg,set:xb.prototype.ih},shadow:{get:xb.prototype.dh,set:xb.prototype.Og},compositeOperation:{get:xb.prototype.Yg,set:xb.prototype.Bf},filters:{get:xb.prototype.ji,set:xb.prototype.Mi},mask:{get:xb.prototype.Zg,set:xb.prototype.Oi},stage:{get:xb.prototype.wg}}),d(xb,{nominalBounds:xb.prototype.Ii,cache:b,updateCache:b,uncache:b,getCacheDataURL:b,getStage:xb.prototype.wg,localToGlobal:xb.prototype.Re,globalToLocal:xb.prototype.Bi,localToLocal:xb.prototype.Hi,setTransform:xb.prototype.jh,hitTest:xb.prototype.hh,set:xb.prototype.set,getScaleX:xb.prototype.yf,setScaleX:xb.prototype.Ad,getScaleY:xb.prototype.zf,setScaleY:xb.prototype.Bd,getBounds:xb.prototype.Ra,setBounds:b}),c(Ob,xb),ne=Ob.prototype,ne.q=null,ne.kb=null,ne.Jc=0,ne.fi=function(a){return Qb(this.q)[a]},ne.gi=function(a){for(var b=Qb(this.q),c=b.length-1;c>=0;--c){var d=b[c];if(d.name==a)return d}return null},ne.Vi=function(){},ne.hi=function(a){for(var b=Qb(this.q),c=b.length-1;c>=0;--c)if(b[c]===a)return c;return-1},ne.ri=function(){return Qb(this.q).length},ne.ii=function(){if(!this.kb){var a=this.q;this.kb=(a.e?a.e:a.g).slice()}return this.kb},ne.Xi=function(a,b){if(a>=0&&b>=0){var c=Qb(this.q),d=c.length;d>a&&d>b&&(d=c[a],c[a]=c[b],c[b]=d)}},ne.Wi=function(a,b){if(a.parent===this&&b.parent===this){for(var c=Qb(this.q),d=-1,e=-1,f=c.length-1;f>=0;--f){var g=c[f];g===a?d=f:g===b&&(e=f)}d>=0&&e>=0&&(c[d]=b,c[e]=a)}},ne.Li=function(a,b){if(b>=0&&a.parent===this){for(var c=Qb(this.q),d=c.length-1;d>=0;--d)if(c[d]===a){c.splice(d,1);break}c.splice(b,0,a)}},ne.ui=function(a,b){var c=[];return this.Me(this.Re(a,b),c,0,1),c},ne.ti=function(a,b){return this.Fa(new G(a,b),0,1)},ne.df=function(a){var b=arguments,c=b.length;if(1>c)return null;for(var d=Qb(this.q),e=0;c>e;++e){var f=b[e];Ub(this,f),d.push(f)}return this.kb=null,b[c-1]},ne.ff=function(a){var b=arguments,c=b.length;if(2>c)return null;var d,e=Qb(this.q);d=b[--c];for(var f=0;c>f;++f,++d){var g=b[f];Ub(this,g),e.splice(d,0,g)}return this.kb=null,b[c-1]},ne.Af=function(a){var b=arguments,c=b.length;if(1>c)return!1;for(var d=0;c>d;++d){var e=b[d],f=e;f.parent=null,f.Qb(),Tb(this.q,e),e.ta()}return this.kb=null,!0},ne.Hg=function(a){var b=arguments,c=b.length;if(1>c)return!1;for(var d=0;c>d;++d){var e=b[d];if(e>=0){var f=Qb(this.q);if(e<f.length){var g=f[e],h=g;h.parent=null,h.Qb(),f.splice(e,1),g.ta()}}}return this.kb=null,!0},ne.va=function(){if(this.q){for(var a=Qb(this.q),b=a.length-1;b>=0;--b){var c=a[b];c&&(c.va(!0),c.parent=null,c.Qb())}a=this.q,a.h?a.e=[]:a.g=[]}this.kb=null},ne.ta=function(){if(this.q)for(var a=Qb(this.q),b=a.length-1;b>=0;--b){var c=a[b];c.l=31,c.ta()}},ne.Fa=function(a,b,c){if(c|=b&this.fb,c|b&this.Jc){if(this.hitArea)return this;for(var d=Qb(this.q),e=d.length-1;e>=0;--e){var f=d[e];if(!f._off&&f.ua()&&(f=f.Fa(a,b,c)))return f}}return null},ne.Me=function(a,b,c,d){if(d|=c&this.fb,d|c&this.Jc)for(var e=Qb(this.q),f=e.length-1;f>=0;--f){var g=e[f];!g._off&&g.ua()&&g.Me(a,b,c,d)}},ne.oa=function(a,b,c,d,e){this.Jc=this.fb,c|=this.l,Fb(this,b,c),b=Rb(this.q);for(var f=b.length,g=0;f>g;++g){var h=b[g];h._off?h.l=31:(h.Vb(d),h.ua()&&(this.Jc|=h.oa(a,this,c,d,e)))}return Sb(this.q),this.l=0,this.Jc},ne.Ra=function(){if(this.u.g()){for(var a=Rb(this.q),b=1e4,c=1e4,d=-1e4,e=-1e4,f=a.length-1;f>=0;--f)var g=a[f],j=g.Ra(),k=j.x+g.gd(),g=j.y+g.hd(),b=h(b,k),c=h(c,g),d=i(d,k+j.width),e=i(e,g+j.height);if(Sb(this.q),b>d||c>e)return null;Eb(this,b,c,d,e)}return Ob.I.Ra.call(this)},Object.defineProperties(Ob.prototype,{children:{get:Ob.prototype.ii}}),d(Ob,{addChild:Ob.prototype.df,addChildAt:Ob.prototype.ff,removeChild:Ob.prototype.Af,removeChildAt:Ob.prototype.Hg,removeAllChildren:Ob.prototype.va,getChildAt:Ob.prototype.fi,getChildByName:Ob.prototype.gi,sortChildren:Ob.prototype.Vi,getChildIndex:Ob.prototype.hi,getNumChildren:Ob.prototype.ri,swapChildrenAt:Ob.prototype.Xi,swapChildren:Ob.prototype.Wi,setChildIndex:Ob.prototype.Li,getObjectsUnderPoint:Ob.prototype.ui,getObjectUnderPoint:Ob.prototype.ti,getBounds:Ob.prototype.Ra}),c(Vb,xb),ne=Vb.prototype,ne.la=null,ne.Na=null,ne.fc=null,ne.Vf=null,ne.Eh=function(){return this.la},ne.we=function(a){var b=this.Ob;if(b)if(Ce){if(this.Ma&&(this.la=a))for(a=a.v,Eb(this,a.e[0],a.e[1],a.e[2],a.e[3]),a=0;a<b.length;++a)b[a].l|=8}else if(a)for(a=0;a<b.length;++a)b[a].Hf(!1)},ne.be=function(a){var b=this.la;if(a&&(kb(b,a),2&a&&this.Na))for(var c=0;c<this.Na.length;++c)kb(this.Na[c],a);a=b.v,Eb(this,a.e[0],a.e[1],a.e[2],a.e[3])},ne.va=function(){this.ta()},ne.ta=function(){if(this.la&&(lb(this.la),this.la=null),this.Na){for(var a=0;a<this.Na.length;++a)lb(this.Na[a]);this.Na=null}},ne.Fa=function(a,b,c){if((b=xb.prototype.Fa.call(this,a,b,c))&&this.la){if(this.fc){c=this.fc.e[0]-a.e[0];var d=this.fc.e[1]-a.e[1];if(4>=c*c+d*d)return this.Vf;this.fc.e[0]=a.e[0],this.fc.e[1]=a.e[1]}else this.fc=new G(a.e[0],a.e[1]);d=new G(a.e[0],a.e[1]),Ba(Db(this),d);var e=this.la;(a=e.Ga)&&(a=e.Ga,c=d.e[0]-e.v.e[0],d=d.e[1]-e.v.e[1],(e=a.e)?(c*=a.Pc,d*=a.Qc,a=e.getImageData(0|c,0|d,1,1).data[3]):a=0),a||(b=null),this.Vf=b}return b},ne.oa=function(a,b,c,d,e){var f=this.la;return f?((f.j||f.pd)&&(this.l|=4,f=f.v,Eb(this,f.e[0],f.e[1],f.e[2],f.e[3])),Vb.I.oa.call(this,a,b,c,d,e)):0},ne.B=function(a){var b=this.la;kb(b,0),b.Ga&&(b.Ga.Dd=a,a.vc(b.Ga.g,b.sb))},ne.ua=function(){var a;return(a=!!this.la)&&(a=this.la,a=!(!a.W.length&&!a.R.length)),a},ne.set=function(a){return Vb.I.set.call(this,a),(a=a.graphics)&&this.we(a),this},ne.gf=function(a){a&&(this.Na||(this.Na=[]),this.Na.push(a))},ne.xc=function(a){return Vb.I.xc.call(this,a)?(a.nc=this.la,!0):!1},ne.Da=function(a,b,c){65536&b&&this.we(a.nc),Vb.I.Da.call(this,a,b,c)},Object.defineProperties(Vb.prototype,{graphics:{get:Vb.prototype.Eh,set:Vb.prototype.we}}),d(Vb,{}),c(Wb,Ob);var $e=[["mousedown","mousemove","mouseup"],["touchstart","touchmove","touchend"],["pointerstart","pointermove","pointerend"]];Wb.prototype.mouseX=0,Wb.prototype.mouseY=0,Wb.prototype.mouseInBounds=!1,ne=Wb.prototype,ne.aa=null,ne.Cc=null,ne.ld=null,ne.Dc=-2,ne.Hb=0,ne.Eg=!1,ne.Kh=function(){return this.aa.ba},ne.Ki=function(a){var b=this.aa;if(b){var c=b.ba;c&&(ec(this,c,0),ec(this,c,1),ec(this,c,2)),b.xb(),this.aa=null}this.aa=Yb(a)},ne.Lh=function(){this.aa&&this.aa.ba&&this.yc(Oc())},ne.pg=function(a){if(this.aa){var b=this.aa.ba;b&&(a?(dc(this,b,0),window.addEventListener("hashchange",this,!1),window.addEventListener("unload",this,!1)):ec(this,b,0))}},ne.zg=!0,ne.va=function(a){Wb.I.va.call(this),Ve=[null,null,null,null],We=0,Xe={};var b,c=Ye;for(b in c){var d=c[b];d&&Ea(d)}if(Ye={},Mc(a),(c=Le)?(b=c.e,a&&(c.e={}),c=b):c=null,b=this.aa){if(c){a=a&&A();for(var e in c)(d=c[e])&&(b.lb(d),a&&(d.src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="))}b.xb()}},ne.yc=function(a){this.aa&&(this.Vb(a),this.aa.vd(),this.oa(this.aa,this,this.l,a,1),this.aa.yb(a))},ne.handleEvent=function(a){var b=a.type,c=!1;if(2&this.Hb){if("touchstart"==b){var c=!0,d=a.changedTouches;-2==this.Dc&&(this.Dc=d[0].identifier||0);for(var e=0;e<d.length;++e){var f=d[e],g=f.identifier||e;ac(this,g,f.pageX,f.pageY,a)}}else if("touchmove"==b)for(c=!0,d=a.changedTouches,e=0;e<d.length;++e)f=d[e],g=d[e].identifier||e,bc(this,g,f.pageX,f.pageY,a);else if("touchend"==b)for(c=!0,d=a.changedTouches,e=0;e<d.length;++e)f=d[e],g=f.identifier||e,cc(this,g,a),this.Dc==g&&(this.Dc=-2)}else 4&this.Hb&&(d=a.pageX,e=a.pageY,"pointerdown"==b?(c=!0,a.isPrimary&&(this.Dc=a.pointerId),ac(this,a.pointerId,d,e,a)):"pointermove"==b?(c=!0,bc(this,a.pointerId,d,e,a)):"pointerup"==b&&(cc(this,a.pointerId,a),c=!0));if(c){var h=this.Eg;(b=this.ld)&&(h=h||b.Cd,b.Cd=!1,b.fe&&a.stopPropagation(),b.fe=!1),h&&a.preventDefault()}else if(("hashchange"==b||"unload"==b)&&(window.removeEventListener(b,this,!1),a="unload"==b?Fe:0,k()&&(te.dispatch("createjs,0,"+a),Qe=Pe=0,Re=255,Se=0),this.va(!0),a)){a=Xc();for(h in a.e)(b=a.e[h])&&b.Y();cd()}},ne.ci=function(a,b,c,d){ac(this,a,c,d,null)},ne.di=function(a){cc(this,a,null)},Object.defineProperties(Wb.prototype,{canvas:{get:Wb.prototype.Kh,set:Wb.prototype.Ki}}),d(Wb,{update:Wb.prototype.Lh,clear:b,toDataURL:a,enableMouseOver:a,enableDOMEvents:Wb.prototype.pg,_handlePointerDown:Wb.prototype.ci,_handlePointerUp:Wb.prototype.di,handleEvent:Wb.prototype.handleEvent}),c(gc,xb),ne=hc.prototype,ne.ya=null,ne.L=null,ne.$f=0,ne.Zf=0,ne.Pd="";var _e={};gc.prototype._redraw=4,ne=gc.prototype,ne.pa="",ne.Za="",ne.Hc="",ne.Ab=null,ne.jc="left",ne.me="top",ne.kd=0,ne.Nb=0,ne.Qd=0,ne.Rd=0,ne.ca=!0,ne.$a=null,ne.Jb=0,ne.Pa=0,ne.Bb=0,ne.ab=null,ne.Zc=null,ne.Oh=function(){return this.pa},ne.cg=function(a){a=null==a?"":a+"",this.pa!=a&&(this.pa=a,this.$a=null,this.ca=!0)},ne.ki=function(){return this.pa},ne.Kg=function(a){this.Za!=a&&(this.Za=a,this.Jb=0,this.ca=!0)},ne.Mh=function(){return this.Hc},ne.ag=function(a){a=a||"#000",this.Hc!=a&&(this.Hc=a,this.ca=!0)},ne.Ph=function(){return this.jc},ne.dg=function(a){a=a||"left",this.jc!=a&&(this.jc=a,this.ca=!0)},ne.Ai=function(){return this.me},ne.Qg=function(a){a=a||"top",this.me!=a&&(this.me=a,this.ca=!0)},ne.oi=function(){return this.kd},ne.Mg=function(a){this.kd!=a&&(this.kd=a,this.$a=null,this.ca=!0)},ne.vi=function(){return this.Nb},ne.Ng=function(a){this.Nb!=a&&(this.Nb=a,this.ca=!0)},ne.Nh=function(){return this.Qd},ne.bg=function(a){this.Qd!=a&&(this.Qd=a,this.ca=!0)},ne.ni=function(){return this.Rd},ne.Lg=function(a){this.Rd!=a&&(this.Rd=a,this.$a=null,this.ca=!0)},ne.Ti=function(){this.ca=!0},ne.vg=function(){return this.ca&&this.pa&&kc(this),this.Pa},ne.ug=function(){if(!this.Jb){if(!_e[this.Za]){var a=jc(this);ic(a,this.Za),_e[this.Za]=1.2*a.L.measureText("M").width}this.Jb=_e[this.Za]}return this.Jb},ne.pi=function(){return this.ca&&this.pa&&kc(this),this.Jb*(this.$a?this.$a.length:0)},ne.ua=function(){return!!this.pa},ne.be=function(){},ne.va=function(){this.ta(),this.pa=""},ne.ta=function(){if(this.Zc&&this.ab&&(this.e?(te.dispatch("createjs,5,"+this.e),this.e=0):this.Zc.lb(this.ab.ya)),this.Zc=null,this.ab){var a=this.ab;a.ya&&(a.ya.width=0,a.L=null,a.ya=null)}this.ab=null,this.ca=!0},ne.oa=function(a,b,c,d,e){return this.ca&&e&&(this.l|=4,kc(this)),this.Zc||(this.Zc=a),gc.I.oa.call(this,a,b,c,d,e)},ne.B=function(a){a.vc(this.ab.ya,this.Ab)},ne.set=function(a){gc.I.set.call(this,a);var b,c={text:gc.prototype.cg,font:gc.prototype.Kg,color:gc.prototype.ag,textAlign:gc.prototype.dg,textBaseline:gc.prototype.Qg,maxWidth:gc.prototype.Mg,outline:gc.prototype.Ng,lineHeight:gc.prototype.bg,lineWidth:gc.prototype.Lg,shadow:gc.prototype.Og,styles:gc.prototype.Ti};for(b in a){var d=c[b];d&&d.call(this,a[b])}return this},ne.Ra=function(){if(this.u.g()){var a=this.vg();Eb(this,0,0,a,0)}return gc.I.Ra.call(this)},ne.xc=function(a){return gc.I.xc.call(this,a)?(a.oc=this.pa,!0):!1},ne.Da=function(a,b,c){if(32768&b){var d=a.oc;this.pa!=d&&(this.pa=d,this.$a=null,this.ca=!0)}gc.I.Da.call(this,a,b,c)},Object.defineProperties(gc.prototype,{text:{get:gc.prototype.Oh,set:gc.prototype.cg},font:{get:gc.prototype.ki,set:gc.prototype.Kg},color:{get:gc.prototype.Mh,set:gc.prototype.ag},textAlign:{get:gc.prototype.Ph,set:gc.prototype.dg},textBaseline:{get:gc.prototype.Ai,set:gc.prototype.Qg},maxWidth:{get:gc.prototype.oi,set:gc.prototype.Mg},outline:{get:gc.prototype.vi,set:gc.prototype.Ng},lineHeight:{get:gc.prototype.Nh,set:gc.prototype.bg},lineWidth:{get:gc.prototype.ni,set:gc.prototype.Lg}}),d(gc,{getMeasuredWidth:gc.prototype.vg,getMeasuredLineHeight:gc.prototype.ug,getMeasuredHeight:gc.prototype.pi,getBounds:gc.prototype.Ra}),c(lc,q),lc.prototype.complete=!0,ne=lc.prototype,ne.tg=0,ne.Nd=null,ne.xa=null,ne.Yc=null,ne.G=null,ne.Qe=0,ne.fd=null,ne.Te=0,ne=oc.prototype,ne.Hh=function(){return this.k},ne.yi=function(){return this.h},ne.Si=function(a){this.h=a},ne.qi=function(){return this.g},ne.Qi=function(a){this.g=a},Object.defineProperties(oc.prototype,{name:{get:oc.prototype.Hh},speed:{get:oc.prototype.yi,set:oc.prototype.Si},next:{get:oc.prototype.qi,set:oc.prototype.Qi}}),ne=lc.prototype,ne.si=function(a){return a?(a=this.G[a])?a.e.length:0:this.xa?this.xa.length:this.Te},ne.ei=function(){return this.Nd.slice(0)},ne.Je=function(a){return this.G[a]},ne.Od=function(a){return this.xa?this.xa[a]:null},ne.li=function(a,b){var c=this.Od(a);if(c){var d=b||new H(0,0,0,0),e=c.e[5],f=c.e[2],g=c.e[3];d.x=c.e[4],d.y=e,d.width=f,d.height=g,c=d}else c=null;return c},ne.handleEvent=function(a){var b=a.type;F(a.target,this),"load"==b&&0==--this.Qe&&(pc(this),this.complete=!0,x(this,"complete"))},d(lc,{getNumFrames:lc.prototype.si,getAnimations:lc.prototype.ei,getAnimation:lc.prototype.Je,getFrame:lc.prototype.Od,getFrameBounds:lc.prototype.li}),c(qc,p),c(rc,xb),rc.prototype.spriteSheet=null,ne=rc.prototype,ne.ib=null,ne.Ie=0,ne.Fe="",ne.uc=0,ne.Yf=0,ne.Yb=null,ne.qd=!1,ne.Ih=function(){this.qd=!1,this.l=31},ne.Jh=function(){this.qd=!0},ne.wb=function(a){uc(this,!1,a),this.l=31},ne.bc=function(a){uc(this,!0,a)},ne.Xf=function(a){var b=1;if(a&&this.Ie&&(b=a*this.Ie*.001),a=this.ea,this.Yb){this.uc+=b*this.Yb.h;for(var b=this.ja("animationend"),c=this.Yb,d=0|this.uc,e=c.e.length;d>=e;){var f=c.g;if(b&&w(this,new qc("animationend")),!f){this.qd=!0,d=e-1;break}c=this.ib.Je(f),d-=e,e=c.e.length}this.uc=d,this.ea=c.e[d],this.Yb=c}else this.ea=a+b,tc(this);sc(this,a)},ne.ua=function(){return rc.I.ua.call(this)?this.ib.complete:!1},ne.va=function(){this.ib=this.spriteSheet=null},ne.oa=function(a,b,c,d,e){return this.ib.complete?(this.qd||(0<d-this.Yf&&this.Xf(d),this.Yf=d),rc.I.oa.call(this,a,b,c,d,e)):0},ne.B=function(a){var b=this.ib.Od(0|this.ea);a.ec(b.g,b.e)},d(rc,{play:rc.prototype.Ih,stop:rc.prototype.Jh,gotoAndPlay:rc.prototype.wb,gotoAndStop:rc.prototype.bc,advance:rc.prototype.Xf}),c(vc,xb);var af=null;ne=vc.prototype,ne.Ua=null,ne.Fc=!1,ne.Zb=null,ne.Ea=null,ne.oe=null,ne.$b=null,ne.wf=null,ne.mi=function(){return this.Ua},ne.Ni=function(a){this.ta(),this.Ua=a,this.Fc=!(!a||!a.width)},ne.xi=function(){return this.Ea},ne.Ri=function(a){var b,c=a.width,d=a.height;Eb(this,0,0,c,d),b=xe,1!=b&&(a.x*=b,a.y*=b,a.width*=b,a.height*=b),this.Zb||(this.Zb=l([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),this.Zb.set([a.x,a.y,a.width,a.height,0,0,c,d,0,0,0,0,0,0,0,0]),this.Ea=a},ne.handleEvent=function(a){var b,c=a.type;if(a=a.target,F(a,this),this.Fc="load"==c,this.Ea&&this.Fc){c=a.width,a=a.height,b=this.Ea,b.width=c,b.height=a;var d=this.Zb;d[0]=0,d[1]=0,d[2]=c,d[3]=a,d[4]=0,d[5]=0,b=ye,c*=b,a*=b,d[6]=c,d[7]=a,Eb(this,0,0,c,a)}else this.Ua=null},ne.va=function(){this.ta(),this.Ea=this.Ua=null,this.Fc=!1},ne.ta=function(){var a=this.Ua;a&&this.oe&&(this.oe.lb(a),this.oe=null)},ne.Fa=function(a,b,c){if(b=xb.prototype.Fa.call(this,a,b,c)){if(this.$b){c=this.$b.e[0]-a.e[0];var d=this.$b.e[1]-a.e[1];if(4>=c*c+d*d)return this.wf;this.$b.e[0]=a.e[0],this.$b.e[1]=a.e[1]}else this.$b=new G(a.e[0],a.e[1]);a=new G(a.e[0],a.e[1]),Ba(Db(this),a),this.Ea&&(a.e[0]+=this.Ea.x,a.e[1]+=this.Ea.y),c=xe,a.e[0]*=c,a.e[1]*=c,c=af,c||(c=j(),c.width=1,c.height=1,c=c.getContext("2d"),c.globalCompositeOperation="copy",af=c),c.drawImage(this.Ua,-a.e[0],-a.e[1]),c.getImageData(0,0,1,1).data[3]||(b=null),this.wf=b}return b},ne.B=function(a){a.ec(this.Ua,this.Zb)},ne.ua=function(){return this.Fc},Object.defineProperties(vc.prototype,{image:{get:vc.prototype.mi,set:vc.prototype.Ni},sourceRect:{get:vc.prototype.xi,set:vc.prototype.Ri}}),d(vc,{}),c(wc,xb),wc.prototype.e=null,wc.prototype.g=!1,wc.prototype.oa=function(a,b,c,d){var e=this.xg(),f=e.e[6];if(wc.I.oa.call(this,a,b,c,d,0),b=this.e.style,2&c){if(!e.ua())return b.visibility="hidden",0;b.visibility="visible",f!=e.e[6]&&(b.opacity=e.e[6])}return 9&c&&(a.Ee||(f=a.ba,c=f.getBoundingClientRect(),f=window.getComputedStyle(f).zoom,a.Ee=new G(c.width*f/a.$,c.height*f/a.Z)),a=a.Ee,b[this.g?"webkitTransform":"transform"]="matrix("+e.e[0]+","+e.e[1]+","+e.e[2]+","+e.e[3]+","+e.e[4]*a.e[0]+","+e.e[5]*a.e[1]+")"),0},d(wc,{}),c(xc,xb),ne=xc.prototype,ne.Kc=null,ne.Vd=!1,ne.Ud=!1,ne.ed=0,ne.je=-1,ne.qc=null,ne.dd=null,ne.Ae=null,ne.Td=null,ne.bi=function(a,b){var c=this.Kc;k()?(Eb(this,0,0,1,1),c.m||(c.m=++Qe,te.dispatch("createjs,34,"+c.m+","+(b?1:0)+","+c.W))):(a&&(this.ed=a,c.currentTime=a),this.Vd=!!b,0>He&&(He=!A()||navigator.standalone||oe.matchMedia("(-webkit-video-playback-inline)").matches?1:0),He?(c.setAttribute("muted",""),c.setAttribute("playsinline",""),c.setAttribute("webkit-playsinline",""),c.loop=this.Vd,this.Vd||this.Ud||(this.Ud=!0,c.addEventListener("ended",this,!1)),c.play()):(c.load(),this.je=Oc()))},ne.Be=function(){var a=this.Kc;k()?a.m&&(te.dispatch("createjs,35,"+a.m),a.m=0):(this.Ud&&(this.Ud=!1,a.removeEventListener("ended",this,!1)),a.pause())},ne.va=function(){this.ta()},ne.ta=function(){this.dd?(this.qc&&this.qc.lb(this.dd),this.dd=this.Ae=null):this.qc&&this.qc.lb(this.Kc),this.Be(),this.Kc=null},ne.B=function(a){var b=this.Kc;if(k())a.h(b,0,0,1,1);else if(!(4>b.readyState)){va(this.u)||Eb(this,0,0,b.videoWidth,b.videoHeight),this.qc||(this.qc=a);var c=b.currentTime;if(0<=this.je){var d=Oc(),c=c+.001*(d-this.je);this.je=d,d=b.duration,c>=d&&(c=this.Vd?c%d:d),b.currentTime=c}if(a.k())this.ed!=c&&(this.ed=c,b.j=1),a.h(b,0,0,va(this.u),wa(this.u));else{if(d=this.dd,!d){var c=va(this.u),e=wa(this.u),d=j();d.width=c,d.height=e,this.dd=d,this.Ae=d.getContext("2d"),this.Td=l([0,0,0,0,0,0,0,0]),this.Td[2]=c,this.Td[3]=e,c=-1}this.ed!=c&&(this.ed=c,this.Ae.drawImage(b,0,0),d.j=1),a.vc(d,this.Td)}}},ne.handleEvent=function(a){"ended"==a.type&&(this.Be(),x(this,"complete"))},d(xc,{play:xc.prototype.bi,stop:xc.prototype.Be}),c(yc,p),c(zc,q);var bf=null,cf=oe.requestAnimationFrame||oe.webkitRequestAnimationFrame,df=oe.cancelAnimationFrame||oe.webkitCancelAnimationFrame;ne=zc.prototype,ne.xe=!1,ne.Ne=!1,ne.ke=0,ne.nd=0,ne.zc=50,ne.kc=0,ne.sd=null,ne.Ta=0,ne.ud=!1,ne.Ub=null,ne.cf=null,ne.Ig=10,ne.Tg=0,ne.hf=!0,ne.ee=0,ne.Oe=3366e4,Cc.prototype.h=function(){var a=h(this.e,64);return 1e3*a/(this.g[this.e-1&63]-this.g[this.e-a&63])};var ef=e({reset:Mc,setInterval:Nc,getInterval:function(){return Dc().zc},setFPS:function(a,b){a=!b&&15>=a?15:60/(60/a|0),Dc().hf=!b,Nc(1e3/a|0)},getFPS:function(){return 1e3/Dc().zc},getMeasuredTickTime:function(){return 0},getMeasuredFPS:function(){var a=Dc();return a.sd?a.sd.h():0},setPaused:function(a){Dc().xe=a},getPaused:function(){return Dc().xe},getTime:Pc,getEventTime:Pc,getTicks:function(){return 0},addEventListener:Qc,removeEventListener:Rc,removeAllEventListeners:function(a){var b=Dc(),c=b.Ub;c&&(c.h?c.e=[]:c.g=[]),b.Qb(a||"")},dispatchEvent:function(a){return Dc().re(a)},hasEventListener:function(a){return Dc().ja(a)},timingMode:"synched"}),ff=e({isSupported:function(){return!0},enable:function(a,b,c){a&&fc(a,!0,!c)},disable:function(a){a&&fc(a,!1,!0)}});c(Sc,m),ne=Sc.prototype,ne.ac=null,ne.Ue="out",ne.jg="down",ne.ka=!1,ne.qg=!1,ne.Jg=function(a){if(a=!!a,this.qg!=a){this.qg=a;var b=this.ac;a?(b.Mb("mousedown",this),b.Mb("pressup",this)):(b.Lb("mousedown",this),b.Lb("pressup",this))}},ne.handleEvent=function(a){a=a.type;var b="";"mousedown"==a?b=this.jg:"pressup"==a&&(b=this.Ue),Tc(this,b)},d(Sc,{setEnabled:Sc.prototype.Jg}),c(Uc,q),c(Vc,J),ne=Vc.prototype,ne.wd=function(a,b,c,d){var e=this.e;e.save(),e.beginPath(),e.rect(a,b,c,d),e.clip(),this.C=a,this.D=b},ne.Zd=function(){this.e.restore()},ne.Sc=function(a){this.e.setTransform(a[0],a[1],a[2],a[3],a[4]+this.C,a[5]+this.D),this.e.globalAlpha=a[6],this.e.globalCompositeOperation=K(a[7])},ne.ec=function(a,b){this.e.drawImage(a,b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7])},ne.Xb=function(a){Gb(a,this),a.B(this)},Uc.prototype.e=null,Uc.prototype.Ca=1,Uc.prototype.g=function(a,b,c){this.e=a,this.Ca=c||1},Uc.prototype.h=function(){var a=[],b=[],c=this.e;c.Ad(this.Ca),c.Bd(this.Ca);for(var d=new Ob,e=-1,f=c.Id;f>=64;){var g=2048,h=2048,i=new Vc(g,h),j=i.ba;a.push(j);for(var k=0;h>k;k+=256)for(var l=0;g>l;l+=256){i.wd(l,k,256,256);var m=c,n=i,o=d,p=++e;m.Vb(p),m.oa(n,o,0,p,1),i.Zd(),n=new mc(j,new H(l,k,256,256),0,0,256,256),b.push(n)}i.yb(0),f-=64}if(f){for(m=f+8-1>>3,g=2048,h=m<<8,i=new Vc(g,h),j=i.ba,a.push(j),h-=256,k=0;h>k;k+=256)for(l=0;g>l;l+=256){i.wd(l,k,256,256);var n=c,o=i,p=d,q=++e;n.Vb(q),n.oa(o,p,0,q,1),i.Zd(),n=new mc(j,new H(l,k,256,256),0,0,256,256),b.push(n)}for(f-=8*(m-1),g=256*f,l=0;g>l;l+=256)i.wd(l,h,256,256),m=c,n=i,o=d,p=++e,m.Vb(p),m.oa(n,o,0,p,1),i.Zd(),n=new mc(j,new H(l,k,256,256),0,0,256,256),b.push(n);i.yb(0)}if(d=new lc(null),d.Yc=a,d.xa=b,b=[],e={},c=c.Jd(),i=c.length)for(j=0;i>j;++j){for(h=c[j],k=h.label,g=j==i-1?f:c[j+1].position,l=[],h=h.position;g>h;++h)l.push(h);g=new oc(k),g.e=l,b.push(k),e[k]=g}return d.Nd=b,d.G=e,d._images=a,d},d(Uc,{addFrame:a,addAnimation:a,addMovieClip:Uc.prototype.g,build:Uc.prototype.h,buildAsync:a,stopAsync:a}),c(Wc,q);var gf=null;Wc.prototype.e=null,d(Yc,{},{enableIOS:!0}),Zc.context={currentTime:-1};var hf=!1,jf=null,kf=null,lf=null;d(Zc,{},{reset:cd,getState:function(){var a=jf;return a?a.state:""},playEmptySound:function(){bd()}}),c(dd,q),dd.prototype.playState=5,dd.prototype._remainingLoops=0,ne=dd.prototype,ne.T=null,ne.hc=0,ne.wa=1,ne.ka=function(a,b,c,d,e){this.hc=d,null!=e&&(this.wa=e),this.playState=2,this._remainingLoops=d},ne.Y=function(){this.playState=4},ne.zb=function(){},ne.ic=function(){},ne.Ve=function(){},ne.Xe=function(){},ne.Le=function(){return!0},dd.prototype.play=a,dd.prototype.resume=a,dd.prototype.stop=a,dd.prototype.setMute=a,dd.prototype.setVolume=a,c(ed,dd),ne=ed.prototype,ne.Vc=0,ne.Wc=!0,ne.M=function(){if(this.Wc){var a=this.T.O,b=this.wa;1!=b&&(a.volume=b),fd(this,a,"ended",4),a.play(),(this.Wc=a.paused)&&this.hc&&fd(this,window,"touchstart",8)}},ne.ka=function(a,b,c,d,e,f){this.Wc&&(ed.I.ka.call(this,a,b,c,d,e,f),a=this.T.O,a.parentNode||document.body.appendChild(a),4!=a.readyState?(fd(this,a,"canplay",1),a.g="auto",a.load()):this.M())},ne.Y=function(){var a=this.T.O;a.pause();var b=a.parentNode;b&&b.removeChild(a),gd(this,a,"canplay",1),gd(this,a,"ended",4),gd(this,window,"touchstart",8),this.Wc=!0,ed.I.Y.call(this)},ne.zb=function(a){this.T&&(this.T.O.e=a)},ne.ic=function(a){this.T&&this.wa!=a&&(this.wa=a,this.T.O.volume=a)},ne.handleEvent=function(a){var b=a.type;a=a.target,"canplay"==b?(gd(this,a,b,1),this.M()):"ended"==b?this.hc?a.play():this.Y():"touchstart"==b&&(gd(this,window,b,8),this.M())},ed.prototype.play=ed.prototype.ka,ed.prototype.stop=ed.prototype.Y,ed.prototype.setMute=ed.prototype.zb,ed.prototype.setVolume=ed.prototype.ic,c(hd,dd),id.prototype.h=null,id.prototype.e=null,id.prototype.g=null,id.prototype.handleEvent=function(a){var b=a.data;if(a=b.a,4==a){if(this.e){if(a=this.h.contentWindow)for(var c=0;c<this.e.length;++c)a.postMessage(this.e[c],"*");this.e=null}}else if(6==a&&(a=this.g[b.b])){var c=b.c,b=b.d,d=lf;if(1<=b.length)for(d=b[0].length,d=bd().createBuffer(b.length,d,c),c=0;c<b.length;++c)d.getChannelData(c).set(b[c]);a.yg(d)}};var mf=null;ne=hd.prototype,ne.gc=null,ne.Ib=null,ne.Uc=null,ne.Fh=function(){this.Y(),x(this,"complete")},ne.yg=function(a){this.T.O=a,this.Uc&&(Bd(this.Uc,!a,a),this.Uc=null),this.e&&(kd(this,a),this.e=0)},ne.ka=function(a,b,c,d,e,f){hd.I.ka.call(this,a,b,c,d,e,f),this.T.O?(this.gc&&this.Y(),kd(this,this.T.O)):this.e=1},ne.Y=function(){hd.I.Y.call(this),this.e=0;var a=this.gc;a&&(3!=(a.playbackState||0)&&(a.stop?a.stop(0):a.noteOff(0)),a.disconnect(0),a.onended=null,A()&&(14.5>z().e?lf||(lf=bd().createBuffer(1,1,22500)):lf=null,this.gc.buffer=lf),this.gc=null,this.Ib.disconnect(0),this.Ib=null)},ne.zb=function(a){this.Ib&&(this.Ib.gain.value=a?0:this.wa)},ne.ic=function(a){this.wa!=a&&(this.wa=a,this.Ib&&(this.Ib.gain.value=a))},ne.Ve=function(){jd().g[this.T.id]=null},ne.Xe=function(){this.gc&&(this.Y(),kd(this,this.T.O),this.playState=2)},ne.Le=function(a,b){if(b){var c=bd();if(Ee){var c=jd(),d=this.T.id;return c.g[d]?c=!0:(c.g[d]=this,d={a:0,b:d,c:b},c.e?c.e.push(d):(c=c.h.contentWindow)&&c.postMessage(d,"*"),c=!1),c||(this.Uc=a),c}return d=hd.prototype.yg.bind(this),c.decodeAudioData(b,d,d),this.Uc=a,!1}return!0},hd.prototype.play=hd.prototype.ka,hd.prototype.resume=hd.prototype.Xe,hd.prototype.stop=hd.prototype.Y,hd.prototype.setMute=hd.prototype.zb,hd.prototype.setVolume=hd.prototype.ic,c(ld,dd);var nf=0,of=null;ne=ld.prototype,ne.Wf=!1,ne.Md=null,ne.Xc=0,ne.Ci=function(){x(this,"complete")},ne.Gh=function(){this.Xc=0,this.Y()},ne.ka=function(a,b,c,d,e,f){ld.I.ka.call(this,a,b,c,d,e,f),od(),te.dispatch("createjs,25,"+this.e+","+this.hc+","+(10*this.wa|0)+",0,"+this.g),!this.hc&&this.g&&(setTimeout(this.Ci.bind(this),this.g),this.Xc&&clearTimeout(this.Xc),this.Xc=setTimeout(this.Gh.bind(this),this.g+1e3))},ne.Y=function(){this.Xc||(ld.I.Y.call(this),od(),te.dispatch("createjs,26,"+this.e))},ne.zb=function(a){this.Wf!=a&&(a=(this.Wf=a)?0:this.wa,od(),te.dispatch("createjs,27,"+this.e+","+(10*a|0)))},ne.ic=function(a){this.wa!=a&&(this.wa=a,od(),te.dispatch("createjs,27,"+this.e+","+(10*a|0)))},ne.Ve=function(){od().e[this.e]=null},ne.Le=function(a){var b=od(),c=this.e,d=this.T.Ha;return b.e[c]=this,te.dispatch("createjs,23,"+c+","+d),this.Md=a,!1},ld.prototype.play=ld.prototype.ka,ld.prototype.stop=ld.prototype.Y,ld.prototype.setMute=ld.prototype.zb,ld.prototype.setVolume=ld.prototype.ic,Wc.prototype.ka=function(a,b,c,d,e,f,g){(a=this.e[a])&&a.ka(0,c,d,e,f,g)},Wc.prototype.Y=function(){};var pf=e({INTERRUPT_ANY:0,INTERRUPT_EARLY:1,INTERRUPT_LATE:2,INTERRUPT_NONE:3,PLAY_SUCCEEDED:2,PLAY_FINISHED:4,PLAY_FAILED:5,activePlugin:re?new Zc:new Yc,initializeDefaultPlugins:function(){return!0},isReady:function(){return!0},createInstance:function(a){return Xc().e[a]},removeSound:function(a){var b=Xc();return"object"==typeof a?qd(b,a.src):qd(b,a)},play:function(a,b,c,d,e,g,h){if(null!=b&&"object"==typeof b){var i=b;b=i.interrupt,c=i.delay,d=i.offset,e=i.loop,g=i.volume,h=i.pan}i=3,f(b)&&(i={any:0,early:1,late:2,none:3}[b]||3),b=c||0,d=d||0,e=e||0,g=null==g?1:g,h=h||0,Xc().ka(a,i,b,d,e,g,h)},addEventListener:function(a,b){return Xc().Mb(a,b)},removeEventListener:function(a,b){Xc().Lb(a,b)},removeAllEventListeners:function(a){Xc().Qb(a||"")},reset:function(){var a=gf;if(a){for(var b in a.e){var c=a.e[b];c&&c.Y(),a.e[b]=null}gf=null}cd(),mf=lf=null,De={}},dispatchEvent:function(a){return Xc().re(a)},hasEventListener:function(a){return Xc().ja(a)},setMute:function(a){var b,c=Xc();for(b in c.e){var d=c.e[b];d&&d.zb(a)}return!0},setVolume:function(){Xc()}});c(function(a){this.type=a},p),c(rd,p),c(sd,p),c(td,sd),c(function(a,b,c,d,e,f,g){sd.call(this,a,0,0,d),this.loaded=e,this.total=f,this.progress=g},sd),c(ud,sd);var qf=0,rf=1,sf=" image sound json css javascript manifest text video html".split(" "),tf=[rf,rf,rf,rf,rf,rf,2,2,2,2,2,3,4,5];ne=wd.prototype,ne.id="",ne.ie="",ne.he=null,ne.O=null,ne.Ha="",ne.rd=!1,ne.F=qf,ne.Rc=null,ne.$d=-1,ne.W="",ne.Ia=null,ne=vd.prototype,ne.Ia=null,ne.Ac=null,ne.Tf=!1,ne.vb=!1,ne.hb=null,ne.handleEvent=function(a){var b=a.target;if(b instanceof HTMLImageElement&&F(b,this),"load"==a.type)if(this.Tf)this.vb||Jd(this.Ia,this);else if(200!=this.hb.status)Ad(this);else{if(a=this.Ac,b=this.hb.response||this.hb.responseText,xd(a))if(a.he=b,a.rd){var c=this.hb.getResponseHeader("Content-Type");if(qe){var d=new qe;d.append(b),b=d.getBlob(c)}else b=new Blob([b],{type:c});b=pe.createObjectURL(b)}else b="";else a.ie=b;yd(this),zd(this,a,b)&&!this.vb&&(Jd(this.Ia,this),this.vb=!0),a.he=null}else Ad(this)},c(Cd,q),ne=Cd.prototype,ne.jf="",ne.Ec=null,ne.Sa=null,ne.Ya=null,ne.Sb=null,ne.Ia=null,Cd.prototype._numItems=0,Cd.prototype._progress=0,ne=Cd.prototype,ne.Ze=!1,ne.Gd=!0,ne.nh=0,ne.vf=1,ne.Rb=0,ne.ub=0,ne.Ui=function(a){return a},ne.Ei=function(){},ne.wi=function(a,b){var c=this.Ya[a];return c?b&&c.ie?c.ie:c.O:null},ne.Ji=function(){this.ue(),this.Ya={},Cd.call(this)},ne.oh=function(){},ne.Pi=function(a){this.vf=a,!this.Gd&&0<this.Ec.length&&Id(this)},ne.Fi=function(a,b){a?(Hd(this,f(a)?{src:a}:a),this.Hd(null==b?!1:!b)):Dd(this,{})},ne.Gi=function(a,b){if(a.length){for(var c=0;c<a.length;++c)Hd(this,a[c]);this.Hd(null==b?!1:!b)}else Dd(this,{})},ne.lh=function(a){return this.Ya[a].Rc},ne.Hd=function(a){(this.Gd=a)||Id(this)},ne.mh=function(){this.Hd(!1)},ne.ue=function(){for(var a=0;a<this.Sa.length;++a){var b=this.Sa[a];yd(b),b.hb.abort()}this.Sa=[],this.Sb=[],this.Ze=!1},ne.ph=function(){this.ue(),this._numItems=0,this.Ec=[],this.Ya={},this.ub=this.Rb=0},d(Cd,{setUseXHR:Cd.prototype.Ui,installPlugin:Cd.prototype.Ei,getResult:Cd.prototype.wi,removeAll:Cd.prototype.Ji,remove:Cd.prototype.oh,setMaxConnections:Cd.prototype.Pi,loadFile:Cd.prototype.Fi,loadManifest:Cd.prototype.Gi,getItem:Cd.prototype.lh,setPaused:Cd.prototype.Hd,load:Cd.prototype.mh,close:Cd.prototype.ue,reset:Cd.prototype.ph},{BINARY:"binary",CSS:"css",IMAGE:"image",JAVASCRIPT:"javascript",JSON:"json",JSONP:"jsonp",MANIFEST:"manifest",SOUND:"sound",SVG:"svg",TEXT:"text",XML:"xml"}),Kd.prototype.V=function(a){return a},Ld.prototype.V=function(a){return 0>this.e?a*(a*-this.e+1+this.e):a*((2-a)*this.e+(1-this.e))},Md.prototype.V=function(a){return a*(2-a)},Nd.prototype.V=function(a){return a*a},Od.prototype.V=function(a){return a=1-a,1-a*a},Pd.prototype.V=function(a){return a*=2,1>a?.5*a*a:(a=2-a,1-.5*a*a)},Qd.prototype.V=function(a){return a*a*a},Rd.prototype.V=function(a){return a=1-a,1-a*a*a},Sd.prototype.V=function(a){return a*=2,1>a?.5*a*a*a:(a=2-a,1-.5*a*a*a)};var uf=new Kd,vf=new Md,wf=new Nd,xf=e({linear:uf,none:uf,get:function(a){return 0==a?uf:a>=1?vf:-.99>=a?wf:new Ld(a)},quadIn:wf,quadOut:new Od,quadInOut:new Pd,cubicIn:new Qd,cubicOut:new Rd,cubicInOut:new Sd});c(Td,q),ne=Td.prototype,ne.Cb=0,ne.bd=!1,ne.ra=0,ne.eb=0,ne.od=-1,ne.cd=!1,ne.ha=0,ne.Wb=0,ne.Eb=!1,ne.Ic=!1,ne.A=null,ne.nb=null,ne.bb=null,ne.fa=null,ne.ma=null,ne.ga=null,ne.Tb=null,ne.Db=0,ne.Pb=null,ne.U=null,ne.cb=0,ne.Rg=!1,ne.ge=!1,ne.K=0,ne.zi=function(){return this.A},ne.Yh=function(){return this.ra},ne.Zh=function(){return this.eb},ne.ze=function(a){a=!!a;var b=Oc();return a?ce(this,b):be(this,b),this},ne.Wg=function(a){return null==a||a!==a||0>=a?this:(this.bb||(this.bb=[]),this.bb.push(new Wd(a,null,null)),this.ra+=a,this)},ne.Ug=function(a,b,c){if((null==b||b!==b||0>b)&&(b=0),this.bb||(this.bb=[]),c=c||null,c===uf&&(c=null),this.bb.push(new Wd(b,a,c)),!this.A)for(this.U||(this.U=[],this.Tb={}),a=a.state,c=0;c<a.length;++c){var d=a[c].t,e=d.af;if(null==this.Tb[e]){var f=this.U.length;this.U[f]=d,this.Tb[e]=f}}return this.ra+=b,this},ne.call=function(a,b,c){return this.nb||(this.nb=[]),this.nb.push(new Ud(this.ra,a,b||[],c||this.A)),this},ne.set=function(){return this},ne.ai=function(a){return a||(a=this),this.call(a.ze,[!1],a)},ne.$h=function(a){return a||(a=this),this.call(a.ze,[!0],a)},ne.Sd=function(a,b){if(this.Wb=this.ha=0,this.bd=!1,b){if(!this.Ic)return;this.od!=a&&_d(this,a,!0)}this.od=a-1,this.eb=a,this.cd=!0},ne.yc=function(a){ae(this,a,0,-1),this.bd&&Rc("tick",this)},Object.defineProperties(Td.prototype,{target:{get:Td.prototype.zi},duration:{get:Td.prototype.Yh
},position:{get:Td.prototype.Zh}}),d(Td,{setPaused:Td.prototype.ze,wait:Td.prototype.Wg,to:Td.prototype.Ug,call:Td.prototype.call,set:Td.prototype.set,play:Td.prototype.ai,pause:Td.prototype.$h,setPosition:Td.prototype.Sd,w:Td.prototype.Wg,t:Td.prototype.Ug,c:Td.prototype.call,s:Td.prototype.set},{get:function(a,b,c,d){return a&&!a.Gg&&(a=null),d&&a&&Hb(a),c=new Td(a),b&&(c.Cb=0|b.loop,c.Eb=!!b.paused,c.Ic=!!b.useTicks),c.Eb||$d(c,a),c},removeTweens:function(a){Hb(a)},removeAllTweens:function(){},hasActiveTweens:function(a){return a?!!a.S&&!!a.S.h.length:!0},installPlugin:function(){}});var yf=e({install:function(){}});c(fe,q),fe.prototype.duration=0,ne=fe.prototype,ne.Qa=null,ne.eg=null,ne.fg=0,ne.$c=!1,ne.Rh=function(a){var b=arguments;return ge(this,b,b.length),b[0]},ne.Wh=function(){return!1},ne.Qh=function(a,b){this.eg[a]=b},ne.Xh=function(){},ne.Th=function(){return null},ne.Sh=function(){return""},ne.gg=function(a){var b=!!a;if(this.$c!=b)if(this.$c=b,a=Oc(),b){for(b=0;b<this.Qa.length;++b)ce(this.Qa[b],a);Rc("tick",this)}else{for(b=0;b<this.Qa.length;++b)be(this.Qa[b],a);Qc("tick",this)}},ne.Uh=function(){},ne.Vh=function(){},ne.yc=function(a){for(var b=0,c=0;c<this.Qa.length;++c){var d=this.Qa[c];ae(d,a,0,-1),b|=d.bd?0:1}b||Rc("tick",this)},d(fe,{addTween:fe.prototype.Rh,removeTween:fe.prototype.Wh,addLabel:fe.prototype.Qh,setLabels:fe.prototype.Xh,getLabels:fe.prototype.Th,getCurrentLabel:fe.prototype.Sh,setPaused:fe.prototype.gg,gotoAndPlay:fe.prototype.Uh,gotoAndStop:fe.prototype.Vh}),c(he,Ob),ne=ke.prototype,ne.th=function(){return this.e.Id},ne.vh=function(){return this.e.ea},ne.rh=function(a){var b=arguments,c=b.length;if(0==c)return null;for(var d=0;c>d;++d){var e=this.e,f=b[d],g=void 0;if(A())g=null;else{var h=Object.getPrototypeOf(e),g=h.uf;g||(g=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],h.uf=g)}g=de(f,e,e.Kd,g,e.Vg),++e.Vg,e.Id<g&&(e.Id=g),ee(f,e.i[14],1==e.i[11])}return b[0]},ne.yh=function(a){for(var b=arguments.length,c=0;b>c;++c);return!1},ne.qh=function(a,b){var c=this.e;c.cc[a]=b,c.jd=null},ne.zh=function(a){var b=this.e;b.cc=a||{},b.jd=null},ne.uh=function(){return this.e.Jd()},ne.sh=function(){return this.e.Uf()},ne.Ah=function(a){me(this.e,!!a)},ne.wh=function(a){this.e.wb(a)},ne.xh=function(a){this.e.bc(a)},Object.defineProperties(ke.prototype,{duration:{get:ke.prototype.th},position:{get:ke.prototype.vh}}),d(ke,{addTween:ke.prototype.rh,removeTween:ke.prototype.yh,addLabel:ke.prototype.qh,setLabels:ke.prototype.zh,getLabels:ke.prototype.uh,getCurrentLabel:ke.prototype.sh,setPaused:ke.prototype.Ah,gotoAndPlay:ke.prototype.wh,gotoAndStop:ke.prototype.xh}),he.prototype.timeline=null,ne=he.prototype,ne.cc=null,ne.Id=0,ne.jd=null,ne.Kd=null,ne.td=!1,ne.ve=!1,ne.Vg=0,ne.uf=null,ne.Bh=function(){return this.ea},ne.Ch=function(){me(this,!1)},ne.Dh=function(){me(this,!0)},ne.wb=function(a,b){le(this,!1,a,b||0)},ne.bc=function(a){le(this,!0,a,0)},ne.Jd=function(){if(!this.jd){var a,b=[];for(a in this.cc)b.push(new ie(a,this.cc[a]));b.sort(je),this.jd=b}return this.jd},ne.Uf=function(){var a=this.Jd(),b=a.length,c=a[0],d=this.ea;if(0==b||d<c.position)return"";for(var e=1;b>e;++e)if(c=a[e],d<c.position){c=a[e-1];break}return c.label},ne.va=function(a){Hb(this),he.I.va.call(this,a)},ne.Vb=function(a){if(this.td){if(this.S){for(var b=this.S,c=this.i[14],d=this.i[10],e=1==this.i[11],f=zb(b),g=f.length-1;g>=0;--g)ee(f[g],c,e);b.e=d}this.td=!1}else this.ve&&(Lb(this),this.ve=!1);if(he.I.Vb.call(this,a),a=this.Kd){for(b=a.length,c=0;b>c;++c)a[c].Ob||this.addChild(a[c]);this.Kd=[]}},ne.Da=function(a,b,c){if(1024&b){var d=0|a.e[10];d>=0&&(this.i[10]!=d?(this.i[10]=d,this.td=!0):this.ve=!0)}16384&b&&(d=a.e[14],this.i[14]!=d&&(this.i[14]=d,this.td=!0)),2048&b&&(d=a.e[11],this.i[11]!=d&&(this.i[11]=d,c&&Nb(c,this,2==d),this.td=!0)),he.I.Da.call(this,a,b,c)},Object.defineProperties(he.prototype,{currentFrame:{get:he.prototype.Bh}}),d(he,{play:he.prototype.Ch,stop:he.prototype.Dh,gotoAndPlay:he.prototype.wb,gotoAndStop:he.prototype.bc,getLabels:he.prototype.Jd,getCurrentLabel:he.prototype.Uf}),define({Bitmap:vc,ButtonHelper:Sc,Config:Ie,Container:Ob,DisplayObject:xb,DOMElement:wc,EventDispatcher:q,Ease:xf,Filter:sa,Graphics:Ca,HTMLAudioPlugin:Yc,LoadQueue:Cd,MotionGuidePlugin:yf,MouseEvent:ta,MovieClip:he,Rectangle:H,Shadow:I,Shape:Vb,Sound:pf,Sprite:rc,SpriteSheet:lc,SpriteSheetBuilder:Uc,Stage:Wb,Text:gc,Ticker:ef,Timeline:fe,Touch:ff,Tween:Td,WebAudioPlugin:Zc,extend:function(a,b){var c=Object.create(b.prototype);return c.constructor=a,c},version:"0.7.1",denaVersion:9})}();