(function (lib, img, cjs) {

var p; // shortcut to reference prototypes
var rect; // used to reference frame bounds

// library properties:
lib.properties = {
	width: 1280,
	height: 720,
	fps: 30,
	color: "#FFFFFF",
	manifest: [
		{src:"images/Bitmap1.png", id:"Bitmap1"},
		{src:"images/Bitmap2.png", id:"Bitmap2"},
		{src:"images/Bitmap3.png", id:"Bitmap3"},
		{src:"images/Bitmap4.png", id:"Bitmap4"},
		{src:"images/Bitmap5.png", id:"Bitmap5"},
		{src:"images/Bitmap6.png", id:"Bitmap6"},
		{src:"images/Bitmap7.png", id:"Bitmap7"},
		{src:"images/gfx_filter.png", id:"gfx_filter"},
		{src:"images/gfx_filter_plate.png", id:"gfx_filter_plate"},
		{src:"images/gfx_paintarea.png", id:"gfx_paintarea"}
	]
};

// stage content:
(lib.index = function() {
	this.initialize();

	// exercise
	this.container = new lib.exerciseContainer();
	this.container.setTransform(916.5,389,1,1,0,0,0,916.5,389);

	this.addChild(this.container);
}).prototype = p = new cjs.Container();
p.nominalBounds = rect = new cjs.Rectangle(670.7,298.1,1289.9,666.8);
p.frameBounds = [rect];


// symbols:
(lib.Bitmap1 = function() {
	this.initialize(img.Bitmap1);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,269,201);


(lib.Bitmap2 = function() {
	this.initialize(img.Bitmap2);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,268,199);


(lib.Bitmap3 = function() {
	this.initialize(img.Bitmap3);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,265,195);


(lib.Bitmap4 = function() {
	this.initialize(img.Bitmap4);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,266,196);


(lib.Bitmap5 = function() {
	this.initialize(img.Bitmap5);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,262,190);


(lib.Bitmap6 = function() {
	this.initialize(img.Bitmap6);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,270,202);


(lib.Bitmap7 = function() {
	this.initialize(img.Bitmap7);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,365,269);


(lib.gfx_filter = function() {
	this.initialize(img.gfx_filter);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,185,70);


(lib.gfx_filter_plate = function() {
	this.initialize(img.gfx_filter_plate);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,193,126);


(lib.gfx_paintarea = function() {
	this.initialize(img.gfx_paintarea);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,328,328);


(lib.paint_1_filter = function() {
	this.initialize();

	// Layer 1
	this.instance = new lib.Bitmap7();
	this.instance.setTransform(-182.5,-134.5);

	this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = rect = new cjs.Rectangle(-182.5,-134.5,365,269);
p.frameBounds = [rect];


(lib.gfx_brush_filter = function() {
	this.initialize();

	// Layer 1
	this.shape = new cjs.Shape();
	this.shape.graphics.f("#333333").s().p("AgrDvIgkgDQhVgFhGgOQhNgQgqgZQgRgJAEgHQAEgGAVgCIASAAQAMABALgBQB9gQBdhxQAdghAXgpIARgiQAPgrAThJIAHggQABgFAIgBQASAAARA2QAXBLAbAlQArA8AlAXQAXAQA1AYQAkATAdAZQAgAbgKAIQgRANgVAMQgeARg1AXQgjAQhBAMQhNAQhKACIgIAAIgcgBg");
	this.shape.setTransform(36.8,24);

	this.addChild(this.shape);
}).prototype = p = new cjs.Container();
p.nominalBounds = rect = new cjs.Rectangle(0,0,73.7,48.1);
p.frameBounds = [rect];


(lib.gdx_brush2 = function() {
	this.initialize();

	// Layer 1
	this.shape = new cjs.Shape();
	this.shape.graphics.f("#FFCC00").s().p("AiUFHQB8gQAzgTQA6gTBdhFQgFABg7AhQg7AigVAEIhaAaQgxANg5ADIhbgBIAFgCIgJACIgMAAIgcgFIAIAAQCHAABcgeQA6gTAXgXIgCgCQADgBgIAAQgRAPgsAPQhXAeh9AAQhKAAhlgmIgVgKIAAAAIABgCIABAAQBWAYAwAAQCcAABRgYQAVgHA3gfQgwAQghAKQg+AThlAAIgLAAQAzgJAugRQAzgUATgQQgsARgsANIgYAHQBBgaAkglQAXgXAUgkIAhhBQgEACgVAiQgZApgZAaQhXBfiUAAIghgBQApgKAkgSIAqgYIAQgMIABgBIAagUQACgDAHgFIAWgVIAEgGIAKgJIADgGIAIgJIAcgoIAagyIABgEIAOgjIAQg4QALg5ACgKQAMgeAWgeQAxhIBUgaQBTgaBRAaIALADIADAKQiUAWhgBZQhOBKgbBhIADAAQAUgdAdg3QAZgwAlgfQAXgUAdgSQAkgYAZgIIAagNQAWgKAWgGIAvgJIAIgBIAGANQhqAihYBLQhJA9g4BVIACABQBYhfA5gwQBahMBWgjIAHANQgyAVgrAqQgnAlgpBCQAdgYBChEQArgpAngZQATAgAbAPQgVBUhkBpQgbAZjSC9QB2hBB7iCQB0h8AOhOQAIAEALADQgHA4gbA8QgoBXhRBVIACABQBahXAkhDQAhg9ADhJIASACIACAgQAABUg2BMQgzBJhtBNQB1hAA6hUQAzhKAAhXIgDgfQAPAXAGAXQAbBXgbBKQgNAjgXAlIgTAZQiuDUk6AEIgRAAgAArgKQg8AwAAAZQAAABAAAAQAAABAAAAQABAAAAABQABAAAAAAIAfgkQAegegBgGQAAgFAAAAgAAFgHQgVAUAAAKQAAACABABQAAABAAABQAAAAAAAAQAAAAAAgBIAGAAQADgIAQgTQAVgXAEgFIAAAAQgJAAgVAVg");

	this.addChild(this.shape);
}).prototype = p = new cjs.Container();
p.nominalBounds = rect = new cjs.Rectangle(-45.8,-32.9,91.7,66);
p.frameBounds = [rect];


(lib.filter = function() {
	this.initialize();

	// Layer 1
	this.instance = new lib.gfx_filter_plate();

	this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = rect = new cjs.Rectangle(0,0,193,126);
p.frameBounds = [rect];


(lib.paint_1 = function() {
	this.initialize();

	// br
	this.shape = new cjs.Shape();
	this.shape.graphics.f().s("#A46F00").ss(2,1,1).p("AYKw9MAAAAh7MgwTAAAMAAAgh7g");
	this.shape.setTransform(-3.1,-0.9);

	this.shape_1 = new cjs.Shape();
	this.shape_1.graphics.f().s("#A46F00").ss(3,1,1).p("AOQy2QgHAHgFAHQgGgHgGgHQglglgzABQg0AAgkAkIAAAAQgHAHgFAHQgGgHgGgHQglglgzABQg0AAgkAkIAAAAQgHAHgFAHQgGgHgGgHQglglgzABQg0AAgkAkIAAAAQgHAHgFAHQgGgHgGgHQglglgzABQg0AAgkAkIAAAAQgHAHgFAHQgGgHgGgHQglglgzABQgyAAgkAkIAAAAQgHAHgFAHQgGgHgGgHQglglgzABQg0AAgkAkIAAAAQgHAHgFAHQgGgHgGgHQglglgzABQg0AAgkAkIAAAAQgHAHgFAHQgGgHgGgHQglglgzABQg0AAgkAkIAAAAQgHAHgFAHQgGgHgGgHQglglgzABQg0AAgkAkIAAAAQgHAHgFAHQgGgHgGgHQglglgzABQg0AAgkAkIAAAAQgHAHgFAHQgGgHgGgHQglglgzABQg0AAgkAkIAAAAQgHAHgFAHQgGgHgGgHQglglgzABQgHAAgGAAQgMgSgRgRQhChChcABQhdgBhCBCQhCBCABBdQgBBcBCBCQAEAEAFAEQgFAQAAASQAAAzAlAlQAGAGAIAGQgIAFgGAHIAAAAQglAkAAA0QAAAzAlAlQAGAGAIAGQgIAFgGAHIAAAAQglAkAAA0QAAAzAlAlQAGAGAIAGQgIAFgGAHIAAAAQglAkAAA0QAAAzAlAlQAGAGAIAGQgIAFgGAHIAAAAQglAkAAA0QAAAzAlAlQAGAGAIAGQgIAFgGAHIAAAAQglAiAAA0QAAAzAlAlQAGAGAIAGQgIAFgGAHIAAAAQglAkAAA0QAAAzAlAlQAGAGAIAGQgIAFgGAHIAAAAQglAkAAA0QAAAzAlAlQAGAGAIAGQgIAFgGAHIAAAAQglAkAAA0QAA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IABgBQAjgkABgzQgBg0gjgkQgHgHgIgFQAHgGAHgGIABgBQAjgkABgzQAdgQAagaQBChCAAhcQAAhdhChCQhChChcABQhdgBhCBCQgRARgMASQgGgBgGABQg0AAgkAkIAAAAQgHAHgFAHQgGgHgGgHQglglgzABQg0AAgkAkIAAAAQgHAHgFAHQgGgHgGgHQglglgzABQg0AAgkAkg");

	// mask (mask)
	var mask = new cjs.Shape();
	mask._off = true;
	mask.graphics.p("EAHFAkkQgpgNhIgcQhbglgegLQiYg4h3gBQhwgBjAAaQjIAchSABQiXAChwgxQiHg7huiOQibjHhqhaQhbhMhVgTQgggIgugCIhUgCQh0gEhqghQg5gjgZhCQgTgygFhTQgBhcgDgrQgFhJgWgmQg7hnhwiWQhliGgeg+QgxhjAMhkQANhxBeiYQAvhLgeghQgUgXhRgPQhggUgjgOQhFgigKhFQgLhJAog3QAfgqBIgrQBVgwAogaQBHgtAeguQAkg6AJhFQAKhJgag8QgchEhCgjQhKgnhzAHQjoAPgmiAQgghsBuieQBpiZCMhAQCahIBNBtQB5CpBlAIQBOAHBXhgQAagdAug+QAyhDAWgaQBYhmBNgFQCLgKBBg2QAvgmAVhOIARhAQAKglAMgXQAig/BSgVQEWhHBqAXQAdAGAnAVQAmAUAeAGQDTAlBPggQAhgOAhggQAUgUAtgyQBlhpCcg8QCPg2CUgEQCQgEBXAuQBdAwgMBXQgWCrBvBUQBLA5DPAxQCMAiAjAJQBmAcBLAgQDGBWBkCgICtEhQBEB0ArAhQAzAnBPgPQBAgNCkhHQCPg+BVAQQBMAOAOBIQANBDguBbQgvBdhbBOQibCEBUFPQAbBrA0B/QAbBAAeBDICUF4QBMDBARBQQAWBrg2AGQg9AGiohxQibhqh1C5QgwBLgzCHQgeBTg7C4Qg8C+ghBZQg3CYg3BhQiID1i2gPQhKgGh3glQiBgogwgHQhegOhIAjQhVArhKB2QhbCUhrAkQglAMgsAAQg6AAhHgWg");
	mask.setTransform(16.8,-6.2);

	// paint
	this.filter = new lib.paint_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AQAkgkA0AAQAzgBAlAlIAMAOIAMgOIAAAAQAkgkAzAAQA0gBAlAlIAMAOIAMgOIAAAAQAkgkAzAAQA0gBAkAlIANAOIAMgOIAAAAQAkgkA0AAQAzgBAkAlIANAOIAMgOIAAAAQAkgkA0AAQAzgBAlAlIAMAOIAMgOIAAAAQAkgkAyAAQAzgBAlAlIAMAOIAMgOIAAAAQAkgkAzAAQA0gBAkAlIANAOIAMgOIAAAAQAkgkAzAAQA0gBAkAlIANAOIAMgOIAAAAQAkgkA0AAQAzgBAkAlIANAOIAMgOIAAAAQAkgkA0AAQAzgBAlAlIAMAOIAMgOIAAAAQAkgkAzAAQA0gBAlAlIAMAOIAMgOIAAAAQAkgkAzAAQA0gBAkAlIANAOIAMgOIAAAAQAkgkA0AAIAMAAQAMgSARgRQBChCBdABQBcgBBCBCQBCBCAABdQAABchCBCQgaAageAQQAAAzgkAkIAAABIgOAMIAOAMQAkAkAAAzQAAA0gkAkIAAABIgOALIAOANQAkAkAAAzQAAA0gkAkIAAAAIgOAMIAOANQAkAkAAAzQAAA0gkAkIAAAAIgOANIAOAMQAkAkAAA0QAAAzgkAkIAAAAIgOANIAOAMQAkAiAAA0QAAAzgkAkIAAABIgOAMIAOAMQAkAkAAAzQAAA0gkAkIAAABIgOALIAOANQAkAkAAAzQAAA0gkAkIAAAAIgOAMIAOANQAkAkAAA0QAAAzgkAkIAAAAIgOANIAOAMQAkAkAAA0QAAATgFASQAhAQAcAcQBCBCAABcQAABdhCBCQhCBChcgBQhdABhChCgA4oQ1MAwTAAAMAAAgh7MgwTAAAg");

	this.addChild(this.shape_2,this.filter,this.shape_1,this.shape);
}).prototype = p = new cjs.Container();
p.nominalBounds = rect = new cjs.Rectangle(-183.9,-135.9,367.8,271.8);
p.frameBounds = [rect];


(lib.filter_1 = function() {
	this.initialize();

	// Layer 1
	this.filter = new lib.filter();
	this.filter.setTransform(-96.5,-63);

	this.addChild(this.filter);
}).prototype = p = new cjs.Container();
p.nominalBounds = rect = new cjs.Rectangle(-96.5,-63,193,126);
p.frameBounds = [rect];


(lib.gfx_brush = function() {
	this.initialize();

	// filter
	this.filter = new lib.gfx_brush_filter();
	this.filter.setTransform(-119.7,165.5,1,1,0,0,0,36.8,24);
	this.filter.alpha = 0;
	this.filter.filters = [new cjs.ColorFilter(0, 0, 0, 1, 204, 0, 0, 0)];
	this.filter.cache(-2,-2,78,52);

	// brush
	this.instance = new lib.gdx_brush2();
	this.instance.setTransform(-110.7,156.5);

	this.shape = new cjs.Shape();
	this.shape.graphics.f("#CCCCCC").s().p("Aj6EwIgDgMQAAgWAXAAQAXABAAAVQgCAYgSAAQgRAAgGgMgAjVEQIgHgGIgBgCIgDgIQAAgFADgDQADgEAJACQAOADAAAMIgBAGIgCADQgDADgDAAQgFAAgEgBgAimD0QgVgCgKgLQgFgFgCgGIAAgEQAAgFAPgSQARgUAKgBQgDgKADgFQAEgJAdgBQAEgEgBgNQAEgMAigDQgFgRARgUQARgSAbgNIAAgUQAAgMARgFQAOgEABgMQAAgMAUgDQgFgIAAgJQAAgIACgCQAFgIATACQgCgKABgHQAAgMAMgGQAfAAAAABIADAAQgCgGgQgSQgLgNAAgLQAAgIABgCQADgIANAAQAHAAAOAFIARAFIAOgBQgIgGgKgLQgLgLAAgDQAAgbAgAcQAgAbAAANIAAAIQgDAFgJACQgogBgOgFIgIABQAGAEAJAOQAIAOAAAFQAAAKgGAEQgMAIgjgHQAAAFADAJIACANQAAAIgDACQgGAEgVgDQAIAKAAAJQAAAIgBABQgFAFgSABQgBAEADAMQAAAGgFAFIgUABQgHADAAARQAAAOgiAFIAAAPQAAAKgCACQgEAFgQABIABAUQABALgKAGIgYACQACAIAAANQAAAIgCADQgEAIgRACQAEAJAAAFQAAAEgmAuIgJAAgACXjCQgmgcAAgIQAAgTAtAgQAnAbAOASIgCADQgDADgEAAQgMAAgngcgADUjNQgXgFgTgRIgDgEQgSgRAAgKQAAgHAEgCQADgDAKAAQAIAAAQAHQgMgOAAgOIACgCQABgCAFAAQADAAAJAFQAKAFAHABQgKgMAAgHIABgHQADgPAVAbIABACQALAOAMAVQAAAFgCABIgEACQgVAAgEgCIAAACIALALQAEAFAAAHIgCAPQgCAMgFAAQgJAAgIgCg");
	this.shape.setTransform(-50.3,101);

	this.shape_1 = new cjs.Shape();
	this.shape_1.graphics.f("#858585").s().p("AjLEwQAEABAFAAQADAAADgDIACgDQAbASAeAPIgEAEIgEAFQgdgIglgdgAj2DgIgWgbIADgEIAAAAIAJgRIARAZQAgAmANANQACAGAFAFQAKALAVACQAbANAkAFIgHAHIgJAJQhDgFhGhRgAj/D/IgbgeIACgFIAAAAIAGgLIASAbQAQAVAdAXQgDADAAAFIADAIIABACQgVgSgYgZgABJjPQghgigagjIALgSIACgCIAyBGQAZAeA4AnQAvAhArAVIgIAKQhDgJhkhpgABlj7QghgigbgiIAJgOIAFgHIA3BMQASAhAxAgIADAEQATARAXAFQAcAOAhANIgLANIgBABQhHgPhjhog");
	this.shape_1.setTransform(-51.3,97.8);

	this.shape_2 = new cjs.Shape();
	this.shape_2.graphics.f("#999999").s().p("AjBGJIgFAAIgSgCIgJgCQgKgCgJgEIgMgGQgcgQgSgfIgFgIIgGgOIgBgBIgFgNIgEgKIgDgKIAEgGIAFgKIADgGIAPgbIAbAfQAYAZAVARIAHAHQAlAdAdAIIgYAZIgKAKIgFAGIAFAIIAAAAIABACIgGAAgAkEFFIADAMQAHAMAQAAQATAAABgZQAAgUgXgBQgXAAAAAWgAjLErIABgFQAAgNgOgDQgIgBgEAEQgdgXgPgWIgSgbIAEgHIACgEIAVAaQBGBSBDAFIAKgKIgeAgQgdgPgcgTgAitEVIAJAAQAmguAAgEQAAgFgDgJQARgCADgIQACgDAAgJQAAgMgCgJIAZgBQAKgGgBgMIgCgTQARgCAEgEQABgDAAgJIAAgPQAigGAAgNQAAgRAHgDIAUgBQAFgGAAgGQgDgLABgHQATAAAEgFQABgCAAgHQAAgKgIgHQAVACAGgDQAEgCAAgJIgDgNQgDgJAAgEQAjAHAMgIQAGgEABgKQAAgGgJgNQgJgOgGgEIAIgBQAOAEAoACQAKgCACgGIABgHQgBgNgggcQgfgbgBAaQAAADAMAMQAJALAIAGIgOABIgRgFQgNgGgIAAQgNABgDAHQgBADAAAHQAAAMALANQAQASACAGIgCAAQgBgBgfAAQgLAFgBANQAAAHABAKQgTgCgFAHQgCADAAAHQAAAIAGAIQgUADgBAMQgBAOgNAEQgRAFgBAMIABAUQgcANgRARQgRAVAFARQghADgFALQABAOgEAEQgdABgEAIQgCAGACAKQgJAAgSAVQgPASAAAFIABADQgOgMgggmIgQgZQBrjACkkEQAYAiAhAiQBlBqBCAJQi+DkiPCfQgkgFgbgNgACNicQg4gngZgeIgyhHIAOgWQAcAiAgAhQBjBpBIAPIgIAJIgGAHIgKANQgrgVgvghgABqjGQABAJAlAbQAnAcAMAAQAEABADgDIACgEQgOgRgngcQgcgTgKAAQgHAAAAAGgADNisQAIABAJAAQAFABADgMIABgQQAAgGgDgFIgMgMIAAgBQAFACAUAAIAFgCQACgBAAgFQgNgVgLgOQAjAQAsATIAYAJIgEADIggAoIgBACIgCACIgWAbQgggNgdgOgABekHIg4hNIADgDIACgFIAEgGIAGgLIAFgFIAMgWIBGBKQAWAUAlAVIgBAHQAAAHALALQgIAAgJgGQgKgEgDAAQgFAAgBACIgCACQAAANAMAOQgQgGgIAAQgKAAgDADQgDACgBAHQAAAKASARQgxghgRggg");
	this.shape_2.setTransform(-49.6,97.8);

	this.shape_3 = new cjs.Shape();
	this.shape_3.graphics.f("#B97C00").s().p("Aq9OyQKIwmLos/QAEABAEAAQADABAAAJQAAAOkeFrQlXG0hcB+Qg0BIkdGVQjJEdiNC3g");
	this.shape_3.setTransform(62.7,-70.8);

	this.shape_4 = new cjs.Shape();
	this.shape_4.graphics.f("#714D00").s().p("AqZTFQgsgSgjgRIgBgCQgWgbgDAPQgkgVgXgUIhFhJIANgUIAzhPIASgdIBHhtIACgDIASgaQA1hNAegyQDTk6DVkpIBkiIIHvqeIAGgIIABgBIBghqQGjnKAAB4QAAAjlYHLQmQIRh0CaIjaEiQiNC5hIBrQiKDThYB9QiNDIg5AeQBNBECCACIghAoIgXgJgAokLIIADACQCNi3DJkdQEbmTA0hIQBeiBFXm0QEelqAAgPQAAgIgDgBQgEAAgEgCQrqM/qGQng");
	this.shape_4.setTransform(47.4,-47.4);

	this.shape_5 = new cjs.Shape();
	this.shape_5.graphics.f("#996600").s().p("A1LdfIgPgCIgGgBIALAAIAKgCIgGACIBbAAQA5gCAxgOIBcgZQAVgFA7giQA7ghAFgBQhdBFg6AUQg1ASh7AQgA19dXIgJgCQg1gLgpgNIgBAAQg5gXABgNIgBAAIABgBIAWAJQBlAmBJAAQB9AABXgeQAsgPAUgPQAHAAgCACIABABQgYAXg6ATQhdAfiHAAgA4bcVIADgBQAHgDAVAAIABAAIAKAAIATAAIAEgBIAIgBIAIgBIAiAAQCTAABYheQAYgbAZgpQAVghAFgDIgiBCQgUAkgWAXQglAlhBAaIAZgIQArgNAsgRQgSARg0ATQguASgzAIIALAAQBmAAA+gSQAhgKAwgRQg4AggVAGQhRAZicAAQgvAAhXgZgAtqYIQBkhoAVhUIANAGQgOBNhzB8Qh8CEh4BBQDUi8AbgcgArpYcQA2hNAAhUIgDggIAEAAIAHAAIABACIADAgQAABWg0BMQg5BVh2A/QBthNA0hKgAtsZ6QBRhUAohaQAbg7AHg5IAJACQgDBIghA+QgkBEhaBYgAxlZeQAAgZA+gzIACgBQABABAAAEQAAAGgeAgIghAkQAAAAgBAAQAAAAAAAAQgBgBAAAAQAAgBAAAAgAxjY2QAAgKAWgWQAVgWAJAAQgDAGgWAXQgSAUgDAJIgGgBIAAACIAAgFgAyRYIQAahhBQhKQBghZCUgVIADAJIgIACIgvAJQgWAFgVALIgaAMQgaAIgkAYQgcASgYAVQgkAfgcAvQgdA3gUAdgAxvYFQA6hVBJg9QBZhLBpgiIAAABQhWAkhaBLQg5AwhZBfgAuAVTQArgqAygUIAEAIQgnAYgrApQhCBEgdAYQAqhCAmglgAlWKHQA4geCNjHQBZh+CHjSQBJhpCMi6IDdkjQBziaGRoRQFYnLAAgjQAAh4mjHJIhgBrQBdh6BGhXQFvnCB7AAQASAAAPAJQBhBHk5H5QjUFWosMBQk+G3ldG2IgdAkQiBgChNhEgAioDAQgeAzg1BNIgSAaIBliag");
	this.shape_5.setTransform(0,-0.1);

	this.addChild(this.shape_5,this.shape_4,this.shape_3,this.shape_2,this.shape_1,this.shape,this.instance,this.filter);
}).prototype = p = new cjs.Container();
p.nominalBounds = rect = new cjs.Rectangle(-156.7,-189.5,313.5,379.1);
p.frameBounds = [rect];


(lib.exerciseContainer = function(mode,startPosition,loop) {
if (loop == null) { loop = false; }	this.initialize(mode,startPosition,loop,{});

	// timeline functions:
	this.frame_0 = function() {
		/* Ustawienia */
		var config = {
			id: '22113',
			title: 'Pokoloruj na czerwono ramkę obrazka, który prezentuje zachowanie nie oszczędzania prądu.',
			type: 'paint',
			container: this,
			prefix: 'filter_',
			prefix2: 'paint_',	
			/*
			groups: {		
				1: ['1','2','3'],
				2: ['4','5','6'],
				3: ['7','8','9']
			},
			
			groupdrops: {
				1: ['1','2','3'],
				2: ['4','5','6'],
				3: ['7','8','9']
			},
			*/
			results: [
				/*paint_1:*/ '1',
				/*paint_2:*/ '0',
				/*paint_3:*/ '1',
				/*paint_4:*/ '0',
				/*paint_5:*/ '0',
				/*paint_6:*/ '0',
			],
			exerciseAfterInit: function (container) {
				//hideAllElements(container, 'gfx_');
			},
			exerciseBeforeFinish: function (container) {
				container['paint_2'].correct = true;
				container['paint_4'].correct = true;
				container['paint_5'].correct = true;
				container['paint_6'].correct = true;
				//Dokomentuj, aby aktywować dzięki na kolorach
				// setSounds(this, 'filter_', false);
				//showAllElements(container, 'gfx_', 3);
			},
			exerciseExtraCheck: function (config) {
				
			},
		}
		
		exerciseOnInit(config);
		
		this.stop();
		
		/*---------------------------------------------------------------------------------------------------------------
		/* Help
		/*---------------------------------------------------------------------------------------------------------------
		 
		id - Id cwiczenia
		title - Tytul cwiczenia
		type - Typ Cwiczenia
		contanier - Kontener cwiczenia
		groupdrags - Lista grup dagow oraz przypisane do nich identyfikatory (unikatowa liczba) obiektow bez prefixow
		groupdrags - Lista grup targetow oraz przypisane do nich identyfikatory (unikatowa liczba) obiektow bez prefixow
		prefix - Prefixy w nazwach obiektow
		results - Rozwiazanie jako tablica identyfikatorow. Znak '|' definuje alternatywe, a '&' oznacza sume.	
		Przyklad:
		Cwiczenie typu sort.
		Odpowiedzi: [5,2,1,4,5] - tablica z ulozonymi w odpowiedniej kolejnisci identyfikatorami obiektow sortowanych.
		Cwiczenie typu drag.
		Odpowiedzi: [5,1|3,2&4] - tablica z id obiektow przeciaganych lub grup. W tym wariancie kazdy kolejny element z indexem 'i' w tablicy odpowiada targetowi o nazwie 'prefix+i'.
		np. prawidlowa odpowiedzia dla drop_1 jest obiekt drag_5, dla drop_2 obiekt drag_1 lub drag_3, dla drop_3 obiekt drag_2 oraz drag_4.
		range - Zakres dociagania
		alpha - Przezroczystosc targetu
		alpha2 - Przezroczystosc targetu po najechaniu
		rotation - Dostosowanie obrotu obiektu do targetu
		scale - Skalowanie obiektu po upuszczeniu
		size - Skalowanie obiektu do rozmiarow targetu
		zindex - Pozycja z obiektu
		/*-------------------------------------------------------------------------------------------------------------*/
	}

	// actions tween:
	this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(1));

	// brush
	this.brush = new lib.gfx_brush();
	this.brush.setTransform(36.7,525.1,0.682,0.682,0,0,0,-156.7,189.5);
	this.brush.shadow = new cjs.Shadow("rgba(0,0,0,1)",0,0,6);

	this.timeline.addTween(cjs.Tween.get(this.brush).wait(1));

	// content
	this.filter_0 = new lib.filter_1();
	this.filter_0.setTransform(139.9,487.2,1,1,0,0,180);
	this.filter_0.filters = [new cjs.ColorFilter(0, 0, 0, 1, 255, 255, 255, 0)];
	this.filter_0.cache(-98,-65,197,130);

	this.filter_1 = new lib.filter_1();
	this.filter_1.setTransform(139.9,344.2);
	this.filter_1.filters = [new cjs.ColorFilter(0, 0, 0, 1, 255, 51, 0, 0)];
	this.filter_1.cache(-98,-65,197,130);

	this.paint_4 = new lib.paint_1();
	this.paint_4.setTransform(405.3,387.6,0.807,0.807,4.7);

	this.paint_5 = new lib.paint_1();
	this.paint_5.setTransform(733.3,412,0.807,0.807,-2);

	this.paint_6 = new lib.paint_1();
	this.paint_6.setTransform(1070.6,382.8,0.807,0.807,-3.2);

	this.paint_3 = new lib.paint_1();
	this.paint_3.setTransform(976.4,146.1,0.807,0.807,-3);

	this.paint_2 = new lib.paint_1();
	this.paint_2.setTransform(657.8,164.8,0.807,0.807,4);

	this.paint_1 = new lib.paint_1();
	this.paint_1.setTransform(281.5,151.5,0.807,0.807,-4);

	this.instance = new lib.Bitmap1();
	this.instance.setTransform(145,50.4);

	this.instance_1 = new lib.Bitmap2();
	this.instance_1.setTransform(521,65.2);

	this.instance_2 = new lib.Bitmap6();
	this.instance_2.setTransform(268.1,285.3);

	this.instance_3 = new lib.Bitmap5();
	this.instance_3.setTransform(599.1,316.9);

	this.instance_4 = new lib.Bitmap4();
	this.instance_4.setTransform(934.6,285.1);

	this.instance_5 = new lib.Bitmap3();
	this.instance_5.setTransform(840.6,49);

	this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_5},{t:this.instance_4},{t:this.instance_3},{t:this.instance_2},{t:this.instance_1},{t:this.instance},{t:this.paint_1},{t:this.paint_2},{t:this.paint_3},{t:this.paint_6},{t:this.paint_5},{t:this.paint_4},{t:this.filter_1},{t:this.filter_0}]}).wait(1));

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = rect = new cjs.Rectangle(30.7,-61.9,1289.9,666.8);
p.frameBounds = [rect];

})(lib = lib||{}, images = images||{}, createjs = createjs||{});
var lib, images, createjs;