/*jslint */
/*global AdobeEdge: false, window: false, document: false, console:false, alert: false */
(function (compId) {

    "use strict";
    var im='images/',
        aud='media/',
        vid='media/',
        js='js/',
        fonts = {
            'Helvetica': '',
            'cabin, \'Trebuchet MS\', \'Myriad Pro\', \'Gill Sans MT\', Helvetica, sans-serif': '<script src=\"http://use.edgefonts.net/cabin:n4,i4,n7,i7,n5,i5,n6,i6:all.js\"></script>'        },
        opts = {
            'gAudioPreloadPreference': 'true',
            'gVideoPreloadPreference': 'metadata'
        },
        resources = [
        ],
        scripts = [
            js+"jquery-2.0.3.min.js",
            js+"jquery.filter_input.js",
            js+"input.js"
        ],
        symbols = {
            "stage": {
                version: "5.0.1",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.1.386",
                scaleToFit: "both",
                centerStage: "both",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            id: 'M_G01_U04_L05_03_02_bg',
                            type: 'image',
                            rect: ['49px', '81px', '1265px', '650px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"M_G01_U04_L05_03_02_bg.jpg",'0px','0px']
                        },
                        {
                            id: 'error',
                            type: 'audio',
                            tag: 'audio',
                            rect: ['520', '298', '320px', '45px', 'auto', 'auto'],
                            source: [aud+"error.mp3",aud+"error.ogg"],
                            preload: 'true'
                        },
                        {
                            id: 'success',
                            type: 'audio',
                            tag: 'audio',
                            rect: ['520', '298', '320px', '45px', 'auto', 'auto'],
                            source: [aud+"success.mp3",aud+"success.ogg"],
                            preload: 'true'
                        },
                        {
                            id: 'bt_ayuda',
                            symbolName: 'bt_ayuda',
                            type: 'rect',
                            rect: ['782', '694', '70', '70', 'auto', 'auto'],
                            overflow: 'hidden'
                        },
                        {
                            id: 'bt_reiniciar',
                            symbolName: 'bt_reiniciar',
                            type: 'rect',
                            rect: ['692', '694', '70', '70', 'auto', 'auto'],
                            overflow: 'hidden'
                        },
                        {
                            id: 'bt_solucion',
                            symbolName: 'bt_solucion',
                            type: 'rect',
                            rect: ['604', '694', '70', '70', 'auto', 'auto'],
                            overflow: 'hidden'
                        },
                        {
                            id: 'bt_validar',
                            symbolName: 'bt_validar',
                            type: 'rect',
                            rect: ['514', '694', '70', '70', 'auto', 'auto'],
                            overflow: 'hidden'
                        },
                        {
                            id: 'hotspot_ayuda',
                            type: 'rect',
                            rect: ['782', '694', '70', '70', 'auto', 'auto'],
                            cursor: 'pointer',
                            fill: ["rgba(192,192,192,0.00)"],
                            stroke: [0,"rgba(0,0,0,1)","none"]
                        },
                        {
                            id: 'hotspot_reiniciar',
                            type: 'rect',
                            rect: ['693', '694', '70', '70', 'auto', 'auto'],
                            cursor: 'pointer',
                            fill: ["rgba(192,192,192,0.00)"],
                            stroke: [0,"rgba(0,0,0,1)","none"]
                        },
                        {
                            id: 'hotspot_solucion',
                            type: 'rect',
                            rect: ['604', '694', '70', '70', 'auto', 'auto'],
                            cursor: 'pointer',
                            fill: ["rgba(192,192,192,0.00)"],
                            stroke: [0,"rgba(0,0,0,1)","none"]
                        },
                        {
                            id: 'hotspot_validar',
                            type: 'rect',
                            rect: ['514', '694', '70', '70', 'auto', 'auto'],
                            cursor: 'pointer',
                            fill: ["rgba(192,192,192,0.00)"],
                            stroke: [0,"rgba(0,0,0,1)","none"]
                        },
                        {
                            id: 'M_G01_U04_L05_03_02_figures2',
                            type: 'image',
                            rect: ['991px', '479px', '269px', '125px', 'auto', 'auto'],
                            opacity: '0',
                            fill: ["rgba(0,0,0,0)",im+"M_G01_U04_L05_03_02_figures2.png",'0px','0px'],
                            transform: [[],[],[],['0.7','0.7']]
                        },
                        {
                            id: 'Rectangle',
                            type: 'rect',
                            rect: ['530px', '269px', '304px', '288px', 'auto', 'auto'],
                            opacity: '0',
                            fill: ["rgba(255,247,182,1.00)"],
                            stroke: [1,"rgba(79,58,58,1.00)","solid"]
                        },
                        {
                            id: 'M_G01_U04_L05_03_02_figures',
                            type: 'image',
                            rect: ['-70px', '398px', '534px', '286px', 'auto', 'auto'],
                            opacity: '0',
                            fill: ["rgba(0,0,0,0)",im+"M_G01_U04_L05_03_02_figures.png",'0px','0px'],
                            transform: [[],[],[],['0.5','0.5']]
                        },
                        {
                            id: 'Input_1',
                            display: 'block',
                            type: 'rect',
                            rect: ['219px', '415px', '150', '30', 'auto', 'auto'],
                            opacity: '0',
                            fill: ["rgba(37,140,147,0.15)"],
                            stroke: [0,"rgb(83, 30, 30)","none"]
                        },
                        {
                            id: 'Input_2',
                            display: 'block',
                            type: 'rect',
                            rect: ['950px', '415px', '150', '30', 'auto', 'auto'],
                            opacity: '0',
                            fill: ["rgba(37,140,147,0.15)"],
                            stroke: [0,"rgb(83, 30, 30)","none"]
                        },
                        {
                            id: 'resp_incorrecta',
                            display: 'none',
                            type: 'image',
                            rect: ['443', '354', '530', '160', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"msg_incorrecto.png",'0px','0px']
                        },
                        {
                            id: 'resp_correcta',
                            display: 'none',
                            type: 'image',
                            rect: ['443', '354', '530', '160', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"msg_correcto.png",'0px','0px']
                        },
                        {
                            id: 'help_input',
                            display: 'none',
                            type: 'image',
                            rect: ['439', '330', '531', '249', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"help_input.png",'0px','0px']
                        },
                        {
                            id: 'descripcion',
                            type: 'text',
                            rect: ['100', '160', '1150', 'auto', 'auto', 'auto'],
                            text: "¿Cuántas figuras de menor tamaño empleaste para cubrir la superficie?<br>",
                            align: "left",
                            font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', [32, "px"], "rgba(26,26,26,1)", "400", "none", "normal", "break-word", ""]
                        },
                        {
                            id: 'instruccion',
                            type: 'text',
                            rect: ['223px', '292px', '150px', '32px', 'auto', 'auto'],
                            opacity: '0',
                            text: "Area",
                            align: "center",
                            font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', [26, "px"], "rgba(0,0,0,1.00)", "700", "none", "normal", "break-word", ""]
                        },
                        {
                            id: 'instruccionCopy',
                            type: 'text',
                            rect: ['955px', '292px', '145px', '32px', 'auto', 'auto'],
                            opacity: '0',
                            text: "Area",
                            align: "center",
                            font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', [26, "px"], "rgba(0,0,0,1.00)", "700", "none", "normal", "break-word", ""]
                        },
                        {
                            id: 'flecha',
                            display: 'none',
                            type: 'image',
                            rect: ['210', '135', '15', '15', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"flecha.png",'0px','0px']
                        },
                        {
                            id: 'momento',
                            display: 'none',
                            type: 'text',
                            rect: ['100', '129', '130', 'auto', 'auto', 'auto'],
                            text: "Desarrollo",
                            align: "left",
                            font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', [22, "px"], "rgba(197,115,34,1)", "bold", "none", "normal", "break-word", ""]
                        },
                        {
                            id: 'num_actividad',
                            display: 'none',
                            type: 'text',
                            rect: ['240', '129', '140', 'auto', 'auto', 'auto'],
                            text: "Actividad 1",
                            align: "left",
                            font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', [22, "px"], "rgba(229,145,34,1)", "bold", "none", "normal", "break-word", ""]
                        }
                    ],
                    style: {
                        '${Stage}': {
                            isStage: true,
                            rect: ['null', 'null', '1366', '768', 'auto', 'auto'],
                            sizeRange: ['320px','1366px','undefined','undefined'],
                            overflow: 'hidden',
                            fill: ["rgba(255,255,255,0.00)"]
                        }
                    }
                },
                timeline: {
                    duration: 1250,
                    autoPlay: true,
                    data: [
                        [
                            "eid995",
                            "opacity",
                            500,
                            500,
                            "linear",
                            "${Input_1}",
                            '0',
                            '1'
                        ],
                        [
                            "eid1009",
                            "opacity",
                            250,
                            500,
                            "easeOutSine",
                            "${M_G01_U04_L05_03_02_figures}",
                            '0',
                            '1'
                        ],
                        [
                            "eid990",
                            "top",
                            750,
                            500,
                            "easeOutBack",
                            "${instruccion}",
                            '292px',
                            '377px'
                        ],
                        [
                            "eid975",
                            "display",
                            0,
                            0,
                            "linear",
                            "${resp_correcta}",
                            'none',
                            'none'
                        ],
                        [
                            "eid978",
                            "display",
                            0,
                            0,
                            "linear",
                            "${num_actividad}",
                            'none',
                            'none'
                        ],
                        [
                            "eid992",
                            "opacity",
                            750,
                            500,
                            "easeOutBack",
                            "${instruccion}",
                            '0',
                            '1'
                        ],
                        [
                            "eid998",
                            "top",
                            750,
                            500,
                            "easeOutBack",
                            "${instruccionCopy}",
                            '292px',
                            '377px'
                        ],
                        [
                            "eid980",
                            "display",
                            0,
                            0,
                            "linear",
                            "${flecha}",
                            'none',
                            'none'
                        ],
                        [
                            "eid976",
                            "display",
                            0,
                            0,
                            "linear",
                            "${resp_incorrecta}",
                            'none',
                            'none'
                        ],
                        [
                            "eid1015",
                            "opacity",
                            500,
                            500,
                            "linear",
                            "${Rectangle}",
                            '0',
                            '1'
                        ],
                        [
                            "eid1013",
                            "opacity",
                            250,
                            500,
                            "easeOutSine",
                            "${M_G01_U04_L05_03_02_figures2}",
                            '0',
                            '1'
                        ],
                        [
                            "eid1005",
                            "left",
                            250,
                            500,
                            "easeOutSine",
                            "${M_G01_U04_L05_03_02_figures}",
                            '-70px',
                            '24px'
                        ],
                        [
                            "eid977",
                            "display",
                            0,
                            0,
                            "linear",
                            "${help_input}",
                            'none',
                            'none'
                        ],
                        [
                            "eid979",
                            "display",
                            0,
                            0,
                            "linear",
                            "${momento}",
                            'none',
                            'none'
                        ],
                        [
                            "eid888",
                            "display",
                            0,
                            0,
                            "linear",
                            "${ok37}",
                            'none',
                            'none'
                        ],
                        [
                            "eid999",
                            "opacity",
                            750,
                            500,
                            "easeOutBack",
                            "${instruccionCopy}",
                            '0',
                            '1'
                        ],
                        [
                            "eid1011",
                            "left",
                            250,
                            500,
                            "easeOutSine",
                            "${M_G01_U04_L05_03_02_figures2}",
                            '991px',
                            '892px'
                        ],
                        [
                            "eid997",
                            "opacity",
                            500,
                            500,
                            "linear",
                            "${Input_2}",
                            '0',
                            '1'
                        ]
                    ]
                }
            },
            "ok": {
                version: "5.0.1",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.1.386",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            id: 'ok',
                            type: 'image',
                            rect: [0, 0, '20px', '20px', 'auto', 'auto'],
                            fill: ['rgba(0,0,0,0)', 'images/ok.png', '0px', '0px']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            rect: [null, null, 20, 20]
                        }
                    }
                },
                timeline: {
                    duration: 0,
                    autoPlay: true,
                    data: [

                    ]
                }
            },
            "bad": {
                version: "5.0.1",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.1.386",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            id: 'bad',
                            type: 'image',
                            rect: [0, 0, '20px', '20px', 'auto', 'auto'],
                            fill: ['rgba(0,0,0,0)', 'images/bad.png', '0px', '0px']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            rect: [null, null, 20, 20]
                        }
                    }
                },
                timeline: {
                    duration: 0,
                    autoPlay: true,
                    data: [

                    ]
                }
            },
            "bt_validar": {
                version: "5.0.1",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.1.386",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: true,
                content: {
                    dom: [
                        {
                            rect: ['0px', '0px', '290px', '140px', 'auto', 'auto'],
                            id: 'botones',
                            type: 'image',
                            clip: 'rect(0px 70px 70px 0px)',
                            fill: ['rgba(0,0,0,0)', 'images/botones.png', '0px', '0px']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            overflow: 'hidden',
                            rect: [null, null, 70, 70]
                        }
                    }
                },
                timeline: {
                    duration: 250,
                    autoPlay: false,
                    labels: {
                        "normal": 0,
                        "down": 250
                    },
                    data: [
                        [
                            "eid1275",
                            "background-position",
                            0,
                            0,
                            "linear",
                            "${botones}",
                            [0,0],
                            [0,0],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ],
                        [
                            "eid1274",
                            "background-position",
                            250,
                            0,
                            "linear",
                            "${botones}",
                            [0,0],
                            [0,-70],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ]
                    ]
                }
            },
            "bt_solucion": {
                version: "5.0.1",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.1.386",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: true,
                content: {
                    dom: [
                        {
                            rect: ['0', '0', '290px', '140px', 'auto', 'auto'],
                            id: 'botones2',
                            type: 'image',
                            clip: 'rect(0px 70px 70px 0px)',
                            fill: ['rgba(0,0,0,0)', 'images/botones.png', '-73px', '0px']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            overflow: 'hidden',
                            rect: [null, null, 70, 70]
                        }
                    }
                },
                timeline: {
                    duration: 250,
                    autoPlay: false,
                    labels: {
                        "normal": 0,
                        "down": 250
                    },
                    data: [
                        [
                            "eid1276",
                            "background-position",
                            0,
                            0,
                            "linear",
                            "${botones2}",
                            [-73,0],
                            [-73,0],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ],
                        [
                            "eid1277",
                            "background-position",
                            250,
                            0,
                            "linear",
                            "${botones2}",
                            [-73,0],
                            [-73,-70],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ]
                    ]
                }
            },
            "bt_reiniciar": {
                version: "5.0.1",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.1.386",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: true,
                content: {
                    dom: [
                        {
                            rect: ['0', '0', '290px', '140px', 'auto', 'auto'],
                            id: 'botones3',
                            type: 'image',
                            clip: 'rect(0px 70px 70px 0px)',
                            fill: ['rgba(0,0,0,0)', 'images/botones.png', '-146px', '0px']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            overflow: 'hidden',
                            rect: [null, null, 70, 70]
                        }
                    }
                },
                timeline: {
                    duration: 250,
                    autoPlay: false,
                    labels: {
                        "normal": 0,
                        "down": 250
                    },
                    data: [
                        [
                            "eid1278",
                            "background-position",
                            0,
                            0,
                            "linear",
                            "${botones3}",
                            [-146,0],
                            [-146,0],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ],
                        [
                            "eid1279",
                            "background-position",
                            250,
                            0,
                            "linear",
                            "${botones3}",
                            [-146,0],
                            [-146,-70],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ]
                    ]
                }
            },
            "bt_ayuda": {
                version: "5.0.1",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.1.386",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: true,
                content: {
                    dom: [
                        {
                            rect: ['0', '0', '290px', '140px', 'auto', 'auto'],
                            id: 'botones4',
                            type: 'image',
                            clip: 'rect(0px 70px 70px 0px)',
                            fill: ['rgba(0,0,0,0)', 'images/botones.png', '-220px', '0px']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            overflow: 'hidden',
                            rect: [null, null, 70, 70]
                        }
                    }
                },
                timeline: {
                    duration: 250,
                    autoPlay: false,
                    labels: {
                        "normal": 0,
                        "down": 250
                    },
                    data: [
                        [
                            "eid1280",
                            "background-position",
                            0,
                            0,
                            "linear",
                            "${botones4}",
                            [-220,0],
                            [-220,0],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ],
                        [
                            "eid1281",
                            "background-position",
                            250,
                            0,
                            "linear",
                            "${botones4}",
                            [-220,0],
                            [-220,-70],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ]
                    ]
                }
            }
        };

    AdobeEdge.registerCompositionDefn(compId, symbols, fonts, scripts, resources, opts);

    if (!window.edge_authoring_mode) AdobeEdge.getComposition(compId).load("index_edgeActions.js");
})("EDGE-94063035");
