this.createjs=this.createjs||{};createjs.extend=function(f,d){function a(){this.constructor=f}return a.prototype=d.prototype,f.prototype=new a};this.createjs=this.createjs||{};createjs.promote=function(f,d){var a=f.prototype,b=Object.getPrototypeOf&&Object.getPrototypeOf(a)||a.__proto__;if(b){a[(d+="_")+"constructor"]=b.constructor;for(var c in b)a.hasOwnProperty(c)&&"function"==typeof b[c]&&(a[d+c]=b[c])}return f};this.createjs=this.createjs||{};
createjs.indexOf=function(f,d){for(var a=0,b=f.length;b>a;a++)if(d===f[a])return a;return-1};this.createjs=this.createjs||{};
(function(){function f(a,b,c){this.type=a;this.currentTarget=this.target=null;this.eventPhase=0;this.bubbles=!!b;this.cancelable=!!c;this.timeStamp=(new Date).getTime();this.removed=this.immediatePropagationStopped=this.propagationStopped=this.defaultPrevented=!1}var d=f.prototype;d.preventDefault=function(){this.defaultPrevented=this.cancelable&&!0};d.stopPropagation=function(){this.propagationStopped=!0};d.stopImmediatePropagation=function(){this.immediatePropagationStopped=this.propagationStopped=
!0};d.remove=function(){this.removed=!0};d.clone=function(){return new f(this.type,this.bubbles,this.cancelable)};d.set=function(a){for(var b in a)this[b]=a[b];return this};d.toString=function(){return"[Event (type\x3d"+this.type+")]"};createjs.Event=f})();this.createjs=this.createjs||{};
(function(){function f(){this._captureListeners=this._listeners=null}var d=f.prototype;f.initialize=function(a){a.addEventListener=d.addEventListener;a.on=d.on;a.removeEventListener=a.off=d.removeEventListener;a.removeAllEventListeners=d.removeAllEventListeners;a.hasEventListener=d.hasEventListener;a.dispatchEvent=d.dispatchEvent;a._dispatchEvent=d._dispatchEvent;a.willTrigger=d.willTrigger};d.addEventListener=function(a,b,c){var e;e=c?this._captureListeners=this._captureListeners||{}:this._listeners=
this._listeners||{};var g=e[a];return g&&this.removeEventListener(a,b,c),g=e[a],g?g.push(b):e[a]=[b],b};d.on=function(a,b,c,e,g,h){return b.handleEvent&&(c=c||b,b=b.handleEvent),c=c||this,this.addEventListener(a,function(k){b.call(c,k,g);e&&k.remove()},h)};d.removeEventListener=function(a,b,c){if(c=c?this._captureListeners:this._listeners){var e=c[a];if(e)for(var g=0,h=e.length;h>g;g++)if(e[g]==b){1==h?delete c[a]:e.splice(g,1);break}}};d.off=d.removeEventListener;d.removeAllEventListeners=function(a){a?
(this._listeners&&delete this._listeners[a],this._captureListeners&&delete this._captureListeners[a]):this._listeners=this._captureListeners=null};d.dispatchEvent=function(a,b,c){if("string"==typeof a){var e=this._listeners;if(!(b||e&&e[a]))return!0;a=new createjs.Event(a,b,c)}else a.target&&a.clone&&(a=a.clone());try{a.target=this}catch(g){}if(a.bubbles&&this.parent){c=this;for(b=[c];c.parent;)b.push(c=c.parent);e=b.length;for(c=e-1;0<=c&&!a.propagationStopped;c--)b[c]._dispatchEvent(a,1+(0==c));
for(c=1;e>c&&!a.propagationStopped;c++)b[c]._dispatchEvent(a,3)}else this._dispatchEvent(a,2);return!a.defaultPrevented};d.hasEventListener=function(a){var b=this._listeners,c=this._captureListeners;return!!(b&&b[a]||c&&c[a])};d.willTrigger=function(a){for(var b=this;b;){if(b.hasEventListener(a))return!0;b=b.parent}return!1};d.toString=function(){return"[EventDispatcher]"};d._dispatchEvent=function(a,b){var c,e=1==b?this._captureListeners:this._listeners;if(a&&e&&(e=e[a.type])&&(c=e.length)){try{a.currentTarget=
this}catch(g){}try{a.eventPhase=b}catch(h){}a.removed=!1;for(var e=e.slice(),k=0;c>k&&!a.immediatePropagationStopped;k++){var l=e[k];l.handleEvent?l.handleEvent(a):l(a);a.removed&&(this.off(a.type,l,1==b),a.removed=!1)}}};createjs.EventDispatcher=f})();this.createjs=this.createjs||{};
(function(){function f(){throw"Ticker cannot be instantiated.";}f.RAF_SYNCHED="synched";f.RAF="raf";f.TIMEOUT="timeout";f.useRAF=!1;f.timingMode=null;f.maxDelta=0;f.paused=!1;f.removeEventListener=null;f.removeAllEventListeners=null;f.dispatchEvent=null;f.hasEventListener=null;f._listeners=null;createjs.EventDispatcher.initialize(f);f._addEventListener=f.addEventListener;f.addEventListener=function(){return!f._inited&&f.init(),f._addEventListener.apply(f,arguments)};f._inited=!1;f._startTime=0;f._pausedTime=
0;f._ticks=0;f._pausedTicks=0;f._interval=50;f._lastTime=0;f._times=null;f._tickTimes=null;f._timerId=null;f._raf=!0;f.setInterval=function(b){f._interval=b;f._inited&&f._setupTick()};f.getInterval=function(){return f._interval};f.setFPS=function(b){f.setInterval(1E3/b)};f.getFPS=function(){return 1E3/f._interval};try{Object.defineProperties(f,{interval:{get:f.getInterval,set:f.setInterval},framerate:{get:f.getFPS,set:f.setFPS}})}catch(d){console.log(d)}f.init=function(){f._inited||(f._inited=!0,
f._times=[],f._tickTimes=[],f._startTime=f._getTime(),f._times.push(f._lastTime=0),f.interval=f._interval)};f.reset=function(){if(f._raf){var b=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame;b&&b(f._timerId)}else clearTimeout(f._timerId);f.removeAllEventListeners("tick");f._timerId=f._times=f._tickTimes=null;f._startTime=f._lastTime=f._ticks=0;f._inited=!1};f.getMeasuredTickTime=function(b){var c=
0,e=f._tickTimes;if(!e||1>e.length)return-1;b=Math.min(e.length,b||0|f.getFPS());for(var g=0;b>g;g++)c+=e[g];return c/b};f.getMeasuredFPS=function(b){var c=f._times;return!c||2>c.length?-1:(b=Math.min(c.length-1,b||0|f.getFPS()),1E3/((c[0]-c[b])/b))};f.setPaused=function(b){f.paused=b};f.getPaused=function(){return f.paused};f.getTime=function(b){return f._startTime?f._getTime()-(b?f._pausedTime:0):-1};f.getEventTime=function(b){return f._startTime?(f._lastTime||f._startTime)-(b?f._pausedTime:0):
-1};f.getTicks=function(b){return f._ticks-(b?f._pausedTicks:0)};f._handleSynch=function(){f._timerId=null;f._setupTick();f._getTime()-f._lastTime>=0.97*(f._interval-1)&&f._tick()};f._handleRAF=function(){f._timerId=null;f._setupTick();f._tick()};f._handleTimeout=function(){f._timerId=null;f._setupTick();f._tick()};f._setupTick=function(){if(null==f._timerId){var b=f.timingMode||f.useRAF&&f.RAF_SYNCHED;if(b==f.RAF_SYNCHED||b==f.RAF){var c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||
window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame;if(c)return f._timerId=c(b==f.RAF?f._handleRAF:f._handleSynch),void(f._raf=!0)}f._raf=!1;f._timerId=setTimeout(f._handleTimeout,f._interval)}};f._tick=function(){var b=f.paused,c=f._getTime(),e=c-f._lastTime;if(f._lastTime=c,f._ticks++,b&&(f._pausedTicks++,f._pausedTime+=e),f.hasEventListener("tick")){var g=new createjs.Event("tick"),h=f.maxDelta;g.delta=h&&e>h?h:e;g.paused=b;g.time=c;g.runTime=c-f._pausedTime;
f.dispatchEvent(g)}for(f._tickTimes.unshift(f._getTime()-c);100<f._tickTimes.length;)f._tickTimes.pop();for(f._times.unshift(c);100<f._times.length;)f._times.pop()};var a=window.performance&&(performance.now||performance.mozNow||performance.msNow||performance.oNow||performance.webkitNow);f._getTime=function(){return(a&&a.call(performance)||(new Date).getTime())-f._startTime};createjs.Ticker=f})();this.createjs=this.createjs||{};
(function(){function f(){throw"UID cannot be instantiated";}f._nextID=0;f.get=function(){return f._nextID++};createjs.UID=f})();this.createjs=this.createjs||{};
(function(){function f(b,c,e,g,h,k,l,m,n,p,r){this.Event_constructor(b,c,e);this.stageX=g;this.stageY=h;this.rawX=null==n?g:n;this.rawY=null==p?h:p;this.nativeEvent=k;this.pointerID=l;this.primary=!!m;this.relatedTarget=r}var d=createjs.extend(f,createjs.Event);d._get_localX=function(){return this.currentTarget.globalToLocal(this.rawX,this.rawY).x};d._get_localY=function(){return this.currentTarget.globalToLocal(this.rawX,this.rawY).y};d._get_isTouch=function(){return-1!==this.pointerID};try{Object.defineProperties(d,
{localX:{get:d._get_localX},localY:{get:d._get_localY},isTouch:{get:d._get_isTouch}})}catch(a){}d.clone=function(){return new f(this.type,this.bubbles,this.cancelable,this.stageX,this.stageY,this.nativeEvent,this.pointerID,this.primary,this.rawX,this.rawY)};d.toString=function(){return"[MouseEvent (type\x3d"+this.type+" stageX\x3d"+this.stageX+" stageY\x3d"+this.stageY+")]"};createjs.MouseEvent=createjs.promote(f,"Event")})();this.createjs=this.createjs||{};
(function(){function f(a,b,c,e,g,h){this.setValues(a,b,c,e,g,h)}var d=f.prototype;f.DEG_TO_RAD=Math.PI/180;f.identity=null;d.setValues=function(a,b,c,e,g,h){return this.a=null==a?1:a,this.b=b||0,this.c=c||0,this.d=null==e?1:e,this.tx=g||0,this.ty=h||0,this};d.append=function(a,b,c,e,g,h){var k=this.a,l=this.b,m=this.c,n=this.d;return(1!=a||0!=b||0!=c||1!=e)&&(this.a=k*a+m*b,this.b=l*a+n*b,this.c=k*c+m*e,this.d=l*c+n*e),this.tx=k*g+m*h+this.tx,this.ty=l*g+n*h+this.ty,this};d.prepend=function(a,b,c,
e,g,h){var k=this.a,l=this.c,m=this.tx;return this.a=a*k+c*this.b,this.b=b*k+e*this.b,this.c=a*l+c*this.d,this.d=b*l+e*this.d,this.tx=a*m+c*this.ty+g,this.ty=b*m+e*this.ty+h,this};d.appendMatrix=function(a){return this.append(a.a,a.b,a.c,a.d,a.tx,a.ty)};d.prependMatrix=function(a){return this.prepend(a.a,a.b,a.c,a.d,a.tx,a.ty)};d.appendTransform=function(a,b,c,e,g,h,k,l,m){if(g%360){var n=g*f.DEG_TO_RAD;g=Math.cos(n);n=Math.sin(n)}else g=1,n=0;return h||k?(h*=f.DEG_TO_RAD,k*=f.DEG_TO_RAD,this.append(Math.cos(k),
Math.sin(k),-Math.sin(h),Math.cos(h),a,b),this.append(g*c,n*c,-n*e,g*e,0,0)):this.append(g*c,n*c,-n*e,g*e,a,b),(l||m)&&(this.tx-=l*this.a+m*this.c,this.ty-=l*this.b+m*this.d),this};d.prependTransform=function(a,b,c,e,g,h,k,l,m){if(g%360){var n=g*f.DEG_TO_RAD;g=Math.cos(n);n=Math.sin(n)}else g=1,n=0;return(l||m)&&(this.tx-=l,this.ty-=m),h||k?(h*=f.DEG_TO_RAD,k*=f.DEG_TO_RAD,this.prepend(g*c,n*c,-n*e,g*e,0,0),this.prepend(Math.cos(k),Math.sin(k),-Math.sin(h),Math.cos(h),a,b)):this.prepend(g*c,n*c,-n*
e,g*e,a,b),this};d.rotate=function(a){a*=f.DEG_TO_RAD;var b=Math.cos(a);a=Math.sin(a);var c=this.a,e=this.b;return this.a=c*b+this.c*a,this.b=e*b+this.d*a,this.c=-c*a+this.c*b,this.d=-e*a+this.d*b,this};d.skew=function(a,b){return a*=f.DEG_TO_RAD,b*=f.DEG_TO_RAD,this.append(Math.cos(b),Math.sin(b),-Math.sin(a),Math.cos(a),0,0),this};d.scale=function(a,b){return this.a*=a,this.b*=a,this.c*=b,this.d*=b,this};d.translate=function(a,b){return this.tx+=this.a*a+this.c*b,this.ty+=this.b*a+this.d*b,this};
d.identity=function(){return this.a=this.d=1,this.b=this.c=this.tx=this.ty=0,this};d.invert=function(){var a=this.a,b=this.b,c=this.c,e=this.d,g=this.tx,h=a*e-b*c;return this.a=e/h,this.b=-b/h,this.c=-c/h,this.d=a/h,this.tx=(c*this.ty-e*g)/h,this.ty=-(a*this.ty-b*g)/h,this};d.isIdentity=function(){return 0===this.tx&&0===this.ty&&1===this.a&&0===this.b&&0===this.c&&1===this.d};d.equals=function(a){return this.tx===a.tx&&this.ty===a.ty&&this.a===a.a&&this.b===a.b&&this.c===a.c&&this.d===a.d};d.transformPoint=
function(a,b,c){return c=c||{},c.x=a*this.a+b*this.c+this.tx,c.y=a*this.b+b*this.d+this.ty,c};d.decompose=function(a){null==a&&(a={});a.x=this.tx;a.y=this.ty;a.scaleX=Math.sqrt(this.a*this.a+this.b*this.b);a.scaleY=Math.sqrt(this.c*this.c+this.d*this.d);var b=Math.atan2(-this.c,this.d),c=Math.atan2(this.b,this.a);return 1E-5>Math.abs(1-b/c)?(a.rotation=c/f.DEG_TO_RAD,0>this.a&&0<=this.d&&(a.rotation+=0>=a.rotation?180:-180),a.skewX=a.skewY=0):(a.skewX=b/f.DEG_TO_RAD,a.skewY=c/f.DEG_TO_RAD),a};d.copy=
function(a){return this.setValues(a.a,a.b,a.c,a.d,a.tx,a.ty)};d.clone=function(){return new f(this.a,this.b,this.c,this.d,this.tx,this.ty)};d.toString=function(){return"[Matrix2D (a\x3d"+this.a+" b\x3d"+this.b+" c\x3d"+this.c+" d\x3d"+this.d+" tx\x3d"+this.tx+" ty\x3d"+this.ty+")]"};f.identity=new f;createjs.Matrix2D=f})();this.createjs=this.createjs||{};
(function(){function f(a,b,c,e,g){this.setValues(a,b,c,e,g)}var d=f.prototype;d.setValues=function(a,b,c,e,g){return this.visible=null==a?!0:!!a,this.alpha=null==b?1:b,this.shadow=c,this.compositeOperation=e,this.matrix=g||this.matrix&&this.matrix.identity()||new createjs.Matrix2D,this};d.append=function(a,b,c,e,g){return this.alpha*=b,this.shadow=c||this.shadow,this.compositeOperation=e||this.compositeOperation,this.visible=this.visible&&a,g&&this.matrix.appendMatrix(g),this};d.prepend=function(a,
b,c,e,g){return this.alpha*=b,this.shadow=this.shadow||c,this.compositeOperation=this.compositeOperation||e,this.visible=this.visible&&a,g&&this.matrix.prependMatrix(g),this};d.identity=function(){return this.visible=!0,this.alpha=1,this.shadow=this.compositeOperation=null,this.matrix.identity(),this};d.clone=function(){return new f(this.alpha,this.shadow,this.compositeOperation,this.visible,this.matrix.clone())};createjs.DisplayProps=f})();this.createjs=this.createjs||{};
(function(){function f(a,b){this.setValues(a,b)}var d=f.prototype;d.setValues=function(a,b){return this.x=a||0,this.y=b||0,this};d.copy=function(a){return this.x=a.x,this.y=a.y,this};d.clone=function(){return new f(this.x,this.y)};d.toString=function(){return"[Point (x\x3d"+this.x+" y\x3d"+this.y+")]"};createjs.Point=f})();this.createjs=this.createjs||{};
(function(){function f(a,b,c,e){this.setValues(a,b,c,e)}var d=f.prototype;d.setValues=function(a,b,c,e){return this.x=a||0,this.y=b||0,this.width=c||0,this.height=e||0,this};d.extend=function(a,b,c,e){return c=c||0,e=e||0,a+c>this.x+this.width&&(this.width=a+c-this.x),b+e>this.y+this.height&&(this.height=b+e-this.y),a<this.x&&(this.width+=this.x-a,this.x=a),b<this.y&&(this.height+=this.y-b,this.y=b),this};d.pad=function(a,b,c,e){return this.x-=b,this.y-=a,this.width+=b+e,this.height+=a+c,this};d.copy=
function(a){return this.setValues(a.x,a.y,a.width,a.height)};d.contains=function(a,b,c,e){return c=c||0,e=e||0,a>=this.x&&a+c<=this.x+this.width&&b>=this.y&&b+e<=this.y+this.height};d.union=function(a){return this.clone().extend(a.x,a.y,a.width,a.height)};d.intersection=function(a){var b=a.x,c=a.y,e=b+a.width;a=c+a.height;return this.x>b&&(b=this.x),this.y>c&&(c=this.y),this.x+this.width<e&&(e=this.x+this.width),this.y+this.height<a&&(a=this.y+this.height),b>=e||c>=a?null:new f(b,c,e-b,a-c)};d.intersects=
function(a){return a.x<=this.x+this.width&&this.x<=a.x+a.width&&a.y<=this.y+this.height&&this.y<=a.y+a.height};d.isEmpty=function(){return 0>=this.width||0>=this.height};d.clone=function(){return new f(this.x,this.y,this.width,this.height)};d.toString=function(){return"[Rectangle (x\x3d"+this.x+" y\x3d"+this.y+" width\x3d"+this.width+" height\x3d"+this.height+")]"};createjs.Rectangle=f})();this.createjs=this.createjs||{};
(function(){function f(b,c,e,g,h,k,l){b.addEventListener&&(this.target=b,this.overLabel=null==e?"over":e,this.outLabel=null==c?"out":c,this.downLabel=null==g?"down":g,this.play=h,this._isPressed=!1,this._isOver=!1,this._enabled=!1,b.mouseChildren=!1,this.enabled=!0,this.handleEvent({}),k&&(l&&(k.actionsEnabled=!1,k.gotoAndStop&&k.gotoAndStop(l)),b.hitArea=k))}var d=f.prototype;d.setEnabled=function(b){if(b!=this._enabled){var c=this.target;(this._enabled=b)?(c.cursor="pointer",c.addEventListener("rollover",
this),c.addEventListener("rollout",this),c.addEventListener("mousedown",this),c.addEventListener("pressup",this),c._reset&&(c.__reset=c._reset,c._reset=this._reset)):(c.cursor=null,c.removeEventListener("rollover",this),c.removeEventListener("rollout",this),c.removeEventListener("mousedown",this),c.removeEventListener("pressup",this),c.__reset&&(c._reset=c.__reset,delete c.__reset))}};d.getEnabled=function(){return this._enabled};try{Object.defineProperties(d,{enabled:{get:d.getEnabled,set:d.setEnabled}})}catch(a){}d.toString=
function(){return"[ButtonHelper]"};d.handleEvent=function(b){var c,e=this.target;b=b.type;"mousedown"==b?(this._isPressed=!0,c=this.downLabel):"pressup"==b?(this._isPressed=!1,c=this._isOver?this.overLabel:this.outLabel):"rollover"==b?(this._isOver=!0,c=this._isPressed?this.downLabel:this.overLabel):(this._isOver=!1,c=this._isPressed?this.overLabel:this.outLabel);this.play?e.gotoAndPlay&&e.gotoAndPlay(c):e.gotoAndStop&&e.gotoAndStop(c)};d._reset=function(){var b=this.paused;this.__reset();this.paused=
b};createjs.ButtonHelper=f})();this.createjs=this.createjs||{};(function(){function f(a,b,c,e){this.color=a||"black";this.offsetX=b||0;this.offsetY=c||0;this.blur=e||0}var d=f.prototype;f.identity=new f("transparent",0,0,0);d.toString=function(){return"[Shadow]"};d.clone=function(){return new f(this.color,this.offsetX,this.offsetY,this.blur)};createjs.Shadow=f})();this.createjs=this.createjs||{};
(function(){function f(b){this.EventDispatcher_constructor();this.complete=!0;this.framerate=0;this._data=this._images=this._frames=this._animations=null;this._margin=this._spacing=this._regY=this._regX=this._numFrames=this._frameWidth=this._frameHeight=this._loadCount=0;this._parseData(b)}var d=createjs.extend(f,createjs.EventDispatcher);d.getAnimations=function(){return this._animations.slice()};try{Object.defineProperties(d,{animations:{get:d.getAnimations}})}catch(a){}d.getNumFrames=function(b){if(null==
b)return this._frames?this._frames.length:this._numFrames||0;b=this._data[b];return null==b?0:b.frames.length};d.getAnimation=function(b){return this._data[b]};d.getFrame=function(b){var c;return this._frames&&(c=this._frames[b])?c:null};d.getFrameBounds=function(b,c){var e=this.getFrame(b);return e?(c||new createjs.Rectangle).setValues(-e.regX,-e.regY,e.rect.width,e.rect.height):null};d.toString=function(){return"[SpriteSheet]"};d.clone=function(){throw"SpriteSheet cannot be cloned.";};d._parseData=
function(b){var c,e,g;if(null!=b){if(this.framerate=b.framerate||0,b.images&&0<(e=b.images.length))for(g=this._images=[],c=0;e>c;c++){var h=b.images[c];if("string"==typeof h){var k=h,h=document.createElement("img");h.src=k}g.push(h);h.getContext||h.naturalWidth||(this._loadCount++,this.complete=!1,function(m,n){h.onload=function(){m._handleImageLoad(n)}}(this,k),function(m,n){h.onerror=function(){m._handleImageError(n)}}(this,k))}if(null!=b.frames)if(Array.isArray(b.frames))for(this._frames=[],g=
b.frames,c=0,e=g.length;e>c;c++)k=g[c],this._frames.push({image:this._images[k[4]?k[4]:0],rect:new createjs.Rectangle(k[0],k[1],k[2],k[3]),regX:k[5]||0,regY:k[6]||0});else e=b.frames,this._frameWidth=e.width,this._frameHeight=e.height,this._regX=e.regX||0,this._regY=e.regY||0,this._spacing=e.spacing||0,this._margin=e.margin||0,this._numFrames=e.count,0==this._loadCount&&this._calculateFrames();if(this._animations=[],null!=(e=b.animations)){this._data={};for(var l in e){b={name:l};k=e[l];if("number"==
typeof k)g=b.frames=[k];else if(Array.isArray(k))if(1==k.length)b.frames=[k[0]];else for(b.speed=k[3],b.next=k[2],g=b.frames=[],c=k[0];c<=k[1];c++)g.push(c);else b.speed=k.speed,b.next=k.next,c=k.frames,g=b.frames="number"==typeof c?[c]:c.slice(0);!0!==b.next&&void 0!==b.next||(b.next=l);(!1===b.next||2>g.length&&b.next==l)&&(b.next=null);b.speed||(b.speed=1);this._animations.push(l);this._data[l]=b}}}};d._handleImageLoad=function(b){0==--this._loadCount&&(this._calculateFrames(),this.complete=!0,
this.dispatchEvent("complete"))};d._handleImageError=function(b){var c=new createjs.Event("error");c.src=b;this.dispatchEvent(c);0==--this._loadCount&&this.dispatchEvent("complete")};d._calculateFrames=function(){if(!this._frames&&0!=this._frameWidth){this._frames=[];var b=this._numFrames||1E5,c=0,e=this._frameWidth,g=this._frameHeight,h=this._spacing,k=this._margin,l=0,m=this._images;a:for(;l<m.length;l++)for(var n=m[l],p=n.width,r=n.height,q=k;r-k-g>=q;){for(var u=k;p-k-e>=u;){if(c>=b)break a;c++;
this._frames.push({image:n,rect:new createjs.Rectangle(u,q,e,g),regX:this._regX,regY:this._regY});u+=e+h}q+=g+h}this._numFrames=c}};createjs.SpriteSheet=createjs.promote(f,"EventDispatcher")})();this.createjs=this.createjs||{};
(function(){function f(){this._oldStrokeDash=this._strokeDash=this._oldStrokeStyle=this._strokeStyle=this._stroke=this.command=null;this._strokeIgnoreScale=!1;this._fill=null;this._instructions=[];this._commitIndex=0;this._activeInstructions=[];this._dirty=!1;this._storeIndex=0;this.clear()}var d=f.prototype;f.getRGB=function(c,e,g,h){return null!=c&&null==g&&(h=e,g=255&c,e=c>>8&255,c=c>>16&255),null==h?"rgb("+c+","+e+","+g+")":"rgba("+c+","+e+","+g+","+h+")"};f.getHSL=function(c,e,g,h){return null==
h?"hsl("+c%360+","+e+"%,"+g+"%)":"hsla("+c%360+","+e+"%,"+g+"%,"+h+")"};f.BASE_64={A:0,B:1,C:2,D:3,E:4,F:5,G:6,H:7,I:8,J:9,K:10,L:11,M:12,N:13,O:14,P:15,Q:16,R:17,S:18,T:19,U:20,V:21,W:22,X:23,Y:24,Z:25,a:26,b:27,c:28,d:29,e:30,f:31,g:32,h:33,i:34,j:35,k:36,l:37,m:38,n:39,o:40,p:41,q:42,r:43,s:44,t:45,u:46,v:47,w:48,x:49,y:50,z:51,0:52,1:53,2:54,3:55,4:56,5:57,6:58,7:59,8:60,9:61,"+":62,"/":63};f.STROKE_CAPS_MAP=["butt","round","square"];f.STROKE_JOINTS_MAP=["miter","round","bevel"];var a=createjs.createCanvas?
createjs.createCanvas():document.createElement("canvas");a.getContext&&(f._ctx=a.getContext("2d"),a.width=a.height=1);d.getInstructions=function(){return this._updateInstructions(),this._instructions};try{Object.defineProperties(d,{instructions:{get:d.getInstructions}})}catch(b){}d.isEmpty=function(){return!(this._instructions.length||this._activeInstructions.length)};d.draw=function(c,e){this._updateInstructions();for(var g=this._instructions,h=this._storeIndex,k=g.length;k>h;h++)g[h].exec(c,e)};
d.drawAsPath=function(c){this._updateInstructions();for(var e,g=this._instructions,h=this._storeIndex,k=g.length;k>h;h++)!1!==(e=g[h]).path&&e.exec(c)};d.moveTo=function(c,e){return this.append(new f.MoveTo(c,e),!0)};d.lineTo=function(c,e){return this.append(new f.LineTo(c,e))};d.arcTo=function(c,e,g,h,k){return this.append(new f.ArcTo(c,e,g,h,k))};d.arc=function(c,e,g,h,k,l){return this.append(new f.Arc(c,e,g,h,k,l))};d.quadraticCurveTo=function(c,e,g,h){return this.append(new f.QuadraticCurveTo(c,
e,g,h))};d.bezierCurveTo=function(c,e,g,h,k,l){return this.append(new f.BezierCurveTo(c,e,g,h,k,l))};d.rect=function(c,e,g,h){return this.append(new f.Rect(c,e,g,h))};d.closePath=function(){return this._activeInstructions.length?this.append(new f.ClosePath):this};d.clear=function(){return this._instructions.length=this._activeInstructions.length=this._commitIndex=0,this._strokeStyle=this._oldStrokeStyle=this._stroke=this._fill=this._strokeDash=this._oldStrokeDash=null,this._dirty=this._strokeIgnoreScale=
!1,this};d.beginFill=function(c){return this._setFill(c?new f.Fill(c):null)};d.beginLinearGradientFill=function(c,e,g,h,k,l){return this._setFill((new f.Fill).linearGradient(c,e,g,h,k,l))};d.beginRadialGradientFill=function(c,e,g,h,k,l,m,n){return this._setFill((new f.Fill).radialGradient(c,e,g,h,k,l,m,n))};d.beginBitmapFill=function(c,e,g){return this._setFill((new f.Fill(null,g)).bitmap(c,e))};d.endFill=function(){return this.beginFill()};d.setStrokeStyle=function(c,e,g,h,k){return this._updateInstructions(!0),
this._strokeStyle=this.command=new f.StrokeStyle(c,e,g,h,k),this._stroke&&(this._stroke.ignoreScale=k),this._strokeIgnoreScale=k,this};d.setStrokeDash=function(c,e){return this._updateInstructions(!0),this._strokeDash=this.command=new f.StrokeDash(c,e),this};d.beginStroke=function(c){return this._setStroke(c?new f.Stroke(c):null)};d.beginLinearGradientStroke=function(c,e,g,h,k,l){return this._setStroke((new f.Stroke).linearGradient(c,e,g,h,k,l))};d.beginRadialGradientStroke=function(c,e,g,h,k,l,m,
n){return this._setStroke((new f.Stroke).radialGradient(c,e,g,h,k,l,m,n))};d.beginBitmapStroke=function(c,e){return this._setStroke((new f.Stroke).bitmap(c,e))};d.endStroke=function(){return this.beginStroke()};d.curveTo=d.quadraticCurveTo;d.drawRect=d.rect;d.drawRoundRect=function(c,e,g,h,k){return this.drawRoundRectComplex(c,e,g,h,k,k,k,k)};d.drawRoundRectComplex=function(c,e,g,h,k,l,m,n){return this.append(new f.RoundRect(c,e,g,h,k,l,m,n))};d.drawCircle=function(c,e,g){return this.append(new f.Circle(c,
e,g))};d.drawEllipse=function(c,e,g,h){return this.append(new f.Ellipse(c,e,g,h))};d.drawPolyStar=function(c,e,g,h,k,l){return this.append(new f.PolyStar(c,e,g,h,k,l))};d.append=function(c,e){return this._activeInstructions.push(c),this.command=c,e||(this._dirty=!0),this};d.decodePath=function(c){for(var e=[this.moveTo,this.lineTo,this.quadraticCurveTo,this.bezierCurveTo,this.closePath],g=[2,2,4,6,0],h=0,k=c.length,l=[],m=0,n=0,p=f.BASE_64;k>h;){var r=c.charAt(h),q=p[r],u=q>>3,y=e[u];if(!y||3&q)throw"bad path data (@"+
h+"): "+r;r=g[u];u||(m=n=0);l.length=0;h++;q=(q>>2&1)+2;for(u=0;r>u;u++){var C=p[c.charAt(h)],I=C>>5?-1:1,C=(31&C)<<6|p[c.charAt(h+1)];3==q&&(C=C<<6|p[c.charAt(h+2)]);C=I*C/10;u%2?m=C+=m:n=C+=n;l[u]=C;h+=q}y.apply(this,l)}return this};d.store=function(){return this._updateInstructions(!0),this._storeIndex=this._instructions.length,this};d.unstore=function(){return this._storeIndex=0,this};d.clone=function(){var c=new f;return c.command=this.command,c._stroke=this._stroke,c._strokeStyle=this._strokeStyle,
c._strokeDash=this._strokeDash,c._strokeIgnoreScale=this._strokeIgnoreScale,c._fill=this._fill,c._instructions=this._instructions.slice(),c._commitIndex=this._commitIndex,c._activeInstructions=this._activeInstructions.slice(),c._dirty=this._dirty,c._storeIndex=this._storeIndex,c};d.toString=function(){return"[Graphics]"};d.mt=d.moveTo;d.lt=d.lineTo;d.at=d.arcTo;d.bt=d.bezierCurveTo;d.qt=d.quadraticCurveTo;d.a=d.arc;d.r=d.rect;d.cp=d.closePath;d.c=d.clear;d.f=d.beginFill;d.lf=d.beginLinearGradientFill;
d.rf=d.beginRadialGradientFill;d.bf=d.beginBitmapFill;d.ef=d.endFill;d.ss=d.setStrokeStyle;d.sd=d.setStrokeDash;d.s=d.beginStroke;d.ls=d.beginLinearGradientStroke;d.rs=d.beginRadialGradientStroke;d.bs=d.beginBitmapStroke;d.es=d.endStroke;d.dr=d.drawRect;d.rr=d.drawRoundRect;d.rc=d.drawRoundRectComplex;d.dc=d.drawCircle;d.de=d.drawEllipse;d.dp=d.drawPolyStar;d.p=d.decodePath;d._updateInstructions=function(c){var e=this._instructions,g=this._activeInstructions,h=this._commitIndex;if(this._dirty&&g.length){e.length=
h;e.push(f.beginCmd);var h=g.length,k=e.length;e.length=k+h;for(var l=0;h>l;l++)e[l+k]=g[l];this._fill&&e.push(this._fill);this._stroke&&(this._strokeDash!==this._oldStrokeDash&&(this._oldStrokeDash=this._strokeDash,e.push(this._strokeDash)),this._strokeStyle!==this._oldStrokeStyle&&(this._oldStrokeStyle=this._strokeStyle,e.push(this._strokeStyle)),e.push(this._stroke));this._dirty=!1}c&&(g.length=0,this._commitIndex=e.length)};d._setFill=function(c){return this._updateInstructions(!0),this.command=
this._fill=c,this};d._setStroke=function(c){return this._updateInstructions(!0),(this.command=this._stroke=c)&&(c.ignoreScale=this._strokeIgnoreScale),this};(f.LineTo=function(c,e){this.x=c;this.y=e}).prototype.exec=function(c){c.lineTo(this.x,this.y)};(f.MoveTo=function(c,e){this.x=c;this.y=e}).prototype.exec=function(c){c.moveTo(this.x,this.y)};(f.ArcTo=function(c,e,g,h,k){this.x1=c;this.y1=e;this.x2=g;this.y2=h;this.radius=k}).prototype.exec=function(c){c.arcTo(this.x1,this.y1,this.x2,this.y2,
this.radius)};(f.Arc=function(c,e,g,h,k,l){this.x=c;this.y=e;this.radius=g;this.startAngle=h;this.endAngle=k;this.anticlockwise=!!l}).prototype.exec=function(c){c.arc(this.x,this.y,this.radius,this.startAngle,this.endAngle,this.anticlockwise)};(f.QuadraticCurveTo=function(c,e,g,h){this.cpx=c;this.cpy=e;this.x=g;this.y=h}).prototype.exec=function(c){c.quadraticCurveTo(this.cpx,this.cpy,this.x,this.y)};(f.BezierCurveTo=function(c,e,g,h,k,l){this.cp1x=c;this.cp1y=e;this.cp2x=g;this.cp2y=h;this.x=k;this.y=
l}).prototype.exec=function(c){c.bezierCurveTo(this.cp1x,this.cp1y,this.cp2x,this.cp2y,this.x,this.y)};(f.Rect=function(c,e,g,h){this.x=c;this.y=e;this.w=g;this.h=h}).prototype.exec=function(c){c.rect(this.x,this.y,this.w,this.h)};(f.ClosePath=function(){}).prototype.exec=function(c){c.closePath()};(f.BeginPath=function(){}).prototype.exec=function(c){c.beginPath()};d=(f.Fill=function(c,e){this.style=c;this.matrix=e}).prototype;d.exec=function(c){if(this.style){c.fillStyle=this.style;var e=this.matrix;
e&&(c.save(),c.transform(e.a,e.b,e.c,e.d,e.tx,e.ty));c.fill();e&&c.restore()}};d.linearGradient=function(c,e,g,h,k,l){for(var m=this.style=f._ctx.createLinearGradient(g,h,k,l),n=0,p=c.length;p>n;n++)m.addColorStop(e[n],c[n]);return m.props={colors:c,ratios:e,x0:g,y0:h,x1:k,y1:l,type:"linear"},this};d.radialGradient=function(c,e,g,h,k,l,m,n){for(var p=this.style=f._ctx.createRadialGradient(g,h,k,l,m,n),r=0,q=c.length;q>r;r++)p.addColorStop(e[r],c[r]);return p.props={colors:c,ratios:e,x0:g,y0:h,r0:k,
x1:l,y1:m,r1:n,type:"radial"},this};d.bitmap=function(c,e){if(c.naturalWidth||c.getContext||2<=c.readyState)(this.style=f._ctx.createPattern(c,e||"")).props={image:c,repetition:e,type:"bitmap"};return this};d.path=!1;d=(f.Stroke=function(c,e){this.style=c;this.ignoreScale=e}).prototype;d.exec=function(c){this.style&&(c.strokeStyle=this.style,this.ignoreScale&&(c.save(),c.setTransform(1,0,0,1,0,0)),c.stroke(),this.ignoreScale&&c.restore())};d.linearGradient=f.Fill.prototype.linearGradient;d.radialGradient=
f.Fill.prototype.radialGradient;d.bitmap=f.Fill.prototype.bitmap;d.path=!1;d=(f.StrokeStyle=function(c,e,g,h,k){this.width=c;this.caps=e;this.joints=g;this.miterLimit=h;this.ignoreScale=k}).prototype;d.exec=function(c){c.lineWidth=null==this.width?"1":this.width;c.lineCap=null==this.caps?"butt":isNaN(this.caps)?this.caps:f.STROKE_CAPS_MAP[this.caps];c.lineJoin=null==this.joints?"miter":isNaN(this.joints)?this.joints:f.STROKE_JOINTS_MAP[this.joints];c.miterLimit=null==this.miterLimit?"10":this.miterLimit;
c.ignoreScale=null==this.ignoreScale?!1:this.ignoreScale};d.path=!1;(f.StrokeDash=function(c,e){this.segments=c;this.offset=e||0}).prototype.exec=function(c){c.setLineDash&&(c.setLineDash(this.segments||f.StrokeDash.EMPTY_SEGMENTS),c.lineDashOffset=this.offset||0)};f.StrokeDash.EMPTY_SEGMENTS=[];(f.RoundRect=function(c,e,g,h,k,l,m,n){this.x=c;this.y=e;this.w=g;this.h=h;this.radiusTL=k;this.radiusTR=l;this.radiusBR=m;this.radiusBL=n}).prototype.exec=function(c){var e=(r>p?p:r)/2,g=0,h=0,k=0,l=0,m=
this.x,n=this.y,p=this.w,r=this.h,q=this.radiusTL,u=this.radiusTR,y=this.radiusBR,C=this.radiusBL;0>q&&(q*=g=-1);q>e&&(q=e);0>u&&(u*=h=-1);u>e&&(u=e);0>y&&(y*=k=-1);y>e&&(y=e);0>C&&(C*=l=-1);C>e&&(C=e);c.moveTo(m+p-u,n);c.arcTo(m+p+u*h,n-u*h,m+p,n+u,u);c.lineTo(m+p,n+r-y);c.arcTo(m+p+y*k,n+r+y*k,m+p-y,n+r,y);c.lineTo(m+C,n+r);c.arcTo(m-C*l,n+r+C*l,m,n+r-C,C);c.lineTo(m,n+q);c.arcTo(m-q*g,n-q*g,m+q,n,q);c.closePath()};(f.Circle=function(c,e,g){this.x=c;this.y=e;this.radius=g}).prototype.exec=function(c){c.arc(this.x,
this.y,this.radius,0,2*Math.PI)};(f.Ellipse=function(c,e,g,h){this.x=c;this.y=e;this.w=g;this.h=h}).prototype.exec=function(c){var e=this.x,g=this.y,h=this.w,k=this.h,l=h/2*0.5522848,m=k/2*0.5522848,n=e+h,p=g+k,h=e+h/2,k=g+k/2;c.moveTo(e,k);c.bezierCurveTo(e,k-m,h-l,g,h,g);c.bezierCurveTo(h+l,g,n,k-m,n,k);c.bezierCurveTo(n,k+m,h+l,p,h,p);c.bezierCurveTo(h-l,p,e,k+m,e,k)};(f.PolyStar=function(c,e,g,h,k,l){this.x=c;this.y=e;this.radius=g;this.sides=h;this.pointSize=k;this.angle=l}).prototype.exec=function(c){var e=
this.x,g=this.y,h=this.radius,k=(this.angle||0)/180*Math.PI,l=this.sides,m=1-(this.pointSize||0),n=Math.PI/l;c.moveTo(e+Math.cos(k)*h,g+Math.sin(k)*h);for(var p=0;l>p;p++)k+=n,1!=m&&c.lineTo(e+Math.cos(k)*h*m,g+Math.sin(k)*h*m),k+=n,c.lineTo(e+Math.cos(k)*h,g+Math.sin(k)*h);c.closePath()};f.beginCmd=new f.BeginPath;createjs.Graphics=f})();this.createjs=this.createjs||{};
(function(){function f(){this.EventDispatcher_constructor();this.alpha=1;this.cacheCanvas=null;this.cacheID=0;this.id=createjs.UID.get();this.tickEnabled=this.mouseEnabled=!0;this.parent=this.name=null;this.rotation=this.regY=this.regX=0;this.scaleY=this.scaleX=1;this.skewY=this.skewX=0;this.shadow=null;this.visible=!0;this.y=this.x=0;this.compositeOperation=this.transformMatrix=null;this.snapToPixel=!0;this.cursor=this.hitArea=this.mask=this.filters=null;this._filterOffsetY=this._filterOffsetX=this._cacheOffsetY=
this._cacheOffsetX=0;this._cacheScale=1;this._cacheDataURLID=0;this._cacheDataURL=null;this._props=new createjs.DisplayProps;this._rectangle=new createjs.Rectangle;this._bounds=null}var d=createjs.extend(f,createjs.EventDispatcher);f._MOUSE_EVENTS="click dblclick mousedown mouseout mouseover pressmove pressup rollout rollover".split(" ");f.suppressCrossDomainErrors=!1;f._snapToPixelEnabled=!1;var a=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas");a.getContext&&(f._hitTestCanvas=
a,f._hitTestContext=a.getContext("2d"),a.width=a.height=1);f._nextCacheID=1;d.getStage=function(){for(var c=this,e=createjs.Stage;c.parent;)c=c.parent;return c instanceof e?c:null};try{Object.defineProperties(d,{stage:{get:d.getStage}})}catch(b){}d.isVisible=function(){return!!(this.visible&&0<this.alpha&&0!=this.scaleX&&0!=this.scaleY)};d.draw=function(c,e){var g=this.cacheCanvas;if(e||!g)return!1;var h=this._cacheScale;return c.drawImage(g,this._cacheOffsetX+this._filterOffsetX,this._cacheOffsetY+
this._filterOffsetY,g.width/h,g.height/h),!0};d.updateContext=function(c){var e=this.mask,g=this._props.matrix;e&&e.graphics&&!e.graphics.isEmpty()&&(e.getMatrix(g),c.transform(g.a,g.b,g.c,g.d,g.tx,g.ty),e.graphics.drawAsPath(c),c.clip(),g.invert(),c.transform(g.a,g.b,g.c,g.d,g.tx,g.ty));this.getMatrix(g);var e=g.tx,h=g.ty;f._snapToPixelEnabled&&this.snapToPixel&&(e=e+(0>e?-0.5:0.5)|0,h=h+(0>h?-0.5:0.5)|0);c.transform(g.a,g.b,g.c,g.d,e,h);c.globalAlpha*=this.alpha;this.compositeOperation&&(c.globalCompositeOperation=
this.compositeOperation);this.shadow&&this._applyShadow(c,this.shadow)};d.cache=function(c,e,g,h,k){k=k||1;this.cacheCanvas||(this.cacheCanvas=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas"));this._cacheWidth=g;this._cacheHeight=h;this._cacheOffsetX=c;this._cacheOffsetY=e;this._cacheScale=k;this.updateCache()};d.updateCache=function(c){var e=this.cacheCanvas;if(!e)throw"cache() must be called before updateCache()";var g=this._cacheScale,h=this._cacheOffsetX*g,k=this._cacheOffsetY*
g,l=this._cacheWidth,m=this._cacheHeight,n=e.getContext("2d"),p=this._getFilterBounds(),h=h+(this._filterOffsetX=p.x),k=k+(this._filterOffsetY=p.y),l=Math.ceil(l*g)+p.width,m=Math.ceil(m*g)+p.height;l!=e.width||m!=e.height?(e.width=l,e.height=m):c||n.clearRect(0,0,l+1,m+1);n.save();n.globalCompositeOperation=c;n.setTransform(g,0,0,g,-h,-k);this.draw(n,!0);this._applyFilters();n.restore();this.cacheID=f._nextCacheID++};d.uncache=function(){this._cacheDataURL=this.cacheCanvas=null;this.cacheID=this._cacheOffsetX=
this._cacheOffsetY=this._filterOffsetX=this._filterOffsetY=0;this._cacheScale=1};d.getCacheDataURL=function(){return this.cacheCanvas?(this.cacheID!=this._cacheDataURLID&&(this._cacheDataURL=this.cacheCanvas.toDataURL()),this._cacheDataURL):null};d.localToGlobal=function(c,e,g){return this.getConcatenatedMatrix(this._props.matrix).transformPoint(c,e,g||new createjs.Point)};d.globalToLocal=function(c,e,g){return this.getConcatenatedMatrix(this._props.matrix).invert().transformPoint(c,e,g||new createjs.Point)};
d.localToLocal=function(c,e,g,h){return h=this.localToGlobal(c,e,h),g.globalToLocal(h.x,h.y,h)};d.setTransform=function(c,e,g,h,k,l,m,n,p){return this.x=c||0,this.y=e||0,this.scaleX=null==g?1:g,this.scaleY=null==h?1:h,this.rotation=k||0,this.skewX=l||0,this.skewY=m||0,this.regX=n||0,this.regY=p||0,this};d.getMatrix=function(c){c=c&&c.identity()||new createjs.Matrix2D;return this.transformMatrix?c.copy(this.transformMatrix):c.appendTransform(this.x,this.y,this.scaleX,this.scaleY,this.rotation,this.skewX,
this.skewY,this.regX,this.regY)};d.getConcatenatedMatrix=function(c){var e=this;for(c=this.getMatrix(c);e=e.parent;)c.prependMatrix(e.getMatrix(e._props.matrix));return c};d.getConcatenatedDisplayProps=function(c){c=c?c.identity():new createjs.DisplayProps;var e=this,g=e.getMatrix(c.matrix);do c.prepend(e.visible,e.alpha,e.shadow,e.compositeOperation),e!=this&&g.prependMatrix(e.getMatrix(e._props.matrix));while(e=e.parent);return c};d.hitTest=function(c,e){var g=f._hitTestContext;g.setTransform(1,
0,0,1,-c,-e);this.draw(g);var h=this._testHit(g);return g.setTransform(1,0,0,1,0,0),g.clearRect(0,0,2,2),h};d.set=function(c){for(var e in c)this[e]=c[e];return this};d.getBounds=function(){if(this._bounds)return this._rectangle.copy(this._bounds);var c=this.cacheCanvas;if(c){var e=this._cacheScale;return this._rectangle.setValues(this._cacheOffsetX,this._cacheOffsetY,c.width/e,c.height/e)}return null};d.getTransformedBounds=function(){return this._getBounds()};d.setBounds=function(c,e,g,h){null==
c&&(this._bounds=c);this._bounds=(this._bounds||new createjs.Rectangle).setValues(c,e,g,h)};d.clone=function(){return this._cloneProps(new f)};d.toString=function(){return"[DisplayObject (name\x3d"+this.name+")]"};d._cloneProps=function(c){return c.alpha=this.alpha,c.mouseEnabled=this.mouseEnabled,c.tickEnabled=this.tickEnabled,c.name=this.name,c.regX=this.regX,c.regY=this.regY,c.rotation=this.rotation,c.scaleX=this.scaleX,c.scaleY=this.scaleY,c.shadow=this.shadow,c.skewX=this.skewX,c.skewY=this.skewY,
c.visible=this.visible,c.x=this.x,c.y=this.y,c.compositeOperation=this.compositeOperation,c.snapToPixel=this.snapToPixel,c.filters=null==this.filters?null:this.filters.slice(0),c.mask=this.mask,c.hitArea=this.hitArea,c.cursor=this.cursor,c._bounds=this._bounds,c};d._applyShadow=function(c,e){e=e||Shadow.identity;c.shadowColor=e.color;c.shadowOffsetX=e.offsetX;c.shadowOffsetY=e.offsetY;c.shadowBlur=e.blur};d._tick=function(c){var e=this._listeners;e&&e.tick&&(c.target=null,c.propagationStopped=c.immediatePropagationStopped=
!1,this.dispatchEvent(c))};d._testHit=function(c){try{var e=1<c.getImageData(0,0,1,1).data[3]}catch(g){if(!f.suppressCrossDomainErrors)throw"An error has occurred. This is most likely due to security restrictions on reading canvas pixel data with local or cross-domain images.";}return e};d._applyFilters=function(){if(this.filters&&0!=this.filters.length&&this.cacheCanvas)for(var c=this.filters.length,e=this.cacheCanvas.getContext("2d"),g=this.cacheCanvas.width,h=this.cacheCanvas.height,k=0;c>k;k++)this.filters[k].applyFilter(e,
0,0,g,h)};d._getFilterBounds=function(c){var e,g=this.filters;c=this._rectangle.setValues(0,0,0,0);if(!g||!(e=g.length))return c;for(g=0;e>g;g++){var h=this.filters[g];h.getBounds&&h.getBounds(c)}return c};d._getBounds=function(c,e){return this._transformBounds(this.getBounds(),c,e)};d._transformBounds=function(c,e,g){if(!c)return c;var h=c.x,k=c.y,l=c.width,m=c.height,n=this._props.matrix,n=g?n.identity():this.getMatrix(n);(h||k)&&n.appendTransform(0,0,1,1,0,0,0,-h,-k);e&&n.prependMatrix(e);e=l*
n.a;l*=n.b;g=m*n.c;var m=m*n.d,p=n.tx,n=n.ty,r=p,q=p,u=n,y=n;return(h=e+p)<r?r=h:h>q&&(q=h),(h=e+g+p)<r?r=h:h>q&&(q=h),(h=g+p)<r?r=h:h>q&&(q=h),(k=l+n)<u?u=k:k>y&&(y=k),(k=l+m+n)<u?u=k:k>y&&(y=k),(k=m+n)<u?u=k:k>y&&(y=k),c.setValues(r,u,q-r,y-u)};d._hasMouseEventListener=function(){for(var c=f._MOUSE_EVENTS,e=0,g=c.length;g>e;e++)if(this.hasEventListener(c[e]))return!0;return!!this.cursor};createjs.DisplayObject=createjs.promote(f,"EventDispatcher")})();this.createjs=this.createjs||{};
(function(){function f(){this.DisplayObject_constructor();this.children=[];this.tickChildren=this.mouseChildren=!0}var d=createjs.extend(f,createjs.DisplayObject);d.getNumChildren=function(){return this.children.length};try{Object.defineProperties(d,{numChildren:{get:d.getNumChildren}})}catch(a){}d.initialize=f;d.isVisible=function(){var b=this.cacheCanvas||this.children.length;return!!(this.visible&&0<this.alpha&&0!=this.scaleX&&0!=this.scaleY&&b)};d.draw=function(b,c){if(this.DisplayObject_draw(b,
c))return!0;for(var e=this.children.slice(),g=0,h=e.length;h>g;g++){var k=e[g];k.isVisible()&&(b.save(),k.updateContext(b),k.draw(b),b.restore())}return!0};d.addChild=function(b){if(null==b)return b;var c=arguments.length;if(1<c){for(var e=0;c>e;e++)this.addChild(arguments[e]);return arguments[c-1]}return b.parent&&b.parent.removeChild(b),b.parent=this,this.children.push(b),b.dispatchEvent("added"),b};d.addChildAt=function(b,c){var e=arguments.length,g=arguments[e-1];if(0>g||g>this.children.length)return arguments[e-
2];if(2<e){for(var h=0;e-1>h;h++)this.addChildAt(arguments[h],g+h);return arguments[e-2]}return b.parent&&b.parent.removeChild(b),b.parent=this,this.children.splice(c,0,b),b.dispatchEvent("added"),b};d.removeChild=function(b){var c=arguments.length;if(1<c){for(var e=!0,g=0;c>g;g++)e=e&&this.removeChild(arguments[g]);return e}return this.removeChildAt(createjs.indexOf(this.children,b))};d.removeChildAt=function(b){var c=arguments.length;if(1<c){for(var e=[],g=0;c>g;g++)e[g]=arguments[g];e.sort(function(k,
l){return l-k});for(var h=!0,g=0;c>g;g++)h=h&&this.removeChildAt(e[g]);return h}if(0>b||b>this.children.length-1)return!1;c=this.children[b];return c&&(c.parent=null),this.children.splice(b,1),c.dispatchEvent("removed"),!0};d.removeAllChildren=function(){for(var b=this.children;b.length;)this.removeChildAt(0)};d.getChildAt=function(b){return this.children[b]};d.getChildByName=function(b){for(var c=this.children,e=0,g=c.length;g>e;e++)if(c[e].name==b)return c[e];return null};d.sortChildren=function(b){this.children.sort(b)};
d.getChildIndex=function(b){return createjs.indexOf(this.children,b)};d.swapChildrenAt=function(b,c){var e=this.children,g=e[b],h=e[c];g&&h&&(e[b]=h,e[c]=g)};d.swapChildren=function(b,c){for(var e,g,h=this.children,k=0,l=h.length;l>k&&(h[k]==b&&(e=k),h[k]==c&&(g=k),null==e||null==g);k++);k!=l&&(h[e]=c,h[g]=b)};d.setChildIndex=function(b,c){var e=this.children,g=e.length;if(!(b.parent!=this||0>c||c>=g)){for(var h=0;g>h&&e[h]!=b;h++);h!=g&&h!=c&&(e.splice(h,1),e.splice(c,0,b))}};d.contains=function(b){for(;b;){if(b==
this)return!0;b=b.parent}return!1};d.hitTest=function(b,c){return null!=this.getObjectUnderPoint(b,c)};d.getObjectsUnderPoint=function(b,c,e){var g=[];b=this.localToGlobal(b,c);return this._getObjectsUnderPoint(b.x,b.y,g,0<e,1==e),g};d.getObjectUnderPoint=function(b,c,e){b=this.localToGlobal(b,c);return this._getObjectsUnderPoint(b.x,b.y,null,0<e,1==e)};d.getBounds=function(){return this._getBounds(null,!0)};d.getTransformedBounds=function(){return this._getBounds()};d.clone=function(b){var c=this._cloneProps(new f);
return b&&this._cloneChildren(c),c};d.toString=function(){return"[Container (name\x3d"+this.name+")]"};d._tick=function(b){if(this.tickChildren)for(var c=this.children.length-1;0<=c;c--){var e=this.children[c];e.tickEnabled&&e._tick&&e._tick(b)}this.DisplayObject__tick(b)};d._cloneChildren=function(b){b.children.length&&b.removeAllChildren();for(var c=b.children,e=0,g=this.children.length;g>e;e++){var h=this.children[e].clone(!0);h.parent=b;c.push(h)}};d._getObjectsUnderPoint=function(b,c,e,g,h,k){if(k=
k||0,!k&&!this._testMask(this,b,c))return null;var l,m=createjs.DisplayObject._hitTestContext;h=h||g&&this._hasMouseEventListener();for(var n=this.children,p=n.length-1;0<=p;p--){var r=n[p],q=r.hitArea;if(r.visible&&(q||r.isVisible())&&(!g||r.mouseEnabled)&&(q||this._testMask(r,b,c)))if(!q&&r instanceof f){if(r=r._getObjectsUnderPoint(b,c,e,g,h,k+1),!e&&r)return g&&!this.mouseChildren?this:r}else if(!g||h||r._hasMouseEventListener()){var u=r.getConcatenatedDisplayProps(r._props);if(l=u.matrix,q&&
(l.appendMatrix(q.getMatrix(q._props.matrix)),u.alpha=q.alpha),m.globalAlpha=u.alpha,m.setTransform(l.a,l.b,l.c,l.d,l.tx-b,l.ty-c),(q||r).draw(m),this._testHit(m)){if(m.setTransform(1,0,0,1,0,0),m.clearRect(0,0,2,2),!e)return g&&!this.mouseChildren?this:r;e.push(r)}}}return null};d._testMask=function(b,c,e){var g=b.mask;if(!g||!g.graphics||g.graphics.isEmpty())return!0;var h=this._props.matrix,h=(b=b.parent)?b.getConcatenatedMatrix(h):h.identity(),h=g.getMatrix(g._props.matrix).prependMatrix(h);b=
createjs.DisplayObject._hitTestContext;return b.setTransform(h.a,h.b,h.c,h.d,h.tx-c,h.ty-e),g.graphics.drawAsPath(b),b.fillStyle="#000",b.fill(),this._testHit(b)?(b.setTransform(1,0,0,1,0,0),b.clearRect(0,0,2,2),!0):!1};d._getBounds=function(b,c){var e=this.DisplayObject_getBounds();if(e)return this._transformBounds(e,b,c);var g=this._props.matrix,g=c?g.identity():this.getMatrix(g);b&&g.prependMatrix(b);for(var h=this.children.length,k=null,l=0;h>l;l++){var m=this.children[l];m.visible&&(e=m._getBounds(g))&&
(k?k.extend(e.x,e.y,e.width,e.height):k=e.clone())}return k};createjs.Container=createjs.promote(f,"DisplayObject")})();this.createjs=this.createjs||{};
(function(){function f(b){this.Container_constructor();this.autoClear=!0;this.canvas="string"==typeof b?document.getElementById(b):b;this.mouseY=this.mouseX=0;this.drawRect=null;this.mouseInBounds=this.snapToPixelEnabled=!1;this.tickOnUpdate=!0;this.mouseMoveOutside=!1;this.preventSelection=!0;this._pointerData={};this._pointerCount=0;this._prevStage=this._nextStage=this._mouseOverIntervalID=this._primaryPointerID=null;this.enableDOMEvents(!0)}var d=createjs.extend(f,createjs.Container);d._get_nextStage=
function(){return this._nextStage};d._set_nextStage=function(b){this._nextStage&&(this._nextStage._prevStage=null);b&&(b._prevStage=this);this._nextStage=b};try{Object.defineProperties(d,{nextStage:{get:d._get_nextStage,set:d._set_nextStage}})}catch(a){}d.update=function(b){if(this.canvas&&(this.tickOnUpdate&&this.tick(b),!1!==this.dispatchEvent("drawstart",!1,!0))){createjs.DisplayObject._snapToPixelEnabled=this.snapToPixelEnabled;b=this.drawRect;var c=this.canvas.getContext("2d");c.setTransform(1,
0,0,1,0,0);this.autoClear&&(b?c.clearRect(b.x,b.y,b.width,b.height):c.clearRect(0,0,this.canvas.width+1,this.canvas.height+1));c.save();this.drawRect&&(c.beginPath(),c.rect(b.x,b.y,b.width,b.height),c.clip());this.updateContext(c);this.draw(c,!1);c.restore();this.dispatchEvent("drawend")}};d.tick=function(b){if(this.tickEnabled&&!1!==this.dispatchEvent("tickstart",!1,!0)){var c=new createjs.Event("tick");if(b)for(var e in b)b.hasOwnProperty(e)&&(c[e]=b[e]);this._tick(c);this.dispatchEvent("tickend")}};
d.handleEvent=function(b){"tick"==b.type&&this.update(b)};d.clear=function(){if(this.canvas){var b=this.canvas.getContext("2d");b.setTransform(1,0,0,1,0,0);b.clearRect(0,0,this.canvas.width+1,this.canvas.height+1)}};d.toDataURL=function(b,c){var e,g=this.canvas.getContext("2d"),h=this.canvas.width,k=this.canvas.height;if(b){e=g.getImageData(0,0,h,k);var l=g.globalCompositeOperation;g.globalCompositeOperation="destination-over";g.fillStyle=b;g.fillRect(0,0,h,k)}h=this.canvas.toDataURL(c||"image/png");
return b&&(g.putImageData(e,0,0),g.globalCompositeOperation=l),h};d.enableMouseOver=function(b){if(this._mouseOverIntervalID&&(clearInterval(this._mouseOverIntervalID),this._mouseOverIntervalID=null,0==b&&this._testMouseOver(!0)),null==b)b=20;else if(0>=b)return;var c=this;this._mouseOverIntervalID=setInterval(function(){c._testMouseOver()},1E3/Math.min(50,b))};d.enableDOMEvents=function(b){null==b&&(b=!0);var c,e=this._eventListeners;if(!b&&e){for(c in e)b=e[c],b.t.removeEventListener(c,b.f,!1);
this._eventListeners=null}else if(b&&!e&&this.canvas){b=window.addEventListener?window:document;var g=this,e=this._eventListeners={};e.mouseup={t:b,f:function(h){g._handleMouseUp(h)}};e.mousemove={t:b,f:function(h){g._handleMouseMove(h)}};e.dblclick={t:this.canvas,f:function(h){g._handleDoubleClick(h)}};e.mousedown={t:this.canvas,f:function(h){g._handleMouseDown(h)}};for(c in e)b=e[c],b.t.addEventListener(c,b.f,!1)}};d.clone=function(){throw"Stage cannot be cloned.";};d.toString=function(){return"[Stage (name\x3d"+
this.name+")]"};d._getElementRect=function(b){var c;try{c=b.getBoundingClientRect()}catch(e){c={top:b.offsetTop,left:b.offsetLeft,width:b.offsetWidth,height:b.offsetHeight}}var g=(window.pageXOffset||document.scrollLeft||0)-(document.clientLeft||document.body.clientLeft||0),h=(window.pageYOffset||document.scrollTop||0)-(document.clientTop||document.body.clientTop||0),k=window.getComputedStyle?getComputedStyle(b,null):b.currentStyle;b=parseInt(k.paddingLeft)+parseInt(k.borderLeftWidth);var l=parseInt(k.paddingTop)+
parseInt(k.borderTopWidth),m=parseInt(k.paddingRight)+parseInt(k.borderRightWidth),k=parseInt(k.paddingBottom)+parseInt(k.borderBottomWidth);return{left:c.left+g+b,right:c.right+g-m,top:c.top+h+l,bottom:c.bottom+h-k}};d._getPointerData=function(b){var c=this._pointerData[b];return c||(c=this._pointerData[b]={x:0,y:0}),c};d._handleMouseMove=function(b){b||(b=window.event);this._handlePointerMove(-1,b,b.pageX,b.pageY)};d._handlePointerMove=function(b,c,e,g,h){if((!this._prevStage||void 0!==h)&&this.canvas){h=
this._nextStage;var k=this._getPointerData(b),l=k.inBounds;this._updatePointerPosition(b,c,e,g);(l||k.inBounds||this.mouseMoveOutside)&&(-1===b&&k.inBounds==!l&&this._dispatchMouseEvent(this,l?"mouseleave":"mouseenter",!1,b,k,c),this._dispatchMouseEvent(this,"stagemousemove",!1,b,k,c),this._dispatchMouseEvent(k.target,"pressmove",!0,b,k,c));h&&h._handlePointerMove(b,c,e,g,null)}};d._updatePointerPosition=function(b,c,e,g){var h=this._getElementRect(this.canvas);e-=h.left;g-=h.top;var k=this.canvas.width,
l=this.canvas.height;e/=(h.right-h.left)/k;g/=(h.bottom-h.top)/l;h=this._getPointerData(b);(h.inBounds=0<=e&&0<=g&&k-1>=e&&l-1>=g)?(h.x=e,h.y=g):this.mouseMoveOutside&&(h.x=0>e?0:e>k-1?k-1:e,h.y=0>g?0:g>l-1?l-1:g);h.posEvtObj=c;h.rawX=e;h.rawY=g;(b===this._primaryPointerID||-1===b)&&(this.mouseX=h.x,this.mouseY=h.y,this.mouseInBounds=h.inBounds)};d._handleMouseUp=function(b){this._handlePointerUp(-1,b,!1)};d._handlePointerUp=function(b,c,e,g){var h=this._nextStage,k=this._getPointerData(b);if(!this._prevStage||
void 0!==g){var l=null,m=k.target;g||!m&&!h||(l=this._getObjectsUnderPoint(k.x,k.y,null,!0));k.down&&(this._dispatchMouseEvent(this,"stagemouseup",!1,b,k,c,l),k.down=!1);l==m&&this._dispatchMouseEvent(m,"click",!0,b,k,c);this._dispatchMouseEvent(m,"pressup",!0,b,k,c);e?(b==this._primaryPointerID&&(this._primaryPointerID=null),delete this._pointerData[b]):k.target=null;h&&h._handlePointerUp(b,c,e,g||l&&this)}};d._handleMouseDown=function(b){this._handlePointerDown(-1,b,b.pageX,b.pageY)};d._handlePointerDown=
function(b,c,e,g,h){this.preventSelection&&c.preventDefault();null!=this._primaryPointerID&&-1!==b||(this._primaryPointerID=b);null!=g&&this._updatePointerPosition(b,c,e,g);var k=null,l=this._nextStage,m=this._getPointerData(b);h||(k=m.target=this._getObjectsUnderPoint(m.x,m.y,null,!0));m.inBounds&&(this._dispatchMouseEvent(this,"stagemousedown",!1,b,m,c,k),m.down=!0);this._dispatchMouseEvent(k,"mousedown",!0,b,m,c);l&&l._handlePointerDown(b,c,e,g,h||k&&this)};d._testMouseOver=function(b,c,e){if(!this._prevStage||
void 0!==c){var g=this._nextStage;if(!this._mouseOverIntervalID)return void(g&&g._testMouseOver(b,c,e));var h=this._getPointerData(-1);if(h&&(b||this.mouseX!=this._mouseOverX||this.mouseY!=this._mouseOverY||!this.mouseInBounds)){var k,l,m=h.posEvtObj,n=e||m&&m.target==this.canvas,p=null,r=-1;l="";!c&&(b||this.mouseInBounds&&n)&&(p=this._getObjectsUnderPoint(this.mouseX,this.mouseY,null,!0),this._mouseOverX=this.mouseX,this._mouseOverY=this.mouseY);var q=this._mouseOverTarget||[],u=q[q.length-1],y=
this._mouseOverTarget=[];for(k=p;k;)y.unshift(k),l||(l=k.cursor),k=k.parent;this.canvas.style.cursor=l;!c&&e&&(e.canvas.style.cursor=l);k=0;for(l=y.length;l>k&&y[k]==q[k];k++)r=k;u!=p&&this._dispatchMouseEvent(u,"mouseout",!0,-1,h,m,p);for(k=q.length-1;k>r;k--)this._dispatchMouseEvent(q[k],"rollout",!1,-1,h,m,p);for(k=y.length-1;k>r;k--)this._dispatchMouseEvent(y[k],"rollover",!1,-1,h,m,u);u!=p&&this._dispatchMouseEvent(p,"mouseover",!0,-1,h,m,u);g&&g._testMouseOver(b,c||p&&this,e||n&&this)}}};d._handleDoubleClick=
function(b,c){var e=null,g=this._nextStage,h=this._getPointerData(-1);c||(e=this._getObjectsUnderPoint(h.x,h.y,null,!0),this._dispatchMouseEvent(e,"dblclick",!0,-1,h,b));g&&g._handleDoubleClick(b,c||e&&this)};d._dispatchMouseEvent=function(b,c,e,g,h,k,l){b&&(e||b.hasEventListener(c))&&(c=new createjs.MouseEvent(c,e,!1,h.x,h.y,k,g,g===this._primaryPointerID||-1===g,h.rawX,h.rawY,l),b.dispatchEvent(c))};createjs.Stage=createjs.promote(f,"Container")})();this.createjs=this.createjs||{};
(function(){function f(a){this.DisplayObject_constructor();"string"==typeof a?(this.image=document.createElement("img"),this.image.src=a):this.image=a;this.sourceRect=null}var d=createjs.extend(f,createjs.DisplayObject);d.initialize=f;d.isVisible=function(){var a=this.image,a=this.cacheCanvas||a&&(a.naturalWidth||a.getContext||2<=a.readyState);return!!(this.visible&&0<this.alpha&&0!=this.scaleX&&0!=this.scaleY&&a)};d.draw=function(a,b){if(this.DisplayObject_draw(a,b)||!this.image)return!0;var c=this.image,
e=this.sourceRect;if(e){var g=e.x,h=e.y,k=g+e.width,e=h+e.height,l=0,m=0,n=c.width,p=c.height;0>g&&(l-=g,g=0);k>n&&(k=n);0>h&&(m-=h,h=0);e>p&&(e=p);a.drawImage(c,g,h,k-g,e-h,l,m,k-g,e-h)}else a.drawImage(c,0,0);return!0};d.getBounds=function(){var a=this.DisplayObject_getBounds();if(a)return a;var a=this.image,b=this.sourceRect||a;return a&&(a.naturalWidth||a.getContext||2<=a.readyState)?this._rectangle.setValues(0,0,b.width,b.height):null};d.clone=function(){var a=new f(this.image);return this.sourceRect&&
(a.sourceRect=this.sourceRect.clone()),this._cloneProps(a),a};d.toString=function(){return"[Bitmap (name\x3d"+this.name+")]"};createjs.Bitmap=createjs.promote(f,"DisplayObject")})();this.createjs=this.createjs||{};
(function(){function f(a,b){this.DisplayObject_constructor();this.currentFrame=0;this.currentAnimation=null;this.paused=!0;this.spriteSheet=a;this.framerate=this.currentAnimationFrame=0;this._currentFrame=this._animation=null;this._skipAdvance=!1;null!=b&&this.gotoAndPlay(b)}var d=createjs.extend(f,createjs.DisplayObject);d.initialize=f;d.isVisible=function(){var a=this.cacheCanvas||this.spriteSheet.complete;return!!(this.visible&&0<this.alpha&&0!=this.scaleX&&0!=this.scaleY&&a)};d.draw=function(a,
b){if(this.DisplayObject_draw(a,b))return!0;this._normalizeFrame();var c=this.spriteSheet.getFrame(0|this._currentFrame);if(!c)return!1;var e=c.rect;return e.width&&e.height&&a.drawImage(c.image,e.x,e.y,e.width,e.height,-c.regX,-c.regY,e.width,e.height),!0};d.play=function(){this.paused=!1};d.stop=function(){this.paused=!0};d.gotoAndPlay=function(a){this.paused=!1;this._skipAdvance=!0;this._goto(a)};d.gotoAndStop=function(a){this.paused=!0;this._goto(a)};d.advance=function(a){var b=this.framerate||
this.spriteSheet.framerate;this._normalizeFrame(b&&null!=a?a/(1E3/b):1)};d.getBounds=function(){return this.DisplayObject_getBounds()||this.spriteSheet.getFrameBounds(this.currentFrame,this._rectangle)};d.clone=function(){return this._cloneProps(new f(this.spriteSheet))};d.toString=function(){return"[Sprite (name\x3d"+this.name+")]"};d._cloneProps=function(a){return this.DisplayObject__cloneProps(a),a.currentFrame=this.currentFrame,a.currentAnimation=this.currentAnimation,a.paused=this.paused,a.currentAnimationFrame=
this.currentAnimationFrame,a.framerate=this.framerate,a._animation=this._animation,a._currentFrame=this._currentFrame,a._skipAdvance=this._skipAdvance,a};d._tick=function(a){this.paused||(this._skipAdvance||this.advance(a&&a.delta),this._skipAdvance=!1);this.DisplayObject__tick(a)};d._normalizeFrame=function(a){a=a||0;var b,c=this._animation,e=this.paused,g=this._currentFrame;if(c){var h=c.speed||1,k=this.currentAnimationFrame;if(b=c.frames.length,k+a*h>=b){var l=c.next;if(this._dispatchAnimationEnd(c,
g,e,l,b-1))return;if(l)return this._goto(l,a-(b-k)/h);this.paused=!0;k=c.frames.length-1}else k+=a*h;this.currentAnimationFrame=k;this._currentFrame=c.frames[0|k]}else if(g=this._currentFrame+=a,b=this.spriteSheet.getNumFrames(),g>=b&&0<b&&!this._dispatchAnimationEnd(c,g,e,b-1)&&(this._currentFrame-=b)>=b)return this._normalizeFrame();g=0|this._currentFrame;this.currentFrame!=g&&(this.currentFrame=g,this.dispatchEvent("change"))};d._dispatchAnimationEnd=function(a,b,c,e,g){var h=a?a.name:null;if(this.hasEventListener("animationend")){var k=
new createjs.Event("animationend");k.name=h;k.next=e;this.dispatchEvent(k)}a=this._animation!=a||this._currentFrame!=b;return a||c||!this.paused||(this.currentAnimationFrame=g,a=!0),a};d._goto=function(a,b){if(this.currentAnimationFrame=0,isNaN(a)){var c=this.spriteSheet.getAnimation(a);c&&(this._animation=c,this.currentAnimation=a,this._normalizeFrame(b))}else this.currentAnimation=this._animation=null,this._currentFrame=a,this._normalizeFrame()};createjs.Sprite=createjs.promote(f,"DisplayObject")})();
this.createjs=this.createjs||{};
(function(){function f(a){this.DisplayObject_constructor();this.graphics=a?a:new createjs.Graphics}var d=createjs.extend(f,createjs.DisplayObject);d.isVisible=function(){var a=this.cacheCanvas||this.graphics&&!this.graphics.isEmpty();return!!(this.visible&&0<this.alpha&&0!=this.scaleX&&0!=this.scaleY&&a)};d.draw=function(a,b){return this.DisplayObject_draw(a,b)?!0:(this.graphics.draw(a,this),!0)};d.clone=function(a){a=a&&this.graphics?this.graphics.clone():this.graphics;return this._cloneProps(new f(a))};
d.toString=function(){return"[Shape (name\x3d"+this.name+")]"};createjs.Shape=createjs.promote(f,"DisplayObject")})();this.createjs=this.createjs||{};
(function(){function f(b,c,e){this.DisplayObject_constructor();this.text=b;this.font=c;this.color=e;this.textAlign="left";this.textBaseline="top";this.maxWidth=null;this.lineHeight=this.outline=0;this.lineWidth=null}var d=createjs.extend(f,createjs.DisplayObject),a=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas");a.getContext&&(f._workingContext=a.getContext("2d"),a.width=a.height=1);f.H_OFFSETS={start:0,left:0,center:-0.5,end:-1,right:-1};f.V_OFFSETS={top:0,hanging:-0.01,
middle:-0.4,alphabetic:-0.8,ideographic:-0.85,bottom:-1};d.isVisible=function(){var b=this.cacheCanvas||null!=this.text&&""!==this.text;return!!(this.visible&&0<this.alpha&&0!=this.scaleX&&0!=this.scaleY&&b)};d.draw=function(b,c){if(this.DisplayObject_draw(b,c))return!0;var e=this.color||"#000";return this.outline?(b.strokeStyle=e,b.lineWidth=1*this.outline):b.fillStyle=e,this._drawText(this._prepContext(b)),!0};d.getMeasuredWidth=function(){return this._getMeasuredWidth(this.text)};d.getMeasuredLineHeight=
function(){return 1.2*this._getMeasuredWidth("M")};d.getMeasuredHeight=function(){return this._drawText(null,{}).height};d.getBounds=function(){var b=this.DisplayObject_getBounds();if(b)return b;if(null==this.text||""===this.text)return null;var b=this._drawText(null,{}),c=this.maxWidth&&this.maxWidth<b.width?this.maxWidth:b.width,e=c*f.H_OFFSETS[this.textAlign||"left"],g=(this.lineHeight||this.getMeasuredLineHeight())*f.V_OFFSETS[this.textBaseline||"top"];return this._rectangle.setValues(e,g,c,b.height)};
d.getMetrics=function(){var b={lines:[]};return b.lineHeight=this.lineHeight||this.getMeasuredLineHeight(),b.vOffset=b.lineHeight*f.V_OFFSETS[this.textBaseline||"top"],this._drawText(null,b,b.lines)};d.clone=function(){return this._cloneProps(new f(this.text,this.font,this.color))};d.toString=function(){return"[Text (text\x3d"+(20<this.text.length?this.text.substr(0,17)+"...":this.text)+")]"};d._cloneProps=function(b){return this.DisplayObject__cloneProps(b),b.textAlign=this.textAlign,b.textBaseline=
this.textBaseline,b.maxWidth=this.maxWidth,b.outline=this.outline,b.lineHeight=this.lineHeight,b.lineWidth=this.lineWidth,b};d._prepContext=function(b){return b.font=this.font||"10px sans-serif",b.textAlign=this.textAlign||"left",b.textBaseline=this.textBaseline||"top",b};d._drawText=function(b,c,e){var g=!!b;g||(b=f._workingContext,b.save(),this._prepContext(b));for(var h=this.lineHeight||this.getMeasuredLineHeight(),k=0,l=0,m=String(this.text).split(/(?:\r\n|\r|\n)/),n=0,p=m.length;p>n;n++){var r=
m[n],q=null;if(null!=this.lineWidth&&(q=b.measureText(r).width)>this.lineWidth)for(var u=r.split(/(\s)/),r=u[0],q=b.measureText(r).width,y=1,C=u.length;C>y;y+=2){var I=b.measureText(u[y]+u[y+1]).width;q+I>this.lineWidth?(g&&this._drawTextLine(b,r,l*h),e&&e.push(r),q>k&&(k=q),r=u[y+1],q=b.measureText(r).width,l++):(r+=u[y]+u[y+1],q+=I)}g&&this._drawTextLine(b,r,l*h);e&&e.push(r);c&&null==q&&(q=b.measureText(r).width);q>k&&(k=q);l++}return c&&(c.width=k,c.height=l*h),g||b.restore(),c};d._drawTextLine=
function(b,c,e){this.outline?b.strokeText(c,0,e,this.maxWidth||65535):b.fillText(c,0,e,this.maxWidth||65535)};d._getMeasuredWidth=function(b){var c=f._workingContext;c.save();b=this._prepContext(c).measureText(b).width;return c.restore(),b};createjs.Text=createjs.promote(f,"DisplayObject")})();this.createjs=this.createjs||{};
(function(){function f(a,b){this.Container_constructor();this.text=a||"";this.spriteSheet=b;this.spaceWidth=this.letterSpacing=this.lineHeight=0;this._oldProps={text:0,spriteSheet:0,lineHeight:0,letterSpacing:0,spaceWidth:0}}var d=createjs.extend(f,createjs.Container);f.maxPoolSize=100;f._spritePool=[];d.draw=function(a,b){this.DisplayObject_draw(a,b)||(this._updateText(),this.Container_draw(a,b))};d.getBounds=function(){return this._updateText(),this.Container_getBounds()};d.isVisible=function(){var a=
this.cacheCanvas||this.spriteSheet&&this.spriteSheet.complete&&this.text;return!!(this.visible&&0<this.alpha&&0!==this.scaleX&&0!==this.scaleY&&a)};d.clone=function(){return this._cloneProps(new f(this.text,this.spriteSheet))};d.addChild=d.addChildAt=d.removeChild=d.removeChildAt=d.removeAllChildren=function(){};d._cloneProps=function(a){return this.Container__cloneProps(a),a.lineHeight=this.lineHeight,a.letterSpacing=this.letterSpacing,a.spaceWidth=this.spaceWidth,a};d._getFrameIndex=function(a,
b){var c,e=b.getAnimation(a);return e||(a!=(c=a.toUpperCase())||a!=(c=a.toLowerCase())||(c=null),c&&(e=b.getAnimation(c))),e&&e.frames[0]};d._getFrame=function(a,b){var c=this._getFrameIndex(a,b);return null==c?c:b.getFrame(c)};d._getLineHeight=function(a){return(a=this._getFrame("1",a)||this._getFrame("T",a)||this._getFrame("L",a)||a.getFrame(0))?a.rect.height:1};d._getSpaceWidth=function(a){return(a=this._getFrame("1",a)||this._getFrame("l",a)||this._getFrame("e",a)||this._getFrame("a",a)||a.getFrame(0))?
a.rect.width:1};d._updateText=function(){var a,b=0,c=0,e=this._oldProps,g=!1,h=this.spaceWidth,k=this.lineHeight,l=this.spriteSheet,m=f._spritePool,n=this.children,p=0,r=n.length,q;for(q in e)e[q]!=this[q]&&(e[q]=this[q],g=!0);if(g){(e=!!this._getFrame(" ",l))||h||(h=this._getSpaceWidth(l));k||(k=this._getLineHeight(l));g=0;for(q=this.text.length;q>g;g++){var u=this.text.charAt(g);" "!=u||e?"\n"!=u&&"\r"!=u?(u=this._getFrameIndex(u,l),null!=u&&(r>p?a=n[p]:(n.push(a=m.length?m.pop():new createjs.Sprite),
a.parent=this,r++),a.spriteSheet=l,a.gotoAndStop(u),a.x=b,a.y=c,p++,b+=a.getBounds().width+this.letterSpacing)):("\r"==u&&"\n"==this.text.charAt(g+1)&&g++,b=0,c+=k):b+=h}for(;r>p;)m.push(a=n.pop()),a.parent=null,r--;m.length>f.maxPoolSize&&(m.length=f.maxPoolSize)}};createjs.BitmapText=createjs.promote(f,"Container")})();this.createjs=this.createjs||{};
(function(){function f(c,e,g,h){this.Container_constructor();!f.inited&&f.init();this.mode=c||f.INDEPENDENT;this.startPosition=e||0;this.loop=g;this.currentFrame=0;this.timeline=new createjs.Timeline(null,h,{paused:!0,position:e,useTicks:!0});this.paused=!1;this.autoReset=this.actionsEnabled=!0;this.frameBounds=this.frameBounds||null;this.framerate=null;this._synchOffset=0;this._prevPos=-1;this._t=this._prevPosition=0;this._managed={}}function d(){throw"MovieClipPlugin cannot be instantiated.";}var a=
createjs.extend(f,createjs.Container);f.INDEPENDENT="independent";f.SINGLE_FRAME="single";f.SYNCHED="synched";f.inited=!1;f.init=function(){f.inited||(d.install(),f.inited=!0)};a.getLabels=function(){return this.timeline.getLabels()};a.getCurrentLabel=function(){return this._updateTimeline(),this.timeline.getCurrentLabel()};a.getDuration=function(){return this.timeline.duration};try{Object.defineProperties(a,{labels:{get:a.getLabels},currentLabel:{get:a.getCurrentLabel},totalFrames:{get:a.getDuration},
duration:{get:a.getDuration}})}catch(b){}a.initialize=f;a.isVisible=function(){return!!(this.visible&&0<this.alpha&&0!=this.scaleX&&0!=this.scaleY)};a.draw=function(c,e){return this.DisplayObject_draw(c,e)?!0:(this._updateTimeline(),this.Container_draw(c,e),!0)};a.play=function(){this.paused=!1};a.stop=function(){this.paused=!0};a.gotoAndPlay=function(c){this.paused=!1;this._goto(c)};a.gotoAndStop=function(c){this.paused=!0;this._goto(c)};a.advance=function(c){var e=f.INDEPENDENT;if(this.mode==e){for(var g=
this,h=g.framerate;(g=g.parent)&&null==h;)g.mode==e&&(h=g._framerate);this._framerate=h;c=null!=h&&-1!=h&&null!=c?c/(1E3/h)+this._t:1;e=0|c;for(this._t=c-e;!this.paused&&e--;)this._prevPosition=0>this._prevPos?0:this._prevPosition+1,this._updateTimeline()}};a.clone=function(){throw"MovieClip cannot be cloned.";};a.toString=function(){return"[MovieClip (name\x3d"+this.name+")]"};a._tick=function(c){this.advance(c&&c.delta);this.Container__tick(c)};a._goto=function(c){c=this.timeline.resolve(c);null!=
c&&(-1==this._prevPos&&(this._prevPos=NaN),this._prevPosition=c,this._t=0,this._updateTimeline())};a._reset=function(){this._prevPos=-1;this._t=this.currentFrame=0;this.paused=!1};a._updateTimeline=function(){var c=this.timeline,e=this.mode!=f.INDEPENDENT;c.loop=null==this.loop?!0:this.loop;var g=e?this.startPosition+(this.mode==f.SINGLE_FRAME?0:this._synchOffset):0>this._prevPos?0:this._prevPosition,e=e||!this.actionsEnabled?createjs.Tween.NONE:null;if(this.currentFrame=c._calcPosition(g),c.setPosition(g,
e),this._prevPosition=c._prevPosition,this._prevPos!=c._prevPos){this.currentFrame=this._prevPos=c._prevPos;for(var h in this._managed)this._managed[h]=1;g=c._tweens;c=0;for(h=g.length;h>c;c++){var k=g[c],e=k._target;e==this||k.passive||(k=k._stepPosition,e instanceof createjs.DisplayObject?this._addManagedChild(e,k):this._setState(e.state,k))}g=this.children;for(c=g.length-1;0<=c;c--)h=g[c].id,1==this._managed[h]&&(this.removeChildAt(c),delete this._managed[h])}};a._setState=function(c,e){if(c)for(var g=
c.length-1;0<=g;g--){var h=c[g],k=h.t,h=h.p,l;for(l in h)k[l]=h[l];this._addManagedChild(k,e)}};a._addManagedChild=function(c,e){c._off||(this.addChildAt(c,0),c instanceof f&&(c._synchOffset=e,c.mode==f.INDEPENDENT&&c.autoReset&&!this._managed[c.id]&&c._reset()),this._managed[c.id]=2)};a._getBounds=function(c,e){var g=this.DisplayObject_getBounds();return g||(this._updateTimeline(),this.frameBounds&&(g=this._rectangle.copy(this.frameBounds[this.currentFrame]))),g?this._transformBounds(g,c,e):this.Container__getBounds(c,
e)};createjs.MovieClip=createjs.promote(f,"Container");d.priority=100;d.install=function(){createjs.Tween.installPlugin(d,["startPosition"])};d.init=function(c,e,g){return g};d.step=function(){};d.tween=function(c,e,g,h,k,l,m,n){return c.target instanceof f?1==l?k[e]:h[e]:g}})();this.createjs=this.createjs||{};
(function(){function f(){throw"SpriteSheetUtils cannot be instantiated";}var d=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas");d.getContext&&(f._workingCanvas=d,f._workingContext=d.getContext("2d"),d.width=d.height=1);f.addFlippedFrames=function(a,b,c,e){if(b||c||e){var g=0;b&&f._flip(a,++g,!0,!1);c&&f._flip(a,++g,!1,!0);e&&f._flip(a,++g,!0,!0)}};f.extractFrame=function(a,b){isNaN(b)&&(b=a.getAnimation(b).frames[0]);var c=a.getFrame(b);if(!c)return null;var e=c.rect,
g=f._workingCanvas;g.width=e.width;g.height=e.height;f._workingContext.drawImage(c.image,e.x,e.y,e.width,e.height,0,0,e.width,e.height);c=document.createElement("img");return c.src=g.toDataURL("image/png"),c};f.mergeAlpha=function(a,b,c){c||(c=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas"));c.width=Math.max(b.width,a.width);c.height=Math.max(b.height,a.height);var e=c.getContext("2d");return e.save(),e.drawImage(a,0,0),e.globalCompositeOperation="destination-in",e.drawImage(b,
0,0),e.restore(),c};f._flip=function(a,b,c,e){for(var g=a._images,h=f._workingCanvas,k=f._workingContext,l=g.length/b,m=0;l>m;m++){var n=g[m];n.__tmp=m;k.setTransform(1,0,0,1,0,0);k.clearRect(0,0,h.width+1,h.height+1);h.width=n.width;h.height=n.height;k.setTransform(c?-1:1,0,0,e?-1:1,c?n.width:0,e?n.height:0);k.drawImage(n,0,0);var p=document.createElement("img");p.src=h.toDataURL("image/png");p.width=n.width;p.height=n.height;g.push(p)}k=a._frames;h=k.length/b;for(m=0;h>m;m++){var n=k[m],r=n.rect.clone(),
p=g[n.image.__tmp+l*b],q={image:p,rect:r,regX:n.regX,regY:n.regY};c&&(r.x=p.width-r.x-r.width,q.regX=r.width-n.regX);e&&(r.y=p.height-r.y-r.height,q.regY=r.height-n.regY);k.push(q)}c="_"+(c?"h":"")+(e?"v":"");e=a._animations;a=a._data;g=e.length/b;for(m=0;g>m;m++){k=e[m];n=a[k];l={name:k+c,speed:n.speed,next:n.next,frames:[]};n.next&&(l.next+=c);k=n.frames;n=0;for(p=k.length;p>n;n++)l.frames.push(k[n]+h*b);a[l.name]=l;e.push(l.name)}};createjs.SpriteSheetUtils=f})();this.createjs=this.createjs||{};
(function(){function f(a){this.EventDispatcher_constructor();this.maxHeight=this.maxWidth=2048;this.spriteSheet=null;this.padding=this.scale=1;this.timeSlice=0.3;this.progress=-1;this.framerate=a||0;this._frames=[];this._animations={};this._data=null;this._index=this._nextFrameIndex=0;this._timerID=null;this._scale=1}var d=createjs.extend(f,createjs.EventDispatcher);f.ERR_DIMENSIONS="frame dimensions exceed max spritesheet dimensions";f.ERR_RUNNING="a build is already running";d.addFrame=function(a,
b,c,e,g){if(this._data)throw f.ERR_RUNNING;b=b||a.bounds||a.nominalBounds;return!b&&a.getBounds&&(b=a.getBounds()),b?(c=c||1,this._frames.push({source:a,sourceRect:b,scale:c,funct:e,data:g,index:this._frames.length,height:b.height*c})-1):null};d.addAnimation=function(a,b,c,e){if(this._data)throw f.ERR_RUNNING;this._animations[a]={frames:b,next:c,speed:e}};d.addMovieClip=function(a,b,c,e,g,h){if(this._data)throw f.ERR_RUNNING;var k=a.frameBounds,l=b||a.bounds||a.nominalBounds;if(!l&&a.getBounds&&(l=
a.getBounds()),l||k){var m,n;b=this._frames.length;var p=a.timeline.duration;for(m=0;p>m;m++)this.addFrame(a,k&&k[m]?k[m]:l,c,this._setupMovieClipFrame,{i:m,f:e,d:g});m=a.timeline._labels;c=[];for(n in m)c.push({index:m[n],label:n});if(c.length)for(c.sort(function(q,u){return q.index-u.index}),m=0,n=c.length;n>m;m++){e=c[m].label;g=b+c[m].index;for(var k=b+(m==n-1?p:c[m+1].index),l=[],r=g;k>r;r++)l.push(r);h&&!(e=h(e,a,g,k))||this.addAnimation(e,l,!0)}}};d.build=function(){if(this._data)throw f.ERR_RUNNING;
for(this._startBuild();this._drawNext(););return this._endBuild(),this.spriteSheet};d.buildAsync=function(a){if(this._data)throw f.ERR_RUNNING;this.timeSlice=a;this._startBuild();var b=this;this._timerID=setTimeout(function(){b._run()},50-50*Math.max(0.01,Math.min(0.99,this.timeSlice||0.3)))};d.stopAsync=function(){clearTimeout(this._timerID);this._data=null};d.clone=function(){throw"SpriteSheetBuilder cannot be cloned.";};d.toString=function(){return"[SpriteSheetBuilder]"};d._startBuild=function(){var a=
this.padding||0;this.progress=0;this.spriteSheet=null;this._index=0;this._scale=this.scale;var b=[];this._data={images:[],frames:b,framerate:this.framerate,animations:this._animations};var c=this._frames.slice();if(c.sort(function(m,n){return m.height<=n.height?-1:1}),c[c.length-1].height+2*a>this.maxHeight)throw f.ERR_DIMENSIONS;for(var e=0,g=0,h=0;c.length;){var k=this._fillRow(c,e,h,b,a);if(k.w>g&&(g=k.w),e+=k.h,!k.h||!c.length){var l=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas");
l.width=this._getSize(g,this.maxWidth);l.height=this._getSize(e,this.maxHeight);this._data.images[h]=l;k.h||(g=e=0,h++)}}};d._setupMovieClipFrame=function(a,b){var c=a.actionsEnabled;a.actionsEnabled=!1;a.gotoAndStop(b.i);a.actionsEnabled=c;b.f&&b.f(a,b.d,b.i)};d._getSize=function(a,b){for(var c=4;Math.pow(2,++c)<a;);return Math.min(b,Math.pow(2,c))};d._fillRow=function(a,b,c,e,g){var h=this.maxWidth,k=this.maxHeight;b+=g;for(var k=k-b,l=g,m=0,n=a.length-1;0<=n;n--){var p=a[n],r=this._scale*p.scale,
q=p.sourceRect,u=p.source,y=Math.floor(r*q.x-g),C=Math.floor(r*q.y-g),I=Math.ceil(r*q.height+2*g),q=Math.ceil(r*q.width+2*g);if(q>h)throw f.ERR_DIMENSIONS;I>k||l+q>h||(p.img=c,p.rect=new createjs.Rectangle(l,b,q,I),m=m||I,a.splice(n,1),e[p.index]=[l,b,q,I,c,Math.round(-y+r*u.regX-g),Math.round(-C+r*u.regY-g)],l+=q)}return{w:l,h:m}};d._endBuild=function(){this.spriteSheet=new createjs.SpriteSheet(this._data);this._data=null;this.progress=1;this.dispatchEvent("complete")};d._run=function(){for(var a=
50*Math.max(0.01,Math.min(0.99,this.timeSlice||0.3)),b=(new Date).getTime()+a,c=!1;b>(new Date).getTime();)if(!this._drawNext()){c=!0;break}if(c)this._endBuild();else{var e=this;this._timerID=setTimeout(function(){e._run()},50-a)}a=this.progress=this._index/this._frames.length;this.hasEventListener("progress")&&(b=new createjs.Event("progress"),b.progress=a,this.dispatchEvent(b))};d._drawNext=function(){var a=this._frames[this._index],b=a.scale*this._scale,c=a.rect,e=a.sourceRect,g=this._data.images[a.img].getContext("2d");
return a.funct&&a.funct(a.source,a.data),g.save(),g.beginPath(),g.rect(c.x,c.y,c.width,c.height),g.clip(),g.translate(Math.ceil(c.x-e.x*b),Math.ceil(c.y-e.y*b)),g.scale(b,b),a.source.draw(g),g.restore(),++this._index<this._frames.length};createjs.SpriteSheetBuilder=createjs.promote(f,"EventDispatcher")})();this.createjs=this.createjs||{};
(function(){function f(a){this.DisplayObject_constructor();"string"==typeof a&&(a=document.getElementById(a));this.mouseEnabled=!1;var b=a.style;b.position="absolute";b.transformOrigin=b.WebkitTransformOrigin=b.msTransformOrigin=b.MozTransformOrigin=b.OTransformOrigin="0% 0%";this.htmlElement=a;this._oldProps=null}var d=createjs.extend(f,createjs.DisplayObject);d.isVisible=function(){return null!=this.htmlElement};d.draw=function(a,b){return!0};d.cache=function(){};d.uncache=function(){};d.updateCache=
function(){};d.hitTest=function(){};d.localToGlobal=function(){};d.globalToLocal=function(){};d.localToLocal=function(){};d.clone=function(){throw"DOMElement cannot be cloned.";};d.toString=function(){return"[DOMElement (name\x3d"+this.name+")]"};d._tick=function(a){var b=this.getStage();b&&b.on("drawend",this._handleDrawEnd,this,!0);this.DisplayObject__tick(a)};d._handleDrawEnd=function(a){if(a=this.htmlElement){a=a.style;var b=this.getConcatenatedDisplayProps(this._props),c=b.matrix,e=b.visible?
"visible":"hidden";if(e!=a.visibility&&(a.visibility=e),b.visible){var g=(e=this._oldProps)&&e.matrix;g&&g.equals(c)||(g="matrix("+(1E4*c.a|0)/1E4+","+(1E4*c.b|0)/1E4+","+(1E4*c.c|0)/1E4+","+(1E4*c.d|0)/1E4+","+(c.tx+0.5|0),a.transform=a.WebkitTransform=a.OTransform=a.msTransform=g+","+(c.ty+0.5|0)+")",a.MozTransform=g+"px,"+(c.ty+0.5|0)+"px)",e||(e=this._oldProps=new createjs.DisplayProps(!0,NaN)),e.matrix.copy(c));e.alpha!=b.alpha&&(a.opacity=""+(1E4*b.alpha|0)/1E4,e.alpha=b.alpha)}}};createjs.DOMElement=
createjs.promote(f,"DisplayObject")})();this.createjs=this.createjs||{};(function(){function f(){}var d=f.prototype;d.getBounds=function(a){return a};d.applyFilter=function(a,b,c,e,g,h,k,l){h=h||a;null==k&&(k=b);null==l&&(l=c);try{var m=a.getImageData(b,c,e,g)}catch(n){return!1}return this._applyFilter(m)?(h.putImageData(m,k,l),!0):!1};d.toString=function(){return"[Filter]"};d.clone=function(){return new f};d._applyFilter=function(a){return!0};createjs.Filter=f})();this.createjs=this.createjs||{};
(function(){function f(a,b,c){(isNaN(a)||0>a)&&(a=0);(isNaN(b)||0>b)&&(b=0);(isNaN(c)||1>c)&&(c=1);this.blurX=0|a;this.blurY=0|b;this.quality=0|c}var d=createjs.extend(f,createjs.Filter);f.MUL_TABLE=[1,171,205,293,57,373,79,137,241,27,391,357,41,19,283,265,497,469,443,421,25,191,365,349,335,161,155,149,9,278,269,261,505,245,475,231,449,437,213,415,405,395,193,377,369,361,353,345,169,331,325,319,313,307,301,37,145,285,281,69,271,267,263,259,509,501,493,243,479,118,465,459,113,446,55,435,429,423,209,
413,51,403,199,393,97,3,379,375,371,367,363,359,355,351,347,43,85,337,333,165,327,323,5,317,157,311,77,305,303,75,297,294,73,289,287,71,141,279,277,275,68,135,67,133,33,262,260,129,511,507,503,499,495,491,61,121,481,477,237,235,467,232,115,457,227,451,7,445,221,439,218,433,215,427,425,211,419,417,207,411,409,203,202,401,399,396,197,49,389,387,385,383,95,189,47,187,93,185,23,183,91,181,45,179,89,177,11,175,87,173,345,343,341,339,337,21,167,83,331,329,327,163,81,323,321,319,159,79,315,313,39,155,309,
307,153,305,303,151,75,299,149,37,295,147,73,291,145,289,287,143,285,71,141,281,35,279,139,69,275,137,273,17,271,135,269,267,133,265,33,263,131,261,130,259,129,257,1];f.SHG_TABLE=[0,9,10,11,9,12,10,11,12,9,13,13,10,9,13,13,14,14,14,14,10,13,14,14,14,13,13,13,9,14,14,14,15,14,15,14,15,15,14,15,15,15,14,15,15,15,15,15,14,15,15,15,15,15,15,12,14,15,15,13,15,15,15,15,16,16,16,15,16,14,16,16,14,16,13,16,16,16,15,16,13,16,15,16,14,9,16,16,16,16,16,16,16,16,16,13,14,16,16,15,16,16,10,16,15,16,14,16,16,14,
16,16,14,16,16,14,15,16,16,16,14,15,14,15,13,16,16,15,17,17,17,17,17,17,14,15,17,17,16,16,17,16,15,17,16,17,11,17,16,17,16,17,16,17,17,16,17,17,16,17,17,16,16,17,17,17,16,14,17,17,17,17,15,16,14,16,15,16,13,16,15,16,14,16,15,16,12,16,15,16,17,17,17,17,17,13,16,15,17,17,17,16,15,17,17,17,16,15,17,17,14,16,17,17,16,17,17,16,15,17,16,14,17,16,15,17,16,17,17,16,17,15,16,17,14,17,16,15,17,16,17,13,17,16,17,17,16,17,14,17,16,17,16,17,16,17,9];d.getBounds=function(a){var b=0|this.blurX,c=0|this.blurY;if(0>=
b&&0>=c)return a;var e=Math.pow(this.quality,0.2);return(a||new createjs.Rectangle).pad(b*e+1,c*e+1,b*e+1,c*e+1)};d.clone=function(){return new f(this.blurX,this.blurY,this.quality)};d.toString=function(){return"[BlurFilter]"};d._applyFilter=function(a){var b=this.blurX>>1;if(isNaN(b)||0>b)return!1;var c=this.blurY>>1;if(isNaN(c)||0>c||0==b&&0==c)return!1;var e=this.quality;(isNaN(e)||1>e)&&(e=1);e|=0;3<e&&(e=3);1>e&&(e=1);var g=a.data,h=0,k=0,l=0,m=0,n=0,p=0,r=0,q=0,u=0,y=0,C=0,I=0,T=0,Q=0,n=0,q=
b+b+1|0,p=c+c+1|0,G=0|a.width;a=0|a.height;for(var R=G-1|0,N=a-1|0,L=b+1|0,M=c+1|0,Z={r:0,b:0,g:0,a:0},h=Z,l=1;q>l;l++)h=h.n={r:0,b:0,g:0,a:0};h.n=Z;for(var U={r:0,b:0,g:0,a:0},k=U,l=1;p>l;l++)k=k.n={r:0,b:0,g:0,a:0};k.n=U;for(var l=null,J=0|f.MUL_TABLE[b],ba=0|f.SHG_TABLE[b],$=0|f.MUL_TABLE[c],ca=0|f.SHG_TABLE[c];0<e--;){for(var r=p=0,K=J,P=ba,k=a;-1<--k;){q=L*(I=g[0|p]);u=L*(T=g[p+1|0]);y=L*(Q=g[p+2|0]);C=L*(n=g[p+3|0]);h=Z;for(l=L;-1<--l;)h.r=I,h.g=T,h.b=Q,h.a=n,h=h.n;for(l=1;L>l;l++)m=p+((l>R?
R:l)<<2)|0,q+=h.r=g[m],u+=h.g=g[m+1],y+=h.b=g[m+2],C+=h.a=g[m+3],h=h.n;l=Z;for(h=0;G>h;h++)g[p++]=q*K>>>P,g[p++]=u*K>>>P,g[p++]=y*K>>>P,g[p++]=C*K>>>P,m=r+((m=h+b+1)<R?m:R)<<2,q-=l.r-(l.r=g[m]),u-=l.g-(l.g=g[m+1]),y-=l.b-(l.b=g[m+2]),C-=l.a-(l.a=g[m+3]),l=l.n;r+=G}K=$;P=ca;for(h=0;G>h;h++){p=h<<2|0;q=M*(I=g[p])|0;u=M*(T=g[p+1|0])|0;y=M*(Q=g[p+2|0])|0;C=M*(n=g[p+3|0])|0;k=U;for(l=0;M>l;l++)k.r=I,k.g=T,k.b=Q,k.a=n,k=k.n;n=G;for(l=1;c>=l;l++)p=n+h<<2,q+=k.r=g[p],u+=k.g=g[p+1],y+=k.b=g[p+2],C+=k.a=g[p+
3],k=k.n,N>l&&(n+=G);if(p=h,l=U,0<e)for(k=0;a>k;k++)m=p<<2,g[m+3]=n=C*K>>>P,0<n?(g[m]=q*K>>>P,g[m+1]=u*K>>>P,g[m+2]=y*K>>>P):g[m]=g[m+1]=g[m+2]=0,m=h+((m=k+M)<N?m:N)*G<<2,q-=l.r-(l.r=g[m]),u-=l.g-(l.g=g[m+1]),y-=l.b-(l.b=g[m+2]),C-=l.a-(l.a=g[m+3]),l=l.n,p+=G;else for(k=0;a>k;k++)m=p<<2,g[m+3]=n=C*K>>>P,0<n?(n=255/n,g[m]=(q*K>>>P)*n,g[m+1]=(u*K>>>P)*n,g[m+2]=(y*K>>>P)*n):g[m]=g[m+1]=g[m+2]=0,m=h+((m=k+M)<N?m:N)*G<<2,q-=l.r-(l.r=g[m]),u-=l.g-(l.g=g[m+1]),y-=l.b-(l.b=g[m+2]),C-=l.a-(l.a=g[m+3]),l=l.n,
p+=G}}return!0};createjs.BlurFilter=createjs.promote(f,"Filter")})();this.createjs=this.createjs||{};
(function(){function f(a){this.alphaMap=a;this._mapData=this._alphaMap=null}var d=createjs.extend(f,createjs.Filter);d.clone=function(){var a=new f(this.alphaMap);return a._alphaMap=this._alphaMap,a._mapData=this._mapData,a};d.toString=function(){return"[AlphaMapFilter]"};d._applyFilter=function(a){if(!this.alphaMap)return!0;if(!this._prepAlphaMap())return!1;a=a.data;for(var b=this._mapData,c=0,e=a.length;e>c;c+=4)a[c+3]=b[c]||0;return!0};d._prepAlphaMap=function(){if(!this.alphaMap)return!1;if(this.alphaMap==
this._alphaMap&&this._mapData)return!0;this._mapData=null;var a,b=this._alphaMap=this.alphaMap,c=b;b instanceof HTMLCanvasElement?a=c.getContext("2d"):(c=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas"),c.width=b.width,c.height=b.height,a=c.getContext("2d"),a.drawImage(b,0,0));try{var e=a.getImageData(0,0,b.width,b.height)}catch(g){return!1}return this._mapData=e.data,!0};createjs.AlphaMapFilter=createjs.promote(f,"Filter")})();this.createjs=this.createjs||{};
(function(){function f(a){this.mask=a}var d=createjs.extend(f,createjs.Filter);d.applyFilter=function(a,b,c,e,g,h,k,l){return this.mask?(h=h||a,null==k&&(k=b),null==l&&(l=c),h.save(),a!=h?!1:(h.globalCompositeOperation="destination-in",h.drawImage(this.mask,k,l),h.restore(),!0)):!0};d.clone=function(){return new f(this.mask)};d.toString=function(){return"[AlphaMaskFilter]"};createjs.AlphaMaskFilter=createjs.promote(f,"Filter")})();this.createjs=this.createjs||{};
(function(){function f(a,b,c,e,g,h,k,l){this.redMultiplier=null!=a?a:1;this.greenMultiplier=null!=b?b:1;this.blueMultiplier=null!=c?c:1;this.alphaMultiplier=null!=e?e:1;this.redOffset=g||0;this.greenOffset=h||0;this.blueOffset=k||0;this.alphaOffset=l||0}var d=createjs.extend(f,createjs.Filter);d.toString=function(){return"[ColorFilter]"};d.clone=function(){return new f(this.redMultiplier,this.greenMultiplier,this.blueMultiplier,this.alphaMultiplier,this.redOffset,this.greenOffset,this.blueOffset,
this.alphaOffset)};d._applyFilter=function(a){a=a.data;for(var b=a.length,c=0;b>c;c+=4)a[c]=a[c]*this.redMultiplier+this.redOffset,a[c+1]=a[c+1]*this.greenMultiplier+this.greenOffset,a[c+2]=a[c+2]*this.blueMultiplier+this.blueOffset,a[c+3]=a[c+3]*this.alphaMultiplier+this.alphaOffset;return!0};createjs.ColorFilter=createjs.promote(f,"Filter")})();this.createjs=this.createjs||{};
(function(){function f(a,b,c,e){this.setColor(a,b,c,e)}var d=f.prototype;f.DELTA_INDEX=[0,0.01,0.02,0.04,0.05,0.06,0.07,0.08,0.1,0.11,0.12,0.14,0.15,0.16,0.17,0.18,0.2,0.21,0.22,0.24,0.25,0.27,0.28,0.3,0.32,0.34,0.36,0.38,0.4,0.42,0.44,0.46,0.48,0.5,0.53,0.56,0.59,0.62,0.65,0.68,0.71,0.74,0.77,0.8,0.83,0.86,0.89,0.92,0.95,0.98,1,1.06,1.12,1.18,1.24,1.3,1.36,1.42,1.48,1.54,1.6,1.66,1.72,1.78,1.84,1.9,1.96,2,2.12,2.25,2.37,2.5,2.62,2.75,2.87,3,3.2,3.4,3.6,3.8,4,4.3,4.7,4.9,5,5.5,6,6.5,6.8,7,7.3,7.5,
7.8,8,8.4,8.7,9,9.4,9.6,9.8,10];f.IDENTITY_MATRIX=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1];f.LENGTH=f.IDENTITY_MATRIX.length;d.setColor=function(a,b,c,e){return this.reset().adjustColor(a,b,c,e)};d.reset=function(){return this.copy(f.IDENTITY_MATRIX)};d.adjustColor=function(a,b,c,e){return this.adjustHue(e),this.adjustContrast(b),this.adjustBrightness(a),this.adjustSaturation(c)};d.adjustBrightness=function(a){return 0==a||isNaN(a)?this:(a=this._cleanValue(a,255),this._multiplyMatrix([1,
0,0,0,a,0,1,0,0,a,0,0,1,0,a,0,0,0,1,0,0,0,0,0,1]),this)};d.adjustContrast=function(a){if(0==a||isNaN(a))return this;a=this._cleanValue(a,100);var b;return 0>a?b=127+a/100*127:(b=a%1,b=0==b?f.DELTA_INDEX[a]:f.DELTA_INDEX[a<<0]*(1-b)+f.DELTA_INDEX[(a<<0)+1]*b,b=127*b+127),this._multiplyMatrix([b/127,0,0,0,0.5*(127-b),0,b/127,0,0,0.5*(127-b),0,0,b/127,0,0.5*(127-b),0,0,0,1,0,0,0,0,0,1]),this};d.adjustSaturation=function(a){if(0==a||isNaN(a))return this;a=this._cleanValue(a,100);a=1+(0<a?3*a/100:a/100);
return this._multiplyMatrix([0.3086*(1-a)+a,0.6094*(1-a),0.082*(1-a),0,0,0.3086*(1-a),0.6094*(1-a)+a,0.082*(1-a),0,0,0.3086*(1-a),0.6094*(1-a),0.082*(1-a)+a,0,0,0,0,0,1,0,0,0,0,0,1]),this};d.adjustHue=function(a){if(0==a||isNaN(a))return this;a=this._cleanValue(a,180)/180*Math.PI;var b=Math.cos(a);a=Math.sin(a);return this._multiplyMatrix([0.213+0.787*b+-0.213*a,0.715+-0.715*b+-0.715*a,0.072+-0.072*b+0.928*a,0,0,0.213+-0.213*b+0.143*a,0.715+b*(1-0.715)+0.14*a,0.072+-0.072*b+-0.283*a,0,0,0.213+-0.213*
b+-0.787*a,0.715+-0.715*b+0.715*a,0.072+0.928*b+0.072*a,0,0,0,0,0,1,0,0,0,0,0,1]),this};d.concat=function(a){return a=this._fixMatrix(a),a.length!=f.LENGTH?this:(this._multiplyMatrix(a),this)};d.clone=function(){return(new f).copy(this)};d.toArray=function(){for(var a=[],b=0,c=f.LENGTH;c>b;b++)a[b]=this[b];return a};d.copy=function(a){for(var b=f.LENGTH,c=0;b>c;c++)this[c]=a[c];return this};d.toString=function(){return"[ColorMatrix]"};d._multiplyMatrix=function(a){var b,c,e,g=[];for(b=0;5>b;b++){for(c=
0;5>c;c++)g[c]=this[c+5*b];for(c=0;5>c;c++){var h=0;for(e=0;5>e;e++)h+=a[c+5*e]*g[e];this[c+5*b]=h}}};d._cleanValue=function(a,b){return Math.min(b,Math.max(-b,a))};d._fixMatrix=function(a){return a instanceof f&&(a=a.toArray()),a.length<f.LENGTH?a=a.slice(0,a.length).concat(f.IDENTITY_MATRIX.slice(a.length,f.LENGTH)):a.length>f.LENGTH&&(a=a.slice(0,f.LENGTH)),a};createjs.ColorMatrix=f})();this.createjs=this.createjs||{};
(function(){function f(a){this.matrix=a}var d=createjs.extend(f,createjs.Filter);d.toString=function(){return"[ColorMatrixFilter]"};d.clone=function(){return new f(this.matrix)};d._applyFilter=function(a){var b,c,e,g;a=a.data;var h=a.length;b=this.matrix;for(var k=b[0],l=b[1],m=b[2],n=b[3],p=b[4],r=b[5],q=b[6],u=b[7],y=b[8],C=b[9],I=b[10],T=b[11],Q=b[12],G=b[13],R=b[14],N=b[15],L=b[16],M=b[17],Z=b[18],U=b[19],J=0;h>J;J+=4)b=a[J],c=a[J+1],e=a[J+2],g=a[J+3],a[J]=b*k+c*l+e*m+g*n+p,a[J+1]=b*r+c*q+e*u+
g*y+C,a[J+2]=b*I+c*T+e*Q+g*G+R,a[J+3]=b*N+c*L+e*M+g*Z+U;return!0};createjs.ColorMatrixFilter=createjs.promote(f,"Filter")})();this.createjs=this.createjs||{};
(function(){function f(){throw"Touch cannot be instantiated";}f.isSupported=function(){return!!("ontouchstart"in window||window.navigator.msPointerEnabled&&0<window.navigator.msMaxTouchPoints||window.navigator.pointerEnabled&&0<window.navigator.maxTouchPoints)};f.enable=function(d,a,b){return d&&d.canvas&&f.isSupported()?d.__touch?!0:(d.__touch={pointers:{},multitouch:!a,preventDefault:!b,count:0},"ontouchstart"in window?f._IOS_enable(d):(window.navigator.msPointerEnabled||window.navigator.pointerEnabled)&&
f._IE_enable(d),!0):!1};f.disable=function(d){d&&("ontouchstart"in window?f._IOS_disable(d):(window.navigator.msPointerEnabled||window.navigator.pointerEnabled)&&f._IE_disable(d),delete d.__touch)};f._IOS_enable=function(d){var a=d.canvas,b=d.__touch.f=function(c){f._IOS_handleEvent(d,c)};a.addEventListener("touchstart",b,!1);a.addEventListener("touchmove",b,!1);a.addEventListener("touchend",b,!1);a.addEventListener("touchcancel",b,!1)};f._IOS_disable=function(d){var a=d.canvas;a&&(d=d.__touch.f,
a.removeEventListener("touchstart",d,!1),a.removeEventListener("touchmove",d,!1),a.removeEventListener("touchend",d,!1),a.removeEventListener("touchcancel",d,!1))};f._IOS_handleEvent=function(d,a){if(d){d.__touch.preventDefault&&a.preventDefault&&a.preventDefault();for(var b=a.changedTouches,c=a.type,e=0,g=b.length;g>e;e++){var h=b[e],k=h.identifier;h.target==d.canvas&&("touchstart"==c?this._handleStart(d,k,a,h.pageX,h.pageY):"touchmove"==c?this._handleMove(d,k,a,h.pageX,h.pageY):("touchend"==c||
"touchcancel"==c)&&this._handleEnd(d,k,a))}}};f._IE_enable=function(d){var a=d.canvas,b=d.__touch.f=function(c){f._IE_handleEvent(d,c)};void 0===window.navigator.pointerEnabled?(a.addEventListener("MSPointerDown",b,!1),window.addEventListener("MSPointerMove",b,!1),window.addEventListener("MSPointerUp",b,!1),window.addEventListener("MSPointerCancel",b,!1),d.__touch.preventDefault&&(a.style.msTouchAction="none")):(a.addEventListener("pointerdown",b,!1),window.addEventListener("pointermove",b,!1),window.addEventListener("pointerup",
b,!1),window.addEventListener("pointercancel",b,!1),d.__touch.preventDefault&&(a.style.touchAction="none"));d.__touch.activeIDs={}};f._IE_disable=function(d){var a=d.__touch.f;void 0===window.navigator.pointerEnabled?(window.removeEventListener("MSPointerMove",a,!1),window.removeEventListener("MSPointerUp",a,!1),window.removeEventListener("MSPointerCancel",a,!1),d.canvas&&d.canvas.removeEventListener("MSPointerDown",a,!1)):(window.removeEventListener("pointermove",a,!1),window.removeEventListener("pointerup",
a,!1),window.removeEventListener("pointercancel",a,!1),d.canvas&&d.canvas.removeEventListener("pointerdown",a,!1))};f._IE_handleEvent=function(d,a){if(d){d.__touch.preventDefault&&a.preventDefault&&a.preventDefault();var b=a.type,c=a.pointerId,e=d.__touch.activeIDs;"MSPointerDown"==b||"pointerdown"==b?a.srcElement==d.canvas&&(e[c]=!0,this._handleStart(d,c,a,a.pageX,a.pageY)):e[c]&&("MSPointerMove"==b||"pointermove"==b?this._handleMove(d,c,a,a.pageX,a.pageY):("MSPointerUp"==b||"MSPointerCancel"==b||
"pointerup"==b||"pointercancel"==b)&&(delete e[c],this._handleEnd(d,c,a)))}};f._handleStart=function(d,a,b,c,e){var g=d.__touch;if(g.multitouch||!g.count){var h=g.pointers;h[a]||(h[a]=!0,g.count++,d._handlePointerDown(a,b,c,e))}};f._handleMove=function(d,a,b,c,e){d.__touch.pointers[a]&&d._handlePointerMove(a,b,c,e)};f._handleEnd=function(d,a,b){var c=d.__touch,e=c.pointers;e[a]&&(c.count--,d._handlePointerUp(a,b,!0),delete e[a])};createjs.Touch=f})();this.createjs=this.createjs||{};
(function(){var f=createjs.EaselJS=createjs.EaselJS||{};f.version="0.8.2";f.buildDate="Thu, 26 Nov 2015 20:44:34 GMT"})();this.createjs=this.createjs||{};(function(){var f=createjs.PreloadJS=createjs.PreloadJS||{};f.version="0.6.2";f.buildDate="Thu, 26 Nov 2015 20:44:31 GMT"})();this.createjs=this.createjs||{};(function(){createjs.proxy=function(f,d){var a=Array.prototype.slice.call(arguments,2);return function(){return f.apply(d,Array.prototype.slice.call(arguments,0).concat(a))}}})();
this.createjs=this.createjs||{};(function(){function f(d,a,b){this.Event_constructor("error");this.title=d;this.message=a;this.data=b}createjs.extend(f,createjs.Event).clone=function(){return new createjs.ErrorEvent(this.title,this.message,this.data)};createjs.ErrorEvent=createjs.promote(f,"Event")})();this.createjs=this.createjs||{};
(function(f){function d(a,b){this.Event_constructor("progress");this.loaded=a;this.total=null==b?1:b;this.progress=0==b?0:this.loaded/this.total}createjs.extend(d,createjs.Event).clone=function(){return new createjs.ProgressEvent(this.loaded,this.total)};createjs.ProgressEvent=createjs.promote(d,"Event")})(window);
(function(){function f(m,n){function p(v){if(p[v]!==N)return p[v];var t;if("bug-string-char-index"==v)t="a"!="a"[0];else if("json"==v)t=p("json-stringify")&&p("json-parse");else{var w;if("json-stringify"==v){t=n.stringify;var D="function"==typeof t&&M;if(D){(w=function(){return 1}).toJSON=w;try{D="0"===t(0)&&"0"===t(new r)&&'""'==t(new q)&&t(L)===N&&t(N)===N&&t()===N&&"1"===t(w)&&"[1]"==t([w])&&"[null]"==t([N])&&"null"==t(null)&&"[null,null,null]"==t([N,L,null])&&'{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}'==
t({a:[w,!0,!1,null,"\x00\b\n\f\r\t"]})&&"1"===t(null,w)&&"[\n 1,\n 2\n]"==t([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==t(new y(-864E13))&&'"+275760-09-13T00:00:00.000Z"'==t(new y(864E13))&&'"-000001-01-01T00:00:00.000Z"'==t(new y(-621987552E5))&&'"1969-12-31T23:59:59.999Z"'==t(new y(-1))}catch(x){D=!1}}t=D}if("json-parse"==v){t=n.parse;if("function"==typeof t)try{if(0===t("0")&&!t(!1)){w=t('{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}');var z=5==w.a.length&&1===w.a[0];if(z){try{z=!t('"\t"')}catch(E){}if(z)try{z=
1!==t("01")}catch(B){}if(z)try{z=1!==t("1.")}catch(F){}}}}catch(H){z=!1}t=z}}return p[v]=!!t}m||(m=c.Object());n||(n=c.Object());var r=m.Number||c.Number,q=m.String||c.String,u=m.Object||c.Object,y=m.Date||c.Date,C=m.SyntaxError||c.SyntaxError,I=m.TypeError||c.TypeError,T=m.Math||c.Math,Q=m.JSON||c.JSON;"object"==typeof Q&&Q&&(n.stringify=Q.stringify,n.parse=Q.parse);var G,R,N,u=u.prototype,L=u.toString,M=new y(-0xc782b5b800cec);try{M=-109252==M.getUTCFullYear()&&0===M.getUTCMonth()&&1===M.getUTCDate()&&
10==M.getUTCHours()&&37==M.getUTCMinutes()&&6==M.getUTCSeconds()&&708==M.getUTCMilliseconds()}catch(Z){}if(!p("json")){var U=p("bug-string-char-index");if(!M)var J=T.floor,ba=[0,31,59,90,120,151,181,212,243,273,304,334],$=function(v,t){return ba[t]+365*(v-1970)+J((v-1969+(t=+(1<t)))/4)-J((v-1901+t)/100)+J((v-1601+t)/400)};if((G=u.hasOwnProperty)||(G=function(v){var t,w={};return(w.__proto__=null,w.__proto__={toString:1},w).toString!=L?G=function(D){var x=this.__proto__;D=D in(this.__proto__=null,
this);return this.__proto__=x,D}:(t=w.constructor,G=function(D){var x=(this.constructor||t).prototype;return D in this&&!(D in x&&this[D]===x[D])}),w=null,G.call(this,v)}),R=function(v,t){var w,D,x,z=0;(w=function(){this.valueOf=0}).prototype.valueOf=0;D=new w;for(x in D)G.call(D,x)&&z++;return w=D=null,z?R=2==z?function(E,B){var F,H={},S="[object Function]"==L.call(E);for(F in E)S&&"prototype"==F||G.call(H,F)||!(H[F]=1)||!G.call(E,F)||B(F)}:function(E,B){var F,H,S="[object Function]"==L.call(E);
for(F in E)S&&"prototype"==F||!G.call(E,F)||(H="constructor"===F)||B(F);(H||G.call(E,F="constructor"))&&B(F)}:(D="valueOf toString toLocaleString propertyIsEnumerable isPrototypeOf hasOwnProperty constructor".split(" "),R=function(E,B){var F,H;H="[object Function]"==L.call(E);var S=!H&&"function"!=typeof E.constructor&&a[typeof E.hasOwnProperty]&&E.hasOwnProperty||G;for(F in E)H&&"prototype"==F||!S.call(E,F)||B(F);for(H=D.length;F=D[--H];S.call(E,F)&&B(F));}),R(v,t)},!p("json-stringify")){var ca=
{92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},K=function(v,t){return("000000"+(t||0)).slice(-v)},P=function(v){for(var t='"',w=0,D=v.length,x=!U||10<D,z=x&&(U?v.split(""):v);D>w;w++){var E=v.charCodeAt(w);switch(E){case 8:case 9:case 10:case 12:case 13:case 34:case 92:t+=ca[E];break;default:if(32>E){t+="\\u00"+K(2,E.toString(16));break}t+=x?z[w]:v.charAt(w)}}return t+'"'},ga=function(v,t,w,D,x,z,E){var B,F,H,S,V,X,da,ea,fa,W;try{B=t[v]}catch(oa){}if("object"==typeof B&&B)if(F=L.call(B),
"[object Date]"!=F||G.call(B,"toJSON"))"function"==typeof B.toJSON&&("[object Number]"!=F&&"[object String]"!=F&&"[object Array]"!=F||G.call(B,"toJSON"))&&(B=B.toJSON(v));else if(B>-1/0&&1/0>B){if($){V=J(B/864E5);for(H=J(V/365.2425)+1970-1;$(H+1,0)<=V;H++);for(S=J((V-$(H,0))/30.42);$(H,S+1)<=V;S++);V=1+V-$(H,S);X=(B%864E5+864E5)%864E5;da=J(X/36E5)%24;ea=J(X/6E4)%60;fa=J(X/1E3)%60;X%=1E3}else H=B.getUTCFullYear(),S=B.getUTCMonth(),V=B.getUTCDate(),da=B.getUTCHours(),ea=B.getUTCMinutes(),fa=B.getUTCSeconds(),
X=B.getUTCMilliseconds();B=(0>=H||1E4<=H?(0>H?"-":"+")+K(6,0>H?-H:H):K(4,H))+"-"+K(2,S+1)+"-"+K(2,V)+"T"+K(2,da)+":"+K(2,ea)+":"+K(2,fa)+"."+K(3,X)+"Z"}else B=null;if(w&&(B=w.call(t,v,B)),null===B)return"null";if(F=L.call(B),"[object Boolean]"==F)return""+B;if("[object Number]"==F)return B>-1/0&&1/0>B?""+B:"null";if("[object String]"==F)return P(""+B);if("object"==typeof B){for(v=E.length;v--;)if(E[v]===B)throw I();if(E.push(B),W=[],t=z,z+=x,"[object Array]"==F){H=0;for(v=B.length;v>H;H++)F=ga(H,
B,w,D,x,z,E),W.push(F===N?"null":F);F=W.length?x?"[\n"+z+W.join(",\n"+z)+"\n"+t+"]":"["+W.join(",")+"]":"[]"}else R(D||B,function(ia){var ja=ga(ia,B,w,D,x,z,E);ja!==N&&W.push(P(ia)+":"+(x?" ":"")+ja)}),F=W.length?x?"{\n"+z+W.join(",\n"+z)+"\n"+t+"}":"{"+W.join(",")+"}":"{}";return E.pop(),F}};n.stringify=function(v,t,w){var D,x,z,E;if(a[typeof t]&&t)if("[object Function]"==(E=L.call(t)))x=t;else if("[object Array]"==E){z={};for(var B,F=0,H=t.length;H>F;B=t[F++],E=L.call(B),("[object String]"==E||
"[object Number]"==E)&&(z[B]=1));}if(w)if("[object Number]"==(E=L.call(w))){if(0<(w-=w%1))for(D="",10<w&&(w=10);D.length<w;D+=" ");}else"[object String]"==E&&(D=10>=w.length?w:w.slice(0,10));return ga("",(B={},B[""]=v,B),x,z,D,"",[])}}if(!p("json-parse")){var A,aa,ma=q.fromCharCode,na={92:"\\",34:'"',47:"/",98:"\b",116:"\t",110:"\n",102:"\f",114:"\r"},O=function(){throw A=aa=null,C();},Y=function(){for(var v,t,w,D,x,z=aa,E=z.length;E>A;)switch(x=z.charCodeAt(A)){case 9:case 10:case 13:case 32:A++;
break;case 123:case 125:case 91:case 93:case 58:case 44:return v=U?z.charAt(A):z[A],A++,v;case 34:v="@";for(A++;E>A;)if(x=z.charCodeAt(A),32>x)O();else if(92==x)switch(x=z.charCodeAt(++A)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:v+=na[x];A++;break;case 117:t=++A;for(w=A+4;w>A;A++)x=z.charCodeAt(A),48<=x&&57>=x||97<=x&&102>=x||65<=x&&70>=x||O();v+=ma("0x"+z.slice(t,A));break;default:O()}else{if(34==x)break;x=z.charCodeAt(A);for(t=A;32<=x&&92!=x&&34!=x;)x=z.charCodeAt(++A);
v+=z.slice(t,A)}if(34==z.charCodeAt(A))return A++,v;O();default:if(t=A,45==x&&(D=!0,x=z.charCodeAt(++A)),48<=x&&57>=x){for(48==x&&(x=z.charCodeAt(A+1),48<=x&&57>=x)&&O();E>A&&(x=z.charCodeAt(A),48<=x&&57>=x);A++);if(46==z.charCodeAt(A)){for(w=++A;E>w&&(x=z.charCodeAt(w),48<=x&&57>=x);w++);w==A&&O();A=w}if(x=z.charCodeAt(A),101==x||69==x){x=z.charCodeAt(++A);43!=x&&45!=x||A++;for(w=A;E>w&&(x=z.charCodeAt(w),48<=x&&57>=x);w++);w==A&&O();A=w}return+z.slice(t,A)}if(D&&O(),"true"==z.slice(A,A+4))return A+=
4,!0;if("false"==z.slice(A,A+5))return A+=5,!1;if("null"==z.slice(A,A+4))return A+=4,null;O()}return"$"},ha=function(v){var t,w;if("$"==v&&O(),"string"==typeof v){if("@"==(U?v.charAt(0):v[0]))return v.slice(1);if("["==v){for(t=[];v=Y(),"]"!=v;w||(w=!0))w&&(","==v?(v=Y(),"]"==v&&O()):O()),","==v&&O(),t.push(ha(v));return t}if("{"==v){for(t={};v=Y(),"}"!=v;w||(w=!0))w&&(","==v?(v=Y(),"}"==v&&O()):O()),","!=v&&"string"==typeof v&&"@"==(U?v.charAt(0):v[0])&&":"==Y()||O(),t[v.slice(1)]=ha(Y());return t}O()}return v},
la=function(v,t,w){w=ka(v,t,w);w===N?delete v[t]:v[t]=w},ka=function(v,t,w){var D,x=v[t];if("object"==typeof x&&x)if("[object Array]"==L.call(x))for(D=x.length;D--;)la(x,D,w);else R(x,function(z){la(x,z,w)});return w.call(v,t,x)};n.parse=function(v,t){var w,D;return A=0,aa=""+v,w=ha(Y()),"$"!=Y()&&O(),A=aa=null,t&&"[object Function]"==L.call(t)?ka((D={},D[""]=w,D),"",t):w}}}return n.runInContext=f,n}var d="function"==typeof define&&define.amd,a={"function":!0,object:!0},b=a[typeof exports]&&exports&&
!exports.nodeType&&exports,c=a[typeof window]&&window||this,e=b&&a[typeof module]&&module&&!module.nodeType&&"object"==typeof global&&global;if(!e||e.global!==e&&e.window!==e&&e.self!==e||(c=e),b&&!d)f(c,b);else{var g=c.JSON,h=c.JSON3,k=!1,l=f(c,c.JSON3={noConflict:function(){return k||(k=!0,c.JSON=g,c.JSON3=h,g=h=null),l}});c.JSON={parse:l.parse,stringify:l.stringify}}d&&define(function(){return l})}).call(this);
(function(){var f={appendToHead:function(d){f.getHead().appendChild(d)},getHead:function(){return document.head||document.getElementsByTagName("head")[0]},getBody:function(){return document.body||document.getElementsByTagName("body")[0]}};createjs.DomUtils=f})();
(function(){createjs.DataUtils={parseXML:function(f,d){var a=null;try{window.DOMParser&&(a=(new DOMParser).parseFromString(f,d))}catch(b){}if(!a)try{a=new ActiveXObject("Microsoft.XMLDOM"),a.async=!1,a.loadXML(f)}catch(c){a=null}return a},parseJSON:function(f){if(null==f)return null;try{return JSON.parse(f)}catch(d){throw d;}}}})();this.createjs=this.createjs||{};
(function(){function f(){this.id=this.type=this.src=null;this.maintainOrder=!1;this.data=this.callback=null;this.method=createjs.LoadItem.GET;this.headers=this.values=null;this.withCredentials=!1;this.crossOrigin=this.mimeType=null;this.loadTimeout=a.LOAD_TIMEOUT_DEFAULT}var d=f.prototype={},a=f;a.LOAD_TIMEOUT_DEFAULT=8E3;a.create=function(b){if("string"==typeof b){var c=new f;return c.src=b,c}if(b instanceof a)return b;if(b instanceof Object&&b.src)return null==b.loadTimeout&&(b.loadTimeout=a.LOAD_TIMEOUT_DEFAULT),
b;throw Error("Type not recognized.");};d.set=function(b){for(var c in b)this[c]=b[c];return this};createjs.LoadItem=a})();
(function(){var f={ABSOLUTE_PATT:/^(?:\w+:)?\/{2}/i,RELATIVE_PATT:/^[.\/]*?\//i,EXTENSION_PATT:/\/?[^\/]+\.(\w{1,5})$/i,parseURI:function(d){var a={absolute:!1,relative:!1};if(null==d)return a;var b=d.indexOf("?");-1<b&&(d=d.substr(0,b));var c;return f.ABSOLUTE_PATT.test(d)?a.absolute=!0:f.RELATIVE_PATT.test(d)&&(a.relative=!0),(c=d.match(f.EXTENSION_PATT))&&(a.extension=c[1].toLowerCase()),a},formatQueryString:function(d,a){if(null==d)throw Error("You must specify data.");var b=[],c;for(c in d)b.push(c+
"\x3d"+escape(d[c]));return a&&(b=b.concat(a)),b.join("\x26")},buildPath:function(d,a){if(null==a)return d;var b=[],c=d.indexOf("?");if(-1!=c)var e=d.slice(c+1),b=b.concat(e.split("\x26"));return-1!=c?d.slice(0,c)+"?"+this.formatQueryString(a,b):d+"?"+this.formatQueryString(a,b)},isCrossDomain:function(d){var a=document.createElement("a");a.href=d.src;d=document.createElement("a");d.href=location.href;return""!=a.hostname&&(a.port!=d.port||a.protocol!=d.protocol||a.hostname!=d.hostname)},isLocal:function(d){var a=
document.createElement("a");return a.href=d.src,""==a.hostname&&"file:"==a.protocol},isBinary:function(d){switch(d){case createjs.AbstractLoader.IMAGE:case createjs.AbstractLoader.BINARY:return!0;default:return!1}},isImageTag:function(d){return d instanceof HTMLImageElement},isAudioTag:function(d){return window.HTMLAudioElement?d instanceof HTMLAudioElement:!1},isVideoTag:function(d){return window.HTMLVideoElement?d instanceof HTMLVideoElement:!1},isText:function(d){switch(d){case createjs.AbstractLoader.TEXT:case createjs.AbstractLoader.JSON:case createjs.AbstractLoader.MANIFEST:case createjs.AbstractLoader.XML:case createjs.AbstractLoader.CSS:case createjs.AbstractLoader.SVG:case createjs.AbstractLoader.JAVASCRIPT:case createjs.AbstractLoader.SPRITESHEET:return!0;
default:return!1}},getTypeByExtension:function(d){if(null==d)return createjs.AbstractLoader.TEXT;switch(d.toLowerCase()){case "jpeg":case "jpg":case "gif":case "png":case "webp":case "bmp":return createjs.AbstractLoader.IMAGE;case "ogg":case "mp3":case "webm":return createjs.AbstractLoader.SOUND;case "mp4":case "webm":case "ts":return createjs.AbstractLoader.VIDEO;case "json":return createjs.AbstractLoader.JSON;case "xml":return createjs.AbstractLoader.XML;case "css":return createjs.AbstractLoader.CSS;
case "js":return createjs.AbstractLoader.JAVASCRIPT;case "svg":return createjs.AbstractLoader.SVG;default:return createjs.AbstractLoader.TEXT}}};createjs.RequestUtils=f})();this.createjs=this.createjs||{};
(function(){function f(a,b,c){this.EventDispatcher_constructor();this.canceled=this.loaded=!1;this.progress=0;this.type=c;this.resultFormatter=null;a?this._item=createjs.LoadItem.create(a):this._item=null;this._preferXHR=b;this._tag=this._tagSrcAttribute=this._loadedItems=this._rawResult=this._result=null}var d=createjs.extend(f,createjs.EventDispatcher);f.POST="POST";f.GET="GET";f.BINARY="binary";f.CSS="css";f.IMAGE="image";f.JAVASCRIPT="javascript";f.JSON="json";f.JSONP="jsonp";f.MANIFEST="manifest";
f.SOUND="sound";f.VIDEO="video";f.SPRITESHEET="spritesheet";f.SVG="svg";f.TEXT="text";f.XML="xml";d.getItem=function(){return this._item};d.getResult=function(a){return a?this._rawResult:this._result};d.getTag=function(){return this._tag};d.setTag=function(a){this._tag=a};d.load=function(){this._createRequest();this._request.on("complete",this,this);this._request.on("progress",this,this);this._request.on("loadStart",this,this);this._request.on("abort",this,this);this._request.on("timeout",this,this);
this._request.on("error",this,this);var a=new createjs.Event("initialize");a.loader=this._request;this.dispatchEvent(a);this._request.load()};d.cancel=function(){this.canceled=!0;this.destroy()};d.destroy=function(){this._request&&(this._request.removeAllEventListeners(),this._request.destroy());this._loadItems=this._result=this._rawResult=this._item=this._request=null;this.removeAllEventListeners()};d.getLoadedItems=function(){return this._loadedItems};d._createRequest=function(){this._preferXHR?
this._request=new createjs.XHRRequest(this._item):this._request=new createjs.TagRequest(this._item,this._tag||this._createTag(),this._tagSrcAttribute)};d._createTag=function(a){return null};d._sendLoadStart=function(){this._isCanceled()||this.dispatchEvent("loadstart")};d._sendProgress=function(a){if(!this._isCanceled()){var b=null;"number"==typeof a?(this.progress=a,b=new createjs.ProgressEvent(this.progress)):(b=a,this.progress=a.loaded/a.total,b.progress=this.progress,(isNaN(this.progress)||this.progress==
1/0)&&(this.progress=0));this.hasEventListener("progress")&&this.dispatchEvent(b)}};d._sendComplete=function(){if(!this._isCanceled()){this.loaded=!0;var a=new createjs.Event("complete");a.rawResult=this._rawResult;null!=this._result&&(a.result=this._result);this.dispatchEvent(a)}};d._sendError=function(a){!this._isCanceled()&&this.hasEventListener("error")&&(null==a&&(a=new createjs.ErrorEvent("PRELOAD_ERROR_EMPTY")),this.dispatchEvent(a))};d._isCanceled=function(){return null==window.createjs||
this.canceled?!0:!1};d.resultFormatter=null;d.handleEvent=function(a){switch(a.type){case "complete":this._rawResult=a.target._response;a=this.resultFormatter&&this.resultFormatter(this);a instanceof Function?a.call(this,createjs.proxy(this._resultFormatSuccess,this),createjs.proxy(this._resultFormatFailed,this)):(this._result=a||this._rawResult,this._sendComplete());break;case "progress":this._sendProgress(a);break;case "error":this._sendError(a);break;case "loadstart":this._sendLoadStart();break;
case "abort":case "timeout":this._isCanceled()||this.dispatchEvent(new createjs.ErrorEvent("PRELOAD_"+a.type.toUpperCase()+"_ERROR"))}};d._resultFormatSuccess=function(a){this._result=a;this._sendComplete()};d._resultFormatFailed=function(a){this._sendError(a)};d.buildPath=function(a,b){return createjs.RequestUtils.buildPath(a,b)};d.toString=function(){return"[PreloadJS AbstractLoader]"};createjs.AbstractLoader=createjs.promote(f,"EventDispatcher")})();this.createjs=this.createjs||{};
(function(){function f(a,b,c){this.AbstractLoader_constructor(a,b,c);this.resultFormatter=this._formatResult;this._tagSrcAttribute="src";this.on("initialize",this._updateXHR,this)}var d=createjs.extend(f,createjs.AbstractLoader);d.load=function(){this._tag||(this._tag=this._createTag(this._item.src));this._tag.preload="auto";this._tag.load();this.AbstractLoader_load()};d._createTag=function(){};d._createRequest=function(){this._preferXHR?this._request=new createjs.XHRRequest(this._item):this._request=
new createjs.MediaTagRequest(this._item,this._tag||this._createTag(),this._tagSrcAttribute)};d._updateXHR=function(a){a.loader.setResponseType&&a.loader.setResponseType("blob")};d._formatResult=function(a){if(this._tag.removeEventListener&&this._tag.removeEventListener("canplaythrough",this._loadedHandler),this._tag.onstalled=null,this._preferXHR){var b=window.URL||window.webkitURL,c=a.getResult(!0);a.getTag().src=b.createObjectURL(c)}return a.getTag()};createjs.AbstractMediaLoader=createjs.promote(f,
"AbstractLoader")})();this.createjs=this.createjs||{};(function(){var f=function(a){this._item=a},d=createjs.extend(f,createjs.EventDispatcher);d.load=function(){};d.destroy=function(){};d.cancel=function(){};createjs.AbstractRequest=createjs.promote(f,"EventDispatcher")})();this.createjs=this.createjs||{};
(function(){function f(a,b,c){this.AbstractRequest_constructor(a);this._tag=b;this._tagSrcAttribute=c;this._loadedHandler=createjs.proxy(this._handleTagComplete,this);this._addedToDOM=!1;this._startTagVisibility=null}var d=createjs.extend(f,createjs.AbstractRequest);d.load=function(){this._tag.onload=createjs.proxy(this._handleTagComplete,this);this._tag.onreadystatechange=createjs.proxy(this._handleReadyStateChange,this);this._tag.onerror=createjs.proxy(this._handleError,this);var a=new createjs.Event("initialize");
a.loader=this._tag;this.dispatchEvent(a);this._hideTag();this._loadTimeout=setTimeout(createjs.proxy(this._handleTimeout,this),this._item.loadTimeout);this._tag[this._tagSrcAttribute]=this._item.src;null==this._tag.parentNode&&(window.document.body.appendChild(this._tag),this._addedToDOM=!0)};d.destroy=function(){this._clean();this._tag=null;this.AbstractRequest_destroy()};d._handleReadyStateChange=function(){clearTimeout(this._loadTimeout);var a=this._tag;"loaded"!=a.readyState&&"complete"!=a.readyState||
this._handleTagComplete()};d._handleError=function(){this._clean();this.dispatchEvent("error")};d._handleTagComplete=function(){this._rawResult=this._tag;this._result=this.resultFormatter&&this.resultFormatter(this)||this._rawResult;this._clean();this._showTag();this.dispatchEvent("complete")};d._handleTimeout=function(){this._clean();this.dispatchEvent(new createjs.Event("timeout"))};d._clean=function(){this._tag.onload=null;this._tag.onreadystatechange=null;this._tag.onerror=null;this._addedToDOM&&
null!=this._tag.parentNode&&this._tag.parentNode.removeChild(this._tag);clearTimeout(this._loadTimeout)};d._hideTag=function(){this._startTagVisibility=this._tag.style.visibility;this._tag.style.visibility="hidden"};d._showTag=function(){this._tag.style.visibility=this._startTagVisibility};d._handleStalled=function(){};createjs.TagRequest=createjs.promote(f,"AbstractRequest")})();this.createjs=this.createjs||{};
(function(){function f(a,b,c){this.AbstractRequest_constructor(a);this._tag=b;this._tagSrcAttribute=c;this._loadedHandler=createjs.proxy(this._handleTagComplete,this)}var d=createjs.extend(f,createjs.TagRequest);d.load=function(){var a=createjs.proxy(this._handleStalled,this);this._stalledCallback=a;var b=createjs.proxy(this._handleProgress,this);this._handleProgress=b;this._tag.addEventListener("stalled",a);this._tag.addEventListener("progress",b);this._tag.addEventListener&&this._tag.addEventListener("canplaythrough",
this._loadedHandler,!1);this.TagRequest_load()};d._handleReadyStateChange=function(){clearTimeout(this._loadTimeout);var a=this._tag;"loaded"!=a.readyState&&"complete"!=a.readyState||this._handleTagComplete()};d._handleStalled=function(){};d._handleProgress=function(a){!a||0<a.loaded&&0==a.total||(a=new createjs.ProgressEvent(a.loaded,a.total),this.dispatchEvent(a))};d._clean=function(){this._tag.removeEventListener&&this._tag.removeEventListener("canplaythrough",this._loadedHandler);this._tag.removeEventListener("stalled",
this._stalledCallback);this._tag.removeEventListener("progress",this._progressCallback);this.TagRequest__clean()};createjs.MediaTagRequest=createjs.promote(f,"TagRequest")})();this.createjs=this.createjs||{};
(function(){function f(a){this.AbstractRequest_constructor(a);this._loadTimeout=this._request=null;this._xhrLevel=1;this._rawResponse=this._response=null;this._canceled=!1;this._handleLoadStartProxy=createjs.proxy(this._handleLoadStart,this);this._handleProgressProxy=createjs.proxy(this._handleProgress,this);this._handleAbortProxy=createjs.proxy(this._handleAbort,this);this._handleErrorProxy=createjs.proxy(this._handleError,this);this._handleTimeoutProxy=createjs.proxy(this._handleTimeout,this);this._handleLoadProxy=
createjs.proxy(this._handleLoad,this);this._handleReadyStateChangeProxy=createjs.proxy(this._handleReadyStateChange,this);this._createXHR(a)}var d=createjs.extend(f,createjs.AbstractRequest);f.ACTIVEX_VERSIONS="Msxml2.XMLHTTP.6.0 Msxml2.XMLHTTP.5.0 Msxml2.XMLHTTP.4.0 MSXML2.XMLHTTP.3.0 MSXML2.XMLHTTP Microsoft.XMLHTTP".split(" ");d.getResult=function(a){return a&&this._rawResponse?this._rawResponse:this._response};d.cancel=function(){this.canceled=!0;this._clean();this._request.abort()};d.load=function(){if(null==
this._request)return void this._handleError();null!=this._request.addEventListener?(this._request.addEventListener("loadstart",this._handleLoadStartProxy,!1),this._request.addEventListener("progress",this._handleProgressProxy,!1),this._request.addEventListener("abort",this._handleAbortProxy,!1),this._request.addEventListener("error",this._handleErrorProxy,!1),this._request.addEventListener("timeout",this._handleTimeoutProxy,!1),this._request.addEventListener("load",this._handleLoadProxy,!1),this._request.addEventListener("readystatechange",
this._handleReadyStateChangeProxy,!1)):(this._request.onloadstart=this._handleLoadStartProxy,this._request.onprogress=this._handleProgressProxy,this._request.onabort=this._handleAbortProxy,this._request.onerror=this._handleErrorProxy,this._request.ontimeout=this._handleTimeoutProxy,this._request.onload=this._handleLoadProxy,this._request.onreadystatechange=this._handleReadyStateChangeProxy);1==this._xhrLevel&&(this._loadTimeout=setTimeout(createjs.proxy(this._handleTimeout,this),this._item.loadTimeout));
try{this._item.values&&this._item.method!=createjs.AbstractLoader.GET?this._item.method==createjs.AbstractLoader.POST&&this._request.send(createjs.RequestUtils.formatQueryString(this._item.values)):this._request.send()}catch(a){this.dispatchEvent(new createjs.ErrorEvent("XHR_SEND",null,a))}};d.setResponseType=function(a){"blob"===a&&(a=window.URL?"blob":"arraybuffer",this._responseType=a);this._request.responseType=a};d.getAllResponseHeaders=function(){return this._request.getAllResponseHeaders instanceof
Function?this._request.getAllResponseHeaders():null};d.getResponseHeader=function(a){return this._request.getResponseHeader instanceof Function?this._request.getResponseHeader(a):null};d._handleProgress=function(a){!a||0<a.loaded&&0==a.total||(a=new createjs.ProgressEvent(a.loaded,a.total),this.dispatchEvent(a))};d._handleLoadStart=function(a){clearTimeout(this._loadTimeout);this.dispatchEvent("loadstart")};d._handleAbort=function(a){this._clean();this.dispatchEvent(new createjs.ErrorEvent("XHR_ABORTED",
null,a))};d._handleError=function(a){this._clean();this.dispatchEvent(new createjs.ErrorEvent(a.message))};d._handleReadyStateChange=function(a){4==this._request.readyState&&this._handleLoad()};d._handleLoad=function(a){if(!this.loaded){this.loaded=!0;if(a=this._checkError())return void this._handleError(a);if(this._response=this._getResponse(),"arraybuffer"===this._responseType)try{this._response=new Blob([this._response])}catch(b){if(window.BlobBuilder=window.BlobBuilder||window.WebKitBlobBuilder||
window.MozBlobBuilder||window.MSBlobBuilder,"TypeError"===b.name&&window.BlobBuilder)a=new BlobBuilder,a.append(this._response),this._response=a.getBlob()}this._clean();this.dispatchEvent(new createjs.Event("complete"))}};d._handleTimeout=function(a){this._clean();this.dispatchEvent(new createjs.ErrorEvent("PRELOAD_TIMEOUT",null,a))};d._checkError=function(){var a=parseInt(this._request.status);switch(a){case 404:case 0:return Error(a)}return null};d._getResponse=function(){if(null!=this._response)return this._response;
if(null!=this._request.response)return this._request.response;try{if(null!=this._request.responseText)return this._request.responseText}catch(a){}try{if(null!=this._request.responseXML)return this._request.responseXML}catch(b){}return null};d._createXHR=function(a){var b=createjs.RequestUtils.isCrossDomain(a),c={},e=null;if(window.XMLHttpRequest)e=new XMLHttpRequest,b&&void 0===e.withCredentials&&window.XDomainRequest&&(e=new XDomainRequest);else{for(var g=0,h=s.ACTIVEX_VERSIONS.length;h>g;g++){var k=
s.ACTIVEX_VERSIONS[g];try{e=new ActiveXObject(k);break}catch(l){}}if(null==e)return!1}null==a.mimeType&&createjs.RequestUtils.isText(a.type)&&(a.mimeType="text/plain; charset\x3dutf-8");a.mimeType&&e.overrideMimeType&&e.overrideMimeType(a.mimeType);this._xhrLevel="string"==typeof e.responseType?2:1;g=null;if(g=a.method==createjs.AbstractLoader.GET?createjs.RequestUtils.buildPath(a.src,a.values):a.src,e.open(a.method||createjs.AbstractLoader.GET,g,!0),b&&e instanceof XMLHttpRequest&&1==this._xhrLevel&&
(c.Origin=location.origin),a.values&&a.method==createjs.AbstractLoader.POST&&(c["Content-Type"]="application/x-www-form-urlencoded"),b||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest"),a.headers)for(var m in a.headers)c[m]=a.headers[m];for(m in c)e.setRequestHeader(m,c[m]);return e instanceof XMLHttpRequest&&void 0!==a.withCredentials&&(e.withCredentials=a.withCredentials),this._request=e,!0};d._clean=function(){clearTimeout(this._loadTimeout);null!=this._request.removeEventListener?
(this._request.removeEventListener("loadstart",this._handleLoadStartProxy),this._request.removeEventListener("progress",this._handleProgressProxy),this._request.removeEventListener("abort",this._handleAbortProxy),this._request.removeEventListener("error",this._handleErrorProxy),this._request.removeEventListener("timeout",this._handleTimeoutProxy),this._request.removeEventListener("load",this._handleLoadProxy),this._request.removeEventListener("readystatechange",this._handleReadyStateChangeProxy)):
(this._request.onloadstart=null,this._request.onprogress=null,this._request.onabort=null,this._request.onerror=null,this._request.ontimeout=null,this._request.onload=null,this._request.onreadystatechange=null)};d.toString=function(){return"[PreloadJS XHRRequest]"};createjs.XHRRequest=createjs.promote(f,"AbstractRequest")})();this.createjs=this.createjs||{};
(function(){function f(a,b,c){this.AbstractLoader_constructor();this._plugins=[];this._typeCallbacks={};this._extensionCallbacks={};this.next=null;this.maintainScriptOrder=!0;this.stopOnError=!1;this._maxConnections=1;this._availableLoaders=[createjs.ImageLoader,createjs.JavaScriptLoader,createjs.CSSLoader,createjs.JSONLoader,createjs.JSONPLoader,createjs.SoundLoader,createjs.ManifestLoader,createjs.SpriteSheetLoader,createjs.XMLLoader,createjs.SVGLoader,createjs.BinaryLoader,createjs.VideoLoader,
createjs.TextLoader];this._defaultLoaderLength=this._availableLoaders.length;this.init(a,b,c)}var d=createjs.extend(f,createjs.AbstractLoader);d.init=function(a,b,c){this._preferXHR=this.preferXHR=this.useXHR=!0;this.setPreferXHR(a);this._paused=!1;this._basePath=b;this._crossOrigin=c;this._loadStartWasDispatched=!1;this._currentlyLoadingScript=null;this._currentLoads=[];this._loadQueue=[];this._loadQueueBackup=[];this._loadItemsById={};this._loadItemsBySrc={};this._loadedResults={};this._loadedRawResults=
{};this._numItemsLoaded=this._numItems=0;this._scriptOrder=[];this._loadedScripts=[];this._lastProgress=NaN};f.loadTimeout=8E3;f.LOAD_TIMEOUT=0;f.BINARY=createjs.AbstractLoader.BINARY;f.CSS=createjs.AbstractLoader.CSS;f.IMAGE=createjs.AbstractLoader.IMAGE;f.JAVASCRIPT=createjs.AbstractLoader.JAVASCRIPT;f.JSON=createjs.AbstractLoader.JSON;f.JSONP=createjs.AbstractLoader.JSONP;f.MANIFEST=createjs.AbstractLoader.MANIFEST;f.SOUND=createjs.AbstractLoader.SOUND;f.VIDEO=createjs.AbstractLoader.VIDEO;f.SVG=
createjs.AbstractLoader.SVG;f.TEXT=createjs.AbstractLoader.TEXT;f.XML=createjs.AbstractLoader.XML;f.POST=createjs.AbstractLoader.POST;f.GET=createjs.AbstractLoader.GET;d.registerLoader=function(a){if(!a||!a.canLoadItem)throw Error("loader is of an incorrect type.");if(-1!=this._availableLoaders.indexOf(a))throw Error("loader already exists.");this._availableLoaders.unshift(a)};d.unregisterLoader=function(a){a=this._availableLoaders.indexOf(a);-1!=a&&a<this._defaultLoaderLength-1&&this._availableLoaders.splice(a,
1)};d.setUseXHR=function(a){return this.setPreferXHR(a)};d.setPreferXHR=function(a){return this.preferXHR=0!=a&&null!=window.XMLHttpRequest,this.preferXHR};d.removeAll=function(){this.remove()};d.remove=function(a){var b=null;if(a&&!Array.isArray(a))b=[a];else if(a)b=a;else if(0<arguments.length)return;var c=!1;if(b){for(;b.length;){for(var e=b.pop(),g=this.getResult(e),h=this._loadQueue.length-1;0<=h;h--)if(k=this._loadQueue[h].getItem(),k.id==e||k.src==e){this._loadQueue.splice(h,1)[0].cancel();
break}for(h=this._loadQueueBackup.length-1;0<=h;h--)if(k=this._loadQueueBackup[h].getItem(),k.id==e||k.src==e){this._loadQueueBackup.splice(h,1)[0].cancel();break}if(g)this._disposeItem(this.getItem(e));else for(var h=this._currentLoads.length-1;0<=h;h--){var k=this._currentLoads[h].getItem();if(k.id==e||k.src==e){this._currentLoads.splice(h,1)[0].cancel();c=!0;break}}}c&&this._loadNext()}else{this.close();for(e in this._loadItemsById)this._disposeItem(this._loadItemsById[e]);this.init(this.preferXHR,
this._basePath)}};d.reset=function(){this.close();for(var a in this._loadItemsById)this._disposeItem(this._loadItemsById[a]);a=[];for(var b=0,c=this._loadQueueBackup.length;c>b;b++)a.push(this._loadQueueBackup[b].getItem());this.loadManifest(a,!1)};d.installPlugin=function(a){if(null!=a&&null!=a.getPreloadHandlers){this._plugins.push(a);var b=a.getPreloadHandlers();if(b.scope=a,null!=b.types){a=0;for(var c=b.types.length;c>a;a++)this._typeCallbacks[b.types[a]]=b}if(null!=b.extensions)for(a=0,c=b.extensions.length;c>
a;a++)this._extensionCallbacks[b.extensions[a]]=b}};d.setMaxConnections=function(a){this._maxConnections=a;!this._paused&&0<this._loadQueue.length&&this._loadNext()};d.loadFile=function(a,b,c){if(null==a)return a=new createjs.ErrorEvent("PRELOAD_NO_FILE"),void this._sendError(a);this._addItem(a,null,c);!1!==b?this.setPaused(!1):this.setPaused(!0)};d.loadManifest=function(a,b,c){var e=null,g=null;if(Array.isArray(a)){if(0==a.length)return e=new createjs.ErrorEvent("PRELOAD_MANIFEST_EMPTY"),void this._sendError(e);
e=a}else if("string"==typeof a)e=[{src:a,type:f.MANIFEST}];else{if("object"!=typeof a)return e=new createjs.ErrorEvent("PRELOAD_MANIFEST_NULL"),void this._sendError(e);void 0!==a.src?(null==a.type?a.type=f.MANIFEST:a.type!=f.MANIFEST&&(e=new createjs.ErrorEvent("PRELOAD_MANIFEST_TYPE"),this._sendError(e)),e=[a]):void 0!==a.manifest&&(e=a.manifest,g=a.path)}a=0;for(var h=e.length;h>a;a++)this._addItem(e[a],g,c);!1!==b?this.setPaused(!1):this.setPaused(!0)};d.load=function(){this.setPaused(!1)};d.getItem=
function(a){return this._loadItemsById[a]||this._loadItemsBySrc[a]};d.getResult=function(a,b){var c=this._loadItemsById[a]||this._loadItemsBySrc[a];if(null==c)return null;c=c.id;return b&&this._loadedRawResults[c]?this._loadedRawResults[c]:this._loadedResults[c]};d.getItems=function(a){var b=[],c;for(c in this._loadItemsById){var e=this._loadItemsById[c],g=this.getResult(c);!0===a&&null==g||b.push({item:e,result:g,rawResult:this.getResult(c,!0)})}return b};d.setPaused=function(a){(this._paused=a)||
this._loadNext()};d.close=function(){for(;this._currentLoads.length;)this._currentLoads.pop().cancel();this._scriptOrder.length=0;this._loadedScripts.length=0;this.loadStartWasDispatched=!1;this._itemCount=0;this._lastProgress=NaN};d._addItem=function(a,b,c){a=this._createLoadItem(a,b,c);null!=a&&(b=this._createLoader(a),null!=b&&("plugins"in b&&(b.plugins=this._plugins),a._loader=b,this._loadQueue.push(b),this._loadQueueBackup.push(b),this._numItems++,this._updateProgress(),(this.maintainScriptOrder&&
a.type==createjs.LoadQueue.JAVASCRIPT||!0===a.maintainOrder)&&(this._scriptOrder.push(a),this._loadedScripts.push(null))))};d._createLoadItem=function(a,b,c){a=createjs.LoadItem.create(a);if(null==a)return null;var e="";c=c||this._basePath;if(a.src instanceof Object){if(!a.type)return null;if(b){var e=b,g=createjs.RequestUtils.parseURI(b);null==c||g.absolute||g.relative||(e=c+e)}else null!=c&&(e=c)}else{g=createjs.RequestUtils.parseURI(a.src);g.extension&&(a.ext=g.extension);null==a.type&&(a.type=
createjs.RequestUtils.getTypeByExtension(a.ext));var h=a.src;g.absolute||g.relative||(b?(e=b,g=createjs.RequestUtils.parseURI(b),h=b+h,null==c||g.absolute||g.relative||(e=c+e)):null!=c&&(e=c));a.src=e+a.src}a.path=e;void 0!==a.id&&null!==a.id&&""!==a.id||(a.id=h);if(b=this._typeCallbacks[a.type]||this._extensionCallbacks[a.ext]){b=b.callback.call(b.scope,a,this);if(!1===b)return null;!0===b||null!=b&&(a._loader=b);g=createjs.RequestUtils.parseURI(a.src);null!=g.extension&&(a.ext=g.extension)}return this._loadItemsById[a.id]=
a,this._loadItemsBySrc[a.src]=a,null==a.crossOrigin&&(a.crossOrigin=this._crossOrigin),a};d._createLoader=function(a){if(null!=a._loader)return a._loader;for(var b=this.preferXHR,c=0;c<this._availableLoaders.length;c++){var e=this._availableLoaders[c];if(e&&e.canLoadItem(a))return new e(a,b)}return null};d._loadNext=function(){if(!this._paused){this._loadStartWasDispatched||(this._sendLoadStart(),this._loadStartWasDispatched=!0);this._numItems==this._numItemsLoaded?(this.loaded=!0,this._sendComplete(),
this.next&&this.next.load&&this.next.load()):this.loaded=!1;for(var a=0;a<this._loadQueue.length&&!(this._currentLoads.length>=this._maxConnections);a++){var b=this._loadQueue[a];this._canStartLoad(b)&&(this._loadQueue.splice(a,1),a--,this._loadItem(b))}}};d._loadItem=function(a){a.on("fileload",this._handleFileLoad,this);a.on("progress",this._handleProgress,this);a.on("complete",this._handleFileComplete,this);a.on("error",this._handleError,this);a.on("fileerror",this._handleFileError,this);this._currentLoads.push(a);
this._sendFileStart(a.getItem());a.load()};d._handleFileLoad=function(a){a.target=null;this.dispatchEvent(a)};d._handleFileError=function(a){a=new createjs.ErrorEvent("FILE_LOAD_ERROR",null,a.item);this._sendError(a)};d._handleError=function(a){a=a.target;this._numItemsLoaded++;this._finishOrderedItem(a,!0);this._updateProgress();var b=new createjs.ErrorEvent("FILE_LOAD_ERROR",null,a.getItem());this._sendError(b);this.stopOnError?this.setPaused(!0):(this._removeLoadItem(a),this._cleanLoadItem(a),
this._loadNext())};d._handleFileComplete=function(a){a=a.target;var b=a.getItem(),c=a.getResult();this._loadedResults[b.id]=c;var e=a.getResult(!0);null!=e&&e!==c&&(this._loadedRawResults[b.id]=e);this._saveLoadedItems(a);this._removeLoadItem(a);this._finishOrderedItem(a)||this._processFinishedLoad(b,a);this._cleanLoadItem(a)};d._saveLoadedItems=function(a){a=a.getLoadedItems();if(null!==a)for(var b=0;b<a.length;b++){var c=a[b].item;this._loadItemsBySrc[c.src]=c;this._loadItemsById[c.id]=c;this._loadedResults[c.id]=
a[b].result;this._loadedRawResults[c.id]=a[b].rawResult}};d._finishOrderedItem=function(a,b){var c=a.getItem();if(this.maintainScriptOrder&&c.type==createjs.LoadQueue.JAVASCRIPT||c.maintainOrder){a instanceof createjs.JavaScriptLoader&&(this._currentlyLoadingScript=!1);var e=createjs.indexOf(this._scriptOrder,c);return-1==e?!1:(this._loadedScripts[e]=!0===b?!0:c,this._checkScriptLoadOrder(),!0)}return!1};d._checkScriptLoadOrder=function(){for(var a=this._loadedScripts.length,b=0;a>b;b++){var c=this._loadedScripts[b];
if(null===c)break;if(!0!==c){var e=this._loadedResults[c.id];c.type==createjs.LoadQueue.JAVASCRIPT&&createjs.DomUtils.appendToHead(e);this._processFinishedLoad(c,c._loader);this._loadedScripts[b]=!0}}};d._processFinishedLoad=function(a,b){if(this._numItemsLoaded++,!this.maintainScriptOrder&&a.type==createjs.LoadQueue.JAVASCRIPT){var c=b.getTag();createjs.DomUtils.appendToHead(c)}this._updateProgress();this._sendFileComplete(a,b);this._loadNext()};d._canStartLoad=function(a){if(!this.maintainScriptOrder||
a.preferXHR)return!0;a=a.getItem();if(a.type!=createjs.LoadQueue.JAVASCRIPT)return!0;if(this._currentlyLoadingScript)return!1;a=this._scriptOrder.indexOf(a);for(var b=0;a>b;){if(null==this._loadedScripts[b])return!1;b++}return this._currentlyLoadingScript=!0,!0};d._removeLoadItem=function(a){for(var b=this._currentLoads.length,c=0;b>c;c++)if(this._currentLoads[c]==a){this._currentLoads.splice(c,1);break}};d._cleanLoadItem=function(a){(a=a.getItem())&&delete a._loader};d._handleProgress=function(a){a=
a.target;this._sendFileProgress(a.getItem(),a.progress);this._updateProgress()};d._updateProgress=function(){var a=this._numItemsLoaded/this._numItems,b=this._numItems-this._numItemsLoaded;if(0<b){for(var c=0,e=0,g=this._currentLoads.length;g>e;e++)c+=this._currentLoads[e].progress;a+=c/b*(b/this._numItems)}this._lastProgress!=a&&(this._sendProgress(a),this._lastProgress=a)};d._disposeItem=function(a){delete this._loadedResults[a.id];delete this._loadedRawResults[a.id];delete this._loadItemsById[a.id];
delete this._loadItemsBySrc[a.src]};d._sendFileProgress=function(a,b){if(!this._isCanceled()&&!this._paused&&this.hasEventListener("fileprogress")){var c=new createjs.Event("fileprogress");c.progress=b;c.loaded=b;c.total=1;c.item=a;this.dispatchEvent(c)}};d._sendFileComplete=function(a,b){if(!this._isCanceled()&&!this._paused){var c=new createjs.Event("fileload");c.loader=b;c.item=a;c.result=this._loadedResults[a.id];c.rawResult=this._loadedRawResults[a.id];a.completeHandler&&a.completeHandler(c);
this.hasEventListener("fileload")&&this.dispatchEvent(c)}};d._sendFileStart=function(a){var b=new createjs.Event("filestart");b.item=a;this.hasEventListener("filestart")&&this.dispatchEvent(b)};d.toString=function(){return"[PreloadJS LoadQueue]"};createjs.LoadQueue=createjs.promote(f,"AbstractLoader")})();this.createjs=this.createjs||{};
(function(){function f(d){this.AbstractLoader_constructor(d,!0,createjs.AbstractLoader.TEXT)}(createjs.extend(f,createjs.AbstractLoader),f).canLoadItem=function(d){return d.type==createjs.AbstractLoader.TEXT};createjs.TextLoader=createjs.promote(f,"AbstractLoader")})();this.createjs=this.createjs||{};
(function(){function f(a){this.AbstractLoader_constructor(a,!0,createjs.AbstractLoader.BINARY);this.on("initialize",this._updateXHR,this)}var d=createjs.extend(f,createjs.AbstractLoader);f.canLoadItem=function(a){return a.type==createjs.AbstractLoader.BINARY};d._updateXHR=function(a){a.loader.setResponseType("arraybuffer")};createjs.BinaryLoader=createjs.promote(f,"AbstractLoader")})();this.createjs=this.createjs||{};
(function(){function f(a,b){this.AbstractLoader_constructor(a,b,createjs.AbstractLoader.CSS);this.resultFormatter=this._formatResult;this._tagSrcAttribute="href";b?this._tag=document.createElement("style"):this._tag=document.createElement("link");this._tag.rel="stylesheet";this._tag.type="text/css"}var d=createjs.extend(f,createjs.AbstractLoader);f.canLoadItem=function(a){return a.type==createjs.AbstractLoader.CSS};d._formatResult=function(a){if(this._preferXHR){var b=a.getTag();b.styleSheet?b.styleSheet.cssText=
a.getResult(!0):(a=document.createTextNode(a.getResult(!0)),b.appendChild(a))}else b=this._tag;return createjs.DomUtils.appendToHead(b),b};createjs.CSSLoader=createjs.promote(f,"AbstractLoader")})();this.createjs=this.createjs||{};
(function(){function f(a,b){this.AbstractLoader_constructor(a,b,createjs.AbstractLoader.IMAGE);this.resultFormatter=this._formatResult;this._tagSrcAttribute="src";createjs.RequestUtils.isImageTag(a)?this._tag=a:createjs.RequestUtils.isImageTag(a.src)?this._tag=a.src:createjs.RequestUtils.isImageTag(a.tag)&&(this._tag=a.tag);null!=this._tag?this._preferXHR=!1:this._tag=document.createElement("img");this.on("initialize",this._updateXHR,this)}var d=createjs.extend(f,createjs.AbstractLoader);f.canLoadItem=
function(a){return a.type==createjs.AbstractLoader.IMAGE};d.load=function(){if(""!=this._tag.src&&this._tag.complete)return void this._sendComplete();var a=this._item.crossOrigin;1==a&&(a="Anonymous");null==a||createjs.RequestUtils.isLocal(this._item.src)||(this._tag.crossOrigin=a);this.AbstractLoader_load()};d._updateXHR=function(a){a.loader.mimeType="text/plain; charset\x3dx-user-defined-binary";a.loader.setResponseType&&a.loader.setResponseType("blob")};d._formatResult=function(a){return this._formatImage};
d._formatImage=function(a,b){var c=this._tag,e=window.URL||window.webkitURL;this._preferXHR&&(e?(e=e.createObjectURL(this.getResult(!0)),c.src=e,c.addEventListener("load",this._cleanUpURL,!1),c.addEventListener("error",this._cleanUpURL,!1)):c.src=this._item.src);c.complete?a(c):(c.onload=createjs.proxy(function(){a(this._tag)},this),c.onerror=createjs.proxy(function(){b(_this._tag)},this))};d._cleanUpURL=function(a){(window.URL||window.webkitURL).revokeObjectURL(a.target.src)};createjs.ImageLoader=
createjs.promote(f,"AbstractLoader")})();this.createjs=this.createjs||{};
(function(){function f(a,b){this.AbstractLoader_constructor(a,b,createjs.AbstractLoader.JAVASCRIPT);this.resultFormatter=this._formatResult;this._tagSrcAttribute="src";this.setTag(document.createElement("script"))}var d=createjs.extend(f,createjs.AbstractLoader);f.canLoadItem=function(a){return a.type==createjs.AbstractLoader.JAVASCRIPT};d._formatResult=function(a){var b=a.getTag();return this._preferXHR&&(b.text=a.getResult(!0)),b};createjs.JavaScriptLoader=createjs.promote(f,"AbstractLoader")})();
this.createjs=this.createjs||{};
(function(){function f(a){this.AbstractLoader_constructor(a,!0,createjs.AbstractLoader.JSON);this.resultFormatter=this._formatResult}var d=createjs.extend(f,createjs.AbstractLoader);f.canLoadItem=function(a){return a.type==createjs.AbstractLoader.JSON};d._formatResult=function(a){var b=null;try{b=createjs.DataUtils.parseJSON(a.getResult(!0))}catch(c){return a=new createjs.ErrorEvent("JSON_FORMAT",null,c),this._sendError(a),c}return b};createjs.JSONLoader=createjs.promote(f,"AbstractLoader")})();
this.createjs=this.createjs||{};
(function(){function f(a){this.AbstractLoader_constructor(a,!1,createjs.AbstractLoader.JSONP);this.setTag(document.createElement("script"));this.getTag().type="text/javascript"}var d=createjs.extend(f,createjs.AbstractLoader);f.canLoadItem=function(a){return a.type==createjs.AbstractLoader.JSONP};d.cancel=function(){this.AbstractLoader_cancel();this._dispose()};d.load=function(){if(null==this._item.callback)throw Error("callback is required for loading JSONP requests.");if(null!=window[this._item.callback])throw Error("JSONP callback '"+
this._item.callback+"' already exists on window. You need to specify a different callback or re-name the current one.");window[this._item.callback]=createjs.proxy(this._handleLoad,this);window.document.body.appendChild(this._tag);this._loadTimeout=setTimeout(createjs.proxy(this._handleTimeout,this),this._item.loadTimeout);this._tag.src=this._item.src};d._handleLoad=function(a){this._result=this._rawResult=a;this._sendComplete();this._dispose()};d._handleTimeout=function(){this._dispose();this.dispatchEvent(new createjs.ErrorEvent("timeout"))};
d._dispose=function(){window.document.body.removeChild(this._tag);delete window[this._item.callback];clearTimeout(this._loadTimeout)};createjs.JSONPLoader=createjs.promote(f,"AbstractLoader")})();this.createjs=this.createjs||{};
(function(){function f(a){this.AbstractLoader_constructor(a,null,createjs.AbstractLoader.MANIFEST);this._manifestQueue=this.plugins=null}var d=createjs.extend(f,createjs.AbstractLoader);f.MANIFEST_PROGRESS=0.25;f.canLoadItem=function(a){return a.type==createjs.AbstractLoader.MANIFEST};d.load=function(){this.AbstractLoader_load()};d._createRequest=function(){null!=this._item.callback?this._request=new createjs.JSONPLoader(this._item):this._request=new createjs.JSONLoader(this._item)};d.handleEvent=
function(a){switch(a.type){case "complete":return this._rawResult=a.target.getResult(!0),this._result=a.target.getResult(),this._sendProgress(f.MANIFEST_PROGRESS),void this._loadManifest(this._result);case "progress":return a.loaded*=f.MANIFEST_PROGRESS,this.progress=a.loaded/a.total,(isNaN(this.progress)||this.progress==1/0)&&(this.progress=0),void this._sendProgress(a)}this.AbstractLoader_handleEvent(a)};d.destroy=function(){this.AbstractLoader_destroy();this._manifestQueue.close()};d._loadManifest=
function(a){if(a&&a.manifest){var b=this._manifestQueue=new createjs.LoadQueue;b.on("fileload",this._handleManifestFileLoad,this);b.on("progress",this._handleManifestProgress,this);b.on("complete",this._handleManifestComplete,this,!0);b.on("error",this._handleManifestError,this,!0);for(var c=0,e=this.plugins.length;e>c;c++)b.installPlugin(this.plugins[c]);b.loadManifest(a)}else this._sendComplete()};d._handleManifestFileLoad=function(a){a.target=null;this.dispatchEvent(a)};d._handleManifestComplete=
function(a){this._loadedItems=this._manifestQueue.getItems(!0);this._sendComplete()};d._handleManifestProgress=function(a){this.progress=a.progress*(1-f.MANIFEST_PROGRESS)+f.MANIFEST_PROGRESS;this._sendProgress(this.progress)};d._handleManifestError=function(a){var b=new createjs.Event("fileerror");b.item=a.data;this.dispatchEvent(b)};createjs.ManifestLoader=createjs.promote(f,"AbstractLoader")})();this.createjs=this.createjs||{};
(function(){function f(a,b){this.AbstractMediaLoader_constructor(a,b,createjs.AbstractLoader.SOUND);createjs.RequestUtils.isAudioTag(a)?this._tag=a:createjs.RequestUtils.isAudioTag(a.src)?this._tag=a:createjs.RequestUtils.isAudioTag(a.tag)&&(this._tag=createjs.RequestUtils.isAudioTag(a)?a:a.src);null!=this._tag&&(this._preferXHR=!1)}var d=createjs.extend(f,createjs.AbstractMediaLoader);f.canLoadItem=function(a){return a.type==createjs.AbstractLoader.SOUND};d._createTag=function(a){var b=document.createElement("audio");
return b.autoplay=!1,b.preload="none",b.src=a,b};createjs.SoundLoader=createjs.promote(f,"AbstractMediaLoader")})();this.createjs=this.createjs||{};
(function(){function f(d,a){this.AbstractMediaLoader_constructor(d,a,createjs.AbstractLoader.VIDEO);createjs.RequestUtils.isVideoTag(d)||createjs.RequestUtils.isVideoTag(d.src)?(this.setTag(createjs.RequestUtils.isVideoTag(d)?d:d.src),this._preferXHR=!1):this.setTag(this._createTag())}createjs.extend(f,createjs.AbstractMediaLoader)._createTag=function(){return document.createElement("video")};f.canLoadItem=function(d){return d.type==createjs.AbstractLoader.VIDEO};createjs.VideoLoader=createjs.promote(f,
"AbstractMediaLoader")})();this.createjs=this.createjs||{};
(function(){function f(a,b){this.AbstractLoader_constructor(a,b,createjs.AbstractLoader.SPRITESHEET);this._manifestQueue=null}var d=createjs.extend(f,createjs.AbstractLoader);f.SPRITESHEET_PROGRESS=0.25;f.canLoadItem=function(a){return a.type==createjs.AbstractLoader.SPRITESHEET};d.destroy=function(){this._manifestQueue.close()};d._createRequest=function(){null!=this._item.callback?this._request=new createjs.JSONPLoader(this._item):this._request=new createjs.JSONLoader(this._item)};d.handleEvent=
function(a){switch(a.type){case "complete":return this._rawResult=a.target.getResult(!0),this._result=a.target.getResult(),this._sendProgress(f.SPRITESHEET_PROGRESS),void this._loadManifest(this._result);case "progress":return a.loaded*=f.SPRITESHEET_PROGRESS,this.progress=a.loaded/a.total,(isNaN(this.progress)||this.progress==1/0)&&(this.progress=0),void this._sendProgress(a)}this.AbstractLoader_handleEvent(a)};d._loadManifest=function(a){if(a&&a.images){var b=this._manifestQueue=new createjs.LoadQueue(this._preferXHR,
this._item.path,this._item.crossOrigin);b.on("complete",this._handleManifestComplete,this,!0);b.on("fileload",this._handleManifestFileLoad,this);b.on("progress",this._handleManifestProgress,this);b.on("error",this._handleManifestError,this,!0);b.loadManifest(a.images)}};d._handleManifestFileLoad=function(a){var b=a.result;if(null!=b){var c=this.getResult().images;a=c.indexOf(a.item.src);c[a]=b}};d._handleManifestComplete=function(a){this._result=new createjs.SpriteSheet(this._result);this._loadedItems=
this._manifestQueue.getItems(!0);this._sendComplete()};d._handleManifestProgress=function(a){this.progress=a.progress*(1-f.SPRITESHEET_PROGRESS)+f.SPRITESHEET_PROGRESS;this._sendProgress(this.progress)};d._handleManifestError=function(a){var b=new createjs.Event("fileerror");b.item=a.data;this.dispatchEvent(b)};createjs.SpriteSheetLoader=createjs.promote(f,"AbstractLoader")})();this.createjs=this.createjs||{};
(function(){function f(a,b){this.AbstractLoader_constructor(a,b,createjs.AbstractLoader.SVG);this.resultFormatter=this._formatResult;this._tagSrcAttribute="data";b?this.setTag(document.createElement("svg")):(this.setTag(document.createElement("object")),this.getTag().type="image/svg+xml")}var d=createjs.extend(f,createjs.AbstractLoader);f.canLoadItem=function(a){return a.type==createjs.AbstractLoader.SVG};d._formatResult=function(a){var b=createjs.DataUtils.parseXML(a.getResult(!0),"text/xml");a=
a.getTag();return!this._preferXHR&&document.body.contains(a)&&document.body.removeChild(a),null!=b.documentElement?(a.appendChild(b.documentElement),a.style.visibility="visible",a):b};createjs.SVGLoader=createjs.promote(f,"AbstractLoader")})();this.createjs=this.createjs||{};
(function(){function f(a){this.AbstractLoader_constructor(a,!0,createjs.AbstractLoader.XML);this.resultFormatter=this._formatResult}var d=createjs.extend(f,createjs.AbstractLoader);f.canLoadItem=function(a){return a.type==createjs.AbstractLoader.XML};d._formatResult=function(a){return createjs.DataUtils.parseXML(a.getResult(!0),"text/xml")};createjs.XMLLoader=createjs.promote(f,"AbstractLoader")})();this.createjs=this.createjs||{};
(function(){var f=createjs.SoundJS=createjs.SoundJS||{};f.version="0.6.2";f.buildDate="Thu, 26 Nov 2015 20:44:31 GMT"})();this.createjs=this.createjs||{};createjs.indexOf=function(f,d){for(var a=0,b=f.length;b>a;a++)if(d===f[a])return a;return-1};this.createjs=this.createjs||{};(function(){createjs.proxy=function(f,d){var a=Array.prototype.slice.call(arguments,2);return function(){return f.apply(d,Array.prototype.slice.call(arguments,0).concat(a))}}})();this.createjs=this.createjs||{};
(function(){function f(){throw"BrowserDetect cannot be instantiated";}var d=f.agent=window.navigator.userAgent;f.isWindowPhone=-1<d.indexOf("IEMobile")||-1<d.indexOf("Windows Phone");f.isFirefox=-1<d.indexOf("Firefox");f.isOpera=null!=window.opera;f.isChrome=-1<d.indexOf("Chrome");f.isIOS=(-1<d.indexOf("iPod")||-1<d.indexOf("iPhone")||-1<d.indexOf("iPad"))&&!f.isWindowPhone;f.isAndroid=-1<d.indexOf("Android")&&!f.isWindowPhone;f.isBlackberry=-1<d.indexOf("Blackberry");createjs.BrowserDetect=f})();
this.createjs=this.createjs||{};(function(){var f=function(){this.duration=this.startTime=this.pan=this.volume=this.loop=this.offset=this.delay=this.interrupt=null},d=f.prototype={};f.create=function(a){if(a instanceof f||a instanceof Object){var b=new createjs.PlayPropsConfig;return b.set(a),b}throw Error("Type not recognized.");};d.set=function(a){for(var b in a)this[b]=a[b];return this};d.toString=function(){return"[PlayPropsConfig]"};createjs.PlayPropsConfig=f})();
this.createjs=this.createjs||{};
(function(){function f(){throw"Sound cannot be instantiated";}function d(b,c){this.init(b,c)}f.INTERRUPT_ANY="any";f.INTERRUPT_EARLY="early";f.INTERRUPT_LATE="late";f.INTERRUPT_NONE="none";f.PLAY_INITED="playInited";f.PLAY_SUCCEEDED="playSucceeded";f.PLAY_INTERRUPTED="playInterrupted";f.PLAY_FINISHED="playFinished";f.PLAY_FAILED="playFailed";f.SUPPORTED_EXTENSIONS="mp3 ogg opus mpeg wav m4a mp4 aiff wma mid".split(" ");f.EXTENSION_MAP={m4a:"mp4"};f.FILE_PATTERN=/^(?:(\w+:)\/{2}(\w+(?:\.\w+)*\/?))?([\/.]*?(?:[^?]+)?\/)?((?:[^\/?]+)\.(\w+))(?:\?(\S+)?)?$/;f.defaultInterruptBehavior=
f.INTERRUPT_NONE;f.alternateExtensions=[];f.activePlugin=null;f._masterVolume=1;Object.defineProperty(f,"volume",{get:function(){return this._masterVolume},set:function(b){if(null==Number(b))return!1;if(b=Math.max(0,Math.min(1,b)),f._masterVolume=b,!this.activePlugin||!this.activePlugin.setVolume||!this.activePlugin.setVolume(b))for(var c=this._instances,e=0,g=c.length;g>e;e++)c[e].setMasterVolume(b)}});f._masterMute=!1;Object.defineProperty(f,"muted",{get:function(){return this._masterMute},set:function(b){if(null==
b)return!1;if(this._masterMute=b,!this.activePlugin||!this.activePlugin.setMute||!this.activePlugin.setMute(b))for(var c=this._instances,e=0,g=c.length;g>e;e++)c[e].setMasterMute(b);return!0}});Object.defineProperty(f,"capabilities",{get:function(){return null==f.activePlugin?null:f.activePlugin._capabilities},set:function(b){return!1}});f._pluginsRegistered=!1;f._lastID=0;f._instances=[];f._idHash={};f._preloadHash={};f._defaultPlayPropsHash={};f.addEventListener=null;f.removeEventListener=null;
f.removeAllEventListeners=null;f.dispatchEvent=null;f.hasEventListener=null;f._listeners=null;createjs.EventDispatcher.initialize(f);f.getPreloadHandlers=function(){return{callback:createjs.proxy(f.initLoad,f),types:["sound"],extensions:f.SUPPORTED_EXTENSIONS}};f._handleLoadComplete=function(b){var c=b.target.getItem().src;if(f._preloadHash[c])for(var e=0,g=f._preloadHash[c].length;g>e;e++){var h=f._preloadHash[c][e];if(f._preloadHash[c][e]=!0,f.hasEventListener("fileload"))b=new createjs.Event("fileload"),
b.src=h.src,b.id=h.id,b.data=h.data,b.sprite=h.sprite,f.dispatchEvent(b)}};f._handleLoadError=function(b){var c=b.target.getItem().src;if(f._preloadHash[c])for(var e=0,g=f._preloadHash[c].length;g>e;e++){var h=f._preloadHash[c][e];if(f._preloadHash[c][e]=!1,f.hasEventListener("fileerror"))b=new createjs.Event("fileerror"),b.src=h.src,b.id=h.id,b.data=h.data,b.sprite=h.sprite,f.dispatchEvent(b)}};f._registerPlugin=function(b){return b.isSupported()?(f.activePlugin=new b,!0):!1};f.registerPlugins=function(b){f._pluginsRegistered=
!0;for(var c=0,e=b.length;e>c;c++)if(f._registerPlugin(b[c]))return!0;return!1};f.initializeDefaultPlugins=function(){return null!=f.activePlugin?!0:f._pluginsRegistered?!1:f.registerPlugins([createjs.WebAudioPlugin,createjs.HTMLAudioPlugin])?!0:!1};f.isReady=function(){return null!=f.activePlugin};f.getCapabilities=function(){return null==f.activePlugin?null:f.activePlugin._capabilities};f.getCapability=function(b){return null==f.activePlugin?null:f.activePlugin._capabilities[b]};f.initLoad=function(b){return f._registerSound(b)};
f._registerSound=function(b){if(!f.initializeDefaultPlugins())return!1;var c;if(b.src instanceof Object?(c=f._parseSrc(b.src),c.src=b.path+c.src):c=f._parsePath(b.src),null==c)return!1;b.src=c.src;b.type="sound";c=b.data;var e=null;if(null!=c&&(isNaN(c.channels)?isNaN(c)||(e=parseInt(c)):e=parseInt(c.channels),c.audioSprite))for(var g,h=c.audioSprite.length;h--;)g=c.audioSprite[h],f._idHash[g.id]={src:b.src,startTime:parseInt(g.startTime),duration:parseInt(g.duration)},g.defaultPlayProps&&(f._defaultPlayPropsHash[g.id]=
createjs.PlayPropsConfig.create(g.defaultPlayProps));null!=b.id&&(f._idHash[b.id]={src:b.src});g=f.activePlugin.register(b);return d.create(b.src,e),null!=c&&isNaN(c)?b.data.channels=e||d.maxPerChannel():b.data=e||d.maxPerChannel(),g.type&&(b.type=g.type),b.defaultPlayProps&&(f._defaultPlayPropsHash[b.src]=createjs.PlayPropsConfig.create(b.defaultPlayProps)),g};f.registerSound=function(b,c,e,g,h){e={src:b,id:c,data:e,defaultPlayProps:h};b instanceof Object&&b.src&&(g=c,e=b);e=createjs.LoadItem.create(e);
e.path=g;null==g||e.src instanceof Object||(e.src=g+b);b=f._registerSound(e);if(!b)return!1;if(f._preloadHash[e.src]||(f._preloadHash[e.src]=[]),f._preloadHash[e.src].push(e),1==f._preloadHash[e.src].length)b.on("complete",createjs.proxy(this._handleLoadComplete,this)),b.on("error",createjs.proxy(this._handleLoadError,this)),f.activePlugin.preload(b);else if(1==f._preloadHash[e.src][0])return!0;return e};f.registerSounds=function(b,c){var e=[];b.path&&(c?c+=b.path:c=b.path,b=b.manifest);for(var g=
0,h=b.length;h>g;g++)e[g]=createjs.Sound.registerSound(b[g].src,b[g].id,b[g].data,c,b[g].defaultPlayProps);return e};f.removeSound=function(b,c){if(null==f.activePlugin)return!1;b instanceof Object&&b.src&&(b=b.src);var e;if(b instanceof Object?e=f._parseSrc(b):(b=f._getSrcById(b).src,e=f._parsePath(b)),null==e)return!1;b=e.src;null!=c&&(b=c+b);for(var g in f._idHash)f._idHash[g].src==b&&delete f._idHash[g];return d.removeSrc(b),delete f._preloadHash[b],f.activePlugin.removeSound(b),!0};f.removeSounds=
function(b,c){var e=[];b.path&&(c?c+=b.path:c=b.path,b=b.manifest);for(var g=0,h=b.length;h>g;g++)e[g]=createjs.Sound.removeSound(b[g].src,c);return e};f.removeAllSounds=function(){f._idHash={};f._preloadHash={};d.removeAll();f.activePlugin&&f.activePlugin.removeAllSounds()};f.loadComplete=function(b){if(!f.isReady())return!1;var c=f._parsePath(b);return b=c?f._getSrcById(c.src).src:f._getSrcById(b).src,void 0==f._preloadHash[b]?!1:1==f._preloadHash[b][0]};f._parsePath=function(b){"string"!=typeof b&&
(b=b.toString());var c=b.match(f.FILE_PATTERN);if(null==c)return!1;for(var e=c[4],g=c[5],h=f.capabilities,k=0;!h[g];)if(g=f.alternateExtensions[k++],k>f.alternateExtensions.length)return null;b=b.replace("."+c[5],"."+g);return{name:e,src:b,extension:g}};f._parseSrc=function(b){var c={name:void 0,src:void 0,extension:void 0},e=f.capabilities,g;for(g in b)if(b.hasOwnProperty(g)&&e[g]){c.src=b[g];c.extension=g;break}if(!c.src)return!1;b=c.src.lastIndexOf("/");return-1!=b?c.name=c.src.slice(b+1):c.name=
c.src,c};f.play=function(b,c,e,g,h,k,l,m,n){c=c instanceof Object||c instanceof createjs.PlayPropsConfig?createjs.PlayPropsConfig.create(c):createjs.PlayPropsConfig.create({interrupt:c,delay:e,offset:g,loop:h,volume:k,pan:l,startTime:m,duration:n});b=f.createInstance(b,c.startTime,c.duration);return f._playInstance(b,c)||b._playFailed(),b};f.createInstance=function(b,c,e){if(!f.initializeDefaultPlugins())return new createjs.DefaultSoundInstance(b,c,e);var g=f._defaultPlayPropsHash[b];b=f._getSrcById(b);
var h=f._parsePath(b.src),k=null;return null!=h&&null!=h.src?(d.create(h.src),null==c&&(c=b.startTime),k=f.activePlugin.create(h.src,c,e||b.duration),g=g||f._defaultPlayPropsHash[h.src],g&&k.applyPlayProps(g)):k=new createjs.DefaultSoundInstance(b,c,e),k.uniqueId=f._lastID++,k};f.stop=function(){for(var b=this._instances,c=b.length;c--;)b[c].stop()};f.setVolume=function(b){if(null==Number(b))return!1;if(b=Math.max(0,Math.min(1,b)),f._masterVolume=b,!this.activePlugin||!this.activePlugin.setVolume||
!this.activePlugin.setVolume(b))for(var c=this._instances,e=0,g=c.length;g>e;e++)c[e].setMasterVolume(b)};f.getVolume=function(){return this._masterVolume};f.setMute=function(b){if(null==b)return!1;if(this._masterMute=b,!this.activePlugin||!this.activePlugin.setMute||!this.activePlugin.setMute(b))for(var c=this._instances,e=0,g=c.length;g>e;e++)c[e].setMasterMute(b);return!0};f.getMute=function(){return this._masterMute};f.setDefaultPlayProps=function(b,c){b=f._getSrcById(b);f._defaultPlayPropsHash[f._parsePath(b.src).src]=
createjs.PlayPropsConfig.create(c)};f.getDefaultPlayProps=function(b){return b=f._getSrcById(b),f._defaultPlayPropsHash[f._parsePath(b.src).src]};f._playInstance=function(b,c){var e=f._defaultPlayPropsHash[b.src]||{};if(null==c.interrupt&&(c.interrupt=e.interrupt||f.defaultInterruptBehavior),null==c.delay&&(c.delay=e.delay||0),null==c.offset&&(c.offset=b.getPosition()),null==c.loop&&(c.loop=b.loop),null==c.volume&&(c.volume=b.volume),null==c.pan&&(c.pan=b.pan),0==c.delay){if(!f._beginPlaying(b,c))return!1}else e=
setTimeout(function(){f._beginPlaying(b,c)},c.delay),b.delayTimeoutId=e;return this._instances.push(b),!0};f._beginPlaying=function(b,c){if(!d.add(b,c.interrupt))return!1;if(!b._beginPlaying(c)){var e=createjs.indexOf(this._instances,b);return-1<e&&this._instances.splice(e,1),!1}return!0};f._getSrcById=function(b){return f._idHash[b]||{src:b}};f._playFinished=function(b){d.remove(b);b=createjs.indexOf(this._instances,b);-1<b&&this._instances.splice(b,1)};createjs.Sound=f;d.channels={};d.create=function(b,
c){return null==d.get(b)?(d.channels[b]=new d(b,c),!0):!1};d.removeSrc=function(b){var c=d.get(b);return null==c?!1:(c._removeAll(),delete d.channels[b],!0)};d.removeAll=function(){for(var b in d.channels)d.channels[b]._removeAll();d.channels={}};d.add=function(b,c){var e=d.get(b.src);return null==e?!1:e._add(b,c)};d.remove=function(b){var c=d.get(b.src);return null==c?!1:(c._remove(b),!0)};d.maxPerChannel=function(){return a.maxDefault};d.get=function(b){return d.channels[b]};var a=d.prototype;a.constructor=
d;a.src=null;a.max=null;a.maxDefault=100;a.length=0;a.init=function(b,c){this.src=b;this.max=c||this.maxDefault;-1==this.max&&(this.max=this.maxDefault);this._instances=[]};a._get=function(b){return this._instances[b]};a._add=function(b,c){return this._getSlot(c,b)?(this._instances.push(b),this.length++,!0):!1};a._remove=function(b){b=createjs.indexOf(this._instances,b);return-1==b?!1:(this._instances.splice(b,1),this.length--,!0)};a._removeAll=function(){for(var b=this.length-1;0<=b;b--)this._instances[b].stop()};
a._getSlot=function(b,c){var e,g;if(b!=f.INTERRUPT_NONE&&(g=this._get(0),null==g))return!0;for(var h=0,k=this.max;k>h;h++){if(e=this._get(h),null==e)return!0;if(e.playState==f.PLAY_FINISHED||e.playState==f.PLAY_INTERRUPTED||e.playState==f.PLAY_FAILED){g=e;break}b!=f.INTERRUPT_NONE&&(b==f.INTERRUPT_EARLY&&e.getPosition()<g.getPosition()||b==f.INTERRUPT_LATE&&e.getPosition()>g.getPosition())&&(g=e)}return null!=g?(g._interrupt(),this._remove(g),!0):!1};a.toString=function(){return"[Sound SoundChannel]"}})();
this.createjs=this.createjs||{};
(function(){var f=function(a,b,c,e){this.EventDispatcher_constructor();this.src=a;this.uniqueId=-1;this.delayTimeoutId=this.playState=null;this._volume=1;Object.defineProperty(this,"volume",{get:this.getVolume,set:this.setVolume});this._pan=0;Object.defineProperty(this,"pan",{get:this.getPan,set:this.setPan});this._startTime=Math.max(0,b||0);Object.defineProperty(this,"startTime",{get:this.getStartTime,set:this.setStartTime});this._duration=Math.max(0,c||0);Object.defineProperty(this,"duration",{get:this.getDuration,
set:this.setDuration});this._playbackResource=null;Object.defineProperty(this,"playbackResource",{get:this.getPlaybackResource,set:this.setPlaybackResource});!1!==e&&!0!==e&&this.setPlaybackResource(e);this._position=0;Object.defineProperty(this,"position",{get:this.getPosition,set:this.setPosition});this._loop=0;Object.defineProperty(this,"loop",{get:this.getLoop,set:this.setLoop});this._muted=!1;Object.defineProperty(this,"muted",{get:this.getMuted,set:this.setMuted});this._paused=!1;Object.defineProperty(this,
"paused",{get:this.getPaused,set:this.setPaused})},d=createjs.extend(f,createjs.EventDispatcher);d.play=function(a,b,c,e,g,h){var k;return k=a instanceof Object||a instanceof createjs.PlayPropsConfig?createjs.PlayPropsConfig.create(a):createjs.PlayPropsConfig.create({interrupt:a,delay:b,offset:c,loop:e,volume:g,pan:h}),this.playState==createjs.Sound.PLAY_SUCCEEDED?(this.applyPlayProps(k),void(this._paused&&this.setPaused(!1))):(this._cleanUp(),createjs.Sound._playInstance(this,k),this)};d.stop=function(){return this._position=
0,this._paused=!1,this._handleStop(),this._cleanUp(),this.playState=createjs.Sound.PLAY_FINISHED,this};d.destroy=function(){this._cleanUp();this.playbackResource=this.src=null;this.removeAllEventListeners()};d.applyPlayProps=function(a){return null!=a.offset&&this.setPosition(a.offset),null!=a.loop&&this.setLoop(a.loop),null!=a.volume&&this.setVolume(a.volume),null!=a.pan&&this.setPan(a.pan),null!=a.startTime&&(this.setStartTime(a.startTime),this.setDuration(a.duration)),this};d.toString=function(){return"[AbstractSoundInstance]"};
d.getPaused=function(){return this._paused};d.setPaused=function(a){return!0!==a&&!1!==a||this._paused==a||1==a&&this.playState!=createjs.Sound.PLAY_SUCCEEDED?void 0:(this._paused=a,a?this._pause():this._resume(),clearTimeout(this.delayTimeoutId),this)};d.setVolume=function(a){return a==this._volume?this:(this._volume=Math.max(0,Math.min(1,a)),this._muted||this._updateVolume(),this)};d.getVolume=function(){return this._volume};d.setMuted=function(a){return!0===a||!1===a?(this._muted=a,this._updateVolume(),
this):void 0};d.getMuted=function(){return this._muted};d.setPan=function(a){return a==this._pan?this:(this._pan=Math.max(-1,Math.min(1,a)),this._updatePan(),this)};d.getPan=function(){return this._pan};d.getPosition=function(){return this._paused||this.playState!=createjs.Sound.PLAY_SUCCEEDED||(this._position=this._calculateCurrentPosition()),this._position};d.setPosition=function(a){return this._position=Math.max(0,a),this.playState==createjs.Sound.PLAY_SUCCEEDED&&this._updatePosition(),this};d.getStartTime=
function(){return this._startTime};d.setStartTime=function(a){return a==this._startTime?this:(this._startTime=Math.max(0,a||0),this._updateStartTime(),this)};d.getDuration=function(){return this._duration};d.setDuration=function(a){return a==this._duration?this:(this._duration=Math.max(0,a||0),this._updateDuration(),this)};d.setPlaybackResource=function(a){return this._playbackResource=a,0==this._duration&&this._setDurationFromSource(),this};d.getPlaybackResource=function(){return this._playbackResource};
d.getLoop=function(){return this._loop};d.setLoop=function(a){null!=this._playbackResource&&(0!=this._loop&&0==a?this._removeLooping(a):0==this._loop&&0!=a&&this._addLooping(a));this._loop=a};d._sendEvent=function(a){a=new createjs.Event(a);this.dispatchEvent(a)};d._cleanUp=function(){clearTimeout(this.delayTimeoutId);this._handleCleanUp();this._paused=!1;createjs.Sound._playFinished(this)};d._interrupt=function(){this._cleanUp();this.playState=createjs.Sound.PLAY_INTERRUPTED;this._sendEvent("interrupted")};
d._beginPlaying=function(a){return this.setPosition(a.offset),this.setLoop(a.loop),this.setVolume(a.volume),this.setPan(a.pan),null!=a.startTime&&(this.setStartTime(a.startTime),this.setDuration(a.duration)),null!=this._playbackResource&&this._position<this._duration?(this._paused=!1,this._handleSoundReady(),this.playState=createjs.Sound.PLAY_SUCCEEDED,this._sendEvent("succeeded"),!0):(this._playFailed(),!1)};d._playFailed=function(){this._cleanUp();this.playState=createjs.Sound.PLAY_FAILED;this._sendEvent("failed")};
d._handleSoundComplete=function(a){return this._position=0,0!=this._loop?(this._loop--,this._handleLoop(),void this._sendEvent("loop")):(this._cleanUp(),this.playState=createjs.Sound.PLAY_FINISHED,void this._sendEvent("complete"))};d._handleSoundReady=function(){};d._updateVolume=function(){};d._updatePan=function(){};d._updateStartTime=function(){};d._updateDuration=function(){};d._setDurationFromSource=function(){};d._calculateCurrentPosition=function(){};d._updatePosition=function(){};d._removeLooping=
function(a){};d._addLooping=function(a){};d._pause=function(){};d._resume=function(){};d._handleStop=function(){};d._handleCleanUp=function(){};d._handleLoop=function(){};createjs.AbstractSoundInstance=createjs.promote(f,"EventDispatcher");createjs.DefaultSoundInstance=createjs.AbstractSoundInstance})();this.createjs=this.createjs||{};
(function(){var f=function(){this._capabilities=null;this._loaders={};this._audioSources={};this._soundInstances={};this._volume=1},d=f.prototype;f._capabilities=null;f.isSupported=function(){return!0};d.register=function(a){var b=this._loaders[a.src];return b&&!b.canceled?this._loaders[a.src]:(this._audioSources[a.src]=!0,this._soundInstances[a.src]=[],b=new this._loaderClass(a),b.on("complete",this._handlePreloadComplete,this),this._loaders[a.src]=b,b)};d.preload=function(a){a.on("error",this._handlePreloadError,
this);a.load()};d.isPreloadStarted=function(a){return null!=this._audioSources[a]};d.isPreloadComplete=function(a){return!(null==this._audioSources[a]||1==this._audioSources[a])};d.removeSound=function(a){if(this._soundInstances[a]){for(var b=this._soundInstances[a].length;b--;)this._soundInstances[a][b].destroy();delete this._soundInstances[a];delete this._audioSources[a];this._loaders[a]&&this._loaders[a].destroy();delete this._loaders[a]}};d.removeAllSounds=function(){for(var a in this._audioSources)this.removeSound(a)};
d.create=function(a,b,c){this.isPreloadStarted(a)||this.preload(this.register(a));b=new this._soundInstanceClass(a,b,c,this._audioSources[a]);return this._soundInstances[a].push(b),b};d.setVolume=function(a){return this._volume=a,this._updateVolume(),!0};d.getVolume=function(){return this._volume};d.setMute=function(a){return this._updateVolume(),!0};d.toString=function(){return"[AbstractPlugin]"};d._handlePreloadComplete=function(a){var b=a.target.getItem().src;this._audioSources[b]=a.result;a=0;
for(var c=this._soundInstances[b].length;c>a;a++)this._soundInstances[b][a].setPlaybackResource(this._audioSources[b])};d._handlePreloadError=function(a){};d._updateVolume=function(){};createjs.AbstractPlugin=f})();this.createjs=this.createjs||{};
(function(){function f(a){this.AbstractLoader_constructor(a,!0,createjs.AbstractLoader.SOUND)}var d=createjs.extend(f,createjs.AbstractLoader);f.context=null;d.toString=function(){return"[WebAudioLoader]"};d._createRequest=function(){this._request=new createjs.XHRRequest(this._item,!1);this._request.setResponseType("arraybuffer")};d._sendComplete=function(a){f.context.decodeAudioData(this._rawResult,createjs.proxy(this._handleAudioDecoded,this),createjs.proxy(this._sendError,this))};d._handleAudioDecoded=
function(a){this._result=a;this.AbstractLoader__sendComplete()};createjs.WebAudioLoader=createjs.promote(f,"AbstractLoader")})();this.createjs=this.createjs||{};
(function(){function f(b,c,e,g){this.AbstractSoundInstance_constructor(b,c,e,g);this.gainNode=a.context.createGain();this.panNode=a.context.createPanner();this.panNode.panningModel=a._panningModel;this.panNode.connect(this.gainNode);this._updatePan();this._sourceNodeNext=this._soundCompleteTimeout=this.sourceNode=null;this._playbackStartTime=0;this._endedHandler=createjs.proxy(this._handleSoundComplete,this)}var d=createjs.extend(f,createjs.AbstractSoundInstance),a=f;a.context=null;a._scratchBuffer=
null;a.destinationNode=null;a._panningModel="equalpower";d.destroy=function(){this.AbstractSoundInstance_destroy();this.panNode.disconnect(0);this.panNode=null;this.gainNode.disconnect(0);this.gainNode=null};d.toString=function(){return"[WebAudioSoundInstance]"};d._updatePan=function(){this.panNode.setPosition(this._pan,0,-0.5)};d._removeLooping=function(b){this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext)};d._addLooping=function(b){this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this._sourceNodeNext=
this._createAndPlayAudioNode(this._playbackStartTime,0))};d._setDurationFromSource=function(){this._duration=1E3*this.playbackResource.duration};d._handleCleanUp=function(){this.sourceNode&&this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this.sourceNode=this._cleanUpAudioNode(this.sourceNode),this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext));0!=this.gainNode.numberOfOutputs&&this.gainNode.disconnect(0);clearTimeout(this._soundCompleteTimeout);this._playbackStartTime=0};d._cleanUpAudioNode=
function(b){if(b){b.stop(0);b.disconnect(0);try{b.buffer=a._scratchBuffer}catch(c){}b=null}return b};d._handleSoundReady=function(b){this.gainNode.connect(a.destinationNode);b=0.001*this._duration;var c=0.001*this._position;c>b&&(c=b);this.sourceNode=this._createAndPlayAudioNode(a.context.currentTime-b,c);this._playbackStartTime=this.sourceNode.startTime-c;this._soundCompleteTimeout=setTimeout(this._endedHandler,1E3*(b-c));0!=this._loop&&(this._sourceNodeNext=this._createAndPlayAudioNode(this._playbackStartTime,
0))};d._createAndPlayAudioNode=function(b,c){var e=a.context.createBufferSource();e.buffer=this.playbackResource;e.connect(this.panNode);var g=0.001*this._duration;return e.startTime=b+g,e.start(e.startTime,c+0.001*this._startTime,g-c),e};d._pause=function(){this._position=1E3*(a.context.currentTime-this._playbackStartTime);this.sourceNode=this._cleanUpAudioNode(this.sourceNode);this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext);0!=this.gainNode.numberOfOutputs&&this.gainNode.disconnect(0);
clearTimeout(this._soundCompleteTimeout)};d._resume=function(){this._handleSoundReady()};d._updateVolume=function(){var b=this._muted?0:this._volume;b!=this.gainNode.gain.value&&(this.gainNode.gain.value=b)};d._calculateCurrentPosition=function(){return 1E3*(a.context.currentTime-this._playbackStartTime)};d._updatePosition=function(){this.sourceNode=this._cleanUpAudioNode(this.sourceNode);this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext);clearTimeout(this._soundCompleteTimeout);this._paused||
this._handleSoundReady()};d._handleLoop=function(){this._cleanUpAudioNode(this.sourceNode);this.sourceNode=this._sourceNodeNext;this._playbackStartTime=this.sourceNode.startTime;this._sourceNodeNext=this._createAndPlayAudioNode(this._playbackStartTime,0);this._soundCompleteTimeout=setTimeout(this._endedHandler,this._duration)};d._updateDuration=function(){this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this._pause(),this._resume())};createjs.WebAudioSoundInstance=createjs.promote(f,"AbstractSoundInstance")})();
this.createjs=this.createjs||{};
(function(){function f(){this.AbstractPlugin_constructor();this._panningModel=a._panningModel;this.context=a.context;this.dynamicsCompressorNode=this.context.createDynamicsCompressor();this.dynamicsCompressorNode.connect(this.context.destination);this.gainNode=this.context.createGain();this.gainNode.connect(this.dynamicsCompressorNode);createjs.WebAudioSoundInstance.destinationNode=this.gainNode;this._capabilities=a._capabilities;this._loaderClass=createjs.WebAudioLoader;this._soundInstanceClass=
createjs.WebAudioSoundInstance;this._addPropsToClasses()}var d=createjs.extend(f,createjs.AbstractPlugin),a=f;a._capabilities=null;a._panningModel="equalpower";a.context=null;a._scratchBuffer=null;a._unlocked=!1;a.isSupported=function(){var b=createjs.BrowserDetect.isIOS||createjs.BrowserDetect.isAndroid||createjs.BrowserDetect.isBlackberry;return"file:"!=location.protocol||b||this._isFileXHRSupported()?(a._generateCapabilities(),null==a.context?!1:!0):!1};a.playEmptySound=function(){if(null!=a.context){var b=
a.context.createBufferSource();b.buffer=a._scratchBuffer;b.connect(a.context.destination);b.start(0,0,0)}};a._isFileXHRSupported=function(){var b=!0,c=new XMLHttpRequest;try{c.open("GET","WebAudioPluginTest.fail",!1)}catch(e){return b=!1}c.onerror=function(){b=!1};c.onload=function(){b=404==this.status||200==this.status||0==this.status&&""!=this.response};try{c.send()}catch(g){b=!1}return b};a._generateCapabilities=function(){if(null==a._capabilities){var b=document.createElement("audio");if(null==
b.canPlayType)return null;if(null==a.context)if(window.AudioContext)a.context=new AudioContext;else{if(!window.webkitAudioContext)return null;a.context=new webkitAudioContext}null==a._scratchBuffer&&(a._scratchBuffer=a.context.createBuffer(1,1,22050));a._compatibilitySetUp();"ontouchstart"in window&&"running"!=a.context.state&&(a._unlock(),document.addEventListener("mousedown",a._unlock,!0),document.addEventListener("touchend",a._unlock,!0));a._capabilities={panning:!0,volume:!0,tracks:-1};for(var c=
createjs.Sound.SUPPORTED_EXTENSIONS,e=createjs.Sound.EXTENSION_MAP,g=0,h=c.length;h>g;g++){var k=c[g],l=e[k]||k;a._capabilities[k]="no"!=b.canPlayType("audio/"+k)&&""!=b.canPlayType("audio/"+k)||"no"!=b.canPlayType("audio/"+l)&&""!=b.canPlayType("audio/"+l)}2>a.context.destination.numberOfChannels&&(a._capabilities.panning=!1)}};a._compatibilitySetUp=function(){if(a._panningModel="equalpower",!a.context.createGain){a.context.createGain=a.context.createGainNode;var b=a.context.createBufferSource();
b.__proto__.start=b.__proto__.noteGrainOn;b.__proto__.stop=b.__proto__.noteOff;a._panningModel=0}};a._unlock=function(){a._unlocked||(a.playEmptySound(),"running"==a.context.state&&(document.removeEventListener("mousedown",a._unlock,!0),document.removeEventListener("touchend",a._unlock,!0),a._unlocked=!0))};d.toString=function(){return"[WebAudioPlugin]"};d._addPropsToClasses=function(){var b=this._soundInstanceClass;b.context=this.context;b._scratchBuffer=a._scratchBuffer;b.destinationNode=this.gainNode;
b._panningModel=this._panningModel;this._loaderClass.context=this.context};d._updateVolume=function(){var b=createjs.Sound._masterMute?0:this._volume;b!=this.gainNode.gain.value&&(this.gainNode.gain.value=b)};createjs.WebAudioPlugin=createjs.promote(f,"AbstractPlugin")})();this.createjs=this.createjs||{};
(function(){function f(){throw"HTMLAudioTagPool cannot be instantiated";}function d(b){this._tags=[]}f._tags={};f._tagPool=new d;f._tagUsed={};f.get=function(b){var c=f._tags[b];return null==c?(c=f._tags[b]=f._tagPool.get(),c.src=b):f._tagUsed[b]?(c=f._tagPool.get(),c.src=b):f._tagUsed[b]=!0,c};f.set=function(b,c){c==f._tags[b]?f._tagUsed[b]=!1:f._tagPool.set(c)};f.remove=function(b){var c=f._tags[b];return null==c?!1:(f._tagPool.set(c),delete f._tags[b],delete f._tagUsed[b],!0)};f.getDuration=function(b){b=
f._tags[b];return null!=b&&b.duration?1E3*b.duration:0};createjs.HTMLAudioTagPool=f;var a=d.prototype;a.constructor=d;a.get=function(){var b;return b=0==this._tags.length?this._createTag():this._tags.pop(),null==b.parentNode&&document.body.appendChild(b),b};a.set=function(b){-1==createjs.indexOf(this._tags,b)&&(this._tags.src=null,this._tags.push(b))};a.toString=function(){return"[TagPool]"};a._createTag=function(){var b=document.createElement("audio");return b.autoplay=!1,b.preload="none",b}})();
this.createjs=this.createjs||{};
(function(){function f(a,b,c,e){this.AbstractSoundInstance_constructor(a,b,c,e);this._delayTimeoutId=this._audioSpriteStopTime=null;this._endedHandler=createjs.proxy(this._handleSoundComplete,this);this._readyHandler=createjs.proxy(this._handleTagReady,this);this._stalledHandler=createjs.proxy(this._playFailed,this);this._audioSpriteEndHandler=createjs.proxy(this._handleAudioSpriteLoop,this);this._loopHandler=createjs.proxy(this._handleSoundComplete,this);c?this._audioSpriteStopTime=0.001*(b+c):this._duration=
createjs.HTMLAudioTagPool.getDuration(this.src)}var d=createjs.extend(f,createjs.AbstractSoundInstance);d.setMasterVolume=function(a){this._updateVolume()};d.setMasterMute=function(a){this._updateVolume()};d.toString=function(){return"[HTMLAudioSoundInstance]"};d._removeLooping=function(){null!=this._playbackResource&&(this._playbackResource.loop=!1,this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1))};d._addLooping=function(){null==this._playbackResource||
this._audioSpriteStopTime||(this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1),this._playbackResource.loop=!0)};d._handleCleanUp=function(){var a=this._playbackResource;if(null!=a){a.pause();a.loop=!1;a.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,this._endedHandler,!1);a.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_READY,this._readyHandler,!1);a.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_STALLED,this._stalledHandler,!1);
a.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1);a.removeEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1);try{a.currentTime=this._startTime}catch(b){}createjs.HTMLAudioTagPool.set(this.src,a);this._playbackResource=null}};d._beginPlaying=function(a){return this._playbackResource=createjs.HTMLAudioTagPool.get(this.src),this.AbstractSoundInstance__beginPlaying(a)};d._handleSoundReady=function(a){if(4!==this._playbackResource.readyState)return a=
this._playbackResource,a.addEventListener(createjs.HTMLAudioPlugin._AUDIO_READY,this._readyHandler,!1),a.addEventListener(createjs.HTMLAudioPlugin._AUDIO_STALLED,this._stalledHandler,!1),a.preload="auto",void a.load();this._updateVolume();this._playbackResource.currentTime=0.001*(this._startTime+this._position);this._audioSpriteStopTime?this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1):(this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,
this._endedHandler,!1),0!=this._loop&&(this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1),this._playbackResource.loop=!0));this._playbackResource.play()};d._handleTagReady=function(a){this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_READY,this._readyHandler,!1);this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_STALLED,this._stalledHandler,!1);this._handleSoundReady()};d._pause=function(){this._playbackResource.pause()};
d._resume=function(){this._playbackResource.play()};d._updateVolume=function(){if(null!=this._playbackResource){var a=this._muted||createjs.Sound._masterMute?0:this._volume*createjs.Sound._masterVolume;a!=this._playbackResource.volume&&(this._playbackResource.volume=a)}};d._calculateCurrentPosition=function(){return 1E3*this._playbackResource.currentTime-this._startTime};d._updatePosition=function(){this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,
!1);this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._handleSetPositionSeek,!1);try{this._playbackResource.currentTime=0.001*(this._position+this._startTime)}catch(a){this._handleSetPositionSeek(null)}};d._handleSetPositionSeek=function(a){null!=this._playbackResource&&(this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._handleSetPositionSeek,!1),this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,
!1))};d._handleAudioSpriteLoop=function(a){this._playbackResource.currentTime<=this._audioSpriteStopTime||(this._playbackResource.pause(),0==this._loop?this._handleSoundComplete(null):(this._position=0,this._loop--,this._playbackResource.currentTime=0.001*this._startTime,this._paused||this._playbackResource.play(),this._sendEvent("loop")))};d._handleLoop=function(a){0==this._loop&&(this._playbackResource.loop=!1,this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,
!1))};d._updateStartTime=function(){this._audioSpriteStopTime=0.001*(this._startTime+this._duration);this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,this._endedHandler,!1),this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1))};d._updateDuration=function(){this._audioSpriteStopTime=0.001*(this._startTime+this._duration);this.playState==createjs.Sound.PLAY_SUCCEEDED&&
(this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,this._endedHandler,!1),this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1))};d._setDurationFromSource=function(){this._duration=createjs.HTMLAudioTagPool.getDuration(this.src);this._playbackResource=null};createjs.HTMLAudioSoundInstance=createjs.promote(f,"AbstractSoundInstance")})();this.createjs=this.createjs||{};
(function(){function f(){this.AbstractPlugin_constructor();this.defaultNumChannels=2;this._capabilities=a._capabilities;this._loaderClass=createjs.SoundLoader;this._soundInstanceClass=createjs.HTMLAudioSoundInstance}var d=createjs.extend(f,createjs.AbstractPlugin),a=f;a.MAX_INSTANCES=30;a._AUDIO_READY="canplaythrough";a._AUDIO_ENDED="ended";a._AUDIO_SEEKED="seeked";a._AUDIO_STALLED="stalled";a._TIME_UPDATE="timeupdate";a._capabilities=null;a.isSupported=function(){return a._generateCapabilities(),
null!=a._capabilities};a._generateCapabilities=function(){if(null==a._capabilities){var b=document.createElement("audio");if(null==b.canPlayType)return null;a._capabilities={panning:!1,volume:!0,tracks:-1};for(var c=createjs.Sound.SUPPORTED_EXTENSIONS,e=createjs.Sound.EXTENSION_MAP,g=0,h=c.length;h>g;g++){var k=c[g],l=e[k]||k;a._capabilities[k]="no"!=b.canPlayType("audio/"+k)&&""!=b.canPlayType("audio/"+k)||"no"!=b.canPlayType("audio/"+l)&&""!=b.canPlayType("audio/"+l)}}};d.register=function(b){var c=
createjs.HTMLAudioTagPool.get(b.src);b=this.AbstractPlugin_register(b);return b.setTag(c),b};d.removeSound=function(b){this.AbstractPlugin_removeSound(b);createjs.HTMLAudioTagPool.remove(b)};d.create=function(b,c,e){b=this.AbstractPlugin_create(b,c,e);return b.setPlaybackResource(null),b};d.toString=function(){return"[HTMLAudioPlugin]"};d.setVolume=d.getVolume=d.setMute=null;createjs.HTMLAudioPlugin=createjs.promote(f,"AbstractPlugin")})();this.createjs=this.createjs||{};
(function(){function f(a,b,c){this.loop=this.ignoreGlobalPause=!1;this.duration=0;this.pluginData=c||{};this.target=a;this.position=null;this._paused=this.passive=!1;this._curQueueProps={};this._initQueueProps={};this._steps=[];this._actions=[];this._stepPosition=this._prevPosition=0;this._prevPos=-1;this._target=a;this._registered=this._inited=this._useTicks=!1;b&&(this._useTicks=b.useTicks,this.ignoreGlobalPause=b.ignoreGlobalPause,this.loop=b.loop,b.onChange&&this.addEventListener("change",b.onChange),
b.override&&f.removeTweens(a));b&&b.paused?this._paused=!0:createjs.Tween._register(this,!0);b&&null!=b.position&&this.setPosition(b.position,f.NONE)}var d=createjs.extend(f,createjs.EventDispatcher);f.NONE=0;f.LOOP=1;f.REVERSE=2;f.IGNORE={};f._tweens=[];f._plugins={};f.get=function(a,b,c,e){return e&&f.removeTweens(a),new f(a,b,c)};f.tick=function(a,b){for(var c=f._tweens.slice(),e=c.length-1;0<=e;e--){var g=c[e];b&&!g.ignoreGlobalPause||g._paused||g.tick(g._useTicks?1:a)}};f.handleEvent=function(a){"tick"==
a.type&&this.tick(a.delta,a.paused)};f.removeTweens=function(a){if(a.tweenjs_count){for(var b=f._tweens,c=b.length-1;0<=c;c--){var e=b[c];e._target==a&&(e._paused=!0,b.splice(c,1))}a.tweenjs_count=0}};f.removeAllTweens=function(){for(var a=f._tweens,b=0,c=a.length;c>b;b++){var e=a[b];e._paused=!0;e.target&&(e.target.tweenjs_count=0)}a.length=0};f.hasActiveTweens=function(a){return a?null!=a.tweenjs_count&&!!a.tweenjs_count:f._tweens&&!!f._tweens.length};f.installPlugin=function(a,b){var c=a.priority;
null==c&&(a.priority=c=0);for(var e=0,g=b.length,h=f._plugins;g>e;e++){var k=b[e];if(h[k]){for(var l=h[k],m=0,n=l.length;n>m&&!(c<l[m].priority);m++);h[k].splice(m,0,a)}else h[k]=[a]}};f._register=function(a,b){var c=a._target,e=f._tweens;if(b&&!a._registered)c&&(c.tweenjs_count=c.tweenjs_count?c.tweenjs_count+1:1),e.push(a),!f._inited&&createjs.Ticker&&(createjs.Ticker.addEventListener("tick",f),f._inited=!0);else if(!b&&a._registered)for(c&&c.tweenjs_count--,c=e.length;c--;)if(e[c]==a){e.splice(c,
1);break}a._registered=b};d.wait=function(a,b){if(null==a||0>=a)return this;var c=this._cloneProps(this._curQueueProps);return this._addStep({d:a,p0:c,e:this._linearEase,p1:c,v:b})};d.to=function(a,b,c){return(isNaN(b)||0>b)&&(b=0),this._addStep({d:b||0,p0:this._cloneProps(this._curQueueProps),e:c,p1:this._cloneProps(this._appendQueueProps(a))})};d.call=function(a,b,c){return this._addAction({f:a,p:b?b:[this],o:c?c:this._target})};d.set=function(a,b){return this._addAction({f:this._set,o:this,p:[a,
b?b:this._target]})};d.play=function(a){return a||(a=this),this.call(a.setPaused,[!1],a)};d.pause=function(a){return a||(a=this),this.call(a.setPaused,[!0],a)};d.setPosition=function(a,b){0>a&&(a=0);null==b&&(b=1);var c=a,e=!1;if(c>=this.duration&&(this.loop?c%=this.duration:(c=this.duration,e=!0)),c==this._prevPos)return e;var g=this._prevPos;if(this.position=this._prevPos=c,this._prevPosition=a,this._target)if(e)this._updateTargetProps(null,1);else if(0<this._steps.length){for(var h=0,k=this._steps.length;k>
h&&!(this._steps[h].t>c);h++);h=this._steps[h-1];this._updateTargetProps(h,(this._stepPosition=c-h.t)/h.d)}return 0!=b&&0<this._actions.length&&(this._useTicks?this._runActions(c,c):1==b&&g>c?(g!=this.duration&&this._runActions(g,this.duration),this._runActions(0,c,!0)):this._runActions(g,c)),e&&this.setPaused(!0),this.dispatchEvent("change"),e};d.tick=function(a){this._paused||this.setPosition(this._prevPosition+a)};d.setPaused=function(a){return this._paused===!!a?this:(this._paused=!!a,f._register(this,
!a),this)};d.w=d.wait;d.t=d.to;d.c=d.call;d.s=d.set;d.toString=function(){return"[Tween]"};d.clone=function(){throw"Tween can not be cloned.";};d._updateTargetProps=function(a,b){var c,e,g,h;if(a||1!=b){if(this.passive=!!a.v,this.passive)return;a.e&&(b=a.e(b,0,1,1));c=a.p0;e=a.p1}else this.passive=!1,c=e=this._curQueueProps;for(var k in this._initQueueProps){null==(g=c[k])&&(c[k]=g=this._initQueueProps[k]);null==(h=e[k])&&(e[k]=h=g);g=g==h||0==b||1==b||"number"!=typeof g?1==b?h:g:g+(h-g)*b;var l=
!1;if(h=f._plugins[k])for(var m=0,n=h.length;n>m;m++){var p=h[m].tween(this,k,g,c,e,b,!!a&&c==e,!a);p==f.IGNORE?l=!0:g=p}l||(this._target[k]=g)}};d._runActions=function(a,b,c){var e=a,g=b,h=-1,k=this._actions.length,l=1;for(a>b&&(e=b,g=a,h=k,k=l=-1);(h+=l)!=k;){b=this._actions[h];var m=b.t;(m==g||m>e&&g>m||c&&m==a)&&b.f.apply(b.o,b.p)}};d._appendQueueProps=function(a){var b,c,e,g,h,k;for(k in a)if(void 0===this._initQueueProps[k]){if(c=this._target[k],b=f._plugins[k])for(e=0,g=b.length;g>e;e++)c=
b[e].init(this,k,c);this._initQueueProps[k]=this._curQueueProps[k]=void 0===c?null:c}for(k in a){if(c=this._curQueueProps[k],b=f._plugins[k])for(h=h||{},e=0,g=b.length;g>e;e++)b[e].step&&b[e].step(this,k,c,a[k],h);this._curQueueProps[k]=a[k]}return h&&this._appendQueueProps(h),this._curQueueProps};d._cloneProps=function(a){var b={},c;for(c in a)b[c]=a[c];return b};d._addStep=function(a){return 0<a.d&&(this._steps.push(a),a.t=this.duration,this.duration+=a.d),this};d._addAction=function(a){return a.t=
this.duration,this._actions.push(a),this};d._set=function(a,b){for(var c in a)b[c]=a[c]};createjs.Tween=createjs.promote(f,"EventDispatcher")})();this.createjs=this.createjs||{};
(function(){function f(a,b,c){this.EventDispatcher_constructor();this.ignoreGlobalPause=!1;this.duration=0;this.loop=!1;this.position=null;this._paused=!1;this._tweens=[];this._labelList=this._labels=null;this._prevPosition=0;this._prevPos=-1;this._registered=this._useTicks=!1;c&&(this._useTicks=c.useTicks,this.loop=c.loop,this.ignoreGlobalPause=c.ignoreGlobalPause,c.onChange&&this.addEventListener("change",c.onChange));a&&this.addTween.apply(this,a);this.setLabels(b);c&&c.paused?this._paused=!0:
createjs.Tween._register(this,!0);c&&null!=c.position&&this.setPosition(c.position,createjs.Tween.NONE)}var d=createjs.extend(f,createjs.EventDispatcher);d.addTween=function(a){var b=arguments.length;if(1<b){for(var c=0;b>c;c++)this.addTween(arguments[c]);return arguments[0]}return 0==b?null:(this.removeTween(a),this._tweens.push(a),a.setPaused(!0),a._paused=!1,a._useTicks=this._useTicks,a.duration>this.duration&&(this.duration=a.duration),0<=this._prevPos&&a.setPosition(this._prevPos,createjs.Tween.NONE),
a)};d.removeTween=function(a){var b=arguments.length;if(1<b){for(var c=!0,e=0;b>e;e++)c=c&&this.removeTween(arguments[e]);return c}if(0==b)return!1;b=this._tweens;for(e=b.length;e--;)if(b[e]==a)return b.splice(e,1),a.duration>=this.duration&&this.updateDuration(),!0;return!1};d.addLabel=function(a,b){this._labels[a]=b;var c=this._labelList;if(c){for(var e=0,g=c.length;g>e&&!(b<c[e].position);e++);c.splice(e,0,{label:a,position:b})}};d.setLabels=function(a){this._labels=a?a:{}};d.getLabels=function(){var a=
this._labelList;if(!a){var a=this._labelList=[],b=this._labels,c;for(c in b)a.push({label:c,position:b[c]});a.sort(function(e,g){return e.position-g.position})}return a};d.getCurrentLabel=function(){var a=this.getLabels(),b=this.position,c=a.length;if(c){for(var e=0;c>e&&!(b<a[e].position);e++);return 0==e?null:a[e-1].label}return null};d.gotoAndPlay=function(a){this.setPaused(!1);this._goto(a)};d.gotoAndStop=function(a){this.setPaused(!0);this._goto(a)};d.setPosition=function(a,b){var c=this._calcPosition(a),
e=!this.loop&&a>=this.duration;if(c==this._prevPos)return e;this._prevPosition=a;this.position=this._prevPos=c;for(var g=0,h=this._tweens.length;h>g;g++)if(this._tweens[g].setPosition(c,b),c!=this._prevPos)return!1;return e&&this.setPaused(!0),this.dispatchEvent("change"),e};d.setPaused=function(a){this._paused=!!a;createjs.Tween._register(this,!a)};d.updateDuration=function(){for(var a=this.duration=0,b=this._tweens.length;b>a;a++){var c=this._tweens[a];c.duration>this.duration&&(this.duration=c.duration)}};
d.tick=function(a){this.setPosition(this._prevPosition+a)};d.resolve=function(a){var b=Number(a);return isNaN(b)&&(b=this._labels[a]),b};d.toString=function(){return"[Timeline]"};d.clone=function(){throw"Timeline can not be cloned.";};d._goto=function(a){a=this.resolve(a);null!=a&&this.setPosition(a)};d._calcPosition=function(a){return 0>a?0:a<this.duration?a:this.loop?a%this.duration:this.duration};createjs.Timeline=createjs.promote(f,"EventDispatcher")})();this.createjs=this.createjs||{};
(function(){function f(){throw"Ease cannot be instantiated.";}f.linear=function(d){return d};f.none=f.linear;f.get=function(d){return-1>d&&(d=-1),1<d&&(d=1),function(a){return 0==d?a:0>d?a*(a*-d+1+d):a*((2-a)*d+(1-d))}};f.getPowIn=function(d){return function(a){return Math.pow(a,d)}};f.getPowOut=function(d){return function(a){return 1-Math.pow(1-a,d)}};f.getPowInOut=function(d){return function(a){return 1>(a*=2)?0.5*Math.pow(a,d):1-0.5*Math.abs(Math.pow(2-a,d))}};f.quadIn=f.getPowIn(2);f.quadOut=
f.getPowOut(2);f.quadInOut=f.getPowInOut(2);f.cubicIn=f.getPowIn(3);f.cubicOut=f.getPowOut(3);f.cubicInOut=f.getPowInOut(3);f.quartIn=f.getPowIn(4);f.quartOut=f.getPowOut(4);f.quartInOut=f.getPowInOut(4);f.quintIn=f.getPowIn(5);f.quintOut=f.getPowOut(5);f.quintInOut=f.getPowInOut(5);f.sineIn=function(d){return 1-Math.cos(d*Math.PI/2)};f.sineOut=function(d){return Math.sin(d*Math.PI/2)};f.sineInOut=function(d){return-0.5*(Math.cos(Math.PI*d)-1)};f.getBackIn=function(d){return function(a){return a*
a*((d+1)*a-d)}};f.backIn=f.getBackIn(1.7);f.getBackOut=function(d){return function(a){return--a*a*((d+1)*a+d)+1}};f.backOut=f.getBackOut(1.7);f.getBackInOut=function(d){return d*=1.525,function(a){return 1>(a*=2)?0.5*a*a*((d+1)*a-d):0.5*((a-=2)*a*((d+1)*a+d)+2)}};f.backInOut=f.getBackInOut(1.7);f.circIn=function(d){return-(Math.sqrt(1-d*d)-1)};f.circOut=function(d){return Math.sqrt(1- --d*d)};f.circInOut=function(d){return 1>(d*=2)?-0.5*(Math.sqrt(1-d*d)-1):0.5*(Math.sqrt(1-(d-=2)*d)+1)};f.bounceIn=
function(d){return 1-f.bounceOut(1-d)};f.bounceOut=function(d){return 1/2.75>d?7.5625*d*d:2/2.75>d?7.5625*(d-=1.5/2.75)*d+0.75:2.5/2.75>d?7.5625*(d-=2.25/2.75)*d+0.9375:7.5625*(d-=2.625/2.75)*d+0.984375};f.bounceInOut=function(d){return 0.5>d?0.5*f.bounceIn(2*d):0.5*f.bounceOut(2*d-1)+0.5};f.getElasticIn=function(d,a){var b=2*Math.PI;return function(c){if(0==c||1==c)return c;var e=a/b*Math.asin(1/d);return-(d*Math.pow(2,10*(c-=1))*Math.sin((c-e)*b/a))}};f.elasticIn=f.getElasticIn(1,0.3);f.getElasticOut=
function(d,a){var b=2*Math.PI;return function(c){if(0==c||1==c)return c;var e=a/b*Math.asin(1/d);return d*Math.pow(2,-10*c)*Math.sin((c-e)*b/a)+1}};f.elasticOut=f.getElasticOut(1,0.3);f.getElasticInOut=function(d,a){var b=2*Math.PI;return function(c){var e=a/b*Math.asin(1/d);return 1>(c*=2)?-0.5*d*Math.pow(2,10*(c-=1))*Math.sin((c-e)*b/a):d*Math.pow(2,-10*(c-=1))*Math.sin((c-e)*b/a)*0.5+1}};f.elasticInOut=f.getElasticInOut(1,0.3*1.5);createjs.Ease=f})();this.createjs=this.createjs||{};
(function(){function f(){throw"MotionGuidePlugin cannot be instantiated.";}f.priority=0;f.install=function(){return createjs.Tween.installPlugin(f,["guide","x","y","rotation"]),createjs.Tween.IGNORE};f.init=function(d,a,b){var c=d.target;return c.hasOwnProperty("x")||(c.x=0),c.hasOwnProperty("y")||(c.y=0),c.hasOwnProperty("rotation")||(c.rotation=0),"rotation"==a&&(d.__needsRot=!0),"guide"==a?null:b};f.step=function(d,a,b,c,e){if("rotation"==a&&(d.__rotGlobalS=b,d.__rotGlobalE=c,f.testRotData(d,e)),
"guide"!=a)return c;var g;c.hasOwnProperty("path")||(c.path=[]);a=c.path;if(c.hasOwnProperty("end")||(c.end=1),c.hasOwnProperty("start")||(c.start=b&&b.hasOwnProperty("end")&&b.path===a?b.end:0),c.hasOwnProperty("_segments")&&c._length)return c;b=a.length;if(!(6<=b&&0==(b-2)%4))throw"invalid 'path' data, please see documentation for valid paths";c._segments=[];c._length=0;for(var h=2;b>h;h+=4){for(var k,l,m=a[h-2],n=a[h-1],p=a[h+0],r=a[h+1],q=a[h+2],u=a[h+3],y=m,C=n,I=0,T=[],Q=1;10>=Q;Q++){l=Q/10;
var G=1-l;k=G*G*m+2*G*l*p+l*l*q;l=G*G*n+2*G*l*r+l*l*u;I+=T[T.push(Math.sqrt((g=k-y)*g+(g=l-C)*g))-1];y=k;C=l}c._segments.push(I);c._segments.push(T);c._length+=I}g=c.orient;c.orient=!0;a={};return f.calc(c,c.start,a),d.__rotPathS=Number(a.rotation.toFixed(5)),f.calc(c,c.end,a),d.__rotPathE=Number(a.rotation.toFixed(5)),c.orient=!1,f.calc(c,c.end,e),c.orient=g,c.orient?(d.__guideData=c,f.testRotData(d,e),c):c};f.testRotData=function(d,a){if(void 0===d.__rotGlobalS||void 0===d.__rotGlobalE){if(d.__needsRot)return;
void 0!==d._curQueueProps.rotation?d.__rotGlobalS=d.__rotGlobalE=d._curQueueProps.rotation:d.__rotGlobalS=d.__rotGlobalE=a.rotation=d.target.rotation||0}if(void 0!==d.__guideData){var b=d.__guideData,c=d.__rotGlobalE-d.__rotGlobalS,e=d.__rotPathE-d.__rotPathS,g=c-e;if("auto"==b.orient)180<g?g-=360:-180>g&&(g+=360);else if("cw"==b.orient){for(;0>g;)g+=360;0==g&&0<c&&180!=c&&(g+=360)}else if("ccw"==b.orient){for(g=c-(180<e?360-e:e);0<g;)g-=360;0==g&&0>c&&-180!=c&&(g-=360)}b.rotDelta=g;b.rotOffS=d.__rotGlobalS-
d.__rotPathS;d.__rotGlobalS=d.__rotGlobalE=d.__guideData=d.__needsRot=void 0}};f.tween=function(d,a,b,c,e,g,h,k){e=e.guide;if(void 0==e||e===c.guide)return b;if(e.lastRatio!=g){switch(f.calc(e,(e.end-e.start)*(h?e.end:g)+e.start,d.target),e.orient){case "cw":case "ccw":case "auto":d.target.rotation+=e.rotOffS+e.rotDelta*g;break;default:d.target.rotation+=e.rotOffS}e.lastRatio=g}return"rotation"!=a||e.orient&&"false"!=e.orient?d.target[a]:b};f.calc=function(d,a,b){if(void 0==d._segments)throw"Missing critical pre-calculated information, please file a bug";
void 0==b&&(b={x:0,y:0,rotation:0});var c=d._segments,e=d.path,g=d._length*a,h=c.length-2;for(a=0;g>c[a]&&h>a;)g-=c[a],a+=2;for(var c=c[a+1],k=0,h=c.length-1;g>c[k]&&h>k;)g-=c[k],k++;g=k/++h+g/(h*c[k]);a=2*a+2;h=1-g;return b.x=h*h*e[a-2]+2*h*g*e[a+0]+g*g*e[a+2],b.y=h*h*e[a-1]+2*h*g*e[a+1]+g*g*e[a+3],d.orient&&(b.rotation=57.2957795*Math.atan2((e[a+1]-e[a-1])*h+(e[a+3]-e[a+1])*g,(e[a+0]-e[a-2])*h+(e[a+2]-e[a+0])*g)),b};createjs.MotionGuidePlugin=f})();this.createjs=this.createjs||{};
(function(){var f=createjs.TweenJS=createjs.TweenJS||{};f.version="0.6.2";f.buildDate="Thu, 26 Nov 2015 20:44:31 GMT"})();
(function(c,f,a,h,k){function g(){var b=this._cloneProps(new this.constructor(this.mode,this.startPosition,this.loop));b.gotoAndStop(this.currentFrame);b.paused=this.paused;b.framerate=this.framerate;return b}c.ssMetadata=[];(c.Tween2=function(b,d,e){this.initialize(b,d,e,{});this.shape=new a.Shape;this.shape.graphics.f("#107CBC").s().p("AjSDSQhWhXgBh7QABh6BWhYQBYhWB6gBQB7ABBXBWQBYBYAAB6QAAB7hYBXQhXBYh7AAQh6AAhYhYg");this.timeline.addTween(a.Tween.get(this.shape).wait(1))}).prototype=f=new a.MovieClip;
f.nominalBounds=new a.Rectangle(-29.7,-29.7,59.5,59.5);(c.Tween1=function(b,d,e){this.initialize(b,d,e,{});this.shape=new a.Shape;this.shape.graphics.f("#107CBC").s().p("AjSDSQhWhXgBh7QABh6BWhYQBYhWB6gBQB7ABBXBWQBYBYAAB6QAAB7hYBXQhXBYh7AAQh6AAhYhYg");this.timeline.addTween(a.Tween.get(this.shape).wait(1))}).prototype=f=new a.MovieClip;f.nominalBounds=new a.Rectangle(-29.7,-29.7,59.5,59.5);(c.Path=function(b,d,e){this.initialize(b,d,e,{});this.shape=new a.Shape;this.shape.graphics.f("#ECD243").s().p("AkSCGQgRAAgLgMQgMgMAAgQIAAi7QAAgRAMgLQALgMARAAIIlAAQARAAALAMQAMALAAARIAAC7QAAAQgMAMQgLAMgRAAg");
this.shape.setTransform(31.5,13.4);this.timeline.addTween(a.Tween.get(this.shape).wait(1))}).prototype=function(b,d,e){b=a.extend(b,a.MovieClip);b.clone=g;b.nominalBounds=d;b.frameBounds=e;return b}(c.Path,new a.Rectangle(0,0,63.1,26.8),null);(c.iconMessengerSmartHomeVanNK181116=function(b,d,e){this.initialize(b,d,e,{});this.shape=new a.Shape;this.shape.graphics.f("#144B5B").s().p("AgCAaIAAgzIAFAAIAAAzg");this.shape.setTransform(54.2,64.9);this.shape_1=new a.Shape;this.shape_1.graphics.f("#144B5B").s().p("AgQAdQgGgDgDgGQgCgGAAgHQgBgMAIgIQAGgHAMAAQAGAAAGAEQAIAFABAHIAFgDIABgFIgEAAIAAgHIAHAAIAAAFQABAFgCACQgBADgGADIABAHQAAAJgDAFQgDAGgGAEQgGADgFAAQgJAAgFgEgAgQgJQgEAGAAAKQAAAJAEAGQAGAFAHAAQAIAAAEgGQAFgEAAgLQAAgMgIgGQgFgCgDAAQgIAAgGAFgAgHgWIAFgKIAHAAIgHAKg");
this.shape_1.setTransform(50.1,64.3);this.shape_2=new a.Shape;this.shape_2.graphics.f("#144B5B").s().p("AgDAaIgUgzIAIAAIAPAuIARguIAHAAIgUAzg");this.shape_2.setTransform(44.4,64.9);this.shape_3=new a.Shape;this.shape_3.graphics.f("#144B5B").s().p("AgHApIAAhDIgZAAIAAgOIBBAAIAAAOIgYAAIAABDg");this.shape_3.setTransform(35.3,63.4);this.shape_4=new a.Shape;this.shape_4.graphics.f("#144B5B").s().p("AAXApIgHgSIggAAIgHASIgRAAIAghRIAQAAIAhBRgAgLAJIAWAAIgLgeg");this.shape_4.setTransform(28.4,63.4);this.shape_5=
new a.Shape;this.shape_5.graphics.f("#144B5B").s().p("AARApIAAgkIggAAIAAAkIgRAAIAAhRIARAAIAAAgIAgAAIAAggIAQAAIAABRg");this.shape_5.setTransform(20.1,63.4);this.shape_6=new a.Shape;this.shape_6.graphics.f("#144B5B").s().p("AgZAgQgKgLAAgUQAAgUAKgLQAMgMAPAAQAQAAAJAJQAGAGADAKIgRAEQgBgHgFgEQgEgDgHAAQgIAAgGAGQgFAGAAAPQAAAQAFAGQAFAHAIAAQAIAAAEgFQAFgEACgJIAQAFQgEAOgIAGQgJAHgOAAQgPAAgLgLg");this.shape_6.setTransform(11.8,63.4);this.shape_7=new a.Shape;this.shape_7.graphics.f("#144B5B").s().p("AgDAeIAAg7IAHAAIAAA7g");
this.shape_7.setTransform(54.1,73.7);this.shape_8=new a.Shape;this.shape_8.graphics.f("#144B5B").s().p("AgOAiQgGgDgEgIQgEgIAAgHQAAgNAIgKQAIgHAMgBQAJAAAGAEQAHAFADAHQAEAGAAAJQAAAJgEAHQgDAGgHAFQgHADgIAAQgIAAgGgEgAgNgKQgGAGAAAMQAAALAFAGQAGAHAIgBQAJABAGgHQAGgGAAgLQAAgHgDgGQgDgFgEgDQgFgDgGAAQgHAAgGAGgAAFgaIgFgHIgEAHIgIAAIAJgLIAHAAIAJALg");this.shape_8.setTransform(49.6,73);this.shape_9=new a.Shape;this.shape_9.graphics.f("#144B5B").s().p("AgDAeIAAg0IgUAAIAAgHIAvAAIAAAHIgUAAIAAA0g");this.shape_9.setTransform(43.8,
73.7);this.shape_10=new a.Shape;this.shape_10.graphics.f("#144B5B").s().p("AgMAbQgIgDgDgIQgEgHAAgJQAAgIAEgHQADgHAHgEQAHgEAIAAQAHAAAFACQAFADADADQADAEACAGIgHACQgCgFgCgCQgCgDgEgCQgDgBgFAAQgEAAgEABIgHAFIgDAGQgDAGAAAFQAAAIADAFQACAFAGADQAGADAEAAQAGAAAEgCQAFgCADgCIAAgMIgSAAIAAgGIAaAAIAAAWQgHAFgFACQgGACgHAAQgIAAgHgEg");this.shape_10.setTransform(35.7,73.7);this.shape_11=new a.Shape;this.shape_11.graphics.f("#144B5B").s().p("AAPAeIgeguIAAAuIgHAAIAAg7IAIAAIAeAuIAAguIAHAAIAAA7g");this.shape_11.setTransform(29.4,
73.7);this.shape_12=new a.Shape;this.shape_12.graphics.f("#144B5B").s().p("AgMAkQgGgDgCgGQgCgEAAgLIAAgiIAIAAIAAAiQAAAIABAEQAAADAEACQAEACAFAAQAJAAADgEQADgDABgMIAAgiIAIAAIAAAiQAAAJgCAGQgCAEgGAEQgFADgJAAQgIAAgEgCgAgEgaIAEgLIAKAAIgJALg");this.shape_12.setTransform(23.3,73);this.shape_13=new a.Shape;this.shape_13.graphics.f("#144B5B").s().p("AAPAeIAAgcIgdAAIAAAcIgIAAIAAg7IAIAAIAAAZIAdAAIAAgZIAIAAIAAA7g");this.shape_13.setTransform(17.2,73.7);this.shape_14=new a.Shape;this.shape_14.graphics.f("#144B5B").s().p("AgNAbQgHgEgCgHQgDgIAAgIQAAgJADgHQADgGAHgEQAHgEAHAAQAJAAAGAFQAGAFACAHIgHACQgCgGgEgDQgFgDgFAAQgHAAgEADQgFAEgBAFQgCAFAAAGQAAAIACAFQACAFAFADQAEADAFAAQAGAAAFgEQAEgDADgIIAHACQgCAJgGAGQgHAFgJAAQgKAAgFgEg");
this.shape_14.setTransform(11.2,73.7);this.shape_15=new a.Shape;this.shape_15.graphics.f("#FFFFFF").s().p("AhyB3QgggYgRgiQgTgjAAgnQAAhGA2gyQA1gyBLAAQBLAAA3AyQA1AyAABGQAABGg1AyQg3AyhLAAQgaAAgagHIg+AigAASAtIBkhpIhaAyIgvgyIhjBpIBagxg");this.shape_15.setTransform(88.1,67.4);this.shape_16=new a.Shape;this.shape_16.graphics.f("#107CBC").s().p("AjRDSQhWhXAAh7QAAh6BWhWQBYhYB5AAQB7AABXBYQBXBWAAB6QAAB7hXBXQhXBWh7AAQh5AAhYhWg");this.shape_16.setTransform(87.9,67.2);this.instance=new c.Path;this.instance.parent=
this;this.instance.setTransform(35,67.3,1,1,0,0,0,31.5,13.4);this.instance.alpha=0.5;this.shape_17=new a.Shape;this.shape_17.graphics.f("#024862").s().p("AgCAaIAAgzIAFAAIAAAzg");this.shape_17.setTransform(54.2,64.9);this.shape_18=new a.Shape;this.shape_18.graphics.f("#024862").s().p("AgQAdQgGgDgDgGQgCgGAAgHQgBgMAIgIQAGgHAMAAQAGAAAGAEQAIAFABAHIAFgDIABgFIgEAAIAAgHIAHAAIAAAFQABAFgCACQgBADgGADIABAHQAAAJgDAFQgDAGgGAEQgGADgFAAQgJAAgFgEgAgQgJQgEAGAAAKQAAAJAEAGQAGAFAHAAQAIAAAEgGQAFgEAAgLQAAgMgIgGQgFgCgDAAQgIAAgGAFgAgHgWIAFgKIAHAAIgHAKg");
this.shape_18.setTransform(50.1,64.3);this.shape_19=new a.Shape;this.shape_19.graphics.f("#024862").s().p("AgDAaIgUgzIAIAAIAPAuIARguIAHAAIgUAzg");this.shape_19.setTransform(44.4,64.9);this.shape_20=new a.Shape;this.shape_20.graphics.f("#024862").s().p("AgHApIAAhDIgZAAIAAgOIBBAAIAAAOIgYAAIAABDg");this.shape_20.setTransform(35.3,63.4);this.shape_21=new a.Shape;this.shape_21.graphics.f("#024862").s().p("AAXApIgHgSIggAAIgHASIgRAAIAghRIAQAAIAhBRgAgLAJIAWAAIgLgeg");this.shape_21.setTransform(28.4,63.4);
this.shape_22=new a.Shape;this.shape_22.graphics.f("#024862").s().p("AARApIAAgkIggAAIAAAkIgRAAIAAhRIARAAIAAAgIAgAAIAAggIAQAAIAABRg");this.shape_22.setTransform(20.1,63.4);this.shape_23=new a.Shape;this.shape_23.graphics.f("#024862").s().p("AgZAgQgKgLAAgUQAAgUAKgLQAMgMAPAAQAQAAAJAJQAGAGADAKIgRAEQgBgHgFgEQgEgDgHAAQgIAAgGAGQgFAGAAAPQAAAQAFAGQAFAHAIAAQAIAAAEgFQAFgEACgJIAQAFQgEAOgIAGQgJAHgOAAQgPAAgLgLg");this.shape_23.setTransform(11.8,63.4);this.shape_24=new a.Shape;this.shape_24.graphics.f("#024862").s().p("AgDAeIAAg7IAHAAIAAA7g");
this.shape_24.setTransform(54.1,73.7);this.shape_25=new a.Shape;this.shape_25.graphics.f("#024862").s().p("AgOAiQgGgDgEgIQgEgIAAgHQAAgNAIgKQAIgHAMgBQAJAAAGAEQAHAFADAHQAEAGAAAJQAAAJgEAHQgDAGgHAFQgHADgIAAQgIAAgGgEgAgNgKQgGAGAAAMQAAALAFAGQAGAHAIgBQAJABAGgHQAGgGAAgLQAAgHgDgGQgDgFgEgDQgFgDgGAAQgHAAgGAGgAAFgaIgFgHIgEAHIgIAAIAJgLIAHAAIAJALg");this.shape_25.setTransform(49.6,73);this.shape_26=new a.Shape;this.shape_26.graphics.f("#024862").s().p("AgDAeIAAg0IgUAAIAAgHIAvAAIAAAHIgUAAIAAA0g");this.shape_26.setTransform(43.8,
73.7);this.shape_27=new a.Shape;this.shape_27.graphics.f("#024862").s().p("AgMAbQgIgDgDgIQgEgHAAgJQAAgIAEgHQADgHAHgEQAHgEAIAAQAHAAAFACQAFADADADQADAEACAGIgHACQgCgFgCgCQgCgDgEgCQgDgBgFAAQgEAAgEABIgHAFIgDAGQgDAGAAAFQAAAIADAFQACAFAGADQAGADAEAAQAGAAAEgCQAFgCADgCIAAgMIgSAAIAAgGIAaAAIAAAWQgHAFgFACQgGACgHAAQgIAAgHgEg");this.shape_27.setTransform(35.7,73.7);this.shape_28=new a.Shape;this.shape_28.graphics.f("#024862").s().p("AAPAeIgeguIAAAuIgHAAIAAg7IAIAAIAeAuIAAguIAHAAIAAA7g");this.shape_28.setTransform(29.4,
73.7);this.shape_29=new a.Shape;this.shape_29.graphics.f("#024862").s().p("AgMAkQgGgDgCgGQgCgEAAgLIAAgiIAIAAIAAAiQAAAIABAEQAAADAEACQAEACAFAAQAJAAADgEQADgDABgMIAAgiIAIAAIAAAiQAAAJgCAGQgCAEgGAEQgFADgJAAQgIAAgEgCgAgEgaIAEgLIAKAAIgJALg");this.shape_29.setTransform(23.3,73);this.shape_30=new a.Shape;this.shape_30.graphics.f("#024862").s().p("AAPAeIAAgcIgdAAIAAAcIgIAAIAAg7IAIAAIAAAZIAdAAIAAgZIAIAAIAAA7g");this.shape_30.setTransform(17.2,73.7);this.shape_31=new a.Shape;this.shape_31.graphics.f("#024862").s().p("AgNAbQgHgEgCgHQgDgIAAgIQAAgJADgHQADgGAHgEQAHgEAHAAQAJAAAGAFQAGAFACAHIgHACQgCgGgEgDQgFgDgFAAQgHAAgEADQgFAEgBAFQgCAFAAAGQAAAIACAFQACAFAFADQAEADAFAAQAGAAAFgEQAEgDADgIIAHACQgCAJgGAGQgHAFgJAAQgKAAgFgEg");
this.shape_31.setTransform(11.2,73.7);this.timeline.addTween(a.Tween.get({}).to({state:[{t:this.instance},{t:this.shape_16},{t:this.shape_15},{t:this.shape_14},{t:this.shape_13},{t:this.shape_12},{t:this.shape_11},{t:this.shape_10},{t:this.shape_9},{t:this.shape_8},{t:this.shape_7},{t:this.shape_6},{t:this.shape_5},{t:this.shape_4},{t:this.shape_3},{t:this.shape_2},{t:this.shape_1},{t:this.shape}]}).to({state:[{t:this.instance},{t:this.shape_16},{t:this.shape_15},{t:this.shape_31},{t:this.shape_30},
{t:this.shape_29},{t:this.shape_28},{t:this.shape_27},{t:this.shape_26},{t:this.shape_25},{t:this.shape_24},{t:this.shape_23},{t:this.shape_22},{t:this.shape_21},{t:this.shape_20},{t:this.shape_19},{t:this.shape_18},{t:this.shape_17}]},31).wait(1));this.instance_1=new c.Tween1("synched",0);this.instance_1.parent=this;this.instance_1.setTransform(87.9,67.3);this.instance_2=new c.Tween2("synched",0);this.instance_2.parent=this;this.instance_2.setTransform(88.3,68.8,1.55,1.55,0,0,0,0.1,0.1);this.instance_2.alpha=
0;this.timeline.addTween(a.Tween.get({}).to({state:[{t:this.instance_1}]}).to({state:[{t:this.instance_2}]},24).to({state:[{t:this.instance_2}]},7).wait(1));this.timeline.addTween(a.Tween.get(this.instance_1).to({_off:!0,regX:0.1,regY:0.1,scaleX:1.55,scaleY:1.55,x:88.3,y:68.8,alpha:0},24).wait(8))}).prototype=f=new a.MovieClip;f.nominalBounds=new a.Rectangle(83.5,110,114.2,59.5);c.properties={width:160,height:145,fps:24,color:"#FFFFFF",opacity:0,manifest:[],preloads:[]}})(lib=lib||{},images=images||
{},createjs=createjs||{},ss=ss||{},AdobeAn=AdobeAn||{});var lib,images,createjs,ss,AdobeAn;
var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d",encode:function(c){var a="",d,b,f,g,h,e,k=0;for(c=Base64._utf8_encode(c);k<c.length;)d=c.charCodeAt(k++),b=c.charCodeAt(k++),f=c.charCodeAt(k++),g=d>>2,d=(d&3)<<4|b>>4,h=(b&15)<<2|f>>6,e=f&63,isNaN(b)?h=e=64:isNaN(f)&&(e=64),a=a+this._keyStr.charAt(g)+this._keyStr.charAt(d)+this._keyStr.charAt(h)+this._keyStr.charAt(e);return a},decode:function(c){var a="",d,b,f,g,h,e=0;for(c=c.replace(/[^A-Za-z0-9\+\/\=]/g,
"");e<c.length;)d=this._keyStr.indexOf(c.charAt(e++)),b=this._keyStr.indexOf(c.charAt(e++)),g=this._keyStr.indexOf(c.charAt(e++)),h=this._keyStr.indexOf(c.charAt(e++)),d=d<<2|b>>4,b=(b&15)<<4|g>>2,f=(g&3)<<6|h,a+=String.fromCharCode(d),64!=g&&(a+=String.fromCharCode(b)),64!=h&&(a+=String.fromCharCode(f));return a=Base64._utf8_decode(a)},_utf8_encode:function(c){c=c.replace(/\r\n/g,"\n");for(var a="",d=0;d<c.length;d++){var b=c.charCodeAt(d);128>b?a+=String.fromCharCode(b):(127<b&&2048>b?a+=String.fromCharCode(b>>
6|192):(a+=String.fromCharCode(b>>12|224),a+=String.fromCharCode(b>>6&63|128)),a+=String.fromCharCode(b&63|128))}return a},_utf8_decode:function(c){for(var a="",d=0,b=c1=c2=0;d<c.length;)b=c.charCodeAt(d),128>b?(a+=String.fromCharCode(b),d++):191<b&&224>b?(c2=c.charCodeAt(d+1),a+=String.fromCharCode((b&31)<<6|c2&63),d+=2):(c2=c.charCodeAt(d+1),c3=c.charCodeAt(d+2),a+=String.fromCharCode((b&15)<<12|(c2&63)<<6|c3&63),d+=3);return a}},Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d",
encode:function(c){var a="",d,b,f,g,h,e,k=0;for(c=Base64._utf8_encode(c);k<c.length;)d=c.charCodeAt(k++),b=c.charCodeAt(k++),f=c.charCodeAt(k++),g=d>>2,d=(d&3)<<4|b>>4,h=(b&15)<<2|f>>6,e=f&63,isNaN(b)?h=e=64:isNaN(f)&&(e=64),a=a+this._keyStr.charAt(g)+this._keyStr.charAt(d)+this._keyStr.charAt(h)+this._keyStr.charAt(e);return a},decode:function(c){var a="",d,b,f,g,h,e=0;for(c=c.replace(/[^A-Za-z0-9\+\/\=]/g,"");e<c.length;)d=this._keyStr.indexOf(c.charAt(e++)),b=this._keyStr.indexOf(c.charAt(e++)),
g=this._keyStr.indexOf(c.charAt(e++)),h=this._keyStr.indexOf(c.charAt(e++)),d=d<<2|b>>4,b=(b&15)<<4|g>>2,f=(g&3)<<6|h,a+=String.fromCharCode(d),64!=g&&(a+=String.fromCharCode(b)),64!=h&&(a+=String.fromCharCode(f));return a=Base64._utf8_decode(a)},_utf8_encode:function(c){c=c.replace(/\r\n/g,"\n");for(var a="",d=0;d<c.length;d++){var b=c.charCodeAt(d);128>b?a+=String.fromCharCode(b):(127<b&&2048>b?a+=String.fromCharCode(b>>6|192):(a+=String.fromCharCode(b>>12|224),a+=String.fromCharCode(b>>6&63|128)),
a+=String.fromCharCode(b&63|128))}return a},_utf8_decode:function(c){for(var a="",d=0,b=c1=c2=0;d<c.length;)b=c.charCodeAt(d),128>b?(a+=String.fromCharCode(b),d++):191<b&&224>b?(c2=c.charCodeAt(d+1),a+=String.fromCharCode((b&31)<<6|c2&63),d+=2):(c2=c.charCodeAt(d+1),c3=c.charCodeAt(d+2),a+=String.fromCharCode((b&15)<<12|(c2&63)<<6|c3&63),d+=3);return a}};
var canvas,stage,exportRoot,anim_container,dom_overlay_container,fnStartAnimation;function init(){canvas=document.getElementById("canvas");anim_container=document.getElementById("animation_container");dom_overlay_container=document.getElementById("dom_overlay_container");handleComplete()}
function handleComplete(){exportRoot=new lib.iconMessengerSmartHomeVanNK181116;stage=new createjs.Stage(canvas);stage.addChild(exportRoot);fnStartAnimation=function(){createjs.Ticker.setFPS(lib.properties.fps);createjs.Ticker.addEventListener("tick",stage)};(function(r,k,s,l){function m(){var b=lib.properties.width,c=lib.properties.height,d=window.innerWidth,e=window.innerHeight,f=window.devicePixelRatio||1,g=d/b,h=e/c,a=1;if(r)if("width"==k&&n==d||"height"==k&&p==e)a=q;else if(s)1==l?a=Math.min(g,
h):2==l&&(a=Math.max(g,h));else if(d<b||e<c)a=Math.min(g,h);canvas.width=b*f*a;canvas.height=c*f*a;canvas.style.width=dom_overlay_container.style.width=anim_container.style.width=b*a+"px";canvas.style.height=anim_container.style.height=dom_overlay_container.style.height=c*a+"px";stage.scaleX=f*a;stage.scaleY=f*a;n=d;p=e;q=a}var n,p,q=1;window.addEventListener("resize",m);m()})(!1,"both",!1,1);fnStartAnimation()};
