/*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': 'auto',
            'gVideoPreloadPreference': 'auto'
        },
        resources = [
        ],
        scripts = [
            js+"jquery-2.0.3.min.js",
            js+"EdgeCommons.js"
        ],
        symbols = {
            "stage": {
                version: "5.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.0.375",
                scaleToFit: "both",
                centerStage: "both",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            id: 'textCount',
                            display: 'none',
                            type: 'text',
                            rect: ['1049', '100', '227px', '42px', 'auto', 'auto'],
                            text: "0/0",
                            align: "center",
                            font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', [24, ""], "rgba(0,0,0,1)", "normal", "none", "", "break-word", ""]
                        },
                        {
                            id: 'slide_1',
                            symbolName: 'slide_1',
                            display: 'block',
                            type: 'rect',
                            rect: ['0', '0', '1366', '768', 'auto', 'auto'],
                            overflow: 'hidden',
                            opacity: 1
                        },
                        {
                            id: 'descripcion',
                            type: 'text',
                            rect: ['100', '165', '1150', 'auto', 'auto', 'auto'],
                            text: "Haz clic sobre los productos para conocer sus nombres.<br>",
                            align: "left",
                            font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', [32, "px"], "rgba(26,26,26,1)", "bold", "none", "normal", "break-word", ""]
                        },
                        {
                            id: 'instruccion',
                            display: 'none',
                            type: 'text',
                            rect: ['100', '203', '1150', 'auto', 'auto', 'auto'],
                            text: "Lorem ipsum dolor sit amet, consectetur",
                            align: "left",
                            font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', [26, "px"], "rgba(102,102,102,1)", "400", "none", "normal", "break-word", ""]
                        },
                        {
                            id: 'momento',
                            display: 'none',
                            type: 'text',
                            rect: ['100', '129', '150', 'auto', 'auto', 'auto'],
                            text: "Resumen",
                            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: 'flecha',
                            display: 'none',
                            type: 'image',
                            rect: ['210', '135', '15', '15', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"flecha.png",'0px','0px']
                        },
                        {
                            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: 0,
                    autoPlay: true,
                    labels: {
                        "slide_1": 0
                    },
                    data: [
                        [
                            "eid1307",
                            "display",
                            0,
                            0,
                            "linear",
                            "${num_actividad}",
                            'none',
                            'none'
                        ],
                        [
                            "eid1309",
                            "display",
                            0,
                            0,
                            "linear",
                            "${momento}",
                            'none',
                            'none'
                        ],
                        [
                            "eid1306",
                            "display",
                            0,
                            0,
                            "linear",
                            "${instruccion}",
                            'none',
                            'none'
                        ],
                        [
                            "eid1100",
                            "display",
                            0,
                            0,
                            "linear",
                            "${slide_1}",
                            'block',
                            'block'
                        ],
                        [
                            "eid1308",
                            "display",
                            0,
                            0,
                            "linear",
                            "${flecha}",
                            'none',
                            'none'
                        ],
                        [
                            "eid1225",
                            "display",
                            0,
                            0,
                            "linear",
                            "${textCount}",
                            'none',
                            'none'
                        ]
                    ]
                }
            },
            "bt_next": {
                version: "5.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.0.375",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            type: 'image',
                            id: 'nav_next',
                            rect: [0, 0, 70, 70, 'auto', 'auto'],
                            clip: 'rect(0px 70px 70px 0px)',
                            fill: ['rgba(0,0,0,0)', 'images/nav.png', '-75px', '0px', '145px 145px', '70px']
                        },
                        {
                            type: 'rect',
                            rect: [0, '0px', 70, 70, 'auto', 'auto'],
                            opacity: '0',
                            id: 'hotspot_area_next',
                            stroke: [0, 'rgba(0,0,0,1)', 'none'],
                            cursor: 'pointer',
                            fill: ['rgba(192,192,192,1)']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            rect: [null, null, 70, 70]
                        }
                    }
                },
                timeline: {
                    duration: 2000,
                    autoPlay: false,
                    labels: {
                        "normal": 0,
                        "down": 1000,
                        "up": 2000
                    },
                    data: [
                        [
                            "eid1194",
                            "background-position",
                            0,
                            0,
                            "linear",
                            "${nav_next}",
                            [-75,0],
                            [-75,0],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ],
                        [
                            "eid1195",
                            "background-position",
                            1000,
                            0,
                            "linear",
                            "${nav_next}",
                            [-75,0],
                            [-75,-75],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ],
                        [
                            "eid1196",
                            "background-position",
                            2000,
                            0,
                            "linear",
                            "${nav_next}",
                            [-75,-75],
                            [-75,0],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ]
                    ]
                }
            },
            "bt_back": {
                version: "5.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.0.375",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            type: 'image',
                            id: 'nav_back',
                            rect: [0, 0, 145, 145, 'auto', 'auto'],
                            clip: 'rect(0px 70px 70px 0px)',
                            fill: ['rgba(0,0,0,0)', 'images/nav.png', '0px', '0px', '145px 145px', '70px']
                        },
                        {
                            type: 'rect',
                            rect: ['0px', '0px', 70, 70, 'auto', 'auto'],
                            opacity: '0',
                            id: 'hotspot_area_back',
                            stroke: [0, 'rgba(0,0,0,1)', 'none'],
                            cursor: 'pointer',
                            fill: ['rgba(192,192,192,1)']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            rect: [null, null, 70, 70]
                        }
                    }
                },
                timeline: {
                    duration: 2000,
                    autoPlay: false,
                    labels: {
                        "normal": 0,
                        "down": 1000,
                        "up": 2000
                    },
                    data: [
                        [
                            "eid1191",
                            "background-position",
                            0,
                            0,
                            "linear",
                            "${nav_back}",
                            [0,0],
                            [0,0],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ],
                        [
                            "eid1190",
                            "background-position",
                            1000,
                            0,
                            "linear",
                            "${nav_back}",
                            [0,0],
                            [0,-78],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ],
                        [
                            "eid1192",
                            "background-position",
                            2000,
                            0,
                            "linear",
                            "${nav_back}",
                            [0,-78],
                            [0,0],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ]
                    ]
                }
            },
            "slide_1": {
                version: "5.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.0.375",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: true,
                content: {
                    dom: [
                        {
                            type: 'rect',
                            overflow: 'hidden',
                            id: 'bg_defecto',
                            symbolName: 'bg_defecto_simbolo',
                            rect: ['50', '80', '1265', '650', 'auto', 'auto']
                        },
                        {
                            rect: ['50px', '80px', '1265px', '650px', 'auto', 'auto'],
                            id: 'IL_L_G01_U02_L02_04_01_01-01',
                            type: 'image',
                            fill: ['rgba(0,0,0,0)', 'images/IL_L_G01_U02_L02_04_01_01-01.png', '0px', '0px']
                        },
                        {
                            rect: ['324px', '292px', '148px', '253px', 'auto', 'auto'],
                            id: 'jabon',
                            type: 'image',
                            fill: ['rgba(0,0,0,0)', 'images/IL_L_G01_U02_L02_04_01_01-04.png', '0px', '0px']
                        },
                        {
                            transform: [[], ['12'], [0, 0, 0], [1, 1, 1]],
                            id: 'jugo',
                            type: 'image',
                            rect: ['430px', '328px', '133px', '349px', 'auto', 'auto'],
                            fill: ['rgba(0,0,0,0)', 'images/IL_L_G01_U02_L02_04_01_01-07.png', '0px', '0px']
                        },
                        {
                            transform: [[], ['-6'], [0, 0, 0], [1, 1, 1]],
                            id: 'leche',
                            type: 'image',
                            rect: ['203px', '272px', '166px', '384px', 'auto', 'auto'],
                            fill: ['rgba(0,0,0,0)', 'images/IL_L_G01_U02_L02_04_01_01-03.png', '0px', '0px']
                        },
                        {
                            transform: [[], ['54'], [0, 0, 0], [1, 1, 1]],
                            id: 'queso',
                            type: 'image',
                            rect: ['240px', '389px', '214px', '152px', 'auto', 'auto'],
                            fill: ['rgba(0,0,0,0)', 'images/IL_L_G01_U02_L02_04_01_01-06.png', '0px', '0px']
                        },
                        {
                            rect: ['231px', '554px', '270px', '133px', 'auto', 'auto'],
                            id: 'fresas',
                            type: 'image',
                            fill: ['rgba(0,0,0,0)', 'images/IL_L_G01_U02_L02_04_01_01-05.png', '0px', '0px']
                        },
                        {
                            rect: ['134px', '418px', '495px', '269px', 'auto', 'auto'],
                            id: 'canasta',
                            type: 'image',
                            fill: ['rgba(0,0,0,0)', 'images/IL_L_G01_U02_L02_04_01_01-02.png', '0px', '0px']
                        },
                        {
                            type: 'image',
                            display: 'none',
                            rect: ['608px', '268px', '641px', '340px', 'auto', 'auto'],
                            id: 'info_jugo',
                            fill: ['rgba(0,0,0,0)', 'images/IL_L_G01_U02_L02_04_01_01-12.png', '0px', '0px']
                        },
                        {
                            type: 'image',
                            rect: ['1176px', '295px', '31px', '31px', 'auto', 'auto'],
                            display: 'none',
                            id: 'cerrar_jugo',
                            cursor: 'pointer',
                            fill: ['rgba(0,0,0,0)', 'images/cerrar-89.png', '0px', '0px']
                        },
                        {
                            type: 'image',
                            display: 'none',
                            rect: ['608px', '268px', '641px', '340px', 'auto', 'auto'],
                            id: 'info_queso',
                            fill: ['rgba(0,0,0,0)', 'images/IL_L_G01_U02_L02_04_01_01-11.png', '0px', '0px']
                        },
                        {
                            type: 'image',
                            rect: ['1176px', '295px', '31px', '31px', 'auto', 'auto'],
                            display: 'none',
                            id: 'cerrar_queso',
                            cursor: 'pointer',
                            fill: ['rgba(0,0,0,0)', 'images/cerrar-89.png', '0px', '0px']
                        },
                        {
                            type: 'image',
                            display: 'none',
                            rect: ['608px', '268px', '623px', '340px', 'auto', 'auto'],
                            id: 'info_fresas',
                            fill: ['rgba(0,0,0,0)', 'images/IL_L_G01_U02_L02_04_01_01-10.png', '0px', '0px']
                        },
                        {
                            type: 'image',
                            rect: ['1176px', '295px', '31px', '31px', 'auto', 'auto'],
                            display: 'none',
                            id: 'cerrar_fresas',
                            cursor: 'pointer',
                            fill: ['rgba(0,0,0,0)', 'images/cerrar-89.png', '0px', '0px']
                        },
                        {
                            type: 'image',
                            display: 'none',
                            rect: ['608px', '268px', '641px', '340px', 'auto', 'auto'],
                            id: 'info_jabon',
                            fill: ['rgba(0,0,0,0)', 'images/IL_L_G01_U02_L02_04_01_01-09.png', '0px', '0px']
                        },
                        {
                            type: 'image',
                            rect: ['1176px', '295px', '31px', '31px', 'auto', 'auto'],
                            display: 'none',
                            id: 'cerrar_jabon',
                            cursor: 'pointer',
                            fill: ['rgba(0,0,0,0)', 'images/cerrar-89.png', '0px', '0px']
                        },
                        {
                            type: 'image',
                            display: 'none',
                            rect: ['608px', '268px', '623px', '340px', 'auto', 'auto'],
                            id: 'info_leche',
                            fill: ['rgba(0,0,0,0)', 'images/IL_L_G01_U02_L02_04_01_01-08.png', '0px', '0px']
                        },
                        {
                            type: 'image',
                            rect: ['1176px', '295px', '31px', '31px', 'auto', 'auto'],
                            display: 'none',
                            id: 'cerrar_leche',
                            cursor: 'pointer',
                            fill: ['rgba(0,0,0,0)', 'images/cerrar-89.png', '0px', '0px']
                        },
                        {
                            type: 'rect',
                            id: 'bt_jugo',
                            symbolName: 'bt_ampliar',
                            cursor: 'pointer',
                            rect: ['508px', '360px', null, null, 'auto', 'auto']
                        },
                        {
                            type: 'rect',
                            id: 'bt_fresas',
                            symbolName: 'bt_ampliar',
                            cursor: 'pointer',
                            rect: ['446px', '639px', null, null, 'auto', 'auto']
                        },
                        {
                            type: 'rect',
                            id: 'bt_queso',
                            symbolName: 'bt_ampliar',
                            cursor: 'pointer',
                            rect: ['314px', '381px', null, null, 'auto', 'auto']
                        },
                        {
                            type: 'rect',
                            id: 'bt_jabon',
                            symbolName: 'bt_ampliar',
                            cursor: 'pointer',
                            rect: ['389px', '323px', null, null, 'auto', 'auto']
                        },
                        {
                            type: 'rect',
                            id: 'bt_leche',
                            symbolName: 'bt_ampliar',
                            cursor: 'pointer',
                            rect: ['236px', '286px', null, null, 'auto', 'auto']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            rect: [null, null, '50', '48']
                        }
                    }
                },
                timeline: {
                    duration: 0,
                    autoPlay: true,
                    data: [
                        [
                            "eid1305",
                            "display",
                            0,
                            0,
                            "linear",
                            "${cerrar_leche}",
                            'none',
                            'none'
                        ],
                        [
                            "eid1301",
                            "display",
                            0,
                            0,
                            "linear",
                            "${cerrar_jugo}",
                            'none',
                            'none'
                        ],
                        [
                            "eid1299",
                            "display",
                            0,
                            0,
                            "linear",
                            "${info_queso}",
                            'none',
                            'none'
                        ],
                        [
                            "eid1302",
                            "display",
                            0,
                            0,
                            "linear",
                            "${cerrar_queso}",
                            'none',
                            'none'
                        ],
                        [
                            "eid1296",
                            "display",
                            0,
                            0,
                            "linear",
                            "${info_leche}",
                            'none',
                            'none'
                        ],
                        [
                            "eid1304",
                            "display",
                            0,
                            0,
                            "linear",
                            "${cerrar_jabon}",
                            'none',
                            'none'
                        ],
                        [
                            "eid1300",
                            "display",
                            0,
                            0,
                            "linear",
                            "${info_jugo}",
                            'none',
                            'none'
                        ],
                        [
                            "eid1298",
                            "display",
                            0,
                            0,
                            "linear",
                            "${info_fresas}",
                            'none',
                            'none'
                        ],
                        [
                            "eid1303",
                            "display",
                            0,
                            0,
                            "linear",
                            "${cerrar_fresas}",
                            'none',
                            'none'
                        ],
                        [
                            "eid1297",
                            "display",
                            0,
                            0,
                            "linear",
                            "${info_jabon}",
                            'none',
                            'none'
                        ]
                    ]
                }
            },
            "Hot_Spot": {
                version: "5.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.0.375",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            type: 'rect',
                            opacity: '0',
                            id: 'Rectangle',
                            stroke: [0, 'rgba(0,0,0,1)', 'none'],
                            rect: [0, 0, 40, 40, 'auto', 'auto'],
                            fill: ['rgba(255,255,255,0.35)']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            rect: [null, null, 40, 40]
                        }
                    }
                },
                timeline: {
                    duration: 2000,
                    autoPlay: true,
                    labels: {
                        "iniciar": 0,
                        "loop": 2000
                    },
                    data: [
                        [
                            "eid694",
                            "background-color",
                            1000,
                            0,
                            "linear",
                            "${Rectangle}",
                            'rgba(255,255,255,0.35)',
                            'rgba(255,255,255,0.35)'
                        ],
                        [
                            "eid695",
                            "opacity",
                            0,
                            1000,
                            "linear",
                            "${Rectangle}",
                            '0',
                            '1'
                        ],
                        [
                            "eid696",
                            "opacity",
                            1000,
                            1000,
                            "easeInQuad",
                            "${Rectangle}",
                            '1',
                            '0'
                        ]
                    ]
                }
            },
            "bg_defecto_simbolo": {
                version: "5.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.0.375",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            rect: [0, 0, 1265, 650, 'auto', 'auto'],
                            id: 'bg_defecto',
                            type: 'group',
                            c: [
                            {
                                rect: ['0px', '0px', 1265, 650, 'auto', 'auto'],
                                id: 'bg_000',
                                stroke: [0, 'rgba(255,255,255,1.00)', 'none'],
                                type: 'rect',
                                fill: ['rgba(255,255,255,1.00)']
                            },
                            {
                                rect: [519, 304, 211, 'auto', 'auto', 'auto'],
                                font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', [24, ''], 'rgba(0,0,0,1)', 'normal', 'none', '', '', ''],
                                id: 'txt_medidas',
                                text: '1265px x 650px',
                                align: 'center',
                                type: 'text'
                            }]
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            overflow: 'hidden',
                            rect: [null, null, 1265, 650]
                        }
                    }
                },
                timeline: {
                    duration: 0,
                    autoPlay: true,
                    data: [

                    ]
                }
            },
            "bt_ampliar": {
                version: "5.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.0.375",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            rect: [0, 1, '50px', '100px', 'auto', 'auto'],
                            id: 'bt_info',
                            type: 'image',
                            fill: ['rgba(0,0,0,0)', 'images/SpriteSheet_bt_ampliar.png', '0px', '0px']
                        },
                        {
                            type: 'rect',
                            rect: ['0px', '0px', '50px', '48px', 'auto', 'auto'],
                            display: 'block',
                            id: 'hot_spot_1',
                            stroke: [0, 'rgb(0, 0, 0)', 'none'],
                            cursor: 'pointer',
                            fill: ['rgba(255,255,255,0)']
                        },
                        {
                            type: 'rect',
                            rect: ['0px', '0px', '50px', '48px', 'auto', 'auto'],
                            display: 'none',
                            id: 'hot_spot_2',
                            stroke: [0, 'rgb(0, 0, 0)', 'none'],
                            cursor: 'pointer',
                            fill: ['rgba(255,255,255,0)']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            overflow: 'hidden',
                            rect: [null, null, 50, 48]
                        }
                    }
                },
                timeline: {
                    duration: 250,
                    autoPlay: false,
                    labels: {
                        "up": 0,
                        "down": 250
                    },
                    data: [
                        [
                            "eid1356",
                            "left",
                            0,
                            0,
                            "null",
                            "${bt_info}",
                            '0px',
                            '0px'
                        ],
                        [
                            "eid1",
                            "top",
                            0,
                            0,
                            "null",
                            "${bt_info}",
                            '1px',
                            '1px'
                        ],
                        [
                            "eid2",
                            "top",
                            250,
                            0,
                            "null",
                            "${bt_info}",
                            '1px',
                            '-54px'
                        ],
                        [
                            "eid1361",
                            "display",
                            250,
                            0,
                            "null",
                            "${hot_spot_2}",
                            'none',
                            'block'
                        ],
                        [
                            "eid1359",
                            "display",
                            0,
                            0,
                            "null",
                            "${hot_spot_1}",
                            'block',
                            'block'
                        ],
                        [
                            "eid1360",
                            "display",
                            250,
                            0,
                            "null",
                            "${hot_spot_1}",
                            'block',
                            'none'
                        ]
                    ]
                }
            }
        };

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

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