/*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 = {
            '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': 'false',
            'gVideoPreloadPreference': 'auto'
        },
        resources = [
        ],
        scripts = [
            js+"jquery-2.0.3.min.js",
            js+"jquery-ui-1.10.4.min.js",
            js+"jquery.ui.touch-punch.min.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: 'container',
                            type: 'rect',
                            rect: ['0px', '0px', '1366px', '768px', 'auto', 'auto'],
                            fill: ["rgba(255,255,255,0.00)"],
                            stroke: [0,"rgb(83, 30, 30)","none"]
                        },
                        {
                            id: 'IL_S_G01_U01_L05_05_02_02-01',
                            type: 'image',
                            rect: ['50px', '86px', '1265px', '650px', 'auto', 'auto'],
                            overflow: 'hidden',
                            fill: ["rgba(0,0,0,0)",im+"IL_S_G01_U01_L05_05_02_02-01.png",'0px','0px']
                        },
                        {
                            id: 'IL_S_G01_U01_L05_05_02_02_nuevo_cajon-01',
                            type: 'image',
                            rect: ['271px', '201px', '545px', '525px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"IL_S_G01_U01_L05_05_02_02_nuevo_cajon-01.png",'0px','0px']
                        },
                        {
                            id: 'IL_S_G01_U01_L05_05_02_02-03',
                            type: 'image',
                            rect: ['124px', '401px', '186px', '328px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"IL_S_G01_U01_L05_05_02_02-03.png",'0px','0px']
                        },
                        {
                            id: 'error',
                            type: 'audio',
                            tag: 'audio',
                            rect: ['616', '308', '320px', '45px', 'auto', 'auto'],
                            source: [aud+"error.mp3",aud+"error.ogg"],
                            preload: 'false'
                        },
                        {
                            id: 'success',
                            type: 'audio',
                            tag: 'audio',
                            rect: ['616', '308', '320px', '45px', 'auto', 'auto'],
                            source: [aud+"success.mp3",aud+"success.ogg"],
                            preload: 'false'
                        },
                        {
                            id: 'bt_ayuda',
                            symbolName: 'bt_ayuda',
                            type: 'rect',
                            rect: ['781', '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: ['781', '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: ['692', '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: 'TODOS-01',
                            type: 'image',
                            rect: ['430px', '293px', '239px', '340px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"TODOS-01.png",'0px','0px']
                        },
                        {
                            id: 'Drop_4',
                            display: 'block',
                            type: 'rect',
                            rect: ['438px', '322px', '38px', '159px', 'auto', 'auto'],
                            borderRadius: ["5px 5px", "5px 5px", "5px 5px", "5px 5px"],
                            opacity: 0,
                            fill: ["rgba(244,244,244,1.00)"],
                            stroke: [1,"rgba(204,204,204,1.00)","solid"]
                        },
                        {
                            id: 'Drop_3',
                            display: 'block',
                            type: 'rect',
                            rect: ['430px', '548px', '54px', '69px', 'auto', 'auto'],
                            borderRadius: ["5px 5px", "5px 5px", "5px 5px", "5px 5px"],
                            opacity: 0,
                            fill: ["rgba(244,244,244,1.00)"],
                            stroke: [1,"rgba(204,204,204,1.00)","solid"]
                        },
                        {
                            id: 'Drop_2',
                            display: 'block',
                            type: 'rect',
                            rect: ['554px', '455px', '88px', '178px', 'auto', 'auto'],
                            borderRadius: ["5px 5px", "5px 5px", "5px 5px", "5px 5px"],
                            opacity: 0,
                            fill: ["rgba(244,244,244,1.00)"],
                            stroke: [1,"rgba(204,204,204,1.00)","solid"]
                        },
                        {
                            id: 'Drop_1',
                            display: 'block',
                            type: 'rect',
                            rect: ['516px', '290px', '154px', '153px', 'auto', 'auto'],
                            borderRadius: ["5px 5px", "5px 5px", "5px 5px", "5px 5px"],
                            opacity: 0,
                            fill: ["rgba(244,244,244,1.00)"],
                            stroke: [1,"rgba(204,204,204,1.00)","solid"]
                        },
                        {
                            id: 'Drag_3',
                            type: 'image',
                            rect: ['901px', '560px', '56px', '71px', 'auto', 'auto'],
                            cursor: 'move',
                            fill: ["rgba(0,0,0,0)",im+"IL_S_G01_U01_L05_05_02_01-06.png",'0px','0px']
                        },
                        {
                            id: 'Drag_5',
                            type: 'image',
                            rect: ['872px', 'auto', '102px', '71px', 'auto', '252px'],
                            cursor: 'move',
                            fill: ["rgba(0,0,0,0)",im+"IL_S_G01_U01_L05_05_02_01-05.png",'0px','0px']
                        },
                        {
                            id: 'Drag_4',
                            type: 'image',
                            rect: ['1021px', '438px', '40px', '161px', 'auto', 'auto'],
                            cursor: 'move',
                            fill: ["rgba(0,0,0,0)",im+"IL_S_G01_U01_L05_05_02_01-04.png",'0px','0px']
                        },
                        {
                            id: 'Drag_6',
                            type: 'image',
                            rect: ['907px', 'auto', '101px', '57px', 'auto', '389px'],
                            cursor: 'move',
                            fill: ["rgba(0,0,0,0)",im+"IL_S_G01_U01_L05_05_02_01-03.png",'0px','0px']
                        },
                        {
                            id: 'Drag_2',
                            type: 'image',
                            rect: ['1086px', '457px', '90px', '181px', 'auto', 'auto'],
                            cursor: 'move',
                            fill: ["rgba(0,0,0,0)",im+"IL_S_G01_U01_L05_05_02_01-02.png",'0px','0px']
                        },
                        {
                            id: 'Drag_1',
                            type: 'image',
                            rect: ['1046px', '255px', '156px', '155px', 'auto', 'auto'],
                            cursor: 'move',
                            fill: ["rgba(0,0,0,0)",im+"IL_S_G01_U01_L05_05_02_01-01.png",'0px','0px']
                        },
                        {
                            id: 'resp_incorrecta',
                            display: 'none',
                            type: 'image',
                            rect: ['439', '352', '530', '160', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"msg_incorrecto.png",'0px','0px']
                        },
                        {
                            id: 'resp_correcta',
                            display: 'none',
                            type: 'image',
                            rect: ['438', '352', '530', '160', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"msg_correcto.png",'0px','0px']
                        },
                        {
                            id: 'help',
                            display: 'none',
                            type: 'image',
                            rect: ['436', '308', '531px', '249px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"help_drag.png",'0px','0px']
                        },
                        {
                            id: 'descripcion',
                            type: 'text',
                            rect: ['100', '159', '1012px', '76px', 'auto', 'auto'],
                            text: "Arrastra al armario 4 prendas y accesorios que debería usar el día lunes<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', '195', '913', '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',
                            type: 'text',
                            rect: ['100', '129', '110', 'auto', 'auto', 'auto'],
                            text: "",
                            align: "left",
                            font: ['cabin, \'Trebuchet MS\', \'Myriad Pro\', \'Gill Sans MT\', Helvetica, sans-serif', [22, "px"], "rgba(35,163,143,1.00)", "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: false,
                    data: [
                        [
                            "eid753",
                            "left",
                            0,
                            0,
                            "linear",
                            "${resp_incorrecta}",
                            '439px',
                            '439px'
                        ],
                        [
                            "eid756",
                            "display",
                            0,
                            0,
                            "linear",
                            "${instruccion}",
                            'none',
                            'none'
                        ],
                        [
                            "eid745",
                            "top",
                            0,
                            0,
                            "linear",
                            "${resp_correcta}",
                            '352px',
                            '352px'
                        ],
                        [
                            "eid749",
                            "width",
                            0,
                            0,
                            "linear",
                            "${resp_correcta}",
                            '530px',
                            '530px'
                        ],
                        [
                            "eid747",
                            "display",
                            0,
                            0,
                            "linear",
                            "${resp_correcta}",
                            'none',
                            'none'
                        ],
                        [
                            "eid746",
                            "height",
                            0,
                            0,
                            "linear",
                            "${resp_correcta}",
                            '160px',
                            '160px'
                        ],
                        [
                            "eid754",
                            "width",
                            0,
                            0,
                            "linear",
                            "${resp_incorrecta}",
                            '530px',
                            '530px'
                        ],
                        [
                            "eid750",
                            "top",
                            0,
                            0,
                            "linear",
                            "${resp_incorrecta}",
                            '352px',
                            '352px'
                        ],
                        [
                            "eid755",
                            "display",
                            0,
                            0,
                            "linear",
                            "${help}",
                            'none',
                            'none'
                        ],
                        [
                            "eid748",
                            "left",
                            0,
                            0,
                            "linear",
                            "${resp_correcta}",
                            '438px',
                            '438px'
                        ],
                        [
                            "eid751",
                            "height",
                            0,
                            0,
                            "linear",
                            "${resp_incorrecta}",
                            '160px',
                            '160px'
                        ],
                        [
                            "eid752",
                            "display",
                            0,
                            0,
                            "linear",
                            "${resp_incorrecta}",
                            'none',
                            'none'
                        ]
                    ]
                }
            },
            "ok": {
                version: "5.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.0.375",
                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.0",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.0.375",
                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.0",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.0.375",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: true,
                content: {
                    dom: [
                        {
                            type: 'image',
                            id: 'botones',
                            rect: ['0px', '0px', '290px', '140px', 'auto', 'auto'],
                            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.0",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.0.375",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: true,
                content: {
                    dom: [
                        {
                            type: 'image',
                            id: 'botones2',
                            rect: ['0', '0', '290px', '140px', 'auto', 'auto'],
                            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.0",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.0.375",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: true,
                content: {
                    dom: [
                        {
                            type: 'image',
                            id: 'botones3',
                            rect: ['0', '0', '290px', '140px', 'auto', 'auto'],
                            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.0",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.0.375",
                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-1010687330");
