/**
 * Adobe Edge: symbol definitions
 */
(function($, Edge, compId){
//images folder
var im='images/';

var fonts = {};    fonts['Helvetica']='';
    fonts['cabin, sans-serif']='<script src=\"http://use.edgefonts.net/cabin:n4,i4,n7,i7,n5,i5,n6,i6:all.js\"></script>';

var opts = {
    'gAudioPreloadPreference': 'true',

    'gVideoPreloadPreference': 'auto'
};
var resources = [
];
var symbols = {
"stage": {
    version: "4.0.1",
    minimumCompatibleVersion: "4.0.1",
    build: "4.0.1.365",
    baseState: "Base State",
    scaleToFit: "both",
    centerStage: "both",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
            {
                id: '_03_04_BG',
                type: 'image',
                rect: ['47px', '81px','1265px','650px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"_03_04_1.png",'0px','0px']
            },
            {
                id: '_03_04_02',
                type: 'image',
                rect: ['47px', '-27px','1265px','650px','auto', 'auto'],
                clip: ['rect(108.21923828125px 1178.1357421875px 650px 0px)'],
                fill: ["rgba(0,0,0,0)",im+"_03_04_02.png",'0px','0px']
            },
            {
                id: 'descripcion',
                type: 'text',
                rect: ['100px', '165px','1138px','92px','auto', 'auto'],
                text: "Para enviar una postal se deben completar los siguientes datos:<br>",
                align: "left",
                font: ['cabin, sans-serif', 32, "rgba(37,37,37,1.00)", "bold", "none", "normal"]
            },
            {
                id: 'instruccion',
                display: 'none',
                type: 'text',
                rect: ['100px', '209px','913px','auto','auto', 'auto'],
                text: "Escucha, lee y repite el trabalenguas. <br>",
                align: "left",
                font: ['cabin, sans-serif', 26, "rgba(102,102,102,1.00)", "400", "none", "normal"]
            },
            {
                id: '_03_04_072',
                type: 'image',
                rect: ['314px', '307px','361px','303px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"_03_04_07.png",'0px','0px']
            },
            {
                id: 'titulo',
                type: 'rect',
                rect: ['580px', '273','auto','auto','auto', 'auto']
            }],
            symbolInstances: [
            {
                id: 'titulo',
                symbolName: 'titulo',
                autoPlay: {

                }
            }
            ]
        },
    states: {
        "Base State": {
            "${__03_04_072}": [
                ["style", "top", '307px'],
                ["style", "opacity", '0'],
                ["style", "left", '314px'],
                ["style", "clip", [247.945068359375,361,303,283.5615234375], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ],
            "${_ok37}": [
                ["style", "top", '177px'],
                ["style", "display", 'none'],
                ["style", "height", '20px'],
                ["style", "left", '79px'],
                ["style", "width", '20px']
            ],
            "${_titulo}": [
                ["style", "top", '240px'],
                ["style", "opacity", '0'],
                ["style", "left", '580px']
            ],
            "${__03_04_02}": [
                ["style", "top", '-27px'],
                ["style", "left", '47px'],
                ["style", "clip", [108.21923828125,1178.1357421875,650,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ],
            "${_Stage}": [
                ["color", "background-color", 'rgba(255,255,255,0.00)'],
                ["style", "min-width", '320px'],
                ["style", "overflow", 'hidden'],
                ["style", "height", '768px'],
                ["style", "max-width", '1366px'],
                ["style", "width", '1366px']
            ],
            "${_instruccion}": [
                ["style", "top", '209px'],
                ["style", "width", '913px'],
                ["style", "display", 'none'],
                ["color", "color", 'rgba(102,102,102,1)'],
                ["style", "font-weight", '400'],
                ["style", "left", '100px'],
                ["style", "font-size", '26px']
            ],
            "${_descripcion}": [
                ["style", "top", '165px'],
                ["transform", "scaleY", '1'],
                ["transform", "scaleX", '1'],
                ["style", "height", '92px'],
                ["style", "left", '100px'],
                ["style", "clip", [0,-5.529296875,92,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["color", "color", 'rgba(37,37,37,1.00)']
            ],
            "${__03_04_BG}": [
                ["style", "left", '47px'],
                ["style", "top", '81px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 1500,
            autoPlay: true,
            timeline: [
                { id: "eid1388", tween: [ "style", "${_titulo}", "top", '538px', { fromValue: '240px'}], position: 500, duration: 500, easing: "easeOutBack" },
                { id: "eid1412", tween: [ "style", "${__03_04_072}", "clip", [0,361,303,0], { valueTemplate: 'rect(@@0@@px @@1@@px @@2@@px @@3@@px)', fromValue: [247.945068359375,361,303,283.5615234375]}], position: 1000, duration: 500 },
                { id: "eid1357", tween: [ "style", "${_descripcion}", "clip", [0,1138,92,0], { valueTemplate: 'rect(@@0@@px @@1@@px @@2@@px @@3@@px)', fromValue: [0,-5.529296875,92,0]}], position: 0, duration: 750 },
                { id: "eid888", tween: [ "style", "${_ok37}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1414", tween: [ "style", "${__03_04_072}", "opacity", '1', { fromValue: '0'}], position: 1000, duration: 500 },
                { id: "eid1263", tween: [ "style", "${_instruccion}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1390", tween: [ "style", "${_titulo}", "opacity", '1', { fromValue: '0'}], position: 500, duration: 500, easing: "easeOutBack" }            ]
        }
    }
},
"flecha_bt": {
    version: "4.0.1",
    minimumCompatibleVersion: "4.0.1",
    build: "4.0.1.365",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    rect: ['0px', '0px', '89px', '83px', 'auto', 'auto'],
                    id: 'Rectangle2',
                    stroke: [0, 'rgb(0, 0, 0)', 'none'],
                    type: 'rect',
                    fill: ['rgba(192,192,192,0.00)']
                },
                {
                    id: 'M_G01_U01_L03_03_03_06Copy2',
                    type: 'image',
                    rect: ['0px', '0px', '80px', '200px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/M_G01_U01_L03_03_03_062.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_M_G01_U01_L03_03_03_06Copy2}": [
                ["style", "left", '0px'],
                ["style", "top", '0px']
            ],
            "${_Rectangle2}": [
                ["color", "background-color", 'rgba(192,192,192,0.00)'],
                ["style", "height", '83px'],
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "width", '89px']
            ],
            "${symbolSelector}": [
                ["style", "height", '83px'],
                ["style", "overflow", 'hidden'],
                ["style", "width", '89px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 250,
            autoPlay: false,
            labels: {
                "up": 0,
                "down": 250
            },
            timeline: [
                { id: "eid1306", tween: [ "style", "${_M_G01_U01_L03_03_03_06Copy2}", "left", '0px', { fromValue: '0px'}], position: 0, duration: 0 },
                { id: "eid1307", tween: [ "style", "${_M_G01_U01_L03_03_03_06Copy2}", "top", '0px', { fromValue: '0px'}], position: 0, duration: 0 },
                { id: "eid1308", tween: [ "style", "${_M_G01_U01_L03_03_03_06Copy2}", "top", '-110px', { fromValue: '0px'}], position: 250, duration: 0 }            ]
        }
    }
},
"titulo": {
    version: "4.0.1",
    minimumCompatibleVersion: "4.0.1",
    build: "4.0.1.365",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    rect: ['0px', '0px', '668px', '127px', 'auto', 'auto'],
                    borderRadius: ['10px', '10px', '10px', '10px'],
                    id: 'RoundRect',
                    stroke: [0, 'rgba(0,0,0,1)', 'none'],
                    type: 'rect',
                    fill: ['rgba(140,198,63,1.00)']
                },
                {
                    font: ['cabin, sans-serif', 32, 'rgba(255,255,255,1.00)', '400', 'none', 'normal'],
                    type: 'text',
                    id: 'Text',
                    text: 'Para que la postal llegue a su destino se deben incluir la dirección y la ciudad del destinatario.<br>',
                    align: 'left',
                    rect: ['28px', '20px', '631px', '83px', 'auto', 'auto']
                },
                {
                    id: '_03_04_062',
                    type: 'image',
                    rect: ['319px', '51px', '114px', '48px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/_03_04_06.png', '0px', '0px']
                },
                {
                    id: '_03_04_054',
                    type: 'image',
                    rect: ['134px', '51px', '150px', '48px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/_03_04_05.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_RoundRect}": [
                ["color", "background-color", 'rgba(140,198,63,1.00)'],
                ["style", "height", '127px'],
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "width", '668px']
            ],
            "${_Text}": [
                ["style", "top", '20px'],
                ["style", "width", '631px'],
                ["color", "color", 'rgba(255,255,255,1.00)'],
                ["style", "height", '83px'],
                ["style", "font-weight", '400'],
                ["style", "left", '28px'],
                ["style", "font-size", '32px']
            ],
            "${__03_04_054}": [
                ["style", "left", '134px'],
                ["style", "top", '51px']
            ],
            "${__03_04_062}": [
                ["style", "left", '319px'],
                ["style", "top", '51px']
            ],
            "${symbolSelector}": [
                ["style", "height", '135px'],
                ["style", "width", '674px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: true,
            timeline: [
            ]
        }
    }
},
"titulo_1": {
    version: "4.0.1",
    minimumCompatibleVersion: "4.0.1",
    build: "4.0.1.365",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    rect: ['0px', '0px', '463px', '120px', 'auto', 'auto'],
                    borderRadius: ['10px', '10px', '10px', '10px'],
                    id: 'RoundRect',
                    stroke: [0, 'rgba(0,0,0,1)', 'none'],
                    type: 'rect',
                    fill: ['rgba(211,124,172,1.00)']
                },
                {
                    font: ['cabin, sans-serif', 32, 'rgba(255,255,255,1.00)', '400', 'none', 'normal'],
                    type: 'text',
                    id: 'Text',
                    text: 'Es importante escribir tu nombre para firmar la postal.<br>',
                    align: 'left',
                    rect: ['32px', '20px', '415px', '83px', 'auto', 'auto']
                },
                {
                    id: '_03_04_052',
                    type: 'image',
                    rect: ['202px', '52px', '106px', '46px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/_03_04_05.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${__03_04_052}": [
                ["style", "left", '202px'],
                ["style", "top", '52px']
            ],
            "${_RoundRect}": [
                ["color", "background-color", 'rgba(211,124,172,1.00)'],
                ["style", "height", '120px'],
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "width", '463px']
            ],
            "${_Text}": [
                ["style", "top", '20px'],
                ["style", "font-size", '32px'],
                ["style", "height", '83px'],
                ["color", "color", 'rgba(255,255,255,1.00)'],
                ["style", "font-weight", '400'],
                ["style", "left", '32px'],
                ["style", "width", '415px']
            ],
            "${symbolSelector}": [
                ["style", "height", '124px'],
                ["style", "width", '469px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: true,
            timeline: [
            ]
        }
    }
}
};


Edge.registerCompositionDefn(compId, symbols, fonts, resources, opts);

/**
 * Adobe Edge DOM Ready Event Handler
 */
$(window).ready(function() {
     Edge.launchComposition(compId);
});
})(jQuery, AdobeEdge, "EDGE-94063035");
